if (typeof(Array.prototype.push)=="un\x64\x65\x66ine\x64"){Array.prototype.push= function (){var le=RadMenuHelperUtils.Oe(this ); if (typeof(le)=="\165\x6edefined"){le=-1; }for (var i=0; i<arguments.length; i++){ this[ ++le]=arguments[i]; }};}if (typeof(Array.prototype.pop)=="\x75\x6edefine\x64"){Array.prototype.pop= function (){var le=RadMenuHelperUtils.Oe(this ); var O2x; if (typeof(le)!="\165n\x64\x65fined"){O2x=this[le]; delete this[le]; }return O2x; };}if (typeof(Array.prototype.shift)=="u\x6e\x64efined"){Array.prototype.shift= function (){var l2x=this[0]; for (var i=1; i<this.length; ++i){ this[i-1]=this[i]; } this.length--; return l2x; };}if (typeof(Array.prototype.unshift)=="undefined"){Array.prototype.unshift= function (){var i=unshift.arguments.length; for (var R=this.length-1; R>=0; --R){ this[R+i]=this[R]; }for (R=0; R<i; ++R){ this[R]=unshift.i2x[R]; }};}function RadHashtable(){ this.Keys=new Array(); this.Values=new Array(); }RadHashtable.prototype.Add= function (I2x){if (!I2x.ID){return; }var o2y=I2x.ID; if (this.IsValidKey(o2y)){ this.Values[this.Values.length]=I2x; if (this.Keys[o2y]){ this.Keys[o2y].length++; this.Keys[o2y][this.Keys[o2y].length-1]=(this.Values.length-1); }else { this.Keys[o2y]=new Array(1); this.Keys[o2y][0]=(this.Values.length-1); }}};RadHashtable.prototype.AddItem= function (O2y,l2y){if (!O2y || !l2y){return; }if (this.IsValidKey(O2y)){ this.Values[this.Values.length]=l2y; if (this.Keys[O2y]){ this.Keys[O2y].length++; this.Keys[O2y][this.Keys[O2y].length-1]=(this.Values.length-1); }else { this.Keys[O2y]=new Array(1); this.Keys[O2y][0]=(this.Values.length-1); }}};RadHashtable.prototype.i2y= function (I2y){for (var i=0; i<I2y.length; i++){ this.Add(I2y[i]); }};RadHashtable.prototype.Remove= function (o2y){ delete this.Values[this.Keys[o2y][0]]; delete this.Keys[o2y]; };RadHashtable.prototype.O17= function (o2y){if (this.Keys[o2y]){return this.Values[(this.Keys[o2y][0])]; }else {return null; }};RadHashtable.prototype.Set= function (I2x){var o2y=I2x.ID; if (this.Keys[o2y]){ this.Values[(this.Keys[o2y][0])]=I2x; }};RadHashtable.prototype.CopyTo= function (o2z){for (var i=0; i<this.Values.length; i++){o2z[i]=this.Values[i].toSource;}};RadHashtable.prototype.O2z= function (o2z){for (var i=0; i<this.Keys.length; i++){}};RadHashtable.prototype.l2z= function (o2y){if (this.Keys[o2y]){var i2z=this.Keys[o2y]; i2z=this.Keys[o2y].length; return ((i2z<=1)? true : false); }else {return true; }};RadHashtable.prototype.IsValidKey= function (I2z){var o30=""+I2z; var O30=o30.charCodeAt(0); return ((O30<48) || (O30>57)); };RadHashtable.prototype.Clear= function (){ this.Values=[]; this.Keys=[]; } ; RadHashtable.prototype.length= function (){return this.Values.length; };
