text: /**
   * Page-specific Javascript file.  Should generally be included as a separate asset bundle in your page template.
   * example: {{ assets.js('js/pages/sign-in-or-register') | raw }}
   *
   *
   * Target page: /offices/o/{office_name}
   */
  
  var $menu = $('#hours-menu');
  var $drDiv = $('.dr-div');
  
  $('#hours').click(function (e) {
      e.stopPropagation();
      $($menu).slideToggle();
  
      if ($drDiv.is(":visible")) {
          $drDiv.slideUp();
      }
  });
  
  
  $('.dr-name').click(function (e) {
      e.stopPropagation();
      var $drDiv = $(this).next('.dr-div');
      $(".dr-div").not($drDiv).slideUp();
  
      if ($drDiv.is(":visible")) {
          $drDiv.slideUp();
      }  else {
          $drDiv.slideDown();
      }
  
      if ($menu.is(":visible")) {
          $menu.slideUp();
      }
  });
  
  $('body').click(function () {
      if ($($menu).is(':visible')) {
          $($menu).slideUp();
      }
      if ($($drDiv).is(':visible')) {
          $($drDiv).slideUp();
      }
  });
  
  
  
  