var topNav = new Array();
topNav[0] = document.getElementById("home");
topNav[1] = document.getElementById("occupational");
topNav[2] = document.getElementById("worksite");
topNav[3] = document.getElementById("concern");
topNav[4] = document.getElementById("executive");
topNav[5] = document.getElementById("pavilion");
topNav[6] = document.getElementById("analytics");

topNavInfoBoxContent = new Array();
topNavInfoBoxContent["home"] = "The single focus of TriHealth Corporate Health is to help employers build a healthy, safe and productive workforce.";
topNavInfoBoxContent["occupational"] = "Decrease the cost of Workers' Compensation and healthcare premiums with SHARE onsite nursing and our seven Bethesda Care centers. We're the area's only specialists in workplace health, safety, injury prevention, exams, and industry regulations.";
topNavInfoBoxContent["worksite"] = "See remarkable return on investment, keep employees happy, and improve efficiency through our innovative and motivational wellness programs, fitness center design services, and health programming.";
topNavInfoBoxContent["concern"] = "Improve performance, reduce absenteeism, and help employees navigate life's most difficult issues with CONCERN, our managed behavioral healthcare and employee assistance program.";
topNavInfoBoxContent["executive"] = "Live your most energetic, dynamic life with our personalized program that includes advanced tests, risk analyses, and coaching on life balance, fitness, and nutrition. It's designed for executives at every level.";
topNavInfoBoxContent["pavilion"] = "Discover prevention, exercise, rehab, and health education for every fitness level at the region's only medically certified fitness center, spa, and integrative health center.";
topNavInfoBoxContent["analytics"] = "Boost your company's productivity, see return on investment, and reduce healthcare costs with custom programs we design with your needs in mind. We find solutions for any size business and any budget.";

function getContent(id)
{
	return topNavInfoBoxContent[id];
}

for(var i=0; i<topNav.length; i++)
{
	topNav[i].onmouseover = function() {
		document.getElementById("navInfoBox").innerHTML = getContent(this.id);
	}
	topNav[i].onmouseout = function() {
		document.getElementById("navInfoBox").innerHTML = "";
	}
}
