/*
Insérer ce script entre les balises <Head> </Head>
*/

<!--Javascript issu de Script Masters-->
<!-- http://www.script-masters.com/--> 

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;
  win=window.open(img,"",proprietes);
}


<!-- Galerie.js -----------------------------------------------------------
//
//   Use this script to view full-size images from thumbnails.
//   The full-size images can be different sizes.
//   The pop-up window will change to the appropriate size.
//
//   This script and many more are available free online at
//   The JavaScript Source -> http://javascript.internet.com
// ------------------------------------------------------------------------
//
function VoirPhoto(img) {
  if (document.Photo.src != img) {
      ChargerPhoto(img);
      document.Photo.src=img;
      document.all("foto").style.top=0;
      document.all("foto").style.left=0;
      document.all("foto").style.position="absolute";
      document.all("foto").style.width=document.Photo.width;
      document.all("foto").style.height=document.Photo.height;
     }
  document.all("foto").style.visibility="visible";
}
function ChargerPhoto(img) {
  var Photo=new Image();
  Photo.width=0;
  Photo.height=0;
  Photo.src=img;
  ControlerPhoto(img);
}
function ControlerPhoto(img) {
  if ((Photo.width==0)||(Photo.height==0)) {
       Refresh="ControlerPhoto('"+img+"')";
       intervallo=setTimeout(Refresh,20);
      }
}
function StopPhoto() {
  document.all("foto").style.visibility="hidden";
}
// ---------------------------------------------------------------- End -->
