function selectMenu(obj) {
  var child, parent, cntChild = 0;
  if ("btn" == obj.className) {
    parent = obj.parentNode;
    for (var i=0; i < parent.childNodes.length; i++) {
      if (parent.childNodes[i].nodeType != 1) { continue; }
      if (cntChild != 1) { cntChild++; continue; }
      else { child = parent.childNodes[i]; }
    }
    if (child != null && ("open" ==parent.className || "close" == parent.className)) {
      parent.className = ("close" == parent.className ? "open" : "close");
      if ('expanded' == child.className) {
          child.className = 'none'; 
      }
      else {
          child.className = 'expanded'; 
      }
    }
  }
}
function msOver(obj) {
  if ("btn" == obj.className) {
    obj.style.cursor = (document.all) ? "hand" : "pointer";
  }
}

function msOut(obj) {
  if ("btn" == obj.className) {
    obj.style.cursor = "auto";
  }
}

