// JavaScript Document
function zoom(nomImg)
 {
  i1 = new Image;
  i1.src = nomImg;
  html = '<HTML><HEAD><TITLE>Zoom</TITLE></HEAD><BODY LEFTMARGIN=0 MARGINWIDTH=0 TOPMARGIN=0 MARGINHEIGHT=0><CENTER><a href="javascript:window.close();"><IMG SRC="'+nomImg+'" BORDER=0 NAME=imageTest ALT="cliquez pour fermer" onLoad="window.resizeTo(document.imageTest.width+8,document.imageTest.height+60)"></a></CENTER></BODY></HTML>';
  popupImage = window.open('','_blank','toolbar=0,location=0,directories=0,menuBar=0,scrollbars=0,resizable=1,top=10,left=10');
  popupImage.document.open();
  popupImage.document.write(html);
  popupImage.document.close();
}

// When the page loads:
window.onload = function(){
if (document.getElementsByTagName) {
// Get all the tags of type object in the page.
var objs = document.getElementsByTagName("object");
for (i=0; i<objs.length; i++) {
// Get the HTML content of each object tag
// and replace it with itself.
objs[i].outerHTML = objs[i].outerHTML;
}
}
}
// When the page unloads:
window.onunload = function() {
if (document.getElementsByTagName) {
//Get all the tags of type object in the page.
var objs = document.getElementsByTagName("object");
for (i=0; i<objs.length; i++) {
// Clear out the HTML content of each object tag
// to prevent an IE memory leak issue.
objs[i].outerHTML = "";
}
}
}