	//-****** Auchargement de la page ******
	function quandcharge(frm) {
		if (window.location.search.indexOf("fch=y") != -1) //--- resultat de recherche
			window.focus();
		if (mavert != "")
			alert(mavert);
		if (mdirig != "")
			window.location.href=mdirig;

/*		var timg=new Array();	//--- précharger les images du menu
		timg[0]=new Image; timg[0].src="mat/menufd.jpg";
		timg[1]=new Image; timg[1].src="mat/men1fd.jpg"; */

		if (typeof(chndefilgal)=="string") {
			tab = chndefilgal.split(",");
			for (k = tab.length, k--; k >= 0; k--)
				eval("chargerdgal"+tab[k]+"()");	//--- fonction dans la page ?
		}
 		if (window.name == window.parent.name && window.name != "fprinc" && frm) {
//--- alert("recadrer...");
 			window.name = "f"+Math.random();
 			window.location.href = "jazzstation.php?lang=fr&page="+window.location.pathname;
 		}
	}
	function obtenirLById(chn) {
		if (document.getElementById)
			return document.getElementById(chn);
		else if (document.all)
			return document.all[chn];
		else
			return null;
	}
	//-****** Info bulle ******
	function yBulle(evt, txt) {
		obj = obtenirLById("zibulle");
		if (! obj)
			return;
		if (! evt)
			evt = window.event;
		if (evt.pageX) {
			x = evt.pageX;
			y = evt.pageY + 12;
		}
		else {
			x = evt.clientX + (document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft);
			y = evt.clientY + 12 + (document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop);
		}
		obj.style.left = x + "px";
		obj.style.top = y + "px";

		navig = navigator.userAgent.toLowerCase();
		if (navig.indexOf("mac") != -1 && navig.indexOf("msie 5.2") != -1)
			obj.innerHTML = "";
		obj.innerHTML = txt;
		obj.style.display = "block";
	}
	function nBulle() {
		if (obj = obtenirLById("zibulle"))
			obj.style.display = "none";
	}
	//-****** Popup ******
	function ouvrpopup(url, dx, dy, px, py, param) {
		chn = "directories=0";
		if (dx) chn += ",width=" + dx;
		if (dy) chn += ",height=" + dy;
		if (px) chn += ",left=" + px;
		if (py) chn += ",top=" + py;
		chn += ",location=" + (param & 1 ? "1" : "0");
		chn += ",menubar=" + (param & 2 ? "1" : "0");
		chn += ",resizable=" + (param & 4 ? "1" : "0");
		chn += ",scrollbars=" + (param & 8 ? "1" : "0");
		chn += ",status=" + (param & 16 ? "1" : "0");
		chn += ",toolbar=" + (param & 32 ? "1" : "0");
		fen = window.open(url, "wpop", chn);
		fen.focus();
	}
	//-****** Montrer le conteneur ******
	function montrcont(k) {
		if (obj = obtenirLById("montr"+k))
			obj.style.display = obj.style.display == "block" ? "none" : "block";
	}
