<!--	
function validate() {
if (document.OrderForm.First_Name.value.length<1) { alert("Please enter your First name."); document.OrderForm.First_Name.focus(); return false; }
if (document.OrderForm.Last_Name.value.length<1) { alert("Please enter your Last name.");   document.OrderForm.Last_Name.focus();  return false; }
if (document.OrderForm.email.value.length<3) { alert("Please enter your email address."); document.OrderForm.email.focus(); return false; }
  if (document.OrderForm.State.type == "select-one")
    {
      if (document.OrderForm.State.selectedIndex == 0)
        {
          alert("Please select your State of residence");
          document.OrderForm.State.selectedIndex=0;
          document.OrderForm.State.focus();
          return (false);
        }
    }
if (document.OrderForm.Area_Day_Phone.value.length<3) { alert("Please enter your day-time phone number"); document.OrderForm.Area_Day_Phone.focus(); return false; }
if (document.OrderForm.Prefix_Day_Phone.value.length<3) { alert("Please enter your day-time phone number"); document.OrderForm.Prefix_Day_Phone.focus(); return false; }
if (document.OrderForm.Suffix_Day_Phone.value.length<4) { alert("Please enter your day-time phone number"); document.OrderForm.Suffix_Day_Phone.focus(); return false; }
if (document.OrderForm.Area_Evening_Phone.value.length<3) { alert("Please enter an evening phone number"); document.OrderForm.Area_Evening_Phone.focus(); return false; }
if (document.OrderForm.Prefix_Evening_Phone.value.length<3) { alert("Please enter an evening phone number"); document.OrderForm.Prefix_Evening_Phone.focus(); return false; }
if (document.OrderForm.Suffix_Evening_Phone.value.length<4) { alert("Please enter an evening phone number"); document.OrderForm.Suffix_Evening_Phone.focus(); return false; }
  if (document.OrderForm.Best_Time_To_Call.selectedIndex == 0)
   {
     alert("Please Indicate the Best Time To Call");
     document.OrderForm.Best_Time_To_Call.selectedIndex=0;
     document.OrderForm.Best_Time_To_Call.focus();
     return (false);
   }
  if (document.OrderForm.Current_Legal_Problem_1.selectedIndex == 0)
   {
     alert("Please Indicate what type of Legal Problem you having or are anticipating");
     document.OrderForm.Current_Legal_Problem_1.selectedIndex=0;
     document.OrderForm.Current_Legal_Problem_1.focus();
     return (false);
   }
  if ( (!document.OrderForm.Major_Credit_Card[0].checked) &&
       (!document.OrderForm.Major_Credit_Card[1].checked) )
   {
     alert("Please Indicate Whether you have a Credit Card, Debit Card or Bank Account");
     return (false);
   }

document.OrderForm.Day_Phone.value = document.OrderForm.Area_Day_Phone.value + "-" + document.OrderForm.Prefix_Day_Phone.value + "-" + document.OrderForm.Suffix_Day_Phone.value + " " + document.OrderForm.Ext_Day_Phone.value;
document.OrderForm.Evening_Phone.value = document.OrderForm.Area_Evening_Phone.value + "-" + document.OrderForm.Prefix_Evening_Phone.value + "-" + document.OrderForm.Suffix_Evening_Phone.value;
document.OrderForm.Area_Day_Phone.value="";
document.OrderForm.Prefix_Day_Phone.value="";
document.OrderForm.Suffix_Day_Phone.value=""; 
document.OrderForm.Ext_Day_Phone.value="";
document.OrderForm.Area_Evening_Phone.value="";
document.OrderForm.Prefix_Evening_Phone.value="";
document.OrderForm.Suffix_Evening_Phone.value=""; 
return true;
}
// -->


<!-- Begin
function emailCheck (emailStr) {
  if (document.OrderForm.email.value == "") {
    alert("Please enter a valid email address - can not be empty."); document.OrderForm.email.focus();
    return false
  }
var checkTLD=1;
var knownDomsPat=/^(com|net|org|edu|int|mil|gov|arpa|biz|aero|name|coop|info|pro|museum)$/;
var emailPat=/^(.+)@(.+)$/;
var specialChars="\\(\\)><@,;:\\\\\\\"\\.\\[\\]";
var validChars="\[^\\s" + specialChars + "\]";
var quotedUser="(\"[^\"]*\")";
var ipDomainPat=/^\[(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})\]$/;
var atom=validChars + '+';
var word="(" + atom + "|" + quotedUser + ")";
var userPat=new RegExp("^" + word + "(\\." + word + ")*$");
var domainPat=new RegExp("^" + atom + "(\\." + atom +")*$");
var matchArray=emailStr.match(emailPat);
if (matchArray==null) {
  alert("Please enter a valid Email address (ex: yourname@aol.com)"); document.OrderForm.email.focus();
  return false;
  }
var user=matchArray[1];
var domain=matchArray[2];
for (i=0; i<user.length; i++) {
  if (user.charCodeAt(i)>127) {
  alert("The email username contains invalid characters."); document.OrderForm.email.focus();
  return false;
     }
  }
for (i=0; i<domain.length; i++) {
  if (domain.charCodeAt(i)>127) {
  alert("The email domain name contains invalid characters."); document.OrderForm.email.focus();
  return false;
     }
  }
if (user.match(userPat)==null) {
  alert("The email username doesn't seem to be valid (such as YOURNAME@aol.com)."); document.OrderForm.email.focus();
  return false;
  }
var IPArray=domain.match(ipDomainPat);
if (IPArray!=null) {
  for (var i=1;i<=4;i++) {
    if (IPArray[i]>255) {
    alert("The email IP address is invalid!");
    return false;
       }
    }
  return true;
  }
var atomPat=new RegExp("^" + atom + "$");
var domArr=domain.split(".");
var len=domArr.length;
for (i=0;i<len;i++) {
  if (domArr[i].search(atomPat)==-1) {
    alert("The email domain name is invalid (such as yourname@AOL.com)."); document.OrderForm.email.focus();
    return false;
       }
    }
if (checkTLD && domArr[domArr.length-1].length!=2 && 
domArr[domArr.length-1].search(knownDomsPat)==-1) {
  alert("The email address must end in a well-known top-level domain (such as yourname@aol.COM) or two letter country code (such as yourname@aol.UK)"); document.OrderForm.email.focus();
  return false;
  }
if (len<2) {
  alert("This email address is missing a hostname (such as yourname@AOL.com)"); document.OrderForm.email.focus();
  return false;
  }
return true;
}
//  End -->
