// JavaScript Document
var currentTab = "tab1";
function switchTabs(nTab){
	oTabSwitchTo = document.getElementById(nTab);
	oTabLinkSwitchTo = document.getElementById(eval("nTab+'-link'"));
	oTabSwitchFrom = document.getElementById(currentTab);
	oTabLinkSwitchFrom = document.getElementById(eval("currentTab+'-link'"));
	oTabSwitchFrom.style.display = "none";
	oTabSwitchFrom.className = "";
	oTabLinkSwitchFrom.className = currentTab + " title";
	oTabSwitchTo.style.display = "block";
	oTabSwitchTo.className = "on";
	oTabLinkSwitchTo.className = nTab + " title on";
	currentTab = nTab;
}
