$(document).ready(function(){   
    //To switch directions up/down and left/right just place a "-" in front of the top/left attribute  
	
	$(".cover").css({top:'125px'});
	 
	 
	$(".select_cover").css({top:'180px'});
	 
    $('.slide_selection').mouseenter(function(){
	//Full Caption Sliding (Hidden to Visible)  
	//Full Caption Sliding (Hidden to Visible)   
	$('.boxgrid.captionfull.select_selection').hover(function(){   
	    $(".cover", this).stop().animate({top:'25px'},{queue:false,duration:300});   
	}, function() {   
	    $(".cover", this).stop().animate({top:'125px'},{queue:false,duration:300});   
	});
    
	$('.select_boxgrid.select_captionfull.select_selection').hover(function(){   
	    $(".select_cover", this).stop().animate({top:'70px'},{queue:false,duration:300});   
	}, function() {   
	    $(".select_cover", this).stop().animate({top:'180px'},{queue:false,duration:300});   
	});
    });

 
	$('.boxgrid.captionfull.select_actu').hover(function(){   
	    $(".cover", this).stop().animate({top:'25px'},{queue:false,duration:300});   
	}, function() {   
	    $(".cover", this).stop().animate({top:'125px'},{queue:false,duration:300});   
	});
	
	$('.select_boxgrid.select_captionfull.select_actu').hover(function(){   
	    $(".select_cover", this).stop().animate({top:'110px'},{queue:false,duration:300});   
	}, function() {   
	    $(".select_cover", this).stop().animate({top:'180px'},{queue:false,duration:300});   
	});
	
	
	$('.boxgrid.captionfull.select_last').hover(function(){   
	    $(".cover", this).stop().animate({top:'25px'},{queue:false,duration:300});   
	}, function() {   
	    $(".cover", this).stop().animate({top:'125px'},{queue:false,duration:300});   
	});
	
	$('.select_boxgrid.select_captionfull.select_last').hover(function(){   
	    $(".select_cover", this).stop().animate({top:'110px'},{queue:false,duration:300});   
	}, function() {   
	    $(".select_cover", this).stop().animate({top:'180px'},{queue:false,duration:300});   
	});
});
