// SCRLTIME.JS
// Scrolls the time in the staus line to the left and updates it!
//
// This code can NOT be made into a function for some reason.

  now = new Date();
  localtime = now.toString();
  utctime = now.toGMTString();
  var msg = "Time: " + localtime;
  var spacer = "...        ...";
  var pos = 0;
  function ScrollMessage() {
     window.status = msg.substring(pos, msg.length) + spacer + msg.substring(0, pos);
     pos++;
     if(pos > msg.length) {
        pos = 0;
        //-----------------------------------------------------
        // This updates the time in the scrolling message bar!
        //-----------------------------------------------------
        now = new Date();
        localtime = now.toString();
        msg = "Time: " + localtime;
        //-----------------------------------------------------
     }
     window.setTimeout("ScrollMessage()", 200);
  }
  ScrollMessage();


// -->
