<!-- Script footer Partie 1
footerTitre = "bienvenue sur le site de la société HR Services";
footerCopyright = "© Copyright 2008 - HR Services - Tous droits réservés.<BR>Ce site est optimisé pour Internet Explorer avec une résolution de 800 x 600.<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;";

footerWait  = 50;

NS4 = IE4 = VERSION4 = 0;

function initArray() {
 for(i=0;i<initArray.arguments.length; i++)
  this[i] = initArray.arguments[i];
}

var Months= new initArray("Janvier","Fevrier","Mars","Avril","Mai","Juin","Juillet","Aout","Septembre","Octobre","Novembre","Decembre");
var Days  = new initArray("Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi","Dimanche");

function CalcHello () {
	var today = new Date();
	var hrs = today.getHours();
	var hello = "Bonjour";
	if (hrs > 18) hello = "Bonsoir";
	if (hrs <6 ) hello = "Bonne nuit";
	return (hello+", "+footerTitre);
}

function CalcDate () {
	var today = new Date();
	var mts = today.getMinutes();

	var mts = (mts < 10) ? "0"+mts : mts; 
        var compYear = (today.getYear()>99 && today.getYear()<1970) ? today.getYear()+1900 : today.getYear();
	return ("Nous sommes le "+Days[today.getDay()]+" "+today.getDate()+" "+Months[today.getMonth()]+" "+compYear+", il est "+today.getHours()+" h "+mts);
}

function CalcLastmod () {
	var day = new Date (document.lastModified);
	if (day == 0) return ("Derniere modification de cette page inconnue");
	var compYear = (day.getYear()<70) ? day.getYear()+2000 : day.getYear();
	if (compYear>99 && compYear<1970) compYear+=1900;
    	day = new Date(compYear,day.getMonth(),day.getDate());
	return ("Date de derniere modification du site: "+Days[day.getDay()]+" "+day.getDate()+" "+Months[day.getMonth()]+" "+compYear);
}

function footerInit () {
        if (VERSION4) {

		footerTXT = new Array;
		footerTXT[0] = CalcHello ();
		footerTXT[1] = CalcDate ();
		footerTXT[2] = CalcLastmod ();
		footerTXT[3] = footerCopyright;

		if (NS4) {
       			footerObj = document.footerN1;
			footerObj = footerObj.document.footerN2;
			footerObj = footerObj.document.footerN3;
		}
		if (IE4) footerObj = document.all.footerN3;

		footerCount = 0;
		footerChangeString (0);
		footerSynchro = -footerWait;
		footerTimer1 = setInterval("footerScroll()",50);
		footerTimer2 = setInterval("footerActualiser()",10000);
	}
}

function footerActualiser () {
        if (VERSION4) {

		footerTXT[0] = CalcHello ();
		footerTXT[1] = CalcDate ();
	}
}

// -->