$(document).ready(function() {
	$("div.pagetop a").click(function() {
		$('html,body').animate({scrollTop: 0}, 500);
		return false;
	});
});
