Ext.EventManager.onWindowResize(function(){if(Ext.getCmp("dailyEmailWin")!=null&&Ext.getCmp("dailyEmailWin")!=undefined&&Ext.getCmp("dailyEmailWin").hidden==false){Ext.getCmp("dailyEmailWin").setHeight(Ext.getBody().getHeight()-25);}});Ext.define("UserProfile.view.dailyEmailWin",{extend:"Ext.window.Window",alias:"widget.dailyemailwin",requires:["Ext.form.Panel","Ext.form.RadioGroup","Ext.form.field.Radio","Ext.form.field.Text"],title:dailyEmailTitle,id:"dailyEmailWin",height:Ext.getBody().getHeight()-25,width:800,layout:{type:"fit"},panelInfo:"",scrollable:true,modal:true,draggable:false,resizable:false,items:[{xtype:"dailyemailsettings"}],listeners:{"close":function(){this.destroy();
}}});