context: function getMessagesContext(cx, element){    cx = getObjectDetails(client.currentObject, cx);    if (!element)        element = document.popupNode;    while (element)    {        switch (element.localName)        {            case "a":                var href = element.getAttribute("href");                cx.url = href;                break;                            case "td":                var nickname = element.getAttribute("msg-user");                if (!nickname)                    break;                                // strip out  a potential ME! suffix                var ary = nickname.match(/(\S+)/);                nickname = ary[1];                                if (!cx.network || !(nickname in cx.network.users))                    break;                                if (cx.channel)                    cx.user = cx.channel.getUser(nickname);                else                    cx.user = cx.network.getUser(nickname);                if (cx.user)                {                    cx.nickname = cx.user.properNick;                    cx.canonNick = cx.user.nick;                }                break;        }        element = element.parentNode;    }    return cx;}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/7e998d1a2e81d56757ccb1d104bf94e8be456a0d/static.js/buggy/extensions/irc/xul/content/static.js