<!-- Begin
function PrevFoto(img){
  foto1= new Image();
  foto1.src=(img);
  Controlla(img);
}
function Controlla(img){
  if((foto1.width!=0)&&(foto1.height!=0)){
    viewFoto(img);
  }
  else{
    funzione="Controlla('"+img+"')";
    intervallo=setTimeout(funzione,20);
  }
}
function viewFoto(img){
  largh=foto1.width+20;
  altez=foto1.height+20;
  stringa="width="+largh+",height="+altez;
  finestra=window.open(img,"asdf",stringa);
}

function tipp(img){
	document.getElementById('output').innerHTML = '<img src=' + img + ' />';
	document.getElementById('output').style.top = window.e.pageY;//event.y;
	document.getElementById('output').style.left = window.e.pageX;//event.x;
	document.getElementById('output').style.display = 'block';
}
function tipdown () {
	document.getElementById('output').style.display = "none";
}
//  End -->

