
    function ShowMenu(n)
    {
      var menu, arrowImg
	  menu = document.getElementById("d" + n);
      
	  // Determine if the menu is currently showing.
      if (menu.style.display == 'block')
      {
        // If it is showing, hide the menu and update the twisty image.
        menu.style.display = 'none'
		arrowImg = document.images["i" + n]
        arrowImg.src = "images/pixel.gif"
      }
      else
      {
        // Hide all layers first.
		
	  	  var divs = document.getElementsByTagName("div")

      //	for (i = 0; i < divs.length; i++)
			//if (divs[i].id.indexOf('d0') >= 0)
          	//divs[i].style.display = 'none'
        // Reset the images.
       // for (j = 0; j < document.images.length; j++)
          //if (document.images[j].src.indexOf("menu_open") > 0)
           // document.images[j].src = "images/pixel.gif"
        
        // Show the menus and update their twisty images.
        i = 2
        while (n.length >= i)
        {
		//alert(n);		
		menu = document.getElementById("d" + n.substring(0, i));              
          arrowImg = eval("document.images['i" + n.substring(0, i) + "']")
          menu.style.display = "block"
          arrowImg.src = "images/section_open.gif"
          i += 2
        }
      }
    }
	
	function windowOpener(url,width,height,target,isfullscreen,top,left) 
      {
       browserName = navigator.appName;
       browserVer = navigator.appVersion.substring(0,1);
       if (width==null) {width=600;}
       if (height==null) {height=400;}
       if (top==null) {top=40;}
       if (left==null) {left=50;}
       if (browserName != "Netscape" || browserVer != 2)
       {
controlWindow=window.open(url,target,"toolbar=no,height="+height+",width="+width+",top="+top+",left="+left+",location=no,directories=no,status=no,menubar=yes,scrollbars=yes,resizable=yes,fullscreen="+isfullscreen);
       }
      }
