rem: anchor.addEvent('click', function(e) { e.stop(); var lnk = $(anchor.href.split('#')[1]); Docs.scrolling.toElement(lnk); }); }); 
add: anchor.addEvent('click', function(e) { e.stop(); var lnk = $(anchor.href.split('#')[1]); Docs.scrolling.toElement(lnk); }); }); 
context:     $$('#submenu a').each(function(anchor) {      anchor.addEvent('click', function(e) {        e.stop();        var lnk = $(anchor.href.split('#')[1]);        Docs.scrolling.toElement(lnk);      });    });
meta: 5409	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5409/bb7ba4f85620c5ad07e48227c0a1b87153a9c92a/docs.js/clean/Docs/assets/docs.js