rem: var sep = anchor.id.match(':'); var subSection = anchor.id.split(':')[0]; if (section == subSection || (!i && !sep)) { var method = anchor.get('text').replace(section, ''); lnk = '<a href="' + Docs.anchorsPath + '#' + anchor.id + '">' + method + '</a>'; new Element('li').set('html', lnk).inject(subgroup); } }); 
add: var sep = anchor.id.match(':'); var subSection = anchor.id.split(':')[0]; if (section == subSection || (!i && !sep)) { var method = anchor.get('text').replace(section, ''); lnk = '<a href="' + Docs.anchorsPath + '#' + anchor.id + '">' + method + '</a>'; new Element('li').set('html', lnk).inject(subgroup); } }); 
context:       anchors.each(function(anchor) {        var sep = anchor.id.match(':');        var subSection = anchor.id.split(':')[0];        if (section == subSection || (!i && !sep)) {          var method = anchor.get('text').replace(section, '');          lnk = '<a href="' + Docs.anchorsPath + '#' + anchor.id + '">' + method + '</a>';          new Element('li').set('html', lnk).inject(subgroup);        }      });
meta: 5237	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5237/bb7ba4f85620c5ad07e48227c0a1b87153a9c92a/docs.js/clean/Docs/assets/docs.js