/************************************************************************  
Script made by Martial Boissonneault © 2001 http://getElementById.com/
This script may be used and changed freely as long as this msg is intact
Visit http://getElementById.com/ for more free scripts and tutorials.
*************************************************************************/
var ie5 = (document.getElementById && document.all);
var ns6 = (document.getElementById && !document.all);
var innerWidth = 900;
var nLeft = 900;
var nWidth = 2000;          // width of text; more text you have higher this number is.
var nSpeed = 1;            // the speed of the ticker.
var nBgOff = "#004080";    // the background-color onmouseout.
var nBgOn  = "#004080";    // the background-color onmouseover.
var nCoOff = "#FFFFFF";    // the font-color onmouseout.
var nCoOn  = "#FFFFFF";    // the font-color onmouseover.

/* You don't have to edit below this line */

var nEnd = -nWidth;  
var timerTt = null;
var timerSt = null;

function TickerTape(){
    if(ie5 || ns6) {
        obj.style.backgroundColor = nBgOff;
	obj.style.color = nCoOff;
        tck.style.left = nLeft;
        tck.style.width = nWidth;
        nLeft = nLeft - nSpeed;
        if( nLeft < nEnd ) {nLeft = innerWidth;}
        timerTt=setTimeout('TickerTape()', 25);
    }
}

function StopIt(){
        clearTimeout(timerTt);
        obj.style.backgroundColor = nBgOn
	obj.style.color = nCoOn
}

function TickerInit(){
    if(ie5 || ns6) {
        tck = document.getElementById('text');
        obj = document.getElementById('cont');
        obj.style.visibility = "visible";
        obj.onmouseover=StopIt;
        obj.onmouseout=TickerTape;
        TickerTape();
    }
}

