// JavaScript Document
var aktiv = null;
var test = null;

function scrollIt(step){	
	x = document.all.textContent.style.getAttribute("top");
	test = -1*(document.all.fin.offsetTop - 320);
	if(!x){
		x=30;
	}
	pos=parseInt(x)+step;
	if (pos >= 0){
		pos = 0;
	} else if(pos <= test){
		pos = test;
	}
	document.all.textContent.style.top = pos;		
}

function scrollGo(step){
	aktiv = setInterval("scrollIt("+step+")",100);
}

function stopIt(){
	clearInterval(aktiv);
}

function goTop(){
	document.all.textContent.style.top = 0;
}
