// Validacion de forma de contacto papalote  //
function Validar(form)
{
  if (form.nombre.value == "")
  { alert("Escribe tu Nombre"); form.nombre.focus(); return; }
  
  if (form.email.value == "")
  { alert("Escribe tu Correo."); form.email.focus(); return; }

  if (form.telefono.value == "")
  { alert("Escribe tu Telefono"); form.telefono.focus(); return; }

  if (form.direccion.value == "")
  { alert("Escribe el tipo de evento."); form.direccion.focus(); return; }
  
   if (form.comentario.value == "")
  { alert("Escribe tu Comentario."); form.comentario.focus(); return; }

  if (form.email.value.indexOf('@', 0) == -1 ||
     form.email.value.indexOf('.', 0) == -1)
	{ alert("El Email NO es Valido"); form.email.focus(); return; }

  form.submit();
}
