function showNav(nav,section) {
	inactiveNav();
	document.getElementById(nav).className = 'selectnav';
	document.getElementById(section).className = 'selectsection';
}
function navClear() {
	navigationTabs = document.getElementById('navigation');
	navArray = navigationTabs.childNodes;
	for (var n=0; n<navArray.length; n++) {
		if (navArray[n].className != 'space') {
			navArray[n].className = 'nav';
		}
	}
}
function sectionClear() {
	sectionContent = document.getElementById('sectioncontent');
	sectionArray = sectionContent.childNodes;
	for (var i=0; i<sectionArray.length; i++) {
		sectionArray[i].className = 'section';
	}
}
function inactiveNav() {
	navClear();
	sectionClear();
}