function hover(thistd,color){
	thistd.style.background=color;
}
function unhover(thistd,color){
	thistd.style.background=color;
		
}
function changeSubMenuDiv(sectionId,overSectionId){
	var activeParent = document.getElementById('anActiveParent');
	var activeParentY = document.getElementById('anActiveParentY');
	if(activeParent!=null){
		activeParent.style.display='none';
		activeParentY.style.display='block';
	}
 	var oldMenu = document.getElementById('subMenuDivOut').value;
 	var blockOldMenu = document.getElementById('subMenuDiv'+sectionId);
 	if(blockOldMenu!=null){
 		document.getElementById('subMenuDiv'+sectionId).style.display="none";
 	}
 	if(document.getElementById('subMenuDiv'+oldMenu)!=null){
 		document.getElementById('subMenuDiv'+oldMenu).style.display="none";
 	}
	document.getElementById('subMenuDivOut').value=overSectionId;
	document.getElementById('subMenuDiv').style.display="none";
	document.getElementById('subMenuDiv'+overSectionId).style.display="block";
 }
function exchangeSubMenuDiv(sectionId,overSectionId){
	if(sectionId!=0){
		document.getElementById('subMenuDiv'+overSectionId).style.display="none";
		document.getElementById('subMenuDiv'+sectionId).style.display="block";
	}
 }
