rem: document.getElementById ("channel-name").firstChild.data = chan; document.getElementById ("channel-limit").firstChild.data = l; document.getElementById ("channel-key").firstChild.data = k; document.getElementById ("channel-mode").firstChild.data = mode; document.getElementById ("channel-users").firstChild.data = users; document.getElementById ("channel-topic").firstChild.data = topic; document.getElementById ("channel-topicby").firstChild.data = topicBy; 
add: client.statusBar["channel-name"].setAttribute("value", chan); client.statusBar["channel-limit"].setAttribute("value", l); client.statusBar["channel-key"].setAttribute("value", k); client.statusBar["channel-mode"].setAttribute("value", mode); client.statusBar["channel-users"].setAttribute("value", users); client.statusBar["channel-topic"].setAttribute("value", topic); client.statusBar["channel-topicby"].setAttribute("value", topicBy); 
context: function updateChannel (obj){    if (obj && obj != client.currentObject)        return;        var o = new Object();    getObjectDetails (client.currentObject, o);    var chan = "(none)", l = "(none)", k = "(none)", mode = "(none)",        users = 0, topicBy = "(nobody)", topic = "(unknown)";    if (o.channel)    {        chan = o.channel.name;        l = (o.channel.mode.limit != -1) ? o.channel.mode.limit : "(none)";        k = o.channel.mode.key ? o.channel.mode.key : "(none)";        mode = o.channel.mode.getModeStr();        if (!mode)            mode = "(none)";        users = o.channel.getUsersLength();        topic = o.channel.topic ? o.channel.topic : "(none)";        topicBy = o.channel.topicBy ? o.channel.topicBy : "(nobody)";    }        document.getElementById ("channel-name").firstChild.data = chan;    document.getElementById ("channel-limit").firstChild.data = l;    document.getElementById ("channel-key").firstChild.data = k;    document.getElementById ("channel-mode").firstChild.data = mode;    document.getElementById ("channel-users").firstChild.data = users;    document.getElementById ("channel-topic").firstChild.data = topic;    document.getElementById ("channel-topicby").firstChild.data = topicBy;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/bc4c96a140926ec86fe50356080fff32b2697cd5/static.js/buggy/extensions/irc/xul/content/static.js