 $(document).ready(function(){  
//To switch directions up/down and left/right just place a "-" in front of the top/left attribute  
//Vertical Sliding  
   
 //  alert("dd");
		
$('.boxgridsmall').hover(function(){  
	//alert("dd");
	$(".cover", this).stop().animate({top:'145px'},{queue:false,duration:300}).animate({opacity:'0'},{queue:false,duration:300});  
	}, function() {  
	$(".cover", this).stop().animate({top:'70px'},{queue:false,duration:300}).animate({opacity:'.9'},{queue:false,duration:500});    
});   
 
		
$('.boxgridbig').hover(function(){  
	// alert("dd");
	$(".cover", this).stop().animate({top:'292px'},{queue:false,duration:300}).animate({opacity:'0'},{queue:false,duration:300});    
	}, function() {  
	//  alert("dd");
	$(".cover", this).stop().animate({top:'222px'},{queue:false,duration:300}).animate({opacity:'.9'},{queue:false,duration:500});      
});   

 
 
 });  
