",n=strCount(e);return passRequirements.min&&(null==e||e.length
"),passRequirements.max&&(null==e||e.length>passRequirements.max)&&(a+=format("Maximum length of {0}",passRequirements.max)+"
"),passRequirements.upper&&(null==e||n.upper
"),passRequirements.lower&&(null==e||n.lower
"),passRequirements.numeric&&(null==e||n.numeric
"),passRequirements.nonalpha&&(null==e||n.nonalpha
"),a+="
"}function showPasswordPolicy(){messagebox("Password Policy",passwordPolicyText())}function validateReset(e){setDialogMode(0);var a=validateEmail(Q("remail").value);QE("eresetButton",a),null!=e&&13==e.keyCode&&1==a&&Q("eresetButton").click(),null!=e&&haltEvent(e)}function checkPasswordStrength(e){var a=0,n={},t=0,o={digits:/\d/.test(e),lower:/[a-z]/.test(e),upper:/[A-Z]/.test(e),nonWords:/\W/.test(e)};if(!e)return 0;for(var s,r=0;r