/*
Upper Left Corner Live Clock Script- 
© Dynamic Drive (www.dynamicdrive.com)
For full source code, installation instructions,
100's more DHTML scripts, and Terms Of
Use, visit dynamicdrive.com
*/

/*
Date Function for this clock
i.e. day,date,month,year
written by mikki5 with some help
from sejerygar
*/

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 todayday = Digital.getDay();
var todaydate=Digital.getDate()
var todaymonth=Digital.getMonth()
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;
if (todayday == 0) todayday = "Sun";
if (todayday == 1) todayday = "Mon";
if (todayday == 2) todayday = "Tue";
if (todayday == 3) todayday = "Wed";
if (todayday == 4) todayday = "Thu";
if (todayday == 5) todayday = "Fri";
if (todayday == 6) todayday = "Sat";
if (todaymonth == 0) todaymonth = "Jan";
if (todaymonth == 1) todaymonth = "Feb";
if (todaymonth == 2) todaymonth = "Mar";
if (todaymonth == 3) todaymonth = "Apr";
if (todaymonth == 4) todaymonth = "May";
if (todaymonth == 5) todaymonth = "Jun";
if (todaymonth == 6) todaymonth = "Jul";
if (todaymonth == 7) todaymonth = "Aug";
if (todaymonth == 8) todaymonth = "Sep";
if (todaymonth == 9) todaymonth = "Oct";
if (todaymonth == 10) todaymonth = "Nov";
if (todaymonth == 11) todaymonth = "Dec";





//change font size here to your desire
myclock="<table BORDER=0 CELLSPACING=0 CELLPADDING=0 COLS=1 WIDTH='600'><tr><td align='right'><font size='1' face='Arial' color='white' ><b>"+todayday+", "+todaydate+" "+todaymonth+"&nbsp;"+hours+":"+minutes+":" +seconds+"</b></font></td></tr></table>"
if (document.layers){
document.layers.liveclock.document.write(myclock)
document.layers.liveclock.document.close()
}
else if (document.all)
liveclock.innerHTML=myclock
setTimeout("show5()",1000)
}

//-->
