// JavaScript Document

function popup(obj) {
	var children = obj.childNodes;

	for (node in children) {
		var submenu = children[node]; 
		if (submenu.nodeName=="UL") {
			submenu.style.visibility = "visible";
		}
	}
}
function hide(obj) {
	var children = obj.childNodes;

	for (node in children) {
		var submenu = children[node]; 
		if (submenu.nodeName=="UL") {
			submenu.style.visibility = "hidden";
		}
	}
}
/*
function startup(doc) {
	window.alert("hoge");
	var menu = doc.getElementbyId("menu");
//	window.alert(menu.nodeName);
	window.alert("hghg");
	var menuChildren = menu.childNodes;
	for (node in menuChildren) {
		if (node.nodeName=="UL") {
			node.onMouseOver = popup(node);
			window.alert(node.nodeName);
		}
	}
}
*/
