hey folks got a little problem, i have a extended class with two functions and i want one to be able to invoke the second.

Here they are
Code:
    doMaxPerPage: function() {
          var edit = Ext.getCmp( this.editId );
          var center = Ext.getCmp( this.parentContId );
            var tab = center.getActiveTab();
          
          max = Math.round( (edit.getInnerHeight()-56 )/21 );          
          ptb = Ext.getCmp(this.pagTbarId);
            ptb.pageSize = max;
            ptb.store.reload();
        
            qf = Ext.getCmp( this.toolbar.qFilterId );
            qf.max = max;
      },

increaseEdit: function() {
          var center = Ext.getCmp( this.parentContId );
          var tab = center.getActiveTab();
        var edit = Ext.getCmp( this.editId );
          var size = center.getInnerHeight() - this.getFrameHeight();          
          edit.setHeight(size);
          Ext.StammdatenBasicLayout.superclass.onCollapse.apply(this, arguments); 
          //I want to call doMaxPerPage() here
    }
ive tried this.doMaxPerPage(), doMaxPerPage etc etc

Please help there must be a way to do this