docs: function (page) {
              var index = util.clamp(page - 1, 0, this.numPages),
                  $precedingPage,
                  $currentPage;
  
              paged.setCurrentPage.call(this, page);
  
              // update CSS classes
              this.$doc.find('.' + CSS_CLASS_PRECEDING_PAGE)
                  .removeClass(CSS_CLASS_PRECEDING_PAGE);
  
              $precedingPage = this.$doc.find('.' + CSS_CLASS_CURRENT_PAGE);
              $currentPage = this.$pages.eq(index);
  
              if ($precedingPage[0] !== $currentPage[0]) {
                  $precedingPage
                      .addClass(CSS_CLASS_PRECEDING_PAGE)
                      .removeClass(CSS_CLASS_CURRENT_PAGE);
                  $currentPage.addClass(CSS_CLASS_CURRENT_PAGE);
              }
  
              this.updateVisiblePages(true);
              this.updatePageClasses(index);
          }