Bill.Window = Ext.extend(Ext.Window, {
    initComponent: function() {
        Ext.apply(this, {
            bodyStyle: 'padding: 5px;',
            modal: true,
            resizable: false,
            bbar: new Ext.ux.StatusBar({
                style: 'border-top: 0px;',
                hidden: true
            })
        });
        Bill.Window.superclass.initComponent.apply(this, arguments);
        this.statusBar = this.getBottomToolbar();
    },

    setStatus: function(msg) {
        this.statusBar.show();
        this.statusBar.setStatus(msg);
    }    
});
Ext.reg('bill-window', Bill.Window);

