// OUVRE FENETRE AVEC BONNE DIMENSION
function ouvreimage(img,titre) { 
	w=open("",'image','width=400,height=400,toolbar=no,scrollbars=no,resizable=no'); 
	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+30,document.images[0].height+70); window.focus();} else { setTimeout('checksize()',250) } }</"+"SCRIPT>"); 
	w.document.write("<META HTTP-EQUIV=\"imagetoolbar\" CONTENT=\"no\" />");
	w.document.write("<link rel=\"stylesheet\" type=\"text/css\" href=\"index.css\" />");
	w.document.write("<BODY onload='checksize()' onblur='window.close()' onclick='window.close()' leftMargin=0 topMargin=0 marginwidth=0 marginheight=0>");
	w.document.write("<TABLE width='100%' border='0' cellspacing='0' cellpadding='0' height='100%'>");
	w.document.write("<TR><TD valign='middle' align='left'><IMG src='"+img+"' border=0 alt="+titre+" class=\"img2\"></TD></TR>"); 
	w.document.write("<TR><TD align=\"center\" class=\"orange onze\">&nbsp;<img src=\"images/list2.gif\" width=\"9\" height=\"8\" />&nbsp;Cliquez pour fermer...</TD></TR></TABLE>");
	w.document.write("</BODY></HTML>"); 
	w.document.close(); 
} 

// DONNE L'HEURE
function time () {
	var dateTime = new Date();
	var jourNom = new Array ("dim.", "lun.", "mar.", "mer.", "jeu.", "ven.", "sam.");
	var jour = dateTime.getDay();
	var numJour = dateTime.getDate();
	document.write ("<span class='dateJour'>" + jourNom[jour] + "</span>" + "<span class='dateNum'>" + numJour + "</span>");
}
