//scroller width
var swidth=205;

//scroller height
 var sheight=75;
 
 //background color
 var sbcolor='#ff99ff';
 
 //scroller's speed
 var sspeed=2;
 var msg;
 
// Begin the ticker code
var resumesspeed=sspeed

function start(msg) {
	document.getElementById('ticker').style.display="block";
	if (document.all) iemarquee(ticker,msg);
	else if (document.getElementById)
	ns6marquee(document.getElementById('ticker'),msg);
}     
function iemarquee(whichdiv,msg){
    iediv=eval(whichdiv)
    sheight += 75;
    iediv.style.pixelTop=sheight
    //iediv.innerHTML=msg 
    sizeup=iediv.offsetHeight
    ieslide()
}
        
function ieslide(){
                if (iediv.style.pixelTop>=sizeup*(-4)){
                        iediv.style.pixelTop-=sspeed
                        setTimeout("ieslide()",100)
                }
                else{
                        iediv.style.pixelTop=sheight
                        ieslide()
                }
        }
        
        function ns6marquee(whichdiv,msg){
                ns6div=eval(whichdiv)
                sheight += 75;
                ns6div.style.top=sheight + "px";
                //ns6div.innerHTML=msg
                sizeup=ns6div.offsetHeight
                ns6slide()
        }
        function ns6slide(){
                if (parseInt(ns6div.style.top)>=sizeup*(-4)){
                        theTop = parseInt(ns6div.style.top)-sspeed
                        ns6div.style.top = theTop + "px";
                        setTimeout("ns6slide()",100)
                }
                else {
                        ns6div.style.top = sheight + "px";
                        ns6slide()
                }
        }
