code: function() {
          var NAV = YAHOO.widget.CalendarNavigator;
          var doc = this._doc;
  
          var d = doc.createElement("div");
          d.className = NAV.CLASSES.NAV;
  
          var htmlBuf = this.renderNavContents([]);
  
          d.innerHTML = htmlBuf.join('');
          this.cal.oDomContainer.appendChild(d);
  
          this.navEl = d;
  
          this.yearEl = doc.getElementById(this.id + NAV.YEAR_SUFFIX);
          this.monthEl = doc.getElementById(this.id + NAV.MONTH_SUFFIX);
          this.errorEl = doc.getElementById(this.id + NAV.ERROR_SUFFIX);
          this.submitEl = doc.getElementById(this.id + NAV.SUBMIT_SUFFIX);
          this.cancelEl = doc.getElementById(this.id + NAV.CANCEL_SUFFIX);
  
          if (YAHOO.env.ua.gecko && this.yearEl && this.yearEl.type == "text") {
              // Avoid XUL error on focus, select [ https://bugzilla.mozilla.org/show_bug.cgi?id=236791, 
              // supposedly fixed in 1.8.1, but there are reports of it still being around for methods other than blur ]
              this.yearEl.setAttribute("autocomplete", "off");
          }
  
          this._setFirstLastElements();
      }
docs: Creates the navigator's containing HTMLElement, it's contents, and appends
  the containg element to the Calendar/CalendarGroup's container.
  
  @method createNav