HEX
Server: Apache/2.4.41
System: Linux mainweb 5.4.0-182-generic #202-Ubuntu SMP Fri Apr 26 12:29:36 UTC 2024 x86_64
User: nationalmedicaregrp (1119)
PHP: 8.3.7
Disabled: exec,passthru,shell_exec,system,popen,proc_open,pcntl_exec
Upload Files
File: /home/findingaffordablehealthbenefits/backup/index.php
<?php
//Ip Function
function getClientIp()
{
  $ipaddress = '';
  if (getenv('HTTP_CLIENT_IP'))
    $ipaddress = getenv('HTTP_CLIENT_IP');
  else if (getenv('HTTP_X_FORWARDED_FOR'))
    $ipaddress = getenv('HTTP_X_FORWARDED_FOR');
  else if (getenv('HTTP_X_FORWARDED'))
    $ipaddress = getenv('HTTP_X_FORWARDED');
  else if (getenv('HTTP_FORWARDED_FOR'))
    $ipaddress = getenv('HTTP_FORWARDED_FOR');
  else if (getenv('HTTP_FORWARDED'))
    $ipaddress = getenv('HTTP_FORWARDED');
  else if (getenv('REMOTE_ADDR'))
    $ipaddress = getenv('REMOTE_ADDR');
  else
    $ipaddress = 'UNKNOWN';
  return $ipaddress;
}
?>


<?php
$actual_link = "http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";

?>


<!DOCTYPE html>
<html lang="en">

<head>


  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link rel="shortcut icon" href="./assets/img/favicon.png">
  <title>Value Health Quotes</title>
  <link rel="stylesheet" href="./assets/css/plugins.css">
  <link rel="stylesheet" href="./assets/css/style.css">
  <link rel="stylesheet" href="./assets/css/aqua.css">

  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.19.3/jquery.validate.min.js" integrity="sha512-37T7leoNS06R80c8Ulq7cdCDU5MNQBwlYoy1TX/WUsLFC2eYNqtKlV0QjH7r8JpG/S0GUMZwebnVFLPd6SU5yg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.4.1/jquery.easing.min.js" integrity="sha512-0QbL0ph8Tc8g5bLhfVzSqxe9GERORsKhIn1IrpxDAgUsbBGz/V7iSav2zzW325XGd1OMLdL4UiqRJj702IeqnQ==" crossorigin="anonymous"></script>




  <script src="./assets/js/dobpicker.js"></script>

<style>

.tawk-card {
  display: none !important;
}

.modal {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(77, 77, 77, .7);
  transition: all .4s;
}

.modal:target {
  visibility: visible;
  opacity: 1;
}

.modal__content {
  border-radius: 4px;
  position: relative;
  width: 500px;
  max-width: 90%;
  background: #fff;
  padding: 1em 2em;
}

.modal__footer {
  text-align: right;
  a {
    color: #585858;
  }
  i {
    color: #d02d2c;
  }
}
.modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  color: #585858;
  text-decoration: none;
}


</style>


</head>




<header class="wrapper bg-light">
  <div class="bg-primary text-white fw-bold fs-15">
    <div class="container py-1 d-md-flex flex-md-row">

      <div class="d-flex flex-row align-items-center me-0 ms-auto" style="margin: auto !important;">
        <div class="icon text-white fs-22 mt-1 me-2 d-flex justify-content-center"> <i class="uil uil-phone-volume"></i></div>
        <p class="mb-0 text-center"><a href="Tel: (855) 805-6712" style="color: #ffffff">Speak to a Licensed Agent Now!</a></p>
      </div>

    </div>
    <!-- /.container -->
  </div>
  <nav class="navbar navbar-expand-lg center-nav transparent navbar-light">
    <div class="container d-flex justify-content-center">
      <div class="navbar-brand">
        <a href="/">
          <img src="./assets/img/logo.svg" srcset="./assets/img/[email protected] 2x" style="width: 100%;" alt="">
        </a>
      </div>
      <div class="navbar-collapse offcanvas-nav">
        <div class="offcanvas-header d-lg-none d-xl-none">
          <a href="/">
            <img src="./assets/img/logo.svg" srcset="./assets/img/[email protected] 2x" style="width:100% important;" alt="">
          </a>
          <button type="button" class="btn-close btn-close-white offcanvas-close offcanvas-nav-close" aria-label="Close"></button>
        </div>

        <!-- /.navbar-nav -->
      </div>
      <!-- /.navbar-collapse -->
      <div class="navbar-other w-100 d-flex ms-auto">
        <ul class="navbar-nav flex-row align-items-center ms-auto" data-sm-skip="true">

          <li class="nav-item d-none d-md-block">

            <a href="Tel: (855) 805-6712" class="btn btn-primary rounded-pill mb-0">Call Now: (855) 805-6712</a>
          </li>

        </ul>
        <!-- /.navbar-nav -->
      </div>
      <!-- /.navbar-other -->
    </div>
    <!-- /.container -->  
  </nav>
  <!-- /.navbar -->
