function tS(){ x=new Date(); x.setTime(x.getTime()); return x; } function lZ(x){ return (x>9)?x:'0'+x; } function tH(x){ if(x==0){ x=12; } return (x>12)?x-=12:x; } function dT(){ if(fr==0){ fr=1; document.write('<font size=4 face=Arial color=black><span id="tP">'+eval(oT)+'</span></font>'); } document.getElementById('tP').innerHTML=eval(oT); setTimeout('dT()',1000); } function aP(x){ return (x>11)?'PM':'AM'; } var fr=0,oT="tH(tS().getHours())+':'+lZ(tS().getMinutes())+aP(tS().getHours())";