/*
navFunctions.js
last modified 11/28/06
created by Darren Smith

this page highlights the navigation elements related to the current page
providing a clue to the user which section of the site they are in.
the vars strSection and strPage are set when calling the pagewrapper
*/
switch(strSection){
	case "home":
		document.getElementById("homeNav").style.color = "#930";
		break;
	case "facility":
		document.getElementById("facilityNav").style.color = "#930";
		break;
	case "training":
		document.getElementById("trainingNav").style.color = "#930";
		break;
	case "resources":
		document.getElementById("resourcesNav").style.color = "#930";
		break;
	case "contact":
		document.getElementById("contactNav").style.color = "#930";
		break;
}
switch(strPage){
	case "facility_clay":
		document.getElementById("facility_claySubNav").style.color = "#930";
		break;
	case "facility_static":
		document.getElementById("facility_staticSubNav").style.color = "#930";
		break;
	case "facility_scenario":
		document.getElementById("facility_scenarioSubNav").style.color = "#930";
		break;
	case "facility_dojo":
		document.getElementById("facility_dojoSubNav").style.color = "#930";
		break;
	case "facility_shop":
		document.getElementById("facility_shopSubNav").style.color = "#930";
		break;
	case "training_courses":
		document.getElementById("training_coursesSubNav").style.color = "#930";
		break;
	case "training_calendar":
		document.getElementById("training_calendarSubNav").style.color = "#930";
		break;
	case "training_feedback":
		document.getElementById("training_feedbackSubNav").style.color = "#930";
		break;
	case "training_custom":
		document.getElementById("training_offisteSubNav").style.color = "#930";
		break;
	case "training_instructors":
		document.getElementById("training_instructorsSubNav").style.color = "#930";
		break;
	case "training_certified_instructors":
		document.getElementById("training_certified_instructorsSubNav").style.color = "#930";
		break;
	case "resources_media":
		document.getElementById("resources_mediaSubNav").style.color = "#930";
		break;
	case "resources_articles":
		document.getElementById("resources_articlesSubNav").style.color = "#930";
		break;
	case "resources_affiliates":
		document.getElementById("resources_affiliatesSubNav").style.color = "#930";
		break;
}