</header>
<!-- /header -->



<body>

<div class="container-fluid bg-gradient-primary">




<script defer id="convertmore" src="https://convertmore-js.s3-eu-west-1.amazonaws.com/js/convertmore-load.js"></script> 



  <section class="wrapper">
    <div class="container pt-10 pt-md-14 pb-8 text-center">
      <div class="row gx-lg-8 gx-xl-12 gy-10 align-items-center">
        <div class="col-lg-7">
          <figure><img class="w-auto" src="./assets/img/home-1.svg" alt="" /></figure>
        </div>
        <!-- /column -->
        <div class="col-md-10 offset-md-1 offset-lg-0 col-lg-5 text-center text-lg-start">
          <h1 class="display-1 mb-5 mx-md-n5 mx-lg-0">Compare Plans! Find Your Perfect Health Coverage Today!
          </h1>
          <p class="lead fs-lg mb-7">Enter your zip code to quickly compare your healthcare options. Quotes are fast, easy & free.

          </p>

          <form action="form.php" name="valform" id="valForm" method="post">

            <div class="form-floating input-group">
              <input type="text" class="form-control numer" placeholder="Enter Your Zip Code" name="zipCode" id="zipCode" onkeyup="zipCodeLookup(1);" maxlength="5" minlength="5">
              <input id="city" class="city" name="city" type="hidden">
              <input id="state" class="state" name="state" type="hidden">
              <label for="seo-check">Enter Your Zipcode</label>

              <button type="submit" id="submitButton" name="send" class="btn btn-primary" style="text-transform: uppercase;  border-radius: 0 8px 8px 0 !important;">
                Find Plans<span id="displayLocation" class="displayLocation2"></span></button>

              <span id="errorZip" style="display:none" class="customHelpClass">Please enter a valid Zip Code</span>


            </div>
          </form>


          <div class="d-flex justify-content-center">

            <div class="row ">


              <div class="col-md-12">

                <img src="./assets/img/guaranteed.svg" width="80px" height="80px" style="padding: 4px" alt="" />


                <img src="./assets/img/secure-ssl.png" width="103px" height="51px" style="padding: 4px" alt="" />

              </div>
            </div>
          </div>



        </div>
        <!-- /column -->
      </div>
      <!-- /.row -->
    </div>
    <!-- /.container -->
  </section>




  <!-- /section -->
  <section class="wrapper bg-light angled upper-start lower-start">
    <div class="container py-5 pt-md-17 pb-md-2">
      <div class="row gx-md-8 gx-xl-12 gy-10 mb-6 mb-md-18 align-items-center">
        <div class="col-lg-6 order-lg-2">
          <div class="card shadow-lg me-lg-6">
            <div class="card-body p-6">
              <div class="d-flex flex-row">
                <div>
                  <span class="icon btn btn-circle btn-lg btn-soft-primary disabled me-4"><span class="number">01</span></span>
                </div>
                <div>
                  <h4 class="mb-1"> Fill Out A Quick Form</h4>
                  <p class="mb-0">To get started, we ask a few easy-to-answer questions to help find your most affordable healthcare options.

                  </p>
                </div>
              </div>
            </div>
            <!--/.card-body -->
          </div>
          <!--/.card -->
          <div class="card shadow-lg ms-lg-13 mt-6">
            <div class="card-body p-6">
              <div class="d-flex flex-row">
                <div>
                  <span class="icon btn btn-circle btn-lg btn-soft-primary disabled me-4"><span class="number">02</span></span>
                </div>
                <div>
                  <h4 class="mb-1"> Review Your Options</h4>
                  <p class="mb-0">Sit back and enjoy as a licensed agent evaluates your affordable health plan options.</p>
                </div>
              </div>
            </div>
            <!--/.card-body -->
          </div>
          <!--/.card -->
          <div class="card shadow-lg mx-lg-6 mt-6">
            <div class="card-body p-6">
              <div class="d-flex flex-row">
                <div>
                  <span class="icon btn btn-circle btn-lg btn-soft-primary disabled me-4"><span class="number">03</span></span>
                </div>
                <div>
                  <h4 class="mb-1">Select Your Plan</h4>
                  <p class="mb-0">Have a health insurance agent help you instantly review plans and understand your coverage options.</p>
                </div>
              </div>
            </div>
            <!--/.card-body -->
          </div>
          <!--/.card -->
        </div>
        <!--/column -->
        <div class="col-lg-6">
          <h2 class="fs-16 text-uppercase text-muted mb-3">Health Insurance</h2>
          <h3 class="display-4 mb-5">Affordable health insurance options for any budget.</h3>
          <p>Finding the right health insurance plan doesn’t need to be difficult or frustrating. In fact, it should be as quick and painless as buying anything else online. At Healthcare Quotes, we aim to streamline the healthcare shopping process by connecting you to health insurance agents for affordable coverage options that fit your needs and budget.

          </p>
          <a href="/form.php" class="btn btn-primary rounded-pill mb-0">Get Quote</a>
        </div>
        <!--/column -->
      </div>
      <!--/.row -->

    </div>
    <!-- /.container -->
  </section>




  <section class="wrapper bg-gradient-reverse-primary">
    <div class="container pb-16 pt-16 py-md-29">
      <div class="row gx-lg-8 gx-xl-12 gy-10 mb-8 align-items-center">
        <div class="col-lg-7 order-lg-2">
          <figure><img class="w-auto" src="./assets/img/home-2.svg" alt=""></figure>
        </div>
        <!--/column -->
        <div class="col-lg-5">
          <h2 class="fs-16 text-uppercase text-muted mb-3 pt-8">Compare Plans</h2>
          <h3 class="display-5 mb-5">Enter your zip code to quickly compare your healthcare options. Quotes are fast, easy & free.</h3>
          <p class="mb-7">Review affordable health plan options with knowledgeable health insurance agents from Precision Insurance Providers and start the process for getting coverage. Your search for an affordable healthcare plan is only a few steps away. Just enter your zip code to get started.</p>
          <div class="row">
            <div class="col-lg-9">

              <form action="form.php" name="valform2" id="valForm2" method="post">
                <div class="form-floating input-group">
                  <input type="text" class="form-control numer zipCode2" placeholder="Enter Your Zip Code" name="zipCode" id="zipCode2" onkeyup="zipCodeLookup(2);" maxlength="5" minlength="5">
                  <input id="city" class="city" name="city" type="hidden">
                  <input id="state" class="state" name="state" type="hidden">
                  <label for="seo-check">Enter Your Zipcode</label>

                  <button type="submit" id="submitButton" name="send" class="btn btn-primary" style=" border-radius: 0 8px 8px 0 !important;" minlength="5" maxlength="5">
                    Find Plans<span id="displayLocation" class="displayLocation"></span></button>

                  <span id="errorZip" style="display:none" class="customHelpClass">Please enter a valid Zip Code</span>

                </div>
              </form>
            </div>
            <!-- /column -->
          </div>
          <!-- /.row -->
        </div>
        <!--/column -->
      </div>
      <!--/.row -->
    </div>
    <!-- /.container -->
  </section>



  <!-- /section -->
  <section class="wrapper bg-light">
    <div class="container pt-14 pt-md-16">
      <div class="row text-center">
        <div class="col-md-10 offset-md-1 col-lg-8 offset-lg-2">
          <h2 class="fs-16 text-uppercase text-muted mb-3">What We Do?</h2>
          <h3 class="display-4 mb-10 px-xl-10">The service we offer is specifically designed to meet your needs.</h3>
        </div>
        <!-- /column -->
      </div>
      <!-- /.row -->
      <div class="position-relative">
        <div class="shape rounded-circle bg-soft-blue rellax w-16 h-16" data-rellax-speed="1" style="bottom: -0.5rem; right: -2.2rem; z-index: 0;"></div>
        <div class="shape bg-dot primary rellax w-16 h-17" data-rellax-speed="1" style="top: -0.5rem; left: -2.5rem; z-index: 0;"></div>
        <div class="row gx-md-5 gy-5 text-center">
          <div class="col-md-6 col-xl-6">
            <div class="card shadow-lg">
              <div class="card-body">
                <img src="./assets/img/icons/heartbeat.svg" class="svg-inject icon-svg icon-svg-md text-yellow mb-3" alt="" />
                <h4>Health</h4>
                <p class="mb-2">Health insurance is a type of insurance coverage that pays for medical and surgical expenses incurred by the insured. Health insurance can reimburse the insured for expenses incurred from illness or injury, or pay the care provider directly.
                </p>
                <a href="form.php" class="more hover link-blue">Get Quote</a>
              </div>
              <!--/.card-body -->
            </div>
            <!--/.card -->
          </div>
          <!--/column -->
          <div class="col-md-6 col-xl-6">
            <div class="card shadow-lg">
              <div class="card-body">
                <img src="./assets/img/icons/medicine.svg" class="svg-inject icon-svg icon-svg-md text-red mb-3" alt="" />
                <h4>Prescription</h4>
                <p class="mb-2">To get maximum benefit from your medications, it is important to take them exactly as prescribed by your doctor. In fact, your chance of a better health outcome improves when you take your medications as directed.</p>
                <a href="form.php" class="more hover link-blue">Get Quote</a>
              </div>
              <!--/.card-body -->
            </div>
            <!--/.card -->
          </div>
          <!--/column -->
          <div class="col-md-6 col-xl-6">
            <div class="card shadow-lg">
              <div class="card-body">
                <img src="./assets/img/icons/briefcase.svg" class="svg-inject icon-svg icon-svg-md text-green mb-3" alt="" />
                <h4>Life</h4>
                <p class="mb-2">Life insurance is a protection against financial loss that would result from the premature death of an insured. The named beneficiary receives the proceeds and is thereby safeguarded from the financial impact of the death of the insured.

                </p>
                <a href="form.php" class="more hover link-blue">Get Quote</a>
              </div>
              <!--/.card-body -->
            </div>
            <!--/.card -->
          </div>
          <!--/column -->
          <div class="col-md-6 col-xl-6">
            <div class="card shadow-lg">
              <div class="card-body">
                <img src="./assets/img/icons/dental-insurance.svg" class="svg-inject icon-svg icon-svg-md text-blue mb-3" alt="" />
                <h4>Dental</h4>
                <p class="mb-2">Insurance coverage helps individuals protect themselves against dental costs. It insures against the expense of treatment and care of dental disease as well as accidental damage. This is designed to pay a portion of the costs associated with dental care. </p>
                <a href="form.php" class="more hover link-blue">Get Quote</a>
              </div>
              <!--/.card-body -->
            </div>
            <!--/.card -->
          </div>
          <!--/column -->
        </div>
        <!--/.row -->
      </div>
      <!-- /.position-relative -->
    </div>
    <!-- /.container -->
  </section>
  <!-- /section -->




  <section class="wrapper bg-gradient-primary pt-md-18 mt-md-16">
    <div class="container py-14 pt-md-24 pb-md-18">
      <div class="position-relative mt-lg-n23 mt-xl-n25">
        <div class="row text-center">
          <div class="col-lg-6 mx-auto">
            <h3 class="display-4 mb-10">Compare Plans! Find Your Perfect Health Coverage Today!</h3>
          </div>
          <!-- /column -->
        </div>
        <!-- /.row -->
        <div class="position-relative">
          <div class="shape bg-dot blue rellax w-16 h-17" data-rellax-speed="1" style="bottom: 0.5rem; right: -1.7rem; z-index: 0; transform: translate3d(0px, 40px, 0px);"></div>
          <div class="shape rounded-circle bg-line red rellax w-16 h-16" data-rellax-speed="1" style="top: 0.5rem; left: -1.7rem; z-index: 0; transform: translate3d(0px, 1px, 0px);"></div>
          <div class="row grid-view gy-6 gy-xl-0">
            <div class="col-md-6 col-xl-4">
              <div class="card shadow-lg">
                <div class="card-body">
                  <img class="rounded-circle w-15 mb-4" src="./assets/img/avatars/te1.jpg" srcset="./assets/img/avatars/[email protected] 2x" alt="">
                  <h4 class="mb-1">Open Enrollment Period </h4>
                  <p class="mb-2">Open Enrollment is an annual period when individuals can enroll in a health insurance plan, make changes to their coverage, or cancel their current plan. General Open Enrollment in the Health Insurance Marketplace takes place from November 1st – December 15th, with all plans effective January 1st of the following year.

                  </p>

                  <!-- /.social -->
                </div>
                <!--/.card-body -->
              </div>
              <!-- /.card -->
            </div>
            <!--/column -->
            <div class="col-md-6 col-xl-4">
              <div class="card shadow-lg">
                <div class="card-body">
                  <img class="rounded-circle w-15 mb-4" src="./assets/img/avatars/te2.jpg" srcset="./assets/img/avatars/[email protected] 2x" alt="">
                  <h4 class="mb-1">The Affordable Care Act
                  </h4>
                  <p class="mb-2">Also known as Obamacare, The ACA is a healthcare reform intended on making healthcare more accessible and affordable to millions across the Nation. Obamacare plans are offered on healthcare.gov and have specific coverages that are priced based on age, household size, income, and smoking status.

                  </p>

                  <!-- /.social -->
                </div>
                <!--/.card-body -->
              </div>
              <!-- /.card -->
            </div>
            <!--/column -->
            <div class="col-md-6 col-xl-4">
              <div class="card shadow-lg">
                <div class="card-body">
                  <img class="rounded-circle w-15 mb-4" src="./assets/img/avatars/te3.jpg" srcset="./assets/img/avatars/[email protected] 2x" alt="">
                  <h4 class="mb-1">Special Enrollment Period
                  </h4>
                  <p class="mb-2">To enroll in an Obamacare plan outside of open enrollment you will need to qualify for a special
                    enrollment period based on a life-changing event (i.e. loss of job, new child, recently moved, and various other
                    qualifying events). A Special Enrollment Period may let you enroll in coverage outside the annual Open Enrollment Period.</p>

                  <!-- /.social -->
                </div>

                <!--/.card-body -->
              </div>
              <!-- /.card -->
            </div>
            <!--/column -->

            <div class="row" style="margin-top: 30px;">
              <div class="col-md-12 text-center">

                <a href="/form.php" class="btn btn-primary rounded-pill mb-0">Get Your Quote Now!</a>

              </div>
            </div>



            <!--/column -->
          </div>
          <!--/.row -->
        </div>
        <!-- /.position-relative -->
      </div>
      <!-- /div -->
    </div>
    <!-- /.container -->
  </section>


 

