Initialize TabBar object from HTML structure - enableAutoReS

When I initialize TabBar object from HTML structure, how can I get a handle on it to set other methods like enableAutoReSize()?

You can use onbeforeinit attribute in order to set function before tabbar initialization:
 
<div id=“a_tabbar”  onbeforeinit=“doBeforeInit()”  class=“dhtmlxTabBar” …>…