5
I changed the JavaScript to the following:
var spSTim11=" ";
function time01() {
var dayTim,iHours,iMins,iSecs,strAMPM;
dayTim=new Date();
iHours=dayTim.getHours();
iMins=dayTim.getMinutes();
iSecs=dayTim.getSeconds();
if (iHours<12)
{
strAMPM="am";
}
else
{
strAMPM="pm";
iHours=iHours-12;
}
if (iMins<10) iMins = "0" + iMins;
if (iSecs<10) iSecs = "0" + iSecs;
document.time01.timeform.value = spSTim11 + iHours + ":" + iMins + ":" + iSecs + " " + strAMPM;
setTimeout("time01()",1000);
}