rem:  client.PRINT_DIRECTION = saveDir; 
context: function initStatic(){    var obj;        obj = document.getElementById("input");    obj.addEventListener("keyup", onInputKeyUp, false);        //obj = document.getElementById("tb[*client*]");    /*    client.quickList = new CListBox(document.getElementById("quickList"));    client.quickList.selectedItemCallback = quicklistCallback;    */    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");    setCurrentObject (client);    client.onInputCommands();        client.PRINT_DIRECTION = saveDir;    if (!jsenv.HAS_XPCOM)        client.display ("ChatZilla was not given access to the XPConnect " +                        "service.  You will not be able to connect to an " +                        "irc server.  A workaround may be to set the " +                        "'security.checkxpconnect' pref to false in " +                        "all.js, or your user prefs.",                        "ERROR");    window.onkeypress = onWindowKeyPress;    setMenuCheck ("menu-dmessages",                   client.eventPump.getHook ("event-tracer").enabled);    setMenuCheck ("menu-munger", client.munger.enabled);    setMenuCheck ("menu-viewicons", client.ICONS_IN_TOOLBAR);    client.uiState["toolbar"] =        setMenuCheck ("menu-view-toolbar", isVisible("views-tbox"));    client.uiState["info"] =        setMenuCheck ("menu-view-info", isVisible("user-list"));    client.uiState["status"] =        setMenuCheck ("menu-view-status", isVisible("status-bar-tbox"));    onSortCol ("usercol-nick");    if (document.location.search)        gotoIRCURL (document.location.search.substr(1));    }
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/bc4c96a140926ec86fe50356080fff32b2697cd5/static.js/clean/extensions/irc/xul/content/static.js