 var TString, DString;
 function timedate(){now=new Date();
 H=now.getHours();
 M=now.getMinutes();
 S=now.getSeconds();
 TString=((H < 10) ? "0" : "")+H;
 TString+=((M < 10) ? ":0" : ":")+M;
 TString+=((S < 10) ? ":0" : ":")+S;
 document.clock.time.value = TString;
 Day=now.getDate();
 month = now.getMonth()+1;
 year=now.getYear();
 if (year< 2000) year+=1900
 DString=((Day<10) ? "0" : "") + Day;
 DString+=((month<10) ? ".0" : ".") + month;
 DString+="." + year;
 document.clock.date.value = DString;
 Timer=setTimeout("timedate()", 1000);}
