rem: function getUserlistContext(cx) 
add: function getUserlistContext(cx) 
context: function getUserlistContext(cx) {    cx = getObjectDetails(client.currentObject, cx);    if (!cx.channel)        return cx;        cx.userList = new Array();    cx.nicknameList = new Array();        var tree = document.getElementById("user-list");    var rangeCount = tree.view.selection.getRangeCount();        for (var i = 0; i < rangeCount; ++i)    {        var start = {}, end = {};        tree.view.selection.getRangeAt(i, start, end);                // If they == -1, we've got no selection, so bail.        if ((start.value == -1) && (end.value == -1))            return cx;                for (var k = start.value; k <= end.value; ++k)        {            var item = tree.contentView.getItemAtIndex(k);            var cell = item.firstChild.firstChild;            var user = cx.channel.getUser(cell.getAttribute("label"));            if (user)            {                cx.userList.push(user);                cx.nicknameList.push(user.nick);                if (i == 0 && k == start.value)                {                    cx.user = user;                    cx.nickname = user.properNick;                }            }        }    }        return cx;}
meta: 3298	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3298/703717eb72f3378c625c0fefe679e646d1c5b0ff/static.js/buggy/xul/content/static.js