
var maxTab = 7;

function initTab (ID) {
	if (document.all) {
		for (i = 1; i <= maxTab ; i++) {
			if (ID != i) {
			tabID = "tab" + i;
			document.all(tabID).style.display = document.all(tabID).style.display=='none'?'':'none';
			}
		}
	}
}

function toggleTab (ID) {
	if (document.all) {
		tabID = "tab" + ID;
		document.all(tabID).style.display = document.all(tabID).style.display=='none'?'':'none';
	}
}
