//Specify speed of scroll. Larger=faster (ie: 5)
var scrollspeed=cache=1

//Specify intial delay before scroller starts scrolling (in miliseconds):
var initialdelay=1000

function initializeScroller(){
dataobj=document.all? document.all.datacontainer : document.getElementById("datacontainer")
dataobj.style.top="0px"
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="190px"
setTimeout("scrollDiv()",10)
}

function initializeScroller2(){
dataobj2=document.all? document.all.datacontainer2 : document.getElementById("datacontainer2")
dataobj2.style.top="0px"
setTimeout("getdataheight2()", initialdelay)
}

function getdataheight2(){
thelength2=dataobj2.offsetHeight
if (thelength2==0)
setTimeout("getdataheight2()",10)
else
scrollDiv2()
}

function scrollDiv2(){
dataobj2.style.top=parseInt(dataobj2.style.top)-scrollspeed+"px"
if (parseInt(dataobj2.style.top)<thelength2*(-1))
dataobj2.style.top="190px"
setTimeout("scrollDiv2()",10)
}

if (window.addEventListener){
window.addEventListener("load", initializeScroller, false)
window.addEventListener("load", initializeScroller2, false)
}
else if (window.attachEvent){
window.attachEvent("onload", initializeScroller)
window.attachEvent("onload", initializeScroller2)
}else{
window.onload=initializeScroller
window.onload=initializeScroller2
}