function image(img,titre,largeur,hauteur) {
	var top=(screen.height-hauteur)/2;
    var left=(screen.width-largeur)/2;
	w=open("",'image','top="+top+",left="+left+,height="+height+",width="+width+",width=100,height=100,toolbar=no,scrollbars=no,resizable=yes');	
	w.document.write("<HTML><HEAD><TITLE>"+titre+"</TITLE></HEAD>");
	w.document.write("<SCRIPT language=javascript>function checksize()  { if (document.images[0].complete) {  window.resizeTo(document.images[0].width+12,document.images[0].height+30); window.focus();} else { setTimeout('check()',250) } }</"+"SCRIPT>");
	w.document.write("<BODY onload='checksize()' leftMargin=0 topMargin=0 marginwidth=0 marginheight=0><IMG src='"+img+"' border=0>");
	w.document.write("");
	w.document.write("</BODY></HTML>");
	w.document.close();
}

function popup(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

window.onload=montre;
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 ligne_over(id_tableau){
	document.getElementById(id_tableau).style.backgroundColor = "#232323";
	}
function ligne_out(id_tableau){
	document.getElementById(id_tableau).style.backgroundColor = "";
	}