 var headers = parse.getElements('h1'); var anchors = parse.getElements('h2[id]');  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); } });  });  }, 
var headers = parse.getElements('h1'); var anchors = parse.getElements('h2[id]');  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); } }); }); }, 
	methods: function(parse, wrapper) {				var headers = parse.getElements('h1');		var anchors = parse.getElements('h2[id]');				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/bc740cadb1a3e0cfcab41f3c23ce23ddd071cd6a/docs.js/buggy/Docs/assets/docs.js