﻿// set initial active tab
var activeTab = 1;

function openTab(tabId) {
	// reset old tab and content
	document.getElementById("tabLink"+activeTab).className = "tabLink";
	document.getElementById("tabContent"+activeTab).className = "tabContent";
	// set new tab and content
	document.getElementById("tabLink"+tabId).className = "tabLinkActive";
	document.getElementById("tabContent"+tabId).className = "tabContentActive";
	activeTab = tabId;
}
