applynow.chase.com Open in urlscan Pro
159.53.84.141  Public Scan

Submitted URL: https://email-marriott.com/T/v70000018187f022e09d457a6e96c65848/8221e3a8617f4c5f0000021ef3a0bcdc/8221e3a8-617f-4c5f-84ff-83...
Effective URL: https://applynow.chase.com/FlexAppWeb/renderApp.do?SPID=GV4S&PROMO=DF01&CELL=6V8Z&alt_cust_id=1394487BC6E92A98287DFD74F6E5F...
Submission: On June 21 via api from US — Scanned from DE

Form analysis 1 forms found in the DOM

POST /FlexAppWeb/verifyApp.do

<form id="appForm" action="/FlexAppWeb/verifyApp.do" method="post" novalidate="" autocomplete="off">
  <input type="hidden" id="sPTIndicator" name="sPTIndicator" value="N" autocomplete="no-autofill-this">
  <!--  Removal of Scrollable Pricing and Terms - End -->
  <div id="pageid-100-container" class="page-border">
    <div>
      <div class="jpui-container">
        <div class="clearfix jpui-col-lg-12 chaseui-header">
          <div class="jpui-col-lg-2 jpui-col-md-3 jpui-col-sm-3 jpui-col-xs-5">
            <div class="chaseui-pagelogo">
              <img src="image/BONVOY_LOGO_2C_BLACK_RGB_rsp.jpg" alt="Marriott" border="0" title="Marriott">
            </div>
          </div>
          <div class="jpui-col-lg-2 jpui-col-md-3 jpui-col-sm-3 jpui-col-xs-5 jpui-col-last">
            <div class="chaseutil-right">
              <img src="image/Chase_logo_0001_CMYK.png" alt="Chase" title="Chase">
            </div>
            <div class="chaseui-securemsg chaseutil-right">
              <span class="jpui-col-xs-hide" style="color:black;"><img height="17px" src="https://applynow.chase.com/image/lock-black.png" alt="secure lock icon"> SECURE RESPONSE</span>
              <div>
                <a onclick="OpenPopUp('https://www.chase.com/ccp/index.jsp?pg_name=ccpmapp/privacy_security/protection/page/chase-protects');return false;" class="chaseanalytics-track-link" data-pt-name="cc_tn_protectinfo" title="Opens new window" href="https://www.chase.com/ccp/index.jsp?pg_name=ccpmapp/privacy_security/protection/page/chase-protects" style="color:black;">
								<span class="jpui-col-xs-hide">We protect your information</span> <span class="jpui-col-xs-show"><img height="17px" src="https://applynow.chase.com/image/lock-black.png" alt="secure lock icon"></span> </a>
              </div>
            </div>
          </div>
        </div>
        <div class="clearfix jpui-col-lg-12 chaseui-body">
          <!-- isDisneyIpadApp is false -->
          <div class="chaseui-contentarea jpui-col-lg-12 jpui-application-step jpui-step-1 first" id="step1">
            <div class="chaseui-card-title" style="background-color: #03345a; color: #ffffff; overflow:hidden; ">
              <div class="jpui-col-lg-10 jpui-col-med-10 jpui-col-sm-10 jpui-col-xs-10"><span> Marriott Bonvoy Boundless<sup>®</sup> Credit Card </span></div>
            </div>
            <div class="jpui-col-lg-8 jpui-col-med-8  jpui-col-sm-10 jputil-lg-push-2 jpui-col-xs-12 jputil-xs-push-0 jputil-sm-push-1 jputil-xs-half-grid-padding" style="padding-top:18px;">
              <div class="jpui-col-lg-4 jpui-col-sm-5 jpui-col-xs-10 jputil-xs-push-1 jputil-sm-push-4">
                <div id="section-cardart-image">
                </div>
              </div>
              <div class="jpui-col-lg-12 jpui-col-xs-12 jpui-col-xs-last jpui-col-last">
                <table role="presentation" style="border:none;">
                  <tbody>
                    <tr>
                    </tr>
                    <tr>
                      <td class="aoo-highlight"></td>
                    </tr>
                    <tr>
                      <td class="aoo-detail"></td>
                    </tr>
                  </tbody>
                </table>
              </div>
            </div>
            <div id="review-offerDetails" class="jpui-content chaseutil-hide chaseui-modalbody">
              <span class="jpui-modal-show">
                <h2 class="jpui-aoo-modal-heading jpui-aoo-mobile-landscape-modal-padding-10"> Marriott Bonvoy Boundless<sup>®</sup> Credit Card </h2>
              </span>
              <div id="offerdetails-section">
                <div tabindex="1" class="offerDetailsDoc jpui-offerdetails-table jpjs-scroll">
                  <table role="presentation" style="border:none;">
                    <tbody>
                    </tbody>
                  </table>
                </div>
              </div>
              <div class="jpui-button-container jpui-modal-show chaseutil-center jpui-aoo-mobile-landscape-modal-padding-10">
                <button type="button" class="chaseui-button close jpui-aoo-mobile-landscape-modal-button jpui-aoo-mobile-landscape-modal-padding-6" id="close" autocomplete="no-autofill-this">Close</button>
              </div>
            </div>
            <div class="jpui-col-lg-8 jpui-col-med-8 jpui-col-sm-12 jpui-col-xs-12 jputil-lg-push-2 jputil-xs-push-0 jputil-sm-push-0">
              <h2 class="jpui-form-title-sl jpui-add jputil-sm-push-0 jpui-sm-card-title jpui-xs-card-title">Let's get started.</h2>
            </div>
            <div class="jpui-col-lg-8 jpui-col-sm-10 jputil-sm-push-1 jputil-lg-push-2 jpui-col-xs-12 jputil-xs-push-0 jputil-xs-half-grid-padding">
              <div class="clearfix">
                <div class="error-message-panel" tabindex="0">
                  <span>Please complete these fields to continue to next step:</span>
                  <ul></ul>
                </div>
              </div>
              <style>
                .jpui-step-2 .chaseui-checkboxes {
                  margin-bottom: 0;
                  padding: 0;
                }

                .jpui-header {
                  color: #0d5885;
                  font-size: 1.25em;
                  padding-bottom: 1em;
                  padding-top: 0;
                }

                .jpui-step-4 .jpui-header {
                  color: #0d5885;
                  font-size: 1.25em;
                }
              </style>
              <script type="text/javascript" language="Javascript" src="js/ncjFlexapp.js"></script>
              <div class="clearfix">
                <div class="jpui-col-lg-8 jpui-col-xs-12 jputil-no-grid-padding ">
                </div>
                <div id="saml-prefill" style="padding: 0 1em;width:100%;display:none;margin: 0 0 1em;" class="chaseui-contentarea jpui-col-lg-8 jpui-col-xs-10 jputil-xs-push-0 chaseui-body jputil-xs-push-0">
                  <div class="jpui-sl-lable">
                  </div>
                </div>
                <div id="name-address" style="display:block">
                  <div class="jpui-col-lg-4 jpui-col-xs-9">
                    <div class="chaseui-field">
                      <div class="chaseui-label">
                        <label for="sFirstName">First name <span class="accessible-text  jpjs-help-text">
                            <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                            <!-- End of the NonATP Changes --> Enter your name as it would appear on a government issued ID. Avoid using periods and commas as they will not be captured.</span>
                        </label>
                      </div>
                      <div class="chaseui-value">
                        <input type="text" name="value(sFirstName)" data-error-message="Enter your first name. Use only letters, dashes, apostrophes and spaces."
                          data-help-message="Enter your name as it would appear on a government issued ID. Avoid using periods and commas as they will not be captured." data-theme="flexapp" value="" size="10" maxlength="15" fa.allow="textEntry"
                          id="sFirstName" autocomplete="no-autofill-this">
                      </div>
                    </div>
                  </div>
                  <div class="jpui-col-lg-2 jpui-col-xs-3 jpui-col-xs-last">
                    <div class="chaseui-field">
                      <div class="chaseui-label">
                        <label for="sMiddleInitial">M.I. <span class="accessible-text  jpjs-help-text">
                            <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                            <!-- End of the NonATP Changes -->
                          </span>
                        </label>
                      </div>
                      <div class="chaseui-value">
                        <input type="text" name="value(sMiddleInitial)" data-error-message="If you want to use a middle initial please enter a single letter. Otherwise leave this blank." data-theme="flexapp" value="" size="1" maxlength="1"
                          fa.allow="textEntry" id="sMiddleInitial" title="" autocomplete="no-autofill-this">
                      </div>
                    </div>
                  </div>
                  <div class="jpui-col-lg-4 jpui-col-xs-9">
                    <div class="chaseui-field">
                      <div class="chaseui-label">
                        <label for="sLastName">Last name <span class="accessible-text  jpjs-help-text">
                            <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                            <!-- End of the NonATP Changes -->
                          </span>
                        </label>
                      </div>
                      <div class="chaseui-value">
                        <input type="text" name="value(sLastName)" data-error-message="Enter your name as it would appear on a government issued ID. Avoid using periods and commas as they will not be captured." data-theme="flexapp" value="" size="10"
                          maxlength="20" fa.allow="textEntry" id="sLastName" title="" autocomplete="no-autofill-this">
                      </div>
                    </div>
                  </div>
                  <div class="jpui-col-lg-2 jpui-col-xs-3 jpui-col-last">
                    <div class="chaseui-field">
                      <div class="chaseui-label">
                        <label for="sSuffix">Suffix <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                          <!-- End of the NonATP Changes -->
                        </label>
                      </div>
                      <div class="chaseui-value chaseui-styledselect custom-arrow">
                        <div>
                          <div class="arrow"><i class="icon-arrow-down"></i></div>
                          <select name="value(sSuffix)" id="sSuffix" title="" data-error-message="???en_US_MAFD1_GV4S.sSuffix???" data-theme="flexapp" autocomplete="no-autofill-this">
                            <option value=""></option>
                            <option value="Jr">Jr</option>
                            <option value="Sr">Sr</option>
                            <option value="II">II</option>
                            <option value="III">III</option>
                            <option value="IV">IV</option>
                            <option value="V">V</option>
                            <option value="DDM">DDM</option>
                            <option value="DDS">DDS</option>
                            <option value="DO">DO</option>
                            <option value="ESQ">ESQ</option>
                            <option value="MD">MD</option>
                            <option value="RN">RN</option>
                          </select>
                        </div>
                      </div>
                    </div>
                  </div>
                  <div class="jpui-col-lg-6 jpui-col-xs-9">
                    <div class="chaseui-field">
                      <div class="chaseui-label">
                        <label for="sStreetAddr1">Mailing address 1 <span class="accessible-text  jpjs-help-text">
                            <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                            <!-- End of the NonATP Changes -->
                          </span>
                        </label>
                      </div>
                      <div class="chaseui-value">
                        <input type="text" name="value(sStreetAddr1)" data-error-message="Enter your street address. Use only letters, dashes, apostrophes and spaces. If you provide a P.O. box, you could delay processing." data-theme="flexapp"
                          value="" size="16" maxlength="40" fa.allow="address" id="sStreetAddr1" title="Required Field. Enter only primary address information such as house number and street name in the Residential Address Line 1 field."
                          onblur="checkAddr(this);" autocomplete="no-autofill-this">
                      </div>
                    </div>
                  </div>
                  <div class="jpui-col-lg-4 jpui-col-xs-3 jpui-col-xs-show jpui-col-xs-last chaseutil-center">
                    <a role="button" id="add-address-line-2-trigger" class="jpjs-toggle jpui-toggle-addtional-field icon-open-close" data-toggle-target="#mailing-address-line-2">
				<span class="accessible-text jpui-activetext">Tap to enter additional address details, like your apartment number.</span>
                <span class="accessible-text jpui-inactivetext">collapse additional address fields</span>
                
				</a>
                  </div>
                  <div id="mailing-address-line-2" class="jpui-col-xs-hide">
                    <div class="jpui-col-lg-4 jpui-col-xs-9">
                      <div class="chaseui-field">
                        <div class="chaseui-label">
                          <label for="sStreetAddr2">Suite/apt/other (optional) <span class="accessible-text  jpjs-help-text">
                              <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                              <!-- End of the NonATP Changes -->
                            </span>
                          </label>
                        </div>
                        <div class="chaseui-value">
                          <input type="text" name="value(sStreetAddr2)" data-error-message="Enter your street address. Use only letters, dashes, apostrophes and spaces. If you provide a P.O. box, you could delay processing." data-theme="flexapp"
                            value="" size="16" maxlength="40" fa.allow="address" id="sStreetAddr2" title="" class="inputTextBox requiredfields jpjs-disable-toggle" autocomplete="no-autofill-this">
                        </div>
                      </div>
                    </div>
                  </div>
                  <div class="jpui-col-lg-6 jpui-col-xs-12 jpui-col-xs-last">
                    <div class="chaseui-field">
                      <div class="chaseui-label">
                        <label for="sCity">City <span class="accessible-text  jpjs-help-text">
                            <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                            <!-- End of the NonATP Changes -->
                          </span>
                        </label>
                      </div>
                      <div class="chaseui-value">
                        <input type="text" name="value(sCity)" data-error-message="Enter your city. Use only letters, dashes, apostrophes and spaces." data-theme="flexapp" value="" size="18" maxlength="32" fa.allow="textEntry" id="sCity" title=""
                          autocomplete="no-autofill-this">
                      </div>
                    </div>
                  </div>
                  <div class="jpui-col-lg-2 jpui-col-xs-3">
                    <div class="chaseui-field">
                      <div class="chaseui-label">
                        <label for="sState1">State <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                          <!-- End of the NonATP Changes -->
                        </label>
                      </div>
                      <div class="chaseui-value chaseui-styledselect custom-arrow">
                        <div>
                          <div class="arrow"><i class="icon-arrow-down"></i></div>
                          <select name="value(sState1)" id="sState1" title="" data-error-message="Select your U.S. state." onchange="compareStateWithZip()" data-theme="flexapp" autocomplete="no-autofill-this">
                            <option value=""></option>
                            <option value="AA">AA</option>
                            <option value="AE">AE</option>
                            <option value="AK">AK</option>
                            <option value="AP">AP</option>
                            <option value="AL">AL</option>
                            <option value="AR">AR</option>
                            <option value="AZ">AZ</option>
                            <option value="CA">CA</option>
                            <option value="CO">CO</option>
                            <option value="CT">CT</option>
                            <option value="DC">DC</option>
                            <option value="DE">DE</option>
                            <option value="FL">FL</option>
                            <option value="GA">GA</option>
                            <option value="GU">GU</option>
                            <option value="HI">HI</option>
                            <option value="IA">IA</option>
                            <option value="ID">ID</option>
                            <option value="IL">IL</option>
                            <option value="IN">IN</option>
                            <option value="KS">KS</option>
                            <option value="KY">KY</option>
                            <option value="LA">LA</option>
                            <option value="MA">MA</option>
                            <option value="MD">MD</option>
                            <option value="ME">ME</option>
                            <option value="MI">MI</option>
                            <option value="MN">MN</option>
                            <option value="MO">MO</option>
                            <option value="MS">MS</option>
                            <option value="MT">MT</option>
                            <option value="NC">NC</option>
                            <option value="ND">ND</option>
                            <option value="NE">NE</option>
                            <option value="NH">NH</option>
                            <option value="NJ">NJ</option>
                            <option value="NM">NM</option>
                            <option value="NV">NV</option>
                            <option value="NY">NY</option>
                            <option value="OH">OH</option>
                            <option value="OK">OK</option>
                            <option value="OR">OR</option>
                            <option value="PA">PA</option>
                            <option value="PR">PR</option>
                            <option value="RI">RI</option>
                            <option value="SC">SC</option>
                            <option value="SD">SD</option>
                            <option value="TN">TN</option>
                            <option value="TX">TX</option>
                            <option value="UT">UT</option>
                            <option value="VA">VA</option>
                            <option value="VI">VI</option>
                            <option value="VT">VT</option>
                            <option value="WA">WA</option>
                            <option value="WI">WI</option>
                            <option value="WV">WV</option>
                            <option value="WY">WY</option>
                          </select>
                        </div>
                      </div>
                    </div>
                  </div>
                  <div class="jpui-col-lg-4 jpui-col-xs-9 jpui-col-last">
                    <div class="chaseui-field">
                      <div class="chaseui-label">
                        <label for="sZip">ZIP code <span class="accessible-text  jpjs-help-text">
                            <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                            <!-- End of the NonATP Changes -->
                          </span>
                        </label>
                      </div>
                      <div class="chaseui-value">
                        <input type="text" name="value(sZip)" data-error-message="Enter your correct five-digit ZIP code. Your ZIP code and state should match." data-mask="99999" data-theme="flexapp" pattern="[0-9]*" value="" size="5" maxlength="5"
                          fa.allow="numeric" id="sZip" title="Required Field. Enter first 5 numbers in ZIP code field." class="chasejs-formatted-input inputTextBox requiredfields" data-validation-options="sAOAddrSameAsBusiness"
                          onblur="prefillState1(this);" autocomplete="no-autofill-this">
                      </div>
                    </div>
                  </div>
                </div>
                <div class="jpui-col-lg-3 jpui-col-xs-12 jputil-no-grid-padding ">
                  <div id="sDOBUnMask">
                    <div class="chaseui-field">
                      <div class="chaseui-label">
                        <label for="sDOB">Date of birth <span class="accessible-text  jpjs-help-text">
                            <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                            <!-- End of the NonATP Changes --> You must be at least 18 years of age to apply (19 for AL and NE; 21 for PR).</span>
                        </label>
                      </div>
                      <div class="chaseui-value">
                        <input type="text" name="value(sDOB)" data-error-message="Enter your birthdate using only numbers. You must be at least 18 years of age to apply (19 for AL and NE; 21 for PR)."
                          data-help-message="You must be at least 18 years of age to apply (19 for AL and NE; 21 for PR)." data-mask="00/00/0000" data-theme="flexapp" placeholder="mm/dd/yyyy" pattern="\d*" value="" size="10" maxlength="10"
                          fa.allow="numeric" id="sDOB" class="chasejs-formatted-input jpjs-date dobUnMask" data-validation-options="sState ,sState1" autocomplete="no-autofill-this">
                      </div>
                    </div>
                  </div>
                  <div id="sDOBMask" style="display:none;">
                    <div class="chaseui-field">
                      <div class="chaseui-label">
                        <label for="sDOB-MaskedDOB">Date of birth <span class="accessible-text  jpjs-help-text">
                            <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                            <!-- End of the NonATP Changes -->
                          </span>
                        </label>
                      </div>
                      <div class="chaseui-value">
                        <input type="text" name="value(sDOB-MaskedDOB)" data-error-message="???en_US_MAFD1_GV4S.sDOB-MaskedDOB???" data-mask="00/00/0000" value="" size="10" maxlength="10" fa.allow="numeric" id="sDOB-MaskedDOB"
                          class="chasejs-formatted-input jpjs-date dobMask" autocomplete="no-autofill-this">
                      </div>
                    </div>
                  </div>
                </div>
                <div class="jpui-col-lg-3 jpui-col-xs-12">
                  <div class="chaseui-field">
                    <div class="chaseui-label">
                      <label for="sMaidenName">Mother's maiden name <span class="accessible-text  jpjs-help-text">
                          <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                          <!-- End of the NonATP Changes --> We request your mother's maiden name to help verify your identity whenever you call us about your account.</span>
                      </label>
                    </div>
                    <div class="chaseui-value">
                      <input type="text" name="value(sMaidenName)" data-error-message="Enter your mother's last name at birth. Use only letters, dashes, apostrophes and spaces."
                        data-help-message="We request your mother's maiden name to help verify your identity whenever you call us about your account." data-theme="flexapp" value="" size="12" maxlength="10" fa.allow="numeric" id="sMaidenName"
                        autocomplete="no-autofill-this">
                    </div>
                  </div>
                </div>
                <div class="jpui-col-lg-6 jpui-col-xs-12 jpui-col-last">
                  <div class="chaseui-field">
                    <div class="chaseui-label">
                      <label for="sEMailAddr2">Email address <span class="accessible-text  jpjs-help-text">
                          <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                          <!-- End of the NonATP Changes --> We use your email address to communicate with you about your account. We may also send you email messages about special offers and services. Please provide an email address you check
                          frequently.</span>
                      </label>
                    </div>
                    <div class="chaseui-value">
                      <input type="email" name="value(sEMailAddr2)" data-error-message="Enter your email address in john@domainname.com format."
                        data-help-message="We use your email address to communicate with you about your account. We may also send you email messages about special offers and services. Please provide an email address you check frequently."
                        data-theme="flexapp" value="" size="25" maxlength="64" fa.allow="numeric" id="sEMailAddr2" autocomplete="no-autofill-this">
                    </div>
                  </div>
                </div>
                <div class="jpui-col-lg-6 jpui-col-xs-12">
                  <div class="chaseui-field">
                    <div class="chaseui-label">
                      <label for="sSSN">SSN/ITIN <span class="accessible-text  jpjs-help-text">
                          <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                          <!-- End of the NonATP Changes --> We ask for your Social Security Number/Individual Taxpayer Identification Number to help us identify you. When you submit your application online, we'll encrypt your details to help keep
                          your information safe.</span>
                      </label>
                    </div>
                    <div class="chaseui-value">
                      <input type="text" name="value(sSSN)"
                        data-error-message="Enter your Social Security Number/Individual Taxpayer Identification Number in 000-00-0000 format. The Social Security Number/Individual Taxpayer Identification Number you entered is invalid."
                        data-help-message="We ask for your Social Security Number/Individual Taxpayer Identification Number to help us identify you. When you submit your application online, we'll encrypt your details to help keep your information safe."
                        data-mask="000-00-0000" data-mask-placeholder="x" data-theme="flexapp" placeholder="xxx-xx-xxxx" pattern="\d*" value="" size="11" maxlength="11" fa.allow="numeric" id="sSSN" class="chasejs-formatted-input"
                        data-validation-options="unMaskedSSN" autocomplete="no-autofill-this">
                    </div>
                  </div>
                  <input type="hidden" name="value(unMaskedSSN)" value="" id="unMaskedSSN" autocomplete="no-autofill-this">
                </div>
                <div class="jpui-col-lg-6 jpui-col-xs-12 jpui-col-last jputil-no-grid-padding">
                  <div class="chaseui-field">
                    <div class="chaseui-label">
                      <label class="currency" for="sAnnualIncome">Total gross annual income <span class="accessible-text  jpjs-help-text">
                          <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                          <!-- End of the NonATP Changes --> Your "total gross annual income" is what you earn or reasonably expect to earn. This includes full-time, part-time, internships or seasonal jobs, self-employment, interest or dividends,
                          investments, retirement, social security benefits and public assistance. You can also include money that someone else deposits regularly into your account (individual or joint). If you're 21 or older and regularly use income
                          from others to pay your bills, you can include that too. Alimony, child support, or separate maintenance income need not be revealed if you do not wish to have it considered as a basis for repaying this obligation.</span>
                      </label>
                    </div>
                    <div class="chaseui-value">
                      <span class="jpui-currency">
                        <span class="jpui-symbol">$</span>
                        <input type="text" name="value(sAnnualIncome)" data-error-message="Enter your total gross annual income. Use only numbers."
                          data-help-message="Your &quot;total gross annual income&quot; is what you earn or reasonably expect to earn. This includes full-time, part-time, internships or seasonal jobs, self-employment, interest or dividends, investments, retirement, social security benefits and public assistance. You can also include money that someone else deposits regularly into your account (individual or joint). If you're 21 or older and regularly use income from others to pay your bills, you can include that too. Alimony, child support, or separate maintenance income need not be revealed if you do not wish to have it considered as a basis for repaying this obligation."
                          data-maxlength="7" data-theme="flexapp" pattern="\d*" value="" size="8" maxlength="9" fa.allow="numeric" id="sAnnualIncome" class="jpui-dollars jpjs-currency" autocomplete="no-autofill-this">
                        <span class="jpui-cents">.00</span>
                      </span>
                    </div>
                  </div>
                </div>
                <div class="jpui-col-lg-6 jpui-col-xs-12">
                  <div class="chaseui-field">
                    <div class="chaseui-label">
                      <label for="sHousingType">Type of residence <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                        <!-- End of the NonATP Changes -->
                      </label>
                    </div>
                    <div class="chaseui-value chaseui-styledselect custom-arrow">
                      <div>
                        <div class="arrow"><i class="icon-arrow-down"></i></div>
                        <select name="value(sHousingType)" size="1" id="sHousingType" title="" data-error-message="Indicate whether you own or rent your residence." onchange="toggleMonthlyMortgage();" data-theme="flexapp"
                          autocomplete="no-autofill-this">
                          <option value="">Select One</option>
                          <option value="Rent">Rent</option>
                          <option value="Own">Own</option>
                          <option value="Other">Other</option>
                        </select>
                      </div>
                    </div>
                  </div>
                </div>
                <div class="jpui-col-lg-6 jpui-col-last jpui-col-xs-12 jputil-no-grid-padding">
                  <div class="chaseui-field">
                    <div class="chaseui-label">
                      <label for="sPosition">Primary source of income <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                        <!-- End of the NonATP Changes -->
                      </label>
                    </div>
                    <div class="chaseui-value chaseui-styledselect custom-arrow">
                      <div>
                        <div class="arrow"><i class="icon-arrow-down"></i></div>
                        <select name="value(sPosition)" size="1" id="sPosition" title="" data-error-message="Select the Primary source of your income." data-theme="flexapp" autocomplete="no-autofill-this">
                          <option value="">Select One</option>
                          <option value="Employed">Employed</option>
                          <option value="Unemployed">Unemployed</option>
                          <option value="Self Employed">Self Employed</option>
                          <option value="Other">Other</option>
                        </select>
                      </div>
                    </div>
                  </div>
                </div>
                <div class="jpui-col-lg-6 jpui-col-xs-12 jputil-no-grid-padding" id="sMonthlyMortgageDiv" style="display:none;">
                  <div class="chaseui-field">
                    <div class="chaseui-label">
                      <label class="currency" for="sMonthlyMortgage">Monthly housing payment <span class="accessible-text  jpjs-help-text">
                          <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                          <!-- End of the NonATP Changes -->
                        </span>
                      </label>
                    </div>
                    <div class="chaseui-value">
                      <span class="jpui-currency">
                        <span class="jpui-symbol">$</span>
                        <input type="text" name="value(sMonthlyMortgage)" data-error-message="Enter your monthly payment. Use only numbers." data-maxlength="5" data-theme="flexapp" pattern="\d*" value="" size="6" maxlength="6" fa.allow="numeric"
                          id="sMonthlyMortgage" title="" class="jpui-dollars jpjs-currency" data-validation-options="sHousingType" autocomplete="no-autofill-this">
                        <span class="jpui-cents">.00</span>
                      </span>
                    </div>
                  </div>
                </div>
                <div class="jpui-col-lg-6 jpui-col-xs-12  jputil-no-grid-padding" id="altPhoneAreaContainer">
                  <div class="chaseui-field">
                    <div class="chaseui-label">
                      <label for="sHomePhone">Primary phone number (mobile preferred)<sup>††</sup>
                        <span class="accessible-text  jpjs-help-text">
                          <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                          <!-- End of the NonATP Changes --> By giving us your mobile number, Chase has your consent to send you automated calls and texts to service all of your accounts with us.<br><br>
                          <ul>
                            <li>By providing your mobile phone number, you are giving permission to be contacted at that number about all of your accounts by JPMorgan Chase and companies working on its behalf.</li>
                            <li>Your consent allows the use of text messages, artificial or prerecorded voice messages and automatic dialing technology for informational and account servicing, but not for sales or telemarketing.</li>
                            <li>Message and data rates may apply.</li>
                          </ul>
                        </span>
                      </label>
                    </div>
                    <div class="chaseui-value">
                      <input type="tel" name="value(sHomePhone)" data-error-message="Enter your number in xxx xxx xxxx format. It cannot begin with &quot;1&quot; or &quot;0&quot;."
                        data-help-message="By giving us your mobile number, Chase has your consent to send you automated calls and texts to service all of your accounts with us.<br/><br/> <ul><li>By providing your mobile phone number, you are giving permission to be contacted at that number about all of your accounts by JPMorgan Chase and companies working on its behalf.</li><li>Your consent allows the use of text messages, artificial or prerecorded voice messages and automatic dialing technology for informational and account servicing, but not for sales or telemarketing.</li> <li>Message and data rates may apply.</li></ul>"
                        data-mask="000-000-0000" data-mask-placeholder="x" data-theme="flexapp" placeholder="xxx-xxx-xxxx" pattern="\d*" value="" size="13" maxlength="12" fa.allow="numeric" id="sHomePhone" class="chasejs-formatted-input"
                        autocomplete="no-autofill-this">
                    </div>
                  </div>
                </div>
                <div class="jpui-col-lg-6 jpui-col-xs-12 jpui-col-last jputil-no-grid-padding " id="altPhoneAreaContainer">
                  <div class="chaseui-field">
                    <div class="chaseui-label">
                      <label for="sWorkPhone">Alternative phone number (optional) <span class="accessible-text  jpjs-help-text">
                          <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                          <!-- End of the NonATP Changes --> If this number is the same as the primary, you may leave it blank. When you give us your mobile phone number, we have your permission to contact you at that number about all your Chase or
                          J.P. Morgan accounts. <br><br>
                          <ul>
                            <li>Your consent allows us to use text messaging, artificial or prerecorded voice messages and automatic dialing technology for informational and account service calls, but not for telemarketing or sales calls. </li>
                            <li>It may include contact from companies working on our behalf to service your accounts.</li>
                            <li>Message and data rates may apply.</li>
                          </ul><br>You may contact us any time to change these preferences.
                        </span>
                      </label>
                    </div>
                    <div class="chaseui-value">
                      <input type="tel" name="value(sWorkPhone)" data-error-message="Enter your number in xxx xxx xxxx format. It cannot begin with &quot;1&quot; or &quot;0&quot;."
                        data-help-message="If this number is the same as the primary, you may leave it blank. When you give us your mobile phone number, we have your permission to contact you at that number about all your Chase or J.P. Morgan accounts. <br/><br/> <ul><li>Your consent allows us to use text messaging, artificial or prerecorded voice messages and automatic dialing technology for informational and account service calls, but not for telemarketing or sales calls. </li><li>It may include contact from companies working on our behalf to service your accounts.</li> <li>Message and data rates may apply.</li></ul><br/>You may contact us any time to change these preferences."
                        data-mask="000-000-0000" data-mask-placeholder="x" data-theme="flexapp" placeholder="xxx-xxx-xxxx" pattern="\d*" value="" size="13" maxlength="12" fa.allow="numeric" id="sWorkPhone"
                        class="chasejs-formatted-input jpjs-disable-toggle" autocomplete="no-autofill-this">
                    </div>
                  </div>
                </div>
                <div class="jpui-col-lg-12  jpui-step-2 jpui-padding">
                  <div class="error-message-panel-nonTaxable" tabindex="0">
                    <span>Please select Yes or No for Non-Taxable Income</span>
                  </div>
                </div>
                <div class="jpui-col-lg-8 jpui-col-xs-12 jputil-no-grid-padding nti_question">
                  <div>Is any portion of your total gross annual income non-taxable?</div>
                </div>
                <div class="nti-fieldset">
                  <div class="jpui-col-lg-4 jpui-col-xs-12 jpui-col-last jputil-no-grid-padding  jpui-nontax-checkbox-radio" id="atp_radio_options">
                    <div class="jpui-checkbox-nonatp-radio">
                      <input type="radio" class="chaseui-radio rdoBtn" name="sNonTaxableR" data-theme="flexapp" value="Yes" id="sNonTaxableYes" errortype="required" autocomplete="no-autofill-this">
                      <label for="sNonTaxableYes" class="chaseui-checkbox-radio-label">
                        <div>
                          <div></div>
                        </div>
                        <span class="accessible-text">Is any portion of your gross annual income non-taxable?</span>
                        <span>Yes</span>
                      </label>
                      <input type="radio" class="chaseui-radio rdoBtn" name="sNonTaxableR" data-theme="flexapp" value="No" id="sNonTaxableNo" errortype="required" checked="" autocomplete="no-autofill-this">
                      <label for="sNonTaxableNo" class="chaseui-checkbox-radio-label">
                        <div>
                          <div></div>
                        </div>
                        <span class="accessible-text">Is any portion of your gross annual income non-taxable?</span>
                        <span>No</span>
                      </label>
                      <input type="hidden" name="value(sNonTaxable)" value="No" id="sNonTaxable" autocomplete="no-autofill-this">
                    </div>
                  </div>
                </div>
                <div class="jpui-col-lg-6 jpui-col-xs-12 jputil-no-grid-padding" id="ntiContainer" style="display:none;">
                  <div class="chaseui-field">
                    <div class="chaseui-label">
                      <label class="currency" for="sNonTaxableIncome">Non-taxable income <span class="accessible-text  jpjs-help-text">
                          <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                          <!-- End of the NonATP Changes -->
                        </span>
                      </label>
                    </div>
                    <div class="chaseui-value">
                      <span class="jpui-currency">
                        <span class="jpui-symbol">$</span>
                        <input type="text" name="value(sNonTaxableIncome)" data-error-message="Enter your annual non-taxable income. Use only numbers. This amount can not be greater than your total gross annual income." data-maxlength="7"
                          data-theme="flexapp" pattern="\d*" value="" size="8" maxlength="9" fa.allow="numeric" id="sNonTaxableIncome" title="Required Field. Enter Non taxable income in field and please do not use commas."
                          class="jpui-dollars jpjs-currency" data-validation-options="sAnnualIncome ,sNonTaxable" autocomplete="no-autofill-this">
                        <span class="jpui-cents">.00</span>
                      </span>
                    </div>
                  </div>
                </div>
                <div class="jpui-col-lg-12  jpui-col-xs-12 jputil-xs-push-0">
                  <div class="beneficial-info-text">
                    <p>This is the portion of your total gross annual income that you or your tax advisor has determined isn't subject to income tax. Examples of income that are typically not subject to income tax may include money you receive from
                      disability, worker's compensation, child support, housing allowance, social security, or public assistance.</p>
                  </div>
                </div>
                <div id="membershipId" class="jpui-col-lg-6 jpui-col-xs-12" style="display:block;">
                  <div class="jpui-col-lg-12 jpui-col-xs-12">
                    <div class="jpui-col-lg-12 jpui-col-xs-12">
                      <div class="jpui-col-lg-12 jpui-col-xs-12">
                        <div class="chaseui-field">
                          <div class="chaseui-label">
                            <label for="sMarriottMemNumber">Marriott Bonvoy<sup>®</sup> Number (optional) <span class="accessible-text  jpjs-help-text">
                                <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                                <!-- End of the NonATP Changes --> Enter Marriott Bonvoy<sup>®</sup> Number.</span>
                            </label>
                          </div>
                          <div class="chaseui-value">
                            <input name="value(sMarriottMemNumber)" data-error-message="Marriott Bonvoy<sup>®</sup> Number must be atleast 9 numeric characters. Please reenter." data-help-message="Enter Marriott Bonvoy<sup>®</sup> Number."
                              data-theme="flexapp" value="" size="11" maxlength="9" fa.allow="appt" id="sMarriottMemNumber" autocomplete="no-autofill-this">
                          </div>
                        </div>
                        <span id="membershipLabelContainer" class="inputContainerTable"><span id="membershipLabelInputContainer"><input type="hidden" name="value(membershipLabel))" value="Marriott Bonvoy<sup>®</sup> Number (optional)"
                              id="membershipLabel" title="" onblur="validatemembershipLabel(this.value);" autocomplete="no-autofill-this"></span></span>
                      </div>
                    </div>
                  </div>
                  <div class="jpui-col-lg-12 jpui-col-xs-12 jpui-reward-member-note">
                    <div class="jpui-col-lg-12 jpui-col-xs-12">
                      <p>If you are not already a Marriott Bonvoy member, you will automatically be enrolled upon approval for the card.</p>
                    </div>
                  </div>
                </div>
                <div id="consumer-physical-address-fields" class="jpui-col-lg-12 chaseui-physical-address" style="display: none">
                  <div class="jpui-col-lg-12">
                    <h4 class="title">Physical Address</h4>
                    <p class="copy">Federal regulations require us to collect your physical address. If you only provide a P.O. Box we will not be able to accept your request.</p>
                  </div>
                  <div class="jpui-row">
                    <div class="jpui-col-lg-6 jpui-col-xs-9">
                      <div class="chaseui-field">
                        <div class="chaseui-label">
                          <label for="sRespPhyStreetAddr1">Physical street address 1 <span class="accessible-text  jpjs-help-text">
                              <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                              <!-- End of the NonATP Changes -->
                            </span>
                          </label>
                        </div>
                        <div class="chaseui-value">
                          <input type="text" name="value(sRespPhyStreetAddr1)" data-error-message="Enter your physical street address. Use only number, letters, dashes, apostrophes and spaces. A P.O. Box address cannot be accepted."
                            data-theme="flexapp" value="" size="16" maxlength="40" fa.allow="address" id="sRespPhyStreetAddr1" title="" class="inputTextBox"
                            data-validation-options="sRespPhyStreetAddr2 ,sRespPhyApartment ,sRespPhyZip ,sRespPhyCity ,sRespPhyState ,sStreetAddr1" autocomplete="no-autofill-this">
                        </div>
                      </div>
                    </div>
                    <div role="button" class="jpui-col-lg-4 jpui-col-xs-3 jpui-col-xs-show jpui-col-xs-last chaseutil-center">
                      <a id="add-physical-line-2-trigger" class="jpjs-toggle jpui-toggle-addtional-field icon-open-close" data-toggle-target="#physical-address-line-2">
				<span class="accessible-text jpui-activetext">Tap to enter additional address details, like your apartment number.</span>
                <span class="accessible-text jpui-inactivetext">collapse additional address fields</span>
				</a>
                    </div>
                    <div id="physical-address-line-2" class="jpui-col-xs-hide">
                      <div class="jpui-col-lg-4 jpui-col-xs-9 jpui-col-last">
                        <div class="chaseui-field">
                          <div class="chaseui-label">
                            <label for="sRespPhyStreetAddr2">Physical street address 2 <span class="accessible-text  jpjs-help-text">
                                <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                                <!-- End of the NonATP Changes -->
                              </span>
                            </label>
                          </div>
                          <div class="chaseui-value">
                            <input type="text" name="value(sRespPhyStreetAddr2)" data-error-message="Enter your physical street address. Use only number, letters, dashes, apostrophes and spaces. A P.O. Box address cannot be accepted."
                              data-theme="flexapp" value="" size="17" maxlength="40" fa.allow="address" id="sRespPhyStreetAddr2" title="" class="inputTextBox" data-validation-options="sRespPhyStreetAddr1" autocomplete="no-autofill-this">
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                  <div class="jpui-row">
                    <div class="jpui-col-lg-6 jpui-col-xs-12 jpui-col-xs-last">
                      <div class="chaseui-field">
                        <div class="chaseui-label">
                          <label for="sRespPhyCity">City <span class="accessible-text  jpjs-help-text">
                              <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                              <!-- End of the NonATP Changes -->
                            </span>
                          </label>
                        </div>
                        <div class="chaseui-value">
                          <input type="text" name="value(sRespPhyCity)" data-error-message="Enter your city. Use only letters, dashes, apostrophes and spaces." data-theme="flexapp" value="" size="18" maxlength="32" fa.allow="textEntry"
                            id="sRespPhyCity" title="" class="inputTextBox" data-validation-options="sRespPhyStreetAddr1 ,sRespPhyStreetAddr2 ,sRespPhyApartment , sStreetAddr1" autocomplete="no-autofill-this">
                        </div>
                      </div>
                    </div>
                    <div class="jpui-col-lg-2 jpui-col-xs-3">
                      <div class="chaseui-field">
                        <div class="chaseui-label">
                          <label for="sRespPhyState">State <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                            <!-- End of the NonATP Changes -->
                          </label>
                        </div>
                        <div class="chaseui-value chaseui-styledselect custom-arrow">
                          <div>
                            <div class="arrow"><i class="icon-arrow-down"></i></div>
                            <select name="value(sRespPhyState)" id="sRespPhyState" title="" class="inputTextBox" data-validation-options="sRespPhyStreetAddr1 ,sRespPhyStreetAddr2 ,sRespPhyApartment ,sRespPhyCity , sStreetAddr1"
                              data-error-message="Select your U.S. state." onchange="comparePhyStateWithZip()" data-theme="flexapp" autocomplete="no-autofill-this">
                              <option value=""></option>
                              <option value="AA">AA</option>
                              <option value="AE">AE</option>
                              <option value="AK">AK</option>
                              <option value="AP">AP</option>
                              <option value="AL">AL</option>
                              <option value="AR">AR</option>
                              <option value="AZ">AZ</option>
                              <option value="CA">CA</option>
                              <option value="CO">CO</option>
                              <option value="CT">CT</option>
                              <option value="DC">DC</option>
                              <option value="DE">DE</option>
                              <option value="FL">FL</option>
                              <option value="GA">GA</option>
                              <option value="GU">GU</option>
                              <option value="HI">HI</option>
                              <option value="IA">IA</option>
                              <option value="ID">ID</option>
                              <option value="IL">IL</option>
                              <option value="IN">IN</option>
                              <option value="KS">KS</option>
                              <option value="KY">KY</option>
                              <option value="LA">LA</option>
                              <option value="MA">MA</option>
                              <option value="MD">MD</option>
                              <option value="ME">ME</option>
                              <option value="MI">MI</option>
                              <option value="MN">MN</option>
                              <option value="MO">MO</option>
                              <option value="MS">MS</option>
                              <option value="MT">MT</option>
                              <option value="NC">NC</option>
                              <option value="ND">ND</option>
                              <option value="NE">NE</option>
                              <option value="NH">NH</option>
                              <option value="NJ">NJ</option>
                              <option value="NM">NM</option>
                              <option value="NV">NV</option>
                              <option value="NY">NY</option>
                              <option value="OH">OH</option>
                              <option value="OK">OK</option>
                              <option value="OR">OR</option>
                              <option value="PA">PA</option>
                              <option value="PR">PR</option>
                              <option value="RI">RI</option>
                              <option value="SC">SC</option>
                              <option value="SD">SD</option>
                              <option value="TN">TN</option>
                              <option value="TX">TX</option>
                              <option value="UT">UT</option>
                              <option value="VA">VA</option>
                              <option value="VI">VI</option>
                              <option value="VT">VT</option>
                              <option value="WA">WA</option>
                              <option value="WI">WI</option>
                              <option value="WV">WV</option>
                              <option value="WY">WY</option>
                            </select>
                          </div>
                        </div>
                      </div>
                    </div>
                    <div class="jpui-col-lg-4 jpui-col-xs-9 jpui-col-last">
                      <div class="chaseui-field">
                        <div class="chaseui-label">
                          <label for="sRespPhyZip">ZIP code <span class="accessible-text  jpjs-help-text">
                              <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                              <!-- End of the NonATP Changes -->
                            </span>
                          </label>
                        </div>
                        <div class="chaseui-value">
                          <input type="text" name="value(sRespPhyZip)" data-error-message="Enter your correct five-digit ZIP code. Your ZIP code and state should match." data-mask="99999" data-theme="flexapp" pattern="[0-9]*" value="" size="5"
                            maxlength="5" fa.allow="numeric" id="sRespPhyZip" title="" class="chasejs-formatted-input inputTextBox"
                            data-validation-options="sRespPhyStreetAddr1 ,sRespPhyStreetAddr2 ,sRespPhyApartment ,sRespPhyCity ,sRespPhyState , sStreetAddr1" onblur="prefillRespPhyState(this);" autocomplete="no-autofill-this">
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
                <div class="jpui-col-lg-12  jpui-step-2 jpui-padding">
                  <div class="error-message-panel-paperlessDelivery" tabindex="0">
                    <span>Please select Statement &amp; Communication Delivery Preference</span>
                  </div>
                </div>
                <div id="statement-communication-delivery-prefs" class="jpui-col-lg-8 jpui-col-xs-12 jputil-no-grid-padding nti_question">
                  <div>Statement &amp; Communication Delivery Preference</div>
                </div>
                <div class="scd-fieldset">
                  <div class="jpui-col-lg-4 jpui-col-xs-12 jpui-col-last jputil-no-grid-padding jpui-nontax-checkbox-radio" id="scd_radio_options">
                    <div class="jpui-checkbox-paperlessdelivery-radio">
                      <input type="radio" class="chaseui-radio rdoBtn" name="sPaperlessDeliveryR" data-theme="flexapp" value="Yes" id="sPaperlessDeliveryYes" errortype="required" autocomplete="no-autofill-this" checked="">
                      <label for="sPaperlessDeliveryYes" class="chaseui-checkbox-radio-label">
                        <div>
                          <div></div>
                        </div>
                        <span class="accessible-text">Statement &amp; Communication Delivery Preference</span>
                        <span>Online Only</span>
                      </label>
                      <input type="radio" class="chaseui-radio rdoBtn" name="sPaperlessDeliveryR" data-theme="flexapp" value="No" id="sPaperlessDeliveryNo" errortype="required" autocomplete="no-autofill-this">
                      <label for="sPaperlessDeliveryNo" class="chaseui-checkbox-radio-label">
                        <div>
                          <div></div>
                        </div>
                        <span class="accessible-text">Statement &amp; Communication Delivery Preference</span>
                        <span>By Mail</span>
                      </label>
                      <input type="hidden" name="value(sPaperlessDelivery)" value="Y" id="sPaperlessDelivery" autocomplete="no-autofill-this">
                    </div>
                  </div>
                </div>
                <div class="jpui-col-lg-12  jpui-col-xs-12 jputil-xs-push-0">
                  <div class="beneficial-info-text">
                    <p>By selecting 'Online only', you acknowledge that you agree to receive billing statements, disclosures, notices and letters online. We'll send you an email at your primary email address when your documents are available.</p>
                    <p><b>If you're approved</b>, finish activating paperless communications by simply signing in to chase.com from a computer, tablet or the Chase Mobile® app. Until then, we'll mail you paper communications. To create a log-in, go
                      to the <b>"Not enrolled? Sign up now"</b> link on the chase.com home page once your card arrives in the mail.</p>
                  </div>
                </div>
              </div>
              <div class="jpui-col-lg-12 jpui-step-4" id="step4">
                <div class="jpui-col-lg-12">
                  <div class="clearfix">
                    <div class="jpui-col-lg-12  jpui-col-xs-12 jputil-xs-push-0">
                      <div class="jpui-col-lg-12 jputil-padding-bottom-small">
                        <div id="add-authorized-users-link-container" class="jpui-col-xs-show jpui-col-sm-show jpui-col-lg-show jpui-col-med-show">
                          <a id="add-authorized-users-link" href="javascript:void(0);" class="jpjs-toggle" data-toggle-target="#section-application-addnl-cards-form">
	 		<span class="add-authorized-users icon-caret-right authorized"></span>
	        <span class="add-authorized-users-close icon-caret-down authorized"></span>
	        Add authorized users <span class="jpui-optional-text">(optional)</span>
	  		<span class="accessible-text add-authorized-users ">(shows content below)</span>
	        <span class="add-authorized-users-close accessible-text">(hides content below)</span>  
		</a>
                        </div>
                        <div class="addUsers">
                          <div id="section-application-addnl-cards-form" class="jpui-col-xs-hide jpui-col-sm-hide jpui-col-lg-hide jpui-col-med-hide">
                            <p class="authorized-text jputil-margin-top-x-small"> You may add up to five additional people to your account. We'll send an individual card for each one. </p>
                            <div id="visibleAuthUserRows">
                              <div id="second-card-0">
                                <span class="accessible-text">(cardholder 1)</span>
                                <div class="jpui-col-lg-12 jputil-lg-push-1 jpui-col-xs-12 jptuil-xs-push-2 jpui-col-last cardholder-text jputil-custom-push-1"> Authorized User <span class="chasejs-counter">1</span>
                                </div>
                                <div class="jpui-remove-item-wrapper">
                                  <a class="chaseui-remove-item icon-close-x" id="removeAuthUser1" href="javascript:void(0);" onclick="removeAuthUser(0); return false;"> <span class="accessible-text">Remove authorized user 1</span></a>
                                </div>
                                <div class="jpui-col-lg-10 jpui-col-sm-10 jpui-col-xs-11 jpui-col-xs-last">
                                  <div class="jpui-col-lg-4 jpui-col-sm-5 jpui-col-xs-7">
                                    <div>
                                      <div class="chaseui-field">
                                        <div class="chaseui-label">
                                          <label for="sSecondaryFirstName1">First name <span class="accessible-text  jpjs-help-text">
                                              <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                                              <!-- End of the NonATP Changes --> Enter your name as it would appear on a government issued ID. Avoid using periods and commas as they will not be captured.</span>
                                          </label>
                                        </div>
                                        <div class="chaseui-value">
                                          <input type="text" name="value(sSecondaryFirstName1)"
                                            data-error-message="Please enter the authorized user's first name, making sure it includes at least one letter, no numbers and no inappropriate language. Your entry cannot be the same as the applicant name. You may include spaces, dashes and apostrophes, if necessary."
                                            data-help-message="Enter your name as it would appear on a government issued ID. Avoid using periods and commas as they will not be captured." data-theme="flexapp" value="" size="12" maxlength="15"
                                            fa.allow="textEntry" id="sSecondaryFirstName1" class="inputTextBox"
                                            data-validation-options="sSecondaryLastName1 ,sSecondaryMiddleInitial1 ,sAuthorizedDOB1 ,sAuthorizedStreetAddr11 ,sAuthorizedStreetAddr21 ,sAuthorizedApartment1 ,sAuthorizedCity1 ,sAuthorizedState11 ,sAuthorizedZip1 ,sAuth1AddrSameAsPrimary"
                                            autocomplete="no-autofill-this">
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                  <div class="jpui-col-lg-2 jpui-col-xs-5 jpui-col-sm-2 jpui-col-xs-last">
                                    <div class="chaseui-field">
                                      <div class="chaseui-label">
                                        <label for="sSecondaryMiddleInitial1">M.I. <span class="accessible-text  jpjs-help-text">
                                            <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                                            <!-- End of the NonATP Changes -->
                                          </span>
                                        </label>
                                      </div>
                                      <div class="chaseui-value">
                                        <input type="text" name="value(sSecondaryMiddleInitial1)" data-error-message="If the authorized user has a middle initial, please enter a single letter. Otherwise leave this blank." data-theme="flexapp"
                                          value="" size="2" maxlength="1" fa.allow="alpha" id="sSecondaryMiddleInitial1" title="" class="inputTextBox" autocomplete="no-autofill-this">
                                      </div>
                                    </div>
                                  </div>
                                  <div class="jpui-col-lg-5 jpui-col-xs-12 jpui-col-sm-5 jputil-xs-push-2 jpui-col-sm-last jpui-col-xs-last">
                                    <div class="chaseui-field">
                                      <div class="chaseui-label">
                                        <label for="sSecondaryLastName1">Last name <span class="accessible-text  jpjs-help-text">
                                            <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                                            <!-- End of the NonATP Changes -->
                                          </span>
                                        </label>
                                      </div>
                                      <div class="chaseui-value">
                                        <input type="text" name="value(sSecondaryLastName1)"
                                          data-error-message="Please enter the authorized user's last name, making sure it includes at least one letter, no numbers and no inappropriate language. Your entry cannot be the same as the applicant name. You may include spaces, dashes and apostrophes, if necessary."
                                          data-theme="flexapp" value="" size="10" maxlength="20" fa.allow="textEntry" id="sSecondaryLastName1" title="" class="inputTextBox"
                                          data-validation-options="sFirstName ,sLastName ,sSecondaryFirstName1 ,sSecondaryMiddleInitial1 ,sAuthorizedDOB1 ,sAuthorizedStreetAddr11 ,sAuthorizedStreetAddr21 ,sAuthorizedApartment1 ,sAuthorizedCity1 ,sAuthorizedState11 ,sAuthorizedZip1 ,sAuth1AddrSameAsPrimary"
                                          autocomplete="no-autofill-this">
                                      </div>
                                    </div>
                                  </div>
                                  <div class="jpui-col-lg-6 jpui-col-xs-12 jpui-col-sm-7 jputil-xs-push-2 jputil-no-grid-padding jpui-col-xs-last">
                                    <div id="sAuthorizedDOB1UnMask">
                                      <div class="chaseui-field">
                                        <div class="chaseui-label">
                                          <label for="sAuthorizedDOB1">Date of birth <span class="accessible-text  jpjs-help-text">
                                              <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                                              <!-- End of the NonATP Changes --> Enter the authorized user's birthdate using only numbers.</span>
                                          </label>
                                        </div>
                                        <div class="chaseui-value">
                                          <input type="text" name="value(sAuthorizedDOB1)" data-error-message="Please enter a valid birthdate using the MM/DD/YYYY format. The authorized user's age must be under 125."
                                            data-help-message="Enter the authorized user's birthdate using only numbers." data-mask="00/00/0000" data-theme="flexapp" placeholder="mm/dd/yyyy" pattern="\d*" value="" size="10" maxlength="10"
                                            fa.allow="numeric" id="sAuthorizedDOB1" class="chasejs-formatted-input jpjs-date dobUnMask"
                                            data-validation-options="sSecondaryFirstName1 ,sSecondaryLastName1 ,sAuthorizedStreetAddr11 ,sAuthorizedStreetAddr21 ,sAuthorizedApartment1 ,sAuthorizedCity1 ,sAuthorizedState11 ,sAuthorizedZip1 ,sAuth1AddrSameAsPrimary"
                                            autocomplete="no-autofill-this">
                                        </div>
                                      </div>
                                    </div>
                                    <div id="sAuthorizedDOB1Mask" style="display:none;">
                                      <div class="chaseui-field">
                                        <div class="chaseui-label">
                                          <label for="sAuthorizedDOB1-MaskedDOB">Date of birth <span class="accessible-text  jpjs-help-text">
                                              <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                                              <!-- End of the NonATP Changes -->
                                            </span>
                                          </label>
                                        </div>
                                        <div class="chaseui-value">
                                          <input type="text" name="value(sAuthorizedDOB1-MaskedDOB)" data-error-message="???en_US_MAFD1_GV4S.sAuthorizedDOB1-MaskedDOB???" data-mask="00/00/0000" value="" size="10" maxlength="10" fa.allow="numeric"
                                            id="sAuthorizedDOB1-MaskedDOB" class="chasejs-formatted-input jpjs-date dobMask" autocomplete="no-autofill-this">
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                  <div class="jpui-col-lg-12 jpui-col-xs-12 jpui-col-sm-12 jputil-xs-push-2 jpui-col-sm-last jpui-col-xs-last" style="height: 38px;">
                                    <div class="jpui-checkbox-acceptance-radio">
                                      <input type="checkbox" name="sAuth1AddrSameAsPrimary" value="" data-theme="flexapp" id="sAuth1AddrSameAsPrimary" class="chaseui-checkbox jputil-float-left" autocomplete="no-autofill-this">
                                      <label for="sAuth1AddrSameAsPrimary" class="chaseui-checkbox-radio-label">
                                        <div class="jputil-float-left">
                                        </div>
                                        <div class="jpui-review-form-content">Same address as applicant. </div>
                                      </label>
                                    </div>
                                  </div>
                                  <div id="sAuthorizedUser1AddressSection">
                                    <div class="jpui-col-lg-6 jpui-col-xs-9">
                                      <div class="chaseui-field">
                                        <div class="chaseui-label">
                                          <label for="sAuthorizedStreetAddr11">Residential address 1 <span class="accessible-text  jpjs-help-text">
                                              <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                                              <!-- End of the NonATP Changes --> Federal regulations require us to collect authorized user's physical address. If you only provide a P.O. Box, this will delay how quickly we can review your
                                              request.</span>
                                          </label>
                                        </div>
                                        <div class="chaseui-value">
                                          <input type="text" name="value(sAuthorizedStreetAddr11)"
                                            data-error-message="Enter the authorized user's street address. Use only letters, dashes, apostrophes, and spaces. If you provide a P.O. box, processing of this request will be delayed."
                                            data-help-message="Federal regulations require us to collect authorized user's physical address. If you only provide a P.O. Box, this will delay how quickly we can review your request." data-theme="flexapp"
                                            value="" size="16" maxlength="40" fa.allow="address" id="sAuthorizedStreetAddr11"
                                            data-validation-options="sSecondaryFirstName1 ,sSecondaryLastName1 ,sAuthorizedDOB1 ,sAuthorizedStreetAddr21 ,sAuthorizedApartment1 ,sAuthorizedCity1 ,sAuthorizedState11 ,sAuthorizedZip1"
                                            autocomplete="no-autofill-this">
                                        </div>
                                      </div>
                                    </div>
                                    <div class="jpui-col-lg-4 jpui-col-xs-3 jpui-col-xs-show jpui-col-xs-last chaseutil-center">
                                      <a role="button" id="auth1-add-address-line-2-trigger" class="jpjs-toggle jpui-toggle-addtional-field icon-open-close" data-toggle-target="#auth1-address-line-2">
					<span class="accessible-text jpui-activetext">Tap to enter additional address details, like your apartment number.</span>
                	<span class="accessible-text jpui-inactivetext">collapse additional address fields</span>
                
				</a>
                                    </div>
                                    <div id="auth1-address-line-2" class="jpui-col-xs-hide">
                                      <div class="jpui-col-lg-4 jpui-col-xs-9 jpui-col-last">
                                        <div class="chaseui-field">
                                          <div class="chaseui-label">
                                            <label for="sAuthorizedStreetAddr21">Residential address 2 <span class="accessible-text  jpjs-help-text">
                                                <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                                                <!-- End of the NonATP Changes -->
                                              </span>
                                            </label>
                                          </div>
                                          <div class="chaseui-value">
                                            <input type="text" name="value(sAuthorizedStreetAddr21)"
                                              data-error-message="Enter the authorized user's street address. Use only letters, dashes, apostrophes, and spaces. If you provide a P.O. box, processing of this request will be delayed."
                                              data-theme="flexapp" value="" size="16" maxlength="40" fa.allow="address" id="sAuthorizedStreetAddr21" title="" class="inputTextBox requiredfields jpjs-disable-toggle"
                                              data-validation-options="sSecondaryFirstName1 ,sSecondaryLastName1 ,sAuthorizedDOB1 ,sAuthorizedStreetAddr11 ,sAuthorizedApartment1 ,sAuthorizedCity1 ,sAuthorizedState11 ,sAuthorizedZip1"
                                              autocomplete="no-autofill-this">
                                          </div>
                                        </div>
                                      </div>
                                    </div>
                                    <div class="jpui-col-lg-6 jpui-col-xs-12 jpui-col-xs-last">
                                      <div class="chaseui-field">
                                        <div class="chaseui-label">
                                          <label for="sAuthorizedCity1">City <span class="accessible-text  jpjs-help-text">
                                              <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                                              <!-- End of the NonATP Changes -->
                                            </span>
                                          </label>
                                        </div>
                                        <div class="chaseui-value">
                                          <input type="text" name="value(sAuthorizedCity1)" data-error-message="Enter the authorized user's city. Use only letters, dashes, apostrophes, and spaces." data-theme="flexapp" value="" size="18"
                                            maxlength="32" fa.allow="textEntry" id="sAuthorizedCity1" title=""
                                            data-validation-options="sSecondaryFirstName1 ,sSecondaryLastName1 ,sAuthorizedDOB1 ,sAuthorizedStreetAddr11 ,sAuthorizedStreetAddr21 ,sAuthorizedApartment1 ,sAuthorizedState11 ,sAuthorizedZip1 ,isNonRespPage"
                                            autocomplete="no-autofill-this">
                                        </div>
                                      </div>
                                    </div>
                                    <div class="jpui-col-lg-2 jpui-col-xs-3">
                                      <div class="chaseui-field">
                                        <div class="chaseui-label">
                                          <label for="sAuthorizedState11">State <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                                            <!-- End of the NonATP Changes -->
                                          </label>
                                        </div>
                                        <div class="chaseui-value chaseui-styledselect custom-arrow">
                                          <div>
                                            <div class="arrow"><i class="icon-arrow-down"></i></div>
                                            <select name="value(sAuthorizedState11)" id="sAuthorizedState11" title=""
                                              data-validation-options="sSecondaryFirstName1 ,sSecondaryLastName1 ,sAuthorizedDOB1 ,sAuthorizedStreetAddr11 ,sAuthorizedStreetAddr21 ,sAuthorizedApartment1 ,sAuthorizedCity1 ,sAuthorizedZip1 ,prefillState11 ,isNonRespPage"
                                              data-error-message="Select the authorized user's U.S. state." onchange="compareState1WithZip1()" data-theme="flexapp" autocomplete="no-autofill-this">
                                              <option value=""></option>
                                              <option value="AA">AA</option>
                                              <option value="AE">AE</option>
                                              <option value="AK">AK</option>
                                              <option value="AP">AP</option>
                                              <option value="AL">AL</option>
                                              <option value="AR">AR</option>
                                              <option value="AZ">AZ</option>
                                              <option value="CA">CA</option>
                                              <option value="CO">CO</option>
                                              <option value="CT">CT</option>
                                              <option value="DC">DC</option>
                                              <option value="DE">DE</option>
                                              <option value="FL">FL</option>
                                              <option value="GA">GA</option>
                                              <option value="GU">GU</option>
                                              <option value="HI">HI</option>
                                              <option value="IA">IA</option>
                                              <option value="ID">ID</option>
                                              <option value="IL">IL</option>
                                              <option value="IN">IN</option>
                                              <option value="KS">KS</option>
                                              <option value="KY">KY</option>
                                              <option value="LA">LA</option>
                                              <option value="MA">MA</option>
                                              <option value="MD">MD</option>
                                              <option value="ME">ME</option>
                                              <option value="MI">MI</option>
                                              <option value="MN">MN</option>
                                              <option value="MO">MO</option>
                                              <option value="MS">MS</option>
                                              <option value="MT">MT</option>
                                              <option value="NC">NC</option>
                                              <option value="ND">ND</option>
                                              <option value="NE">NE</option>
                                              <option value="NH">NH</option>
                                              <option value="NJ">NJ</option>
                                              <option value="NM">NM</option>
                                              <option value="NV">NV</option>
                                              <option value="NY">NY</option>
                                              <option value="OH">OH</option>
                                              <option value="OK">OK</option>
                                              <option value="OR">OR</option>
                                              <option value="PA">PA</option>
                                              <option value="PR">PR</option>
                                              <option value="RI">RI</option>
                                              <option value="SC">SC</option>
                                              <option value="SD">SD</option>
                                              <option value="TN">TN</option>
                                              <option value="TX">TX</option>
                                              <option value="UT">UT</option>
                                              <option value="VA">VA</option>
                                              <option value="VI">VI</option>
                                              <option value="VT">VT</option>
                                              <option value="WA">WA</option>
                                              <option value="WI">WI</option>
                                              <option value="WV">WV</option>
                                              <option value="WY">WY</option>
                                            </select>
                                          </div>
                                        </div>
                                      </div>
                                    </div>
                                    <div class="jpui-col-lg-4 jpui-col-xs-9 jpui-col-last">
                                      <div class="chaseui-field">
                                        <div class="chaseui-label">
                                          <label for="sAuthorizedZip1">ZIP code <span class="accessible-text  jpjs-help-text">
                                              <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                                              <!-- End of the NonATP Changes --> Enter the authorized user's correct five-digit ZIP code. Authorized user's ZIP code and state should match.</span>
                                          </label>
                                        </div>
                                        <div class="chaseui-value">
                                          <input type="text" name="value(sAuthorizedZip1)" data-error-message="Enter your correct five-digit ZIP code. Your ZIP code and state should match."
                                            data-help-message="Enter the authorized user's correct five-digit ZIP code. Authorized user's ZIP code and state should match." data-mask="99999" data-theme="flexapp" pattern="[0-9]*" value="" size="5"
                                            maxlength="5" fa.allow="numeric" id="sAuthorizedZip1" class="chasejs-formatted-input inputTextBox requiredfields"
                                            data-validation-options="sSecondaryFirstName1 ,sSecondaryLastName1 ,sAuthorizedDOB1 ,sAuthorizedStreetAddr11 ,sAuthorizedStreetAddr21 ,sAuthorizedApartment1 ,sAuthorizedCity1 ,sAuthorizedState11 ,prefillState11 ,isNonRespPage"
                                            onblur="prefillAuthorizedState11(this);" autocomplete="no-autofill-this">
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                              </div>
                            </div>
                            <div id="hiddenAuthUserRows">
                              <div id="second-card-1">
                                <span class="accessible-text">(cardholder 2)</span>
                                <div class="jpui-col-lg-12 jputil-lg-push-1 jpui-col-xs-12 jptuil-xs-push-2 jpui-col-last cardholder-text jputil-custom-push-1"> Authorized User <span class="chasejs-counter">2</span>
                                </div>
                                <div class="jpui-remove-item-wrapper">
                                  <a class="chaseui-remove-item icon-close-x" id="removeAuthUser2" href="javascript:void(0);" onclick="removeAuthUser(1); return false;"><span class="accessible-text">Remove authorized user 2</span></a>
                                </div>
                                <div class="jpui-col-lg-10 jpui-col-sm-10 jpui-col-xs-11 jpui-col-xs-last">
                                  <div class="jpui-col-lg-4 jpui-col-sm-5 jpui-col-xs-7">
                                    <div>
                                      <div class="chaseui-field">
                                        <div class="chaseui-label">
                                          <label for="sSecondaryFirstName2">First name <span class="accessible-text  jpjs-help-text">
                                              <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                                              <!-- End of the NonATP Changes --> Enter your name as it would appear on a government issued ID. Avoid using periods and commas as they will not be captured.</span>
                                          </label>
                                        </div>
                                        <div class="chaseui-value">
                                          <input type="text" name="value(sSecondaryFirstName2)"
                                            data-error-message="Please enter the authorized user's first name, making sure it includes at least one letter, no numbers and no inappropriate language. Your entry cannot be the same as the applicant name. You may include spaces, dashes and apostrophes, if necessary."
                                            data-help-message="Enter your name as it would appear on a government issued ID. Avoid using periods and commas as they will not be captured." data-theme="flexapp" value="" size="12" maxlength="15"
                                            fa.allow="textEntry" id="sSecondaryFirstName2" class="inputTextBox"
                                            data-validation-options="sSecondaryLastName2 ,sSecondaryMiddleInitial2 ,sAuthorizedDOB2 ,sAuthorizedStreetAddr12 ,sAuthorizedStreetAddr22 ,sAuthorizedApartment2 ,sAuthorizedCity2 ,sAuthorizedState12 ,sAuthorizedZip2 ,sAuth2AddrSameAsPrimary"
                                            autocomplete="no-autofill-this">
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                  <div class="jpui-col-lg-2 jpui-col-xs-5 jpui-col-sm-2 jpui-col-xs-last">
                                    <div class="chaseui-field">
                                      <div class="chaseui-label">
                                        <label for="sSecondaryMiddleInitial2">M.I. <span class="accessible-text  jpjs-help-text">
                                            <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                                            <!-- End of the NonATP Changes -->
                                          </span>
                                        </label>
                                      </div>
                                      <div class="chaseui-value">
                                        <input type="text" name="value(sSecondaryMiddleInitial2)" data-error-message="If the authorized user has a middle initial, please enter a single letter. Otherwise leave this blank." data-theme="flexapp"
                                          value="" size="2" maxlength="1" fa.allow="alpha" id="sSecondaryMiddleInitial2" title="" class="inputTextBox" autocomplete="no-autofill-this">
                                      </div>
                                    </div>
                                  </div>
                                  <div class="jpui-col-lg-5 jpui-col-xs-12 jpui-col-sm-5 jputil-xs-push-2 jpui-col-sm-last jpui-col-xs-last">
                                    <div class="chaseui-field">
                                      <div class="chaseui-label">
                                        <label for="sSecondaryLastName2">Last name <span class="accessible-text  jpjs-help-text">
                                            <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                                            <!-- End of the NonATP Changes -->
                                          </span>
                                        </label>
                                      </div>
                                      <div class="chaseui-value">
                                        <input type="text" name="value(sSecondaryLastName2)"
                                          data-error-message="Please enter the authorized user's last name, making sure it includes at least one letter, no numbers and no inappropriate language. Your entry cannot be the same as the applicant name. You may include spaces, dashes and apostrophes, if necessary."
                                          data-theme="flexapp" value="" size="10" maxlength="20" fa.allow="textEntry" id="sSecondaryLastName2" title="" class="inputTextBox"
                                          data-validation-options="sFirstName ,sLastName ,sSecondaryFirstName2 ,sSecondaryMiddleInitial2 ,sAuthorizedDOB2 ,sAuthorizedStreetAddr12 ,sAuthorizedStreetAddr22 ,sAuthorizedApartment2 ,sAuthorizedCity2 ,sAuthorizedState12 ,sAuthorizedZip2 ,sAuth2AddrSameAsPrimary"
                                          autocomplete="no-autofill-this">
                                      </div>
                                    </div>
                                  </div>
                                  <div class="jpui-col-lg-6 jpui-col-xs-12 jpui-col-sm-7 jputil-xs-push-2 jputil-no-grid-padding jpui-col-xs-last">
                                    <div id="sAuthorizedDOB2UnMask">
                                      <div class="chaseui-field">
                                        <div class="chaseui-label">
                                          <label for="sAuthorizedDOB2">Date of birth <span class="accessible-text  jpjs-help-text">
                                              <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                                              <!-- End of the NonATP Changes --> Enter the authorized user's birthdate using only numbers.</span>
                                          </label>
                                        </div>
                                        <div class="chaseui-value">
                                          <input type="text" name="value(sAuthorizedDOB2)" data-error-message="Please enter a valid birthdate using the MM/DD/YYYY format. The authorized user's age must be under 125."
                                            data-help-message="Enter the authorized user's birthdate using only numbers." data-mask="00/00/0000" data-theme="flexapp" placeholder="mm/dd/yyyy" pattern="\d*" value="" size="10" maxlength="10"
                                            fa.allow="numeric" id="sAuthorizedDOB2" class="chasejs-formatted-input jpjs-date dobUnMask"
                                            data-validation-options="sSecondaryFirstName2 ,sSecondaryLastName2 ,sAuthorizedStreetAddr12 ,sAuthorizedStreetAddr22 ,sAuthorizedApartment2 ,sAuthorizedCity2 ,sAuthorizedState12 ,sAuthorizedZip2 ,sAuth2AddrSameAsPrimary"
                                            autocomplete="no-autofill-this">
                                        </div>
                                      </div>
                                    </div>
                                    <div id="sAuthorizedDOB2Mask" style="display:none;">
                                      <div class="chaseui-field">
                                        <div class="chaseui-label">
                                          <label for="sAuthorizedDOB2-MaskedDOB">Date of birth <span class="accessible-text  jpjs-help-text">
                                              <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                                              <!-- End of the NonATP Changes -->
                                            </span>
                                          </label>
                                        </div>
                                        <div class="chaseui-value">
                                          <input type="text" name="value(sAuthorizedDOB2-MaskedDOB)" data-error-message="???en_US_MAFD1_GV4S.sAuthorizedDOB2-MaskedDOB???" data-mask="00/00/0000" value="" size="10" maxlength="10" fa.allow="numeric"
                                            id="sAuthorizedDOB2-MaskedDOB" class="chasejs-formatted-input jpjs-date dobMask" autocomplete="no-autofill-this">
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                  <div class="jpui-col-lg-12 jpui-col-xs-12 jpui-col-sm-12 jputil-xs-push-2 jpui-col-sm-last jpui-col-xs-last" style="height: 38px;">
                                    <div class="jpui-checkbox-acceptance-radio">
                                      <input type="checkbox" name="sAuth2AddrSameAsPrimary" value="" data-theme="flexapp" id="sAuth2AddrSameAsPrimary" class="chaseui-checkbox jputil-float-left" autocomplete="no-autofill-this">
                                      <label for="sAuth2AddrSameAsPrimary" class="chaseui-checkbox-radio-label">
                                        <div class="jputil-float-left">
                                        </div>
                                        <div class="jpui-review-form-content">Same address as applicant. </div>
                                      </label>
                                    </div>
                                  </div>
                                  <div id="sAuthorizedUser2AddressSection">
                                    <div class="jpui-col-lg-6 jpui-col-xs-9">
                                      <div class="chaseui-field">
                                        <div class="chaseui-label">
                                          <label for="sAuthorizedStreetAddr12">Residential address 1 <span class="accessible-text  jpjs-help-text">
                                              <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                                              <!-- End of the NonATP Changes --> Federal regulations require us to collect authorized user's physical address. If you only provide a P.O. Box, this will delay how quickly we can review your
                                              request.</span>
                                          </label>
                                        </div>
                                        <div class="chaseui-value">
                                          <input type="text" name="value(sAuthorizedStreetAddr12)"
                                            data-error-message="Enter the authorized user's street address. Use only letters, dashes, apostrophes, and spaces. If you provide a P.O. box, processing of this request will be delayed."
                                            data-help-message="Federal regulations require us to collect authorized user's physical address. If you only provide a P.O. Box, this will delay how quickly we can review your request." data-theme="flexapp"
                                            value="" size="16" maxlength="40" fa.allow="address" id="sAuthorizedStreetAddr12"
                                            data-validation-options="sSecondaryFirstName2 ,sSecondaryLastName2 ,sAuthorizedDOB2 ,sAuthorizedStreetAddr22 ,sAuthorizedApartment2 ,sAuthorizedCity2 ,sAuthorizedState12 ,sAuthorizedZip2"
                                            autocomplete="no-autofill-this">
                                        </div>
                                      </div>
                                    </div>
                                    <div class="jpui-col-lg-4 jpui-col-xs-3 jpui-col-xs-show jpui-col-xs-last chaseutil-center">
                                      <a role="button" id="auth2-add-address-line-2-trigger" class="jpjs-toggle jpui-toggle-addtional-field icon-open-close" data-toggle-target="#auth2-address-line-2">
					<span class="accessible-text jpui-activetext">Tap to enter additional address details, like your apartment number.</span>
                	<span class="accessible-text jpui-inactivetext">collapse additional address fields</span>
                
				</a>
                                    </div>
                                    <div id="auth2-address-line-2" class="jpui-col-xs-hide">
                                      <div class="jpui-col-lg-4 jpui-col-xs-9 jpui-col-last">
                                        <div class="chaseui-field">
                                          <div class="chaseui-label">
                                            <label for="sAuthorizedStreetAddr22">Residential address 2 <span class="accessible-text  jpjs-help-text">
                                                <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                                                <!-- End of the NonATP Changes -->
                                              </span>
                                            </label>
                                          </div>
                                          <div class="chaseui-value">
                                            <input type="text" name="value(sAuthorizedStreetAddr22)"
                                              data-error-message="Enter the authorized user's street address. Use only letters, dashes, apostrophes, and spaces. If you provide a P.O. box, processing of this request will be delayed."
                                              data-theme="flexapp" value="" size="16" maxlength="40" fa.allow="address" id="sAuthorizedStreetAddr22" title="" class="inputTextBox requiredfields jpjs-disable-toggle"
                                              data-validation-options="sSecondaryFirstName2 ,sSecondaryLastName2 ,sAuthorizedDOB2 ,sAuthorizedStreetAddr12 ,sAuthorizedApartment2 ,sAuthorizedCity2 ,sAuthorizedState12 ,sAuthorizedZip2"
                                              autocomplete="no-autofill-this">
                                          </div>
                                        </div>
                                      </div>
                                    </div>
                                    <div class="jpui-col-lg-6 jpui-col-xs-12 jpui-col-xs-last">
                                      <div class="chaseui-field">
                                        <div class="chaseui-label">
                                          <label for="sAuthorizedCity2">City <span class="accessible-text  jpjs-help-text">
                                              <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                                              <!-- End of the NonATP Changes -->
                                            </span>
                                          </label>
                                        </div>
                                        <div class="chaseui-value">
                                          <input type="text" name="value(sAuthorizedCity2)" data-error-message="Enter the authorized user's city. Use only letters, dashes, apostrophes, and spaces." data-theme="flexapp" value="" size="18"
                                            maxlength="32" fa.allow="textEntry" id="sAuthorizedCity2" title=""
                                            data-validation-options="sSecondaryFirstName2 ,sSecondaryLastName2 ,sAuthorizedDOB2 ,sAuthorizedStreetAddr12 ,sAuthorizedStreetAddr22 ,sAuthorizedApartment2 ,sAuthorizedState12 ,sAuthorizedZip2 ,isNonRespPage"
                                            autocomplete="no-autofill-this">
                                        </div>
                                      </div>
                                    </div>
                                    <div class="jpui-col-lg-2 jpui-col-xs-3">
                                      <div class="chaseui-field">
                                        <div class="chaseui-label">
                                          <label for="sAuthorizedState12">State <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                                            <!-- End of the NonATP Changes -->
                                          </label>
                                        </div>
                                        <div class="chaseui-value chaseui-styledselect custom-arrow">
                                          <div>
                                            <div class="arrow"><i class="icon-arrow-down"></i></div>
                                            <select name="value(sAuthorizedState12)" id="sAuthorizedState12" title=""
                                              data-validation-options="sSecondaryFirstName2 ,sSecondaryLastName2 ,sAuthorizedDOB2 ,sAuthorizedStreetAddr12 ,sAuthorizedStreetAddr22 ,sAuthorizedApartment2 ,sAuthorizedCity2 ,sAuthorizedZip2 ,prefillState12 ,isNonRespPage"
                                              data-error-message="Select the authorized user's U.S. state." onchange="compareState2WithZip2()" data-theme="flexapp" autocomplete="no-autofill-this">
                                              <option value=""></option>
                                              <option value="AA">AA</option>
                                              <option value="AE">AE</option>
                                              <option value="AK">AK</option>
                                              <option value="AP">AP</option>
                                              <option value="AL">AL</option>
                                              <option value="AR">AR</option>
                                              <option value="AZ">AZ</option>
                                              <option value="CA">CA</option>
                                              <option value="CO">CO</option>
                                              <option value="CT">CT</option>
                                              <option value="DC">DC</option>
                                              <option value="DE">DE</option>
                                              <option value="FL">FL</option>
                                              <option value="GA">GA</option>
                                              <option value="GU">GU</option>
                                              <option value="HI">HI</option>
                                              <option value="IA">IA</option>
                                              <option value="ID">ID</option>
                                              <option value="IL">IL</option>
                                              <option value="IN">IN</option>
                                              <option value="KS">KS</option>
                                              <option value="KY">KY</option>
                                              <option value="LA">LA</option>
                                              <option value="MA">MA</option>
                                              <option value="MD">MD</option>
                                              <option value="ME">ME</option>
                                              <option value="MI">MI</option>
                                              <option value="MN">MN</option>
                                              <option value="MO">MO</option>
                                              <option value="MS">MS</option>
                                              <option value="MT">MT</option>
                                              <option value="NC">NC</option>
                                              <option value="ND">ND</option>
                                              <option value="NE">NE</option>
                                              <option value="NH">NH</option>
                                              <option value="NJ">NJ</option>
                                              <option value="NM">NM</option>
                                              <option value="NV">NV</option>
                                              <option value="NY">NY</option>
                                              <option value="OH">OH</option>
                                              <option value="OK">OK</option>
                                              <option value="OR">OR</option>
                                              <option value="PA">PA</option>
                                              <option value="PR">PR</option>
                                              <option value="RI">RI</option>
                                              <option value="SC">SC</option>
                                              <option value="SD">SD</option>
                                              <option value="TN">TN</option>
                                              <option value="TX">TX</option>
                                              <option value="UT">UT</option>
                                              <option value="VA">VA</option>
                                              <option value="VI">VI</option>
                                              <option value="VT">VT</option>
                                              <option value="WA">WA</option>
                                              <option value="WI">WI</option>
                                              <option value="WV">WV</option>
                                              <option value="WY">WY</option>
                                            </select>
                                          </div>
                                        </div>
                                      </div>
                                    </div>
                                    <div class="jpui-col-lg-4 jpui-col-xs-9 jpui-col-last">
                                      <div class="chaseui-field">
                                        <div class="chaseui-label">
                                          <label for="sAuthorizedZip2">ZIP code <span class="accessible-text  jpjs-help-text">
                                              <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                                              <!-- End of the NonATP Changes --> Enter the authorized user's correct five-digit ZIP code. Authorized user's ZIP code and state should match.</span>
                                          </label>
                                        </div>
                                        <div class="chaseui-value">
                                          <input type="text" name="value(sAuthorizedZip2)" data-error-message="Enter your correct five-digit ZIP code. Your ZIP code and state should match."
                                            data-help-message="Enter the authorized user's correct five-digit ZIP code. Authorized user's ZIP code and state should match." data-mask="99999" data-theme="flexapp" pattern="[0-9]*" value="" size="5"
                                            maxlength="5" fa.allow="numeric" id="sAuthorizedZip2" class="chasejs-formatted-input inputTextBox requiredfields"
                                            data-validation-options="sSecondaryFirstName2 ,sSecondaryLastName2 ,sAuthorizedDOB2 ,sAuthorizedStreetAddr12 ,sAuthorizedStreetAddr22 ,sAuthorizedApartment2 ,sAuthorizedCity2 ,sAuthorizedState12 ,prefillState12 ,isNonRespPage"
                                            onblur="prefillAuthorizedState12(this);" autocomplete="no-autofill-this">
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                              </div>
                              <div id="second-card-2">
                                <span class="accessible-text">(cardholder 3)</span>
                                <div class="jpui-col-lg-12 jputil-lg-push-1 jpui-col-xs-12 jptuil-xs-push-2 jpui-col-last cardholder-text jputil-custom-push-1"> Authorized User <span class="chasejs-counter">3</span>
                                </div>
                                <div class="jpui-remove-item-wrapper">
                                  <a class="chaseui-remove-item icon-close-x" id="removeAuthUser3" href="javascript:void(0);" onclick="removeAuthUser(2); return false;"><span class="accessible-text">Remove authorized user 3</span></a>
                                </div>
                                <div class="jpui-col-lg-10 jpui-col-sm-10 jpui-col-xs-11 jpui-col-xs-last">
                                  <div class="jpui-col-lg-4 jpui-col-sm-5 jpui-col-xs-7">
                                    <div>
                                      <div class="chaseui-field">
                                        <div class="chaseui-label">
                                          <label for="sSecondaryFirstName3">First name <span class="accessible-text  jpjs-help-text">
                                              <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                                              <!-- End of the NonATP Changes --> Enter your name as it would appear on a government issued ID. Avoid using periods and commas as they will not be captured.</span>
                                          </label>
                                        </div>
                                        <div class="chaseui-value">
                                          <input type="text" name="value(sSecondaryFirstName3)"
                                            data-error-message="Please enter the authorized user's first name, making sure it includes at least one letter, no numbers and no inappropriate language. Your entry cannot be the same as the applicant name. You may include spaces, dashes and apostrophes, if necessary."
                                            data-help-message="Enter your name as it would appear on a government issued ID. Avoid using periods and commas as they will not be captured." data-theme="flexapp" value="" size="12" maxlength="15"
                                            fa.allow="textEntry" id="sSecondaryFirstName3" class="inputTextBox"
                                            data-validation-options="sSecondaryLastName3 ,sSecondaryMiddleInitial3 ,sAuthorizedDOB3 ,sAuthorizedStreetAddr13 ,sAuthorizedStreetAddr23 ,sAuthorizedApartment3 ,sAuthorizedCity3 ,sAuthorizedState13 ,sAuthorizedZip3 ,sAuth3AddrSameAsPrimary"
                                            autocomplete="no-autofill-this">
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                  <div class="jpui-col-lg-2 jpui-col-xs-5 jpui-col-sm-2 jpui-col-xs-last">
                                    <div class="chaseui-field">
                                      <div class="chaseui-label">
                                        <label for="sSecondaryMiddleInitial3">M.I. <span class="accessible-text  jpjs-help-text">
                                            <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                                            <!-- End of the NonATP Changes -->
                                          </span>
                                        </label>
                                      </div>
                                      <div class="chaseui-value">
                                        <input type="text" name="value(sSecondaryMiddleInitial3)" data-error-message="If the authorized user has a middle initial, please enter a single letter. Otherwise leave this blank." data-theme="flexapp"
                                          value="" size="2" maxlength="1" fa.allow="alpha" id="sSecondaryMiddleInitial3" title="" class="inputTextBox" autocomplete="no-autofill-this">
                                      </div>
                                    </div>
                                  </div>
                                  <div class="jpui-col-lg-5 jpui-col-xs-12 jpui-col-sm-5 jputil-xs-push-2 jpui-col-sm-last jpui-col-xs-last">
                                    <div class="chaseui-field">
                                      <div class="chaseui-label">
                                        <label for="sSecondaryLastName3">Last name <span class="accessible-text  jpjs-help-text">
                                            <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                                            <!-- End of the NonATP Changes -->
                                          </span>
                                        </label>
                                      </div>
                                      <div class="chaseui-value">
                                        <input type="text" name="value(sSecondaryLastName3)"
                                          data-error-message="Please enter the authorized user's last name, making sure it includes at least one letter, no numbers and no inappropriate language. Your entry cannot be the same as the applicant name. You may include spaces, dashes and apostrophes, if necessary."
                                          data-theme="flexapp" value="" size="10" maxlength="20" fa.allow="textEntry" id="sSecondaryLastName3" title="" class="inputTextBox"
                                          data-validation-options="sFirstName ,sLastName ,sSecondaryFirstName3 ,sSecondaryMiddleInitial3 ,sAuthorizedDOB3 ,sAuthorizedStreetAddr13 ,sAuthorizedStreetAddr23 ,sAuthorizedApartment3 ,sAuthorizedCity3 ,sAuthorizedState13 ,sAuthorizedZip3 ,sAuth3AddrSameAsPrimary"
                                          autocomplete="no-autofill-this">
                                      </div>
                                    </div>
                                  </div>
                                  <div class="jpui-col-lg-6 jpui-col-xs-12 jpui-col-sm-7 jputil-xs-push-2 jputil-no-grid-padding jpui-col-xs-last">
                                    <div id="sAuthorizedDOB3UnMask">
                                      <div class="chaseui-field">
                                        <div class="chaseui-label">
                                          <label for="sAuthorizedDOB3">Date of birth <span class="accessible-text  jpjs-help-text">
                                              <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                                              <!-- End of the NonATP Changes --> Enter the authorized user's birthdate using only numbers.</span>
                                          </label>
                                        </div>
                                        <div class="chaseui-value">
                                          <input type="text" name="value(sAuthorizedDOB3)" data-error-message="Please enter a valid birthdate using the MM/DD/YYYY format. The authorized user's age must be under 125."
                                            data-help-message="Enter the authorized user's birthdate using only numbers." data-mask="00/00/0000" data-theme="flexapp" placeholder="mm/dd/yyyy" pattern="\d*" value="" size="10" maxlength="10"
                                            fa.allow="numeric" id="sAuthorizedDOB3" class="chasejs-formatted-input jpjs-date dobUnMask"
                                            data-validation-options="sSecondaryFirstName3 ,sSecondaryLastName3 ,sAuthorizedStreetAddr13 ,sAuthorizedStreetAddr23 ,sAuthorizedApartment3 ,sAuthorizedCity3 ,sAuthorizedState13 ,sAuthorizedZip3 ,sAuth3AddrSameAsPrimary"
                                            autocomplete="no-autofill-this">
                                        </div>
                                      </div>
                                    </div>
                                    <div id="sAuthorizedDOB3Mask" style="display:none;">
                                      <div class="chaseui-field">
                                        <div class="chaseui-label">
                                          <label for="sAuthorizedDOB3-MaskedDOB">Date of birth <span class="accessible-text  jpjs-help-text">
                                              <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                                              <!-- End of the NonATP Changes -->
                                            </span>
                                          </label>
                                        </div>
                                        <div class="chaseui-value">
                                          <input type="text" name="value(sAuthorizedDOB3-MaskedDOB)" data-error-message="???en_US_MAFD1_GV4S.sAuthorizedDOB3-MaskedDOB???" data-mask="00/00/0000" value="" size="10" maxlength="10" fa.allow="numeric"
                                            id="sAuthorizedDOB3-MaskedDOB" class="chasejs-formatted-input jpjs-date dobMask" autocomplete="no-autofill-this">
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                  <div class="jpui-col-lg-12 jpui-col-xs-12 jpui-col-sm-12 jputil-xs-push-2 jpui-col-sm-last jpui-col-xs-last" style="height: 38px;">
                                    <div class="jpui-checkbox-acceptance-radio">
                                      <input type="checkbox" name="sAuth3AddrSameAsPrimary" value="" data-theme="flexapp" id="sAuth3AddrSameAsPrimary" class="chaseui-checkbox jputil-float-left" autocomplete="no-autofill-this">
                                      <label for="sAuth3AddrSameAsPrimary" class="chaseui-checkbox-radio-label">
                                        <div class="jputil-float-left">
                                        </div>
                                        <div class="jpui-review-form-content">Same address as applicant. </div>
                                      </label>
                                    </div>
                                  </div>
                                  <div id="sAuthorizedUser3AddressSection">
                                    <div class="jpui-col-lg-6 jpui-col-xs-9">
                                      <div class="chaseui-field">
                                        <div class="chaseui-label">
                                          <label for="sAuthorizedStreetAddr13">Residential address 1 <span class="accessible-text  jpjs-help-text">
                                              <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                                              <!-- End of the NonATP Changes --> Federal regulations require us to collect authorized user's physical address. If you only provide a P.O. Box, this will delay how quickly we can review your
                                              request.</span>
                                          </label>
                                        </div>
                                        <div class="chaseui-value">
                                          <input type="text" name="value(sAuthorizedStreetAddr13)"
                                            data-error-message="Enter the authorized user's street address. Use only letters, dashes, apostrophes, and spaces. If you provide a P.O. box, processing of this request will be delayed."
                                            data-help-message="Federal regulations require us to collect authorized user's physical address. If you only provide a P.O. Box, this will delay how quickly we can review your request." data-theme="flexapp"
                                            value="" size="16" maxlength="40" fa.allow="address" id="sAuthorizedStreetAddr13"
                                            data-validation-options="sSecondaryFirstName3 ,sSecondaryLastName3 ,sAuthorizedDOB3 ,sAuthorizedStreetAddr23 ,sAuthorizedApartment3 ,sAuthorizedCity3 ,sAuthorizedState13 ,sAuthorizedZip3"
                                            autocomplete="no-autofill-this">
                                        </div>
                                      </div>
                                    </div>
                                    <div class="jpui-col-lg-4 jpui-col-xs-3 jpui-col-xs-show jpui-col-xs-last chaseutil-center">
                                      <a role="button" id="auth3-add-address-line-2-trigger" class="jpjs-toggle jpui-toggle-addtional-field icon-open-close" data-toggle-target="#auth3-address-line-2">
					<span class="accessible-text jpui-activetext">Tap to enter additional address details, like your apartment number.</span>
                	<span class="accessible-text jpui-inactivetext">collapse additional address fields</span>
                
				</a>
                                    </div>
                                    <div id="auth3-address-line-2" class="jpui-col-xs-hide">
                                      <div class="jpui-col-lg-4 jpui-col-xs-9 jpui-col-last">
                                        <div class="chaseui-field">
                                          <div class="chaseui-label">
                                            <label for="sAuthorizedStreetAddr23">Residential address 2 <span class="accessible-text  jpjs-help-text">
                                                <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                                                <!-- End of the NonATP Changes -->
                                              </span>
                                            </label>
                                          </div>
                                          <div class="chaseui-value">
                                            <input type="text" name="value(sAuthorizedStreetAddr23)"
                                              data-error-message="Enter the authorized user's street address. Use only letters, dashes, apostrophes, and spaces. If you provide a P.O. box, processing of this request will be delayed."
                                              data-theme="flexapp" value="" size="16" maxlength="40" fa.allow="address" id="sAuthorizedStreetAddr23" title="" class="inputTextBox requiredfields jpjs-disable-toggle"
                                              data-validation-options="sSecondaryFirstName3 ,sSecondaryLastName3 ,sAuthorizedDOB3 ,sAuthorizedStreetAddr13 ,sAuthorizedApartment3 ,sAuthorizedCity3 ,sAuthorizedState13 ,sAuthorizedZip3"
                                              autocomplete="no-autofill-this">
                                          </div>
                                        </div>
                                      </div>
                                    </div>
                                    <div class="jpui-col-lg-6 jpui-col-xs-12 jpui-col-xs-last">
                                      <div class="chaseui-field">
                                        <div class="chaseui-label">
                                          <label for="sAuthorizedCity3">City <span class="accessible-text  jpjs-help-text">
                                              <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                                              <!-- End of the NonATP Changes -->
                                            </span>
                                          </label>
                                        </div>
                                        <div class="chaseui-value">
                                          <input type="text" name="value(sAuthorizedCity3)" data-error-message="Enter the authorized user's city. Use only letters, dashes, apostrophes, and spaces." data-theme="flexapp" value="" size="18"
                                            maxlength="32" fa.allow="textEntry" id="sAuthorizedCity3" title=""
                                            data-validation-options="sSecondaryFirstName3 ,sSecondaryLastName3 ,sAuthorizedDOB3 ,sAuthorizedStreetAddr13 ,sAuthorizedStreetAddr23 ,sAuthorizedApartment3 ,sAuthorizedState13 ,sAuthorizedZip3 ,isNonRespPage"
                                            autocomplete="no-autofill-this">
                                        </div>
                                      </div>
                                    </div>
                                    <div class="jpui-col-lg-2 jpui-col-xs-3">
                                      <div class="chaseui-field">
                                        <div class="chaseui-label">
                                          <label for="sAuthorizedState13">State <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                                            <!-- End of the NonATP Changes -->
                                          </label>
                                        </div>
                                        <div class="chaseui-value chaseui-styledselect custom-arrow">
                                          <div>
                                            <div class="arrow"><i class="icon-arrow-down"></i></div>
                                            <select name="value(sAuthorizedState13)" id="sAuthorizedState13" title=""
                                              data-validation-options="sSecondaryFirstName3 ,sSecondaryLastName3 ,sAuthorizedDOB3 ,sAuthorizedStreetAddr13 ,sAuthorizedStreetAddr23 ,sAuthorizedApartment3 ,sAuthorizedCity3 ,sAuthorizedZip3 ,prefillState13 ,isNonRespPage"
                                              data-error-message="Select the authorized user's U.S. state." onchange="compareState3WithZip3()" data-theme="flexapp" autocomplete="no-autofill-this">
                                              <option value=""></option>
                                              <option value="AA">AA</option>
                                              <option value="AE">AE</option>
                                              <option value="AK">AK</option>
                                              <option value="AP">AP</option>
                                              <option value="AL">AL</option>
                                              <option value="AR">AR</option>
                                              <option value="AZ">AZ</option>
                                              <option value="CA">CA</option>
                                              <option value="CO">CO</option>
                                              <option value="CT">CT</option>
                                              <option value="DC">DC</option>
                                              <option value="DE">DE</option>
                                              <option value="FL">FL</option>
                                              <option value="GA">GA</option>
                                              <option value="GU">GU</option>
                                              <option value="HI">HI</option>
                                              <option value="IA">IA</option>
                                              <option value="ID">ID</option>
                                              <option value="IL">IL</option>
                                              <option value="IN">IN</option>
                                              <option value="KS">KS</option>
                                              <option value="KY">KY</option>
                                              <option value="LA">LA</option>
                                              <option value="MA">MA</option>
                                              <option value="MD">MD</option>
                                              <option value="ME">ME</option>
                                              <option value="MI">MI</option>
                                              <option value="MN">MN</option>
                                              <option value="MO">MO</option>
                                              <option value="MS">MS</option>
                                              <option value="MT">MT</option>
                                              <option value="NC">NC</option>
                                              <option value="ND">ND</option>
                                              <option value="NE">NE</option>
                                              <option value="NH">NH</option>
                                              <option value="NJ">NJ</option>
                                              <option value="NM">NM</option>
                                              <option value="NV">NV</option>
                                              <option value="NY">NY</option>
                                              <option value="OH">OH</option>
                                              <option value="OK">OK</option>
                                              <option value="OR">OR</option>
                                              <option value="PA">PA</option>
                                              <option value="PR">PR</option>
                                              <option value="RI">RI</option>
                                              <option value="SC">SC</option>
                                              <option value="SD">SD</option>
                                              <option value="TN">TN</option>
                                              <option value="TX">TX</option>
                                              <option value="UT">UT</option>
                                              <option value="VA">VA</option>
                                              <option value="VI">VI</option>
                                              <option value="VT">VT</option>
                                              <option value="WA">WA</option>
                                              <option value="WI">WI</option>
                                              <option value="WV">WV</option>
                                              <option value="WY">WY</option>
                                            </select>
                                          </div>
                                        </div>
                                      </div>
                                    </div>
                                    <div class="jpui-col-lg-4 jpui-col-xs-9 jpui-col-last">
                                      <div class="chaseui-field">
                                        <div class="chaseui-label">
                                          <label for="sAuthorizedZip3">ZIP code <span class="accessible-text  jpjs-help-text">
                                              <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                                              <!-- End of the NonATP Changes --> Enter the authorized user's correct five-digit ZIP code. Authorized user's ZIP code and state should match.</span>
                                          </label>
                                        </div>
                                        <div class="chaseui-value">
                                          <input type="text" name="value(sAuthorizedZip3)" data-error-message="Enter your correct five-digit ZIP code. Your ZIP code and state should match."
                                            data-help-message="Enter the authorized user's correct five-digit ZIP code. Authorized user's ZIP code and state should match." data-mask="99999" data-theme="flexapp" pattern="[0-9]*" value="" size="5"
                                            maxlength="5" fa.allow="numeric" id="sAuthorizedZip3" class="chasejs-formatted-input inputTextBox requiredfields"
                                            data-validation-options="sSecondaryFirstName3 ,sSecondaryLastName3 ,sAuthorizedDOB3 ,sAuthorizedStreetAddr13 ,sAuthorizedStreetAddr23 ,sAuthorizedApartment3 ,sAuthorizedCity3 ,sAuthorizedState13 ,prefillState13 ,isNonRespPage"
                                            onblur="prefillAuthorizedState13(this);" autocomplete="no-autofill-this">
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                              </div>
                              <div id="second-card-3">
                                <span class="accessible-text">(cardholder 4)</span>
                                <div class="jpui-col-lg-12 jputil-lg-push-1 jpui-col-xs-12 jptuil-xs-push-2 jpui-col-last cardholder-text jputil-custom-push-1"> Authorized User <span class="chasejs-counter">4</span>
                                </div>
                                <div class="jpui-remove-item-wrapper">
                                  <a class="chaseui-remove-item icon-close-x" id="removeAuthUser4" href="javascript:void(0);" onclick="removeAuthUser(3); return false;"><span class="accessible-text">Remove authorized user 4</span></a>
                                </div>
                                <div class="jpui-col-lg-10 jpui-col-sm-10 jpui-col-xs-11 jpui-col-xs-last">
                                  <div class="jpui-col-lg-4 jpui-col-sm-5 jpui-col-xs-7">
                                    <div>
                                      <div class="chaseui-field">
                                        <div class="chaseui-label">
                                          <label for="sSecondaryFirstName4">First name <span class="accessible-text  jpjs-help-text">
                                              <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                                              <!-- End of the NonATP Changes --> Enter your name as it would appear on a government issued ID. Avoid using periods and commas as they will not be captured.</span>
                                          </label>
                                        </div>
                                        <div class="chaseui-value">
                                          <input type="text" name="value(sSecondaryFirstName4)"
                                            data-error-message="Please enter the authorized user's first name, making sure it includes at least one letter, no numbers and no inappropriate language. Your entry cannot be the same as the applicant name. You may include spaces, dashes and apostrophes, if necessary."
                                            data-help-message="Enter your name as it would appear on a government issued ID. Avoid using periods and commas as they will not be captured." data-theme="flexapp" value="" size="12" maxlength="15"
                                            fa.allow="textEntry" id="sSecondaryFirstName4" class="inputTextBox"
                                            data-validation-options="sSecondaryLastName4 ,sSecondaryMiddleInitial4 ,sAuthorizedDOB4 ,sAuthorizedStreetAddr14 ,sAuthorizedStreetAddr24 ,sAuthorizedApartment4 ,sAuthorizedCity4 ,sAuthorizedState14 ,sAuthorizedZip4 ,sAuth4AddrSameAsPrimary"
                                            autocomplete="no-autofill-this">
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                  <div class="jpui-col-lg-2 jpui-col-xs-5 jpui-col-sm-2 jpui-col-xs-last">
                                    <div class="chaseui-field">
                                      <div class="chaseui-label">
                                        <label for="sSecondaryMiddleInitial4">M.I. <span class="accessible-text  jpjs-help-text">
                                            <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                                            <!-- End of the NonATP Changes -->
                                          </span>
                                        </label>
                                      </div>
                                      <div class="chaseui-value">
                                        <input type="text" name="value(sSecondaryMiddleInitial4)" data-error-message="If the authorized user has a middle initial, please enter a single letter. Otherwise leave this blank." data-theme="flexapp"
                                          value="" size="2" maxlength="1" fa.allow="alpha" id="sSecondaryMiddleInitial4" title="" class="inputTextBox" autocomplete="no-autofill-this">
                                      </div>
                                    </div>
                                  </div>
                                  <div class="jpui-col-lg-5 jpui-col-xs-12 jpui-col-sm-5 jputil-xs-push-2 jpui-col-sm-last jpui-col-xs-last">
                                    <div class="chaseui-field">
                                      <div class="chaseui-label">
                                        <label for="sSecondaryLastName4">Last name <span class="accessible-text  jpjs-help-text">
                                            <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                                            <!-- End of the NonATP Changes -->
                                          </span>
                                        </label>
                                      </div>
                                      <div class="chaseui-value">
                                        <input type="text" name="value(sSecondaryLastName4)"
                                          data-error-message="Please enter the authorized user's last name, making sure it includes at least one letter, no numbers and no inappropriate language. Your entry cannot be the same as the applicant name. You may include spaces, dashes and apostrophes, if necessary."
                                          data-theme="flexapp" value="" size="10" maxlength="20" fa.allow="textEntry" id="sSecondaryLastName4" title="" class="inputTextBox"
                                          data-validation-options="sFirstName ,sLastName ,sSecondaryFirstName4 ,sSecondaryMiddleInitial4 ,sAuthorizedDOB4 ,sAuthorizedStreetAddr14 ,sAuthorizedStreetAddr24 ,sAuthorizedApartment4 ,sAuthorizedCity4 ,sAuthorizedState14 ,sAuthorizedZip4 ,sAuth4AddrSameAsPrimary"
                                          autocomplete="no-autofill-this">
                                      </div>
                                    </div>
                                  </div>
                                  <div class="jpui-col-lg-6 jpui-col-xs-12 jpui-col-sm-7 jputil-xs-push-2 jputil-no-grid-padding jpui-col-xs-last">
                                    <div id="sAuthorizedDOB4UnMask">
                                      <div class="chaseui-field">
                                        <div class="chaseui-label">
                                          <label for="sAuthorizedDOB4">Date of birth <span class="accessible-text  jpjs-help-text">
                                              <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                                              <!-- End of the NonATP Changes --> Enter the authorized user's birthdate using only numbers.</span>
                                          </label>
                                        </div>
                                        <div class="chaseui-value">
                                          <input type="text" name="value(sAuthorizedDOB4)" data-error-message="Please enter a valid birthdate using the MM/DD/YYYY format. The authorized user's age must be under 125."
                                            data-help-message="Enter the authorized user's birthdate using only numbers." data-mask="00/00/0000" data-theme="flexapp" placeholder="mm/dd/yyyy" pattern="\d*" value="" size="10" maxlength="10"
                                            fa.allow="numeric" id="sAuthorizedDOB4" class="chasejs-formatted-input jpjs-date dobUnMask"
                                            data-validation-options="sSecondaryFirstName4 ,sSecondaryLastName4 ,sAuthorizedStreetAddr14 ,sAuthorizedStreetAddr24 ,sAuthorizedApartment4 ,sAuthorizedCity4 ,sAuthorizedState14 ,sAuthorizedZip4 ,sAuth4AddrSameAsPrimary"
                                            autocomplete="no-autofill-this">
                                        </div>
                                      </div>
                                    </div>
                                    <div id="sAuthorizedDOB4Mask" style="display:none;">
                                      <div class="chaseui-field">
                                        <div class="chaseui-label">
                                          <label for="sAuthorizedDOB4-MaskedDOB">Date of birth <span class="accessible-text  jpjs-help-text">
                                              <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                                              <!-- End of the NonATP Changes -->
                                            </span>
                                          </label>
                                        </div>
                                        <div class="chaseui-value">
                                          <input type="text" name="value(sAuthorizedDOB4-MaskedDOB)" data-error-message="???en_US_MAFD1_GV4S.sAuthorizedDOB4-MaskedDOB???" data-mask="00/00/0000" value="" size="10" maxlength="10" fa.allow="numeric"
                                            id="sAuthorizedDOB4-MaskedDOB" class="chasejs-formatted-input jpjs-date dobMask" autocomplete="no-autofill-this">
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                  <div class="jpui-col-lg-12 jpui-col-xs-12 jpui-col-sm-12 jputil-xs-push-2 jpui-col-sm-last jpui-col-xs-last" style="height: 38px;">
                                    <div class="jpui-checkbox-acceptance-radio">
                                      <input type="checkbox" name="sAuth4AddrSameAsPrimary" value="" data-theme="flexapp" id="sAuth4AddrSameAsPrimary" class="chaseui-checkbox jputil-float-left" autocomplete="no-autofill-this">
                                      <label for="sAuth4AddrSameAsPrimary" class="chaseui-checkbox-radio-label">
                                        <div class="jputil-float-left">
                                        </div>
                                        <div class="jpui-review-form-content">Same address as applicant. </div>
                                      </label>
                                    </div>
                                  </div>
                                  <div id="sAuthorizedUser4AddressSection">
                                    <div class="jpui-col-lg-6 jpui-col-xs-9">
                                      <div class="chaseui-field">
                                        <div class="chaseui-label">
                                          <label for="sAuthorizedStreetAddr14">Residential address 1 <span class="accessible-text  jpjs-help-text">
                                              <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                                              <!-- End of the NonATP Changes --> Federal regulations require us to collect authorized user's physical address. If you only provide a P.O. Box, this will delay how quickly we can review your
                                              request.</span>
                                          </label>
                                        </div>
                                        <div class="chaseui-value">
                                          <input type="text" name="value(sAuthorizedStreetAddr14)"
                                            data-error-message="Enter the authorized user's street address. Use only letters, dashes, apostrophes, and spaces. If you provide a P.O. box, processing of this request will be delayed."
                                            data-help-message="Federal regulations require us to collect authorized user's physical address. If you only provide a P.O. Box, this will delay how quickly we can review your request." data-theme="flexapp"
                                            value="" size="16" maxlength="40" fa.allow="address" id="sAuthorizedStreetAddr14"
                                            data-validation-options="sSecondaryFirstName4 ,sSecondaryLastName4 ,sAuthorizedDOB4 ,sAuthorizedStreetAddr24 ,sAuthorizedApartment4 ,sAuthorizedCity4 ,sAuthorizedState14 ,sAuthorizedZip4"
                                            autocomplete="no-autofill-this">
                                        </div>
                                      </div>
                                    </div>
                                    <div class="jpui-col-lg-4 jpui-col-xs-3 jpui-col-xs-show jpui-col-xs-last chaseutil-center">
                                      <a role="button" id="auth4-add-address-line-2-trigger" class="jpjs-toggle jpui-toggle-addtional-field icon-open-close" data-toggle-target="#auth4-address-line-2">
					<span class="accessible-text jpui-activetext">Tap to enter additional address details, like your apartment number.</span>
                	<span class="accessible-text jpui-inactivetext">collapse additional address fields</span>
                
				</a>
                                    </div>
                                    <div id="auth4-address-line-2" class="jpui-col-xs-hide">
                                      <div class="jpui-col-lg-4 jpui-col-xs-9 jpui-col-last">
                                        <div class="chaseui-field">
                                          <div class="chaseui-label">
                                            <label for="sAuthorizedStreetAddr24">Residential address 2 <span class="accessible-text  jpjs-help-text">
                                                <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                                                <!-- End of the NonATP Changes -->
                                              </span>
                                            </label>
                                          </div>
                                          <div class="chaseui-value">
                                            <input type="text" name="value(sAuthorizedStreetAddr24)"
                                              data-error-message="Enter the authorized user's street address. Use only letters, dashes, apostrophes, and spaces. If you provide a P.O. box, processing of this request will be delayed."
                                              data-theme="flexapp" value="" size="16" maxlength="40" fa.allow="address" id="sAuthorizedStreetAddr24" title="" class="inputTextBox requiredfields jpjs-disable-toggle"
                                              data-validation-options="sSecondaryFirstName4 ,sSecondaryLastName4 ,sAuthorizedDOB4 ,sAuthorizedStreetAddr14 ,sAuthorizedApartment4 ,sAuthorizedCity4 ,sAuthorizedState14 ,sAuthorizedZip4"
                                              autocomplete="no-autofill-this">
                                          </div>
                                        </div>
                                      </div>
                                    </div>
                                    <div class="jpui-col-lg-6 jpui-col-xs-12 jpui-col-xs-last">
                                      <div class="chaseui-field">
                                        <div class="chaseui-label">
                                          <label for="sAuthorizedCity4">City <span class="accessible-text  jpjs-help-text">
                                              <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                                              <!-- End of the NonATP Changes -->
                                            </span>
                                          </label>
                                        </div>
                                        <div class="chaseui-value">
                                          <input type="text" name="value(sAuthorizedCity4)" data-error-message="Enter the authorized user's city. Use only letters, dashes, apostrophes, and spaces." data-theme="flexapp" value="" size="18"
                                            maxlength="32" fa.allow="textEntry" id="sAuthorizedCity4" title=""
                                            data-validation-options="sSecondaryFirstName4 ,sSecondaryLastName4 ,sAuthorizedDOB4 ,sAuthorizedStreetAddr14 ,sAuthorizedStreetAddr24 ,sAuthorizedApartment4 ,sAuthorizedState14 ,sAuthorizedZip4 ,isNonRespPage"
                                            autocomplete="no-autofill-this">
                                        </div>
                                      </div>
                                    </div>
                                    <div class="jpui-col-lg-2 jpui-col-xs-3">
                                      <div class="chaseui-field">
                                        <div class="chaseui-label">
                                          <label for="sAuthorizedState14">State <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                                            <!-- End of the NonATP Changes -->
                                          </label>
                                        </div>
                                        <div class="chaseui-value chaseui-styledselect custom-arrow">
                                          <div>
                                            <div class="arrow"><i class="icon-arrow-down"></i></div>
                                            <select name="value(sAuthorizedState14)" id="sAuthorizedState14" title=""
                                              data-validation-options="sSecondaryFirstName4 ,sSecondaryLastName4 ,sAuthorizedDOB4 ,sAuthorizedStreetAddr14 ,sAuthorizedStreetAddr24 ,sAuthorizedApartment4 ,sAuthorizedCity4 ,sAuthorizedZip4 ,prefillState14 ,isNonRespPage"
                                              data-error-message="Select the authorized user's U.S. state." onchange="compareState4WithZip4()" data-theme="flexapp" autocomplete="no-autofill-this">
                                              <option value=""></option>
                                              <option value="AA">AA</option>
                                              <option value="AE">AE</option>
                                              <option value="AK">AK</option>
                                              <option value="AP">AP</option>
                                              <option value="AL">AL</option>
                                              <option value="AR">AR</option>
                                              <option value="AZ">AZ</option>
                                              <option value="CA">CA</option>
                                              <option value="CO">CO</option>
                                              <option value="CT">CT</option>
                                              <option value="DC">DC</option>
                                              <option value="DE">DE</option>
                                              <option value="FL">FL</option>
                                              <option value="GA">GA</option>
                                              <option value="GU">GU</option>
                                              <option value="HI">HI</option>
                                              <option value="IA">IA</option>
                                              <option value="ID">ID</option>
                                              <option value="IL">IL</option>
                                              <option value="IN">IN</option>
                                              <option value="KS">KS</option>
                                              <option value="KY">KY</option>
                                              <option value="LA">LA</option>
                                              <option value="MA">MA</option>
                                              <option value="MD">MD</option>
                                              <option value="ME">ME</option>
                                              <option value="MI">MI</option>
                                              <option value="MN">MN</option>
                                              <option value="MO">MO</option>
                                              <option value="MS">MS</option>
                                              <option value="MT">MT</option>
                                              <option value="NC">NC</option>
                                              <option value="ND">ND</option>
                                              <option value="NE">NE</option>
                                              <option value="NH">NH</option>
                                              <option value="NJ">NJ</option>
                                              <option value="NM">NM</option>
                                              <option value="NV">NV</option>
                                              <option value="NY">NY</option>
                                              <option value="OH">OH</option>
                                              <option value="OK">OK</option>
                                              <option value="OR">OR</option>
                                              <option value="PA">PA</option>
                                              <option value="PR">PR</option>
                                              <option value="RI">RI</option>
                                              <option value="SC">SC</option>
                                              <option value="SD">SD</option>
                                              <option value="TN">TN</option>
                                              <option value="TX">TX</option>
                                              <option value="UT">UT</option>
                                              <option value="VA">VA</option>
                                              <option value="VI">VI</option>
                                              <option value="VT">VT</option>
                                              <option value="WA">WA</option>
                                              <option value="WI">WI</option>
                                              <option value="WV">WV</option>
                                              <option value="WY">WY</option>
                                            </select>
                                          </div>
                                        </div>
                                      </div>
                                    </div>
                                    <div class="jpui-col-lg-4 jpui-col-xs-9 jpui-col-last">
                                      <div class="chaseui-field">
                                        <div class="chaseui-label">
                                          <label for="sAuthorizedZip4">ZIP code <span class="accessible-text  jpjs-help-text">
                                              <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                                              <!-- End of the NonATP Changes --> Enter the authorized user's correct five-digit ZIP code. Authorized user's ZIP code and state should match.</span>
                                          </label>
                                        </div>
                                        <div class="chaseui-value">
                                          <input type="text" name="value(sAuthorizedZip4)" data-error-message="Enter your correct five-digit ZIP code. Your ZIP code and state should match."
                                            data-help-message="Enter the authorized user's correct five-digit ZIP code. Authorized user's ZIP code and state should match." data-mask="99999" data-theme="flexapp" pattern="[0-9]*" value="" size="5"
                                            maxlength="5" fa.allow="numeric" id="sAuthorizedZip4" class="chasejs-formatted-input inputTextBox requiredfields"
                                            data-validation-options="sSecondaryFirstName4 ,sSecondaryLastName4 ,sAuthorizedDOB4 ,sAuthorizedStreetAddr14 ,sAuthorizedStreetAddr24 ,sAuthorizedApartment4 ,sAuthorizedCity4 ,sAuthorizedState14 ,prefillState14 ,isNonRespPage"
                                            onblur="prefillAuthorizedState14(this);" autocomplete="no-autofill-this">
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                              </div>
                              <div id="second-card-4">
                                <span class="accessible-text">(cardholder 5)</span>
                                <div class="jpui-col-lg-12 jputil-lg-push-1 jpui-col-xs-12 jptuil-xs-push-2 jpui-col-last cardholder-text jputil-custom-push-1"> Authorized User <span class="chasejs-counter">5</span>
                                </div>
                                <div class="jpui-remove-item-wrapper">
                                  <a class="chaseui-remove-item icon-close-x" id="removeAuthUser5" href="javascript:void(0);" onclick="removeAuthUser(4); return false;"><span class="accessible-text">Remove authorized user 5</span></a>
                                </div>
                                <div class="jpui-col-lg-10 jpui-col-sm-10 jpui-col-xs-11 jpui-col-xs-last">
                                  <div class="jpui-col-lg-4 jpui-col-sm-5 jpui-col-xs-7">
                                    <div>
                                      <div class="chaseui-field">
                                        <div class="chaseui-label">
                                          <label for="sSecondaryFirstName5">First name <span class="accessible-text  jpjs-help-text">
                                              <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                                              <!-- End of the NonATP Changes --> Enter your name as it would appear on a government issued ID. Avoid using periods and commas as they will not be captured.</span>
                                          </label>
                                        </div>
                                        <div class="chaseui-value">
                                          <input type="text" name="value(sSecondaryFirstName5)"
                                            data-error-message="Please enter the authorized user's first name, making sure it includes at least one letter, no numbers and no inappropriate language. Your entry cannot be the same as the applicant name. You may include spaces, dashes and apostrophes, if necessary."
                                            data-help-message="Enter your name as it would appear on a government issued ID. Avoid using periods and commas as they will not be captured." data-theme="flexapp" value="" size="12" maxlength="15"
                                            fa.allow="textEntry" id="sSecondaryFirstName5" class="inputTextBox"
                                            data-validation-options="sSecondaryLastName5 ,sSecondaryMiddleInitial5 ,sAuthorizedDOB5 ,sAuthorizedStreetAddr15 ,sAuthorizedStreetAddr25 ,sAuthorizedApartment5 ,sAuthorizedCity5 ,sAuthorizedState15 ,sAuthorizedZip5 ,sAuth5AddrSameAsPrimary"
                                            autocomplete="no-autofill-this">
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                  <div class="jpui-col-lg-2 jpui-col-xs-5 jpui-col-sm-2 jpui-col-xs-last">
                                    <div class="chaseui-field">
                                      <div class="chaseui-label">
                                        <label for="sSecondaryMiddleInitial5">M.I. <span class="accessible-text  jpjs-help-text">
                                            <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                                            <!-- End of the NonATP Changes -->
                                          </span>
                                        </label>
                                      </div>
                                      <div class="chaseui-value">
                                        <input type="text" name="value(sSecondaryMiddleInitial5)" data-error-message="If the authorized user has a middle initial, please enter a single letter. Otherwise leave this blank." data-theme="flexapp"
                                          value="" size="2" maxlength="1" fa.allow="alpha" id="sSecondaryMiddleInitial5" title="" class="inputTextBox" autocomplete="no-autofill-this">
                                      </div>
                                    </div>
                                  </div>
                                  <div class="jpui-col-lg-5 jpui-col-xs-12 jpui-col-sm-5 jputil-xs-push-2 jpui-col-sm-last jpui-col-xs-last">
                                    <div class="chaseui-field">
                                      <div class="chaseui-label">
                                        <label for="sSecondaryLastName5">Last name <span class="accessible-text  jpjs-help-text">
                                            <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                                            <!-- End of the NonATP Changes -->
                                          </span>
                                        </label>
                                      </div>
                                      <div class="chaseui-value">
                                        <input type="text" name="value(sSecondaryLastName5)"
                                          data-error-message="Please enter the authorized user's last name, making sure it includes at least one letter, no numbers and no inappropriate language. Your entry cannot be the same as the applicant name. You may include spaces, dashes and apostrophes, if necessary."
                                          data-theme="flexapp" value="" size="10" maxlength="20" fa.allow="textEntry" id="sSecondaryLastName5" title="" class="inputTextBox"
                                          data-validation-options="sFirstName ,sLastName ,sSecondaryFirstName5 ,sSecondaryMiddleInitial5 ,sAuthorizedDOB5 ,sAuthorizedStreetAddr15 ,sAuthorizedStreetAddr25 ,sAuthorizedApartment5 ,sAuthorizedCity5 ,sAuthorizedState15 ,sAuthorizedZip5 ,sAuth5AddrSameAsPrimary"
                                          autocomplete="no-autofill-this">
                                      </div>
                                    </div>
                                  </div>
                                  <div class="jpui-col-lg-6 jpui-col-xs-12 jpui-col-sm-7 jputil-xs-push-2 jputil-no-grid-padding jpui-col-xs-last">
                                    <div id="sAuthorizedDOB5UnMask">
                                      <div class="chaseui-field">
                                        <div class="chaseui-label">
                                          <label for="sAuthorizedDOB5">Date of birth <span class="accessible-text  jpjs-help-text">
                                              <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                                              <!-- End of the NonATP Changes --> Enter the authorized user's birthdate using only numbers.</span>
                                          </label>
                                        </div>
                                        <div class="chaseui-value">
                                          <input type="text" name="value(sAuthorizedDOB5)" data-error-message="Please enter a valid birthdate using the MM/DD/YYYY format. The authorized user's age must be under 125."
                                            data-help-message="Enter the authorized user's birthdate using only numbers." data-mask="00/00/0000" data-theme="flexapp" placeholder="mm/dd/yyyy" pattern="\d*" value="" size="10" maxlength="10"
                                            fa.allow="numeric" id="sAuthorizedDOB5" class="chasejs-formatted-input jpjs-date dobUnMask"
                                            data-validation-options="sSecondaryFirstName5 ,sSecondaryLastName5 ,sAuthorizedStreetAddr15 ,sAuthorizedStreetAddr25 ,sAuthorizedApartment5 ,sAuthorizedCity5 ,sAuthorizedState15 ,sAuthorizedZip5 ,sAuth5AddrSameAsPrimary"
                                            autocomplete="no-autofill-this">
                                        </div>
                                      </div>
                                    </div>
                                    <div id="sAuthorizedDOB5Mask" style="display:none;">
                                      <div class="chaseui-field">
                                        <div class="chaseui-label">
                                          <label for="sAuthorizedDOB5-MaskedDOB">Date of birth <span class="accessible-text  jpjs-help-text">
                                              <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                                              <!-- End of the NonATP Changes -->
                                            </span>
                                          </label>
                                        </div>
                                        <div class="chaseui-value">
                                          <input type="text" name="value(sAuthorizedDOB5-MaskedDOB)" data-error-message="???en_US_MAFD1_GV4S.sAuthorizedDOB5-MaskedDOB???" data-mask="00/00/0000" value="" size="10" maxlength="10" fa.allow="numeric"
                                            id="sAuthorizedDOB5-MaskedDOB" class="chasejs-formatted-input jpjs-date dobMask" autocomplete="no-autofill-this">
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                  <div class="jpui-col-lg-12 jpui-col-xs-12 jpui-col-sm-12 jputil-xs-push-2 jpui-col-sm-last jpui-col-xs-last" style="height: 38px;">
                                    <div class="jpui-checkbox-acceptance-radio">
                                      <input type="checkbox" name="sAuth5AddrSameAsPrimary" value="" data-theme="flexapp" id="sAuth5AddrSameAsPrimary" class="chaseui-checkbox jputil-float-left" autocomplete="no-autofill-this">
                                      <label for="sAuth5AddrSameAsPrimary" class="chaseui-checkbox-radio-label">
                                        <div class="jputil-float-left">
                                        </div>
                                        <div class="jpui-review-form-content">Same address as applicant. </div>
                                      </label>
                                    </div>
                                  </div>
                                  <div id="sAuthorizedUser5AddressSection">
                                    <div class="jpui-col-lg-6 jpui-col-xs-9">
                                      <div class="chaseui-field">
                                        <div class="chaseui-label">
                                          <label for="sAuthorizedStreetAddr15">Residential address 1 <span class="accessible-text  jpjs-help-text">
                                              <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                                              <!-- End of the NonATP Changes --> Federal regulations require us to collect authorized user's physical address. If you only provide a P.O. Box, this will delay how quickly we can review your
                                              request.</span>
                                          </label>
                                        </div>
                                        <div class="chaseui-value">
                                          <input type="text" name="value(sAuthorizedStreetAddr15)"
                                            data-error-message="Enter the authorized user's street address. Use only letters, dashes, apostrophes, and spaces. If you provide a P.O. box, processing of this request will be delayed."
                                            data-help-message="Federal regulations require us to collect authorized user's physical address. If you only provide a P.O. Box, this will delay how quickly we can review your request." data-theme="flexapp"
                                            value="" size="16" maxlength="40" fa.allow="address" id="sAuthorizedStreetAddr15"
                                            data-validation-options="sSecondaryFirstName5 ,sSecondaryLastName5 ,sAuthorizedDOB5 ,sAuthorizedStreetAddr25 ,sAuthorizedApartment5 ,sAuthorizedCity5 ,sAuthorizedState15 ,sAuthorizedZip5"
                                            autocomplete="no-autofill-this">
                                        </div>
                                      </div>
                                    </div>
                                    <div class="jpui-col-lg-4 jpui-col-xs-3 jpui-col-xs-show jpui-col-xs-last chaseutil-center">
                                      <a role="button" id="auth5-add-address-line-2-trigger" class="jpjs-toggle jpui-toggle-addtional-field icon-open-close" data-toggle-target="#auth5-address-line-2">
					<span class="accessible-text jpui-activetext">Tap to enter additional address details, like your apartment number.</span>
                	<span class="accessible-text jpui-inactivetext">collapse additional address fields</span>
                
				</a>
                                    </div>
                                    <div id="auth5-address-line-2" class="jpui-col-xs-hide">
                                      <div class="jpui-col-lg-4 jpui-col-xs-9 jpui-col-last">
                                        <div class="chaseui-field">
                                          <div class="chaseui-label">
                                            <label for="sAuthorizedStreetAddr25">Residential address 2 <span class="accessible-text  jpjs-help-text">
                                                <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                                                <!-- End of the NonATP Changes -->
                                              </span>
                                            </label>
                                          </div>
                                          <div class="chaseui-value">
                                            <input type="text" name="value(sAuthorizedStreetAddr25)"
                                              data-error-message="Enter the authorized user's street address. Use only letters, dashes, apostrophes, and spaces. If you provide a P.O. box, processing of this request will be delayed."
                                              data-theme="flexapp" value="" size="16" maxlength="40" fa.allow="address" id="sAuthorizedStreetAddr25" title="" class="inputTextBox requiredfields jpjs-disable-toggle"
                                              data-validation-options="sSecondaryFirstName5 ,sSecondaryLastName5 ,sAuthorizedDOB5 ,sAuthorizedStreetAddr15 ,sAuthorizedApartment5 ,sAuthorizedCity5 ,sAuthorizedState15 ,sAuthorizedZip5"
                                              autocomplete="no-autofill-this">
                                          </div>
                                        </div>
                                      </div>
                                    </div>
                                    <div class="jpui-col-lg-6 jpui-col-xs-12 jpui-col-xs-last">
                                      <div class="chaseui-field">
                                        <div class="chaseui-label">
                                          <label for="sAuthorizedCity5">City <span class="accessible-text  jpjs-help-text">
                                              <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                                              <!-- End of the NonATP Changes -->
                                            </span>
                                          </label>
                                        </div>
                                        <div class="chaseui-value">
                                          <input type="text" name="value(sAuthorizedCity5)" data-error-message="Enter the authorized user's city. Use only letters, dashes, apostrophes, and spaces." data-theme="flexapp" value="" size="18"
                                            maxlength="32" fa.allow="textEntry" id="sAuthorizedCity5" title=""
                                            data-validation-options="sSecondaryFirstName5 ,sSecondaryLastName5 ,sAuthorizedDOB5 ,sAuthorizedStreetAddr15 ,sAuthorizedStreetAddr25 ,sAuthorizedApartment5 ,sAuthorizedState15 ,sAuthorizedZip5 ,isNonRespPage"
                                            autocomplete="no-autofill-this">
                                        </div>
                                      </div>
                                    </div>
                                    <div class="jpui-col-lg-2 jpui-col-xs-3">
                                      <div class="chaseui-field">
                                        <div class="chaseui-label">
                                          <label for="sAuthorizedState15">State <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                                            <!-- End of the NonATP Changes -->
                                          </label>
                                        </div>
                                        <div class="chaseui-value chaseui-styledselect custom-arrow">
                                          <div>
                                            <div class="arrow"><i class="icon-arrow-down"></i></div>
                                            <select name="value(sAuthorizedState15)" id="sAuthorizedState15" title=""
                                              data-validation-options="sSecondaryFirstName5 ,sSecondaryLastName5 ,sAuthorizedDOB5 ,sAuthorizedStreetAddr15 ,sAuthorizedStreetAddr25 ,sAuthorizedApartment5 ,sAuthorizedCity5 ,sAuthorizedZip5 ,prefillState15 ,isNonRespPage"
                                              data-error-message="Select the authorized user's U.S. state." onchange="compareState5WithZip5()" data-theme="flexapp" autocomplete="no-autofill-this">
                                              <option value=""></option>
                                              <option value="AA">AA</option>
                                              <option value="AE">AE</option>
                                              <option value="AK">AK</option>
                                              <option value="AP">AP</option>
                                              <option value="AL">AL</option>
                                              <option value="AR">AR</option>
                                              <option value="AZ">AZ</option>
                                              <option value="CA">CA</option>
                                              <option value="CO">CO</option>
                                              <option value="CT">CT</option>
                                              <option value="DC">DC</option>
                                              <option value="DE">DE</option>
                                              <option value="FL">FL</option>
                                              <option value="GA">GA</option>
                                              <option value="GU">GU</option>
                                              <option value="HI">HI</option>
                                              <option value="IA">IA</option>
                                              <option value="ID">ID</option>
                                              <option value="IL">IL</option>
                                              <option value="IN">IN</option>
                                              <option value="KS">KS</option>
                                              <option value="KY">KY</option>
                                              <option value="LA">LA</option>
                                              <option value="MA">MA</option>
                                              <option value="MD">MD</option>
                                              <option value="ME">ME</option>
                                              <option value="MI">MI</option>
                                              <option value="MN">MN</option>
                                              <option value="MO">MO</option>
                                              <option value="MS">MS</option>
                                              <option value="MT">MT</option>
                                              <option value="NC">NC</option>
                                              <option value="ND">ND</option>
                                              <option value="NE">NE</option>
                                              <option value="NH">NH</option>
                                              <option value="NJ">NJ</option>
                                              <option value="NM">NM</option>
                                              <option value="NV">NV</option>
                                              <option value="NY">NY</option>
                                              <option value="OH">OH</option>
                                              <option value="OK">OK</option>
                                              <option value="OR">OR</option>
                                              <option value="PA">PA</option>
                                              <option value="PR">PR</option>
                                              <option value="RI">RI</option>
                                              <option value="SC">SC</option>
                                              <option value="SD">SD</option>
                                              <option value="TN">TN</option>
                                              <option value="TX">TX</option>
                                              <option value="UT">UT</option>
                                              <option value="VA">VA</option>
                                              <option value="VI">VI</option>
                                              <option value="VT">VT</option>
                                              <option value="WA">WA</option>
                                              <option value="WI">WI</option>
                                              <option value="WV">WV</option>
                                              <option value="WY">WY</option>
                                            </select>
                                          </div>
                                        </div>
                                      </div>
                                    </div>
                                    <div class="jpui-col-lg-4 jpui-col-xs-9 jpui-col-last">
                                      <div class="chaseui-field">
                                        <div class="chaseui-label">
                                          <label for="sAuthorizedZip5">ZIP code <span class="accessible-text  jpjs-help-text">
                                              <!--  Added below logic for NonATP ADA requirements as we are using same HTML -->
                                              <!-- End of the NonATP Changes --> Enter the authorized user's correct five-digit ZIP code. Authorized user's ZIP code and state should match.</span>
                                          </label>
                                        </div>
                                        <div class="chaseui-value">
                                          <input type="text" name="value(sAuthorizedZip5)" data-error-message="Enter your correct five-digit ZIP code. Your ZIP code and state should match."
                                            data-help-message="Enter the authorized user's correct five-digit ZIP code. Authorized user's ZIP code and state should match." data-mask="99999" data-theme="flexapp" pattern="[0-9]*" value="" size="5"
                                            maxlength="5" fa.allow="numeric" id="sAuthorizedZip5" class="chasejs-formatted-input inputTextBox requiredfields"
                                            data-validation-options="sSecondaryFirstName5 ,sSecondaryLastName5 ,sAuthorizedDOB5 ,sAuthorizedStreetAddr15 ,sAuthorizedStreetAddr25 ,sAuthorizedApartment5 ,sAuthorizedCity5 ,sAuthorizedState15 ,prefillState15 ,isNonRespPage"
                                            onblur="prefillAuthorizedState15(this);" autocomplete="no-autofill-this">
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                              </div>
                            </div>
                            <div class="clearfix"></div>
                            <div class="jpui-col-lg-12 jpui-col-lg-last jpui-col-xs-12 jputil-custom-push-1 add-item-container">
                              <a id="addAnotherAuthUser" class="chaseui-add-item" href="javascript:void(0);" onclick="addAuthUser(); return false;"><span class="chaseutil-mobile-hide">Add another authorized user</span><span class="chaseutil-mobile-show">Add another user</span><span class="accessible-text">(updates content above)</span></a>
                            </div>
                            <!-- p class="authorized-text">I will be responsible for repaying all balances on this account. Authorized users will have the same account number and charging privileges as the primary cardmember but will not be financially responsible. All correspondence, including additional card, statements and notifications, will be sent to the name and address on file for the primary cardmember. We provide account information to the credit reporting agencies for all account users. This information could impact an authorized user's credit score. When you tell us to add a user to your account, you're confirming that you have a relationship with the person or people whose name(s), address(es) and date of birth(s) you've told us, that all their information is correct, and that you have their consent to add them. If we determine you've given us fraudulent name, address, or date of birth information or did not have such consent, we can close this account. </p-->
                          </div>
                        </div>
                      </div>
                      <!-- end add users -->
                      <!-- 
Inside BT section
//styleSheetId = 15
//isStreamLineApp = true string

-->
                      <div class="beneficial-info-text">
                        <p>
                          <sup>††</sup>By giving us your mobile number, Chase has your consent to send you automated calls and texts to service all of your accounts with us. <span id="collapsibleTCPA" style="display: none;">By providing your mobile
                            phone number, you are giving permission to be contacted at that number about all of your accounts by JPMorgan Chase and companies working on its behalf. Your consent allows the use of text messages, artificial or
                            prerecorded voice messages and automatic dialing technology for informational and account servicing, but not for sales or telemarketing. Message and data rates may
                            apply.</span><a id="collapseTcpaLink" href="#" style="display: none;">&lt; Hide</a><a id="expandTcpaLink" href="#"> Please read &gt;</a>
                        </p>
                      </div>
                      <div class="jpui-pricing-and-terms">
                        <div id="terms-cheerios-terms">
                          <div class="jpui-header jpui-terms-header chaseutil-mobile-hide">E-Sign Disclosure</div>
                          <div id="review-esign" class="jpui-content chaseutil-mobile-hide chaseui-modalbody">
                            <span class="jpui-modal-show chaseutil-center">
                              <h2>E-Sign Disclosure</h2>
                            </span>
                            <div id="section-cma">
                              <div class="esignDoc jpui-esign-table jpjs-scroll">
                                <p>
                                  <b>E-Sign Disclosure and Consent For Electronic Communications</b><br> This E-Sign Disclosure and Consent for Electronic Communications (this <b>"E-Sign Disclosure and Consent"</b>) applies to the credit card account
                                  you are applying for online (<b>"Account"</b>). You agree that Chase may provide you with your cardmember agreement (<b>"Agreement"</b>) containing the initial disclosures for your Account, which Chase is required to
                                  provide in writing, in an electronic format and that the Agreement will be considered "in writing". You further agree that Chase may provide you with any other initial disclosures (the <b>"Disclosures"</b>) in
                                  electronic format, including the
                                  <a target="_blank" class="chaseanalytics-track-link" data-pt-name="cc_esign_privacynotice" href="https://www.chase.com/digital/resources/privacy-security/privacy/consumer-privacy-notice" style="font-size:18px;text-decoration:underline">US Consumer Privacy Notice</a>,
                                  that Chase is required to provide to you in writing before you use the credit card. The Agreement and Disclosures will be provided online once you are approved for an Account. You should print a copy of the Agreement
                                  and Disclosures for your records. You may withdraw your consent to receive the Agreement and Disclosures in electronic form by exiting this credit card application. If you withdraw your consent to receive the
                                  Agreement and Disclosures in electronic form before you complete your application for the Account, Chase cannot accept and process your request for an Account.<br>
                                </p>
                                <p>In order to access, view, and retain the Agreement and the Disclosures in electronic form, you must have: </p>
                                <ul class="jpui-esign-ul">
                                  <li>an up-to-date device or devices (e.g., computer, smart phone, mobile device, tablet, etc.) suitable for connecting to the Internet;</li>
                                  <li>an up-to-date Internet or mobile browser that
                                    <a target="_blank" class="chaseanalytics-track-link" data-pt-name="cc_esign_supports" href="https://www.chase.com/ccp/index.jsp?pg_name=ccpmapp/individuals/online_services/page/online_systemreq" style="font-size:18px;text-decoration:underline">Chase supports</a>;
                                  </li>
                                  <li>sufficient electronic storage capacity on your device or on another data storage unit to retain the Agreement and the Disclosures and/or a printer to print the Agreement and the Disclosures;</li>
                                  <li>software that enables you to view files in HyperText Markup Language ("HTML") and the Portable Document Format ("PDF");</li>
                                  <li>a valid e-mail address and software to access it.</li>
                                </ul>
                                <p></p>
                                <p>Chase will send you a paper copy of the Agreement and certain Disclosures with your credit card. You can also obtain a paper copy of the Agreement and the Disclosures by printing it yourself when presented through
                                  this application process or by requesting that Chase mail you a paper copy by contacting Chase at the number on the back of your credit card. We may charge you a reasonable service charge, with prior notice of any
                                  such charge, for the delivery of paper copies of any Communication provided to you electronically pursuant to this E-Sign Consent.</p>
                                <p>You acknowledge and agree that your consent to receive the Agreement and the Disclosures electronically is being provided in connection with a transaction affecting interstate commerce that is subject to the federal
                                  Electronic Signatures in Global and National Commerce Act (the <b>"Act"</b>), and that you and Chase both intend that the Act apply to the fullest extent possible to validate Chase's ability to conduct business with
                                  you by electronic means. If you have provided us with an e-mail address, mobile telephone number or other information relating to how we may contact you electronically and need to update those records, you may call
                                  us with the number on the back of your card, visit chase.com or access the Chase Mobile<sup>®</sup> app.</p>
                                <p>By submitting this application, you hereby give Chase your affirmative consent to provide the Agreement and Disclosures to you as described in the E-Sign Disclosure and Consent regarding the Account and that your
                                  device satisfies the hardware and software requirements specified in this E-sign Disclosure and Consent.</p>
                              </div>
                            </div>
                            <div class="jpui-button-container jpui-modal-show chaseutil-center">
                              <button type="button" class="chaseui-button close" id="close" autocomplete="no-autofill-this">Close</button>
                            </div>
                          </div>
                          <div class="jpui-content-reviewpt chaseutil-mobile-center chaseutil-mobile-show">
                            <p>Please tap "Pricing &amp; Terms" and "E-Sign Disclosure" before you check the box indicating you have read and agree to the Certifications and Pricing &amp; Terms.</p>
                            <div class="jpui-col-lg-10 jputil-lg-push-2 jpui-col-med-11 jputil-med-push-1 jpui-col-sm-12 jputil-sm-push-0 jpui-col-xs-12 jputil-xs-push-0 chaseui-button-container chaseutil-mobile-center jpui-pt-button-container">
                              <button type="button" data-modal-selector="#review-esign" class="jpjs-showmodal esigndisclosure chaseui-button close chaseutil-mobile-center" id="esignmodalbutton" autocomplete="no-autofill-this"> E-Sign Disclosure<span
                                  class="accessible-text">(opens overlay)</span>
                              </button>
                            </div>
                          </div>
                        </div>
                      </div>
                      <div class="jpui-pricing-and-terms">
                        <div id="terms-cheerios-terms">
                          <div class="jpui-header jpui-terms-header chaseutil-mobile-hide">Pricing &amp; Terms</div>
                          <div id="terms-cheerios-pricing" class="jpui-content chaseutil-mobile-hide chaseui-modalbody">
                            <span class="jpui-modal-show chaseutil-center">
                              <h2>Pricing &amp; Terms</h2>
                            </span>
                            <div id="section-application-schumer">
                              <div class="schumer-table jpui-schumer-table jpjs-scroll">
                                <title>Pricing &amp; Terms</title>
                                <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
                                <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
                                <meta name="robots" content="noindex, nofollow">
                                <link rel="stylesheet" type="text/css" href="styles/flexapp/css/pricingterms.css">
                                <script type="text/javascript">
                                  function printpage() {
                                    try {
                                      var oIframe = document.getElementById('ifrmPrint');
                                      var oContent = document.getElementById('section-application-schumer').innerHTML;
                                      var oDoc = (oIframe.contentWindow || oIframe.contentDocument);
                                      if (oDoc.document) oDoc = oDoc.document;
                                      oDoc.write("<html><head><title>Pricing & Terms</title>");
                                      oDoc.write("</head><body onload='this.focus(); this.print();'>");
                                      oDoc.write(oContent + "</body></html>");
                                      oDoc.close();
                                    } catch (e) {
                                      self.print();
                                    }
                                  }

                                  function displayWindow(url, width, height) {
                                    var Win = window.open(url, "displayWindow", 'width=' + width + ',height=' + height + ',resizable=yes,scrollbars=yes,menubar=yes');
                                    // Win.focus();
                                  }

                                  function loadElements() {
                                    var param = window.location.href;
                                    var newParam = param.search('disablePrintBtn=true');
                                    if ((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/Android/i)) || (navigator.userAgent.match(/iPod/i)) || (navigator.userAgent.match(/iPad/i)) || (navigator.userAgent.match(/Silk/i))) {
                                      var bodyTag = document.getElementsByTagName('body')[0];
                                      bodyTag.className = ' ';
                                      document.getElementById('printBtn').style.display = 'none';
                                    } else if (newParam == -1) {
                                      document.getElementById('printBtn').style.display = 'block';
                                    } else {
                                      document.getElementById('printBtn').style.display = 'none';
                                    }
                                  }
                                </script>
                                <iframe id="ifrmPrint" style="WIDTH: 0px;HEIGHT:0px;border:none;" src="/FlexAppWeb/styles/flexapp/document/blank.html" tabindex="-1"></iframe>
                                <table style="border:0;">
                                  <tbody>
                                    <tr>
                                      <td width="20%" class="leftCol" style="border:0;">&nbsp;</td>
                                      <td align="center" width="60%" class="middleCol" style="border:0;">
                                        <h3>Pricing &amp; Terms</h3>
                                      </td>
                                      <td width="20%" align="right" class="rightCol" style="border:0;">
                                        <input id="printBtn" type="button" value="Print" onclick="printpage()" autocomplete="no-autofill-this" style="padding: 0; height:30px; width:60%; !important;">
                                      </td>
                                    </tr>
                                  </tbody>
                                </table>
                                <center>
                                  <span class="terms">Please take a moment to carefully review the Pricing &amp; Terms below.</span>
                                </center>
                                <p style="font-family: Arial, Helvetica, sans-serif; font-weight: bold; font-size: 120%; text-align: center; text-transform:uppercase;"><strong>Pricing Information</strong></p>
                                <table style="font-family: Arial, Helvetica, sans-serif; font-size:11pt; border: 2px solid #000000; border-collapse: collapse; margin: 0 0 20px 0; width:97%;" cellspacing="0" cellpadding="0">
                                  <colgroup>
                                    <col>
                                    <col style="width:75%">
                                  </colgroup>
                                  <tbody>
                                    <tr>
                                      <td style="font-family: Arial, Helvetica, sans-serif; font-weight: bold; font-size: 120%; text-align: center;  text-transform:uppercase;" colspan="2">
                                        <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;"><strong>Interest Rates and Interest Charges</strong></p>
                                      </td>
                                    </tr>
                                    <tr>
                                      <td style="vertical-align: top; border-collapse: collapse; padding: 3px; border: 1px solid #000000;">
                                        <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;"><strong>Purchase Annual Percentage Rate (APR)</strong></p>
                                      </td>
                                      <td style="vertical-align: top; border-collapse: collapse; padding: 3px; border: 1px solid #000000;">
                                        <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;"><span style="font-weight: bold; font-size: 160%;">16.74%</span> to <span style="font-weight: bold; font-size: 160%;">23.74%</span>, based
                                          on your creditworthiness. These APRs will vary with the market based on the Prime Rate.<sup>a</sup></p>
                                      </td>
                                    </tr>
                                    <tr>
                                      <td style="vertical-align: top; border-collapse: collapse; padding: 3px; border: 1px solid #000000;">
                                        <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;"><strong>My Chase Loan<sup>SM</sup> APR</strong></p>
                                      </td>
                                      <td style="vertical-align: top; border-collapse: collapse; padding: 3px; border: 1px solid #000000;">
                                        <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;"><strong>16.74%</strong> to <strong>23.74%</strong>, based on your creditworthiness. These APRs will vary with the market based on the Prime
                                          Rate.<sup>a</sup></p>
                                        <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;">Promotional offers with fixed APRs and varying durations may be available from time to time on some accounts.</p>
                                      </td>
                                    </tr>
                                    <tr>
                                      <td style="vertical-align: top; border-collapse: collapse; padding: 3px; border: 1px solid #000000;">
                                        <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;"><strong>Balance Transfer APR</strong></p>
                                      </td>
                                      <td style="vertical-align: top; border-collapse: collapse; padding: 3px; border: 1px solid #000000;">
                                        <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;"><strong>16.74%</strong> to <strong>23.74%</strong>, based on your creditworthiness. These APRs will vary with the market based on the Prime
                                          Rate.<sup>a</sup></p>
                                      </td>
                                    </tr>
                                    <tr>
                                      <td style="vertical-align: top; border-collapse: collapse; padding: 3px; border: 1px solid #000000;">
                                        <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;"><strong>Cash Advance APR</strong></p>
                                      </td>
                                      <td style="vertical-align: top; border-collapse: collapse; padding: 3px; border: 1px solid #000000;">
                                        <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;"><strong>25.74%</strong>. This APR will vary with the market based on the Prime Rate.<sup>b</sup></p>
                                      </td>
                                    </tr>
                                    <tr>
                                      <td rowspan="2" style="vertical-align: top; border-top: 1px solid #000000; border-right: 1px solid #000000; border-bottom: none; border-left: 1px solid #000000; border-collapse: collapse; padding: 3px;">
                                        <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;"><strong>Penalty APR and When It Applies</strong></p>
                                      </td>
                                      <td style="vertical-align: top; border-top: 1px solid #000000; border-right: 1px solid #000000; border-bottom: none; border-left: 1px solid #000000; border-collapse: collapse; padding: 3px;">
                                        <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;">Up to <strong>29.99%</strong>. This APR will vary with the market based on the Prime Rate.<sup>c</sup></p>
                                      </td>
                                    </tr>
                                    <tr>
                                      <td style="vertical-align: top; border-top: none; border-right: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-collapse: collapse; padding: 3px;">
                                        <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;">We may apply the Penalty APR to your account if you:</p>
                                        <ul style="margin-top: 0; margin-bottom: 0px;">
                                          <li>fail to make a Minimum Payment by the date and time that it is due; or</li>
                                          <li>make a payment to us that is returned unpaid.</li>
                                        </ul>
                                        <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;"><strong>How Long Will the Penalty APR Apply?:</strong> If we apply the Penalty APR for either of these reasons, the Penalty APR could
                                          potentially remain in effect indefinitely.</p>
                                      </td>
                                    </tr>
                                    <tr>
                                      <td style="vertical-align: top; border-collapse: collapse; padding: 3px; border: 1px solid #000000;">
                                        <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;"><strong>How to Avoid Paying Interest on Purchases</strong></p>
                                      </td>
                                      <td style="vertical-align: top; border-collapse: collapse; padding: 3px; border: 1px solid #000000;">
                                        <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;">Your due date will be a minimum of 21 days after the close of each billing cycle. We will not charge you interest on new purchases if you
                                          pay your entire balance or Interest Saving Balance by the due date each month. We will begin charging interest on balance transfers and cash advances on the transaction date.</p>
                                      </td>
                                    </tr>
                                    <tr>
                                      <td style="vertical-align: top; border-collapse: collapse; padding: 3px; border: 1px solid #000000;">
                                        <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;"><strong>Minimum Interest Charge</strong></p>
                                      </td>
                                      <td style="vertical-align: top; border-collapse: collapse; padding: 3px; border: 1px solid #000000;">
                                        <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;">None</p>
                                      </td>
                                    </tr>
                                    <tr>
                                      <td style="vertical-align: top; border-collapse: collapse; padding: 3px; border: 1px solid #000000;">
                                        <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;"><strong>Credit Card Tips from the Consumer Financial Protection Bureau</strong></p>
                                      </td>
                                      <td style="vertical-align: top; border-collapse: collapse; padding: 3px; border: 1px solid #000000;">
                                        <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;">To learn more about factors to consider when applying for or using a credit card, visit the website of the Consumer Financial Protection
                                          Bureau at http://www.consumerfinance.gov/learnmore.</p>
                                      </td>
                                    </tr>
                                  </tbody>
                                </table>
                                <table style="font-family: Arial, Helvetica, sans-serif; font-size:11pt; border: 2px solid #000000; border-collapse: collapse; margin: 0 0 20px 0; width:97%" cellspacing="0" cellpadding="0">
                                  <colgroup>
                                    <col>
                                    <col style="width:75%">
                                  </colgroup>
                                  <tbody>
                                    <tr>
                                      <td style="font-weight: bold; font-size: 120%; text-align: center; text-transform:uppercase;" colspan="2">
                                        <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;"><strong>Fees</strong></p>
                                      </td>
                                    </tr>
                                    <tr>
                                      <td style="vertical-align: top; border-collapse: collapse; padding: 3px; border: 1px solid #000000;">
                                        <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;"><strong>Annual Membership Fee</strong></p>
                                      </td>
                                      <td style="vertical-align: top; border-collapse: collapse; padding: 3px; border: 1px solid #000000;">
                                        <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;"><strong>$95</strong></p>
                                      </td>
                                    </tr>
                                    <tr>
                                      <td style="vertical-align: top; border-collapse: collapse; padding: 3px; border: 1px solid #000000;">
                                        <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;"><strong>My Chase Plan<sup>SM</sup> Fee</strong></p>
                                        <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;"><strong>(fixed finance charge)</strong></p>
                                      </td>
                                      <td style="vertical-align: top; border-collapse: collapse; padding: 3px; border: 1px solid #000000;">
                                        <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;">Monthly fee of <strong>1.72%</strong> of the amount of each eligible purchase transaction or amount selected to create a My Chase Plan. The
                                          My Chase Plan Fee will be determined at the time each My Chase Plan is created and will remain the same until the My Chase Plan is paid in full.<sup>d</sup></p>
                                      </td>
                                    </tr>
                                    <tr>
                                      <td style="vertical-align: top; border-top: 1px solid #000000; border-right: 1px solid #000000; border-bottom: none; border-left: 1px solid #000000; border-collapse: collapse; padding: 3px;">
                                        <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;"><strong>Transaction Fees</strong></p>
                                      </td>
                                      <td style="vertical-align: top; border-top: 1px solid #000000; border-right: 1px solid #000000; border-bottom: none; border-left: 1px solid #000000; border-collapse: collapse; padding: 3px;"></td>
                                    </tr>
                                    <tr>
                                      <td style="vertical-align: top; border-top: none; border-right: 1px solid #000000; border-bottom: none; border-left: 1px solid #000000; border-collapse: collapse; padding: 3px;">
                                        <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;">Balance Transfers</p>
                                      </td>
                                      <td style="vertical-align: top; border-top: none; border-right: 1px solid #000000; border-bottom: none; border-left: 1px solid #000000; border-collapse: collapse; padding: 3px;">
                                        <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;">Either <strong>$5</strong> or <strong>5%</strong> of the amount of each transfer, whichever is greater.</p>
                                      </td>
                                    </tr>
                                    <tr>
                                      <td style="vertical-align: top; border-top: none; border-right: 1px solid #000000; border-bottom: none; border-left: 1px solid #000000; border-collapse: collapse; padding: 3px;">
                                        <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;">Cash Advances</p>
                                      </td>
                                      <td style="vertical-align: top; border-top: none; border-right: 1px solid #000000; border-bottom: none; border-left: 1px solid #000000; border-collapse: collapse; padding: 3px;">
                                        <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;">Either <strong>$10</strong> or <strong>5%</strong> of the amount of each transaction, whichever is greater. </p>
                                      </td>
                                    </tr>
                                    <tr>
                                      <td style="vertical-align: top; border-top: none; border-right: 1px solid #000000; border-bottom: none; border-left: 1px solid #000000; border-collapse: collapse; padding: 3px;">
                                        <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;">Foreign Transactions</p>
                                      </td>
                                      <td style="vertical-align: top; border-top: none; border-right: 1px solid #000000; border-bottom: none; border-left: 1px solid #000000; border-collapse: collapse; padding: 3px;">
                                        <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;"><strong>None</strong></p>
                                      </td>
                                    </tr>
                                    <tr>
                                      <td style="vertical-align: top; border-top: 1px solid #000000; border-right: 1px solid #000000; border-bottom: none; border-left: 1px solid #000000; border-collapse: collapse; padding: 3px;">
                                        <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;"><strong>Penalty Fees</strong></p>
                                      </td>
                                      <td style="vertical-align: top; border-top: 1px solid #000000; border-right: 1px solid #000000; border-bottom: none; border-left: 1px solid #000000; border-collapse: collapse; padding: 3px;"></td>
                                    </tr>
                                    <tr>
                                      <td style="vertical-align: top; border-top: none; border-right: 1px solid #000000; border-bottom: none; border-left: 1px solid #000000; border-collapse: collapse; padding: 3px;">
                                        <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;">Late Payment</p>
                                      </td>
                                      <td style="vertical-align: top; border-top: none; border-right: 1px solid #000000; border-bottom: none; border-left: 1px solid #000000; border-collapse: collapse; padding: 3px;">
                                        <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;">Up to <strong>$40</strong>.</p>
                                      </td>
                                    </tr>
                                    <tr>
                                      <td style="vertical-align: top; border-top: none; border-right: 1px solid #000000; border-bottom: none; border-left: 1px solid #000000; border-collapse: collapse; padding: 3px;">
                                        <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;">Return Payment</p>
                                      </td>
                                      <td style="vertical-align: top; border-top: none; border-right: 1px solid #000000; border-bottom: none; border-left: 1px solid #000000; border-collapse: collapse; padding: 3px;">
                                        <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;">Up to <strong>$40</strong>.</p>
                                      </td>
                                    </tr>
                                    <tr>
                                      <td style="vertical-align: top; border-top: none; border-right: 1px solid #000000; border-bottom: none; border-left: 1px solid #000000; border-collapse: collapse; padding: 3px;">
                                        <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;">Return Check</p>
                                      </td>
                                      <td style="vertical-align: top; border-top: none; border-right: 1px solid #000000; border-bottom: none; border-left: 1px solid #000000; border-collapse: collapse; padding: 3px;">
                                        <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;"><strong>None</strong></p>
                                      </td>
                                    </tr>
                                  </tbody>
                                </table>
                                <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;"><strong>Note:</strong> This account may not be eligible for balance transfers.</p>
                                <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;"><strong>How We Will Calculate Your Balance:</strong> We use the daily balance method (including new transactions). </p>
                                <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;"><strong>Prime Rate:</strong> Variable APRs are based on the 4.00% Prime Rate as of 5/10/2022.</p>
                                <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;"><sup>a</sup>We add 12.74% to 19.74% to the Prime Rate to determine the Purchase/My Chase Loan/Balance Transfer APR. Maximum APR 29.99%. </p>
                                <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;"><sup>b</sup>We add 21.74% to the Prime Rate to determine the Cash Advance APR. Maximum APR 29.99%. </p>
                                <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;"><sup>c</sup>We add up to 26.99% to the Prime Rate to determine the Penalty APR. Maximum APR 29.99%. </p>
                                <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;"><sup>d</sup>My Chase Plan Fee: The My Chase Plan Fee is calculated at the time each plan is created and is based on the amount of each purchase
                                  transaction or amount selected to create the plan, the number of billing periods you choose to pay the balance in full, and other factors. The monthly and aggregate dollar amount of your My Chase Plan Fee will be
                                  disclosed during the activation of each My Chase Plan.</p>
                                <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;"><strong>MILITARY LENDING ACT NOTICE:</strong> Federal law provides important protections to members of the Armed Forces and their dependents
                                  relating to extensions of consumer credit. In general, the cost of consumer credit to a member of the Armed Forces and his or her dependent may not exceed an annual percentage rate of 36 percent. This rate must
                                  include, as applicable to the credit transaction or account: the costs associated with credit insurance premiums; fees for ancillary products sold in connection with the credit transaction; any application fee
                                  charged (other than certain application fees for specified credit transactions or accounts); and any participation fee charged (other than certain participation fees for a credit card account). To receive this
                                  information and a description of your payment obligation verbally, please call 1-800-235-9978.</p>
                                <p style="font-family: Arial, Helvetica, sans-serif; font-weight: bold; font-size: 120%; text-align: center; text-transform:uppercase;"><strong>TERMS &amp; CONDITIONS</strong></p>
                                <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;"><strong>Authorization:</strong> When you respond to this credit card offer from JPMorgan&nbsp;Chase&nbsp;Bank,&nbsp;N.A., Member FDIC, a subsidiary
                                  of JPMorgan&nbsp;Chase&nbsp;&amp;&nbsp;Co. ("Chase", "we", or "us"), you agree to the following:</p>
                                <ol style="margin-top: 0px; margin-bottom: 0px;">
                                  <li>
                                    <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;">You authorize us to obtain credit bureau reports, employment, and income information about you that we will use when considering your
                                      application for credit. We may obtain and use information about your accounts with us and others such as Checking, Deposit, Investment, and Utility accounts from credit bureaus and other entities. You also
                                      authorize us to obtain credit bureau reports and any other information about you in connection with: 1) extensions of credit on your account; 2) the administration, review or collection of your account; and 3)
                                      offering you enhanced or additional products and services. If you ask, we will tell you the name and address of the credit bureau from which we obtained a report about you.</p>
                                  </li>
                                  <li>
                                    <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;">If an account is opened, you will receive a Cardmember Agreement with your card(s). You agree to the terms of this agreement by: using the
                                      account or any card, authorizing their use, or making any payment on the account.</p>
                                  </li>
                                  <li>
                                    <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;">By providing your mobile phone number, you are giving permission to be contacted at that number about all of your accounts by JPMorgan Chase
                                      and companies working on its behalf. Your consent allows the use of text messages, artificial or prerecorded voice messages and automatic dialing technology for informational and account servicing, but not for
                                      sales or telemarketing. Message and data rates may apply.</p>
                                  </li>
                                  <li>
                                    <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;">Balance transfers will be applied to your account and sent to your designated payee(s) 10 days after we mail your new credit card. If you want
                                      to cancel or modify your balance transfer within this ten-day period and have received your credit card, please call the number on the back of your card. Otherwise, please call 1-888-338-9464. Please continue to
                                      make payments to your other account(s) until you know the balance has been paid.</p>
                                  </li>
                                  <li>
                                    <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;"><strong>Rates, fees, and terms may change: We have the right to change the account terms (including the APRs) in accordance with your
                                        Cardmember Agreement.</strong></p>
                                  </li>
                                </ol>
                                <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;">Before we approve you for a credit card, we will review your credit report and the information you provide with your response to confirm that you
                                  meet the criteria for this offer. Based on this review, you may receive a card with different costs or you may not receive a card. If approved for an account, your credit access line will be at least $5000. </p>
                                <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;">You must be at least 18 years old to qualify (19 in AL and NE, 21 in Puerto Rico). An applicant, if married, may apply for a separate account.</p>
                                <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;">We reserve the right to change the benefit features associated with your card at any time.</p>
                                <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;"><strong>New York Residents: </strong>New York residents may contact the New York State Department of Financial Services at 1-800-342-3736 or go to
                                  www.dfs.ny.gov to obtain a comparative list of credit card rates, fees, and grace periods.</p>
                                <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;"><strong>Ohio Residents:</strong> The Ohio laws against discrimination require that all creditors make credit equally available to all credit worthy
                                  customers, and that credit reporting agencies maintain separate credit histories on each individual upon request. The Ohio Civil Rights Commission administers compliance with this law.</p>
                                <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;"><strong>Notice to Married Wisconsin Residents:</strong> No provision of any marital property agreement, unilateral statement or court order
                                  applying to marital property will adversely affect a creditor's interests unless the creditor, prior to the time the credit is granted, is furnished a copy of the agreement, statement or decree, or has actual
                                  knowledge of the adverse provision when the obligation to the creditor is incurred. Obligations on this account will be incurred in the interest of your marriage or family. You understand that we may be required to
                                  give notice of this account to your spouse. <strong>Married Wisconsin residents must furnish their (the applicant's) name and social security number as well as the name and address of their spouse to Cardmember
                                    Service at P.O. Box 15366, Wilmington, DE 19850-5366.</strong></p>
                                <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;"><strong>Balance Transfer Option</strong></p>
                                <ul style="margin-top: 0; margin-bottom: 0px;">
                                  <li>
                                    <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;">Balance transfers are contingent upon issuance of your account with us.</p>
                                  </li>
                                  <li>
                                    <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;">The total amount of your request(s) including fees and interest charges cannot exceed your available credit or $15,000, whichever is lower.</p>
                                  </li>
                                  <li>
                                    <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;">We will not process any balance transfer requests that are from any other account or loan that we (JPMorgan Chase Bank, N.A., Member FDIC) or
                                      any of our affiliates issued.</p>
                                  </li>
                                  <li>
                                    <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;">Balance transfers are subject to the transaction fee shown in the enclosed "Pricing Information."</p>
                                  </li>
                                  <li>
                                    <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;">We will evaluate your balance transfer requests in the order listed on your response. If your request(s) exceeds the amount that we approve, we
                                      may either decline the request or send less than the full amount requested to your designated payee.</p>
                                  </li>
                                  <li>
                                    <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;">Each transfer will reduce your available credit just like any other transaction. You will see a payment for the amount transferred on the
                                      statement from your other accounts. It may take up to three weeks to set up your new account with us and process the balance transfer(s), so you may still need to make payments to your other accounts to keep them
                                      current.</p>
                                  </li>
                                </ul>
                                <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;"><strong>Affiliate Information Sharing: We and our affiliates may share information about you among affiliates in order to offer products and
                                    services of interest to you. If you would prefer that we do not share information from your application, credit bureaus or third parties, please call us at 1-888-868-8618. For more information about our information
                                    handling policies, visit us on the web at http://www.chase.com/privacypolicy.</strong></p>
                                <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;"><strong>Replying to this offer: </strong>If you omit any information on the form, we may deny your request for an account. Chase cardmembers who
                                  currently have or have had a Chase credit card in any Rewards Program associated with this offer, may not be eligible for a second Chase credit card in the same Rewards Program. Chase cardmembers currently receiving
                                  promotional pricing, or Chase cardmembers with a history of only using their current or prior Chase card for promotional pricing offers, are not eligible for a second Chase credit card with promotional pricing. You
                                  must have a valid permanent home address within the 50 United States, the District of Columbia, Guam, Puerto Rico, or the US Virgin Islands, or have a United States military address. The information about the costs
                                  of the card described in this form is accurate as of 5/10/2022. This information may have changed after that date. To find out what may have changed, write to us at Cardmember Service, P.O. Box 15043, Wilmington, DE
                                  19850-5043.</p>
                                <p style="font-family: Arial, Helvetica, sans-serif; font-size: 11pt;"><strong>USA PATRIOT Act:</strong> Federal law requires all financial institutions to obtain, verify, and record information that identifies each
                                  person who opens an account. We require the following information or documents as a condition to your opening an account: your name, residential address, date of birth, Social Security number, driver's license or
                                  other identifying documents.</p>
                                <p class="copyright">
                                  <font>©&nbsp;2022&nbsp;JPMorgan Chase &amp; Co.&nbsp;</font>
                                </p>
                              </div>
                            </div>
                            <div class="jpui-button-container jpui-modal-show chaseutil-center">
                              <button type="button" class="chaseui-button close" id="close" autocomplete="no-autofill-this">Close</button>
                            </div>
                          </div>
                          <div class="jpui-content-reviewpt chaseutil-mobile-center chaseutil-mobile-show">
                            <div class="jpui-col-lg-10 jputil-lg-push-2 jpui-col-med-11 jputil-med-push-1 jpui-col-sm-12 jputil-sm-push-0 jpui-col-xs-12 jputil-xs-push-0 chaseutil-mobile-center">
                              <button type="button" data-modal-selector="#terms-cheerios-pricing" class="jpjs-showmodal pricingterms chaseui-button close chaseutil-mobile-center" id="schumermodalbutton" autocomplete="no-autofill-this"> Pricing &amp;
                                Terms<span class="accessible-text">(opens overlay)</span>
                              </button>
                            </div>
                          </div>
                        </div>
                        <div id="terms-cheerios-disclosures">
                          <div class="jpui-header jpui-terms-header chaseutil-mobile-center">Certifications</div>
                          <div id="terms-cheerios-dcontent" class="jpui-content">
                            <div class="clearfix jpui-application-disclosure" id="section-application-disclosure">
                              <ul>
                                <!-- 
	Below logic is to diplay 
	authorzation bullets on 
	Instant Decision Pages for 
	1. Consumer Partners
	2. Conusmer Branded
	3. Busincess Partners
	4. Business Brands (Ink)
-->
                                <li class="cert-txt"><b><u>Eligibility for this product</u></b>: The <b><u>product</u></b> is <b><u>not available</u></b> to either:<p>(1) current cardmembers of the Marriott Bonvoy<sup>®</sup> Premier credit card
                                    (also known as Marriott Rewards<sup>®</sup> Premier), Marriott Bonvoy Boundless<sup>®</sup> credit card (also known as Marriott Rewards<sup>®</sup> Premier Plus), Marriott Bonvoy Bold<sup>®</sup> credit card, or
                                  </p>
                                  <p>(2) previous cardmembers of the Marriott Bonvoy<sup>®</sup> Premier credit card (also known as Marriott Rewards<sup>®</sup> Premier), Marriott Bonvoy Boundless<sup>®</sup> credit card (also known as Marriott
                                    Rewards<sup>®</sup> Premier Plus), or Marriott Bonvoy Bold<sup>®</sup> credit card, who received a new cardmember bonus within the last 24 months.</p>
                                  <p>
                                    <b>If you are an existing Marriott Rewards Premier or Marriott Bonvoy<sup>®</sup> Premier customer and would like this product, please call the number on the back of your card to see if you are eligible for a product change.</b>
                                  </p>
                                </li>
                                <li class="cert-txt"><b><u>Eligibility for the new cardmember bonus</u></b>: The <b><u>bonus</u></b> is <b><u>not available</u></b> to you if you:<p>(1) are a current cardmember, or were a previous cardmember within
                                    the last 30 days, of Marriott Bonvoy<sup>®</sup> American Express<sup>®</sup> Card (also known as The Starwood Preferred Guest<sup>®</sup> Credit Card from American Express);</p>
                                  <p>(2) are a current or previous cardmember of either Marriott Bonvoy Business<sup>®</sup> American Express<sup>®</sup> Card (also known as The Starwood Preferred Guest<sup>®</sup> Business Credit Card from American
                                    Express) or Marriott Bonvoy Brilliant<sup>®</sup> American Express<sup>®</sup> Card (also known as the Starwood Preferred Guest<sup>®</sup> American Express Luxury Card), and received a new cardmember bonus or
                                    upgrade bonus in the last 24 months; or</p>
                                  <p>(3) applied and were approved for Marriott Bonvoy Business<sup>®</sup> American Express<sup>®</sup> Card (also known as The Starwood Preferred Guest<sup>®</sup> Business Credit Card from American Express) or
                                    Marriott Bonvoy Brilliant<sup>®</sup> American Express<sup>®</sup> Card (also known as the Starwood Preferred Guest<sup>®</sup> American Express Luxury Card) within the last 90 days.</p>
                                </li>
                                <!-- 	 For Instant Decsion Apps  -->
                                <!-- Authorzation Bullets for Instant Decision App Start -->
                                <li class="cert-txt">I certify that I have read and agree to all pricing, terms, conditions, authorizations and disclosures provided with this request for credit and that all information provided is true and correct.
                                </li>
                                <!-- For Chase Ptnr Apps  -->
                                <li class="cert-txt">I authorize Chase and the partner named in this offer to exchange information about me and my account(s).</li>
                                <!--  For Non-Biz  Apps  -->
                                <li class="cert-txt"> I understand that balance transfers, if any, will be applied to my account and sent to my designated payee(s) 10 days after my new credit card is mailed. If I want to cancel or modify my balance
                                  transfer within this ten-day period and have received my credit card, I can call the number on the back of my card. Otherwise, I can call 1-888-338-9464. I will continue to make payments to my other account(s) until
                                  I know the balance has been paid. </li>
                                <li class="cert-txt">I will be responsible for repaying all balances on this account. Authorized users will have the same account number and charging privileges as the primary cardmember but will not be financially
                                  responsible. All correspondence, including additional card, statements and notifications, will be sent to the name and address on file for the primary cardmember. We provide account information to the credit
                                  reporting agencies for all account users. This information could impact an authorized user's credit score. When you tell us to add a user to your account, you're confirming that you have a relationship with the
                                  person or people whose name(s), address(es) and date of birth(s) you've told us, that all their information is correct, and that you have their consent to add them. If we determine you've given us fraudulent name,
                                  address, or date of birth information or did not have such consent, we can close this account.</li>
                                <!-- Authorzation Bullets for Instant Decision App End -->
                                <span class="jpui-certification-text">
                                  <li>I understand that the terms of my account, including the APRs, are subject to change. Any such changes will be made in accordance with the Cardmember Agreement.</li>
                                </span>
                                <li class="cert-txt">I agree that when I apply for a Marriott Bonvoy<sup>®</sup> credit card and for as long as I maintain an open account, my relationship with JPMorgan Chase Bank, N.A. Member FDIC or other credit
                                  card issuers of Marriott International, Inc. may be disclosed to other Marriott<sup>®</sup>, Starwood<sup>®</sup> or Ritz-Carlton<sup>®</sup> credit card issuers.</li>
                              </ul>
                            </div>
                          </div>
                        </div>
                        <div id="terms-cheerios-infolist" class="jpui-review-info-container">
                          <div id="terms-cheerios-agree" class="jpui-review-form">
                            <div class="jpui-checkbox-acceptance-radio">
                              <input type="checkbox" name="value(sAcceptance)" data-error-message="<b>You must review the 'E-Sign Disclosure' and 'Pricing &amp; Terms' above in order to submit your application.</b>" data-theme="flexapp"
                                data-error-label="Certification checkbox" id="sAcceptance" title="Required field. Please indicate that you've read the pricing and terms for this account." class="chaseui-checkbox	jputil-float-left"
                                autocomplete="no-autofill-this" value="">
                              <label for="sAcceptance" class="chaseui-checkbox-radio-label">
                                <div class="jputil-float-left"></div>
                                <div class="jpui-review-form-content">I have read and I agree to the Certifications and Pricing &amp; Terms. <span class="jpui-required-content">(required)</span></div>
                              </label>
                            </div>
                          </div>
                        </div>
                        <div id="external-modal" class="jpui-modal jpui-weblinking-overlay jpmc-modal jpmc-floater jpmc-layout jpmc-widget jpjs-scroll">
                          <span class="accessible-text">(begin overlay)</span>
                          <h2 tabindex="-1" id="areusureQuestion">You're Now Leaving Chase</h2>
                          <p>Chase's website and/or mobile terms, privacy and security policies don't apply to the site or app you're about to visit. Please review its terms, privacy and security policies to see how they apply to you. Chase isn't
                            responsible for (and doesn't provide) any products, services or content at this third-party site or app, except for products and services that explicitly carry the Chase name.</p>
                          <div class="jpui-button-container">
                            <button type="button" class="chaseui-button jpjs-modalclose" onclick="closeLeaving();" alt="Cancel" autocomplete="no-autofill-this">Cancel</button>
                            <button type="button" class="chaseui-button jpjs-modalclose close" onclick="javascript:openExternalLink();" alt="Proceed" autocomplete="no-autofill-this">Proceed</button>
                          </div>
                          <span class="accessible-text">(end of overlay)</span>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
              <div class="jpui-col-lg-10 jputil-lg-push-2 jpui-col-med-11 jputil-med-push-1 jpui-col-sm-12 jputil-sm-push-0 jpui-col-xs-12 jputil-xs-push-0 chaseui-button-container">
                <div class="jputil-float-right">
                  <button id="flexappsubmit" title="Submit your application" alt="Submit your application" class="chaseui-button submit" type="submit" autocomplete="no-autofill-this">Submit</button>
                </div>
              </div>
            </div>
          </div>
          <script language="Javascript">
            var upSellArray = [];

            function getUpsellArray() {
              return upSellArray;
            }

            function getScenarioStep() {
              return '1_Standard_Default';
            }

            function getAbandonPageName() {
              return 'AppAbandon_FirstUpsell_Page';
            }

            function setCloseId() {
              closeId = 'lnk_FlexApp_StandardModal_Close';
            }

            function getReturnAndApplyId() {
              return 'lnk_FlexApp_StandardModal_ReturnAndApply';
            }

            function getEmailId() {
              return 'lnk_FlexApp_StandardModal_SendEmail';
            }

            function tagCloseLink() {}
          </script>
          <div id="exit-intercept-modal" class="jpui-modal jpui-modal-abandon">
            <div class="exit_modal commonExit" title="Return to the previous page and continue your application."> $abandonModal </div>
          </div>
        </div>
      </div>
      <div class="clearfix chaseui-footer">
        <div class="jpui-container">
          <div class="jpui-row">
            <div class="jpui-col-lg-12 jpui-col-last">
              <ul class="chaseui-footerlinks">
                <li>
                  <a href="https://applynow.chase.com/FlexAppWeb/pricing.do?card=GV4S" class="chaseanalytics-track-link" data-pt-name="cc_ft_pricing&amp;terms" title="Opens new window" target="_blank" onclick="OpenPopUp('https://applynow.chase.com/FlexAppWeb/pricing.do?card=GV4S');return false;">Pricing &amp; Terms</a>
                </li>
                <li>
                  <a href="https://www.chase.com/privacy" class="chaseanalytics-track-link" data-pt-name="cc_ft_privacynotice" target="_blank" title="Opens new window" onclick="OpenPopUp('https://www.chase.com/privacy');return false;">Privacy Notice</a>
                </li>
                <li>
                  <a href="https://www.chase.com/ccp/index.jsp?pg_name=ccpmapp/shared/assets/page/chase-terms" class="chaseanalytics-track-link" data-pt-name="cc_ft_termuse" target="_blank" title="Opens new window" onclick="OpenPopUp('https://www.chase.com/ccp/index.jsp?pg_name=ccpmapp/shared/assets/page/chase-terms');return false;">Terms of Use</a>
                </li>
                <li>
                  <script>
                    var _bap_p_overrides = _bap_p_overrides || {};
                    _bap_p_overrides[1115] = {
                      mobile: true
                    };
                  </script>
                  <a id="_bapw-link" href="javascript:void(0)" class="jpjs-showmodal weblinking chaseanalytics-track-link" data-pt-name="cc_ft_adchoice" oncontextmenu="return false" data-modal-selector="#adchoices-weblinking-modal" style="text-decoration:none !important">AdChoices</a><img
                    src="https://applynow.chase.com/image/adChoicesIcon.jpg" alt="adChoices" id="_bapw-icon" style="border:0 !important;display:inline !important;vertical-align:middle !important">
                  <script>
                    /*<![CDATA[*/
                    (function() {
                      function f(n) {
                        var r = new Image;
                        r.src = o + "l.betrad.com/pub/p.gif?pid=" + e + "&ocid=" + t + "&i" + n + "=1&mb=" + (a ? "2" : "0") + "&r=" + Math.random()
                      }
                      var e = 1115,
                        t = 2073,
                        n = !1,
                        r = document,
                        i = r.getElementById("_bapw-link"),
                        s = r.location.protocol == "https:",
                        o = (s ? "https" : "http") + "://",
                        u = window._bap_p_overrides,
                        a = u && u.hasOwnProperty(e) && u[e].mobile;
                      i.onclick = function() {
                        return f("c"), !0
                      }, f("i")
                    })(); /*]]>*/
                  </script>
                </li>
              </ul>
            </div>
          </div>
          <div class="jpui-row">
            <div class="chaseui-copyright">
              <span> ©&nbsp;2022&nbsp; JPMorgan Chase &amp; Co.&nbsp; </span>
            </div>
          </div>
        </div>
      </div>
      <div id="adchoices-weblinking-modal" class="jpui-modal jpui-weblinking-overlay jpmc-modal jpmc-floater jpmc-layout jpmc-widget jpjs-scroll">
        <span class="accessible-text">(begin overlay)</span>
        <h2 tabindex="-1" id="areusureQuestion">You're Now Leaving Chase</h2>
        <p>Chase's website and/or mobile terms, privacy and security policies don't apply to the site or app you're about to visit. Please review its terms, privacy and security policies to see how they apply to you. Chase isn't responsible for (and
          doesn't provide) any products, services or content at this third-party site or app, except for products and services that explicitly carry the Chase name.</p>
        <div class="jpui-button-container">
          <button type="button" class="chaseui-button jpjs-modalclose" onclick="closeLeaving();" alt="Cancel" autocomplete="no-autofill-this">Cancel</button>
          <button type="button" class="chaseui-button jpjs-modalclose close" onclick="javascript:returnToAdchoiceUrl('http://www.aboutads.info/choices/');" alt="Proceed" autocomplete="no-autofill-this">Proceed</button>
        </div>
        <span class="accessible-text">(end of overlay)</span>
      </div>
    </div><!-- end chaseui body -->
    <script type="text/javascript">
      isMobileStyle = false;
    </script>
  </div>
  <div id="hiddenFields">
    <input type="hidden" name="TemplateID" value="100" autocomplete="no-autofill-this">
    <input type="hidden" id="SPID" name="SPID" value="GV4S" autocomplete="no-autofill-this">
    <input type="hidden" id="productName" name="productName" value="Marriott Bonvoy Boundless Credit Card from Chase" autocomplete="no-autofill-this">
    <input type="hidden" name="value(cmaPath)" value="https://applynow.chase.com:443/FlexAppWeb/" autocomplete="no-autofill-this">
    <input type="hidden" name="PARTNERNAME" value="MARRIOTT" autocomplete="no-autofill-this">
    <input type="hidden" id="CELL" name="CELL" value="6V8Z" autocomplete="no-autofill-this">
    <input type="hidden" name="MSC" value="999999999999999" autocomplete="no-autofill-this">
    <input type="hidden" name="tagid" value="null" autocomplete="no-autofill-this">
    <input type="hidden" name="REF" value="null" autocomplete="no-autofill-this">
    <input type="hidden" name="AFFID" value="99999999999999999999" autocomplete="no-autofill-this">
    <input type="hidden" name="PROMO" value="DF01" autocomplete="no-autofill-this">
    <input type="hidden" name="CLICK" value="null" autocomplete="no-autofill-this">
    <input id="CAMPAIGN" type="hidden" name="CAMPAIGN" value="null" autocomplete="no-autofill-this">
    <input id="TOUCH" type="hidden" name="TOUCH" value="null" autocomplete="no-autofill-this">
    <input id="PKEY" type="hidden" name="PKEY" value="null" autocomplete="no-autofill-this">
    <input id="ZipAbandon" type="hidden" name="ZipAbandon" value="" autocomplete="no-autofill-this">
    <span id="prefillStateContainer" class="inputContainerTable"><span id="prefillStateInputContainer"><input type="hidden" name="value(prefillState)" value="" id="prefillState" onblur="validateprefillState(this.value);"
          autocomplete="no-autofill-this"></span></span>
    <span id="prefillCompanyStateContainer" class="inputContainerTable"><span id="prefillCompanyStateInputContainer"><input type="hidden" name="value(prefillCompanyState)" value="" id="prefillCompanyState"
          onblur="validateprefillCompanyState(this.value);" autocomplete="no-autofill-this"></span></span>
    <span id="prefillHomeStateContainer" class="inputContainerTable"><span id="prefillHomeStateInputContainer"><input type="hidden" name="value(prefillHomeState)" value="" id="prefillHomeState" onblur="validateprefillHomeState(this.value);"
          autocomplete="no-autofill-this"></span></span>
    <span id="prefillSchoolStateContainer" class="inputContainerTable"><span id="prefillSchoolStateInputContainer"><input type="hidden" name="value(prefillSchoolState)" value="" id="prefillSchoolState" onblur="validateprefillSchoolState(this.value);"
          autocomplete="no-autofill-this"></span></span>
    <span id="prefillSecondaryStateContainer" class="inputContainerTable"><span id="prefillSecondaryStateInputContainer"><input type="hidden" name="value(prefillSecondaryState)" value="" id="prefillSecondaryState"
          onblur="validateprefillSecondaryState(this.value);" autocomplete="no-autofill-this"></span></span>
    <span id="prefillPhyStateContainer" class="inputContainerTable"><span id="prefillPhyStateInputContainer"><input type="hidden" name="value(prefillPhyState)" value="" id="prefillPhyState" onblur="validateprefillPhyState(this.value);"
          autocomplete="no-autofill-this"></span></span>
    <span id="prefillPhyCompanyStateContainer" class="inputContainerTable"><span id="prefillPhyCompanyStateInputContainer"><input type="hidden" name="value(prefillPhyCompanyState)" value="" id="prefillPhyCompanyState"
          onblur="validateprefillPhyCompanyState(this.value);" autocomplete="no-autofill-this"></span></span>
    <span id="prefillPhyAuthOffStateContainer" class="inputContainerTable"><span id="prefillPhyAuthOffStateInputContainer"><input type="hidden" name="value(prefillPhyAuthOffState)" value="" id="prefillPhyAuthOffState"
          onblur="validateprefillPhyAuthOffState(this.value);" autocomplete="no-autofill-this"></span></span>
    <span id="prefillState11Container" class="inputContainerTable"><span id="prefillState11InputContainer"><input type="hidden" name="value(prefillState11)" value="" id="prefillState11" onblur="validateprefillState11(this.value);"
          autocomplete="no-autofill-this"></span></span>
    <span id="prefillState12Container" class="inputContainerTable"><span id="prefillState12InputContainer"><input type="hidden" name="value(prefillState12)" value="" id="prefillState12" onblur="validateprefillState12(this.value);"
          autocomplete="no-autofill-this"></span></span>
    <span id="prefillState13Container" class="inputContainerTable"><span id="prefillState13InputContainer"><input type="hidden" name="value(prefillState13)" value="" id="prefillState13" onblur="validateprefillState13(this.value);"
          autocomplete="no-autofill-this"></span></span>
    <span id="prefillState14Container" class="inputContainerTable"><span id="prefillState14InputContainer"><input type="hidden" name="value(prefillState14)" value="" id="prefillState14" onblur="validateprefillState14(this.value);"
          autocomplete="no-autofill-this"></span></span>
    <span id="prefillState15Container" class="inputContainerTable"><span id="prefillState15InputContainer"><input type="hidden" name="value(prefillState15)" value="" id="prefillState15" onblur="validateprefillState15(this.value);"
          autocomplete="no-autofill-this"></span></span>
    <span id="prefillOneAuthSecondaryStateContainer" class="inputContainerTable"><span id="prefillOneAuthSecondaryStateInputContainer"><input type="hidden" name="value(prefillOneAuthSecondaryState)" value="" id="prefillOneAuthSecondaryState"
          onblur="validateprefillOneAuthSecondaryState(this.value);" autocomplete="no-autofill-this"></span></span>
    <span id="prefillBusState2Container" class="inputContainerTable"><span id="prefillBusState2InputContainer"><input type="hidden" name="value(prefillBusState2)" value="" id="prefillBusState2" onblur="validateprefillBusState2(this.value);"
          autocomplete="no-autofill-this"></span></span>
    <span id="prefillBusState3Container" class="inputContainerTable"><span id="prefillBusState3InputContainer"><input type="hidden" name="value(prefillBusState3)" value="" id="prefillBusState3" onblur="validateprefillBusState3(this.value);"
          autocomplete="no-autofill-this"></span></span>
    <span id="prefillBusState4Container" class="inputContainerTable"><span id="prefillBusState4InputContainer"><input type="hidden" name="value(prefillBusState4)" value="" id="prefillBusState4" onblur="validateprefillBusState4(this.value);"
          autocomplete="no-autofill-this"></span></span>
    <span id="prefillBusState5Container" class="inputContainerTable"><span id="prefillBusState5InputContainer"><input type="hidden" name="value(prefillBusState5)" value="" id="prefillBusState5" onblur="validateprefillBusState5(this.value);"
          autocomplete="no-autofill-this"></span></span>
    <span id="prefillBusState6Container" class="inputContainerTable"><span id="prefillBusState6InputContainer"><input type="hidden" name="value(prefillBusState6)" value="" id="prefillBusState6" onblur="validateprefillBusState6(this.value);"
          autocomplete="no-autofill-this"></span></span>
    <span id="prefillBusBenState2Container" class="inputContainerTable"><span id="prefillBusBenState2InputContainer"><input type="hidden" name="value(prefillBusBenState2)" value="" id="prefillBusBenState2"
          onblur="validateprefillBusBenState2(this.value);" autocomplete="no-autofill-this"></span></span>
    <span id="prefillBusBenState3Container" class="inputContainerTable"><span id="prefillBusBenState3InputContainer"><input type="hidden" name="value(prefillBusBenState3)" value="" id="prefillBusBenState3"
          onblur="validateprefillBusBenState3(this.value);" autocomplete="no-autofill-this"></span></span>
    <span id="prefillBusBenState4Container" class="inputContainerTable"><span id="prefillBusBenState4InputContainer"><input type="hidden" name="value(prefillBusBenState4)" value="" id="prefillBusBenState4"
          onblur="validateprefillBusBenState4(this.value);" autocomplete="no-autofill-this"></span></span>
    <span id="prefillBusBenState5Container" class="inputContainerTable"><span id="prefillBusBenState5InputContainer"><input type="hidden" name="value(prefillBusBenState5)" value="" id="prefillBusBenState5"
          onblur="validateprefillBusBenState5(this.value);" autocomplete="no-autofill-this"></span></span>
    <input type="hidden" name="StyleSheetId" id="StyleSheetId" value="15" autocomplete="no-autofill-this">
    <input type="hidden" name="AudienceTypeId" id="AudienceTypeId" value="1" autocomplete="no-autofill-this">
    <input type="hidden" id="CMID_TABID_1" name="CMID_TABID_1" value="" autocomplete="no-autofill-this">
    <input type="hidden" name="value(RU)" value="null" autocomplete="no-autofill-this">
    <input type="hidden" name="RU" value="null" autocomplete="no-autofill-this">
    <input type="hidden" id="TABID" name="TABID" value="1" autocomplete="no-autofill-this">
    <input type="hidden" id="selectedCMID" name="selectedCMID" autocomplete="no-autofill-this">
    <input type="hidden" id="selectedCMID1" name="selectedCMID1" autocomplete="no-autofill-this">
    <input type="hidden" id="selectedCMID2" name="selectedCMID2" autocomplete="no-autofill-this">
    <input type="hidden" id="selectedCMID3" name="selectedCMID3" autocomplete="no-autofill-this">
    <input type="hidden" id="selectedCMID4" name="selectedCMID4" autocomplete="no-autofill-this">
    <input type="hidden" id="selectedCMID5" name="selectedCMID5" autocomplete="no-autofill-this">
    <input type="hidden" id="pntesignclick" value="clicked" autocomplete="no-autofill-this">
    <input type="hidden" id="pntesignModelclick" value="notclicked" autocomplete="no-autofill-this">
    <input type="hidden" name="isMobileHybrid" id="isMobileHybrid" value="" autocomplete="no-autofill-this">
    <input type="hidden" name="solitNABIndicator" value="null" autocomplete="no-autofill-this">
    <!--  following lines added for merchant authentication -->
    <input type="hidden" name="unMaskedSSN" value="prefilled" id="unMaskedSSN" autocomplete="no-autofill-this">
    <div id="addTags">
      <script src="js/jquery.chase.cookie.js"></script>
    </div>
    <script>
      GUID = "4124b63a-a246-4143-a34e-246cf340c270";
      sourceCode = "GV4S";
      approvedSourceCode = "";
      taggingPageName = "app";
      dfpSpotLightTagParam = "";
      CELL = "6V8Z";
      MSC = "999999999999999";
      APPID = '';
      cig_app_id = '20220621_253040304_0';
      catType = 'mar';
      pvid = "";
      referrer = "";
      xplusOneurl = "https://stg.xp1.ru4.com/meta?_o=15629&_t=";
      isXPlusOneEnable = "false";
      xplusoneJsPath = "https://chaseonline.chase.com/content/secure/include/javascript";
      APP_ID = "ccards";
      TAGMAP = "cc_app";
      personaJSFilePath = "https://chaseonline.chase.com/js/Personalization.js";
      doubleClickJsPath = "https://www.chase.com/online/includes/javascript";

      function getMVTShortContent() {
        return 'How we protect you';
      }

      function getMVTMediumContent() {
        return 'Chase helps keep you safe and informed';
      }
    </script>
    <noscript>
      <iframe
        src="https://fls.doubleclick.net/activityi;src=2299144;type=flexappl;cat='+catType+';u1='+SPID+';u2='+MSC+';u3='+CELL+';u4='+zip+';u5='+segment+';u6='+aoc+';u7='+rpc+';u8='+isKnown+';u9='+approvedSourceCode+';u10='+ECI+';u11='+GUID+';u12='+LastUpdate+';u13='+LastSent+';u14='+SPID+';u15='+APPID+';u16='+cat+';u17='+cig_app_id+';u18='+referrer+';u19='+pvid+';ord='+a+'?"
        width="1" height="1" frameborder="0"></iframe>
    </noscript>
    <!-- below hidden fields for mvt tags. Please do not remove -->
    <input type="hidden" id="PageID" name="PageID" value="app" autocomplete="no-autofill-this">
    <!-- <div id="chaseShieldContent" style="display:none;">
<img src="https://www.chase.com/online/Credit-Cards/images/159890_ChaseShield.gif"/>
</div>
<div id="mvtBar"  style="display:none  " >
                    </div> -->
    <script>
      //setDoubleClickTag(taggingPageName, dojo.byId('addTags'));
      var jpmcPageVar = {
        MSC: '999999999999999',
        CELL: '6V8Z',
        CAT: 'appmar',
        cig_app_id: '20220621_253040304_0',
        page_code: 'app',
        jp_pet: '',
        jp_customer_id: '1394487BC6E92A98287DFD74F6E5F6CF6.U1',
        SPID: 'gv4s',
        jp_cookie_id: 'NA',
        jp_mcd: 'CCOFFER-US-CH-49894185-0513-PT5FN-DF01-6V8Z'
      };
      /* var tempObjVal = eval(jpmcPageVar);
      if(tempObjVal != null && tempObjVal.)
      {
      } */
      var overridePageLocation = 'https\x3A\x2F\x2Fapplynow.chase.com\x2FFlexAppWeb\x2FrenderApp.do\x2FapplicationPage\x2FUA\x3DPC\x2Fpage_Id\x3Dappmar';
      //var overridePageLocation = 'https://applynow.chase.com/FlexAppWeb/renderApp.do/applicationPage/UA=PC/page_Id=dmavp';
    </script>
    <script>
      try {
        var tagManagerConfig = new(function Config() {
          this.tagServer = "https://www.chase.com";
        });
      } catch (err) {}
    </script>
    <script language="javascript" type="text/javascript" src="https://www.chase.com/apps/chase/clientlibs/foundation/scripts/Reporting.js"></script>
    <script type="text/javascript">
      var _linkTrackingVersion = 2;
    </script>
    <script language="javascript" type="text/javascript">
      var si_n = "Flex_Test_GV4S",
        si_p = "CreditCard_Application_Page",
        Jp_aci = "",
        Jp_rpc = "",
        Jp_prg = "",
        Jp_plc = "",
        Jp_bnd = "",
        Jp_src = "",
        Jp_clc = "",
        Jp_cat = "",
        Jp_appid = "",
        jp_tml = "";
      var appConfigIDTag = "5033";
      var rpcDescriptionTag = "MARRIOTT BONVOY BOUNDLESS";
      var programTag = "75453";
      var programChannelTag = "Internet";
      var aocDescTag = "MARRIOTT";
      var jpSrcTag = "GV4S";
      var cellCodeTag = "6V8Z";
      var jpCatTag = "GV4S_6V8Z";
      var appidTag = "";
      var tmplTag = "15";
      RPT_AddVariables("jp_aci", "5033", "jp_rpc", "MARRIOTT BONVOY BOUNDLESS", "jp_prg", "75453", "jp_plc", "Internet", "jp_bnd", "MARRIOTT", "jp_src", "GV4S", "jp_clc", "6V8Z", "jp_cat", "GV4S_6V8Z", "jp_appid", "", "jp_tml", "15");
      RPT_ScenerioPage(si_n, si_p);

      function getScenarioName() {
        return si_n;
      }
    </script>
    <script>
      RPT_AddVariables("jp_cookie_id", "NA");
      RPT_RecordEvent();
    </script>
    <script>
      RPT_AddVariables("jp_customer_id", "1394487BC6E92A98287DFD74F6E5F6CF6.U1");
      RPT_RecordEvent();
    </script>
    <script>
      RPT_AddVariables("jp_mcd", "CCOFFER-US-CH-49894185-0513-PT5FN-DF01-6V8Z");
      RPT_RecordEvent();
    </script>
    <script>
      performPageLevelTracking(true, 1);
    </script>
    <input type="hidden" name="value(altCustID)" value="1394487BC6E92A98287DFD74F6E5F6CF6.U1" autocomplete="no-autofill-this">
    <input type="hidden" name="altCustID" id="altCustID" value="1394487BC6E92A98287DFD74F6E5F6CF6.U1" autocomplete="no-autofill-this">
    <input type="hidden" name="value(browserChannelID)" id="browserChannelID" value="false" autocomplete="no-autofill-this">
    <div id="flexapp-tmx">
      <div>
        <script src="https://mfasa.chase.com/auth/js/jpmc_bb_check.js"></script>
        <script>
          td_register_sid("2-XT8hOymyi8lO69HA");
          td_register_dns("https://5g3kt0kj-5239aa490dbe249c08f9c45287a6ec9619d4a182-sac.d.aa.online-metrix.net");
          td_profile();
        </script>
      </div>
    </div>
    <script>
      // WO#111413 - FlexApp display change for Application Field change - Start
      if (null != document.getElementById('s2SSN1')) {
        var newTitle = 'Enter first 3 numbers.';
        if (newTitle.indexOf("en_US_") == -1) {
          document.getElementById('s2SSN1').title = newTitle;
        }
      }
      if (null != document.getElementById('s2SSN2')) {
        var newTitle = 'Enter middle 2 numbers.';
        if (newTitle.indexOf("en_US_") == -1) {
          document.getElementById('s2SSN2').title = newTitle;
        }
      }
      if (null != document.getElementById('s2SSN3')) {
        var newTitle = 'Enter last 4 numbers.';
        if (newTitle.indexOf("en_US_") == -1) {
          document.getElementById('s2SSN3').title = newTitle;
        }
      }
      if (null != document.getElementById('s3SSN1')) {
        var newTitle = 'Enter first 3 numbers.';
        if (newTitle.indexOf("en_US_") == -1) {
          document.getElementById('s3SSN1').title = newTitle;
        }
      }
      if (null != document.getElementById('s3SSN2')) {
        var newTitle = 'Enter middle 2 numbers.';
        if (newTitle.indexOf("en_US_") == -1) {
          document.getElementById('s3SSN2').title = newTitle;
        }
      }
      if (null != document.getElementById('s3SSN3')) {
        var newTitle = 'Enter last 4 numbers.';
        if (newTitle.indexOf("en_US_") == -1) {
          document.getElementById('s3SSN3').title = newTitle;
        }
      }
      if (null != document.getElementById('s4SSN1')) {
        var newTitle = 'Enter first 3 numbers.';
        if (newTitle.indexOf("en_US_") == -1) {
          document.getElementById('s4SSN1').title = newTitle;
        }
      }
      if (null != document.getElementById('s4SSN2')) {
        var newTitle = 'Enter middle 2 numbers.';
        if (newTitle.indexOf("en_US_") == -1) {
          document.getElementById('s4SSN2').title = newTitle;
        }
      }
      if (null != document.getElementById('s4SSN3')) {
        var newTitle = 'Enter last 4 numbers.';
        if (newTitle.indexOf("en_US_") == -1) {
          document.getElementById('s4SSN3').title = newTitle;
        }
      }
      if (null != document.getElementById('s5SSN1')) {
        var newTitle = 'Enter first 3 numbers.';
        if (newTitle.indexOf("en_US_") == -1) {
          document.getElementById('s5SSN1').title = newTitle;
        }
      }
      if (null != document.getElementById('s5SSN2')) {
        var newTitle = 'Enter middle 2 numbers.';
        if (newTitle.indexOf("en_US_") == -1) {
          document.getElementById('s5SSN2').title = newTitle;
        }
      }
      if (null != document.getElementById('s5SSN3')) {
        var newTitle = 'Enter last 4 numbers.';
        if (newTitle.indexOf("en_US_") == -1) {
          document.getElementById('s5SSN3').title = newTitle;
        }
      }
      if (null != document.getElementById('s6SSN1')) {
        var newTitle = 'Enter first 3 numbers.';
        if (newTitle.indexOf("en_US_") == -1) {
          document.getElementById('s6SSN1').title = newTitle;
        }
      }
      if (null != document.getElementById('s6SSN2')) {
        var newTitle = 'Enter middle 2 numbers.';
        if (newTitle.indexOf("en_US_") == -1) {
          document.getElementById('s6SSN2').title = newTitle;
        }
      }
      if (null != document.getElementById('s6SSN3')) {
        var newTitle = 'Enter last 4 numbers.';
        if (newTitle.indexOf("en_US_") == -1) {
          document.getElementById('s6SSN3').title = newTitle;
        }
      }
      if (null != document.getElementById('sExpDate1')) {
        var newTitle = '???en_US_MAFD1_GV4S.sExpDate1.toolTip???';
        if (newTitle.indexOf("en_US_") == -1) {
          document.getElementById('sExpDate1').title = newTitle;
        }
      }
      if (null != document.getElementById('sExpDate2')) {
        var newTitle = '???en_US_MAFD1_GV4S.sExpDate2.toolTip???';
        if (newTitle.indexOf("en_US_") == -1) {
          document.getElementById('sExpDate2').title = newTitle;
        }
      }
      if (null != document.getElementById('sExpDate3')) {
        var newTitle = '???en_US_MAFD1_GV4S.sExpDate3.toolTip???';
        if (newTitle.indexOf("en_US_") == -1) {
          document.getElementById('sExpDate3').title = newTitle;
        }
      }
      if (null != document.getElementById('sSchoolPhone1')) {
        var newTitle = 'Enter area code for School phone number.';
        if (newTitle.indexOf("en_US_") == -1) {
          document.getElementById('sSchoolPhone1').title = newTitle;
        }
      }
      if (null != document.getElementById('sSchoolPhone2')) {
        var newTitle = 'Enter next 3 digits of School phone number.';
        if (newTitle.indexOf("en_US_") == -1) {
          document.getElementById('sSchoolPhone2').title = newTitle;
        }
      }
      if (null != document.getElementById('sSchoolPhone3')) {
        var newTitle = 'Enter last 4 digits of School phone number.';
        if (newTitle.indexOf("en_US_") == -1) {
          document.getElementById('sSchoolPhone3').title = newTitle;
        }
      }
      if (null != document.getElementById('sStudentHomePhone1')) {
        var newTitle = 'Required field.  Enter area code for Student Home phone number.';
        if (newTitle.indexOf("en_US_") == -1) {
          document.getElementById('sStudentHomePhone1').title = newTitle;
        }
      }
      if (null != document.getElementById('sStudentHomePhone2')) {
        var newTitle = 'Required field.  Enter next 3 digits of Student Home phone number.';
        if (newTitle.indexOf("en_US_") == -1) {
          document.getElementById('sStudentHomePhone2').title = newTitle;
        }
      }
      if (null != document.getElementById('sStudentHomePhone3')) {
        var newTitle = 'Required field.  Enter last 4 digits of Student Home phone number.';
        if (newTitle.indexOf("en_US_") == -1) {
          document.getElementById('sStudentHomePhone3').title = newTitle;
        }
      }
      if (null != document.getElementById('sBusinessPhone1')) {
        var newTitle = '???en_US_MAFD1_GV4S.sBusinessPhone1.toolTip???';
        if (newTitle.indexOf("en_US_") == -1) {
          document.getElementById('sBusinessPhone1').title = newTitle;
        }
      }
      if (null != document.getElementById('sBusinessPhone2')) {
        var newTitle = '???en_US_MAFD1_GV4S.sBusinessPhone2.toolTip???';
        if (newTitle.indexOf("en_US_") == -1) {
          document.getElementById('sBusinessPhone2').title = newTitle;
        }
      }
      if (null != document.getElementById('sBusinessPhone3')) {
        var newTitle = '???en_US_MAFD1_GV4S.sBusinessPhone3.toolTip???';
        if (newTitle.indexOf("en_US_") == -1) {
          document.getElementById('sBusinessPhone3').title = newTitle;
        }
      }
      if (null != document.getElementById('sCompanyPhone1')) {
        var newTitle = '???en_US_MAFD1_GV4S.sCompanyPhone1.toolTip???';
        if (newTitle.indexOf("en_US_") == -1) {
          document.getElementById('sCompanyPhone1').title = newTitle;
        }
      }
      if (null != document.getElementById('sCompanyPhone2')) {
        var newTitle = '???en_US_MAFD1_GV4S.sCompanyPhone2.toolTip???';
        if (newTitle.indexOf("en_US_") == -1) {
          document.getElementById('sCompanyPhone2').title = newTitle;
        }
      }
      if (null != document.getElementById('sCompanyPhone3')) {
        var newTitle = '???en_US_MAFD1_GV4S.sCompanyPhone3.toolTip???';
        if (newTitle.indexOf("en_US_") == -1) {
          document.getElementById('sCompanyPhone3').title = newTitle;
        }
      }
      if (null != document.getElementById('sCellPhone1')) {
        var newTitle = 'Enter area code for mobile phone number.';
        if (newTitle.indexOf("en_US_") == -1) {
          document.getElementById('sCellPhone1').title = newTitle;
        }
      }
      if (null != document.getElementById('sCellPhone2')) {
        var newTitle = 'Enter next 3 digits of mobile phone number.';
        if (newTitle.indexOf("en_US_") == -1) {
          document.getElementById('sCellPhone2').title = newTitle;
        }
      }
      if (null != document.getElementById('sCellPhone3')) {
        var newTitle = 'Enter last 4 digits of mobile phone number.';
        if (newTitle.indexOf("en_US_") == -1) {
          document.getElementById('sCellPhone3').title = newTitle;
        }
      }
      if (null != document.getElementById('sSecondaryPhone1')) {
        var newTitle = '???en_US_MAFD1_GV4S.sSecondaryPhone1.toolTip???';
        if (newTitle.indexOf("en_US_") == -1) {
          document.getElementById('sSecondaryPhone1').title = newTitle;
        }
      }
      if (null != document.getElementById('sSecondaryPhone2')) {
        var newTitle = '???en_US_MAFD1_GV4S.sSecondaryPhone2.toolTip???';
        if (newTitle.indexOf("en_US_") == -1) {
          document.getElementById('sSecondaryPhone2').title = newTitle;
        }
      }
      if (null != document.getElementById('sSecondaryPhone3')) {
        var newTitle = '???en_US_MAFD1_GV4S.sSecondaryPhone3.toolTip???';
        if (newTitle.indexOf("en_US_") == -1) {
          document.getElementById('sSecondaryPhone3').title = newTitle;
        }
      }
      if (null != document.getElementById('photoIdExpirationDate1')) {
        var newTitle = '???en_US_MAFD1_GV4S.photoIdExpirationDate1.toolTip???';
        if (newTitle.indexOf("en_US_") == -1) {
          document.getElementById('photoIdExpirationDate1').title = newTitle;
        }
      }
      if (null != document.getElementById('photoIdExpirationDate2')) {
        var newTitle = '???en_US_MAFD1_GV4S.photoIdExpirationDate2.toolTip???';
        if (newTitle.indexOf("en_US_") == -1) {
          document.getElementById('photoIdExpirationDate2').title = newTitle;
        }
      }
      if (null != document.getElementById('photoIdExpirationDate3')) {
        var newTitle = '???en_US_MAFD1_GV4S.photoIdExpirationDate3.toolTip???';
        if (newTitle.indexOf("en_US_") == -1) {
          document.getElementById('photoIdExpirationDate3').title = newTitle;
        }
      }
      if (null != document.getElementById('photoIdIssueDate1')) {
        var newTitle = '???en_US_MAFD1_GV4S.photoIdIssueDate1.toolTip???';
        if (newTitle.indexOf("en_US_") == -1) {
          document.getElementById('photoIdIssueDate1').title = newTitle;
        }
      }
      if (null != document.getElementById('photoIdIssueDate2')) {
        var newTitle = '???en_US_MAFD1_GV4S.photoIdIssueDate2.toolTip???';
        if (newTitle.indexOf("en_US_") == -1) {
          document.getElementById('photoIdIssueDate2').title = newTitle;
        }
      }
      if (null != document.getElementById('photoIdIssueDate3')) {
        var newTitle = '???en_US_MAFD1_GV4S.photoIdIssueDate3.toolTip???';
        if (newTitle.indexOf("en_US_") == -1) {
          document.getElementById('photoIdIssueDate3').title = newTitle;
        }
      }
      if (null != document.getElementById('sIssueDateReq1')) {
        var newTitle = '???en_US_MAFD1_GV4S.sIssueDateReq1.toolTip???';
        if (newTitle.indexOf("en_US_") == -1) {
          document.getElementById('sIssueDateReq1').title = newTitle;
        }
      }
      if (null != document.getElementById('sIssueDateReq2')) {
        var newTitle = '???en_US_MAFD1_GV4S.sIssueDateReq2.toolTip???';
        if (newTitle.indexOf("en_US_") == -1) {
          document.getElementById('sIssueDateReq2').title = newTitle;
        }
      }
      if (null != document.getElementById('sIssueDateReq3')) {
        var newTitle = '???en_US_MAFD1_GV4S.sIssueDateReq3.toolTip???';
        if (newTitle.indexOf("en_US_") == -1) {
          document.getElementById('sIssueDateReq3').title = newTitle;
        }
      }
      if (null != document.getElementById('sIntRespDate1')) {
        var newTitle = '???en_US_MAFD1_GV4S.sIntRespDate1.toolTip???';
        if (newTitle.indexOf("en_US_") == -1) {
          document.getElementById('sIntRespDate1').title = newTitle;
        }
      }
      if (null != document.getElementById('sIntRespDate2')) {
        var newTitle = '???en_US_MAFD1_GV4S.sIntRespDate2.toolTip???';
        if (newTitle.indexOf("en_US_") == -1) {
          document.getElementById('sIntRespDate2').title = newTitle;
        }
      }
      if (null != document.getElementById('sIntRespDate3')) {
        var newTitle = '???en_US_MAFD1_GV4S.sIntRespDate3.toolTip???';
        if (newTitle.indexOf("en_US_") == -1) {
          document.getElementById('sIntRespDate3').title = newTitle;
        }
      }
      // WO#149513 - Tooltip on Split fields
      var splitFieldsCountArray = new Array();
      var isInfoMsgDisplayedForSelectedIncome = true;
      var isremoveHousehold = false;
      //		function checkInfo(sAnnualIncome)
      //	{ 	
      //		var doc=document;
      //		sAnnualIncome = sAnnualIncome.replace(/,/g,"");
      //		if(null != doc.getElementById("infosAnnualIncome.NoCommas")){
      //		var oldIncomeInfoMsg = doc.getElementById("infosAnnualIncome.NoCommas").innerHTML;
      //		if(   (sAnnualIncome.length > 0) && (sAnnualIncome <= 15000)  )
      //		{
      //			if ( incomeFlag == 0)
      //			{
      //				incomeFlag = 1;
      //				if (!isMobileStyle){
      //				setTimeout("document.getElementById('sAnnualIncome').focus();",0); 
      //				}
      //				setTimeout("resetStyles('sAccountType');", 500);			
      //				setTimeout("resetStyles('sHousingType');", 500);	
      //				setTimeout("resetStyles('sPosition');", 500);	
      //				setTimeout("resetStyles('sMaidenName');", 500);	
      //			}			
      //			if ( isremoveHousehold  ) {
      //				newIncomeInfoMsg = newIncomeInfoMsg.replace("Household","");				
      //				newIncomeInfoMsg = newIncomeInfoMsg.replace("household","");				
      //			}
      //			doc.getElementById("infosAnnualIncome.NoCommas").innerHTML = newIncomeInfoMsg;
      //		}
      //		else
      //		{
      //			doc.getElementById("infosAnnualIncome.NoCommas").innerHTML = oldIncomeInfoMsg;	
      //		}	
      //	  }
      /* wo#164917 5/18 RTE code to place info on drop-down start */
      /*	  var fieldObj = sAnnualIncome ;	  
      	  if ( (null != fieldObj.id) && (null != document.getElementById(fieldObj.id) ) )
      	  { 
      		  var fieldValue = fieldObj.value;
      		  fieldValue = fieldValue.replace(/,/g,"");
      		  var fieldId = fieldObj.id;
      		  var fieldContainerId = fieldId+"Container";
      		  var infoSpanId = "info"+fieldId;
      		  if (!  newSelectedIncomeInfoMsg =="" && (fieldValue < 15000) )
      		  {  
      		  // create information span tag if it is not existed
      				  if(null == document.getElementById(infoSpanId)){
      							var spanTag = document.createElement("span");
      						    spanTag.id = infoSpanId;
      				        	spanTag.className = "infotxt";
      				        	spanTag.innerHTML = newSelectedIncomeInfoMsg;
      				        	spanTag.style.display = "none";
      				        	document.getElementById(fieldContainerId).appendChild(spanTag);	
      				  }
      				  // force the focus on to the field only for the first time
      				  if(isInfoMsgDisplayedForSelectedIncome)
      				  {
      				        	setTimeout("document.getElementById('"+fieldId+"').focus();",0);
      				        	isInfoMsgDisplayedForSelectedIncome = false;
      				        	//reset styles for the adjacent fields
      				        	setTimeout("resetStyles('sAccountType');", 500);
      				        	setTimeout("resetStyles('sMonthlyMortgageSelect');", 500);
      				        	setTimeout("resetStyles('sPositionSelect');", 500);
      				  }				  
      	  	  }
      	  	  else
      	  	  {
      	  	  	// remove information span tag if not required
      	  	  	if(	document.getElementById(infoSpanId) != null )
      	  	  	{
      				document.getElementById(fieldContainerId).removeChild(document.getElementById(infoSpanId));
      		  	}
      	  	  }
      	  }
      	  /* wo#164917 5/18 RTE code to place info on drop-down end */
      //	}
    </script>
    <script>
      function validatesFirstName(sFirstName) {
        unSetErrorMessage('sFirstName.vulgarCheck');
        unSetErrorMessage('sFirstName.required');
        unSetErrorMessage('sFirstName.invalidBegin');
        unSetErrorMessage('sFirstName.invalidCharacters');
        var fieldLength = sFirstName.length;
        var alphabetsRegEx = /^[a-zA-Z\s\-']+$/;
        var beginRegEx = /^[^a-zA-Z].*$/;
        if (fieldLength == 0) {
          setErrorMessage('sFirstName.required');
          return;
        } else {
          unSetErrorMessage('sFirstName.required');
        }
        if (fieldLength > 15) {
          setErrorMessage('sFirstName.maxlength');
          return;
        } else {
          unSetErrorMessage('sFirstName.maxlength');
        }
        if (beginRegEx.test(sFirstName)) {
          setErrorMessage('sFirstName.invalidBegin');
          return;
        } else {
          unSetErrorMessage('sFirstName.invalidBegin');
        }
        if (!alphabetsRegEx.test(sFirstName)) {
          setErrorMessage('sFirstName.invalidCharacters');
          return;
        } else {
          unSetErrorMessage('sFirstName.invalidCharacters');
        }
        checkVulgarity(sFirstName, 'sFirstName.vulgarCheck');
      }

      function validatesFirstNameSimply(sFirstName) {
        unSetErrorMessage('sFirstName.primeErr');
        var fieldLength = sFirstName.length;
        var alphabetsRegEx = /^[a-zA-Z\s\-']+$/;
        var beginRegEx = /^[^a-zA-Z].*$/;
        if (fieldLength < 3 || !alphabetsRegEx.test(sFirstName)) {
          setErrorMessage('sFirstName.primeErr');
          return;
        } else {
          unSetErrorMessage('sFirstName.primeErr');
        }
      }

      function validatesMiddleInitial(sMiddleInitial) {
        unSetErrorMessage('sMiddleInitial.invalidCharacters');
        unSetErrorMessage('sMiddleInitial.invalidLength');
        var fieldLength = sMiddleInitial.length;
        var alphabetsRegEx = /^[a-zA-Z]+$/;
        if (fieldLength > 0 && !alphabetsRegEx.test(sMiddleInitial) && !sMiddleInitial.match("MI")) {
          setErrorMessage('sMiddleInitial.invalidCharacters');
          return;
        } else if (fieldLength > 1) {
          setErrorMessage('sMiddleInitial.invalidLength');
          return;
        } else {
          unSetErrorMessage('sMiddleInitial.invalidCharacters');
          unSetErrorMessage('sMiddleInitial.invalidLength');
        }
      }

      function validatesLastName(sLastName) {
        unSetErrorMessage('sLastName.vulgarCheck');
        unSetErrorMessage('sLastName.required');
        unSetErrorMessage('sLastName.invalidBegin');
        unSetErrorMessage('sLastName.invalidCharacters');
        unSetErrorMessage('sLastName.invalidLength');
        var fieldLength = sLastName.length;
        var alphabetsRegEx = /^[a-zA-Z\s\-']+$/;
        var beginRegEx = /^[^a-zA-Z].*$/;
        if (fieldLength == 0) {
          setErrorMessage('sLastName.required');
          return;
        } else {
          unSetErrorMessage('sLastName.required');
        }
        if (fieldLength > 20) {
          setErrorMessage('sLastName.maxlength');
          return;
        } else {
          unSetErrorMessage('sLastName.maxlength');
        }
        if (beginRegEx.test(sLastName)) {
          setErrorMessage('sLastName.invalidBegin');
          return;
        } else {
          unSetErrorMessage('sLastName.invalidBegin');
        }
        if (!alphabetsRegEx.test(sLastName)) {
          setErrorMessage('sLastName.invalidCharacters');
          return;
        } else {
          unSetErrorMessage('sLastName.invalidCharacters');
        }
        if (fieldLength < 2) {
          setErrorMessage('sLastName.invalidLength');
          return;
        } else {
          unSetErrorMessage('sLastName.invalidLength');
        }
        checkVulgarity(sLastName, 'sLastName.vulgarCheck');
      }

      function validatesLastNameSimply(sLastName) {
        unSetErrorMessage('sLastName.vulgarCheck');
        unSetErrorMessage('sLastName.required');
        unSetErrorMessage('sLastName.invalidBegin');
        unSetErrorMessage('sLastName.invalidCharacters');
        unSetErrorMessage('sLastName.invalidLength');
        var fieldLength = sLastName.length;
        var alphabetsRegEx = /^[a-zA-Z\s\-']+$/;
        var beginRegEx = /^[^a-zA-Z].*$/;
        if (fieldLength == 0) {
          setErrorMessage('sLastName.required');
          return;
        } else {
          unSetErrorMessage('sLastName.required');
        }
        if (beginRegEx.test(sLastName)) {
          setErrorMessage('sLastName.invalidBegin');
          return;
        } else {
          unSetErrorMessage('sLastName.invalidBegin');
        }
        if (!alphabetsRegEx.test(sLastName)) {
          setErrorMessage('sLastName.invalidCharacters');
          return;
        } else {
          unSetErrorMessage('sLastName.invalidCharacters');
        }
        if (fieldLength < 2) {
          setErrorMessage('sLastName.invalidLength');
          return;
        } else {
          unSetErrorMessage('sLastName.invalidLength');
        }
        checkVulgarity(sLastName, 'sLastName.vulgarCheck');
      }

      function validatesSuffix(sSuffix) {
        unSetErrorMessage('sSuffix.invalidCharacters');
        var fieldLength = sSuffix.length;
        var alphabetsRegEx = /^[a-zA-Z0-9\s]+$/;
        if (fieldLength > 0 && (fieldLength < 1 || fieldLength > 6)) {
          setErrorMessage('sSuffix.invalidCharacters');
          return;
        } else {
          unSetErrorMessage('sSuffix.invalidCharacters');
        }
        if (fieldLength > 0 && !alphabetsRegEx.test(sSuffix)) {
          setErrorMessage('sSuffix.invalidCharacters');
          return;
        } else {
          unSetErrorMessage('sSuffix.invalidCharacters');
        }
        checkVulgarity(sSuffix, 'sSuffix.vulgarCheck');
      }

      function validatesStreetAddr1(sStreetAddr1) {
        unSetErrorMessage('sStreetAddr1.vulgarCheck');
        unSetErrorMessage('sStreetAddr1.required');
        unSetErrorMessage('sStreetAddr1.invalidCharacters');
        var fieldLength = sStreetAddr1.replace(/^\s\s*/, '').replace(/\s\s*$/, '').length;
        var alphabetsRegEx = /^[a-zA-Z0-9\s'\.\-\#\$\/]+$/;
        var beginRegEx = /^[^a-zA-Z0-9\s'\.\-\#\$\/].*$/;
        if (fieldLength == 0) {
          setErrorMessage('sStreetAddr1.required');
          return;
        } else {
          unSetErrorMessage('sStreetAddr1.required');
        }
        if (fieldLength > 40) {
          setErrorMessage('sStreetAddr1.maxlength');
          return;
        } else {
          unSetErrorMessage('sStreetAddr1.maxlength');
        }
        if (beginRegEx.test(sStreetAddr1)) {
          setErrorMessage('sStreetAddr1.invalidCharacters');
          return;
        } else {
          unSetErrorMessage('sStreetAddr1.invalidCharacters');
        }
        if (!alphabetsRegEx.test(sStreetAddr1)) {
          setErrorMessage('sStreetAddr1.invalidCharacters');
          return;
        } else {
          unSetErrorMessage('sStreetAddr1.invalidCharacters');
        }
        checkVulgarity(sStreetAddr1, 'sStreetAddr1.vulgarCheck');
      }

      function validatesStreetAddr1Simply(sStreetAddr1) {
        unSetErrorMessage('sStreetAddr1.primeErr');
        var fieldLength = sStreetAddr1.replace(/^\s\s*/, '').replace(/\s\s*$/, '').length;
        var alphabetsRegEx = /^[a-zA-Z0-9\s'\.\-\#\$\/]+$/;
        var beginRegEx = /^[^a-zA-Z0-9\s'\.\-\#\$\/].*$/;
        if (fieldLength < 2 || beginRegEx.test(sStreetAddr1) || !alphabetsRegEx.test(sStreetAddr1)) {
          setErrorMessage('sStreetAddr1.primeErr');
          return;
        } else {
          unSetErrorMessage('sStreetAddr1.primeErr');
        }
      }

      function validatesStreetAddr2(sStreetAddr2) {
        unSetErrorMessage('sStreetAddr2.vulgarCheck');
        unSetErrorMessage('sStreetAddr2.invalid');
        var fieldLength = sStreetAddr2.length;
        var alphabetsRegEx = /^[a-zA-Z0-9\s.,'\-\#\$\/]+$/;
        var beginRegEx = /^[^a-zA-Z0-9\s.,'\-\#\$\/].*$/;
        if ((fieldLength > 0) && (beginRegEx.test(sStreetAddr2))) {
          setErrorMessage('sStreetAddr2.invalid');
          return;
        } else {
          unSetErrorMessage('sStreetAddr2.invalid');
        }
        if (fieldLength > 40) {
          setErrorMessage('sStreetAddr2.maxlength');
          return;
        } else {
          unSetErrorMessage('sStreetAddr2.maxlength');
        }
        if ((fieldLength > 0) && (!alphabetsRegEx.test(sStreetAddr2))) {
          setErrorMessage('sStreetAddr2.invalid');
          return;
        } else {
          unSetErrorMessage('sStreetAddr2.invalid');
        }
        checkVulgarity(sStreetAddr2, 'sStreetAddr2.vulgarCheck');
      }

      function validatesCity(sCity) {
        unSetErrorMessage('sCity.vulgarCheck');
        unSetErrorMessage('sCity.required');
        unSetErrorMessage('sCity.invalidCharacters');
        var fieldLength = sCity.length;
        var alphabetsRegEx = /^[a-zA-Z0-9\s\-']+$/;
        var beginRegEx = /^[^a-zA-Z0-9].*$/;
        if (fieldLength == 0) {
          setErrorMessage('sCity.required');
          return;
        } else {
          unSetErrorMessage('sCity.required');
        }
        if (fieldLength > 32) {
          setErrorMessage('sCity.maxlength');
          return;
        } else {
          unSetErrorMessage('sCity.maxlength');
        }
        if (beginRegEx.test(sCity)) {
          setErrorMessage('sCity.invalidCharacters');
          return;
        } else {
          unSetErrorMessage('sCity.invalidCharacters');
        }
        if (!alphabetsRegEx.test(sCity)) {
          setErrorMessage('sCity.invalidCharacters');
          return;
        } else {
          unSetErrorMessage('sCity.invalidCharacters');
        }
        checkVulgarity(sCity, 'sCity.vulgarCheck');
      }

      function validatesState1(sState1) {
        unSetErrorMessage('sState1.required');
        unSetErrorMessage('sState1.invalidCharacters');
        var fieldLength = sState1.length;
        var alphabetsRegEx = /^[a-zA-Z]+$/;
        if (fieldLength == 0) {
          setErrorMessage('sState1.required');
          return;
        } else {
          unSetErrorMessage('sState1.required');
        }
        if (!alphabetsRegEx.test(sState1)) {
          setErrorMessage('sState1.invalidCharacters');
          return;
        } else {
          unSetErrorMessage('sState1.invalidCharacters');
        }
        var isValid = false;
        var element;
        var validState = new Array("AK", "AL", "AP", "AR", "AZ", "CA", "CO", "CT", "DC", "DE", "FL", "GA", "GU", "HI", "IA", "ID", "IL", "IN", "KS", "KY", "LA", "MA", "MD", "ME", "MI", "MN", "MO", "MS", "MT", "NC", "ND", "NE", "NH", "NJ", "NM", "NV",
          "NY", "OH", "OK", "OR", "PA", "PR", "RI", "SC", "SD", "TN", "TX", "UT", "VA", "VI", "VT", "WA", "WI", "WV", "WY", "AA", "AE");
        for (index in validState) {
          element = validState[index];
          if (sState1.toUpperCase() == element) {
            isValid = true;
            break;
          } else {
            isValid = false;
          }
        }
        if (!isValid) {
          setErrorMessage('sState1.invalidCharacters');
          return;
        } else {
          unSetErrorMessage('sState1.invalidCharacters');
          return;
        }
      }

      function validatesZip(sZip, sAOAddrSameAsBusiness) {
        /*<dependent>sAOAddrSameAsBusiness</dependent>*/
        if (sAOAddrSameAsBusiness != null) {
          var sAOAddrSameAsBusiness = sAOAddrSameAsBusiness.replace(/^\s*|\s*$/g, '');
          if (sAOAddrSameAsBusiness != 'Y') {
            unSetErrorMessage('sZip.required');
            unSetErrorMessage('sZip.invalid');
            unSetErrorMessage('sZip.invalidCharacters');
            var fieldLength = 0;
            if (sZip != null) {
              fieldLength = sZip.length;
            }
            if (fieldLength == 0) {
              setErrorMessage('sZip.required');
              return;
            } else {
              unSetErrorMessage('sZip.required');
            }
            var alphabetsRegEx = /^[0-9]+$/;
            if (!alphabetsRegEx.test(sZip)) {
              setErrorMessage('sZip.invalidCharacters');
              return;
            } else {
              unSetErrorMessage('sZip.invalidCharacters');
            }
            if (alphabetsRegEx.test(sZip) && (fieldLength < 5 || fieldLength > 5)) {
              setErrorMessage('sZip.invalidSize');
              return;
            } else {
              unSetErrorMessage('sZip.invalidSize');
            }
          }
        }
      }

      function validatesDOB(sDOB, sState, sState1) {
        /*<dependent>sState,sState1</dependent>*/
        if (sDOB.length == 2 && (sDOB.substring(0, 1) == '/' && sDOB.substring(1, 2) == '/')) {
          sDOB = '';
        }
        unSetErrorMessage('sDOB.invalid');
        unSetErrorMessage('sDOB.required');
        unSetErrorMessage('sDOB.underAge');
        var fieldLength = sDOB.length;
        var invalidInput = /\\/;
        var stateVal = getState(sState, sState1);
        if (fieldLength == 0) {
          setErrorMessage('sDOB.required');
          return;
        } else {
          unSetErrorMessage('sDOB.required');
        }
        if (fieldLength > 0 && (fieldLength < 10 || fieldLength > 10)) {
          setErrorMessage('sDOB.invalid');
          return;
        } else {
          unSetErrorMessage('sDOB.invalid');
        }
        if (invalidInput.test(sDOB)) {
          setErrorMessage('sDOB.invalid');
          return;
        } else {
          unSetErrorMessage('sDOB.invalid');
        }
        var strDate1 = new Date();
        var strDate2 = sDOB;
        var datDate2 = new Date(strDate2);
        var yearsPassed = 0;
        while (datDate2.getFullYear() < strDate1.getFullYear()) {
          datDate2.setYear(datDate2.getFullYear() + 1);
          yearsPassed++;
        }
        if (fieldLength > 0 && !validateDate(sDOB)) {
          setErrorMessage('sDOB.invalid');
          return;
        } else {
          unSetErrorMessage('sDOB.invalid');
        }
        if (fieldLength > 0 && yearsPassed < 18) {
          setErrorMessage('sDOB.underAge');
          return;
        } else {
          unSetErrorMessage('sDOB.underAge');
        }
        if (fieldLength > 0 && yearsPassed < 19 && (stateVal == 'AL' || stateVal == 'NE')) {
          setErrorMessage('sDOB.underAge');
          return;
        } else {
          unSetErrorMessage('sDOB.underAge');
        }
        if (fieldLength > 0 && yearsPassed < 21 && stateVal == 'PR') {
          setErrorMessage('sDOB.underAge');
          return;
        } else {
          unSetErrorMessage('sDOB.underAge');
        }
        if (fieldLength > 0 && yearsPassed == 18) {
          if (strDate1.getMonth() < datDate2.getMonth()) {
            setErrorMessage('sDOB.underAge');
            return;
          }
          if (strDate1.getMonth() == datDate2.getMonth()) {
            if (strDate1.getDate() < datDate2.getDate()) {
              setErrorMessage('sDOB.underAge');
              return;
            } else {
              unSetErrorMessage('sDOB.underAge');
              return;
            }
          }
          if (strDate1.getMonth() > datDate2.getMonth()) {
            unSetErrorMessage('sDOB.underAge');
            return;
          }
        }
        if (fieldLength > 0 && yearsPassed == 19 && (stateVal == 'AL' || stateVal == 'NE')) {
          if (strDate1.getMonth() < datDate2.getMonth()) {
            setErrorMessage('sDOB.underAge');
            return;
          }
          if (strDate1.getMonth() == datDate2.getMonth()) {
            if (strDate1.getDate() < datDate2.getDate()) {
              setErrorMessage('sDOB.underAge');
              return;
            } else {
              unSetErrorMessage('sDOB.underAge');
              return;
            }
          }
          if (strDate1.getMonth() > datDate2.getMonth()) {
            unSetErrorMessage('sDOB.underAge');
            return;
          }
        }
        if (fieldLength > 0 && yearsPassed == 21 && stateVal == 'PR') {
          if (strDate1.getMonth() < datDate2.getMonth()) {
            setErrorMessage('sDOB.underAge');
            return;
          }
          if (strDate1.getMonth() == datDate2.getMonth()) {
            if (strDate1.getDate() < datDate2.getDate()) {
              setErrorMessage('sDOB.underAge');
              return;
            } else {
              unSetErrorMessage('sDOB.underAge');
              return;
            }
          }
          if (strDate1.getMonth() > datDate2.getMonth()) {
            unSetErrorMessage('sDOB.underAge');
            return;
          }
        }
        if (fieldLength > 0 && yearsPassed > 125) {
          setErrorMessage('sDOB.invalid');
          return;
        } else {
          unSetErrorMessage('sDOB.invalid');
        }
        if (fieldLength > 0 && yearsPassed == 125) {
          if (strDate1.getMonth() < datDate2.getMonth()) {
            unSetErrorMessage('sDOB.invalid');
          }
          if (strDate1.getMonth() == datDate2.getMonth()) {
            if (strDate1.getDate() >= datDate2.getDate()) {
              setErrorMessage('sDOB.invalid');
              return;
            } else {
              unSetErrorMessage('sDOB.invalid');
            }
          }
          if (strDate1.getMonth() > datDate2.getMonth()) {
            setErrorMessage('sDOB.invalid');
            return;
          }
        }

        function validateDate(strValue) {
          var objRegExp = /^\d{1,2}(\/)\d{1,2}\1\d{4}$/;
          var objRegExpYear = /^00[0-9][0-9]/;
          if (!objRegExp.test(strValue)) return false;
          else {
            var strSeparator = strValue.substring(2, 3);
            var arrayDate = strValue.split(strSeparator);
            var year = arrayDate[2];
            if (objRegExpYear.test(year)) return false;
            var arrayLookup = {
              '01': 31,
              '03': 31,
              '04': 30,
              '05': 31,
              '06': 30,
              '07': 31,
              '08': 31,
              '09': 30,
              '10': 31,
              '11': 30,
              '12': 31
            };
            var intDay = parseInt(arrayDate[1], 10);
            if (arrayLookup[arrayDate[0]] != null) {
              if (intDay <= arrayLookup[arrayDate[0]] && intDay != 0) return true;
            }
            var intMonth = parseInt(arrayDate[0], 10);
            var intYear = parseInt(arrayDate[2]);
            if (intYear == 0) {
              return false;
            }
            if (intMonth == 2) {
              if (intDay > 0 && intDay < 29) {
                return true;
              } else if (intDay == 29) {
                if ((intYear % 4 == 0) && (intYear % 100 != 0) || (intYear % 400 == 0)) {
                  return true;
                }
              }
            }
          }
          return false;
        }

        function getState(sState, sState1) {
          if (sState1 != '' && sState1 != null && sState1.length > 0) return sState1;
          else return sState;
        }
        removeSimplyErrors('sDOB');
      }

      function validatesMaidenName(sMaidenName) {
        unSetErrorMessage('sMaidenName.vulgarCheck');
        unSetErrorMessage('sMaidenName.required');
        unSetErrorMessage('sMaidenName.invalidBegin');
        unSetErrorMessage('sMaidenName.invalidCharacters');
        unSetErrorMessage('sMaidenName.invalidLength');
        var fieldLength = sMaidenName.length;
        var alphabetsRegEx = /^[a-zA-Z\s\-']+$/;
        var beginRegEx = /^[^a-zA-Z].*$/;
        if (fieldLength == 0) {
          setErrorMessage('sMaidenName.required');
          return;
        } else {
          unSetErrorMessage('sMaidenName.required');
        }
        if (beginRegEx.test(sMaidenName)) {
          setErrorMessage('sMaidenName.invalidBegin');
          return;
        } else {
          unSetErrorMessage('sMaidenName.invalidBegin');
        }
        if (!alphabetsRegEx.test(sMaidenName)) {
          setErrorMessage('sMaidenName.invalidCharacters');
          return;
        } else {
          unSetErrorMessage('sMaidenName.invalidCharacters');
        }
        if (fieldLength < 1 && alphabetsRegEx.test(sMaidenName)) {
          setErrorMessage('sMaidenName.invalidLength');
          return;
        } else {
          unSetErrorMessage('sMaidenName.invalidLength');
        }
        checkVulgarity(sMaidenName, 'sMaidenName.vulgarCheck');
      }

      function validatesEMailAddr2(sEMailAddr2) {
        unSetErrorMessage('sEMailAddr2.vulgarCheck');
        unSetErrorMessage('sEMailAddr2.required');
        unSetErrorMessage('sEMailAddr2.invalidBegin');
        unSetErrorMessage('sEMailAddr2.other');
        var fieldLength = sEMailAddr2.length;
        var alphabetsRegEx = /^[a-zA-Z0-9][\w\.-]*[a-zA-Z0-9\.\-_]@[a-zA-Z0-9][a-zA-Z0-9\.-]*\.[a-zA-Z][a-zA-Z\.]*[ ]*$/;
        var beginRegEx = /^[0-9]*@.*$/;
        var domainRegEx = /[.]*@([\w-]+[\.])+[a-zA-Z]{2,6}$/;
        if (fieldLength == 0) {
          setErrorMessage('sEMailAddr2.required');
          return;
        } else {
          unSetErrorMessage('sEMailAddr2.required');
        }
        if (!domainRegEx.test(sEMailAddr2)) {
          setErrorMessage('sEMailAddr2.domainValidation');
          return;
        } else {
          unSetErrorMessage('sEMailAddr2.domainValidation');
        }
        if (!alphabetsRegEx.test(sEMailAddr2)) {
          setErrorMessage('sEMailAddr2.other');
          return;
        } else {
          unSetErrorMessage('sEMailAddr2.other');
        }
        if (beginRegEx.test(sEMailAddr2)) {
          setErrorMessage('sEMailAddr2.invalidBegin');
          return;
        } else {
          unSetErrorMessage('sEMailAddr2.invalidBegin');
        }
        if (fieldLength < 6 || fieldLength > 64) {
          setErrorMessage('sEMailAddr2.other');
          return;
        } else {
          unSetErrorMessage('sEMailAddr2.other');
        }
        checkVulgarity(sEMailAddr2, 'sEMailAddr2.vulgarCheck');
      }

      function validatesSSN(sSSN, unMaskedSSN) {
        /*<dependent>unMaskedSSN</dependent>*/
        if (null != sSSN && (sSSN.length != 0 && 'X' == sSSN.substr(0, 1))) {
          if (null != unMaskedSSN) {
            sSSN = unMaskedSSN;
          }
        } else if (null == sSSN && null != unMaskedSSN) {
          sSSN = unMaskedSSN;
        }
        unSetErrorMessage('sSSN.required');
        unSetErrorMessage('sSSN.invalidLength');
        unSetErrorMessage('sSSN.invalid');
        unSetErrorMessage('sSSN.invalidCharacters');
        unSetErrorMessage('sSSN.improper');
        unSetErrorMessage('sSSN.specialCharacters');
        if (sSSN != 'prefilled') {
          var beginRegEx = /^[0-9]+$/;
          var fieldLength = sSSN.length;
          var alphabetsRegEx = /^(?!000)/; /*var alphabetsRegEx=/^(?!000)([0-6]\d{2}|7([0-9]\d|79[0-7]))(?!00)(\d{2})(?!0000)\d{4}$/;*/
          if (fieldLength == 0) {
            setErrorMessage('sSSN.required');
            return;
          } else {
            unSetErrorMessage('sSSN.required');
          }
          if (beginRegEx.test(sSSN) && (fieldLength < 9)) {
            setErrorMessage('sSSN.invalidLength');
            return;
          } else {
            unSetErrorMessage('sSSN.invalidLength');
          }
          if (!beginRegEx.test(sSSN.substr(0, 3)) && !beginRegEx.test(sSSN.substr(3))) {
            setErrorMessage('sSSN.specialCharacters');
            return;
          } else {
            unSetErrorMessage('sSSN.specialCharacters');
          }
          if (beginRegEx.test(sSSN.substr(0, 3)) && !beginRegEx.test(sSSN.substr(3))) {
            setErrorMessage('sSSN.improper');
            return;
          } else {
            unSetErrorMessage('sSSN.improper');
          }
          if (!beginRegEx.test(sSSN.substr(0, 3))) {
            setErrorMessage('sSSN.invalidFirst3Characters');
            return;
          } else {
            unSetErrorMessage('sSSN.invalidFirst3Characters');
          }
          if (!alphabetsRegEx.test(sSSN)) {
            setErrorMessage('sSSN.improper');
            return;
          } else {
            unSetErrorMessage('sSSN.improper');
          }
          if (("00" == sSSN.substring(3, 5) && "237004321" != sSSN) || ("0000" == sSSN.substring(5, 9))) {
            setErrorMessage('sSSN.improper');
            return;
          } else {
            unSetErrorMessage('sSSN.improper');
          }
          var isInvalid = false;
          var element;
          var invalidSSN = new Array("111111111", "222222222", "333333333", "444444444", "555555555", "666666666", "777777777", "888888888", "999999999", "800000000", "123456789", "987654321", "001010001", "010101010", "121212121", "909090909",
            "011111111", "012345678");
          for (index in invalidSSN) {
            element = invalidSSN[index];
            if (sSSN.toUpperCase() == element || !alphabetsRegEx.test(sSSN)) {
              isInvalid = true;
              break;
            } else {
              isInvalid = false;
            }
          }
          if (isInvalid) {
            setErrorMessage('sSSN.invalid');
            return;
          } else {
            unSetErrorMessage('sSSN.invalid');
          }
        }
      }

      function validatesAnnualIncome(sAnnualIncome) {
        unSetErrorMessage('sAnnualIncome.required');
        var fieldLength = sAnnualIncome.length;
        if (fieldLength == 0) {
          setErrorMessage('sAnnualIncome.required');
          return;
        } else {
          sAnnualIncome = sAnnualIncome.replace(/,/g, "");
          unSetErrorMessage('sAnnualIncome.required');
        }
        var alphabetsRegEx = /^[0-9]+$/;
        fieldLength = sAnnualIncome.length;
        if (fieldLength > 0 && (!alphabetsRegEx.test(sAnnualIncome))) {
          setErrorMessage('sAnnualIncome.invalidInput');
          return;
        } else {
          unSetErrorMessage('sAnnualIncome.invalidInput');
        }
        if (fieldLength > 7) {
          setErrorMessage('sAnnualIncome.invalidLength');
          return;
        } else {
          unSetErrorMessage('sAnnualIncome.invalidLength');
        }
      }

      function validatesHousingType(sHousingType) {
        var fieldLength = sHousingType.length;
        var alphabetsRegEx = /^[a-zA-Z0-9]+$/;
        if (fieldLength == 0) {
          setErrorMessage('sHousingType');
          return;
        } else {
          unSetErrorMessage('sHousingType');
        }
      }

      function validatesPosition(sPosition) {
        unSetErrorMessage('sPosition.vulgarCheck');
        unSetErrorMessage('sPosition.required');
        unSetErrorMessage('sPosition.invalidBegin');
        unSetErrorMessage('sPosition.invalidCharacters');
        var fieldLength = sPosition.length;
        var alphabetsRegEx = /^[a-zA-Z0-9\s\-'.,]+$/;
        var beginRegEx = /^[^a-zA-Z0-9].*$/;
        if (fieldLength == 0) {
          setErrorMessage('sPosition.required');
          return;
        } else {
          unSetErrorMessage('sPosition.required');
        }
        if (alphabetsRegEx.test(sPosition) && beginRegEx.test(sPosition)) {
          setErrorMessage('sPosition.invalidBegin');
          return;
        } else {
          unSetErrorMessage('sPosition.invalidBegin');
        }
        if (!alphabetsRegEx.test(sPosition)) {
          setErrorMessage('sPosition.invalidCharacters');
          return;
        } else {
          unSetErrorMessage('sPosition.invalidCharacters');
        }
        checkVulgarity(sPosition, 'sPosition.vulgarCheck');
      }

      function validatesMonthlyMortgage(sMonthlyMortgage, sHousingType) {
        /*<dependent>sHousingType</dependent> */
        unSetErrorMessage('sMonthlyMortgage.invalidLength');
        unSetErrorMessage('sMonthlyMortgage.required');
        unSetErrorMessage('sMonthlyMortgage.invalidInput');
        var sHousingType = sHousingType.replace(/^\s*|\s*$/g, "");
        var fieldLength = sMonthlyMortgage.length;
        var MMG = trimNumber(sMonthlyMortgage);
        var alphabetsRegEx = /^[0-9]+$/;
        if (fieldLength == 0 && (sHousingType == 'Rent')) {
          setErrorMessage('sMonthlyMortgage.required');
          return;
        } else {
          unSetErrorMessage('sMonthlyMortgage.required');
          if (fieldLength > 5) {
            setErrorMessage('sMonthlyMortgage.invalidLength');
            return;
          } else {
            unSetErrorMessage('sMonthlyMortgage.invalidLength');
          }
          if (fieldLength > 0 && (!alphabetsRegEx.test(MMG))) {
            setErrorMessage('sMonthlyMortgage.invalidInput');
            return;
          } else {
            unSetErrorMessage('sMonthlyMortgage.invalidInput');
          }
        }
      }

      function trimNumber(s) {
        while (s.substr(0, 1) == '0' && (s.length > 1)) {
          s = s.substr(1, 99999);
        }
        return s;
      }

      function validatesHomePhone(sHomePhone) {
        unSetErrorMessage('sHomePhone.invalid');
        unSetErrorMessage('sHomePhone.required');
        unSetErrorMessage('sHomePhone.beginsWithOne');
        unSetErrorMessage('sHomePhone.beginsWithZero');
        var fieldLength = sHomePhone.length;
        var alphabetsRegEx = /^(?![0|1])(\d{3})(?!000)(\d{3})/;
        var zeroBegin = /^[0].*$/;
        var oneBegin = /^[1].*$/;
        if (fieldLength == 0) {
          setErrorMessage('sHomePhone.required');
          return;
        } else {
          unSetErrorMessage('sHomePhone.required');
        }
        if (fieldLength < 10 || fieldLength > 10) {
          setErrorMessage('sHomePhone.invalid');
          return;
        } else {
          unSetErrorMessage('sHomePhone.invalid');
        }
        if (zeroBegin.test(sHomePhone)) {
          setErrorMessage('sHomePhone.beginsWithZero');
          return;
        } else {
          unSetErrorMessage('sHomePhone.beginsWithZero');
        }
        if (oneBegin.test(sHomePhone)) {
          setErrorMessage('sHomePhone.beginsWithOne');
          return;
        } else {
          unSetErrorMessage('sHomePhone.beginsWithOne');
        }
        if (!alphabetsRegEx.test(sHomePhone)) {
          setErrorMessage('sHomePhone.invalid');
          return;
        } else {
          unSetErrorMessage('sHomePhone.invalid');
        }
      }

      function validatesWorkPhone(sWorkPhone) {
        unSetErrorMessage('sWorkPhone.invalid');
        unSetErrorMessage('sWorkPhone.beginsWithOne');
        unSetErrorMessage('sWorkPhone.beginsWithZero');
        var fieldLength = sWorkPhone.length;
        var alphabetsRegEx = /^(?![0|1])(\d{3})(?!000)(\d{3})/;
        var zeroBegin = /^[0].*$/;
        var oneBegin = /^[1].*$/;
        if (fieldLength > 0 && (fieldLength < 10 || fieldLength > 10)) {
          setErrorMessage('sWorkPhone.invalid');
          return;
        } else {
          unSetErrorMessage('sWorkPhone.invalid');
        }
        if (zeroBegin.test(sWorkPhone)) {
          setErrorMessage('sWorkPhone.beginsWithZero');
          return;
        } else {
          unSetErrorMessage('sWorkPhone.beginsWithZero');
        }
        if (oneBegin.test(sWorkPhone)) {
          setErrorMessage('sWorkPhone.beginsWithOne');
          return;
        } else {
          unSetErrorMessage('sWorkPhone.beginsWithOne');
        }
        if (fieldLength > 0 && !alphabetsRegEx.test(sWorkPhone)) {
          setErrorMessage('sWorkPhone.invalid');
          return;
        } else {
          unSetErrorMessage('sWorkPhone.invalid');
        }
      }

      function validatesNonTaxableIncome(sNonTaxableIncome, sAnnualIncome, sNonTaxable) {
        /*<dependent>sAnnualIncome,sNonTaxable</dependent> */
        if (sNonTaxable.length !== 0 && sNonTaxable === 'Yes') {
          unSetErrorMessage('sNonTaxableIncome.required');
          var fieldLength = sNonTaxableIncome.length;
          if (fieldLength == 0) {
            setErrorMessage('sNonTaxableIncome.required');
            return;
          } else {
            sAnnualIncome = sAnnualIncome.replace(/,/g, "");
            sNonTaxableIncome = sNonTaxableIncome.replace(/,/g, "");
            var alphabetsRegEx = /^[0-9]+$/;
            fieldLength = sNonTaxableIncome.length;
            if (fieldLength > 0 && (!alphabetsRegEx.test(sNonTaxableIncome))) {
              setErrorMessage('sNonTaxableIncome.required');
              return;
            }
            if (fieldLength > 7) {
              setErrorMessage('sNonTaxableIncome.required');
              return;
            }
            if (Number(sNonTaxableIncome) > Number(sAnnualIncome)) {
              setErrorMessage('sNonTaxableIncome.required');
              return;
            }
          }
        } else {
          unSetErrorMessage('sNonTaxableIncome.required');
          return;
        }
      }

      function validatesMarriottMemNumber(sMarriottMemNumber) {
        unSetErrorMessage('sMarriottMemNumber.invalidLength');
        unSetErrorMessage('sMarriottMemNumber.invalid');
        var fieldLength = sMarriottMemNumber.length;
        var alphabetsRegEx = /^[0-9]+$/;
        if (fieldLength > 0 && (fieldLength < 9 || fieldLength > 9)) {
          setErrorMessage('sMarriottMemNumber.invalidLength');
          return;
        } else {
          unSetErrorMessage('sMarriottMemNumber.invalidLength');
        }
        if (fieldLength > 0 && !alphabetsRegEx.test(sMarriottMemNumber)) {
          setErrorMessage('sMarriottMemNumber.invalid');
          return;
        } else {
          unSetErrorMessage('sMarriottMemNumber.invalid');
        }
      }

      function validatesRespPhyStreetAddr1(sRespPhyStreetAddr1, sRespPhyStreetAddr2, sRespPhyApartment, sRespPhyZip, sRespPhyCity, sRespPhyState, sStreetAddr1) {
        /*<dependent>sRespPhyStreetAddr2,sRespPhyApartment,sRespPhyZip,sRespPhyCity,sRespPhyState,sStreetAddr1</dependent>*/
        unSetErrorMessage("sRespPhyStreetAddr1.invalidCharacters");
        unSetErrorMessage("sRespPhyStreetAddr1.required");
        unSetErrorMessage("sRespPhyStreetAddr1.vulgarCheck");
        unSetErrorMessage("sRespPhyStreetAddr1.poboxCheck");
        var alphabetsRegEx = /^[a-zA-Z0-9\s'\.\-\#\$\/]+$/;
        var beginRegEx = /^[^a-zA-Z0-9\s'\.\-\#\$\/].*$/;
        var regExPOBox = /[p|P][\s]*(\.)?(\s)*[o|O][\s]*(\.)?(\s)* [b|B][\s]*[o|O][\s]*[x|X][\s]*[a-zA-Z0-9]*|\b[P|p]+(OST|ost|o|O)?\.?\s*[O|o|0]?(ffice|FFICE)?\.?\s*[B|b]?[O|o|0]?[X|x]/;
        var fieldLength = sRespPhyStreetAddr1.replace(/^\s\s*/, '').replace(/\s\s*$/, '').length;
        if (fieldLength > 0 && regExPOBox.test(sRespPhyStreetAddr1)) {
          setErrorMessage("sRespPhyStreetAddr1.poboxCheck");
          return
        } else unSetErrorMessage("sRespPhyStreetAddr1.poboxCheck");
        if (fieldLength > 0 && beginRegEx.test(sRespPhyStreetAddr1)) {
          setErrorMessage("sRespPhyStreetAddr1.invalidCharacters");
          return
        } else unSetErrorMessage("sRespPhyStreetAddr1.invalidCharacters");
        if (fieldLength > 0 && !alphabetsRegEx.test(sRespPhyStreetAddr1)) {
          setErrorMessage("sRespPhyStreetAddr1.invalidCharacters");
          return
        } else unSetErrorMessage("sRespPhyStreetAddr1.invalidCharacters");
        if (regExPOBox.test(sStreetAddr1) && fieldLength == 0) {
          setErrorMessage("sRespPhyStreetAddr1.required");
          return
        } else unSetErrorMessage("sRespPhyStreetAddr1.required");
        if (fieldLength > 0) checkVulgarity(sRespPhyStreetAddr1, "sRespPhyStreetAddr1.vulgarCheck")
      }

      function validatesRespPhyStreetAddr2(sRespPhyStreetAddr2, sRespPhyStreetAddr1) {
        /*<dependent>sRespPhyStreetAddr1</dependent>*/
        unSetErrorMessage("sRespPhyStreetAddr2.invalid");
        unSetErrorMessage("sRespPhyStreetAddr2.vulgarCheck");
        unSetErrorMessage("sRespPhyStreetAddr2.poboxCheck");
        var alphabetsRegEx = /^[a-zA-Z0-9\s.,'\-\#\$\/]+$/;
        var beginRegEx = /^[^a-zA-Z0-9\s.,'\-\#\$\/].*$/;
        var regExPOBox = /[p|P][\s]*(\.)?(\s)*[o|O][\s]*(\.)?(\s)* [b|B][\s]*[o|O][\s]*[x|X][\s]*[a-zA-Z0-9]*|\b[P|p]+(OST|ost|o|O)?\.?\s*[O|o|0]?(ffice|FFICE)?\.?\s*[B|b]?[O|o|0]?[X|x]/;
        if (sRespPhyStreetAddr2.length > 0 && beginRegEx.test(sRespPhyStreetAddr2)) {
          setErrorMessage("sRespPhyStreetAddr2.invalid");
          return
        } else unSetErrorMessage("sRespPhyStreetAddr2.invalid");
        if (sRespPhyStreetAddr2.length > 0 && !alphabetsRegEx.test(sRespPhyStreetAddr2)) {
          setErrorMessage("sRespPhyStreetAddr2.invalid");
          return
        } else unSetErrorMessage("sRespPhyStreetAddr2.invalid");
        if (sRespPhyStreetAddr2.length > 0 && regExPOBox.test(sRespPhyStreetAddr2)) {
          setErrorMessage("sRespPhyStreetAddr2.poboxCheck");
          return
        } else unSetErrorMessage("sRespPhyStreetAddr2.poboxCheck");
        if (sRespPhyStreetAddr2.length > 0)
          if (sRespPhyStreetAddr1.length == 0) setErrorMessage("sRespPhyStreetAddr1.required");
        if (sRespPhyStreetAddr2.length > 0) checkVulgarity(sRespPhyStreetAddr2, "sRespPhyStreetAddr2.vulgarCheck")
      }

      function validatesRespPhyCity(sRespPhyCity, sRespPhyStreetAddr1, sRespPhyStreetAddr2, sRespPhyApartment, sStreetAddr1) {
        /*<dependent>sRespPhyStreetAddr1,sRespPhyStreetAddr2,sRespPhyApartment, sStreetAddr1</dependent>*/
        unSetErrorMessage("sRespPhyCity.invalidCharacters");
        unSetErrorMessage("sRespPhyCity.vulgarCheck");
        unSetErrorMessage("sRespPhyCity.required");
        var alphabetsRegEx = /^[a-zA-Z0-9\s\-']+$/;
        var beginRegEx = /^[^a-zA-Z0-9].*$/;
        var regExPOBox = /[p|P][\s]*(\.)?(\s)*[o|O][\s]*(\.)?(\s)* [b|B][\s]*[o|O][\s]*[x|X][\s]*[a-zA-Z0-9]*|\b[P|p]+(OST|ost|o|O)?\.?\s*[O|o|0]?(ffice|FFICE)?\.?\s*[B|b]?[O|o|0]?[X|x]/;
        if (sRespPhyCity != null && sRespPhyCity.length > 0 && beginRegEx.test(sRespPhyCity)) {
          setErrorMessage("sRespPhyCity.invalidCharacters");
          return
        } else unSetErrorMessage("sRespPhyCity.invalidCharacters");
        if (sRespPhyCity != null && sRespPhyCity.length > 0 && !alphabetsRegEx.test(sRespPhyCity)) {
          setErrorMessage("sRespPhyCity.invalidCharacters");
          return
        } else unSetErrorMessage("sRespPhyCity.invalidCharacters");
        try {
          if (regExPOBox.test(sStreetAddr1) && (sRespPhyCity == null || sRespPhyCity.length == 0)) {
            setErrorMessage("sRespPhyCity.required");
            return
          } else unSetErrorMessage("sRespPhyCity.required");
        } catch (e) {}
        if (sRespPhyCity.length > 0) {
          if (sRespPhyStreetAddr1 == null || sRespPhyStreetAddr1.length == 0) setErrorMessage("sRespPhyStreetAddr1.required");
          checkVulgarity(sRespPhyCity, "sRespPhyCity.vulgarCheck")
        }
      }

      function validatesRespPhyState(sRespPhyState, sRespPhyStreetAddr1, sRespPhyStreetAddr2, sRespPhyApartment, sRespPhyCity, sStreetAddr1) {
        /*<dependent>sRespPhyStreetAddr1,sRespPhyStreetAddr2,sRespPhyApartment,sRespPhyCity, sStreetAddr1</dependent>*/
        unSetErrorMessage("sRespPhyState.invalid");
        unSetErrorMessage("sRespPhyState.required");
        var regExPOBox = /[p|P][\s]*(\.)?(\s)*[o|O][\s]*(\.)?(\s)* [b|B][\s]*[o|O][\s]*[x|X][\s]*[a-zA-Z0-9]*|\b[P|p]+(OST|ost|o|O)?\.?\s*[O|o|0]?(ffice|FFICE)?\.?\s*[B|b]?[O|o|0]?[X|x]/;
        try {
          if (regExPOBox.test(sStreetAddr1) && sRespPhyState == "") {
            setErrorMessage("sRespPhyState.required");
            return;
          } else unSetErrorMessage("sRespPhyState.required");
        } catch (e) {}
        if (sRespPhyState != "") {
          if (sRespPhyStreetAddr1.length == 0) setErrorMessage("sRespPhyStreetAddr1.required");
          if (sRespPhyCity.length == 0) setErrorMessage("sRespPhyCity.required");
        }
      }

      function validatesRespPhyZip(sRespPhyZip, sRespPhyStreetAddr1, sRespPhyStreetAddr2, sRespPhyApartment, sRespPhyCity, sRespPhyState, sStreetAddr1) {
        /*<dependent>sRespPhyStreetAddr1,sRespPhyStreetAddr2,sRespPhyApartment,sRespPhyCity,sRespPhyState, sStreetAddr1</dependent>*/
        unSetErrorMessage("sRespPhyZip.invalid");
        unSetErrorMessage("sRespPhyZip.required");
        var alphabetsRegEx = /^[0-9]+$/;
        var regExPOBox = /[p|P][\s]*(\.)?(\s)*[o|O][\s]*(\.)?(\s)* [b|B][\s]*[o|O][\s]*[x|X][\s]*[a-zA-Z0-9]*|\b[P|p]+(OST|ost|o|O)?\.?\s*[O|o|0]?(ffice|FFICE)?\.?\s*[B|b]?[O|o|0]?[X|x]/;
        if (alphabetsRegEx.test(sRespPhyZip) && (sRespPhyZip.length < 5 || sRespPhyZip.length > 5)) {
          setErrorMessage('sRespPhyZip.invalidSize');
          return;
        } else {
          unSetErrorMessage('sRespPhyZip.invalidSize');
        }
        if (sRespPhyZip.length > 0 && !alphabetsRegEx.test(sRespPhyZip)) {
          setErrorMessage("sRespPhyZip.invalidCharacters");
          return
        } else unSetErrorMessage("sRespPhyZip.invalidCharacters");
        try {
          if (regExPOBox.test(sStreetAddr1) && sRespPhyZip.length == 0) {
            setErrorMessage("sRespPhyZip.required");
            return
          } else unSetErrorMessage("sRespPhyZip.required");
        } catch (e) {}
        if (sRespPhyZip.length > 0) {
          if (sRespPhyStreetAddr1.length == 0) setErrorMessage("sRespPhyStreetAddr1.required");
          if (sRespPhyCity.length == 0) setErrorMessage("sRespPhyCity.required");
          if (sRespPhyState == "") setErrorMessage("sRespPhyState.required");
        }
      }

      function validatesSecondaryFirstName1(sSecondaryFirstName1, sSecondaryLastName1, sSecondaryMiddleInitial1, sAuthorizedDOB1, sAuthorizedStreetAddr11, sAuthorizedStreetAddr21, sAuthorizedApartment1, sAuthorizedCity1, sAuthorizedState11,
        sAuthorizedZip1, sAuth1AddrSameAsPrimary) {
        /*<dependent>sSecondaryLastName1,sSecondaryMiddleInitial1,sAuthorizedDOB1,sAuthorizedStreetAddr11,sAuthorizedStreetAddr21,sAuthorizedApartment1,sAuthorizedCity1,sAuthorizedState11,sAuthorizedZip1,sAuth1AddrSameAsPrimary</dependent>*/
        unSetErrorMessage('sSecondaryFirstName1.required');
        unSetErrorMessage('sSecondaryFirstName1.vulgarCheck');
        unSetErrorMessage('sSecondaryFirstName1.invalidBegin');
        unSetErrorMessage('sSecondaryFirstName1.invalidCharacters');
        var fieldLength = sSecondaryFirstName1.length;
        var sSecondaryLast1 = sSecondaryLastName1.replace(/^\s*|\s*$/g, "");
        var sSecondaryLastNameLength = sSecondaryLast1.length;
        var secondMiddleName1FieldLength = sSecondaryMiddleInitial1.length;
        var alphabetsRegEx = /^[a-zA-Z\s\-']+$/;
        var beginRegEx = /^[^a-zA-Z].*$/;
        var sAuthorizedDOB1Length = sAuthorizedDOB1.length;
        var sAuthorizedStreetAddr11Length = sAuthorizedStreetAddr11.length;
        var sAuthorizedStreetAddr21Length = sAuthorizedStreetAddr21.length;
        var sAuthorizedApartment1Length = sAuthorizedApartment1.length;
        var sAuthorizedCity1Length = sAuthorizedCity1.length;
        var sAuthorizedState11Length = sAuthorizedState11.length;
        var sAuthorizedZip1Length = sAuthorizedZip1.length;
        if (fieldLength > 0 && beginRegEx.test(sSecondaryFirstName1)) {
          setErrorMessage('sSecondaryFirstName1.invalidBegin');
          return;
        } else {
          unSetErrorMessage('sSecondaryFirstName1.invalidBegin');
        }
        if (fieldLength > 0 && !alphabetsRegEx.test(sSecondaryFirstName1)) {
          setErrorMessage('sSecondaryFirstName1.invalidCharacters');
          return;
        } else {
          unSetErrorMessage('sSecondaryFirstName1.invalidCharacters');
        }
        if ((sSecondaryLastNameLength > 0 || sAuthorizedDOB1Length > 0 || sAuthorizedStreetAddr11Length > 0 || sAuthorizedStreetAddr21Length > 0 || sAuthorizedApartment1Length > 0 || sAuthorizedCity1Length > 0 || sAuthorizedZip1Length > 0 ||
            sAuthorizedState11Length > 0 || sAuth1AddrSameAsPrimary == 'Y') && (fieldLength == 0)) {
          setErrorMessage('sSecondaryFirstName1.required');
          return;
        } else {
          unSetErrorMessage('sSecondaryFirstName1.required');
        }
        if ((sSecondaryLastNameLength == 0) && (fieldLength == 0) && (secondMiddleName1FieldLength > 0 || sAuthorizedStreetAddr11Length > 0 || sAuthorizedStreetAddr21Length > 0 || sAuthorizedApartment1Length > 0 || sAuthorizedCity1Length > 0 ||
            sAuthorizedState11Length > 0 || sAuthorizedZip1Length > 0 || sAuth1AddrSameAsPrimary == 'Y')) {
          setErrorMessage('sSecondaryFirstName1.required');
          setErrorMessage('sSecondaryLastName1.required');
          return;
        } else {
          unSetErrorMessage('sSecondaryFirstName1.required');
          unSetErrorMessage('sSecondaryLastName1.required');
        }
        if (fieldLength > 0 && sSecondaryLastNameLength == 0 && (sAuthorizedDOB1Length > 0 || sAuthorizedStreetAddr11Length > 0 || sAuthorizedStreetAddr21Length > 0 || sAuthorizedApartment1Length > 0 || sAuthorizedCity1Length > 0 ||
            sAuthorizedState11Length > 0 || sAuthorizedZip1Length > 0 || sAuth1AddrSameAsPrimary == 'Y')) {
          setErrorMessage('sSecondaryLastName1.required');
        }
        if (fieldLength == 0 && sSecondaryLastNameLength == 0 && sAuthorizedDOB1Length == 0 && sAuthorizedStreetAddr11Length == 0 && sAuthorizedStreetAddr21Length == 0 && sAuthorizedApartment1Length == 0 && sAuthorizedCity1Length == 0 &&
          sAuthorizedState11Length == 0 && sAuthorizedZip1Length == 0) {
          unSetErrorMessage('sSecondaryLastName1.required');
          removeSimplyErrors('sSecondaryLastName1');
          unSetErrorMessage('sAuthorizedDOB1.required');
          removeSimplyErrors('sAuthorizedDOB1');
          unSetErrorMessage('sAuthorizedStreetAddr11.required');
          removeSimplyErrors('sAuthorizedStreetAddr11');
          unSetErrorMessage('sAuthorizedCity1.required');
          removeSimplyErrors('sAuthorizedCity1');
          unSetErrorMessage('sAuthorizedState11.required');
          removeSimplyErrors('sAuthorizedState11');
          unSetErrorMessage('sAuthorizedZip1.required');
          removeSimplyErrors('sAuthorizedZip1');
        }
        checkVulgarity(sSecondaryFirstName1, 'sSecondaryFirstName1.vulgarCheck');
      }

      function validatesSecondaryMiddleInitial1(sSecondaryMiddleInitial1) {
        unSetErrorMessage('sSecondaryMiddleInitial1.invalidCharacters');
        unSetErrorMessage('sSecondaryMiddleInitial1.required');
        var fieldLength = sSecondaryMiddleInitial1.length;
        var alphabetsRegEx = /^[a-zA-Z]+$/;
        if (fieldLength > 0 && !alphabetsRegEx.test(sSecondaryMiddleInitial1)) {
          setErrorMessage('sSecondaryMiddleInitial1.invalidCharacters');
          return;
        } else {
          unSetErrorMessage('sSecondaryMiddleInitial1.invalidCharacters');
        }
      }

      function validatesSecondaryLastName1(sSecondaryLastName1, sFirstName, sLastName, sSecondaryFirstName1, sSecondaryMiddleInitial1, sAuthorizedDOB1, sAuthorizedStreetAddr11, sAuthorizedStreetAddr21, sAuthorizedApartment1, sAuthorizedCity1,
        sAuthorizedState11, sAuthorizedZip1, sAuth1AddrSameAsPrimary) {
        /*<dependent>sFirstName,sLastName,sSecondaryFirstName1,sSecondaryMiddleInitial1,sAuthorizedDOB1,sAuthorizedStreetAddr11,sAuthorizedStreetAddr21,sAuthorizedApartment1,sAuthorizedCity1,sAuthorizedState11,sAuthorizedZip1,sAuth1AddrSameAsPrimary</dependent>*/
        unSetErrorMessage('sSecondaryLastName1.invalidLength');
        unSetErrorMessage('sSecondaryLastName1.required');
        unSetErrorMessage('sSecondaryMiddleInitial1.required');
        unSetErrorMessage('sSecondaryLastName1.vulgarCheck');
        unSetErrorMessage('sSecondaryLastName1.invalidBegin');
        unSetErrorMessage('sSecondaryLastName1.invalidCharacters');
        unSetErrorMessage('sSecondaryLastName1.notassLastName');
        unSetErrorMessage('sSecondaryFirstName1.notassFirstName');
        var sFirst = sFirstName.replace(/^\s*|\s*$/g, "");
        var sLast = sLastName.replace(/^\s*|\s*$/g, "");
        var sSecondaryFirst1 = sSecondaryFirstName1.replace(/^\s*|\s*$/g, "");
        var sSecondaryLast1 = sSecondaryLastName1.replace(/^\s*|\s*$/g, "");
        var fieldLength = sSecondaryLast1.length;
        var secondFirstName1FieldLength = sSecondaryFirst1.length;
        var secondMiddleName1FieldLength = sSecondaryMiddleInitial1.length;
        var alphabetsRegEx = /^[a-zA-Z\s\-']+$/;
        var beginRegEx = /^[^a-zA-Z].*$/;
        var sAuthorizedDOB1Length = sAuthorizedDOB1.length;
        var sAuthorizedStreetAddr11Length = sAuthorizedStreetAddr11.length;
        var sAuthorizedStreetAddr21Length = sAuthorizedStreetAddr21.length;
        var sAuthorizedApartment1Length = sAuthorizedApartment1.length;
        var sAuthorizedCity1Length = sAuthorizedCity1.length;
        var sAuthorizedState11Length = sAuthorizedState11.length;
        var sAuthorizedZip1Length = sAuthorizedZip1.length;
        if ((fieldLength > 0) && (beginRegEx.test(sSecondaryLast1))) {
          setErrorMessage('sSecondaryLastName1.invalidBegin');
          return;
        } else {
          unSetErrorMessage('sSecondaryLastName1.invalidBegin');
        }
        if ((fieldLength > 0) && !alphabetsRegEx.test(sSecondaryLast1)) {
          setErrorMessage('sSecondaryLastName1.invalidCharacters');
          return;
        } else {
          unSetErrorMessage('sSecondaryLastName1.invalidCharacters');
        }
        if ((secondFirstName1FieldLength == 0) && (fieldLength == 0) && (secondMiddleName1FieldLength > 0 || sAuthorizedDOB1Length > 0 || sAuthorizedStreetAddr11Length > 0 || sAuthorizedStreetAddr21Length > 0 || sAuthorizedApartment1Length > 0 ||
            sAuthorizedCity1Length > 0 || sAuthorizedState11Length > 0 || sAuthorizedZip1Length > 0 || sAuth1AddrSameAsPrimary == 'Y')) {
          setErrorMessage('sSecondaryFirstName1.required');
          setErrorMessage('sSecondaryLastName1.required');
          return;
        } else {
          unSetErrorMessage('sSecondaryFirstName1.required');
          unSetErrorMessage('sSecondaryLastName1.required');
        }
        if ((fieldLength > 0 || sAuth1AddrSameAsPrimary == 'Y') && secondFirstName1FieldLength == 0) {
          setErrorMessage('sSecondaryFirstName1.required');
          return;
        } else {
          unSetErrorMessage('sSecondaryFirstName1.required');
        }
        if ((secondFirstName1FieldLength > 0 || sAuth1AddrSameAsPrimary == 'Y') && (fieldLength == 0)) {
          setErrorMessage('sSecondaryLastName1.required');
          return;
        } else {
          unSetErrorMessage('sSecondaryLastName1.required');
        }
        if ((fieldLength > 0) && (sSecondaryFirst1.toUpperCase() == sFirst.toUpperCase()) && (sSecondaryLast1.toUpperCase() == sLast.toUpperCase())) {
          setErrorMessage('sSecondaryFirstName1.notassFirstName');
          setErrorMessage('sSecondaryLastName1.notassLastName');
          return;
        } else {
          unSetErrorMessage('sSecondaryFirstName1.notassFirstName');
          unSetErrorMessage('sSecondaryLastName1.notassLastName');
        }
        if ((fieldLength > 0) && (fieldLength < 2)) {
          setErrorMessage('sSecondaryLastName1.invalidLength');
          return;
        } else {
          unSetErrorMessage('sSecondaryLastName1.invalidLength');
        }
        if (fieldLength == 0 && secondFirstName1FieldLength == 0 && sAuthorizedDOB1Length == 0 && sAuthorizedStreetAddr11Length == 0 && sAuthorizedStreetAddr21Length == 0 && sAuthorizedApartment1Length == 0 && sAuthorizedCity1Length == 0 &&
          sAuthorizedState11Length == 0 && sAuthorizedZip1Length == 0) {
          unSetErrorMessage('sSecondaryFirstName1.required');
          removeSimplyErrors('sSecondaryFirstName1');
          unSetErrorMessage('sAuthorizedDOB1.required');
          removeSimplyErrors('sAuthorizedDOB1');
          unSetErrorMessage('sAuthorizedStreetAddr11.required');
          removeSimplyErrors('sAuthorizedStreetAddr11');
          unSetErrorMessage('sAuthorizedCity1.required');
          removeSimplyErrors('sAuthorizedCity1');
          unSetErrorMessage('sAuthorizedState11.required');
          removeSimplyErrors('sAuthorizedState11');
          unSetErrorMessage('sAuthorizedZip1.required');
          removeSimplyErrors('sAuthorizedZip1');
        }
        checkVulgarity(sSecondaryLastName1, 'sSecondaryLastName1.vulgarCheck');
      }

      function validatesAuthorizedDOB1(sAuthorizedDOB1, sSecondaryFirstName1, sSecondaryLastName1, sAuthorizedStreetAddr11, sAuthorizedStreetAddr21, sAuthorizedApartment1, sAuthorizedCity1, sAuthorizedState11, sAuthorizedZip1,
        sAuth1AddrSameAsPrimary) {
        /*<dependent>sSecondaryFirstName1,sSecondaryLastName1,sAuthorizedStreetAddr11,sAuthorizedStreetAddr21,sAuthorizedApartment1,sAuthorizedCity1,sAuthorizedState11,sAuthorizedZip1,sAuth1AddrSameAsPrimary</dependent>*/
        if (sAuthorizedDOB1.length == 2 && (sAuthorizedDOB1.substring(0, 1) == '/' && sAuthorizedDOB1.substring(1, 2) == '/')) {
          sAuthorizedDOB1 = '';
        }
        unSetErrorMessage('sAuthorizedDOB1.invalid');
        unSetErrorMessage('sAuthorizedDOB1.required');
        unSetErrorMessage('sAuthorizedDOB1.underAge');
        var fieldLength = sAuthorizedDOB1.length;
        var sSecondaryFirst1 = sSecondaryFirstName1.replace(/^\s*|\s*$/g, "");
        var sSecondaryLast1 = sSecondaryLastName1.replace(/^\s*|\s*$/g, "");
        var sSecondaryFirstName1Length = sSecondaryFirst1.length;
        var sSecondaryLastName1Length = sSecondaryLast1.length;
        var sAuthorizedStreetAddr11Length = sAuthorizedStreetAddr11.length;
        var sAuthorizedState11Length = sAuthorizedState11.length;
        var sAuthorizedZip1Length = sAuthorizedZip1.length;
        var sAuthorizedStreetAddr21Length = sAuthorizedStreetAddr21.length;
        var sAuthorizedApartment1Length = sAuthorizedApartment1.length;
        var sAuthorizedCity1Length = sAuthorizedCity1.length;
        var invalidInput = /\\/;
        if (fieldLength == 0 && ((sSecondaryFirstName1Length > 0 || sSecondaryLastName1Length > 0 || sAuthorizedStreetAddr11Length > 0 || sAuthorizedStreetAddr21Length > 0 || sAuthorizedApartment1Length > 0 || sAuthorizedCity1Length > 0 ||
            sAuthorizedState11Length > 0 || sAuthorizedZip1Length > 0) || sAuth1AddrSameAsPrimary == 'Y')) {
          if (sSecondaryFirstName1Length == 0) {
            setErrorMessage('sSecondaryFirstName1.required');
          } else {
            unSetErrorMessage('sSecondaryFirstName1.required');
          }
          if (sSecondaryLastName1Length == 0) {
            setErrorMessage('sSecondaryLastName1.required');
          } else {
            unSetErrorMessage('sSecondaryLastName1.required');
          }
          setErrorMessage('sAuthorizedDOB1.required');
          return;
        } else {
          unSetErrorMessage('sAuthorizedDOB1.required');
        }
        if (fieldLength > 0 && (fieldLength < 10 || fieldLength > 10)) {
          setErrorMessage('sAuthorizedDOB1.invalid');
          return;
        } else {
          unSetErrorMessage('sAuthorizedDOB1.invalid');
        }
        if (invalidInput.test(sAuthorizedDOB1)) {
          setErrorMessage('sAuthorizedDOB1.invalid');
          return;
        } else {
          unSetErrorMessage('sAuthorizedDOB1.invalid');
        }
        var strDate1 = new Date();
        var strDate2 = sAuthorizedDOB1;
        var datDate2 = new Date(strDate2);
        var yearsPassed = 0;
        if (datDate2.getFullYear() > strDate1.getFullYear()) {
          setErrorMessage('sAuthorizedDOB1.invalid');
          return;
        } else {
          unSetErrorMessage('sAuthorizedDOB1.invalid');
        }
        while (datDate2.getFullYear() < strDate1.getFullYear()) {
          datDate2.setYear(datDate2.getFullYear() + 1);
          yearsPassed++;
        }
        if (fieldLength > 0 && !validateDate(sAuthorizedDOB1)) {
          setErrorMessage('sAuthorizedDOB1.invalid');
          return;
        } else {
          unSetErrorMessage('sAuthorizedDOB1.invalid');
        }
        if (fieldLength > 0 && yearsPassed < 0) {
          setErrorMessage('sAuthorizedDOB1.underAge');
          return;
        } else {
          unSetErrorMessage('sAuthorizedDOB1.underAge');
        }
        if (fieldLength > 0 && yearsPassed == 0) {
          if (strDate1.getMonth() < datDate2.getMonth()) {
            setErrorMessage('sAuthorizedDOB1.underAge');
            return;
          }
          if (strDate1.getMonth() == datDate2.getMonth()) {
            if (strDate1.getDate() <= datDate2.getDate()) {
              setErrorMessage('sAuthorizedDOB1.underAge');
              return;
            } else {
              unSetErrorMessage('sAuthorizedDOB1.underAge');
            }
          }
          if (strDate1.getMonth() > datDate2.getMonth()) {
            unSetErrorMessage('sAuthorizedDOB1.underAge');
          }
        }
        if (fieldLength > 0 && yearsPassed > 125) {
          setErrorMessage('sAuthorizedDOB1.invalid');
          return;
        } else {
          unSetErrorMessage('sAuthorizedDOB1.invalid');
        }
        if (fieldLength > 0 && yearsPassed == 125) {
          if (strDate1.getMonth() < datDate2.getMonth()) {
            unSetErrorMessage('sAuthorizedDOB1.invalid');
          }
          if (strDate1.getMonth() == datDate2.getMonth()) {
            if (strDate1.getDate() >= datDate2.getDate()) {
              setErrorMessage('sAuthorizedDOB1.invalid');
              return;
            } else {
              unSetErrorMessage('sAuthorizedDOB1.invalid');
            }
          }
          if (strDate1.getMonth() > datDate2.getMonth()) {
            setErrorMessage('sAuthorizedDOB1.invalid');
            return;
          }
        }
        if ((fieldLength > 0 || sAuthorizedState11Length > 0 || sAuthorizedZip1Length > 0 || sAuthorizedStreetAddr11Length > 0 || sAuthorizedStreetAddr21Length > 0 || sAuthorizedApartment1Length > 0 || sAuth1AddrSameAsPrimary == 'Y') &&
          sSecondaryFirstName1Length == 0) {
          setErrorMessage('sSecondaryFirstName1.required');
          if ((fieldLength > 0 || sAuthorizedState11Length > 0 || sAuthorizedZip1Length > 0 || sAuthorizedStreetAddr11Length > 0 || sAuthorizedStreetAddr21Length > 0 || sAuthorizedApartment1Length > 0 || sAuth1AddrSameAsPrimary == 'Y') &&
            sSecondaryLastName1Length == 0) {
            setErrorMessage('sSecondaryLastName1.required');
          }
          return;
        }
        if ((fieldLength > 0 || sAuthorizedState11Length > 0 || sAuthorizedZip1Length > 0 || sAuthorizedStreetAddr11Length > 0 || sAuthorizedStreetAddr21Length > 0 || sAuthorizedApartment1Length > 0 || sAuth1AddrSameAsPrimary == 'Y') &&
          sSecondaryLastName1Length == 0) {
          setErrorMessage('sSecondaryLastName1.required');
          return;
        }
        if (fieldLength == 0) {
          if (sSecondaryFirstName1Length == 0 && sSecondaryLastName1Length == 0) {
            unSetErrorMessage('sSecondaryFirstName1.required');
            removeSimplyErrors('sSecondaryFirstName1');
            unSetErrorMessage('sSecondaryLastName1.required');
            removeSimplyErrors('sSecondaryLastName1');
          }
        }
        if (fieldLength == 0 && sSecondaryFirstName1Length == 0 && sSecondaryLastName1Length == 0 && sAuthorizedCity1Length == 0 && sAuthorizedStreetAddr11Length == 0 && sAuthorizedStreetAddr21Length == 0 && sAuthorizedApartment1Length == 0 &&
          sAuthorizedState11Length == 0 && sAuthorizedZip1Length == 0) {
          unSetErrorMessage('sSecondaryFirstName1.required');
          removeSimplyErrors('sSecondaryFirstName1');
          unSetErrorMessage('sSecondaryLastName1.required');
          removeSimplyErrors('sSecondaryLastName1');
          unSetErrorMessage('sAuthorizedDOB1.required');
          removeSimplyErrors('sAuthorizedDOB1');
          unSetErrorMessage('sAuthorizedStreetAddr11.required');
          removeSimplyErrors('sAuthorizedStreetAddr11');
          unSetErrorMessage('sAuthorizedCity1.required');
          removeSimplyErrors('sAuthorizedCity1');
          unSetErrorMessage('sAuthorizedState11.required');
          removeSimplyErrors('sAuthorizedState11');
          unSetErrorMessage('sAuthorizedZip1.required');
          removeSimplyErrors('sAuthorizedZip1');
        }

        function validateDate(strValue) {
          var objRegExp = /^\d{1,2}(\/)\d{1,2}\1\d{4}$/;
          var objRegExpYear = /^00[0-9][0-9]/;
          if (!objRegExp.test(strValue)) return false;
          else {
            var strSeparator = strValue.substring(2, 3);
            var arrayDate = strValue.split(strSeparator);
            var year = arrayDate[2];
            if (objRegExpYear.test(year)) return false;
            var arrayLookup = {
              '01': 31,
              '03': 31,
              '04': 30,
              '05': 31,
              '06': 30,
              '07': 31,
              '08': 31,
              '09': 30,
              '10': 31,
              '11': 30,
              '12': 31
            };
            var intDay = parseInt(arrayDate[1], 10);
            if (arrayLookup[arrayDate[0]] != null) {
              if (intDay <= arrayLookup[arrayDate[0]] && intDay != 0) return true;
            }
            var intMonth = parseInt(arrayDate[0], 10);
            var intYear = parseInt(arrayDate[2]);
            if (intYear == 0) {
              return false;
            }
            if (intMonth == 2) {
              if (intDay > 0 && intDay < 29) {
                return true;
              } else if (intDay == 29) {
                if ((intYear % 4 == 0) && (intYear % 100 != 0) || (intYear % 400 == 0)) {
                  return true;
                }
              }
            }
          }
          return false;
        }
      }

      function validatesAuthorizedStreetAddr11(sAuthorizedStreetAddr11, sSecondaryFirstName1, sSecondaryLastName1, sAuthorizedDOB1, sAuthorizedStreetAddr21, sAuthorizedApartment1, sAuthorizedCity1, sAuthorizedState11, sAuthorizedZip1) {
        /*<dependent>sSecondaryFirstName1,sSecondaryLastName1,sAuthorizedDOB1,sAuthorizedStreetAddr21,sAuthorizedApartment1,sAuthorizedCity1,sAuthorizedState11,sAuthorizedZip1</dependent>*/
        unSetErrorMessage('sAuthorizedStreetAddr11.vulgarCheck');
        unSetErrorMessage('sAuthorizedStreetAddr11.required');
        unSetErrorMessage('sAuthorizedStreetAddr11.invalidCharacters');
        var fieldLength = sAuthorizedStreetAddr11.replace(/^\s\s*/, '').replace(/\s\s*$/, '').length;
        var sSecondaryFirst1 = sSecondaryFirstName1.replace(/^\s*|\s*$/g, "");
        var sSecondaryLast1 = sSecondaryLastName1.replace(/^\s*|\s*$/g, "");
        var sSecondaryFirstName1Length = sSecondaryFirst1.length;
        var sSecondaryLastName1Length = sSecondaryLast1.length;
        var sAuthorizedState11Length = sAuthorizedState11.length;
        var sAuthorizedZip1Length = sAuthorizedZip1.length;
        var sAuthorizedDOB1Length = sAuthorizedDOB1.length;
        var sAuthorizedStreetAddr21Length = sAuthorizedStreetAddr21.length;
        var sAuthorizedApartment1Length = sAuthorizedApartment1.length;
        var sAuthorizedCity1Length = sAuthorizedCity1.length;
        var alphabetsRegEx = /^[a-zA-Z0-9\s'\.\-\#\$\/]+$/;
        var beginRegEx = /^[^a-zA-Z0-9\s'\.\-\#\$\/].*$/;
        if (fieldLength == 0 && (sSecondaryFirstName1Length > 0 || sSecondaryLastName1Length > 0 || sAuthorizedDOB1Length > 0 || sAuthorizedStreetAddr21Length > 0 || sAuthorizedApartment1Length > 0 || sAuthorizedCity1Length > 0 ||
            sAuthorizedState11Length > 0 || sAuthorizedZip1Length > 0)) {
          setErrorMessage('sAuthorizedStreetAddr11.required');
          return;
        } else {
          unSetErrorMessage('sAuthorizedStreetAddr11.required');
        }
        if (fieldLength > 40) {
          setErrorMessage('sAuthorizedStreetAddr11.maxlength');
          return;
        } else {
          unSetErrorMessage('sAuthorizedStreetAddr11.maxlength');
        }
        if (fieldLength > 0 && beginRegEx.test(sAuthorizedStreetAddr11)) {
          setErrorMessage('sAuthorizedStreetAddr11.invalidCharacters');
          return;
        } else {
          unSetErrorMessage('sAuthorizedStreetAddr11.invalidCharacters');
        }
        if (fieldLength > 0 && !alphabetsRegEx.test(sAuthorizedStreetAddr11)) {
          setErrorMessage('sAuthorizedStreetAddr11.invalidCharacters');
          return;
        } else {
          unSetErrorMessage('sAuthorizedStreetAddr11.invalidCharacters');
        }
        if ((fieldLength > 0 || sAuthorizedState11Length > 0 || sAuthorizedZip1Length > 0 || sAuthorizedStreetAddr21Length > 0 || sAuthorizedApartment1Length > 0) && sSecondaryFirstName1Length == 0) {
          setErrorMessage('sSecondaryFirstName1.required');
          if ((fieldLength > 0 || sAuthorizedState11Length > 0 || sAuthorizedZip1Length > 0 || sAuthorizedStreetAddr21Length > 0 || sAuthorizedApartment1Length > 0) && sSecondaryLastName1Length == 0) {
            setErrorMessage('sSecondaryLastName1.required');
            if ((fieldLength > 0 || sAuthorizedState11Length > 0 || sAuthorizedZip1Length > 0 || sAuthorizedStreetAddr21Length > 0 || sAuthorizedApartment1Length > 0) && sAuthorizedDOB1Length == 0) {
              setErrorMessage('sAuthorizedDOB1.required');
            }
          }
          return;
        }
        if ((fieldLength > 0 || sAuthorizedState11Length > 0 || sAuthorizedZip1Length || sAuthorizedStreetAddr21Length > 0 || sAuthorizedApartment1Length > 0) && sSecondaryLastName1Length == 0) {
          setErrorMessage('sSecondaryLastName1.required');
          if ((fieldLength > 0 || sAuthorizedState11Length > 0 || sAuthorizedZip1Length > 0 || sAuthorizedStreetAddr21Length > 0 || sAuthorizedApartment1Length > 0) && sAuthorizedDOB1Length == 0) {
            setErrorMessage('sAuthorizedDOB1.required');
          }
          return;
        }
        if ((fieldLength > 0 || sAuthorizedState11Length > 0 || sAuthorizedZip1Length > 0 || sAuthorizedStreetAddr21Length > 0 || sAuthorizedApartment1Length > 0) && sAuthorizedDOB1Length == 0) {
          setErrorMessage('sAuthorizedDOB1.required');
          return;
        }
        if (fieldLength == 0) {
          if (sSecondaryFirstName1Length == 0 && sSecondaryLastName1Length == 0) {
            unSetErrorMessage('sSecondaryFirstName1.required');
            removeSimplyErrors('sSecondaryFirstName1');
            unSetErrorMessage('sSecondaryLastName1.required');
            removeSimplyErrors('sSecondaryLastName1');
          }
        }
        if (fieldLength == 0 && sSecondaryFirstName1Length == 0 && sSecondaryLastName1Length == 0 && sAuthorizedCity1Length == 0 && sAuthorizedDOB1Length == 0 && sAuthorizedStreetAddr21Length == 0 && sAuthorizedApartment1Length == 0 &&
          sAuthorizedState11Length == 0 && sAuthorizedZip1Length == 0) {
          unSetErrorMessage('sSecondaryFirstName1.required');
          removeSimplyErrors('sSecondaryFirstName1');
          unSetErrorMessage('sSecondaryLastName1.required');
          removeSimplyErrors('sSecondaryLastName1');
          unSetErrorMessage('sAuthorizedDOB1.required');
          removeSimplyErrors('sAuthorizedDOB1');
          unSetErrorMessage('sAuthorizedStreetAddr11.required');
          removeSimplyErrors('sAuthorizedStreetAddr11');
          unSetErrorMessage('sAuthorizedCity1.required');
          removeSimplyErrors('sAuthorizedCity1');
          unSetErrorMessage('sAuthorizedState11.required');
          removeSimplyErrors('sAuthorizedState11');
          unSetErrorMessage('sAuthorizedZip1.required');
          removeSimplyErrors('sAuthorizedZip1');
        }
        checkVulgarity(sAuthorizedStreetAddr11, 'sAuthorizedStreetAddr11.vulgarCheck');
      }

      function validatesAuthorizedStreetAddr11Simply(sAuthorizedStreetAddr11) {
        unSetErrorMessage('sAuthorizedStreetAddr11.primeErr');
        var fieldLength = sAuthorizedStreetAddr11.replace(/^\s\s*/, '').replace(/\s\s*$/, '').length;
        var alphabetsRegEx = /^[a-zA-Z0-9\s'\.\-\#\$\/]+$/;
        var beginRegEx = /^[^a-zA-Z0-9\s'\.\-\#\$\/].*$/;
        if (fieldLength < 2 || beginRegEx.test(sAuthorizedStreetAddr11) || !alphabetsRegEx.test(sAuthorizedStreetAddr11)) {
          setErrorMessage('sAuthorizedStreetAddr11.primeErr');
          return;
        } else {
          unSetErrorMessage('sAuthorizedStreetAddr11.primeErr');
        }
      }

      function validatesAuthorizedStreetAddr21(sAuthorizedStreetAddr21, sSecondaryFirstName1, sSecondaryLastName1, sAuthorizedDOB1, sAuthorizedStreetAddr11, sAuthorizedApartment1, sAuthorizedCity1, sAuthorizedState11, sAuthorizedZip1) {
        /*<dependent>sSecondaryFirstName1,sSecondaryLastName1,sAuthorizedDOB1,sAuthorizedStreetAddr11,sAuthorizedApartment1,sAuthorizedCity1,sAuthorizedState11,sAuthorizedZip1</dependent> */
        unSetErrorMessage('sAuthorizedStreetAddr21.vulgarCheck');
        unSetErrorMessage('sAuthorizedStreetAddr21.invalid');
        var fieldLength = sAuthorizedStreetAddr21.length;
        var alphabetsRegEx = /^[a-zA-Z0-9\s.,'\-\#\$\/]+$/;
        var beginRegEx = /^[^a-zA-Z0-9\s.,'\-\#\$\/].*$/;
        var sSecondaryFirst1 = sSecondaryFirstName1.replace(/^\s*|\s*$/g, "");
        var sSecondaryFirstName1Length = sSecondaryFirst1.length;
        var sSecondaryLastName1 = sSecondaryLastName1.replace(/^\s*|\s*$/g, "");
        var sSecondaryLastName1Length = sSecondaryLastName1.length;
        var sAuthorizedDOB1Length = sAuthorizedDOB1.length;
        var sAuthorizedStreetAddr11Length = sAuthorizedStreetAddr11.length;
        var sAuthorizedApartment1Length = sAuthorizedApartment1.length;
        var sAuthorizedCity1Length = sAuthorizedCity1.length;
        var sAuthorizedState11Length = sAuthorizedState11.length;
        var sAuthorizedZip1Length = sAuthorizedZip1.length;
        if ((fieldLength > 0) && (beginRegEx.test(sAuthorizedStreetAddr21))) {
          setErrorMessage('sAuthorizedStreetAddr21.invalid');
          return;
        } else {
          unSetErrorMessage('sAuthorizedStreetAddr21.invalid');
        }
        if (fieldLength > 40) {
          setErrorMessage('sAuthorizedStreetAddr21.maxlength');
          return;
        } else {
          unSetErrorMessage('sAuthorizedStreetAddr21.maxlength');
        }
        if ((fieldLength > 0) && (!alphabetsRegEx.test(sAuthorizedStreetAddr21))) {
          setErrorMessage('sAuthorizedStreetAddr21.invalid');
          return;
        } else {
          unSetErrorMessage('sAuthorizedStreetAddr21.invalid');
        }
        if ((fieldLength > 0) && sSecondaryFirstName1Length == 0) {
          setErrorMessage('sSecondaryFirstName1.required');
          if ((fieldLength > 0) && sSecondaryLastName1Length == 0) {
            setErrorMessage('sSecondaryLastName1.required');
          }
          if ((fieldLength > 0) && sAuthorizedDOB1Length == 0) {
            setErrorMessage('sAuthorizedDOB1.required');
          }
          if ((fieldLength > 0) && sAuthorizedStreetAddr11Length == 0) {
            setErrorMessage('sAuthorizedStreetAddr11.required');
          }
          return;
        }
        if (fieldLength == 0 && sSecondaryFirstName1Length == 0 && sSecondaryLastName1Length == 0 && sAuthorizedDOB1Length == 0 && sAuthorizedStreetAddr11Length == 0 && sAuthorizedApartment1Length == 0 && sAuthorizedCity1Length == 0 &&
          sAuthorizedState11Length == 0 && sAuthorizedZip1Length == 0) {
          unSetErrorMessage('sSecondaryLastName1.required');
          removeSimplyErrors('sSecondaryLastName1');
          unSetErrorMessage('sSecondaryFirstName1.required');
          removeSimplyErrors('sSecondaryFirstName1');
          unSetErrorMessage('sAuthorizedDOB1.required');
          removeSimplyErrors('sAuthorizedDOB1');
          unSetErrorMessage('sAuthorizedStreetAddr11.required');
          removeSimplyErrors('sAuthorizedStreetAddr11');
          unSetErrorMessage('sAuthorizedCity1.required');
          removeSimplyErrors('sAuthorizedCity1');
          unSetErrorMessage('sAuthorizedState11.required');
          removeSimplyErrors('sAuthorizedState11');
          unSetErrorMessage('sAuthorizedZip1.required');
          removeSimplyErrors('sAuthorizedZip1');
        }
        checkVulgarity(sAuthorizedStreetAddr21, 'sAuthorizedStreetAddr21.vulgarCheck');
      }

      function validatesAuthorizedCity1(sAuthorizedCity1, sSecondaryFirstName1, sSecondaryLastName1, sAuthorizedDOB1, sAuthorizedStreetAddr11, sAuthorizedStreetAddr21, sAuthorizedApartment1, sAuthorizedState11, sAuthorizedZip1, isNonRespPage) {
        /*<dependent>sSecondaryFirstName1,sSecondaryLastName1,sAuthorizedDOB1,sAuthorizedStreetAddr11,sAuthorizedStreetAddr21,sAuthorizedApartment1,sAuthorizedState11,sAuthorizedZip1,isNonRespPage</dependent>*/
        unSetErrorMessage('sAuthorizedCity1.invalidCharacters');
        var fieldLength = sAuthorizedCity1.length;
        var sSecondaryFirst1 = sSecondaryFirstName1.replace(/^\s*|\s*$/g, "");
        var sSecondaryFirstName1Length = sSecondaryFirst1.length;
        var sSecondaryLastName1 = sSecondaryLastName1.replace(/^\s*|\s*$/g, "");
        var sSecondaryLastName1Length = sSecondaryLastName1.length;
        var sAuthorizedDOB1Length = sAuthorizedDOB1.length;
        var sAuthorizedStreetAddr11Length = sAuthorizedStreetAddr11.length;
        var sAuthorizedStreetAddr21Length = sAuthorizedStreetAddr21.length;
        var sAuthorizedApartment1Length = sAuthorizedApartment1.length;
        var sAuthorizedState11Length = sAuthorizedState11.length;
        var sAuthorizedZip1Length = sAuthorizedZip1.length;
        var isZipCodeBeforeState = 'false';
        if (isNonRespPage == 'true') {
          isZipCodeBeforeState = 'true';
        }
        var alphabetsRegEx = /^[a-zA-Z0-9\s\-']+$/;
        var beginRegEx = /^[^a-zA-Z0-9].*$/;
        if (fieldLength == 0 && (sSecondaryFirstName1Length > 0 || sSecondaryLastName1Length > 0 || sAuthorizedDOB1Length > 0 || sAuthorizedStreetAddr11Length > 0 || sAuthorizedStreetAddr21Length > 0 || sAuthorizedApartment1Length > 0 ||
            sAuthorizedState11Length > 0 || sAuthorizedZip1Length > 0)) {
          setErrorMessage('sAuthorizedCity1.required');
          return;
        } else {
          unSetErrorMessage('sAuthorizedCity1.required');
        }
        if (fieldLength > 32) {
          setErrorMessage('sAuthorizedCity1.maxlength');
          return;
        } else {
          unSetErrorMessage('sAuthorizedCity1.maxlength');
        }
        if (fieldLength > 0 && beginRegEx.test(sAuthorizedCity1)) {
          setErrorMessage('sAuthorizedCity1.invalidCharacters');
          return;
        } else {
          unSetErrorMessage('sAuthorizedCity1.invalidCharacters');
        }
        if (fieldLength > 0 && !alphabetsRegEx.test(sAuthorizedCity1)) {
          setErrorMessage('sAuthorizedCity1.invalidCharacters');
          return;
        } else {
          unSetErrorMessage('sAuthorizedCity1.invalidCharacters');
        }
        if (fieldLength > 0 && sSecondaryFirstName1Length == 0) {
          setErrorMessage('sSecondaryFirstName1.required');
          if (fieldLength > 0 && sSecondaryLastName1Length == 0) {
            setErrorMessage('sSecondaryLastName1.required');
          }
          if (fieldLength > 0 && sAuthorizedDOB1Length == 0) {
            setErrorMessage('sAuthorizedDOB1.required');
          }
          if (fieldLength > 0 && sAuthorizedStreetAddr11Length == 0) {
            setErrorMessage('sAuthorizedStreetAddr11.required');
          }
          if (isZipCodeBeforeState == "true" && fieldLength > 0 && sAuthorizedZip1Length == 0) {
            setErrorMessage('sAuthorizedZip1.required');
          }
          return;
        }
        if (fieldLength > 0 && sSecondaryLastName1Length == 0) {
          setErrorMessage('sSecondaryLastName1.required');
          if (fieldLength > 0 && sAuthorizedDOB1Length == 0) {
            setErrorMessage('sAuthorizedDOB1.required');
          }
          if (fieldLength > 0 && sAuthorizedStreetAddr11Length == 0) {
            setErrorMessage('sAuthorizedStreetAddr11.required');
          }
          if (isZipCodeBeforeState == "true" && fieldLength > 0 && sAuthorizedZip1Length == 0) {
            setErrorMessage('sAuthorizedZip1.required');
          }
          return;
        }
        if (fieldLength > 0 && sAuthorizedDOB1Length == 0) {
          setErrorMessage('sAuthorizedDOB1.required');
          if (fieldLength > 0 && sAuthorizedStreetAddr11Length == 0) {
            setErrorMessage('sAuthorizedStreetAddr11.required');
          }
          if (isZipCodeBeforeState == "true" && fieldLength > 0 && sAuthorizedZip1Length == 0) {
            setErrorMessage('sAuthorizedZip1.required');
          }
          return;
        }
        if (fieldLength > 0 && sAuthorizedStreetAddr11Length == 0) {
          setErrorMessage('sAuthorizedStreetAddr11.required');
          if (isZipCodeBeforeState == "true" && fieldLength > 0 && sAuthorizedZip1Length == 0) {
            setErrorMessage('sAuthorizedZip1.required');
          }
          return;
        }
        if (isZipCodeBeforeState == "true" && fieldLength > 0 && sAuthorizedZip1Length == 0) {
          setErrorMessage('sAuthorizedZip1.required');
          return;
        }
        if ((sSecondaryFirstName1Length > 0 || sSecondaryLastName1Length > 0) && sAuthorizedStreetAddr11Length == 0) {
          setErrorMessage('sAuthorizedStreetAddr11.required');
          return;
        }
        if (fieldLength == 0 && sSecondaryFirstName1Length == 0 && sSecondaryLastName1Length == 0 && sAuthorizedDOB1Length == 0 && sAuthorizedStreetAddr11Length == 0 && sAuthorizedStreetAddr21Length == 0 && sAuthorizedApartment1Length == 0 &&
          sAuthorizedZip1Length == 0 && sAuthorizedState11Length == 0) {
          unSetErrorMessage('sSecondaryLastName1.required');
          removeSimplyErrors('sSecondaryLastName1');
          unSetErrorMessage('sSecondaryFirstName1.required');
          removeSimplyErrors('sSecondaryFirstName1');
          unSetErrorMessage('sAuthorizedDOB1.required');
          removeSimplyErrors('sAuthorizedDOB1');
          unSetErrorMessage('sAuthorizedStreetAddr11.required');
          removeSimplyErrors('sAuthorizedStreetAddr11');
          unSetErrorMessage('sAuthorizedCity1.required');
          removeSimplyErrors('sAuthorizedCity1');
          unSetErrorMessage('sAuthorizedState11.required');
          removeSimplyErrors('sAuthorizedState11');
          unSetErrorMessage('sAuthorizedZip1.required');
          removeSimplyErrors('sAuthorizedZip1');
        }
        checkVulgarity(sAuthorizedCity1, 'sAuthorizedCity1.vulgarCheck');
      }

      function validatesAuthorizedState11(sAuthorizedState11, sSecondaryFirstName1, sSecondaryLastName1, sAuthorizedDOB1, sAuthorizedStreetAddr11, sAuthorizedStreetAddr21, sAuthorizedApartment1, sAuthorizedCity1, sAuthorizedZip1, prefillState11,
        isNonRespPage) {
        /*<dependent>sSecondaryFirstName1,sSecondaryLastName1,sAuthorizedDOB1,sAuthorizedStreetAddr11,sAuthorizedStreetAddr21,sAuthorizedApartment1,sAuthorizedCity1,sAuthorizedZip1,prefillState11,isNonRespPage</dependent>*/
        unSetErrorMessage('sAuthorizedState11.required');
        unSetErrorMessage('sAuthorizedState11.invalidCharacters');
        var fieldLength = sAuthorizedState11.length;
        var alphabetsRegEx = /^[a-zA-Z]+$/;
        var sSecondaryFirst1 = sSecondaryFirstName1.replace(/^\s*|\s*$/g, "");
        var sSecondaryFirstName1Length = sSecondaryFirst1.length;
        var sSecondaryLastName1 = sSecondaryLastName1.replace(/^\s*|\s*$/g, "");
        var sSecondaryLastName1Length = sSecondaryLastName1.length;
        var sAuthorizedDOB1Length = sAuthorizedDOB1.length;
        var sAuthorizedStreetAddr11Length = sAuthorizedStreetAddr11.length;
        var sAuthorizedStreetAddr21Length = sAuthorizedStreetAddr21.length;
        var sAuthorizedCity1Length = sAuthorizedCity1.length;
        var sAuthorizedApartment1Length = sAuthorizedApartment1.length;
        var sAuthorizedZip1Length = sAuthorizedZip1.length;
        var isZipCodeBeforeState = 'false';
        if (isNonRespPage == 'true') {
          isZipCodeBeforeState = 'true';
        }
        if (fieldLength == 0 && (sSecondaryFirstName1Length > 0 || sSecondaryLastName1Length > 0 || sAuthorizedDOB1Length > 0 || sAuthorizedStreetAddr11Length > 0 || sAuthorizedStreetAddr21Length > 0 || sAuthorizedApartment1Length > 0 ||
            sAuthorizedCity1Length > 0)) {
          setErrorMessage('sAuthorizedState11.required');
          return;
        } else {
          unSetErrorMessage('sAuthorizedState11.required');
        }
        if (!alphabetsRegEx.test(sAuthorizedState11) && (sSecondaryFirstName1Length > 0 || sSecondaryLastName1Length > 0 || sAuthorizedDOB1Length > 0 || sAuthorizedStreetAddr11Length > 0 || sAuthorizedStreetAddr21Length > 0 ||
            sAuthorizedApartment1Length > 0 || sAuthorizedCity1Length > 0)) {
          setErrorMessage('sAuthorizedState11.invalidCharacters');
          return;
        } else {
          unSetErrorMessage('sAuthorizedState11.invalidCharacters');
        }
        if (fieldLength > 0 && sSecondaryFirstName1Length == 0) {
          setErrorMessage('sSecondaryFirstName1.required');
          if (fieldLength > 0 && sSecondaryLastName1Length == 0) {
            setErrorMessage('sSecondaryLastName1.required');
          }
          if (fieldLength > 0 && sAuthorizedDOB1Length == 0) {
            setErrorMessage('sAuthorizedDOB1.required');
          }
          if (fieldLength > 0 && sAuthorizedStreetAddr11Length == 0) {
            setErrorMessage('sAuthorizedStreetAddr11.required');
          }
          if (isZipCodeBeforeState == "true" && fieldLength > 0 && sAuthorizedZip1Length == 0) {
            setErrorMessage('sAuthorizedZip1.required');
          }
          if (fieldLength > 0 && sAuthorizedCity1Length == 0) {
            setErrorMessage('sAuthorizedCity1.required');
          }
          return;
        }
        if (fieldLength > 0 && sSecondaryLastName1Length == 0) {
          setErrorMessage('sSecondaryLastName1.required');
          if (fieldLength > 0 && sAuthorizedDOB1Length == 0) {
            setErrorMessage('sAuthorizedDOB1.required');
          }
          if (fieldLength > 0 && sAuthorizedStreetAddr11Length == 0) {
            setErrorMessage('sAuthorizedStreetAddr11.required');
          }
          if (isZipCodeBeforeState == "true" && fieldLength > 0 && sAuthorizedZip1Length == 0) {
            setErrorMessage('sAuthorizedZip1.required');
          }
          if (fieldLength > 0 && sAuthorizedCity1Length == 0) {
            setErrorMessage('sAuthorizedCity1.required');
          }
          return;
        }
        if (fieldLength > 0 && sAuthorizedDOB1Length == 0) {
          setErrorMessage('sAuthorizedDOB1.required');
          if (fieldLength > 0 && sAuthorizedStreetAddr11Length == 0) {
            setErrorMessage('sAuthorizedStreetAddr11.required');
          }
          if (isZipCodeBeforeState == "true" && fieldLength > 0 && sAuthorizedZip1Length == 0) {
            setErrorMessage('sAuthorizedZip1.required');
          }
          if (fieldLength > 0 && sAuthorizedCity1Length == 0) {
            setErrorMessage('sAuthorizedCity1.required');
          }
          return;
        }
        if (fieldLength > 0 && sAuthorizedStreetAddr11Length == 0) {
          setErrorMessage('sAuthorizedStreetAddr11.required');
          if (isZipCodeBeforeState == "true" && fieldLength > 0 && sAuthorizedZip1Length == 0) {
            setErrorMessage('sAuthorizedZip1.required');
          }
          if (fieldLength > 0 && sAuthorizedCity1Length == 0) {
            setErrorMessage('sAuthorizedCity1.required');
          }
          return;
        }
        if (isZipCodeBeforeState == "true" && fieldLength > 0 && sAuthorizedZip1Length == 0) {
          setErrorMessage('sAuthorizedZip1.required');
          if (fieldLength > 0 && sAuthorizedCity1Length == 0) {
            setErrorMessage('sAuthorizedCity1.required');
          }
          return;
        }
        if (fieldLength > 0 && sAuthorizedCity1Length == 0) {
          setErrorMessage('sAuthorizedCity1.required');
          return;
        }
        if (isZipCodeBeforeState == "false") {
          if (fieldLength > 0 && sAuthorizedZip1Length > 0) {
            if (prefillState11 == '' || sAuthorizedState11 == prefillState11) {
              unSetErrorMessage('sAuthorizedZip1.required');
            } else {
              setErrorMessage('sAuthorizedZip1.required');
              return;
            }
          }
        }
        if (sSecondaryFirstName1Length > 0 || sSecondaryLastName1Length > 0) {
          if (sAuthorizedDOB1Length == 0) {
            setErrorMessage('sAuthorizedDOB1.required');
            if (sAuthorizedStreetAddr11Length == 0) {
              setErrorMessage('sAuthorizedStreetAddr11.required');
              if (sAuthorizedCity1Length == 0) {
                setErrorMessage('sAuthorizedCity1.required');
              }
            }
            return;
          }
          if (sAuthorizedStreetAddr11Length == 0) {
            setErrorMessage('sAuthorizedStreetAddr11.required');
            if (sAuthorizedCity1Length == 0) {
              setErrorMessage('sAuthorizedCity1.required');
            }
            return;
          }
          if (sAuthorizedCity1Length == 0) {
            setErrorMessage('sAuthorizedCity1.required');
            return;
          }
        }
        var isValid = false;
        var element;
        var validState = new Array("AK", "AL", "AP", "AR", "AZ", "CA", "CO", "CT", "DC", "DE", "FL", "GA", "GU", "HI", "IA", "ID", "IL", "IN", "KS", "KY", "LA", "MA", "MD", "ME", "MI", "MN", "MO", "MS", "MT", "NC", "ND", "NE", "NH", "NJ", "NM", "NV",
          "NY", "OH", "OK", "OR", "PA", "PR", "RI", "SC", "SD", "TN", "TX", "UT", "VA", "VI", "VT", "WA", "WI", "WV", "WY", "AA", "AE", "");
        for (index in validState) {
          element = validState[index];
          if (sAuthorizedState11.toUpperCase() == element) {
            isValid = true;
            break;
          } else {
            isValid = false;
          }
        }
        if (!isValid) {
          setErrorMessage('sAuthorizedState11.invalidCharacters');
          return;
        } else {
          unSetErrorMessage('sAuthorizedState11.invalidCharacters');
        }
        if (fieldLength == 0 && sSecondaryFirstName1Length == 0 && sSecondaryLastName1Length == 0 && sAuthorizedDOB1Length == 0 && sAuthorizedStreetAddr11Length == 0 && sAuthorizedStreetAddr21Length == 0 && sAuthorizedApartment1Length == 0 &&
          sAuthorizedCity1Length == 0 && sAuthorizedZip1Length == 0) {
          unSetErrorMessage('sSecondaryLastName1.required');
          removeSimplyErrors('sSecondaryLastName1');
          unSetErrorMessage('sSecondaryFirstName1.required');
          removeSimplyErrors('sSecondaryFirstName1');
          unSetErrorMessage('sAuthorizedDOB1.required');
          removeSimplyErrors('sAuthorizedDOB1');
          unSetErrorMessage('sAuthorizedStreetAddr11.required');
          removeSimplyErrors('sAuthorizedStreetAddr11');
          unSetErrorMessage('sAuthorizedCity1.required');
          removeSimplyErrors('sAuthorizedCity1');
          unSetErrorMessage('sAuthorizedState11.required');
          removeSimplyErrors('sAuthorizedState11');
          unSetErrorMessage('sAuthorizedZip1.required');
          removeSimplyErrors('sAuthorizedZip1');
        }
      }

      function validatesAuthorizedZip1(sAuthorizedZip1, sSecondaryFirstName1, sSecondaryLastName1, sAuthorizedDOB1, sAuthorizedStreetAddr11, sAuthorizedStreetAddr21, sAuthorizedApartment1, sAuthorizedCity1, sAuthorizedState11, prefillState11,
        isNonRespPage) {
        /*<dependent>sSecondaryFirstName1,sSecondaryLastName1,sAuthorizedDOB1,sAuthorizedStreetAddr11,sAuthorizedStreetAddr21,sAuthorizedApartment1,sAuthorizedCity1,sAuthorizedState11,prefillState11,isNonRespPage</dependent> */
        var fieldLength = sAuthorizedZip1.length;
        var sSecondaryFirst1 = sSecondaryFirstName1.replace(/^\s*|\s*$/g, "");
        var sSecondaryFirstName1Length = sSecondaryFirst1.length;
        var sSecondaryLastName1 = sSecondaryLastName1.replace(/^\s*|\s*$/g, "");
        var sSecondaryLastName1Length = sSecondaryLastName1.length;
        var sAuthorizedDOB1Length = sAuthorizedDOB1.length;
        var sAuthorizedStreetAddr11Length = sAuthorizedStreetAddr11.length;
        var sAuthorizedStreetAddr21Length = sAuthorizedStreetAddr21.length;
        var sAuthorizedApartment1Length = sAuthorizedApartment1.length;
        var sAuthorizedCity1Length = sAuthorizedCity1.length;
        var sAuthorizedState11Length = sAuthorizedState11.length;
        var alphabetsRegEx = /^[0-9]+$/;
        var isZipCodeBeforeState = 'false';
        if (isNonRespPage == 'true') {
          isZipCodeBeforeState = 'true';
        }
        if ((fieldLength < 5 || fieldLength > 5) && (sSecondaryFirstName1Length > 0 || sSecondaryLastName1Length > 0 || sAuthorizedDOB1Length > 0 || sAuthorizedStreetAddr11Length > 0 || sAuthorizedStreetAddr21Length > 0 ||
            sAuthorizedApartment1Length > 0 || sAuthorizedCity1Length > 0 || sAuthorizedState11Length > 0)) {
          setErrorMessage('sAuthorizedZip1.required');
          return;
        } else {
          unSetErrorMessage('sAuthorizedZip1.required');
        }
        if (fieldLength > 0 && fieldLength < 5) {
          setErrorMessage('sAuthorizedZip1.required');
          return;
        } else {
          unSetErrorMessage('sAuthorizedZip1.required');
        }
        if (!alphabetsRegEx.test(sAuthorizedZip1) && (fieldLength > 0)) {
          setErrorMessage('sAuthorizedZip1.required');
          return;
        } else {
          unSetErrorMessage('sAuthorizedZip1.required');
        }
        if ((fieldLength == 5) && sSecondaryFirstName1Length == 0) {
          setErrorMessage('sSecondaryFirstName1.required');
          if ((fieldLength == 5) && sSecondaryLastName1Length == 0) {
            setErrorMessage('sSecondaryLastName1.required');
          }
          if ((fieldLength == 5) && sAuthorizedDOB1Length == 0) {
            setErrorMessage('sAuthorizedDOB1.required');
          }
          if ((fieldLength == 5) && sAuthorizedStreetAddr11Length == 0) {
            setErrorMessage('sAuthorizedStreetAddr11.required');
          }
          if ((fieldLength == 5) && sAuthorizedCity1Length == 0) {
            setErrorMessage('sAuthorizedCity1.required');
          }
          if ((fieldLength == 5) && sAuthorizedState11Length == 0) {
            setErrorMessage('sAuthorizedState11.required');
          }
          return;
        }
        if ((fieldLength == 5) && sSecondaryLastName1Length == 0) {
          setErrorMessage('sSecondaryLastName1.required');
          if ((fieldLength == 5) && sAuthorizedDOB1Length == 0) {
            setErrorMessage('sAuthorizedDOB1.required');
          }
          if (fieldLength == 5 && sAuthorizedStreetAddr11Length == 0) {
            setErrorMessage('sAuthorizedStreetAddr11.required');
          }
          if (fieldLength == 5 && sAuthorizedCity1Length == 0) {
            setErrorMessage('sAuthorizedCity1.required');
          }
          if ((fieldLength == 5) && sAuthorizedState11Length == 0) {
            setErrorMessage('sAuthorizedState11.required');
          }
          return;
        }
        if ((fieldLength == 5) && sAuthorizedDOB1Length == 0) {
          setErrorMessage('sAuthorizedDOB1.required');
          if (fieldLength == 5 && sAuthorizedStreetAddr11Length == 0) {
            setErrorMessage('sAuthorizedStreetAddr11.required');
          }
          if (fieldLength == 5 && sAuthorizedCity1Length == 0) {
            setErrorMessage('sAuthorizedCity1.required');
          }
          if ((fieldLength == 5) && sAuthorizedState11Length == 0) {
            setErrorMessage('sAuthorizedState11.required');
          }
          return;
        }
        if ((fieldLength == 5) && sAuthorizedStreetAddr11Length == 0) {
          setErrorMessage('sAuthorizedStreetAddr11.required');
          if (fieldLength == 5 && sAuthorizedCity1Length == 0) {
            setErrorMessage('sAuthorizedCity1.required');
          }
          if ((fieldLength == 5) && sAuthorizedState11Length == 0) {
            setErrorMessage('sAuthorizedState11.required');
          }
          return;
        }
        if ((fieldLength == 5) && sAuthorizedCity1Length == 0) {
          setErrorMessage('sAuthorizedCity1.required');
          if ((fieldLength == 5) && sAuthorizedState11Length == 0) {
            setErrorMessage('sAuthorizedState11.required');
          }
          return;
        }
        if ((fieldLength == 5) && sAuthorizedState11Length == 0) {
          setErrorMessage('sAuthorizedState11.required');
          return;
        }
        if (sSecondaryFirstName1Length > 0 || sSecondaryLastName1Length > 0) {
          if (sAuthorizedDOB1Length == 0) {
            setErrorMessage('sAuthorizedDOB1.required');
            if (sAuthorizedStreetAddr11Length == 0) {
              setErrorMessage('sAuthorizedStreetAddr11.required');
              if (sAuthorizedCity1Length == 0) {
                setErrorMessage('sAuthorizedCity1.required');
                if (sAuthorizedState11Length == 0) {
                  setErrorMessage('sAuthorizedState11.required');
                }
              }
            }
            return;
          }
          if (sAuthorizedStreetAddr11Length == 0) {
            setErrorMessage('sAuthorizedStreetAddr11.required');
            if (sAuthorizedCity1Length == 0) {
              setErrorMessage('sAuthorizedCity1.required');
              if (sAuthorizedState11Length == 0) {
                setErrorMessage('sAuthorizedState11.required');
              }
            }
            return;
          }
          if (sAuthorizedCity1Length == 0) {
            setErrorMessage('sAuthorizedCity1.required');
            if (sAuthorizedState11Length == 0) {
              setErrorMessage('sAuthorizedState11.required');
            }
            return;
          }
          if (sAuthorizedState11Length == 0) {
            setErrorMessage('sAuthorizedState11.required');
            return;
          }
        }
        if (isZipCodeBeforeState == "false") {
          if (fieldLength > 0 && sAuthorizedState11Length > 0) {
            if (prefillState11 == '' || sAuthorizedState11 == prefillState11) {
              unSetErrorMessage('sAuthorizedZip1.required');
            } else {
              setErrorMessage('sAuthorizedZip1.required');
              return;
            }
          }
        }
        if (fieldLength == 0 && sSecondaryFirstName1Length == 0 && sSecondaryLastName1Length == 0 && sAuthorizedDOB1Length == 0 && sAuthorizedStreetAddr11Length == 0 && sAuthorizedStreetAddr21Length == 0 && sAuthorizedApartment1Length == 0 &&
          sAuthorizedCity1Length == 0 && sAuthorizedState11Length == 0) {
          unSetErrorMessage('sSecondaryLastName1.required');
          removeSimplyErrors('sSecondaryLastName1');
          unSetErrorMessage('sSecondaryFirstName1.required');
          removeSimplyErrors('sSecondaryFirstName1');
          unSetErrorMessage('sAuthorizedDOB1.required');
          removeSimplyErrors('sAuthorizedDOB1');
          unSetErrorMessage('sAuthorizedStreetAddr11.required');
          removeSimplyErrors('sAuthorizedStreetAddr11');
          unSetErrorMessage('sAuthorizedCity1.required');
          removeSimplyErrors('sAuthorizedCity1');
          unSetErrorMessage('sAuthorizedState11.required');
          removeSimplyErrors('sAuthorizedState11');
        }
        checkVulgarity(sAuthorizedZip1, 'sAuthorizedZip1');
      }

      function validatesSecondaryFirstName2(sSecondaryFirstName2, sSecondaryLastName2, sSecondaryMiddleInitial2, sAuthorizedDOB2, sAuthorizedStreetAddr12, sAuthorizedStreetAddr22, sAuthorizedApartment2, sAuthorizedCity2, sAuthorizedState12,
        sAuthorizedZip2, sAuth2AddrSameAsPrimary) {
        /*<dependent>sSecondaryLastName2,sSecondaryMiddleInitial2,sAuthorizedDOB2,sAuthorizedStreetAddr12,sAuthorizedStreetAddr22,sAuthorizedApartment2,sAuthorizedCity2,sAuthorizedState12,sAuthorizedZip2,sAuth2AddrSameAsPrimary</dependent>*/
        unSetErrorMessage('sSecondaryFirstName2.required');
        unSetErrorMessage('sSecondaryFirstName2.vulgarCheck');
        unSetErrorMessage('sSecondaryFirstName2.invalidBegin');
        unSetErrorMessage('sSecondaryFirstName2.invalidCharacters');
        var fieldLength = sSecondaryFirstName2.length;
        var sSecondaryLast2 = sSecondaryLastName2.replace(/^\s*|\s*$/g, "");
        var sSecondaryLastNameLength = sSecondaryLast2.length;
        var secondMiddleName2FieldLength = sSecondaryMiddleInitial2.length;
        var alphabetsRegEx = /^[a-zA-Z\s\-']+$/;
        var beginRegEx = /^[^a-zA-Z].*$/;
        var sAuthorizedDOB2Length = sAuthorizedDOB2.length;
        var sAuthorizedStreetAddr12Length = sAuthorizedStreetAddr12.length;
        var sAuthorizedStreetAddr22Length = sAuthorizedStreetAddr22.length;
        var sAuthorizedApartment2Length = sAuthorizedApartment2.length;
        var sAuthorizedCity2Length = sAuthorizedCity2.length;
        var sAuthorizedState12Length = sAuthorizedState12.length;
        var sAuthorizedZip2Length = sAuthorizedZip2.length;
        if (fieldLength > 0 && beginRegEx.test(sSecondaryFirstName2)) {
          setErrorMessage('sSecondaryFirstName2.invalidBegin');
          return;
        } else {
          unSetErrorMessage('sSecondaryFirstName2.invalidBegin');
        }
        if (fieldLength > 0 && !alphabetsRegEx.test(sSecondaryFirstName2)) {
          setErrorMessage('sSecondaryFirstName2.invalidCharacters');
          return;
        } else {
          unSetErrorMessage('sSecondaryFirstName2.invalidCharacters');
        }
        if ((sSecondaryLastNameLength > 0 || sAuthorizedDOB2Length > 0 || sAuthorizedStreetAddr12Length > 0 || sAuthorizedStreetAddr22Length > 0 || sAuthorizedApartment2Length > 0 || sAuthorizedCity2Length > 0 || sAuthorizedZip2Length > 0 ||
            sAuthorizedState12Length > 0 || sAuth2AddrSameAsPrimary == 'Y') && (fieldLength == 0)) {
          setErrorMessage('sSecondaryFirstName2.required');
          return;
        } else {
          unSetErrorMessage('sSecondaryFirstName2.required');
        }
        if ((sSecondaryLastNameLength == 0) && (fieldLength == 0) && (secondMiddleName2FieldLength > 0 || sAuthorizedStreetAddr12Length > 0 || sAuthorizedStreetAddr22Length > 0 || sAuthorizedApartment2Length > 0 || sAuthorizedCity2Length > 0 ||
            sAuthorizedState12Length > 0 || sAuthorizedZip2Length > 0 || sAuth2AddrSameAsPrimary == 'Y')) {
          setErrorMessage('sSecondaryFirstName2.required');
          setErrorMessage('sSecondaryLastName2.required');
          return;
        } else {
          unSetErrorMessage('sSecondaryFirstName2.required');
          unSetErrorMessage('sSecondaryLastName2.required');
        }
        if (fieldLength > 0 && sSecondaryLastNameLength == 0 && (sAuthorizedDOB2Length > 0 || sAuthorizedStreetAddr12Length > 0 || sAuthorizedStreetAddr22Length > 0 || sAuthorizedApartment2Length > 0 || sAuthorizedCity2Length > 0 ||
            sAuthorizedState12Length > 0 || sAuthorizedZip2Length > 0 || sAuth2AddrSameAsPrimary == 'Y')) {
          setErrorMessage('sSecondaryLastName2.required');
        }
        if (fieldLength == 0 && sSecondaryLastNameLength == 0 && sAuthorizedDOB2Length == 0 && sAuthorizedStreetAddr12Length == 0 && sAuthorizedStreetAddr22Length == 0 && sAuthorizedApartment2Length == 0 && sAuthorizedCity2Length == 0 &&
          sAuthorizedState12Length == 0 && sAuthorizedZip2Length == 0) {
          unSetErrorMessage('sSecondaryLastName2.required');
          removeSimplyErrors('sSecondaryLastName2');
          unSetErrorMessage('sAuthorizedDOB2.required');
          removeSimplyErrors('sAuthorizedDOB2');
          unSetErrorMessage('sAuthorizedStreetAddr12.required');
          removeSimplyErrors('sAuthorizedStreetAddr12');
          unSetErrorMessage('sAuthorizedCity2.required');
          removeSimplyErrors('sAuthorizedCity2');
          unSetErrorMessage('sAuthorizedState12.required');
          removeSimplyErrors('sAuthorizedState12');
          unSetErrorMessage('sAuthorizedZip2.required');
          removeSimplyErrors('sAuthorizedZip2');
        }
        checkVulgarity(sSecondaryFirstName2, 'sSecondaryFirstName2.vulgarCheck');
      }

      function validatesSecondaryMiddleInitial2(sSecondaryMiddleInitial2) {
        unSetErrorMessage('sSecondaryMiddleInitial2.invalidCharacters');
        unSetErrorMessage('sSecondaryMiddleInitial2.required');
        var fieldLength = sSecondaryMiddleInitial2.length;
        var alphabetsRegEx = /^[a-zA-Z]+$/;
        if (fieldLength > 0 && !alphabetsRegEx.test(sSecondaryMiddleInitial2)) {
          setErrorMessage('sSecondaryMiddleInitial2.invalidCharacters');
          return;
        } else {
          unSetErrorMessage('sSecondaryMiddleInitial2.invalidCharacters');
        }
      }

      function validatesSecondaryLastName2(sSecondaryLastName2, sFirstName, sLastName, sSecondaryFirstName2, sSecondaryMiddleInitial2, sAuthorizedDOB2, sAuthorizedStreetAddr12, sAuthorizedStreetAddr22, sAuthorizedApartment2, sAuthorizedCity2,
        sAuthorizedState12, sAuthorizedZip2, sAuth2AddrSameAsPrimary) {
        /*<dependent>sFirstName,sLastName,sSecondaryFirstName2,sSecondaryMiddleInitial2,sAuthorizedDOB2,sAuthorizedStreetAddr12,sAuthorizedStreetAddr22,sAuthorizedApartment2,sAuthorizedCity2,sAuthorizedState12,sAuthorizedZip2,sAuth2AddrSameAsPrimary</dependent>*/
        unSetErrorMessage('sSecondaryLastName2.invalidLength');
        unSetErrorMessage('sSecondaryLastName2.required');
        unSetErrorMessage('sSecondaryMiddleInitial2.required');
        unSetErrorMessage('sSecondaryLastName2.vulgarCheck');
        unSetErrorMessage('sSecondaryLastName2.invalidBegin');
        unSetErrorMessage('sSecondaryLastName2.invalidCharacters');
        unSetErrorMessage('sSecondaryLastName2.notassLastName');
        unSetErrorMessage('sSecondaryFirstName2.notassFirstName');
        var sFirst = sFirstName.replace(/^\s*|\s*$/g, "");
        var sLast = sLastName.replace(/^\s*|\s*$/g, "");
        var sSecondaryFirst2 = sSecondaryFirstName2.replace(/^\s*|\s*$/g, "");
        var sSecondaryLast2 = sSecondaryLastName2.replace(/^\s*|\s*$/g, "");
        var fieldLength = sSecondaryLast2.length;
        var secondFirstName2FieldLength = sSecondaryFirst2.length;
        var secondMiddleName2FieldLength = sSecondaryMiddleInitial2.length;
        var alphabetsRegEx = /^[a-zA-Z\s\-']+$/;
        var beginRegEx = /^[^a-zA-Z].*$/;
        var sAuthorizedDOB2Length = sAuthorizedDOB2.length;
        var sAuthorizedStreetAddr12Length = sAuthorizedStreetAddr12.length;
        var sAuthorizedStreetAddr22Length = sAuthorizedStreetAddr22.length;
        var sAuthorizedApartment2Length = sAuthorizedApartment2.length;
        var sAuthorizedCity2Length = sAuthorizedCity2.length;
        var sAuthorizedState12Length = sAuthorizedState12.length;
        var sAuthorizedZip2Length = sAuthorizedZip2.length;
        if ((fieldLength > 0) && (beginRegEx.test(sSecondaryLast2))) {
          setErrorMessage('sSecondaryLastName2.invalidBegin');
          return;
        } else {
          unSetErrorMessage('sSecondaryLastName2.invalidBegin');
        }
        if ((fieldLength > 0) && !alphabetsRegEx.test(sSecondaryLast2)) {
          setErrorMessage('sSecondaryLastName2.invalidCharacters');
          return;
        } else {
          unSetErrorMessage('sSecondaryLastName2.invalidCharacters');
        }
        if ((secondFirstName2FieldLength == 0) && (fieldLength == 0) && (secondMiddleName2FieldLength > 0 || sAuthorizedDOB2Length > 0 || sAuthorizedStreetAddr12Length > 0 || sAuthorizedStreetAddr22Length > 0 || sAuthorizedApartment2Length > 0 ||
            sAuthorizedCity2Length > 0 || sAuthorizedState12Length > 0 || sAuthorizedZip2Length > 0 || sAuth2AddrSameAsPrimary == 'Y')) {
          setErrorMessage('sSecondaryFirstName2.required');
          setErrorMessage('sSecondaryLastName2.required');
          return;
        } else {
          unSetErrorMessage('sSecondaryFirstName2.required');
          unSetErrorMessage('sSecondaryLastName2.required');
        }
        if ((fieldLength > 0 || sAuth2AddrSameAsPrimary == 'Y') && secondFirstName2FieldLength == 0) {
          setErrorMessage('sSecondaryFirstName2.required');
          return;
        } else {
          unSetErrorMessage('sSecondaryFirstName2.required');
        }
        if ((secondFirstName2FieldLength > 0 || sAuth2AddrSameAsPrimary == 'Y') && (fieldLength == 0)) {
          setErrorMessage('sSecondaryLastName2.required');
          return;
        } else {
          unSetErrorMessage('sSecondaryLastName2.required');
        }
        if ((fieldLength > 0) && (sSecondaryFirst2.toUpperCase() == sFirst.toUpperCase()) && (sSecondaryLast2.toUpperCase() == sLast.toUpperCase())) {
          setErrorMessage('sSecondaryFirstName2.notassFirstName');
          setErrorMessage('sSecondaryLastName2.notassLastName');
          return;
        } else {
          unSetErrorMessage('sSecondaryFirstName2.notassFirstName');
          unSetErrorMessage('sSecondaryLastName2.notassLastName');
        }
        if ((fieldLength > 0) && (fieldLength < 2)) {
          setErrorMessage('sSecondaryLastName2.invalidLength');
          return;
        } else {
          unSetErrorMessage('sSecondaryLastName2.invalidLength');
        }
        if (fieldLength == 0 && secondFirstName2FieldLength == 0 && sAuthorizedDOB2Length == 0 && sAuthorizedStreetAddr12Length == 0 && sAuthorizedStreetAddr22Length == 0 && sAuthorizedApartment2Length == 0 && sAuthorizedCity2Length == 0 &&
          sAuthorizedState12Length == 0 && sAuthorizedZip2Length == 0) {
          unSetErrorMessage('sSecondaryFirstName2.required');
          removeSimplyErrors('sSecondaryFirstName2');
          unSetErrorMessage('sAuthorizedDOB2.required');
          removeSimplyErrors('sAuthorizedDOB2');
          unSetErrorMessage('sAuthorizedStreetAddr12.required');
          removeSimplyErrors('sAuthorizedStreetAddr12');
          unSetErrorMessage('sAuthorizedCity2.required');
          removeSimplyErrors('sAuthorizedCity2');
          unSetErrorMessage('sAuthorizedState12.required');
          removeSimplyErrors('sAuthorizedState12');
          unSetErrorMessage('sAuthorizedZip2.required');
          removeSimplyErrors('sAuthorizedZip2');
        }
        checkVulgarity(sSecondaryLastName2, 'sSecondaryLastName2.vulgarCheck');
      }

      function validatesAuthorizedDOB2(sAuthorizedDOB2, sSecondaryFirstName2, sSecondaryLastName2, sAuthorizedStreetAddr12, sAuthorizedStreetAddr22, sAuthorizedApartment2, sAuthorizedCity2, sAuthorizedState12, sAuthorizedZip2,
        sAuth2AddrSameAsPrimary) {
        /*<dependent>sSecondaryFirstName2,sSecondaryLastName2,sAuthorizedStreetAddr12,sAuthorizedStreetAddr22,sAuthorizedApartment2,sAuthorizedCity2,sAuthorizedState12,sAuthorizedZip2,sAuth2AddrSameAsPrimary</dependent>*/
        if (sAuthorizedDOB2.length == 2 && (sAuthorizedDOB2.substring(0, 1) == '/' && sAuthorizedDOB2.substring(1, 2) == '/')) {
          sAuthorizedDOB2 = '';
        }
        unSetErrorMessage('sAuthorizedDOB2.invalid');
        unSetErrorMessage('sAuthorizedDOB2.required');
        unSetErrorMessage('sAuthorizedDOB2.underAge');
        var fieldLength = sAuthorizedDOB2.length;
        var sSecondaryFirst2 = sSecondaryFirstName2.replace(/^\s*|\s*$/g, "");
        var sSecondaryLast2 = sSecondaryLastName2.replace(/^\s*|\s*$/g, "");
        var sSecondaryFirstName2Length = sSecondaryFirst2.length;
        var sSecondaryLastName2Length = sSecondaryLast2.length;
        var sAuthorizedStreetAddr12Length = sAuthorizedStreetAddr12.length;
        var sAuthorizedState12Length = sAuthorizedState12.length;
        var sAuthorizedZip2Length = sAuthorizedZip2.length;
        var sAuthorizedStreetAddr22Length = sAuthorizedStreetAddr22.length;
        var sAuthorizedApartment2Length = sAuthorizedApartment2.length;
        var sAuthorizedCity2Length = sAuthorizedCity2.length;
        var invalidInput = /\\/;
        if (fieldLength == 0 && ((sSecondaryFirstName2Length > 0 || sSecondaryLastName2Length > 0 || sAuthorizedStreetAddr12Length > 0 || sAuthorizedStreetAddr22Length > 0 || sAuthorizedApartment2Length > 0 || sAuthorizedCity2Length > 0 ||
            sAuthorizedState12Length > 0 || sAuthorizedZip2Length > 0) || sAuth2AddrSameAsPrimary == 'Y')) {
          if (sSecondaryFirstName2Length == 0) {
            setErrorMessage('sSecondaryFirstName2.required');
          } else {
            unSetErrorMessage('sSecondaryFirstName2.required');
          }
          if (sSecondaryLastName2Length == 0) {
            setErrorMessage('sSecondaryLastName2.required');
          } else {
            unSetErrorMessage('sSecondaryLastName2.required');
          }
          setErrorMessage('sAuthorizedDOB2.required');
          return;
        } else {
          unSetErrorMessage('sAuthorizedDOB2.required');
        }
        if (fieldLength > 0 && (fieldLength < 10 || fieldLength > 10)) {
          setErrorMessage('sAuthorizedDOB2.invalid');
          return;
        } else {
          unSetErrorMessage('sAuthorizedDOB2.invalid');
        }
        if (invalidInput.test(sAuthorizedDOB2)) {
          setErrorMessage('sAuthorizedDOB2.invalid');
          return;
        } else {
          unSetErrorMessage('sAuthorizedDOB2.invalid');
        }
        var strDate1 = new Date();
        var strDate2 = sAuthorizedDOB2;
        var datDate2 = new Date(strDate2);
        var yearsPassed = 0;
        if (datDate2.getFullYear() > strDate1.getFullYear()) {
          setErrorMessage('sAuthorizedDOB2.invalid');
          return;
        } else {
          unSetErrorMessage('sAuthorizedDOB2.invalid');
        }
        while (datDate2.getFullYear() < strDate1.getFullYear()) {
          datDate2.setYear(datDate2.getFullYear() + 1);
          yearsPassed++;
        }
        if (fieldLength > 0 && !validateDate(sAuthorizedDOB2)) {
          setErrorMessage('sAuthorizedDOB2.invalid');
          return;
        } else {
          unSetErrorMessage('sAuthorizedDOB2.invalid');
        }
        if (fieldLength > 0 && yearsPassed < 0) {
          setErrorMessage('sAuthorizedDOB2.underAge');
          return;
        } else {
          unSetErrorMessage('sAuthorizedDOB2.underAge');
        }
        if (fieldLength > 0 && yearsPassed == 0) {
          if (strDate1.getMonth() < datDate2.getMonth()) {
            setErrorMessage('sAuthorizedDOB2.underAge');
            return;
          }
          if (strDate1.getMonth() == datDate2.getMonth()) {
            if (strDate1.getDate() <= datDate2.getDate()) {
              setErrorMessage('sAuthorizedDOB2.underAge');
              return;
            } else {
              unSetErrorMessage('sAuthorizedDOB2.underAge');
            }
          }
          if (strDate1.getMonth() > datDate2.getMonth()) {
            unSetErrorMessage('sAuthorizedDOB2.underAge');
          }
        }
        if (fieldLength > 0 && yearsPassed > 125) {
          setErrorMessage('sAuthorizedDOB2.invalid');
          return;
        } else {
          unSetErrorMessage('sAuthorizedDOB2.invalid');
        }
        if (fieldLength > 0 && yearsPassed == 125) {
          if (strDate1.getMonth() < datDate2.getMonth()) {
            unSetErrorMessage('sAuthorizedDOB2.invalid');
          }
          if (strDate1.getMonth() == datDate2.getMonth()) {
            if (strDate1.getDate() >= datDate2.getDate()) {
              setErrorMessage('sAuthorizedDOB2.invalid');
              return;
            } else {
              unSetErrorMessage('sAuthorizedDOB2.invalid');
            }
          }
          if (strDate1.getMonth() > datDate2.getMonth()) {
            setErrorMessage('sAuthorizedDOB2.invalid');
            return;
          }
        }
        if ((fieldLength > 0 || sAuthorizedState12Length > 0 || sAuthorizedZip2Length > 0 || sAuthorizedStreetAddr12Length > 0 || sAuthorizedStreetAddr22Length > 0 || sAuthorizedApartment2Length > 0 || sAuth2AddrSameAsPrimary == 'Y') &&
          sSecondaryFirstName2Length == 0) {
          setErrorMessage('sSecondaryFirstName2.required');
          if ((fieldLength > 0 || sAuthorizedState12Length > 0 || sAuthorizedZip2Length > 0 || sAuthorizedStreetAddr12Length > 0 || sAuthorizedStreetAddr22Length > 0 || sAuthorizedApartment2Length > 0 || sAuth2AddrSameAsPrimary == 'Y') &&
            sSecondaryLastName2Length == 0) {
            setErrorMessage('sSecondaryLastName2.required');
          }
          return;
        }
        if ((fieldLength > 0 || sAuthorizedState12Length > 0 || sAuthorizedZip2Length > 0 || sAuthorizedStreetAddr12Length > 0 || sAuthorizedStreetAddr22Length > 0 || sAuthorizedApartment2Length > 0 || sAuth2AddrSameAsPrimary == 'Y') &&
          sSecondaryLastName2Length == 0) {
          setErrorMessage('sSecondaryLastName2.required');
          return;
        }
        if (fieldLength == 0) {
          if (sSecondaryFirstName2Length == 0 && sSecondaryLastName2Length == 0) {
            unSetErrorMessage('sSecondaryFirstName2.required');
            removeSimplyErrors('sSecondaryFirstName2');
            unSetErrorMessage('sSecondaryLastName2.required');
            removeSimplyErrors('sSecondaryLastName2');
          }
        }
        if (fieldLength == 0 && sSecondaryFirstName2Length == 0 && sSecondaryLastName2Length == 0 && sAuthorizedCity2Length == 0 && sAuthorizedStreetAddr12Length == 0 && sAuthorizedStreetAddr22Length == 0 && sAuthorizedApartment2Length == 0 &&
          sAuthorizedState12Length == 0 && sAuthorizedZip2Length == 0) {
          unSetErrorMessage('sSecondaryFirstName2.required');
          removeSimplyErrors('sSecondaryFirstName2');
          unSetErrorMessage('sSecondaryLastName2.required');
          removeSimplyErrors('sSecondaryLastName2');
          unSetErrorMessage('sAuthorizedDOB2.required');
          removeSimplyErrors('sAuthorizedDOB2');
          unSetErrorMessage('sAuthorizedStreetAddr12.required');
          removeSimplyErrors('sAuthorizedStreetAddr12');
          unSetErrorMessage('sAuthorizedCity2.required');
          removeSimplyErrors('sAuthorizedCity2');
          unSetErrorMessage('sAuthorizedState12.required');
          removeSimplyErrors('sAuthorizedState12');
          unSetErrorMessage('sAuthorizedZip2.required');
          removeSimplyErrors('sAuthorizedZip2');
        }

        function validateDate(strValue) {
          var objRegExp = /^\d{1,2}(\/)\d{1,2}\1\d{4}$/;
          var objRegExpYear = /^00[0-9][0-9]/;
          if (!objRegExp.test(strValue)) return false;
          else {
            var strSeparator = strValue.substring(2, 3);
            var arrayDate = strValue.split(strSeparator);
            var year = arrayDate[2];
            if (objRegExpYear.test(year)) return false;
            var arrayLookup = {
              '01': 31,
              '03': 31,
              '04': 30,
              '05': 31,
              '06': 30,
              '07': 31,
              '08': 31,
              '09': 30,
              '10': 31,
              '11': 30,
              '12': 31
            };
            var intDay = parseInt(arrayDate[1], 10);
            if (arrayLookup[arrayDate[0]] != null) {
              if (intDay <= arrayLookup[arrayDate[0]] && intDay != 0) return true;
            }
            var intMonth = parseInt(arrayDate[0], 10);
            var intYear = parseInt(arrayDate[2]);
            if (intYear == 0) {
              return false;
            }
            if (intMonth == 2) {
              if (intDay > 0 && intDay < 29) {
                return true;
              } else if (intDay == 29) {
                if ((intYear % 4 == 0) && (intYear % 100 != 0) || (intYear % 400 == 0)) {
                  return true;
                }
              }
            }
          }
          return false;
        }
      }

      function validatesAuthorizedStreetAddr12(sAuthorizedStreetAddr12, sSecondaryFirstName2, sSecondaryLastName2, sAuthorizedDOB2, sAuthorizedStreetAddr22, sAuthorizedApartment2, sAuthorizedCity2, sAuthorizedState12, sAuthorizedZip2) {
        /*<dependent>sSecondaryFirstName2,sSecondaryLastName2,sAuthorizedDOB2,sAuthorizedStreetAddr22,sAuthorizedApartment2,sAuthorizedCity2,sAuthorizedState12,sAuthorizedZip2</dependent>*/
        unSetErrorMessage('sAuthorizedStreetAddr12.vulgarCheck');
        unSetErrorMessage('sAuthorizedStreetAddr12.required');
        unSetErrorMessage('sAuthorizedStreetAddr12.invalidCharacters');
        var fieldLength = sAuthorizedStreetAddr12.replace(/^\s\s*/, '').replace(/\s\s*$/, '').length;
        var sSecondaryFirst2 = sSecondaryFirstName2.replace(/^\s*|\s*$/g, "");
        var sSecondaryLast2 = sSecondaryLastName2.replace(/^\s*|\s*$/g, "");
        var sSecondaryFirstName2Length = sSecondaryFirst2.length;
        var sSecondaryLastName2Length = sSecondaryLast2.length;
        var sAuthorizedState12Length = sAuthorizedState12.length;
        var sAuthorizedZip2Length = sAuthorizedZip2.length;
        var sAuthorizedDOB2Length = sAuthorizedDOB2.length;
        var sAuthorizedStreetAddr22Length = sAuthorizedStreetAddr22.length;
        var sAuthorizedApartment2Length = sAuthorizedApartment2.length;
        var sAuthorizedCity2Length = sAuthorizedCity2.length;
        var alphabetsRegEx = /^[a-zA-Z0-9\s'\.\-\#\$\/]+$/;
        var beginRegEx = /^[^a-zA-Z0-9\s'\.\-\#\$\/].*$/;
        if (fieldLength == 0 && (sSecondaryFirstName2Length > 0 || sSecondaryLastName2Length > 0 || sAuthorizedDOB2Length > 0 || sAuthorizedStreetAddr22Length > 0 || sAuthorizedApartment2Length > 0 || sAuthorizedCity2Length > 0 ||
            sAuthorizedState12Length > 0 || sAuthorizedZip2Length > 0)) {
          setErrorMessage('sAuthorizedStreetAddr12.required');
          return;
        } else {
          unSetErrorMessage('sAuthorizedStreetAddr12.required');
        }
        if (fieldLength > 40) {
          setErrorMessage('sAuthorizedStreetAddr12.maxlength');
          return;
        } else {
          unSetErrorMessage('sAuthorizedStreetAddr12.maxlength');
        }
        if (fieldLength > 0 && beginRegEx.test(sAuthorizedStreetAddr12)) {
          setErrorMessage('sAuthorizedStreetAddr12.invalidCharacters');
          return;
        } else {
          unSetErrorMessage('sAuthorizedStreetAddr12.invalidCharacters');
        }
        if (fieldLength > 0 && !alphabetsRegEx.test(sAuthorizedStreetAddr12)) {
          setErrorMessage('sAuthorizedStreetAddr12.invalidCharacters');
          return;
        } else {
          unSetErrorMessage('sAuthorizedStreetAddr12.invalidCharacters');
        }
        if ((fieldLength > 0 || sAuthorizedState12Length > 0 || sAuthorizedZip2Length > 0 || sAuthorizedStreetAddr22Length > 0 || sAuthorizedApartment2Length > 0) && sSecondaryFirstName2Length == 0) {
          setErrorMessage('sSecondaryFirstName2.required');
          if ((fieldLength > 0 || sAuthorizedState12Length > 0 || sAuthorizedZip2Length > 0 || sAuthorizedStreetAddr22Length > 0 || sAuthorizedApartment2Length > 0) && sSecondaryLastName2Length == 0) {
            setErrorMessage('sSecondaryLastName2.required');
            if ((fieldLength > 0 || sAuthorizedState12Length > 0 || sAuthorizedZip2Length > 0 || sAuthorizedStreetAddr22Length > 0 || sAuthorizedApartment2Length > 0) && sAuthorizedDOB2Length == 0) {
              setErrorMessage('sAuthorizedDOB2.required');
            }
          }
          return;
        }
        if ((fieldLength > 0 || sAuthorizedState12Length > 0 || sAuthorizedZip2Length || sAuthorizedStreetAddr22Length > 0 || sAuthorizedApartment2Length > 0) && sSecondaryLastName2Length == 0) {
          setErrorMessage('sSecondaryLastName2.required');
          if ((fieldLength > 0 || sAuthorizedState12Length > 0 || sAuthorizedZip2Length > 0 || sAuthorizedStreetAddr22Length > 0 || sAuthorizedApartment2Length > 0) && sAuthorizedDOB2Length == 0) {
            setErrorMessage('sAuthorizedDOB2.required');
          }
          return;
        }
        if ((fieldLength > 0 || sAuthorizedState12Length > 0 || sAuthorizedZip2Length > 0 || sAuthorizedStreetAddr22Length > 0 || sAuthorizedApartment2Length > 0) && sAuthorizedDOB2Length == 0) {
          setErrorMessage('sAuthorizedDOB2.required');
          return;
        }
        if (fieldLength == 0) {
          if (sSecondaryFirstName2Length == 0 && sSecondaryLastName2Length == 0) {
            unSetErrorMessage('sSecondaryFirstName2.required');
            removeSimplyErrors('sSecondaryFirstName2');
            unSetErrorMessage('sSecondaryLastName2.required');
            removeSimplyErrors('sSecondaryLastName2');
          }
        }
        if (fieldLength == 0 && sSecondaryFirstName2Length == 0 && sSecondaryLastName2Length == 0 && sAuthorizedCity2Length == 0 && sAuthorizedDOB2Length == 0 && sAuthorizedStreetAddr22Length == 0 && sAuthorizedApartment2Length == 0 &&
          sAuthorizedState12Length == 0 && sAuthorizedZip2Length == 0) {
          unSetErrorMessage('sSecondaryFirstName2.required');
          removeSimplyErrors('sSecondaryFirstName2');
          unSetErrorMessage('sSecondaryLastName2.required');
          removeSimplyErrors('sSecondaryLastName2');
          unSetErrorMessage('sAuthorizedDOB2.required');
          removeSimplyErrors('sAuthorizedDOB2');
          unSetErrorMessage('sAuthorizedStreetAddr12.required');
          removeSimplyErrors('sAuthorizedStreetAddr12');
          unSetErrorMessage('sAuthorizedCity2.required');
          removeSimplyErrors('sAuthorizedCity2');
          unSetErrorMessage('sAuthorizedState12.required');
          removeSimplyErrors('sAuthorizedState12');
          unSetErrorMessage('sAuthorizedZip2.required');
          removeSimplyErrors('sAuthorizedZip2');
        }
        checkVulgarity(sAuthorizedStreetAddr12, 'sAuthorizedStreetAddr12.vulgarCheck');
      }

      function validatesAuthorizedStreetAddr12Simply(sAuthorizedStreetAddr12) {
        unSetErrorMessage('sAuthorizedStreetAddr12.primeErr');
        var fieldLength = sAuthorizedStreetAddr12.replace(/^\s\s*/, '').replace(/\s\s*$/, '').length;
        var alphabetsRegEx = /^[a-zA-Z0-9\s'\.\-\#\$\/]+$/;
        var beginRegEx = /^[^a-zA-Z0-9\s'\.\-\#\$\/].*$/;
        if (fieldLength < 2 || beginRegEx.test(sAuthorizedStreetAddr12) || !alphabetsRegEx.test(sAuthorizedStreetAddr12)) {
          setErrorMessage('sAuthorizedStreetAddr12.primeErr');
          return;
        } else {
          unSetErrorMessage('sAuthorizedStreetAddr12.primeErr');
        }
      }

      function validatesAuthorizedStreetAddr22(sAuthorizedStreetAddr22, sSecondaryFirstName2, sSecondaryLastName2, sAuthorizedDOB2, sAuthorizedStreetAddr12, sAuthorizedApartment2, sAuthorizedCity2, sAuthorizedState12, sAuthorizedZip2) {
        /*<dependent>sSecondaryFirstName2,sSecondaryLastName2,sAuthorizedDOB2,sAuthorizedStreetAddr12,sAuthorizedApartment2,sAuthorizedCity2,sAuthorizedState12,sAuthorizedZip2</dependent> */
        unSetErrorMessage('sAuthorizedStreetAddr22.vulgarCheck');
        unSetErrorMessage('sAuthorizedStreetAddr22.invalid');
        var fieldLength = sAuthorizedStreetAddr22.length;
        var alphabetsRegEx = /^[a-zA-Z0-9\s.,'\-\#\$\/]+$/;
        var beginRegEx = /^[^a-zA-Z0-9\s.,'\-\#\$\/].*$/;
        var sSecondaryFirst2 = sSecondaryFirstName2.replace(/^\s*|\s*$/g, "");
        var sSecondaryFirstName2Length = sSecondaryFirst2.length;
        var sSecondaryLastName2 = sSecondaryLastName2.replace(/^\s*|\s*$/g, "");
        var sSecondaryLastName2Length = sSecondaryLastName2.length;
        var sAuthorizedDOB2Length = sAuthorizedDOB2.length;
        var sAuthorizedStreetAddr12Length = sAuthorizedStreetAddr12.length;
        var sAuthorizedApartment2Length = sAuthorizedApartment2.length;
        var sAuthorizedCity2Length = sAuthorizedCity2.length;
        var sAuthorizedState12Length = sAuthorizedState12.length;
        var sAuthorizedZip2Length = sAuthorizedZip2.length;
        if ((fieldLength > 0) && (beginRegEx.test(sAuthorizedStreetAddr22))) {
          setErrorMessage('sAuthorizedStreetAddr22.invalid');
          return;
        } else {
          unSetErrorMessage('sAuthorizedStreetAddr22.invalid');
        }
        if (fieldLength > 40) {
          setErrorMessage('sAuthorizedStreetAddr22.maxlength');
          return;
        } else {
          unSetErrorMessage('sAuthorizedStreetAddr22.maxlength');
        }
        if ((fieldLength > 0) && (!alphabetsRegEx.test(sAuthorizedStreetAddr22))) {
          setErrorMessage('sAuthorizedStreetAddr22.invalid');
          return;
        } else {
          unSetErrorMessage('sAuthorizedStreetAddr22.invalid');
        }
        if ((fieldLength > 0) && sSecondaryFirstName2Length == 0) {
          setErrorMessage('sSecondaryFirstName2.required');
          if ((fieldLength > 0) && sSecondaryLastName2Length == 0) {
            setErrorMessage('sSecondaryLastName2.required');
          }
          if ((fieldLength > 0) && sAuthorizedDOB2Length == 0) {
            setErrorMessage('sAuthorizedDOB2.required');
          }
          if ((fieldLength > 0) && sAuthorizedStreetAddr12Length == 0) {
            setErrorMessage('sAuthorizedStreetAddr12.required');
          }
          return;
        }
        if (fieldLength == 0 && sSecondaryFirstName2Length == 0 && sSecondaryLastName2Length == 0 && sAuthorizedDOB2Length == 0 && sAuthorizedStreetAddr12Length == 0 && sAuthorizedApartment2Length == 0 && sAuthorizedCity2Length == 0 &&
          sAuthorizedState12Length == 0 && sAuthorizedZip2Length == 0) {
          unSetErrorMessage('sSecondaryLastName2.required');
          removeSimplyErrors('sSecondaryLastName2');
          unSetErrorMessage('sSecondaryFirstName2.required');
          removeSimplyErrors('sSecondaryFirstName2');
          unSetErrorMessage('sAuthorizedDOB2.required');
          removeSimplyErrors('sAuthorizedDOB2');
          unSetErrorMessage('sAuthorizedStreetAddr12.required');
          removeSimplyErrors('sAuthorizedStreetAddr12');
          unSetErrorMessage('sAuthorizedCity2.required');
          removeSimplyErrors('sAuthorizedCity2');
          unSetErrorMessage('sAuthorizedState12.required');
          removeSimplyErrors('sAuthorizedState12');
          unSetErrorMessage('sAuthorizedZip2.required');
          removeSimplyErrors('sAuthorizedZip2');
        }
        checkVulgarity(sAuthorizedStreetAddr22, 'sAuthorizedStreetAddr22.vulgarCheck');
      }

      function validatesAuthorizedCity2(sAuthorizedCity2, sSecondaryFirstName2, sSecondaryLastName2, sAuthorizedDOB2, sAuthorizedStreetAddr12, sAuthorizedStreetAddr22, sAuthorizedApartment2, sAuthorizedState12, sAuthorizedZip2, isNonRespPage) {
        /*<dependent>sSecondaryFirstName2,sSecondaryLastName2,sAuthorizedDOB2,sAuthorizedStreetAddr12,sAuthorizedStreetAddr22,sAuthorizedApartment2,sAuthorizedState12,sAuthorizedZip2,isNonRespPage</dependent>*/
        unSetErrorMessage('sAuthorizedCity2.invalidCharacters');
        var fieldLength = sAuthorizedCity2.length;
        var sSecondaryFirst2 = sSecondaryFirstName2.replace(/^\s*|\s*$/g, "");
        var sSecondaryFirstName2Length = sSecondaryFirst2.length;
        var sSecondaryLastName2 = sSecondaryLastName2.replace(/^\s*|\s*$/g, "");
        var sSecondaryLastName2Length = sSecondaryLastName2.length;
        var sAuthorizedDOB2Length = sAuthorizedDOB2.length;
        var sAuthorizedStreetAddr12Length = sAuthorizedStreetAddr12.length;
        var sAuthorizedStreetAddr22Length = sAuthorizedStreetAddr22.length;
        var sAuthorizedApartment2Length = sAuthorizedApartment2.length;
        var sAuthorizedState12Length = sAuthorizedState12.length;
        var sAuthorizedZip2Length = sAuthorizedZip2.length;
        var isZipCodeBeforeState = 'false';
        if (isNonRespPage == 'true') {
          isZipCodeBeforeState = 'true';
        }
        var alphabetsRegEx = /^[a-zA-Z0-9\s\-']+$/;
        var beginRegEx = /^[^a-zA-Z0-9].*$/;
        if (fieldLength == 0 && (sSecondaryFirstName2Length > 0 || sSecondaryLastName2Length > 0 || sAuthorizedDOB2Length > 0 || sAuthorizedStreetAddr12Length > 0 || sAuthorizedStreetAddr22Length > 0 || sAuthorizedApartment2Length > 0 ||
            sAuthorizedState12Length > 0 || sAuthorizedZip2Length > 0)) {
          setErrorMessage('sAuthorizedCity2.required');
          return;
        } else {
          unSetErrorMessage('sAuthorizedCity2.required');
        }
        if (fieldLength > 32) {
          setErrorMessage('sAuthorizedCity2.maxlength');
          return;
        } else {
          unSetErrorMessage('sAuthorizedCity2.maxlength');
        }
        if (fieldLength > 0 && beginRegEx.test(sAuthorizedCity2)) {
          setErrorMessage('sAuthorizedCity2.invalidCharacters');
          return;
        } else {
          unSetErrorMessage('sAuthorizedCity2.invalidCharacters');
        }
        if (fieldLength > 0 && !alphabetsRegEx.test(sAuthorizedCity2)) {
          setErrorMessage('sAuthorizedCity2.invalidCharacters');
          return;
        } else {
          unSetErrorMessage('sAuthorizedCity2.invalidCharacters');
        }
        if (fieldLength > 0 && sSecondaryFirstName2Length == 0) {
          setErrorMessage('sSecondaryFirstName2.required');
          if (fieldLength > 0 && sSecondaryLastName2Length == 0) {
            setErrorMessage('sSecondaryLastName2.required');
          }
          if (fieldLength > 0 && sAuthorizedDOB2Length == 0) {
            setErrorMessage('sAuthorizedDOB2.required');
          }
          if (fieldLength > 0 && sAuthorizedStreetAddr12Length == 0) {
            setErrorMessage('sAuthorizedStreetAddr12.required');
          }
          if (isZipCodeBeforeState == "true" && fieldLength > 0 && sAuthorizedZip2Length == 0) {
            setErrorMessage('sAuthorizedZip2.required');
          }
          return;
        }
        if (fieldLength > 0 && sSecondaryLastName2Length == 0) {
          setErrorMessage('sSecondaryLastName2.required');
          if (fieldLength > 0 && sAuthorizedDOB2Length == 0) {
            setErrorMessage('sAuthorizedDOB2.required');
          }
          if (fieldLength > 0 && sAuthorizedStreetAddr12Length == 0) {
            setErrorMessage('sAuthorizedStreetAddr12.required');
          }
          if (isZipCodeBeforeState == "true" && fieldLength > 0 && sAuthorizedZip2Length == 0) {
            setErrorMessage('sAuthorizedZip2.required');
          }
          return;
        }
        if (fieldLength > 0 && sAuthorizedDOB2Length == 0) {
          setErrorMessage('sAuthorizedDOB2.required');
          if (fieldLength > 0 && sAuthorizedStreetAddr12Length == 0) {
            setErrorMessage('sAuthorizedStreetAddr12.required');
          }
          if (isZipCodeBeforeState == "true" && fieldLength > 0 && sAuthorizedZip2Length == 0) {
            setErrorMessage('sAuthorizedZip2.required');
          }
          return;
        }
        if (fieldLength > 0 && sAuthorizedStreetAddr12Length == 0) {
          setErrorMessage('sAuthorizedStreetAddr12.required');
          if (isZipCodeBeforeState == "true" && fieldLength > 0 && sAuthorizedZip2Length == 0) {
            setErrorMessage('sAuthorizedZip2.required');
          }
          return;
        }
        if (isZipCodeBeforeState == "true" && fieldLength > 0 && sAuthorizedZip2Length == 0) {
          setErrorMessage('sAuthorizedZip2.required');
          return;
        }
        if ((sSecondaryFirstName2Length > 0 || sSecondaryLastName2Length > 0) && sAuthorizedStreetAddr12Length == 0) {
          setErrorMessage('sAuthorizedStreetAddr12.required');
          return;
        }
        if (fieldLength == 0 && sSecondaryFirstName2Length == 0 && sSecondaryLastName2Length == 0 && sAuthorizedDOB2Length == 0 && sAuthorizedStreetAddr12Length == 0 && sAuthorizedStreetAddr22Length == 0 && sAuthorizedApartment2Length == 0 &&
          sAuthorizedZip2Length == 0 && sAuthorizedState12Length == 0) {
          unSetErrorMessage('sSecondaryLastName2.required');
          removeSimplyErrors('sSecondaryLastName2');
          unSetErrorMessage('sSecondaryFirstName2.required');
          removeSimplyErrors('sSecondaryFirstName2');
          unSetErrorMessage('sAuthorizedDOB2.required');
          removeSimplyErrors('sAuthorizedDOB2');
          unSetErrorMessage('sAuthorizedStreetAddr12.required');
          removeSimplyErrors('sAuthorizedStreetAddr12');
          unSetErrorMessage('sAuthorizedCity2.required');
          removeSimplyErrors('sAuthorizedCity2');
          unSetErrorMessage('sAuthorizedState12.required');
          removeSimplyErrors('sAuthorizedState12');
          unSetErrorMessage('sAuthorizedZip2.required');
          removeSimplyErrors('sAuthorizedZip2');
        }
        checkVulgarity(sAuthorizedCity2, 'sAuthorizedCity2.vulgarCheck');
      }

      function validatesAuthorizedState12(sAuthorizedState12, sSecondaryFirstName2, sSecondaryLastName2, sAuthorizedDOB2, sAuthorizedStreetAddr12, sAuthorizedStreetAddr22, sAuthorizedApartment2, sAuthorizedCity2, sAuthorizedZip2, prefillState12,
        isNonRespPage) {
        /*<dependent>sSecondaryFirstName2,sSecondaryLastName2,sAuthorizedDOB2,sAuthorizedStreetAddr12,sAuthorizedStreetAddr22,sAuthorizedApartment2,sAuthorizedCity2,sAuthorizedZip2,prefillState12,isNonRespPage</dependent>*/
        unSetErrorMessage('sAuthorizedState12.required');
        unSetErrorMessage('sAuthorizedState12.invalidCharacters');
        var fieldLength = sAuthorizedState12.length;
        var alphabetsRegEx = /^[a-zA-Z]+$/;
        var sSecondaryFirst2 = sSecondaryFirstName2.replace(/^\s*|\s*$/g, "");
        var sSecondaryFirstName2Length = sSecondaryFirst2.length;
        var sSecondaryLastName2 = sSecondaryLastName2.replace(/^\s*|\s*$/g, "");
        var sSecondaryLastName2Length = sSecondaryLastName2.length;
        var sAuthorizedDOB2Length = sAuthorizedDOB2.length;
        var sAuthorizedStreetAddr12Length = sAuthorizedStreetAddr12.length;
        var sAuthorizedStreetAddr22Length = sAuthorizedStreetAddr22.length;
        var sAuthorizedCity2Length = sAuthorizedCity2.length;
        var sAuthorizedApartment2Length = sAuthorizedApartment2.length;
        var sAuthorizedZip2Length = sAuthorizedZip2.length;
        var isZipCodeBeforeState = 'false';
        if (isNonRespPage == 'true') {
          isZipCodeBeforeState = 'true';
        }
        if (fieldLength == 0 && (sSecondaryFirstName2Length > 0 || sSecondaryLastName2Length > 0 || sAuthorizedDOB2Length > 0 || sAuthorizedStreetAddr12Length > 0 || sAuthorizedStreetAddr22Length > 0 || sAuthorizedApartment2Length > 0 ||
            sAuthorizedCity2Length > 0)) {
          setErrorMessage('sAuthorizedState12.required');
          return;
        } else {
          unSetErrorMessage('sAuthorizedState12.required');
        }
        if (!alphabetsRegEx.test(sAuthorizedState12) && (sSecondaryFirstName2Length > 0 || sSecondaryLastName2Length > 0 || sAuthorizedDOB2Length > 0 || sAuthorizedStreetAddr12Length > 0 || sAuthorizedStreetAddr22Length > 0 ||
            sAuthorizedApartment2Length > 0 || sAuthorizedCity2Length > 0)) {
          setErrorMessage('sAuthorizedState12.invalidCharacters');
          return;
        } else {
          unSetErrorMessage('sAuthorizedState12.invalidCharacters');
        }
        if (fieldLength > 0 && sSecondaryFirstName2Length == 0) {
          setErrorMessage('sSecondaryFirstName2.required');
          if (fieldLength > 0 && sSecondaryLastName2Length == 0) {
            setErrorMessage('sSecondaryLastName2.required');
          }
          if (fieldLength > 0 && sAuthorizedDOB2Length == 0) {
            setErrorMessage('sAuthorizedDOB2.required');
          }
          if (fieldLength > 0 && sAuthorizedStreetAddr12Length == 0) {
            setErrorMessage('sAuthorizedStreetAddr12.required');
          }
          if (isZipCodeBeforeState == "true" && fieldLength > 0 && sAuthorizedZip2Length == 0) {
            setErrorMessage('sAuthorizedZip2.required');
          }
          if (fieldLength > 0 && sAuthorizedCity2Length == 0) {
            setErrorMessage('sAuthorizedCity2.required');
          }
          return;
        }
        if (fieldLength > 0 && sSecondaryLastName2Length == 0) {
          setErrorMessage('sSecondaryLastName2.required');
          if (fieldLength > 0 && sAuthorizedDOB2Length == 0) {
            setErrorMessage('sAuthorizedDOB2.required');
          }
          if (fieldLength > 0 && sAuthorizedStreetAddr12Length == 0) {
            setErrorMessage('sAuthorizedStreetAddr12.required');
          }
          if (isZipCodeBeforeState == "true" && fieldLength > 0 && sAuthorizedZip2Length == 0) {
            setErrorMessage('sAuthorizedZip2.required');
          }
          if (fieldLength > 0 && sAuthorizedCity2Length == 0) {
            setErrorMessage('sAuthorizedCity2.required');
          }
          return;
        }
        if (fieldLength > 0 && sAuthorizedDOB2Length == 0) {
          setErrorMessage('sAuthorizedDOB2.required');
          if (fieldLength > 0 && sAuthorizedStreetAddr12Length == 0) {
            setErrorMessage('sAuthorizedStreetAddr12.required');
          }
          if (isZipCodeBeforeState == "true" && fieldLength > 0 && sAuthorizedZip2Length == 0) {
            setErrorMessage('sAuthorizedZip2.required');
          }
          if (fieldLength > 0 && sAuthorizedCity2Length == 0) {
            setErrorMessage('sAuthorizedCity2.required');
          }
          return;
        }
        if (fieldLength > 0 && sAuthorizedStreetAddr12Length == 0) {
          setErrorMessage('sAuthorizedStreetAddr12.required');
          if (isZipCodeBeforeState == "true" && fieldLength > 0 && sAuthorizedZip2Length == 0) {
            setErrorMessage('sAuthorizedZip2.required');
          }
          if (fieldLength > 0 && sAuthorizedCity2Length == 0) {
            setErrorMessage('sAuthorizedCity2.required');
          }
          return;
        }
        if (isZipCodeBeforeState == "true" && fieldLength > 0 && sAuthorizedZip2Length == 0) {
          setErrorMessage('sAuthorizedZip2.required');
          if (fieldLength > 0 && sAuthorizedCity2Length == 0) {
            setErrorMessage('sAuthorizedCity2.required');
          }
          return;
        }
        if (fieldLength > 0 && sAuthorizedCity2Length == 0) {
          setErrorMessage('sAuthorizedCity2.required');
          return;
        }
        if (isZipCodeBeforeState == "false") {
          if (fieldLength > 0 && sAuthorizedZip2Length > 0) {
            if (prefillState12 == '' || sAuthorizedState12 == prefillState12) {
              unSetErrorMessage('sAuthorizedZip2.required');
            } else {
              setErrorMessage('sAuthorizedZip2.required');
              return;
            }
          }
        }
        if (sSecondaryFirstName2Length > 0 || sSecondaryLastName2Length > 0) {
          if (sAuthorizedDOB2Length == 0) {
            setErrorMessage('sAuthorizedDOB2.required');
            if (sAuthorizedStreetAddr12Length == 0) {
              setErrorMessage('sAuthorizedStreetAddr12.required');
              if (sAuthorizedCity2Length == 0) {
                setErrorMessage('sAuthorizedCity2.required');
              }
            }
            return;
          }
          if (sAuthorizedStreetAddr12Length == 0) {
            setErrorMessage('sAuthorizedStreetAddr12.required');
            if (sAuthorizedCity2Length == 0) {
              setErrorMessage('sAuthorizedCity2.required');
            }
            return;
          }
          if (sAuthorizedCity2Length == 0) {
            setErrorMessage('sAuthorizedCity2.required');
            return;
          }
        }
        var isValid = false;
        var element;
        var validState = new Array("AK", "AL", "AP", "AR", "AZ", "CA", "CO", "CT", "DC", "DE", "FL", "GA", "GU", "HI", "IA", "ID", "IL", "IN", "KS", "KY", "LA", "MA", "MD", "ME", "MI", "MN", "MO", "MS", "MT", "NC", "ND", "NE", "NH", "NJ", "NM", "NV",
          "NY", "OH", "OK", "OR", "PA", "PR", "RI", "SC", "SD", "TN", "TX", "UT", "VA", "VI", "VT", "WA", "WI", "WV", "WY", "AA", "AE", "");
        for (index in validState) {
          element = validState[index];
          if (sAuthorizedState12.toUpperCase() == element) {
            isValid = true;
            break;
          } else {
            isValid = false;
          }
        }
        if (!isValid) {
          setErrorMessage('sAuthorizedState12.invalidCharacters');
          return;
        } else {
          unSetErrorMessage('sAuthorizedState12.invalidCharacters');
        }
        if (fieldLength == 0 && sSecondaryFirstName2Length == 0 && sSecondaryLastName2Length == 0 && sAuthorizedDOB2Length == 0 && sAuthorizedStreetAddr12Length == 0 && sAuthorizedStreetAddr22Length == 0 && sAuthorizedApartment2Length == 0 &&
          sAuthorizedCity2Length == 0 && sAuthorizedZip2Length == 0) {
          unSetErrorMessage('sSecondaryLastName2.required');
          removeSimplyErrors('sSecondaryLastName2');
          unSetErrorMessage('sSecondaryFirstName2.required');
          removeSimplyErrors('sSecondaryFirstName2');
          unSetErrorMessage('sAuthorizedDOB2.required');
          removeSimplyErrors('sAuthorizedDOB2');
          unSetErrorMessage('sAuthorizedStreetAddr12.required');
          removeSimplyErrors('sAuthorizedStreetAddr12');
          unSetErrorMessage('sAuthorizedCity2.required');
          removeSimplyErrors('sAuthorizedCity2');
          unSetErrorMessage('sAuthorizedState12.required');
          removeSimplyErrors('sAuthorizedState12');
          unSetErrorMessage('sAuthorizedZip2.required');
          removeSimplyErrors('sAuthorizedZip2');
        }
      }

      function validatesAuthorizedZip2(sAuthorizedZip2, sSecondaryFirstName2, sSecondaryLastName2, sAuthorizedDOB2, sAuthorizedStreetAddr12, sAuthorizedStreetAddr22, sAuthorizedApartment2, sAuthorizedCity2, sAuthorizedState12, prefillState12,
        isNonRespPage) {
        /*<dependent>sSecondaryFirstName2,sSecondaryLastName2,sAuthorizedDOB2,sAuthorizedStreetAddr12,sAuthorizedStreetAddr22,sAuthorizedApartment2,sAuthorizedCity2,sAuthorizedState12,prefillState12,isNonRespPage</dependent> */
        var fieldLength = sAuthorizedZip2.length;
        var sSecondaryFirst2 = sSecondaryFirstName2.replace(/^\s*|\s*$/g, "");
        var sSecondaryFirstName2Length = sSecondaryFirst2.length;
        var sSecondaryLastName2 = sSecondaryLastName2.replace(/^\s*|\s*$/g, "");
        var sSecondaryLastName2Length = sSecondaryLastName2.length;
        var sAuthorizedDOB2Length = sAuthorizedDOB2.length;
        var sAuthorizedStreetAddr12Length = sAuthorizedStreetAddr12.length;
        var sAuthorizedStreetAddr22Length = sAuthorizedStreetAddr22.length;
        var sAuthorizedApartment2Length = sAuthorizedApartment2.length;
        var sAuthorizedCity2Length = sAuthorizedCity2.length;
        var sAuthorizedState12Length = sAuthorizedState12.length;
        var alphabetsRegEx = /^[0-9]+$/;
        var isZipCodeBeforeState = 'false';
        if (isNonRespPage == 'true') {
          isZipCodeBeforeState = 'true';
        }
        if ((fieldLength < 5 || fieldLength > 5) && (sSecondaryFirstName2Length > 0 || sSecondaryLastName2Length > 0 || sAuthorizedDOB2Length > 0 || sAuthorizedStreetAddr12Length > 0 || sAuthorizedStreetAddr22Length > 0 ||
            sAuthorizedApartment2Length > 0 || sAuthorizedCity2Length > 0 || sAuthorizedState12Length > 0)) {
          setErrorMessage('sAuthorizedZip2.required');
          return;
        } else {
          unSetErrorMessage('sAuthorizedZip2.required');
        }
        if (fieldLength > 0 && fieldLength < 5) {
          setErrorMessage('sAuthorizedZip2.required');
          return;
        } else {
          unSetErrorMessage('sAuthorizedZip2.required');
        }
        if (!alphabetsRegEx.test(sAuthorizedZip2) && (fieldLength > 0)) {
          setErrorMessage('sAuthorizedZip2.required');
          return;
        } else {
          unSetErrorMessage('sAuthorizedZip2.required');
        }
        if ((fieldLength == 5) && sSecondaryFirstName2Length == 0) {
          setErrorMessage('sSecondaryFirstName2.required');
          if ((fieldLength == 5) && sSecondaryLastName2Length == 0) {
            setErrorMessage('sSecondaryLastName2.required');
          }
          if ((fieldLength == 5) && sAuthorizedDOB2Length == 0) {
            setErrorMessage('sAuthorizedDOB2.required');
          }
          if ((fieldLength == 5) && sAuthorizedStreetAddr12Length == 0) {
            setErrorMessage('sAuthorizedStreetAddr12.required');
          }
          if ((fieldLength == 5) && sAuthorizedCity2Length == 0) {
            setErrorMessage('sAuthorizedCity2.required');
          }
          if ((fieldLength == 5) && sAuthorizedState12Length == 0) {
            setErrorMessage('sAuthorizedState12.required');
          }
          return;
        }
        if ((fieldLength == 5) && sSecondaryLastName2Length == 0) {
          setErrorMessage('sSecondaryLastName2.required');
          if ((fieldLength == 5) && sAuthorizedDOB2Length == 0) {
            setErrorMessage('sAuthorizedDOB2.required');
          }
          if (fieldLength == 5 && sAuthorizedStreetAddr12Length == 0) {
            setErrorMessage('sAuthorizedStreetAddr12.required');
          }
          if (fieldLength == 5 && sAuthorizedCity2Length == 0) {
            setErrorMessage('sAuthorizedCity2.required');
          }
          if ((fieldLength == 5) && sAuthorizedState12Length == 0) {
            setErrorMessage('sAuthorizedState12.required');
          }
          return;
        }
        if ((fieldLength == 5) && sAuthorizedDOB2Length == 0) {
          setErrorMessage('sAuthorizedDOB2.required');
          if (fieldLength == 5 && sAuthorizedStreetAddr12Length == 0) {
            setErrorMessage('sAuthorizedStreetAddr12.required');
          }
          if (fieldLength == 5 && sAuthorizedCity2Length == 0) {
            setErrorMessage('sAuthorizedCity2.required');
          }
          if ((fieldLength == 5) && sAuthorizedState12Length == 0) {
            setErrorMessage('sAuthorizedState12.required');
          }
          return;
        }
        if ((fieldLength == 5) && sAuthorizedStreetAddr12Length == 0) {
          setErrorMessage('sAuthorizedStreetAddr12.required');
          if (fieldLength == 5 && sAuthorizedCity2Length == 0) {
            setErrorMessage('sAuthorizedCity2.required');
          }
          if ((fieldLength == 5) && sAuthorizedState12Length == 0) {
            setErrorMessage('sAuthorizedState12.required');
          }
          return;
        }
        if ((fieldLength == 5) && sAuthorizedCity2Length == 0) {
          setErrorMessage('sAuthorizedCity2.required');
          if ((fieldLength == 5) && sAuthorizedState12Length == 0) {
            setErrorMessage('sAuthorizedState12.required');
          }
          return;
        }
        if ((fieldLength == 5) && sAuthorizedState12Length == 0) {
          setErrorMessage('sAuthorizedState12.required');
          return;
        }
        if (sSecondaryFirstName2Length > 0 || sSecondaryLastName2Length > 0) {
          if (sAuthorizedDOB2Length == 0) {
            setErrorMessage('sAuthorizedDOB2.required');
            if (sAuthorizedStreetAddr12Length == 0) {
              setErrorMessage('sAuthorizedStreetAddr12.required');
              if (sAuthorizedCity2Length == 0) {
                setErrorMessage('sAuthorizedCity2.required');
                if (sAuthorizedState12Length == 0) {
                  setErrorMessage('sAuthorizedState12.required');
                }
              }
            }
            return;
          }
          if (sAuthorizedStreetAddr12Length == 0) {
            setErrorMessage('sAuthorizedStreetAddr12.required');
            if (sAuthorizedCity2Length == 0) {
              setErrorMessage('sAuthorizedCity2.required');
              if (sAuthorizedState12Length == 0) {
                setErrorMessage('sAuthorizedState12.required');
              }
            }
            return;
          }
          if (sAuthorizedCity2Length == 0) {
            setErrorMessage('sAuthorizedCity2.required');
            if (sAuthorizedState12Length == 0) {
              setErrorMessage('sAuthorizedState12.required');
            }
            return;
          }
          if (sAuthorizedState12Length == 0) {
            setErrorMessage('sAuthorizedState12.required');
            return;
          }
        }
        if (isZipCodeBeforeState == "false") {
          if (fieldLength > 0 && sAuthorizedState12Length > 0) {
            if (prefillState12 == '' || sAuthorizedState12 == prefillState12) {
              unSetErrorMessage('sAuthorizedZip2.required');
            } else {
              setErrorMessage('sAuthorizedZip2.required');
              return;
            }
          }
        }
        if (fieldLength == 0 && sSecondaryFirstName2Length == 0 && sSecondaryLastName2Length == 0 && sAuthorizedDOB2Length == 0 && sAuthorizedStreetAddr12Length == 0 && sAuthorizedStreetAddr22Length == 0 && sAuthorizedApartment2Length == 0 &&
          sAuthorizedCity2Length == 0 && sAuthorizedState12Length == 0) {
          unSetErrorMessage('sSecondaryLastName2.required');
          removeSimplyErrors('sSecondaryLastName2');
          unSetErrorMessage('sSecondaryFirstName2.required');
          removeSimplyErrors('sSecondaryFirstName2');
          unSetErrorMessage('sAuthorizedDOB2.required');
          removeSimplyErrors('sAuthorizedDOB2');
          unSetErrorMessage('sAuthorizedStreetAddr12.required');
          removeSimplyErrors('sAuthorizedStreetAddr12');
          unSetErrorMessage('sAuthorizedCity2.required');
          removeSimplyErrors('sAuthorizedCity2');
          unSetErrorMessage('sAuthorizedState12.required');
          removeSimplyErrors('sAuthorizedState12');
        }
        checkVulgarity(sAuthorizedZip2, 'sAuthorizedZip2');
      }

      function validatesSecondaryFirstName3(sSecondaryFirstName3, sSecondaryLastName3, sSecondaryMiddleInitial3, sAuthorizedDOB3, sAuthorizedStreetAddr13, sAuthorizedStreetAddr23, sAuthorizedApartment3, sAuthorizedCity3, sAuthorizedState13,
        sAuthorizedZip3, sAuth3AddrSameAsPrimary) {
        /*<dependent>sSecondaryLastName3,sSecondaryMiddleInitial3,sAuthorizedDOB3,sAuthorizedStreetAddr13,sAuthorizedStreetAddr23,sAuthorizedApartment3,sAuthorizedCity3,sAuthorizedState13,sAuthorizedZip3,sAuth3AddrSameAsPrimary</dependent>*/
        unSetErrorMessage('sSecondaryFirstName3.required');
        unSetErrorMessage('sSecondaryFirstName3.vulgarCheck');
        unSetErrorMessage('sSecondaryFirstName3.invalidBegin');
        unSetErrorMessage('sSecondaryFirstName3.invalidCharacters');
        var fieldLength = sSecondaryFirstName3.length;
        var sSecondaryLast3 = sSecondaryLastName3.replace(/^\s*|\s*$/g, "");
        var sSecondaryLastNameLength = sSecondaryLast3.length;
        var secondMiddleName3FieldLength = sSecondaryMiddleInitial3.length;
        var alphabetsRegEx = /^[a-zA-Z\s\-']+$/;
        var beginRegEx = /^[^a-zA-Z].*$/;
        var sAuthorizedDOB3Length = sAuthorizedDOB3.length;
        var sAuthorizedStreetAddr13Length = sAuthorizedStreetAddr13.length;
        var sAuthorizedStreetAddr23Length = sAuthorizedStreetAddr23.length;
        var sAuthorizedApartment3Length = sAuthorizedApartment3.length;
        var sAuthorizedCity3Length = sAuthorizedCity3.length;
        var sAuthorizedState13Length = sAuthorizedState13.length;
        var sAuthorizedZip3Length = sAuthorizedZip3.length;
        if (fieldLength > 0 && beginRegEx.test(sSecondaryFirstName3)) {
          setErrorMessage('sSecondaryFirstName3.invalidBegin');
          return;
        } else {
          unSetErrorMessage('sSecondaryFirstName3.invalidBegin');
        }
        if (fieldLength > 0 && !alphabetsRegEx.test(sSecondaryFirstName3)) {
          setErrorMessage('sSecondaryFirstName3.invalidCharacters');
          return;
        } else {
          unSetErrorMessage('sSecondaryFirstName3.invalidCharacters');
        }
        if ((sSecondaryLastNameLength > 0 || sAuthorizedDOB3Length > 0 || sAuthorizedStreetAddr13Length > 0 || sAuthorizedStreetAddr23Length > 0 || sAuthorizedApartment3Length > 0 || sAuthorizedCity3Length > 0 || sAuthorizedZip3Length > 0 ||
            sAuthorizedState13Length > 0 || sAuth3AddrSameAsPrimary == 'Y') && (fieldLength == 0)) {
          setErrorMessage('sSecondaryFirstName3.required');
          return;
        } else {
          unSetErrorMessage('sSecondaryFirstName3.required');
        }
        if ((sSecondaryLastNameLength == 0) && (fieldLength == 0) && (secondMiddleName3FieldLength > 0 || sAuthorizedStreetAddr13Length > 0 || sAuthorizedStreetAddr23Length > 0 || sAuthorizedApartment3Length > 0 || sAuthorizedCity3Length > 0 ||
            sAuthorizedState13Length > 0 || sAuthorizedZip3Length > 0 || sAuth3AddrSameAsPrimary == 'Y')) {
          setErrorMessage('sSecondaryFirstName3.required');
          setErrorMessage('sSecondaryLastName3.required');
          return;
        } else {
          unSetErrorMessage('sSecondaryFirstName3.required');
          unSetErrorMessage('sSecondaryLastName3.required');
        }
        if (fieldLength > 0 && sSecondaryLastNameLength == 0 && (sAuthorizedDOB3Length > 0 || sAuthorizedStreetAddr13Length > 0 || sAuthorizedStreetAddr23Length > 0 || sAuthorizedApartment3Length > 0 || sAuthorizedCity3Length > 0 ||
            sAuthorizedState13Length > 0 || sAuthorizedZip3Length > 0 || sAuth3AddrSameAsPrimary == 'Y')) {
          setErrorMessage('sSecondaryLastName3.required');
        }
        if (fieldLength == 0 && sSecondaryLastNameLength == 0 && sAuthorizedDOB3Length == 0 && sAuthorizedStreetAddr13Length == 0 && sAuthorizedStreetAddr23Length == 0 && sAuthorizedApartment3Length == 0 && sAuthorizedCity3Length == 0 &&
          sAuthorizedState13Length == 0 && sAuthorizedZip3Length == 0) {
          unSetErrorMessage('sSecondaryLastName3.required');
          removeSimplyErrors('sSecondaryLastName3');
          unSetErrorMessage('sAuthorizedDOB3.required');
          removeSimplyErrors('sAuthorizedDOB3');
          unSetErrorMessage('sAuthorizedStreetAddr13.required');
          removeSimplyErrors('sAuthorizedStreetAddr13');
          unSetErrorMessage('sAuthorizedCity3.required');
          removeSimplyErrors('sAuthorizedCity3');
          unSetErrorMessage('sAuthorizedState13.required');
          removeSimplyErrors('sAuthorizedState13');
          unSetErrorMessage('sAuthorizedZip3.required');
          removeSimplyErrors('sAuthorizedZip3');
        }
        checkVulgarity(sSecondaryFirstName3, 'sSecondaryFirstName3.vulgarCheck');
      }

      function validatesSecondaryMiddleInitial3(sSecondaryMiddleInitial3) {
        unSetErrorMessage('sSecondaryMiddleInitial3.invalidCharacters');
        unSetErrorMessage('sSecondaryMiddleInitial3.required');
        var fieldLength = sSecondaryMiddleInitial3.length;
        var alphabetsRegEx = /^[a-zA-Z]+$/;
        if (fieldLength > 0 && !alphabetsRegEx.test(sSecondaryMiddleInitial3)) {
          setErrorMessage('sSecondaryMiddleInitial3.invalidCharacters');
          return;
        } else {
          unSetErrorMessage('sSecondaryMiddleInitial3.invalidCharacters');
        }
      }

      function validatesSecondaryLastName3(sSecondaryLastName3, sFirstName, sLastName, sSecondaryFirstName3, sSecondaryMiddleInitial3, sAuthorizedDOB3, sAuthorizedStreetAddr13, sAuthorizedStreetAddr23, sAuthorizedApartment3, sAuthorizedCity3,
        sAuthorizedState13, sAuthorizedZip3, sAuth3AddrSameAsPrimary) {
        /*<dependent>sFirstName,sLastName,sSecondaryFirstName3,sSecondaryMiddleInitial3,sAuthorizedDOB3,sAuthorizedStreetAddr13,sAuthorizedStreetAddr23,sAuthorizedApartment3,sAuthorizedCity3,sAuthorizedState13,sAuthorizedZip3,sAuth3AddrSameAsPrimary</dependent>*/
        unSetErrorMessage('sSecondaryLastName3.invalidLength');
        unSetErrorMessage('sSecondaryLastName3.required');
        unSetErrorMessage('sSecondaryMiddleInitial3.required');
        unSetErrorMessage('sSecondaryLastName3.vulgarCheck');
        unSetErrorMessage('sSecondaryLastName3.invalidBegin');
        unSetErrorMessage('sSecondaryLastName3.invalidCharacters');
        unSetErrorMessage('sSecondaryLastName3.notassLastName');
        unSetErrorMessage('sSecondaryFirstName3.notassFirstName');
        var sFirst = sFirstName.replace(/^\s*|\s*$/g, "");
        var sLast = sLastName.replace(/^\s*|\s*$/g, "");
        var sSecondaryFirst3 = sSecondaryFirstName3.replace(/^\s*|\s*$/g, "");
        var sSecondaryLast3 = sSecondaryLastName3.replace(/^\s*|\s*$/g, "");
        var fieldLength = sSecondaryLast3.length;
        var secondFirstName3FieldLength = sSecondaryFirst3.length;
        var secondMiddleName3FieldLength = sSecondaryMiddleInitial3.length;
        var alphabetsRegEx = /^[a-zA-Z\s\-']+$/;
        var beginRegEx = /^[^a-zA-Z].*$/;
        var sAuthorizedDOB3Length = sAuthorizedDOB3.length;
        var sAuthorizedStreetAddr13Length = sAuthorizedStreetAddr13.length;
        var sAuthorizedStreetAddr23Length = sAuthorizedStreetAddr23.length;
        var sAuthorizedApartment3Length = sAuthorizedApartment3.length;
        var sAuthorizedCity3Length = sAuthorizedCity3.length;
        var sAuthorizedState13Length = sAuthorizedState13.length;
        var sAuthorizedZip3Length = sAuthorizedZip3.length;
        if ((fieldLength > 0) && (beginRegEx.test(sSecondaryLast3))) {
          setErrorMessage('sSecondaryLastName3.invalidBegin');
          return;
        } else {
          unSetErrorMessage('sSecondaryLastName3.invalidBegin');
        }
        if ((fieldLength > 0) && !alphabetsRegEx.test(sSecondaryLast3)) {
          setErrorMessage('sSecondaryLastName3.invalidCharacters');
          return;
        } else {
          unSetErrorMessage('sSecondaryLastName3.invalidCharacters');
        }
        if ((secondFirstName3FieldLength == 0) && (fieldLength == 0) && (secondMiddleName3FieldLength > 0 || sAuthorizedDOB3Length > 0 || sAuthorizedStreetAddr13Length > 0 || sAuthorizedStreetAddr23Length > 0 || sAuthorizedApartment3Length > 0 ||
            sAuthorizedCity3Length > 0 || sAuthorizedState13Length > 0 || sAuthorizedZip3Length > 0 || sAuth3AddrSameAsPrimary == 'Y')) {
          setErrorMessage('sSecondaryFirstName3.required');
          setErrorMessage('sSecondaryLastName3.required');
          return;
        } else {
          unSetErrorMessage('sSecondaryFirstName3.required');
          unSetErrorMessage('sSecondaryLastName3.required');
        }
        if ((fieldLength > 0 || sAuth3AddrSameAsPrimary == 'Y') && secondFirstName3FieldLength == 0) {
          setErrorMessage('sSecondaryFirstName3.required');
          return;
        } else {
          unSetErrorMessage('sSecondaryFirstName3.required');
        }
        if ((secondFirstName3FieldLength > 0 || sAuth3AddrSameAsPrimary == 'Y') && (fieldLength == 0)) {
          setErrorMessage('sSecondaryLastName3.required');
          return;
        } else {
          unSetErrorMessage('sSecondaryLastName3.required');
        }
        if ((fieldLength > 0) && (sSecondaryFirst3.toUpperCase() == sFirst.toUpperCase()) && (sSecondaryLast3.toUpperCase() == sLast.toUpperCase())) {
          setErrorMessage('sSecondaryFirstName3.notassFirstName');
          setErrorMessage('sSecondaryLastName3.notassLastName');
          return;
        } else {
          unSetErrorMessage('sSecondaryFirstName3.notassFirstName');
          unSetErrorMessage('sSecondaryLastName3.notassLastName');
        }
        if ((fieldLength > 0) && (fieldLength < 2)) {
          setErrorMessage('sSecondaryLastName3.invalidLength');
          return;
        } else {
          unSetErrorMessage('sSecondaryLastName3.invalidLength');
        }
        if (fieldLength == 0 && secondFirstName3FieldLength == 0 && sAuthorizedDOB3Length == 0 && sAuthorizedStreetAddr13Length == 0 && sAuthorizedStreetAddr23Length == 0 && sAuthorizedApartment3Length == 0 && sAuthorizedCity3Length == 0 &&
          sAuthorizedState13Length == 0 && sAuthorizedZip3Length == 0) {
          unSetErrorMessage('sSecondaryFirstName3.required');
          removeSimplyErrors('sSecondaryFirstName3');
          unSetErrorMessage('sAuthorizedDOB3.required');
          removeSimplyErrors('sAuthorizedDOB3');
          unSetErrorMessage('sAuthorizedStreetAddr13.required');
          removeSimplyErrors('sAuthorizedStreetAddr13');
          unSetErrorMessage('sAuthorizedCity3.required');
          removeSimplyErrors('sAuthorizedCity3');
          unSetErrorMessage('sAuthorizedState13.required');
          removeSimplyErrors('sAuthorizedState13');
          unSetErrorMessage('sAuthorizedZip3.required');
          removeSimplyErrors('sAuthorizedZip3');
        }
        checkVulgarity(sSecondaryLastName3, 'sSecondaryLastName3.vulgarCheck');
      }

      function validatesAuthorizedDOB3(sAuthorizedDOB3, sSecondaryFirstName3, sSecondaryLastName3, sAuthorizedStreetAddr13, sAuthorizedStreetAddr23, sAuthorizedApartment3, sAuthorizedCity3, sAuthorizedState13, sAuthorizedZip3,
        sAuth3AddrSameAsPrimary) {
        /*<dependent>sSecondaryFirstName3,sSecondaryLastName3,sAuthorizedStreetAddr13,sAuthorizedStreetAddr23,sAuthorizedApartment3,sAuthorizedCity3,sAuthorizedState13,sAuthorizedZip3,sAuth3AddrSameAsPrimary</dependent>*/
        if (sAuthorizedDOB3.length == 2 && (sAuthorizedDOB3.substring(0, 1) == '/' && sAuthorizedDOB3.substring(1, 2) == '/')) {
          sAuthorizedDOB3 = '';
        }
        unSetErrorMessage('sAuthorizedDOB3.invalid');
        unSetErrorMessage('sAuthorizedDOB3.required');
        unSetErrorMessage('sAuthorizedDOB3.underAge');
        var fieldLength = sAuthorizedDOB3.length;
        var sSecondaryFirst3 = sSecondaryFirstName3.replace(/^\s*|\s*$/g, "");
        var sSecondaryLast3 = sSecondaryLastName3.replace(/^\s*|\s*$/g, "");
        var sSecondaryFirstName3Length = sSecondaryFirst3.length;
        var sSecondaryLastName3Length = sSecondaryLast3.length;
        var sAuthorizedStreetAddr13Length = sAuthorizedStreetAddr13.length;
        var sAuthorizedState13Length = sAuthorizedState13.length;
        var sAuthorizedZip3Length = sAuthorizedZip3.length;
        var sAuthorizedStreetAddr23Length = sAuthorizedStreetAddr23.length;
        var sAuthorizedApartment3Length = sAuthorizedApartment3.length;
        var sAuthorizedCity3Length = sAuthorizedCity3.length;
        var invalidInput = /\\/;
        if (fieldLength == 0 && ((sSecondaryFirstName3Length > 0 || sSecondaryLastName3Length > 0 || sAuthorizedStreetAddr13Length > 0 || sAuthorizedStreetAddr23Length > 0 || sAuthorizedApartment3Length > 0 || sAuthorizedCity3Length > 0 ||
            sAuthorizedState13Length > 0 || sAuthorizedZip3Length > 0) || sAuth3AddrSameAsPrimary == 'Y')) {
          if (sSecondaryFirstName3Length == 0) {
            setErrorMessage('sSecondaryFirstName3.required');
          } else {
            unSetErrorMessage('sSecondaryFirstName3.required');
          }
          if (sSecondaryLastName3Length == 0) {
            setErrorMessage('sSecondaryLastName3.required');
          } else {
            unSetErrorMessage('sSecondaryLastName3.required');
          }
          setErrorMessage('sAuthorizedDOB3.required');
          return;
        } else {
          unSetErrorMessage('sAuthorizedDOB3.required');
        }
        if (fieldLength > 0 && (fieldLength < 10 || fieldLength > 10)) {
          setErrorMessage('sAuthorizedDOB3.invalid');
          return;
        } else {
          unSetErrorMessage('sAuthorizedDOB3.invalid');
        }
        if (invalidInput.test(sAuthorizedDOB3)) {
          setErrorMessage('sAuthorizedDOB3.invalid');
          return;
        } else {
          unSetErrorMessage('sAuthorizedDOB3.invalid');
        }
        var strDate1 = new Date();
        var strDate2 = sAuthorizedDOB3;
        var datDate2 = new Date(strDate2);
        var yearsPassed = 0;
        if (datDate2.getFullYear() > strDate1.getFullYear()) {
          setErrorMessage('sAuthorizedDOB3.invalid');
          return;
        } else {
          unSetErrorMessage('sAuthorizedDOB3.invalid');
        }
        while (datDate2.getFullYear() < strDate1.getFullYear()) {
          datDate2.setYear(datDate2.getFullYear() + 1);
          yearsPassed++;
        }
        if (fieldLength > 0 && !validateDate(sAuthorizedDOB3)) {
          setErrorMessage('sAuthorizedDOB3.invalid');
          return;
        } else {
          unSetErrorMessage('sAuthorizedDOB3.invalid');
        }
        if (fieldLength > 0 && yearsPassed < 0) {
          setErrorMessage('sAuthorizedDOB3.underAge');
          return;
        } else {
          unSetErrorMessage('sAuthorizedDOB3.underAge');
        }
        if (fieldLength > 0 && yearsPassed == 0) {
          if (strDate1.getMonth() < datDate2.getMonth()) {
            setErrorMessage('sAuthorizedDOB3.underAge');
            return;
          }
          if (strDate1.getMonth() == datDate2.getMonth()) {
            if (strDate1.getDate() <= datDate2.getDate()) {
              setErrorMessage('sAuthorizedDOB3.underAge');
              return;
            } else {
              unSetErrorMessage('sAuthorizedDOB3.underAge');
            }
          }
          if (strDate1.getMonth() > datDate2.getMonth()) {
            unSetErrorMessage('sAuthorizedDOB3.underAge');
          }
        }
        if (fieldLength > 0 && yearsPassed > 125) {
          setErrorMessage('sAuthorizedDOB3.invalid');
          return;
        } else {
          unSetErrorMessage('sAuthorizedDOB3.invalid');
        }
        if (fieldLength > 0 && yearsPassed == 125) {
          if (strDate1.getMonth() < datDate2.getMonth()) {
            unSetErrorMessage('sAuthorizedDOB3.invalid');
          }
          if (strDate1.getMonth() == datDate2.getMonth()) {
            if (strDate1.getDate() >= datDate2.getDate()) {
              setErrorMessage('sAuthorizedDOB3.invalid');
              return;
            } else {
              unSetErrorMessage('sAuthorizedDOB3.invalid');
            }
          }
          if (strDate1.getMonth() > datDate2.getMonth()) {
            setErrorMessage('sAuthorizedDOB3.invalid');
            return;
          }
        }
        if ((fieldLength > 0 || sAuthorizedState13Length > 0 || sAuthorizedZip3Length > 0 || sAuthorizedStreetAddr13Length > 0 || sAuthorizedStreetAddr23Length > 0 || sAuthorizedApartment3Length > 0 || sAuth3AddrSameAsPrimary == 'Y') &&
          sSecondaryFirstName3Length == 0) {
          setErrorMessage('sSecondaryFirstName3.required');
          if ((fieldLength > 0 || sAuthorizedState13Length > 0 || sAuthorizedZip3Length > 0 || sAuthorizedStreetAddr13Length > 0 || sAuthorizedStreetAddr23Length > 0 || sAuthorizedApartment3Length > 0 || sAuth3AddrSameAsPrimary == 'Y') &&
            sSecondaryLastName3Length == 0) {
            setErrorMessage('sSecondaryLastName3.required');
          }
          return;
        }
        if ((fieldLength > 0 || sAuthorizedState13Length > 0 || sAuthorizedZip3Length > 0 || sAuthorizedStreetAddr13Length > 0 || sAuthorizedStreetAddr23Length > 0 || sAuthorizedApartment3Length > 0 || sAuth3AddrSameAsPrimary == 'Y') &&
          sSecondaryLastName3Length == 0) {
          setErrorMessage('sSecondaryLastName3.required');
          return;
        }
        if (fieldLength == 0) {
          if (sSecondaryFirstName3Length == 0 && sSecondaryLastName3Length == 0) {
            unSetErrorMessage('sSecondaryFirstName3.required');
            removeSimplyErrors('sSecondaryFirstName3');
            unSetErrorMessage('sSecondaryLastName3.required');
            removeSimplyErrors('sSecondaryLastName3');
          }
        }
        if (fieldLength == 0 && sSecondaryFirstName3Length == 0 && sSecondaryLastName3Length == 0 && sAuthorizedCity3Length == 0 && sAuthorizedStreetAddr13Length == 0 && sAuthorizedStreetAddr23Length == 0 && sAuthorizedApartment3Length == 0 &&
          sAuthorizedState13Length == 0 && sAuthorizedZip3Length == 0) {
          unSetErrorMessage('sSecondaryFirstName3.required');
          removeSimplyErrors('sSecondaryFirstName3');
          unSetErrorMessage('sSecondaryLastName3.required');
          removeSimplyErrors('sSecondaryLastName3');
          unSetErrorMessage('sAuthorizedDOB3.required');
          removeSimplyErrors('sAuthorizedDOB3');
          unSetErrorMessage('sAuthorizedStreetAddr13.required');
          removeSimplyErrors('sAuthorizedStreetAddr13');
          unSetErrorMessage('sAuthorizedCity3.required');
          removeSimplyErrors('sAuthorizedCity3');
          unSetErrorMessage('sAuthorizedState13.required');
          removeSimplyErrors('sAuthorizedState13');
          unSetErrorMessage('sAuthorizedZip3.required');
          removeSimplyErrors('sAuthorizedZip3');
        }

        function validateDate(strValue) {
          var objRegExp = /^\d{1,2}(\/)\d{1,2}\1\d{4}$/;
          var objRegExpYear = /^00[0-9][0-9]/;
          if (!objRegExp.test(strValue)) return false;
          else {
            var strSeparator = strValue.substring(2, 3);
            var arrayDate = strValue.split(strSeparator);
            var year = arrayDate[2];
            if (objRegExpYear.test(year)) return false;
            var arrayLookup = {
              '01': 31,
              '03': 31,
              '04': 30,
              '05': 31,
              '06': 30,
              '07': 31,
              '08': 31,
              '09': 30,
              '10': 31,
              '11': 30,
              '12': 31
            };
            var intDay = parseInt(arrayDate[1], 10);
            if (arrayLookup[arrayDate[0]] != null) {
              if (intDay <= arrayLookup[arrayDate[0]] && intDay != 0) return true;
            }
            var intMonth = parseInt(arrayDate[0], 10);
            var intYear = parseInt(arrayDate[2]);
            if (intYear == 0) {
              return false;
            }
            if (intMonth == 2) {
              if (intDay > 0 && intDay < 29) {
                return true;
              } else if (intDay == 29) {
                if ((intYear % 4 == 0) && (intYear % 100 != 0) || (intYear % 400 == 0)) {
                  return true;
                }
              }
            }
          }
          return false;
        }
      }

      function validatesAuthorizedStreetAddr13(sAuthorizedStreetAddr13, sSecondaryFirstName3, sSecondaryLastName3, sAuthorizedDOB3, sAuthorizedStreetAddr23, sAuthorizedApartment3, sAuthorizedCity3, sAuthorizedState13, sAuthorizedZip3) {
        /*<dependent>sSecondaryFirstName3,sSecondaryLastName3,sAuthorizedDOB3,sAuthorizedStreetAddr23,sAuthorizedApartment3,sAuthorizedCity3,sAuthorizedState13,sAuthorizedZip3</dependent>*/
        unSetErrorMessage('sAuthorizedStreetAddr13.vulgarCheck');
        unSetErrorMessage('sAuthorizedStreetAddr13.required');
        unSetErrorMessage('sAuthorizedStreetAddr13.invalidCharacters');
        var fieldLength = sAuthorizedStreetAddr13.replace(/^\s\s*/, '').replace(/\s\s*$/, '').length;
        var sSecondaryFirst3 = sSecondaryFirstName3.replace(/^\s*|\s*$/g, "");
        var sSecondaryLast3 = sSecondaryLastName3.replace(/^\s*|\s*$/g, "");
        var sSecondaryFirstName3Length = sSecondaryFirst3.length;
        var sSecondaryLastName3Length = sSecondaryLast3.length;
        var sAuthorizedState13Length = sAuthorizedState13.length;
        var sAuthorizedZip3Length = sAuthorizedZip3.length;
        var sAuthorizedDOB3Length = sAuthorizedDOB3.length;
        var sAuthorizedStreetAddr23Length = sAuthorizedStreetAddr23.length;
        var sAuthorizedApartment3Length = sAuthorizedApartment3.length;
        var sAuthorizedCity3Length = sAuthorizedCity3.length;
        var alphabetsRegEx = /^[a-zA-Z0-9\s'\.\-\#\$\/]+$/;
        var beginRegEx = /^[^a-zA-Z0-9\s'\.\-\#\$\/].*$/;
        if (fieldLength == 0 && (sSecondaryFirstName3Length > 0 || sSecondaryLastName3Length > 0 || sAuthorizedDOB3Length > 0 || sAuthorizedStreetAddr23Length > 0 || sAuthorizedApartment3Length > 0 || sAuthorizedCity3Length > 0 ||
            sAuthorizedState13Length > 0 || sAuthorizedZip3Length > 0)) {
          setErrorMessage('sAuthorizedStreetAddr13.required');
          return;
        } else {
          unSetErrorMessage('sAuthorizedStreetAddr13.required');
        }
        if (fieldLength > 40) {
          setErrorMessage('sAuthorizedStreetAddr13.maxlength');
          return;
        } else {
          unSetErrorMessage('sAuthorizedStreetAddr13.maxlength');
        }
        if (fieldLength > 0 && beginRegEx.test(sAuthorizedStreetAddr13)) {
          setErrorMessage('sAuthorizedStreetAddr13.invalidCharacters');
          return;
        } else {
          unSetErrorMessage('sAuthorizedStreetAddr13.invalidCharacters');
        }
        if (fieldLength > 0 && !alphabetsRegEx.test(sAuthorizedStreetAddr13)) {
          setErrorMessage('sAuthorizedStreetAddr13.invalidCharacters');
          return;
        } else {
          unSetErrorMessage('sAuthorizedStreetAddr13.invalidCharacters');
        }
        if ((fieldLength > 0 || sAuthorizedState13Length > 0 || sAuthorizedZip3Length > 0 || sAuthorizedStreetAddr23Length > 0 || sAuthorizedApartment3Length > 0) && sSecondaryFirstName3Length == 0) {
          setErrorMessage('sSecondaryFirstName3.required');
          if ((fieldLength > 0 || sAuthorizedState13Length > 0 || sAuthorizedZip3Length > 0 || sAuthorizedStreetAddr23Length > 0 || sAuthorizedApartment3Length > 0) && sSecondaryLastName3Length == 0) {
            setErrorMessage('sSecondaryLastName3.required');
            if ((fieldLength > 0 || sAuthorizedState13Length > 0 || sAuthorizedZip3Length > 0 || sAuthorizedStreetAddr23Length > 0 || sAuthorizedApartment3Length > 0) && sAuthorizedDOB3Length == 0) {
              setErrorMessage('sAuthorizedDOB3.required');
            }
          }
          return;
        }
        if ((fieldLength > 0 || sAuthorizedState13Length > 0 || sAuthorizedZip3Length || sAuthorizedStreetAddr23Length > 0 || sAuthorizedApartment3Length > 0) && sSecondaryLastName3Length == 0) {
          setErrorMessage('sSecondaryLastName3.required');
          if ((fieldLength > 0 || sAuthorizedState13Length > 0 || sAuthorizedZip3Length > 0 || sAuthorizedStreetAddr23Length > 0 || sAuthorizedApartment3Length > 0) && sAuthorizedDOB3Length == 0) {
            setErrorMessage('sAuthorizedDOB3.required');
          }
          return;
        }
        if ((fieldLength > 0 || sAuthorizedState13Length > 0 || sAuthorizedZip3Length > 0 || sAuthorizedStreetAddr23Length > 0 || sAuthorizedApartment3Length > 0) && sAuthorizedDOB3Length == 0) {
          setErrorMessage('sAuthorizedDOB3.required');
          return;
        }
        if (fieldLength == 0) {
          if (sSecondaryFirstName3Length == 0 && sSecondaryLastName3Length == 0) {
            unSetErrorMessage('sSecondaryFirstName3.required');
            removeSimplyErrors('sSecondaryFirstName3');
            unSetErrorMessage('sSecondaryLastName3.required');
            removeSimplyErrors('sSecondaryLastName3');
          }
        }
        if (fieldLength == 0 && sSecondaryFirstName3Length == 0 && sSecondaryLastName3Length == 0 && sAuthorizedCity3Length == 0 && sAuthorizedDOB3Length == 0 && sAuthorizedStreetAddr23Length == 0 && sAuthorizedApartment3Length == 0 &&
          sAuthorizedState13Length == 0 && sAuthorizedZip3Length == 0) {
          unSetErrorMessage('sSecondaryFirstName3.required');
          removeSimplyErrors('sSecondaryFirstName3');
          unSetErrorMessage('sSecondaryLastName3.required');
          removeSimplyErrors('sSecondaryLastName3');
          unSetErrorMessage('sAuthorizedDOB3.required');
          removeSimplyErrors('sAuthorizedDOB3');
          unSetErrorMessage('sAuthorizedStreetAddr13.required');
          removeSimplyErrors('sAuthorizedStreetAddr13');
          unSetErrorMessage('sAuthorizedCity3.required');
          removeSimplyErrors('sAuthorizedCity3');
          unSetErrorMessage('sAuthorizedState13.required');
          removeSimplyErrors('sAuthorizedState13');
          unSetErrorMessage('sAuthorizedZip3.required');
          removeSimplyErrors('sAuthorizedZip3');
        }
        checkVulgarity(sAuthorizedStreetAddr13, 'sAuthorizedStreetAddr13.vulgarCheck');
      }

      function validatesAuthorizedStreetAddr13Simply(sAuthorizedStreetAddr13) {
        unSetErrorMessage('sAuthorizedStreetAddr13.primeErr');
        var fieldLength = sAuthorizedStreetAddr13.replace(/^\s\s*/, '').replace(/\s\s*$/, '').length;
        var alphabetsRegEx = /^[a-zA-Z0-9\s'\.\-\#\$\/]+$/;
        var beginRegEx = /^[^a-zA-Z0-9\s'\.\-\#\$\/].*$/;
        if (fieldLength < 2 || beginRegEx.test(sAuthorizedStreetAddr13) || !alphabetsRegEx.test(sAuthorizedStreetAddr13)) {
          setErrorMessage('sAuthorizedStreetAddr13.primeErr');
          return;
        } else {
          unSetErrorMessage('sAuthorizedStreetAddr13.primeErr');
        }
      }

      function validatesAuthorizedStreetAddr23(sAuthorizedStreetAddr23, sSecondaryFirstName3, sSecondaryLastName3, sAuthorizedDOB3, sAuthorizedStreetAddr13, sAuthorizedApartment3, sAuthorizedCity3, sAuthorizedState13, sAuthorizedZip3) {
        /*<dependent>sSecondaryFirstName3,sSecondaryLastName3,sAuthorizedDOB3,sAuthorizedStreetAddr13,sAuthorizedApartment3,sAuthorizedCity3,sAuthorizedState13,sAuthorizedZip3</dependent> */
        unSetErrorMessage('sAuthorizedStreetAddr23.vulgarCheck');
        unSetErrorMessage('sAuthorizedStreetAddr23.invalid');
        var fieldLength = sAuthorizedStreetAddr23.length;
        var alphabetsRegEx = /^[a-zA-Z0-9\s.,'\-\#\$\/]+$/;
        var beginRegEx = /^[^a-zA-Z0-9\s.,'\-\#\$\/].*$/;
        var sSecondaryFirst3 = sSecondaryFirstName3.replace(/^\s*|\s*$/g, "");
        var sSecondaryFirstName3Length = sSecondaryFirst3.length;
        var sSecondaryLastName3 = sSecondaryLastName3.replace(/^\s*|\s*$/g, "");
        var sSecondaryLastName3Length = sSecondaryLastName3.length;
        var sAuthorizedDOB3Length = sAuthorizedDOB3.length;
        var sAuthorizedStreetAddr13Length = sAuthorizedStreetAddr13.length;
        var sAuthorizedApartment3Length = sAuthorizedApartment3.length;
        var sAuthorizedCity3Length = sAuthorizedCity3.length;
        var sAuthorizedState13Length = sAuthorizedState13.length;
        var sAuthorizedZip3Length = sAuthorizedZip3.length;
        if ((fieldLength > 0) && (beginRegEx.test(sAuthorizedStreetAddr23))) {
          setErrorMessage('sAuthorizedStreetAddr23.invalid');
          return;
        } else {
          unSetErrorMessage('sAuthorizedStreetAddr23.invalid');
        }
        if (fieldLength > 40) {
          setErrorMessage('sAuthorizedStreetAddr23.maxlength');
          return;
        } else {
          unSetErrorMessage('sAuthorizedStreetAddr23.maxlength');
        }
        if ((fieldLength > 0) && (!alphabetsRegEx.test(sAuthorizedStreetAddr23))) {
          setErrorMessage('sAuthorizedStreetAddr23.invalid');
          return;
        } else {
          unSetErrorMessage('sAuthorizedStreetAddr23.invalid');
        }
        if ((fieldLength > 0) && sSecondaryFirstName3Length == 0) {
          setErrorMessage('sSecondaryFirstName3.required');
          if ((fieldLength > 0) && sSecondaryLastName3Length == 0) {
            setErrorMessage('sSecondaryLastName3.required');
          }
          if ((fieldLength > 0) && sAuthorizedDOB3Length == 0) {
            setErrorMessage('sAuthorizedDOB3.required');
          }
          if ((fieldLength > 0) && sAuthorizedStreetAddr13Length == 0) {
            setErrorMessage('sAuthorizedStreetAddr13.required');
          }
          return;
        }
        if (fieldLength == 0 && sSecondaryFirstName3Length == 0 && sSecondaryLastName3Length == 0 && sAuthorizedDOB3Length == 0 && sAuthorizedStreetAddr13Length == 0 && sAuthorizedApartment3Length == 0 && sAuthorizedCity3Length == 0 &&
          sAuthorizedState13Length == 0 && sAuthorizedZip3Length == 0) {
          unSetErrorMessage('sSecondaryLastName3.required');
          removeSimplyErrors('sSecondaryLastName3');
          unSetErrorMessage('sSecondaryFirstName3.required');
          removeSimplyErrors('sSecondaryFirstName3');
          unSetErrorMessage('sAuthorizedDOB3.required');
          removeSimplyErrors('sAuthorizedDOB3');
          unSetErrorMessage('sAuthorizedStreetAddr13.required');
          removeSimplyErrors('sAuthorizedStreetAddr13');
          unSetErrorMessage('sAuthorizedCity3.required');
          removeSimplyErrors('sAuthorizedCity3');
          unSetErrorMessage('sAuthorizedState13.required');
          removeSimplyErrors('sAuthorizedState13');
          unSetErrorMessage('sAuthorizedZip3.required');
          removeSimplyErrors('sAuthorizedZip3');
        }
        checkVulgarity(sAuthorizedStreetAddr23, 'sAuthorizedStreetAddr23.vulgarCheck');
      }

      function validatesAuthorizedCity3(sAuthorizedCity3, sSecondaryFirstName3, sSecondaryLastName3, sAuthorizedDOB3, sAuthorizedStreetAddr13, sAuthorizedStreetAddr23, sAuthorizedApartment3, sAuthorizedState13, sAuthorizedZip3, isNonRespPage) {
        /*<dependent>sSecondaryFirstName3,sSecondaryLastName3,sAuthorizedDOB3,sAuthorizedStreetAddr13,sAuthorizedStreetAddr23,sAuthorizedApartment3,sAuthorizedState13,sAuthorizedZip3,isNonRespPage</dependent>*/
        unSetErrorMessage('sAuthorizedCity3.invalidCharacters');
        var fieldLength = sAuthorizedCity3.length;
        var sSecondaryFirst3 = sSecondaryFirstName3.replace(/^\s*|\s*$/g, "");
        var sSecondaryFirstName3Length = sSecondaryFirst3.length;
        var sSecondaryLastName3 = sSecondaryLastName3.replace(/^\s*|\s*$/g, "");
        var sSecondaryLastName3Length = sSecondaryLastName3.length;
        var sAuthorizedDOB3Length = sAuthorizedDOB3.length;
        var sAuthorizedStreetAddr13Length = sAuthorizedStreetAddr13.length;
        var sAuthorizedStreetAddr23Length = sAuthorizedStreetAddr23.length;
        var sAuthorizedApartment3Length = sAuthorizedApartment3.length;
        var sAuthorizedState13Length = sAuthorizedState13.length;
        var sAuthorizedZip3Length = sAuthorizedZip3.length;
        var isZipCodeBeforeState = 'false';
        if (isNonRespPage == 'true') {
          isZipCodeBeforeState = 'true';
        }
        var alphabetsRegEx = /^[a-zA-Z0-9\s\-']+$/;
        var beginRegEx = /^[^a-zA-Z0-9].*$/;
        if (fieldLength == 0 && (sSecondaryFirstName3Length > 0 || sSecondaryLastName3Length > 0 || sAuthorizedDOB3Length > 0 || sAuthorizedStreetAddr13Length > 0 || sAuthorizedStreetAddr23Length > 0 || sAuthorizedApartment3Length > 0 ||
            sAuthorizedState13Length > 0 || sAuthorizedZip3Length > 0)) {
          setErrorMessage('sAuthorizedCity3.required');
          return;
        } else {
          unSetErrorMessage('sAuthorizedCity3.required');
        }
        if (fieldLength > 32) {
          setErrorMessage('sAuthorizedCity3.maxlength');
          return;
        } else {
          unSetErrorMessage('sAuthorizedCity3.maxlength');
        }
        if (fieldLength > 0 && beginRegEx.test(sAuthorizedCity3)) {
          setErrorMessage('sAuthorizedCity3.invalidCharacters');
          return;
        } else {
          unSetErrorMessage('sAuthorizedCity3.invalidCharacters');
        }
        if (fieldLength > 0 && !alphabetsRegEx.test(sAuthorizedCity3)) {
          setErrorMessage('sAuthorizedCity3.invalidCharacters');
          return;
        } else {
          unSetErrorMessage('sAuthorizedCity3.invalidCharacters');
        }
        if (fieldLength > 0 && sSecondaryFirstName3Length == 0) {
          setErrorMessage('sSecondaryFirstName3.required');
          if (fieldLength > 0 && sSecondaryLastName3Length == 0) {
            setErrorMessage('sSecondaryLastName3.required');
          }
          if (fieldLength > 0 && sAuthorizedDOB3Length == 0) {
            setErrorMessage('sAuthorizedDOB3.required');
          }
          if (fieldLength > 0 && sAuthorizedStreetAddr13Length == 0) {
            setErrorMessage('sAuthorizedStreetAddr13.required');
          }
          if (isZipCodeBeforeState == "true" && fieldLength > 0 && sAuthorizedZip3Length == 0) {
            setErrorMessage('sAuthorizedZip3.required');
          }
          return;
        }
        if (fieldLength > 0 && sSecondaryLastName3Length == 0) {
          setErrorMessage('sSecondaryLastName3.required');
          if (fieldLength > 0 && sAuthorizedDOB3Length == 0) {
            setErrorMessage('sAuthorizedDOB3.required');
          }
          if (fieldLength > 0 && sAuthorizedStreetAddr13Length == 0) {
            setErrorMessage('sAuthorizedStreetAddr13.required');
          }
          if (isZipCodeBeforeState == "true" && fieldLength > 0 && sAuthorizedZip3Length == 0) {
            setErrorMessage('sAuthorizedZip3.required');
          }
          return;
        }
        if (fieldLength > 0 && sAuthorizedDOB3Length == 0) {
          setErrorMessage('sAuthorizedDOB3.required');
          if (fieldLength > 0 && sAuthorizedStreetAddr13Length == 0) {
            setErrorMessage('sAuthorizedStreetAddr13.required');
          }
          if (isZipCodeBeforeState == "true" && fieldLength > 0 && sAuthorizedZip3Length == 0) {
            setErrorMessage('sAuthorizedZip3.required');
          }
          return;
        }
        if (fieldLength > 0 && sAuthorizedStreetAddr13Length == 0) {
          setErrorMessage('sAuthorizedStreetAddr13.required');
          if (isZipCodeBeforeState == "true" && fieldLength > 0 && sAuthorizedZip3Length == 0) {
            setErrorMessage('sAuthorizedZip3.required');
          }
          return;
        }
        if (isZipCodeBeforeState == "true" && fieldLength > 0 && sAuthorizedZip3Length == 0) {
          setErrorMessage('sAuthorizedZip3.required');
          return;
        }
        if ((sSecondaryFirstName3Length > 0 || sSecondaryLastName3Length > 0) && sAuthorizedStreetAddr13Length == 0) {
          setErrorMessage('sAuthorizedStreetAddr13.required');
          return;
        }
        if (fieldLength == 0 && sSecondaryFirstName3Length == 0 && sSecondaryLastName3Length == 0 && sAuthorizedDOB3Length == 0 && sAuthorizedStreetAddr13Length == 0 && sAuthorizedStreetAddr23Length == 0 && sAuthorizedApartment3Length == 0 &&
          sAuthorizedZip3Length == 0 && sAuthorizedState13Length == 0) {
          unSetErrorMessage('sSecondaryLastName3.required');
          removeSimplyErrors('sSecondaryLastName3');
          unSetErrorMessage('sSecondaryFirstName3.required');
          removeSimplyErrors('sSecondaryFirstName3');
          unSetErrorMessage('sAuthorizedDOB3.required');
          removeSimplyErrors('sAuthorizedDOB3');
          unSetErrorMessage('sAuthorizedStreetAddr13.required');
          removeSimplyErrors('sAuthorizedStreetAddr13');
          unSetErrorMessage('sAuthorizedCity3.required');
          removeSimplyErrors('sAuthorizedCity3');
          unSetErrorMessage('sAuthorizedState13.required');
          removeSimplyErrors('sAuthorizedState13');
          unSetErrorMessage('sAuthorizedZip3.required');
          removeSimplyErrors('sAuthorizedZip3');
        }
        checkVulgarity(sAuthorizedCity3, 'sAuthorizedCity3.vulgarCheck');
      }

      function validatesAuthorizedState13(sAuthorizedState13, sSecondaryFirstName3, sSecondaryLastName3, sAuthorizedDOB3, sAuthorizedStreetAddr13, sAuthorizedStreetAddr23, sAuthorizedApartment3, sAuthorizedCity3, sAuthorizedZip3, prefillState13,
        isNonRespPage) {
        /*<dependent>sSecondaryFirstName3,sSecondaryLastName3,sAuthorizedDOB3,sAuthorizedStreetAddr13,sAuthorizedStreetAddr23,sAuthorizedApartment3,sAuthorizedCity3,sAuthorizedZip3,prefillState13,isNonRespPage</dependent>*/
        unSetErrorMessage('sAuthorizedState13.required');
        unSetErrorMessage('sAuthorizedState13.invalidCharacters');
        var fieldLength = sAuthorizedState13.length;
        var alphabetsRegEx = /^[a-zA-Z]+$/;
        var sSecondaryFirst3 = sSecondaryFirstName3.replace(/^\s*|\s*$/g, "");
        var sSecondaryFirstName3Length = sSecondaryFirst3.length;
        var sSecondaryLastName3 = sSecondaryLastName3.replace(/^\s*|\s*$/g, "");
        var sSecondaryLastName3Length = sSecondaryLastName3.length;
        var sAuthorizedDOB3Length = sAuthorizedDOB3.length;
        var sAuthorizedStreetAddr13Length = sAuthorizedStreetAddr13.length;
        var sAuthorizedStreetAddr23Length = sAuthorizedStreetAddr23.length;
        var sAuthorizedCity3Length = sAuthorizedCity3.length;
        var sAuthorizedApartment3Length = sAuthorizedApartment3.length;
        var sAuthorizedZip3Length = sAuthorizedZip3.length;
        var isZipCodeBeforeState = 'false';
        if (isNonRespPage == 'true') {
          isZipCodeBeforeState = 'true';
        }
        if (fieldLength == 0 && (sSecondaryFirstName3Length > 0 || sSecondaryLastName3Length > 0 || sAuthorizedDOB3Length > 0 || sAuthorizedStreetAddr13Length > 0 || sAuthorizedStreetAddr23Length > 0 || sAuthorizedApartment3Length > 0 ||
            sAuthorizedCity3Length > 0)) {
          setErrorMessage('sAuthorizedState13.required');
          return;
        } else {
          unSetErrorMessage('sAuthorizedState13.required');
        }
        if (!alphabetsRegEx.test(sAuthorizedState13) && (sSecondaryFirstName3Length > 0 || sSecondaryLastName3Length > 0 || sAuthorizedDOB3Length > 0 || sAuthorizedStreetAddr13Length > 0 || sAuthorizedStreetAddr23Length > 0 ||
            sAuthorizedApartment3Length > 0 || sAuthorizedCity3Length > 0)) {
          setErrorMessage('sAuthorizedState13.invalidCharacters');
          return;
        } else {
          unSetErrorMessage('sAuthorizedState13.invalidCharacters');
        }
        if (fieldLength > 0 && sSecondaryFirstName3Length == 0) {
          setErrorMessage('sSecondaryFirstName3.required');
          if (fieldLength > 0 && sSecondaryLastName3Length == 0) {
            setErrorMessage('sSecondaryLastName3.required');
          }
          if (fieldLength > 0 && sAuthorizedDOB3Length == 0) {
            setErrorMessage('sAuthorizedDOB3.required');
          }
          if (fieldLength > 0 && sAuthorizedStreetAddr13Length == 0) {
            setErrorMessage('sAuthorizedStreetAddr13.required');
          }
          if (isZipCodeBeforeState == "true" && fieldLength > 0 && sAuthorizedZip3Length == 0) {
            setErrorMessage('sAuthorizedZip3.required');
          }
          if (fieldLength > 0 && sAuthorizedCity3Length == 0) {
            setErrorMessage('sAuthorizedCity3.required');
          }
          return;
        }
        if (fieldLength > 0 && sSecondaryLastName3Length == 0) {
          setErrorMessage('sSecondaryLastName3.required');
          if (fieldLength > 0 && sAuthorizedDOB3Length == 0) {
            setErrorMessage('sAuthorizedDOB3.required');
          }
          if (fieldLength > 0 && sAuthorizedStreetAddr13Length == 0) {
            setErrorMessage('sAuthorizedStreetAddr13.required');
          }
          if (isZipCodeBeforeState == "true" && fieldLength > 0 && sAuthorizedZip3Length == 0) {
            setErrorMessage('sAuthorizedZip3.required');
          }
          if (fieldLength > 0 && sAuthorizedCity3Length == 0) {
            setErrorMessage('sAuthorizedCity3.required');
          }
          return;
        }
        if (fieldLength > 0 && sAuthorizedDOB3Length == 0) {
          setErrorMessage('sAuthorizedDOB3.required');
          if (fieldLength > 0 && sAuthorizedStreetAddr13Length == 0) {
            setErrorMessage('sAuthorizedStreetAddr13.required');
          }
          if (isZipCodeBeforeState == "true" && fieldLength > 0 && sAuthorizedZip3Length == 0) {
            setErrorMessage('sAuthorizedZip3.required');
          }
          if (fieldLength > 0 && sAuthorizedCity3Length == 0) {
            setErrorMessage('sAuthorizedCity3.required');
          }
          return;
        }
        if (fieldLength > 0 && sAuthorizedStreetAddr13Length == 0) {
          setErrorMessage('sAuthorizedStreetAddr13.required');
          if (isZipCodeBeforeState == "true" && fieldLength > 0 && sAuthorizedZip3Length == 0) {
            setErrorMessage('sAuthorizedZip3.required');
          }
          if (fieldLength > 0 && sAuthorizedCity3Length == 0) {
            setErrorMessage('sAuthorizedCity3.required');
          }
          return;
        }
        if (isZipCodeBeforeState == "true" && fieldLength > 0 && sAuthorizedZip3Length == 0) {
          setErrorMessage('sAuthorizedZip3.required');
          if (fieldLength > 0 && sAuthorizedCity3Length == 0) {
            setErrorMessage('sAuthorizedCity3.required');
          }
          return;
        }
        if (fieldLength > 0 && sAuthorizedCity3Length == 0) {
          setErrorMessage('sAuthorizedCity3.required');
          return;
        }
        if (isZipCodeBeforeState == "false") {
          if (fieldLength > 0 && sAuthorizedZip3Length > 0) {
            if (prefillState13 == '' || sAuthorizedState13 == prefillState13) {
              unSetErrorMessage('sAuthorizedZip3.required');
            } else {
              setErrorMessage('sAuthorizedZip3.required');
              return;
            }
          }
        }
        if (sSecondaryFirstName3Length > 0 || sSecondaryLastName3Length > 0) {
          if (sAuthorizedDOB3Length == 0) {
            setErrorMessage('sAuthorizedDOB3.required');
            if (sAuthorizedStreetAddr13Length == 0) {
              setErrorMessage('sAuthorizedStreetAddr13.required');
              if (sAuthorizedCity3Length == 0) {
                setErrorMessage('sAuthorizedCity3.required');
              }
            }
            return;
          }
          if (sAuthorizedStreetAddr13Length == 0) {
            setErrorMessage('sAuthorizedStreetAddr13.required');
            if (sAuthorizedCity3Length == 0) {
              setErrorMessage('sAuthorizedCity3.required');
            }
            return;
          }
          if (sAuthorizedCity3Length == 0) {
            setErrorMessage('sAuthorizedCity3.required');
            return;
          }
        }
        var isValid = false;
        var element;
        var validState = new Array("AK", "AL", "AP", "AR", "AZ", "CA", "CO", "CT", "DC", "DE", "FL", "GA", "GU", "HI", "IA", "ID", "IL", "IN", "KS", "KY", "LA", "MA", "MD", "ME", "MI", "MN", "MO", "MS", "MT", "NC", "ND", "NE", "NH", "NJ", "NM", "NV",
          "NY", "OH", "OK", "OR", "PA", "PR", "RI", "SC", "SD", "TN", "TX", "UT", "VA", "VI", "VT", "WA", "WI", "WV", "WY", "AA", "AE", "");
        for (index in validState) {
          element = validState[index];
          if (sAuthorizedState13.toUpperCase() == element) {
            isValid = true;
            break;
          } else {
            isValid = false;
          }
        }
        if (!isValid) {
          setErrorMessage('sAuthorizedState13.invalidCharacters');
          return;
        } else {
          unSetErrorMessage('sAuthorizedState13.invalidCharacters');
        }
        if (fieldLength == 0 && sSecondaryFirstName3Length == 0 && sSecondaryLastName3Length == 0 && sAuthorizedDOB3Length == 0 && sAuthorizedStreetAddr13Length == 0 && sAuthorizedStreetAddr23Length == 0 && sAuthorizedApartment3Length == 0 &&
          sAuthorizedCity3Length == 0 && sAuthorizedZip3Length == 0) {
          unSetErrorMessage('sSecondaryLastName3.required');
          removeSimplyErrors('sSecondaryLastName3');
          unSetErrorMessage('sSecondaryFirstName3.required');
          removeSimplyErrors('sSecondaryFirstName3');
          unSetErrorMessage('sAuthorizedDOB3.required');
          removeSimplyErrors('sAuthorizedDOB3');
          unSetErrorMessage('sAuthorizedStreetAddr13.required');
          removeSimplyErrors('sAuthorizedStreetAddr13');
          unSetErrorMessage('sAuthorizedCity3.required');
          removeSimplyErrors('sAuthorizedCity3');
          unSetErrorMessage('sAuthorizedState13.required');
          removeSimplyErrors('sAuthorizedState13');
          unSetErrorMessage('sAuthorizedZip3.required');
          removeSimplyErrors('sAuthorizedZip3');
        }
      }

      function validatesAuthorizedZip3(sAuthorizedZip3, sSecondaryFirstName3, sSecondaryLastName3, sAuthorizedDOB3, sAuthorizedStreetAddr13, sAuthorizedStreetAddr23, sAuthorizedApartment3, sAuthorizedCity3, sAuthorizedState13, prefillState13,
        isNonRespPage) {
        /*<dependent>sSecondaryFirstName3,sSecondaryLastName3,sAuthorizedDOB3,sAuthorizedStreetAddr13,sAuthorizedStreetAddr23,sAuthorizedApartment3,sAuthorizedCity3,sAuthorizedState13,prefillState13,isNonRespPage</dependent> */
        var fieldLength = sAuthorizedZip3.length;
        var sSecondaryFirst3 = sSecondaryFirstName3.replace(/^\s*|\s*$/g, "");
        var sSecondaryFirstName3Length = sSecondaryFirst3.length;
        var sSecondaryLastName3 = sSecondaryLastName3.replace(/^\s*|\s*$/g, "");
        var sSecondaryLastName3Length = sSecondaryLastName3.length;
        var sAuthorizedDOB3Length = sAuthorizedDOB3.length;
        var sAuthorizedStreetAddr13Length = sAuthorizedStreetAddr13.length;
        var sAuthorizedStreetAddr23Length = sAuthorizedStreetAddr23.length;
        var sAuthorizedApartment3Length = sAuthorizedApartment3.length;
        var sAuthorizedCity3Length = sAuthorizedCity3.length;
        var sAuthorizedState13Length = sAuthorizedState13.length;
        var alphabetsRegEx = /^[0-9]+$/;
        var isZipCodeBeforeState = 'false';
        if (isNonRespPage == 'true') {
          isZipCodeBeforeState = 'true';
        }
        if ((fieldLength < 5 || fieldLength > 5) && (sSecondaryFirstName3Length > 0 || sSecondaryLastName3Length > 0 || sAuthorizedDOB3Length > 0 || sAuthorizedStreetAddr13Length > 0 || sAuthorizedStreetAddr23Length > 0 ||
            sAuthorizedApartment3Length > 0 || sAuthorizedCity3Length > 0 || sAuthorizedState13Length > 0)) {
          setErrorMessage('sAuthorizedZip3.required');
          return;
        } else {
          unSetErrorMessage('sAuthorizedZip3.required');
        }
        if (fieldLength > 0 && fieldLength < 5) {
          setErrorMessage('sAuthorizedZip3.required');
          return;
        } else {
          unSetErrorMessage('sAuthorizedZip3.required');
        }
        if (!alphabetsRegEx.test(sAuthorizedZip3) && (fieldLength > 0)) {
          setErrorMessage('sAuthorizedZip3.required');
          return;
        } else {
          unSetErrorMessage('sAuthorizedZip3.required');
        }
        if ((fieldLength == 5) && sSecondaryFirstName3Length == 0) {
          setErrorMessage('sSecondaryFirstName3.required');
          if ((fieldLength == 5) && sSecondaryLastName3Length == 0) {
            setErrorMessage('sSecondaryLastName3.required');
          }
          if ((fieldLength == 5) && sAuthorizedDOB3Length == 0) {
            setErrorMessage('sAuthorizedDOB3.required');
          }
          if ((fieldLength == 5) && sAuthorizedStreetAddr13Length == 0) {
            setErrorMessage('sAuthorizedStreetAddr13.required');
          }
          if ((fieldLength == 5) && sAuthorizedCity3Length == 0) {
            setErrorMessage('sAuthorizedCity3.required');
          }
          if ((fieldLength == 5) && sAuthorizedState13Length == 0) {
            setErrorMessage('sAuthorizedState13.required');
          }
          return;
        }
        if ((fieldLength == 5) && sSecondaryLastName3Length == 0) {
          setErrorMessage('sSecondaryLastName3.required');
          if ((fieldLength == 5) && sAuthorizedDOB3Length == 0) {
            setErrorMessage('sAuthorizedDOB3.required');
          }
          if (fieldLength == 5 && sAuthorizedStreetAddr13Length == 0) {
            setErrorMessage('sAuthorizedStreetAddr13.required');
          }
          if (fieldLength == 5 && sAuthorizedCity3Length == 0) {
            setErrorMessage('sAuthorizedCity3.required');
          }
          if ((fieldLength == 5) && sAuthorizedState13Length == 0) {
            setErrorMessage('sAuthorizedState13.required');
          }
          return;
        }
        if ((fieldLength == 5) && sAuthorizedDOB3Length == 0) {
          setErrorMessage('sAuthorizedDOB3.required');
          if (fieldLength == 5 && sAuthorizedStreetAddr13Length == 0) {
            setErrorMessage('sAuthorizedStreetAddr13.required');
          }
          if (fieldLength == 5 && sAuthorizedCity3Length == 0) {
            setErrorMessage('sAuthorizedCity3.required');
          }
          if ((fieldLength == 5) && sAuthorizedState13Length == 0) {
            setErrorMessage('sAuthorizedState13.required');
          }
          return;
        }
        if ((fieldLength == 5) && sAuthorizedStreetAddr13Length == 0) {
          setErrorMessage('sAuthorizedStreetAddr13.required');
          if (fieldLength == 5 && sAuthorizedCity3Length == 0) {
            setErrorMessage('sAuthorizedCity3.required');
          }
          if ((fieldLength == 5) && sAuthorizedState13Length == 0) {
            setErrorMessage('sAuthorizedState13.required');
          }
          return;
        }
        if ((fieldLength == 5) && sAuthorizedCity3Length == 0) {
          setErrorMessage('sAuthorizedCity3.required');
          if ((fieldLength == 5) && sAuthorizedState13Length == 0) {
            setErrorMessage('sAuthorizedState13.required');
          }
          return;
        }
        if ((fieldLength == 5) && sAuthorizedState13Length == 0) {
          setErrorMessage('sAuthorizedState13.required');
          return;
        }
        if (sSecondaryFirstName3Length > 0 || sSecondaryLastName3Length > 0) {
          if (sAuthorizedDOB3Length == 0) {
            setErrorMessage('sAuthorizedDOB3.required');
            if (sAuthorizedStreetAddr13Length == 0) {
              setErrorMessage('sAuthorizedStreetAddr13.required');
              if (sAuthorizedCity3Length == 0) {
                setErrorMessage('sAuthorizedCity3.required');
                if (sAuthorizedState13Length == 0) {
                  setErrorMessage('sAuthorizedState13.required');
                }
              }
            }
            return;
          }
          if (sAuthorizedStreetAddr13Length == 0) {
            setErrorMessage('sAuthorizedStreetAddr13.required');
            if (sAuthorizedCity3Length == 0) {
              setErrorMessage('sAuthorizedCity3.required');
              if (sAuthorizedState13Length == 0) {
                setErrorMessage('sAuthorizedState13.required');
              }
            }
            return;
          }
          if (sAuthorizedCity3Length == 0) {
            setErrorMessage('sAuthorizedCity3.required');
            if (sAuthorizedState13Length == 0) {
              setErrorMessage('sAuthorizedState13.required');
            }
            return;
          }
          if (sAuthorizedState13Length == 0) {
            setErrorMessage('sAuthorizedState13.required');
            return;
          }
        }
        if (isZipCodeBeforeState == "false") {
          if (fieldLength > 0 && sAuthorizedState13Length > 0) {
            if (prefillState13 == '' || sAuthorizedState13 == prefillState13) {
              unSetErrorMessage('sAuthorizedZip3.required');
            } else {
              setErrorMessage('sAuthorizedZip3.required');
              return;
            }
          }
        }
        if (fieldLength == 0 && sSecondaryFirstName3Length == 0 && sSecondaryLastName3Length == 0 && sAuthorizedDOB3Length == 0 && sAuthorizedStreetAddr13Length == 0 && sAuthorizedStreetAddr23Length == 0 && sAuthorizedApartment3Length == 0 &&
          sAuthorizedCity3Length == 0 && sAuthorizedState13Length == 0) {
          unSetErrorMessage('sSecondaryLastName3.required');
          removeSimplyErrors('sSecondaryLastName3');
          unSetErrorMessage('sSecondaryFirstName3.required');
          removeSimplyErrors('sSecondaryFirstName3');
          unSetErrorMessage('sAuthorizedDOB3.required');
          removeSimplyErrors('sAuthorizedDOB3');
          unSetErrorMessage('sAuthorizedStreetAddr13.required');
          removeSimplyErrors('sAuthorizedStreetAddr13');
          unSetErrorMessage('sAuthorizedCity3.required');
          removeSimplyErrors('sAuthorizedCity3');
          unSetErrorMessage('sAuthorizedState13.required');
          removeSimplyErrors('sAuthorizedState13');
        }
        checkVulgarity(sAuthorizedZip3, 'sAuthorizedZip3');
      }

      function validatesSecondaryFirstName4(sSecondaryFirstName4, sSecondaryLastName4, sSecondaryMiddleInitial4, sAuthorizedDOB4, sAuthorizedStreetAddr14, sAuthorizedStreetAddr24, sAuthorizedApartment4, sAuthorizedCity4, sAuthorizedState14,
        sAuthorizedZip4, sAuth4AddrSameAsPrimary) {
        /*<dependent>sSecondaryLastName4,sSecondaryMiddleInitial4,sAuthorizedDOB4,sAuthorizedStreetAddr14,sAuthorizedStreetAddr24,sAuthorizedApartment4,sAuthorizedCity4,sAuthorizedState14,sAuthorizedZip4,sAuth4AddrSameAsPrimary</dependent>*/
        unSetErrorMessage('sSecondaryFirstName4.required');
        unSetErrorMessage('sSecondaryFirstName4.vulgarCheck');
        unSetErrorMessage('sSecondaryFirstName4.invalidBegin');
        unSetErrorMessage('sSecondaryFirstName4.invalidCharacters');
        var fieldLength = sSecondaryFirstName4.length;
        var sSecondaryLast4 = sSecondaryLastName4.replace(/^\s*|\s*$/g, "");
        var sSecondaryLastNameLength = sSecondaryLast4.length;
        var secondMiddleName4FieldLength = sSecondaryMiddleInitial4.length;
        var alphabetsRegEx = /^[a-zA-Z\s\-']+$/;
        var beginRegEx = /^[^a-zA-Z].*$/;
        var sAuthorizedDOB4Length = sAuthorizedDOB4.length;
        var sAuthorizedStreetAddr14Length = sAuthorizedStreetAddr14.length;
        var sAuthorizedStreetAddr24Length = sAuthorizedStreetAddr24.length;
        var sAuthorizedApartment4Length = sAuthorizedApartment4.length;
        var sAuthorizedCity4Length = sAuthorizedCity4.length;
        var sAuthorizedState14Length = sAuthorizedState14.length;
        var sAuthorizedZip4Length = sAuthorizedZip4.length;
        if (fieldLength > 0 && beginRegEx.test(sSecondaryFirstName4)) {
          setErrorMessage('sSecondaryFirstName4.invalidBegin');
          return;
        } else {
          unSetErrorMessage('sSecondaryFirstName4.invalidBegin');
        }
        if (fieldLength > 0 && !alphabetsRegEx.test(sSecondaryFirstName4)) {
          setErrorMessage('sSecondaryFirstName4.invalidCharacters');
          return;
        } else {
          unSetErrorMessage('sSecondaryFirstName4.invalidCharacters');
        }
        if ((sSecondaryLastNameLength > 0 || sAuthorizedDOB4Length > 0 || sAuthorizedStreetAddr14Length > 0 || sAuthorizedStreetAddr24Length > 0 || sAuthorizedApartment4Length > 0 || sAuthorizedCity4Length > 0 || sAuthorizedZip4Length > 0 ||
            sAuthorizedState14Length > 0 || sAuth4AddrSameAsPrimary == 'Y') && (fieldLength == 0)) {
          setErrorMessage('sSecondaryFirstName4.required');
          return;
        } else {
          unSetErrorMessage('sSecondaryFirstName4.required');
        }
        if ((sSecondaryLastNameLength == 0) && (fieldLength == 0) && (secondMiddleName4FieldLength > 0 || sAuthorizedStreetAddr14Length > 0 || sAuthorizedStreetAddr24Length > 0 || sAuthorizedApartment4Length > 0 || sAuthorizedCity4Length > 0 ||
            sAuthorizedState14Length > 0 || sAuthorizedZip4Length > 0 || sAuth4AddrSameAsPrimary == 'Y')) {
          setErrorMessage('sSecondaryFirstName4.required');
          setErrorMessage('sSecondaryLastName4.required');
          return;
        } else {
          unSetErrorMessage('sSecondaryFirstName4.required');
          unSetErrorMessage('sSecondaryLastName4.required');
        }
        if (fieldLength > 0 && sSecondaryLastNameLength == 0 && (sAuthorizedDOB4Length > 0 || sAuthorizedStreetAddr14Length > 0 || sAuthorizedStreetAddr24Length > 0 || sAuthorizedApartment4Length > 0 || sAuthorizedCity4Length > 0 ||
            sAuthorizedState14Length > 0 || sAuthorizedZip4Length > 0 || sAuth4AddrSameAsPrimary == 'Y')) {
          setErrorMessage('sSecondaryLastName4.required');
        }
        if (fieldLength == 0 && sSecondaryLastNameLength == 0 && sAuthorizedDOB4Length == 0 && sAuthorizedStreetAddr14Length == 0 && sAuthorizedStreetAddr24Length == 0 && sAuthorizedApartment4Length == 0 && sAuthorizedCity4Length == 0 &&
          sAuthorizedState14Length == 0 && sAuthorizedZip4Length == 0) {
          unSetErrorMessage('sSecondaryLastName4.required');
          removeSimplyErrors('sSecondaryLastName4');
          unSetErrorMessage('sAuthorizedDOB4.required');
          removeSimplyErrors('sAuthorizedDOB4');
          unSetErrorMessage('sAuthorizedStreetAddr14.required');
          removeSimplyErrors('sAuthorizedStreetAddr14');
          unSetErrorMessage('sAuthorizedCity4.required');
          removeSimplyErrors('sAuthorizedCity4');
          unSetErrorMessage('sAuthorizedState14.required');
          removeSimplyErrors('sAuthorizedState14');
          unSetErrorMessage('sAuthorizedZip4.required');
          removeSimplyErrors('sAuthorizedZip4');
        }
        checkVulgarity(sSecondaryFirstName4, 'sSecondaryFirstName4.vulgarCheck');
      }

      function validatesSecondaryMiddleInitial4(sSecondaryMiddleInitial4) {
        unSetErrorMessage('sSecondaryMiddleInitial4.invalidCharacters');
        unSetErrorMessage('sSecondaryMiddleInitial4.required');
        var fieldLength = sSecondaryMiddleInitial4.length;
        var alphabetsRegEx = /^[a-zA-Z]+$/;
        if (fieldLength > 0 && !alphabetsRegEx.test(sSecondaryMiddleInitial4)) {
          setErrorMessage('sSecondaryMiddleInitial4.invalidCharacters');
          return;
        } else {
          unSetErrorMessage('sSecondaryMiddleInitial4.invalidCharacters');
        }
      }

      function validatesSecondaryLastName4(sSecondaryLastName4, sFirstName, sLastName, sSecondaryFirstName4, sSecondaryMiddleInitial4, sAuthorizedDOB4, sAuthorizedStreetAddr14, sAuthorizedStreetAddr24, sAuthorizedApartment4, sAuthorizedCity4,
        sAuthorizedState14, sAuthorizedZip4, sAuth4AddrSameAsPrimary) {
        /*<dependent>sFirstName,sLastName,sSecondaryFirstName4,sSecondaryMiddleInitial4,sAuthorizedDOB4,sAuthorizedStreetAddr14,sAuthorizedStreetAddr24,sAuthorizedApartment4,sAuthorizedCity4,sAuthorizedState14,sAuthorizedZip4,sAuth4AddrSameAsPrimary</dependent>*/
        unSetErrorMessage('sSecondaryLastName4.invalidLength');
        unSetErrorMessage('sSecondaryLastName4.required');
        unSetErrorMessage('sSecondaryMiddleInitial4.required');
        unSetErrorMessage('sSecondaryLastName4.vulgarCheck');
        unSetErrorMessage('sSecondaryLastName4.invalidBegin');
        unSetErrorMessage('sSecondaryLastName4.invalidCharacters');
        unSetErrorMessage('sSecondaryLastName4.notassLastName');
        unSetErrorMessage('sSecondaryFirstName4.notassFirstName');
        var sFirst = sFirstName.replace(/^\s*|\s*$/g, "");
        var sLast = sLastName.replace(/^\s*|\s*$/g, "");
        var sSecondaryFirst4 = sSecondaryFirstName4.replace(/^\s*|\s*$/g, "");
        var sSecondaryLast4 = sSecondaryLastName4.replace(/^\s*|\s*$/g, "");
        var fieldLength = sSecondaryLast4.length;
        var secondFirstName4FieldLength = sSecondaryFirst4.length;
        var secondMiddleName4FieldLength = sSecondaryMiddleInitial4.length;
        var alphabetsRegEx = /^[a-zA-Z\s\-']+$/;
        var beginRegEx = /^[^a-zA-Z].*$/;
        var sAuthorizedDOB4Length = sAuthorizedDOB4.length;
        var sAuthorizedStreetAddr14Length = sAuthorizedStreetAddr14.length;
        var sAuthorizedStreetAddr24Length = sAuthorizedStreetAddr24.length;
        var sAuthorizedApartment4Length = sAuthorizedApartment4.length;
        var sAuthorizedCity4Length = sAuthorizedCity4.length;
        var sAuthorizedState14Length = sAuthorizedState14.length;
        var sAuthorizedZip4Length = sAuthorizedZip4.length;
        if ((fieldLength > 0) && (beginRegEx.test(sSecondaryLast4))) {
          setErrorMessage('sSecondaryLastName4.invalidBegin');
          return;
        } else {
          unSetErrorMessage('sSecondaryLastName4.invalidBegin');
        }
        if ((fieldLength > 0) && !alphabetsRegEx.test(sSecondaryLast4)) {
          setErrorMessage('sSecondaryLastName4.invalidCharacters');
          return;
        } else {
          unSetErrorMessage('sSecondaryLastName4.invalidCharacters');
        }
        if ((secondFirstName4FieldLength == 0) && (fieldLength == 0) && (secondMiddleName4FieldLength > 0 || sAuthorizedDOB4Length > 0 || sAuthorizedStreetAddr14Length > 0 || sAuthorizedStreetAddr24Length > 0 || sAuthorizedApartment4Length > 0 ||
            sAuthorizedCity4Length > 0 || sAuthorizedState14Length > 0 || sAuthorizedZip4Length > 0 || sAuth4AddrSameAsPrimary == 'Y')) {
          setErrorMessage('sSecondaryFirstName4.required');
          setErrorMessage('sSecondaryLastName4.required');
          return;
        } else {
          unSetErrorMessage('sSecondaryFirstName4.required');
          unSetErrorMessage('sSecondaryLastName4.required');
        }
        if ((fieldLength > 0 || sAuth4AddrSameAsPrimary == 'Y') && secondFirstName4FieldLength == 0) {
          setErrorMessage('sSecondaryFirstName4.required');
          return;
        } else {
          unSetErrorMessage('sSecondaryFirstName4.required');
        }
        if ((secondFirstName4FieldLength > 0 || sAuth4AddrSameAsPrimary == 'Y') && (fieldLength == 0)) {
          setErrorMessage('sSecondaryLastName4.required');
          return;
        } else {
          unSetErrorMessage('sSecondaryLastName4.required');
        }
        if ((fieldLength > 0) && (sSecondaryFirst4.toUpperCase() == sFirst.toUpperCase()) && (sSecondaryLast4.toUpperCase() == sLast.toUpperCase())) {
          setErrorMessage('sSecondaryFirstName4.notassFirstName');
          setErrorMessage('sSecondaryLastName4.notassLastName');
          return;
        } else {
          unSetErrorMessage('sSecondaryFirstName4.notassFirstName');
          unSetErrorMessage('sSecondaryLastName4.notassLastName');
        }
        if ((fieldLength > 0) && (fieldLength < 2)) {
          setErrorMessage('sSecondaryLastName4.invalidLength');
          return;
        } else {
          unSetErrorMessage('sSecondaryLastName4.invalidLength');
        }
        if (fieldLength == 0 && secondFirstName4FieldLength == 0 && sAuthorizedDOB4Length == 0 && sAuthorizedStreetAddr14Length == 0 && sAuthorizedStreetAddr24Length == 0 && sAuthorizedApartment4Length == 0 && sAuthorizedCity4Length == 0 &&
          sAuthorizedState14Length == 0 && sAuthorizedZip4Length == 0) {
          unSetErrorMessage('sSecondaryFirstName4.required');
          removeSimplyErrors('sSecondaryFirstName4');
          unSetErrorMessage('sAuthorizedDOB4.required');
          removeSimplyErrors('sAuthorizedDOB4');
          unSetErrorMessage('sAuthorizedStreetAddr14.required');
          removeSimplyErrors('sAuthorizedStreetAddr14');
          unSetErrorMessage('sAuthorizedCity4.required');
          removeSimplyErrors('sAuthorizedCity4');
          unSetErrorMessage('sAuthorizedState14.required');
          removeSimplyErrors('sAuthorizedState14');
          unSetErrorMessage('sAuthorizedZip4.required');
          removeSimplyErrors('sAuthorizedZip4');
        }
        checkVulgarity(sSecondaryLastName4, 'sSecondaryLastName4.vulgarCheck');
      }

      function validatesAuthorizedDOB4(sAuthorizedDOB4, sSecondaryFirstName4, sSecondaryLastName4, sAuthorizedStreetAddr14, sAuthorizedStreetAddr24, sAuthorizedApartment4, sAuthorizedCity4, sAuthorizedState14, sAuthorizedZip4,
        sAuth4AddrSameAsPrimary) {
        /*<dependent>sSecondaryFirstName4,sSecondaryLastName4,sAuthorizedStreetAddr14,sAuthorizedStreetAddr24,sAuthorizedApartment4,sAuthorizedCity4,sAuthorizedState14,sAuthorizedZip4,sAuth4AddrSameAsPrimary</dependent>*/
        if (sAuthorizedDOB4.length == 2 && (sAuthorizedDOB4.substring(0, 1) == '/' && sAuthorizedDOB4.substring(1, 2) == '/')) {
          sAuthorizedDOB4 = '';
        }
        unSetErrorMessage('sAuthorizedDOB4.invalid');
        unSetErrorMessage('sAuthorizedDOB4.required');
        unSetErrorMessage('sAuthorizedDOB4.underAge');
        var fieldLength = sAuthorizedDOB4.length;
        var sSecondaryFirst4 = sSecondaryFirstName4.replace(/^\s*|\s*$/g, "");
        var sSecondaryLast4 = sSecondaryLastName4.replace(/^\s*|\s*$/g, "");
        var sSecondaryFirstName4Length = sSecondaryFirst4.length;
        var sSecondaryLastName4Length = sSecondaryLast4.length;
        var sAuthorizedStreetAddr14Length = sAuthorizedStreetAddr14.length;
        var sAuthorizedState14Length = sAuthorizedState14.length;
        var sAuthorizedZip4Length = sAuthorizedZip4.length;
        var sAuthorizedStreetAddr24Length = sAuthorizedStreetAddr24.length;
        var sAuthorizedApartment4Length = sAuthorizedApartment4.length;
        var sAuthorizedCity4Length = sAuthorizedCity4.length;
        var invalidInput = /\\/;
        if (fieldLength == 0 && ((sSecondaryFirstName4Length > 0 || sSecondaryLastName4Length > 0 || sAuthorizedStreetAddr14Length > 0 || sAuthorizedStreetAddr24Length > 0 || sAuthorizedApartment4Length > 0 || sAuthorizedCity4Length > 0 ||
            sAuthorizedState14Length > 0 || sAuthorizedZip4Length > 0) || sAuth4AddrSameAsPrimary == 'Y')) {
          if (sSecondaryFirstName4Length == 0) {
            setErrorMessage('sSecondaryFirstName4.required');
          } else {
            unSetErrorMessage('sSecondaryFirstName4.required');
          }
          if (sSecondaryLastName4Length == 0) {
            setErrorMessage('sSecondaryLastName4.required');
          } else {
            unSetErrorMessage('sSecondaryLastName4.required');
          }
          setErrorMessage('sAuthorizedDOB4.required');
          return;
        } else {
          unSetErrorMessage('sAuthorizedDOB4.required');
        }
        if (fieldLength > 0 && (fieldLength < 10 || fieldLength > 10)) {
          setErrorMessage('sAuthorizedDOB4.invalid');
          return;
        } else {
          unSetErrorMessage('sAuthorizedDOB4.invalid');
        }
        if (invalidInput.test(sAuthorizedDOB4)) {
          setErrorMessage('sAuthorizedDOB4.invalid');
          return;
        } else {
          unSetErrorMessage('sAuthorizedDOB4.invalid');
        }
        var strDate1 = new Date();
        var strDate2 = sAuthorizedDOB4;
        var datDate2 = new Date(strDate2);
        var yearsPassed = 0;
        if (datDate2.getFullYear() > strDate1.getFullYear()) {
          setErrorMessage('sAuthorizedDOB4.invalid');
          return;
        } else {
          unSetErrorMessage('sAuthorizedDOB4.invalid');
        }
        while (datDate2.getFullYear() < strDate1.getFullYear()) {
          datDate2.setYear(datDate2.getFullYear() + 1);
          yearsPassed++;
        }
        if (fieldLength > 0 && !validateDate(sAuthorizedDOB4)) {
          setErrorMessage('sAuthorizedDOB4.invalid');
          return;
        } else {
          unSetErrorMessage('sAuthorizedDOB4.invalid');
        }
        if (fieldLength > 0 && yearsPassed < 0) {
          setErrorMessage('sAuthorizedDOB4.underAge');
          return;
        } else {
          unSetErrorMessage('sAuthorizedDOB4.underAge');
        }
        if (fieldLength > 0 && yearsPassed == 0) {
          if (strDate1.getMonth() < datDate2.getMonth()) {
            setErrorMessage('sAuthorizedDOB4.underAge');
            return;
          }
          if (strDate1.getMonth() == datDate2.getMonth()) {
            if (strDate1.getDate() <= datDate2.getDate()) {
              setErrorMessage('sAuthorizedDOB4.underAge');
              return;
            } else {
              unSetErrorMessage('sAuthorizedDOB4.underAge');
            }
          }
          if (strDate1.getMonth() > datDate2.getMonth()) {
            unSetErrorMessage('sAuthorizedDOB4.underAge');
          }
        }
        if (fieldLength > 0 && yearsPassed > 125) {
          setErrorMessage('sAuthorizedDOB4.invalid');
          return;
        } else {
          unSetErrorMessage('sAuthorizedDOB4.invalid');
        }
        if (fieldLength > 0 && yearsPassed == 125) {
          if (strDate1.getMonth() < datDate2.getMonth()) {
            unSetErrorMessage('sAuthorizedDOB4.invalid');
          }
          if (strDate1.getMonth() == datDate2.getMonth()) {
            if (strDate1.getDate() >= datDate2.getDate()) {
              setErrorMessage('sAuthorizedDOB4.invalid');
              return;
            } else {
              unSetErrorMessage('sAuthorizedDOB4.invalid');
            }
          }
          if (strDate1.getMonth() > datDate2.getMonth()) {
            setErrorMessage('sAuthorizedDOB4.invalid');
            return;
          }
        }
        if ((fieldLength > 0 || sAuthorizedState14Length > 0 || sAuthorizedZip4Length > 0 || sAuthorizedStreetAddr14Length > 0 || sAuthorizedStreetAddr24Length > 0 || sAuthorizedApartment4Length > 0 || sAuth4AddrSameAsPrimary == 'Y') &&
          sSecondaryFirstName4Length == 0) {
          setErrorMessage('sSecondaryFirstName4.required');
          if ((fieldLength > 0 || sAuthorizedState14Length > 0 || sAuthorizedZip4Length > 0 || sAuthorizedStreetAddr14Length > 0 || sAuthorizedStreetAddr24Length > 0 || sAuthorizedApartment4Length > 0 || sAuth4AddrSameAsPrimary == 'Y') &&
            sSecondaryLastName4Length == 0) {
            setErrorMessage('sSecondaryLastName4.required');
          }
          return;
        }
        if ((fieldLength > 0 || sAuthorizedState14Length > 0 || sAuthorizedZip4Length > 0 || sAuthorizedStreetAddr14Length > 0 || sAuthorizedStreetAddr24Length > 0 || sAuthorizedApartment4Length > 0 || sAuth4AddrSameAsPrimary == 'Y') &&
          sSecondaryLastName4Length == 0) {
          setErrorMessage('sSecondaryLastName4.required');
          return;
        }
        if (fieldLength == 0) {
          if (sSecondaryFirstName4Length == 0 && sSecondaryLastName4Length == 0) {
            unSetErrorMessage('sSecondaryFirstName4.required');
            removeSimplyErrors('sSecondaryFirstName4');
            unSetErrorMessage('sSecondaryLastName4.required');
            removeSimplyErrors('sSecondaryLastName4');
          }
        }
        if (fieldLength == 0 && sSecondaryFirstName4Length == 0 && sSecondaryLastName4Length == 0 && sAuthorizedCity4Length == 0 && sAuthorizedStreetAddr14Length == 0 && sAuthorizedStreetAddr24Length == 0 && sAuthorizedApartment4Length == 0 &&
          sAuthorizedState14Length == 0 && sAuthorizedZip4Length == 0) {
          unSetErrorMessage('sSecondaryFirstName4.required');
          removeSimplyErrors('sSecondaryFirstName4');
          unSetErrorMessage('sSecondaryLastName4.required');
          removeSimplyErrors('sSecondaryLastName4');
          unSetErrorMessage('sAuthorizedDOB4.required');
          removeSimplyErrors('sAuthorizedDOB4');
          unSetErrorMessage('sAuthorizedStreetAddr14.required');
          removeSimplyErrors('sAuthorizedStreetAddr14');
          unSetErrorMessage('sAuthorizedCity4.required');
          removeSimplyErrors('sAuthorizedCity4');
          unSetErrorMessage('sAuthorizedState14.required');
          removeSimplyErrors('sAuthorizedState14');
          unSetErrorMessage('sAuthorizedZip4.required');
          removeSimplyErrors('sAuthorizedZip4');
        }

        function validateDate(strValue) {
          var objRegExp = /^\d{1,2}(\/)\d{1,2}\1\d{4}$/;
          var objRegExpYear = /^00[0-9][0-9]/;
          if (!objRegExp.test(strValue)) return false;
          else {
            var strSeparator = strValue.substring(2, 3);
            var arrayDate = strValue.split(strSeparator);
            var year = arrayDate[2];
            if (objRegExpYear.test(year)) return false;
            var arrayLookup = {
              '01': 31,
              '03': 31,
              '04': 30,
              '05': 31,
              '06': 30,
              '07': 31,
              '08': 31,
              '09': 30,
              '10': 31,
              '11': 30,
              '12': 31
            };
            var intDay = parseInt(arrayDate[1], 10);
            if (arrayLookup[arrayDate[0]] != null) {
              if (intDay <= arrayLookup[arrayDate[0]] && intDay != 0) return true;
            }
            var intMonth = parseInt(arrayDate[0], 10);
            var intYear = parseInt(arrayDate[2]);
            if (intYear == 0) {
              return false;
            }
            if (intMonth == 2) {
              if (intDay > 0 && intDay < 29) {
                return true;
              } else if (intDay == 29) {
                if ((intYear % 4 == 0) && (intYear % 100 != 0) || (intYear % 400 == 0)) {
                  return true;
                }
              }
            }
          }
          return false;
        }
      }

      function validatesAuthorizedStreetAddr14(sAuthorizedStreetAddr14, sSecondaryFirstName4, sSecondaryLastName4, sAuthorizedDOB4, sAuthorizedStreetAddr24, sAuthorizedApartment4, sAuthorizedCity4, sAuthorizedState14, sAuthorizedZip4) {
        /*<dependent>sSecondaryFirstName4,sSecondaryLastName4,sAuthorizedDOB4,sAuthorizedStreetAddr24,sAuthorizedApartment4,sAuthorizedCity4,sAuthorizedState14,sAuthorizedZip4</dependent>*/
        unSetErrorMessage('sAuthorizedStreetAddr14.vulgarCheck');
        unSetErrorMessage('sAuthorizedStreetAddr14.required');
        unSetErrorMessage('sAuthorizedStreetAddr14.invalidCharacters');
        var fieldLength = sAuthorizedStreetAddr14.replace(/^\s\s*/, '').replace(/\s\s*$/, '').length;
        var sSecondaryFirst4 = sSecondaryFirstName4.replace(/^\s*|\s*$/g, "");
        var sSecondaryLast4 = sSecondaryLastName4.replace(/^\s*|\s*$/g, "");
        var sSecondaryFirstName4Length = sSecondaryFirst4.length;
        var sSecondaryLastName4Length = sSecondaryLast4.length;
        var sAuthorizedState14Length = sAuthorizedState14.length;
        var sAuthorizedZip4Length = sAuthorizedZip4.length;
        var sAuthorizedDOB4Length = sAuthorizedDOB4.length;
        var sAuthorizedStreetAddr24Length = sAuthorizedStreetAddr24.length;
        var sAuthorizedApartment4Length = sAuthorizedApartment4.length;
        var sAuthorizedCity4Length = sAuthorizedCity4.length;
        var alphabetsRegEx = /^[a-zA-Z0-9\s'\.\-\#\$\/]+$/;
        var beginRegEx = /^[^a-zA-Z0-9\s'\.\-\#\$\/].*$/;
        if (fieldLength == 0 && (sSecondaryFirstName4Length > 0 || sSecondaryLastName4Length > 0 || sAuthorizedDOB4Length > 0 || sAuthorizedStreetAddr24Length > 0 || sAuthorizedApartment4Length > 0 || sAuthorizedCity4Length > 0 ||
            sAuthorizedState14Length > 0 || sAuthorizedZip4Length > 0)) {
          setErrorMessage('sAuthorizedStreetAddr14.required');
          return;
        } else {
          unSetErrorMessage('sAuthorizedStreetAddr14.required');
        }
        if (fieldLength > 40) {
          setErrorMessage('sAuthorizedStreetAddr14.maxlength');
          return;
        } else {
          unSetErrorMessage('sAuthorizedStreetAddr14.maxlength');
        }
        if (fieldLength > 0 && beginRegEx.test(sAuthorizedStreetAddr14)) {
          setErrorMessage('sAuthorizedStreetAddr14.invalidCharacters');
          return;
        } else {
          unSetErrorMessage('sAuthorizedStreetAddr14.invalidCharacters');
        }
        if (fieldLength > 0 && !alphabetsRegEx.test(sAuthorizedStreetAddr14)) {
          setErrorMessage('sAuthorizedStreetAddr14.invalidCharacters');
          return;
        } else {
          unSetErrorMessage('sAuthorizedStreetAddr14.invalidCharacters');
        }
        if ((fieldLength > 0 || sAuthorizedState14Length > 0 || sAuthorizedZip4Length > 0 || sAuthorizedStreetAddr24Length > 0 || sAuthorizedApartment4Length > 0) && sSecondaryFirstName4Length == 0) {
          setErrorMessage('sSecondaryFirstName4.required');
          if ((fieldLength > 0 || sAuthorizedState14Length > 0 || sAuthorizedZip4Length > 0 || sAuthorizedStreetAddr24Length > 0 || sAuthorizedApartment4Length > 0) && sSecondaryLastName4Length == 0) {
            setErrorMessage('sSecondaryLastName4.required');
            if ((fieldLength > 0 || sAuthorizedState14Length > 0 || sAuthorizedZip4Length > 0 || sAuthorizedStreetAddr24Length > 0 || sAuthorizedApartment4Length > 0) && sAuthorizedDOB4Length == 0) {
              setErrorMessage('sAuthorizedDOB4.required');
            }
          }
          return;
        }
        if ((fieldLength > 0 || sAuthorizedState14Length > 0 || sAuthorizedZip4Length || sAuthorizedStreetAddr24Length > 0 || sAuthorizedApartment4Length > 0) && sSecondaryLastName4Length == 0) {
          setErrorMessage('sSecondaryLastName4.required');
          if ((fieldLength > 0 || sAuthorizedState14Length > 0 || sAuthorizedZip4Length > 0 || sAuthorizedStreetAddr24Length > 0 || sAuthorizedApartment4Length > 0) && sAuthorizedDOB4Length == 0) {
            setErrorMessage('sAuthorizedDOB4.required');
          }
          return;
        }
        if ((fieldLength > 0 || sAuthorizedState14Length > 0 || sAuthorizedZip4Length > 0 || sAuthorizedStreetAddr24Length > 0 || sAuthorizedApartment4Length > 0) && sAuthorizedDOB4Length == 0) {
          setErrorMessage('sAuthorizedDOB4.required');
          return;
        }
        if (fieldLength == 0) {
          if (sSecondaryFirstName4Length == 0 && sSecondaryLastName4Length == 0) {
            unSetErrorMessage('sSecondaryFirstName4.required');
            removeSimplyErrors('sSecondaryFirstName4');
            unSetErrorMessage('sSecondaryLastName4.required');
            removeSimplyErrors('sSecondaryLastName4');
          }
        }
        if (fieldLength == 0 && sSecondaryFirstName4Length == 0 && sSecondaryLastName4Length == 0 && sAuthorizedCity4Length == 0 && sAuthorizedDOB4Length == 0 && sAuthorizedStreetAddr24Length == 0 && sAuthorizedApartment4Length == 0 &&
          sAuthorizedState14Length == 0 && sAuthorizedZip4Length == 0) {
          unSetErrorMessage('sSecondaryFirstName4.required');
          removeSimplyErrors('sSecondaryFirstName4');
          unSetErrorMessage('sSecondaryLastName4.required');
          removeSimplyErrors('sSecondaryLastName4');
          unSetErrorMessage('sAuthorizedDOB4.required');
          removeSimplyErrors('sAuthorizedDOB4');
          unSetErrorMessage('sAuthorizedStreetAddr14.required');
          removeSimplyErrors('sAuthorizedStreetAddr14');
          unSetErrorMessage('sAuthorizedCity4.required');
          removeSimplyErrors('sAuthorizedCity4');
          unSetErrorMessage('sAuthorizedState14.required');
          removeSimplyErrors('sAuthorizedState14');
          unSetErrorMessage('sAuthorizedZip4.required');
          removeSimplyErrors('sAuthorizedZip4');
        }
        checkVulgarity(sAuthorizedStreetAddr14, 'sAuthorizedStreetAddr14.vulgarCheck');
      }

      function validatesAuthorizedStreetAddr14Simply(sAuthorizedStreetAddr14) {
        unSetErrorMessage('sAuthorizedStreetAddr14.primeErr');
        var fieldLength = sAuthorizedStreetAddr14.replace(/^\s\s*/, '').replace(/\s\s*$/, '').length;
        var alphabetsRegEx = /^[a-zA-Z0-9\s'\.\-\#\$\/]+$/;
        var beginRegEx = /^[^a-zA-Z0-9\s'\.\-\#\$\/].*$/;
        if (fieldLength < 2 || beginRegEx.test(sAuthorizedStreetAddr14) || !alphabetsRegEx.test(sAuthorizedStreetAddr14)) {
          setErrorMessage('sAuthorizedStreetAddr14.primeErr');
          return;
        } else {
          unSetErrorMessage('sAuthorizedStreetAddr14.primeErr');
        }
      }

      function validatesAuthorizedStreetAddr24(sAuthorizedStreetAddr24, sSecondaryFirstName4, sSecondaryLastName4, sAuthorizedDOB4, sAuthorizedStreetAddr14, sAuthorizedApartment4, sAuthorizedCity4, sAuthorizedState14, sAuthorizedZip4) {
        /*<dependent>sSecondaryFirstName4,sSecondaryLastName4,sAuthorizedDOB4,sAuthorizedStreetAddr14,sAuthorizedApartment4,sAuthorizedCity4,sAuthorizedState14,sAuthorizedZip4</dependent> */
        unSetErrorMessage('sAuthorizedStreetAddr24.vulgarCheck');
        unSetErrorMessage('sAuthorizedStreetAddr24.invalid');
        var fieldLength = sAuthorizedStreetAddr24.length;
        var alphabetsRegEx = /^[a-zA-Z0-9\s.,'\-\#\$\/]+$/;
        var beginRegEx = /^[^a-zA-Z0-9\s.,'\-\#\$\/].*$/;
        var sSecondaryFirst4 = sSecondaryFirstName4.replace(/^\s*|\s*$/g, "");
        var sSecondaryFirstName4Length = sSecondaryFirst4.length;
        var sSecondaryLastName4 = sSecondaryLastName4.replace(/^\s*|\s*$/g, "");
        var sSecondaryLastName4Length = sSecondaryLastName4.length;
        var sAuthorizedDOB4Length = sAuthorizedDOB4.length;
        var sAuthorizedStreetAddr14Length = sAuthorizedStreetAddr14.length;
        var sAuthorizedApartment4Length = sAuthorizedApartment4.length;
        var sAuthorizedCity4Length = sAuthorizedCity4.length;
        var sAuthorizedState14Length = sAuthorizedState14.length;
        var sAuthorizedZip4Length = sAuthorizedZip4.length;
        if ((fieldLength > 0) && (beginRegEx.test(sAuthorizedStreetAddr24))) {
          setErrorMessage('sAuthorizedStreetAddr24.invalid');
          return;
        } else {
          unSetErrorMessage('sAuthorizedStreetAddr24.invalid');
        }
        if (fieldLength > 40) {
          setErrorMessage('sAuthorizedStreetAddr24.maxlength');
          return;
        } else {
          unSetErrorMessage('sAuthorizedStreetAddr24.maxlength');
        }
        if ((fieldLength > 0) && (!alphabetsRegEx.test(sAuthorizedStreetAddr24))) {
          setErrorMessage('sAuthorizedStreetAddr24.invalid');
          return;
        } else {
          unSetErrorMessage('sAuthorizedStreetAddr24.invalid');
        }
        if ((fieldLength > 0) && sSecondaryFirstName4Length == 0) {
          setErrorMessage('sSecondaryFirstName4.required');
          if ((fieldLength > 0) && sSecondaryLastName4Length == 0) {
            setErrorMessage('sSecondaryLastName4.required');
          }
          if ((fieldLength > 0) && sAuthorizedDOB4Length == 0) {
            setErrorMessage('sAuthorizedDOB4.required');
          }
          if ((fieldLength > 0) && sAuthorizedStreetAddr14Length == 0) {
            setErrorMessage('sAuthorizedStreetAddr14.required');
          }
          return;
        }
        if (fieldLength == 0 && sSecondaryFirstName4Length == 0 && sSecondaryLastName4Length == 0 && sAuthorizedDOB4Length == 0 && sAuthorizedStreetAddr14Length == 0 && sAuthorizedApartment4Length == 0 && sAuthorizedCity4Length == 0 &&
          sAuthorizedState14Length == 0 && sAuthorizedZip4Length == 0) {
          unSetErrorMessage('sSecondaryLastName4.required');
          removeSimplyErrors('sSecondaryLastName4');
          unSetErrorMessage('sSecondaryFirstName4.required');
          removeSimplyErrors('sSecondaryFirstName4');
          unSetErrorMessage('sAuthorizedDOB4.required');
          removeSimplyErrors('sAuthorizedDOB4');
          unSetErrorMessage('sAuthorizedStreetAddr14.required');
          removeSimplyErrors('sAuthorizedStreetAddr14');
          unSetErrorMessage('sAuthorizedCity4.required');
          removeSimplyErrors('sAuthorizedCity4');
          unSetErrorMessage('sAuthorizedState14.required');
          removeSimplyErrors('sAuthorizedState14');
          unSetErrorMessage('sAuthorizedZip4.required');
          removeSimplyErrors('sAuthorizedZip4');
        }
        checkVulgarity(sAuthorizedStreetAddr24, 'sAuthorizedStreetAddr24.vulgarCheck');
      }

      function validatesAuthorizedCity4(sAuthorizedCity4, sSecondaryFirstName4, sSecondaryLastName4, sAuthorizedDOB4, sAuthorizedStreetAddr14, sAuthorizedStreetAddr24, sAuthorizedApartment4, sAuthorizedState14, sAuthorizedZip4, isNonRespPage) {
        /*<dependent>sSecondaryFirstName4,sSecondaryLastName4,sAuthorizedDOB4,sAuthorizedStreetAddr14,sAuthorizedStreetAddr24,sAuthorizedApartment4,sAuthorizedState14,sAuthorizedZip4,isNonRespPage</dependent>*/
        unSetErrorMessage('sAuthorizedCity4.invalidCharacters');
        var fieldLength = sAuthorizedCity4.length;
        var sSecondaryFirst4 = sSecondaryFirstName4.replace(/^\s*|\s*$/g, "");
        var sSecondaryFirstName4Length = sSecondaryFirst4.length;
        var sSecondaryLastName4 = sSecondaryLastName4.replace(/^\s*|\s*$/g, "");
        var sSecondaryLastName4Length = sSecondaryLastName4.length;
        var sAuthorizedDOB4Length = sAuthorizedDOB4.length;
        var sAuthorizedStreetAddr14Length = sAuthorizedStreetAddr14.length;
        var sAuthorizedStreetAddr24Length = sAuthorizedStreetAddr24.length;
        var sAuthorizedApartment4Length = sAuthorizedApartment4.length;
        var sAuthorizedState14Length = sAuthorizedState14.length;
        var sAuthorizedZip4Length = sAuthorizedZip4.length;
        var isZipCodeBeforeState = 'false';
        if (isNonRespPage == 'true') {
          isZipCodeBeforeState = 'true';
        }
        var alphabetsRegEx = /^[a-zA-Z0-9\s\-']+$/;
        var beginRegEx = /^[^a-zA-Z0-9].*$/;
        if (fieldLength == 0 && (sSecondaryFirstName4Length > 0 || sSecondaryLastName4Length > 0 || sAuthorizedDOB4Length > 0 || sAuthorizedStreetAddr14Length > 0 || sAuthorizedStreetAddr24Length > 0 || sAuthorizedApartment4Length > 0 ||
            sAuthorizedState14Length > 0 || sAuthorizedZip4Length > 0)) {
          setErrorMessage('sAuthorizedCity4.required');
          return;
        } else {
          unSetErrorMessage('sAuthorizedCity4.required');
        }
        if (fieldLength > 32) {
          setErrorMessage('sAuthorizedCity4.maxlength');
          return;
        } else {
          unSetErrorMessage('sAuthorizedCity4.maxlength');
        }
        if (fieldLength > 0 && beginRegEx.test(sAuthorizedCity4)) {
          setErrorMessage('sAuthorizedCity4.invalidCharacters');
          return;
        } else {
          unSetErrorMessage('sAuthorizedCity4.invalidCharacters');
        }
        if (fieldLength > 0 && !alphabetsRegEx.test(sAuthorizedCity4)) {
          setErrorMessage('sAuthorizedCity4.invalidCharacters');
          return;
        } else {
          unSetErrorMessage('sAuthorizedCity4.invalidCharacters');
        }
        if (fieldLength > 0 && sSecondaryFirstName4Length == 0) {
          setErrorMessage('sSecondaryFirstName4.required');
          if (fieldLength > 0 && sSecondaryLastName4Length == 0) {
            setErrorMessage('sSecondaryLastName4.required');
          }
          if (fieldLength > 0 && sAuthorizedDOB4Length == 0) {
            setErrorMessage('sAuthorizedDOB4.required');
          }
          if (fieldLength > 0 && sAuthorizedStreetAddr14Length == 0) {
            setErrorMessage('sAuthorizedStreetAddr14.required');
          }
          if (isZipCodeBeforeState == "true" && fieldLength > 0 && sAuthorizedZip4Length == 0) {
            setErrorMessage('sAuthorizedZip4.required');
          }
          return;
        }
        if (fieldLength > 0 && sSecondaryLastName4Length == 0) {
          setErrorMessage('sSecondaryLastName4.required');
          if (fieldLength > 0 && sAuthorizedDOB4Length == 0) {
            setErrorMessage('sAuthorizedDOB4.required');
          }
          if (fieldLength > 0 && sAuthorizedStreetAddr14Length == 0) {
            setErrorMessage('sAuthorizedStreetAddr14.required');
          }
          if (isZipCodeBeforeState == "true" && fieldLength > 0 && sAuthorizedZip4Length == 0) {
            setErrorMessage('sAuthorizedZip4.required');
          }
          return;
        }
        if (fieldLength > 0 && sAuthorizedDOB4Length == 0) {
          setErrorMessage('sAuthorizedDOB4.required');
          if (fieldLength > 0 && sAuthorizedStreetAddr14Length == 0) {
            setErrorMessage('sAuthorizedStreetAddr14.required');
          }
          if (isZipCodeBeforeState == "true" && fieldLength > 0 && sAuthorizedZip4Length == 0) {
            setErrorMessage('sAuthorizedZip4.required');
          }
          return;
        }
        if (fieldLength > 0 && sAuthorizedStreetAddr14Length == 0) {
          setErrorMessage('sAuthorizedStreetAddr14.required');
          if (isZipCodeBeforeState == "true" && fieldLength > 0 && sAuthorizedZip4Length == 0) {
            setErrorMessage('sAuthorizedZip4.required');
          }
          return;
        }
        if (isZipCodeBeforeState == "true" && fieldLength > 0 && sAuthorizedZip4Length == 0) {
          setErrorMessage('sAuthorizedZip4.required');
          return;
        }
        if ((sSecondaryFirstName4Length > 0 || sSecondaryLastName4Length > 0) && sAuthorizedStreetAddr14Length == 0) {
          setErrorMessage('sAuthorizedStreetAddr14.required');
          return;
        }
        if (fieldLength == 0 && sSecondaryFirstName4Length == 0 && sSecondaryLastName4Length == 0 && sAuthorizedDOB4Length == 0 && sAuthorizedStreetAddr14Length == 0 && sAuthorizedStreetAddr24Length == 0 && sAuthorizedApartment4Length == 0 &&
          sAuthorizedZip4Length == 0 && sAuthorizedState14Length == 0) {
          unSetErrorMessage('sSecondaryLastName4.required');
          removeSimplyErrors('sSecondaryLastName4');
          unSetErrorMessage('sSecondaryFirstName4.required');
          removeSimplyErrors('sSecondaryFirstName4');
          unSetErrorMessage('sAuthorizedDOB4.required');
          removeSimplyErrors('sAuthorizedDOB4');
          unSetErrorMessage('sAuthorizedStreetAddr14.required');
          removeSimplyErrors('sAuthorizedStreetAddr14');
          unSetErrorMessage('sAuthorizedCity4.required');
          removeSimplyErrors('sAuthorizedCity4');
          unSetErrorMessage('sAuthorizedState14.required');
          removeSimplyErrors('sAuthorizedState14');
          unSetErrorMessage('sAuthorizedZip4.required');
          removeSimplyErrors('sAuthorizedZip4');
        }
        checkVulgarity(sAuthorizedCity4, 'sAuthorizedCity4.vulgarCheck');
      }

      function validatesAuthorizedState14(sAuthorizedState14, sSecondaryFirstName4, sSecondaryLastName4, sAuthorizedDOB4, sAuthorizedStreetAddr14, sAuthorizedStreetAddr24, sAuthorizedApartment4, sAuthorizedCity4, sAuthorizedZip4, prefillState14,
        isNonRespPage) {
        /*<dependent>sSecondaryFirstName4,sSecondaryLastName4,sAuthorizedDOB4,sAuthorizedStreetAddr14,sAuthorizedStreetAddr24,sAuthorizedApartment4,sAuthorizedCity4,sAuthorizedZip4,prefillState14,isNonRespPage</dependent>*/
        unSetErrorMessage('sAuthorizedState14.required');
        unSetErrorMessage('sAuthorizedState14.invalidCharacters');
        var fieldLength = sAuthorizedState14.length;
        var alphabetsRegEx = /^[a-zA-Z]+$/;
        var sSecondaryFirst4 = sSecondaryFirstName4.replace(/^\s*|\s*$/g, "");
        var sSecondaryFirstName4Length = sSecondaryFirst4.length;
        var sSecondaryLastName4 = sSecondaryLastName4.replace(/^\s*|\s*$/g, "");
        var sSecondaryLastName4Length = sSecondaryLastName4.length;
        var sAuthorizedDOB4Length = sAuthorizedDOB4.length;
        var sAuthorizedStreetAddr14Length = sAuthorizedStreetAddr14.length;
        var sAuthorizedStreetAddr24Length = sAuthorizedStreetAddr24.length;
        var sAuthorizedCity4Length = sAuthorizedCity4.length;
        var sAuthorizedApartment4Length = sAuthorizedApartment4.length;
        var sAuthorizedZip4Length = sAuthorizedZip4.length;
        var isZipCodeBeforeState = 'false';
        if (isNonRespPage == 'true') {
          isZipCodeBeforeState = 'true';
        }
        if (fieldLength == 0 && (sSecondaryFirstName4Length > 0 || sSecondaryLastName4Length > 0 || sAuthorizedDOB4Length > 0 || sAuthorizedStreetAddr14Length > 0 || sAuthorizedStreetAddr24Length > 0 || sAuthorizedApartment4Length > 0 ||
            sAuthorizedCity4Length > 0)) {
          setErrorMessage('sAuthorizedState14.required');
          return;
        } else {
          unSetErrorMessage('sAuthorizedState14.required');
        }
        if (!alphabetsRegEx.test(sAuthorizedState14) && (sSecondaryFirstName4Length > 0 || sSecondaryLastName4Length > 0 || sAuthorizedDOB4Length > 0 || sAuthorizedStreetAddr14Length > 0 || sAuthorizedStreetAddr24Length > 0 ||
            sAuthorizedApartment4Length > 0 || sAuthorizedCity4Length > 0)) {
          setErrorMessage('sAuthorizedState14.invalidCharacters');
          return;
        } else {
          unSetErrorMessage('sAuthorizedState14.invalidCharacters');
        }
        if (fieldLength > 0 && sSecondaryFirstName4Length == 0) {
          setErrorMessage('sSecondaryFirstName4.required');
          if (fieldLength > 0 && sSecondaryLastName4Length == 0) {
            setErrorMessage('sSecondaryLastName4.required');
          }
          if (fieldLength > 0 && sAuthorizedDOB4Length == 0) {
            setErrorMessage('sAuthorizedDOB4.required');
          }
          if (fieldLength > 0 && sAuthorizedStreetAddr14Length == 0) {
            setErrorMessage('sAuthorizedStreetAddr14.required');
          }
          if (isZipCodeBeforeState == "true" && fieldLength > 0 && sAuthorizedZip4Length == 0) {
            setErrorMessage('sAuthorizedZip4.required');
          }
          if (fieldLength > 0 && sAuthorizedCity4Length == 0) {
            setErrorMessage('sAuthorizedCity4.required');
          }
          return;
        }
        if (fieldLength > 0 && sSecondaryLastName4Length == 0) {
          setErrorMessage('sSecondaryLastName4.required');
          if (fieldLength > 0 && sAuthorizedDOB4Length == 0) {
            setErrorMessage('sAuthorizedDOB4.required');
          }
          if (fieldLength > 0 && sAuthorizedStreetAddr14Length == 0) {
            setErrorMessage('sAuthorizedStreetAddr14.required');
          }
          if (isZipCodeBeforeState == "true" && fieldLength > 0 && sAuthorizedZip4Length == 0) {
            setErrorMessage('sAuthorizedZip4.required');
          }
          if (fieldLength > 0 && sAuthorizedCity4Length == 0) {
            setErrorMessage('sAuthorizedCity4.required');
          }
          return;
        }
        if (fieldLength > 0 && sAuthorizedDOB4Length == 0) {
          setErrorMessage('sAuthorizedDOB4.required');
          if (fieldLength > 0 && sAuthorizedStreetAddr14Length == 0) {
            setErrorMessage('sAuthorizedStreetAddr14.required');
          }
          if (isZipCodeBeforeState == "true" && fieldLength > 0 && sAuthorizedZip4Length == 0) {
            setErrorMessage('sAuthorizedZip4.required');
          }
          if (fieldLength > 0 && sAuthorizedCity4Length == 0) {
            setErrorMessage('sAuthorizedCity4.required');
          }
          return;
        }
        if (fieldLength > 0 && sAuthorizedStreetAddr14Length == 0) {
          setErrorMessage('sAuthorizedStreetAddr14.required');
          if (isZipCodeBeforeState == "true" && fieldLength > 0 && sAuthorizedZip4Length == 0) {
            setErrorMessage('sAuthorizedZip4.required');
          }
          if (fieldLength > 0 && sAuthorizedCity4Length == 0) {
            setErrorMessage('sAuthorizedCity4.required');
          }
          return;
        }
        if (isZipCodeBeforeState == "true" && fieldLength > 0 && sAuthorizedZip4Length == 0) {
          setErrorMessage('sAuthorizedZip4.required');
          if (fieldLength > 0 && sAuthorizedCity4Length == 0) {
            setErrorMessage('sAuthorizedCity4.required');
          }
          return;
        }
        if (fieldLength > 0 && sAuthorizedCity4Length == 0) {
          setErrorMessage('sAuthorizedCity4.required');
          return;
        }
        if (isZipCodeBeforeState == "false") {
          if (fieldLength > 0 && sAuthorizedZip4Length > 0) {
            if (prefillState14 == '' || sAuthorizedState14 == prefillState14) {
              unSetErrorMessage('sAuthorizedZip4.required');
            } else {
              setErrorMessage('sAuthorizedZip4.required');
              return;
            }
          }
        }
        if (sSecondaryFirstName4Length > 0 || sSecondaryLastName4Length > 0) {
          if (sAuthorizedDOB4Length == 0) {
            setErrorMessage('sAuthorizedDOB4.required');
            if (sAuthorizedStreetAddr14Length == 0) {
              setErrorMessage('sAuthorizedStreetAddr14.required');
              if (sAuthorizedCity4Length == 0) {
                setErrorMessage('sAuthorizedCity4.required');
              }
            }
            return;
          }
          if (sAuthorizedStreetAddr14Length == 0) {
            setErrorMessage('sAuthorizedStreetAddr14.required');
            if (sAuthorizedCity4Length == 0) {
              setErrorMessage('sAuthorizedCity4.required');
            }
            return;
          }
          if (sAuthorizedCity4Length == 0) {
            setErrorMessage('sAuthorizedCity4.required');
            return;
          }
        }
        var isValid = false;
        var element;
        var validState = new Array("AK", "AL", "AP", "AR", "AZ", "CA", "CO", "CT", "DC", "DE", "FL", "GA", "GU", "HI", "IA", "ID", "IL", "IN", "KS", "KY", "LA", "MA", "MD", "ME", "MI", "MN", "MO", "MS", "MT", "NC", "ND", "NE", "NH", "NJ", "NM", "NV",
          "NY", "OH", "OK", "OR", "PA", "PR", "RI", "SC", "SD", "TN", "TX", "UT", "VA", "VI", "VT", "WA", "WI", "WV", "WY", "AA", "AE", "");
        for (index in validState) {
          element = validState[index];
          if (sAuthorizedState14.toUpperCase() == element) {
            isValid = true;
            break;
          } else {
            isValid = false;
          }
        }
        if (!isValid) {
          setErrorMessage('sAuthorizedState14.invalidCharacters');
          return;
        } else {
          unSetErrorMessage('sAuthorizedState14.invalidCharacters');
        }
        if (fieldLength == 0 && sSecondaryFirstName4Length == 0 && sSecondaryLastName4Length == 0 && sAuthorizedDOB4Length == 0 && sAuthorizedStreetAddr14Length == 0 && sAuthorizedStreetAddr24Length == 0 && sAuthorizedApartment4Length == 0 &&
          sAuthorizedCity4Length == 0 && sAuthorizedZip4Length == 0) {
          unSetErrorMessage('sSecondaryLastName4.required');
          removeSimplyErrors('sSecondaryLastName4');
          unSetErrorMessage('sSecondaryFirstName4.required');
          removeSimplyErrors('sSecondaryFirstName4');
          unSetErrorMessage('sAuthorizedDOB4.required');
          removeSimplyErrors('sAuthorizedDOB4');
          unSetErrorMessage('sAuthorizedStreetAddr14.required');
          removeSimplyErrors('sAuthorizedStreetAddr14');
          unSetErrorMessage('sAuthorizedCity4.required');
          removeSimplyErrors('sAuthorizedCity4');
          unSetErrorMessage('sAuthorizedState14.required');
          removeSimplyErrors('sAuthorizedState14');
          unSetErrorMessage('sAuthorizedZip4.required');
          removeSimplyErrors('sAuthorizedZip4');
        }
      }

      function validatesAuthorizedZip4(sAuthorizedZip4, sSecondaryFirstName4, sSecondaryLastName4, sAuthorizedDOB4, sAuthorizedStreetAddr14, sAuthorizedStreetAddr24, sAuthorizedApartment4, sAuthorizedCity4, sAuthorizedState14, prefillState14,
        isNonRespPage) {
        /*<dependent>sSecondaryFirstName4,sSecondaryLastName4,sAuthorizedDOB4,sAuthorizedStreetAddr14,sAuthorizedStreetAddr24,sAuthorizedApartment4,sAuthorizedCity4,sAuthorizedState14,prefillState14,isNonRespPage</dependent> */
        var fieldLength = sAuthorizedZip4.length;
        var sSecondaryFirst4 = sSecondaryFirstName4.replace(/^\s*|\s*$/g, "");
        var sSecondaryFirstName4Length = sSecondaryFirst4.length;
        var sSecondaryLastName4 = sSecondaryLastName4.replace(/^\s*|\s*$/g, "");
        var sSecondaryLastName4Length = sSecondaryLastName4.length;
        var sAuthorizedDOB4Length = sAuthorizedDOB4.length;
        var sAuthorizedStreetAddr14Length = sAuthorizedStreetAddr14.length;
        var sAuthorizedStreetAddr24Length = sAuthorizedStreetAddr24.length;
        var sAuthorizedApartment4Length = sAuthorizedApartment4.length;
        var sAuthorizedCity4Length = sAuthorizedCity4.length;
        var sAuthorizedState14Length = sAuthorizedState14.length;
        var alphabetsRegEx = /^[0-9]+$/;
        var isZipCodeBeforeState = 'false';
        if (isNonRespPage == 'true') {
          isZipCodeBeforeState = 'true';
        }
        if ((fieldLength < 5 || fieldLength > 5) && (sSecondaryFirstName4Length > 0 || sSecondaryLastName4Length > 0 || sAuthorizedDOB4Length > 0 || sAuthorizedStreetAddr14Length > 0 || sAuthorizedStreetAddr24Length > 0 ||
            sAuthorizedApartment4Length > 0 || sAuthorizedCity4Length > 0 || sAuthorizedState14Length > 0)) {
          setErrorMessage('sAuthorizedZip4.required');
          return;
        } else {
          unSetErrorMessage('sAuthorizedZip4.required');
        }
        if (fieldLength > 0 && fieldLength < 5) {
          setErrorMessage('sAuthorizedZip4.required');
          return;
        } else {
          unSetErrorMessage('sAuthorizedZip4.required');
        }
        if (!alphabetsRegEx.test(sAuthorizedZip4) && (fieldLength > 0)) {
          setErrorMessage('sAuthorizedZip4.required');
          return;
        } else {
          unSetErrorMessage('sAuthorizedZip4.required');
        }
        if ((fieldLength == 5) && sSecondaryFirstName4Length == 0) {
          setErrorMessage('sSecondaryFirstName4.required');
          if ((fieldLength == 5) && sSecondaryLastName4Length == 0) {
            setErrorMessage('sSecondaryLastName4.required');
          }
          if ((fieldLength == 5) && sAuthorizedDOB4Length == 0) {
            setErrorMessage('sAuthorizedDOB4.required');
          }
          if ((fieldLength == 5) && sAuthorizedStreetAddr14Length == 0) {
            setErrorMessage('sAuthorizedStreetAddr14.required');
          }
          if ((fieldLength == 5) && sAuthorizedCity4Length == 0) {
            setErrorMessage('sAuthorizedCity4.required');
          }
          if ((fieldLength == 5) && sAuthorizedState14Length == 0) {
            setErrorMessage('sAuthorizedState14.required');
          }
          return;
        }
        if ((fieldLength == 5) && sSecondaryLastName4Length == 0) {
          setErrorMessage('sSecondaryLastName4.required');
          if ((fieldLength == 5) && sAuthorizedDOB4Length == 0) {
            setErrorMessage('sAuthorizedDOB4.required');
          }
          if (fieldLength == 5 && sAuthorizedStreetAddr14Length == 0) {
            setErrorMessage('sAuthorizedStreetAddr14.required');
          }
          if (fieldLength == 5 && sAuthorizedCity4Length == 0) {
            setErrorMessage('sAuthorizedCity4.required');
          }
          if ((fieldLength == 5) && sAuthorizedState14Length == 0) {
            setErrorMessage('sAuthorizedState14.required');
          }
          return;
        }
        if ((fieldLength == 5) && sAuthorizedDOB4Length == 0) {
          setErrorMessage('sAuthorizedDOB4.required');
          if (fieldLength == 5 && sAuthorizedStreetAddr14Length == 0) {
            setErrorMessage('sAuthorizedStreetAddr14.required');
          }
          if (fieldLength == 5 && sAuthorizedCity4Length == 0) {
            setErrorMessage('sAuthorizedCity4.required');
          }
          if ((fieldLength == 5) && sAuthorizedState14Length == 0) {
            setErrorMessage('sAuthorizedState14.required');
          }
          return;
        }
        if ((fieldLength == 5) && sAuthorizedStreetAddr14Length == 0) {
          setErrorMessage('sAuthorizedStreetAddr14.required');
          if (fieldLength == 5 && sAuthorizedCity4Length == 0) {
            setErrorMessage('sAuthorizedCity4.required');
          }
          if ((fieldLength == 5) && sAuthorizedState14Length == 0) {
            setErrorMessage('sAuthorizedState14.required');
          }
          return;
        }
        if ((fieldLength == 5) && sAuthorizedCity4Length == 0) {
          setErrorMessage('sAuthorizedCity4.required');
          if ((fieldLength == 5) && sAuthorizedState14Length == 0) {
            setErrorMessage('sAuthorizedState14.required');
          }
          return;
        }
        if ((fieldLength == 5) && sAuthorizedState14Length == 0) {
          setErrorMessage('sAuthorizedState14.required');
          return;
        }
        if (sSecondaryFirstName4Length > 0 || sSecondaryLastName4Length > 0) {
          if (sAuthorizedDOB4Length == 0) {
            setErrorMessage('sAuthorizedDOB4.required');
            if (sAuthorizedStreetAddr14Length == 0) {
              setErrorMessage('sAuthorizedStreetAddr14.required');
              if (sAuthorizedCity4Length == 0) {
                setErrorMessage('sAuthorizedCity4.required');
                if (sAuthorizedState14Length == 0) {
                  setErrorMessage('sAuthorizedState14.required');
                }
              }
            }
            return;
          }
          if (sAuthorizedStreetAddr14Length == 0) {
            setErrorMessage('sAuthorizedStreetAddr14.required');
            if (sAuthorizedCity4Length == 0) {
              setErrorMessage('sAuthorizedCity4.required');
              if (sAuthorizedState14Length == 0) {
                setErrorMessage('sAuthorizedState14.required');
              }
            }
            return;
          }
          if (sAuthorizedCity4Length == 0) {
            setErrorMessage('sAuthorizedCity4.required');
            if (sAuthorizedState14Length == 0) {
              setErrorMessage('sAuthorizedState14.required');
            }
            return;
          }
          if (sAuthorizedState14Length == 0) {
            setErrorMessage('sAuthorizedState14.required');
            return;
          }
        }
        if (isZipCodeBeforeState == "false") {
          if (fieldLength > 0 && sAuthorizedState14Length > 0) {
            if (prefillState14 == '' || sAuthorizedState14 == prefillState14) {
              unSetErrorMessage('sAuthorizedZip4.required');
            } else {
              setErrorMessage('sAuthorizedZip4.required');
              return;
            }
          }
        }
        if (fieldLength == 0 && sSecondaryFirstName4Length == 0 && sSecondaryLastName4Length == 0 && sAuthorizedDOB4Length == 0 && sAuthorizedStreetAddr14Length == 0 && sAuthorizedStreetAddr24Length == 0 && sAuthorizedApartment4Length == 0 &&
          sAuthorizedCity4Length == 0 && sAuthorizedState14Length == 0) {
          unSetErrorMessage('sSecondaryLastName4.required');
          removeSimplyErrors('sSecondaryLastName4');
          unSetErrorMessage('sSecondaryFirstName4.required');
          removeSimplyErrors('sSecondaryFirstName4');
          unSetErrorMessage('sAuthorizedDOB4.required');
          removeSimplyErrors('sAuthorizedDOB4');
          unSetErrorMessage('sAuthorizedStreetAddr14.required');
          removeSimplyErrors('sAuthorizedStreetAddr14');
          unSetErrorMessage('sAuthorizedCity4.required');
          removeSimplyErrors('sAuthorizedCity4');
          unSetErrorMessage('sAuthorizedState14.required');
          removeSimplyErrors('sAuthorizedState14');
        }
        checkVulgarity(sAuthorizedZip4, 'sAuthorizedZip4');
      }

      function validatesSecondaryFirstName5(sSecondaryFirstName5, sSecondaryLastName5, sSecondaryMiddleInitial5, sAuthorizedDOB5, sAuthorizedStreetAddr15, sAuthorizedStreetAddr25, sAuthorizedApartment5, sAuthorizedCity5, sAuthorizedState15,
        sAuthorizedZip5, sAuth5AddrSameAsPrimary) {
        /*<dependent>sSecondaryLastName5,sSecondaryMiddleInitial5,sAuthorizedDOB5,sAuthorizedStreetAddr15,sAuthorizedStreetAddr25,sAuthorizedApartment5,sAuthorizedCity5,sAuthorizedState15,sAuthorizedZip5,sAuth5AddrSameAsPrimary</dependent>*/
        unSetErrorMessage('sSecondaryFirstName5.required');
        unSetErrorMessage('sSecondaryFirstName5.vulgarCheck');
        unSetErrorMessage('sSecondaryFirstName5.invalidBegin');
        unSetErrorMessage('sSecondaryFirstName5.invalidCharacters');
        var fieldLength = sSecondaryFirstName5.length;
        var sSecondaryLast5 = sSecondaryLastName5.replace(/^\s*|\s*$/g, "");
        var sSecondaryLastNameLength = sSecondaryLast5.length;
        var secondMiddleName4FieldLength = sSecondaryMiddleInitial5.length;
        var alphabetsRegEx = /^[a-zA-Z\s\-']+$/;
        var beginRegEx = /^[^a-zA-Z].*$/;
        var sAuthorizedDOB5Length = sAuthorizedDOB5.length;
        var sAuthorizedStreetAddr15Length = sAuthorizedStreetAddr15.length;
        var sAuthorizedStreetAddr25Length = sAuthorizedStreetAddr25.length;
        var sAuthorizedApartment5Length = sAuthorizedApartment5.length;
        var sAuthorizedCity5Length = sAuthorizedCity5.length;
        var sAuthorizedState15Length = sAuthorizedState15.length;
        var sAuthorizedZip5Length = sAuthorizedZip5.length;
        if (fieldLength > 0 && beginRegEx.test(sSecondaryFirstName5)) {
          setErrorMessage('sSecondaryFirstName5.invalidBegin');
          return;
        } else {
          unSetErrorMessage('sSecondaryFirstName5.invalidBegin');
        }
        if (fieldLength > 0 && !alphabetsRegEx.test(sSecondaryFirstName5)) {
          setErrorMessage('sSecondaryFirstName5.invalidCharacters');
          return;
        } else {
          unSetErrorMessage('sSecondaryFirstName5.invalidCharacters');
        }
        if ((sSecondaryLastNameLength > 0 || sAuthorizedDOB5Length > 0 || sAuthorizedStreetAddr15Length > 0 || sAuthorizedStreetAddr25Length > 0 || sAuthorizedApartment5Length > 0 || sAuthorizedCity5Length > 0 || sAuthorizedZip5Length > 0 ||
            sAuthorizedState15Length > 0 || sAuth5AddrSameAsPrimary == 'Y') && (fieldLength == 0)) {
          setErrorMessage('sSecondaryFirstName5.required');
          return;
        } else {
          unSetErrorMessage('sSecondaryFirstName5.required');
        }
        if ((sSecondaryLastNameLength == 0) && (fieldLength == 0) && (secondMiddleName4FieldLength > 0 || sAuthorizedStreetAddr15Length > 0 || sAuthorizedStreetAddr25Length > 0 || sAuthorizedApartment5Length > 0 || sAuthorizedCity5Length > 0 ||
            sAuthorizedState15Length > 0 || sAuthorizedZip5Length > 0 || sAuth5AddrSameAsPrimary == 'Y')) {
          setErrorMessage('sSecondaryFirstName5.required');
          setErrorMessage('sSecondaryLastName5.required');
          return;
        } else {
          unSetErrorMessage('sSecondaryFirstName5.required');
          unSetErrorMessage('sSecondaryLastName5.required');
        }
        if (fieldLength > 0 && sSecondaryLastNameLength == 0 && (sAuthorizedDOB5Length > 0 || sAuthorizedStreetAddr15Length > 0 || sAuthorizedStreetAddr25Length > 0 || sAuthorizedApartment5Length > 0 || sAuthorizedCity5Length > 0 ||
            sAuthorizedState15Length > 0 || sAuthorizedZip5Length > 0 || sAuth5AddrSameAsPrimary == 'Y')) {
          setErrorMessage('sSecondaryLastName5.required');
        }
        if (fieldLength == 0 && sSecondaryLastNameLength == 0 && sAuthorizedDOB5Length == 0 && sAuthorizedStreetAddr15Length == 0 && sAuthorizedStreetAddr25Length == 0 && sAuthorizedApartment5Length == 0 && sAuthorizedCity5Length == 0 &&
          sAuthorizedState15Length == 0 && sAuthorizedZip5Length == 0) {
          unSetErrorMessage('sSecondaryLastName5.required');
          removeSimplyErrors('sSecondaryLastName5');
          unSetErrorMessage('sAuthorizedDOB5.required');
          removeSimplyErrors('sAuthorizedDOB5');
          unSetErrorMessage('sAuthorizedStreetAddr15.required');
          removeSimplyErrors('sAuthorizedStreetAddr15');
          unSetErrorMessage('sAuthorizedCity5.required');
          removeSimplyErrors('sAuthorizedCity5');
          unSetErrorMessage('sAuthorizedState15.required');
          removeSimplyErrors('sAuthorizedState15');
          unSetErrorMessage('sAuthorizedZip5.required');
          removeSimplyErrors('sAuthorizedZip5');
        }
        checkVulgarity(sSecondaryFirstName5, 'sSecondaryFirstName5.vulgarCheck');
      }

      function validatesSecondaryMiddleInitial5(sSecondaryMiddleInitial5) {
        unSetErrorMessage('sSecondaryMiddleInitial5.invalidCharacters');
        unSetErrorMessage('sSecondaryMiddleInitial5.required');
        var fieldLength = sSecondaryMiddleInitial5.length;
        var alphabetsRegEx = /^[a-zA-Z]+$/;
        if (fieldLength > 0 && !alphabetsRegEx.test(sSecondaryMiddleInitial5)) {
          setErrorMessage('sSecondaryMiddleInitial5.invalidCharacters');
          return;
        } else {
          unSetErrorMessage('sSecondaryMiddleInitial5.invalidCharacters');
        }
      }

      function validatesSecondaryLastName5(sSecondaryLastName5, sFirstName, sLastName, sSecondaryFirstName5, sSecondaryMiddleInitial5, sAuthorizedDOB5, sAuthorizedStreetAddr15, sAuthorizedStreetAddr25, sAuthorizedApartment5, sAuthorizedCity5,
        sAuthorizedState15, sAuthorizedZip5, sAuth5AddrSameAsPrimary) {
        /*<dependent>sFirstName,sLastName,sSecondaryFirstName5,sSecondaryMiddleInitial5,sAuthorizedDOB5,sAuthorizedStreetAddr15,sAuthorizedStreetAddr25,sAuthorizedApartment5,sAuthorizedCity5,sAuthorizedState15,sAuthorizedZip5,sAuth5AddrSameAsPrimary</dependent>*/
        unSetErrorMessage('sSecondaryLastName5.invalidLength');
        unSetErrorMessage('sSecondaryLastName5.required');
        unSetErrorMessage('sSecondaryMiddleInitial5.required');
        unSetErrorMessage('sSecondaryLastName5.vulgarCheck');
        unSetErrorMessage('sSecondaryLastName5.invalidBegin');
        unSetErrorMessage('sSecondaryLastName5.invalidCharacters');
        unSetErrorMessage('sSecondaryLastName5.notassLastName');
        unSetErrorMessage('sSecondaryFirstName5.notassFirstName');
        var sFirst = sFirstName.replace(/^\s*|\s*$/g, "");
        var sLast = sLastName.replace(/^\s*|\s*$/g, "");
        var sSecondaryFirst5 = sSecondaryFirstName5.replace(/^\s*|\s*$/g, "");
        var sSecondaryLast5 = sSecondaryLastName5.replace(/^\s*|\s*$/g, "");
        var fieldLength = sSecondaryLast5.length;
        var secondFirstName5FieldLength = sSecondaryFirst5.length;
        var secondMiddleName5FieldLength = sSecondaryMiddleInitial5.length;
        var alphabetsRegEx = /^[a-zA-Z\s\-']+$/;
        var beginRegEx = /^[^a-zA-Z].*$/;
        var sAuthorizedDOB5Length = sAuthorizedDOB5.length;
        var sAuthorizedStreetAddr15Length = sAuthorizedStreetAddr15.length;
        var sAuthorizedStreetAddr25Length = sAuthorizedStreetAddr25.length;
        var sAuthorizedApartment5Length = sAuthorizedApartment5.length;
        var sAuthorizedCity5Length = sAuthorizedCity5.length;
        var sAuthorizedState15Length = sAuthorizedState15.length;
        var sAuthorizedZip5Length = sAuthorizedZip5.length;
        if ((fieldLength > 0) && (beginRegEx.test(sSecondaryLast5))) {
          setErrorMessage('sSecondaryLastName5.invalidBegin');
          return;
        } else {
          unSetErrorMessage('sSecondaryLastName5.invalidBegin');
        }
        if ((fieldLength > 0) && !alphabetsRegEx.test(sSecondaryLast5)) {
          setErrorMessage('sSecondaryLastName5.invalidCharacters');
          return;
        } else {
          unSetErrorMessage('sSecondaryLastName5.invalidCharacters');
        }
        if ((secondFirstName5FieldLength == 0) && (fieldLength == 0) && (secondMiddleName5FieldLength > 0 || sAuthorizedDOB5Length > 0 || sAuthorizedStreetAddr15Length > 0 || sAuthorizedStreetAddr25Length > 0 || sAuthorizedApartment5Length > 0 ||
            sAuthorizedCity5Length > 0 || sAuthorizedState15Length > 0 || sAuthorizedZip5Length > 0 || sAuth5AddrSameAsPrimary == 'Y')) {
          setErrorMessage('sSecondaryFirstName5.required');
          setErrorMessage('sSecondaryLastName5.required');
          return;
        } else {
          unSetErrorMessage('sSecondaryFirstName5.required');
          unSetErrorMessage('sSecondaryLastName5.required');
        }
        if ((fieldLength > 0 || sAuth5AddrSameAsPrimary == 'Y') && secondFirstName5FieldLength == 0) {
          setErrorMessage('sSecondaryFirstName5.required');
          return;
        } else {
          unSetErrorMessage('sSecondaryFirstName5.required');
        }
        if ((secondFirstName5FieldLength > 0 || sAuth5AddrSameAsPrimary == 'Y') && (fieldLength == 0)) {
          setErrorMessage('sSecondaryLastName5.required');
          return;
        } else {
          unSetErrorMessage('sSecondaryLastName5.required');
        }
        if ((fieldLength > 0) && (sSecondaryFirst5.toUpperCase() == sFirst.toUpperCase()) && (sSecondaryLast5.toUpperCase() == sLast.toUpperCase())) {
          setErrorMessage('sSecondaryFirstName5.notassFirstName');
          setErrorMessage('sSecondaryLastName5.notassLastName');
          return;
        } else {
          unSetErrorMessage('sSecondaryFirstName5.notassFirstName');
          unSetErrorMessage('sSecondaryLastName5.notassLastName');
        }
        if ((fieldLength > 0) && (fieldLength < 2)) {
          setErrorMessage('sSecondaryLastName5.invalidLength');
          return;
        } else {
          unSetErrorMessage('sSecondaryLastName5.invalidLength');
        }
        if (fieldLength == 0 && secondFirstName5FieldLength == 0 && sAuthorizedDOB5Length == 0 && sAuthorizedStreetAddr15Length == 0 && sAuthorizedStreetAddr25Length == 0 && sAuthorizedApartment5Length == 0 && sAuthorizedCity5Length == 0 &&
          sAuthorizedState15Length == 0 && sAuthorizedZip5Length == 0) {
          unSetErrorMessage('sSecondaryFirstName5.required');
          removeSimplyErrors('sSecondaryFirstName5');
          unSetErrorMessage('sAuthorizedDOB5.required');
          removeSimplyErrors('sAuthorizedDOB5');
          unSetErrorMessage('sAuthorizedStreetAddr15.required');
          removeSimplyErrors('sAuthorizedStreetAddr15');
          unSetErrorMessage('sAuthorizedCity5.required');
          removeSimplyErrors('sAuthorizedCity5');
          unSetErrorMessage('sAuthorizedState15.required');
          removeSimplyErrors('sAuthorizedState15');
          unSetErrorMessage('sAuthorizedZip5.required');
          removeSimplyErrors('sAuthorizedZip5');
        }
        checkVulgarity(sSecondaryLastName5, 'sSecondaryLastName5.vulgarCheck');
      }

      function validatesAuthorizedDOB5(sAuthorizedDOB5, sSecondaryFirstName5, sSecondaryLastName5, sAuthorizedStreetAddr15, sAuthorizedStreetAddr25, sAuthorizedApartment5, sAuthorizedCity5, sAuthorizedState15, sAuthorizedZip5,
        sAuth5AddrSameAsPrimary) {
        /*<dependent>sSecondaryFirstName5,sSecondaryLastName5,sAuthorizedStreetAddr15,sAuthorizedStreetAddr25,sAuthorizedApartment5,sAuthorizedCity5,sAuthorizedState15,sAuthorizedZip5,sAuth5AddrSameAsPrimary</dependent>*/
        if (sAuthorizedDOB5.length == 2 && (sAuthorizedDOB5.substring(0, 1) == '/' && sAuthorizedDOB5.substring(1, 2) == '/')) {
          sAuthorizedDOB5 = '';
        }
        unSetErrorMessage('sAuthorizedDOB5.invalid');
        unSetErrorMessage('sAuthorizedDOB5.required');
        unSetErrorMessage('sAuthorizedDOB5.underAge');
        var fieldLength = sAuthorizedDOB5.length;
        var sSecondaryFirst5 = sSecondaryFirstName5.replace(/^\s*|\s*$/g, "");
        var sSecondaryLast5 = sSecondaryLastName5.replace(/^\s*|\s*$/g, "");
        var sSecondaryFirstName5Length = sSecondaryFirst5.length;
        var sSecondaryLastName5Length = sSecondaryLast5.length;
        var sAuthorizedStreetAddr15Length = sAuthorizedStreetAddr15.length;
        var sAuthorizedState15Length = sAuthorizedState15.length;
        var sAuthorizedZip5Length = sAuthorizedZip5.length;
        var sAuthorizedStreetAddr25Length = sAuthorizedStreetAddr25.length;
        var sAuthorizedApartment5Length = sAuthorizedApartment5.length;
        var sAuthorizedCity5Length = sAuthorizedCity5.length;
        var invalidInput = /\\/;
        if (fieldLength == 0 && ((sSecondaryFirstName5Length > 0 || sSecondaryLastName5Length > 0 || sAuthorizedStreetAddr15Length > 0 || sAuthorizedStreetAddr25Length > 0 || sAuthorizedApartment5Length > 0 || sAuthorizedCity5Length > 0 ||
            sAuthorizedState15Length > 0 || sAuthorizedZip5Length > 0) || sAuth5AddrSameAsPrimary == 'Y')) {
          if (sSecondaryFirstName5Length == 0) {
            setErrorMessage('sSecondaryFirstName5.required');
          } else {
            unSetErrorMessage('sSecondaryFirstName5.required');
          }
          if (sSecondaryLastName5Length == 0) {
            setErrorMessage('sSecondaryLastName5.required');
          } else {
            unSetErrorMessage('sSecondaryLastName5.required');
          }
          setErrorMessage('sAuthorizedDOB5.required');
          return;
        } else {
          unSetErrorMessage('sAuthorizedDOB5.required');
        }
        if (fieldLength > 0 && (fieldLength < 10 || fieldLength > 10)) {
          setErrorMessage('sAuthorizedDOB5.invalid');
          return;
        } else {
          unSetErrorMessage('sAuthorizedDOB5.invalid');
        }
        if (invalidInput.test(sAuthorizedDOB5)) {
          setErrorMessage('sAuthorizedDOB5.invalid');
          return;
        } else {
          unSetErrorMessage('sAuthorizedDOB5.invalid');
        }
        var strDate1 = new Date();
        var strDate2 = sAuthorizedDOB5;
        var datDate2 = new Date(strDate2);
        var yearsPassed = 0;
        if (datDate2.getFullYear() > strDate1.getFullYear()) {
          setErrorMessage('sAuthorizedDOB5.invalid');
          return;
        } else {
          unSetErrorMessage('sAuthorizedDOB5.invalid');
        }
        while (datDate2.getFullYear() < strDate1.getFullYear()) {
          datDate2.setYear(datDate2.getFullYear() + 1);
          yearsPassed++;
        }
        if (fieldLength > 0 && !validateDate(sAuthorizedDOB5)) {
          setErrorMessage('sAuthorizedDOB5.invalid');
          return;
        } else {
          unSetErrorMessage('sAuthorizedDOB5.invalid');
        }
        if (fieldLength > 0 && yearsPassed < 0) {
          setErrorMessage('sAuthorizedDOB5.underAge');
          return;
        } else {
          unSetErrorMessage('sAuthorizedDOB5.underAge');
        }
        if (fieldLength > 0 && yearsPassed == 0) {
          if (strDate1.getMonth() < datDate2.getMonth()) {
            setErrorMessage('sAuthorizedDOB5.underAge');
            return;
          }
          if (strDate1.getMonth() == datDate2.getMonth()) {
            if (strDate1.getDate() <= datDate2.getDate()) {
              setErrorMessage('sAuthorizedDOB5.underAge');
              return;
            } else {
              unSetErrorMessage('sAuthorizedDOB5.underAge');
            }
          }
          if (strDate1.getMonth() > datDate2.getMonth()) {
            unSetErrorMessage('sAuthorizedDOB5.underAge');
          }
        }
        if (fieldLength > 0 && yearsPassed > 125) {
          setErrorMessage('sAuthorizedDOB5.invalid');
          return;
        } else {
          unSetErrorMessage('sAuthorizedDOB5.invalid');
        }
        if (fieldLength > 0 && yearsPassed == 125) {
          if (strDate1.getMonth() < datDate2.getMonth()) {
            unSetErrorMessage('sAuthorizedDOB5.invalid');
          }
          if (strDate1.getMonth() == datDate2.getMonth()) {
            if (strDate1.getDate() >= datDate2.getDate()) {
              setErrorMessage('sAuthorizedDOB5.invalid');
              return;
            } else {
              unSetErrorMessage('sAuthorizedDOB5.invalid');
            }
          }
          if (strDate1.getMonth() > datDate2.getMonth()) {
            setErrorMessage('sAuthorizedDOB5.invalid');
            return;
          }
        }
        if ((fieldLength > 0 || sAuthorizedState15Length > 0 || sAuthorizedZip5Length > 0 || sAuthorizedStreetAddr15Length > 0 || sAuthorizedStreetAddr25Length > 0 || sAuthorizedApartment5Length > 0 || sAuth5AddrSameAsPrimary == 'Y') &&
          sSecondaryFirstName5Length == 0) {
          setErrorMessage('sSecondaryFirstName5.required');
          if ((fieldLength > 0 || sAuthorizedState15Length > 0 || sAuthorizedZip5Length > 0 || sAuthorizedStreetAddr15Length > 0 || sAuthorizedStreetAddr25Length > 0 || sAuthorizedApartment5Length > 0 || sAuth5AddrSameAsPrimary == 'Y') &&
            sSecondaryLastName5Length == 0) {
            setErrorMessage('sSecondaryLastName5.required');
          }
          return;
        }
        if ((fieldLength > 0 || sAuthorizedState15Length > 0 || sAuthorizedZip5Length > 0 || sAuthorizedStreetAddr15Length > 0 || sAuthorizedStreetAddr25Length > 0 || sAuthorizedApartment5Length > 0 || sAuth5AddrSameAsPrimary == 'Y') &&
          sSecondaryLastName5Length == 0) {
          setErrorMessage('sSecondaryLastName5.required');
          return;
        }
        if (fieldLength == 0) {
          if (sSecondaryFirstName5Length == 0 && sSecondaryLastName5Length == 0) {
            unSetErrorMessage('sSecondaryFirstName5.required');
            removeSimplyErrors('sSecondaryFirstName5');
            unSetErrorMessage('sSecondaryLastName5.required');
            removeSimplyErrors('sSecondaryLastName5');
          }
        }
        if (fieldLength == 0 && sSecondaryFirstName5Length == 0 && sSecondaryLastName5Length == 0 && sAuthorizedCity5Length == 0 && sAuthorizedStreetAddr15Length == 0 && sAuthorizedStreetAddr25Length == 0 && sAuthorizedApartment5Length == 0 &&
          sAuthorizedState15Length == 0 && sAuthorizedZip5Length == 0) {
          unSetErrorMessage('sSecondaryFirstName5.required');
          removeSimplyErrors('sSecondaryFirstName5');
          unSetErrorMessage('sSecondaryLastName5.required');
          removeSimplyErrors('sSecondaryLastName5');
          unSetErrorMessage('sAuthorizedDOB5.required');
          removeSimplyErrors('sAuthorizedDOB5');
          unSetErrorMessage('sAuthorizedStreetAddr15.required');
          removeSimplyErrors('sAuthorizedStreetAddr15');
          unSetErrorMessage('sAuthorizedCity5.required');
          removeSimplyErrors('sAuthorizedCity5');
          unSetErrorMessage('sAuthorizedState15.required');
          removeSimplyErrors('sAuthorizedState15');
          unSetErrorMessage('sAuthorizedZip5.required');
          removeSimplyErrors('sAuthorizedZip5');
        }

        function validateDate(strValue) {
          var objRegExp = /^\d{1,2}(\/)\d{1,2}\1\d{4}$/;
          var objRegExpYear = /^00[0-9][0-9]/;
          if (!objRegExp.test(strValue)) return false;
          else {
            var strSeparator = strValue.substring(2, 3);
            var arrayDate = strValue.split(strSeparator);
            var year = arrayDate[2];
            if (objRegExpYear.test(year)) return false;
            var arrayLookup = {
              '01': 31,
              '03': 31,
              '04': 30,
              '05': 31,
              '06': 30,
              '07': 31,
              '08': 31,
              '09': 30,
              '10': 31,
              '11': 30,
              '12': 31
            };
            var intDay = parseInt(arrayDate[1], 10);
            if (arrayLookup[arrayDate[0]] != null) {
              if (intDay <= arrayLookup[arrayDate[0]] && intDay != 0) return true;
            }
            var intMonth = parseInt(arrayDate[0], 10);
            var intYear = parseInt(arrayDate[2]);
            if (intYear == 0) {
              return false;
            }
            if (intMonth == 2) {
              if (intDay > 0 && intDay < 29) {
                return true;
              } else if (intDay == 29) {
                if ((intYear % 4 == 0) && (intYear % 100 != 0) || (intYear % 400 == 0)) {
                  return true;
                }
              }
            }
          }
          return false;
        }
      }

      function validatesAuthorizedStreetAddr15(sAuthorizedStreetAddr15, sSecondaryFirstName5, sSecondaryLastName5, sAuthorizedDOB5, sAuthorizedStreetAddr25, sAuthorizedApartment5, sAuthorizedCity5, sAuthorizedState15, sAuthorizedZip5) {
        /*<dependent>sSecondaryFirstName5,sSecondaryLastName5,sAuthorizedDOB5,sAuthorizedStreetAddr25,sAuthorizedApartment5,sAuthorizedCity5,sAuthorizedState15,sAuthorizedZip5</dependent>*/
        unSetErrorMessage('sAuthorizedStreetAddr15.vulgarCheck');
        unSetErrorMessage('sAuthorizedStreetAddr15.required');
        unSetErrorMessage('sAuthorizedStreetAddr15.invalidCharacters');
        var fieldLength = sAuthorizedStreetAddr15.replace(/^\s\s*/, '').replace(/\s\s*$/, '').length;
        var sSecondaryFirst5 = sSecondaryFirstName5.replace(/^\s*|\s*$/g, "");
        var sSecondaryLast5 = sSecondaryLastName5.replace(/^\s*|\s*$/g, "");
        var sSecondaryFirstName5Length = sSecondaryFirst5.length;
        var sSecondaryLastName5Length = sSecondaryLast5.length;
        var sAuthorizedState15Length = sAuthorizedState15.length;
        var sAuthorizedZip5Length = sAuthorizedZip5.length;
        var sAuthorizedDOB5Length = sAuthorizedDOB5.length;
        var sAuthorizedStreetAddr25Length = sAuthorizedStreetAddr25.length;
        var sAuthorizedApartment5Length = sAuthorizedApartment5.length;
        var sAuthorizedCity5Length = sAuthorizedCity5.length;
        var alphabetsRegEx = /^[a-zA-Z0-9\s'\.\-\#\$\/]+$/;
        var beginRegEx = /^[^a-zA-Z0-9\s'\.\-\#\$\/].*$/;
        if (fieldLength == 0 && (sSecondaryFirstName5Length > 0 || sSecondaryLastName5Length > 0 || sAuthorizedDOB5Length > 0 || sAuthorizedStreetAddr25Length > 0 || sAuthorizedApartment5Length > 0 || sAuthorizedCity5Length > 0 ||
            sAuthorizedState15Length > 0 || sAuthorizedZip5Length > 0)) {
          setErrorMessage('sAuthorizedStreetAddr15.required');
          return;
        } else {
          unSetErrorMessage('sAuthorizedStreetAddr15.required');
        }
        if (fieldLength > 40) {
          setErrorMessage('sAuthorizedStreetAddr15.maxlength');
          return;
        } else {
          unSetErrorMessage('sAuthorizedStreetAddr15.maxlength');
        }
        if (fieldLength > 0 && beginRegEx.test(sAuthorizedStreetAddr15)) {
          setErrorMessage('sAuthorizedStreetAddr15.invalidCharacters');
          return;
        } else {
          unSetErrorMessage('sAuthorizedStreetAddr15.invalidCharacters');
        }
        if (fieldLength > 0 && !alphabetsRegEx.test(sAuthorizedStreetAddr15)) {
          setErrorMessage('sAuthorizedStreetAddr15.invalidCharacters');
          return;
        } else {
          unSetErrorMessage('sAuthorizedStreetAddr15.invalidCharacters');
        }
        if ((fieldLength > 0 || sAuthorizedState15Length > 0 || sAuthorizedZip5Length > 0 || sAuthorizedStreetAddr25Length > 0 || sAuthorizedApartment5Length > 0) && sSecondaryFirstName5Length == 0) {
          setErrorMessage('sSecondaryFirstName5.required');
          if ((fieldLength > 0 || sAuthorizedState15Length > 0 || sAuthorizedZip5Length > 0 || sAuthorizedStreetAddr25Length > 0 || sAuthorizedApartment5Length > 0) && sSecondaryLastName5Length == 0) {
            setErrorMessage('sSecondaryLastName5.required');
            if ((fieldLength > 0 || sAuthorizedState15Length > 0 || sAuthorizedZip5Length > 0 || sAuthorizedStreetAddr25Length > 0 || sAuthorizedApartment5Length > 0) && sAuthorizedDOB5Length == 0) {
              setErrorMessage('sAuthorizedDOB5.required');
            }
          }
          return;
        }
        if ((fieldLength > 0 || sAuthorizedState15Length > 0 || sAuthorizedZip5Length || sAuthorizedStreetAddr25Length > 0 || sAuthorizedApartment5Length > 0) && sSecondaryLastName5Length == 0) {
          setErrorMessage('sSecondaryLastName5.required');
          if ((fieldLength > 0 || sAuthorizedState15Length > 0 || sAuthorizedZip5Length > 0 || sAuthorizedStreetAddr25Length > 0 || sAuthorizedApartment5Length > 0) && sAuthorizedDOB5Length == 0) {
            setErrorMessage('sAuthorizedDOB5.required');
          }
          return;
        }
        if ((fieldLength > 0 || sAuthorizedState15Length > 0 || sAuthorizedZip5Length > 0 || sAuthorizedStreetAddr25Length > 0 || sAuthorizedApartment5Length > 0) && sAuthorizedDOB5Length == 0) {
          setErrorMessage('sAuthorizedDOB5.required');
          return;
        }
        if (fieldLength == 0) {
          if (sSecondaryFirstName5Length == 0 && sSecondaryLastName5Length == 0) {
            unSetErrorMessage('sSecondaryFirstName5.required');
            removeSimplyErrors('sSecondaryFirstName5');
            unSetErrorMessage('sSecondaryLastName5.required');
            removeSimplyErrors('sSecondaryLastName5');
          }
        }
        if (fieldLength == 0 && sSecondaryFirstName5Length == 0 && sSecondaryLastName5Length == 0 && sAuthorizedCity5Length == 0 && sAuthorizedDOB5Length == 0 && sAuthorizedStreetAddr25Length == 0 && sAuthorizedApartment5Length == 0 &&
          sAuthorizedState15Length == 0 && sAuthorizedZip5Length == 0) {
          unSetErrorMessage('sSecondaryFirstName5.required');
          removeSimplyErrors('sSecondaryFirstName5');
          unSetErrorMessage('sSecondaryLastName5.required');
          removeSimplyErrors('sSecondaryLastName5');
          unSetErrorMessage('sAuthorizedDOB5.required');
          removeSimplyErrors('sAuthorizedDOB5');
          unSetErrorMessage('sAuthorizedStreetAddr15.required');
          removeSimplyErrors('sAuthorizedStreetAddr15');
          unSetErrorMessage('sAuthorizedCity5.required');
          removeSimplyErrors('sAuthorizedCity5');
          unSetErrorMessage('sAuthorizedState15.required');
          removeSimplyErrors('sAuthorizedState15');
          unSetErrorMessage('sAuthorizedZip5.required');
          removeSimplyErrors('sAuthorizedZip5');
        }
        checkVulgarity(sAuthorizedStreetAddr15, 'sAuthorizedStreetAddr15.vulgarCheck');
      }

      function validatesAuthorizedStreetAddr15Simply(sAuthorizedStreetAddr15) {
        unSetErrorMessage('sAuthorizedStreetAddr15.primeErr');
        var fieldLength = sAuthorizedStreetAddr15.replace(/^\s\s*/, '').replace(/\s\s*$/, '').length;
        var alphabetsRegEx = /^[a-zA-Z0-9\s'\.\-\#\$\/]+$/;
        var beginRegEx = /^[^a-zA-Z0-9\s'\.\-\#\$\/].*$/;
        if (fieldLength < 2 || beginRegEx.test(sAuthorizedStreetAddr15) || !alphabetsRegEx.test(sAuthorizedStreetAddr15)) {
          setErrorMessage('sAuthorizedStreetAddr15.primeErr');
          return;
        } else {
          unSetErrorMessage('sAuthorizedStreetAddr15.primeErr');
        }
      }

      function validatesAuthorizedStreetAddr25(sAuthorizedStreetAddr25, sSecondaryFirstName5, sSecondaryLastName5, sAuthorizedDOB5, sAuthorizedStreetAddr15, sAuthorizedApartment5, sAuthorizedCity5, sAuthorizedState15, sAuthorizedZip5) {
        /*<dependent>sSecondaryFirstName5,sSecondaryLastName5,sAuthorizedDOB5,sAuthorizedStreetAddr15,sAuthorizedApartment5,sAuthorizedCity5,sAuthorizedState15,sAuthorizedZip5</dependent> */
        unSetErrorMessage('sAuthorizedStreetAddr25.vulgarCheck');
        unSetErrorMessage('sAuthorizedStreetAddr25.invalid');
        var fieldLength = sAuthorizedStreetAddr25.length;
        var alphabetsRegEx = /^[a-zA-Z0-9\s.,'\-\#\$\/]+$/;
        var beginRegEx = /^[^a-zA-Z0-9\s.,'\-\#\$\/].*$/;
        var sSecondaryFirst5 = sSecondaryFirstName5.replace(/^\s*|\s*$/g, "");
        var sSecondaryFirstName5Length = sSecondaryFirst5.length;
        var sSecondaryLastName5 = sSecondaryLastName5.replace(/^\s*|\s*$/g, "");
        var sSecondaryLastName5Length = sSecondaryLastName5.length;
        var sAuthorizedDOB5Length = sAuthorizedDOB5.length;
        var sAuthorizedStreetAddr15Length = sAuthorizedStreetAddr15.length;
        var sAuthorizedApartment5Length = sAuthorizedApartment5.length;
        var sAuthorizedCity5Length = sAuthorizedCity5.length;
        var sAuthorizedState15Length = sAuthorizedState15.length;
        var sAuthorizedZip5Length = sAuthorizedZip5.length;
        if ((fieldLength > 0) && (beginRegEx.test(sAuthorizedStreetAddr25))) {
          setErrorMessage('sAuthorizedStreetAddr25.invalid');
          return;
        } else {
          unSetErrorMessage('sAuthorizedStreetAddr25.invalid');
        }
        if (fieldLength > 40) {
          setErrorMessage('sAuthorizedStreetAddr25.maxlength');
          return;
        } else {
          unSetErrorMessage('sAuthorizedStreetAddr25.maxlength');
        }
        if ((fieldLength > 0) && (!alphabetsRegEx.test(sAuthorizedStreetAddr25))) {
          setErrorMessage('sAuthorizedStreetAddr25.invalid');
          return;
        } else {
          unSetErrorMessage('sAuthorizedStreetAddr25.invalid');
        }
        if ((fieldLength > 0) && sSecondaryFirstName5Length == 0) {
          setErrorMessage('sSecondaryFirstName5.required');
          if ((fieldLength > 0) && sSecondaryLastName5Length == 0) {
            setErrorMessage('sSecondaryLastName5.required');
          }
          if ((fieldLength > 0) && sAuthorizedDOB5Length == 0) {
            setErrorMessage('sAuthorizedDOB5.required');
          }
          if ((fieldLength > 0) && sAuthorizedStreetAddr15Length == 0) {
            setErrorMessage('sAuthorizedStreetAddr15.required');
          }
          return;
        }
        if (fieldLength == 0 && sSecondaryFirstName5Length == 0 && sSecondaryLastName5Length == 0 && sAuthorizedDOB5Length == 0 && sAuthorizedStreetAddr15Length == 0 && sAuthorizedApartment5Length == 0 && sAuthorizedCity5Length == 0 &&
          sAuthorizedState15Length == 0 && sAuthorizedZip5Length == 0) {
          unSetErrorMessage('sSecondaryLastName5.required');
          removeSimplyErrors('sSecondaryLastName5');
          unSetErrorMessage('sSecondaryFirstName5.required');
          removeSimplyErrors('sSecondaryFirstName5');
          unSetErrorMessage('sAuthorizedDOB5.required');
          removeSimplyErrors('sAuthorizedDOB5');
          unSetErrorMessage('sAuthorizedStreetAddr15.required');
          removeSimplyErrors('sAuthorizedStreetAddr15');
          unSetErrorMessage('sAuthorizedCity5.required');
          removeSimplyErrors('sAuthorizedCity5');
          unSetErrorMessage('sAuthorizedState15.required');
          removeSimplyErrors('sAuthorizedState15');
          unSetErrorMessage('sAuthorizedZip5.required');
          removeSimplyErrors('sAuthorizedZip5');
        }
        checkVulgarity(sAuthorizedStreetAddr25, 'sAuthorizedStreetAddr25.vulgarCheck');
      }

      function validatesAuthorizedCity5(sAuthorizedCity5, sSecondaryFirstName5, sSecondaryLastName5, sAuthorizedDOB5, sAuthorizedStreetAddr15, sAuthorizedStreetAddr25, sAuthorizedApartment5, sAuthorizedState15, sAuthorizedZip5, isNonRespPage) {
        /*<dependent>sSecondaryFirstName5,sSecondaryLastName5,sAuthorizedDOB5,sAuthorizedStreetAddr15,sAuthorizedStreetAddr25,sAuthorizedApartment5,sAuthorizedState15,sAuthorizedZip5,isNonRespPage</dependent>*/
        unSetErrorMessage('sAuthorizedCity5.invalidCharacters');
        var fieldLength = sAuthorizedCity5.length;
        var sSecondaryFirst5 = sSecondaryFirstName5.replace(/^\s*|\s*$/g, "");
        var sSecondaryFirstName5Length = sSecondaryFirst5.length;
        var sSecondaryLastName5 = sSecondaryLastName5.replace(/^\s*|\s*$/g, "");
        var sSecondaryLastName5Length = sSecondaryLastName5.length;
        var sAuthorizedDOB5Length = sAuthorizedDOB5.length;
        var sAuthorizedStreetAddr15Length = sAuthorizedStreetAddr15.length;
        var sAuthorizedStreetAddr25Length = sAuthorizedStreetAddr25.length;
        var sAuthorizedApartment5Length = sAuthorizedApartment5.length;
        var sAuthorizedState15Length = sAuthorizedState15.length;
        var sAuthorizedZip5Length = sAuthorizedZip5.length;
        var isZipCodeBeforeState = 'false';
        if (isNonRespPage == 'true') {
          isZipCodeBeforeState = 'true';
        }
        var alphabetsRegEx = /^[a-zA-Z0-9\s\-']+$/;
        var beginRegEx = /^[^a-zA-Z0-9].*$/;
        if (fieldLength == 0 && (sSecondaryFirstName5Length > 0 || sSecondaryLastName5Length > 0 || sAuthorizedDOB5Length > 0 || sAuthorizedStreetAddr15Length > 0 || sAuthorizedStreetAddr25Length > 0 || sAuthorizedApartment5Length > 0 ||
            sAuthorizedState15Length > 0 || sAuthorizedZip5Length > 0)) {
          setErrorMessage('sAuthorizedCity5.required');
          return;
        } else {
          unSetErrorMessage('sAuthorizedCity5.required');
        }
        if (fieldLength > 32) {
          setErrorMessage('sAuthorizedCity5.maxlength');
          return;
        } else {
          unSetErrorMessage('sAuthorizedCity5.maxlength');
        }
        if (fieldLength > 0 && beginRegEx.test(sAuthorizedCity5)) {
          setErrorMessage('sAuthorizedCity5.invalidCharacters');
          return;
        } else {
          unSetErrorMessage('sAuthorizedCity5.invalidCharacters');
        }
        if (fieldLength > 0 && !alphabetsRegEx.test(sAuthorizedCity5)) {
          setErrorMessage('sAuthorizedCity5.invalidCharacters');
          return;
        } else {
          unSetErrorMessage('sAuthorizedCity5.invalidCharacters');
        }
        if (fieldLength > 0 && sSecondaryFirstName5Length == 0) {
          setErrorMessage('sSecondaryFirstName5.required');
          if (fieldLength > 0 && sSecondaryLastName5Length == 0) {
            setErrorMessage('sSecondaryLastName5.required');
          }
          if (fieldLength > 0 && sAuthorizedDOB5Length == 0) {
            setErrorMessage('sAuthorizedDOB5.required');
          }
          if (fieldLength > 0 && sAuthorizedStreetAddr15Length == 0) {
            setErrorMessage('sAuthorizedStreetAddr15.required');
          }
          if (isZipCodeBeforeState == "true" && fieldLength > 0 && sAuthorizedZip5Length == 0) {
            setErrorMessage('sAuthorizedZip5.required');
          }
          return;
        }
        if (fieldLength > 0 && sSecondaryLastName5Length == 0) {
          setErrorMessage('sSecondaryLastName5.required');
          if (fieldLength > 0 && sAuthorizedDOB5Length == 0) {
            setErrorMessage('sAuthorizedDOB5.required');
          }
          if (fieldLength > 0 && sAuthorizedStreetAddr15Length == 0) {
            setErrorMessage('sAuthorizedStreetAddr15.required');
          }
          if (isZipCodeBeforeState == "true" && fieldLength > 0 && sAuthorizedZip5Length == 0) {
            setErrorMessage('sAuthorizedZip5.required');
          }
          return;
        }
        if (fieldLength > 0 && sAuthorizedDOB5Length == 0) {
          setErrorMessage('sAuthorizedDOB5.required');
          if (fieldLength > 0 && sAuthorizedStreetAddr15Length == 0) {
            setErrorMessage('sAuthorizedStreetAddr15.required');
          }
          if (isZipCodeBeforeState == "true" && fieldLength > 0 && sAuthorizedZip5Length == 0) {
            setErrorMessage('sAuthorizedZip5.required');
          }
          return;
        }
        if (fieldLength > 0 && sAuthorizedStreetAddr15Length == 0) {
          setErrorMessage('sAuthorizedStreetAddr15.required');
          if (isZipCodeBeforeState == "true" && fieldLength > 0 && sAuthorizedZip5Length == 0) {
            setErrorMessage('sAuthorizedZip5.required');
          }
          return;
        }
        if (isZipCodeBeforeState == "true" && fieldLength > 0 && sAuthorizedZip5Length == 0) {
          setErrorMessage('sAuthorizedZip5.required');
          return;
        }
        if ((sSecondaryFirstName5Length > 0 || sSecondaryLastName5Length > 0) && sAuthorizedStreetAddr15Length == 0) {
          setErrorMessage('sAuthorizedStreetAddr15.required');
          return;
        }
        if (fieldLength == 0 && sSecondaryFirstName5Length == 0 && sSecondaryLastName5Length == 0 && sAuthorizedDOB5Length == 0 && sAuthorizedStreetAddr15Length == 0 && sAuthorizedStreetAddr25Length == 0 && sAuthorizedApartment5Length == 0 &&
          sAuthorizedZip5Length == 0 && sAuthorizedState15Length == 0) {
          unSetErrorMessage('sSecondaryLastName5.required');
          removeSimplyErrors('sSecondaryLastName5');
          unSetErrorMessage('sSecondaryFirstName5.required');
          removeSimplyErrors('sSecondaryFirstName5');
          unSetErrorMessage('sAuthorizedDOB5.required');
          removeSimplyErrors('sAuthorizedDOB5');
          unSetErrorMessage('sAuthorizedStreetAddr15.required');
          removeSimplyErrors('sAuthorizedStreetAddr15');
          unSetErrorMessage('sAuthorizedCity5.required');
          removeSimplyErrors('sAuthorizedCity5');
          unSetErrorMessage('sAuthorizedState15.required');
          removeSimplyErrors('sAuthorizedState15');
          unSetErrorMessage('sAuthorizedZip5.required');
          removeSimplyErrors('sAuthorizedZip5');
        }
        checkVulgarity(sAuthorizedCity5, 'sAuthorizedCity5.vulgarCheck');
      }

      function validatesAuthorizedState15(sAuthorizedState15, sSecondaryFirstName5, sSecondaryLastName5, sAuthorizedDOB5, sAuthorizedStreetAddr15, sAuthorizedStreetAddr25, sAuthorizedApartment5, sAuthorizedCity5, sAuthorizedZip5, prefillState15,
        isNonRespPage) {
        /*<dependent>sSecondaryFirstName5,sSecondaryLastName5,sAuthorizedDOB5,sAuthorizedStreetAddr15,sAuthorizedStreetAddr25,sAuthorizedApartment5,sAuthorizedCity5,sAuthorizedZip5,prefillState15,isNonRespPage</dependent>*/
        unSetErrorMessage('sAuthorizedState15.required');
        unSetErrorMessage('sAuthorizedState15.invalidCharacters');
        var fieldLength = sAuthorizedState15.length;
        var alphabetsRegEx = /^[a-zA-Z]+$/;
        var sSecondaryFirst5 = sSecondaryFirstName5.replace(/^\s*|\s*$/g, "");
        var sSecondaryFirstName5Length = sSecondaryFirst5.length;
        var sSecondaryLastName5 = sSecondaryLastName5.replace(/^\s*|\s*$/g, "");
        var sSecondaryLastName5Length = sSecondaryLastName5.length;
        var sAuthorizedDOB5Length = sAuthorizedDOB5.length;
        var sAuthorizedStreetAddr15Length = sAuthorizedStreetAddr15.length;
        var sAuthorizedStreetAddr25Length = sAuthorizedStreetAddr25.length;
        var sAuthorizedCity5Length = sAuthorizedCity5.length;
        var sAuthorizedApartment5Length = sAuthorizedApartment5.length;
        var sAuthorizedZip5Length = sAuthorizedZip5.length;
        var isZipCodeBeforeState = 'false';
        if (isNonRespPage == 'true') {
          isZipCodeBeforeState = 'true';
        }
        if (fieldLength == 0 && (sSecondaryFirstName5Length > 0 || sSecondaryLastName5Length > 0 || sAuthorizedDOB5Length > 0 || sAuthorizedStreetAddr15Length > 0 || sAuthorizedStreetAddr25Length > 0 || sAuthorizedApartment5Length > 0 ||
            sAuthorizedCity5Length > 0)) {
          setErrorMessage('sAuthorizedState15.required');
          return;
        } else {
          unSetErrorMessage('sAuthorizedState15.required');
        }
        if (!alphabetsRegEx.test(sAuthorizedState15) && (sSecondaryFirstName5Length > 0 || sSecondaryLastName5Length > 0 || sAuthorizedDOB5Length > 0 || sAuthorizedStreetAddr15Length > 0 || sAuthorizedStreetAddr25Length > 0 ||
            sAuthorizedApartment5Length > 0 || sAuthorizedCity5Length > 0)) {
          setErrorMessage('sAuthorizedState15.invalidCharacters');
          return;
        } else {
          unSetErrorMessage('sAuthorizedState15.invalidCharacters');
        }
        if (fieldLength > 0 && sSecondaryFirstName5Length == 0) {
          setErrorMessage('sSecondaryFirstName5.required');
          if (fieldLength > 0 && sSecondaryLastName5Length == 0) {
            setErrorMessage('sSecondaryLastName5.required');
          }
          if (fieldLength > 0 && sAuthorizedDOB5Length == 0) {
            setErrorMessage('sAuthorizedDOB5.required');
          }
          if (fieldLength > 0 && sAuthorizedStreetAddr15Length == 0) {
            setErrorMessage('sAuthorizedStreetAddr15.required');
          }
          if (isZipCodeBeforeState == "true" && fieldLength > 0 && sAuthorizedZip5Length == 0) {
            setErrorMessage('sAuthorizedZip5.required');
          }
          if (fieldLength > 0 && sAuthorizedCity5Length == 0) {
            setErrorMessage('sAuthorizedCity5.required');
          }
          return;
        }
        if (fieldLength > 0 && sSecondaryLastName5Length == 0) {
          setErrorMessage('sSecondaryLastName5.required');
          if (fieldLength > 0 && sAuthorizedDOB5Length == 0) {
            setErrorMessage('sAuthorizedDOB5.required');
          }
          if (fieldLength > 0 && sAuthorizedStreetAddr15Length == 0) {
            setErrorMessage('sAuthorizedStreetAddr15.required');
          }
          if (isZipCodeBeforeState == "true" && fieldLength > 0 && sAuthorizedZip5Length == 0) {
            setErrorMessage('sAuthorizedZip5.required');
          }
          if (fieldLength > 0 && sAuthorizedCity5Length == 0) {
            setErrorMessage('sAuthorizedCity5.required');
          }
          return;
        }
        if (fieldLength > 0 && sAuthorizedDOB5Length == 0) {
          setErrorMessage('sAuthorizedDOB5.required');
          if (fieldLength > 0 && sAuthorizedStreetAddr15Length == 0) {
            setErrorMessage('sAuthorizedStreetAddr15.required');
          }
          if (isZipCodeBeforeState == "true" && fieldLength > 0 && sAuthorizedZip5Length == 0) {
            setErrorMessage('sAuthorizedZip5.required');
          }
          if (fieldLength > 0 && sAuthorizedCity5Length == 0) {
            setErrorMessage('sAuthorizedCity5.required');
          }
          return;
        }
        if (fieldLength > 0 && sAuthorizedStreetAddr15Length == 0) {
          setErrorMessage('sAuthorizedStreetAddr15.required');
          if (isZipCodeBeforeState == "true" && fieldLength > 0 && sAuthorizedZip5Length == 0) {
            setErrorMessage('sAuthorizedZip5.required');
          }
          if (fieldLength > 0 && sAuthorizedCity5Length == 0) {
            setErrorMessage('sAuthorizedCity5.required');
          }
          return;
        }
        if (isZipCodeBeforeState == "true" && fieldLength > 0 && sAuthorizedZip5Length == 0) {
          setErrorMessage('sAuthorizedZip5.required');
          if (fieldLength > 0 && sAuthorizedCity5Length == 0) {
            setErrorMessage('sAuthorizedCity5.required');
          }
          return;
        }
        if (fieldLength > 0 && sAuthorizedCity5Length == 0) {
          setErrorMessage('sAuthorizedCity5.required');
          return;
        }
        if (isZipCodeBeforeState == "false") {
          if (fieldLength > 0 && sAuthorizedZip5Length > 0) {
            if (prefillState15 == '' || sAuthorizedState15 == prefillState15) {
              unSetErrorMessage('sAuthorizedZip5.required');
            } else {
              setErrorMessage('sAuthorizedZip5.required');
              return;
            }
          }
        }
        if (sSecondaryFirstName5Length > 0 || sSecondaryLastName5Length > 0) {
          if (sAuthorizedDOB5Length == 0) {
            setErrorMessage('sAuthorizedDOB5.required');
            if (sAuthorizedStreetAddr15Length == 0) {
              setErrorMessage('sAuthorizedStreetAddr15.required');
              if (sAuthorizedCity5Length == 0) {
                setErrorMessage('sAuthorizedCity5.required');
              }
            }
            return;
          }
          if (sAuthorizedStreetAddr15Length == 0) {
            setErrorMessage('sAuthorizedStreetAddr15.required');
            if (sAuthorizedCity5Length == 0) {
              setErrorMessage('sAuthorizedCity5.required');
            }
            return;
          }
          if (sAuthorizedCity5Length == 0) {
            setErrorMessage('sAuthorizedCity5.required');
            return;
          }
        }
        var isValid = false;
        var element;
        var validState = new Array("AK", "AL", "AP", "AR", "AZ", "CA", "CO", "CT", "DC", "DE", "FL", "GA", "GU", "HI", "IA", "ID", "IL", "IN", "KS", "KY", "LA", "MA", "MD", "ME", "MI", "MN", "MO", "MS", "MT", "NC", "ND", "NE", "NH", "NJ", "NM", "NV",
          "NY", "OH", "OK", "OR", "PA", "PR", "RI", "SC", "SD", "TN", "TX", "UT", "VA", "VI", "VT", "WA", "WI", "WV", "WY", "AA", "AE", "");
        for (index in validState) {
          element = validState[index];
          if (sAuthorizedState15.toUpperCase() == element) {
            isValid = true;
            break;
          } else {
            isValid = false;
          }
        }
        if (!isValid) {
          setErrorMessage('sAuthorizedState15.invalidCharacters');
          return;
        } else {
          unSetErrorMessage('sAuthorizedState15.invalidCharacters');
        }
        if (fieldLength == 0 && sSecondaryFirstName5Length == 0 && sSecondaryLastName5Length == 0 && sAuthorizedDOB5Length == 0 && sAuthorizedStreetAddr15Length == 0 && sAuthorizedStreetAddr25Length == 0 && sAuthorizedApartment5Length == 0 &&
          sAuthorizedCity5Length == 0 && sAuthorizedZip5Length == 0) {
          unSetErrorMessage('sSecondaryLastName5.required');
          removeSimplyErrors('sSecondaryLastName5');
          unSetErrorMessage('sSecondaryFirstName5.required');
          removeSimplyErrors('sSecondaryFirstName5');
          unSetErrorMessage('sAuthorizedDOB5.required');
          removeSimplyErrors('sAuthorizedDOB5');
          unSetErrorMessage('sAuthorizedStreetAddr15.required');
          removeSimplyErrors('sAuthorizedStreetAddr15');
          unSetErrorMessage('sAuthorizedCity5.required');
          removeSimplyErrors('sAuthorizedCity5');
          unSetErrorMessage('sAuthorizedState15.required');
          removeSimplyErrors('sAuthorizedState15');
          unSetErrorMessage('sAuthorizedZip5.required');
          removeSimplyErrors('sAuthorizedZip5');
        }
      }

      function validatesAuthorizedZip5(sAuthorizedZip5, sSecondaryFirstName5, sSecondaryLastName5, sAuthorizedDOB5, sAuthorizedStreetAddr15, sAuthorizedStreetAddr25, sAuthorizedApartment5, sAuthorizedCity5, sAuthorizedState15, prefillState15,
        isNonRespPage) {
        /*<dependent>sSecondaryFirstName5,sSecondaryLastName5,sAuthorizedDOB5,sAuthorizedStreetAddr15,sAuthorizedStreetAddr25,sAuthorizedApartment5,sAuthorizedCity5,sAuthorizedState15,prefillState15,isNonRespPage</dependent> */
        var fieldLength = sAuthorizedZip5.length;
        var sSecondaryFirst5 = sSecondaryFirstName5.replace(/^\s*|\s*$/g, "");
        var sSecondaryFirstName5Length = sSecondaryFirst5.length;
        var sSecondaryLastName5 = sSecondaryLastName5.replace(/^\s*|\s*$/g, "");
        var sSecondaryLastName5Length = sSecondaryLastName5.length;
        var sAuthorizedDOB5Length = sAuthorizedDOB5.length;
        var sAuthorizedStreetAddr15Length = sAuthorizedStreetAddr15.length;
        var sAuthorizedStreetAddr25Length = sAuthorizedStreetAddr25.length;
        var sAuthorizedApartment5Length = sAuthorizedApartment5.length;
        var sAuthorizedCity5Length = sAuthorizedCity5.length;
        var sAuthorizedState15Length = sAuthorizedState15.length;
        var alphabetsRegEx = /^[0-9]+$/;
        var isZipCodeBeforeState = 'false';
        if (isNonRespPage == 'true') {
          isZipCodeBeforeState = 'true';
        }
        if ((fieldLength < 5 || fieldLength > 5) && (sSecondaryFirstName5Length > 0 || sSecondaryLastName5Length > 0 || sAuthorizedDOB5Length > 0 || sAuthorizedStreetAddr15Length > 0 || sAuthorizedStreetAddr25Length > 0 ||
            sAuthorizedApartment5Length > 0 || sAuthorizedCity5Length > 0 || sAuthorizedState15Length > 0)) {
          setErrorMessage('sAuthorizedZip5.required');
          return;
        } else {
          unSetErrorMessage('sAuthorizedZip5.required');
        }
        if (fieldLength > 0 && fieldLength < 5) {
          setErrorMessage('sAuthorizedZip5.required');
          return;
        } else {
          unSetErrorMessage('sAuthorizedZip5.required');
        }
        if (!alphabetsRegEx.test(sAuthorizedZip5) && (fieldLength > 0)) {
          setErrorMessage('sAuthorizedZip5.required');
          return;
        } else {
          unSetErrorMessage('sAuthorizedZip5.required');
        }
        if ((fieldLength == 5) && sSecondaryFirstName5Length == 0) {
          setErrorMessage('sSecondaryFirstName5.required');
          if ((fieldLength == 5) && sSecondaryLastName5Length == 0) {
            setErrorMessage('sSecondaryLastName5.required');
          }
          if ((fieldLength == 5) && sAuthorizedDOB5Length == 0) {
            setErrorMessage('sAuthorizedDOB5.required');
          }
          if ((fieldLength == 5) && sAuthorizedStreetAddr15Length == 0) {
            setErrorMessage('sAuthorizedStreetAddr15.required');
          }
          if ((fieldLength == 5) && sAuthorizedCity5Length == 0) {
            setErrorMessage('sAuthorizedCity5.required');
          }
          if ((fieldLength == 5) && sAuthorizedState15Length == 0) {
            setErrorMessage('sAuthorizedState15.required');
          }
          return;
        }
        if ((fieldLength == 5) && sSecondaryLastName5Length == 0) {
          setErrorMessage('sSecondaryLastName5.required');
          if ((fieldLength == 5) && sAuthorizedDOB5Length == 0) {
            setErrorMessage('sAuthorizedDOB5.required');
          }
          if (fieldLength == 5 && sAuthorizedStreetAddr15Length == 0) {
            setErrorMessage('sAuthorizedStreetAddr15.required');
          }
          if (fieldLength == 5 && sAuthorizedCity5Length == 0) {
            setErrorMessage('sAuthorizedCity5.required');
          }
          if ((fieldLength == 5) && sAuthorizedState15Length == 0) {
            setErrorMessage('sAuthorizedState15.required');
          }
          return;
        }
        if ((fieldLength == 5) && sAuthorizedDOB5Length == 0) {
          setErrorMessage('sAuthorizedDOB5.required');
          if (fieldLength == 5 && sAuthorizedStreetAddr15Length == 0) {
            setErrorMessage('sAuthorizedStreetAddr15.required');
          }
          if (fieldLength == 5 && sAuthorizedCity5Length == 0) {
            setErrorMessage('sAuthorizedCity5.required');
          }
          if ((fieldLength == 5) && sAuthorizedState15Length == 0) {
            setErrorMessage('sAuthorizedState15.required');
          }
          return;
        }
        if ((fieldLength == 5) && sAuthorizedStreetAddr15Length == 0) {
          setErrorMessage('sAuthorizedStreetAddr15.required');
          if (fieldLength == 5 && sAuthorizedCity5Length == 0) {
            setErrorMessage('sAuthorizedCity5.required');
          }
          if ((fieldLength == 5) && sAuthorizedState15Length == 0) {
            setErrorMessage('sAuthorizedState15.required');
          }
          return;
        }
        if ((fieldLength == 5) && sAuthorizedCity5Length == 0) {
          setErrorMessage('sAuthorizedCity5.required');
          if ((fieldLength == 5) && sAuthorizedState15Length == 0) {
            setErrorMessage('sAuthorizedState15.required');
          }
          return;
        }
        if ((fieldLength == 5) && sAuthorizedState15Length == 0) {
          setErrorMessage('sAuthorizedState15.required');
          return;
        }
        if (sSecondaryFirstName5Length > 0 || sSecondaryLastName5Length > 0) {
          if (sAuthorizedDOB5Length == 0) {
            setErrorMessage('sAuthorizedDOB5.required');
            if (sAuthorizedStreetAddr15Length == 0) {
              setErrorMessage('sAuthorizedStreetAddr15.required');
              if (sAuthorizedCity5Length == 0) {
                setErrorMessage('sAuthorizedCity5.required');
                if (sAuthorizedState15Length == 0) {
                  setErrorMessage('sAuthorizedState15.required');
                }
              }
            }
            return;
          }
          if (sAuthorizedStreetAddr15Length == 0) {
            setErrorMessage('sAuthorizedStreetAddr15.required');
            if (sAuthorizedCity5Length == 0) {
              setErrorMessage('sAuthorizedCity5.required');
              if (sAuthorizedState15Length == 0) {
                setErrorMessage('sAuthorizedState15.required');
              }
            }
            return;
          }
          if (sAuthorizedCity5Length == 0) {
            setErrorMessage('sAuthorizedCity5.required');
            if (sAuthorizedState15Length == 0) {
              setErrorMessage('sAuthorizedState15.required');
            }
            return;
          }
          if (sAuthorizedState15Length == 0) {
            setErrorMessage('sAuthorizedState15.required');
            return;
          }
        }
        if (isZipCodeBeforeState == "false") {
          if (fieldLength > 0 && sAuthorizedState15Length > 0) {
            if (prefillState15 == '' || sAuthorizedState15 == prefillState15) {
              unSetErrorMessage('sAuthorizedZip5.required');
            } else {
              setErrorMessage('sAuthorizedZip5.required');
              return;
            }
          }
        }
        if (fieldLength == 0 && sSecondaryFirstName5Length == 0 && sSecondaryLastName5Length == 0 && sAuthorizedDOB5Length == 0 && sAuthorizedStreetAddr15Length == 0 && sAuthorizedStreetAddr25Length == 0 && sAuthorizedApartment5Length == 0 &&
          sAuthorizedCity5Length == 0 && sAuthorizedState15Length == 0) {
          unSetErrorMessage('sSecondaryLastName5.required');
          removeSimplyErrors('sSecondaryLastName5');
          unSetErrorMessage('sSecondaryFirstName5.required');
          removeSimplyErrors('sSecondaryFirstName5');
          unSetErrorMessage('sAuthorizedDOB5.required');
          removeSimplyErrors('sAuthorizedDOB5');
          unSetErrorMessage('sAuthorizedStreetAddr15.required');
          removeSimplyErrors('sAuthorizedStreetAddr15');
          unSetErrorMessage('sAuthorizedCity5.required');
          removeSimplyErrors('sAuthorizedCity5');
          unSetErrorMessage('sAuthorizedState15.required');
          removeSimplyErrors('sAuthorizedState15');
        }
        checkVulgarity(sAuthorizedZip5, 'sAuthorizedZip5');
      }

      function validatesAcceptance(sAcceptance) {
        unSetErrorMessage("sAcceptance.required");
        if (sAcceptance == null || sAcceptance == "" || sAcceptance == "N") {
          setErrorMessage("sAcceptance.required");
          return;
        }
      }

      function checkVulgarity(value, name) {
        var isVulgar = false;
        var element;
        var newValue;
        try {
          newValue = encodeAttempt2(value.toUpperCase());
          var vulgarity = new Array("QVNT", "QVNTSE9MRQ==", "QkFTVEFSRA==", "QklUQ0g=", "RlVDSw==", "RlVDS0VS", "RlVDS0lO", "RlVDS0lORw==", "SkVSSw==", "UFVTU1k=", "U0hJVA==", "VkFHSU5B");
          for (index in vulgarity) {
            element = vulgarity[index];
            if (newValue == element) {
              isVulgar = true;
              break;
            } else {
              isVulgar = false;
            }
          }
        } catch (err) {
          isVulgar = false;
        }
        if (isVulgar) {
          setErrorMessage(name);
          return;
        } else {
          unSetErrorMessage(name);
          return;
        }
      }

      function encodeAttempt2(input) {
        _keyStr = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
        var output = "";
        var chr1, chr2, chr3, enc1, enc2, enc3, enc4;
        var i = 0;
        var string = input;
        string = string.replace(/\r\n/g, "\n");
        var utftext = "";
        for (var n = 0; n < string.length; n++) {
          var c = string.charCodeAt(n);
          if (c < 128) {
            utftext += String.fromCharCode(c);
          } else if ((c > 127) && (c < 2048)) {
            utftext += String.fromCharCode((c >> 6) | 192);
            utftext += String.fromCharCode((c & 63) | 128);
          } else {
            utftext += String.fromCharCode((c >> 12) | 224);
            utftext += String.fromCharCode(((c >> 6) & 63) | 128);
            utftext += String.fromCharCode((c & 63) | 128);
          }
        }
        input = utftext;
        while (i < input.length) {
          chr1 = input.charCodeAt(i++);
          chr2 = input.charCodeAt(i++);
          chr3 = input.charCodeAt(i++);
          enc1 = chr1 >> 2;
          enc2 = ((chr1 & 3) << 4) | (chr2 >> 4);
          enc3 = ((chr2 & 15) << 2) | (chr3 >> 6);
          enc4 = chr3 & 63;
          if (isNaN(chr2)) {
            enc3 = enc4 = 64;
          } else if (isNaN(chr3)) {
            enc4 = 64;
          }
          output = output + _keyStr.charAt(enc1) + _keyStr.charAt(enc2) + _keyStr.charAt(enc3) + _keyStr.charAt(enc4);
        }
        return output;
      }
    </script>
    <script>
      var token_id = "";
      var oao_prefill_flag = false;
      var chaseonline_prefill_flag = false;
      if (token_id != "" && token_id != "SESSION_COOKIE_FROM_OAO_IS_NULL") {
        var e = document.getElementById("SuccessRow");
        oao_prefill_flag = isDataPrefill();
        if (oao_prefill_flag) e.style.display = 'block';
      }
      var profileId = "";
      var dso_flag = "Y";
      var isError = "false";
      var bDesc = "Chase";
      var appTypeId = "1";
      var e = document.getElementById("custId");
      var street1Validation = "false";
      if (street1Validation == "true" && document.getElementById("sStreet1") == null) isError = "false";
      if (e != null) {
        e.style.display = 'block';
      }
      // Below comparision is to NOT display chase online username/passwd section on FI apps and Competitive Edge apps.
      if ((((chaseonline_prefill_flag && dso_flag == "Y") || (token_id != "" && dso_flag != "Y")) || (bDesc == "First USA") || (appTypeId == 7) || (appTypeId == 8) || (appTypeId == 9)) && e != null) {
        e.style.display = 'none';
      }
      if (chaseonline_prefill_flag && profileId != "") {
        e = document.getElementById("confirmRow");
        if (e != null) {
          e.style.display = 'block';
          if (document.getElementById("section-application-prefill-form") != null) document.getElementById("section-application-prefill-form").className = 'displayContent';
          toggleContent($('#section-application-prefill-form'), $('#minus-btn-prefill'), $('#plus-btn-prefill'));
        }
      } else if (profileId != "" && !chaseonline_prefill_flag) {
        e = document.getElementById("custId");
        if (e != null) {
          e.style.display = 'none';
        }
        e = document.getElementById("chaseOnlinefailureRow");
        if (e != null) {
          if (!isError) {
            e.style.display = 'block';
          }
          toggleContent($('#section-application-prefill-form'), $('#minus-btn-prefill'), $('#plus-btn-prefill'));
        }
      }
      if (((document.getElementById("failureRow") != null && document.getElementById("failureRow").style.display == 'block') || (document.getElementById("SuccessRow") != null && document.getElementById("SuccessRow").style.display == 'block') || (
          document.getElementById("userID2") != null && document.getElementById("userID2").style.display == 'block') || (document.getElementById("confirmRow") != null && document.getElementById("confirmRow").style.display == 'block')) && document
        .getElementById("custId") != null) {
        document.getElementById("custId").style.display = 'none'
      }
      if (isError == "true" && document.getElementById("custId") != null) {
        document.getElementById("custId").style.display = 'none'
      }
    </script>
    <script>
      if (document.getElementById('custId') != null && "false" == "true") {
        document.getElementById('custId').style.display = 'none';
      }
    </script>
    <script>
      //Def#168765 -Start
      /*
      	7/10 - WO - 160972 - Information box display for Address line fields when PO Box address is filled.
      	Function call will be onLoad from applicationPage.jsp
      */
      function checkPoBoxinAddrField() {
        var isAddrContainsPoBox = false;
        //var addrLineFldsHere = "sStreetAddr1,sStreetAddr2";
        var addrLineFldsHere = "sStreetAddr1,sCompanyStreet,sStreet1";
        var addrFields = addrLineFldsHere.split(",");
        for (s = 0; s < addrFields.length; s++) {
          if (null != document.getElementById(addrFields[s])) {
            if (null != document.getElementById(addrFields[s]).type && document.getElementById(addrFields[s]).type.toLowerCase() != 'hidden') {
              if ("" != document.getElementById(addrFields[s]).value) {
                isAddrContainsPoBox = checkAddr(document.getElementById(addrFields[s]));
              }
            }
          }
        }
        return isAddrContainsPoBox;
      }
      //Def#168765 -End	
      /* Defect Fix #176840 Montly Field --Start--*/
      {
        var docLabels = document.getElementsByTagName('label');
        var monthlyLabelElem = null;
        if (null != docLabels) {
          for (var i = 0; i < docLabels.length; i++) {
            // identify the label element with field id
            if ((docLabels[i].htmlFor != '') && (((docLabels[i].htmlFor) == 'sMonthlyMortgage') || ((docLabels[i].htmlFor) == 'sMonthlyMortgage1'))) monthlyLabelElem = docLabels[i];
          }
        }
        if (null != monthlyLabelElem) {
          // check for Monthly Payment or Monthly Housing Paymentfield	 	
          if ((monthlyLabelElem.innerHTML.indexOf("Monthly Housing Payment:") > -1) || (monthlyLabelElem.innerHTML.indexOf("Amount of Monthly Housing Payment:") > -1)) {
            // update error message on Montly Payment field
            if (null != document.getElementById("errorsMonthlyMortgage.required")) document.getElementById("errorsMonthlyMortgage.required").innerHTML = "Monthly Housing Payment is required. Please enter.";
            if (null != document.getElementById("errorsMonthlyMortgage.invalidRent")) document.getElementById("errorsMonthlyMortgage.invalidRent").innerHTML = "Monthly Housing Payment must be greater than zero if residence is rent. Please reenter.";
            if (null != document.getElementById("errorsMonthlyMortgage.invalidInput")) document.getElementById("errorsMonthlyMortgage.invalidInput").innerHTML = "Monthly Housing Payment must be numeric characters. Please reenter.";
            if (null != document.getElementById("errorsMonthlyMortgage.invalidLength")) document.getElementById("errorsMonthlyMortgage.invalidLength").innerHTML = "Monthly Housing Payment must be less than 4 digits in length.";
            //sMonthlyMortgage1.invalid
            if (null != document.getElementById("errorsMonthlyMortgage1.invalid")) document.getElementById("errorsMonthlyMortgage1.invalid").innerHTML = "Monthly Housing Payment must be numeric characters. Please reenter.";
          }
          // check for Monthly Housing Rent or Mortgage field
          if (monthlyLabelElem.innerHTML.indexOf("Monthly Housing Payment") > -1) {
            // update information message on Monthly Rent field infosMonthlyMortgage.NoCommas
            if (null != document.getElementById("infosMonthlyMortgage.NoCommas")) document.getElementById("infosMonthlyMortgage.NoCommas").innerHTML = "Please provide the monthly rent, lease or mortgage payment amount for your housing.";
            //sMonthlyMortgage.title
            if (null != document.getElementById("sMonthlyMortgage") && (document.getElementById("sMonthlyMortgage").title != "")) document.getElementById("sMonthlyMortgage").title = "Please enter a value between 0 and 9999.  Do not use commas.";
          }
        }
      }
      /* Defect Fix #176840 Montly Field --End--*/
      //updating the info messages for the apps other than business
      if ((7 != 1) && (8 != 1)) {
        //update the info message and 
        if (null != document.getElementById("infosAnnualIncome.NoCommas")) document.getElementById("infosAnnualIncome.NoCommas").innerHTML =
          "Total gross annual income is income you can use to repay your debts.  Salaries, investments, rental property proceeds, Social Security benefits and retirement accounts are some examples.";
      }
      if (("0475" == "0513      ") || ("0482" == "0513      ") || ("0483" == "0513      ")) {
        //update the info message  
        if (null != document.getElementById("infosAnnualIncome.NoCommas")) document.getElementById("infosAnnualIncome.NoCommas").innerHTML =
          "Please disclose your entire total gross annual income to be considered for credit approval and assignment of credit line.  Your income may include: salaries, investment and rental income, Social Security, retirement account distributions, and any other income you may have.";
      }
      if (((7 != 1) && (8 != 1)) || (("0475" == "0513      ") || ("0482" == "0513      ") || ("0483" == "0513      "))) {
        isremoveHousehold = true;
        //update the error message		
        if (null != document.getElementById("errorsAnnualIncome.required")) document.getElementById("errorsAnnualIncome.required").innerHTML = "Total gross annual income is required. Please enter.";
        if (null != document.getElementById("errorsAnnualIncome.invalidInput")) document.getElementById("errorsAnnualIncome.invalidInput").innerHTML = "Total gross annual income must be numeric characters. Please reenter.";
        if (null != document.getElementById("errorsAnnualIncome.invalidIncome")) document.getElementById("errorsAnnualIncome.invalidIncome").innerHTML = "Total gross annual income must be a minimum of $14,400.";
        if (null != document.getElementById("errorsAnnualIncome.invalidLength")) document.getElementById("errorsAnnualIncome.invalidLength").innerHTML = "Total gross annual income must be less than 7 digits in length.";
        if (null != document.getElementById("sAnnualIncome") && (document.getElementById("sAnnualIncome").title != "")) document.getElementById("sAnnualIncome").title =
          "Required Field. Enter total gross annual income in field and please do not use commas.";
      }
      if ((7 == 15) || (9 == 15)) {
        // Expand AAU and BT fields to an open position
        toggleContent(document.getElementById('section-application-addnl-cards-form'), document.getElementById('plus-btn-addnl-cards'), document.getElementById('minus-btn-addnl-cards'));
        //toggleContent(dojo.byId('section-application-balance-transfer-option-form'),dojo.byId('plus-btn-transfer'),dojo.byId('minus-btn-transfer'));
        //if ( null != document.getElementById('plus-btn-transfer'))
        //document.getElementById('plus-btn-transfer').className='hideContent';
        //if ( null != document.getElementById('minus-btn-transfer'))
        //document.getElementById('minus-btn-transfer').className='displayContent';
        if (false == true) {
          if (null != document.getElementById('plus-btn-addnl-cards')) document.getElementById('plus-btn-addnl-cards').className = 'displayContent1';
          if (null != document.getElementById('minus-btn-addnl-cards')) document.getElementById('minus-btn-addnl-cards').className = 'hideContent1';
        } else {
          if (null != document.getElementById('plus-btn-addnl-cards')) document.getElementById('plus-btn-addnl-cards').className = 'hideContent';
          if (null != document.getElementById('minus-btn-addnl-cards')) document.getElementById('minus-btn-addnl-cards').className = 'displayContent';
        }
      }
    </script>
  </div>
</form>

Text Content

SECURE RESPONSE
We protect your information
Marriott Bonvoy Boundless® Credit Card




MARRIOTT BONVOY BOUNDLESS® CREDIT CARD



Close


LET'S GET STARTED.

Please complete these fields to continue to next step:
First name Enter your name as it would appear on a government issued ID. Avoid
using periods and commas as they will not be captured.

M.I.

Last name

Suffix

Jr Sr II III IV V DDM DDS DO ESQ MD RN
Mailing address 1

Tap to enter additional address details, like your apartment number. collapse
additional address fields
Suite/apt/other (optional)

City

State

AA AE AK AP AL AR AZ CA CO CT DC DE FL GA GU HI IA ID IL IN KS KY LA MA MD ME MI
MN MO MS MT NC ND NE NH NJ NM NV NY OH OK OR PA PR RI SC SD TN TX UT VA VI VT WA
WI WV WY
ZIP code

Date of birth You must be at least 18 years of age to apply (19 for AL and NE;
21 for PR).

Date of birth

Mother's maiden name We request your mother's maiden name to help verify your
identity whenever you call us about your account.

Email address We use your email address to communicate with you about your
account. We may also send you email messages about special offers and services.
Please provide an email address you check frequently.

SSN/ITIN We ask for your Social Security Number/Individual Taxpayer
Identification Number to help us identify you. When you submit your application
online, we'll encrypt your details to help keep your information safe.

Total gross annual income Your "total gross annual income" is what you earn or
reasonably expect to earn. This includes full-time, part-time, internships or
seasonal jobs, self-employment, interest or dividends, investments, retirement,
social security benefits and public assistance. You can also include money that
someone else deposits regularly into your account (individual or joint). If
you're 21 or older and regularly use income from others to pay your bills, you
can include that too. Alimony, child support, or separate maintenance income
need not be revealed if you do not wish to have it considered as a basis for
repaying this obligation.
$ .00
Type of residence

Select One Rent Own Other
Primary source of income

Select One Employed Unemployed Self Employed Other
Monthly housing payment
$ .00
Primary phone number (mobile preferred)†† By giving us your mobile number, Chase
has your consent to send you automated calls and texts to service all of your
accounts with us.


 * By providing your mobile phone number, you are giving permission to be
   contacted at that number about all of your accounts by JPMorgan Chase and
   companies working on its behalf.
 * Your consent allows the use of text messages, artificial or prerecorded voice
   messages and automatic dialing technology for informational and account
   servicing, but not for sales or telemarketing.
 * Message and data rates may apply.


Alternative phone number (optional) If this number is the same as the primary,
you may leave it blank. When you give us your mobile phone number, we have your
permission to contact you at that number about all your Chase or J.P. Morgan
accounts.


 * Your consent allows us to use text messaging, artificial or prerecorded voice
   messages and automatic dialing technology for informational and account
   service calls, but not for telemarketing or sales calls.
 * It may include contact from companies working on our behalf to service your
   accounts.
 * Message and data rates may apply.


You may contact us any time to change these preferences.

Please select Yes or No for Non-Taxable Income
Is any portion of your total gross annual income non-taxable?

Is any portion of your gross annual income non-taxable? Yes

Is any portion of your gross annual income non-taxable? No
Non-taxable income
$ .00

This is the portion of your total gross annual income that you or your tax
advisor has determined isn't subject to income tax. Examples of income that are
typically not subject to income tax may include money you receive from
disability, worker's compensation, child support, housing allowance, social
security, or public assistance.

Marriott Bonvoy® Number (optional) Enter Marriott Bonvoy® Number.


If you are not already a Marriott Bonvoy member, you will automatically be
enrolled upon approval for the card.

PHYSICAL ADDRESS

Federal regulations require us to collect your physical address. If you only
provide a P.O. Box we will not be able to accept your request.

Physical street address 1

Tap to enter additional address details, like your apartment number. collapse
additional address fields
Physical street address 2

City

State

AA AE AK AP AL AR AZ CA CO CT DC DE FL GA GU HI IA ID IL IN KS KY LA MA MD ME MI
MN MO MS MT NC ND NE NH NJ NM NV NY OH OK OR PA PR RI SC SD TN TX UT VA VI VT WA
WI WV WY
ZIP code

Please select Statement & Communication Delivery Preference
Statement & Communication Delivery Preference

Statement & Communication Delivery Preference Online Only

Statement & Communication Delivery Preference By Mail

By selecting 'Online only', you acknowledge that you agree to receive billing
statements, disclosures, notices and letters online. We'll send you an email at
your primary email address when your documents are available.

If you're approved, finish activating paperless communications by simply signing
in to chase.com from a computer, tablet or the Chase Mobile® app. Until then,
we'll mail you paper communications. To create a log-in, go to the "Not
enrolled? Sign up now" link on the chase.com home page once your card arrives in
the mail.

Add authorized users (optional) (shows content below) (hides content below)

You may add up to five additional people to your account. We'll send an
individual card for each one.

(cardholder 1)
Authorized User 1
Remove authorized user 1
First name Enter your name as it would appear on a government issued ID. Avoid
using periods and commas as they will not be captured.

M.I.

Last name

Date of birth Enter the authorized user's birthdate using only numbers.

Date of birth

Same address as applicant.
Residential address 1 Federal regulations require us to collect authorized
user's physical address. If you only provide a P.O. Box, this will delay how
quickly we can review your request.

Tap to enter additional address details, like your apartment number. collapse
additional address fields
Residential address 2

City

State

AA AE AK AP AL AR AZ CA CO CT DC DE FL GA GU HI IA ID IL IN KS KY LA MA MD ME MI
MN MO MS MT NC ND NE NH NJ NM NV NY OH OK OR PA PR RI SC SD TN TX UT VA VI VT WA
WI WV WY
ZIP code Enter the authorized user's correct five-digit ZIP code. Authorized
user's ZIP code and state should match.

(cardholder 2)
Authorized User 2
Remove authorized user 2
First name Enter your name as it would appear on a government issued ID. Avoid
using periods and commas as they will not be captured.

M.I.

Last name

Date of birth Enter the authorized user's birthdate using only numbers.

Date of birth

Same address as applicant.
Residential address 1 Federal regulations require us to collect authorized
user's physical address. If you only provide a P.O. Box, this will delay how
quickly we can review your request.

Tap to enter additional address details, like your apartment number. collapse
additional address fields
Residential address 2

City

State

AA AE AK AP AL AR AZ CA CO CT DC DE FL GA GU HI IA ID IL IN KS KY LA MA MD ME MI
MN MO MS MT NC ND NE NH NJ NM NV NY OH OK OR PA PR RI SC SD TN TX UT VA VI VT WA
WI WV WY
ZIP code Enter the authorized user's correct five-digit ZIP code. Authorized
user's ZIP code and state should match.

(cardholder 3)
Authorized User 3
Remove authorized user 3
First name Enter your name as it would appear on a government issued ID. Avoid
using periods and commas as they will not be captured.

M.I.

Last name

Date of birth Enter the authorized user's birthdate using only numbers.

Date of birth

Same address as applicant.
Residential address 1 Federal regulations require us to collect authorized
user's physical address. If you only provide a P.O. Box, this will delay how
quickly we can review your request.

Tap to enter additional address details, like your apartment number. collapse
additional address fields
Residential address 2

City

State

AA AE AK AP AL AR AZ CA CO CT DC DE FL GA GU HI IA ID IL IN KS KY LA MA MD ME MI
MN MO MS MT NC ND NE NH NJ NM NV NY OH OK OR PA PR RI SC SD TN TX UT VA VI VT WA
WI WV WY
ZIP code Enter the authorized user's correct five-digit ZIP code. Authorized
user's ZIP code and state should match.

(cardholder 4)
Authorized User 4
Remove authorized user 4
First name Enter your name as it would appear on a government issued ID. Avoid
using periods and commas as they will not be captured.

M.I.

Last name

Date of birth Enter the authorized user's birthdate using only numbers.

Date of birth

Same address as applicant.
Residential address 1 Federal regulations require us to collect authorized
user's physical address. If you only provide a P.O. Box, this will delay how
quickly we can review your request.

Tap to enter additional address details, like your apartment number. collapse
additional address fields
Residential address 2

City

State

AA AE AK AP AL AR AZ CA CO CT DC DE FL GA GU HI IA ID IL IN KS KY LA MA MD ME MI
MN MO MS MT NC ND NE NH NJ NM NV NY OH OK OR PA PR RI SC SD TN TX UT VA VI VT WA
WI WV WY
ZIP code Enter the authorized user's correct five-digit ZIP code. Authorized
user's ZIP code and state should match.

(cardholder 5)
Authorized User 5
Remove authorized user 5
First name Enter your name as it would appear on a government issued ID. Avoid
using periods and commas as they will not be captured.

M.I.

Last name

Date of birth Enter the authorized user's birthdate using only numbers.

Date of birth

Same address as applicant.
Residential address 1 Federal regulations require us to collect authorized
user's physical address. If you only provide a P.O. Box, this will delay how
quickly we can review your request.

Tap to enter additional address details, like your apartment number. collapse
additional address fields
Residential address 2

City

State

AA AE AK AP AL AR AZ CA CO CT DC DE FL GA GU HI IA ID IL IN KS KY LA MA MD ME MI
MN MO MS MT NC ND NE NH NJ NM NV NY OH OK OR PA PR RI SC SD TN TX UT VA VI VT WA
WI WV WY
ZIP code Enter the authorized user's correct five-digit ZIP code. Authorized
user's ZIP code and state should match.


Add another authorized userAdd another user(updates content above)

††By giving us your mobile number, Chase has your consent to send you automated
calls and texts to service all of your accounts with us. By providing your
mobile phone number, you are giving permission to be contacted at that number
about all of your accounts by JPMorgan Chase and companies working on its
behalf. Your consent allows the use of text messages, artificial or prerecorded
voice messages and automatic dialing technology for informational and account
servicing, but not for sales or telemarketing. Message and data rates may
apply.< Hide Please read >

E-Sign Disclosure


E-SIGN DISCLOSURE

E-Sign Disclosure and Consent For Electronic Communications
This E-Sign Disclosure and Consent for Electronic Communications (this "E-Sign
Disclosure and Consent") applies to the credit card account you are applying for
online ("Account"). You agree that Chase may provide you with your cardmember
agreement ("Agreement") containing the initial disclosures for your Account,
which Chase is required to provide in writing, in an electronic format and that
the Agreement will be considered "in writing". You further agree that Chase may
provide you with any other initial disclosures (the "Disclosures") in electronic
format, including the US Consumer Privacy Notice, that Chase is required to
provide to you in writing before you use the credit card. The Agreement and
Disclosures will be provided online once you are approved for an Account. You
should print a copy of the Agreement and Disclosures for your records. You may
withdraw your consent to receive the Agreement and Disclosures in electronic
form by exiting this credit card application. If you withdraw your consent to
receive the Agreement and Disclosures in electronic form before you complete
your application for the Account, Chase cannot accept and process your request
for an Account.


In order to access, view, and retain the Agreement and the Disclosures in
electronic form, you must have:

 * an up-to-date device or devices (e.g., computer, smart phone, mobile device,
   tablet, etc.) suitable for connecting to the Internet;
 * an up-to-date Internet or mobile browser that Chase supports;
 * sufficient electronic storage capacity on your device or on another data
   storage unit to retain the Agreement and the Disclosures and/or a printer to
   print the Agreement and the Disclosures;
 * software that enables you to view files in HyperText Markup Language ("HTML")
   and the Portable Document Format ("PDF");
 * a valid e-mail address and software to access it.



Chase will send you a paper copy of the Agreement and certain Disclosures with
your credit card. You can also obtain a paper copy of the Agreement and the
Disclosures by printing it yourself when presented through this application
process or by requesting that Chase mail you a paper copy by contacting Chase at
the number on the back of your credit card. We may charge you a reasonable
service charge, with prior notice of any such charge, for the delivery of paper
copies of any Communication provided to you electronically pursuant to this
E-Sign Consent.

You acknowledge and agree that your consent to receive the Agreement and the
Disclosures electronically is being provided in connection with a transaction
affecting interstate commerce that is subject to the federal Electronic
Signatures in Global and National Commerce Act (the "Act"), and that you and
Chase both intend that the Act apply to the fullest extent possible to validate
Chase's ability to conduct business with you by electronic means. If you have
provided us with an e-mail address, mobile telephone number or other information
relating to how we may contact you electronically and need to update those
records, you may call us with the number on the back of your card, visit
chase.com or access the Chase Mobile® app.

By submitting this application, you hereby give Chase your affirmative consent
to provide the Agreement and Disclosures to you as described in the E-Sign
Disclosure and Consent regarding the Account and that your device satisfies the
hardware and software requirements specified in this E-sign Disclosure and
Consent.

Close

Please tap "Pricing & Terms" and "E-Sign Disclosure" before you check the box
indicating you have read and agree to the Certifications and Pricing & Terms.

E-Sign Disclosure(opens overlay)
Pricing & Terms


PRICING & TERMS

Pricing & Terms

 


PRICING & TERMS

Please take a moment to carefully review the Pricing & Terms below.

Pricing Information

Interest Rates and Interest Charges

Purchase Annual Percentage Rate (APR)

16.74% to 23.74%, based on your creditworthiness. These APRs will vary with the
market based on the Prime Rate.a

My Chase LoanSM APR

16.74% to 23.74%, based on your creditworthiness. These APRs will vary with the
market based on the Prime Rate.a

Promotional offers with fixed APRs and varying durations may be available from
time to time on some accounts.

Balance Transfer APR

16.74% to 23.74%, based on your creditworthiness. These APRs will vary with the
market based on the Prime Rate.a

Cash Advance APR

25.74%. This APR will vary with the market based on the Prime Rate.b

Penalty APR and When It Applies

Up to 29.99%. This APR will vary with the market based on the Prime Rate.c

We may apply the Penalty APR to your account if you:

 * fail to make a Minimum Payment by the date and time that it is due; or
 * make a payment to us that is returned unpaid.

How Long Will the Penalty APR Apply?: If we apply the Penalty APR for either of
these reasons, the Penalty APR could potentially remain in effect indefinitely.

How to Avoid Paying Interest on Purchases

Your due date will be a minimum of 21 days after the close of each billing
cycle. We will not charge you interest on new purchases if you pay your entire
balance or Interest Saving Balance by the due date each month. We will begin
charging interest on balance transfers and cash advances on the transaction
date.

Minimum Interest Charge

None

Credit Card Tips from the Consumer Financial Protection Bureau

To learn more about factors to consider when applying for or using a credit
card, visit the website of the Consumer Financial Protection Bureau at
http://www.consumerfinance.gov/learnmore.

Fees

Annual Membership Fee

$95

My Chase PlanSM Fee

(fixed finance charge)

Monthly fee of 1.72% of the amount of each eligible purchase transaction or
amount selected to create a My Chase Plan. The My Chase Plan Fee will be
determined at the time each My Chase Plan is created and will remain the same
until the My Chase Plan is paid in full.d

Transaction Fees

Balance Transfers

Either $5 or 5% of the amount of each transfer, whichever is greater.

Cash Advances

Either $10 or 5% of the amount of each transaction, whichever is greater.

Foreign Transactions

None

Penalty Fees

Late Payment

Up to $40.

Return Payment

Up to $40.

Return Check

None

Note: This account may not be eligible for balance transfers.

How We Will Calculate Your Balance: We use the daily balance method (including
new transactions).

Prime Rate: Variable APRs are based on the 4.00% Prime Rate as of 5/10/2022.

aWe add 12.74% to 19.74% to the Prime Rate to determine the Purchase/My Chase
Loan/Balance Transfer APR. Maximum APR 29.99%.

bWe add 21.74% to the Prime Rate to determine the Cash Advance APR. Maximum APR
29.99%.

cWe add up to 26.99% to the Prime Rate to determine the Penalty APR. Maximum APR
29.99%.

dMy Chase Plan Fee: The My Chase Plan Fee is calculated at the time each plan is
created and is based on the amount of each purchase transaction or amount
selected to create the plan, the number of billing periods you choose to pay the
balance in full, and other factors. The monthly and aggregate dollar amount of
your My Chase Plan Fee will be disclosed during the activation of each My Chase
Plan.

MILITARY LENDING ACT NOTICE: Federal law provides important protections to
members of the Armed Forces and their dependents relating to extensions of
consumer credit. In general, the cost of consumer credit to a member of the
Armed Forces and his or her dependent may not exceed an annual percentage rate
of 36 percent. This rate must include, as applicable to the credit transaction
or account: the costs associated with credit insurance premiums; fees for
ancillary products sold in connection with the credit transaction; any
application fee charged (other than certain application fees for specified
credit transactions or accounts); and any participation fee charged (other than
certain participation fees for a credit card account). To receive this
information and a description of your payment obligation verbally, please call
1-800-235-9978.

TERMS & CONDITIONS

Authorization: When you respond to this credit card offer from
JPMorgan Chase Bank, N.A., Member FDIC, a subsidiary of JPMorgan Chase & Co.
("Chase", "we", or "us"), you agree to the following:

 1. You authorize us to obtain credit bureau reports, employment, and income
    information about you that we will use when considering your application for
    credit. We may obtain and use information about your accounts with us and
    others such as Checking, Deposit, Investment, and Utility accounts from
    credit bureaus and other entities. You also authorize us to obtain credit
    bureau reports and any other information about you in connection with: 1)
    extensions of credit on your account; 2) the administration, review or
    collection of your account; and 3) offering you enhanced or additional
    products and services. If you ask, we will tell you the name and address of
    the credit bureau from which we obtained a report about you.

 2. If an account is opened, you will receive a Cardmember Agreement with your
    card(s). You agree to the terms of this agreement by: using the account or
    any card, authorizing their use, or making any payment on the account.

 3. By providing your mobile phone number, you are giving permission to be
    contacted at that number about all of your accounts by JPMorgan Chase and
    companies working on its behalf. Your consent allows the use of text
    messages, artificial or prerecorded voice messages and automatic dialing
    technology for informational and account servicing, but not for sales or
    telemarketing. Message and data rates may apply.

 4. Balance transfers will be applied to your account and sent to your
    designated payee(s) 10 days after we mail your new credit card. If you want
    to cancel or modify your balance transfer within this ten-day period and
    have received your credit card, please call the number on the back of your
    card. Otherwise, please call 1-888-338-9464. Please continue to make
    payments to your other account(s) until you know the balance has been paid.

 5. Rates, fees, and terms may change: We have the right to change the account
    terms (including the APRs) in accordance with your Cardmember Agreement.

Before we approve you for a credit card, we will review your credit report and
the information you provide with your response to confirm that you meet the
criteria for this offer. Based on this review, you may receive a card with
different costs or you may not receive a card. If approved for an account, your
credit access line will be at least $5000.

You must be at least 18 years old to qualify (19 in AL and NE, 21 in Puerto
Rico). An applicant, if married, may apply for a separate account.

We reserve the right to change the benefit features associated with your card at
any time.

New York Residents: New York residents may contact the New York State Department
of Financial Services at 1-800-342-3736 or go to www.dfs.ny.gov to obtain a
comparative list of credit card rates, fees, and grace periods.

Ohio Residents: The Ohio laws against discrimination require that all creditors
make credit equally available to all credit worthy customers, and that credit
reporting agencies maintain separate credit histories on each individual upon
request. The Ohio Civil Rights Commission administers compliance with this law.

Notice to Married Wisconsin Residents: No provision of any marital property
agreement, unilateral statement or court order applying to marital property will
adversely affect a creditor's interests unless the creditor, prior to the time
the credit is granted, is furnished a copy of the agreement, statement or
decree, or has actual knowledge of the adverse provision when the obligation to
the creditor is incurred. Obligations on this account will be incurred in the
interest of your marriage or family. You understand that we may be required to
give notice of this account to your spouse. Married Wisconsin residents must
furnish their (the applicant's) name and social security number as well as the
name and address of their spouse to Cardmember Service at P.O. Box 15366,
Wilmington, DE 19850-5366.

Balance Transfer Option

 * Balance transfers are contingent upon issuance of your account with us.

 * The total amount of your request(s) including fees and interest charges
   cannot exceed your available credit or $15,000, whichever is lower.

 * We will not process any balance transfer requests that are from any other
   account or loan that we (JPMorgan Chase Bank, N.A., Member FDIC) or any of
   our affiliates issued.

 * Balance transfers are subject to the transaction fee shown in the enclosed
   "Pricing Information."

 * We will evaluate your balance transfer requests in the order listed on your
   response. If your request(s) exceeds the amount that we approve, we may
   either decline the request or send less than the full amount requested to
   your designated payee.

 * Each transfer will reduce your available credit just like any other
   transaction. You will see a payment for the amount transferred on the
   statement from your other accounts. It may take up to three weeks to set up
   your new account with us and process the balance transfer(s), so you may
   still need to make payments to your other accounts to keep them current.

Affiliate Information Sharing: We and our affiliates may share information about
you among affiliates in order to offer products and services of interest to you.
If you would prefer that we do not share information from your application,
credit bureaus or third parties, please call us at 1-888-868-8618. For more
information about our information handling policies, visit us on the web at
http://www.chase.com/privacypolicy.

Replying to this offer: If you omit any information on the form, we may deny
your request for an account. Chase cardmembers who currently have or have had a
Chase credit card in any Rewards Program associated with this offer, may not be
eligible for a second Chase credit card in the same Rewards Program. Chase
cardmembers currently receiving promotional pricing, or Chase cardmembers with a
history of only using their current or prior Chase card for promotional pricing
offers, are not eligible for a second Chase credit card with promotional
pricing. You must have a valid permanent home address within the 50 United
States, the District of Columbia, Guam, Puerto Rico, or the US Virgin Islands,
or have a United States military address. The information about the costs of the
card described in this form is accurate as of 5/10/2022. This information may
have changed after that date. To find out what may have changed, write to us at
Cardmember Service, P.O. Box 15043, Wilmington, DE 19850-5043.

USA PATRIOT Act: Federal law requires all financial institutions to obtain,
verify, and record information that identifies each person who opens an account.
We require the following information or documents as a condition to your opening
an account: your name, residential address, date of birth, Social Security
number, driver's license or other identifying documents.

© 2022 JPMorgan Chase & Co. 

Close
Pricing & Terms(opens overlay)
Certifications
   
 * Eligibility for this product: The product is not available to either:
   
   (1) current cardmembers of the Marriott Bonvoy® Premier credit card (also
   known as Marriott Rewards® Premier), Marriott Bonvoy Boundless® credit card
   (also known as Marriott Rewards® Premier Plus), Marriott Bonvoy Bold® credit
   card, or
   
   (2) previous cardmembers of the Marriott Bonvoy® Premier credit card (also
   known as Marriott Rewards® Premier), Marriott Bonvoy Boundless® credit card
   (also known as Marriott Rewards® Premier Plus), or Marriott Bonvoy Bold®
   credit card, who received a new cardmember bonus within the last 24 months.
   
   If you are an existing Marriott Rewards Premier or Marriott Bonvoy® Premier
   customer and would like this product, please call the number on the back of
   your card to see if you are eligible for a product change.

 * Eligibility for the new cardmember bonus: The bonus is not available to you
   if you:
   
   (1) are a current cardmember, or were a previous cardmember within the last
   30 days, of Marriott Bonvoy® American Express® Card (also known as The
   Starwood Preferred Guest® Credit Card from American Express);
   
   (2) are a current or previous cardmember of either Marriott Bonvoy Business®
   American Express® Card (also known as The Starwood Preferred Guest® Business
   Credit Card from American Express) or Marriott Bonvoy Brilliant® American
   Express® Card (also known as the Starwood Preferred Guest® American Express
   Luxury Card), and received a new cardmember bonus or upgrade bonus in the
   last 24 months; or
   
   (3) applied and were approved for Marriott Bonvoy Business® American Express®
   Card (also known as The Starwood Preferred Guest® Business Credit Card from
   American Express) or Marriott Bonvoy Brilliant® American Express® Card (also
   known as the Starwood Preferred Guest® American Express Luxury Card) within
   the last 90 days.

   
   
 * I certify that I have read and agree to all pricing, terms, conditions,
   authorizations and disclosures provided with this request for credit and that
   all information provided is true and correct.
   
 * I authorize Chase and the partner named in this offer to exchange information
   about me and my account(s).
   
 * I understand that balance transfers, if any, will be applied to my account
   and sent to my designated payee(s) 10 days after my new credit card is
   mailed. If I want to cancel or modify my balance transfer within this ten-day
   period and have received my credit card, I can call the number on the back of
   my card. Otherwise, I can call 1-888-338-9464. I will continue to make
   payments to my other account(s) until I know the balance has been paid.
 * I will be responsible for repaying all balances on this account. Authorized
   users will have the same account number and charging privileges as the
   primary cardmember but will not be financially responsible. All
   correspondence, including additional card, statements and notifications, will
   be sent to the name and address on file for the primary cardmember. We
   provide account information to the credit reporting agencies for all account
   users. This information could impact an authorized user's credit score. When
   you tell us to add a user to your account, you're confirming that you have a
   relationship with the person or people whose name(s), address(es) and date of
   birth(s) you've told us, that all their information is correct, and that you
   have their consent to add them. If we determine you've given us fraudulent
   name, address, or date of birth information or did not have such consent, we
   can close this account.
   
   I understand that the terms of my account, including the APRs, are subject to
   change. Any such changes will be made in accordance with the Cardmember
   Agreement.
 * I agree that when I apply for a Marriott Bonvoy® credit card and for as long
   as I maintain an open account, my relationship with JPMorgan Chase Bank, N.A.
   Member FDIC or other credit card issuers of Marriott International, Inc. may
   be disclosed to other Marriott®, Starwood® or Ritz-Carlton® credit card
   issuers.

I have read and I agree to the Certifications and Pricing & Terms. (required)
(begin overlay)


YOU'RE NOW LEAVING CHASE

Chase's website and/or mobile terms, privacy and security policies don't apply
to the site or app you're about to visit. Please review its terms, privacy and
security policies to see how they apply to you. Chase isn't responsible for (and
doesn't provide) any products, services or content at this third-party site or
app, except for products and services that explicitly carry the Chase name.

Cancel Proceed
(end of overlay)
Submit
$abandonModal
 * Pricing & Terms
 * Privacy Notice
 * Terms of Use
 * AdChoices

© 2022  JPMorgan Chase & Co. 
(begin overlay)


YOU'RE NOW LEAVING CHASE

Chase's website and/or mobile terms, privacy and security policies don't apply
to the site or app you're about to visit. Please review its terms, privacy and
security policies to see how they apply to you. Chase isn't responsible for (and
doesn't provide) any products, services or content at this third-party site or
app, except for products and services that explicitly carry the Chase name.

Cancel Proceed
(end of overlay)




VERIFYING YOUR INFORMATION...

Thank you. We're processing your request and may need more information from you.
We appreciate your patience. Please don't click "Refresh" or the "Back" arrow in
your browser window or your request will be lost.