//Specify speed of scroll. Larger=faster (ie: 5)
var scrollspeed=cache=1;
var initialdelay=500
var dataobj;
function initScroller()
{
	dataobj=document.all? document.all.news_scroller : document.getElementById('news_scroller');
	dataobj.style.top='5px';
	setTimeout('getDataHeight();', initialdelay);
}

function getDataHeight()
{
	thelength=dataobj.offsetHeight;
	if(thelength==0) setTimeout("getDataHeight();",10);
	else scrollDiv();
}

function scrollDiv()
{
	dataobj.style.top=parseInt(dataobj.style.top)-scrollspeed+'px';
	if (parseInt(dataobj.style.top)<thelength*(-1))	dataobj.style.top='5px';
	setTimeout('scrollDiv();',30);
}

if(window.addEventListener) window.addEventListener('load',initScroller, false);
else if (window.attachEvent) window.attachEvent('onload',initScroller);
else window.onload=initScroller;