
	
	makeactive = function(id){
	
	navRoot2 = document.getElementById(id).parentNode;
	for (i=0; i<navRoot2.childNodes.length; i++) {
	node2 = navRoot2.childNodes[i];

	if (node2.nodeName=="LI") {

	node2.className ="";
	}}

	
	document.getElementById(id).className = "aktiv";
	}
	
	startList = function() {
navRoot = document.getElementById("matrix");
for (i=0; i<navRoot.childNodes.length; i++) {
node = navRoot.childNodes[i];

if (node.nodeName=="LI") {
node.id=i;
node.className ="";
node.onclick=function() {
this.className ="aktiv";
  }
    
   }
  }
 }


makeSubs = function(id){

navRoot2 = document.getElementById.parentNode;
alert(navRoot2.childNodes.length);

document.getElementById(id).className = "aktiv";
}


