var pong;

function makeArray(n){
  this.length = n;
  for (i=1;i<=n;i++){
    this[i]=0;
  }
  return this;
}

// standard date display function with y2k compatibility

function displayDate() {
  var this_month = new makeArray(12);
    this_month[0]  = "Janvier";
    this_month[1]  = "Fevrier";
    this_month[2]  = "Mars";
    this_month[3]  = "Avril";
    this_month[4]  = "Mai";
    this_month[5]  = "Juin";
    this_month[6]  = "Juillet";
    this_month[7]  = "Aôut";
    this_month[8]  = "Septembre";
    this_month[9]  = "Octobre";
    this_month[10] = "Novembre";
    this_month[11] = "Décembre";
  var today = new Date();
  var day   = today.getDate();
  var month = today.getMonth();
  var year  = today.getYear();
  var dName = today.getDay() + 1;


if(dName==1) Day = "Dimanche";
if(dName==2) Day = "Lundi";
if(dName==3) Day = "Mardi";
if(dName==4) Day = "Mercredi";
if(dName==5) Day = "Jeudi";
if(dName==6) Day = "Vendredi";
if(dName==7) Day = "Saturday";


  if (year < 101){
    year += 1900;
  }
  else{
    year += 0;
  }
  return(Day + ' ' + day + ' ' + this_month[month]);
}
