rem: client.currentObject = null; setCurrentObject (client.viewsArray[i].source); 
add: oldView = client.viewsArray[i].source 
context: function cmdHideView(e){    if (!e.view)        e.view = e.sourceObject;    var tb = getTabForObject(e.view);        if (tb)    {        var i = deleteTab (tb);        if (i != -1)        {            client.deck.removeChild(e.view.frame);            delete e.view.frame;            if (client.currentObject == e.view)            {                if (i >= client.viewsArray.length)                    i = client.viewsArray.length - 1;                client.currentObject = null;                setCurrentObject (client.viewsArray[i].source);            }        }    }}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/e111ac800c4ac2ca8621437e8ae7b3c14a4488b5/commands.js/clean/extensions/irc/xul/content/commands.js