// JavaScript Document
function arrotonda(){
	Nifty("div#schedaProd,div#contenitore" , "bottom tr transparent");
}

function fastLink(links) {
	 //alert(links[links.selectedIndex].value);
	 loadTo = links[links.selectedIndex].value;
	 //getHTML('/common/include/' + loadTo , 'contenutoDinamicSx' , 'null' , 'nullImg' );
     location.href = loadTo;
  } 
  
function isblank( s ) {
   for( var i=0; i < s.length; i++ ) {
      var c = s.charAt(i);
      if( (c != ' ') && (c != '\n') && (c != '\t') ) return false;
   }
   return true;
}

function CheckForm() {
   err = "";
   if( isblank(document.modulo.nome.value) ) 
      err = "Manca il nome\r";
if( isblank(document.modulo.cognome.value) ) 
      err = "Manca il nome\r";
if( isblank(document.modulo.cognome.value) ) 
      err = "Manca il nome\r";
if( isblank(document.modulo.password.value) ) 
      err = "Manca la password\r";
   if( err.length > 0 ) {
     window.alert( err );
     return false;
   } else {
     return true;
   }
}