rem: setCurrentObject (client);  
add: client.dispatch("set-current-view", { view: client });  
context: function init(){    if (("initialized" in client) && client.initialized)        return;        client.initialized = false;    client.networks = new Object();    client.eventPump = new CEventPump (200);    if (DEBUG)    {        /* hook all events EXCEPT server.poll and *.event-end types         * (the 4th param inverts the match) */        client.debugHook =             client.eventPump.addHook([{type: "poll", set:/^(server|dcc-chat)$/},                                    {type: "event-end"}], event_tracer,                                    "event-tracer", true /* negate */,                                    false /* disable */);    }        initRDF();    initMessages();    initCommands();    initPrefs();    initMunger();    initNetworks();    initMenus();    initStatic();    initHandlers();        // Create DCC handler.    client.dcc = new CIRCDCC(client);    // start logging.  nothing should call display() before this point.    if (client.prefs["log"])       client.openLogFile(client);     client.display(MSG_WELCOME, "HELLO");    setCurrentObject (client);       importFromFrame("updateHeader");    importFromFrame("setHeaderState");    importFromFrame("changeCSS");    processStartupScripts();    client.commandManager.installKeys(document);    createMenus();    client.initialized = true;    dispatch("networks");    dispatch("commands");        processStartupURLs();}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/4cd3ec76af2e3a9922c2d114bf4267b40b388ac2/static.js/clean/extensions/irc/xul/content/static.js