function initmenu(obj) {
	if (document.getElementById && document.getElementById(obj)) {
		navRoot = document.getElementById(obj);
		for (i=0; i<navRoot.childNodes.length; i++) {
			node = navRoot.childNodes[i];
			
			node.onmouseover = function() {
				if (this.className.indexOf('menu_hide') != -1) {
					if (this.className.indexOf('current') != -1) {
						this.className = 'current menu_visible';
					} else {
						this.className = 'menu_visible';
					}
				}
			}
			node.onmouseout = function() {
				if (this.className.indexOf('menu_visible') != -1) {					
					if (this.className.indexOf('current') != -1) {
						this.className = 'current menu_hide';
					} else {
						this.className = 'menu_hide'
					}
				}
			}
		}
	}
}

