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


$(function(){
	$('.menu .menu-itm')
	.css( {backgroundPosition: '0 0'} )
	.mouseover(function(){
		$(this).stop().animate({backgroundPosition:'(0 -60px)'}, {duration:500})
	})
	.mouseout(function(){
		$(this).stop().animate({backgroundPosition:'(0 0)'}, {duration:300})
	})
})

$(document).ready(function(){
	
	$(".menu ul li:last-child").addClass("last");
	
	$(".entry-thumb img").fadeTo("slow", 0.3);
	
	$(".entry-thumb img").hover(function(){
		$(this).stop().fadeTo("slow", 1.0);
	},function(){
		$(this).stop().fadeTo("slow", 0.3);
	});
	

});
