<!--	
var orderStatus=0;

function popWait2() {
	popMsg2 = window.open("blank.html", "waitWin", "width=240,height=58,scrollbars=no,resizable=yes,menubar=no,toolbar=no,status=no");
	startHtml = "<html><head><title>Processing</title></head><body onload=setTimeout('self.close()',5000);>";
	endHtml = "</body></html>"
	popMsg2.document.open("text/html");
	popMsg2.document.write(startHtml + "<DIV ID='loading' style='position:absolute; left:30px; top:20px; visibility:visible; z-index:99'>");
	popMsg2.document.write("<TABLE BORDER=1 CELLPADDING=0 CELLSPACING=0 BGCOLOR='#FFFFFF'>");
	popMsg2.document.write("<TR><TD NOWRAP>&nbsp;<IMG SRC='images/wait.gif' WIDTH=58 HEIGHT=58 ALIGN='MIDDLE'>Processing data...&nbsp;&nbsp;</TD>");
	popMsg2.document.write("</TR></TABLE></DIV>");
	popMsg2.document.write(endHtml);
	popMsg2.document.close();
  return true;
}

function popWait() {
	popMsg = window.open("blank.html", "waitWin", "width=240,height=120,scrollbars=no,resizable=yes,menubar=no,toolbar=no,status=no");
	startHtml = "<html><head><title>Processing</title></head><body onload=setTimeout('self.close()',3000);>";
	endHtml = "</body></html>"
	popMsg.document.open("text/html");
	popMsg.document.write(startHtml + "<font color=red size=+1>Processing");
	popMsg.document.write("</font><blockquote>One moment please</blockquote>");
	popMsg.document.write("<p align=right><a href='javascript:self.close()'><font face=verdana size=-2>self-close</font></a>");
	popMsg.document.write(endHtml);
	popMsg.document.close();
  return true;
}

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(document.OrderForm.First_Name.value+", please enter your Last name.");   document.OrderForm.Last_Name.focus();  return false; }
if (document.OrderForm.email.value.length<3) { alert(document.OrderForm.First_Name.value+", 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(document.OrderForm.First_Name.value+", please select your State of residence");
          document.OrderForm.State.selectedIndex=0;
          document.OrderForm.State.focus();
          return (false);
        }
    }
if (orderStatus==1) { alert(document.OrderForm.First_Name.value+", your information has already been sent"); document.OrderForm.First_Name.focus(); return false; }
if (document.OrderForm.Area_Day_Phone.value.length<3) { alert(document.OrderForm.First_Name.value+", 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(document.OrderForm.First_Name.value+", 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(document.OrderForm.First_Name.value+", 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(document.OrderForm.First_Name.value+", please enter an evening phone number"); document.OrderForm.Area_Evening_Phone.focus(); return false; }
if (document.OrderForm.Prefix_Evening_Phone.value.length<3) { alert(document.OrderForm.First_Name.value+", please enter an evening phone number"); document.OrderForm.Prefix_Evening_Phone.focus(); return false; }
if (document.OrderForm.Suffix_Evening_Phone.value.length<4) { alert(document.OrderForm.First_Name.value+", please enter an evening phone number"); document.OrderForm.Suffix_Evening_Phone.focus(); return false; }
  if (document.OrderForm.Best_Time_To_Call.selectedIndex == 0)
   {
     alert(document.OrderForm.First_Name.value+", 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(document.OrderForm.First_Name.value+", 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(document.OrderForm.First_Name.value+", please indicate if you have a Checking Account, Credit Card or Debit Card");
     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=""; 

orderStatus ++;
popWait2();

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|COM|NET|ORG|EDU)$/;
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 -->