function switchCell(n, hash) {nc=document.getElementsByName("navcell");
if(nc){t=document.getElementsByName("tb")
for(i=0;i<nc.length;i++){
nc.item(i).className="tab-off";
t.item(i).className="hide-table";}
nc.item(n-1).className="tab-on";
t.item(n-1).className="tab-content show-table";
}else if(navcell){for(i=0;i<navcell.length;i++){navcell[i].className="tab-off";
tb[i].className="hide-table";}
navcell[n-1].className="tab-on";
tb[n-1].className="tab-content show-table";}
if(hash){document.location="#"+hash;}}
