<SCRIPT LANGUAGE="JavaScript"> <!-- init=new Date(); hri=init.getHours(); mni=init.getMinutes(); sci=init.getSeconds(); mii=init.getTime(); function clock() { hre=new Date(); hr=hre.getHours(); if (hr<10) hr="0"+hr mn=hre.getMinutes(); if (mn<10) mn="0"+mn sc=hre.getSeconds(); if (sc<10) sc="0"+sc time=hr+":"+mn+":"+sc; document.form.button.value=time; setTimeout('clock()', 1000);} document.write("<form name=\"form\">" + "<input type=button value='-----------'" + " name=button></form>"); onError = null; clock(); //--> </SCRIPT> |