var ns4 = (document.layers)? true:false;var ie4 = (document.all)? true:false ;var nav5 = (document.getElementById) ? true:false;if (nav5) {ie4=0; ns4=0}			function complete2(nombre) {	// met un "0" devant un nombre s'il est < 10	return (nombre < 10) ? "0" + nombre : nombre;}Date.prototype.afficherDate = function() {   // affiche la date   return complete2(this.getDate()) + "/" + complete2(this.getMonth() + 1) + "/" + this.getFullYear();}Date.prototype.afficherHeure = function() {   // affiche l'heure   return complete2(this.getHours()) + ":" + complete2(this.getMinutes()) + ":" + complete2(this.getSeconds());}Date.prototype.afficheHeure = function() {	return this.afficherHeure();}Date.prototype.afficheDate = function() {	return this.afficherDate();}// CALCUL SIMPLE DE L'HEURE LOCALE EN FONCTION DU FUSEAU HORAIREfunction calculerHeureLocale(time) {	// calcule l'heure en fonction du fuseau horaire - retourne un objet Date	// TODO Récupérer l'heure du serveur			if (time == 'NOT') {		var heure = new Date();	} else {		time = parseInt(time);		var heure = new Date(time*1000);	}		//var heure = localHour; 	//heure.setTime(heure.getTime() + (heure.getTimezoneOffset() + 60) * 60 * 1000);	return heure;}function afficherMonHeure2(time) {	var heure = calculerHeureLocale(time);  	return heure.afficherHeure();}function showDate(time, appel, id) {	//if (nav5){document.getElementById(nav).style.display = 'block';}	//if (ie4){nav.style.display = 'block';}	//if (ns4){document.nav.display = 'block';}		document.getElementById(id).innerHTML = afficherMonHeure2(time);	//alert('ffff');		appel = parseInt(appel);	// incrémentation de appel	appel = appel + 1;	// temps unix + 1	if (time != 'NOT') {		time = parseInt(time);		time = time + 1;	}	// on rappelle la fonction après une seconde	setTimeout("showDate('" + time + "', '" + appel + "','"+ id + "')",1000);	}