<!--

/***********************************************
* 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 delayb4scrollh_1=500 //Specify initial delay before marquee starts to scroll on page (2000=2 seconds)
var marqueespeedh_1=1 //Specify marquee scroll speed (larger is faster 1-10)
var pauseith_1=1 //Pause marquee onMousever (0=no. 1=yes)?

////NO NEED TO EDIT BELOW THIS LINE////////////

var copyspeedh_1=marqueespeedh_1
var pausespeedh_1=(pauseith_1==0)? copyspeedh_1: 0
var actualwidth_1=''
var versoh_1='sx'

function scrollmarqueeh_1(){
if (parseInt(cross_marqueeh_1.style.left)>(actualwidth_1*(-1)+marqueewidth_1) && versoh_1 == 'sx') //if scroller hasn't reached the end of its height
cross_marqueeh_1.style.left=parseInt(cross_marqueeh_1.style.left)-copyspeedh_1+"px"; //move scroller upwards
else //else, reset to original position
{cross_marqueeh_1.style.left=parseInt(cross_marqueeh_1.style.left)+copyspeedh_1+"px";
versoh_1='dx';
if (parseInt(cross_marqueeh_1.style.left)==0) versoh_1='sx';
}
}

function initializemarqueeh_1(){
cross_marqueeh_1=document.getElementById("hmarquee_1");
cross_marqueeh_1.style.left=0;
marqueewidth_1=document.getElementById("marqueecontainerh_1").offsetWidth;
actualwidth_1=cross_marqueeh_1.offsetWidth; //height of marquee content (much of which is hidden from view)
if (window.opera || navigator.userAgent.indexOf("Netscape/7")!=-1){ //if Opera or Netscape 7x, add scrollbars to scroll and exit
cross_marqueeh_1.style.width=marqueewidth_1+"px";
cross_marqueeh_1.style.overflow="scroll";
return
}
setTimeout('lefttime=setInterval("scrollmarqueeh_1()",30)', delayb4scrollh_1)
}

if (window.addEventListener)
window.addEventListener("load", initializemarqueeh_1, false)
else if (window.attachEvent)
window.attachEvent("onload", initializemarqueeh_1)
else if (document.getElementById)
window.onload=initializemarqueeh_1

//-->
