/* (C)Shinkousoku Printing Inc. http://www.sksp.co.jp/ */
/* require: jquery-1.4.2.min.js */

jQuery.easing.quart =  function (x, t, b, c, d) {
	return c*((t=t/d-1)*t*t*t*t + 1) + b;
} 

$(function(){
	var target = $.support.boxModel ? navigator.appName.match(/Opera/) ? "html" : "html,body" : "body";
	$('#top a').click(function() {
		$(target).animate({ scrollTop: 0 }, 800, 'quart');	
		return false;
	});
});