<div id="demo-modal" class="modal">
    <div class="modal__content">
        <h1>Marketing Partners</h1>

        <ul>
  <li>National Health Plans, LLC.</li>
  <li>Alternative Alpha Health, LLC.</li>
  <li> National Health Agents</li>
  <li> Fuego Leads, LLC.</li>
  <li> Alliance National Health</li>
  <li> New Age Health</li>
  <li>Trusted Healthcare Providers, LLC.</li>
  <li>America's Health Center, Inc.</li>
  <li> America's Health Providers</li>
  <li> Precision Insurance Providers, LLC.</li>
  <li> Precision Healthcare Providers</li>
  <li> HIC Marketing Group, LLC.</li>
  <li>  Quotehound, Inc.</li>
  <li>  Premier Health Associates</li>
  <li>  Affordable Health Group</li>
  <li>  Genesis Marketing Group</li>
  <li>  Reasonable Insurance Group</li>
  <li>  Reasonable Health Coverage</li>
  <li>  Get Me Healthcare </li>
</ul>

        <a href="#" class="modal__close">&times;</a>
    </div>
</div>
  
  <section class="wrapper bg-gradient-primary" style="">
    <div class="container py-md-12">
        <div class="row text-center">
          <div class="col-lg-12 mx-auto">
        <p>  By entering a phone number and email address, submitting this form and Clicking "Get Quotes, you represent that you are at least 18 years old and agree to our Privacy Policy and Terms of Use. You also authorize
