	//initie les variables du menu	
	var compt="", temps=800, dca="*"
	//MENUS
	//montre le calque
	function af(ca)
	{
	if (compt != ""){clearTimeout(compt)};
	if (document.getElementById('SSMENU'+dca)&&dca!="*"){document.getElementById('SSMENU'+dca).style.visibility="hidden"};
	if (document.getElementById('SSMENU'+ca)){document.getElementById('SSMENU'+ca).style.visibility="visible"};
	dca=ca
	}
	//cache le calque
	function fa(ca)
	{
	compt=setTimeout("document.getElementById('SSMENU"+ca+"').style.visibility='hidden';",temps)
	}
	//montre le calque sans timeout
	function afsanstimeout(ca)
	{
	if (document.getElementById('SSMENU'+dca)&&dca!="*"){document.getElementById('SSMENU'+dca).style.visibility="hidden"};
	if (document.getElementById('SSMENU'+ca)){document.getElementById('SSMENU'+ca).style.visibility="visible"};
	dca=ca
	}

	function validRecherche() {	
		if(document.getElementById('formgamme').gamme.options[document.getElementById('formgamme').gamme.selectedIndex].value != "-1") {
			window.location = document.getElementById('formgamme').gamme.options[document.getElementById('formgamme').gamme.selectedIndex].value;
		} else if (document.getElementById('formutilisation').utilisation.options[document.getElementById('formutilisation').utilisation.selectedIndex].value != "-1") {
			window.location = document.getElementById('formutilisation').utilisation.options[document.getElementById('formutilisation').utilisation.selectedIndex].value;
		}
	}
	
	function PopupImage(img) { 
		
		titre="Agrandissement"; 
		var top=30;
		var left=30;
		if (navigator.appName=="Netscape") 
		{
			w=open("",'image','top='+top+',left='+left+',width=500,height=500,toolbar=0,scrollbars=0,resizable=1'); 
		}
		else
		{
			w=open("",'image','top='+top+',left='+left+',width=400,height=400,toolbar=no,scrollbars=no,resizable=yes'); 
		}
		w.document.write("<HTML><HEAD><TITLE>"+titre+"</TITLE></HEAD>"); 
		
		if (navigator.appName=="Netscape") 
		{
			w.document.write("<SCRIPT language=javascript>function checksize() { if (document.images[0].complete) { window.resizeTo(document.images[0].width+10,document.images[0].height+50); window.focus();} else { setTimeout('checksize()',250) } }</"+"SCRIPT>"); 
			w.document.write("<BODY onload='checksize()' leftMargin=0 topMargin=0 marginwidth=0 marginheight=0>"); 
		}
		else 
		{
			w.document.write("<SCRIPT language=javascript>function checksize() { if (document.images[0].complete) { window.resizeTo(document.images[0].width+10,document.images[0].height+30); window.focus();} else { setTimeout('checksize()',250) } }</"+"SCRIPT>"); 
			w.document.write("<BODY onload='checksize()' leftMargin=0 topMargin=0 marginwidth=0 marginheight=0>"); 
		}
		w.document.write("<TABLE width='100%' border='0' cellspacing='0' cellpadding='0' height='100%'><TR>"); 
		w.document.write("<TD><IMG src='"+img+"' border=0 alt='' style='display:block'>"); 
		w.document.write("</TD></TR></TABLE>"); 
		w.document.write("</BODY></HTML>"); 
		w.document.close(); 
		} 
