function dat_cas(){
now = new Date()
den = now.getDay()
den_c = now.getDate()
mesic = now.getMonth()
rok = now.getYear()
if (mesic=="0"){mesic_u=".ledna";} 
if (mesic=="1"){mesic_u=".února";}
if (mesic=="2"){mesic_u=".března";}
if (mesic=="3"){mesic_u=".dubna";}
if (mesic=="4"){mesic_u=".května";}
if (mesic=="5"){mesic_u=".června";}
if (mesic=="6"){mesic_u=".července";}
if (mesic=="7"){mesic_u=".srpna";}
if (mesic=="8"){mesic_u=".září";}
if (mesic=="9"){mesic_u=".října";}
if (mesic=="10"){mesic_u=".listopadu";}
if (mesic=="11"){mesic_u=".prosince";}
sekundy=now.getSeconds()
minuty=now.getMinutes()
hodiny=now.getHours()
if (minuty<10){
minuty="0" + minuty
}
if (sekundy<10){
sekundy="0" + sekundy
}
clock()
}
function clock(){
dnes=new Date()
hodiny=dnes.getHours()
minuty=dnes.getMinutes()
sekundy=dnes.getSeconds()
if (minuty<10){
minuty="0" + minuty
}
if (sekundy<10){
sekundy="0" + sekundy
}
cas_u=hodiny+":"+minuty+":"+sekundy
whichLan = eval("datum");
whichLan.innerText = (den_c + mesic_u +" "+ rok);
whichLan = eval("cas");
whichLan.innerText = (cas_u);
timerID = setTimeout("clock()",1000)
}
