
  var currentOpen    
  var query = new String(window.parent.location.search);
  
  function windowTree2() {
  //window.onload = function() {
    
    var menuList=document.getElementsByTagName("menu");
      for(var i=0;i<menuList.length;i++) {
        if(menuList[i].className!="dateDivider") {
          trElm = menuList[i].getElementsByTagName("div")[0];
        if(i==0 && query != "" && query.indexOf("open=") >=0) { 
          trElm.parentNode.className="open";
          currentOpen=trElm;
          }
          trElm.onmouseover = function() {
              if(this.parentNode.className=="closed") { // menu
                this.className = "summary hover"; 
                }
                this.onmouseout = function() {
                  if(this.parentNode.className=="closed") { // menu
                  this.className = "summary"; }
                }
                this.onclick = function() {
                    if(this.parentNode.className=="closed") { // menu
                    if(currentOpen){
                      currentOpen.parentNode.className="closed";
                      currentOpen.className = "summary";
                    }
                    this.parentNode.className="open";
                      currentOpen=this; 
                    }
                    else {
                      this.parentNode.className="closed";
                      currentOpen=null;
                    }
                }
            }
        }
    }
}