valuehealthquotes.com and/or its <a href="#demo-modal">marketing partners</a> to contact you for marketing/telemarketing purposes at the number and address provided above, inclding your wireless number if provided, using live
operators, automated telephone dialing systems, pre-recorded messages, text messages and/or emails, even if the number you provide is on a state or Federal Do Not Call registry. You are not required to
consent as a condition of purchasing goods or services and may revoke consent at anytime. Value Health Quotes has the option to send communication such as texting via a short code and will not allow third parties to send messages or communications on their behalf.</p>

<p>Value Health Quotes is an independent website and is not a federal or state Marketplace website. Value Health Quotes does not provide quotes or sell insurance directly to consumers, is not affiliated with
any exchange, and is not a licensed insurance agent or broker. Accordingly, you should not send us (via mail or email) any sensitive information, including personal health information or applications. Any
such communications will not be treated as confidential and will be discarded, as, in offering this website, we are required to comply with the standards established under 45 CFR 155.260 to protect the privacy and security of personally identifiable information.   </p>       

</div>
          <!-- /column -->
        </div>
        <!-- /.row -->
       
        <!-- /.position-relative -->
      <!-- /div -->
    </div>
    <!-- /.container -->
  </section>


  </div>




  <!-- /.content-wrapper -->
  <footer class="bg-navy text-inverse text-center">
    <div class="container pt-4">

      <!--/div -->
      <div class="row gy-6 gy-lg-0">
        <div class="col-md-12 col-lg-12">
          <div class="widget">
            <p class="mb-4">©Value Health Quotes 2019-2021 All Rights Reserved Powered by Precision Insurance Providers LLC <a href="/privacy.php"> Privacy Policy </a> | <a href="/terms.php">Terms of Service </a></p>

            <!-- /.social -->
          </div>
          <!-- /.widget -->
        </div>
        <!-- /column -->


        <!-- /column -->
      </div>
      <!--/.row -->
    </div>
    <!-- /.container -->
  </footer>
  <div class="progress-wrap">
    <svg class="progress-circle svg-content" width="100%" height="100%" viewBox="-1 -1 102 102">
      <path d="M50,1 a49,49 0 0,1 0,98 a49,49 0 0,1 0,-98" />
    </svg>
  </div>
  <script src="./assets/js/plugins.js"></script>
  <script src="./assets/js/theme.js"></script>
