/***********************************************
* Cross browser Marquee II- c Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for this script and 100s more.
***********************************************/

var delayb4scrolla=1000 //Specify initial delay before marquee starts to scroll on page (2000=2 seconds)
var marqueespeeda=1 //Specify marquee scroll speed (larger is faster 1-10)
var pauseita=1 //Pause marquee onMousever (0=no. 1=yes)?

////NO NEED TO EDIT BELOW THIS LINE////////////

var copyspeeda=marqueespeeda
var pausespeeda=(pauseita==0)? copyspeeda: 0
var actualheighta=''

function scrollmarqueea(){
if (parseInt(cross_marqueea.style.top)>(actualheighta*(-1)+8))
cross_marqueea.style.top=parseInt(cross_marqueea.style.top)-copyspeeda+"px"
else
cross_marqueea.style.top=parseInt(marqueeheighta)+8+"px"
}

function initializemarqueea(){
cross_marqueea=document.getElementById("vmarquee1")
cross_marqueea.style.top=0
marqueeheighta=document.getElementById("marqueecontainer1").offsetHeight
actualheighta=cross_marqueea.offsetHeight
if (window.opera || navigator.userAgent.indexOf("Netscape/7")!=-1){ //if Opera or Netscape 7x, add scrollbars to scroll and exit
cross_marqueea.style.height=marqueeheighta+"px"
cross_marqueea.style.overflow="scroll"
return
}

setTimeout('lefttime=setInterval("scrollmarqueea()",70)', delayb4scrolla)
}

if (window.addEventListener)
window.addEventListener("load", initializemarqueea, false)
else if (window.attachEvent)
window.attachEvent("onload", initializemarqueea)
else if (document.getElementById)
window.onload=initializemarqueea
