Ext.namespace('com.domorewithsage.mock');


com.domorewithsage.mock.AccountAdminWindow = Ext.extend(Ext.Window, {


    initComponent : function()
    {
        Ext.apply(this, {
            layout : 'border',
            border : false,
            tbar   : new com.domorewithsage.mock.Menubar(),
            items : [
                new com.domorewithsage.mock.NavPanel({
                    border       : true,
                    region       : 'west',
                    minSize      : 200,
                    maxSize      : 300,
                    width        : 200,
                    split        : true,
                    collapsible  : true,
                    collapseMode :'mini'
                }),
                new com.domorewithsage.mock.CustomerListPanel({
                    region : 'center'
                })
            ]
        });

        Ext.applyIf(this, {
            title  : "Sage 50 Web"
        });

        com.domorewithsage.mock.AccountAdminWindow.superclass.initComponent.call(this);
    }


});