function updateClock() {
	var today = new Date();
 	var hours = today.getHours();
	var minutes = today.getMinutes();
	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 month = months[today.getMonth() + 1];
	var day = today.getDate();
	var year = today.getYear();
	if ((navigator.appName == "Microsoft Internet Explorer") && (year < 2000)) { year = "19" + year; }
	if (navigator.appName == "Netscape") { year = 1900 + year; }
	var ampm = "am";
	var displayHour = hours;
	if (eval(hours) <10) { hours = "0" + hours; }
	if (eval(hours) >=12) { ampm = "pm"; displayHour -=12; }
	if (displayHour == 0) { displayHour = 12; }
	if (eval(minutes) < 10) { minutes = "0" + minutes; }
	document.getElementById("theClockLeft").innerHTML = "<div class='date' style='text-align:right;margin-right:5px;'>" + month + " " + year + "</div><div class='day' style='text-align:right;margin-right:5px;'>" + day + " " + "</div>";	
	document.getElementById("theClockRight").innerHTML = "<div style='height:22px;'>&#160;</div><div class='time' style='vertical-align:bottom;'>" + displayHour + ":" + minutes + " <span style='font-size: 10px'>" + ampm + "</span></div>";
	var timer = setTimeout("updateClock()",60000)
}
updateClock();