function dynClock() {
var months=new Array(13);
months[1]="Jan";
months[2]="Feb";
months[3]="Mar";
months[4]="Apr";
months[5]="May";
months[6]="Jun";
months[7]="Jul";
months[8]="Aug";
months[9]="Sep";
months[10]="Oct";
months[11]="Nov";
months[12]="Dec";
var time=new Date();
var lmonth=months[time.getMonth() + 1];
var date=time.getDate();
var year=time.getYear();
if (year < 2000)    
year = year + 1900; 

if (!document.layers && !document.all) return
var runTime = new Date();
var hours = runTime.getHours();
var minutes = runTime.getMinutes();
var seconds = runTime.getSeconds();
var dn = "AM";
if (hours >= 12) {
dn = "PM";
hours = hours - 12;
}
if (hours == 0) {
hours = 12;
}
if (minutes <= 9) {
minutes = "0" + minutes;
}
if (seconds <= 9) {
seconds = "0" + seconds;
}
movingtime = "<FONT color=white >" + lmonth + " " + date + ", " + year + "<br>&nbsp;&nbsp;" + hours + ":" + minutes + ":" + seconds + " " + dn + "</FONT>" ;
nettime = "<FONT color=white>" + lmonth + "&nbsp;" + date + ",&nbsp;" + year + "<br>" + hours + ":" + minutes + ":" + seconds + "&nbsp;" + dn + "</FONT>" ;

if (document.layers) {
document.layers.clock.document.write(nettime);
document.layers.clock.document.close();
}
else if (document.all) {
clock.innerHTML = movingtime;
}
setTimeout("dynClock()", 1000)
}
