// functions to hide/show second levels

// hide given element
function MM_HideSecondLevel(id){
	document.getElementById(id).style.visibility = 'hidden';
}

// show second level by id
function MM_ShowSecondLevel(id){
   document.getElementById("level2").style.visibility = 'visible';
   document.getElementById("subNav"+id).style.visibility = 'visible';
}

// hover item by id
function MM_HoverItem(id){
	if(id.className != "bg_navigation_active_initial")
		id.className = "bg_navigation_active"
}

// dishover item by id
function MM_DisHoverItem(id){
	if(id.className != "bg_navigation_active_initial")
		id.className = ""
}
