/* automatically generated by JSCoverage - do not edit */
try {
  if (typeof top === 'object' && top !== null && typeof top.opener === 'object' && top.opener !== null) {
    // this is a browser window that was opened from another window

    if (! top.opener._$jscoverage) {
      top.opener._$jscoverage = {};
    }
  }
}
catch (e) {}

try {
  if (typeof top === 'object' && top !== null) {
    // this is a browser window

    try {
      if (typeof top.opener === 'object' && top.opener !== null && top.opener._$jscoverage) {
        top._$jscoverage = top.opener._$jscoverage;
      }
    }
    catch (e) {}

    if (! top._$jscoverage) {
      top._$jscoverage = {};
    }
  }
}
catch (e) {}

try {
  if (typeof top === 'object' && top !== null && top._$jscoverage) {
    _$jscoverage = top._$jscoverage;
  }
}
catch (e) {}
if (typeof _$jscoverage !== 'object') {
  _$jscoverage = {};
}
if (! _$jscoverage['plugins/autofloat.js']) {
  _$jscoverage['plugins/autofloat.js'] = [];
  _$jscoverage['plugins/autofloat.js'][10] = 0;
  _$jscoverage['plugins/autofloat.js'][11] = 0;
  _$jscoverage['plugins/autofloat.js'][13] = 0;
  _$jscoverage['plugins/autofloat.js'][16] = 0;
  _$jscoverage['plugins/autofloat.js'][21] = 0;
  _$jscoverage['plugins/autofloat.js'][22] = 0;
  _$jscoverage['plugins/autofloat.js'][24] = 0;
  _$jscoverage['plugins/autofloat.js'][28] = 0;
  _$jscoverage['plugins/autofloat.js'][29] = 0;
  _$jscoverage['plugins/autofloat.js'][30] = 0;
  _$jscoverage['plugins/autofloat.js'][31] = 0;
  _$jscoverage['plugins/autofloat.js'][33] = 0;
  _$jscoverage['plugins/autofloat.js'][35] = 0;
  _$jscoverage['plugins/autofloat.js'][36] = 0;
  _$jscoverage['plugins/autofloat.js'][37] = 0;
  _$jscoverage['plugins/autofloat.js'][38] = 0;
  _$jscoverage['plugins/autofloat.js'][40] = 0;
  _$jscoverage['plugins/autofloat.js'][45] = 0;
  _$jscoverage['plugins/autofloat.js'][46] = 0;
  _$jscoverage['plugins/autofloat.js'][49] = 0;
  _$jscoverage['plugins/autofloat.js'][50] = 0;
  _$jscoverage['plugins/autofloat.js'][51] = 0;
  _$jscoverage['plugins/autofloat.js'][52] = 0;
  _$jscoverage['plugins/autofloat.js'][53] = 0;
  _$jscoverage['plugins/autofloat.js'][54] = 0;
  _$jscoverage['plugins/autofloat.js'][56] = 0;
  _$jscoverage['plugins/autofloat.js'][58] = 0;
  _$jscoverage['plugins/autofloat.js'][59] = 0;
  _$jscoverage['plugins/autofloat.js'][60] = 0;
  _$jscoverage['plugins/autofloat.js'][62] = 0;
  _$jscoverage['plugins/autofloat.js'][63] = 0;
  _$jscoverage['plugins/autofloat.js'][64] = 0;
  _$jscoverage['plugins/autofloat.js'][65] = 0;
  _$jscoverage['plugins/autofloat.js'][69] = 0;
  _$jscoverage['plugins/autofloat.js'][70] = 0;
  _$jscoverage['plugins/autofloat.js'][71] = 0;
  _$jscoverage['plugins/autofloat.js'][72] = 0;
  _$jscoverage['plugins/autofloat.js'][74] = 0;
  _$jscoverage['plugins/autofloat.js'][77] = 0;
  _$jscoverage['plugins/autofloat.js'][78] = 0;
  _$jscoverage['plugins/autofloat.js'][79] = 0;
  _$jscoverage['plugins/autofloat.js'][80] = 0;
  _$jscoverage['plugins/autofloat.js'][81] = 0;
  _$jscoverage['plugins/autofloat.js'][83] = 0;
  _$jscoverage['plugins/autofloat.js'][86] = 0;
  _$jscoverage['plugins/autofloat.js'][87] = 0;
  _$jscoverage['plugins/autofloat.js'][90] = 0;
  _$jscoverage['plugins/autofloat.js'][91] = 0;
  _$jscoverage['plugins/autofloat.js'][92] = 0;
  _$jscoverage['plugins/autofloat.js'][95] = 0;
  _$jscoverage['plugins/autofloat.js'][96] = 0;
  _$jscoverage['plugins/autofloat.js'][98] = 0;
  _$jscoverage['plugins/autofloat.js'][99] = 0;
  _$jscoverage['plugins/autofloat.js'][100] = 0;
  _$jscoverage['plugins/autofloat.js'][101] = 0;
  _$jscoverage['plugins/autofloat.js'][102] = 0;
  _$jscoverage['plugins/autofloat.js'][103] = 0;
  _$jscoverage['plugins/autofloat.js'][104] = 0;
  _$jscoverage['plugins/autofloat.js'][106] = 0;
  _$jscoverage['plugins/autofloat.js'][107] = 0;
  _$jscoverage['plugins/autofloat.js'][109] = 0;
  _$jscoverage['plugins/autofloat.js'][110] = 0;
  _$jscoverage['plugins/autofloat.js'][111] = 0;
  _$jscoverage['plugins/autofloat.js'][114] = 0;
  _$jscoverage['plugins/autofloat.js'][115] = 0;
  _$jscoverage['plugins/autofloat.js'][116] = 0;
  _$jscoverage['plugins/autofloat.js'][119] = 0;
  _$jscoverage['plugins/autofloat.js'][120] = 0;
  _$jscoverage['plugins/autofloat.js'][121] = 0;
  _$jscoverage['plugins/autofloat.js'][124] = 0;
  _$jscoverage['plugins/autofloat.js'][125] = 0;
  _$jscoverage['plugins/autofloat.js'][126] = 0;
}
_$jscoverage['plugins/autofloat.js'].source = ["<span class=\"c\">///import core</span>","<span class=\"c\">///commands &#24748;&#28014;&#24037;&#20855;&#26639;</span>","<span class=\"c\">///commandsName  AutoFloat,autoFloatEnabled</span>","<span class=\"c\">///commandsTitle  &#24748;&#28014;&#24037;&#20855;&#26639;</span>","<span class=\"c\">/*</span>","<span class=\"c\"> *  modified by chengchao01</span>","<span class=\"c\"> *</span>","<span class=\"c\"> *  &#27880;&#24847;&#65306; &#24341;&#20837;&#27492;&#21151;&#33021;&#21518;&#65292;&#22312;IE6&#19979;&#20250;&#23558;body&#30340;&#32972;&#26223;&#22270;&#29255;&#35206;&#30422;&#25481;&#65281;</span>","<span class=\"c\"> */</span>","    UE<span class=\"k\">.</span>plugins<span class=\"k\">[</span><span class=\"s\">'autofloat'</span><span class=\"k\">]</span> <span class=\"k\">=</span> <span class=\"k\">function</span><span class=\"k\">()</span> <span class=\"k\">{</span>","        <span class=\"k\">var</span> me <span class=\"k\">=</span> <span class=\"k\">this</span><span class=\"k\">,</span>","                lang <span class=\"k\">=</span> me<span class=\"k\">.</span>getLang<span class=\"k\">();</span>","        me<span class=\"k\">.</span>setOpt<span class=\"k\">(</span><span class=\"k\">{</span>","            topOffset<span class=\"k\">:</span><span class=\"s\">0</span>","        <span class=\"k\">}</span><span class=\"k\">);</span>","        <span class=\"k\">var</span> optsAutoFloatEnabled <span class=\"k\">=</span> me<span class=\"k\">.</span>options<span class=\"k\">.</span>autoFloatEnabled <span class=\"k\">!==</span> <span class=\"k\">false</span><span class=\"k\">,</span>","        topOffset <span class=\"k\">=</span> me<span class=\"k\">.</span>options<span class=\"k\">.</span>topOffset<span class=\"k\">;</span>","","","        <span class=\"c\">//&#22914;&#26524;&#19981;&#22266;&#23450;toolbar&#30340;&#20301;&#32622;&#65292;&#21017;&#30452;&#25509;&#36864;&#20986;</span>","        <span class=\"k\">if</span><span class=\"k\">(!</span>optsAutoFloatEnabled<span class=\"k\">)</span><span class=\"k\">{</span>","            <span class=\"k\">return</span><span class=\"k\">;</span>","        <span class=\"k\">}</span>","        <span class=\"k\">var</span> uiUtils <span class=\"k\">=</span> UE<span class=\"k\">.</span>ui<span class=\"k\">.</span>uiUtils<span class=\"k\">,</span>","       \t\tLteIE6 <span class=\"k\">=</span> browser<span class=\"k\">.</span>ie <span class=\"k\">&amp;&amp;</span> browser<span class=\"k\">.</span>version <span class=\"k\">&lt;=</span> <span class=\"s\">6</span><span class=\"k\">,</span>","            quirks <span class=\"k\">=</span> browser<span class=\"k\">.</span>quirks<span class=\"k\">;</span>","","        <span class=\"k\">function</span> checkHasUI<span class=\"k\">()</span><span class=\"k\">{</span>","           <span class=\"k\">if</span><span class=\"k\">(!</span>UE<span class=\"k\">.</span>ui<span class=\"k\">)</span><span class=\"k\">{</span>","              alert<span class=\"k\">(</span>lang<span class=\"k\">.</span>autofloatMsg<span class=\"k\">);</span>","               <span class=\"k\">return</span> <span class=\"s\">0</span><span class=\"k\">;</span>","           <span class=\"k\">}</span>","           <span class=\"k\">return</span> <span class=\"s\">1</span><span class=\"k\">;</span>","       <span class=\"k\">}</span>","        <span class=\"k\">function</span> fixIE6FixedPos<span class=\"k\">()</span><span class=\"k\">{</span>","            <span class=\"k\">var</span> docStyle <span class=\"k\">=</span> document<span class=\"k\">.</span>body<span class=\"k\">.</span>style<span class=\"k\">;</span>","           docStyle<span class=\"k\">.</span>backgroundImage <span class=\"k\">=</span> <span class=\"s\">'url(\"about:blank\")'</span><span class=\"k\">;</span>","           docStyle<span class=\"k\">.</span>backgroundAttachment <span class=\"k\">=</span> <span class=\"s\">'fixed'</span><span class=\"k\">;</span>","        <span class=\"k\">}</span>","\t\t<span class=\"k\">var</span>\tbakCssText<span class=\"k\">,</span>","\t\t\tplaceHolder <span class=\"k\">=</span> document<span class=\"k\">.</span>createElement<span class=\"k\">(</span><span class=\"s\">'div'</span><span class=\"k\">),</span>","            toolbarBox<span class=\"k\">,</span>orgTop<span class=\"k\">,</span>","            getPosition<span class=\"k\">,</span>","            flag <span class=\"k\">=</span><span class=\"k\">true</span><span class=\"k\">;</span>   <span class=\"c\">//ie7&#27169;&#24335;&#19979;&#38656;&#35201;&#20559;&#31227;</span>","\t\t<span class=\"k\">function</span> setFloating<span class=\"k\">()</span><span class=\"k\">{</span>","\t\t\t<span class=\"k\">var</span> toobarBoxPos <span class=\"k\">=</span> domUtils<span class=\"k\">.</span>getXY<span class=\"k\">(</span>toolbarBox<span class=\"k\">),</span>","\t\t\t\torigalFloat <span class=\"k\">=</span> domUtils<span class=\"k\">.</span>getComputedStyle<span class=\"k\">(</span>toolbarBox<span class=\"k\">,</span><span class=\"s\">'position'</span><span class=\"k\">),</span>","                origalLeft <span class=\"k\">=</span> domUtils<span class=\"k\">.</span>getComputedStyle<span class=\"k\">(</span>toolbarBox<span class=\"k\">,</span><span class=\"s\">'left'</span><span class=\"k\">);</span>","\t\t\ttoolbarBox<span class=\"k\">.</span>style<span class=\"k\">.</span>width <span class=\"k\">=</span> toolbarBox<span class=\"k\">.</span>offsetWidth <span class=\"k\">+</span> <span class=\"s\">'px'</span><span class=\"k\">;</span>","            toolbarBox<span class=\"k\">.</span>style<span class=\"k\">.</span>zIndex <span class=\"k\">=</span> me<span class=\"k\">.</span>options<span class=\"k\">.</span>zIndex <span class=\"k\">*</span> <span class=\"s\">1</span> <span class=\"k\">+</span> <span class=\"s\">1</span><span class=\"k\">;</span>","\t\t\ttoolbarBox<span class=\"k\">.</span>parentNode<span class=\"k\">.</span>insertBefore<span class=\"k\">(</span>placeHolder<span class=\"k\">,</span> toolbarBox<span class=\"k\">);</span>","\t\t\t<span class=\"k\">if</span> <span class=\"k\">(</span>LteIE6 <span class=\"k\">||</span> <span class=\"k\">(</span>quirks <span class=\"k\">&amp;&amp;</span> browser<span class=\"k\">.</span>ie<span class=\"k\">))</span> <span class=\"k\">{</span>","                <span class=\"k\">if</span><span class=\"k\">(</span>toolbarBox<span class=\"k\">.</span>style<span class=\"k\">.</span>position <span class=\"k\">!=</span> <span class=\"s\">'absolute'</span><span class=\"k\">)</span><span class=\"k\">{</span>","                    toolbarBox<span class=\"k\">.</span>style<span class=\"k\">.</span>position <span class=\"k\">=</span> <span class=\"s\">'absolute'</span><span class=\"k\">;</span>","                <span class=\"k\">}</span>","                toolbarBox<span class=\"k\">.</span>style<span class=\"k\">.</span>top <span class=\"k\">=</span> <span class=\"k\">(</span>document<span class=\"k\">.</span>body<span class=\"k\">.</span>scrollTop<span class=\"k\">||</span>document<span class=\"k\">.</span>documentElement<span class=\"k\">.</span>scrollTop<span class=\"k\">)</span> <span class=\"k\">-</span> orgTop <span class=\"k\">+</span> topOffset  <span class=\"k\">+</span> <span class=\"s\">'px'</span><span class=\"k\">;</span>","\t\t\t<span class=\"k\">}</span> <span class=\"k\">else</span> <span class=\"k\">{</span>","                <span class=\"k\">if</span> <span class=\"k\">(</span>browser<span class=\"k\">.</span>ie7Compat <span class=\"k\">&amp;&amp;</span> flag<span class=\"k\">)</span> <span class=\"k\">{</span>","                    flag <span class=\"k\">=</span> <span class=\"k\">false</span><span class=\"k\">;</span>","                    toolbarBox<span class=\"k\">.</span>style<span class=\"k\">.</span>left <span class=\"k\">=</span>  domUtils<span class=\"k\">.</span>getXY<span class=\"k\">(</span>toolbarBox<span class=\"k\">).</span>x <span class=\"k\">-</span> document<span class=\"k\">.</span>documentElement<span class=\"k\">.</span>getBoundingClientRect<span class=\"k\">().</span>left<span class=\"k\">+</span><span class=\"s\">2</span>  <span class=\"k\">+</span> <span class=\"s\">'px'</span><span class=\"k\">;</span>","                <span class=\"k\">}</span>","                <span class=\"k\">if</span><span class=\"k\">(</span>toolbarBox<span class=\"k\">.</span>style<span class=\"k\">.</span>position <span class=\"k\">!=</span> <span class=\"s\">'fixed'</span><span class=\"k\">)</span><span class=\"k\">{</span>","                    toolbarBox<span class=\"k\">.</span>style<span class=\"k\">.</span>position <span class=\"k\">=</span> <span class=\"s\">'fixed'</span><span class=\"k\">;</span>","                    toolbarBox<span class=\"k\">.</span>style<span class=\"k\">.</span>top <span class=\"k\">=</span> topOffset <span class=\"k\">+</span><span class=\"s\">\"px\"</span><span class=\"k\">;</span>","                    <span class=\"k\">((</span>origalFloat <span class=\"k\">==</span> <span class=\"s\">'absolute'</span> <span class=\"k\">||</span> origalFloat <span class=\"k\">==</span> <span class=\"s\">'relative'</span><span class=\"k\">)</span> <span class=\"k\">&amp;&amp;</span> parseFloat<span class=\"k\">(</span>origalLeft<span class=\"k\">))</span> <span class=\"k\">&amp;&amp;</span> <span class=\"k\">(</span>toolbarBox<span class=\"k\">.</span>style<span class=\"k\">.</span>left <span class=\"k\">=</span> toobarBoxPos<span class=\"k\">.</span>x <span class=\"k\">+</span> <span class=\"s\">'px'</span><span class=\"k\">);</span>","                <span class=\"k\">}</span>","\t\t\t<span class=\"k\">}</span>","\t\t<span class=\"k\">}</span>","\t\t<span class=\"k\">function</span> unsetFloating<span class=\"k\">()</span><span class=\"k\">{</span>","            flag <span class=\"k\">=</span> <span class=\"k\">true</span><span class=\"k\">;</span>","            <span class=\"k\">if</span><span class=\"k\">(</span>placeHolder<span class=\"k\">.</span>parentNode<span class=\"k\">)</span><span class=\"k\">{</span>","                placeHolder<span class=\"k\">.</span>parentNode<span class=\"k\">.</span>removeChild<span class=\"k\">(</span>placeHolder<span class=\"k\">);</span>","            <span class=\"k\">}</span>","\t\t\ttoolbarBox<span class=\"k\">.</span>style<span class=\"k\">.</span>cssText <span class=\"k\">=</span> bakCssText<span class=\"k\">;</span>","\t\t<span class=\"k\">}</span>","","        <span class=\"k\">function</span> updateFloating<span class=\"k\">()</span><span class=\"k\">{</span>","            <span class=\"k\">var</span> rect3 <span class=\"k\">=</span> getPosition<span class=\"k\">(</span>me<span class=\"k\">.</span>container<span class=\"k\">);</span>","            <span class=\"k\">var</span> offset<span class=\"k\">=</span>me<span class=\"k\">.</span>options<span class=\"k\">.</span>toolbarTopOffset<span class=\"k\">||</span><span class=\"s\">0</span><span class=\"k\">;</span>","            <span class=\"k\">if</span> <span class=\"k\">(</span>rect3<span class=\"k\">.</span>top <span class=\"k\">&lt;</span> <span class=\"s\">0</span> <span class=\"k\">&amp;&amp;</span> rect3<span class=\"k\">.</span>bottom <span class=\"k\">-</span> toolbarBox<span class=\"k\">.</span>offsetHeight <span class=\"k\">&gt;</span> offset<span class=\"k\">)</span> <span class=\"k\">{</span>","                setFloating<span class=\"k\">();</span>","            <span class=\"k\">}</span><span class=\"k\">else</span><span class=\"k\">{</span>","                unsetFloating<span class=\"k\">();</span>","            <span class=\"k\">}</span>","        <span class=\"k\">}</span>","        <span class=\"k\">var</span> defer_updateFloating <span class=\"k\">=</span> utils<span class=\"k\">.</span>defer<span class=\"k\">(</span><span class=\"k\">function</span><span class=\"k\">()</span><span class=\"k\">{</span>","            updateFloating<span class=\"k\">();</span>","        <span class=\"k\">}</span><span class=\"k\">,</span>browser<span class=\"k\">.</span>ie <span class=\"k\">?</span> <span class=\"s\">200</span> <span class=\"k\">:</span> <span class=\"s\">100</span><span class=\"k\">,</span><span class=\"k\">true</span><span class=\"k\">);</span>","","        me<span class=\"k\">.</span>addListener<span class=\"k\">(</span><span class=\"s\">'destroy'</span><span class=\"k\">,</span><span class=\"k\">function</span><span class=\"k\">()</span><span class=\"k\">{</span>","            domUtils<span class=\"k\">.</span>un<span class=\"k\">(</span>window<span class=\"k\">,</span> <span class=\"k\">[</span><span class=\"s\">'scroll'</span><span class=\"k\">,</span><span class=\"s\">'resize'</span><span class=\"k\">],</span> updateFloating<span class=\"k\">);</span>","            me<span class=\"k\">.</span>removeListener<span class=\"k\">(</span><span class=\"s\">'keydown'</span><span class=\"k\">,</span> defer_updateFloating<span class=\"k\">);</span>","        <span class=\"k\">}</span><span class=\"k\">);</span>","","        me<span class=\"k\">.</span>addListener<span class=\"k\">(</span><span class=\"s\">'ready'</span><span class=\"k\">,</span> <span class=\"k\">function</span><span class=\"k\">()</span><span class=\"k\">{</span>","            <span class=\"k\">if</span><span class=\"k\">(</span>checkHasUI<span class=\"k\">(</span>me<span class=\"k\">))</span><span class=\"k\">{</span>","","                getPosition <span class=\"k\">=</span> uiUtils<span class=\"k\">.</span>getClientRect<span class=\"k\">;</span>","                toolbarBox <span class=\"k\">=</span> me<span class=\"k\">.</span>ui<span class=\"k\">.</span>getDom<span class=\"k\">(</span><span class=\"s\">'toolbarbox'</span><span class=\"k\">);</span>","                orgTop <span class=\"k\">=</span> getPosition<span class=\"k\">(</span>toolbarBox<span class=\"k\">).</span>top<span class=\"k\">;</span>","                bakCssText <span class=\"k\">=</span> toolbarBox<span class=\"k\">.</span>style<span class=\"k\">.</span>cssText<span class=\"k\">;</span>","                placeHolder<span class=\"k\">.</span>style<span class=\"k\">.</span>height <span class=\"k\">=</span> toolbarBox<span class=\"k\">.</span>offsetHeight <span class=\"k\">+</span> <span class=\"s\">'px'</span><span class=\"k\">;</span>","                <span class=\"k\">if</span><span class=\"k\">(</span>LteIE6<span class=\"k\">)</span><span class=\"k\">{</span>","                    fixIE6FixedPos<span class=\"k\">();</span>","                <span class=\"k\">}</span>","                domUtils<span class=\"k\">.</span>on<span class=\"k\">(</span>window<span class=\"k\">,</span> <span class=\"k\">[</span><span class=\"s\">'scroll'</span><span class=\"k\">,</span><span class=\"s\">'resize'</span><span class=\"k\">],</span> updateFloating<span class=\"k\">);</span>","                me<span class=\"k\">.</span>addListener<span class=\"k\">(</span><span class=\"s\">'keydown'</span><span class=\"k\">,</span> defer_updateFloating<span class=\"k\">);</span>","","                me<span class=\"k\">.</span>addListener<span class=\"k\">(</span><span class=\"s\">'beforefullscreenchange'</span><span class=\"k\">,</span> <span class=\"k\">function</span> <span class=\"k\">(</span>t<span class=\"k\">,</span> enabled<span class=\"k\">)</span><span class=\"k\">{</span>","                    <span class=\"k\">if</span> <span class=\"k\">(</span>enabled<span class=\"k\">)</span> <span class=\"k\">{</span>","                        unsetFloating<span class=\"k\">();</span>","                    <span class=\"k\">}</span>","                <span class=\"k\">}</span><span class=\"k\">);</span>","                me<span class=\"k\">.</span>addListener<span class=\"k\">(</span><span class=\"s\">'fullscreenchanged'</span><span class=\"k\">,</span> <span class=\"k\">function</span> <span class=\"k\">(</span>t<span class=\"k\">,</span> enabled<span class=\"k\">)</span><span class=\"k\">{</span>","                    <span class=\"k\">if</span> <span class=\"k\">(!</span>enabled<span class=\"k\">)</span> <span class=\"k\">{</span>","                        updateFloating<span class=\"k\">();</span>","                    <span class=\"k\">}</span>","                <span class=\"k\">}</span><span class=\"k\">);</span>","                me<span class=\"k\">.</span>addListener<span class=\"k\">(</span><span class=\"s\">'sourcemodechanged'</span><span class=\"k\">,</span> <span class=\"k\">function</span> <span class=\"k\">(</span>t<span class=\"k\">,</span> enabled<span class=\"k\">)</span><span class=\"k\">{</span>","                    setTimeout<span class=\"k\">(</span><span class=\"k\">function</span> <span class=\"k\">()</span><span class=\"k\">{</span>","                        updateFloating<span class=\"k\">();</span>","                    <span class=\"k\">}</span><span class=\"k\">,</span><span class=\"s\">0</span><span class=\"k\">);</span>","                <span class=\"k\">}</span><span class=\"k\">);</span>","                me<span class=\"k\">.</span>addListener<span class=\"k\">(</span><span class=\"s\">\"clearDoc\"</span><span class=\"k\">,</span><span class=\"k\">function</span><span class=\"k\">()</span><span class=\"k\">{</span>","                    setTimeout<span class=\"k\">(</span><span class=\"k\">function</span><span class=\"k\">()</span><span class=\"k\">{</span>","                        updateFloating<span class=\"k\">();</span>","                    <span class=\"k\">}</span><span class=\"k\">,</span><span class=\"s\">0</span><span class=\"k\">);</span>","","                <span class=\"k\">}</span><span class=\"k\">)</span>","            <span class=\"k\">}</span>","        <span class=\"k\">}</span><span class=\"k\">);</span>","\t<span class=\"k\">}</span><span class=\"k\">;</span>"];
_$jscoverage['plugins/autofloat.js'][10]++;
UE.plugins.autofloat = (function () {
  _$jscoverage['plugins/autofloat.js'][11]++;
  var me = this, lang = me.getLang();
  _$jscoverage['plugins/autofloat.js'][13]++;
  me.setOpt({topOffset: 0});
  _$jscoverage['plugins/autofloat.js'][16]++;
  var optsAutoFloatEnabled = (me.options.autoFloatEnabled !== false), topOffset = me.options.topOffset;
  _$jscoverage['plugins/autofloat.js'][21]++;
  if ((! optsAutoFloatEnabled)) {
    _$jscoverage['plugins/autofloat.js'][22]++;
    return;
  }
  _$jscoverage['plugins/autofloat.js'][24]++;
  var uiUtils = UE.ui.uiUtils, LteIE6 = (browser.ie && (browser.version <= 6)), quirks = browser.quirks;
  _$jscoverage['plugins/autofloat.js'][28]++;
  function checkHasUI() {
    _$jscoverage['plugins/autofloat.js'][29]++;
    if ((! UE.ui)) {
      _$jscoverage['plugins/autofloat.js'][30]++;
      alert(lang.autofloatMsg);
      _$jscoverage['plugins/autofloat.js'][31]++;
      return 0;
    }
    _$jscoverage['plugins/autofloat.js'][33]++;
    return 1;
}
  _$jscoverage['plugins/autofloat.js'][35]++;
  function fixIE6FixedPos() {
    _$jscoverage['plugins/autofloat.js'][36]++;
    var docStyle = document.body.style;
    _$jscoverage['plugins/autofloat.js'][37]++;
    docStyle.backgroundImage = "url(\"about:blank\")";
    _$jscoverage['plugins/autofloat.js'][38]++;
    docStyle.backgroundAttachment = "fixed";
}
  _$jscoverage['plugins/autofloat.js'][40]++;
  var bakCssText, placeHolder = document.createElement("div"), toolbarBox, orgTop, getPosition, flag = true;
  _$jscoverage['plugins/autofloat.js'][45]++;
  function setFloating() {
    _$jscoverage['plugins/autofloat.js'][46]++;
    var toobarBoxPos = domUtils.getXY(toolbarBox), origalFloat = domUtils.getComputedStyle(toolbarBox, "position"), origalLeft = domUtils.getComputedStyle(toolbarBox, "left");
    _$jscoverage['plugins/autofloat.js'][49]++;
    toolbarBox.style.width = (toolbarBox.offsetWidth + "px");
    _$jscoverage['plugins/autofloat.js'][50]++;
    toolbarBox.style.zIndex = ((me.options.zIndex * 1) + 1);
    _$jscoverage['plugins/autofloat.js'][51]++;
    toolbarBox.parentNode.insertBefore(placeHolder, toolbarBox);
    _$jscoverage['plugins/autofloat.js'][52]++;
    if ((LteIE6 || (quirks && browser.ie))) {
      _$jscoverage['plugins/autofloat.js'][53]++;
      if ((toolbarBox.style.position != "absolute")) {
        _$jscoverage['plugins/autofloat.js'][54]++;
        toolbarBox.style.position = "absolute";
      }
      _$jscoverage['plugins/autofloat.js'][56]++;
      toolbarBox.style.top = (((document.body.scrollTop || document.documentElement.scrollTop) - orgTop) + topOffset + "px");
    }
    else {
      _$jscoverage['plugins/autofloat.js'][58]++;
      if ((browser.ie7Compat && flag)) {
        _$jscoverage['plugins/autofloat.js'][59]++;
        flag = false;
        _$jscoverage['plugins/autofloat.js'][60]++;
        toolbarBox.style.left = ((domUtils.getXY(toolbarBox).x - document.documentElement.getBoundingClientRect().left) + 2 + "px");
      }
      _$jscoverage['plugins/autofloat.js'][62]++;
      if ((toolbarBox.style.position != "fixed")) {
        _$jscoverage['plugins/autofloat.js'][63]++;
        toolbarBox.style.position = "fixed";
        _$jscoverage['plugins/autofloat.js'][64]++;
        toolbarBox.style.top = (topOffset + "px");
        _$jscoverage['plugins/autofloat.js'][65]++;
        (((origalFloat == "absolute") || (origalFloat == "relative")) && parseFloat(origalLeft) && (toolbarBox.style.left = (toobarBoxPos.x + "px")));
      }
    }
}
  _$jscoverage['plugins/autofloat.js'][69]++;
  function unsetFloating() {
    _$jscoverage['plugins/autofloat.js'][70]++;
    flag = true;
    _$jscoverage['plugins/autofloat.js'][71]++;
    if (placeHolder.parentNode) {
      _$jscoverage['plugins/autofloat.js'][72]++;
      placeHolder.parentNode.removeChild(placeHolder);
    }
    _$jscoverage['plugins/autofloat.js'][74]++;
    toolbarBox.style.cssText = bakCssText;
}
  _$jscoverage['plugins/autofloat.js'][77]++;
  function updateFloating() {
    _$jscoverage['plugins/autofloat.js'][78]++;
    var rect3 = getPosition(me.container);
    _$jscoverage['plugins/autofloat.js'][79]++;
    var offset = (me.options.toolbarTopOffset || 0);
    _$jscoverage['plugins/autofloat.js'][80]++;
    if (((rect3.top < 0) && ((rect3.bottom - toolbarBox.offsetHeight) > offset))) {
      _$jscoverage['plugins/autofloat.js'][81]++;
      setFloating();
    }
    else {
      _$jscoverage['plugins/autofloat.js'][83]++;
      unsetFloating();
    }
}
  _$jscoverage['plugins/autofloat.js'][86]++;
  var defer_updateFloating = utils.defer((function () {
  _$jscoverage['plugins/autofloat.js'][87]++;
  updateFloating();
}), (browser.ie? 200: 100), true);
  _$jscoverage['plugins/autofloat.js'][90]++;
  me.addListener("destroy", (function () {
  _$jscoverage['plugins/autofloat.js'][91]++;
  domUtils.un(window, ["scroll", "resize"], updateFloating);
  _$jscoverage['plugins/autofloat.js'][92]++;
  me.removeListener("keydown", defer_updateFloating);
}));
  _$jscoverage['plugins/autofloat.js'][95]++;
  me.addListener("ready", (function () {
  _$jscoverage['plugins/autofloat.js'][96]++;
  if (checkHasUI(me)) {
    _$jscoverage['plugins/autofloat.js'][98]++;
    getPosition = uiUtils.getClientRect;
    _$jscoverage['plugins/autofloat.js'][99]++;
    toolbarBox = me.ui.getDom("toolbarbox");
    _$jscoverage['plugins/autofloat.js'][100]++;
    orgTop = getPosition(toolbarBox).top;
    _$jscoverage['plugins/autofloat.js'][101]++;
    bakCssText = toolbarBox.style.cssText;
    _$jscoverage['plugins/autofloat.js'][102]++;
    placeHolder.style.height = (toolbarBox.offsetHeight + "px");
    _$jscoverage['plugins/autofloat.js'][103]++;
    if (LteIE6) {
      _$jscoverage['plugins/autofloat.js'][104]++;
      fixIE6FixedPos();
    }
    _$jscoverage['plugins/autofloat.js'][106]++;
    domUtils.on(window, ["scroll", "resize"], updateFloating);
    _$jscoverage['plugins/autofloat.js'][107]++;
    me.addListener("keydown", defer_updateFloating);
    _$jscoverage['plugins/autofloat.js'][109]++;
    me.addListener("beforefullscreenchange", (function (t, enabled) {
  _$jscoverage['plugins/autofloat.js'][110]++;
  if (enabled) {
    _$jscoverage['plugins/autofloat.js'][111]++;
    unsetFloating();
  }
}));
    _$jscoverage['plugins/autofloat.js'][114]++;
    me.addListener("fullscreenchanged", (function (t, enabled) {
  _$jscoverage['plugins/autofloat.js'][115]++;
  if ((! enabled)) {
    _$jscoverage['plugins/autofloat.js'][116]++;
    updateFloating();
  }
}));
    _$jscoverage['plugins/autofloat.js'][119]++;
    me.addListener("sourcemodechanged", (function (t, enabled) {
  _$jscoverage['plugins/autofloat.js'][120]++;
  setTimeout((function () {
  _$jscoverage['plugins/autofloat.js'][121]++;
  updateFloating();
}), 0);
}));
    _$jscoverage['plugins/autofloat.js'][124]++;
    me.addListener("clearDoc", (function () {
  _$jscoverage['plugins/autofloat.js'][125]++;
  setTimeout((function () {
  _$jscoverage['plugins/autofloat.js'][126]++;
  updateFloating();
}), 0);
}));
  }
}));
});
