function validateChangePwd(f){
      
    if(isEmpty(f.pwd.value)){
        status(f.id,'Please enter password.');
        f.pwd.focus();
        return false;
    }else{
        if (isEmpty(f.comfirmPwd.value)) {
            status(f.id, 'Please confirm password.');
            f.comfirmPwd.focus();
            return false;
        }
        else {
            if (f.comfirmPwd.value != f.pwd.value) {
                status(f.id, 'The password do not match.');
                f.pwd.focus();
                return false;
            }
        }
    }
    
    return true;
}