function StatusClock() {
   // This gets the current date and time.
   var dt = new Date();
   // The next three lines extract the appropriate
   // components.
   var hr = dt.getHours();
   var min = dt.getMinutes();
   var sec = dt.getSeconds();
   
   // This updates the status bar.
   window.status = "The time is: " + hr + ":" + min + ":" + sec;

   // This says "Do it all again in 1 second"
   setTimeout("StatusClock()", 1000);
}
