var lnk = '<a href="' + Docs.anchorsPath + '#' + header.id+ '">' + head + '</a>'; new Element('li').set('html', lnk).inject(group); var subgroup = new Element('ul', {'class': 'subgroup'}).inject(group); 
var lnk = '<a href="' + Docs.anchorsPath + '#' + header.id+ '">' + head + '</a>'; new Element('li').set('html', lnk).inject(group); var subgroup = new Element('ul', {'class': 'subgroup'}).inject(group); 
    headers.each(function(header, i) {      var group = new Element('ul').inject(wrapper);      var head = header.get('text').split(':');      head = (head.length == 1) ? head[0] : head[1];      var section = header.id.split(':')[0];      var lnk = '<a href="' + Docs.anchorsPath + '#' + header.id+ '">' + head + '</a>';      new Element('li').set('html', lnk).inject(group);      var subgroup = new Element('ul', {'class': 'subgroup'}).inject(group);      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);        }      });    });
9494	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9494/bb7ba4f85620c5ad07e48227c0a1b87153a9c92a/docs.js/clean/Docs/assets/docs.js