function startclock()
{
var thetime=new Date();

var nhours=thetime.getHours();
var nmins=thetime.getMinutes();
var nsecn=thetime.getSeconds();
var nday=thetime.getDay();
var nmonth=thetime.getMonth();
var ntoday=thetime.getDate();
var nyear=thetime.getYear();

if (nsecn<10)
 nsecn="0"+nsecn;

if (nmins<10)
 nmins="0"+nmins;

if (nday==0)
  nday="Dimanche";
if (nday==1)
  nday="Lundi";
if (nday==2)
  nday="Mardi";
if (nday==3)
  nday="Mercredi";
if (nday==4)
  nday="Jeudi";
if (nday==5)
  nday="Vendredi";
if (nday==6)
  nday="Samedi";

nmonth+=1;

if (nmonth==1)
  nmonth="Janvier";
if (nmonth==2)
  nmonth="Février";
if (nmonth==3)
  nmonth="Mars";
if (nmonth==4)
  nmonth="Avril";
if (nmonth==5)
  nmonth="Mai";
if (nmonth==6)
  nmonth="Juin";
if (nmonth==7)
  nmonth="Juillet";
if (nmonth==8)
  nmonth="Août";
if (nmonth==9)
  nmonth="Septembre";
if (nmonth==10)
  nmonth="Octobre";
if (nmonth==11)
  nmonth="Novembre";
if (nmonth==12)
  nmonth="Décembre";

if (nyear<=99)
  nyear= "19"+nyear;

if ((nyear>99) && (nyear<2000))
 nyear+=1900;

document.clockform.clockspot.value=" "+ntoday+" "+nmonth+" "+nyear+" | "+nhours+":"+nmins;

setTimeout('startclock()',1000);

} 
