<!--

function Semaine(){
  this[0] = "Dimanche";  this[1] = "Lundi";
  this[2] = "Mardi";     this[3] = "Mercredi";
  this[4] = "Jeudi";     this[5] = "Vendredi";
  this[6] = "Samedi";
}

function Mois(){
  this[0] = "janvier";    this[1] = "février";
  this[2] = "mars";       this[3] = "avril";
  this[4] = "mai";        this[5] = "juin";
  this[6] = "juillet";    this[7] = "août";
  this[8] = "septembre";  this[9] = "octobre";
  this[10] = "novembre";  this[11] = "décembre";
}
function heure(){

var mydate=new Date() ;
var semaine=new Semaine(); // Tableau des noms des jours
var mois=new Mois();        // Tableau des noms des mois
var year=mydate.getYear() ;
var daym=mydate.getDate() ;
var hours=mydate.getHours() ;
var minutes=mydate.getMinutes() ;
var seconds=mydate.getSeconds() ;

if (minutes<=9)
minutes="0"+minutes
if (seconds<=9)
seconds="0"+seconds //lwf

myclock="<small><font color='000000' face='Times New Roman' SIZE='2pt'><b><u>"+semaine[mydate.getDay()]+" "+daym+" "+mois[mydate.getMonth()]+" "+year+" - "+hours+"h"+minutes+"</u></b></font></small>" ;

if(document.all)
   document.all.clock.innerHTML = myclock ;
 else if(document.layers)
  {
   myclock="<small><font color='000000' face='Times New Roman' SIZE='4pt'><b><u>"+semaine[mydate.getDay()]+" "+daym+" "+mois[mydate.getMonth()]+" "+2002+"</u></b></font></small>" ;
   document.heurenetscape.document.open();
   document.heurenetscape.document.write(myclock);
   document.heurenetscape.document.close();
  }
 else if (document.getElementById) {
 document.getElementById("clock").innerHTML=myclock ;
  }

 window.setTimeout("heure()",1000);

}

//-->


