/***********************************************
* IFRAME Scroller script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/

//Specify speed of scroll. Larger=faster (ie: 5)
var scrollspeed2=cache=1

//Specify intial delay before scroller starts scrolling (in miliseconds):
var initialdelay=500

function initializeScroller2(){
dataobj2=document.all? document.all.datacontainer2 : document.getElementById("datacontainer2")
dataobj2.style.top="154px"
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)-scrollspeed2+"px"
if (parseInt(dataobj2.style.top)<thelength2*(-1))
dataobj2.style.top="154px"
setTimeout("scrollDiv2()",40)
}

if (window.addEventListener)
window.addEventListener("load", initializeScroller2, false)
else if (window.attachEvent)
window.attachEvent("onload", initializeScroller2)
else
window.onload=initializeScroller2
