﻿function setStandardClass(field) {
    if (field.className != "StandardTextBox") {
        field.setAttribute("value", "");
        //className works in IE;  class works in all others
        field.setAttribute("className", "StandardTextBox");
        field.setAttribute("class", "StandardTextBox");
    }
}


function setStandardPassClass(field) {
    if (field.className != "StandardTextBox") {
        field.style.display = 'none';
        document.getElementById('txtPassword').style.display = 'inline';
        document.getElementById('txtPassword').focus();
    }
}
