// JavaScript Document

function hideSubMenu( curSubMenu) {
	if ( curSubMenu == 'all') { document.getElementById('onsubMenuOutBg').style.visibility = 'hidden';}
	if ( curSubMenu != 'strength') { document.getElementById('subMenuStrength').style.visibility = 'hidden';}
	if ( curSubMenu != 'knowhow') { document.getElementById('subMenuKnowHow').style.visibility = 'hidden';}
	if ( curSubMenu != 'experts') { document.getElementById('subMenuExperts').style.visibility = 'hidden';}
	if ( curSubMenu != 'challenges') { document.getElementById('subMenuChallenges').style.visibility = 'hidden';}
}

function showSubMenu( curSubMenu) {
  hideSubMenu( curSubMenu);
  if ( curSubMenu == 'strength') { document.getElementById('subMenuStrength').style.visibility = 'visible';}
	if ( curSubMenu == 'knowhow') { document.getElementById('subMenuKnowHow').style.visibility = 'visible';}
	if ( curSubMenu == 'experts') { document.getElementById('subMenuExperts').style.visibility = 'visible';}
	if ( curSubMenu == 'challenges') { document.getElementById('subMenuChallenges').style.visibility = 'visible';}
	document.getElementById('onsubMenuOutBg').style.visibility = 'visible';
}
