function afficheImage(chemin, titre)
{
  html = '<html><head>\n';
  html = html + '<title>' + titre + '</title>\n';
  html = html + '</head>\n';
  html = html + '<body onBlur="top.close()">\n';
  html = html + '<img src="' + chemin + '" name=afficheImage onLoad="window.resizeTo(800,600)" />\n';
  html = html + '</body></html>\n';
  popupImage = window.open('','_blank','statusBar=0, toolbar=0, location=0, directories=0, menuBar=0, scrollbars=1, resizable=1');
  popupImage.document.open();
  popupImage.document.write(html);
  popupImage.document.close()
}
