<!--
/24 Hour Clock (tim24) by Derek Hilleard G4CQM. Copyright D.Hilleard 2003/
var alternate=0
var standardbrowser=!document.all&&!document.getElementById
if (standardbrowser)
document.write('<form name="tim24"><input type="text"></form>')
function show(){
if (!standardbrowser)
var tim24obj=document.getElementById? document.getElementById("tim24") : document.all.tim24
var Digital=new Date()
var hours=Digital.getHours()
var minutes=Digital.getMinutes()
if (hours==12)  
if (hours>0){
hours=hours-0
}
if (hours==0) hours=0
if (hours.toString().length==1)
hours="0"+hours
if (minutes<=9)
minutes="0"+minutes
if (standardbrowser){
if (alternate==0)
document.tim.value=hours+":"+minutes+""
else
document.tim.value=hours+""+minutes+""
}
else{
if (alternate==0)
tim24obj.innerHTML=hours+"<font color='red'> : </font>"+minutes+""+""
else
tim24obj.innerHTML=hours+"<font color='black'> : </font>"+minutes+""+""
}
alternate=(alternate==0)?1:0
setTimeout("show()",500)
}
window.onload=show
//-->