﻿function Login_SetPassword(usernameID,passwordID,password){
    if ( passwordID.length > 0 && password.length > 0 ){
        document.getElementById(passwordID).value = password;
        document.getElementById(passwordID).className = "textInput";
        document.getElementById(usernameID).className = "textInput";
    }
    
}

function Login_btnLogin_onClick(o){
    o.style.display = "none";
}

function Login_txtUsername_onFocus(o){
    o.className = "textInput";
}

function Login_txtUsername_onBlur(o){
    if ( o.value.length == 0 ){
      o.className = "textInput login-username";
    }
}

function Login_txtPassword_onFocus(o){
    o.className = "textInput";
}

function Login_txtPassword_onBlur(o){
    if ( o.value.length == 0 ){
      o.className = "textInput login-password";
    }
}