/***********************************************

* 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

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 copyspeed1=marqueespeed
var pausespeed1=(pauseit==0)? copyspeed1: 0

var copyspeed2=marqueespeed
var pausespeed2=(pauseit==0)? copyspeed2: 0

var copyspeed3=marqueespeed
var pausespeed3=(pauseit==0)? copyspeed3: 0

var copyspeed4=marqueespeed
var pausespeed4=(pauseit==0)? copyspeed4: 0

var copyspeed5=marqueespeed
var pausespeed5=(pauseit==0)? copyspeed5: 0

var copyspeed6=marqueespeed
var pausespeed6=(pauseit==0)? copyspeed6: 0

function scrollmarquee1()
{
	if (parseInt(cross_marquee1.style.top)>(actualheight1*(-1)+8))
		cross_marquee1.style.top=parseInt(cross_marquee1.style.top)-copyspeed1+"px"
	else
		cross_marquee1.style.top=parseInt(marqueeheight1)+8+"px"
}
function initializemarquee1()
{
		cross_marquee1=document.getElementById("vmarquee1")
		cross_marquee1.style.top=0
		marqueeheight1=document.getElementById("marqueecontainer1").offsetHeight
		actualheight1=cross_marquee1.offsetHeight
		if (window.opera || navigator.userAgent.indexOf("Netscape/7")!=-1)
		{ //if Opera or Netscape 7x, add scrollbars to scroll and exit
			cross_marquee1.style.height=marqueeheight1+"px"
			cross_marquee1.style.overflow="scroll"
			return
		}
		setTimeout('lefttime=setInterval("scrollmarquee1()",30)', delayb4scroll)
}

function scrollmarquee2()
{
	if (parseInt(cross_marquee2.style.top)>(actualheight2*(-1)+8))
		cross_marquee2.style.top=parseInt(cross_marquee2.style.top)-copyspeed2+"px"
	else
		cross_marquee2.style.top=parseInt(marqueeheight2)+8+"px"
}
function initializemarquee2()
{
		cross_marquee2=document.getElementById("vmarquee2")
		cross_marquee2.style.top=0
		marqueeheight2=document.getElementById("marqueecontainer2").offsetHeight
		actualheight2=cross_marquee2.offsetHeight
		if (window.opera || navigator.userAgent.indexOf("Netscape/7")!=-1)
		{ //if Opera or Netscape 7x, add scrollbars to scroll and exit
			cross_marquee2.style.height=marqueeheight2+"px"
			cross_marquee2.style.overflow="scroll"
			return
		}
		setTimeout('lefttime=setInterval("scrollmarquee2()",30)', delayb4scroll)
}

function scrollmarquee3()
{
	if (parseInt(cross_marquee3.style.top)>(actualheight3*(-1)+8))
		cross_marquee3.style.top=parseInt(cross_marquee3.style.top)-copyspeed3+"px"
	else
		cross_marquee3.style.top=parseInt(marqueeheight3)+8+"px"
}
function initializemarquee3()
{
		cross_marquee3=document.getElementById("vmarquee3")
		cross_marquee3.style.top=0
		marqueeheight3=document.getElementById("marqueecontainer3").offsetHeight
		actualheight3=cross_marquee3.offsetHeight
		if (window.opera || navigator.userAgent.indexOf("Netscape/7")!=-1)
		{ //if Opera or Netscape 7x, add scrollbars to scroll and exit
			cross_marquee3.style.height=marqueeheight3+"px"
			cross_marquee3.style.overflow="scroll"
			return
		}
		setTimeout('lefttime=setInterval("scrollmarquee3()",30)', delayb4scroll)
}

function scrollmarquee4()
{
	if (parseInt(cross_marquee4.style.top)>(actualheight4*(-1)+8))
		cross_marquee4.style.top=parseInt(cross_marquee4.style.top)-copyspeed4+"px"
	else
		cross_marquee4.style.top=parseInt(marqueeheight4)+8+"px"
}
function initializemarquee4()
{
		cross_marquee4=document.getElementById("vmarquee4")
		cross_marquee4.style.top=0
		marqueeheight4=document.getElementById("marqueecontainer4").offsetHeight
		actualheight4=cross_marquee4.offsetHeight
		if (window.opera || navigator.userAgent.indexOf("Netscape/7")!=-1)
		{ //if Opera or Netscape 7x, add scrollbars to scroll and exit
			cross_marquee4.style.height=marqueeheight4+"px"
			cross_marquee4.style.overflow="scroll"
			return
		}
		setTimeout('lefttime=setInterval("scrollmarquee4()",30)', delayb4scroll)
}

function scrollmarquee5()
{
	if (parseInt(cross_marquee5.style.top)>(actualheight5*(-1)+8))
		cross_marquee5.style.top=parseInt(cross_marquee5.style.top)-copyspeed5+"px"
	else
		cross_marquee5.style.top=parseInt(marqueeheight5)+8+"px"
}
function initializemarquee5()
{
		cross_marquee5=document.getElementById("vmarquee5")
		cross_marquee5.style.top=0
		marqueeheight5=document.getElementById("marqueecontainer5").offsetHeight
		actualheight5=cross_marquee5.offsetHeight
		if (window.opera || navigator.userAgent.indexOf("Netscape/7")!=-1)
		{ //if Opera or Netscape 7x, add scrollbars to scroll and exit
			cross_marquee5.style.height=marqueeheight5+"px"
			cross_marquee5.style.overflow="scroll"
			return
		}
		setTimeout('lefttime=setInterval("scrollmarquee5()",30)', delayb4scroll)
}

function scrollmarquee6()
{
	if (parseInt(cross_marquee6.style.top)>(actualheight6*(-1)+8))
		cross_marquee6.style.top=parseInt(cross_marquee6.style.top)-copyspeed6+"px"
	else
		cross_marquee6.style.top=parseInt(marqueeheight6)+8+"px"
}
function initializemarquee6()
{
		cross_marquee6=document.getElementById("vmarquee6")
		cross_marquee6.style.top=0
		marqueeheight6=document.getElementById("marqueecontainer6").offsetHeight
		actualheight6=cross_marquee6.offsetHeight
		if (window.opera || navigator.userAgent.indexOf("Netscape/7")!=-1)
		{ //if Opera or Netscape 7x, add scrollbars to scroll and exit
			cross_marquee6.style.height=marqueeheight6+"px"
			cross_marquee6.style.overflow="scroll"
			return
		}
		setTimeout('lefttime=setInterval("scrollmarquee6()",30)', delayb4scroll)
}

if (window.addEventListener)
{
	window.addEventListener("load", initializemarquee1, false)
	window.addEventListener("load", initializemarquee2, false)
	window.addEventListener("load", initializemarquee3, false)
	window.addEventListener("load", initializemarquee4, false)
	window.addEventListener("load", initializemarquee5, false)
	window.addEventListener("load", initializemarquee6, false)
}
else if (window.attachEvent)
{
	window.attachEvent("onload", initializemarquee1)
	window.attachEvent("onload", initializemarquee2)
	window.attachEvent("onload", initializemarquee3)
	window.attachEvent("onload", initializemarquee4)
	window.attachEvent("onload", initializemarquee5)
	window.attachEvent("onload", initializemarquee6)
}
else if (document.getElementById)
{
	window.onload=initializemarquee1
	window.onload=initializemarquee2
	window.onload=initializemarquee3
	window.onload=initializemarquee4
	window.onload=initializemarquee5
	window.onload=initializemarquee6
}