function CheckLaclede()
{
  var zs1 = new String(document.login_form.areac.value); 
  if (zs1.length != 3)
  {
    alert('You must enter a valid 3 digit area code to proceed');
    document.login_form.areac.focus();
    return;
  }
  var zs2 = new String(document.login_form.zipc.value); 
  if (zs2.length != 5)
  {
    alert('You must enter a 5 digit ZIP code to proceed');
    document.login_form.zip.focus();
    return;
  }
  if (! document.login_form.termsagree.checked)
  {
    alert('You must agree to our terms and conditions to proceed to the calculations.');
    document.login_form.terms.focus();
    return;
  }
  if (zs1 != "314" && zs1 != "636" && zs1 != "573")
  {
    alert('Sorry, your area code is not eligible to proceed');
    document.login_form.areac.focus();
    return;
  }
  var zc3 = zs2.substr(0,3);
  if (zc3 != "630" && zc3 != "631" && zc3 != "633")
  {
    alert('Sorry, your ZIP code is not eligible to proceed');
    document.login_form.areac.focus();
    return;
  }
  document.login_form.submit();
}

