<!--
 function IsEmail(elm) {
     indice=elm.value.indexOf("@");
     longitud=elm.value.length;
     if (indice<1 || longitud<1) return false;
     for (i=0;i<longitud;i++)
      if (elm.value.charAt(i) < '!' || elm.value.charAt(i) > '~') return false;
 
     if (elm.value.indexOf(" ") == -1 &&
         elm.value.indexOf(";") == -1 &&
         elm.value.indexOf(",") == -1 &&
         elm.value.indexOf("/") == -1 &&
         elm.value.indexOf(".") != -1 &&
         elm.value != "" &&
         indice < (longitud-5))
         {banana=elm.value.substring(indice+1,longitud);
          if (banana.indexOf("@") == -1 &&
              banana.indexOf(".") > 0 &&
              banana.charAt(banana.length - 1) != ".")
              return true;
          else return false
          }
     else return false;
 }


function NoNull(elm) {
     if (elm.value == "" ||
         elm.value == null) 
     return false;
     else return true;
 }

function Validar(form) {
//form.Txt_Name.value=trim(form.Txt_Name.value);
//form.Txt_Email.value=trim(form.Txt_Email.value);
   if (NoNull(form.Txt_Name)==false) {
     alert("Please, write your name");
     form.Txt_Name.focus();
     return false;
     }
/* if (IsEmail(form.Txt_Email) == false) { 
     alert("Please, check and rewrite your email adress.");
     form.Txt_Email.focus();
     return false;
     } */
   if (NoNull(form.Txt_Email)==false) {
     alert("Please, write your mail address");
     form.Txt_Email.focus();
     return false;
     }
 return true;  
}
// -->