
function ValidarForm()
{
	if(document.getElementById("firstname").value == "")
	{
		alert("Please insert your First Name");	
		document.getElementById("firstname").focus();
		return false;
	}
	if(document.getElementById("lastname").value == "")
	{
		alert("Please insert your Last Name");	
		document.getElementById("lastname").focus();
		return false;
	}
	if(document.getElementById("email").value == "")
	{
		alert("Please insert your E-mail");	
		document.getElementById("email").focus();
		return false;			
	}else{
		if(validarEmail(document.getElementById("email").value) == "no")
		{
			alert("Please insert your E-mail the following way name@server.domain");	
			document.getElementById("email").focus();
			return false;	
		}
	}
	

document.frmLazzara84.action = "contact_84.php"
document.frmLazzara84.submit();

}


function validarEmail(valor) {
  if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(valor)){

  } else {
   return ("no");
  }
 }