 function Clock() { var el = document.all("spantime"); var today   = new Date(); var day	 = today.getDate(); var month	 = today.getMonth() + 1; var year	 = today.getYear(); var hours   = today.getHours(); var minutes = today.getMinutes(); var seconds = today.getSeconds();   timeValue = day + "." + month + "." + year + "  "+ hours;   timeValue += ((minutes < 10) ? ":0" : ":") + minutes;   timeValue += ((seconds < 10) ? ":0" : ":") + seconds;   el.innerText = timeValue;   timer = setTimeout("Clock()",1000); } function skryt(objekt) { var prihlaseni = document.all(objekt); prihlaseni.style.visibility = "hidden"; }  function zobrazit(objekt) { //alert("aa"); var prihlaseni = document.all(objekt); prihlaseni.style.visibility = "visible"; }
