YUI.add("arraylist-add",function(s,t){s.mix(s.ArrayList.prototype,{add:function(t,i){var r=this._items;return s.Lang.isNumber(i)?r.splice(i,0,t):r.push(t),this},remove:function(t,i,r){r=r||this.itemsAreEqual;for(var s=this._items.length-1;0<=s&&(!r.call(this,t,this.item(s))||(this._items.splice(s,1),i));--s);return this},itemsAreEqual:function(t,i){return t===i}})},"patched-v3.18.3",{requires:["arraylist"]});