jQuery.easing.easeOutQuart = function (x, t, b, c, d) {
	return -c * ((t=t/d-1)*t*t*t - 1) + b;
};

jQuery(function( $ ){

	$('#content').serialScroll({
		target:'#maske',
		items:'li',
		prev:'img.prev',
		next:'img.next',
		axis:'xy',
		duration:1000,
		force:true, 		
	});

});



$(document).ready(function(){
	$('.boxgrid.caption').hover(function(){
		$(".cover", this).stop().animate({top:'0px'},{queue:false,duration:400});
	}, function() {
		$(".cover", this).stop().animate({top:'180px'},{queue:false,duration:400});
	});
});

$(document).ready(function(){
	$('.impgrid.caption').hover(function(){
		$(".cover", this).stop().animate({top:'-27px'},{queue:false,duration:400});
	}, function() {
		$(".cover", this).stop().animate({top:'-2px'},{queue:false,duration:400});
	});
});
