add: 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")); 
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");        client.display ("Currently implemented commands are: "  +                     client.commands.listNames().join(", ") + ".", "INFO");        client.PRINT_DIRECTION = saveDir;    setCurrentObject (client);    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);    }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/91354405298d4763adf2976f608576608a588327/static.js/clean/extensions/irc/xul/content/static.js