// *******************************************************
// 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]();}
	}



// *******************************************************
// Affiche le plan d'acces
	StkFunc(findCarte);
	function findCarte()
	{
		if (testID('carte')) 
		{ 
				document.getElementById('carte').onclick = function(){document.getElementById('plan').style.display = 'block'; };
				document.getElementById('plan').onclick = function(){document.getElementById('plan').style.display = 'none'; };
		}
	}

// *******************************************************
// test un getElementById
function testID(id)
{
	var x = document.getElementById(id);
	if(x != null){   //if(!x == null && x.value != ""){
		//alert
		return true;
	}
	else{
		//alert
		return false;
	}
}

