<!--
// please keep these lines on when you copy the source
// made by: Nicolas - http://www.javascript-page.com

var clockID = 0;

function UpdateClock() {
   if(clockID) {
      clearTimeout(clockID);
      clockID  = 0;
   }

   var tDate = new Date();

   var seconds;
   if (tDate.getSeconds() < 10) {
     seconds = "0" + tDate.getSeconds();
   }
   else {
     seconds = "" + tDate.getSeconds();
   }
   var minutes;
   if (tDate.getMinutes() < 10) {
     minutes = "0" + tDate.getMinutes();
   }
   else {
     minutes = "" + tDate.getMinutes();
   }
   if (!document.layers) {
		document.getElementById("theTime").innerHTML = "" 
                                   + tDate.getHours() + ":" 
                                   + minutes + ":" 
                                   + seconds;
   }
   clockID = setTimeout("UpdateClock()", 1000);
}



function StartClock() {
   clockID = setTimeout("UpdateClock()", 500);
}

function KillClock() {
   if(clockID) {
      clearTimeout(clockID);
      clockID  = 0;
   }
}

//-->
