Array.prototype.Add= function (item){ this[this.length]=item; } ; Array.prototype.InsertAt= function (index,item){ this[index]=item; } ; Array.prototype.Remove= function (item){var O1l= false; for (var i=0; i<this.length; i++){if (item == this[i]){O1l= true; }if (O1l){ this[i]=this[i+1]; }}if (O1l){ this.length-=1; }} ; Array.prototype.RemoveAt= function (index){for (var i=index; 0<=i&&i<this.length; i++){ this[i]=this[i+1]; }if (0<=index&&index<this.length){ this.length-=1; }} ; Array.prototype.Clear= function (){ this.length=0; } ; Array.prototype.l1l= function (item){for (var i=0; i<this.length; i++){if (this[i] == item){return i; }}return -1; } ; Array.prototype.Serialize= function (i1l){var I1l=""; if (typeof(i1l) == "\x75\x6e\x64\x65\x66\x69\x6e\x65\x64"||i1l == null){i1l="\x2c"; }if (this.length<=0){return I1l; }for (var i=0; i<this.length; i++){I1l=I1l+((I1l == "")?"":i1l)+this[i].toString(); }return I1l; } ; Array.prototype.ClassicSort= function (){var i,T; for (i=this.length-1; i>=0; i--){for (T=0; T<=i; T++){if (this[T+1]<this[T]){var O18=this[T]; this[T]=this[T+1]; this[T+1]=O18; }}}return o1m; };Array.prototype.ToNumber= function (O1m){switch (typeof(O1m)){case "\x6e\x75\x6d\x62\x65\x72":return O1m; case "\x73\x74\x72\x69\x6e\x67":var l1m=parseInt(O1m); if (!i1m(l1m)&&("\x43"+l1m == "\x43"+O1m)){return l1m; }break; default:break; }};Array.prototype.HighestIndex= function (){var I1m; for (var i in this ){var o1n=this.ToNumber(i); if ((typeof(o1n) != "\x75\x6e\x64\x65\x66\x69\x6e\x65\x64")&&((typeof(I1m) == "\x75\x6e\x64\x65\x66\x69\x6e\x65\x64")||(o1n>I1m))){I1m=o1n; }}return I1m; };if (!Array.prototype.push){Array.prototype.push= function (){var I1m=this.HighestIndex(); if (typeof(I1m) == "\x75\x6e\x64\x65\x66\x69\x6e\x65\x64"){I1m=-1; }for (var i=0; i<arguments.length; i++){ this[ ++I1m]=arguments[i]; }};}if (!Array.prototype.pop){Array.prototype.pop= function (){var I1m=this.HighestIndex(); var O1n; if (typeof(I1m) != "\x75\x6e\x64\x65\x66\x69\x6e\x65\x64"){O1n=this[I1m]; delete this[I1m]; }return O1n; };}if (!Array.prototype.shift){Array.prototype.shift= function (){var l1n=this[0]; for (var i=1; i<this.length; ++i){ this[i-1]=this[i]; } this.length--; return l1n; };}if (!Array.prototype.unshift){Array.prototype.unshift= function (){var i=unshift.arguments.length; for (var T=this.length-1; T>=0; --T){ this[T+i]=this[T]; }for (T=0; T<i; ++T){ this[T]=unshift.i1n[T]; }};}String.prototype.Format= function (){var I1n=this ; for (var i=0; i<this.Format.arguments.length; i++){I1n=I1n.replace(new RegExp("\x5c\x7b"+i+"\x5c\x7d","\x69\x67"),this.Format.arguments[i]); }return I1n; };String.prototype.StartsWith= function (value){if (typeof(value) != "\x73\x74\x72\x69\x6e\x67"){return false; }return (0 == this.indexOf(value)); };String.prototype.EndsWith= function (value){if (typeof(value) != "\x73\x74\x72\x69\x6e\x67"){return false; }return (this.lastIndexOf(value)+value.length == this.length-1); };String.prototype.IsEmpty= function (){var I1n=this ; return (I1n == "")? true : false; };function Hashtable(){ this.Keys=new Array(); this.Values=new Array(); }Hashtable.prototype.Add= function (o1o){if (!o1o.ID){return; }var O1o=o1o.ID; if (this.IsValidKey(O1o)){ this.Values[this.Values.length]=o1o; if (this.Keys[O1o]){ this.Keys[O1o].length++; this.Keys[O1o][this.Keys[O1o].length-1]=(this.Values.length-1); }else { this.Keys[O1o]=new Array(1); this.Keys[O1o][0]=(this.Values.length-1); }}};Hashtable.prototype.AddItem= function (l1o,i1o){if (!l1o||!i1o){return; }if (this.IsValidKey(l1o)){ this.Values[this.Values.length]=i1o; if (this.Keys[l1o]){ this.Keys[l1o].length++; this.Keys[l1o][this.Keys[l1o].length-1]=(this.Values.length-1); }else { this.Keys[l1o]=new Array(1); this.Keys[l1o][0]=(this.Values.length-1); }}};Hashtable.prototype.I1o= function (o1p){for (var i=0; i<o1p.length; i++){ this.Add(o1p[i]); }};Hashtable.prototype.Remove= function (O1o){ delete this.Values[this.Keys[O1o][0]]; delete this.Keys[O1o]; };Hashtable.prototype.I= function (O1o){if (this.Keys[O1o]){return this.Values[(this.Keys[O1o][0])]; }else {return null; }};Hashtable.prototype.Set= function (o1o){var O1o=o1o.ID; if (this.Keys[O1o]){ this.Values[(this.Keys[O1o][0])]=o1o; }};Hashtable.prototype.CopyTo= function (O1p){for (var i=0; i<this.Values.length; i++){O1p[i]=this.Values[i].toSource;}};Hashtable.prototype.l1p= function (O1p){for (var i=0; i<this.Keys.length; i++){}};Hashtable.prototype.i1p= function (O1o){if (this.Keys[O1o]){var I1p=this.Keys[O1o]; I1p=this.Keys[O1o].length; return ((I1p<=1)? true : false); }else {return true; }};Hashtable.prototype.IsValidKey= function (o1q){var O1q=""+o1q; var l1q=O1q.charCodeAt(0); return ((l1q<060)||(l1q>071)); };Hashtable.prototype.length= function (){return this.Values.length; };i1q=0160; I1q=0161; o1r=0162; O1r=0163; l1r=0164; i1r=0165; I1r=0166; o1s=0167; O1s=0170; l1s=0171; i1s=0172; I1s=0173; o1t=021; O1t=020; l1t=022; i1t=015; I1t=044; o1u=043; O1u=045; l1u=047; i1u=046; I1u=050; o1v=041; O1v=042; l1v=033; i1v=040; I1v=011; o1w=8; O1w=056; l1w=055; i1w=0135; MODE_NORMAL=1; MODE_DISABLED=2; MODE_HILIGHT=4; MODE_CLICKED=8; MODE_SELECTED=020; I1w=1; o1x=2; O1x=4; l1x=8; UP_DIRECTION=1; DOWN_DIRECTION=2; LEFT_DIRECTION=4; RIGHT_DIRECTION=8; VERTICAL_DIRECTION=1; HORIZONTAL_DIRECTION=2;
 

