// scripts Michel Troyanowsky micheltroya.fr photo-strasbourg.com  photospros.fr
// rév 2006-06-29

function openCouche(nomCouche)
{
	var couche = null;
	if (document.getElementById)
	{
		couche = document.getElementById(nomCouche);
	}
	else if (document.all)
	{
		couche = document.all[nomCouche];
	}
	else if (document.layers)
	{
		couche = document.layers[nomCouche];
	}
	if (couche != null)
	{
		var styleDisplay = couche.style.display;
		if (styleDisplay == "none")
			styleDisplay = "block";
		else
			styleDisplay = "none";
		couche.style.display = styleDisplay;
	}
}
function openMultiCouche(chaineMulti)
{
	var tabMulti = chaineMulti.split(";");
	for (i = 0;i<tabMulti.length;i++)
	{
		var couche = tabMulti[i];
		if (couche != "0" && couche != "")
			openCouche('folder'+couche);
	}
}
