add: if (index == 0 && this.tabs.firstChild) this.tabs.firstChild.setAttribute("first-tab", "true"); 
context: function s2v_removeindex (index){    var sourceTab = this.sourceTabList[index];    if (this.highlightTab == sourceTab)        this.unmarkHighlight();    sourceTab.tab = null;    sourceTab.iframe = null;    sourceTab.content = null;    sourceTab.stopNode = null;    arrayRemoveAt (this.sourceTabList, index);    if (this.tabs)    {        var lastIndex = this.tabs.selectedIndex;                this.tabs.removeItemAt(index);        this.deck.removeChild(this.deck.childNodes[index]);        if (lastIndex >= this.sourceTabList.length)            lastIndex = this.sourceTabList.length - 1;        if (lastIndex >= 0)            this.showTab(lastIndex);    }    else if (this.lastSelectedTab > this.sourceTabList.length)    {        this.lastSelectedTab = this.sourceTabList.length;    }        if (this.sourceTabList.length == 0)        this.clearOutputDeck();}
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