function AfficherImage(img){
  Image1= new Image();
  Image1.src=(img);
  Control(img);
}
function Control(img){
  if((Image1.width!=0)&&(Image1.height!=0)){
    VoirImage(img);
  }
  else{
    fonction="Control('"+img+"')";
    intervalle=setTimeout(fonction,20);
  }
}
function VoirImage(img){
  largeur=Image1.width+20;
  hauteur=Image1.height+20;
  proprietes="width="+ largeur +",height="+ hauteur+",top=80,left=80,scrollbar=yes";
  win=window.open(img,"",proprietes);
}


function ouvre(fichier) {
  ff=window.open(fichier,"popup","width=850,height=600,scrollbars=yes")
}

function ouvre2(fichier) {
  ff=window.open(fichier,"popup","width=800,height=550,scrollbars=yes")
}

