function show(b){count=0;for(var a in methods){var c=document.getElementById(a);if((methods[a]&b)!=0){c.style.display="";c.className=(count++%2)?rowColor:altColor}else{c.style.display="none"}}updateTabs(b)}function updateTabs(c){for(var d in tabs){var a=document.getElementById(tabs[d][0]);var b=a.firstChild;if(d==c){a.className=activeTableTab;b.innerHTML=tabs[d][1]}else{a.className=tableTab;b.innerHTML='<a href="javascript:show('+d+');">'+tabs[d][1]+"</a>"}}};