code: function(oData, index) {
          if(lang.isObject(oData)) {
              var oRecord = this._addRecord(oData, index);
              this.fireEvent("recordAddEvent",{record:oRecord,data:oData});
              YAHOO.log("Added Record at index " + index +
                      " with data " + lang.dump(oData), "info", this.toString());
              return oRecord;
          }
          else {
              YAHOO.log("Could not add Record with data" +
                      lang.dump(oData), "info", this.toString());
              return null;
          }
      }
docs: Adds one Record to the RecordSet at the given index. If index is null,
  then adds the Record to the end of the RecordSet.
  
  @method addRecord
  @param oData {Object} An object literal of data.
  @param index {Number} (optional) Position index.
  @return {YAHOO.widget.Record} A Record instance.