/***********************************************
* 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 vdelayb4scroll=0 //Specify initial delay before marquee starts to scroll on page (2000=2 seconds)
var vmarqueespeed=1 //Specify marquee scroll speed (larger is faster 1-10)
var vpauseit=0 //Pause marquee onMousever (0=no. 1=yes)?

////NO NEED TO EDIT BELOW THIS LINE////////////

var vcopyspeed=vmarqueespeed
var vpausespeed=(vpauseit==0)? vcopyspeed: 0
var vactualheight=''

function vscrollmarquee(){
if (parseInt(vcross_marquee.style.top)>(vactualheight*(-1)+8))
vcross_marquee.style.top=parseInt(vcross_marquee.style.top)-vcopyspeed+"px"
else
vcross_marquee.style.top=parseInt(vmarqueeheight)+8+"px"
}

function vinitializemarquee(){
vcross_marquee=document.getElementById("vmarquee")
vcross_marquee.style.top=0
vmarqueeheight=document.getElementById("vmarqueecontainer").offsetHeight
vactualheight=vcross_marquee.offsetHeight
if (window.opera || navigator.userAgent.indexOf("Netscape/7")!=-1){ //if Opera or Netscape 7x, add scrollbars to scroll and exit
vcross_marquee.style.height=vmarqueeheight+"px"
vcross_marquee.style.overflow="scroll"
return
}
setTimeout('vlefttime=setInterval("vscrollmarquee()",30)', vdelayb4scroll)
}

/*
if (window.addEventListener)
window.addEventListener("load", vinitializemarquee, false)
else if (window.attachEvent)
window.attachEvent("onload", vinitializemarquee)
else if (document.getElementById)
window.onload=vinitializemarquee
*/



/*********************************************************
* Cross browser Marquee script- © Dynamic Drive (www.dynamicdrive.com)
* For full source code, 100's more DHTML scripts, and Terms Of Use, visit http://www.dynamicdrive.com
* Credit MUST stay intact
**********************************************************/

//Specify the marquee's width (in pixels)
var hmarqueewidth="485px"
//Specify the marquee's height
var hmarqueeheight="22px"
//Specify the marquee's marquee speed (larger is faster 1-10)
var hmarqueespeed=3
//configure background color:
var hmarqueebgcolor="black"
//Pause marquee onMousever (0=no. 1=yes)?
var hpauseit=0

//Specify the marquee's content (don't delete <nobr> tag)
//Keep all content on ONE line, and backslash any single quotations (ie: that\'s great):

var hmarqueecontent=''


////NO NEED TO EDIT BELOW THIS LINE////////////
hmarqueespeed=(document.all)? hmarqueespeed : Math.max(1, hmarqueespeed-1) //slow speed down by 1 for NS
var hcopyspeed=hmarqueespeed
var hpausespeed=(hpauseit==0)? hcopyspeed: 0
var hiedom=document.all||document.getElementById
//if (hiedom)
//document.write('<span id="temp" style="visibility:hidden;position:absolute;top:-100px;left:-9000px">'+hmarqueecontent+'</span>')
var hactualwidth=''
var hcross_marquee, hns_marquee

function hpopulate(){
if (hiedom){
hcross_marquee=document.getElementById? document.getElementById("hiemarquee") : document.all.iemarquee
hcross_marquee.style.left=parseInt(hmarqueewidth)+8+"px"
hcross_marquee.innerHTML=hmarqueecontent
hactualwidth=document.all? temp.offsetWidth : document.getElementById("temp").offsetWidth
}
else if (document.layers){
hns_marquee=document.ns_marquee.document.ns_marquee2
hns_marquee.left=parseInt(hmarqueewidth)+8
hns_marquee.document.write(hmarqueecontent)
hns_marquee.document.close()
hactualwidth=hns_marquee.document.width
}
hlefttime=setInterval("hscrollmarquee()",20)
}
//window.onload=hpopulate

function hscrollmarquee(){
if (hiedom){
if (parseInt(hcross_marquee.style.left)>(hactualwidth*(-1)+8))
hcross_marquee.style.left=parseInt(hcross_marquee.style.left)-hcopyspeed+"px"
else
hcross_marquee.style.left=parseInt(hmarqueewidth)+8+"px"

}
else if (document.layers){
if (hns_marquee.left>(hactualwidth*(-1)+8))
hns_marquee.left-=hcopyspeed
else
hns_marquee.left=parseInt(hmarqueewidth)+8
}
}

/*
if (hiedom||document.layers){
with (document){
document.write('<table border="0" cellspacing="0" cellpadding="0"><td>')
if (hiedom){
write('<div style="position:relative;width:'+hmarqueewidth+';height:'+hmarqueeheight+';overflow:hidden">')
write('<div style="position:absolute;width:'+hmarqueewidth+';height:'+hmarqueeheight+';background-color:'+hmarqueebgcolor+'" onMouseover="hcopyspeed=hpausespeed" onMouseout="hcopyspeed=hmarqueespeed">')
write('<div id="hiemarquee" style="position:absolute;left:0px;top:0px"></div>')
write('</div></div>')
}
else if (document.layers){
write('<ilayer width='+hmarqueewidth+' height='+hmarqueeheight+' name="hns_marquee" bgColor='+hmarqueebgcolor+'>')
write('<layer name="hns_marquee2" left=0 top=0 onMouseover="hcopyspeed=hpausespeed" onMouseout="hcopyspeed=hmarqueespeed"></layer>')
write('</ilayer>')
}
document.write('</td></table>')
}
}
*/