function expandNode(ourelement) {
		for(i=0; i < ourelement.parentNode.childNodes.length; i++) {
		if(ourelement.parentNode.childNodes[i].className == 'infopanel' || ourelement.parentNode.childNodes[i].className == 'infopanelshow') {
		expand = ourelement.parentNode.childNodes[i];
		}
		}
		if(expand.className == 'infopanel') 
		expand.className = 'infopanelshow';
		else 
		expand.className = 'infopanel';
		}
		
		function showMinor() {
		document.getElementById('minor').className = 'matrixtable';
		document.getElementById('major').className = 'matrixtablehide';
		}
		
		function showMajor() {
		document.getElementById('minor').className = 'matrixtablehide';
		document.getElementById('major').className = 'matrixtable';
		}	
    
