/* AUTEUR: Claude Paulet */
/* Date de création: 03/10/2001 */
// ----------------------------------------------------
// Message au quitté de l'application				 //
// ----------------------------------------------------
// JavaScript pris sur le site: http://www.scripts-france.net -->
    locnm = location.href;
    pos = locnm.indexOf("bandeau_titre.html");
    locnm1 = locnm.substring(0,pos);
function au_revoir() {
	//page_accueil_aff = 0;
	fenprops = "top=50,left=10,width=470,height=330,scrollbars=no,toolbar=0,status=0";
	fenetre1 = window.open('au_revoir.html','Au_revoir',fenprops);
}

function MakeArray(n) {
this.length = n;
return this;
}
function FormatDate(ltime) {
var lm = ltime.getMinutes();
nomJour = new MakeArray(7);
nomJour[1] = "Dimanche" ; nomJour[2] = "Lundi" ; nomJour[3] = "Mardi"; nomJour[4] = "Mercredi";
nomJour[5] = "Jeudi" ; nomJour[6] = "Vendredi" ; nomJour[7] = "Samedi";
nomMois = new MakeArray(12);
nomMois[1] = "Janvier" ; nomMois[2] = "Fév." ; nomMois[3] = "Mars" ; nomMois[4] = "Avril";
nomMois[5] = "Mai" ; nomMois[6] = "Juin" ; nomMois[7] = "Juil." ; nomMois[8] = "Août";
nomMois[9] = "Sept." ; nomMois[10] = "Oct." ; nomMois[11] = "Nov." ; nomMois[12] ="Déc.";
// ---------------------------------------------------
// Affichage complet avec nom du jour et heure.
//var ltext = nomJour[ltime.getDay()+1]+" "+ltime.getDate()+" "+nomMois[ltime.getMonth()+1]+" "+ltime.getYear()+" à "+ltime.getHours()+"h";
//ltext += ((lm < 10) ? "0" : "")+lm;
// ---------------------------------------------------
// Affichage partiel (sans nom du jour et sans heure).
var ltext = +ltime.getDate()+" "+nomMois[ltime.getMonth()+1]+" "+ltime.getYear();
//ltext += ((lm < 10) ? "0" : "");
return ltext;
}
// ----------------------------------------------------
// Affichage "Fenêtre Info"  						 //
// ----------------------------------------------------
function fen_info(element,larg,haut,scrollbars) {
	// format : nom d'appel|fichier à afficher|titre fenêtre (sans espace)|' 
	elinfo = new Array(5);
	// Depuis "les groupes d'échanges".
	elinfo[0]= '|||';
	// Depuis le "bandeau titre".
	elinfo[1]= 'affichage|conditions_d_affichage.html|Affichage|';
	elinfo[2]= 'navigateurs|navigateurs_compatibles.html|Navigateurs_compatibles|';
	elinfo[3]= 'autorisation|autorisation_jlrx.html|Autorisation_JLRx|';
	elinfo[4]= 'note|note_importante.html|Note_importante|';
	
	var nb_elinfos = elinfo.length;
	fenprops = "top=50,left=10,width="+larg+",height="+haut+",scrollbars="+scrollbars+",toolbar=0,status=0";
	for (var i=0; i<nb_elinfos; i++) {
	    part_elinfo = elinfo[i].split("|");	
	    if ( element == part_elinfo[0] ) {
		    fenetre2 = window.open(part_elinfo[1],part_elinfo[2],fenprops);
	    }
	}
}
// ----------------------------------------------------
// Fermer la fenêtre ouverte   						 //
// ----------------------------------------------------
function ferme_fenetre() {
	window.close();
}

// ----------------------------------------------------
