// JavaScript Document pour AGIR
// Auteur Carine LAVAL
// Date 20/05/2005 09:44

var d, i, nbRubTot = 4;

function montreQue(nomCel) 
{
	for (i = 1; i<=nbRubTot; i++) {
		cache('smenu'+i);
		cache('soumenu'+i);
	}
	
	args=montreQue.arguments;
	if(args.length>1)
		for (i=0;i<args.length;i++)
			montre(args[i]);
	else if(args.length>0)
		montre(nomCel);
}

function montre(id) {
	d = document.getElementById(id);
	if (d) d.style.display='block';
}

function cache(id) {
	d = document.getElementById(id);
	if (d) d.style.display='none';
}