(function( $, undefined ) {

var tabId = 0,
    rhash = /#.*$/;