// SilverIPE: A simple In Place Editor Class
// By: Jean-Nicolas Jolivet (http://www.silverscripting.com)
// Released under the MIT License

eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('k g=5(a,b,c){1.S=b;k d=1;1.2=(H a===\'1A\')?A.1B(a):a;1.2.T=(1.2.T===\'\')?\'1C 1D 1E...\':1.2.T;1.I=(1.2.7.r===\'\')?\'1F\':1.2.7.r;1.9={17:\'B\',t:\'U\',J:\'#1G\',18:\'#1H\',19:\'1I...\',1a:\'1J\',1b:\'1K\',V:20,1c:4,W:{}};1.9=1.1d(1.9,c||{});1.9.t=1.9.t.1L();1.2.1M=5(){d.2.7.r=d.9.J};1.2.1N=5(){d.2.7.r=d.I};1.2.Y=5(){d.1e.n(d)};1.1f()};g.h.1f=5(){k a=1.2.1O;k b=1;m(1.2.u.v()===\'1P\'||((1.2.u.v()===\'1g\'||1.2.u.v()===\'p\')&&1.2.7.i===\'C\')){1.f=A.K("1Q");1.f.1h="L";1.f.1R=1.9.V;1.Z=\'C\'}10 m((1.2.u.v()===\'1g\'||1.2.u.v()===\'p\')||(1.2.u.v()&&1.2.7.i===\'1i\')){1.f=A.K("1S");1.f.1T=1.9.V;1.f.1U=1.9.1c;1.Z=(1.2.7.i===\'\')?\'1i\':1.2.7.i}1.f.7.i=\'w\';1.f.7.1V=\'1W 1X \'+1.9.18;1.f.7.r=1.9.J;a.11(1.f,1.2.12);1.o=A.K(\'a\');1.o.y=1.9.1a;1.13(1.o);1.o.Y=5(){b.1j.n(b);l 1k};a.11(1.o,1.f.12);1.q=A.K(\'a\');1.q.y=1.9.1b;1.13(1.q);1.q.Y=5(){b.14.n(b);l 1k};a.11(1.q,1.o.12)};g.h.14=5(){1.M()};g.h.1j=5(){m(1.f.B!==1.1l){1.2.y=1.9.19;1.M();1.j=1.1m();k a=1;k b=1.1n();k c=1.9.17+\'=\'+1.f.B+b;k d=1.9.t==="U"?1.S:1.S+"?"+c;1.j.1Y=5(){a.1o.n(a)};1.j.1Z(1.9.t,d,21);1.j.D(\'X-22-23\',\'E\');1.j.D(\'24\',\'L/25, L/26, 1p/1q, L/1q, */*\');m(1.9.t==="U"){1.j.D("1r-1h","1p/x-27-28-29; 2a=2b-8");1.j.D("1r-1s",c.1s);1.j.D("2c","2d")}1.j.2e(c)}10{1.14()}};g.h.1n=5(){k a="";1t(N 1u 1.9.W){m(H N!=="5"){a=a+"&"+N+"="+1.9.W[N]}}l a}g.h.M=5(){1.f.7.i=\'w\';1.o.7.i=\'w\';1.q.7.i=\'w\';1.2.7.i=1.Z};g.h.13=5(a){a.2f=\'#\';a.7.2g=\'2h, 2i-2j\';a.7.2k=\'2l\';a.7.i=\'w\';a.7.2m=\'0 2n\'};g.h.1e=5(a){k b=1.1v(1.2.y);1.f.B=b;1.1l=1.f.B;1.1w();1.f.2o()};g.h.1w=5(){1.2.7.i=\'w\';1.f.7.i=\'C\';1.o.7.i=\'C\';1.q.7.i=\'C\'};g.h.15=5(a,b,c){k d=1;O(5(){d.F.n(d,a,c)},2p);O(5(){d.F.n(d,a,b)},2q);O(5(){d.F.n(d,a,c)},2r);O(5(){d.F.n(d,a,b)},2s)};g.h.F=5(a,b){a.7.r=b};g.h.1d=5(a,b){k c;1t(c 1u b||{}){m(H c!=="5"){a[c]=b[c]}}l a};g.h.1v=5(a){l a.1x(/^\\s\\s*/,\'\').1x(/\\s\\s*$/,\'\')};g.h.1m=5(){m(H E==="2t"){E=5(){P{l z Q("16.G.6.0")}R(e){}P{l z Q("16.G.3.0")}R(e){}P{l z Q("16.G")}R(e){}P{l z Q("2u.G")}R(e){}2v z 1y("2w 2x 2y 2z 2A E 2B G.");}}k a=z E();l a};g.h.1o=5(){m(1.j.2C===4){m(1.j.1z===2D){1.2.y=1.j.2E;1.M();1.15(1.2,1.I,1.9.J)}10{1.2.y=\'1y \'+1.j.1z+": "+1.j.2F;1.15(1.2,1.I,\'#2G\')}}};',62,167,'|this|el|||function||style||options||||||inputEl|SilverIPE|prototype|display|request|var|return|if|call|saveButton||cancelButton|backgroundColor||method|tagName|toLowerCase|none||innerHTML|new|document|value|inline|setRequestHeader|XMLHttpRequest|doHighlight|XMLHTTP|typeof|originalBg|highlightColor|createElement|text|hideIpe|param|setTimeout|try|ActiveXObject|catch|url|title|POST|textWidth|additionalParameters||onclick|originalDisplay|else|insertBefore|nextSibling|setCommonStyles|cancelClicked|highlight|Msxml2|parameterName|borderColor|savingText|saveButtonLabel|cancelButtonLabel|textHeight|mergeObjects|elClicked|buildElements|div|type|block|saveClicked|false|lastValue|requestFactory|extractParams|handleRequest|application|xml|Content|length|for|in|trimString|showIpe|replace|Error|status|string|getElementById|Click|to|edit|transparent|FFFFBF|000|saving|save|cancel|toUpperCase|onmouseover|onmouseout|parentNode|span|input|size|textarea|cols|rows|border|1px|dashed|onreadystatechange|open||true|Requested|With|Accept|javascript|html|www|form|urlencoded|charset|utf|Connection|close|send|href|fontFamily|arial|sans|serif|fontSize|11px|margin|4px|focus|75|150|225|300|undefined|Microsoft|throw|This|browser|does|not|support|or|readyState|200|responseText|statusText|FF8282'.split('|'),0,{}))