 		else if typeof tab is "string"
 			obj = @getTab(tab)
 		if obj
+
 			if @get("currentTab") is obj
 
 				tabDom = obj._dom;

	getTabBarDom: ()->
		@_doms ?= {}
		unless @_doms.tabBar
			dom = @_doms.tabBar = $.xCreate({
				tagName: "nav"
				class: "tab-bar"
			})
			@_dom.appendChild(dom)
		return @_doms.tabBar

	getTabsContainer: ()->
		@_doms ?= {}
		unless @_doms.tabs
			dom = @_doms.tabs = $.xCreate({
				tagName: "tabs"
				class: "tabs"
			})
			@getTabBarDom().appendChild(dom)
		return @_doms.tabs

	getContentsContainer: ()->

			unless contentContainer
				contentContainer = @_getTabContentDom(obj)
			obj.remove()
			$(contentContainer).remove()
		@refreshNavButtons()
		return true

