Cascade.panel.konfiguration_haenger = function() 
{
	var form;
	
	return {
		init: function(idx) {
			if (!form) {
				
				form = new Ext.FormPanel( {
					url:'konfiguration_haenger/set-values',
					frame: true,
					labelAlign: 'top',
					title: '$KONFIGURATION_HAENGER$',
					id: 'konfiguration_haenger',
					bodyStyle:'padding:5px 5px 0',
					baseParams: { __STORE_PATH__ : 'DLGDATA.CA.FORMS.KONFIGURATION_HAENGER' },
					listeners: {
						'actioncomplete': Cascade.app.getNextPanel
					},
					
					items: [ {
						xtype: 'fieldset',
						width: 600,
						title: '$BESCHICHTUNG$', 
						bodyStyle:'margin-top: 5px ',
						style:'margin-top: 10px ',
						autoHeight: true,
						//autoWidth: true,
						defaultType: 'radio',
						layout: 'form',
						hideLabels: true,
						
						items: [ {
                                    id: 'OHNE',
									inputValue: 'OHNE',
									boxLabel:'$STANDARD$',
									name:'IDC_BESCHICHTUNG',
									checked: true
								},{
                                    id: 'TERROSON',
									inputValue: 'TERROSON',
									boxLabel:'$TERROSON$',
									name:'IDC_BESCHICHTUNG'
								}]
							},{
						xtype: 'fieldset',
						width: 600,
						title: '$BLOCKIERUNG$', 
						bodyStyle:'margin-top: 5px ',
						style:'margin-top: 10px ',
						autoHeight: true,
						//autoWidth: true,
						defaultType: 'radio',
						layout: 'form',
						hideLabels: true,
						
						items: [ {
                                    id: 'BLOCK_NEIN',
									inputValue: 'BLOCK_NEIN',
									boxLabel:'$BLOCKIERUNG_OHNE$',
									name:'IDC_BLOCKIERUNG'
								},{
                                    id: 'BLOCK_JA',
									inputValue: 'BLOCK_JA',
									boxLabel:'$BLOCKIERUNG_STANDARD$',
									name:'IDC_BLOCKIERUNG',
									checked: true
								},{
                                    id: 'BLOCK_MITTIG',
									inputValue: 'BLOCK_MITTIG',
									boxLabel:'$BLOCKIERUNG_MITTIG$',
									name:'IDC_BLOCKIERUNG'
								}]
							}
                    ]
                });
				
				var cp = Ext.getCmp('center-panel');
				cp.insert(idx, form);
				cp.doLayout();
			}

			form.getForm().reset();
			form.load({ url: 'konfiguration_haenger/get-values' });
			Ext.getCmp('move-next').enable();
		}
	}
}();