Ext.onReady(function(){
        
        var win1 = new Ext.ux.Window({
                    layout      : 'fit',
                    width       : 500,
                    height      : 300,
                    closeAction :'hide',
                    applyTo: 'hello-win1',
                    title: 'Calendar Events',
                    plain       : false,
                    resizable: false,
                    minimizable: true,
                  	minimizedIconCls: 'calendar_big_icon',
                  	minimizedIconLeft: 100,
                  	minimizedIconTop: 300,
                  	iconCls: 'calendar_small_icon',
                    items       : {
                        xtype : "grid",
                        border : false,
                        viewConfig : /*BEGIN*/{
                          forceFit : true
                        }/*END*/,
                        ds : /*BEGIN*/new Ext.data.Store({reader: new Ext.data.ArrayReader({}, [{name: 'comment'}]),data: [['Please set CM and DS properties']]})/*END*/,
                        cm : /*BEGIN*/new Ext.grid.ColumnModel([new Ext.grid.RowNumberer(),{header: 'Comment', width: 120, sortable: true, dataIndex: 'comment'},
                                    {header: 'Comment', width: 120, sortable: true, dataIndex: 'comment'}])/*END*/
                      },
    
                    buttons: [{
                        text     : 'Submit',
                        disabled : true
                    },{
                        text     : 'Close',
                        handler  : function(){
                            win.hide();
                        }
                    }]
                });
                
                win1.show();
                
                var win2 = new Ext.ux.Window({
                    layout      : 'fit',
                    width       : 500,
                    height      : 300,
                    closeAction :'hide',
                    applyTo: 'hello-win2',
                    title: 'Reminders',
                    plain       : false,
                    resizable: false,
                    minimizable: true,
                  	minimizedIconCls: 'reminder_big_icon',
                  	minimizedIconLeft: 200,
                  	minimizedIconTop: 300,
                  	iconCls: 'reminder_small_icon',
                    items       : {},
    
                    buttons: [{
                        text     : 'Submit',
                        disabled : true
                    },{
                        text     : 'Close',
                        handler  : function(){
                            win.hide();
                        }
                    }]
                });
                
                win2.show();
            
});

