#### unction CheckUserPswInvalid() { var userName = $("userName"); var pcPassword = $("pcPassword"); if(!CheckUserPswChars(userName.value)) { userName.select(); userName.focus(); return false; } if(!CheckUserPswChars(pcPassword.value)) { pcPassword.select(); pcPassword.focus(); return false; } return true; }