/***********************************************
* Cross browser Marquee II- © 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 delayb4scroll=2000 //Specify initial delay before marquee starts to scroll on page (2000=2 seconds)
var mymarqueespeed=1 //Specify marquee scroll speed (larger is faster 1-10)
var mypauseit=1 //Pause marquee onMousever (0=no. 1=yes)?

////NO NEED TO EDIT BELOW THIS LINE////////////

var mycopyspeed=mymarqueespeed
var mypausespeed=(mypauseit==0)? mycopyspeed: 0
var actualheight=''

function myscrollmarquee(){
if (parseInt(mycross_marquee.style.top)>(actualheight*(-1)+8))
mycross_marquee.style.top=parseInt(mycross_marquee.style.top)-mycopyspeed+"px"
else
mycross_marquee.style.top=parseInt(mymarqueeheight)+8+"px"
}

function initializemarquee(){
mycross_marquee=document.getElementById("vmarquee")
mycross_marquee.style.top=0
mymarqueeheight=document.getElementById("marqueecontainer").offsetHeight
actualheight=mycross_marquee.offsetHeight
if (window.opera || navigator.userAgent.indexOf("Netscape/7")!=-1){ //if Opera or Netscape 7x, add scrollbars to scroll and exit
mycross_marquee.style.height=mymarqueeheight+"px"
mycross_marquee.style.overflow="scroll"
return
}
setTimeout('lefttime=setInterval("myscrollmarquee()",30)', delayb4scroll)
}
