Function.prototype.inherit=function(A){for(var B in A.prototype){this.prototype[B]=A.prototype[B]}};