		
/***********************************************
* 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 delayb4scrollleft=2000
var delayb4scrollright=2000
var marqueespeed=1 //Specify marquee scroll speed (larger is faster 1-10)
var pauseit=1 //Pause marquee onMousever (0=no. 1=yes)?

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

var copyspeed=marqueespeed
var pausespeed=(pauseit==0)? copyspeed: 0
var actualheight=''
var actualleftheight=''
var actualrightheight=''

var copyspeedleft=marqueespeed
var pausespeedleft=(pauseit==0)? copyspeedleft: 0


var copyspeedright=marqueespeed
var pausespeedright=(pauseit==0)? copyspeedright: 0



function scrollmarquee(){
if (parseInt(cross_marquee.style.top)>(actualheight*(-1)+8))
cross_marquee.style.top=parseInt(cross_marquee.style.top)-copyspeed+"px"
else
cross_marquee.style.top=parseInt(marqueeheight)+8+"px"
}

function initializemarquee(){
	
cross_marquee=document.getElementById("vmarquee");

cross_marquee.style.top=0
marqueeheight=document.getElementById("marqueecontainer").offsetHeight
actualheight=cross_marquee.offsetHeight
if (window.opera || navigator.userAgent.indexOf("Netscape/7")!=-1){ //if Opera or Netscape 7x, add scrollbars to scroll and exit
cross_marquee.style.height=marqueeheight+"px"
cross_marquee.style.overflow="scroll"
return
}
setTimeout('lefttime=setInterval("scrollmarquee()",30)', delayb4scroll)
}


function scrollmarqueeleft(){
if (parseInt(cross_marqueeleft.style.top)>(actualleftheight*(-1)+8))
cross_marqueeleft.style.top=parseInt(cross_marqueeleft.style.top)-copyspeedleft+"px"
else
cross_marqueeleft.style.top=parseInt(marqueeheight)+8+"px"
}

function initializemarqueeleft(){
cross_marqueeleft=document.getElementById("vmarqueeleft")
cross_marqueeleft.style.top=0
marqueeheight=document.getElementById("marqueecontainerleft").offsetHeight
actualleftheight=cross_marqueeleft.offsetHeight
if (window.opera || navigator.userAgent.indexOf("Netscape/7")!=-1){ //if Opera or Netscape 7x, add scrollbars to scroll and exit
cross_marqueeleft.style.height=marqueeheight+"px"
cross_marqueeleft.style.overflow="scroll"
return
}
setTimeout('lefttime_left=setInterval("scrollmarqueeleft()",30)', delayb4scrollleft)
}


function scrollmarqueeright(){
if (parseInt(cross_marqueeright.style.top)>(actualrightheight*(-1)+8))
cross_marqueeright.style.top=parseInt(cross_marqueeright.style.top)-copyspeedright+"px"
else
cross_marqueeright.style.top=parseInt(marqueeheight)+8+"px"
}

function initializemarqueeright(){
cross_marqueeright=document.getElementById("vmarqueeright")
cross_marqueeright.style.top=0
marqueeheight=document.getElementById("marqueecontainerright").offsetHeight
actualrightheight=cross_marqueeright.offsetHeight
if (window.opera || navigator.userAgent.indexOf("Netscape/7")!=-1){ //if Opera or Netscape 7x, add scrollbars to scroll and exit
cross_marqueeright.style.height=marqueeheight+"px"
cross_marqueeright.style.overflow="scroll"
return
}
setTimeout('lefttimeright=setInterval("scrollmarqueeright()",40)', delayb4scrollright)
}


