add:  window.onkeypress = onWindowKeyPress; 
context: function initStatic(){    var obj;        obj = document.getElementById("input");    obj.onkeyup = onInputKeyUp;    obj = document.getElementById("tb[*client*]");        client.quickList = new CListBox(document.getElementById("quickList"));    var saveDir = client.PRINT_DIRECTION;    client.PRINT_DIRECTION = 1;    client.display ("Welcome to ChatZilla...\n" +                    "Use /attach <network-name> connect to a network.\n" +                    "Where <network-name> is one of [" +                    keys (client.networks) + "]\n" +                    "More help is available with /help [<command-name>]",                    "HELLO");    client.PRINT_DIRECTION = saveDir;        setCurrentObject (client);    }
meta: 1567	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1567/8bda0786a9a5676c6ecb589844ce6211de647cf7/test3-static.js/buggy/xul/tests/test3-static.js