code: function Paginator(config) {
      var UNLIMITED = Paginator.VALUE_UNLIMITED,
          attrib, initialPage, records, perPage, startIndex;
  
      config = isObject(config) ? config : {};
  
      this.initConfig();
  
      this.initEvents();
  
      // Set the basic config keys first
      this.set('rowsPerPage',config.rowsPerPage,true);
      if (Paginator.isNumeric(config.totalRecords)) {
          this.set('totalRecords',config.totalRecords,true);
      }
      
      this.initUIComponents();
  
      // Update the other config values
      for (attrib in config) {
          if (config.hasOwnProperty(attrib)) {
              this.set(attrib,config[attrib],true);
          }
      }
  
      // Calculate the initial record offset
      initialPage = this.get('initialPage');
      records     = this.get('totalRecords');
      perPage     = this.get('rowsPerPage');
      if (initialPage > 1 && perPage !== UNLIMITED) {
          startIndex = (initialPage - 1) * perPage;
          if (records === UNLIMITED || startIndex < records) {
              this.set('recordOffset',startIndex,true);
          }
      }
  }
docs: Instantiate a Paginator, passing a configuration object to the contructor.
  The configuration object should contain the following properties:
  <ul>
  <li>rowsPerPage : <em>n</em> (int)</li>
  <li>totalRecords : <em>n</em> (int or Paginator.VALUE_UNLIMITED)</li>
  <li>containers : <em>id | el | arr</em> (HTMLElement reference, its id, or an array of either)</li>
  </ul>
  
  @namespace YAHOO.widget
  @class Paginator
  @constructor
  @param config {Object} Object literal to set instance and ui component
  configuration.