var $jt = jQuery.noConflict();


$jt(document).ready(function(){
	//To switch directions up/down and left/right just place a "-" in front of the top/left attribute
	//Vertical Sliding
	$jt('.boxgrid.slidedown').hover(function(){
		$jt(".cover", this).stop().animate({top:'-260px'},{queue:false,duration:300});
	}, function() {
		$jt(".cover", this).stop().animate({top:'0px'},{queue:false,duration:300});
	});
	//Horizontal Sliding
	$jt('.boxgrid.slideright').hover(function(){
		$jt(".cover", this).stop().animate({left:'325px'},{queue:false,duration:300});
	}, function() {
		$jt(".cover", this).stop().animate({left:'0px'},{queue:false,duration:300});
	});
	//Diagnal Sliding
	$jt('.boxgrid.thecombo').hover(function(){
		$jt(".cover", this).stop().animate({top:'260px', left:'325px'},{queue:false,duration:300});
	}, function() {
		$jt(".cover", this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:300});
	});
	//Partial Sliding (Only show some of background)
	$jt('.boxgrid-portafolio.peek').hover(function(){
		$jt(".cover", this).stop().animate({top:'-48px'},{queue:false,duration:160});
	}, function() {
		$jt(".cover", this).stop().animate({top:'0px'},{queue:false,duration:160});
	});
	//Full Caption Sliding (Hidden to Visible)
	$jt('.boxgrid.captionfull').hover(function(){
		$jt(".cover", this).stop().animate({top:'160px'},{queue:false,duration:160});
	}, function() {
		$jt(".cover", this).stop().animate({top:'260px'},{queue:false,duration:160});
	});
	//Caption Sliding (Partially Hidden to Visible)
	$jt('.boxgrid.caption').hover(function(){
		$jt(".cover", this).stop().animate({top:'31px'},{queue:false,duration:160});
	}, function() {
		$jt(".cover", this).stop().animate({top:'56px'},{queue:false,duration:160});
	});
	
});
