add: bloke.selected = true; 
context: function s2v_cleardeck (){    for (var i = 0; i < this.sourceTabList.length; ++i)    {        var sourceTab = this.sourceTabList[i];        sourceTab.tab = null;        sourceTab.iframe = null;        this.onSourceTabUnloaded (this.sourceTabList[i],                                  Components.results.NS_OK);    }    if (this.tabs)    {        i = this.tabs.childNodes.length;        while (i > 0)            this.tabs.removeChild(this.tabs.childNodes[--i]);        i = this.deck.childNodes.length;        while (i > 0)            this.deck.removeChild (this.deck.childNodes[--i]);        var bloke = document.createElement ("tab");        bloke.setAttribute ("id", "source2-bloke");        bloke.setAttribute ("hidden", "true");        this.tabs.appendChild (bloke);    }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/b0b8cec04bd582c27a41817979fe87561132d01d/venkman-views.js/buggy/extensions/venkman/resources/content/venkman-views.js