autoRedirector.panel.Home = function(config) {
	config = config || {};
	Ext.apply(config,{
		border: false
		,baseCls: 'modx-formpanel'
		,items: [{
			html: '<h2>'+_('autoredirector')+'</h2>'
			,border: false
			,cls: 'modx-page-header container'
		},{
			xtype: 'modx-tabs'
			,bodyStyle: 'padding: 10px'
			,defaults: { border: false ,autoHeight: true }
			,border: true
			,activeItem: 0
			,hideMode: 'offsets'
			,items: [{
    			title: _('autoredirector_items')
				,items: [{
					xtype: 'autoredirector-grid-items'
					,preventRender: true
				}]
			}]
		}]
	});
	autoRedirector.panel.Home.superclass.constructor.call(this,config);
};
Ext.extend(autoRedirector.panel.Home,MODx.Panel);
Ext.reg('autoredirector-panel-home',autoRedirector.panel.Home);
