rem: if( outer instanceof HTMLSpanElement && $( outer.id.replace('tab-', 'content-') ) ) { 
add: if( outer.nodeName.toLowerCase() == "span" && $( outer.id.replace('tab-', 'content-') ) ) { 
context: function find_tabs() {  var nodes = $('tabs').descendants();  var outer;  for( var i = 0; i < nodes.length; i++){    outer = nodes[i];    if( outer instanceof HTMLSpanElement && $( outer.id.replace('tab-', 'content-') ) ) {      tabs.push( outer.id.replace('tab-', '') );    }  }}
meta: 2782	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2782/07f1a022c9ade59182977d02bbd8d62bb8408545/application.js/clean/rails/public/javascripts/application.js