switch tabs using js

Can be called like this :
$('<tabs div selector>').tabcontrol('show', <the tab's anchor href>);

Mainly useful when based on the page's location hash:
$('<tabs div selector>').tabcontrol('show', location.hash]);