rem: if (!target && realm ) target = cookie_read( realm ); 
add: if (!target && realm ) { if ( document.location.hash.length > 0 ) target = document.location.hash.replace('#',''); else target = cookie_read( realm ); } 
context: function switch_tab( target ) {  if ( tabs.length == 0 ) find_tabs();  var realm = tab_realm();  if ( target && realm )    cookie_write( realm, target );  if (!target && realm )     target = cookie_read( realm );  if ( target == 'all' )    return show_all_tabs();  if (!target || tabs.indexOf(target) == -1 )    target = tabs[0];  for( var i = 0; i < tabs.length; i++) {    $( 'tab-' + tabs[i] ).setAttribute('class','tab inactive');    Element.hide( 'content-' + tabs[i] );  }  $( 'tab-' + target ).setAttribute('class','tab active');  Element.show( 'content-' + target );}
meta: 8040	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8040/919a622e28249604f111f61740482339e6b6c7b7/application.js/clean/rails/public/javascripts/application.js