Ext.onReady(function(){

    var w = new com.domorewithsage.tabdialog.TabWindow({
        x           : 10,
        width       : 300,
        height      : 620,
        closable    : false,
        maximizable : true,
        resizable   : true
    });

    var x = new Ext.Window({
        x       : 320,
        y       : 50,
        width   : 400,
        height  : 350,
        title   : 'Sage 500/1000 Menu Mockup',
        closable: false,
        items   : [{
            xtype       : 'textarea',
            hideLabel   : true,
            height      : 300,
            width       : '100%',
            Toolbar     : false,
            value       : 'This demonstrates how a complete menu system could be deployed ' +
                'but without any of the headaches of Java.' + String.fromCharCode(13) +
                String.fromCharCode(13) + 'The initial work will mimic a few ' +
                'enquiry screens but will offer faster searching and locating of records using ' +
                'virtualised grids which can load 1000s of records quickly.' + String.fromCharCode(13) +
                String.fromCharCode(13) + 'Further development will allow proper authentication and population of all the menus ' +
                'using a specific users formset and menu options.' +
                String.fromCharCode(13) + String.fromCharCode(13) + 'If you want to be kept up to date and want to join ' +
                'the beta program then please click the link below to send a blank email.' + String.fromCharCode(13) +
                String.fromCharCode(13) + 'The beta will give you free access to this technology you can use to add users to your' +
                ' existing installation at no cost.'
        },{
            xtype       : 'label',
            html        : '<a href="mailto:sales@sageline500.net?subject=Yes I am interested in the Beta">Request To Join Beta</a>'
            
        }]
        
    })

    w.show();
    
    x.show();

});