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

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

var copyspeed_detach=marqueespeed_detach
var pausespeed_detach=(pauseit_detach==0)? copyspeed_detach: 0
var actualheight_detach=''

function scrollmarquee_detach(){
if (parseInt(cross_marquee_detach.style.top)>(actualheight_detach*(-1)+8))
cross_marquee_detach.style.top=parseInt(cross_marquee_detach.style.top)-copyspeed_detach+"px"
else
cross_marquee_detach.style.top=parseInt(marqueeheight)+8+"px"
}

function initializemarquee_detach(){
cross_marquee_detach=document.getElementById("vmarquee_detach")
cross_marquee_detach.style.top=0
marqueeheight=document.getElementById("marqueecontainer_detach").offsetHeight
actualheight_detach=cross_marquee_detach.offsetHeight
if (window.opera || navigator.userAgent.indexOf("Netscape/7")!=-1){ //if Opera or Netscape 7x, add scrollbars to scroll and exit
cross_marquee_detach.style.height=marqueeheight+"px"
cross_marquee_detach.style.overflow="scroll"
return
}
setTimeout('lefttime=setInterval("scrollmarquee_detach()",60)', delayb4scroll_detach)
}

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