function hadFocus(set)
{
    if (set) userpwdFocus = true;
    return userpwdFocus;
}

