rem: function showTabById(tabid) { 
add: function showTabById(tabid, noEval) { 
context: function showTabById(tabid) { // {{{  var divs = document.getElementsByTagName('div');  var tab = document.getElementById(tabid);  var submenu = document.getElementById('submenu');  var i;  var el = document.getElementById(tabid + "taba");  if (el) {    eval(el.getAttribute('onmousedown'));  }  for (i=0; i<divs.length; i++) {    if (divs[i].className && (divs[i].className.indexOf('tab') > -1)) {      divs[i].style.display = 'none';    }  }  if (tab) {    tab.style.display = 'block';    if (submenu) {      var links = submenu.getElementsByTagName('a');      for (i=0; i<links.length; i++) {        if (links[i].href.match('^.*#'+tabid+'$')) {          links[i].className = 'active';        } else { links[i].className = ''; }      }    }  }  //if (window.scrollTo(0,0)) {  //    window.scrollTo(0,0);  //}} // }}}
meta: 6601	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6601/c00fac7e13974691dc0fba9998e5fa91f8b3659a/tabs.js/buggy/javascript/tabs.js