rem: var panel = dom.getBrowserAtIndex( dom.mTabContainer.selectedIndex); 
add:      var panel = dom.getBrowserForTab(dom.mTabContainer.selectedItem); 
context: function init(_dom, onlyHostsConversations) {    dom = _dom;    dom.mPanelContainer.addEventListener(        'select', function(event) {            var panel = dom.getBrowserAtIndex(                dom.mTabContainer.selectedIndex);            if(panel.contentDocument.location.href == 'about:blank')                return;            if(isConversation(panel))                focused(panel.getAttribute('account'),                        panel.getAttribute('address'));        }, false);    if(onlyHostsConversations) {        dom.mPrefs = proxy.create(dom.mPrefs, {            getBoolPref: function(originalTarget, prefName) {                if(prefName == 'browser.tabs.autoHide')                    return false;                else                    return originalTarget(prefName);            }        });                dom.setStripVisibilityTo(true);        dom.setAttribute('handleCtrlPageUpDown', 'false');        var tabbox = dom.ownerDocument.getAnonymousElementByAttribute(dom, 'anonid', 'tabbox') ||            // firefox 1.5...            dom.ownerDocument.getAnonymousNodes(dom)[1];        tabbox.setAttribute('handleCtrlTab', false);    }}
meta: 1705	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1705/f4bfbd30aa82e00c77c509d5796300ac4f7e9dd3/conversations.js/buggy/chrome/content/facades/conversations.js