$(document).ready(function(){
	//To switch directions up/down and left/right just place a "-" in front of the top/left attribute
	
	//Full Caption Sliding (Hidden to Visible)
	$('.boxgrid.captionfull').hover(function(){
		$(".cover", this).stop().animate({top:'290px'},{queue:false,duration:600});
	}, function() {
		$(".cover", this).stop().animate({top:'500px'},{queue:false,duration:600});
	});
	//Caption Sliding (Partially Hidden to Visible)
	$('.boxgrid.caption').hover(function(){
		$(".cover", this).stop().animate({top:'290px'},{queue:false,duration:600});
	}, function() {
		$(".cover", this).stop().animate({top:'500px'},{queue:false,duration:600});
	});
});


$(document).ready(function(){
	//To switch directions up/down and left/right just place a "-" in front of the top/left attribute

	//Full Caption Sliding (Hidden to Visible)
	$('.boxgridb.captionfullb').hover(function(){
		$(".coverb", this).stop().animate({top:'40px'},{queue:false,duration:500});
	}, function() {
		$(".coverb", this).stop().animate({top:'75px'},{queue:false,duration:500});
	});
	//Caption Sliding (Partially Hidden to Visible)
	$('.boxgridb.captionb').hover(function(){
		$(".coverb", this).stop().animate({top:'40px'},{queue:false,duration:500});
	}, function() {
		$(".coverb", this).stop().animate({top:'75px'},{queue:false,duration:500});
	});
});
