//Date Script By Gawain Davies Copyright (C) 2001-2003 this script may not be used without consent of Gawain Davies
//and Walter Lloyd & Son

var thedate = new Date();
var weekday = thedate.getDay();     // day 0 - 6
var themonth = thedate.getMonth(); // month 0 - 11
var theday = thedate.getDate();      // day of month 1 - 31
var theyear = thedate.getYear();     // year 98
var daytxt,monthtxt; 
function show5(){
if (!document.layers&&!document.all)
return
var Digital=new Date()
var hours=Digital.getHours()
var minutes=Digital.getMinutes()
var seconds=Digital.getSeconds()
var dn="AM" 
if (hours>=12){
dn="PM"
hours=hours-12
}
if (hours==0)
hours=12
if (minutes<=9)
minutes="0"+minutes
if (seconds<=9)
seconds="0"+seconds
myclock="<font face = 'Arial, Helvetica, sans-serif' size= 1 color='#333333' >"+hours+":"+minutes+":"
 +seconds+" "+dn+"</font>"
if (document.layers){
document.layers.liveclock.document.write(myclock)
document.layers.liveclock.document.close()
}
else if (document.all)
liveclock.innerHTML=myclock
setTimeout("show5()",1000)
 }
if ( weekday == 0 )
daytxt = "Sunday";
if ( weekday == 1 )
daytxt = "Monday";
if ( weekday == 2 )
daytxt = "Tuesday";
if ( weekday == 3 )
daytxt = "Wednesday";
if ( weekday == 4 )
daytxt = "Thursday";
if ( weekday == 5 )
daytxt = "Friday";
if ( weekday == 6 )
daytxt = "Saturday";
if (themonth == 0)

monthtxt = "January";
if (themonth == 1)
monthtxt = "February";
if (themonth == 2)
monthtxt = "March";
if (themonth == 3)
monthtxt = "April";
if (themonth == 4)
monthtxt = "May";
if (themonth == 5)
monthtxt = "June";
if (themonth == 6)
monthtxt = "July";
if (themonth == 7)
monthtxt = "August";
if (themonth == 8)
monthtxt = "September";
if (themonth == 9)
monthtxt = "October";
if (themonth == 10)
monthtxt = "November";
if (themonth == 11)
monthtxt = "December";
window.document.writeln('<table><tr><td>');
window.document.writeln('<Font face = "Arial, Helvetica, sans-serif" size = 1 color="#333333">');
window.document.writeln(daytxt + ", " + monthtxt + " " + theday + ", " + theyear);
window.document.writeln('</font></td>');
window.document.writeln('<td id="liveclock"></td></tr></table>');
