rem: document.getElementById ("net-name").firstChild.data = net; document.getElementById ("server-name").firstChild.data = serv; document.getElementById ("server-nick").firstChild.data = nick; document.getElementById ("server-lag").firstChild.data = lag; document.getElementById ("last-ping").firstChild.data = ping; 
add: client.statusBar["net-name"].setAttribute("value", net); client.statusBar["server-name"].setAttribute("value", serv); client.statusBar["server-nick"].setAttribute("value", nick); client.statusBar["server-lag"].setAttribute("value", lag); client.statusBar["last-ping"].setAttribute("value", ping); 
context: function updateNetwork(obj){    var o = new Object();    getObjectDetails (client.currentObject, o);    if (obj && obj != o.network)        return;        var net = o.network ? o.network.name : "(none)";    var serv = "(none)", nick = "(unknown)", lag = "(unknown)",        ping = "(never)";    if (o.server)    {        serv  = o.server.connection.host;        if (o.server.me)            nick = o.server.me.properNick;        lag = (o.server.lag != -1) ? o.server.lag : "(unknown)";                if (o.server.lastPing)        {            var mins = String(o.server.lastPing.getMinutes());            if (mins.length == 1)                mins = "0" + mins;            ping = o.server.lastPing.getHours() + ":" + mins;        }        else            ping = "(never)";    }    document.getElementById ("net-name").firstChild.data = net;    document.getElementById ("server-name").firstChild.data = serv;    document.getElementById ("server-nick").firstChild.data = nick;    document.getElementById ("server-lag").firstChild.data = lag;    document.getElementById ("last-ping").firstChild.data = ping;}
meta: 3298	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3298/87454637ff427e3bf2d900ae40e3e3171df47df7/static.js/clean/xul/content/static.js