// JavaScript Document

function zoom(fichier, largeur, hauteur)
{
  
  // initialisation de la variable recevant les options de fenêtre
  options = '';
    
  // pour centrage à l'écran de la fenêtre 
  posH = (screen.width-largeur)/2;
  posV = (screen.height-hauteur)/2;

  // options de la fenêtre
  options += "width="+largeur+",height="+hauteur+",top="+posV+",left="+posH;
 
  // ouverture de la fenêtre
  fen=window.open(fichier,"guichardan", options);
  fen.focus();
}
