
/***********************************************
* 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 p_delayb4scroll=1000 //Specify initial delay before marquee starts to scroll on page (2000=2 seconds)
var p_marqueespeed=1 //Specify marquee scroll speed (larger is faster 1-10)
var p_pauseit=1 //Pause marquee onMousever (0=no. 1=yes)?

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

var p_copyspeed=p_marqueespeed
var p_pausespeed=(p_pauseit==0)? p_copyspeed: 0
var p_actualheight=''

function p_scrollmarquee(){
if (parseInt(p_cross_marquee.style.top)>(p_actualheight*(-1)+8))
p_cross_marquee.style.top=parseInt(p_cross_marquee.style.top)-p_copyspeed+"px"
else
p_cross_marquee.style.top=parseInt(p_marqueeheight)+8+"px"
}

function p_initializemarquee(){
p_cross_marquee=document.getElementById("partner_vmarquee")
p_cross_marquee.style.top=0
p_marqueeheight=document.getElementById("partner_marqueecontainer").offsetHeight
p_actualheight=p_cross_marquee.offsetHeight
if (window.opera || navigator.userAgent.indexOf("Netscape/7")!=-1){ //if Opera or Netscape 7x, add scrollbars to scroll and exit
p_cross_marquee.style.height=p_marqueeheight+"px"
p_cross_marquee.style.overflow="scroll"
return
}
setTimeout('lefttime=setInterval("p_scrollmarquee()",30)', p_delayb4scroll)
}

if (window.addEventListener)
window.addEventListener("load", p_initializemarquee, false)
else if (window.attachEvent)
window.attachEvent("onload", p_initializemarquee)
else if (document.getElementById)
window.onload=p_initializemarquee


