
function ValidarForm()
{
	if(document.getElementById("names").value == "")
	{
		alert("Please insert your First Name");	
		document.getElementById("names").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.form1.action = "contact_us.asp"
document.form1.submit();

}


function validarEmail(valor) {
  if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(valor)){

  } else {
   return ("no");
  }
 }