


<!-- Begin
function clock() {
var the_showall;
the_showall = displayday() + " " + displaymonth() + " " + displaydate() +  ", " + displayyear();

if (!document.layers && !document.all) return;
var digital = new Date();
var hours = digital.getHours();
var minutes = digital.getMinutes();
var seconds = digital.getSeconds();
var amOrPm = "AM";
if (hours > 11) amOrPm = "PM";
if (hours > 12) hours = hours - 12;
if (hours == 0) hours = 12;
if (minutes <= 9) minutes = "0" + minutes;
if (seconds <= 9) seconds = "0" + seconds;
dispTime = hours + ":" + minutes + ":" + seconds + "&nbsp;" + amOrPm;
if (document.layers) {
document.layers.pendule.document.write("<font color=lightyellow size=2>" + the_showall + "&nbsp;" + dispTime + "</font>" );
document.layers.pendule.document.close();
}
else
if (document.all)
pendule.innerHTML =  the_showall + "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;" + dispTime; 
setTimeout("clock()", 1000);
}
//  End -->

function displayyear(){
 year = new Date();
 return  year.getFullYear();
}

function displaymonth(){
 var n;
 month1 = new Date();
 n = month1.getMonth();
 var the_month = new Array(12);
 the_month[0]="January";
 the_month[1]="February";
 the_month[2]="March";
 the_month[3]="April";
 the_month[4]="May";
 the_month[5]="June";
 the_month[6]="July";
 the_month[7]="August";
 the_month[8]="September";
 the_month[9]="October";
 the_month[10]="November";
 the_month[11]="December";   
 return the_month[n];
}

function displaydate(){
 date1 = new Date();
  return  date1.getDate(); 
}

function displayday(){
 var dayofweek=0;
 var ofweek;
 day1 = new Date();
 dayofweek = day1.getDay();
 switch (dayofweek)
 {
  case 1:
   ofweek = "Mon.";
   break;
  case 2:
   ofweek = "Tue.";
   break;
  case 3:
   ofweek = "Wed.";
   break;
  case 4: 
   ofweek = "Thur.";
   break;
  case 5:
   ofweek = "Fri.";
   break;
  case 6:
   ofweek = "Sat.";
   break;
  default: 
   ofweek = "Sun.";
 }
  return ofweek;
}

function showall(){
var the_showall;
the_showall = displayday() + "&nbsp;" + displaymonth() + "&nbsp;" + displaydate() +  ",&nbsp;" + displayyear();
document.write(the_showall);
} 

