// JavaScript Document

function setTab(tabName, tabContentName, cursel, n){
	for(i = 1; i <= n; i++){
		var menu=document.getElementById(tabName + i);
		var con=document.getElementById(tabContentName + i);
		menu.className = i == cursel ? "selected" : "";
		con.style.display = i == cursel ? "block" : "none";
	}
}

