 
  hide
var timeStr, dateStr;

function hodiny() {
now= new Date();
hours= now.getHours();
minutes= now.getMinutes();
seconds= now.getSeconds();
timeStr= "" + hours;
timeStr+= ((minutes < 10) ? ":0" : ":") + minutes;
timeStr+= ((seconds < 10) ? ":0" : ":") + seconds;
document.clock.time.value = timeStr;
date= now.getDate();
month= now.getMonth()+1;
year= now.getYear();
dateStr= "" + date;
dateStr+= "." + month;
dateStr+= "." + (year+0000);
document.clock.date.value = dateStr;

Timer= setTimeout("hodiny()",1000);
}
 
