/**
 * 退出系统
 */
function logoutSystem() {
	Ext.Ajax.request({
				scope : this,
				url : 'cstLogout.do',
				success : function(response, options) {
					if (response.responseText != '') {
						var rst = Ext.util.JSON.decode(response.responseText);
						if (rst && rst.success) {
							Ext.Msg.show({
										title : '提示',
										msg : '您已成功退出系统...',
										buttons : Ext.Msg.OK,
										icon : Ext.MessageBox.INFO,
										fn : function(btn, text) {
											if (btn == 'ok') {
												window.location.href = 'index.jsp';
											}
										}
									});
						}
					}

				},
				failure : function(response, options) {
				}
			})
}