button_preload1 = new Image();
button_preload1.src = "images/button-home-over.gif";
button_preload2 = new Image();
button_preload2.src = "images/button-firm_overview-over.gif";
button_preload3 = new Image();
button_preload3.src = "images/button-practice_areas-over.gif";
button_preload4 = new Image();
button_preload4.src = "images/button-attorney_profiles-over.gif";
button_preload5 = new Image();
button_preload5.src = "images/button-digital_downloads-over.gif";
button_preload6 = new Image();
button_preload6.src = "images/button-payments-over.gif";
button_preload7 = new Image();
button_preload7.src = "images/button-contact_us-over.gif";
button_preload8 = new Image();
button_preload8.src = "images/button-business_legal_needs-over.gif";
button_preload9 = new Image();
button_preload9.src = "images/button-personal_legal_needs-over.gif";
button_preload10 = new Image();
button_preload10.src = "images/button-fast_legal_research-over.gif";
button_preload11 = new Image();
button_preload11.src = "images/button-animal_law-over.gif";
button_preload12 = new Image();
button_preload12.src = "images/button-environmental_law-over.gif";
button_preload13 = new Image();
button_preload13.src = "images/button-mortuary_law-over.gif";
button_preload14 = new Image();
button_preload14.src = "images/button-email-over.gif";
button_preload15 = new Image();
button_preload15.src = "images/button-footer-home-over.gif";
button_preload16 = new Image();
button_preload16.src = "images/button-footer-firm_overview-over.gif";
button_preload17 = new Image();
button_preload17.src = "images/button-footer-practice_areas-over.gif";
button_preload18 = new Image();
button_preload18.src = "images/button-footer-attorney_profiles-over.gif";
button_preload19 = new Image();
button_preload19.src = "images/button-footer-digital_downloads-over.gif";
button_preload20 = new Image();
button_preload20.src = "images/button-footer-payments-over.gif";
button_preload21 = new Image();
button_preload21.src = "images/button-footer-contact_us-over.gif";
button_preload22 = new Image();
button_preload22.src = "images/button-disclaimer-over.gif";
button_preload23 = new Image();
button_preload23.src = "images/button-side-business_and_personal_legal_needs-over.jpg";
button_preload24 = new Image();
button_preload24.src = "images/button-side-fast_legal_research-over.jpg";
button_preload25 = new Image();
button_preload25.src = "images/button-side-focused_practice_areas-over.jpg";
button_preload26 = new Image();
button_preload26.src = "images/button-side-business_legal_needs-over.jpg";
button_preload27 = new Image();
button_preload27.src = "images/button-side-personal_legal_needs-over.jpg";
button_preload28 = new Image();
button_preload28.src = "images/button-side-fast_legal_research-new_clients-over.jpg";
button_preload29 = new Image();
button_preload29.src = "images/button-side-fast_legal_research-existing_clients-over.jpg";
button_preload30 = new Image();
button_preload30.src = "images/button-side-animal_law-over.jpg";
button_preload31 = new Image();
button_preload31.src = "images/button-side-environmental_law-over.jpg";
button_preload32 = new Image();
button_preload32.src = "images/button-side-mortuary_law-over.jpg";
button_preload33 = new Image();
button_preload33.src = "images/button-side-animal_law-practice_areas-over.jpg";
button_preload34 = new Image();
button_preload34.src = "images/button-side-animal_law-news-over.jpg";
button_preload35 = new Image();
button_preload35.src = "images/button-side-animal_law-about-over.jpg";
button_preload36 = new Image();
button_preload36.src = "images/button-side-animal_law-affiliates-over.jpg";
button_preload37 = new Image();
button_preload37.src = "images/button-submit_form-over.gif";
button_preload38 = new Image();
button_preload38.src = "images/button-submit_form-clicked.gif";
button_preload39 = new Image();
button_preload39.src = "images/button-make_payment-over.gif";
button_preload40 = new Image();
button_preload40.src = "images/button-make_payment-clicked.gif";
button_preload41 = new Image();
button_preload41.src = "images/button-purchase_file-over.gif";
button_preload42 = new Image();
button_preload42.src = "images/button-purchase_file-clicked.gif";
button_preload43 = new Image();
button_preload43.src = "images/button-download_file-over.gif";

function Image_Switch(Image_Name, File_Name){
     if (document.images[Image_Name].src.search(/clicked/) == -1){
          document.images[Image_Name].src = "images/" + File_Name;
     }
}

var ProcessForm;
var SubmitForm = true;

