// JavaScript Document
function validateForm() 
			{
			 var okSoFar=true
			 with (document.phpformmailer)
			 {
				if (name.value=="" && okSoFar)
			  {
				okSoFar=false
				alert("Por favor ingrese su nombre.")
				name.focus()
			  } 
				 
				 if (last_name.value=="" && okSoFar)
			  {
				okSoFar=false
				alert("Por favor ingrese su apellido.")
				last_name.focus()
			  } 
				 
			  var foundAt = email.value.indexOf("@",0)
				  if (foundAt < 1 && okSoFar)
				  {
					okSoFar = false
					alert ("Por favor ingrese un e-mail correcto.")
					email.focus()
				  }
			  			  		  			 
			  if (themessage.value=="" && okSoFar)
			  {
				okSoFar=false
				alert("Por favor ingrese sus comentarios.")
				themessage.focus()
			  }
			  if (okSoFar==true)  submit();
			 }
			}

