$(document).ready(function(){//homepage work rotation				   $('ul#homepromos').cycle({		fx: 'fade',		timeout:         7500,		cleartype:  1,		pause:           1     // true to enable "pause on hover"	});  //general image rotations$('#workrotate').cycle({		fx: 'fade',		timeout:         3000,		pause:           1     // true to enable "pause on hover"	});//people and work grids - knock back to 0.6 on load//$("ul.workgrid").children().fadeTo("slow", 0.6);//people and work grids//$("ul.workgrid li a.main-link").hover(function(){//		$(".workgeneric").clearQueue();//		$(".workgeneric").fadeOut(100);//		$(".sub-info").fadeOut(500);//		$(this).siblings(".sub-info").fadeIn(1000);//		$(this).parent().animate({opacity: '1', backgroundColor: "#D20E69"}, 'fast');//	}, function() {//		$(".workgeneric").clearQueue();//	$(this).parent().stop().animate({opacity:'.6', backgroundColor: "#ffffff"},{queue:false,duration:160});//	$(".sub-info").fadeOut(500);//	$(".workgeneric").animate({opacity:'1'},10);//	$(".workgeneric").delay(2000).fadeIn(500);//	//	//});//button fades$("#homepromos a.viewbutton").fadeTo("slow", 0.6);$('#homepromos').hover(function(){		$('#homepromos a.viewbutton').animate({opacity:'1'}, 'fast');	}, function() {			$('#homepromos a.viewbutton').animate({opacity:'.6'}, 'fast');		});$("#workpromos li a.viewbutton").fadeTo("slow", 0.6);$('#workpromos li').hover(function(){		$('a.viewbutton', this).animate({opacity:'1'}, 'fast');	}, function() {			$('a.viewbutton', this).animate({opacity:'.6'}, 'fast');		});$(".newsexcerpt a.viewnewsbutton").fadeTo("slow", 0.6);$('.newsexcerpt').hover(function(){		$('a.viewnewsbutton', this).animate({opacity:'1'}, 'fast');	}, function() {			$('a.viewnewsbutton', this).animate({opacity:'.6'}, 'fast');		});//linkfade 	
	$("ul.linkfade li:not(.joinus) a:not(.selected)").hover(function(){		$(this).animate({color:'#D6006B'}, 'fast');	}, function() {	$(this).animate({color:'#999'}, 'fast');	});
		$("p").hover(function(){		$(this).animate({color:'#D6006B'}, 'fast');	}, function() {	$(this).animate({color:'#999'}, 'fast');	});//people and work grids - knock back to 0.6 on load$("ul.workgrid").children().fadeTo("slow", 0.6);//people and work grids$("ul.workgrid li a.main-link").hover(function(){		$(this).parent().animate({opacity: '1'}, 'fast');	}, function() {			$(this).parent().stop().animate({opacity:'.6'},{queue:false,duration:160});		});$('#bigQtip li').each(function() {   $(this).qtip({      content: $(this).find('.tooltip'),      show: {effect: { type: 'fade', length : 300 }},      hide: { fixed: true, delay: 200 },      style: {       width: 220,      padding: 0,      background: '#D6006B',      color: 'black',      textAlign: 'center',      border: {         width: 0,         radius: 0,         color: '#D6006B'      },	  tip: 'bottomLeft'	  },	        position: {		 target: 'mouse',		 screen: true,         corner: {            target: 'topLeft',            tooltip: 'bottomLeft'         },		 adjust: { x: 0, y: -10 }      }   });});$('#smallerQtip li').each(function() {   $(this).qtip({      content: $(this).find('.tooltip'),      show: {effect: { type: 'fade', length : 300 }},      hide: { fixed: true, delay: 200 },      style: {       width: 140,      padding: 0,      background: '#D6006B',      color: 'black',      textAlign: 'center',      border: {         width: 0,         radius: 0,         color: '#D6006B'      },	  tip: 'bottomLeft'	  },	        position: {		  target: 'mouse',		 screen: true,         corner: {            target: 'topLeft',            tooltip: 'bottomLeft'         },		 adjust: { x: 0, y: -10 }      }   });});// since the qTip copies the content of the info div, you can remove it now$('#bigQtip li, #smallerQtip li').remove('.tooltip');});
