
var currentPoint = 0;
var atEnd = "no";
var i = 0;
var scrolltimer = 0;
function top() {
	
if (atEnd == "yes") {
	currentPoint = 0;
	atEnd = "no";
}

i = i + 5;



window.scrollBy(0,5);
scrolltimer = setTimeout('top()',5);
if (i >= 400 || window.pageYOffset < currentPoint) {
	atEnd = "yes";
	currentPoint = 0;
	i = 0;
	clearTimeout(scrolltimer);
	
}

currentPoint = window.pageYOffset;

}