// JavaScript Document

<!--
function startclock()
{
var thetime=new Date();

var nhours=thetime.getHours();
var nmins=thetime.getMinutes();
var nsecn=thetime.getSeconds();
var AorP=" ";

if (nhours>=24)
AorP="";
else
AorP="";

if (nhours>=24)
nhours-=24;

if (nhours==0)
nhours=24;

if (nsecn<10)
nsecn="0"+nsecn;

if (nmins<10)
nmins="0"+nmins;

document.clockform.clockspot.value=nhours+": "+nmins+": "+nsecn+" "+AorP;

setTimeout('startclock()',1000);

} 
//-->

