Ext.ns('Fecsp.surf.infopublic');

Fecsp.surf.infopublic.RSSListWindow = Ext.extend(Ext.Window, {
	initComponent : function() {
		Ext.apply(this, {
			layout : 'border',
			title : 'RSS订阅',
			header : false,
			closable : true,
			resizable : false,
			width : 550,
			height : 400,
			bodyBorder : false,
			items: [{
				region: 'north',
				xtype: 'easyext-title-bar',
				title: 'RSS订阅',
				style: {
					width: '100%'
				}
			},{
				region: 'center',
				xtype: 'panel',
				layout: 'column',
				border: false,
				defaults: {
					border: false
				},
				items: [{
					xtype: 'panel',
					columnWidth: 1,
					height: 50
				},{
					xtype: 'panel',
					columnWidth: .1,
					html: ''
				},{
					xtype: 'panel',
					columnWidth: .8,
					html: '<table align="center" cellspacing="20" ><tr><td>最新资讯</td><td>' +
							'<a href="'+CONTEXT_PATH+'/fecsp/surf/infopublic/main.do?action=rss&infoType=LatestNews" target="_blank" >' +
							'<img src="'+CONTEXT_PATH+'/fecsp/surf/infopublic/styles/default/images/rss.gif" alt="订阅" />' +
							'</a></td></tr><tr><td>收费标准</td><td>' +
							'<a href="'+CONTEXT_PATH+'/fecsp/surf/infopublic/main.do?action=rss&infoType=ChargingStandard" target="_blank" >' +
							'<img src="'+CONTEXT_PATH+'/fecsp/surf/infopublic/styles/default/images/rss.gif" alt="订阅" />' +
							'</a></td></tr><tr><td>业务须知</td><td>' +
							'<a href="'+CONTEXT_PATH+'/fecsp/surf/infopublic/main.do?action=rss&infoType=BusinessInformation" target="_blank" >' +
							'<img src="'+CONTEXT_PATH+'/fecsp/surf/infopublic/styles/default/images/rss.gif" alt="订阅" />' +
							'</a></td></tr></table>'
				},{
					xtype: 'panel',
					columnWidth: .1,
					html: ''
				}]
			}],
			buttons : [{
				id : "btnClose",
				xtype : 'easyext-button-bar',
				disabled : false,
				buttonConfigs : [{
							name : 'btnClose',
							text : '返回',
							handler : this.close,
							scope : this
						}]
			}]

		});

		Fecsp.surf.infopublic.RSSListWindow.superclass.initComponent
				.apply(this, arguments);
	}
});

