// JavaScript Document


onload = function() {
//----------------------------------------------------------------------

function PopupView(id) {
if (!document.getElementById) return;

var node = document.getElementById(id);
if (node) PopupView.initializer.call(node.childNodes);
}

PopupView.initializer = function() {
for (var i = 0, I = this.length; i < I; i++) {
PopupView.switcher.call(this[i].childNodes, 'none');

this[i].onmouseover = function() {
PopupView.switcher.call(this.childNodes, 'block');
}

this[i].onmouseout = function() {
PopupView.switcher.call(this.childNodes, 'none');
}
}
}

PopupView.switcher = function(displayValue) {
for (var i = 0, I = this.length; i < I; i++)
if (this[i].nodeName.match(/[OU]L/)) {
this[i].style.display = displayValue;
this[i].style.position = 'absolute';
}
}


// ここに ul/ol 要素の id を指定する（いくつでも指定可）

new PopupView('navi1');

//----------------------------------------------------------------------
}

