zk.copy(String.prototype,{startsWith:function(a){return this.substring(0,a.length)==a},endsWith:function(a){return this.substring(this.length-a.length)==a},trim:function(){return jq.trim(this)},$camel:function(){var a=this.split("-"),b=a.length;if(1==b)return a[0];for(var c="-"==this.charAt(0)?a[0].charAt(0).toUpperCase()+a[0].substring(1):a[0],d=1;d<b;d++)c+=a[d].charAt(0).toUpperCase()+a[d].substring(1);return c},$inc:function(a){return String.fromCharCode(this.charCodeAt(0)+a)},$sub:function(a){return this.charCodeAt(0)-
a.charCodeAt(0)}});
zk.copy(Array.prototype,{$indexOf:function(a){return jq.inArray(a,this)},$contains:function(a){return 0<=this.$indexOf(a)},$equals:function(a){if(jq.isArray(a)&&a.length==this.length){for(var b=this.length;b--;){var c=this[b];if(!(c==a[b]||jq.isArray(c)&&c.$equals(a[b])))return!1}return!0}},$remove:function(a){for(var b=jq.isArray(a),c=0,d=this.length;c<d;++c)if(a==this[c]||b&&a.$equals(this[c]))return this.splice(c,1),!0;return!1},$addAll:function(a){return this.push.apply(this,a)},$clone:function(){return[].concat(this)}});
Array.prototype.indexOf||(Array.prototype.indexOf=function(a){for(var b=0,c=this.length;b<c;b++)if(this[b]==a)return b;return-1});8!=zk.ie&&Object.defineProperties(Array.prototype,{$indexOf:{enumerable:!1},$contains:{enumerable:!1},$equals:{enumerable:!1},$remove:{enumerable:!1},$addAll:{enumerable:!1},$clone:{enumerable:!1}});
