// Documento JavaScript
//Validar formad de contacto

function validar(theForm)

{
  if (theForm.sender_name.value == "")

  {

    alert("Por favor escriba su Nombre.");

    theForm.sender_name.focus();

    return (false);

  }

  if (theForm.sender_email.value == "")

  {

    alert("Por favor escriba su Direccion de E-mail.");

    theForm.sender_email.focus();

    return (false);

  }
  if (theForm.subject.value == "")

  {

    alert("Por favor escriba el Asunto.");

    theForm.subject.focus();

    return (false);

  }

  if (theForm.message.value == "")

  {

    alert("Por favor escriba su Mensaje.");

    theForm.message.focus();

    return (false);

  }
  return (true);

}