// Rulleframe

var hastighed, currentpos=curpos1=0, alt=1, curpos2=-1
function initialize () {
	if (window.parent.rul!=0) {
		hastighed=window.parent.rul
		scrollwindow()
	}
}
function scrollwindow(){
	temp=(document.all)? document.body.scrollTop :
	window.pageYOffset
	alt=(alt==0)? 1 : 0
	if (alt==0)
	curpos1=temp
	else
	curpos2=temp
	window.scrollBy(0,hastighed)
}
setInterval("initialize()",10)