function Fast_Legal_Research_New_Clients(){
     ProcessForm = true;

     var Name_Check = document.FastLegalResearchNewClients.elements["Name"].value;
     var Name_Check_Format = /^([A-Za-z']+[\s]?)+(([-A-Za-z']+[\.]?[\s]?)*([-A-Za-z']+[\.]?)+)*$/;
     if (!(Name_Check_Format.test(Name_Check))){
          ProcessForm = false;
          alert("Please enter a valid Name.");
          document.FastLegalResearchNewClients.elements["Name"].focus();
     }

     if (ProcessForm == true){
          var AddressLine1_Check = document.FastLegalResearchNewClients.elements["AddressLine1"].value;
          var AddressLine1_Check_Format = /^([0-9A-Za-z'#]+[\/]?[\.]?[\s]?)+([-0-9A-Za-z'#]+[\/]?[\.]?[\s]?)+([-0-9A-Za-z']+[\.]?)+$/;
          if (!(AddressLine1_Check_Format.test(AddressLine1_Check))){
               ProcessForm = false;
               alert("Please enter valid information for Address Line 1.");
               document.FastLegalResearchNewClients.elements["AddressLine1"].focus();
          }
     }

     if (ProcessForm == true){
          var AddressLine2_Check = document.FastLegalResearchNewClients.elements["AddressLine2"].value;
          var AddressLine2_Check_Format = /^([0-9A-Za-z'#]+[\/]?[\.]?[\s]?)+([-0-9A-Za-z'#]+[\/]?[\.]?[\s]?)+([-0-9A-Za-z']+[\.]?)+$/;
          if ((AddressLine2_Check != "") && (!(AddressLine2_Check_Format.test(AddressLine2_Check)))){
               ProcessForm = false;
               alert("Please enter valid information for Address Line 2.");
               document.FastLegalResearchNewClients.elements["AddressLine2"].focus();
          }
     }

     if (ProcessForm == true){
          var City_Check = document.FastLegalResearchNewClients.elements["City"].value;
          var City_Check_Format = /^([A-Za-z']+[\s]?)+(([-A-Za-z']+[\.]?[\s]?)*([-A-Za-z']+[\.]?)+)*$/;
          if (!(City_Check_Format.test(City_Check))){
               ProcessForm = false;
               alert("Please enter a valid City.");
               document.FastLegalResearchNewClients.elements["City"].focus();
          }
     }

     if (ProcessForm == true){
          var State_Check = document.FastLegalResearchNewClients.State.options[document.FastLegalResearchNewClients.State.selectedIndex].value;
          if ((State_Check == "") || (State_Check.length > 15)){
               ProcessForm = false;
               alert("Please select a State.");
               document.FastLegalResearchNewClients.State.focus();
          }
     }

     if (ProcessForm == true){
          var ZipCode_Check = document.FastLegalResearchNewClients.elements["ZipCode"].value;
          var ZipCode_Check_Format = /^[0-9]{5}([-][0-9]{4})?$/;
          if (!(ZipCode_Check_Format.test(ZipCode_Check))){
               ProcessForm = false;
               alert("Please enter a valid Zip Code.");
               document.FastLegalResearchNewClients.elements["ZipCode"].focus();
          }
     }

     if (ProcessForm == true){
          var EmailAddress_Check = document.FastLegalResearchNewClients.elements["EmailAddress"].value;
          var EmailAddress_Check_Format = /^([0-9a-z-]+\.)*[_0-9a-z-]+@([0-9a-z][0-9a-z-]+\.)+[a-z]{2,4}$/;
          if (!(EmailAddress_Check_Format.test(EmailAddress_Check))){
               ProcessForm = false;
               alert("Please enter a valid E-mail Address.");
               document.FastLegalResearchNewClients.elements["EmailAddress"].focus();
          }
     }

     if (ProcessForm == true){
          var Telephone_Check = document.FastLegalResearchNewClients.elements["Telephone"].value;
          var Telephone_Check_Format = /^[\(]{1}[0-9]{3}[\)]{1}[\s]?[0-9]{3}[-]{1}[0-9]{4}[\sA-Za-z#0-9\.]*$/;
          if (!(Telephone_Check_Format.test(Telephone_Check))){
               ProcessForm = false;
               alert("Please enter valid Telephone information.");
               document.FastLegalResearchNewClients.elements["Telephone"].focus();
          }
     }

     if (ProcessForm == true){
          var Fax_Check = document.FastLegalResearchNewClients.elements["Fax"].value;
          var Fax_Check_Format = /^[\(]{1}[0-9]{3}[\)]{1}[\s]?[0-9]{3}[-]{1}[0-9]{4}$/;
          if ((Fax_Check != "") && (!(Fax_Check_Format.test(Fax_Check)))){
               ProcessForm = false;
               alert("Please enter valid Fax information.");
               document.FastLegalResearchNewClients.elements["Fax"].focus();
          }
     }

     if (ProcessForm == true){
          var BestWayToReachYou_Check = document.FastLegalResearchNewClients.elements["BestWayToReachYou"].value;
          var BestWayToReachYou_Check_Format = BestWayToReachYou_Check.replace(/^\s*/, "").replace(/\s*$/, "");
          if ((BestWayToReachYou_Check_Format.length < 3) || (BestWayToReachYou_Check.length > 50)){
               ProcessForm = false;
               alert("Please enter valid information for Best Way to Reach You.");
               document.FastLegalResearchNewClients.elements["BestWayToReachYou"].focus();
          }
     }

     if (ProcessForm == true){
          var BestTimeToReachYou_Check = document.FastLegalResearchNewClients.elements["BestTimeToReachYou"].value;
          var BestTimeToReachYou_Check_Format = BestTimeToReachYou_Check.replace(/^\s*/, "").replace(/\s*$/, "");
          if ((BestTimeToReachYou_Check_Format.length < 3) || (BestTimeToReachYou_Check.length > 50)){
               ProcessForm = false;
               alert("Please enter valid information for Best Time to Reach You.");
               document.FastLegalResearchNewClients.elements["BestTimeToReachYou"].focus();
          }
     }

     if (ProcessForm == true){
          var NatureOfResearchSought_Check = document.FastLegalResearchNewClients.elements["NatureOfResearchSought"].value;
          var NatureOfResearchSought_Check_Format = NatureOfResearchSought_Check.replace(/^\s*/, "").replace(/\s*$/, "");
          if ((NatureOfResearchSought_Check_Format.length < 3) || (NatureOfResearchSought_Check.length > 50)){
               ProcessForm = false;
               alert("Please enter valid information for Nature of Research Sought.");
               document.FastLegalResearchNewClients.elements["NatureOfResearchSought"].focus();
          }
     }

     if (ProcessForm == true){
          var DoesThisMatterInvolvePendingLitigation_Check = document.FastLegalResearchNewClients.DoesThisMatterInvolvePendingLitigation.options[document.FastLegalResearchNewClients.DoesThisMatterInvolvePendingLitigation.selectedIndex].value;
          if ((DoesThisMatterInvolvePendingLitigation_Check == "") || (DoesThisMatterInvolvePendingLitigation_Check.length > 5)){
               ProcessForm = false;
               alert("Please select an answer for Does This Matter Involve Pending Litigation.");
               document.FastLegalResearchNewClients.DoesThisMatterInvolvePendingLitigation.focus();
          }
     }

     if (ProcessForm == true){
          var CaseNumber_Check = document.FastLegalResearchNewClients.elements["CaseNumber"].value;
          var CaseNumber_Check_Format = /^([0-9A-Za-z'#]+[\/]?[\.]?[\s]?)+([-0-9A-Za-z'#]+[\/]?[\.]?[\s]?)+([-0-9A-Za-z']+[\.]?)+$/;
          if ((DoesThisMatterInvolvePendingLitigation_Check == "Yes") && (!(CaseNumber_Check_Format.test(CaseNumber_Check)))){
               ProcessForm = false;
               alert("Please enter a valid Case Number.");
               document.FastLegalResearchNewClients.elements["CaseNumber"].focus();
          }
     }

     if (ProcessForm == true){
          var PendingLitigationState_Check = document.FastLegalResearchNewClients.PendingLitigationState.options[document.FastLegalResearchNewClients.PendingLitigationState.selectedIndex].value;
          var PendingLitigationState_Check_Format = PendingLitigationState_Check.replace(/^\s*/, "").replace(/\s*$/, "");
          if ((DoesThisMatterInvolvePendingLitigation_Check == "Yes") && ((PendingLitigationState_Check_Format == "") || (PendingLitigationState_Check.length > 15))){
               ProcessForm = false;
               alert("Please select a valid State.");
               document.FastLegalResearchNewClients.PendingLitigationState.focus();
          }
     }

     if (ProcessForm == true){
          var FederalJurisdiction_Check = document.FastLegalResearchNewClients.FederalJurisdiction.options[document.FastLegalResearchNewClients.FederalJurisdiction.selectedIndex].value;
          var FederalJurisdiction_Check_Format = FederalJurisdiction_Check.replace(/^\s*/, "").replace(/\s*$/, "");
          if ((DoesThisMatterInvolvePendingLitigation_Check == "Yes") && ((FederalJurisdiction_Check_Format == "") || (FederalJurisdiction_Check.length > 30))){
               ProcessForm = false;
               alert("Please select a valid Federal Jurisdiction.");
               document.FastLegalResearchNewClients.FederalJurisdiction.focus();
          }
     }

     if (ProcessForm == true){
          var WhoAreTheOpposingParties_Check = document.FastLegalResearchNewClients.elements["WhoAreTheOpposingParties"].value;
          var WhoAreTheOpposingParties_Check_Format = /^([0-9A-Za-z']+[\s]?)+(([-0-9A-Za-z']+[\.]?[\s]?)*([-0-9A-Za-z']+[\.]?)+)*$/;
          if ((DoesThisMatterInvolvePendingLitigation_Check == "Yes") && (!(WhoAreTheOpposingParties_Check_Format.test(WhoAreTheOpposingParties_Check)))){
               ProcessForm = false;
               alert("Please enter valid information for Who Are the Opposing Parties.");
               document.FastLegalResearchNewClients.elements["WhoAreTheOpposingParties"].focus();
          }
     }

     if (ProcessForm == true){
          if ((DoesThisMatterInvolvePendingLitigation_Check == "No") && ((CaseNumber_Check != "") || (PendingLitigationState_Check != "") || (FederalJurisdiction_Check != "") || (WhoAreTheOpposingParties_Check != ""))){
               ProcessForm = false;
               alert("Please select \"Yes\" for \"Does This Matter Involve Pending Litigation?\" or clear the related fields.");
               document.FastLegalResearchNewClients.DoesThisMatterInvolvePendingLitigation.focus();
          }
     }

     if (ProcessForm == true){
          var RequestedTurnAroundTime_Check = document.FastLegalResearchNewClients.RequestedTurnAroundTime.options[document.FastLegalResearchNewClients.RequestedTurnAroundTime.selectedIndex].value;
          if ((RequestedTurnAroundTime_Check == "") || (RequestedTurnAroundTime_Check.length > 10)){
               ProcessForm = false;
               alert("Please select a Requested Turn-Around Time.");
               document.FastLegalResearchNewClients.RequestedTurnAroundTime.focus();
          }
     }

     if (ProcessForm == true){
          var RequestedTurnAroundTimeOther_Check = document.FastLegalResearchNewClients.elements["RequestedTurnAroundTimeOther"].value;
          var RequestedTurnAroundTimeOther_Check_Format = /^([0-9A-Za-z']+[\s]?)+(([-0-9A-Za-z']+[\.]?[\s]?)*([-0-9A-Za-z']+[\.]?)+)*$/;
          if ((RequestedTurnAroundTime_Check == "Other") && (!(RequestedTurnAroundTimeOther_Check_Format.test(RequestedTurnAroundTimeOther_Check)))){
               ProcessForm = false;
               alert("Please enter valid information for Other.");
               document.FastLegalResearchNewClients.elements["RequestedTurnAroundTimeOther"].focus();
          }
     }

     if (ProcessForm == true){
          if ((RequestedTurnAroundTime_Check != "Other") && (RequestedTurnAroundTimeOther_Check != "")){
               ProcessForm = false;
               alert("Please select \"Other\" for \"Requested Turn-Around Time\" or clear the related field.");
               document.FastLegalResearchNewClients.RequestedTurnAroundTime.focus();
          }
     }

     if (ProcessForm == true){
          var AdditionalRelevantInformation_Check = document.FastLegalResearchNewClients.elements["AdditionalRelevantInformation"].value;
          var AdditionalRelevantInformation_Check_Format = AdditionalRelevantInformation_Check.replace(/^\s*/, "").replace(/\s*$/, "");
          if (AdditionalRelevantInformation_Check_Format.length < 4){
               ProcessForm = false;
               alert("Please enter Additional Relevant Information text.");
               document.FastLegalResearchNewClients.elements["AdditionalRelevantInformation"].focus();
          }

          if ((ProcessForm == true) && (AdditionalRelevantInformation_Check.length > 1500)){
               ProcessForm = false;
               alert("Please reduce the Additional Relevant Information text to under 1,500 characters.");
               document.FastLegalResearchNewClients.elements["AdditionalRelevantInformation"].focus();
          }
     }

     if (ProcessForm == true){
          var AgreeToTerms_Check = document.FastLegalResearchNewClients.AgreeToTerms.checked;
          if (AgreeToTerms_Check == false){
               ProcessForm = false;
               alert("Please read the terms of submission and then check off the checkbox.");
               document.FastLegalResearchNewClients.AgreeToTerms.focus();
          }
     }

     if ((SubmitForm == true) && (ProcessForm == true)){
          document.FastLegalResearchNewClients.elements["CheckSubmit"].value = "Verified";
          document.images["submit_form"].src = "images/button-submit_form-clicked.gif";
          document.FastLegalResearchNewClients.submit();
          ProcessForm = false;
          SubmitForm = false;
     }
     return;
}

function Fast_Legal_Research_Existing_Clients(){
     ProcessForm = true;

     var Name_Check = document.FastLegalResearchExistingClients.elements["Name"].value;
     var Name_Check_Format = /^([A-Za-z']+[\s]?)+(([-A-Za-z']+[\.]?[\s]?)*([-A-Za-z']+[\.]?)+)*$/;
     if (!(Name_Check_Format.test(Name_Check))){
          ProcessForm = false;
          alert("Please enter a valid Name.");
          document.FastLegalResearchExistingClients.elements["Name"].focus();
     }

     if (ProcessForm == true){
          var ClientID_Check = document.FastLegalResearchExistingClients.elements["ClientID"].value;
          var ClientID_Check_Format = /^([0-9A-Za-z'#]+[\/]?[\.]?[\s]?)+([-0-9A-Za-z'#]+[\/]?[\.]?[\s]?)+([-0-9A-Za-z']+[\.]?)+$/;
          if ((ClientID_Check != "") && (!(ClientID_Check_Format.test(ClientID_Check)))){
               ProcessForm = false;
               alert("Please enter a valid Client ID.");
               document.FastLegalResearchExistingClients.elements["ClientID"].focus();
          }
     }

     if (ProcessForm == true){
          var AddressLine1_Check = document.FastLegalResearchExistingClients.elements["AddressLine1"].value;
          var AddressLine1_Check_Format = /^([0-9A-Za-z'#]+[\/]?[\.]?[\s]?)+([-0-9A-Za-z'#]+[\/]?[\.]?[\s]?)+([-0-9A-Za-z']+[\.]?)+$/;
          if (!(AddressLine1_Check_Format.test(AddressLine1_Check))){
               ProcessForm = false;
               alert("Please enter valid information for Address Line 1.");
               document.FastLegalResearchExistingClients.elements["AddressLine1"].focus();
          }
     }

     if (ProcessForm == true){
          var AddressLine2_Check = document.FastLegalResearchExistingClients.elements["AddressLine2"].value;
          var AddressLine2_Check_Format = /^([0-9A-Za-z'#]+[\/]?[\.]?[\s]?)+([-0-9A-Za-z'#]+[\/]?[\.]?[\s]?)+([-0-9A-Za-z']+[\.]?)+$/;
          if ((AddressLine2_Check != "") && (!(AddressLine2_Check_Format.test(AddressLine2_Check)))){
               ProcessForm = false;
               alert("Please enter valid information for Address Line 2.");
               document.FastLegalResearchExistingClients.elements["AddressLine2"].focus();
          }
     }

     if (ProcessForm == true){
          var City_Check = document.FastLegalResearchExistingClients.elements["City"].value;
          var City_Check_Format = /^([A-Za-z']+[\s]?)+(([-A-Za-z']+[\.]?[\s]?)*([-A-Za-z']+[\.]?)+)*$/;
          if (!(City_Check_Format.test(City_Check))){
               ProcessForm = false;
               alert("Please enter a valid City.");
               document.FastLegalResearchExistingClients.elements["City"].focus();
          }
     }

     if (ProcessForm == true){
          var State_Check = document.FastLegalResearchExistingClients.State.options[document.FastLegalResearchExistingClients.State.selectedIndex].value;
          if ((State_Check == "") || (State_Check.length > 15)){
               ProcessForm = false;
               alert("Please select a State.");
               document.FastLegalResearchExistingClients.State.focus();
          }
     }

     if (ProcessForm == true){
          var ZipCode_Check = document.FastLegalResearchExistingClients.elements["ZipCode"].value;
          var ZipCode_Check_Format = /^[0-9]{5}([-][0-9]{4})?$/;
          if (!(ZipCode_Check_Format.test(ZipCode_Check))){
               ProcessForm = false;
               alert("Please enter a valid Zip Code.");
               document.FastLegalResearchExistingClients.elements["ZipCode"].focus();
          }
     }

     if (ProcessForm == true){
          var EmailAddress_Check = document.FastLegalResearchExistingClients.elements["EmailAddress"].value;
          var EmailAddress_Check_Format = /^([0-9a-z-]+\.)*[_0-9a-z-]+@([0-9a-z][0-9a-z-]+\.)+[a-z]{2,4}$/;
          if (!(EmailAddress_Check_Format.test(EmailAddress_Check))){
               ProcessForm = false;
               alert("Please enter a valid E-mail Address.");
               document.FastLegalResearchExistingClients.elements["EmailAddress"].focus();
          }
     }

     if (ProcessForm == true){
          var Telephone_Check = document.FastLegalResearchExistingClients.elements["Telephone"].value;
          var Telephone_Check_Format = /^[\(]{1}[0-9]{3}[\)]{1}[\s]?[0-9]{3}[-]{1}[0-9]{4}[\sA-Za-z#0-9\.]*$/;
          if (!(Telephone_Check_Format.test(Telephone_Check))){
               ProcessForm = false;
               alert("Please enter valid Telephone information.");
               document.FastLegalResearchExistingClients.elements["Telephone"].focus();
          }
     }

     if (ProcessForm == true){
          var Fax_Check = document.FastLegalResearchExistingClients.elements["Fax"].value;
          var Fax_Check_Format = /^[\(]{1}[0-9]{3}[\)]{1}[\s]?[0-9]{3}[-]{1}[0-9]{4}$/;
          if ((Fax_Check != "") && (!(Fax_Check_Format.test(Fax_Check)))){
               ProcessForm = false;
               alert("Please enter valid Fax information.");
               document.FastLegalResearchExistingClients.elements["Fax"].focus();
          }
     }

     if (ProcessForm == true){
          var BestWayToReachYou_Check = document.FastLegalResearchExistingClients.elements["BestWayToReachYou"].value;
          var BestWayToReachYou_Check_Format = BestWayToReachYou_Check.replace(/^\s*/, "").replace(/\s*$/, "");
          if ((BestWayToReachYou_Check_Format.length < 3) || (BestWayToReachYou_Check.length > 50)){
               ProcessForm = false;
               alert("Please enter valid information for Best Way to Reach You.");
               document.FastLegalResearchExistingClients.elements["BestWayToReachYou"].focus();
          }
     }

     if (ProcessForm == true){
          var BestTimeToReachYou_Check = document.FastLegalResearchExistingClients.elements["BestTimeToReachYou"].value;
          var BestTimeToReachYou_Check_Format = BestTimeToReachYou_Check.replace(/^\s*/, "").replace(/\s*$/, "");
          if ((BestTimeToReachYou_Check_Format.length < 3) || (BestTimeToReachYou_Check.length > 50)){
               ProcessForm = false;
               alert("Please enter valid information for Best Time to Reach You.");
               document.FastLegalResearchExistingClients.elements["BestTimeToReachYou"].focus();
          }
     }

     if (ProcessForm == true){
          var NatureOfResearchSought_Check = document.FastLegalResearchExistingClients.elements["NatureOfResearchSought"].value;
          var NatureOfResearchSought_Check_Format = NatureOfResearchSought_Check.replace(/^\s*/, "").replace(/\s*$/, "");
          if ((NatureOfResearchSought_Check_Format.length < 3) || (NatureOfResearchSought_Check.length > 50)){
               ProcessForm = false;
               alert("Please enter valid information for Nature of Research Sought.");
               document.FastLegalResearchExistingClients.elements["NatureOfResearchSought"].focus();
          }
     }

     if (ProcessForm == true){
          var DoesThisMatterInvolvePendingLitigation_Check = document.FastLegalResearchExistingClients.DoesThisMatterInvolvePendingLitigation.options[document.FastLegalResearchExistingClients.DoesThisMatterInvolvePendingLitigation.selectedIndex].value;
          if ((DoesThisMatterInvolvePendingLitigation_Check == "") || (DoesThisMatterInvolvePendingLitigation_Check.length > 5)){
               ProcessForm = false;
               alert("Please select an answer for Does This Matter Involve Pending Litigation.");
               document.FastLegalResearchExistingClients.DoesThisMatterInvolvePendingLitigation.focus();
          }
     }

     if (ProcessForm == true){
          var CaseNumber_Check = document.FastLegalResearchExistingClients.elements["CaseNumber"].value;
          var CaseNumber_Check_Format = /^([0-9A-Za-z'#]+[\/]?[\.]?[\s]?)+([-0-9A-Za-z'#]+[\/]?[\.]?[\s]?)+([-0-9A-Za-z']+[\.]?)+$/;
          if ((DoesThisMatterInvolvePendingLitigation_Check == "Yes") && (!(CaseNumber_Check_Format.test(CaseNumber_Check)))){
               ProcessForm = false;
               alert("Please enter a valid Case Number.");
               document.FastLegalResearchExistingClients.elements["CaseNumber"].focus();
          }
     }

     if (ProcessForm == true){
          var PendingLitigationState_Check = document.FastLegalResearchExistingClients.PendingLitigationState.options[document.FastLegalResearchExistingClients.PendingLitigationState.selectedIndex].value;
          var PendingLitigationState_Check_Format = PendingLitigationState_Check.replace(/^\s*/, "").replace(/\s*$/, "");
          if ((DoesThisMatterInvolvePendingLitigation_Check == "Yes") && ((PendingLitigationState_Check_Format == "") || (PendingLitigationState_Check.length > 15))){
               ProcessForm = false;
               alert("Please select a valid State.");
               document.FastLegalResearchExistingClients.PendingLitigationState.focus();
          }
     }

     if (ProcessForm == true){
          var FederalJurisdiction_Check = document.FastLegalResearchExistingClients.FederalJurisdiction.options[document.FastLegalResearchExistingClients.FederalJurisdiction.selectedIndex].value;
          var FederalJurisdiction_Check_Format = FederalJurisdiction_Check.replace(/^\s*/, "").replace(/\s*$/, "");
          if ((DoesThisMatterInvolvePendingLitigation_Check == "Yes") && ((FederalJurisdiction_Check_Format == "") || (FederalJurisdiction_Check.length > 30))){
               ProcessForm = false;
               alert("Please select a valid Federal Jurisdiction.");
               document.FastLegalResearchExistingClients.FederalJurisdiction.focus();
          }
     }

     if (ProcessForm == true){
          var WhoAreTheOpposingParties_Check = document.FastLegalResearchExistingClients.elements["WhoAreTheOpposingParties"].value;
          var WhoAreTheOpposingParties_Check_Format = /^([0-9A-Za-z']+[\s]?)+(([-0-9A-Za-z']+[\.]?[\s]?)*([-0-9A-Za-z']+[\.]?)+)*$/;
          if ((DoesThisMatterInvolvePendingLitigation_Check == "Yes") && (!(WhoAreTheOpposingParties_Check_Format.test(WhoAreTheOpposingParties_Check)))){
               ProcessForm = false;
               alert("Please enter valid information for Who Are the Opposing Parties.");
               document.FastLegalResearchExistingClients.elements["WhoAreTheOpposingParties"].focus();
          }
     }

     if (ProcessForm == true){
          if ((DoesThisMatterInvolvePendingLitigation_Check == "No") && ((CaseNumber_Check != "") || (PendingLitigationState_Check != "") || (FederalJurisdiction_Check != "") || (WhoAreTheOpposingParties_Check != ""))){
               ProcessForm = false;
               alert("Please select \"Yes\" for \"Does This Matter Involve Pending Litigation?\" or clear the related fields.");
               document.FastLegalResearchExistingClients.DoesThisMatterInvolvePendingLitigation.focus();
          }
     }

     if (ProcessForm == true){
          var BriefExplanationOfResearchRequested_Check = document.FastLegalResearchExistingClients.elements["BriefExplanationOfResearchRequested"].value;
          var BriefExplanationOfResearchRequested_Check_Format = BriefExplanationOfResearchRequested_Check.replace(/^\s*/, "").replace(/\s*$/, "");
          if (BriefExplanationOfResearchRequested_Check_Format.length < 4){
               ProcessForm = false;
               alert("Please enter Brief Explanation of Research Requested text.");
               document.FastLegalResearchExistingClients.elements["BriefExplanationOfResearchRequested"].focus();
          }

          if ((ProcessForm == true) && (BriefExplanationOfResearchRequested_Check.length > 1500)){
               ProcessForm = false;
               alert("Please reduce the Brief Explanation of Research Requested text to under 1,500 characters.");
               document.FastLegalResearchExistingClients.elements["BriefExplanationOfResearchRequested"].focus();
          }
     }

     if (ProcessForm == true){
          var RequestedTurnAroundTime_Check = document.FastLegalResearchExistingClients.RequestedTurnAroundTime.options[document.FastLegalResearchExistingClients.RequestedTurnAroundTime.selectedIndex].value;
          if ((RequestedTurnAroundTime_Check == "") || (RequestedTurnAroundTime_Check.length > 10)){
               ProcessForm = false;
               alert("Please select a Requested Turn-Around Time.");
               document.FastLegalResearchExistingClients.RequestedTurnAroundTime.focus();
          }
     }

     if (ProcessForm == true){
          var RequestedTurnAroundTimeOther_Check = document.FastLegalResearchExistingClients.elements["RequestedTurnAroundTimeOther"].value;
          var RequestedTurnAroundTimeOther_Check_Format = /^([0-9A-Za-z']+[\s]?)+(([-0-9A-Za-z']+[\.]?[\s]?)*([-0-9A-Za-z']+[\.]?)+)*$/;
          if ((RequestedTurnAroundTime_Check == "Other") && (!(RequestedTurnAroundTimeOther_Check_Format.test(RequestedTurnAroundTimeOther_Check)))){
               ProcessForm = false;
               alert("Please enter valid information for Other.");
               document.FastLegalResearchExistingClients.elements["RequestedTurnAroundTimeOther"].focus();
          }
     }

     if (ProcessForm == true){
          if ((RequestedTurnAroundTime_Check != "Other") && (RequestedTurnAroundTimeOther_Check != "")){
               ProcessForm = false;
               alert("Please select \"Other\" for \"Requested Turn-Around Time\" or clear the related field.");
               document.FastLegalResearchExistingClients.RequestedTurnAroundTime.focus();
          }
     }

     if (ProcessForm == true){
          var AdditionalRelevantInformation_Check = document.FastLegalResearchExistingClients.elements["AdditionalRelevantInformation"].value;
          var AdditionalRelevantInformation_Check_Format = AdditionalRelevantInformation_Check.replace(/^\s*/, "").replace(/\s*$/, "");
          if (AdditionalRelevantInformation_Check_Format.length < 4){
               ProcessForm = false;
               alert("Please enter Additional Relevant Information text.");
               document.FastLegalResearchExistingClients.elements["AdditionalRelevantInformation"].focus();
          }

          if ((ProcessForm == true) && (AdditionalRelevantInformation_Check.length > 1500)){
               ProcessForm = false;
               alert("Please reduce the Additional Relevant Information text to under 1,500 characters.");
               document.FastLegalResearchExistingClients.elements["AdditionalRelevantInformation"].focus();
          }
     }

     if (ProcessForm == true){
          var AgreeToTerms_Check = document.FastLegalResearchExistingClients.AgreeToTerms.checked;
          if (AgreeToTerms_Check == false){
               ProcessForm = false;
               alert("Please read the terms of submission and then check off the checkbox.");
               document.FastLegalResearchExistingClients.AgreeToTerms.focus();
          }
     }

     if ((SubmitForm == true) && (ProcessForm == true)){
          document.FastLegalResearchExistingClients.elements["CheckSubmit"].value = "Verified";
          document.images["submit_form"].src = "images/button-submit_form-clicked.gif";
          document.FastLegalResearchExistingClients.submit();
          ProcessForm = false;
          SubmitForm = false;
     }
     return;
}

function Payments(){
     ProcessForm = true;

     var DescriptionOfServices_Check = document.Payments.elements["item_number"].value;
     var DescriptionOfServices_Check_Format = /^([A-Za-z0-9#']+[\s]?)+(([-A-Za-z0-9#',]+[\.]?[\s]?)*([-A-Za-z0-9#']+[\.]?)+)+$/;
     var DescriptionOfServices_Check_Format2 = DescriptionOfServices_Check.replace(/^\s*/, "").replace(/\s*$/, "");
     if ((!(DescriptionOfServices_Check_Format.test(DescriptionOfServices_Check))) || (DescriptionOfServices_Check_Format2.length < 4)){
          ProcessForm = false;
          alert("Please enter a valid Description of Services.");
          document.Payments.elements["item_number"].focus();
     }

     if (ProcessForm == true){
          var Amount_Check = document.Payments.elements["amount"].value;
          var Amount_Check_Format = /^[\$]?[1-9]{1,}[0-9]{0,10}([\.]{1}[0-9]{2})?$/;
          if (!(Amount_Check_Format.test(Amount_Check))){
               ProcessForm = false;
               alert("Please enter a valid Payment Amount.");
               document.Payments.elements["amount"].focus();
          }
     }

     if ((SubmitForm == true) && (ProcessForm == true)){
          var Business = "amrlawgroup.com";
          document.Payments.elements["amount"].value = Amount_Check.replace(/\$/,"");
          document.images["make_payment"].src = "images/button-make_payment-clicked.gif";
          Business = "payments" + "@" + Business;
          document.Payments.elements["business"].value = Business;
          document.Payments.submit();
          ProcessForm = false;
          SubmitForm = false;
     }
     return;
}

function DigitalDownloads(Title, Price, DigitalDownloadID){
     ProcessForm = true;

     if ((SubmitForm == true) && (ProcessForm == true)){
          var Business = "amrlawgroup.com";
          document.DigitalDownloads.elements["amount"].value = Price;
          document.DigitalDownloads.elements["item_number"].value = Title;
          document.images["purchase_file" + DigitalDownloadID].src = "images/button-purchase_file-clicked.gif";
          Business = "digital_downloads" + "@" + Business;
          document.DigitalDownloads.elements["business"].value = Business;
          document.DigitalDownloads.submit();
          ProcessForm = false;
          SubmitForm = false;
     }
     return;
}

function DigitalDownloadsFileAccess(){
     ProcessForm = true;

     var Account_Check = document.DigitalDownloadsFileAccess.elements["Account"].value;
     var Account_Check_Format = /^([0-9a-z-]+\.)*[_0-9a-z-]+@([0-9a-z][0-9a-z-]+\.)+[a-z]{2,4}$/;
     if (!(Account_Check_Format.test(Account_Check))){
          ProcessForm = false;
          alert("Please enter a valid Account.");
          document.DigitalDownloadsFileAccess.elements["Account"].focus();
     }

     if (ProcessForm == true){
          var TransactionID_Check = document.DigitalDownloadsFileAccess.elements["TransactionID"].value;
          var TransactionID_Check_Format = /^[0-9A-Za-z-_]{5,75}$/;
          if (!(TransactionID_Check_Format.test(TransactionID_Check))){
               ProcessForm = false;
               alert("Please enter a valid Transaction ID.");
               document.DigitalDownloadsFileAccess.elements["TransactionID"].focus();
          }
     }

     if ((SubmitForm == true) && (ProcessForm == true)){
          document.DigitalDownloadsFileAccess.elements["CheckSubmit"].value = "Verified";
          document.images["submit_form"].src = "images/button-submit_form-clicked.gif";
          document.DigitalDownloadsFileAccess.submit();
          ProcessForm = false;
          SubmitForm = false;
     }
     return;
}

function Contact_Us(){
     ProcessForm = true;

     var Name_Check = document.ContactUs.elements["Name"].value;
     var Name_Check_Format = /^([A-Za-z']+[\s]?)+(([-A-Za-z']+[\.]?[\s]?)*([-A-Za-z']+[\.]?)+)*$/;
     if (!(Name_Check_Format.test(Name_Check))){
          ProcessForm = false;
          alert("Please enter a valid Name.");
          document.ContactUs.elements["Name"].focus();
     }

     if (ProcessForm == true){
          var AddressLine1_Check = document.ContactUs.elements["AddressLine1"].value;
          var AddressLine1_Check_Format = /^([0-9A-Za-z'#]+[\/]?[\.]?[\s]?)+([-0-9A-Za-z'#]+[\/]?[\.]?[\s]?)+([-0-9A-Za-z']+[\.]?)+$/;
          if ((AddressLine1_Check != "") && (!(AddressLine1_Check_Format.test(AddressLine1_Check)))){
               ProcessForm = false;
               alert("Please enter valid information for Address Line 1.");
               document.ContactUs.elements["AddressLine1"].focus();
          }
     }

     if (ProcessForm == true){
          var AddressLine2_Check = document.ContactUs.elements["AddressLine2"].value;
          var AddressLine2_Check_Format = /^([0-9A-Za-z'#]+[\/]?[\.]?[\s]?)+([-0-9A-Za-z'#]+[\/]?[\.]?[\s]?)+([-0-9A-Za-z']+[\.]?)+$/;
          if ((AddressLine2_Check != "") && (!(AddressLine2_Check_Format.test(AddressLine2_Check)))){
               ProcessForm = false;
               alert("Please enter valid information for Address Line 2.");
               document.ContactUs.elements["AddressLine2"].focus();
          }
     }

     if (ProcessForm == true){
          if ((AddressLine1_Check == "") && (AddressLine2_Check != "")){
               ProcessForm = false;
               alert("Please enter valid information for Address Line 1.");
               document.ContactUs.elements["AddressLine1"].focus();
          }
     }

     if (ProcessForm == true){
          var City_Check = document.ContactUs.elements["City"].value;
          var City_Check_Format = /^([A-Za-z']+[\s]?)+(([-A-Za-z']+[\.]?[\s]?)*([-A-Za-z']+[\.]?)+)*$/;
          if ((City_Check != "") && (!(City_Check_Format.test(City_Check)))){
               ProcessForm = false;
               alert("Please enter a valid City.");
               document.ContactUs.elements["City"].focus();
          }
     }

     if (ProcessForm == true){
          var ZipCode_Check = document.ContactUs.elements["ZipCode"].value;
          var ZipCode_Check_Format = /^[0-9]{5}([-][0-9]{4})?$/;
          if ((ZipCode_Check != "") && (!(ZipCode_Check_Format.test(ZipCode_Check)))){
               ProcessForm = false;
               alert("Please enter a valid Zip Code.");
               document.ContactUs.elements["ZipCode"].focus();
          }
     }

     if (ProcessForm == true){
          var EmailAddress_Check = document.ContactUs.elements["EmailAddress"].value;
          var EmailAddress_Check_Format = /^([0-9a-z-]+\.)*[_0-9a-z-]+@([0-9a-z][0-9a-z-]+\.)+[a-z]{2,4}$/;
          if (!(EmailAddress_Check_Format.test(EmailAddress_Check))){
               ProcessForm = false;
               alert("Please enter a valid E-mail Address.");
               document.ContactUs.elements["EmailAddress"].focus();
          }
     }

     if (ProcessForm == true){
          var Comments_Check = document.ContactUs.elements["Comments"].value;
          var Comments_Check_Format = Comments_Check.replace(/^\s*/, "").replace(/\s*$/, "");
          if (Comments_Check_Format.length < 4){
               ProcessForm = false;
               alert("Please enter Comments text.");
               document.ContactUs.elements["Comments"].focus();
          }

          if ((ProcessForm == true) && (Comments_Check.length > 1500)){
               ProcessForm = false;
               alert("Please reduce the Comments text to under 1,500 characters.");
               document.ContactUs.elements["Comments"].focus();
          }
     }

     if ((SubmitForm == true) && (ProcessForm == true)){
          document.ContactUs.elements["CheckSubmit"].value = "Verified";
          document.images["submit_form"].src = "images/button-submit_form-clicked.gif";
          document.ContactUs.submit();
          ProcessForm = false;
          SubmitForm = false;
     }
     return;
}