 <!--
 
 var aa=null; 
   var ww = 650;
   var hh = 500;
   var ll = Math.floor((screen.width-ww)/2);
   var tt = Math.floor((screen.height-hh)/2);
function window_popup(url) 
   { 
   aa=window.open(url,'aa',"scrollbars=yes,resizable=no,width=" + ww + ",height=" + hh + ",top=" + tt + ",left=" + ll) 
   aa.focus(); 
  } 


  
function inviaform(){
	window.open('','popupname','scrollbars=yes,width=650,height=450');
	document.getElementById('dati').submit();

}
  
  function ConfermaOperazione(dati) {

var email = document.dati.mail.value;
var email_reg_exp = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-]{2,})+\.)+([a-zA-Z0-9]{2,})+$/;

   if ( (dati.mail.value==""))
   {var msg=window.alert("Please, insert your email address.");
   dati.mail.select();
      return false; }

        else if (!email_reg_exp.test(email)) {
           alert("Please, check your email address.");
           dati.mail.select();
           return false; }

   else
   //var richiesta = window.confirm("Your email address will be added. Press OK to continue.");
      return richiesta;
  }
  
  
  
  
  function ConfermaFooter(dati_footer) {

var email = document.dati_footer.mail.value;
var email_reg_exp = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-]{2,})+\.)+([a-zA-Z0-9]{2,})+$/;

   if ( (dati_footer.mail.value==""))
   {var msg=window.alert("Please, insert your email address.");
   dati_footer.mail.select();
      return false; }

        else if (!email_reg_exp.test(email)) {
           alert("Please, check your email address.");
           dati_footer.mail.select();
           return false; }

   else
   //var richiesta = window.confirm("Your email address will be added. Press OK to continue.");
      return richiesta;
  }  
  
  
  

function campotesto(){
if (document.ricerca.title_search.value == "All")
	document.ricerca.title_search.value = "";
}

function campotesto2(){
if (document.ricerca.software_search.value == "All")
	document.ricerca.software_search.value = "";
}



  function ConfirmForm(contattaci) {

var email = document.contattaci.mail.value;
var email_reg_exp = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-]{2,})+\.)+([a-zA-Z0-9]{2,})+$/;

var utente = document.contattaci.nome_utente.value;
var utente_reg_exp = /^([a-zA-Z0-9,\.\;\:\?\!\_\-\ ])+$/;

   if ( (contattaci.nome_utente.value==""))
   {var msg=window.alert("Please, insert your name or a nick name.");
   contattaci.nome_utente.select();
      return false; }

        else if (!utente_reg_exp.test(utente)) {
           alert("Please, use only a-z chars.");
           contattaci.nome_utente.select();
           return false; }

   if ( (contattaci.mail.value==""))
   {var msg=window.alert("Please, type your e-mail address.");
   contattaci.mail.select();
      return false; }

   else if ( (contattaci.mail.value=="Inserire un indirizzo valido"))
   {var msg=window.alert("Please, check e-mail address.");
   contattaci.mail.select();
      return false; }

        else if (!email_reg_exp.test(email)) {
           alert("Please, check e-mail address.");
           contattaci.mail.select();
           return false; }

   else if ( (contattaci.destinatario.value=="(Options)"))
   {var msg=window.alert("Please, select an option.");
      return false; }

   else if ( (contattaci.commento.value==""))
   {var msg=window.alert("Write a message.");
      return false; }

   if ( (contattaci.codice_sessione.value==""))
   {var msg=window.alert("Type the same code showed on the left.");
   contattaci.codice_sessione.select();
      return false; }

   else
   var richiesta = window.confirm("Your message will be send. Click OK to continue.");
      return richiesta;
  }



 //-->
 
 
 
 
