function menu(obj) {
	for (i=0; i < obj.childNodes.length; i++) {
		node = obj.childNodes[i];
		if (node.nodeName == 'LI') {
			
			node.onmouseover = function() { 
				this.className = 'on'; 
			}
			node.onmouseout = function() { 
				this.className = '';
			}
		}
	}
}
/*
not used yet!
function dropdown() {

	var objs = Array('nav1b', 'nav1c');

	for (x=0; x < objs.length; x++) {
	
		var obj = document.getElementById(objs[x]);
		
		for (i=0; i < obj.childNodes.length; i++) {
			
			node = obj.childNodes[i];
			
			if (node.nodeName == 'UL') {
				
				for (z=0; z < node.childNodes.length; z++) {
					
					childNode = node.childNodes[z];			
					
					if (childNode.nodeName == 'LI') {
						
						if(window.addEventListener) {
							childNode.addEventListener('mouseover', function () {
								this.className = 'on';
							}, false);
		
							childNode.addEventListener('mouseout', function () {
								this.className = '';
							}, false);
	
						} else {
							childNode.attachEvent('onmouseover', function (evt) {
								
								evt.srcElement.className = 'on';
							});
	
							childNode.attachEvent('onmouseout', function (evt) {
								evt.srcElement.className = '';
							});

						}
					}
				}
			}
		}
	}
}
*/