</body>

</html>



<script>
  $("#errorZip").css({
    "color": "#ef0303",
    "background-color": "#ffe9e9",
    "font-size": "22px",
    "font-weight": "600",
    "padding": "0 14px 0 14px",
    "margin-top": "5px"
  });
</script>


<script>
  /* FORM FIELD FUNCTIONS */

  $(document)
    .on('keydown', '.alpha', function(e) {
      var a = e.key;
      if (a.length == 1) return /[a-z]|\$|#|\*/i.test(a);
      return true;
    })


  $(document)
    .on('keydown', '.numer', function(e) {
      var a = e.key;
      if (a.length == 1) return /[0-9]|\$|#|\*/i.test(a);
      return true;
    })

  // now the digit 0 on your mask pattern will be interpreted
  // as valid characters like 0,1,2,3,4,5,6,7,8,9 and *
</script>



<script>
  /*-----------------------------------------------------------------------*/
  /*---------------------------- jQuery Validation ------------------------*/
  /*-----------------------------------------------------------------------*/



  /* ZIPCODE */


  $('#zipCode').on("input", function() {
    var zipCode = $('#zipCode').val();
    if (zipCode.length == 5) {
      $.ajax({
        type: 'GET',
        url: 'https://ziplookup.visualyzers.com/Ziplookup?zipcode=' + zipCode,
        success: function(results) {
          if (!results) {
            $('#errorZip').show();
            $('#submitButton').prop("disabled", true);
          } else {
            $('#city').val(results.city);
            $('#state').val(results.state);
            $('#errorZip').hide();
            $('#submitButton').prop("disabled", false);
          }

        }
      })
    }
  });


  var form = $("#valForm");
  form.validate({
    errorPlacement: function errorPlacement(error, element) {
      element.before(error);
    },
    rules: {

      zipCode: {
        required: true,
        minlength: 5,
        maxlength: 5
      }
    },

    messages: {
      zipCode: {
        required: "Please enter a valid Zip Code"
      }

    },

  });

  /*-----------------------------------------------------------------------*/
  /*---------------------------- jQuery Validation ------------------------*/
  /*-----------------------------------------------------------------------*/




  $('#zipCode2').on("input", function() {
    var zipCode = $('#zipCode2').val();
    if (zipCode.length == 5) {
      $.ajax({
        type: 'GET',
        url: 'https://ziplookup.visualyzers.com/Ziplookup?zipcode=' + zipCode,
        success: function(results) {
          if (!results) {
            $('#errorZip').show();
            $('#submitButton').prop("disabled", true);
          } else {
            $('#city2').val(results.city);
            $('#state2').val(results.state);
            $('#errorZip').hide();
            $('#submitButton').prop("disabled", false);
          }

        }
      })
    }
  });





  var form = $("#valForm2");
  form.validate({
    errorPlacement: function errorPlacement(error, element) {
      element.before(error);
    },
    rules: {

      zipCode: {
        required: true,
        minlength: 5,
        maxlength: 5
      }
    },

    messages: {
      zipCode: {
        required: "Please enter a valid Zip Code"
      }

    },

  });
</script>