<!--
var ie = (document.all);
var ns = (document.layers);
var dom = (document.getElementById && !document.all);

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function etat(id,a,b){
	if (ie)
		eval("document.all."+id+".style.visibility='"+a+"';");

	if (ns) {
		if (b=="hide" || b=="hidden") {
			eval("comptNS4_" + id + "=setTimeout(\"closeMenuNS4('" + id + "')\",250)");
		} else {
			document["Centre"].document[id].visibility=b;
			eval("clearTimeout(comptNS4_"+ id +")");
		}
	}

	if (dom)
		eval("document.getElementById(id).style.visibility='"+a+"';");
}

function etatMainMenu(id, a, b) {
	if (ie)
		eval("document.all."+id+".style.visibility='"+a+"';");

	if (ns) {
		if (b=="show" || b=="visible") {
			eval("clearTimeout(comptNS4_"+ id +")");
			eval("openMenuNS4('" + id + "')");
		} else {
			eval("clearTimeout(comptNS4_"+ id +")");
			eval("comptNS4_" + id + "=setTimeout(\"closeMenuNS4('" + id + "')\",250)");
		}
	}

	if (dom)
		eval("document.getElementById(id).style.visibility='"+a+"';");
}

function closeMenuNS4(id) {
	if (ns) {
		document["Centre"].document[id].visibility='hide';
	}
}

function openMenuNS4(id) {
	if (ns) {
		document["Centre"].document[id].visibility='show';
	}
}
//-->