google.setOnLoadCallback(function() {
  jQuery(document).ready(function() {
    var quotes = [
			{
				logo: "http://cdn.samanage.com/images/quotes/Drexel150.JPG",
				org:  "Drexel University Online",
				text: "SAManage automatically gathers inventory information for us. This really makes our team more efficient by enabling us to focus on the bigger picture.",
				name: "Carl Lahetta, Sr. Manager, Technolog",
				study:"http://www.samanage.com/content/cs_drexel.html"
			},
			{
				logo: "http://cdn.samanage.com/images/quotes/img-danfoss-logo.gif",
				org:  "Danfoss Turbocor",
				text: "SAManage offers me all the functionality I had with eSMART as well as additional capabilities such as risk management and an integrated helpdesk.",
				name: "Clayton Tew, IT Manager",
				study:"http://www.samanage.com/content/cs_danfoss_esmart.html"
			},
			{
				logo: "http://cdn.samanage.com/images/quotes/clackamas.jpg",
				org:  "Clackamas River Water",
				text: "SAManage gives us the visibility to see if any computers are running applications they are not supposed to, so we can work with the users to remove these risks.",
				name: "Quincy Whitfield, Information Systems Manager",
				study:"http://www.samanage.com/content/cs_clackamas.html"
			},
			{
				logo: "http://cdn.samanage.com/images/quotes/img-mosaic-logo.jpg",
				org:  "The Mosaic Company",
				text: "What really intrigued me about SAManage was its ability to compensate for my lack of asset visibility.",
				name: "Rob Price, Director of IT",
				study:"http://www.samanage.com/content/cs_mosaic.html"
			},
			{
				logo: "http://cdn.samanage.com/images/quotes/img-danfoss-logo.gif",
				org:  "Danfoss Turbocor",
				text: "SAManage offers me all the functionality I had with eSMART as well as additional capabilities such as risk management and an integrated helpdesk.",
				name: "Clayton Tew, IT Manager",
				study:"http://www.samanage.com/content/cs_danfoss_esmart.html"
			},
			{
				logo: "http://cdn.samanage.com/images/quotes/efii.jpg",
				org:  "EF&I Services",
				text: "SAManage makes my job much easier. I expect it will be saving me as much as two days a week.",
				name: "George Abell, Director of IT ",
				study:"http://www.samanage.com/content/cs_efii.html"
			},
			{
				logo: "http://cdn.samanage.com/images/quotes/dassaultsystems.jpg",
				org:  "Dassault Systemes",
				text: "SAManage was very easy to deploy and use. We were able to start using the service and get visibility into our hardware and software in no time.",
				name: "Miki Shvo, Director of IT",
				study:"http://www.samanage.com/content/cs_dassault.html"
			},	
			{
				logo: "http://cdn.samanage.com/images/quotes/10xinvest.jpg",
				org:  "10X Investment",
				text: "With summary reports reflecting areas that actually matter and the benefit of having the audit results stored securely off-site, SAManage delivers real and tangible value.",
				name: "Micha Katz, 10X Investments",
				study:"http://www.samanage.com/content/cs_10x.html"
			}			
		];
		function show_quote(quote) {
			jQuery(".studycase a.cslogo img").attr("src", quote.logo);
			jQuery(".studycase a.cslogo").attr("href", quote.study);			
			jQuery(".studycase blockquote strong").html(quote.org);
			jQuery(".studycase blockquote q").html(quote.text);
			jQuery(".studycase blockquote span").html(quote.name);
			jQuery(".studycase a.study").attr("href", quote.study);
			jQuery(".studycase").show();
		}
		show_quote(quotes[Math.floor(Math.random() * quotes.length)]);
  });
});

