function y2k(number)
{ 
	return (number < 1000) ? number + 1900 : number;
}

var date = new Date();
var month = date.getMonth();
var day = date.getDate();
var year = y2k(date.getYear());

if (month == "0")
	month = "January";
	else
if (month == "1")
	month = "February";
	else
if (month == "2")
	month = "March";
	else
if (month == "3")
	month = "April";
	else
if (month == "4")
	month = "May";
	else
if (month == "5")
	month = "June";
	else
if (month == "6")
	month = "July";
	else
if (month == "7")
	month = "August";
	else
if (month == "8")
	month = "September";
	else
if (month == "9")
	month = "October";
	else
if (month == "10")
	month = "November";
	else
if (month == "11")
	month = "December";

var dateText = (day + " " + month + " " + year + "&nbsp;|&nbsp;");

function clock() {
if (!document.layers && !document.all) return;
var digital = new Date();
var hours = digital.getHours();
var minutes = digital.getMinutes();
var seconds = digital.getSeconds();
// var amOrPm = "AM";
// if (hours > 11) amOrPm = "PM";
// if (hours > 12) hours = hours - 12;
// if (hours == 0) hours = 12;
if (hours <= 9) hours = "0" + hours;
if (minutes <= 9) minutes = "0" + minutes;
if (seconds <= 9) seconds = "0" + seconds;
// dispTime = hours + ":" + minutes + ":" + seconds + " " + amOrPm;
dispTime = hours + ":" + minutes + ":" + seconds;
if (document.layers) {
document.layers.footerclock.document.write(dispTime);
document.layers.footerclock.document.close();
}
else
if (document.all)
footerclock.innerHTML = dispTime;
setTimeout("clock()", 1000);
}
