code: function() {
          var E = YAHOO.util.Event;
  
          function yearUpdateHandler() {
              if (this.validate()) {
                  this.setYear(this._getYearFromUI());
              }
          }
  
          function monthUpdateHandler() {
              this.setMonth(this._getMonthFromUI());
          }
  
          E.on(this.submitEl, "click", this.submit, this, true);
          E.on(this.cancelEl, "click", this.cancel, this, true);
          E.on(this.yearEl, "blur", yearUpdateHandler, this, true);
          E.on(this.monthEl, "change", monthUpdateHandler, this, true);
  
          if (this.__isIEQuirks) {
              YAHOO.util.Event.on(this.cal.oDomContainer, "resize", this._syncMask, this, true);
          }
  
          this.applyKeyListeners();
      }
docs: Attaches DOM event listeners to the rendered elements
  <p>
  The method will call applyKeyListeners, to setup keyboard specific
  listeners
  </p>
  @method applyListeners