Scrolling Banner in Status Bar

The message below will stop automatically ...

<SCRIPT>

function autostop(seed) {
     var msg = "You can easily change this message to suit your needs ... ";
     var out = " ";

     if (seed > 0 && seed <= 100) { // making sure that the seed is "within the range"
          for (i = 0; i < seed; i++) out += " ";  // out = out + " " = " " + " "
         
// pad with seed spaces - initially there will be 100 spaces, then 99 spaces, ..., then 1 space

          out += msg;  // number of spaces from above + msg, ie, if seed = 5 then "     " + msg

          seed--;  // decrement the seed count (100, 99, 98, ..., 2, 1)

          status = out; // output the results to the status bar

          setTimeout("autostop(" + seed + ")", 50);
     }
}

</SCRIPT>

<BODY onLoad="autostop(100);">