//This function is called from the NotLoggedInSection page to toggle the password fields so that
// we could remove the labels for the textboxes and make the condensed area cleaner yet functional
function TogglePassword(strMode) {
    if (strMode == 'enter') {
        document.getElementById('txtPasswordDisplay').style.display = 'none';
        document.getElementById('txtPassword').style.display = '';
        document.getElementById('txtPassword').select();
    } else if (strMode == 'complete') {
        if (document.getElementById('txtPassword').value == '') {
            document.getElementById('txtPassword').style.display = 'none';
            document.getElementById('txtPasswordDisplay').style.display = '';
        }
    }
}

