// JavaScript Document

/* pagetop ------------------- */

//easing
jQuery.easing.quart = function (x, t, b, c, d) {
	return -c * ((t=t/d-1)*t*t*t -1)+b;
};

//click
$(function() {
	$("#pagetop a").click(function() {
		$("html,body").animate({scrollTop: 0 },800, 'quart');
	});
});