4 for (var key in methods) {
5 var row = document.getElementById(key);
6 if ((methods[key] & type) != 0) {
7 row.style.display = '';
8 row.className = (count++ % 2) ? rowColor : altColor;
11 row.style.display = 'none';
16 function updateTabs(type)
18 for (var value in tabs) {
19 var sNode = document.getElementById(tabs[value][0]);
20 var spanNode = sNode.firstChild;
22 sNode.className = activeTableTab;
23 spanNode.innerHTML = tabs[value][1];
26 sNode.className = tableTab;
27 spanNode.innerHTML = "<a href=\"javascript:show("+ value + ");\">" + tabs[value][1] + "</a>";