  defSpeed = sspeed;
  document.writeln('<span style="width:'+swidth+'; height:'+sheight+';">');
  if (document.all) {
    document.writeln(' <marquee id="ieslider" scrollAmount="2" width="'+swidth+'" height="'+sheight+'"'+
                      ' direction="up" style="border:none;background-color:'+bgColor+'">');
    document.writeln(wholemessage);
    ieslider.onmouseover = new Function("ieslider.scrollAmount = 0;");
    ieslider.onmouseout = new Function("if (document.readyState=='complete') ieslider.scrollAmount=defSpeed;");
    document.writeln(' </marquee>');
  } else if (document.getElementById && !document.all) {
    document.writeln('<div style="position:relative; overflow:hidden; width:'+swidth+'; height:'+sheight+';'+
                      ' clip:rect(0 302 102 0); background-color:'+bgColor+'; border: none;"'+
                      ' onMouseOver="sspeed=0;" onMouseOut="sspeed='+defSpeed+';">');
    document.writeln(' <div id="slider" style="position:relative;width:&{swidth};">');
    document.writeln(' </div>');
    document.writeln('</div>');
  } else {
    document.writeln(' <ilayer name="slider1" width="'+swidth+'" height="'+sheight+'" visibility="hide"'+
                      ' bgcolor="'+bgColor+'">');
    document.writeln('  <layer name="slider2" onMouseOver="sspeed=0;" onMouseOut="sspeed='+defSpeed+';">');
    document.writeln('  </layer>');
    document.writeln(' </ilayer>');
  }
  document.write("</span>")
