function swapTab(which,tab,numtabs) {
	for (i = 1; i <= numtabs; i++) {
		if (tab == i) {
			document.getElementById(which + i).style.display = "block";
			document.getElementById(which + "Tab" + i).className = "tab-on";
		} else {
			document.getElementById(which + i).style.display = "none";
			document.getElementById(which + "Tab" + i).className = " ";
		}
	}
}
