  var swidth=163;
  var sheight=120;
  var sbcolor='white';
  var sspeed=1;
  var msg='';

  msg='<table dir=RTL width=100% border=0 cellspacing=0 cellpadding=0>';
  if (msg1!='') msg+='<tr><td class="boxMsg"><font color="#c21212">'+dat1+' - </font>'+msg1+'</td></tr>';
  if (msg2!='') msg+='<tr><td class="boxMsg"><font color="#c21212">'+dat2+' - </font>'+msg2+'</td></tr>';
  if (msg3!='') msg+='<tr><td class="boxMsg"><font color="#c21212">'+dat3+' - </font>'+msg3+'</td></tr>';
  if (msg4!='') msg+='<tr><td class="boxMsg"><font color="#c21212">'+dat4+' - </font>'+msg4+'</td></tr>';
  if (msg5!='') msg+='<tr><td class="boxMsg"><font color="#c21212">'+dat5+' - </font>'+msg5+'</td></tr>';
  if (msg6!='') msg+='<tr><td class="boxMsg"><font color="#c21212">'+dat6+' - </font>'+msg6+'</td></tr>';
  if (msg7!='') msg+='<tr><td class="boxMsg"><font color="#c21212">'+dat7+' - </font>'+msg7+'</td></tr>';
  if (msg8!='') msg+='<tr><td class="boxMsg"><font color="#c21212">'+dat8+' - </font>'+msg8+'</td></tr>';
  if (msg9!='') msg+='<tr><td class="boxMsg"><font color="#c21212">'+dat9+' - </font>'+msg9+'</td></tr>';
  msg=msg+'</table>';

  var resumesspeed=sspeed;

  function boxStart() {
    if (document.all)
      iemarquee(slider);
    else if (document.getElementById)
      ns6marquee(document.getElementById('slider'));
    else if(document.layers)
      ns4marquee(document.slider1.document.slider2);
  }

  function iemarquee(whichdiv) {
    iediv=eval(whichdiv);
    iediv.style.pixelTop=sheight;
    iediv.innerHTML=msg;
    sizeup=iediv.offsetHeight;
    ieslide();
  }

  function ieslide() {
    if (iediv.style.pixelTop>=sizeup*(-1)) {
      iediv.style.pixelTop-=sspeed;
      setTimeout("ieslide()",60);
    }
    else {
      iediv.style.pixelTop=sheight;
      ieslide();
    }
  }

  function ns4marquee(whichlayer) {
    ns4layer=eval(whichlayer);
    ns4layer.top=sheight;
    ns4layer.document.write(msg);
    ns4layer.document.close();
    sizeup=ns4layer.document.height;
    ns4slide();
  }

  function ns4slide() {
    if (ns4layer.top>=sizeup*(-1)) {
      ns4layer.top-=sspeed;
      setTimeout("ns4slide()",75);
    }
    else {
      ns4layer.top=sheight;
      ns4slide();
    }
  }

  function ns6marquee(whichdiv) {
    ns6div=eval(whichdiv);
    ns6div.style.top=sheight;
    ns6div.innerHTML=msg;
    sizeup=ns6div.offsetHeight;
    ns6slide();
  }

  function ns6slide() {
    if (parseInt(ns6div.style.top)>=sizeup*(-1)) {
      ns6div.style.top=parseInt(ns6div.style.top)-sspeed;
      setTimeout("ns6slide()",75);
    }
    else {
      ns6div.style.top=sheight;
      ns6slide();
    }
  }

