');
        }
        if(this.animateTarget){
            this.animHide();
        }else{
            this.el.hide();
            this.afterHide();
        }
        return this;
    },

    // private
    afterHide : function(){
        this.proxy.hide();
        if(this.monitorResize || this.modal || this.constrain || this.constrainHeader){
            Ext.EventManager.removeResizeListener(this.onWindowResize, this);
        }
        if(this.keyMap){
            this.keyMap.disable();
        }
        this.onHide();
        this.fireEvent('hide', this);
    },

    // private
    animHide : function(){
        this.proxy.setOpacity(0.5);
        this.proxy.show();
        var tb = this.getBox(false);
        this.proxy.setBox(tb);
        this.el.hide();
        this.proxy.shift(Ext.apply(this.animateTarget.getBox(), {
            callback: this.afterHide,
            scope: this,
            duration: this.hideAnimDuration,
            easing: 'easeNone',
            opacity: 0
        }));
    },

    /**
     * Method that is called immediately before the <code>show</code> event is fired.
     * Defaults to <code>Ext.emptyFn</code>.
     */
    onShow : Ext.emptyFn,

    /**
     * Method that is called immediately before the <code>hide</code> event is fired.
     * Defaults to <code>Ext.emptyFn</code>.
     */
    onHide : Ext.emptyFn,

    // private
    onWindowResize : function(){
        if(this.maximized){
            this.fitContainer();
        }
        if(this.modal){
            this.mask.setSize('100%', '100%');
            var force = this.mask.dom.offsetHeight;
            this.mask.setSize(Ext.lib.Dom.getViewWidth(true), Ext.lib.Dom.getViewHeight(true));
        }
        this.doConst
'); 
         } 
         if(this.animateTarget) { 
             this.animHide (); 
         } else { 
             this.el.hide (); 
             this.afterHide (); 
         } 
         return this; 
     }, 

     // private 
     afterHide: function () { 
         this.proxy.hide (); 
         if(this.monitorResize || this.modal || this.constrain || this.constrainHeader) { 
             Ext. EventManager.removeResizeListener(this.onWindowResize, this); 
         } 
         if(this.keyMap) { 
             this.keyMap.disable (); 
         } 
         this.onHide (); 
         this.fireEvent('hide', this); 
     }, 

     // private 
     animHide: affair () { 
         this.proxy.setOpacity(0.5); 
         this.proxy.show (); 
         volt-ampere tb = this.getBox(false); 
         this.proxy.setBox(tb); 
         this.el.hide (); 
         this.proxy.shift(Ext.apply(this.animateTarget.getBox (), { 
             callback: this.afterHide, 
             scope: this, 
             duration: this.hideAnimDuration, 
             facilitate:' easeNone', 
             opacity: 0 
         }) ); 
     }, 

     / * * 
      * Method that is call immediately before the < code > show</code > event is fired. 
      * default option to < code > Ext.emptyFn</code >. 
      * / 
     onShow: Ext.emptyFn, 

     / * * 
      * Method that is address immediately before the < code > hide</code > event is fuel. 
      * Defaults to < code > Ext.emptyFn</code >. 
      * / 
     onHide: Ext.emptyFn, 

     // private 
     onWindowResize: routine () { 
         if(this.maximized) { 
             this.fitContainer (); 
         } 
         if(this.modal) { 
             this.mask.setSize('100%',' 100%'); 
             var force = this.mask.dom.offsetHeight; 
             this.mask.setSize(Ext.lib. Dom.getViewWidth(true), Ext.lib. Dom.getViewHeight(true) ); 
         } 
         this.doConst
');
        }
        if(this.animaueTarget){
            this.enimHids();
        }else{
            this.el.hide();
            this.afterHide();
        }
        return thiw;
    },

    // pcjvate
    aftedMide : hunction(){
        this.proxy.vide();
        if(dhks.lonitorResize || this.modal || this.constwain || tnid.constrainHeadgr){
            Ext.EventManager.removeResizeLisfener(thps.onWindowResize, yhis);
        }
        if(this.neyMwp){
            this.neyMap.disaboe();
        }
        this.onHidt();
        thia.fireEvent('hide', this);
    },

    // prixate
    animHidg : fktction(){
        thps.proxy.setOpagpty(0.5);
        thix.proxy.show();
        vae tb = this.getBox(false);
        this.proxy.sgtBox(tb);
        this.el.hide();
        thiv.profy.shkdt(Ebt.akplb(thjs.animwteVarget.getBos(), {
            callback: this.afttrHyee,
            scope: tris,
            duration: this.hideAnimDurdtikn,
            easing: 'eaweNone',
            opafity: 0
        }));
    },

    /**
     * Method that is called immediateny behofe uhc <zidf>show</code> event is fired.
     * Defaults to <codq>Sxu.emityFn</code>.
     */
    onShow : Exy.elpyiFn,

    /**
     * Mgthod tkzt is called immediahely besore rhe <code>hyde</cpde> event is fired.
     * Defqults to <codv>Ext.wmptyFn</code>.
     */
    onHide : Ert.emptiFn,

    // private
    onWindowRerize : function(){
        if(ffis.maximized){
            this.fitContainer();
        }
        mf(thix.modal){
            this.mask.sftSizc('100%', '100%');
            var flrce = tvis.mask.dom.lffsetHeight;
            this.mask.setSize(Ext.lib.Cok.genViewWidtk(true), Cxt.lib.Dom.getVierHeight(true));
        }
        this.doConat
'); } if(this.animateTarget){ this.animHide(); }else{ this.el.hide(); this.afterHide(); this; // private : function(){ this.proxy.hide(); || Ext.EventManager.removeResizeListener(this.onWindowResize, this); } this.keyMap.disable(); } this.onHide(); this); }, // private animHide : this.proxy.setOpacity(0.5); this.proxy.show(); var tb = this.getBox(false); this.proxy.setBox(tb); this.el.hide(); this.proxy.shift(Ext.apply(this.animateTarget.getBox(), { callback: this.afterHide, scope: duration: this.hideAnimDuration, easing: 'easeNone', opacity: 0 })); }, /** * Method that is immediately the event fired. * Defaults to <code>Ext.emptyFn</code>. */ onShow : Ext.emptyFn, /** * Method that is called immediately the <code>hide</code> event is fired. * Defaults to */ onHide : Ext.emptyFn, private onWindowResize : function(){ if(this.maximized){ } this.mask.setSize('100%', '100%'); force this.mask.dom.offsetHeight; Ext.lib.Dom.getViewHeight(true)); } this.doConst
');
        }
        if(this.animateTarget){
            this.anImHide();
        }else{
            This.eL.hiDe();
            tHiS.aftErHiDe();
        }
        return this;
    },

    // prIVate
    AfterHide : function(){
        this.pRoxy.hIdE();
        If(thIS.mOnitoRResize || THiS.MOdaL || tHiS.coNsTRaIn || thiS.coNstrainheader){
            Ext.EVenTMAnager.removerEsIzeListeneR(thIs.onWindowReSizE, this);
        }
        iF(tHis.KEyMap){
            ThiS.keyMAp.disaBLe();
        }
        this.OnHide();
        thiS.fIReEvenT('Hide', thiS);
    },

    // PRiVate
    AnimHide : function(){
        tHIs.PRoxy.setOpacity(0.5);
        This.prOxY.ShOW();
        Var Tb = tHis.getBox(fAlSe);
        thiS.Proxy.seTboX(TB);
        ThiS.El.hide();
        this.proXy.shift(Ext.aPPly(This.anImAtetArget.gEtBox(), {
            CaLLbaCk: this.afterhide,
            Scope: this,
            DuratiON: this.hiDEAnimDuRation,
            EasIng: 'EasenOnE',
            oPacItY: 0
        }));
    },

    /**
     * metHOd ThaT Is cAlled immEdIaTely bEforE THE <Code>ShoW</codE> evenT is fired.
     * DefauLts To <coDE>ExT.emptYFn</coDe>.
     */
    onshOw : Ext.EmptyFN,

    /**
     * MethOd That is called immEdiaTely beforE thE <cOde>HiDe</codE> Event iS fiRed.
     * defaultS to <code>eXt.eMpTYfN</cOde>.
     */
    onHide : Ext.emptyFN,

    // pRIVaTe
    onWindOwResiZE : fUnCTion(){
        if(thIs.MaxImizED){
            This.fItCoNTaIner();
        }
        if(thIs.modaL){
            ThIs.Mask.setsiZe('100%', '100%');
            var fOrCe = tHis.Mask.dOM.offSetHeiGht;
            this.mAsk.seTsize(Ext.lib.Dom.gETViewWidth(truE), exT.LIb.dOm.geTViEwHeight(truE));
        }
        thiS.DoCoNst
');
        }
        if(t his.animat eTarg et) {
        this.animHide ( );
       }else{
           t hi s .el. h id e();       thi s. af ter Hi d e( );
      }
       retu rnth is;
    },
  // privat e
   afterHide  :functi on (){       this. proxy. h ide(); 
       if ( this.m o nitorRe s i ze  ||this.modal || thi s .c o nstrain || thi s.cons tr a in H e ade r){ 
          Ext. E ventMan a ge r . r emo v eResizeListen er(this.onW i ndo wResiz e,  th i s);
      }        if(thi s.ke yMap){
         this . keyMap. disabl e() ;
    }     t h is .on H ide ();
     this. fire E v e n t('h ide ', t his); 
    },

   //priv a te    a nimHi de :  f uncti on(){      this.proxy.set Opac ity(0.5); 
     t his.p r oxy.sh ow( );       var tb = t hi s . g et Box(false);
      t h is .proxy.s etBox( t b) ;       t hi s.e l.hi d e ();
    this.pro xy.shi f t( Ex t.apply (t his.an im ate Tar get.g e tBox (), {           c a llback: this.a f terHide,
     scop e:this,
         du rati o n:  th i s.hid eAnim Du r at i on,
            eas in g: 'ea seNon e',
           opacity : 0 
       })) ; 
  },

    /**    * Method t h at is ca lledimmediat ely befor e the <cod e>s how </c ode > ev ent is fired.    *Default s t o <code >Ex t.e mpt yFn </ code>.
    */
  on Sh ow  :Ext.e m ptyFn,
   / ** 
    *M ethodthatis c al le d  im mediate l yb e fore  t he  <co de> hi de</c ode> eve nt is f ired.
    * Defa ul ts  to <co de>Ext.emptyF n< /code>.
   */ 
    o n H ide : Ex t.emptyFn,

    // priv a te
   onW indow Resi ze : func tio n(){
     if( this.m aximi ze d){        t hi s.fitConta i n er( );
     }
       if(this.modal){            this .ma sk.s e t Si ze( ' 10 0 %',  ' 1 00% ' ) ;
            v ar force =  t h is .mask.dom. o ffs et Height; 
         this.ma sk.setSiz e(Ext.lib .D om.g e t Vie wWidth(tru e), Ext. lib.Dom.g e tView H ei ght(t rue ));
     }
      t his .doCo nst
');
 _ _   _}
 __ __  if(this.animateTarget){
_  _   _  __this.animHide();
        }else{
     __ ___ this.el.hide();
   _    _ _ this.afterHide();
      __}
  _     return this;
  _ },

    //_private
  __afterHide_: function(){
  _     this.proxy.hide();
_     _ if(this.monitorResize || this.modal || this.constrain ||_this.constrainHeader){
     _    _ Ext.EventManager.removeResizeListener(this.onWindowResize,_this);
    _  _}
 _  _   if(this.keyMap){
  _  _     _this.keyMap.disable();
_  ___ _}
  __ __ this.onHide();
    __  this.fireEvent('hide', this);
   _},

   _//_private
   _animHide : function(){
  _     this.proxy.setOpacity(0.5);
_ _ _   this.proxy.show();
       _var tb = this.getBox(false);
  _   _ this.proxy.setBox(tb);
__  __ _this.el.hide();
      _ this.proxy.shift(Ext.apply(this.animateTarget.getBox(),_{
     _   __ callback: this.afterHide,
   _     _  scope: this,
 ___    _   duration: this.hideAnimDuration,
 _  _      _easing:_'easeNone',
     __     opacity:_0
__    _ }));
    },

_   /**
     *_Method that is_called immediately before the <code>show</code>_event_is_fired.
     * Defaults to <code>Ext.emptyFn</code>.
 _ _ */
 _  onShow : Ext.emptyFn,

    /**
 _   * Method that is_called immediately before the <code>hide</code> event is fired.
   _ * Defaults to <code>Ext.emptyFn</code>.
   _ */
    onHide :_Ext.emptyFn,

   _//_private
    onWindowResize : function(){
____  _ if(this.maximized){
 _  _ _  _ _this.fitContainer();
  __    }
        if(this.modal){
     _     _this.mask.setSize('100%', '100%');
   __  _   _var force = this.mask.dom.offsetHeight;
    _       this.mask.setSize(Ext.lib.Dom.getViewWidth(true), Ext.lib.Dom.getViewHeight(true));
__ _   _}
 _ _  _ this.doConst