var id,lala;

function appear(id)
{
	disappear();
	if(id.lastIndexOf("x", id.length)!=-1){
	//alert(id);
		//substring(0,id.lastIndexOf("-", id.length));
		//alert(id.lastIndexOf("-", id.length));
		document.getElementById(id.substring(0,id.lastIndexOf("x", id.length))).style.display="block";
	}
	//s'il y a un "x" dans l'ID, on affiche l'ID mais aussi l'ID qui est splitée avant le tiret.
	document.getElementById(id).style.display="block";

}

function disappear(id2)
{
	if(id2){document.getElementById(id2).style.display="none";}
	else{
		if(document.getElementById("flottant1"))document.getElementById("flottant1").style.display="none";
		if(document.getElementById("flottant2"))document.getElementById("flottant2").style.display="none";
		if(document.getElementById("flottant3"))document.getElementById("flottant3").style.display="none";
		if(document.getElementById("flottant4"))document.getElementById("flottant3").style.display="none";
		if(document.getElementById("flottant5"))document.getElementById("flottant3").style.display="none";
	}
}
