

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

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

var Acopyspeed = Amarqueespeed
var Apausespeed = (Apauseit == 0) ? Acopyspeed : 0
var Aactualheight = ''

function Ascrollmarquee() {
    if (parseInt(Across_marquee.style.top) > (Aactualheight * (-1) + 8))
        Across_marquee.style.top = parseInt(Across_marquee.style.top) - Acopyspeed + "px"
    else
        Across_marquee.style.top = parseInt(Amarqueeheight) + 8 + "px"
}

function Ainitializemarquee() {
    Across_marquee = document.getElementById("Avmarquee")
    Across_marquee.style.top = 0
    Amarqueeheight = document.getElementById("Amarqueecontainer").offsetHeight
    Aactualheight = Across_marquee.offsetHeight
    if (window.opera || navigator.userAgent.indexOf("Netscape/7") != -1) { //if Opera or Netscape 7x, add scrollbars to scroll and exit
        Across_marquee.style.height = Amarqueeheight + "px"
        Across_marquee.style.overflow = "scroll"
        return
    }
    setTimeout('Alefttime=setInterval("Ascrollmarquee()",30)', Adelayb4scroll)
}

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



