function highlightSubNav(thisDiv){
	document.getElementById(thisDiv).className = "sidenav-section-active"
}
function highlightSubSubNav(thisDiv){
	document.getElementById(thisDiv).className = "subnav-active"
}





function rollOverBlockHeader(thisDiv){
	if (thisDiv.className != "home-block-header-active"){
		thisDiv.className = "home-block-header-over"
	}
}
function rollOffBlockHeader(thisDiv){
	if (thisDiv.className != "home-block-header-active"){
		thisDiv.className = "home-block-header"
	}
}



activeLeftSide = 'blockA'
activeRightSide = 'blockE'
function ShowOrHideLayer(thisLayer,thisDiv,side){
	if (side == 'left'){	
		lastBlock = activeLeftSide
		activeLeftSide = thisLayer
	} else {			
		lastBlock = activeRightSide
		activeRightSide = thisLayer
	}
	
	if (document.getElementById(thisLayer).style.display == "none"){
		makeVisible(thisLayer);
		thisDiv.className = "home-block-header-active"	
		if (activeRightSide != lastBlock && activeLeftSide != lastBlock){
			document.getElementById(lastBlock + "-header").className = "home-block-header"	
			makeInvisible(lastBlock)
		}
		
	} else {
		makeInvisible(thisLayer)
		thisDiv.className = "home-block-header"	
	}
	
}
function makeVisible(thisLayer){
	document.getElementById(thisLayer).style.display = "block";
}
function makeInvisible(thisLayer){
	document.getElementById(thisLayer).style.display = "none";
}


