<link rel="STYLESHEET" type="text/css" href="../../codebase/dhtmlxtabbar.css">
<script src="../../codebase/dhtmlxcommon.js"></script>
<script src="../../codebase/dhtmlxtabbar.js"></script>
<script src="../../codebase/dhtmlxcontainer.js"></script>
<div id="a_tabbar" style="width:395px; height:390px;"/>
<script>tabbar = new dhtmlXTabBar("a_tabbar", "top");
tabbar.setSkin('dhx_skyblue');
tabbar.setImagePath("../../codebase/imgs/");
tabbar.addTab("a1", "Tab 1-1", "100px");
tabbar.addTab("a2", "Tab 1-2", "100px");
tabbar.setTabActive("a1");
var tabbar2 = tabbar.cells("a1").attachTabbar();
tabbar2.setImagePath("../../codebase/imgs/");
tabbar2.addTab("a1", "Tab 2-1", "100px");
tabbar2.addTab("a2", "Tab 2-2", "100px");
tabbar2.setTabActive("a2");
</script>