!function(){var e=JSON.parse('[]');!function(e){setTimeout(function(){document.getElementById("ptminder-client-login")?e():setTimeout(function(){e()},2e3)},50)}(function(){var t=document.getElementById("ptminder-client-login"),i="";e&&-1!=e.indexOf("sign_up")&&(i+='<a id="ptminder-client-signup-button" onMouseOver="this.style.textDecoration=\'underline\'" onMouseOut="this.style.textDecoration=\'none\'" onclick="ptminder_jsonp_sign_up(this); return false;" style="cursor:pointer; color: black; float: right; display: inline-block;font-size: 12px;font-family: Helvetica, Arial, sans-serif;height: 20px;margin-top: 8px;">Sign Up</a>');var n="";e&&-1!=e.indexOf("forgot_password")&&(n+='<a id="ptminder-client-forgot-password-button" onMouseOver="this.style.textDecoration=\'underline\'" onMouseOut="this.style.textDecoration=\'none\'" onclick="ptminder_jsonp_forgot_password(this); return false;" style="cursor:pointer; color: black; float: right; display: inline-block;font-size: 12px;font-family: Helvetica, Arial, sans-serif;height: 20px;margin-top: 8px;">Forgot Password?</a>'),""!=i&&""!=n&&(n+=' <span style="float: right; display: inline-block; font-size: 13px; padding: 4px; margin-top: 3px;">|</span> ');var o="";e&&-1!=e.indexOf("keep_logged")&&(o+='<br style="clear: both;"><input type="checkbox" name="keep_logged" id="ptminder-client-keep-logged-checkbox" style="float: right; margin-top: 0px"/><label for="ptminder-client-keep-logged-checkbox" style="float: right; margin-right: 5px; margin-top: 0px; font-size: 13px;min-width: 110px;">Keep me logged in</label>');var r='<form id="ptminder-client-login-form" action="https://ptminder.com" style="width: 170px;font-family: Helvetica, Arial, sans-serif;"><div><div style="padding:3px 0;"><label for="ptminder-login-email">Email</label></div><input type="text" name="email" placeholder="Email" id="ptminder-login-email" style="width: 170px; padding: 4px 6px; font-size: 14px; border-radius: 4px;background-color: #ffffff; border: 1px solid #cccccc;"/></div><div><div style="margin-top:10px; padding:3px 0;"><label for="ptminder-login-password">Password</label></div><input type="password" name="password" placeholder="Password" id="ptminder-login-password" style="width: 170px;  padding: 4px 6px; font-size: 14px; border-radius: 4px;background-color: #ffffff; border: 1px solid #cccccc;"/></div><div id="ptminder-client-login-error-field" style="margin-top: 5px; display:none; font-size: 12px; border-radius: 3px; padding: 2px 4px; background-color:#eed3d7; color: #b94a48; "></div><div style="margin-top: 7px;"><input type="submit" id="ptminder-client-signin-button" value="Sign In" onclick="ptminder_jsonp(this); return false;" style="font-family: Helvetica, Arial, sans-serif;float: right; padding: 1px 6px; background-color: #f5f5f5; border: 1px solid #bbbbbb; cursor: pointer; border-radius: 4px;"/><br style="clear: both;">'+o+n+i+'<a href="#" id="ptminder-client-redirect-link" target="_blank" style="font-size: 14px;display: none; text-decoration:none; float: right; font-family: Helvetica, Arial, sans-serif;  color: #3c763d;background-color: #dff0d8;border-color: #d6e9c6;padding: 3px;border: 1px solid transparent;border-radius: 4px;">Sign in successful. <b>Click here to continue.</b></a></div></form>';t.innerHTML=r})}();var ptminder_jsonp=function(){delete_old_script("ptminder-jsonp-script");var e=document.getElementById("ptminder-login-email").value,t=document.getElementById("ptminder-login-password").value,i=0;document.getElementById("ptminder-client-keep-logged-checkbox")&&(i=!0===document.getElementById("ptminder-client-keep-logged-checkbox").checked?1:0),add_new_script("ptminder-jsonp-script","https://ptminder.com/website/remotelogin/?login="+e+"&password="+t+"&keep_logged="+i+"&domain="+document.domain+"&guid=m56csePT1eLCyA==")},ptminder_jsonp_sign_up=function(){delete_old_script("ptminder-jsonp-script-sing-up"),add_new_script("ptminder-jsonp-script-sing-up","https://ptminder.com/website/remotesignup/?domain="+document.domain+"&guid=m56csePT1eLCyA==")},ptminder_jsonp_keep_logged=function(){delete_old_script("ptminder-client-keep-logged-checkbox"),add_new_script("ptminder-client-keep-logged-checkbox","https://ptminder.com/website/remoteforgotpassword/?domain="+document.domain+"&guid=m56csePT1eLCyA==")},delete_old_script=function(e){var t=document.getElementById(e);t&&t.parentNode.removeChild(t)},add_new_script=function(e,t){var i=document.createElement("script");i.src=t,i.id=e,document.getElementsByTagName("head")[0].appendChild(i)},ptminder_clients_auth=function(e){var t=document.getElementById("ptminder-client-login-error-field");if(t.style.display="none",e)if(e.error)t.style.display="",t.innerHTML=e.error;else if(e.redirect)if(function(){try{return window.self!==window.top}catch(e){return!0}}()){document.getElementById("ptminder-client-signin-button").style.display="none";var i=document.getElementById("ptminder-client-redirect-link");i.setAttribute("href",e.redirect),i.style.display="block"}else location.href=e.redirect};

var ptminder_jsonp_forgot_password = function(){
        delete_old_script('ptminder-jsonp-script-forgot-password');
        add_new_script('ptminder-jsonp-script-forgot-password','https://ptminder.com/website/remoteforgotpassword/?domain='+document.domain+'&guid=m56csePT1eLCyA==');
}
    
