function montre(id)
{
	var d = document.getElementById(id);
	for(var i = 1; i<=10; i++)
	{
		if (document.getElementById('smenu'+i)) {document.getElementById('smenu'+i).style.display='none';}
	}
	if (d) {d.style.display='block';}
}
function MM_openBrWindow(theURL,winName,features)
{ //v2.0
	window.open(theURL,winName,features);
}
window.onload=montre;

function popupImage(img,titre) { 
w = window.open('','image','status=no, titlebar=no, menubar=no, scrollbars=no, toolbar=no, location=no, directories=no, resizable=no, width=300, height=300'); 
w.document.write("<html><head><title>"+titre+"</title></head>"); 
w.document.write("<script type='text/javascript'>function checksize(){ if (document.images[0].complete) { window.resizeTo(document.images[0].width+10,document.images[0].height+75); window.focus();} else { setTimeout('checksize()',250) } }</"+"script>"); 
w.document.write("<body onload='checksize()' onblur='window.close()'onclick='window.close()' leftMargin='0' topMargin='0'  style='background: white'");
w.document.write("<div align='center'><img src='"+img+"' alt='"+titre+"' /><br />");
//w.document.write("<strong>Cliquez dans la fenêtre pour la fermer</strong>");
w.document.write("</div></body></html>");
w.document.close();
}

