Function.prototype.inherits=function(A){function B(){}B.prototype=A.prototype;this.superClass_=A.prototype;this.prototype=new B();this.prototype.constructor=this};