
function ShowImage (ImageHtml, orient) {
  if (orient == 1)
    opts = "status=0,scrollbars=1,resizable=1,width=885,height=550";
  else
    opts = "status=0,scrollbars=1,resizable=1,width=610,height=900";
  newin = window.open (ImageHtml, "Affichage", opts);
  if (navigator.appName =="Netscape")
    newin.focus();
}


function MontrePhoto (img,comm) {
  w = window.open ("","photo","resizable=1,scrollbars=auto,status=0,toolbar=0,menubar=0,location=0,directories=0,width=1060,height=800");
  w.document.write ("<html>\n<head>\n<title>"+comm+"</title></head>\n");

  w.document.write ("<style type=\"text/css\">\n");
  w.document.write ("body { background-color: #6699CC; color: #FFFFFF; text-align: center; font-size: 120%; font-family: \"trebuchet ms\",arial,sans; font-weight: bold; }\n");
  w.document.write ("a { color: #FFFFFF; }\na:visited { color: #FFFFFF; }\n");
  w.document.write ("div.petit { font-size: 60%; font-weight: normal; }\n</style>\n");

  w.document.write ("<body bgcolor=\"#6699CC\" text=\"#FFFFFF\" alink=\"#FFFFFF\" vlink=\"#FFFFFF\">\n");
  w.document.write ("<b>"+comm+"</b><br />\n");
  w.document.write ("<div class=\"petit\">(Cliquer sur l'image pour fermer)</div>\n");
  w.document.write ("<center><a href=\"javascript:window.opener.focus();window.close();\"><img src=\""+img+"\" alt=\""+comm+"\" border=5 /></a></center><br />\n");
  w.document.write ("</body>\n</html>\n");
  w.document.close();
  w.focus();
}
