jQuery(function($) {
	  
	$(document).ready(function() {

	$(".box_item:last-child").css("position","absolute");
	$(".box_item:last-child").css("marginTop","-394px");
	$(".box_item:last-child").css("marginLeft","310px");
	$(".box_item:last-child").css("borderBottom","none");



	$("#featured_slider").after('<div id="tool_tip" style="-webkit-border-radius: 20px;-moz-border-radius: 20px;border-radius: 20px;padding:10px;-moz-box-shadow: 0 0 1em #BABABA;-webkit-box-shadow: 0 0 1em #BABABA;box-shadow: 0 0 1em #BABABA;display:none;z-index:9999;background:#A6A6A6;width:200px;min-height:130px;position:absolute;"><em>&ldquo;</em><div class="content"></div><em>&rdquo;</em> &mdash; <div class="person_name"></div></div>');

	$("#featured_slider .image a img").mouseover(function() {
	
		var tool_tip = "";
		var tool_tip_person = "";
		var cur_hover = $(this).attr("title");
		
		
			if (cur_hover == "WHSmith") {
				tool_tip = "It was a pleasure working with the (EasyInsites) team (on our custom panel build) … they helped me a lot before, during and after";
				tool_tip_person = "Head of Customer Insights";
			}
		
			if (cur_hover == "Nestlé") {
				tool_tip = "What stands out are innovative methodologies and techniques, very experienced personnel, and opportunity to open panel up to others";
			   tool_tip_person = "Beverage Insight Manager";
			}
		
			if (cur_hover == "ITV") {
				tool_tip = "People who you can do business with";
				tool_tip_person = "Senior Research Manager";
			}
			
			if (cur_hover == "Mars") {
				tool_tip = "2010 was our first year working with EasyInsites. They have added real value to the research by ensuring they understood our business strategy and direction";
				tool_tip_person = "Market Insights Analyst";
			}	
			
		
			if (cur_hover == "Premier Foods") {
				tool_tip = "Having been involved with research agencies for over 20 years, I had avoided the trauma associated with building our own on-line research panel";
				tool_tip_person = "Insights & Research Manager";
			}
				
			
			if (cur_hover == "Corazonas") {
				tool_tip = "Awesome on so many levels!!!";
				tool_tip_person = "CEO";
			}	
			
			if (cur_hover == "David's Bridal") {
				tool_tip = "Needed to do some quick research with UK customers and chose EasyInsites to help us. They were able to provide quality, cost effective timely results";
				tool_tip_person = "Custom Research Manager";
			}	
			
			
			if (cur_hover == "Digital Rights Group") {
				tool_tip = "Smart, efficient and excellent value overall";
				tool_tip_person = "Consultant";
			}	
			
			
			if (cur_hover == "Initiative") {
				tool_tip = "EasyInsites never fails to provide us with research solutions that exceed our best hopes";
				tool_tip_person = "VP Director, Performance Analytics";
			}	
			
			if (cur_hover == "Bounty") {
				tool_tip = "The EasyInsites team is open and collaborative and they clearly place client relationships at the heart of what they do";
				tool_tip_person = "Research Manager";
			}	
			
			if (cur_hover == "Cereal Partners Worldwide") {
				tool_tip = "EasyInsites conducted a survey to screen our consumers data base in 4 European markets";
				tool_tip_person = "Global Consumer Insights Manager";
			}	
			
			if (cur_hover == "Childrens Mutual") {
				tool_tip = "EasyInsites seemed to offer a personal rather than a big company approach, and this really appealed";
				tool_tip_person = "Research Manager";
			}
			

				
			if (cur_hover == "uSwitch") {
				tool_tip = "EasyInsites was very friendly and professional. They responded quickly to my queries, and understood the vision for the project";
				tool_tip_person = "PR Executive";
			}
			
			if (cur_hover == "Evolution") {
				tool_tip = "We engaged EasyInsites to formulate and conduct a live online qualitative forum to gain insights into a multi-billion dollar natural beverage category";
				tool_tip_person = "Insights & Research Manager";
			}	
			
			
			if (cur_hover == "Aviva") {
				tool_tip = "EasyInsites was extremely quick and efficient at replying to any queries, having regular updates from them was also extremely useful";
				tool_tip_person = "Research Consultant";
			}
		
			if (cur_hover == "ORC International") {
				tool_tip = "The custom panel look and site design provided by EasyInsites was impressive, as were the communications they created such as the customised email invitations";
				tool_tip_person = "VP, Researcher";
			}
			
			if (cur_hover == "Energist") {
				tool_tip = "EasyInsites planned, implemented and reported on an online, quantitative brand positioning concept test. This was a well-planned piece of research...";
				tool_tip_person = "Managing Director at Brand Success Limited (consultants to Energist)";
			}	
			

			
			
			
		
		
		if (tool_tip != "") {
			$("#tool_tip").css("left", ($(this).offset().left - 18) + "px");
			$("#tool_tip").css("top", ($(this).offset().top - 310) + "px");
			$("#tool_tip .content").text(tool_tip);
			$("#tool_tip .person_name").text(tool_tip_person);
			$("#tool_tip").fadeIn();	
		}
		
	});
	

	$("#featured_slider .image a img").mouseout(function() {
		$("#tool_tip").hide();
		$("#tool_tip .content").text("");
	});
	
	
	$("#featured_slider_prev,#featured_slider_next").mousemove(function() {
		$("#tool_tip").hide();
	});
	

	}); // end ready

}); // end JQuery




function iGLoad(theInput) {
	
	if (theInput == 1) {
		$("#ig1").fadeIn();
		$("#ig2").hide();
		$("#ig3").hide();
	}
	
	if (theInput == 2) {
		$("#ig2").fadeIn();
		$("#ig1").hide();
		$("#ig3").hide();
	}	

	if (theInput == 3) {
		$("#ig3").fadeIn();
		$("#ig2").hide();
		$("#ig1").hide();
	}	

}


