window.onload = function () {
      var stretchers = document.getElementsByClassName('accordion'); //div that stretches
      var toggles = document.getElementsByClassName('toggler'); //h3s where I click on
      var myAccordion = new fx.Accordion (
          toggles, stretchers, {opacity: true, duration: 400}
      );
      function checkHash()
      {
          var found = false;
          toggles.each(function(h3, i){
              if (window.location.href.indexOf(h3.title) > 0) {
                  myAccordion.showThisHideOpen(stretchers[i]);
                  found = true;
              }
          });
          return found;
      }
      if (!checkHash()) {
          myAccordion.showThisHideOpen(stretchers[0]); // 2 = contact
      }
}