var oldstyle;
var x = 0;
var navRoot = document.getElementById('ultreelist');
function startList(navRoot) {
	if (document.all&&document.getElementById) {
		var i=0;
		for (i=0; i<navRoot.childNodes.length; i++) {
			var node = navRoot.childNodes[i];
			if (node.nodeName=='LI') {
				node.onmouseover=function() {
					this.className+=' over';
  				}
  				node.onmouseout=function() {
  					this.className=this.className.replace(' over', '');
   				}
   				for (k=0; k<node.childNodes.length; k++) {
   					if(node.childNodes[k].nodeName=='UL'){
   						startList(node.childNodes[k]);
   					}
   				}
   			}
  		}
 	}
}
startList(navRoot);
