add: if (!client.uiState["toolbar"]) { var actl = new Array(); for (var i in client.activityList) actl.push ((client.activityList[i] == "!") ? (Number(i) + 1) + "!" : (Number(i) + 1)); if (actl.length > 0) tstring += " --  Activity [" + actl.join (", ") + "]"; }  
context: function updateTitle (obj){    if (obj && obj != client.currentObject)        return;    var tstring = "";    var o = new Object();        getObjectDetails (client.currentObject, o);    var net = o.network ? o.network.name : "";    var serv = "", nick = "";    if (o.server)    {        serv  = o.server.connection.host;        if (o.server.me)            nick = o.server.me.properNick;    }    if (o.channel)    {        var chan = "(none)", mode = "", topic = "";        chan = o.channel.name;        mode = o.channel.mode.getModeStr();        topic = o.channel.topic ? o.channel.topic : "--no topic--";        if (!mode)            mode = "no mode";        tstring = chan + " (" + mode + ") " + topic;    }    else    {        if (nick)            tstring += "user '" + nick + "' ";                if (net)            if (serv)                tstring += "attached to '" + net + "' via " + serv;            else                tstring += "attaching to '" + net + "'";                if (tstring)            tstring = "ChatZilla: " + tstring;        else            tstring = "ChatZilla!";    }    document.title = tstring;}
meta: 1622	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1622/34b013589b29a686cc1a854c9e410aa3d16a70ac/static.js/clean/xul/content/static.js