//	Navigation
startList = function() {
  if(1==1){
//  if (document.all&&document.getElementById) {
    nav = document.getElementById("navigationlist");
    for (i=0; i<nav.childNodes.length; i++) {
      node = nav.childNodes[i];
      if (node.nodeName=="LI") {
        node.onmouseover=function() {
          hideAll();
          if (this.className == "") {
            this.className = "over";
          }
        }
        node.onclick=function() {
          hideAll();
          if (this.className == "") {
            this.className = "over";
          }
        }
        node.onmouseout=function() {
          if (this.className == "over") {
            this.className = "";
          }
        }
      }
      for (j=0; j<node.childNodes.length; j++) {
        nodenode = node.childNodes[j];
        if (nodenode.nodeName=="SPAN") {
          nodenode.onfocus=function() {
            hideAll();
          }
//          node.onclick=function() {
//            if (this.className == "") {
//              this.className = "over";
//            }
//          }
          node.onkeypress=function() {
            hideAll();
            if (this.className == "") {
              this.className = "over";
            }
          }
        }
      }
    }
    log = document.getElementById("login");
    log.onfocus=function() {
      hideAll();
    }
  }
}

function hideAll() {
  nav = document.getElementById("navigationlist");
  for (i=0; i<nav.childNodes.length; i++) {
    node = nav.childNodes[i];
    if (node.nodeName=="LI" && node.className == "over") {
      node.className = "";
    }
  }
}

function redirect(urlString){
  window.location.href = urlString;
}

window.onload=startList;




