add: initOfflineIcon(); 
context: function init(){    if (("initialized" in client) && client.initialized)        return;    client.initialized = false;    client.networks = new Object();    client.entities = 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 */);    }    initApplicationCompatibility();    initMessages();    if (client.host == "")        showErrorDlg(getMsg(MSG_ERR_UNKNOWN_HOST, client.unknownUID));    initRDF();    initCommands();    initPrefs();    initMunger();    initNetworks();    initMenus();    initStatic();    initHandlers();    // Create DCC handler.    client.dcc = new CIRCDCC(client);    client.ident = new IdentServer(client);    // start logging.  nothing should call display() before this point.    if (client.prefs["log"])        client.openLogFile(client);    // kick-start a log-check interval to make sure we change logfiles in time:    // It will fire 2 seconds past the next full hour.    setTimeout("checkLogFiles()", 3602000 - (Number(new Date()) % 3600000));    // Make sure the userlist is on the correct side.    updateUserlistSide(client.prefs["userlistLeft"]);    client.display(MSG_WELCOME, "HELLO");    client.dispatch("set-current-view", { view: client });    importFromFrame("updateHeader");    importFromFrame("setHeaderState");    importFromFrame("changeCSS");    importFromFrame("updateMotifSettings");    importFromFrame("addUsers");    importFromFrame("updateUsers");    importFromFrame("removeUsers");    processStartupScripts();    client.commandManager.installKeys(document);    createMenus();    initIcons();    client.busy = false;    updateProgress();    client.initialized = true;    dispatch("help", { hello: true });    dispatch("networks");    initInstrumentation();    setTimeout(processStartupURLs, 0);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9421/fb26ddde9626c79549a444fc1f71322e2942ae81/static.js/buggy/extensions/irc/xul/content/static.js