// JavaScript Document
function verEmail(stringa)
   {
   if (stringa.search(/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/) != -1)
      return true;
    else
      return false;
   }

function LunghezzaMax(campo)
	{
	if ((campo.value.length>300)== true )
		return true;
	else
		return false;	
	}

function nome(stringa)
   {
   if (stringa.value != "")
      return false;
   else
      return true;
   }

function LunghezzaPass(campo)
	{
	if ((campo.value.length<6)== true )
		return true;
	else
		return false;	
	}