| Sample: dhtmlxTabbar | Tabbar API usage | dhtmlxTabbar main page |

    <div id="a_tabbar" style="width:400;height:100"></div>
    <script>
                tabbar=new dhtmlXTabBar("a_tabbar","top");
                tabbar.setImagePath("imgs/");

                tabbar.loadXML("tabs1.xml");
                ...
                tabbar.goToPrevTab();         // navigate to the previous tab
                tabbar.goToNextTab();         // navigate to the next tab
                var id=tabbar.getActiveTab();     // returns id of currently active tab
                tabbar.setLabel('new');         // set label of tab</script>