    function ApriImmagini(file)
    {
      var prop = "top=100, left=100"; // Altre proprietà... eccetto width ed height!
      window.open(file, null, prop);
    }

function  campiobbligatori(){ 
var f = document.sampleform; 
if(f.nome.value == ""){ 
alert("Il campo \"nome\" non \è stato compilato") 
f.nome.focus(); 
return false; 
} 
if(f.cognome.value == ""){ 
alert("Il campo \"cognome\" non \è stato compilato") 
f.cognome.focus(); 
return false; 
}
if(f.email.value == ""){ 
alert("Il campo \"email\" non \è stato compilato") 
f.email.focus(); 
return false; 
} 
if(f.telefono.value == ""){ 
alert("Il campo \"telefono\" non \è stato compilato") 
f.telefono.focus(); 
return false; 
}
if(f.cellulare.value == ""){ 
alert("Il campo \"cellulare\" non \è stato compilato") 
f.cellulare.focus(); 
return false; 
} 
return true; 
} 

   function PopupPic(sPicURL) { 
     window.open( "http://www.elbalastminute.net/immagini.htm?"+sPicURL, "",  
     "resizable=1,HEIGHT=200,WIDTH=200"); 
   } 

function offerte_last_minute(str) {
searchWin = window.open(str,'offerte_last_minute','scrollbars=yes,resizable=yes,width=761,height=425,status=no,location=no,toolbar=no');
searchWin.focus();
//searchWin.refer = self;
}

function campoobbligatorio(){ 
  if(document.mailinglist.email.value == "") {
    alert('Attenzione: Il campo deve essere riempito'); 
    return false;
  }
} 