function viewFoto(img){
  largh=500;
  altez=530;
  stringa="width="+largh+",height="+altez;
  finestra=window.open(img,"",stringa);
}