<!--
function showIt(src) {
  var child, parent, childNum = 0;
  if ("B" == src.tagName) {
    parent = src.parentNode;
    for (var i=0; i < parent.childNodes.length; i++) {
      if (parent.childNodes[i].nodeType != 1) { continue; }
      if (childNum != 1) { childNum++; continue; }
      else { child = parent.childNodes[i]; }
    }
    if (child != null && "LI" == parent.tagName && "UL" == child.tagName) {
      parent.className = ("close" == parent.className ? "open" : "close");
      child.className = ('expanded' == child.className ? 'none' : 'expanded');
    }
  }
}
function over(src) {
  if ("B" == src.tagName) {
    src.style.color = "rgb(255,0,0)";
    src.style.cursor = (document.all) ? "hand" : "pointer";
  }
}

function out(src) {
  if ("B" == src.tagName) {
    src.style.color = "rgb(0,0,0)";
    src.style.cursor = "auto";
  }
}

// JavaScript ソース (headタグ内)

// SetNodeStyle関数 : メニュー項目の色やカーソルを設定します
// ... 引数 idParent : メニューの親項目の id
// ... 引数 strMode : 状態を示す文字列（'over': mouseover時、'out': mouseout時）
function SetNodeStyle(idParent, strMode) 
{
    if (!document.getElementById) return;
    var parent = document.getElementById(idParent);
    if (strMode == "over") {
        parent.style.color = "#cc0000";
        parent.style.cursor = "pointer";
    } else if (strMode == "out") {
        parent.style.color = "#000000";
        parent.style.cursor = "default";
    }
}

// Node_Click関数 : 項目のclickイベントに対応して子要素の折畳み状態を設定します
// ... 引数 idChild : 子要素の id
function Node_Click(idChild) 
{
    if (!document.getElementById) return;
    var child = document.getElementById(idChild);
    if (child.style.display == "none") {
        child.style.display = "block";
    } else {
        child.style.display = "none";
    }
}
//-->
