function show(id)
{
	var show = document.getElementById(id).style ;
	show.display = show.display == 'inline' ? "none" : "inline" ;
}

function toutCacher()
{
	//alert(\"taille : \"+taille);
	for(var i=0; i < taille; i++)
	{
		var idSelec = "elem"+i;
		//alert('on cache : '+idSelec);
					
		document.getElementById(idSelec).className = 'hide';
	}
}
			
function afficher(id)
{
	toutCacher();
	document.getElementById(id).className = 'show';
}
