<!--
dayName = new Array ("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday")
dayEnd  = new Array ("th","st","nd","rd","th","th","th","th","th","th","th")
monName = new Array ("January","February","March","April","May","June","July","August","September","October","November","December")
now = new Date()
nowDate = now.getDate()
nowHours = now.getHours()

if (nowHours > 17) gDay = "Good Evening"
else {
 if (nowHours > 11) gDay = "Good Afternoon"
 else {
  if (nowHours> 4) gDay = "Good Morning"
  else {gDay = "Good Morning - Night Owl"}
 }
}

if (nowDate > 30) lastDigit = nowDate - 30
else {
 if (nowDate > 20) lastDigit = nowDate - 20
 else {
   if (nowDate > 10) lastDigit = 9
   else lastDigit = nowDate
 }
}
nowMins = now.getMinutes()
if (nowMins < 10) nowMins = "0"+nowMins

nowYr = now.getYear()
if (nowYr < 2000) nowYr=nowYr+1900
document.write("<div class='stdcen bold'>"+gDay+", its "+nowHours+":"+nowMins+" on "+dayName[now.getDay()]+"<br>the "+nowDate+dayEnd[lastDigit]+" of "+monName[now.getMonth()]+" "+nowYr+".</div>")

//-->