jQuery.easing.quart = function (x, t, b, c, d) {
	$(this).find('img.jq-over').stop().fadeTo(500, 0);
	return -c * ((t=t/d-1)*t*t*t - 1) + b;
};  

jQuery(function($){
	$('#pagetop a').click(function () {
		$('html,body').animate({ scrollTop: 0 }, 500, 'quart');
	});
});


