// JavaScript Document
var speed, currentpos = curpos1 = 0, alt = 1, curpos2 = -1

function initialize(){
	if (window.scrollspeed != 0) {
		speed = window.scrollspeed
		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, speed)
}

function enableScrolling()
{
	setInterval("initialize()", 10)
}