rem: tstring = getMsg("updateTitleUser", [nick, source]);  client.statusBar["channel-topic"].firstChild.data = tstring; 
add: tstring = getMsg(MSG_TITLE_USER, [nick, source]); nick = "me" in o.parent ? o.parent.me.properNick : MSG_TITLE_NONICK; 
context: function updateTitle (obj){    if (!("currentObject" in client) || (obj && obj != client.currentObject))        return;    var tstring;    var o = getObjectDetails (client.currentObject);    var net = "network" in o ? o.network.name : "";    var nick = "";        switch (client.currentObject.TYPE)    {        case "IRCNetwork":            var serv = "", port = "";            if ("server" in o)            {                serv = o.server.connection.host;                port = o.server.connection.port;                if (o.server.me)                    nick = o.server.me.properNick;                tstring = getMsg("updateTitleNetwork", [nick, net, serv, port]);            }            else            {                nick = client.currentObject.INITIAL_NICK;                tstring = getMsg("updateTitleNetwork2", [nick, net]);            }            break;                    case "IRCChannel":            var chan = "", mode = "", topic = "";            nick = "me" in o.parent ? o.parent.me.properNick :                 getMsg ("updateTitleNoNick");            chan = o.channel.unicodeName;            mode = o.channel.mode.getModeStr();            if (!mode)                mode = getMsg("updateTitleNoMode");            topic = o.channel.topic ? o.channel.topic :                                       getMsg("updateTitleNoTopic");            tstring = getMsg("updateTitleChannel", [nick, chan, mode, topic]);            break;        case "IRCUser":            nick = client.currentObject.properNick;            var source = "";            if (client.currentObject.name)            {                source = client.currentObject.name + "@" +                    client.currentObject.host;            }            tstring = getMsg("updateTitleUser", [nick, source]);            //client.statusBar["channel-topic"].setAttribute("value", tstring);            client.statusBar["channel-topic"].firstChild.data = tstring;            break;        default:            tstring = getMsg("updateTitleUnknown");            break;    }    if (!client.uiState["tabstrip"])    {        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 = getMsg("updateTitleWithActivity",                              [tstring, actl.join (MSG_CSP)]);    }    document.title = tstring;}
meta: 1622	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1622/3df45f52a2f3a304b5c3c14817a3c2c3cbfc6921/static.js/buggy/xul/content/static.js