
if (typeof(onLoadFuncs) == 'undefined') onLoadFuncs = [];
onLoadFuncs[onLoadFuncs.length] = function()
{
    var pwdInput = ttGI('js-password');
    if (pwdInput) 
    {
        pwdInput.onfocus = function() {
            this.style.background = '#FFF';            
        };
        pwdInput.onkeyup = function(ev) {
            var e = ev || window.event;
            var code = e.charCode | e.keyCode;
            if (code == 13) {
                document.forms['loginform'].submit();            
            }
            return true;
        }
    }
};