var tabSet1 = ["a","b"];
var tabSet2 = ["d","e"];
		
function showTab(tabSet,tab){
	var i;
	for(i = 0; i < tabSet.length; i++) {
	var top = document.getElementById(tabSet[i] + '-tab');
	var bottom = document.getElementById(tabSet[i] + '-content');
	if(tabSet[i] == tab) 	{
		top.className = "tab-on";
		bottom.style.display = "block";
	} else {
	top.className = "tab-off";
	bottom.style.display = "none";
	}
  }
}
