//scroller width
var swidth=200;

//scroller height
var sheight=130;

//background color
var sbcolor='';

//scroller's speed
var sspeed=1;

var msg='';

// Begin the ticker code
var resumesspeed=sspeed

function start() {
  if (document.all)
   iemarquee(ticker1, ticker2);
  else if (document.getElementById)
    ns6marquee(document.getElementById('ticker1'), document.getElementById('ticker2'));
}

function iemarquee(whichdiv1, whichdiv2){
  iediv1=eval(whichdiv1);
  iediv2=eval(whichdiv2);
  msg=iediv1.innerHTML;
  iediv2.innerHTML=msg;
  sheight = 0;
  sizeup=iediv1.offsetHeight;
  iediv1.style.pixelTop=sheight;
  iediv2.style.pixelTop=sizeup; 
  ieslide()
}

function ieslide(){
  if ((iediv1.style.pixelTop>=sizeup*(-1)) && (iediv2.style.pixelTop>=sizeup*(-1))){
    iediv1.style.pixelTop-=sspeed;
    iediv2.style.pixelTop-=sspeed;
    setTimeout("ieslide()",100)
  }else{
    if (iediv1.style.pixelTop<sizeup*(-1))
	iediv1.style.pixelTop=sizeup;
    else
	iediv2.style.pixelTop=sizeup;
    ieslide()
  }
}

function ns6marquee(whichdiv1, whichdiv2){
  ns6div1=eval(whichdiv1);
  ns6div2=eval(whichdiv2);
  msg=ns6div1.innerHTML;
  ns6div2.innerHTML=msg;
  sheight = 0;
  sizeup=ns6div1.offsetHeight;
  ns6div1.style.top=sheight + "px";
  ns6div2.style.top=sizeup + "px";
  ns6slide()
}
function ns6slide(){
  if ((parseInt(ns6div1.style.top)>=sizeup*(-1)) && (parseInt(ns6div2.style.top)>=sizeup*(-1))){
    theTop1 = parseInt(ns6div1.style.top)-sspeed;
    theTop2 = parseInt(ns6div2.style.top)-sspeed;
    ns6div1.style.top = theTop1 + "px";
    ns6div2.style.top = theTop2 + "px";
    setTimeout("ns6slide()",100)
  }else {
    if (parseInt(ns6div1.style.top)<sizeup*(-1))
    	ns6div1.style.top = sizeup + "px";
    else
	ns6div2.style.top = sizeup + "px";
    ns6slide()
  }
}

