// http://www.maxxblade.co.uk/clock

function tS(){ x=new Date(); x.setTime(x.getTime()); return x; }
function lZ(x){ return (x>9)?x:'0'+x; }
function dT(){ if(fr==0){ fr=1; document.write('<span class="txt-clock"><span id="tP">'+eval(oT)+'</span></span>'); } document.getElementById("tP").innerText=eval(oT); setTimeout('dT()',1000); }
function y4(x){ return (x<500)?x+1900:x; }

var dN=new Array('So','Mo','Di','Mi','Do','Fr','Sa'),mN=new Array('01','02','03','04','05','06','07','08','09','10','11','12'),fr=0,oT="dN[tS().getDay()]+'  |  '+lZ(tS().getDate())+'.'+mN[tS().getMonth()]+'.'+y4(tS().getYear())+'  |  '+lZ(tS().getHours())+':'+lZ(tS().getMinutes())+':'+lZ(tS().getSeconds())";