// *******************************************************
// 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(){popup(this.href); return false;};
			}
		}
	}
	function popup(o)
	{
	window.open(o, 'Zoom', 'height=500, width=600, top=100, left=100, toolbar=no, menubar=yes, location=no, resizable=yes, scrollbars=yes, status=no');
	}

// *******************************************************
// Chargement du script du script panneau défilant
	StkFunc(Scroll);
	function Scroll() {
	initScroll("blocktoscroll", 2, 100, "bt", true);
	}

// *******************************************************
// Chargement du script png transparent
	if (typeof(ph)!='undefined') {
		StkFunc(Png);
		function Png() {	ph.hackClass();	};
 }

