MediaWiki-API-Ergebnis

Dies ist die HTML-Repräsentation des JSON-Formats. HTML ist zur Fehlerbehebung gut, aber unpassend für den Anwendungsgebrauch.

Gib den Parameter format an, um das Ausgabeformat zu ändern. Um die Nicht-HTML-Repräsentation des JSON-Formats anzusehen, lege format=json fest.

Siehe die vollständige Dokumentation oder die API-Hilfe für weitere Informationen.

{
    "compare": {
        "fromrevid": 1,
        "torevid": 2,
        "*": "<tr><td colspan=\"2\" class=\"diff-lineno\" id=\"mw-diff-left-l1\" >Zeile 1:</td>\n<td colspan=\"2\" class=\"diff-lineno\">Zeile 1:</td></tr>\n<tr><td class='diff-marker'>\u2212</td><td class='diff-deletedline'><div>'''MediaWiki <del class=\"diffchange diffchange-inline\">has been successfully installed</del>.'''</div></td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">/* Das folgende JavaScript wird f\u00fcr alle Benutzer geladen. */</ins></div></td></tr>\n<tr><td class='diff-marker'>\u2212</td><td class='diff-deletedline'><div>&#160;</div></td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// &lt;source lang=&quot;javascript&quot;&gt;</ins></div></td></tr>\n<tr><td class='diff-marker'>\u2212</td><td class='diff-deletedline'><div><del class=\"diffchange diffchange-inline\">Consult the </del>[http://<del class=\"diffchange diffchange-inline\">meta</del>.wikimedia.org/<del class=\"diffchange diffchange-inline\">wiki</del>/<del class=\"diffchange diffchange-inline\">Help</del>:<del class=\"diffchange diffchange-inline\">Contents User</del>'<del class=\"diffchange diffchange-inline\">s Guide</del>] for <del class=\"diffchange diffchange-inline\">information </del>on using the <del class=\"diffchange diffchange-inline\">wiki software</del>.</div></td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// This JavaScript will be loaded for all users on every page load.</ins></div></td></tr>\n<tr><td class='diff-marker'>\u2212</td><td class='diff-deletedline'><div>&#160;</div></td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// The first version was imported from en.wikipedia.org, for authors see http://en.wikipedia.org/w/index.php?title=MediaWiki:Common.js&amp;action=history</ins></div></td></tr>\n<tr><td class='diff-marker'>\u2212</td><td class='diff-deletedline'><div>== <del class=\"diffchange diffchange-inline\">Getting started </del>==</div></td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// Strongly modified (remove, add) since.</ins></div></td></tr>\n<tr><td class='diff-marker'>\u2212</td><td class='diff-deletedline'><div>* [http://www.<del class=\"diffchange diffchange-inline\">mediawiki</del>.<del class=\"diffchange diffchange-inline\">org</del>/wiki/<del class=\"diffchange diffchange-inline\">Manual</del>:<del class=\"diffchange diffchange-inline\">Configuration_settings Configuration </del>settings <del class=\"diffchange diffchange-inline\">list</del>]</div></td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">/*</ins></div></td></tr>\n<tr><td class='diff-marker'>\u2212</td><td class='diff-deletedline'><div>* [<del class=\"diffchange diffchange-inline\">http</del>://<del class=\"diffchange diffchange-inline\">www</del>.mediawiki.org/wiki/<del class=\"diffchange diffchange-inline\">Manual</del>:<del class=\"diffchange diffchange-inline\">FAQ </del>MediaWiki <del class=\"diffchange diffchange-inline\">FAQ</del>]</div></td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> * dependencies:</ins></div></td></tr>\n<tr><td class='diff-marker'>\u2212</td><td class='diff-deletedline'><div>* [<del class=\"diffchange diffchange-inline\">https</del>://<del class=\"diffchange diffchange-inline\">lists</del>.<del class=\"diffchange diffchange-inline\">wikimedia</del>.<del class=\"diffchange diffchange-inline\">org</del>/<del class=\"diffchange diffchange-inline\">mailman</del>/<del class=\"diffchange diffchange-inline\">listinfo</del>/mediawiki-<del class=\"diffchange diffchange-inline\">announce </del>MediaWiki <del class=\"diffchange diffchange-inline\">release mailing list</del>]</div></td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; MediaWiki:Edittools.js</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; MediaWiki:Common.js/edit.js</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; MediaWiki:JKey.js</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; MediaWiki:Mw-customcollapsible.js</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; MediaWiki:JKeyWikiEditorHelp.js</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; MediaWiki:SearchTools.js</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; MediaWiki:JKeyRenumberingTool.js</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; MediaWiki:Jquery.zoomImage.js</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; MediaWiki:JKeyTextToLeadTemplateTool.js</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">*/</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">/*global jQuery, document, screen, window, location, navigator, unescape, Image, clearTimeout, addOnloadHook, importScript, setTimeout, appendCSS, mw */ </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">/* = settings for JSLint */</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">/* should go into mw.config: wgPageName, wgServer, wgScript, wgAction, wgCanonicalNamespace */</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&quot;use strict&quot;; // set ECMAScript 5 Strict Mode</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">/* Social media integration; using async script inserted here: */</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">if ((mw.config.get(</ins>'<ins class=\"diffchange diffchange-inline\">wgAction</ins>'<ins class=\"diffchange diffchange-inline\">) === </ins>'<ins class=\"diffchange diffchange-inline\">view')</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &amp;&amp; (mw.config.get('wgCanonicalNamespace') !== 'Special')) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; $(&quot;h1#firstHeading:first&quot;).prepend(</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &quot;&lt;!-- SOCIAL MEDIA START REMOVED, GET AGAIN FROM OLD VERSION IF IE8-9 ARE WORKING AGAIN!!!--&gt;&quot;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; + &quot;&lt;!-- SOCIAL MEDIA END --&gt;&quot;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; );</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">}</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">/* Scripts specific to Internet Explorer */</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// THIS SCRIPT IS PROBABLY WORKING, BUT NOT CLEAN JS, see JSLint</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">if (navigator.appName === &quot;Microsoft Internet Explorer&quot;) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; /* Internet Explorer ***bug fix***&#160; Fixes horizontal scrollbar bug */</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; var oldWidth, docEl = document.documentElement;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; var fixIEScroll2 = function() {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; docEl.style.overflowX = (docEl.scrollWidth - docEl.clientWidth &lt; 4) ? &quot;hidden&quot; : &quot;&quot;;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; var fixIEScroll = function() {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; if (!oldWidth || docEl.clientWidth &gt; oldWidth) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; fixIEScroll2();</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; } else {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; setTimeout(fixIEScroll2, 1);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; oldWidth = docEl.clientWidth;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; document.attachEvent(&quot;onreadystatechange&quot;, fixIEScroll);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; document.attachEvent(&quot;onresize&quot;, fixIEScroll);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; // In print IE (7?) does not like line-height</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; appendCSS( '@media print { sup, sub, p, .documentDescription { line-height: normal; }}');</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; //Import scripts specific to Internet Explorer 6</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; // THIS IS A PNG transparency FIX, here commented out:</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; // if (navigator.appVersion.substr(22, 1) == &quot;6&quot;) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; //&#160; &#160; importScript(&quot;</ins>MediaWiki<ins class=\"diffchange diffchange-inline\">:Common</ins>.<ins class=\"diffchange diffchange-inline\">js/IE60Fixes.js&quot;);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; // }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">} // END &quot;Microsoft Internet Explorer&quot;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// helper function to escape jQuery IDs</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">function jqueryEscapeId(myid) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; if(myid.substr(0, 1) === &quot;#&quot;){</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; return myid.replace(/(:|\\.)/g,</ins>'<ins class=\"diffchange diffchange-inline\">\\\\$1</ins>'<ins class=\"diffchange diffchange-inline\">);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; } else {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; return </ins>'<ins class=\"diffchange diffchange-inline\">#' + myid.replace(/(:|\\.)/g,'\\\\$1');</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">}</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// Footnotes as unformatted tooltip - from it.wikipedia.org under same license</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">addOnloadHook ( function () {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> var sups = document.getElementsByTagName(&quot;sup&quot;);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> for (var i=0; i &lt; sups.length; i++) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160;  var note_id = sups</ins>[<ins class=\"diffchange diffchange-inline\">i].childNodes[0].href;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160;  if (note_id &amp;&amp; (note_id.indexOf(&quot;#&quot;) != -1)) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160;  note_id = document.getElementById(note_id.substr(note_id.indexOf(&quot;#&quot;)+1));</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160;  if (note_id) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160;  if (document.all) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160;  sups[i].title = note_id.innerText;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160;  sups[i].childNodes[0].title = note_id.innerText;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160;  } else {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160;  sups[i].title = note_id.textContent;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160;  }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160;  }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">})</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// Editing-page-specific: see also below JKeyWikiEditorHelp.js</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">if (mw.config.get('wgAction') === &quot;edit&quot; || mw.config.get('wgAction') === &quot;submit&quot; || mw.config.get('wgCanonicalSpecialPageName') === &quot;Upload&quot;) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; if (typeof EditTools === 'undefined') {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; importScript('MediaWiki:Edittools.js');</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; if (typeof $.wikiEditor === 'undefined') {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; importScript(&quot;MediaWiki:Common.js/edit.js&quot;);&#160; // TODO remove or adjust? AP 2011-08-25</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">}</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">$.jI18n = {/*&#160; resource string dictionary</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; Note: Commons uses collapse/expand \u25b2/\u25bc, but this looks better in strict box</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; layouts that in the free-wrapping key statements</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; Nomenclature proposal: if an extra plugin is used, strings can be designated as</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; \u201cplugin_toolTipSomthing\u201d otherwise just \u201ctoolTipSomthing\u201d (global string). So it\u2019s more clear if</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; somebody wants to deactivate a plugin and remove strings from the resource dictionary.</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">*/</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; en: {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; captionCollapse :&#160; &#160; &#160; &#160; &quot;&amp;nbsp;(show less)&amp;nbsp;&quot;,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; captionExpand :&#160; &#160; &#160; &#160; &#160; &quot;&amp;nbsp;(more...)&amp;nbsp;&quot;,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; expandAll :&#160; &#160; &#160; &#160; &#160; &#160; &#160; &quot;Show all extras&quot;,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; iconCloseWindowHover :&#160;  &quot;</ins>http://<ins class=\"diffchange diffchange-inline\">upload</ins>.wikimedia.org/<ins class=\"diffchange diffchange-inline\">wikipedia</ins>/<ins class=\"diffchange diffchange-inline\">commons/d/d0/Close_icon_hover.jpg&quot;,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; iconCloseWindow :&#160; &#160; &#160; &#160; &quot;http://upload.wikimedia.org/wikipedia/commons/8/87/Close_icon_default.jpg&quot;,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; iconOverview&#160; :&#160; &#160; &#160; &#160; &#160; &quot;http://upload.wikimedia.org/wikipedia/commons/thumb/2/22/View-pause_Gion_simple.svg/20px-View-pause_Gion_simple.svg.png&quot;,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; iconResume&#160; :&#160; &#160; &#160; &#160; &#160; &#160; &quot;http://upload.wikimedia.org/wikipedia/commons/thumb/4/49/View-playback_Gion_simple.svg/20px-View-playback_Gion_simple.svg.png&quot;,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; iconStart1st&#160; :&#160; &#160; &#160; &#160; &#160; &quot;http://upload.wikimedia.org/wikipedia/commons/thumb/4/49/View-playback_Gion_simple.svg/20px-View-playback_Gion_simple.svg.png&quot;,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; iconStartNew&#160; :&#160; &#160; &#160; &#160; &#160; &quot;http://upload.wikimedia.org/wikipedia/commons/thumb/0/05/View-refresh_Gion_simple.svg/20px-View-refresh_Gion_simple.svg.png&quot;,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; imageMetadataLink :&#160; &#160; &#160; &quot;(Information about Creator, License and Copyright)&quot;,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; newWindow :&#160; &#160; &#160; &#160; &#160; &#160; &#160; &quot;(New Window \u2026)&quot;,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; toolTipClose&#160; :&#160; &#160; &#160; &#160; &#160; &quot;Click to close&quot;,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; toolTipCollapse :&#160; &#160; &#160; &#160; &quot;(click to hide information below)&quot;,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; toolTipExpand :&#160; &#160; &#160; &#160; &#160; &quot;(click to show more information below)&quot;,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; toolTipImageZooming :&#160; &#160; &quot;Images can be enlarged by clicking on it&quot;,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; toolTipNavigatePagetop : &quot;Top of page&quot;,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; toolTipNewWindow :&#160; &#160; &#160;  &quot;(click to open content in a new window or tab)&quot;,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; toolTipFloatleft : &quot;floating on the left side&quot;,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; toolTipFloatright: &quot;floating on the right side&quot;,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; toolTipUnfloat: &quot;back to default position&quot;,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; toolTipNoContentLoadable:&quot;&lt;i&gt;No content could be loaded&lt;/i&gt;&quot;,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; toolTipHeadingLink:&#160; &#160; &#160; &quot;Click to show (permanent) link to this headline&quot;, // MediaWiki:Gadget-HeadingLink</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; toolTipHeadingLinkHelp:&#160; &quot;(1) Normal link to this head line or (2) the permanent link with version number:&quot;,// MediaWiki:Gadget-HeadingLink</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; zoomNotPossible :&#160; &#160; &#160; &#160; &quot;(This image can not be further enlarged)&quot;,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; // see MediaWiki:zoomImage.js</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; ZoomImage_iconMagnifier: &quot;http://www.species-id.net/o/media/f/f7/Iviewer.zoom_in.gif&quot;,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; ZoomImage_iconMagnifierHover: &quot;http://www.species-id.net/o/media/5/5c/Iviewer.zoom_out.gif&quot;,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; ZoomImage_iconLoader:&#160; &quot;http://upload.wikimedia.org/wikipedia/commons/d/de/Ajax-loader.gif&quot;,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; ZoomImage_toolTipLoad :&#160; &quot;(click to load largest available image; this may take considerable time to load)&quot;,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; ZoomImage_textZoomOrig:&#160; &quot;Zooming facility&quot;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; },</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; de: {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; captionCollapse :&#160; &#160; &#160; &#160; &quot;&amp;nbsp;(weniger anzeigen)&amp;nbsp;&quot;,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; captionExpand :&#160; &#160; &#160; &#160; &#160; &quot;&amp;nbsp;(mehr...)&amp;nbsp;&quot;,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; expandAll :&#160; &#160; &#160; &#160; &#160; &#160; &#160; &quot;Alle Zusatzinformationen zeigen&quot;,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; imageMetadataLink :&#160; &#160; &#160; &quot;(Informationen zu Autor, Lizenz und Copyright)&quot;,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; newWindow :&#160; &#160; &#160; &#160; &#160; &#160; &#160; &quot;(Neues Fenster \u2026)&quot;,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; toolTipClose&#160; :&#160; &#160; &#160; &#160; &#160; &quot;Zum Schlie\u00dfen klicken&quot;,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; toolTipCollapse :&#160; &#160; &#160; &#160; &quot;(klicken um Zusatzinformationen zu verbergen)&quot;,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; toolTipExpand :&#160; &#160; &#160; &#160; &#160; &quot;(klicken um Zusatzinformationen anzuzeigen)&quot;,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; toolTipHeadingLink:&#160; &#160; &#160; &quot;Klicken um (permanenten) Link dieser \u00dcberschrift anzuzeigen&quot;,// MediaWiki:Gadget-HeadingLink</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; toolTipHeadingLinkHelp:&#160; &quot;(1) Link zu dieser \u00dcberschrift oder (2) Link mit Versionsnummer:&quot;,// MediaWiki:Gadget-HeadingLink</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; toolTipImageZooming :&#160; &#160; &quot;Bilder k\u00f6nnen durch Anklicken vergr\u00f6\u00dfert betrachtet werden&quot;,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; toolTipNavigatePagetop : &quot;Zum Seitenanfang&quot;,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; toolTipNewWindow :&#160; &#160; &#160;  &quot;(klicken um Inhalt in neuem Fenster oder Reiter zu \u00f6ffnen)&quot;,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; toolTipFloatleft : &quot;Links schwebend&quot;,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; toolTipFloatright: &quot;Rechts schwebend&quot;,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; toolTipUnfloat: &quot;Zur\u00fcck zur Normalposition&quot;,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; toolTipNoContentLoadable:&quot;&lt;i&gt;Leider konnte der Inhalt nicht geladen werden.&lt;/i&gt;&quot;,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; zoomNotPossible :&#160; &#160; &#160; &#160; &quot;(Dieses Bild kann nicht weiter vergr\u00f6\u00dfert werden)&quot;,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; // see MediaWiki:zoomImage.js</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; ZoomImage_toolTipLoad :&#160; &quot;(klicken um Originalbild nachzuladen; bei gro\u00dfen Bildern kann dies u. U. langsam sein)&quot;,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; ZoomImage_textZoomOrig:&#160; &quot;Vergr\u00f6\u00dferungsfunktion&quot;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; },</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; it: {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; captionCollapse :&#160; &#160; &#160; &#160; &quot;&amp;nbsp;(mostra di meno)&amp;nbsp;&quot;,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; captionExpand :&#160; &#160; &#160; &#160; &#160; &quot;&amp;nbsp;(pi\u00f9...)&amp;nbsp;&quot;,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; expandAll :&#160; &#160; &#160; &#160; &#160; &#160; &#160; &quot;Mostra tutti informazione&quot;, //REVISE</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; imageMetadataLink&#160;  </ins>: <ins class=\"diffchange diffchange-inline\">&#160;  &quot;(Informazione sull</ins>'<ins class=\"diffchange diffchange-inline\">Autore, Licenza e Copyright)&quot;,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; toolTipClose&#160; :&#160; &#160; &#160; &#160; &#160; &quot;Clicca per chiudere&quot;,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; toolTipImageZooming :&#160; &#160; &quot;Le immagini possono essere ingrandite cliccandoci sopra&quot;,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; zoomNotPossible :&#160; &#160; &#160; &#160; &quot;(Al momento non \u00e8 possibilie ingrandire questa immagine)&quot; // TODO translation see en version</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">};</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">/*</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> * Description: Get resource string (text, image URLs) for a given language, based on a string-key</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> *&#160; If no resource is defined in a given language for a resource key, the resource for &quot;en&quot; will be returned, if this is missing as well an error message.</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> * resourceKey: key for the resource (string)</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> */</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">$.resource = function (resourceKey) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; var lang = wgUserLanguage.split(&quot;-&quot;)[0</ins>]<ins class=\"diffchange diffchange-inline\">; // language: &quot;pt-BR&quot;, &quot;de-formal&quot;, etc.</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; return ($.jI18n[lang] &amp;&amp; $.jI18n[lang][resourceKey] ?</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; $.jI18n[lang][resourceKey] :</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; ($.jI18n.en[resourceKey]) ? $.jI18n.en[resourceKey] : &quot;MISSING RESOURCE: no $.jI18n.en.&quot; + resourceKey + &quot; defined.&quot;);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; };</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">/*</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> * Descriptions: Create html string </ins>for <ins class=\"diffchange diffchange-inline\">link with image and/or text content</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> * attributes: string of combined other attributes of link element; must use ' as inner quotes, and \\&quot; inside event functions</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> * imgResourceKey, txtResourceKey: resource keys (multilingual);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> * txtContent: string literal (untranslated)</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> * href: URI (available for linkBuilder only, images only per js in attributes)</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> */</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">$.linkBuilder = function (txtResourceKey, txtContent, href, attributes) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; return (txtResourceKey.length ? &quot;&lt;a &quot;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; + &quot; href='&quot; + href + &quot;' &quot; </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; + &quot; &quot; + (attributes.length ? attributes : &quot;&quot;) + &quot;&gt;&quot;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; + $.resource(txtResourceKey)</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; + &quot;&lt;/a&gt;&quot; : (txtContent.length ? &quot;&lt;a &quot;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; + &quot; href='&quot; + href + &quot;' &quot;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; + &quot; &quot; + (attributes.length ? attributes : &quot;&quot;) + &quot;&gt;&quot;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; + txtContent + </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &quot;&lt;/a&gt;&quot; : &quot;&quot;)</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; );</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">};</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">$.imglinkBuilder = function (imgResourceKey, txtResourceKey, attributes) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; return (imgResourceKey.length ? &quot;&lt;a &quot;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; + &quot; href='#'&quot; + (attributes.length ? &quot; &quot; + attributes : &quot;&quot;) + &quot;&gt;&lt;img src='&quot; + $.resource(imgResourceKey) + &quot;' /&gt;&lt;/a&gt;&amp;nbsp;&quot; : &quot;&quot;)</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; + $.linkBuilder(txtResourceKey, &quot;&quot;, &quot;#&quot;, attributes);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">};</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">$.random = function (min, max) { // NO CHECKS: if(min&gt;max) {return -1;}&#160; if(min==max) {return min;}</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; return (min + parseInt(Math.random() * (max - min + 1), 10));</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">};</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">///////////////////////</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// Highlight targets //</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">///////////////////////</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">/* Description: Highlight all targets of page-internal links; generic function but</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> *&#160; especially useful in long internally linked tables like identification keys (see Template:Key_Start)</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> *&#160; NOTE: background-color animation is not easliy done by jQuery it needs either UI or a colorplugin</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> */</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// Highlight a single element that is target of the link-object caller (e.g. &lt;a href=...&gt;)</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">function highlightTarget(caller) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; var target = $(caller.hash.replace(/([.:])/g, '\\\\$1')); // hash could be 'a.34:', jquery needs 'a\\.34\\:'</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; if (target.length) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; var tStyle = target.get(0).style,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; resetString = &quot;resetHighlight(\\&quot;&quot; + caller.hash + &quot;\\&quot;,\\&quot;&quot; + tStyle.backgroundColor + &quot;\\&quot;,\\&quot;&quot; + tStyle.textDecoration + &quot;\\&quot;)&quot;;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; tStyle.backgroundColor = &quot;#EAEAEA&quot;;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; window.setTimeout(resetString, 2000);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">}</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// Stop highlighting</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">function resetHighlight(hash, backColor, txtDeco) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; if (hash) { // reset</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; var tStyle = $(hash.replace(/([.:])/g, '\\\\$1')).get(0).style;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; tStyle.backgroundColor = backColor;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; tStyle.textDecoration = (txtDeco === &quot;&quot;) ? &quot;none&quot; : txtDeco;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">}</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// Add onclick events to all page-internal links</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">function initTargetHighlighting() {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; for (var i=0, max=document.links.length; i &lt; max; i++) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; var lnk = document.links[i];</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; if ((lnk.pathname === location.pathname) &amp;&amp; lnk.hash.length &gt; 1) { // page internal link; exluding single &quot;#&quot;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; lnk.onclick = function() { highlightTarget(this); };</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">}</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">/////////////////////</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// Collapse Tables //</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">/////////////////////</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// ***** CAN THIS BE DELETED? (except the toggleAllCollapsible)</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// Description: Allows tables to be collapsed, showing only the header row.</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// Similar to Wikipedia code; rewritten for jquery</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// Description expand or collapse table</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// caller: collapse/expand link inside a table.</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// shallExpand: optional boolean; if absent visibility will be toggled</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">function toggleCollapse(caller, shallExpand) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; var jLink = $(caller),</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; jTable&#160; = jLink.closest(&quot;table&quot;);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; if (jTable.length &amp;&amp; jLink.length) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; if (shallExpand===null) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; /* called without parameter, determine direction by link text</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; Note: Opera 10 has problems with encodings: an &quot;&amp;Acute;&quot; character gets in, breaking comparison;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; fix: delete &amp;nbsp; + non-words (\\W) */</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; // OLD: shallExpand = (jLink.text().replace(/(&amp;nbsp;|\\W)/g,'') == $.resource(&quot;captionExpand&quot;).replace(/(&amp;nbsp;|\\W)/g,''));</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; // *** TRYING:</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; shallExpand = (jLink.text().replace(/(\\W)/g,'') == $.resource(&quot;captionExpand&quot;).replace(/(\\W)/g,''));</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; jLink</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; .attr(&quot;title&quot;, $.resource( shallExpand ? &quot;toolTipCollapse&quot; : &quot;toolTipExpand&quot; ))</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; .html($.resource( shallExpand ? &quot;captionCollapse&quot; : &quot;captionExpand&quot; ));</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; jTable.find(&quot;tr:not(tr:first)&quot;).toggle(shallExpand);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; // show/hide all in set, tr of nested tables are included</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; return false;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">}</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// collapse all collapsible key tables </ins>on <ins class=\"diffchange diffchange-inline\">wiki page</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// </ins>using the <ins class=\"diffchange diffchange-inline\">MediaWiki mw-customtoggle mechanism</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">function toggleAllCollapsible(shallExpandThisKey, caller) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; var $pseudolinks = $(caller)</ins>.<ins class=\"diffchange diffchange-inline\">closest(&quot;.decisiontree&quot;)</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; .find(&quot;span.pseudolink&quot;);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; // debug log messages</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; if ($pseudolinks.length) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; $pseudolinks.each(function () {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; var thisClasses </ins>= <ins class=\"diffchange diffchange-inline\">$(this).attr('class'),</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; // get last string position/index</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; thisClassesStopPos </ins>= <ins class=\"diffchange diffchange-inline\">thisClasses.indexOf(&quot; &quot;, thisClasses.indexOf(&quot;mw-customtoggle&quot;)),</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; // get mw-customtoggle-Key class</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; thisClassMwCustomtoggle </ins>= <ins class=\"diffchange diffchange-inline\">thisClasses.substring(</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; thisClasses.indexOf(&quot;mw-customtoggle&quot;), // from index</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; thisClassesStopPos </ins>=<ins class=\"diffchange diffchange-inline\">== -1 ? thisClasses.length : thisClassesStopPos // to index</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; ),</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; // extract correspoding id</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; thisIdToToggle = thisClassMwCustomtoggle.replace(&quot;mw-customtoggle&quot;, &quot;mw-customcollapsible&quot;),</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; // check clicked status using class mw-collapsed</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; thisIsCollapsed = $('#' + thisIdToToggle).hasClass('mw-collapsed'),</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; doExpandThis;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; if (shallExpandThisKey) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; doExpandThis = thisIsCollapsed ? true : false;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; } else {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; doExpandThis = thisIsCollapsed ? false : true;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; if (doExpandThis) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; $(this).trigger('click');</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; });</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; }// pseudolink found</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">}// toggleAllCollapsible()</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// </ins>*<ins class=\"diffchange diffchange-inline\">**** CAN THIS BE DELETED?</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">function initCollapseButtons() {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; // fix unknown $ e.g. click-tip Form:Artportrait</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; if ( typeof $ === 'undefined'){ var $ = $j;}</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; var autoCollapse = 2, // CONSTANT</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; idx = 0,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; linkstring = '&lt;span class=&quot;collapseButton noprint&quot;&gt;'+ $.linkBuilder(&quot;captionCollapse&quot;, &quot;&quot;, &quot;#&quot;, &quot;title='&quot;+ $.resource(&quot;toolTipCollapse&quot;) +&quot;' onclick='return toggleCollapse(this,null);'&quot;) +'&lt;/span&gt;';</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; var eachTable = function() { // is closure relative to idx, linkstring</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; var jTable = $(this),</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; jTH = jTable.find(&quot;tr th&quot;); // add collapse button only if header row present</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; if (jTH.length) { // init expand-links</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; jTH.append(linkstring);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; var jLink = jTH.find(&quot;span.collapseButton a&quot;);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; jLink.get(0).style.color = jTH.get(0).style.color;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; // collapse if requested</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; if (jTable.hasClass(&quot;collapsed&quot;) ||</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; (idx &gt;= autoCollapse &amp;&amp; jTable.hasClass(&quot;autocollapse&quot;)) ||</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; // also collapse inner if innercollapse and is inside outercollapse</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; (jTable.hasClass(&quot;innercollapse&quot;) &amp;&amp; jTable.closest(&quot;.outercollapse&quot;).length)) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; toggleCollapse(jLink.get(0),null);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; idx++;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; };</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; $(&quot;table.collapsible&quot;).each(eachTable);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">}</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">////////////////////////////////////</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// Cluetip hover and click popups //</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">////////////////////////////////////</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// Utility for Cluetip, Modal layer, Image Zoom:</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// Create appendable jquery object, fnAction = function bound to click</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// NOTE All functions called within createButton() should return false</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// to prevent appending a # to the URL from clicking &lt;a href='#'&gt;&lt;/a&gt;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">function createButton(kindOfButton, fnAction) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; switch (kindOfButton) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; case &quot;zoomImg&quot;:</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; return $(&quot;&lt;a href='#' title='&quot;+$.resource('ZoomImage_toolTipLoad')+&quot;' /&gt;&quot;)</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; .append(</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &quot;&lt;img src='&quot;+$.resource(&quot;ZoomImage_iconMagnifier&quot;)+&quot;' align='middle' style='border:1px solid gray;'&gt;&quot; +</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; '&lt;span style=&quot;position:absolute;left:20px;top:0px;white-space:nowrap;&quot;&gt;'+$.resource(&quot;ZoomImage_textZoomOrig&quot;)+'&lt;/span&gt;'</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; ) // text after img seems to be inline only with position:absolute</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; .hover(</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; function() { $(this).find(&quot;img:first&quot;).attr({src: $.resource(&quot;ZoomImage_iconMagnifierHover&quot;), style :'border:1px solid black;'}); },</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; function() { $(this).find(&quot;img:first&quot;).attr({src: $.resource(&quot;ZoomImage_iconMagnifier&quot;), style :'border:1px solid gray;'}); })</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; .click(fnAction);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; break;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; case &quot;close&quot;:</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; default:</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; return $(&quot;&lt;a href='#' title='&quot;+$.resource('toolTipClose')+&quot;'/&gt;&quot;)</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; .append(&quot;&lt;img src='&quot;+$.resource(&quot;iconCloseWindow&quot;)+&quot;' /&gt;&quot;)</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; .hover(</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; function() { $(this).find(&quot;img:first&quot;).attr(&quot;src&quot;, $.resource(&quot;iconCloseWindowHover&quot;)); },</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; function() { $(this).find(&quot;img:first&quot;).attr(&quot;src&quot;, $.resource(&quot;iconCloseWindow&quot;)); })</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; .click(fnAction);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; }// end switch case</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">}</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// HoverIntent START</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// see http://www.offene-naturfuehrer.de/wiki/MediaWiki:HoverIntent.js for docu, creators and license</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">$.fn.hoverIntent = function(f,g) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; var cfg = { // default configuration options: Cluetip overrides!</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; sensitivity: 4, // mouseover is called if mouse is moved less pixels; default 7. Cluetip overrides!</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; interval: 250, // comparison interval, also influences initial delay until detected; default 100.</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; timeout: 0</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; };</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; cfg = $.extend(cfg, g ? {over:f, out:g} : f ); // override options with user-supplied object</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; // current and previous X/Y position of mouse</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; var cX, cY, pX, pY;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; // private function for getting mouse position</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; var track = function(ev) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; cX = ev.pageX;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; cY = ev.pageY;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; };</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; // private function comparing current and previous mouse position</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; var compare = function(ev,ob) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; // compare mouse positions to see if they've crossed the threshold</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; if ( ( Math.abs(pX-cX) + Math.abs(pY-cY) ) &lt; cfg.sensitivity ) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; $(ob).unbind(&quot;mousemove&quot;,track);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; // set hoverIntent state to true (so mouseOut can be called)</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; ob.hoverIntent_s = 1;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; return cfg.over.apply(ob,</ins>[<ins class=\"diffchange diffchange-inline\">ev]);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; } else { // set previous coordinates for next time</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; pX = cX; pY = cY;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; // use self-calling timeout, guarantees intervals are spaced out properly (avoids JavaScript timer bugs)</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; ob.hoverIntent_t = setTimeout( function(){compare(ev, ob);} , cfg.interval );</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; };</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; // private function delaying the mouseOut function</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; var delay = function(ev,ob) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; ob.hoverIntent_s = 0;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; return cfg.out.apply(ob,[ev]);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; };</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; // private function handling mouseover AND mouseout</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; var handleHover = function(e) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; // next three lines from jQuery.hover: ignore children onMouseOver/onMouseOut</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; var p = (e.type == &quot;mouseover&quot; ? e.fromElement : e.toElement) || e.relatedTarget;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; while ( p &amp;&amp; p != this ) { try { p = p.parentNode; } catch(err) { p = this; } }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; if ( p == this ) { return false; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; // copy objects to be passed into t (required for event object to be passed in IE)</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; var ev = $.extend({},e);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; var ob = this;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; // cancel hoverIntent timer if it exists</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; if (ob.hoverIntent_t) { ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t); }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; // else e.type == &quot;onmouseover&quot;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; if (e.type == &quot;mouseover&quot;) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; pX = ev.pageX; pY = ev.pageY; // set previous X/Y pos based on initial entry point</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; $(ob).bind(&quot;mousemove&quot;,track); // update current X/Y pos based on mousemove</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; // start polling interval (self-calling timeout) to compare mouse coordinates over time</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; if (ob.hoverIntent_s != 1) { ob.hoverIntent_t = setTimeout( function(){compare(ev,ob);} , cfg.interval );}</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; // else e.type == &quot;onmouseout&quot;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; } else {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; // unbind expensive mousemove event</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; $(ob).unbind(&quot;mousemove&quot;,track);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; // if hoverIntent state is true, then call the mouseOut function after the specified delay</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; if (ob.hoverIntent_s == 1) { ob.hoverIntent_t = setTimeout( function(){delay(ev,ob);} , cfg.timeout );}</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; };</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; // bind functions to event listeners</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; return this.mouseover(handleHover).mouseout(handleHover);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">};</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// HoverIntent END</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">//////////////////////////////////////////////////</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// Modified Cluetip Plugin</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// Version 1.0.6 modified for Off.Naturf\u00fchrer. MIT and GPL licenses</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// http://plugins.learningjquery.com/cluetip/ and </ins>http://www.<ins class=\"diffchange diffchange-inline\">offene-naturfuehrer</ins>.<ins class=\"diffchange diffchange-inline\">de</ins>/wiki/<ins class=\"diffchange diffchange-inline\">MediaWiki</ins>:<ins class=\"diffchange diffchange-inline\">Cluetip.js for details</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">(function($) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; $.cluetip = {version: '1.0.6-ON'};</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; var $cluetip, $cluetipInner, $cluetipOuter, $cluetipTitle, $cluetipArrows, $cluetipWait, $dropShadow, imgCount,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; insertionElement = 'body';</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; $.fn.cluetip = function(js, options) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; if (typeof js == 'object') {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; options = js;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; js = null;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; if (js == 'destroy') {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; return this.removeData('thisInfo').unbind('.cluetip');</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; return this.each(function(index) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; var link=this, $this=$(this);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; // support metadata plugin (v1.0 and 2.0)</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; var opts = $.extend(</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; true, </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; {}, </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; $.fn.cluetip.defaults,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; options || {}, </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; $.metadata ? $this.metadata() : ( $.meta ? $this.data() : {} )</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; );</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; // start out with no contents (for ajax activation)</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; var cluetipContents = false;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; var cluezIndex = +opts.cluezIndex;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; $this.data('thisInfo', {title: link.title, zIndex: cluezIndex});</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; var isActive = false, closeOnDelay = 0;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; // create the cluetip divs</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; if (!$('#cluetip').length) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; $(['&lt;div id=&quot;cluetip&quot;&gt;',</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; '&lt;div id=&quot;cluetip-outer&quot;&gt;',</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; '&lt;h3 id=&quot;cluetip-title&quot;&gt;&lt;/h3&gt;',</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; '&lt;div id=&quot;cluetip-inner&quot;&gt;&lt;/div&gt;',</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; '&lt;/div&gt;',</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; '&lt;div id=&quot;cluetip-extra&quot;&gt;&lt;/div&gt;',</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; '&lt;div id=&quot;cluetip-arrows&quot; class=&quot;cluetip-arrows&quot;&gt;&lt;/div&gt;',</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; '&lt;/div&gt;'].join(''))</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; .appendTo(insertionElement).hide();</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; $cluetip = $('#cluetip').css({position: 'absolute'});</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; $cluetipOuter = $('#cluetip-outer').css({position: 'relative', zIndex: cluezIndex});</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; $cluetipInner = $('#cluetip-inner');</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; $cluetipTitle = $('#cluetip-title');</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; $cluetipArrows = $('#cluetip-arrows');</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; $cluetipWait = $('&lt;div id=&quot;cluetip-waitimage&quot;&gt;&lt;/div&gt;')</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; .css({position: 'absolute'}).insertBefore($cluetip).hide();</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; var dropShadowSteps = (opts.dropShadow) ? +opts.dropShadowSteps : 0;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; if (!$dropShadow) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; $dropShadow = $([]);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; for (var i=0; i &lt; dropShadowSteps; i++) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; $dropShadow = $dropShadow.add($('&lt;div&gt;&lt;/div&gt;').css({zIndex: cluezIndex-1, opacity:0.1, top: 1+i, left: 1+i}));</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; $dropShadow.css({position: 'absolute', backgroundColor: '#000'})</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; .prependTo($cluetip);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; var tipAttribute = $this.attr(opts.attribute);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; if (!tipAttribute &amp;&amp; !opts.splitTitle &amp;&amp; !js) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; return true;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; // if hideLocal is set to true, on DOM ready hide the local content that will be displayed in the clueTip</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; if (opts.local &amp;&amp; opts.localPrefix) {tipAttribute = opts.localPrefix + tipAttribute;}</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; if (opts.local &amp;&amp; opts.hideLocal) { $(tipAttribute + ':first').hide(); }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; var tOffset = parseInt(opts.topOffset, 10), lOffset = parseInt(opts.leftOffset, 10);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; // vertical measurement variables</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; var tipHeight, wHeight,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; sTop, linkTop, posY, tipY, mouseY, baseline,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; defHeight = isNaN(parseInt(opts.height, 10)) ? 'auto' : (/\\D/g).test(opts.height) ? opts.height : opts.height + 'px';</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; // horizontal measurement variables</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; var tipInnerWidth = parseInt(opts.width, 10) || 275,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; tipWidth = tipInnerWidth + (parseInt($cluetip.css('paddingLeft'),10)||0) + (parseInt($cluetip.css('paddingRight'),10)||0) + dropShadowSteps,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; linkWidth = this.offsetWidth,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; linkLeft, posX, mouseX, winWidth;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; // parse the title</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; var tipParts;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; var tipTitle = (opts.attribute != 'title') ? $this.attr(opts.titleAttribute) : '';</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; if (opts.splitTitle) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; if (tipTitle === undefined) {tipTitle = '';}</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; tipParts = tipTitle.split(opts.splitTitle);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; tipTitle = tipParts.shift();</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; if (opts.escapeTitle) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; tipTitle = tipTitle.replace(/&amp;/g,'&amp;amp;').replace(/&gt;/g,'&amp;gt;').replace(/&lt;/g,'&amp;lt;');</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; function returnFalse() { return false; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">//activate clueTip</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; var activate = function(event) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; var pY;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; if (!opts.onActivate($this)) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; return false;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; isActive = true;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; $cluetip.removeClass().css({width: tipInnerWidth});</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; if (tipAttribute == $this.attr('href')) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; $this.css('cursor', opts.cursor);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; if (opts.hoverClass) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; $this.addClass(opts.hoverClass);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; linkTop = posY = $this.offset().top;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; linkLeft = $this.offset().left;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; mouseX = event.pageX;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; mouseY = event.pageY;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; if (link.tagName.toLowerCase() != 'area') {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; sTop = $(document).scrollTop();</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; winWidth = $(window).width();</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// position clueTip horizontally</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; if (opts.positionBy == 'fixed') {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; posX = linkWidth + linkLeft + lOffset;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; $cluetip.css({left: posX});</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; } else {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; posX = (linkWidth &gt; linkLeft &amp;&amp; linkLeft &gt; tipWidth) || linkLeft + linkWidth + tipWidth + lOffset &gt; winWidth ? linkLeft - tipWidth - lOffset : linkWidth + linkLeft + lOffset;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; if (link.tagName.toLowerCase() == 'area' || opts.positionBy == 'mouse' || linkWidth + tipWidth &gt; winWidth) { // position by mouse</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; if (mouseX + 20 + tipWidth &gt; winWidth) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; $cluetip.addClass(' cluetip-jtip');</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; posX = (mouseX - tipWidth - lOffset) &gt;= 0 ? mouseX - tipWidth - lOffset - parseInt($cluetip.css('marginLeft'),10) + parseInt($cluetipInner.css('marginRight'),10) : mouseX - (tipWidth/2);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; } else {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; posX = mouseX + lOffset;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; pY = posX &lt; 0 ? event.pageY + tOffset : event.pageY;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; $cluetip.css({</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; left: (posX &gt; 0 &amp;&amp; opts.positionBy != 'bottomTop') ? posX : (mouseX + (tipWidth/2) &gt; winWidth) ? winWidth/2 - tipWidth/2 : Math.max(mouseX - (tipWidth/2),0),</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; zIndex: $this.data('thisInfo').zIndex</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; });</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; $cluetipArrows.css({zIndex: $this.data('thisInfo').zIndex+1});</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; wHeight = $(window).height();</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// load a string from cluetip method's first argument</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; if (js) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; if (typeof js == 'function') {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; js = js.call(link);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; $cluetipInner.html(js);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; cluetipShow(pY);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// load the title attribute only (or user-selected attribute).</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// clueTip title is string before 1st delimiter, subsequent delim place clueTip body text on separate lines</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; else if (tipParts) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; var tpl = tipParts.length;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; $cluetipInner.html(tpl ? tipParts[0] : '');</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; if (tpl &gt; 1) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; for (var i=1; i &lt; tpl; i++){</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; $cluetipInner.append('&lt;div class=&quot;split-body&quot;&gt;' + tipParts[i] + '&lt;/div&gt;');</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; cluetipShow(pY);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// load external file via ajax</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; else if (!opts.local &amp;&amp; tipAttribute.indexOf('#') !== 0) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; if (/\\.(jpe?g|tiff?|gif|png)$/i.test(tipAttribute)) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; $cluetipInner.html('&lt;img src=&quot;' + tipAttribute + '&quot; alt=&quot;' + tipTitle + '&quot; /&gt;');</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; cluetipShow(pY);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; } else if (cluetipContents &amp;&amp; opts.ajaxCache) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; $cluetipInner.html(cluetipContents);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; // highlight target having a &lt;span id=&quot;..&quot;&gt; see also ajaxSettings success:</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; var idTarget = link.toString().split('#')[1];</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; if(idTarget!=undefined){</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; $cluetipInner.find(jqueryEscapeId('#'+idTarget)).addClass('alert');</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; cluetipShow(pY);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; } else {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; var optionBeforeSend = opts.ajaxSettings.beforeSend,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; &#160; optionError&#160; &#160; &#160; = opts.ajaxSettings.error,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; &#160; optionSuccess&#160; &#160; = opts.ajaxSettings.success,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; &#160; optionComplete&#160;  = opts.ajaxSettings.complete;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; var ajaxSettings = {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; cache: false, // force requested page not to be cached by browser</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; url: tipAttribute,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; beforeSend: function(xhr) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; &#160; if (optionBeforeSend) {optionBeforeSend.call(link, xhr, $cluetip, $cluetipInner);}</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; &#160; $cluetipOuter.children().empty();</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; &#160; $cluetipWait.css({top: mouseY+20, left: mouseX+20, zIndex: $this.data('thisInfo').zIndex-1}).show();</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; },</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; error: function(xhr, textStatus) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; &#160; if (isActive) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; if (optionError) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; optionError.call(link, xhr, textStatus, $cluetip, $cluetipInner);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; } else {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; $cluetipInner.html($.resource('toolTipNoContentLoadable'));</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; },</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; success: function(data, textStatus) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; &#160; cluetipContents = opts.ajaxProcess.call(link, data);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; &#160; if (isActive) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; if (optionSuccess) {optionSuccess.call(link, data, textStatus, $cluetip, $cluetipInner);}</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; $cluetipInner.html(cluetipContents);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; // highlight target having a &lt;span id=&quot;..&quot;&gt;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; var idTarget = link.toString().split('#')[1];</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; if(idTarget!=undefined){</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; $cluetipInner.find(jqueryEscapeId('#'+idTarget)).addClass('alert');</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; },</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; complete: function(xhr, textStatus) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; &#160; if (optionComplete) {optionComplete.call(link, xhr, textStatus, $cluetip, $cluetipInner);}</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; &#160; imgCount = $('#cluetip-inner img').length;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; &#160; if (imgCount &amp;&amp; !$.browser.opera) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; $('#cluetip-inner img').bind('load error', function() {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; imgCount--;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; if (imgCount&lt;1) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; $cluetipWait.hide();</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; if (isActive) { cluetipShow(pY); }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; });</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; &#160; } else {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; $cluetipWait.hide();</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; if (isActive) { cluetipShow(pY); }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; };</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; var ajaxMergedSettings = $.extend(true, {}, opts.ajaxSettings, ajaxSettings);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; $.ajax(ajaxMergedSettings);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// load an element from the same page</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; } else if (opts.local) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; var $localContent = $(tipAttribute + (/#\\S+$/.test(tipAttribute) ? '' : ':eq(' + index + ')')).clone(true).show();</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; $cluetipInner.html($localContent);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; cluetipShow(pY);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; };</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// get dimensions and options for cluetip and prepare it to be shown</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; var cluetipShow = function(bpY) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; $cluetip.addClass('cluetip-jtip');</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; if (opts.truncate) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; var $truncloaded = $cluetipInner.text().slice(0,opts.truncate) + '...';</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; $cluetipInner.html($truncloaded);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; if (opts.showTitle) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; $cluetipTitle.show().html(tipTitle ? tipTitle : ' ');</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; } else {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; $cluetipTitle.hide();</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; // INSERTED CODE: get href (= real wiki page link) and add as link in title (&quot;(New Window)&quot;). Cluetip now on link itself!</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; // Not found how to get access in onShow() to &quot;this&quot;; thus inserted here.</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; $cluetipTitle.prepend(&quot;&lt;a href='&quot;+ $this.attr(&quot;href&quot;) + &quot;' target='_blank' title='&quot;+ $.resource('toolTipNewWindow') +&quot;' &gt;&quot; + $.resource('newWindow') + &quot;&lt;/a&gt;&quot;).show();</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; if (opts.sticky) { // Close text modified directly</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; var $closeLink = $('&lt;div id=&quot;cluetip-close&quot;/&gt;').append(createButton(&quot;close&quot;, function() {cluetipClose();return false;}));</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; if(opts.closePosition == 'bottom') {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; $closeLink.appendTo($cluetipInner);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; } else if(opts.closePosition == 'title'){</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; $closeLink.prependTo($cluetipTitle);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; } else {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; $closeLink.prependTo($cluetipInner);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; if (opts.mouseOutClose) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; $cluetip.bind('mouseleave.cluetip', function() {cluetipClose();});</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; } else {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; $cluetip.unbind('mouseleave.cluetip');</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// now that content is loaded, finish the positioning</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; var direction = '';</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; $cluetipOuter.css({zIndex: $this.data('thisInfo').zIndex, overflow: defHeight == 'auto' ? 'visible' : 'auto'});</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; tipHeight = defHeight == 'auto' ? Math.max($cluetip.outerHeight(),$cluetip.height()) : parseInt(defHeight,10);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; $cluetipInner.css({</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; overflow: defHeight == 'auto' ? 'visible' : 'auto', </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; height: tipHeight - 45 //minus title: should be set automatically but $cluetipTitle.height() and height variants always get 0 or 0px</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; });</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; tipY = posY;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; baseline = sTop + wHeight;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; if (opts.positionBy == 'fixed') {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; tipY = posY - opts.dropShadowSteps + tOffset;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; } else if ( (posX &lt; mouseX &amp;&amp; Math.max(posX, 0) + tipWidth &gt; mouseX) || opts.positionBy == 'bottomTop') {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; if (posY + tipHeight + tOffset &gt; baseline &amp;&amp; mouseY - sTop &gt; tipHeight + tOffset) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; tipY = mouseY - tipHeight - tOffset;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; direction = 'top';</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; } else {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; tipY = mouseY + tOffset;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; direction = 'bottom';</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; } else if ( posY + tipHeight + tOffset &gt; baseline ) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; tipY = (tipHeight &gt;= wHeight) ? sTop : baseline - tipHeight - tOffset;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; } else if ($this.css('display') == 'block' || link.tagName.toLowerCase() == 'area' || opts.positionBy == &quot;mouse&quot;) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; tipY = bpY - tOffset;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; } else {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; tipY = posY - opts.dropShadowSteps;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; if (direction == '') {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; direction = (posX &lt; linkLeft) ? 'left' : 'right';</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; $cluetip.css({top: tipY + 'px'}).removeClass().addClass('clue-' + direction + '-jtip').addClass(' cluetip-jtip');</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; if (opts.arrows) { // set up arrow positioning to align with element</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; var bgY = (posY - tipY - opts.dropShadowSteps);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; $cluetipArrows.css({top: (/(left|right)/.test(direction) &amp;&amp; posX &gt;=0 &amp;&amp; bgY &gt; 0) ? bgY + 'px' : /(left|right)/.test(direction) ? 0 : ''}).show();</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; } else {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; $cluetipArrows.hide();</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// (first hide, then) ***SHOW THE CLUETIP***</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; $dropShadow.hide();</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; $cluetip.hide()[opts.fx.open](opts.fx.openSpeed || 0);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; if (opts.dropShadow) { $dropShadow.css({height: tipHeight, width: tipInnerWidth, zIndex: $this.data('thisInfo').zIndex-1}).show(); }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; if ($.fn.bgiframe) { $cluetip.bgiframe(); }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; // trigger the optional onShow function</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; opts.onShow.call(link, $cluetip, $cluetipInner);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; };</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// INACTIVATION</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; var inactivate = function(event) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; isActive = false;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; $cluetipWait.hide();</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; if (!opts.sticky || (/click|toggle/).test(opts.activation) ) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; cluetipClose();</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; clearTimeout(closeOnDelay);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; if (opts.hoverClass) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; $this.removeClass(opts.hoverClass);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; };</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// close cluetip and reset some things</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; var cluetipClose = function() {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; $cluetipOuter</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; .parent().hide().removeClass();</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; opts.onHide.call(link, $cluetip, $cluetipInner);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; $this.removeClass('cluetip-clicked');</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; if (tipTitle) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; $this.attr(opts.titleAttribute, tipTitle);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; $this.css('cursor','');</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; if (opts.arrows) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; $cluetipArrows.css({top: ''});</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; };</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; $(document).bind('hideCluetip', function(e) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; cluetipClose();</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; });</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// BIND EVENTS</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; // activate by click</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; if ( (/click|toggle/).test(opts.activation) ) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; $this.bind('click.cluetip', function(event) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; if ($cluetip.is(':hidden') || !$this.is('.cluetip-clicked')) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; activate(event);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; $('.cluetip-clicked').removeClass('cluetip-clicked');</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; $this.addClass('cluetip-clicked');</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; } else {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; inactivate(event);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; this.blur();</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; return false;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; });</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; // activate by focus; inactivate by blur</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; } else if (opts.activation == 'focus') {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; $this.bind('focus.cluetip', function(event) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; activate(event);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; });</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; $this.bind('blur.cluetip', function(event) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; inactivate(event);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; });</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; // activate by hover</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; } else {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; // clicking is returned false if clickThrough option is set to false</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; $this[opts.clickThrough ? 'unbind' : 'bind']('click', returnFalse);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; $this.hoverIntent({ // hoverintent now REQUIRED!</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; sensitivity: opts.hoverIntent.sensitivity,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; interval: opts.hoverIntent.interval,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; timeout: opts.hoverIntent.timeout,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; over: function(event) {activate(event);},</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; out: function(event) {inactivate(event); $this.unbind('mousemove.cluetip');}</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; });</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; $this.bind('mouseover.cluetip', function(event) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; $this.attr('title','');</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; }).bind('mouseleave.cluetip', function(event) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; $this.attr('title', $this.data('thisInfo').title);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; });</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; });</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; };</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// OPTIONS</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// Each can be explicitly overridden by changing its value</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// $.fn.cluetip.defaults.width = 200;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// Each can also be overridden by passing an options map to the cluetip method</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// $('a.example').cluetip({width: 200});</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// would change the default width to 200 for clueTips invoked by a link with class of &quot;example&quot;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; $.fn.cluetip.defaults = { // set up default options</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; width:&#160; &#160; &#160; &#160; &#160; &#160; 400,&#160; &#160; &#160; // The width of the clueTip</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; height:&#160; &#160; &#160; &#160; &#160; 'auto',&#160;  // The height of the clueTip</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; cluezIndex:&#160; &#160; &#160; 97,&#160; &#160; &#160;  // Sets the z-index style property of the clueTip</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; positionBy:&#160; &#160; &#160; 'auto',&#160;  // Sets the type of positioning: 'auto', 'mouse','bottomTop', 'fixed'</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; topOffset:&#160; &#160; &#160; &#160; 24,&#160; &#160; &#160; // Number of px to offset clueTip from top of invoking element</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; leftOffset:&#160; &#160; &#160; 12,&#160; &#160; &#160;  // Number of px to offset clueTip from left of invoking element</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; local:&#160; &#160; &#160; &#160; &#160; &#160; false,&#160; &#160; // Whether to use content from the same page for the clueTip's body</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; localPrefix:&#160; &#160; &#160; null,&#160; &#160; // string to be prepended to the tip attribute if local is true</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; hideLocal:&#160; &#160; &#160; &#160; true,&#160; &#160; // If local is true, this determines whether local content to be shown in clueTip should be hidden at its original location</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; attribute:&#160; &#160; &#160; &#160; 'resource', // the attribute to be used for fetching the clueTip's body content -- rel is sanitized by wiki!!!</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; titleAttribute:&#160; 'title', // the attribute to be used for fetching the clueTip's title</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; splitTitle:&#160; &#160; &#160; '',&#160; &#160; &#160;  // A char to split the title attribute into title and divs within clueTip body. Example: |</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; escapeTitle:&#160; &#160; &#160; false,&#160; &#160; // whether to html escape the title attribute</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; showTitle:&#160; &#160; &#160; &#160; true,&#160; &#160; // show title bar of the clueTip, even if title attribute not set</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; hoverClass:&#160; &#160; &#160; '',&#160; &#160; &#160;  // class applied to the invoking element onmouseover and removed onmouseout</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; cursor:&#160; &#160; &#160; &#160; &#160; 'help',</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; arrows:&#160; &#160; &#160; &#160; &#160; false,&#160;  // if true, displays arrow on appropriate side of clueTip</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; dropShadow:&#160; &#160; &#160; true,&#160; &#160;  // set to false if you don't want the drop-shadow effect on the clueTip</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; dropShadowSteps:&#160; 6,&#160; &#160; &#160; &#160; // adjusts the size of the drop shadow</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; sticky:&#160; &#160; &#160; &#160; &#160; false,&#160;  // keep visible until manually closed</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; mouseOutClose:&#160; &#160; false,&#160; &#160; // close when clueTip is moused out</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; activation:&#160; &#160; &#160; 'hover', // set to 'click' to force user to click to show clueTip</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; // set to 'focus' to show on focus of a form element and hide on blur</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; clickThrough:&#160; &#160; false,&#160;  // if true, and activation is not 'click', then clicking on link will take user to the link's href,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; // even if href and tipAttribute are equal</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; closePosition:&#160; &#160; 'top',&#160; &#160; // location of close text for sticky cluetips; can be 'top' or 'bottom' or 'title'</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; closeText:&#160; &#160; &#160; &#160; 'X',&#160; &#160; &#160; // text (or HTML) to to be clicked to close sticky clueTips</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; truncate:&#160; &#160; &#160; &#160; 0,&#160; &#160; &#160;  // number of characters to truncate clueTip's contents. if 0, no truncation occurs</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; // effect and speed for opening clueTips</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; fx: {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; open:&#160; &#160; &#160; 'show', // can be 'show' or 'slideDown' or 'fadeIn'</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; openSpeed:&#160; ''</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; },</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; hoverIntent: { // </ins>settings <ins class=\"diffchange diffchange-inline\">for hoverIntent</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; sensitivity:&#160; 4,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; interval:&#160; &#160; 300,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; timeout:&#160; &#160; &#160; 0</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; },</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; // short-circuit function to run just before clueTip is shown.</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; onActivate: function(e) {return true;},</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; // function to run just after clueTip is shown.</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; onShow:&#160; &#160;  function(ct, ci){},</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; // function to run just after clueTip is hidden.</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; onHide:&#160; &#160;  function(ct, ci){},</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; // whether to cache results of ajax request to avoid unnecessary hits to server</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; ajaxCache:&#160;  true,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; // process data retrieved via xhr before it's displayed</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; ajaxProcess: function(data) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; data = data.replace(/&lt;(script|style|title)[^&lt;</ins>]<ins class=\"diffchange diffchange-inline\">+&lt;\\/(script|style|title)&gt;/gm, '').replace(/&lt;(link|meta)[^&gt;]+&gt;/g,'');</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; return data;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; },</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; // can pass in standard $.ajax() parameters. Callback functions, such as beforeSend,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; // will be queued first within the default callbacks.</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; // The only exception is error, which overrides the default</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; ajaxSettings: {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; // error: function(ct, ci) { /</ins>* <ins class=\"diffchange diffchange-inline\">override default error callback */ }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; // beforeSend: function(ct, ci) { /* called first within default beforeSend callback }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; dataType: 'html'</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; };</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">})($);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// END Cluetip Plugin Code</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">/////////////////////</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">function initCluetips() {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; var jPopup = $('span.cluetip a');</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; if (jPopup.length) { // only if at least one popup exists</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; var ctHover = {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; arrows: true,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; height: 275,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; width:&#160; 400,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; fx: {open:'fadeIn', openSpeed:'3'}, // open can be 'show' or 'slideDown' or 'fadeIn'</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; titleAttribute: 'suppress-title-display',</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; positionBy: 'bottomTop',</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; sticky: true,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; mouseOutClose: true,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; closePosition: 'title'</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; },</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; ctClick = {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; activation: 'click',</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; height: 275,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; width:&#160; 400,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; fx: {open:'fadeIn', openSpeed:'3'}, // open can be 'show' or 'slideDown' or 'fadeIn'</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; titleAttribute: 'suppress-title-display',</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; sticky: true,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; closePosition: 'title',</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; onShow: function () {// make title draggable</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; if (typeof mw != &quot;undefined&quot;){</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; mw.loader.using(&quot;jquery.ui.draggable&quot;, function () {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; $( &quot;#cluetip&quot; ).draggable({handle: &quot;#cluetip-title&quot;});</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; $(&quot;#cluetip-title&quot;).css({cursor:&quot;move&quot;});</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; });</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; };</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; // Design: Without js, a normal link should exist. With js, normal click should only call cluetip, which in turn offers opening in new window.</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; jPopup.each(function() {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; var jLink=$(this), jSpan=jLink.parent();</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; jLink.attr(&quot;resource&quot;, jSpan.attr(&quot;resource&quot;));</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; if (jSpan.hasClass(&quot;cluetip-hover&quot;)) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; jLink.cluetip(ctHover);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; } else if (jSpan.hasClass(&quot;cluetip-click&quot;)) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; jLink.cluetip(ctClick);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; });</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; } // END if popup found</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">}</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">////////////////////////////////////</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// Modal Layer base functionality //</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">////////////////////////////////////</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// for program flow see </ins>[<ins class=\"diffchange diffchange-inline\">[MediaWiki</ins>:<ins class=\"diffchange diffchange-inline\">ModalLayer and image zoom docu\u200e]]</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div>// <ins class=\"diffchange diffchange-inline\">Description: Hide (= close) modal layer (Note: cyclical dependency with next method unavoidable)</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">function modalLayer_Hide() {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; $(document)</ins>.<ins class=\"diffchange diffchange-inline\">unbind(&quot;keydown&quot;, modalLayer_KeyDown);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; $(&quot;#modal-fg&quot;).fadeOut(function() {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; $(&quot;#modal-bg&quot;).hide();</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; $(this).empty().hide();</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; });</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; return false;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">}</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// Description: Close (hide) modal layer on escape, backspace and arrow left key</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// e: the keyboard event object</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">function modalLayer_KeyDown(e) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; if ((e.keyCode == 8) || (e.keyCode == 27) || (e.keyCode == 37)) { modalLayer_Hide(); }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">}</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// Description: Create modal layer and execute fnRender</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// fnRender: custom function to display something</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// paramsObj: generic parameters passed to &quot;fnRender&quot;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">function modalLayer_Create(fnRender, paramsObj) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; // find existing or create background &amp; layer</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; var modalBG = $(&quot;#modal-bg&quot;),</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; modalFG = $(&quot;#modal-fg&quot;);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; if (modalBG.length === 0) { // first time init</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; if (typeof(document.body.style.maxHeight) === &quot;undefined&quot;) { // if IE 6</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; $(&quot;body&quot;,&quot;html&quot;).css({height: &quot;100%&quot;, width: &quot;100%&quot;});</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; // add styles (IE6 hack not possible as element style!)</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; $(&quot;head&quot;).append(&quot;&lt;style type=\\&quot;text/css\\&quot;&gt;#modal-bg {position:fixed; z-index:100; top:0px;left:0px; height:100%;width:100%; background:black; opacity:0.8; filter:alpha(opacity=80); display:none;}\\n&quot; +</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &quot;#modal-fg {position:fixed; z-index:101; top:50%;left:50%; padding:3px; border:2px solid #E0E0E0; background-color:white; display:none;}\\n&quot; + // IE6 hack: add (very!) slow IE-CSS-expression only for IE &lt; 7</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; ($.browser.msie &amp;&amp; $.browser.version &lt; 7 ? &quot;* html #modal-bg {position: absolute; height:expression(document.body.scrollHeight &gt; document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');}\\n* html #modal-fg {position: absolute; margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement &amp;&amp; document.documentElement.scrollTop || document.body.scrollTop) + 'px');}\\n&quot; : &quot;&quot;) +</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &quot;#modal-fg img {display:block;}\\n&lt;/style&gt;&quot;);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; modalBG = $(&quot;&lt;div id='modal-bg'/&gt;&quot;); // #### in old code version: HEIGHT was changed to: $(document).height()-- necessary for some browsers??? Trying without!</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; modalFG = $(&quot;&lt;div id='modal-fg'/&gt;&quot;);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; modalBG.click(function() { modalLayer_Hide(); });</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; $(&quot;body&quot;).append(modalBG).append(modalFG);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; } // END first time init</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; $(document).keydown(modalLayer_KeyDown);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; // generic view port functionality: close icon and background click</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; modalFG</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; .append( $('&lt;div style=&quot;position:absolute;right:4px;&quot;/&gt;')</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; .append(createButton(&quot;close&quot;, modalLayer_Hide)) );</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; modalBG</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; .append('&lt;img src=&quot;' + $.resource('ZoomImage_iconLoader') + '&quot;&#160; id=&quot;loaderIcon&quot;&#160; style=&quot;position:absolute;top:50%;left:50%;&quot;/&gt;')</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; .show();</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; fnRender(paramsObj); // Execute custom logic, example: modalLayer_ZoomImage</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">}</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">//////////////////////</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// Modal Image zoom</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// Description: Create modal layer and execute fnRender</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// fnRender: custom function to display something</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// paramsObj: generic parameters passed to &quot;fnRender&quot;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">function modalLayer_ShowImage(newImg, oriImg) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; var title = oriImg.title,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; imgWidth = newImg.width,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; imgHeight = newImg.height,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; modalBG = $(&quot;#modal-bg&quot;),</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; modalFG = $(&quot;#modal-fg&quot;);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; modalBG.find(&quot;#loaderIcon&quot;).remove();</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; if (imgWidth===0) { // Only IE, only if newImg = oriImg.clone(): cloned image in IE has no width</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; imgWidth = oriImg.width;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; imgHeight = oriImg.height;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; // extend height of modal layer for no-zoom msg</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; var zoomIsPossible = (imgWidth != oriImg.width),</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; layerHeight = imgHeight + 105 + ((!zoomIsPossible) ? 60 : 0),</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; layerWidth = Math.max(300, imgWidth + 70); // reserve minimal text width</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; // delete alt text &amp; add click function to hide modal</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; $(newImg).removeAttr(&quot;alt&quot;)</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; .attr(&quot;title&quot;, title.replace($.resource(&quot;toolTipImageZooming&quot;),$.resource(&quot;toolTipClose&quot;)))</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; .click( function() {modalLayer_Hide();});</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; modalFG</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; .css({width: layerWidth + &quot;px&quot;, height: layerHeight + &quot;px&quot;, &quot;margin-left&quot;: -(layerWidth/2)})</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; .append( zoomIsPossible ? $('&lt;div style=&quot;position:absolute;left:4px;&quot; id=&quot;iviewer_zoom_icon&quot;/&gt;').append(createButton(&quot;zoomImg&quot;,&#160; modalLayer_InitShowIviewerZoomImage)) :&quot;&quot; )</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; // append content to foreground; wrap image with &lt;div&gt;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; .append($(&quot;&lt;div id='modal-fg-wrapper' style='margin-left:&quot; +</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; (layerWidth-imgWidth) / 2 + &quot;px; margin-top:35px;'/&gt;&quot;)</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; .append(newImg)// add image</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; )</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; // + caption</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; .append($(&quot;&lt;div id='zoomcaption' class='zoomcaption' style='text-align:center; margin:8px 2px 2px 2px; font-weight:bold;'/&gt;&quot;)</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; .append(title.replace(&quot;(&quot;+$.resource(&quot;toolTipImageZooming&quot;)+&quot;)&quot;,&quot;&quot;)+&quot;&lt;br /&gt;&quot;)</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; // URL to metadata page from &quot;a[href]&quot; around img</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; .append($.linkBuilder(&quot;imageMetadataLink&quot;, &quot;&quot;, $(oriImg).closest(&quot;a&quot;).attr(&quot;href&quot;), &quot;target='_blank'&quot;))</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; .append( !zoomIsPossible ? &quot;&lt;br/&gt;&lt;br/&gt;&lt;span style='color:red;'&gt;&quot; + $.resource(&quot;zoomNotPossible&quot;) + &quot;&lt;/span&gt;&quot; : &quot;&quot;)</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; );</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; // take away IE6 modifications</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; if ( !($.browser.msie &amp;&amp; $.browser.version &lt; 7)) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; modalFG.css({&quot;margin-top&quot;: -((layerHeight + 8) / 2)}); // 8 from other margin-top</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; modalFG.fadeIn(50);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">}</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// Description: load script and functionality on demand for jQuery plugin iviewer</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">function modalLayer_InitShowIviewerZoomImage() {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; if (typeof modalLayer_ShowIviewerZoomImage !== &quot;function&quot;) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; $.getScript(mw.config.get('wgServer') + mw.config.get('wgScript') + &quot;?title=MediaWiki:Jquery.zoomImage.js&amp;action=raw&amp;ctype=text/javascript&quot;,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; function(){modalLayer_ShowIviewerZoomImage();});</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; } else {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; modalLayer_ShowIviewerZoomImage ();</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; return false;// needed for click on &lt;a href'#'&gt;&lt;/a&gt; \u2192 no # appended to the URL</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">}</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">//&#160;  Description: custom function to be passed to modal layer zooming an image</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">//&#160;  paramsObj: object containing &quot;caller&quot; = ref to a link including an img</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">function modalLayer_ZoomImage(paramsObj) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; var oriImg = $(paramsObj.caller).find(&quot;img&quot;).get(0), // caller is typically a[href]</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; urlParts = oriImg.src.split(&quot;/&quot;);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; if ((oriImg.src.search(/\\/thumb\\//) === -1) ||</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; (urlParts[urlParts.length - 1].search(/px-/) === -1))&#160;  {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; // no larger picture possible, use existing</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; modalLayer_ShowImage($(oriImg).clone().get(0), oriImg);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; } else { // images with &quot;/thumb/&quot; in path can be enlarged using URL-based resize</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; var stdThumbWidths = [1600,1400,1280,1024,900,800,700,640,600,550,480,400,350,320,300,250,200,180,150,120,100,80],</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; maxHeight = $(window).height() - 105, // 70 for additional text; 35 for space at top and bottom</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; maxWidth&#160; = $(window).width()&#160; - 50; // 50 for space left &amp; right</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; // smallest possible of upscaling factor for height, width, multiply back to get max possible width</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; var maxScaledWidth = oriImg.width * Math.min(maxHeight/oriImg.height, maxWidth/oriImg.width),</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; maxScaledHeight = oriImg.height * maxScaledWidth / oriImg.width;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; // reduce to next smaller standard thumb width (</ins>mediawiki <ins class=\"diffchange diffchange-inline\">preview settings plus additions)</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; for (var i = 0; i &lt; 22; i++) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; if (stdThumbWidths[i] &lt; maxScaledWidth) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; maxScaledWidth = stdThumbWidths[i];</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; maxScaledHeight = oriImg.height * maxScaledWidth / oriImg.width;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; break;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; urlParts[urlParts.length - 1] = maxScaledWidth + &quot;px-&quot; + urlParts[urlParts.length - 2];</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; var newImg = new Image(maxScaledWidth, maxScaledHeight);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; // Load image. load/error occur asynchronously, need independent calls</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; // appending &quot;random()&quot; seems necessary for IE6-8, else &quot;zoom image, close, zoom again&quot; fails. REASON?</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; $(newImg)</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; .attr(&quot;src&quot;, urlParts.join(&quot;/&quot;)+&quot;&amp;rnd=&quot;+$.random(0,10000))</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; .load(function() { // load succeeded: create modal layer after loading image, else values (width, etc.) are 0</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; modalLayer_ShowImage(newImg, oriImg);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; })</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; .error(function() { // Error loading thumb, main reason: thumbs must be smaller than ori size.</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; // Currently assuming this reason, loading full original image; BETTER: test using API:</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; // http://commons.wikimedia</ins>.org/<ins class=\"diffchange diffchange-inline\">w/api.php?action=query&amp;titles=Image:Lamium_purpureum_scan.jpg&amp;prop=imageinfo&amp;iiprop=size</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; urlParts.pop(); // remove last part (e.g. 800px-xyz.jpg)</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; // set default width and height in case of thumbnail generation failure with huge images</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; newImg = new Image(maxScaledWidth, maxScaledHeight); // load original image</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; $(newImg)</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; .attr(&quot;src&quot;, urlParts.join(&quot;/&quot;).replace(&quot;/thumb&quot;, &quot;&quot;)) // remove &quot;/thumb&quot; from url to get full. DO NOT ADD random here!</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; .load(function() {modalLayer_ShowImage(newImg, oriImg);}) // load succeeded</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; // 2nd level fail -&gt; load from wikimedia.org</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; .error(function() {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; // set default width and height in case of thumbnail generation failure with huge images</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; newImg = new Image(maxScaledWidth, maxScaledHeight);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; $(newImg)</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; .attr(&quot;src&quot;, &quot;http://commons.wikimedia.org/w/thumb.php?f=&quot;+urlParts[urlParts.length-1]+&quot;&amp;width=&quot;+maxScaledWidth+&quot;px&quot;+&quot;&amp;rnd=&quot;+$.random(0,10000))</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; .load(function() {modalLayer_ShowImage(newImg, oriImg);}) // load succeeded</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; // 3rd level fail -&gt; load unchanged </ins>wiki <ins class=\"diffchange diffchange-inline\">page thumb</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; .error(function() {modalLayer_ShowImage($(oriImg).clone().get(0), oriImg);});</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; });</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; }); </ins>/<ins class=\"diffchange diffchange-inline\">/ end first level error</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">}</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// Description</ins>: <ins class=\"diffchange diffchange-inline\">Show image in modal layer</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// caller: reference to a link around image</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">function zoomImage(caller) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; modalLayer_Create(modalLayer_ZoomImage, {caller: caller});</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; return false; // cancel default event</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">}</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// Description: Add a modal zoom functionality to all images linking to own metadata</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">function initImageZooming() {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; $(&quot;a[href].image img&quot;).each(function() {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; var jParent = $(this).parent(),</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; metaURL = jParent.attr(&quot;href&quot;),</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; urlParts = this.src.split(&quot;/&quot;),</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; imgFileName = (this.src.search(/\\/thumb\\//) != -1) ? urlParts[urlParts.length - 2] : urlParts[urlParts.length - 1];</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; // Is file name also in metadata page link? Else abort (e.g. for |link=parameter| wiki-images)</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; // Problem: a.href and img.scr inconsistently! use encoded or non-encoded versions of e.g. () or &quot;,&quot; -&gt; unescape</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; if (unescape(metaURL).indexOf(unescape(imgFileName)) == -1) { return; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; // pass along the image</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; jParent.click(function() { return zoomImage(this); });</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; // set or change title, set alt to title</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; var newTitle = this.alt + ((this.alt.length === 0) ? &quot;&quot; : &quot; &quot;) + &quot;(&quot; + $.resource(&quot;toolTipImageZooming&quot;) + &quot;)&quot;;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; $(this).attr({title:newTitle, alt:newTitle});</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; });</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">}</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// END Modal Layer/Img Zoom</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">////////////////////////////</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// jKey Source</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">importScript(&quot;</ins>MediaWiki<ins class=\"diffchange diffchange-inline\">:JKey.js&quot;);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; if (mw.config.get('wgAction') == &quot;edit&quot; || mw.config.get('wgAction') == &quot;submit&quot; ) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; importScript(&quot;MediaWiki:JKeyWikiEditorHelp.js&quot;); // load help for the wikiEditor</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// click-text modifications for mw-customcollapsible triggering from outside of mw-collapsible</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">importScript(&quot;MediaWiki:Mw-customcollapsible.js&quot;);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">/*</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; function initMarkAllFilledFormElements()</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; Description: formats background of form elements created by template:Hidden</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; having class indicateHiddenInputs or other fields</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; having class indicateFilledFormElements</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">*/</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">function initMarkAllFilledFormElements(){</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; /*</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; structure of template:Hidden:</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; div.collapsebox</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; \u251c div.switcher (float)</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; \u251c div.collapsetitle</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; \u2514 div.collapsecontent</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; tr.collapsebox</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; \u2514 th/td</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; \u251c div.switcher (float)</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; \u2514 div.collapsetitle</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; tr.collapsecontent</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; */</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; var jDivHiddenFormTexts = $(</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; // select only input type text + textarea with values</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160;  &quot;div.collapsecontent.indicateHiddenInputs * :text[value!=</ins>]<ins class=\"diffchange diffchange-inline\">&quot; +</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160;  &quot;, div.collapsecontent.indicateHiddenInputs </ins>* <ins class=\"diffchange diffchange-inline\">textarea</ins>[<ins class=\"diffchange diffchange-inline\">value!=]&quot;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; );</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; var jTrHiddenFormTexts = $(</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; // select only input type text + textarea with values</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160;  &quot;tr.collapsecontent.indicateHiddenInputs *</ins>:<ins class=\"diffchange diffchange-inline\">not(.collapsecontent) :text[value!=]&quot; +</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160;  &quot;, tr.collapsecontent.indicateHiddenInputs *:not(.collapsecontent) textarea[value!=]&quot;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; );</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; var jIndicateFilledFormElements = $(</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160;  &quot;.indicateFilledFormElements:text[value!=]&quot; +</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160;  &quot;, textarea[value!=].indicateFilledFormElements &quot;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; );</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; </ins>/<ins class=\"diffchange diffchange-inline\">*</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; pale orange:</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; hsv \u2192&#160; 36 20 99 36 10 99&#160; 36 05 99</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160;  #fce8ca&#160; #fcf2e3&#160;  #fcf7f0</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; pale yellow</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; hsv \u2192 50 18 100&#160; 50 10 100</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; #fff7d0&#160; &#160; #fffbe6</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; *</ins>/</div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; var bgcolor =&#160; &#160; &#160;  {'background-color':'#fffbe6'};</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; var bgcolor_darker = {'background-color':'#fff7d0'};</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">//&#160; hidden elements</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; // &lt;div&gt;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; //indicate the fields itself</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; jDivHiddenFormTexts</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; </ins>.<ins class=\"diffchange diffchange-inline\">css(bgcolor); //pale orange</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; // parent switcher</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; jDivHiddenFormTexts</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; </ins>.<ins class=\"diffchange diffchange-inline\">parentsUntil('.collapsebox')</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; .parent()</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; .find('div.switcher')</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; .css(bgcolor_darker); </ins>//<ins class=\"diffchange diffchange-inline\">pale orange</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; </ins>/<ins class=\"diffchange diffchange-inline\">/ &lt;tr&gt;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; //indicate the fields itself</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; jTrHiddenFormTexts</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; .css({'background-color':'#fce8ca'}); //pale orange</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; jTrHiddenFormTexts.each(function(){</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; if($.trim($(this).text())){// make sure there is really text</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; $(this).parentsUntil('.collapsebox', '.formtable')</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; .find('div.switcher')</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; .css(bgcolor_darker); //pale orange</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; });</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">//&lt;select&gt;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; $(</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; '.collapsecontent.indicateHiddenInputs select option[value!=]:selected' +</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; ', select.indicateFilledFormElements option[value!=]:selected'</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; ).parent().css(bgcolor);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// all visible form elements</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; jIndicateFilledFormElements</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160;  .css(bgcolor); //pale orange</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">}// END initMarkAllFilledFormElements()</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">///////////////////////////</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// moveable table of contents</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">//////////////////////////</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// offers floating the table of contents to the left or right side (will make part of the page invisible!)</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">function initmoveTOC() {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; $('#togglelink').after(' | &lt;span style=&quot;cursor:pointer;color:blue;&quot; title=&quot;'+</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; $.resource('toolTipFloatleft') +'&quot; onclick=&quot;moveTOC(\\'0px\\')&quot; &gt;\u25c4&lt;/span&gt; &lt;span style=&quot;cursor:pointer;color:blue;&quot; title=&quot;'+</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; $.resource('toolTipFloatright') +'&quot; onclick=&quot;moveTOC(\\'right\\')&quot; &gt;\u25ba&lt;/span&gt; &lt;span id=&quot;restorestatic&quot; style=&quot;display:none;&quot;&gt;| &lt;span style=&quot;cursor:pointer;&quot; title=&quot;'+</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; $.resource('toolTipUnfloat') +'&quot; onclick=&quot;moveTOC(\\'restore\\')&quot; &gt;\u00d7&lt;/span&gt;&lt;/span&gt; ');</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">}// end initmoveTOC</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">function moveTOC(position) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">/* position may be string &quot;right&quot;, or &quot;restore&quot;, everthing else is interpreted as &quot;left&quot; */</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; var offsetX, offsetY;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; var TOC = $('#toc');</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; if ($('#moveTOC').length === 0) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; TOC.wrapAll('&lt;div id=&quot;moveTOC&quot;&gt;&lt;/div&gt;');</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; if ($('#toTop').length === 0) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; $(&quot;#toctitle h2&quot;).after('&lt;a href=&quot;#mw-head&quot; id=&quot;toTop&quot; title=&quot;'+$.resource('toolTipNavigatePagetop') +'&quot;&gt;\u2191&amp;nbsp;&lt;/a&gt;');</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; switch (position) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; case &quot;right&quot;:</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; offsetX = $(&quot;#content&quot;).width() - 140;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; offsetY = - 55;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; break;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; case &quot;restore&quot;:</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; TOC.unwrap();</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; $('#toTop').remove();</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; $('#restorestatic').hide('slow');</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; $(&quot;#toctitle h2&quot;).show('slow');</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; break;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; default:</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; offsetY = -110;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; offsetX = 0 - $(&quot;#mw-panel&quot;).width() - 14 ; // padding#content</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; break;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; }// end switch</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; if (position != &quot;restore&quot;) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; $(&quot;#toctitle h2&quot;).hide('slow');</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; $('#restorestatic').show();</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; $('#moveTOC')</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; .css({&quot;position&quot;:&quot;absolute&quot;})</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; .animate({'max-width':&quot;13em&quot;})</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; .animate({</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; 'left': $(window).scrollLeft()+ offsetX +&quot;px&quot;,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; 'top' : $(window).scrollTop() + offsetY +&quot;px&quot;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; });</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; // emulate position fixed see CSS .navigation-left .navigation-right</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; $(window).scroll(function(){</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; $('#moveTOC')</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; .animate({</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; 'left': $(window).scrollLeft()+ offsetX +&quot;px&quot;,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; 'top' : $(window).scrollTop() + offsetY +&quot;px&quot;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; },{queue: false, duration: 400} // queue: don't wait</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; );</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; });</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; } // end positioning unless restore</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">}// end function moveTOC()</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">///////////////////////////////////////////////////////////////</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// specific to&#160; http://offene-naturfuehrer.de</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">///////////////////////////////////////////////////////////////</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// collapsible parts: div and tr \u2192 Template:Hidden</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">//&#160;  may be fused later with toggleCollapse</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">//&#160;  main difference: initCollapsebox() uses a switcher defined by the Wikitemplate</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">//&#160;  and is not using a javascript resource title.</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">//&#160;  * the only advanced feature it has: collpsible table rows</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">//&#160;  * otherwise use http://www.</ins>mediawiki<ins class=\"diffchange diffchange-inline\">.org/wiki/RL/DM#jQuery.makeCollapsible</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">//&#160;  DEPENDENCIES&#160; resources: $.jl18n.en.toolTipExpand&#160; and $.jl18n.en.toolTipCollapse</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// specific to&#160; http://offene</ins>-<ins class=\"diffchange diffchange-inline\">naturfuehrer.de</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">function initCollapsebox() {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; /* is nested in: div.collapsebox</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; \u2514 div.switcher</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; \u2514 div.collapsecontent */</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; var hasSwitcher = jQuery(&quot;div.switcher .show, div.switcher .hide&quot;);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; if(hasSwitcher.length){</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; jQuery.each(hasSwitcher, function(index){// add tooltip</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; hasSwitcher[index].title = hasSwitcher[index].className === &quot;show&quot;? jQuery.resource(&quot;toolTipExpand&quot;) : jQuery.resource(&quot;toolTipCollapse&quot;);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; });</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; jQuery(&quot;div.collapsebox div.switcher&quot;).live('click',</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; function() {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; jQuery(this).nextAll(&quot;div.collapsecontent:first&quot;).slideToggle(250);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; /* $(this).toggle() does not work in live as toggle is a bind()</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; therefore toggle must be bound to a different DOM element */</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; jQuery(this).find(&quot;.show, .hide&quot;).toggle();</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; });</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; /* is in a table: tr.collapsebox</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; \u2514 div.switcher</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; tr.collapsecontent */</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; jQuery(&quot;tr.collapsebox div.switcher&quot;).live('click',</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; function() {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; jQuery(this).closest(&quot;tr.collapsebox&quot;).nextAll(&quot;tr.collapsecontent:first&quot;).toggle();</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; jQuery(this).find(&quot;.show, .hide&quot;).toggle();</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; });</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; // TODO is a better generic check possible?</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; if (mw.config.get('wgPageName') === &quot;Spezial:Suche&quot;) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; if (!$(&quot;.mw-search-results&quot;).length) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; // open box with additional search possibilities</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; $(&quot;.switcher .show&quot;).trigger('click');</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; return true;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; return false;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">}// END initCollapsebox()</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">///////////////////////</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// Table Filter/Sort //</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">///////////////////////</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// specific to&#160; http://offene-naturfuehrer.de</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// TODO ?replace by jQuery plugin datatable?</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">function initTableFilterSort(){ // see </ins>MediaWiki<ins class=\"diffchange diffchange-inline\">:SortTableFilter.js</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">/* Note: problem is auto-inserted &lt;tbody&gt;&lt;/tbody&gt; by the browser: must be removed and</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160;  replaced by thead + tbody. jQuery.unwrap() was not successful */</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160;  // add possibly more classes from http://www.javascripttoolbox.com/lib/table/documentation.php</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; // Note: only applies to non-nested tables</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; var jAutotables = $('table.table-autosort, table.table-autofilter, table-autostripe,table-sorted-asc,table-sorted-desc, table-filtered');</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; if (jAutotables.length) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; // Note: in MediaWiki:SortTableFilter.js 'InputFilterTitle' was not recognized</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; $.extend(true, $.jI18n, {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; en: {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; AutoSortTitle : 'Click to sort',</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; FilterAllLabel: 'Filter: All',</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; InputFilterTitle: 'Filter text (case sensitive, uses reg. expressions)'</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; },</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; de: {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; AutoSortTitle : 'Zum Sortieren klicken',</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; FilterAllLabel: 'Zeige: alle',</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; InputFilterTitle: 'Text filtern (GRO\u00df/klein!, nutzt reg. Ausdr\u00fccke)'</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; });</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; // get sortable/filterable here already otherwise multiple th-filters</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; $.getScript(mw.config.get( 'wgServer' ) + mw.config.get( 'wgScript' ) + &quot;?title=MediaWiki:SortTableFilter.js&amp;action=raw&amp;ctype=text/javascript&quot;,</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; function(){return true;});</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; // modify tables to introduce thead structure</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; jAutotables.each(function(index){ //TODO simplify code? if()\u2026</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; // There may or may not be a tbody around tr. NOTE: $.unwrap() does not work here!</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; // Memo: find('tr th') finds th, .parent() retrieves tr! .wrapAll will wrap inside DOM, not in return value! .detach() returns detached</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; // OK in FF 3.6 and IE 7-8, not in IE6 (like the old code)</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; // FURTHER WORK: Ideally, all normal tr td should remain in a tbody.</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; var jThis = $(this),</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; jThead = jThis.find('tr th').parent().detach(),</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; jTfoot = jThis.find('tr[class=tfoot</ins>] <ins class=\"diffchange diffchange-inline\">td').parent().detach(),// remove it from the DOM</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; jTbody = jThis.find('tbody:first');</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; if (jTbody.length===0) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; jThis.children().wrapAll('&lt;tbody/&gt;');</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; jTbody = jThis.find('tbody:first');</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; jTbody.before($(&quot;&lt;thead/&gt;&quot;).append(jThead));</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; if (jTfoot.length) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; &#160; jTbody.after($(&quot;&lt;tfoot/&gt;&quot;).append(jTfoot));</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; // th with class=&quot;input&quot; gives an input field instead of selections</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; &#160; $(this).find('th[class=input]').append('&lt;input name=&quot;filter&quot; title=&quot;'+$.resource('InputFilterTitle')+'&quot; size=&quot;8&quot; onkeyup=&quot;Table.filter(this,this)&quot;&gt;');</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; });// end each()</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; } // END if any autotable</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">}</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">///////////////////////</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// specific to&#160; http://offene-naturfuehrer.de</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// Page-specific scripts:</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">switch (mw.config.get( 'wgPageName' )) { // Minimize the pages on which the code will be loaded</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; // vielleicht sp\u00e4ter auch woanders, d.h. als vorgew\u00e4hlte Suche auf Taxaseiten beispielsweise?</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; case &quot;Datenquellen&quot;:</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; case &quot;Online-\u00dcberpr\u00fcfung_von_Bestimmungen&quot;:</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; case &quot;Tipps_zur_Bildersuche&quot;:</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; case &quot;Spezial:Suche&quot;:</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; importScript(&quot;MediaWiki:SearchTools.js&quot;);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; break;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; case &quot;Hilfe:Nummerierungen_im_jKey_ab\u00e4ndern_(Lead_Nummern)&quot;:</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; importScript(&quot;MediaWiki:JKeyRenumberingTool.js&quot;);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; break;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; case &quot;Hilfe:Konvertierung_geschachtelt-einger\u00fcckter_Schl\u00fcssel_in_das_ON-Format&quot;:</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; case &quot;Testseite&quot;:</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; importScript(&quot;MediaWiki:JKeyTextToLeadTemplateTool.js&quot;);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; break;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">}</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// Page-specific scripts more flexible:</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">if (mw.config.get('wgPageName').match(/^Basismerkmale_f\u00fcr/i)</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; || mw.config.get('wgPageName').match(/^Vorlage:Character_State/i)</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; || mw.config.get('wgPageName').match(/^Vorlage:Character_Definition/i)</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">) {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; importScript(&quot;MediaWiki:ToolGetRandomId.js&quot;);</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">}</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">/*</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160;  mediaWiki.loader.state({&quot;site&quot;:&quot;ready&quot;}); is appended and takes care of</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160;  the document ready event. If $(document).ready() is used, for forms</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160;  $ is then unknown. Scope or closure problem? (AP 2011-02-20)</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> */</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// When document is completely loaded</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">$(document).ready(function() {</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; initImageZooming();</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; initTargetHighlighting(); // page-internal jumps</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; initmoveTOC(); // TOC CSS position fixed or static</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; // specific to&#160; http://offene-naturfuehrer.de</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; initTableFilterSort(); // tests internally whether table with corresponding classes exist </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">}); // end $(document).ready()</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; // ***** CAN initCollapseButtons BE DELETED?</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; // TEST: COMMENTED OUT</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; // initCollapseButtons(); // strongly changes page layout: execute first</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; initCluetips();</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; // page specific</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; if(mw.config.get( 'wgAction' )===&quot;formedit&quot; || mw.config.get( 'wgCanonicalSpecialPageName' )===&quot;FormEdit&quot;){</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160;  // initConfirmDeleteSubform();</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; initMarkAllFilledFormElements();</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; }</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; // specific to&#160; http://offene-naturfuehrer.de</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; &#160; initCollapsebox(); //collapsible parts </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">// &lt;/source&gt;</ins></div></td></tr>\n"
    }
}