window.onload = InitLocal;

function InitLocal()
  // Initialize the PBEEEP Local-specific features. Note that if JavaScript is disabled, and this code does
  // not execute, the GUI defaults to no Expand-Collapse Buttons (ECB) and the associated descriptions remain visible.
  { // PBEEEP Init (/js/pbeeep.js)
    Init();
    // GUI Behavior: Expand-Collapse Buttons
    var P = document.getElementById('SidebarContent');
    var E = P.getElementsByTagName('img');
    for (var i=0; i<E.length; i++)
      { if (E[i].className.indexOf('ECButton')>=0)
          { E[i].style.visibility = 'visible';
          };
      };
    // GUI Behavior: Descriptions
    var E = P.getElementsByTagName('ul');
    for (var i=0; i<E.length; i++)
      { if (E[i].className.indexOf('Descr')>=0)
          { E[i].style.display = 'none';
          };
      };
  } // InitLocal()
