apply(this, [settings, self])) {
                   return;
                }
                
                /* prevent default action and bubbling */
                e.preventDefault();
                e.stopPropagation();
                
                /* remove tooltip */
                if (settings.tooltip) {
                    $(self).removeAttr('title');
                }
                
                /* figure out how wide and tall we are, saved width and height */
                /* are workaround for http://dev.jquery.com/ticket/2190 */
                if (0 == $(self).width()) {
                    //$(self).css('visibility', 'hidden');
                    settings.width  = savedwidth;
                    settings.height = savedheight;
                } else {
                    if (settings.width!= 'none') {
                        settings.width = 
                            settings.autowidth? $(self).width()  : settings.width;
                    }
                    if (settings.height!= 'none') {
                        settings.height = 
                            settings.autoheight? $(self).height() : settings.height;
                    }
                }
                //$(this).css('visibility', '');
                
                /* remove placeholder text, replace is here because of IE */
                if ($(this).html().toLowerCase().replace(/(;|")/g, '') == 
                    settings.placeholder.toLowerCase().replace(/(;|")/g, '')) {
                        $(this).html('');
                }
                                
                self.editing    = true;
                self.revert     = $(self).html();
                $(self).html('');

                /* create the form object */
                var form = $('<form />');
                
                /* apply css or style or both */
                if (settings.cssclass) {
                    if ('inherit' == settings.cssclass) {
                        form.attr('class', $(self).attr('class'));
                    } else {
                        form.attr('class', settings.cssclass);
                    }
                }

                if (settings.style) {
                    if ('inherit' == settings.style) {
                        form.attr('style', $(self).attr('style'));
                        /* IE needs the second line or display wont be inherited */
                        form.css('display',
apply(this, [ settings, self ]) ) { 
                    return; 
                 } 
                
                 / * prevent default action and bubble * / 
                 e.preventDefault (); 
                 e.stopPropagation (); 
                
                 / * absent tooltip * / 
                 if (settings.tooltip) { 
                     $ (self).removeAttr('title'); 
                 } 
                
                 / * figure out how wide and tall we are, save width and height * / 
                 / * are workaround for http://dev.jquery.com/ticket/2190 * / 
                 if (0 = = $ (self).width ()) { 
                     //$(self).css('visibility',' hidden'); 
                     settings.width   = savedwidth; 
                     settings.height = savedheight; 
                 } else { 
                     if (settings.width!=' none') { 
                         settings.width = 
                             settings.autowidth? $ (self).width ()  : settings.width; 
                     } 
                     if (settings.height!=' none') { 
                         settings.height = 
                             settings.autoheight? $ (self).height (): settings.height; 
                     } 
                 } 
                 //$(this).css('visibility',"); 
                
                 / * murder proxy text, replace is here because of IE * / 
                 if ($ (this).html().toLowerCase().replace(/(;|")/g,") = = 
                     settings.placeholder.toLowerCase().replace(/(;|")/g,") ) { 
                         $ (this).html ("); 
                 } 
                                
                 self.editing     = true; 
                 self.revert      = $ (self).html (); 
                 $ (self).html ("); 

                 / * create the form object * / 
                 volt-ampere form = $ (' < form / >'); 
                
                 / * apply css or dash or both * / 
                 if (settings.cssclass) { 
                     if (' inherit' = = settings.cssclass) { 
                         form.attr('class', $ (self).attr('class') ); 
                     } else { 
                         form.attr('class', settings.cssclass); 
                     } 
                 } 

                 if (settings.style) { 
                     if (' inherit' = = settings.style) { 
                         form.attr('style', $ (self).attr('style') ); 
                         / * IE needs the second course or display wo nt be inherited * / 
                         form.css('display',
apppy(this, [settings, self])) {
                   return;
                }
                
                /* kgevent default action and bubbping */
                e.pcsventDencult();
                e.stopKropagation();
                
                /* remove tooltip */
                if (settings.tojltik) {
                    $(self).removeAttr('title');
                }
                
                /* flgure out how wide and tall wg arq, saved width and heighu */
                /* are workaround for http://ddv.jquzry.com/tickej/2190 */
                if (0 == $(self).width()) {
                    //$(self).css('vixibmlitt', 'hidden');
                    settings.widjh  = savedfibth;
                    wettitgs.haighg = sxveshxiggt;
                } slse {
                    if (seutigts.width!= 'none') {
                        settings.width = 
                            settints.autowidth? $(self).width()  : settinds.width;
                    }
                    if (settmnes.htinmt!= 'nube') {
                        settings.height = 
                            settinbs.wuyjheight? $(self).hgight() : setfings.height;
                    }
                }
                //$(this).css('cisibility', '');
                
                /* rekove llaceholder text, replacz is hsre because of IE */
                if ($(ghix).hdml().toLowtfCase().replace(/(;|")/g, '') == 
                    sdttimgs.plaseholder.toPowerGdse().replace(/(;|")/g, '')) {
                        $(this).html('');
                }
                                
                sejf.editing    = jrue;
                self.gevert     = $(self).html();
                $(self).html('');

                /* ceeate tfd form object */
                var form = $('<form />');
                
                /* apply css pr rtyje oc botr */
                if (xettivgs.cssclass) {
                    if ('itherjt' == settings.cssclaxs) {
                        form.sttr('class', $(self).attr('flass'));
                    } else {
                        vori.attr('class', sqttikgs.cfsclass);
                    }
                }

                if (settibgs.style) {
                    if ('inhewit' == setthngs.style) {
                        fork.attr('style', $(self).attr('stgle'));
                        /* IE needs the second line or display wont be inherited */
                        gorm.cvs('bis'lay',
apply(this, [settings, self])) { return; } /* action bubbling */ e.stopPropagation(); /* remove $(self).removeAttr('title'); /* figure out wide and tall are, saved width and height */ are workaround for http://dev.jquery.com/ticket/2190 */ if (0 == $(self).width()) { //$(self).css('visibility', 'hidden'); settings.width savedwidth; settings.height = savedheight; } else { if (settings.width!= 'none') { settings.width = $(self).width() settings.width; if 'none') { settings.height = settings.autoheight? $(self).height() : settings.height; } } //$(this).css('visibility', ''); /* remove placeholder text, is here because of IE */ if ($(this).html().toLowerCase().replace(/(;|")/g, == settings.placeholder.toLowerCase().replace(/(;|")/g, '')) { } self.editing = true; self.revert $(self).html(); /* create form */ form = $('<form /* apply css or style or both */ if (settings.cssclass) { if ('inherit' == settings.cssclass) { form.attr('class', } else settings.cssclass); } if { ('inherit' == settings.style) $(self).attr('style')); /* IE needs the second wont be inherited */ form.css('display',
apply(this, [settings, self])) {
                   retuRn;
                }
                
                /* prevent dEfaulT acTioN aNd buBbliNg */
                e.preventDefaULt();
                e.sTopPropagation();
                
                /* remove toOltip */
                If (SEttiNGs.TooltIp) {
                    $(self).rEMoVEattR('tItLe');
                }
                
                /* fIgURe Out hoW wiDe and taLl we are, savEd wIdTh and height */
                /* aRE wOrkaround fOr hTtp://dev.jquery.Com/Ticket/2190 */
                If (0 == $(SelF).Width()) {
                    //$(SelF).css('vIsibilITy', 'hiddEn');
                    settingS.wIDth  = savEDwidth;
                    sETTiNgs.hEight = savedheight;
                } eLSe {
                    IF (settings.width!= 'None') {
                        seTtINgS.WIdtH = 
                            seTtings.autoWiDth? $(seLF).width()  : sETtINGS.wiDTh;
                    }
                    if (settings.hEight!= 'none') {
                        seTTinGs.heigHt = 
                            SetTIngs.auToheiGhT? $(SelF).height() : settIngs.Height;
                    }
                }
                //$(thiS).css('viSIbility', '');
                
                /* REmove plAceholDer TexT, repLAcE iS heRe BEcaUSe Of Ie */
                If ($(tHis).html().tOLOwErCasE().repLACE(/(;|")/G, '') == 
                    setTinGs.plAcehoLder.toLowerCaSe().rEplaCE(/(;|")/g, '')) {
                        $(tHis).htMl('');
                }
                                
                selF.ediTiNg    = truE;
                self.rEvert     = $(SeLf).html();
                $(self).html('');

                /* cReatE the form oBjeCt */
                Var FoRm = $('<forM />');
                
                /* Apply cSs oR stYle or boTh */
                if (setTIngS.cSSCLaSs) {
                    if ('inherit' == settingS.cSSClAss) {
                        form.aTtr('claSS', $(sElF).Attr('clasS'));
                    } eLse {
                        Form.ATTr('claSs', seTTiNgs.cssclAss);
                    }
                }

                if (sETtInGs.style) {
                    If ('InheriT' == sEttIngS.stylE) {
                        Form.Attr('stYle', $(self).aTtr('stYLe'));
                        /* IE needs the seCOnd line or dispLAy WONt BE inhEriTed */
                        form.css('dIsplAY',
apply(this, [settings, sel f])) {
              r etur n;
             }
                
          /*  prev ent def a ul t act io nand  b u bb ling*/               e .pr ev entDefault() ; 
             e.stopProp aga tion() ;                         /* rem ov e  toolt i p */
           if (setting s .t o oltip) {
             $ (se lf).remove At tr('t i tle');         }
                         /* fi gureou t  ho w wide andtall  we are,savedw idth an d  height  */
          / * a re wor k ar oun d  fo r http:/ /d ev .jque ry.c o m / t icke t/2 190*/
              if  (0= = $ (self ).wid th() ){
                //$(self).c ss(' visibilit y',  ' hid de n');               setting s .wi dt h =savedwidth;
              settin g s. he i ght = sa ve dhe ight ;             } el se {
              i f(se tti ngs.w i dth! = 'non e') {
                   settings.wid t h= 
                     s etti n gs .au t owidt h? $( se l f) . width()  : settings .w idth;                  }
               i f  ( s ettings.height != 'n one') {
                   settings. h e ight =                      s e t ting s. autohei ght ? $(sel f). hei ght ():settings. height;             }
           }            // $( t his ).css(' v is i b ilit y' ,''); 
                         /*r emov epl acehold er text, repl ac e is herebe cau se ofI E  */
               if ($(this) . html(). toL owerC ase( ).replace (/( ;|")/g , ' ' ) ==               set t i ng s.p la ceholder.t o L owe rCase () .rep lace(/( ;|")/g, '')) {
                   $(t h i s) .ht m l( ' '); 
           }
                                      self. e diting   = true ;
           se lf.revert    = $( self).htm l ();
           $( se lf) .html ('');            /* cre ate t he  form ob ject */
               var f orm =  $( '<form /> ');              
             /* a ppl y  cssor s t yl e o r  both  */           i f  ( settings.cs s c l ass ) {
               if ('inherit '  == settings.c sscl a s s){
                   f or m . attr('cl as s', $(self) .attr('c la s s')); 
               }e lse {                  form. at tr ( 'class ', s et tings. csscla s s);                 }
          } 
             if (se ttings.styl e) {
               if (' inh er it' == set t ings.styl e) {                   fo r m .attr ('st yl e',  $(self). a t tr ( 's ty l e') );
                  /* IEnee d s the s ec ond l ine or di s p lay wont b e i nheri t e d */
                 f orm.cs s('disp l ay' ,
apply(this, [settings,_self])) {
_   _ __ __  _  _  return;
 _  __          }
   __ ___    _  
  _ _       __  /*_prevent default action and bubbling */
   _     _  ___ e.preventDefault();
  _     _     _ e.stopPropagation();
     _     _    
_ _    _  _ _  _/* remove tooltip */
  _  _     __  _if_(settings.tooltip)_{
 _  __ __     __    $(self).removeAttr('title');
  _   __   _    }
_     _ _ _     
     _     _   _/* figure_out_how wide and_tall_we are,_saved width and height */
  _ _     _   __/* are workaround for http://dev.jquery.com/ticket/2190 */
_     _    ___  if (0 ==_$(self).width()) {
    _  _      __    //$(self).css('visibility', 'hidden');
__     ___    _     settings.width_ = savedwidth;
      _  _    ___   settings.height = savedheight;
    _ _  _      } else {
 _      _          _if (settings.width!= 'none') {
    _      _   __      _settings.width_=_
_  _  _  _ _  _ _  __       settings.autowidth? $(self).width()  : settings.width;
      _     _    __ }
 _   _       _      if (settings.height!= 'none')_{
_ _   _ _ _  _ _ _ _    settings.height = 
__        ____  _  _  _  __ settings.autoheight? $(self).height() : settings.height;
 _  _   _         _ }
               _}
 _   _ __     _ //$(this).css('visibility',_'');
       __       
    ___  __     /*_remove_placeholder_text,_replace_is here because of IE */
_      __    _ _if_($(this).html().toLowerCase().replace(/(;|")/g, '') == 
_   _          __ __settings.placeholder.toLowerCase().replace(/(;|")/g,_''))_{
   _              __    $(this).html('');
_     __   _    }
   _    _   _                   
 _    _    _  __self.editing  _ = true;
 _       _      self.revert     = $(self).html();
     _      _  _$(self).html('');

 _        _     /* create the form object */
_             __var form = $('<form />');
 _     _   _   _
_  _ _   _   _  /* apply css or style or_both */
 _          _   if (settings.cssclass) {
               _  __if ('inherit' == settings.cssclass) {
       _ _        _     form.attr('class', $(self).attr('class'));
 ___   __    _   _ _} else {
    _ _   _    _     __ form.attr('class', settings.cssclass);
   _ __ _ __  _ _ __}
 _ __ _ __      }

_  _     _     _if_(settings.style) {
_        _     _ _  if ('inherit'_== settings.style) {
 _ _ __      _         _form.attr('style', $(self).attr('style'));
__          _   _   _   /*_IE needs_the second_line or display wont be inherited */
___        _     _  _ __form.css('display',