<!--
//Supplied free by js.brimonet.com
//modified by Wes

var clockID = 0;

function UpdateClock() {
if(clockID) {
clearTimeout(clockID);
clockID = 0;
}

var tDate = new Date();
var weekdaysArray = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"];
var monthsArray = ["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];
var monthNum = tDate.getMonth();
var dayNum = tDate.getDay();
var day = weekdaysArray[dayNum];
var month = monthsArray[monthNum];
var date = tDate.getDate();
var hrs = tDate.getHours();

// formatting from 24hr to 12hr
if ((tDate.getHours())>12) 
{
var hrs = tDate.getHours()-12;
var ampm = "pm";
} else {
var ampm = "am";
}

if ((tDate.getHours()) == 0)
{
var hrs = "12";
}

if((tDate.getMinutes())<=9) {
document.theClock.theTime.value = ""
+ day + ", "
+ month + " "
+ date + " - "
+ hrs + ":0"
+ tDate.getMinutes()
+ ampm;
} else {
document.theClock.theTime.value = ""
+ day + ", "
+ month + " "
+ date + " - "
+ hrs + ":"
+ tDate.getMinutes()
+ ampm;
}

clockID = setTimeout("UpdateClock()", 1000);
}
function StartClock() {
clockID = setTimeout("UpdateClock()", 500);
}

function KillClock() {
if(clockID) {
clearTimeout(clockID);
clockID = 0;
}
}

//-->
