"),passRequirements.max&&(null==e||e.length>passRequirements.max)&&(n+=format("Maximum length of {0}",passRequirements.max)+"
"),passRequirements.upper&&(null==e||s.upper"),passRequirements.lower&&(null==e||s.lower"),passRequirements.numeric&&(null==e||s.numeric"),passRequirements.nonalpha&&(null==e||s.nonalpha"),n+=""}function showPasswordPolicy(){messagebox("Password Policy",passwordPolicyText())}function validateReset(e){setDialogMode(0);var n=validateEmail(Q("remail").value);QE("eresetButton",n),null!=e&&13==e.keyCode&&1==n&&Q("eresetButton").click(),null!=e&&haltEvent(e)}function checkPasswordStrength(e){var n=0,s={},a=0,t={digits:/\d/.test(e),lower:/[a-z]/.test(e),upper:/[A-Z]/.test(e),nonWords:/\W/.test(e)};if(!e)return 0;for(var o=0;on.max)return!1;var s=strCount(e);return!(n.numeric&&s.numeric()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e)}function putstore(e,n){try{if("undefined"==typeof localStorage)return;localStorage.setItem(e,n)}catch(e){}}function getstore(e,n){try{if("undefined"==typeof localStorage)return n;var s=localStorage.getItem(e);return null==s||null==s?n:s}catch(e){return n}}function format(e){var s=Array.prototype.slice.call(arguments,1);return e.replace(/{(\d+)}/g,function(e,n){return void 0!==s[n]?s[n]:e})}