function switchCellh(n, hash) {
	nc=document.getElementsByName("navcelld");
	if(nc){
		t=document.getElementsByName("tbd")
		for(i=0;i<nc.length;i++){
			nc.item(i).className="off";
			t.item(i).className="hide-tableh";
		}
		nc.item(n-1).className="on";
		t.item(n-1).className="tab-conten show-tableh";
	}else if(navcelld){
		for(i=0;i<navcelld.length;i++){
			navcelld[i].className="off";
			tb[i].className="hide-tableh";
		}
		navcelld[n-1].className="on";
		tb[n-1].className="tab-conten show-tableh";
	}
	if(hash){
		document.location="#"+hash;
	}
}
 
 
function switchCellh1(n, hash) {
	nc=document.getElementsByName("navcelld1");
	if(nc){
		t=document.getElementsByName("tbd1")
		for(i=0;i<nc.length;i++){
			nc.item(i).className="off1";
			t.item(i).className="hide-tableh";
		}
		nc.item(n-1).className="on1";
		t.item(n-1).className="tab-contenth show-tableh";
	}else if(navcelld1){
		for(i=0;i<navcelld1.length;i++){
			navcelld1[i].className="off1";
			tb[i].className="hide-tableh";
		}
		navcelld1[n-1].className="on1";
		tb[n-1].className="tab-contenth show-tableh";
	}
	if(hash){
		document.location="#"+hash;
	}
}

function switchCellh2(n, hash) {
	nc=document.getElementsByName("navcelld2");
	if(nc){
		t=document.getElementsByName("tbd2")
		for(i=0;i<nc.length;i++){
			nc.item(i).className="off2";
			t.item(i).className="hide-tableh";
		}
		nc.item(n-1).className="on2";
		t.item(n-1).className="tab-contenth show-tableh";
	}else if(navcelld2){
		for(i=0;i<navcelld2.length;i++){
			navcelld2[i].className="off2";
			tb[i].className="hide-tableh";
		}
		navcelld2[n-1].className="on2";
		tb[n-1].className="tab-contenth show-tableh";
	}
	if(hash){
		document.location="#"+hash;
	}
}

function switchCellh3(n, hash) {
	nc=document.getElementsByName("navcelld3");
	if(nc){
		t=document.getElementsByName("tbd3")
		for(i=0;i<nc.length;i++){
			nc.item(i).className="off3";
			t.item(i).className="hide-tableh";
		}
		nc.item(n-1).className="on3";
		t.item(n-1).className="tab-contenth show-tableh";
	}else if(navcelld3){
		for(i=0;i<navcelld3.length;i++){
			navcelld3[i].className="off3";
			tb[i].className="hide-tableh";
		}
		navcelld3[n-1].className="on3";
		tb[n-1].className="tab-contenth show-tableh";
	}
	if(hash){
		document.location="#"+hash;
	}
}

function switchCellh4(n, hash) {
	nc=document.getElementsByName("navcelld4");
	if(nc){
		t=document.getElementsByName("tbd4")

		for(i=0;i<nc.length;i++){
			nc.item(i).className="off2";
			t.item(i).className="hide-tableh";
		}
		nc.item(n-1).className="on2";
		t.item(n-1).className="tab-contenth show-tableh";
	}else if(navcelld4){
		for(i=0;i<navcelld4.length;i++){
			navcelld4[i].className="off2";
			tb[i].className="hide-tableh";
		}
		navcelld4[n-1].className="on2";

		tb[n-1].className="tab-contenth show-tableh";
	}
	if(hash){
		document.location="#"+hash;
	}
}