
<!--


DaysofWeek = new Array()
  DaysofWeek[0]="Sun"
  DaysofWeek[1]="Mon"
  DaysofWeek[2]="Tue"
  DaysofWeek[3]="Wed"
  DaysofWeek[4]="Thur"
  DaysofWeek[5]="Fri"
  DaysofWeek[6]="Sat"

Months = new Array()
  Months[0]="Jan"
  Months[1]="Feb"
  Months[2]="Mar"
  Months[3]="April"
  Months[4]="May"
  Months[5]="Jun"
  Months[6]="Jul"
  Months[7]="Aug"
  Months[8]="Sept"
  Months[9]="Oct"
  Months[10]="Nov"
  Months[11]="Dec"

function date(){
var dte = new Date();
var hrs = dte.getHours();
var min = dte.getMinutes();
var sec = dte.getSeconds();
var day = DaysofWeek[dte.getDay()]
var date = dte.getDate()
var month = Months[dte.getMonth()]
var year = dte.getFullYear()

var col = ":";
var sp="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
var spc = " ";
var hithen = "-";
var apm;

if (date == 1 || date == 21 || date == 31)
  {which = "<sup>st</sup>"}
else
if (date == 2 || date == 22)
  {
which = "<sup>nd</sup>"
}
else
if (date == 3 || date == 23)
  {which = "<sup>rd</sup>"}

else
  {
which = "<sup>th</sup>"
}

if (12 < hrs) {
aftorMon="pm";
hrs-=12;
}

else {
aftorMon="am";
}

if (hrs == 0) hrs=12;
if (hrs<=9) hrs=""+hrs;
if (min<=9) min="0"+min;
if (sec<=9) sec="0"+sec;

if(document.layers){
document.layers['clock'].innerHTML =  hrs+col+min+col+sec+spc+aftorMon+sp+day+spc+hithen+spc+date+which+spc+month+spc+hithen+spc+year;
}
else if(document.all){
document.all['clock'].innerHTML =hrs+col+min+col+sec+spc+aftorMon+sp+day+spc+hithen+spc+date+which+spc+month+spc+hithen+spc+year;
}
else if (document.getElementById){
document.getElementById('clock').innerHTML = hrs+col+min+col+sec+spc+aftorMon+sp+day+spc+hithen+spc+date+which+spc+month+spc+hithen+spc+year;
}

}

setInterval("date()",1000);






//-->
