//
//		nashobaplacement Page Scripts 
//

function TopNavMO (id, img) {
	var navbtn = document.getElementById(id);
	var imgpath = '/images/';
	if (img=='MOut')
		{
			navbtn.style.background = 'transparent';
		}
	else
		{
			navbtn.style.background = 'URL(' + imgpath + img + ')';
		}
}
function showInfo (category) {
	if (document.getElementById('payroll_outsourcing_info').style.display=='inline' && category!='payroll_outsourcing')
		{
			document.getElementById('payroll_outsourcing_info').style.display = 'none';
			document.getElementById('payroll_outsourcing').style.color = '#350000';
		}
	if (document.getElementById('staffing_solutions_info').style.display=='inline' && category!='staffing_solutions')
		{
			document.getElementById('staffing_solutions_info').style.display = 'none';
			document.getElementById('staffing_solutions').style.color = '#350000';
		}
	if (document.getElementById('comprehensive_screening_info').style.display=='inline' && category!='comprehensive_screening')
		{
			document.getElementById('comprehensive_screening_info').style.display = 'none';
			document.getElementById('comprehensive_screening').style.color = '#350000';
		}
	if (document.getElementById('quick_turnaround_info').style.display=='inline' && category!='quick_turnaround')
		{
			document.getElementById('quick_turnaround_info').style.display = 'none';
			document.getElementById('quick_turnaround').style.color = '#350000';
		}
	if (document.getElementById('onsite_interview_info').style.display=='inline' && category!='onsite_interview')
		{
			document.getElementById('onsite_interview_info').style.display = 'none';
			document.getElementById('onsite_interview').style.color = '#350000';
		}
	var categoryToShow = document.getElementById(category + '_info');
	categoryToShow.style.display = 'inline';
	document.getElementById(category).style.color = '#246da2';
}