

function chClass (paragraph, action) {
	if (action == "show") {
		document.getElementById(paragraph).style.textDecoration = 'underline';
		document.getElementById(paragraph + '_text').style.textDecoration = 'underline';
	} else {
		document.getElementById(paragraph).style.textDecoration = 'none';
		document.getElementById(paragraph + '_text').style.textDecoration = 'none';
	}
}

function showSub (identifier, action, hover) {
		
	document.getElementById('submenu'+identifier).style.display = action;
	
	if (hover == '') {
		document.getElementById('button'+identifier).className = oldClass;
	} else {
		oldClass = document.getElementById('button'+identifier).className;
		document.getElementById('button'+identifier).className = "menuButton" + hover;
	}
	
}