
		var clockID = 0;

		function UpdateClock() {
   			if(clockID) {
      				clearTimeout(clockID);
      				clockID  = 0;
   			}
   			var tDate = new Date();
			var month = tDate.getMonth() + 1;
			var day = tDate.getDate();
			var year = tDate.getFullYear();
			
			var hour = tDate.getHours();
                        var min = (tDate.getMinutes()<10)?'0'+tDate.getMinutes():tDate.getMinutes();
                        var second = (tDate.getSeconds() < 10)?'0'+tDate.getSeconds():tDate.getSeconds();
			
			myClock = gE("clock");
			var iHtml = " "+hour+ ":" + min + ":" + second;
			iHtml += "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;" + day + "/" + month + "/" + year;
	   		myClock.innerHTML = iHtml; 
                                
   			clockID = setTimeout("UpdateClock()", 1000);
		}

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

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