function validar(theForm){
   if (theForm.EMAIL.value == "")
  {
    alert("Escriba su direccion de correo electronico..");
    theForm.EMAIL.focus();
    return;
  }
  var string = theForm.EMAIL.value;

  if (string.search(/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/) != -1)
  {

  }
  else
  {
    alert("Escriba una direccion de correo electronico correcta");
    theForm.EMAIL.focus();
    return;
  }

  
   if (theForm.ASUNTO.value == "")
  {
    alert("Escriba su Nombre");
    theForm.ASUNTO.focus();
    return;
  }
  
   if (theForm.COMENTARIO.value == "")
  {
    alert("Se olvida de escribir el texto de su sugerencia, duda o comentario");
    theForm.COMENTARIO.focus();
    return;
  }
	theForm.submit();		
}

function vaciar() {
document.FrmSuggest.EMAIL.value=""
document.FrmSuggest.ASUNTO.value=""
document.FrmSuggest.COMENTARIO.value=""
}
