To get the current tab you can do:
domWindow.gBrowser.selectedTab
To get the set of all tabs you can use:
domWindow.gBrowser.tabContainer
In here you can use tabs methods to select a specific index, etc. You can see more information in tabbrowser - XUL, Tabbed browser - Code Snippets and