DHTMLXTabbar remembering last tab

is there anyway that DHTMLXTabbar will remember the last tab it was on when the page reloads?

The tabbar has not such built-in ability
It possible to attach onSelect event ( tabbar.setOnSelectHandler function ) and use some custom code in it to save current selected tab in cookies | url.

Hello there,

Has anyone achieved this yet?