


<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->


function ImageThumbnail1(img, CAPTION){
  foto1= new Image();
  foto1.src=(img);
  Controlla(img,CAPTION);
}
function ImageThumbnail(img, CAPTION,_TIMEOUT, WIDTH, HEIGHT){
  foto1= new Image();
  foto1.src=(img);
  Controlla(img,CAPTION);
}

function Controlla(img,CAPTION){
  if((foto1.width!=0)&&(foto1.height!=0)){
    viewFoto(img,CAPTION);
  }
  else{
    funzione="Controlla('"+img+"')";
    intervallo=setTimeout(funzione,20);
  }
}
function viewFoto(img,CAPTION){
  WIDTH=foto1.width + 9 ;
  HEIGHT=foto1.height + 29
  links = (screen.width - WIDTH)/2;
  oben  = (screen.height - HEIGHT)/2;
  URL = img;

  
windowprops = "width=" + WIDTH + ", height=" + HEIGHT + ",srolling=0,scrollbars=no,resize=0,toolbar=0,locationbar=0,left=" + links + ",top=" + oben;
text = "<html><head><title>" + CAPTION + "</title></head><body bgcolor='white' topmargin=0 leftmargin=0 marginwidth=0 marginheight=0 ";
text += "><img src='" + URL + "' name='myimage1' >";
text += "</center></body></html>";

preview = window.open("", "Info", windowprops);
preview.moveTo(links,oben);
preview.resizeTo(WIDTH,HEIGHT);
preview.document.open();
//preview.document.write(windowprops);
preview.document.write(text);

preview.focus();  
  
  
}

