function initNavi() {
	var obj = document.getElementById('navi');
	var subs = obj.getElementsByTagName('li');

	for(var i  = 0; i < subs.length; i++) {
		subs[i].onmouseover = function() {
			this.className += " subLi";
		}
		subs[i].onmouseout = function() {
			this.className = this.className.replace(new RegExp(" subLi\\b"), "");
		}
	}
}

if(window.attachEvent) window.attachEvent("onload", initNavi);

/*

function close(){
	ulTag = document.getElementById('navi');
	for (i=0; i<ulTag.childNodes.length; i++) {
		node = ulTag.childNodes[i];
		if (node.nodeName=="LI"&&node.lastChild.style) {
			node.lastChild.style.display = 'none';
		}
	}
}
				
function runPullDown(obj){
	// close all other
		close();
	// open this
		if (obj.nodeName=="LI"&&obj.lastChild.style) {
			obj.lastChild.style.display = 'block'; 
			//obj.style.filter = 'none';
		}
}
*/
