// *******************************************************
// Fonction de stockage des scripts à charger
	FuncOL = new Array();
	function StkFunc(Obj) {
	FuncOL[FuncOL.length] = Obj;
	}
// Execution des scripts au chargement de la page
	window.onload = function() {
	for(i=0; i<FuncOL.length; i++)
	{FuncOL[i]();}
	}


// *******************************************************
// Mets une fonction popup dans les liens de class popup
	StkFunc(findpopup);
	function findpopup()
	{
		var liens,i;
	// Loop through all input, and check if their classes contain the class text
		liens=document.getElementsByTagName('a');
		for(i=0;i<liens.length;i++)
		{
			if(liens[i].className=='popup')
			{
	// add the function popup in the a
				liens[i].onclick=function(){openRequestedPopup(this.href,'zoom'); return false;};
			}
		}
	}

// *******************************************************
// Ouvre un popu
	var WindowObjectReference = null; // variable globale

	function openRequestedPopup(strUrl, strWindowName) {
	    WindowObjectReference = window.open(strUrl, strWindowName,"height=400, width=400, top=100, left=100,resizable=yes, menubar=yes,scrollbars=yes,status=yes");
	    WindowObjectReference.focus();
	}