code: function() {
              var tabs = Dom.getChildren(this._tabParent),
                  contentElements = Dom.getChildren(this._contentParent),
                  activeIndex = this.get(ACTIVE_INDEX),
                  tab,
                  attr,
                  active;
  
              for (var i = 0, len = tabs.length; i < len; ++i) {
                  attr = {};
                  
                  if (contentElements[i]) {
                      attr.contentEl = contentElements[i];
                  }
  
                  tab = new YAHOO.widget.Tab(tabs[i], attr);
                  this.addTab(tab);
                  
                  if (tab.hasClass(tab.ACTIVE_CLASSNAME) ) {
                      active = tab;
                  }
              }
              if (activeIndex) {
                  this.set(ACTIVE_TAB, this.getTab(activeIndex));
              } else {
                  this._configs.activeTab.value = active; // dont invoke method
                  this._configs.activeIndex.value = this.getTabIndex(active);
              }
          }
docs: Creates Tab instances from a collection of HTMLElements.
  @method _initTabs
  @private
  @return void