<!--

var baners=new Array();

var swidth=140

var sheight=1000

var sspeed=1
var timeout_value=30

function start(str)
{
  if (document.all)
  {
    slider1.style.pixelTop=0;
    slider1.innerHTML=str;
    slider2.innerHTML=str;
    slider2.style.pixelTop=sheight-slider2.scrollHeight;
    ie_marquee(slider1,slider2,0);
  }
  else if (document.getElementById && !document.all)
  {
    document.getElementById('slider1').style.top=0;
    document.getElementById('slider2').style.top=sheight-document.getElementById('slider2').offsetHeight;
    document.getElementById('slider1').innerHTML=str;
    document.getElementById('slider2').innerHTML=str;
    ns_marquee(document.getElementById('slider1'),document.getElementById('slider2'),0);
  }
}

function ie_marquee(whichdiv1,whichdiv2,active)
{
  iediv=eval(whichdiv1);
  iediv_nast=eval(whichdiv2);

  if (iediv.scrollHeight<=sheight)
  {
    sspeed=0;
  }

  if (iediv.style.pixelTop<=(sheight-iediv.scrollHeight-active))
  {
    iediv_nast.style.pixelTop=iediv_nast.style.pixelTop-sspeed;
  }

  if (iediv.style.pixelTop<=(iediv.scrollHeight*(-1)-sspeed-active))
  {
    if (iediv.id=='slider1')
    {
      iediv.style.pixelTop=sheight;
      active=iediv_nast.scrollHeight;
      setTimeout('ie_marquee(iediv_nast,iediv,'+active+')',timeout_value);
    }
    else
    {
      active=0;
      iediv.style.pixelTop=sheight-iediv_nast.scrollHeight;
      setTimeout('ie_marquee(iediv_nast,iediv,'+active+')',timeout_value);
    }
  }
  else
  {
    if (iediv.style.pixelTop>=iediv.scrollHeight*(-1)-sspeed-active)
    {
      iediv.style.pixelTop=iediv.style.pixelTop-sspeed;
      setTimeout('ie_marquee(iediv,iediv_nast,'+active+')',timeout_value);
    }
  }
}

function ns_marquee(whichdiv1,whichdiv2,active)
{
  iediv=eval(whichdiv1);
  iediv_nast=eval(whichdiv2);

  if (iediv.offsetHeight<=sheight)
  {
    sspeed=0;
  }

  if (parseInt(iediv.style.top)<=(sheight-iediv.offsetHeight-active))
  {
    iediv_nast.style.top=parseInt(iediv_nast.style.top)-sspeed;
  }

  if (parseInt(iediv.style.top)<=(iediv.offsetHeight*(-1)-sspeed-active))
  {
    if(iediv.id=='slider1')
    {
      iediv.style.top=sheight;
      active=iediv_nast.offsetHeight;
      setTimeout('ns_marquee(iediv_nast,iediv,'+active+')',timeout_value);
    }
    else
    {
      active=0;
      iediv.style.top=sheight-iediv_nast.offsetHeight;
      setTimeout('ns_marquee(iediv_nast,iediv,'+active+')',timeout_value);
    }
  }
  else
  {
    if (parseInt(iediv.style.top)>=iediv.offsetHeight*(-1)-sspeed-active)
    {
      iediv.style.top=parseInt(iediv.style.top)-sspeed;
      setTimeout('ns_marquee(iediv,iediv_nast,'+active+')',timeout_value);
    }
  }
}

//-->