function CharMode(iN){ if (iN>=48 && iN <=57) return 1; if (iN>=65 && iN <=90) return 2; if (iN>=97 && iN <=122) return 4; else return 8; } function bitTotal(num){ modes=0; for (i=0;i<4;i++){ if (num & 1) modes++; num>>>=1; } return modes; } function checkStrong(sPW){ if (sPW.length<=4) return 0; Modes=0; for (i=0;i