// Affiche et masque les sous menus
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';}
}



var zappeuse;
			
			
function newimage(nomimage,w,h) {
	w = w+20;
	h = h+20;
	
	zappeuse = window.open(nomimage,"INFORMATIONS","resizable=yes,scrollbars=yes,width="+w+",height="+h+"");

}





// Limitation du nombre de caractères
function limite(zone,max) 
{ 
if(zone.value.length>=max){zone.value=zone.value.substring(0,max);} 
} 
