// FONCTIONS RECURRENTES // MIROBOLUS 2008 //



function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

// AFFICHAGE DES DATES
date=new Date();
function mois() {
argnr = mois.arguments.length
for (var i = 0; i < argnr; i++)
this[i+1] = mois.arguments[i]
}
var isnMonths= new mois("JANVIER","FEVRIER","MARS","AVRIL","MAI","JUIN","JUILLET",
"AOUT","SEPTEMBRE","OCTOBRE","NOVEMBRE","DECEMBRE");
var jours= new Array("Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi",
"Samedi");
var intYear = date.getYear() + ( (date.getYear() < 1900) ?
1900 : 0 ) ;

function affichDateDroits(){
document.write (isnMonths[date.getMonth() + 1] + '&nbsp;' + intYear);};

function affichDate(){
document.write (jours[date.getDay()] +" "+ date.getDate() +" "+ isnMonths[date.getMonth() + 1]);
};
