 
    <div class="dap-login-wrapper dap-login-container pagetemplate-template4  main-template" style="display:%%SHOWHIDEMEMBERLOGIN%%"  id="%%LOGINTEMPLATEID%%">

        <div class='dap-login-header'>
            <h2>Member Login</h2>
        </div>

        <div class="dap-login-content login_first">
          %%SHOWHIDEFORGOOGLESITEKEY%%
            <div id="errorText" class="errorclass">
				<label>
                %%ERRORTEXT%%
				</label>
            </div>
			<div id="errorText2" class="errorclass sucessmsg">
				<label>
                %%PASSWORDRESETSUCCESS%%
				</label>
            </div>

            <form class="login" name="loginFormLoginForm" method="post" action="" onSubmit="%%VALIDATELOGINFORM%%" id="%%LOGINFORMID%%">
                <input type="hidden" name="submitted" value="Y">
                <input type="hidden" name="forgot" value="N">
                <input type="hidden" name="request" value="%%REQUEST%%">
                <input type="hidden" name="captchaval" value="%%CAPTCHAVAL%%">
                %%CAPTCHAMSG%%

                <input type="email" autocomplete="on" autofocus placeholder="Email Address" class="login-input" name="email">
                <input type="password" autocomplete="on" placeholder="Password" class="login-input" name="password">
                  %%GOOGLECAPTCHA%%
              
                <div class="dap-login-btn-wrapper">
                    <button type="submit" class="login-submit" name="LoginDAPLoginForm" onClick="%%VALIDATELOGINFORMBUTTON%%">Login</button>
                </div>
                <div class='btnlikewrapper'>
                    <input name="rememberMe" type="checkbox" id="rememberMe" value="rememberMe">
                    <span>Remember me (for 2 weeks)</span>
                </div>
                <div class="login-help"><a href="#" onClick="doForgotPass();return false;">Forgot password?</a>
                </div>
            </form>
        </div>

    </div>

    <div class="dap-login-wrapper forget-password-container  main-template">
        <div class="dap-login-header">
            <h2>%%FORGOTPASSWORDHEADING%%</h2>
        </div>
 
        <div class="dap-login-content login_second">
            <label>%%FORGOTPASSWORDSUBHEADING%%</label>
              <div id="errorText" class="errorclass">
				<label>
                %%ERRORTEXT%%
				</label>
            </div>
			<div id="errorText2" class="errorclass sucessmsg">
				<label>
                %%PASSWORDRESETSUCCESS%%
				</label>
            </div>
            <div id="errorText1" class="errorclass errormsg">
                <label>
                %%MISSINGEMAIL%%
				</label>
            </div>
			 <div id="successText1" class="errorclass sucessmsg">
                <label>
                %%PASSWORDSENDLINK%%
				</label>
            </div>
            <input type="email" autocomplete="on" autofocus placeholder="%%EMAILADDRESS%%" class="login-input email_field" name="email">

            <div class="dap-login-btn-wrapper">
                <button class="forget-pass" name="forget-pass" style="background-color:%%SENDRESETBGCOLOR%%">%%SENDRESETLINK%%</button>
            </div>


        </div>

    </div>

    <div class="dap-login-wrapper reset-password-container  main-template" style="display:%%SHOWHIDERESETPASS%%">
        <div class="dap-login-header">
            <h2>%%RESETYOURPASSWORD%%</h2>
        </div>


        <div class="dap-login-content login_third">
           
            <input type="password" autocomplete="on" placeholder="%%NEWRESETPASSWORD%%" class="login-input reset_passw new-pass" name="new-password">
            <input type="password" autocomplete="on" placeholder="%%REENTERRESETPASSWORD%%" class="login-input reset_passw re-enter-pass" name="re-password">

            <div class="dap-login-btn-wrapper">
                <button class="reset-pass" name="reset-pass" style="background-color:%%RESETPASSWORDBTNBG%%">%%RESETPASSWORDBTNTEXT%%</button>
            </div>

        </div>
    </div>
    
	<link href="[CSSURL]" rel="stylesheet" type="text/css">
	<link href='//fonts.googleapis.com/css?family=Lato' rel='stylesheet' type='text/css'>
	<script language="javascript" type="text/javascript" src="/dap/javascript/jsstrings.php"></script>
	<script language="javascript" type="text/javascript" src="/dap/javascript/LoginForm.js?v=1"></script>
   

    <script>
        document.getElementsByClassName("btnlikewrapper")[0].onclick = function(e) {
            if (e.target.id != 'rememberMe') {
                var element = document.getElementById("rememberMe");
                if (element.checked == true) {
                    element.checked = false;
                } else {
                    element.checked = true;
                }
            }
        }
    </script>
 
