<!--
function isEmail(elm) {
  if (elm.value.indexOf("@") != "-1" &&
      elm.value.indexOf(".") != "-1") {
      return true;
  }
  else {
    return (false);
  }
}

function isInt(elm) {
  if (elm.value == "") {
      return false;
  }
  for (var i = 0; i < elm.value.length; i++) {
      if (elm.value.charAt(i) < "0" || elm.value.charAt(i) > "9") {
          return false;
      }
  }
  return true;
}

function isAlpha(elm) {
  if (elm.value == "") {
      return false;
  }
/*		var re_phone = /\(?\d{3}\)?[-\/\.\s]?\d{3}[-\/\.\s]?\d{4}/;
 !re_phone.test(elm.value)

  for (var i = 0; i < elm.value.length; i++) {
      if ((elm.value.charAt(i) < "a" || elm.value.charAt(i) > "z") &&
         (elm.value.charAt(i) < "A" || elm.value.charAt(i) > "Z")) {
          return false;
      }
  } */
  return true;
}

function isPhone(elm) {
  if (elm.value.length != 8) {
      return false;
  }
  for (var i = 0; i < elm.value.length; i++) {
      if ((i > -1 && i < 4) || (i > 4 && i < 8)) {
          if (elm.value.charAt(i) < "0" || elm.value.charAt(i) > "9") {
              return false;
          }
      }
   }
   return true;
}

function validateme(theForm) {

  if ((theForm.Name.value == "") || (isInt(theForm.Name) == true) || (isAlpha(theForm.Name) == false)){
           alert("Please enter your name.");
           theForm.Name.focus();
           return (false);  }
  if (isEmail(theForm.Email) == false) {
    alert("Please enter your email.");
    theForm.Email.focus();
    return (false);  }	
	if ((theForm.Mail_Address.value == "") || (isInt(theForm.Mail_Address) == true) || (isAlpha(theForm.Mail_Address) == false)){
     alert("Please enter your mailing address.");
     theForm.Mail_Address.focus();
     return (false);  } 
/*  if (isPhone(theForm.Contact) == false) {
    alert("Please enter your contact no.");
    theForm.Contact.focus();
    return (false);  }  */
/* if ((theForm.Contact.value == "") || (isInt(theForm.Contact) == true) || (isAlpha(theForm.Contact) == false)){
     alert("Please enter your contact no.");
     theForm.Contact.focus();
     return (false);  }  */
 if ((theForm.Country.value == "") || (isInt(theForm.Country) == true) || (isAlpha(theForm.Country) == false)){
     alert("Please enter your Country");
     theForm.Country.focus();
     return (false);  }  
  if ((theForm.Country_City.value == "") || (isInt(theForm.Country_City) == true) || (isAlpha(theForm.Country_City) == false)){
     alert("Please enter your country / city.");
     theForm.Country_City.focus();
     return (false);  }  
  
return (true);
}
//-->