add: self._loaded = false; self._pendingTabSwitch = null; MochiKit.DOM.addLoadEvent(function() { self.node.style.opacity = ""; self._loaded = true; if(self._pendingTabSwitch) { /* switch to the tab that was most recently clicked while we were busy loading */ self.tabClicked(self._pendingTabSwitch); } }); 
context:     function __init__(self, node) {        var name = node.getAttribute("name");        self._tabPrefix = "taglibrary-tabbedpane-" + name + "-tabname-";        self._pagePrefix = "taglibrary-tabbedpane-" + name + "-tabdata-";        self._selectedClassName = "selected";        self._elements = {};        Nevow.TagLibrary.TabbedPane.upcall(self, "__init__", node);    },
meta: 1565	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1565/651c05f9bf381121879cc3b7557f501ba2b7b203/tabbedPane.js/clean/nevow/taglibrary/tabbedPane.js