// WORK SCRIPTS //
		
// Start jQuery
jQuery.noConflict();
jQuery(document).ready(function() {
/* Work Image - Hover qualities ***********************************************/
    
	jQuery(".casestudy:nth-child(1)").addClass("top");
	jQuery(".casestudy:nth-child(2)").addClass("top");
	jQuery(".casestudy:nth-child(3)").addClass("top");
	jQuery(".casestudy:nth-child(4)").addClass("top");
	
	jQuery(".casestudy img.hovered").hide();
	jQuery(".casestudy").hover(function() {
		jQuery(this).find('img').fadeIn(200);
	}, function() {
		jQuery(this).find('img.hovered').fadeOut(200);
	});
	
	jQuery(".casestudy").click(function(){
    	window.location=jQuery(this).find("a").attr("href");
    	return false;
	});
	
	
/* Work Image - Hover qualities ***********************************************/
    
	jQuery(".Thumbstudy:nth-child(1)").addClass("top");
	jQuery(".Thumbstudy:nth-child(2)").addClass("top");
	jQuery(".Thumbstudy:nth-child(3)").addClass("top");
	jQuery(".Thumbstudy:nth-child(4)").addClass("top");
	
	jQuery(".Thumbstudy img.hovered").hide();
	jQuery(".Thumbstudy").hover(function() {
		jQuery(this).find('img').fadeIn(200);
	}, function() {
		jQuery(this).find('img.hovered').fadeOut(200);
	});
	
	jQuery(".Thumbstudy").click(function(){
    	window.location=jQuery(this).find("a").attr("href");
    	return false;
	});
	

 /* Work slider ****************************************************************/

	jQuery("div.imagearea").jCarouselLite({
	    btnNext: "div#screenrotator .next",
	    btnPrev: "div#screenrotator .prev",
	    visible: 1,
	    speed: 450,
	    easing: "backout"
		
	});
	
	
/* Work navigation ************************************************************/

 jQuery("div.imageareanew").jCarouselLite({
	    btnNext: "div#screenrotatornew .nextnew",
	    btnPrev: "div#screenrotatornew .prevnew",
	    visible: 6,
	    speed: 900,
 		easing: "backout"
	});

	
}); // End jQuery






