Ext.ns('app');


app.mytabpanel = Ext.extend(Ext.TabPanel, {
	initComponent: function(){
        app.mytabpanel.superclass.initComponent.apply(this, arguments);
    }


});

// register xtype to allow for lazy initialization
Ext.reg('mytabpanel', app.mytabpanel);

app.tabpanel = new Ext.TabPanel({
	    id: 'tabs',
		//plain: true,  //remove the header border
		border:false,
		activeItem: 0,
		region:'center',
		margins: '2 3 3 0',
		autoScroll:true,
		enableTabScroll:true,
		items:[{
			id:'cuadro_mando',
			closable:false,
			layout:'fit',
			title: 'Inicio',
			iconCls:'house',
			autoLoad: {url: 'cuadro_mando.jsp', border:false, scripts: true,scope: this}
		}]
	});

