PK f5C6"JJw⠭ ⥪. 㬥 2.1 ७ ꥪ⮢ ⠤ 䠩 ⠢ ⥪ 䨣.htm . :: 2.1
:        
_______
..
 
 
 
    2.1
       
 
PKe5Cz⠭ ⥪. 㬥 2.1 ७ ꥪ⮢ ⠤ 䠩 ⠢ ⥪ 䨣_files/PK e5C_⠭ ⥪. 㬥 2.1 ७ ꥪ⮢ ⠤ 䠩 ⠢ ⥪ 䨣_files/1C-ITS.gifGIF89a5mkhijceg_`abaeYZ[[]\^^`TTVWXX[]`gikllLMLNOQRQSVZ``bbbdefFGHJIKLMMOYZ[]Y^_`;=>@ABAEEIOPNSTUWVUZ]_9:DFGHIGKLLQZ;<>?ACBFGIKPMRU>BDINM>@IR6@L569=C.4߅:=y.|/3|47ނ9@t)v-y1~;>p*r.p0u2u3x5u6w6z9j'k)g)p4^"a&b'c)j/k2[#]%^'_+d-RU V"Z&Z&\)NQ!O"U%R%W(FGIL >BD98:>A367(-+-0/& % " &&%$'(,     !    !,5@ A&<ÆJ\HD#fǎ 98cɐSTr˖0O,8e͘,ofO% (thQBMz)ӧK*TjUPZz+ׯ[NJYʞ]ڶluK7n]xݛ޾| K #VpŎKLǘ'_֜r͞9Mi̥?}ԮcÞݚkν[޿}.xWn<ϛC.:я!b{ܽ=<ӗ_ˇ>>_ D 83 1_GL5S /` vȡx h* xmx"*.(H#{؈9>!+: 8c>XJ%8` a(ы:X)?gV))c%gzxC7bZGԩaރ憥dçp8(z-菕8袗^=bӎ8sX n `˞.ƠOViOc`7ܰl@ VʻⱾ=lcP*xHhN ~gỲd΀| ƻ6 R>C03` #8˂Cs w(}XI31IOS< *]h 28+ŃD,C+e3&@ :7gAlȠ C1^8N@yT }!/;cT0C;dyxqm0:`D8JhD#QRA$HJQҔca~b81I9[/@# A QH@Ra%yD/%E$VF3i%mJlDJh q%v$~Ԭ'=#£\F2Pfb-1^P 7@:<K LB*VHBa$`I؅#-ŤMsX#姕aRvUiH$XbGґԪ85b<* e\զXő.Tq`MW+yu&Pҹ&ᙳH((eWCXIH`&5,bQpbp&]Sq%aIZ#;WCTQIXD֑6U$QUlP +ibҰ/R޾GanF0kg‚{1@Ăs\*wv'ьTxύ$x!:(`Z5aJX) 0s_0)xH@ ̍@FV:(+`q'l %&SsHpfȭ+#mI|+#4"̈́*x)4a0:"P +Xf,af2(lDza@Xinq}עV5z@"J((i? Ex"(-iROҦN5W]JY$z(t^f[ Oã] \`ܲMiD M-.!a'"S\vխmn B[tUv5`C7MF 'JA<0pв(8bp<@<w,yg.sVy\Xzᑇ|ms4NsJs~ib]f6+bžv}x{^W=ΊB $[Da%t jlx_{a% 0^ȼNk@[PvWl!8祱WB}W_]+) ),a]c~F{w.yHgOeW`V*0)pOs~'M-ܐ5ZZQtXV[p'[s@ p Ye2X|v`%׀20(18AxF@5gPKsP0(ŀV(=M^H`%`%PnD./8`%7(ʐs Vb Yy#thuxsxqv%7vY}a, ՈI&,X`XpLJ( Vb X` VBph W p̘Xxy`֌ȉa 䨍˸ 8͘Q 츎 -јʸ" +Ő+S+v+@ V 9X@ Vx+I9[XtX@ V +@nc ?@ynװ0)pV`*S" * w*p VPJ#VIiYS9) * ;tI?`?k*PlS< i*P VP V0Fv``%U)P`%P\ɇ`%PE w ]D (pi ؚy)PPEpiFUI)iɝ扚Yh,Pݹ *i%'pUY`%Up7PP  PE0 ()pɍ` ɍY|P>p܀ɟ ZFU@j8 X 19aۀj W 0 0U >`&j`[`%`_j0c &`Ӏ+ &*wj`_: bjPv`ĠBvxW&`fgj *]B& '@j U4gʥ<p <<ЙV \ӀXr@<@O~Ъ W ꧱ <0` P<0ʥZ:㺮`1 jМa(| ڪiHi V2  [{j <u 0 PE0 0 `~`6 .۪`%//K` &! À P  `<`i;pggPp`%[[ ]$@ }`d@8@d[n  ǺuPZkgz:ww[t= +[KYK` SZK c f`: fa[뺈СW @ ސ' d຤ۺ; *f}뻮˸` u@ SKް +k%0eP9j 9ꋾ󛾗P|@+ۿ;aR  9p;K(RpL0ub PLR dR` @` p $—p¦ B| ?<1L~p›@t.Rr@Ġ p.|=<2l @XB]" P0clsk,o oKA=EMBFGLKJ=N-UMPVW\[Sb n@fg]klprtvuw={|׀ׂׄmag}؉n؍؎ِ=ً]ُmْٔ}ٜٝٞڠ=ښ]ڟm;PK e5CVq” ⠭ ⥪. 㬥 2.1 ७ ꥪ⮢ ⠤ 䠩 ⠢ ⥪ 䨣_files/1C-ret.gifGIF89a@5(ruyx{}~NRbdegijnqt.=Ibfnruy~ۈ܏&IZ]a`ffjqDVYY]fillnv>CQSUVUUWYY[[]^^]^`_ccyτ6ADLNPOQRRRTUVd9[evÀ"**33;A+9t )36;>Y%.7::=@?j!%*6498LUu y!&*,/3w{}"y%*|-5ENXecg k mprstvx y"v#{%|'|'}(~)~:hn#o+_f(p8|GTg0Z%lEK a3y*jU>RP6= ]Mn}Bmٺ} X6Dm*MSiAsƈ$Gi„I&NaС>"@MC:D-b3Fx3̐!A!bAa AiH(db!{2@1-1¸2C4`2ɤf(Jp ( ((!6c 5А bà< ;$z/ 5q V :tg q*N+Si;6+0j1A+,)sLA[_pxءƌ 3,2Cz/2o5 0v+ 9S  ?L <*D@ 0 (@:sAwP,J#L@NT*2hOi+@/ ?(<\Oi3+Ae@g N =(E G%t&ec* Tj`` 0AwuR@ƿh<o4! CFTj N#bHEO8_; .}pg) [X ` X xd2 hb|E/TZ> :ȂHC臱a;8=`hCѾ>χZaIF>Qc#IҔ)SCGbPAld}Xe|~#?r,22ehhn#v:|c(G>鏂ß5jMKC?vP̯F[DŸ88?a < tC0AJSӞ Շ#4f-h$F*c0JP`{ 0LZӁvs 4 TD8j=ԥ>XqҺx* *Oon=zcy9{`0lFKZ;V;!lz8 U8pv p-{ֶOMSUt-b;8Dh;;^Vֲpq׫7|+!n;"8owq%nqӫ.WЍ|8v,ZD ` HSL-e;=+,ӡ @CL#1L!{P` KX>D#8XR<u`=lb 5$ I&5+uTC5qL8;dlH@BտD8Rآ(6^ dc͆6 UC9m^w^G'8lSp‰pl<EWR8)݉fw/o::f&ͿupB(E)1nx#`(\t\=pw_ o\){NRu ]Br.$=p.^Ǣy},~!χ+vzk~w0"p3 h/|#ˆ3t ;}Q}jX_aT5A iH4} }͠}g@ ~g ('@ `{g' p hW h +( hҐׁ} }`(ِؐ ڠ P ۠ M J Հ -؀WW|ȗ| n r8t(noz|nȇli|0 Јq؈xH w( qH h8xȊ@8p֐J`VX P HhO8`˸Y ؋ȋ;PK e5Cs%0^^⠭ ⥪. 㬥 2.1 ७ ꥪ⮢ ⠤ 䠩 ⠢ ⥪ 䨣_files/2.1 ७ ꥪ⮢ ⠤ 䠩 ⠢ ⥪ 䨣.htm 2.1

2.1

, ... .

1. . :

(. 2.1 2.2);

, ;

, , 2.1 2.3.

.

! , 2.1 2.2. .

( ) .

2. 3. 15 .

( ...) . .

3. . .

. updateSSL.htm, . , , (, ) , updateSSL.htm. ( ), , . , , updateSSL.htm, readme.txt .

. , .

1. . , <- , .

, ( ...) .

. 2 ( 3).

, , , ( ).

2. , .

) . :

2.1 2.2;

, , ;

, , 2.1 2.3.

.

! , 2.1 2.2. .

( ) .

( ...).

) 4. 15 .

) . <- , .

. .

3. .

2.1. . , .

(*)

(**)

* , . , . . 3.

** , . . . 3.

2.2. . , :

,

,

2.3. . , :

(*)

(*)

(*)

(*)

(*)

(***)

-

(*)

(***)

(*)

(*)

SMS

(***)

(*)

(*)

(*)

(***, ****)

(*)

(*)

(*)

(*)

(*)

(*)

(*)

SMS

(*)

(*)

- (*)

(*)

(*)

(*)

(*)

(***)

(**, ***)

* , . . 3 .

** . / .

*** , , . : , .

**** ().

2.4. . , , :

3. , .

1.

*

* .

2.

3.

:

*

*

4.

*

*

5.

*

*

6.

*

*

4. , .

1.

...

:

2.

,

...

3.

:

4.

5.

6.

:

7.

,

8.

,

9.

,

-

10.

11.

12.

:

,

,

,

13.

,

14.

,

15.

- ,

16.

17.

,

18.

,

19.

20.

,

21.

,

22.

SMS

C

23.

,

24.

25.

.

26.

.

.

27.

28.

29.

30.

,

31.

,

32.

,

,

,

,

33.

34.

35.

36.

*

*

37.

,

38.

,

39.

40.

.
.
.

41.

42.

:

*

*

43.

*

*

44.

:

45.

:

-

46.

:

,

47.

:

,

48.

*

*

49.

*

*

50.

SMS

51.

SMS;

SMS.

52.

53.

54.

55.

56.

57.

,

58.

,

59.

60.

,

61.

,

62.

,

63.

,

64.

, ,

65.

-

66.

, ,

67.

68.

,

69.

,

70.

,

71.

,

72.

,

73.

74.

,

75.

, ,

, ,

,

76.

 

77.

,  

78.

,

79.

, ,

80.

PK e5CPD紊⠭ ⥪. 㬥 2.1 ७ ꥪ⮢ ⠤ 䠩 ⠢ ⥪ 䨣_files/ajax.js/*********************************************************** Bitrix AJAX library ver 6.5 alpha ***********************************************************/ /* private CAjaxThread class - description of current AJAX request thread. */ function CAjaxThread(TID) { this.TID = TID; this.httpRequest = this._CreateHttpObject(); this.arAction = []; } CAjaxThread.prototype._CreateHttpObject = function() { var obj = null; if (window.XMLHttpRequest) { try {obj = new XMLHttpRequest();} catch(e){} } else if (window.ActiveXObject) { try {obj = new ActiveXObject("Microsoft.XMLHTTP");} catch(e){} if (!obj) try {obj = new ActiveXObject("Msxml2.XMLHTTP");} catch (e){} } return obj; } CAjaxThread.prototype.addAction = function(obHandler) { this.arAction.push(obHandler); } CAjaxThread.prototype.clearActions = function() { this.arAction = []; } CAjaxThread.prototype.nextAction = function() { return this.arAction.shift(); } CAjaxThread.prototype.Clear = function() { this.arAction = null; this.httpRequest = null; } /* public CAjax main class */ function CAjax() { this.arThreads = {}; this.obTemporary = null; } CAjax.prototype._PrepareData = function(arData, prefix) { var data = ''; if (null != arData) { for(var i in arData) { if (data.length > 0) data += '&'; var name = jsAjaxUtil.urlencode(i); if(prefix) name = prefix + '[' + name + ']'; if(typeof arData[i] == 'object') data += this._PrepareData(arData[i], name) else data += name + '=' + jsAjaxUtil.urlencode(arData[i]) } } return data; } CAjax.prototype.GetThread = function(TID) { return this.arThreads[TID]; } CAjax.prototype.InitThread = function() { while (true) { var TID = 'TID' + Math.floor(Math.random() * 1000000); if (!this.arThreads[TID]) break; } this.arThreads[TID] = new CAjaxThread(TID); return TID; } CAjax.prototype.AddAction = function(TID, obHandler) { if (this.arThreads[TID]) { this.arThreads[TID].addAction(obHandler); } } CAjax.prototype._OnDataReady = function(TID, result) { if (!this.arThreads[TID]) return; while (obHandler = this.arThreads[TID].nextAction()) { obHandler(result); } } CAjax.prototype._Close = function(TID) { if (!this.arThreads[TID]) return; this.arThreads[TID].Clear(); this.arThreads[TID] = null; } CAjax.prototype._SetHandler = function(TID) { var oAjax = this; function __cancelQuery(e) { if (!e) e = window.event if (!e) return; if (e.keyCode == 27) { oAjax._Close(TID); jsEvent.removeEvent(document, 'keypress', this); } } function __handlerReadyStateChange() { if (oAjax.bCancelled) return; if (!oAjax.arThreads[TID]) return; if (!oAjax.arThreads[TID].httpRequest) return; if (oAjax.arThreads[TID].httpRequest.readyState == 4) { var status = oAjax.arThreads[TID].httpRequest.getResponseHeader('X-Bitrix-Ajax-Status'); var bRedirect = (status == 'Redirect'); var s = oAjax.arThreads[TID].httpRequest.responseText; jsAjaxParser.mode = 'implode'; s = jsAjaxParser.process(s); if (!bRedirect) oAjax._OnDataReady(TID, s); oAjax.__prepareOnload(); if (jsAjaxParser.code.length > 0) jsAjaxUtil.EvalPack(jsAjaxParser.code); oAjax.__runOnload(); //setTimeout(function() {alert(1); oAjax.__runOnload(); alert(2)}, 30); oAjax._Close(TID); } } this.arThreads[TID].httpRequest.onreadystatechange = __handlerReadyStateChange; jsEvent.addEvent(document, "keypress", __cancelQuery); } CAjax.prototype.__prepareOnload = function() { this.obTemporary = window.onload; window.onload = null; } CAjax.prototype.__runOnload = function() { if (window.onload) window.onload(); window.onload = this.obTemporary; this.obTemporary = null; } CAjax.prototype.Send = function(TID, url, arData) { if (!this.arThreads[TID]) return; if (null != arData) var data = this._PrepareData(arData); else var data = ''; if (data.length > 0) { if (url.indexOf('?') == -1) url += '?' + data; else url += '&' + data; } if(this.arThreads[TID].httpRequest) { this.arThreads[TID].httpRequest.open("GET", url, true); this._SetHandler(TID); return this.arThreads[TID].httpRequest.send(""); } } CAjax.prototype.Post = function(TID, url, arData) { var data = ''; if (null != arData) data = this._PrepareData(arData); if(this.arThreads[TID].httpRequest) { this.arThreads[TID].httpRequest.open("POST", url, true); this._SetHandler(TID); this.arThreads[TID].httpRequest.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'); return this.arThreads[TID].httpRequest.send(data); } } /* public CAjaxForm - class to send forms via iframe */ function CAjaxForm(obForm, obHandler, bFirst) { this.obForm = obForm; this.obHandler = obHandler; this.obFrame = null; this.isFormProcessed = false; if (null == bFirst) this.bFirst = false; else this.bFirst = bFirst; this.__tmpFormTarget = ''; this.obAJAXIndicator = null; this.currentBrowserDetected = ""; if (window.opera) this.currentBrowserDetected = "Opera"; else if (navigator.userAgent) { if (navigator.userAgent.indexOf("MSIE") != -1) this.currentBrowserDetected = "IE"; else if (navigator.userAgent.indexOf("Firefox") != -1) this.currentBrowserDetected = "Firefox"; } this.IsIE9 = !!document.documentMode && document.documentMode >= 9; } CAjaxForm.prototype.setProcessedFlag = function(value) { if (null == value) value = true; else value = value ? true : false; this.obForm.bxAjaxProcessed = value; this.isFormProcessed = value; } CAjaxForm.isFormProcessed = function(obForm) { if (obForm.bxAjaxProcessed) return obForm.bxAjaxProcessed; else return false; } CAjaxForm.prototype.process = function() { var _this = this; function __formResultHandler() { if (!_this.obFrame.contentWindow.document || _this.obFrame.contentWindow.document.body.innerHTML.length == 0) return; if (null != _this.obHandler) { _this.obHandler(_this.obFrame.contentWindow.document.body.innerHTML); } if (_this.obFrame.contentWindow.AJAX_runExternal) _this.obFrame.contentWindow.AJAX_runExternal(); if (_this.obFrame.contentWindow.AJAX_runGlobal) _this.obFrame.contentWindow.AJAX_runGlobal(); if (_this.bFirst) { try { _this.obForm.target = _this.__tmpFormTarget; _this.obAJAXIndicator.parentNode.removeChild(_this.obAJAXIndicator); _this.obForm.bxAjaxProcessed = false; } catch (e) { _this.obForm = null; } _this.obAJAXIndicator = null; if (this.currentBrowserDetected != 'IE') jsEvent.removeAllEvents(_this.obFrame); // fixing another strange bug. Now for FF var TimerID = setTimeout("document.body.removeChild(document.getElementById('" + _this.obFrame.id + "'));", 100); _this.obFrame = null; if (window.onFormLoaded) { window.onFormLoaded(); window.onFormLoaded = null; } } } if (this.obForm.target && this.obForm.target.substring(0, 5) == 'AJAX_') return; if (this.currentBrowserDetected == 'IE') { if (this.IsIE9) { this.obAJAXIndicator = document.createElement('input'); this.obAJAXIndicator.setAttribute('name', 'AJAX_CALL'); this.obAJAXIndicator.setAttribute('type', 'hidden'); } else { this.obAJAXIndicator = document.createElement(''); } } else { this.obAJAXIndicator = document.createElement('INPUT'); this.obAJAXIndicator.type = 'hidden'; this.obAJAXIndicator.name = 'AJAX_CALL'; } this.obAJAXIndicator.value = 'Y'; this.obForm.appendChild(this.obAJAXIndicator); var frameName = 'AJAX_' + Math.round(Math.random() * 100000); if (this.currentBrowserDetected == 'IE') if (this.IsIE9) { this.obFrame = document.createElement('iframe'); this.obFrame.setAttribute('name', frameName); } else { this.obFrame = document.createElement(''); } else this.obFrame = document.createElement('IFRAME'); this.obFrame.style.display = 'none'; this.obFrame.src = 'javascript:\'\''; this.obFrame.id = frameName; this.obFrame.name = frameName; document.body.appendChild(this.obFrame); this.__tmpFormTarget = this.obForm.target; this.obForm.target = frameName; // one more strange bug in IE.. if (this.currentBrowserDetected == 'IE') this.obFrame.attachEvent("onload", __formResultHandler); else jsEvent.addEvent(this.obFrame, 'load', __formResultHandler); this.setProcessedFlag(); } var jsAjaxParser = { code: [], mode: 'implode', regexp: null, regexp_src: null, process: function(s) { this.code = []; if (null == this.regexp) this.regexp = /(]*)>)([\S\s]*?)(<\/script>)/i; do { var arMatch = s.match(this.regexp); if (null == arMatch) break; var pos = arMatch.index; var len = arMatch[0].length; if (pos > 0) this.code.push({TYPE: 'STRING', DATA: s.substring(0, pos)}); if (typeof arMatch[1] == 'undefined' || arMatch[1].indexOf('src=') == -1) { var script = arMatch[3]; script = script.replace(' PK e5C tsXX⠭ ⥪. 㬥 2.1 ७ ꥪ⮢ ⠤ 䠩 ⠢ ⥪ 䨣_files/close.gifGIF89a         ؜C=Yᴽ1~0Byإܮۭh``][Y[R02/+)*'(%&!"!_,AGHF@E>E   LJ M^V\^IU^U[^QX^^R".]W'!# 1SZ^Z/(*$$P^T-0Y^K)f(I6(c#JcҎ3jĨc C!CR\G ;PK e5CS⠭ ⥪. 㬥 2.1 ७ ꥪ⮢ ⠤ 䠩 ⠢ ⥪ 䨣_files/db.css.toctree {width:29.5%;} .docdiv {left:31%; width:68%;} .tabs2 {margin:0 1% 0 31%;} * {cursor:progress;} .classtree {position:absolute; left:1%; top:0; width:29.5%; height:100%; overflow:auto; background-color:#ffffff; border:1px solid #ffe289} .classlist {position:absolute; left:31%; top:-7px; width:68%; height:100%; overflow:auto; background-color:#ffffff; border:1px solid #ffe289} .doctree {width:29.5%;} .doctree, .toctree {position:absolute; left:1%; top:0; height:100%; overflow:auto; background-color:#ffffff; border:1px solid #ffe289} .docframe {height:100%; width:100%; overflow:hidden; background-color:#ffffff} .docframe iframe {width:100%; height:100%; overflow:auto; background-color:white} .recommend {margin:0 0 4pt 32px; padding-bottom:2pt; padding-left: 6px; border-left:6px solid #ffe087; font-size:90%} .recommend p {margin: 0 0 6pt 0} .recommend ul {margin: 0 0 6pt 6pt!important; list-style-position: inside; list-style-image: url(/images/db/search/rec-bullet.gif);} .foundlist {position:absolute; left:1%; top:5pt; width:98%; height:100%; overflow:auto; background-color:#ffffff; border:1px solid #ffe289} .tree {margin:0; padding:0.5em} .tree div.subtree {padding-left: 18px} .foundlist div.glresult {padding:3px 0 0 0; padding-left:14px; cursor:pointer; height:21px; background-position:0 3px; background-repeat: no-repeat;} .foundlist div.glresult .grtext {margin-left:2px; padding-left:24px; background:url('/images/db/search/sall.gif') no-repeat top left} .foundlist div.glresult .brtext {margin-left:2px; padding-left:20px; background:url('/images/db/tree/node.gif') no-repeat top left} .foundlist div.glresult .rtext {margin-left:2px; padding-left:20px; background:url('/images/db/search/sdb.gif') no-repeat top left} .foundlist div.glresult .ertext {margin-left:2px; padding-left:20px; background:url('/images/db/search/sdb.gif') no-repeat top left} .foundlist div.collapsed {background-image:url('/images/db/tree/collapsed.gif')} .foundlist div.expanded {background-image:url('/images/db/tree/expanded.gif')} .foundlist div.gllist {margin-left:18px} .tree div.btext {margin-left:2px; padding-left:2px} .tree div.btext a, .tree div.btext a:hover, .tree div.btext a:visited {text-decoration:none; color:#514B4F; display:block; padding-left:20px;} .tree div.btext a.node {background:url('/images/db/tree/node.gif') no-repeat top left} .tree div.btext a.leaf {background:url('/images/db/tree/leaf.gif') no-repeat top left} .tree div.branch {padding:1pt 0 3pt 1px; cursor:pointer; background-repeat: no-repeat;} .tree div.collapsed {margin-left:-14px; padding-left:14px; background-image:url('/images/db/tree/collapsed.gif')} .tree div.expanded {margin-left:-14px; padding-left:14px; background-image:url('/images/db/tree/expanded.gif')} .tree div.root {margin-left:0; padding-left:0; background-image:none} /*.foundlist > div.glresult, .foundlist > div.gllist {margin-left:8px;}*/ .tree div.act1 {background-color:#faefb5} .tree div.act2 {background-color:#f3e6a3} .tree div.act3 {background-color:#f7dd85} .tree div.act4 {background-color:#e4c866} .tree div.act5 {background-color:#d7bc60} .tree div.act6 {background-color:#d7b749} .list {margin:10pt} .list ul, .gllist ul {list-style-type:none; padding:0;} .list ul {margin:0;} .gllist ul {margin:0 0 0 16px;} .list li, .gllist li {margin:0; padding:0; cursor:pointer;} .list li.fldr a {background-image:url('/images/db/list/fldr.gif');} .list li.doc a, .gllist li.doc a {background-image:url('/images/db/list/doc.gif');} .list li.doc a, .list li.doc a:hover, .list li.doc a:visited, .gllist li.doc a, .gllist li.doc a:hover, .gllist li.doc a:visited, .list li.fldr a, .list li.fldr a:hover, .list li.fldr a:visited {text-decoration:none; color:#514B4F; display:block; padding-left:24px; background-repeat:no-repeat; background-position:0 3px; line-height:24px;} .found-limit {list-style-type:disc; font-style:italic; font-size:85%; color:#d00000} .found-comment {font-style:italic; font-size:80%; color:#7e747a} .found-comment .num {font-size:125%; color:#514B4F} /* 0.8*1.25=1 */ .found-comment .db {font-size:125%; color:#514B4F} /* 0.8*1.25=1 */ .found-comment a {font-style:normal; color:#C15016}PK e5Cx]nn⠭ ⥪. 㬥 2.1 ७ ꥪ⮢ ⠤ 䠩 ⠢ ⥪ 䨣_files/divider-arrow-ret.gifGIF89a5INGZbDPHhijjkvaceZfgh __`aabjhlmoi}|ة YZ[[]\^fimopsǭ[txs TUVWX]egfijlkkllmtVδnИ &GLMNOQRSa`abbcdefhsx}FGHJKXYZ[\\]^_͎*4;ћ1=>@ABCENOPRSTUVWf ړӑ9:DFGHIKLMS]Է֚ :;<>?ABCIGS 6_wψ #'Bg U#wIk8nrz%^!,50`D A&Μxpa‚>CHyreʒ q3 -hd 乏ʔ-Op׋>Ȑ|xqq e ch}zu FJ#ķd Fh :҆(jmFdP,hm1GpG &NጓJ*t1}[O=LCㄏJ$2~O>*M9 $2O C:C#QG 4  l|D1GL 5x m F#1 Є%a s`0֐2ġ0zc"K(D"1G!!sH8E)BъT<6 S]bE20F)J _ot#RB;PK e5C#'_⠭ ⥪. 㬥 2.1 ७ ꥪ⮢ ⠤ 䠩 ⠢ ⥪ 䨣_files/divider-ret.gifGIF89a5CJMMNR[ahjRܼUefhillknoqporqtkxsxacdcdfgihjkuww__a`b|[Z\]۳WZ~VXWYXZ۱[լ]ΌRQSTTSVUMNOOQϤ_ׅςՇJLLNMOPN㾇} ցтDݚBۀ ;CM{5}{w ,159Jwvxyzv #)34tsruo%0pnmy"$..1ikc_e`abklmnw!x"^`abc)!,5̑#@:u2oHp@"2c8 F389s%Kd \jA¥ L$[,I@#J,a„CQA!@6 2UƀaƂ@ +H5ć$F(A 8 Bo)RD@ a%4`#0P4d*V8 h >E6\a*vnQC7?tLBS<)O|P1b|/a֤IP5kC=$8 SL332A@+;!TSSE012210?*TT'*,.??.Z@9J8 &t ;PK e5CL⠭ ⥪. 㬥 2.1 ७ ꥪ⮢ ⠤ 䠩 ⠢ ⥪ 䨣_files/ga.js(function(){var aa=encodeURIComponent,ba=Infinity,ca=setTimeout,da=isNaN,m=Math,ea=decodeURIComponent;function ha(a,b){return a.name=b} var n="push",ia="test",ja="slice",p="replace",ka="load",la="floor",ma="charAt",na="value",q="indexOf",oa="match",pa="port",qa="createElement",ra="path",r="name",g="getTime",u="host",v="toString",w="length",x="prototype",sa="clientWidth",y="split",ta="stopPropagation",ua="scope",z="location",va="search",A="protocol",wa="clientHeight",xa="href",B="substring",ya="apply",za="navigator",C="join",D="toLowerCase",E;function Aa(a,b){switch(b){case 0:return""+a;case 1:return 1*a;case 2:return!!a;case 3:return 1E3*a}return a}function Ba(a){return"function"==typeof a}function Ca(a){return void 0!=a&&-1<(a.constructor+"")[q]("String")}function F(a,b){return void 0==a||"-"==a&&!b||""==a}function Da(a){if(!a||""==a)return"";for(;a&&-1<" \n\r\t"[q](a[ma](0));)a=a[B](1);for(;a&&-1<" \n\r\t"[q](a[ma](a[w]-1));)a=a[B](0,a[w]-1);return a}function Ea(){return m.round(2147483647*m.random())}function Fa(){} function G(a,b){if(aa instanceof Function)return b?encodeURI(a):aa(a);H(68);return escape(a)}function I(a){a=a[y]("+")[C](" ");if(ea instanceof Function)try{return ea(a)}catch(b){H(17)}else H(68);return unescape(a)}var Ga=function(a,b,c,d){a.addEventListener?a.addEventListener(b,c,!!d):a.attachEvent&&a.attachEvent("on"+b,c)},Ha=function(a,b,c,d){a.removeEventListener?a.removeEventListener(b,c,!!d):a.detachEvent&&a.detachEvent("on"+b,c)}; function Ia(a,b){if(a){var c=J[qa]("script");c.type="text/javascript";c.async=!0;c.src=a;c.id=b;var d=J.getElementsByTagName("script")[0];d.parentNode.insertBefore(c,d);return c}}function K(a){return a&&0a[y]("/")[0][q](":")&&(a=k+f[2][B](0,f[2].lastIndexOf("/"))+"/"+a):a=k+f[2]+(a||Be);d.href=a;e=c(d);return{protocol:(d[A]||"")[D](),host:e[0], port:e[1],path:e[2],Oa:d[va]||"",url:a||""}}function Na(a,b){function c(b,c){a.contains(b)||a.set(b,[]);a.get(b)[n](c)}for(var d=Da(b)[y]("&"),e=0;ef?c(d[e],"1"):c(d[e][B](0,f),d[e][B](f+1))}}function Pa(a,b){if(F(a)||"["==a[ma](0)&&"]"==a[ma](a[w]-1))return"-";var c=J.domain;return a[q](c+(b&&"/"!=b?b:""))==(0==a[q]("http://")?7:0==a[q]("https://")?8:0)?"0":a};var Qa=0;function Ra(a,b,c){1<=Qa||1<=100*m.random()||(a=["utmt=error","utmerr="+a,"utmwv=5.4.5","utmn="+Ea(),"utmsp=1"],b&&a[n]("api="+b),c&&a[n]("msg="+G(c[B](0,100))),M.w&&a[n]("aip=1"),Sa(a[C]("&")),Qa++)};var Ta=0,Ua={};function N(a){return Va("x"+Ta++,a)}function Va(a,b){Ua[a]=!!b;return a} var Wa=N(),Xa=Va("anonymizeIp"),Ya=N(),$a=N(),ab=N(),bb=N(),O=N(),P=N(),cb=N(),db=N(),eb=N(),fb=N(),gb=N(),hb=N(),ib=N(),jb=N(),kb=N(),lb=N(),nb=N(),ob=N(),pb=N(),qb=N(),rb=N(),sb=N(),tb=N(),ub=N(),vb=N(),wb=N(),xb=N(),yb=N(),zb=N(),Ab=N(),Bb=N(),Cb=N(),Db=N(),Eb=N(),Fb=N(!0),Gb=Va("currencyCode"),Hb=Va("page"),Ib=Va("title"),Jb=N(),Kb=N(),Lb=N(),Mb=N(),Nb=N(),Ob=N(),Pb=N(),Qb=N(),Rb=N(),Q=N(!0),Sb=N(!0),Tb=N(!0),Ub=N(!0),Vb=N(!0),Wb=N(!0),Zb=N(!0),$b=N(!0),ac=N(!0),bc=N(!0),cc=N(!0),R=N(!0),dc=N(!0), ec=N(!0),fc=N(!0),gc=N(!0),hc=N(!0),ic=N(!0),jc=N(!0),S=N(!0),kc=N(!0),lc=N(!0),mc=N(!0),nc=N(!0),oc=N(!0),pc=N(!0),qc=N(!0),rc=Va("campaignParams"),sc=N(),tc=Va("hitCallback"),uc=N();N();var vc=N(),wc=N(),xc=N(),yc=N(),zc=N(),Ac=N(),Bc=N(),Cc=N(),Dc=N(),Ec=N(),Fc=N(),Gc=N(),Hc=N(),Ic=N();N();var Mc=N(),Nc=N(),Oc=N(),Oe=Va("uaName"),Pe=Va("uaDomain"),Qe=Va("uaPath");var Re=function(){function a(a,c,d){T($[x],a,c,d)}a("_createTracker",$[x].r,55);a("_getTracker",$[x].oa,0);a("_getTrackerByName",$[x].u,51);a("_getTrackers",$[x].pa,130);a("_anonymizeIp",$[x].aa,16);a("_forceSSL",$[x].la,125);a("_getPlugin",Pc,120)},Se=function(){function a(a,c,d){T(U[x],a,c,d)}Qc("_getName",$a,58);Qc("_getAccount",Wa,64);Qc("_visitCode",Q,54);Qc("_getClientInfo",ib,53,1);Qc("_getDetectTitle",lb,56,1);Qc("_getDetectFlash",jb,65,1);Qc("_getLocalGifPath",wb,57);Qc("_getServiceMode", xb,59);V("_setClientInfo",ib,66,2);V("_setAccount",Wa,3);V("_setNamespace",Ya,48);V("_setAllowLinker",fb,11,2);V("_setDetectFlash",jb,61,2);V("_setDetectTitle",lb,62,2);V("_setLocalGifPath",wb,46,0);V("_setLocalServerMode",xb,92,void 0,0);V("_setRemoteServerMode",xb,63,void 0,1);V("_setLocalRemoteServerMode",xb,47,void 0,2);V("_setSampleRate",vb,45,1);V("_setCampaignTrack",kb,36,2);V("_setAllowAnchor",gb,7,2);V("_setCampNameKey",ob,41);V("_setCampContentKey",tb,38);V("_setCampIdKey",nb,39);V("_setCampMediumKey", rb,40);V("_setCampNOKey",ub,42);V("_setCampSourceKey",qb,43);V("_setCampTermKey",sb,44);V("_setCampCIdKey",pb,37);V("_setCookiePath",P,9,0);V("_setMaxCustomVariables",yb,0,1);V("_setVisitorCookieTimeout",cb,28,1);V("_setSessionCookieTimeout",db,26,1);V("_setCampaignCookieTimeout",eb,29,1);V("_setReferrerOverride",Jb,49);V("_setSiteSpeedSampleRate",Dc,132);a("_trackPageview",U[x].Fa,1);a("_trackEvent",U[x].F,4);a("_trackPageLoadTime",U[x].Ea,100);a("_trackSocial",U[x].Ga,104);a("_trackTrans",U[x].Ia, 18);a("_sendXEvent",U[x].t,78);a("_createEventTracker",U[x].ia,74);a("_getVersion",U[x].qa,60);a("_setDomainName",U[x].B,6);a("_setAllowHash",U[x].va,8);a("_getLinkerUrl",U[x].na,52);a("_link",U[x].link,101);a("_linkByPost",U[x].ua,102);a("_setTrans",U[x].za,20);a("_addTrans",U[x].$,21);a("_addItem",U[x].Y,19);a("_clearTrans",U[x].ea,105);a("_setTransactionDelim",U[x].Aa,82);a("_setCustomVar",U[x].wa,10);a("_deleteCustomVar",U[x].ka,35);a("_getVisitorCustomVar",U[x].ra,50);a("_setXKey",U[x].Ca,83); a("_setXValue",U[x].Da,84);a("_getXKey",U[x].sa,76);a("_getXValue",U[x].ta,77);a("_clearXKey",U[x].fa,72);a("_clearXValue",U[x].ga,73);a("_createXObj",U[x].ja,75);a("_addIgnoredOrganic",U[x].W,15);a("_clearIgnoredOrganic",U[x].ba,97);a("_addIgnoredRef",U[x].X,31);a("_clearIgnoredRef",U[x].ca,32);a("_addOrganic",U[x].Z,14);a("_clearOrganic",U[x].da,70);a("_cookiePathCopy",U[x].ha,30);a("_get",U[x].ma,106);a("_set",U[x].xa,107);a("_addEventListener",U[x].addEventListener,108);a("_removeEventListener", U[x].removeEventListener,109);a("_addDevId",U[x].V);a("_getPlugin",Pc,122);a("_setPageGroup",U[x].ya,126);a("_trackTiming",U[x].Ha,124);a("_initData",U[x].v,2);a("_setVar",U[x].Ba,22);V("_setSessionTimeout",db,27,3);V("_setCookieTimeout",eb,25,3);V("_setCookiePersistence",cb,24,1);a("_setAutoTrackOutbound",Fa,79);a("_setTrackOutboundSubdomains",Fa,81);a("_setHrefExamineLimit",Fa,80)};function Pc(a){var b=this.plugins_;if(b)return b.get(a)} var T=function(a,b,c,d){a[b]=function(){try{return void 0!=d&&H(d),c[ya](this,arguments)}catch(a){throw Ra("exc",b,a&&a[r]),a;}}},Qc=function(a,b,c,d){U[x][a]=function(){try{return H(c),Aa(this.a.get(b),d)}catch(e){throw Ra("exc",a,e&&e[r]),e;}}},V=function(a,b,c,d,e){U[x][a]=function(f){try{H(c),void 0==e?this.a.set(b,Aa(f,d)):this.a.set(b,e)}catch(Be){throw Ra("exc",a,Be&&Be[r]),Be;}}},Te=function(a,b){return{type:b,target:a,stopPropagation:function(){throw"aborted";}}};var Rc=RegExp(/(^|\.)doubleclick\.net$/i),Sc=function(a,b){return Rc[ia](J[z].hostname)?!0:"/"!==b?!1:0!=a[q]("www.google.")&&0!=a[q](".google.")&&0!=a[q]("google.")||-1b[w]||ad(b[0],c))return!1;b=b[ja](1)[C](".")[y]("|");0=b[w])return!0; b=b[1][y](-1==b[1][q](",")?"^":",");for(c=0;cb[w]||ad(b[0],c))return a.set(ec,void 0),a.set(fc,void 0),a.set(gc,void 0),a.set(ic,void 0),a.set(jc,void 0),a.set(nc,void 0),a.set(oc,void 0),a.set(pc,void 0),a.set(qc,void 0),a.set(S,void 0),a.set(kc,void 0),a.set(lc,void 0),a.set(mc,void 0),!1;a.set(ec,1*b[1]);a.set(fc,1*b[2]);a.set(gc,1*b[3]);Ve(a,b[ja](4)[C]("."));return!0},Ve=function(a,b){function c(a){return(a=b[oa](a+"=(.*?)(?:\\|utm|$)"))&& 2==a[w]?a[1]:void 0}function d(b,c){c?(c=e?I(c):c[y]("%20")[C](" "),a.set(b,c)):a.set(b,void 0)}-1==b[q]("=")&&(b=I(b));var e="2"==c("utmcvr");d(ic,c("utmcid"));d(jc,c("utmccn"));d(nc,c("utmcsr"));d(oc,c("utmcmd"));d(pc,c("utmctr"));d(qc,c("utmcct"));d(S,c("utmgclid"));d(kc,c("utmgclsrc"));d(lc,c("utmdclid"));d(mc,c("utmdsid"))},ad=function(a,b){return b?a!=b:!/^\d+$/[ia](a)};var Uc=function(){this.filters=[]};Uc[x].add=function(a,b){this.filters[n]({name:a,s:b})};Uc[x].execute=function(a){try{for(var b=0;b=100*a.get(vb)&&a[ta]()}function kd(a){ld(a.get(Wa))&&a[ta]()}function md(a){"file:"==J[z][A]&&a[ta]()}function Ge(a){He()&&a[ta]()}function nd(a){a.get(Ib)||a.set(Ib,J.title,!0);a.get(Hb)||a.set(Hb,J[z].pathname+J[z][va],!0)};var od=new function(){var a=[];this.set=function(b){a[b]=!0};this.Xa=function(){for(var b=[],c=0;c=b[0]||0>=b[1]?"":b[C]("x");a.Wa=d}catch(k){H(135)}qd=a}},td=function(){sd();for(var a= qd,b=W[za],a=b.appName+b.version+a.language+b.platform+b.userAgent+a.javaEnabled+a.Q+a.P+(J.cookie?J.cookie:"")+(J.referrer?J.referrer:""),b=a[w],c=W.history[w];0d?(this.i=b[B](0,d),this.l=b[B](d+1,c),this.h=b[B](c+1)):(this.i=b[B](0,d),this.h=b[B](d+1));this.k=a[ja](1);this.Ma=!this.l&&"_require"==this.h;this.J=!this.i&&!this.l&&"_provide"==this.h}},Y=function(){T(Y[x],"push",Y[x][n],5);T(Y[x],"_getPlugin",Pc,121);T(Y[x], "_createAsyncTracker",Y[x].Sa,33);T(Y[x],"_getAsyncTracker",Y[x].Ta,34);this.I=new Ja;this.p=[]};E=Y[x];E.Na=function(a,b,c){var d=this.I.get(a);if(!Ba(d))return!1;b.plugins_=b.plugins_||new Ja;b.plugins_.set(a,new d(b,c||{}));return!0};E.push=function(a){var b=Z.Va[ya](this,arguments),b=Z.p.concat(b);for(Z.p=[];0e?b+"#"+d:b+"&"+d;c="";f=b[q]("?");0f?b+"?"+d+c:b+"&"+d+c},$d=function(a,b,c,d){for(var e=0;3>e;e++){for(var f=0;3>f;f++){if(d==Yc(a+b+c))return H(127),[b,c]; var Be=b[p](/ /g,"%20"),k=c[p](/ /g,"%20");if(d==Yc(a+Be+k))return H(128),[Be,k];Be=Be[p](/\+/g,"%20");k=k[p](/\+/g,"%20");if(d==Yc(a+Be+k))return H(129),[Be,k];try{var s=b[oa]("utmctr=(.*?)(?:\\|utm|$)");if(s&&2==s[w]&&(Be=b[p](s[1],G(I(s[1]))),d==Yc(a+Be+c)))return H(139),[Be,c]}catch(t){}b=I(b)}c=I(c)}};var de="|",fe=function(a,b,c,d,e,f,Be,k,s){var t=ee(a,b);t||(t={},a.get(Cb)[n](t));t.id_=b;t.affiliation_=c;t.total_=d;t.tax_=e;t.shipping_=f;t.city_=Be;t.state_=k;t.country_=s;t.items_=t.items_||[];return t},ge=function(a,b,c,d,e,f,Be){a=ee(a,b)||fe(a,b,"",0,0,0,"","","");var k;t:{if(a&&a.items_){k=a.items_;for(var s=0;sb[w]||!/^\d+$/[ia](b[0])||(b[0]=""+c,Fd(a,"__utmx",b[C]("."),void 0))},be=function(a,b){var c=$c(a.get(O),pd("__utmx"));"-"==c&&(c="");return b?G(c):c},Ye=function(a){try{var b=La(J[z][xa],!1),c=ea(L(b.d.get("utm_referrer")))||"";c&&a.set(Jb,c);var d=ea(K(b.d.get("utm_expid")))||"";d&&(d=d[y](".")[0],a.set(Oc,""+d))}catch(e){H(146)}},l=function(a){var b=W.gaData&&W.gaData.expId;b&&a.set(Oc,""+b)};var ke=function(a,b){var c=m.min(a.b(Dc,0),100);if(a.b(Q,0)%100>=c)return!1;c=Ze()||$e();if(void 0==c)return!1;var d=c[0];if(void 0==d||d==ba||da(d))return!1;0a[b])return!1;return!0},le=function(a){return da(a)|| 0>a?0:5E3>a?10*m[la](a/10):5E4>a?100*m[la](a/100):41E5>a?1E3*m[la](a/1E3):41E5},je=function(a){for(var b=new yd,c=0;cc[w])){for(var d=[],e=0;e=f)return!1;c=1*(""+c);if(""==a||!wd(a)||""==b||!wd(b)||!xd(c)||da(c)||0>c||0>f||100=a||a>e.get(yb))a=!1;else if(!b||!c||128=a&&Ca(b)&&""!=b){var c=this.get(Fc)||[];c[a]=b;this.set(Fc,c)}};E.V=function(a){a=""+a;if(a[oa](/^[A-Za-z0-9]{1,5}$/)){var b=this.get(Ic)||[];b[n](a);this.set(Ic,b)}};E.v=function(){this.a[ka]()};E.Ba=function(a){a&&""!=a&&(this.set(Tb,a),this.a.j("var"))};var ne=function(a){"trans"!==a.get(sc)&&500<=a.b(cc,0)&&a[ta]();if("event"===a.get(sc)){var b=(new Date)[g](),c=a.b(dc,0),d=a.b(Zb,0),c=m[la](1*((b-(c!=d?c:1E3*c))/1E3));0=a.b(R,0)&&a[ta]()}},pe=function(a){"event"===a.get(sc)&&a.set(R,m.max(0,a.b(R,10)-1))};var qe=function(){var a=[];this.add=function(b,c,d){d&&(c=G(""+c));a[n](b+"="+c)};this.toString=function(){return a[C]("&")}},re=function(a,b){(b||2!=a.get(xb))&&a.Za(cc)},se=function(a,b){b.add("utmwv","5.4.5");b.add("utms",a.get(cc));b.add("utmn",Ea());var c=J[z].hostname;F(c)||b.add("utmhn",c,!0);c=a.get(vb);100!=c&&b.add("utmsp",c,!0)},te=function(a,b){b.add("utmht",(new Date)[g]());b.add("utmac",Da(a.get(Wa)));a.get(Oc)&&b.add("utmxkey",a.get(Oc),!0);a.get(vc)&&b.add("utmni",1);var c=a.get(Ic); c&&0=a[w])gf(a,b,c);else if(8192>=a[w]){if(0<=W[za].userAgent[q]("Firefox")&&![].reduce)throw new De(a[w]);hf(a,b)||Ee(a,b)}else throw new Ce(a[w]);},gf=function(a,b,c){c=c||("https:"==J[z][A]||M.G?"https://ssl.google-analytics.com":"http://www.google-analytics.com")+"/__utm.gif?";var d=new Image(1,1);d.src=c+a;d.onload=function(){d.onload=null;d.onerror= null;b()};d.onerror=function(){d.onload=null;d.onerror=null;b()}},hf=function(a,b){var c,d=("https:"==J[z][A]||M.G?"https://ssl.google-analytics.com":"http://www.google-analytics.com")+"/p/__utm.gif",e=W.XDomainRequest;if(e)c=new e,c.open("POST",d);else if(e=W.XMLHttpRequest)e=new e,"withCredentials"in e&&(c=e,c.open("POST",d,!0),c.setRequestHeader("Content-Type","text/plain"));if(c)return c.onreadystatechange=function(){4==c.readyState&&(b(),c=null)},c.send(a),!0},Ee=function(a,b){if(J.body){a=aa(a); try{var c=J[qa]('')}catch(d){c=J[qa]("iframe"),ha(c,a)}c.height="0";c.width="0";c.style.display="none";c.style.visibility="hidden";var e=J[z],e=("https:"==J[z][A]||M.G?"https://ssl.google-analytics.com":"http://www.google-analytics.com")+"/u/post_iframe.html#"+aa(e[A]+"//"+e[u]+"/favicon.ico"),f=function(){c.src="";c.parentNode&&c.parentNode.removeChild(c)};Ga(W,"beforeunload",f);var Be=!1,k=0,s=function(){if(!Be){try{if(9>21:b;return b};})(); PK e5Co⠭ ⥪. 㬥 2.1 ७ ꥪ⮢ ⠤ 䠩 ⠢ ⥪ 䨣_files/hl_next.gifGIF89aܮۭإYy ؜C    U  c    u     ")5;s(   $39e1  .4U5 3    B1~0=,@A0pÇ $(`ŋ-2C01 (T8򤅉0`Ƞa2sz"F(aO(&Pb\3hШa 9tcb>~ "dhL4r$J{&N<p(LBeU&ZBeX&f¹g[p⥴Ӧ;PK e5C0@Zp⠭ ⥪. 㬥 2.1 ७ ꥪ⮢ ⠤ 䠩 ⠢ ⥪ 䨣_files/hl_prev.gifGIF89aܮۭإYy ؜C   U f( } 1  1 J   0  E  / 8"7& N/    B1~0=,@A0pÇ $(`ŋ-2Ǐx01(%LPᤅ0ȔAdz"F(aOSb.^T4h԰qG;xd1Ǐ?2HF&ABn%Km2ɓ@"T(^؊+dLd-p̹. |Ca;PK e5Ca⠭ ⥪. 㬥 2.1 ७ ꥪ⮢ ⠤ 䠩 ⠢ ⥪ 䨣_files/icosearch.gifGIF89a,4/6:=>C@DEHJKMHOOQXY\^]\]eidmnnqulyvv܂݅҂܋ߎލގۑߝۛݠʓ՜ߦĞͶоߤ%()(-*(..//011223=?Ad̩RͫTmkr}ـ֊ٗ؜ܟݣʕŸڤޟߠ!!&'('))*+,,-@qv١仾ܚ !!"!##$$%%&'ߠ&GЕӘِ ܒ ׍ ߤ9։ ڌ Շ ۏ Fɑ۷Ճ Մ ِ ِ#ݜ7ɔʗܺū!, HB0h8L0`  b v)Wi5l\U2Gnc.IbvJ$G^cjA<\D6; -"k2`v%"T ŚsFPh@r"1JU*1K@"S~!H *I3Ft, ج" 0) { pageElems.searchstr=hash[0] } else { pageElems.searchstr = false } } break case '#enhanced_search': { } break } return pageElems } // Google Analytics var ga_last_page = ''; function ga_get_dbpage(path, hash) { arHash = hash.split(':'); switch(arHash[0]) { case '#browse': case '#search': case '#enhanced_search': arHash[0] = arHash[0].substr(1); return path+'/'+arHash.join('/'); case '#content': return (g_bAllow?'':'/noaccess')+path+'/content/'+arHash[1]+'/'+arHash[2]; default: return path+hash; } } // ---- function setView() { window.pageElems=createElemLinks() switch(pageElems.mode) { case '#browse': { this.loadStack=pageElems.clpath this.interval=setInterval("processStack()",50) SetTab(document.getElementById('__tab1-1')) document.getElementById('__tab1-1').firstChild.href=document.location.hash document.getElementById('__tab2-1-'+getClassNumber(pageElems.activecl)).firstChild.href=document.location.hash SetTab(document.getElementById('__tab2-1-'+getClassNumber(pageElems.activecl))) } break case '#content': { var nav=document.getElementById('nav') if(nav && nav.childNodes.length) { var find_in_classifier = document.getElementById('find_in_classifier'); if(find_in_classifier) find_in_classifier.style.display = ''; } updateDocTitle('...'); var reg = /#content:([^:]+)(?::([^:]+))?.*/i; if(document.getElementById('tabs2container') && (ids = document.location.hash.match(reg))) { var curdocid = (document.getElementById('__tab1-2').firstChild.href != '') ? document.getElementById('__tab1-2').firstChild.href.split('#')[1].split(':')[1] : false; var newdocid = ids[1]; var newtabid = ids[2]; if(newdocids = newdocid.match(/^(-?\d+)(,-?\d+)?$/) && (!curdocid || newdocid != curdocid)) { window.top.current_clpath = false; var urlDoc='/db/its.gateway.php?db='+document.getElementById('dbId').innerHTML + '&action=getxml&query=doc__' + newdocid jsAjaxUtil.LoadData(urlDoc,displayDoc) if(newdocids[2]) return } else if(curdocid && newtabid) openDoc(document.getElementById('__tab2-2-' + newtabid),'tab') else if(newdocid.length) openDoc(newdocid,'orphan') } document.getElementById('__tab1-2').firstChild.href=document.location.hash SetTab(document.getElementById('__tab1-2')) var frameDoc = get_frame_document('docframe,'+pageElems.doctab) if(frameDoc != null && frameDoc) { if(typeof pageElems.docanchor != 'undefined') { var anchors = frameDoc.getElementsByName(decodeURIComponent(pageElems.docanchor)); if(anchors.length > 0) anchors[0].scrollIntoView(); } else document.getElementById('docframe,'+pageElems.doctab).contentWindow.scrollTo(0, 0); } } break case '#search': { document.getElementById('__tab1-3').firstChild.href=document.location.hash if(pageElems.searchstr) { document.getElementById('searchText').value = decodeURIComponent(pageElems.searchstr) buildSearchRequest() } else { buildHistoryRequest() } SetTab(document.getElementById('__tab1-3')) } break case '#enhanced_search': { var schContainer = document.getElementById('__mdiv4-1__'); if(document.getElementById('__mdiv4-1__').childNodes.length == 0) { var schCfg = document.getElementById('form'); if(schCfg && schContainer) { schContainer.appendChild(document.createElement('BR')); for(var i = 0; i < schCfg.childNodes.length; i++) { var afmt = parseInt(schCfg.childNodes[i].className.split('_')[1]); var aid = schCfg.childNodes[i].id.split('_')[1]; var atxt = schCfg.childNodes[i].firstChild.nodeValue; var tr = document.createElement('TR'); var inputtd = document.createElement('TD'); var labeltd = document.createElement('TD'); var label = document.createElement('LABEL'); var expander = document.createElement('IMG'); expander.src = '/images/db/tree/plus.gif'; expander.id = 'sch_exp_' + aid; expander.style.cursor = 'pointer'; switch(afmt) { case 1: { var header = document.createElement('DIV'); header.innerHTML = atxt + ' '; header.style.marginLeft = '10pt'; header.style.fontWeight = 'bold'; var checkbox = createInput('checkbox', {id: 'hdr_only_' + aid}); checkbox.style.marginBottom = 0; //checkbox.style.border = '1px solid #FFE289'; var label = document.createElement('LABEL'); label.innerHTML = ' '; label.htmlFor = 'hdr_only_' + aid; label.style.fontWeight = 'normal'; label.style.fontSize = '80%'; var input = document.createElement('INPUT'); input.id = 'txt_attr_' + aid; input.type = 'text'; input.style.margin = '10pt'; input.style.width = '30%'; input.style.border = '1px solid #FFE289'; addHandler(input, 'keypress', function(event) { if(event.keyCode == 13) { window.bEnhandedSearch = true; buildSearchRequest(); } } ); schContainer.appendChild(header); schContainer.appendChild(input); schContainer.appendChild(checkbox); schContainer.appendChild(label); } break; case 2: { continue; // , } break; case 3: case 31: { var header = document.createElement('DIV'); header.appendChild(expander); header.appendChild(document.createTextNode(' ' + atxt)); header.style.marginLeft = '10pt'; header.style.fontWeight = 'bold'; header.style.cursor = 'pointer'; header.className = 'searchOptHeader'; var selectedOpts = document.createElement('SPAN'); selectedOpts.id = 'ftree_selection_' + aid; //selectedOpts.style.display = 'inline-block'; selectedOpts.style.display = 'block'; selectedOpts.style.fontSize = '80%'; selectedOpts.style.fontStyle = 'italic'; selectedOpts.style.fontWeight = 'normal'; selectedOpts.style.paddingLeft = '16px'; var selectedClear = document.createElement('SPAN'); selectedClear.style.display = 'none'; selectedClear.style.fontSize = '80%'; selectedClear.style.fontWeight = 'normal'; selectedClear.style.paddingLeft = '16px'; selectedClear.style.cursor = 'pointer'; selectedClear.style.color = '#C15016'; selectedClear.innerHTML = ''; selectedClear.className = 'selectedClear'; header.appendChild(selectedOpts); header.appendChild(selectedClear); addHandler(header, 'click', toggleEnhSchOpts); var container = document.createElement('DIV'); container.id = 'ftree_sub_' + aid + '_-1'; container.style.height = '200px'; container.style.overflowY = 'scroll'; container.style.backgroundColor = '#ffffff'; container.style.margin = '10pt'; container.style.border = '1px solid #FFE289'; container.style.display = 'none'; container.style.padding = '6pt'; schContainer.appendChild(header); if(afmt == 3) { jsAjaxUtil.LoadData( '/db/its.gateway.php?db=' + document.getElementById('dbId').innerHTML + '&action=getxml&query=ftree__a=' + aid + ',f=-1', function(aid, container) { return function(data) { createFTreeBranch(data, aid, container); } }(aid, container) ); addHandler(container, 'click', function(event) { var eventSrc = event.target || event.srcElement; if(!eventSrc || !eventSrc.nodeName) return; if(eventSrc.nodeName == 'IMG') { var src = eventSrc.src.split('/'); if(src[src.length - 1].split('.')[0] == 'space') return; var aid = eventSrc.id.split('_')[2]; var fid = eventSrc.id.split('_')[3]; var container = document.getElementById('ftree_sub_' + aid + '_' + fid); var expanded = src[src.length - 1].split('.')[0] == 'minus'; if(!expanded) { if(container.childNodes && container.childNodes.length == 0) { var checked = eventSrc.nextSibling.checked; setWindowCursor('progress'); jsAjaxUtil.LoadData( '/db/its.gateway.php?db=' + document.getElementById('dbId').innerHTML + '&action=getxml&query=ftree__a=' + aid + ',f=' + fid, function(aid, fid, checked) { return function(data) { var container = document.getElementById('ftree_sub_' + aid + '_' + fid); createFTreeBranch(data, aid, container, checked); var exp = document.getElementById('ftree_exp_' + aid + '_' + fid); exp.src = exp.src.replace('plus', 'minus'); container.firstChild.style.display = ''; setWindowCursor('none'); } }(aid, fid, checked) ); } else { eventSrc.src = eventSrc.src.replace('plus', 'minus'); container.firstChild.style.display = ''; } } else { eventSrc.src = eventSrc.src.replace('minus', 'plus'); container.firstChild.style.display = 'none'; } return false; } else if(eventSrc.nodeName == 'INPUT') { var aid = parseInt(eventSrc.id.split('_')[1]); var fid = parseInt(eventSrc.id.split('_')[2]); var selectedOpts = document.getElementById('ftree_selection_' + aid); var checked = eventSrc.checked; if(!checked) { var curr = eventSrc; while(curr.nodeName == 'INPUT') { var curr_aid = curr.id.split('_')[1]; var curr_fid = curr.id.split('_')[2]; var selected = document.getElementById('selected_' + curr_aid + '_' + curr_fid); if(selected) selectedOpts.removeChild(selected); curr.checked = false; var curr_cont = curr.parentNode.parentNode; if(curr_cont.id.split('_')[3] == '-1') break; else curr = curr_cont.previousSibling.previousSibling; } } else { var selected = document.createElement('SPAN'); selected.id = 'selected_' + aid + '_' + fid; selected.innerHTML = eventSrc.nextSibling.innerHTML; selected.style.marginLeft = '2pt'; selected.style.marginRight = '2pt'; selected.style.display = 'block'; if(document.getElementById(selected.id) == null) selectedOpts.appendChild(selected); } var sub = eventSrc.nextSibling.nextSibling; if(sub && sub.id && sub.id.match('ftree_sub')) { var children = sub.getElementsByTagName('INPUT'); var len = children.length; for(var i = 0; i < len; i++) { children[i].checked = checked; if(!checked) { var selected = document.getElementById('selected_' + children[i].id.split('_')[1] + '_' + children[i].value); if(selected) selectedOpts.removeChild(selected); } else { var selected = document.createElement('SPAN'); selected.id = 'selected_' + children[i].id.split('_')[1] + '_' + children[i].value; selected.innerHTML = children[i].nextSibling.innerHTML; selected.style.marginLeft = '2pt'; selected.style.marginRight = '2pt'; selected.style.display = 'block'; if(document.getElementById(selected.id) == null) selectedOpts.appendChild(selected); } } } selectedOpts.nextSibling.style.display = (selectedOpts.childNodes.length > 0) ? 'block' : 'none'; } } ); } else { container.style.display = 'none'; container.style.marginTop = 0; var input = document.createElement('INPUT'); input.type = 'text'; input.id = 'ftree_suggest_' + aid; input.style.margin = '10pt'; input.style.border = '1px solid #FFE289'; input.style.display = 'none'; input.style.width = '30%'; input.value = ' ...'; addHandler(input, 'focus', function(event) { var eventSrc = event.target || event.srcElement; if(eventSrc.value.match(' ...')) eventSrc.value = eventSrc.value.replace(' ...', ''); } ); addHandler(input, 'blur', function(event) { var eventSrc = event.target || event.srcElement; if(eventSrc.value == '') eventSrc.value = ' ...'; } ); window['g_sInputText' + aid] = ''; window['g_timerID' + aid] = -1; addHandler(input, 'keyup', function(event) { var obj = event.srcElement || event.target || false; if(!obj) return; var sText = obj.value; var aid = obj.id.split('_')[2]; if(window['g_sInputText' + aid] !== sText) { window['g_sInputText' + aid] = sText; if(window['g_timerID' + aid] != -1) clearTimeout(window['g_timerID' + aid]); window['g_timerID' + aid] = setTimeout(function() { return function(event) { setWindowCursor('progress'); loadSuggestion(aid); } }(aid), 350); } } ); addHandler(container, 'click', function(event) { var eventSrc = event.target || event.srcElement; if(!eventSrc || !eventSrc.nodeName) return; if(eventSrc.nodeName == 'B') eventSrc = eventSrc.parentNode; if(eventSrc.nodeName == 'A') { var aid = parseInt(eventSrc.parentNode.id.split('_')[2]); document.getElementById('ftree_suggest_' + aid).value = eventSrc.innerText || eventSrc.textContent; if(event.stopPropagation) event.stopPropagation(); if(event.preventDefault) event.preventDefault(); toggleEnhSchOpts(); return false; } } ); schContainer.appendChild(input); } schContainer.appendChild(container); } break; case 4: { var header = document.createElement('DIV'); header.appendChild(expander); header.appendChild(document.createTextNode(' ' + atxt)); header.style.fontWeight = 'bold'; header.style.cursor = 'pointer'; header.className = 'searchOptHeader'; header.style.marginLeft = '10pt'; addHandler(header, 'click', toggleEnhSchOpts); var selectedOpts = document.createElement('SPAN'); selectedOpts.id = 'ftree_selection_' + aid; //selectedOpts.style.display = 'inline-block'; selectedOpts.style.display = 'block'; selectedOpts.style.fontSize = '80%'; selectedOpts.style.fontStyle = 'italic'; selectedOpts.style.fontWeight = 'normal'; selectedOpts.style.paddingLeft = '16px'; var selectedClear = document.createElement('SPAN'); //selectedClear.style.display = 'block'; selectedClear.style.display = 'none'; selectedClear.style.fontSize = '80%'; selectedClear.style.fontWeight = 'normal'; selectedClear.style.paddingLeft = '16px'; selectedClear.style.cursor = 'pointer'; selectedClear.style.color = '#C15016'; selectedClear.innerHTML = ''; selectedClear.className = 'selectedClear'; header.appendChild(selectedOpts); header.appendChild(selectedClear); var container = document.createElement('DIV'); container.id = 'ftree_sub_' + aid + '_-1'; container.style.display = 'none'; container.style.marginLeft = '10pt'; container.style.marginTop = '10pt'; var input = document.createElement('INPUT'); input.type = 'text'; input.id = 'date_' + aid; input.name = 'date_' + aid; input.style.border = '1px solid #FFE289'; //input.style.width = '30%'; var calen = document.createElement('IMG'); calen.src = '/bitrix/images/icons/calendar.gif'; calen.style.border = 0; calen.style.marginLeft = '5px'; calen.style.cursor = 'pointer'; calen.title = ''; addHandler(input, 'click', function(aid, input) { return function(event) { if(input.value == '') _Calendar('name=date_' + aid + '&from=&to=&form=enhanced_search', input.value); } }(aid, input) ); addHandler(calen, 'click', function(aid, input) { return function(event) { _Calendar('name=date_' + aid + '&from=&to=&form=enhanced_search', input.value); } }(aid, input) ); container.appendChild(input); container.appendChild(calen); schContainer.appendChild(header); schContainer.appendChild(container); // } break; } } } if(document.getElementById('__mdiv4-1__').childNodes.length > 0) { var reset = document.createElement('INPUT'); reset.type = 'button'; reset.value = ''; reset.style.marginLeft = '10pt'; reset.style.marginTop = '10pt'; reset.style.border = '1px solid #FFE289'; reset.style.backgroundColor = '#FFFFFF'; addHandler(reset, 'click', function(){clearEnhSchOpts();}); var submit = document.createElement('INPUT'); submit.type = 'button'; submit.value = ''; submit.style.border = '1px solid #FFE289'; submit.style.backgroundColor = '#FFFFFF'; submit.style.marginLeft = '10pt'; addHandler(submit, 'click', function(){window.bEnhandedSearch = true; buildSearchRequest();}); var nobr = document.createElement('nobr'); schContainer.appendChild(reset); schContainer.appendChild(submit); } } SetTab(document.getElementById('__tab1-4')); } break } window.currentState=document.location.hash var backUrlInputs=document.getElementsByName('backurl') var length=backUrlInputs.length if(length>0) { for(var i=0;i-1
1,-1
' document.getElementById('variables').className='loaded' //document.getElementById('dbNameHeader').innerHTML=document.getElementById('dbName').innerHTML this.requestsPending-- var nav=document.getElementById('nav') if(!nav) return; for(var i=1;i<=nav.childNodes.length;i++) { document.getElementById('__tab2-1-'+i).firstChild.innerHTML=nav.childNodes.item(i-1).childNodes.item(1).innerHTML document.getElementById('dbTypeHeader-'+i).firstChild.href=document.getElementById('__tab2-1-'+i).firstChild.href='#browse:'+getClassId(i)+':-1' document.getElementById('__tab2-1-'+i).style.display='' document.getElementById('dbTypeHeader-'+i).firstChild.innerHTML=nav.childNodes.item(i-1).childNodes.item(2).innerHTML document.getElementById('cli,'+i+',-1').id='cli,'+getClassId(i)+',-1' } if(i>2) { document.getElementById('tabs1container').style.display='block' document.getElementById('tabs1spacer').style.display='none' } else if(nav.childNodes.length > 0) ShowTab(document.getElementById('__tab1-1'), false) // ??? initTabs('__tab2-1-', i-1); var initLocation; var dbId = document.getElementById('dbId').innerHTML; if(document.getElementById('dbStart') && document.getElementById('dbStart').innerHTML != '/db/'+dbId) initLocation=document.getElementById('dbStart').innerHTML.replace('&', '&') else if(nav.childNodes.length > 0 && dbId != 'alldb') initLocation=document.location.pathname+'#browse:'+nav.firstChild.firstChild.innerHTML+':-1' else if(dbId == 'alldb') initLocation='/db/alldb#search' else initLocation='/404.php' if(document.location.hash.replace('#', '')=='') { document.location.replace(document.location.protocol+'//'+document.location.host+initLocation) setView() } else if(dbId != 'alldb') { if(nav.childNodes.length) { if(!document.location.hash.match('#browse')) { this.requestsPending++ setWindowCursor('wait') document.getElementById('toLoad').innerHTML='-1' var urlMenuItem='/db/its.gateway.php?db='+dbId+'&action=getxml&query=nav__-1&cln=1&clid='+document.getElementById('nav').firstChild.firstChild.innerHTML jsAjaxUtil.LoadData(urlMenuItem,buildMenuItem) initLocation = '#browse:'+getClassId('1')+':-1' document.getElementById('__tab1-1').firstChild.href = initLocation } else { var path=document.location.hash.split(':') if(path[1]=='-1') { path[1]=getClassId('1') initLocation = path.join(':') document.location.replace(document.location.protocol+'//'+document.location.host+document.location.pathname+initLocation) } } } setView() } var navchain = document.getElementById('navchain-table'); if(navchain && initLocation && dbId != 'alldb') { var navlinks = navchain.getElementsByTagName('A'); if(navlinks.length) navlinks[navlinks.length-1].href = initLocation; } var schCfg = document.getElementById('form'); var schContainer = document.getElementById('__mdiv4-1__'); if(schCfg && schContainer && (dbId == 'garant' || dbId == 'garantm')) { for(var i = 0; i < schCfg.childNodes.length; i++) { var at = parseInt(schCfg.childNodes[i].className.split('_')[1]); if(!isNaN(at) && at != 0 && at != 1) { ShowTab(document.getElementById('__tab1-4'), true); window.bEnhancedSearch = true; break; } } } window.intervalId=setInterval(checkLocation,50) } function loadSuggestion(aid) { var oList = document.getElementById('ftree_sub_' + aid + '_-1'); if(!oList) return; oList.innerHTML = '...'; var dbId = document.getElementById('dbId').innerHTML; jsAjaxUtil.LoadData( '/db/its.gateway.php?db=' + dbId + '&action=getxml&query=sugattr__a=' + aid + ',l=100,s=' + encodeURIComponent(window['g_sInputText' + aid]), function() { return function(data) { showItemsList(data, aid); } }(aid) ); } function showItemsList(data, aid) { var oList = document.getElementById('ftree_sub_' + aid + '_-1'); if(!oList) return; oList.innerHTML = data; oList.style.display = (data.length > 0) ? '' : 'none'; setWindowCursor('none'); } function createInput(type, attr) { if(typeof document.all == 'undefined'/* || navigator.userAgent.indexOf('MSIE 6') != -1*/) { var input = document.createElement('INPUT'); input.type = type; for(a in attr) input[a] = attr[a]; } else { var tmpNode = document.createElement('DIV'); var adjHtml = ['input type="' + type + '"']; for(a in attr) { if(typeof attr[a] == 'boolean') { if(attr[a] == true) adjHtml.push(a); } else adjHtml.push(a + '="' + attr[a] + '"'); } adjHtml = '<' + adjHtml.join(' ') + ' />'; tmpNode.insertAdjacentHTML('afterBegin', adjHtml); var input = tmpNode.firstChild.cloneNode(false); delete tmpNode; } return input; } function createFTreeBranch(data, aid, parent, checked) { var ftree = parseXML(data); var entries = ftree.getElementsByTagName('f'); var branch = document.createElement('DIV'); var checked = !!checked; for(var i = 0; i < entries.length; i++) { var ft = entries[i].getElementsByTagName('ft')[0].firstChild.nodeValue; var fid = parseInt(entries[i].getElementsByTagName('fid')[0].firstChild.nodeValue); var fe = (entries[i].getElementsByTagName('e')[0].firstChild != null) ? true : false; var checkbox = createInput('checkbox', {id: 'ftree_' + aid + '_' + fid, checked: checked, value: fid}); if(checked) { var selected = document.createElement('SPAN'); selected.id = 'selected_' + aid + '_' + fid; selected.innerHTML = ft; selected.style.marginLeft = '2pt'; selected.style.marginRight = '2pt'; selected.style.display = 'block'; if(document.getElementById(selected.id) == null) document.getElementById('ftree_selection_' + aid).appendChild(selected); } var label = document.createElement('LABEL'); label.innerHTML = ft; label.htmlFor = 'ftree_' + aid + '_' + fid; if(fe) { var container = document.createElement('DIV'); container.id = 'ftree_sub_' + aid + '_' + fid; container.style.paddingLeft = '10pt'; var padding = document.createElement('IMG'); padding.src = '/images/db/tree/plus.gif'; padding.id = 'ftree_exp_' + aid + '_' + fid; padding.style.cursor = 'pointer'; branch.appendChild(padding); checkbox.style.marginLeft = '4px'; } else { /*padding.src = '/bitrix/templates/its/images/space.gif'; padding.style.height = '16px'; padding.style.width = '16px';*/ checkbox.style.marginLeft = '20px'; } branch.appendChild(checkbox); branch.appendChild(label); if(fe) branch.appendChild(container); else branch.appendChild(document.createElement('BR')); } parent.appendChild(branch); } function checkLocation() { if(window.currentState!=document.location.hash) { if(window.intervalId!=null) { setView() } } } function setAnchor(hash) { document.location.hash=hash } function parseXML(string) { var XMLDocument; if(typeof DOMParser === 'function' || typeof DOMParser === 'object') XMLDocument = (new DOMParser()).parseFromString(string,'text/xml'); else { var xml = document.createElement("xml"); document.body.appendChild(xml); XMLDocument = xml.XMLDocument; document.body.removeChild(xml); XMLDocument.async=false //XMLDocument.validateOnParse=false XMLDocument.loadXML(string) } return XMLDocument } function addHandler(object,event,handler) { if(IsIE()) { object.attachEvent('on'+event,handler) } else { object.addEventListener(event,handler,false) } } function removeHandler(object,event,handler) { if(IsIE()) { object.detachEvent('on'+event,handler) } else { object.removeEventListener(event,handler,false) } } function hasClass(elem,className) { return new RegExp('(^|\\s)'+className+'(\\s|$)').test(elem.className) } function arraySearch(objArray,strPattern) { var length=objArray.length var match=[] for(var i=length;i--;) { if(objArray[i].valueOf()==strPattern.valueOf()) { match[match.length]=i } } if(match.length>0) { return match } else { return false } } function setWindowCursor(state) { for(var i=0; i < document.styleSheets.length; i++) { if(document.styleSheets[i].href && (document.styleSheets[i].href.match("/css/db.css") || document.styleSheets[i].href == document.location.protocol+'//'+document.location.host+'/css/db.css')) { var stylesheet=document.styleSheets[i] break } } if(typeof stylesheet == 'undefined') { stylesheet = document.styleSheets[document.styleSheets.length-1] } if(state=='none') { try { if(!window.opera) { stylesheet.cssRules[3].style.cursor='' } else { stylesheet.cssRules[3].style.cursor='inherit' } } catch(e) { try { stylesheet.rules[3].style.cursor='' } catch(e) { return } } } else { try { stylesheet.cssRules[3].style.cursor=state } catch(e) { try { stylesheet.rules[3].style.cursor=state } catch(e) { } } } return } function treeExpand(event) { event = event || window.event var clickedElem = event.target || event.srcElement if(hasClass(clickedElem, 'branch')) { if(hasClass(clickedElem, 'expanded')) { clickedElem.className = 'branch collapsed' clickedElem.nextSibling.style.display = 'none'; } else { var newHash = clickedElem.firstChild.firstChild.href.split('#')[1]; if('#' + newHash != document.location.hash) setAnchor(newHash); else { clickedElem.className = 'branch expanded'; clickedElem.nextSibling.style.display = 'block'; } } } } function tocExpand(event, clickOrigin) { if(typeof clickOrigin=='undefined') { event=event||window.event var clickedElem=event.target||event.srcElement } else { var currentDocId = pageElems.docid var id = 'tocitem,'+currentDocId if(typeof pageElems.docanchor != 'undefined') id += ','+decodeURIComponent(pageElems.docanchor) if(document.getElementById(id)) clickedElem = document.getElementById(id) else if(document.getElementById('tocitem,'+currentDocId)) clickedElem = document.getElementById('tocitem,'+currentDocId) else return } if(hasClass(clickedElem,'expanded')) { clickedElem.className='branch collapsed' clickedElem.nextSibling.style.display='none' } else if(hasClass(clickedElem,'collapsed')) { clickedElem.className='branch expanded' clickedElem.nextSibling.style.display='block' } else if(clickedElem.tagName=='A') { if(hasClass(clickedElem.parentNode.parentNode,'collapsed')) { clickedElem.parentNode.parentNode.className='branch expanded' clickedElem.parentNode.parentNode.nextSibling.style.display='block' } var lastActive=document.getElementById('activeTocItem').innerHTML var activeItem=document.getElementById(lastActive) while(activeItem.parentNode.parentNode.parentNode.className!='tree') { activeItem.parentNode.className='btext' activeItem=activeItem.parentNode.parentNode.parentNode.previousSibling.firstChild.firstChild } var id=clickedElem.id document.getElementById('activeTocItem').innerHTML=id activeItem=document.getElementById(id) if(activeItem.parentNode.parentNode.parentNode.className=='tree') { activeItem.parentNode.className='btext act1' } else { var nodeChain=[] var n=0 while(document.getElementById(id).parentNode.parentNode.parentNode.className!='tree') { nodeChain[n]=id activeItem=document.getElementById(id) id=activeItem.parentNode.parentNode.parentNode.previousSibling.firstChild.firstChild.id n++ } nodeChain.reverse() for(var i=0;i 3) for(var i=3; i0) { anchors[0].scrollIntoView(true) } window.pageElems=createElemLinks() return } else { if(currentDocId != launcher.id.split(',')[1]) { window.top.current_clpath = false; var urlTocTabs='/db/its.gateway.php?db='+document.getElementById('dbId').innerHTML+'&action=getxml&query=doc__'+launcher.id.split(',')[1] setWindowCursor('wait') jsAjaxUtil.LoadData(urlTocTabs,getTocTabs) } else if((typeof bInitial == 'undefined' || !bInitial) && typeof launcher.id.split(',')[2] == 'undefined') { window.top.location.href = '/db/'+document.getElementById('dbId').innerHTML+'#content:'+launcher.id.split(',')[1]+':1'; } return } } break case 'folder': { var targetFrame=document.getElementById('docframe,1') var newLocation=launcher.href } break case 'orphan': { var targetFrame = document.getElementById('docframe,9') var newLocation = '/db/content/'+document.getElementById('dbId').innerHTML+'/'+launcher toggleTocDisplay(false) document.getElementById('toggle_toc_button').style.display = 'none'; document.getElementById('__mdiv2-1__').innerHTML = ''; document.getElementById('tabs2container').style.display='none' SetTab(document.getElementById('__tab2-2-9')) } break case 'link': { var newLocation=launcher.href launcher.ownerDocument.location.replace(newLocation) return; } break } updateDocTitle('...'); if(typeof targetDoc == 'undefined') var targetDoc = get_frame_document(targetFrame) newLocation = newLocation.replace('+','%252B') if(!newLocation.match('://')) newLocation=document.location.protocol+'//'+document.location.host+newLocation try { var oldLocation = targetDoc.location; // || targetFrame.location if( oldLocation.toString().split('#')[0].replace(/%20/g,' ')!=newLocation.split('#')[0].replace(/%20/g,' ') && encodeURI(oldLocation.toString().split('#')[0])!=newLocation.split('#')[0] ) { setWindowCursor('wait') if(newLocation.match(/\.(xls|doc|rtf)$/)) { if(!IsIE()) { try { window.top.document.location.replace(newLocation) } catch(e) { } } else { targetDoc.write(' ') } } else { oldLocation.replace(newLocation) } } } catch(e) { targetFrame.location=newLocation if((oldLocation==null) || (oldLocation!=newLocation)) oldLocation = newLocation } if(type != 'orphan') updateDocTitle(window.top.doctitleheader); else updateDocTitle(targetDoc); } function buildMenuItem(data) { //var pageElems=createElemLinks() if(!pageElems.activecl) { var activecl=getClassId('1') } else { var activecl=pageElems.activecl } this.requestsPending-- var folderitem=document.createElement('div') var menuitem=document.createElement('div') var id=activecl+','+document.getElementById('toLoad').innerHTML var node=document.getElementById('cli,'+id) folderitem.innerHTML=data.split('')[1] folderitem.id='folderitem,'+id folderitem.className='list' document.getElementById('classlist,'+getClassNumber(activecl)).appendChild(folderitem) var f=0 var length=folderitem.firstChild.childNodes.length for(var i=0;i0) { menuitem.innerHTML=data.split('')[0] menuitem.className='subtree' node.parentNode.insertBefore(menuitem,node.nextSibling) } node.id='clitem,'+id showFolder(id.split(',')[1]) if(id==activecl+',-1' && f==0) { node.className='branch' if(data=='
    ') { ShowTab(document.getElementById('__tab1-1'), false) setWindowCursor('none') return } } if(f>0) { var nodeChain=[] var n=0 id=id.split(',')[1] while(id!='-1') { nodeChain[n]=id activeItem=document.getElementById('clitem,'+activecl+','+id) id=activeItem.parentNode.previousSibling.id.split(',')[2] n++ } nodeChain.reverse() for(var i=0;i0) { document.getElementById('folder,'+pfid).href=link.href='/db/'+document.getElementById('dbId').innerHTML+'#browse:'+activecl+':-1:'+nodeChain.join(':')+':'+pfid.split(',')[1] } else { document.getElementById('folder,'+pfid).href=link.href='/db/'+document.getElementById('dbId').innerHTML+'#browse:'+activecl+':-1:'+pfid.split(',')[1] } } } setWindowCursor('none') ShowTab(document.getElementById('__tab1-1'), true) } function getTocTabs(data) { var xmlString=parseXML(data) var tabs=xmlString.getElementsByTagName('tab') var targetUrl=document.getElementById(document.getElementById('activeTocItem').innerHTML).href targetUrl=targetUrl.split('%20').join(' ').split('%25').join('%').split('%2b').join('+') if(tabs.length == 0) document.location.href = '/404.php'; else if(tabs.length == 1) { pageElems.numtab = 0; document.getElementById('tabs2container').style.display='none' } else { pageElems.numtab = tabs.length; document.getElementById('tabs2container').style.display='block' } var title = xmlString.getElementsByTagName('title'); if(title.length) window.top.doctitleheader = title[0].firstChild.nodeValue; for(var i=0;i 0) { tocWidth = '29.5%'; docWidth = '68%'; docLeft = '31%'; } else { tocWidth = '0'; docWidth = '98%'; docLeft = '1%'; } } break; case undefined: { if(document.getElementById('__mdiv2-1__').childNodes.length > 0) { try { currentTocWidth = stylesheet.cssRules[0].style.width; } catch(e) { currentTocWidth = stylesheet.rules[0].style.width; } if(currentTocWidth == '29.5%') { tocWidth = '0'; docWidth = '98%'; docLeft = '1%'; } else { tocWidth = '29.5%'; docWidth = '68%'; docLeft = '31%'; } } else { tocWidth = '0'; docWidth = '98%'; docLeft = '1%'; } } break; } try { stylesheet.cssRules[0].style.width = tocWidth; stylesheet.cssRules[1].style.width = docWidth; stylesheet.cssRules[1].style.left = docLeft; stylesheet.cssRules[2].style.marginLeft = docLeft; } catch(e) { stylesheet.rules[0].style.width = tocWidth; stylesheet.rules[1].style.width = docWidth; stylesheet.rules[1].style.left = docLeft; stylesheet.rules[2].style.marginLeft = docLeft; } var toggle_toc_button = document.getElementById('toggle_toc_button'); toggle_toc_button.style.display = 'block'; toggle_toc_button.title = (tocWidth == '0') ? ' ' : ' '; if(tocWidth == '0') { toggle_toc_button.style.left = '0.5%'; toggle_toc_button.title = ' '; toggle_toc_button.firstChild.className = 'showtoc'; document.getElementById('__mdiv2-1__').style.display = 'none'; } else { toggle_toc_button.style.left = '30.5%'; toggle_toc_button.title = ' '; toggle_toc_button.firstChild.className = 'hidetoc'; document.getElementById('__mdiv2-1__').style.display = 'block'; } } function displayDoc(data) { var xmlString=parseXML(data); var tabs=xmlString.getElementsByTagName('tab'); var status=xmlString.getElementsByTagName('status'); try { var doc_id=xmlString.getElementsByTagName('doc_id')[0].firstChild.nodeValue; } catch(e) { return; } if(!tabs.length) { document.location.href = '/404.php'; return; } else if(tabs.length == 1 && !status.length) { pageElems.numtab = 0; document.getElementById('tabs2container').style.display = 'none'; } else { pageElems.numtab = tabs.length; document.getElementById('tabs2container').style.display = 'block'; } if(status.length) { status = status[0] var statusText = status.getElementsByTagName('text')[0].firstChild.nodeValue var docStatusHeader = document.getElementById('docStatusHeader') docStatusHeader.innerHTML = statusText docStatusHeader.style['backgroundColor'] = '' docStatusHeader.style['color'] = '' docStatusHeader.style['fontWeight'] = '' docStatusHeader.style['fontStyle'] = '' docStatusHeader.style['textDecoration'] = '' var statusStyle = status.getElementsByTagName('rules') if(statusStyle.length > 0) { var len = statusStyle[0].childNodes.length if(typeof len == 'undefined') var len = statusStyle[0].childElementCount for(var i = 0; i < len; i++) { var node = statusStyle[0].childNodes[i] if(node.nodeName == '#text' || node.firstChild.nodeValue == 'none') continue; docStatusHeader.style[node.nodeName] = node.firstChild.nodeValue } } } else { document.getElementById('docStatusHeader').innerHTML = '' document.getElementById('docStatusHeader').style.color = '' document.getElementById('docStatusHeader').style.backgroundColor = '' document.getElementById('docStatusHeader').style.textDecoration = '' } if(xmlString.getElementsByTagName('toc_id').length!=0) { var urlToc='/db/its.gateway.php?db='+document.getElementById('dbId').innerHTML+'&action=getxml&query=toc__'+xmlString.getElementsByTagName('toc_id').item(0).firstChild.nodeValue this.requestsPending++ jsAjaxUtil.LoadData(urlToc,buildToc) } else { toggleTocDisplay(false) document.getElementById('toggle_toc_button').style.display = 'none'; document.getElementById('__mdiv2-1__').innerHTML = ''; } if(tabs.length>1) { doc_id = doc_id.split(','); if(doc_id.length > 1) var p = xmlString.getElementsByTagName('p')[0].firstChild.nodeValue; for(var i=0; i 0) window.top.doctitleheader = title[0].firstChild.nodeValue; else window.top.doctitleheader = ''; var clpath = xmlString.getElementsByTagName('clpath'); if(clpath.length) { window.top.current_clpath = clpath[0].firstChild.nodeValue.split(','); } var activeTab=pageElems.doctab openDoc(document.getElementById('__tab2-2-'+activeTab),'tab') } function buildToc(data) { this.requestsPending-- var tocContainer=document.getElementById('__mdiv2-1__') tocContainer.innerHTML=data //attachOnTouchMove(tocContainer.firstElementChild, tocContainer); toggleTocDisplay(true) try { document.getElementById('activeTocItem').innerHTML=tocContainer.firstChild.firstChild.firstChild.firstChild.id } catch(e) { } tocExpand(false, true) } function showFolder(id) { //var pageElems=createElemLinks() if(!pageElems.activecl) { pageElems.activecl=getClassId('1') } var node=document.getElementById('clitem,'+pageElems.activecl+','+id) document.title=document.getElementById('dbNameHeader').innerHTML+' :: '+node.firstChild.firstChild.innerHTML var bRoot = hasClass(node,'root') if(node.className!='branch') // { node.className='branch expanded' if(bRoot) node.className += ' root' node.nextSibling.style.display='block' } var lastActive=document.getElementById('activeFolder').innerHTML var activeItem=document.getElementById('clitem,'+lastActive) if(activeItem) { while(activeItem.id.split(',')[2]!='-1') { activeItem.firstChild.className='btext' activeItem=activeItem.parentNode.previousSibling } document.getElementById('folderitem,'+lastActive).style.display='none' } document.getElementById('folderitem,'+pageElems.activecl+','+id).style.display='block' document.getElementById('activeFolder').innerHTML=pageElems.activecl+','+id if(id=='-1') { node.firstChild.className='btext act1' return } var nodeChain=[] var n=0 while(id!='-1') { nodeChain[n]=id activeItem=document.getElementById('clitem,'+pageElems.activecl+','+id) id=activeItem.parentNode.previousSibling.id.split(',')[2] n++ } nodeChain.reverse() for(var i=0;i 0) query[aid] = checked; } break; case 31: { var str = document.getElementById('ftree_suggest_' + aid).value.replace(' ...', ''); if(str != '') query[aid] = encodeURIComponent(str); } break; case 4: { var str = document.getElementById('date_' + aid).value; if(str.match(/^[\d]{2}\.[\d]{2}\.[\d]{4}$/)) query[aid] = str; } break; } } var request = []; var sep = encodeURIComponent('&'); for(aid in query) { if(typeof query[aid] == 'string') request.push(aid + '=' + query[aid]); else if(query[aid] instanceof Array) { var part = []; for(var i = 0; i < query[aid].length; i++) part.push(aid + '=' + query[aid][i]); request.push(part.join(sep)); } } var out = request.join(sep); return (out.length > 0) ? out : false; } function toggleEnhSchOpts(event) { var schContainer = document.getElementById('__mdiv4-1__'); if(typeof event != 'undefined') { var header = event.target || event.srcElement; if(header.className && header.className == 'selectedClear') { var aid = header.previousSibling.id.split('_')[2]; clearEnhSchOpts(aid); return; } while(!header.className || (header.className != 'searchOptHeader')) header = header.parentNode; var expander = header.getElementsByTagName('IMG')[0]; var path = expander.src.split('/');; var this_aid = expander.id.split('_')[2]; var this_exp = (path[path.length - 1].split('.')[0] == 'minus'); } else var this_aid = 0; for(var i = 0; i < schContainer.childNodes.length; i++) { var child = schContainer.childNodes[i]; if(child.nodeName != 'DIV' || !child.className || child.className != 'searchOptHeader') continue; expander = child.getElementsByTagName('IMG')[0]; var path = expander.src.split('/'); var aid = expander.id.split('_')[2]; var exp = (path[path.length - 1].split('.')[0] == 'minus'); var sugg = document.getElementById('ftree_suggest_' + aid); var date = document.getElementById('date_' + aid); var container = document.getElementById('ftree_sub_' + aid + '_-1'); var selectedOpts = document.getElementById('ftree_selection_' + aid) if(!exp && this_aid == aid) { expander.src = expander.src.replace('plus', 'minus'); if(date) { selectedOpts.innerHTML = ''; } if(sugg) { selectedOpts.innerHTML = ''; sugg.style.display = ''; if(container.childNodes.length > 0) container.style.display = ''; } else container.style.display = ''; } else { expander.src = expander.src.replace('minus', 'plus'); if(sugg) { selectedOpts.innerHTML = document.getElementById('ftree_suggest_' + aid).value.replace(' ...', ''); sugg.style.display = 'none'; } else if(date) { selectedOpts.innerHTML = date.value; } container.style.display = 'none'; } selectedOpts.nextSibling.style.display = (selectedOpts.childNodes.length > 0) ? 'block' : 'none'; } } function clearEnhSchOpts(aid) { var opts = {}; if(!aid) { var formAttr = document.getElementById('form').childNodes; for(var i = 0; i < formAttr.length; i++) { var aid = parseInt(formAttr[i].id.split('_')[1]); var afmt = parseInt(formAttr[i].className.split('_')[1]); opts[aid] = afmt; } } else { var afmt = parseInt(document.getElementById('aid_' + aid).className.split('_')[1]); opts[aid] = afmt; } for(aid in opts) { switch(opts[aid]) { case 1: { document.getElementById('txt_attr_' + aid).value = ''; document.getElementById('hdr_only_' + aid).checked = false; } break; case 3: { var inputs = document.getElementById('ftree_sub_' + aid + '_-1').getElementsByTagName('INPUT'); var len = inputs.length; for(var i = 0; i < len; i++) { inputs[i].checked = false; } document.getElementById('ftree_selection_' + aid).innerHTML = ''; } break; case 31: { document.getElementById('ftree_suggest_' + aid).value = ' ...'; document.getElementById('ftree_sub_' + aid + '_-1').innerHTML = ''; document.getElementById('ftree_sub_' + aid + '_-1').style.display = 'none'; document.getElementById('ftree_selection_' + aid).innerHTML = ''; } break; case 4: { document.getElementById('date_' + aid).value = ''; document.getElementById('ftree_selection_' + aid).innerHTML = ''; } break; } var selectedOpts = document.getElementById('ftree_selection_' + aid); if(selectedOpts) selectedOpts.nextSibling.style.display = (selectedOpts.childNodes.length > 0) ? 'block' : 'none'; } } function buildSearchRequest() { if(!window.bEnhandedSearch && document.getElementById('searchText').value == '') return if(window.bEnhandedSearch) { var dbId = document.getElementById('dbId').innerHTML; var opts = collectEnhSchOpts(); if(!opts) return; var url = '/db/its.gateway.php?db=' + dbId + '&action=getxml&query=enhfind__' + opts; setWindowCursor('progress'); this.requestsPending++; set_search_cookie(); jsAjaxUtil.LoadData(url, buildSearchResult); return; } var dbId=document.getElementById('dbId') //var inputArray=document.getElementsByTagName('INPUT') //var length=inputArray.length var schBase = 12; var query, qparm, requestString, urlSearch; switch(document.getElementById('gsc').value) { case '0': var formCfg = document.getElementById('form'); if(formCfg && formCfg.childNodes && formCfg.childNodes.length > 0) { //var stdSchLabel = ' '; for(var i = 0; i < formCfg.childNodes.length; i++) { //if(formCfg.childNodes[i].innerHTML && formCfg.childNodes[i].innerHTML == stdSchLabel) if(parseInt(formCfg.childNodes[i].className.split('_')[1]) == 1) { schBase = formCfg.childNodes[i].id.split('_')[1]; break; } } } query = 'find__'; qparm = ',ns=0,nd=200'; break case '1': query = 'globalfind__'; qparm = ',ns=0'; break } //requestString = schBase + '=' + document.getElementById('tsc').value + '+' + document.getElementById('searchText').value requestString = schBase + '=0+' + document.getElementById('searchText').value if(dbId) { urlSearch='/db/its.gateway.php?db='+dbId.innerHTML+'&action=getxml&query='+query+requestString+qparm; urlSearch='/db/its.gateway.php?db='+dbId.innerHTML+'&action=getxml&query='+query+requestString+qparm; setWindowCursor('wait') this.requestsPending++ jsAjaxUtil.LoadData(urlSearch,buildSearchResult) } } function buildHistoryRequest() { if(document.getElementById('__mdiv3-1__').innerHTML != '') { return false; } setWindowCursor('wait') this.requestsPending++ jsAjaxUtil.LoadData('/db/its.gateway.php?db=alldb&action=getxml&query=search_history',buildHistoryResult) } function buildSearchResult(data) { this.requestsPending-- var searchResultContainer = document.getElementById('__mdiv3-1__') searchResultContainer.innerHTML=data //attachOnTouchMove(searchResultContainer.firstElementChild, searchResultContainer); SetTab(document.getElementById('__tab1-3')) if(document.getElementById('dbId').innerHTML!='alldb') { document.title=document.getElementById('dbNameHeader').innerHTML+' :: ' } else { document.title=' :: ' document.getElementById('dbNameHeader').innerHTML='' } if(document.getElementById('lamp') && document.getElementById('lamp').className == 'down' && !window.bEnhandedSearch) { iss_sch_hl_toggle() } else { if(window.bEnhandedSearch) { if(document.getElementById('lamp') && document.getElementById('lamp').className == 'up') { iss_sch_hl_toggle() //setAnchor('search'); } } else { set_search_cookie() } } //var last_result = document.getElementById('__mdiv3-1__').lastChild.previousSibling var first_result = document.getElementById('__mdiv3-1__').firstChild expandResults(first_result) //last_result.scrollIntoView() setWindowCursor('none') } function buildHistoryResult(data) { this.requestsPending-- document.getElementById('__mdiv3-1__').innerHTML=data ShowTab(document.getElementById('__tab1-3'), true) if(document.getElementById('dbId').innerHTML!='alldb') { document.title=document.getElementById('dbNameHeader').innerHTML+' :: ' } else { document.title=' :: ' document.getElementById('dbNameHeader').innerHTML='' } //var last_result = document.getElementById('__mdiv3-1__').lastChild.previousSibling var first_result = document.getElementById('__mdiv3-1__').firstChild if(first_result) expandResults(first_result) //last_result.scrollIntoView() setWindowCursor('none') } function usersV8Auth(a) { var path = a.href.split('/'); var page = path[path.length-1]; if(document.cookie.match('v8_auth=1')) document.location.href = a.href;; var v8_http_form = document.getElementById('v8_http_form'); if(v8_http_form) document.location.href = a.href; else { var data_url = '/personal/v8_auth.php?page='+encodeURIComponent(page); jsAjaxUtil.LoadData(data_url, usersV8SetupFrame); } } function usersV8SetupFrame(data) { var result = parseXML(data); var status = result.getElementsByTagName('status').item(0).firstChild.nodeValue; var url = decodeURIComponent(result.getElementsByTagName('url').item(0).firstChild.nodeValue); if(status == 'ok') { var action = 'http://users.v8.1c.ru/default.jsp'; var tempform = document.createElement('form'); tempform.id = 'v8_http_form'; tempform.method = 'post'; tempform.target = '_top'; tempform.action = action; tempform.style.display = 'none'; var params = result.getElementsByTagName('param'); for(var i=0; i < params.length; i++) { var input = document.createElement('input'); input.type = 'text'; input.name = params.item(i).getAttribute('name'); input.value = params.item(i).firstChild.nodeValue; tempform.appendChild(input); } var enteringButton = document.createElement('input'); enteringButton.type = 'text'; enteringButton.name = 'enteringButton'; enteringButton.value = ' >>>>'; tempform.appendChild(enteringButton); document.body.appendChild(tempform); var tempdiv = document.createElement('div'); tempdiv.innerHTML = ''; document.body.appendChild(tempdiv.firstChild); } else document.location.href = url; } function expandResults(obj) { if(!obj) return var newstyle var newdisplay switch(obj.className) { case 'glresult collapsed': { newstyle='glresult expanded' newdisplay='block' } break case 'glresult expanded': { newstyle='glresult collapsed' newdisplay='none' } break } if(obj.nextSibling) obj.nextSibling.style.display=newdisplay obj.className=newstyle //document.getElementById('__tab1-3').firstChild.href = '#search:' + obj.title; document.getElementById('__tab1-3').firstChild.href = '#search'; } function set_search_cookie(query) { if(typeof query == 'undefined' || query == null) { try { query = encodeURIComponent(document.getElementById('__tab1-3').firstChild.href.split('#')[1].split(':')[1]); } catch(e) { } } if(typeof query == 'string') { try { window.top.document.cookie = 'search_query=' + query + '; path=/'; } catch(e) { } } } function strpos (haystack, needle, offset) { var i = (haystack+'').indexOf(needle, (offset ? offset : 0)) return i === -1 ? false : i } function iss_sch_hl_toggle() { try { var lamp = window.top.document.getElementById('lamp') } catch(e) { return; } switch(lamp.className) { case 'up': { lamp.className = 'down' lamp.src = lamp.src.replace('lamp.gif','lamp_down.gif') window.top.document.cookie = 'search_query=; path=/' if(lamp.parentNode.title) lamp.parentNode.title = ' ' } break case 'down': { lamp.className = 'up' lamp.src = lamp.src.replace('lamp_down.gif','lamp.gif') set_search_cookie() if(lamp.parentNode.title) lamp.parentNode.title = ' ' } break } if(window.top.document.location.hash.split(':')[0] == '#content') { var targetDoc = window.top.get_frame_document('docframe,'+window.top.document.location.hash.split(':')[2]) var spans = targetDoc.getElementsByTagName('SPAN') var spans_hl = [] for(i = 0; i < spans.length; i++) { if(spans[i].className.match('iss_sch_hl')) { spans_hl.push(i) } } for(var i = 0; i < spans_hl.length; i++) { if(spans[spans_hl[i]].style.backgroundColor == '') { if(i == 0) { spans[spans_hl[i]].className = 'iss_sch_hl current' spans[spans_hl[i]].style.backgroundColor = 'yellow' spans[spans_hl[i]].scrollIntoView(false) } else { spans[spans_hl[i]].style.backgroundColor = 'cyan' } } else { try { spans[spans_hl[i]].style.removeProperty("background-color") } catch(e) { spans[spans_hl[i]].style.backgroundColor = '' } } } } return false } function iss_sch_hl_scroll_to_first() { try { if(window.top.document.location.hash.split(':')[0] == '#content') { var spans = document.getElementsByTagName('SPAN') if(spans.length == 0) { return false } for(var i = 0; i < spans.length; i++) { if(spans[i].className == 'iss_sch_hl') { spans[i].className = 'iss_sch_hl current'; spans[i].style.backgroundColor = 'yellow'; spans[i].scrollIntoView(false); document.body.scrollLeft = 0; return false } } } } catch(e) { return; } } function iss_sch_hl_scroll_to_next(backwards) { if(document.location.hash.split(':')[0] == '#content') { if(document.getElementById('lamp').className != 'up') iss_sch_hl_toggle(); var targetDoc = document.getElementById('docframe,'+pageElems.doctab).contentWindow.document var spans = targetDoc.getElementsByTagName('SPAN') var spans_hl = [] var prev = -1 var i if(spans.length == 0) return false for(i = 0; i < spans.length; i++) { if(spans[i].className.match('iss_sch_hl')) { spans_hl.push(i) } } if(spans_hl.length > 0) { for(i = 0; i < spans_hl.length; i++) { if(spans[spans_hl[i]].className == 'iss_sch_hl current') { spans[spans_hl[i]].className = 'iss_sch_hl' spans[spans_hl[i]].style.backgroundColor = 'cyan' prev = spans_hl[i] break } } if(spans_hl.length == 1) { i = spans_hl[0] } else { if(typeof backwards == 'undefined' || !backwards) { for(i = 0; i < spans_hl.length; i++) { if(spans_hl[i] > prev) { i = spans_hl[i] break } if(i == spans_hl.length - 1) { i = prev break } } } else { for(i = spans_hl.length; i >= 0; i--) { if(spans_hl[i] < prev) { i = spans_hl[i] break } if(i == 0) { i = prev break } } } } } else return false spans[i].className = 'iss_sch_hl current' spans[i].style.backgroundColor = 'yellow' spans[i].scrollIntoView(false) return false } } function print_frame() { if(document.location.hash.split(':')[0] != '#content') return false; if(document.getElementById('lamp').className == 'up') iss_sch_hl_toggle(); frames['docframe,'+document.location.hash.split(':')[2]].focus(); frames['docframe,'+document.location.hash.split(':')[2]].print(); /*var url = document.getElementById('docframe,'+pageElems.doctab).contentWindow.location.toString(); url = url.replace(/(?:#.*)?$/g, '?print'); window.open(url, 'print', 'width=1000,height=700,toolbar=no,location=no,status=no,copyhistory=no,menubar=yes,scrollbars=yes');*/ } function doc_onload_hook() { if(this.frameElement) { LayoutPage() try { if((window.top.document.location.hash.split(':')[0] == '#content') && (window.top.document.location.hash.split(':').length>3)) { var anchor=decodeURIComponent(window.top.document.location.hash.split(':')[3]) if(anchors=this.document.getElementsByName(anchor)) { if(anchors.length>0) { anchors[0].scrollIntoView(true) } } } } catch(e) { } iss_sch_hl_scroll_to_first() var dbId = window.top.document.getElementById('dbId'); if(dbId && dbId.innerHTML == 'hoosn') hoosn_set_seealso_cnt(); } } function cnt_click() { try { var obAjaxThread = new CAjaxThread(); obAjaxThread.httpRequest.open('POST', '/cnt/log.php', false); obAjaxThread.httpRequest.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'); obAjaxThread.httpRequest.send('from='+document.location.href+'&to='+this.href.replace('&', '%26')); obAjaxThread.Clear(); obAjaxThread = null; } catch(e) {} return true; } function hoosn_set_seealso_cnt() { try { var arDiv = document.body.getElementsByTagName("DIV"); for(var idx in arDiv) { var div = arDiv[idx]; if(div.className == 'annotation') { var obj = div.firstChild; while(obj) { if(obj.tagName == 'A' && obj.href) { obj.onclick = cnt_click; } var next_obj = obj.firstChild || obj.nextSibling; while(!next_obj) { obj = obj.parentElement; if(obj == div) break; next_obj = obj.nextSibling; } obj = next_obj; } } } } catch(e) {} } function doc_immediate_hook() { if(this.frameElement) { //window.top.setView(); if(IsIOS()) { window.mouseY = 0; window.mouseX = 0; document.body.addEventListener('touchstart', function(e){ window.mouseY = e.targetTouches[0].pageY; window.mouseX = e.targetTouches[0].pageX; }); document.body.addEventListener('touchmove', function(e){ e.preventDefault(); var box = window.frameElement.parentNode; box.scrollLeft = box.scrollLeft + window.mouseX - e.targetTouches[0].pageX; box.scrollTop = box.scrollTop + window.mouseY - e.targetTouches[0].pageY; }); } } try { var lamp = window.top.document.getElementById('lamp'); } catch(e) { } if(this.frameElement && !window.top.switchToDoc(document.title)) return; var query = decodeURIComponent(get_cookie_value('search_query')); if(query == null || query == '') { if(lamp && lamp.className == 'up') { iss_sch_hl_toggle(); } } else { if(lamp && lamp.className == 'down') { iss_sch_hl_toggle(); } try { this.onbeforeunload = function() { window.top.document.cookie = 'hl_page=' + encodeURIComponent(window.top.document.location) + '; path=/'; window.top.document.cookie = 'try_saved_search_query=' + encodeURIComponent(query) + '; path=/'; } } catch(e) { } window.top.document.cookie = 'search_query=; path=/'; } window.top.pageElems = window.top.createElemLinks(); if(typeof window.top.onNewDoc == 'function') window.top.onNewDoc(); } function get_frame_document(frame) { if(typeof frame == 'string') frame = document.getElementById(frame); if(!frame) return null; var doc; try { doc = frame.contentWindow.document } catch(e) { doc = frame.contentDocument } return doc; } function get_cookie_value(check_name) { try { var all_cookies = window.top.document.cookie.split( ';' ); } catch(e) { return null; } var temp_cookie = ''; var cookie_name = ''; var cookie_value = ''; var b_cookie_found = false; for(var i = 0; i < all_cookies.length; i++) { temp_cookie = all_cookies[i].split('='); cookie_name = temp_cookie[0].replace(/^\s+|\s+$/g, ''); if(cookie_name == check_name) { b_cookie_found = true; if(temp_cookie.length > 1) { cookie_value = decodeURIComponent(temp_cookie[1].replace(/^\s+|\s+$/g, '')); } return cookie_value; break; } temp_cookie = null; cookie_name = ''; } if(!b_cookie_found) { return null; } } function _Calendar(params, dateVal) { var left, top; var width = 180, height = 160; if('['+typeof(window.event)+']' == '[object]') { top = (window.event.screenY+20+height>screen.height-40? window.event.screenY-45-height:window.event.screenY+20); left = (window.event.screenX-width/2); } else { top = Math.floor((screen.height - height)/2-14); left = Math.floor((screen.width - width)/2-5); } window.open('/bitrix/tools/calendar.php?lang=ru&admin_section=N&'+params+'&date='+escape(dateVal)+'&initdate='+escape(dateVal),'','scrollbars=no,resizable=yes,width='+width+',height='+height+',left='+left+',top='+top); } function dbg(msg) { if(typeof console == 'object') console.log(msg); } function IsIE() { return (document.attachEvent && !IsOpera()); } function IsOpera() { return (navigator.userAgent.toLowerCase().indexOf('opera') != -1); } function IsAndroid() { return navigator.userAgent.match(/AppleWebKit/i) && navigator.userAgent.match(/Android/i); } function IsIOS() { return navigator.userAgent.match(/AppleWebKit/i) && navigator.userAgent.match(/iPad|iPhone/i); } function checkEmail(email) { var reg = /^[=_.0-9a-z+~\'-]+@(([-0-9a-z_]+\.)+)([a-z]{2,10})$/i; return (reg.exec(email.toString()) != null); } function get_viewport_size() { var width, height; if(window.innerWidth) { width = window.innerWidth; height = window.innerHeight; } else if(document.documentElement && document.documentElement.clientWidth) { width = document.documentElement.clientWidth; height = document.documentElement.clientHeight; } else { width = document.getElementsByTagName('body')[0].clientWidth; height = document.getElementsByTagName('body')[0].clientHeight; } return {width: width, height: height}; } function get_viewport_scroll() { var x, y; if(window.pageYOffset) { x = window.pageXOffset; y = window.pageYOffset; } else if(document.documentElement && document.documentElement.scrollTop) { x = document.documentElement.scrollLeft; y = document.documentElement.scrollTop; } else { x = document.getElementsByTagName('body')[0].scrollLeft; y = document.getElementsByTagName('body')[0].scrollTop; } return {x: x, y: y}; } function turn_calendar(href) { jsAjaxUtil.LoadData(href, function(data){ document.getElementById('rcolumn_calendar_header').innerHTML = data; }); } function GA_onclick(a) { var href = a.href; try { var path = new RegExp('https?://([^/]+)(/.*)?', 'i').exec(href); if(typeof path[2] != 'undefined') { var pageTracker = _gat._getTrackerByName(); pageTracker._trackPageview(path[2]); } } catch(e) { } } function find_in_classifier() { if(window.top.current_clpath) document.location.hash = '#browse:' + window.top.current_clpath.join(':'); }PK e5C~I  ⠭ ⥪. 㬥 2.1 ७ ꥪ⮢ ⠤ 䠩 ⠢ ⥪ 䨣_files/lamp_down.gifGIF89aܮۭإYy !؜C _, 8 C h޹ؤ gЧëȞ ?٦Ÿ r˕-  sΗ, ?ݖ ^ɵc PW ҡʟuņ& B1~0=,@A0 0hЀ @ a .`ȠQ 8tą"FP(RPE /`Q 5lԸG;dǏ@B#=`LdI&L8y%$S0RR&Xh¥ /|FL1dʘ9# 4լac79tعs<'>~Tm@ "TC H"F5zУC;PK e5Cȩ%⠭ ⥪. 㬥 2.1 ७ ꥪ⮢ ⠤ 䠩 ⠢ ⥪ 䨣_files/left.gifGIF89a5hijjkcefgh__`aabYZ[[]\^TUVWXgijkkllmLMNOQRS`abbcdefhFGHJKXYZ[\]^_;=>@ABCENOPRSTUVW9:DFGHIKLM:;<>?ABC!d,5##""!!!  33221100//. . -- ,, ++ @@??>> "p!; = 0) { oTab = document.getElementById('__tab'+sTab+(nActiveTab+1)); oPrev = getPreviousTabEl(oTab); oNext = getNextTabEl(oTab); for(var nPA = nActiveTab-1; nPA >= 0; nPA--) { if(arTabState[nTabsIdx][nPA]) { var oPTab = document.getElementById('__tab'+sTab+(nPA+1)); oPrev = getNextTabEl(oPTab); break; } } oPrev.className = 'tab'+nTabs+'i-an'; oTab.className = 'tab'+nTabs+'t-a'; oNext.className = 'tab'+nTabs+'i-ap'; } if(nFirst >= 0) { oTab = document.getElementById('__tab'+sTab+(nFirst+1)); oPrev = getPreviousTabEl(oTab); oPrev.style.display = 'inline-block'; oPrev.className += '-f'; } if(nLast >= 0) { oTab = document.getElementById('__tab'+sTab+(nLast+1)); oNext = getNextTabEl(oTab); oNext.className += '-l'; } } function ShowTab(oTab, bVisible) { if(!oTab || oTab.id.substr(0, 5) != '__tab') return; var sTab = oTab.id.substr(5); var nTabs = sTab.substr(0,1); var nTabsIdx = (sTab.substr(0,1)-1)*sTab.substr(2,1); var nTab = sTab.substr(2*nTabs)-1; arTabState[nTabsIdx][nTab] = bVisible; UpdateTabs(sTab.substr(0,2*nTabs)); } function SetTab(oTab) { if(oTab.id.substr(0, 5) != '__tab') return; var sTab = oTab.id.substr(5); var nTabs = sTab.substr(0,1); var nTabsIdx = (sTab.substr(0,1)-1)*sTab.substr(2,1); var nTab = sTab.substr(2*nTabs)-1; var sActiveTab = arsActiveTab[nTabsIdx]; if(sActiveTab == sTab) return; arsActiveTab[nTabsIdx] = sTab; arTabState[nTabsIdx][nTab] = true; var oSpaceOld = document.getElementById('__tabspace'+sActiveTab); var oSpaceNew = document.getElementById('__tabspace'+sTab); UpdateTabs(sTab.substr(0,2*nTabs)); if(oSpaceOld) oSpaceOld.style.display = 'none'; if(oSpaceNew) oSpaceNew.style.display = 'block'; LayoutPage(); } function initTabs(sTab, nTab) { var nTabsIdx = (sTab.substr(5,1)-1)*sTab.substr(7,1); for(var i = 1; i <= nTab; i++) arTabState[nTabsIdx][i-1] = true; for(; i <= 9; i++) arTabState[nTabsIdx][i-1] = false; UpdateTabs(sTab.substr(5)); LayoutPage(); } function SetTabN(oTab) { if(oTab.id.substr(0, 7) != '__tabn-') return; var nTab = oTab.id.substr(7); var oTab1 = document.getElementById('__tabn-1'); var oTab2 = document.getElementById('__tabn-2'); var oTab3 = document.getElementById('__tabn-3'); oTab1.className = (nTab == 1) ? 'tabnt-a' : 'tabnt'; oTab2.className = (nTab == 2) ? 'tabnt-a' : 'tabnt'; oTab3.className = (nTab == 3) ? 'tabnt-a' : 'tabnt'; var oInt; oInt = getPreviousTabEl(oTab1); oInt.className = (nTab == 1) ? 'tabni-an-f' : 'tabni-f'; oInt = getPreviousTabEl(oTab2); oInt.className = (nTab == 1) ? 'tabni-ap' : (nTab == 2) ? 'tabni-an' : 'tabni'; oInt = getPreviousTabEl(oTab3); oInt.className = (nTab == 2) ? 'tabni-ap' : (nTab == 3) ? 'tabni-an' : 'tabni'; oInt = getNextTabEl(oTab3); oInt.className = (nTab == 3) ? 'tabni-ap-l' : 'tabni-l'; var oSpace; oSpace = document.getElementById('__tabnspace-1'); oSpace.style.display = (nTab == 1) ? 'block' : 'none'; oSpace = document.getElementById('__tabnspace-2'); oSpace.style.display = (nTab == 2) ? 'block' : 'none'; oSpace = document.getElementById('__tabnspace-3'); oSpace.style.display = (nTab == 3) ? 'block' : 'none'; } var arTimer = new Array(); function ShowObject(sObj, bShow, bImmediately) { var oObj = document.getElementById(sObj); if(!oObj) return; if(bShow) { var timer = arTimer[sObj]; if(timer) clearTimeout(timer); oObj.style.display = 'block'; } else { if(bImmediately) { HideObject(sObj); timerHideAuth = 0; } else arTimer[sObj] = setTimeout("HideObject('"+sObj+"')", 1000); } } function HideObject(sObj) { var oObj = document.getElementById(sObj); if(!oObj) return; oObj.style.display = 'none'; } function AuthPopup() { ShowObject('authpopup', true, true); var authformlogin = document.getElementById('authformlogin'); var authformpassword = document.getElementById('authformpassword'); if(authformlogin.value.length == 0) authformlogin.focus(); else authformpassword.focus(); } function OnPopupMouseOut(evt, oPopup) { var oTo; if(evt.toElement) oTo = evt.toElement; // IE else if(evt.relatedTarget) // Moz { oTo = evt.relatedTarget; try { var classname = oTo.className; } catch(e) { // alert(e); return; } } else oTo = null; while(oTo) { if(oTo == oPopup) return; try { oTo = oTo.parentNode; } catch(e) { oTo = null; } } ShowObject(oPopup.id, false, false); } function OnFormPopupKey(evt, sPopup, sForm) { switch(evt.keyCode) { case 27: // Esc ShowObject(sPopup, false, true); return false; case 13: // Enter if(IsIE()) { document.getElementById(sForm).submit(); window.openid_form_submitted = true; return false; } default: } } function SetGlobalSearch(bGS) { var oSM, oST, oInput; oSM = document.getElementById('search_region_menu'); oST = document.getElementById('search_region_text'); oInput = document.getElementById('gsc'); if(!oSM || !oST || !oInput) return; if(typeof bGS == 'string') bGS = parseInt(bGS); if(bGS) { oSM.style.top = '-5px'; oST.innerHTML = '       '; window.top.document.cookie = 'ITS_GSC=1; path=/'; oInput.value = 1; } else { oSM.style.top = '-21px'; oST.innerHTML = ' '; window.top.document.cookie = 'ITS_GSC=0; path=/'; oInput.value = 0; } ShowObject('search_region_menu', false, true); document.getElementById('searchText').focus(); } function SetTitleSearch(bTS) { var oTS, oInput; ShowObject('titlesearch', false, true); oTS = document.getElementById('ts_option'); if(!oTS) return; oInput = document.getElementById('tsc'); if(!oInput) return; if(bTS) { oTS.innerHTML = ' ▼'; // +String.fromCharCode(0x25bc); oInput.value = 1; } else { oTS.innerHTML = ' ▼'; //+String.fromCharCode(0x25bc); oInput.value = 0; } } PK e5C⠭ ⥪. 㬥 2.1 ७ ꥪ⮢ ⠤ 䠩 ⠢ ⥪ 䨣_files/openid.jsfunction on_openid_hidden_iframe_load(event) { event = event || window.event; var iframe = event.target || event.srcElement; var openid_root = '/openid/?backurl=' + encodeURIComponent(window.top.location.href.replace(window.top.location.protocol + '//' + window.top.location.host, '')); try { var iframe_doc = get_frame_document(iframe); var iframe_href = iframe_doc.location.href; if(iframe_href.match(/\/blank\.htm$/)) { if(iframe.className) { if(iframe.className == 'no_autosubmit') { return; } else if(iframe.className == 'logout') { iframe_doc.location.replace(openid_root + '?logout=yes'); } } else { iframe.contentWindow.location.replace(openid_root); } } /*else if(iframe_href.match(/\/openid\/\?returned=after_logout$/)) { return; }*/ } catch(e) { /*if(iframe.className == 'logout') { return; }*/ } }PK e5CJ^,,⠭ ⥪. 㬥 2.1 ७ ꥪ⮢ ⠤ 䠩 ⠢ ⥪ 䨣_files/popup.jsfunction init_popup(parent, class_name) { if(document.getElementById('popup_container')) { var popup = document.getElementById('popup_container').firstChild; if(popup.childNodes.length > 1) popup.removeChild(popup.lastChild); return popup; } var container = document.createElement('DIV'); container.id = 'popup_container'; container.style.backgroundImage = 'url(/images/popup/tableinput_bg.png)'; container.style.position = 'absolute'; if(typeof class_name != 'undefined') container.className = class_name; if(typeof parent == 'object') { container.style.top = parent.offsetTop + 'px'; container.style.left = parent.offsetLeft + 'px'; } else { container.style.top = 0; container.style.left = 0; } container.style.zIndex = 10; var popup = document.createElement('DIV'); popup.id = 'popup'; popup.style.backgroundColor = '#FFFDE8'; popup.style.margin = 'auto'; popup.style.position = 'relative'; popup.style.zIndex = 998; var controls = document.createElement('DIV'); controls.id = 'popup_controls'; controls.style.backgroundColor = '#F5EEB7'; controls.style.borderBottom = 'solid 1px #ffe289'; controls.style.height = '22px'; controls.style.lineHeight = 0; controls.style.textAlign = 'right'; var close_button = document.createElement('IMG'); close_button.src = '/images/popup/close.gif'; close_button.style.cursor = 'pointer'; close_button.style.margin = '3px'; addHandler(close_button, 'click', close_popup); controls.appendChild(close_button); popup.appendChild(controls); container.appendChild(popup); if(typeof parent != 'object') document.body.appendChild(container); else parent.appendChild(container); return popup; } function display_popup(content, mode, parent, class_name) { if(this.frameElement) { parent = window.top.document.getElementById('__mainspace__') || this.frameElement.parentNode; window.top.display_popup(content, mode, parent); return false; } if(typeof content == 'undefined') return; if(!mode) mode = 'node'; if(typeof(parent) == 'string') parent = document.getElementById(parent) || document.body; var popup = init_popup(parent, class_name); switch(mode) { case 'image': { var image = document.createElement('IMG'); image.src = content.toString(); image.style.position = 'relative'; image.style.margin = '5px'; var div = document.createElement('DIV'); div.id = 'popup_content'; div.style.overflow = 'auto'; div.style.textAlign = 'center'; div.appendChild(image); popup.appendChild(div); } break; case 'frame': { var frame = document.createElement('IFRAME'); frame.frameBorder = 'no'; frame.style.border = '0'; frame.style.width = '100%'; popup.appendChild(frame); try { frame.contentWindow.location = content.toString(); } catch(e) { frame.location = content.toString(); } } break; case 'video': { var player = document.createElement('DIV'); player.id = 'player'; player.style.textAlign = 'center'; player.innerHTML = '

    ' + '' + '

    ' + '


    ' + 'Adobe Flash Player

    '; popup.appendChild(player); if(!content.match(/^(?:\/|http[s]?:\/\/)/)) { var base_url = document.location.pathname; base_url = base_url.replace(/[^\/]*$/, ''); content = base_url + content; } window.flashvars = { "m": "video", "uid": "player", "st": document.location.protocol + "//" + document.location.host + "/video/st.php?file=" + encodeURI(content) }; window.flashparams = { "bgcolor": "#FFFDE8", "allowFullScreen": "true", "allowScriptAccess": "always", "id": "player" }; if(IsAndroid() || IsIOS()) { window.flashvars.file = content; new Uppod(flashvars); } else new swfobject.embedSWF( "/swf/uppod.swf?1.2.2", // UPPOD_VER flashparams.id, '100%', (typeof parent == 'undefined') ? get_viewport_size().height - popup.firstChild.offsetHeight : parent.clientHeight - popup.firstChild.offsetHeight, "9.0.115", "/swf/expressInstall.swf", flashvars, flashparams, false, swfobject_callback ); } break; default: { var node = document.createElement('DIV'); node.id = 'popup_content'; switch(typeof content) { case 'object': { if('nodeType' in content) node.appendChild(content); else node.innerHTML = content.toString(); } break; default: { node.innerHTML = content.toString(); } } popup.appendChild(node); } } addHandler(document.body, 'keydown', on_body_keydown); addHandler(window, 'resize', adjust_popup); if(mode == 'video') { if(window.addEventListener) window.addEventListener('DOMMouseScroll', on_body_mousewheel, false); else { document.attachEvent('onmousewheel', on_body_mousewheel); window.attachEvent('onmousewheel', on_body_mousewheel); } } if(popup.parentNode.parentNode.tagName == 'BODY') popup.parentNode.parentNode.style.overflow = 'hidden'; popup.parentNode.style.display = 'block'; adjust_popup(); } function swfobject_callback(result) { if(result.success) { adjust_popup(); uppodPlayers(); } } function video_playback_toggle() { uppodSend(window.flashparams.id, 'toggle'); } function get_popup_active_mode() { var popup_container = document.getElementById('popup_container'); var popup = popup_container.firstChild; if(popup.childNodes.length < 2) return false; var content = popup.lastChild; if(content.tagName == 'IFRAME') return 'frame'; if(content.tagName == 'DIV') { if(content.firstChild.tagName == 'IMG') return 'image'; else return 'frame'; } if(content.tagName == 'OBJECT' && typeof window.flashparams == 'object' && content.id == window.flashparams.id) return 'video'; } function adjust_popup() { var container = document.getElementById('popup_container'); var class_name = container.className; var popup = container.firstChild; var controls = popup.firstChild; var frame = popup.lastChild; //var video_size = get_video_size(); if(container.parentNode.tagName == 'BODY') { var vsize = get_viewport_size(); var vscroll = get_viewport_scroll(); container.style.left = vscroll.x + 'px'; container.style.top = vscroll.y + 'px'; } else { var vsize = { height: container.parentNode.clientHeight, width: container.parentNode.clientWidth }; container.style.left = container.parentNode.offsetLeft + 'px'; container.style.top = container.parentNode.offsetTop + 'px'; } if(class_name && class_name == 'noresize' && frame.childNodes.length) { popup.style.width = frame.firstChild.offsetWidth + 24 + 'px'; popup.style.top = (vsize.height / 2 - (popup.offsetHeight + controls.offsetHeight) / 2) + 'px'; } else { if(container.parentNode.tagName == 'BODY' && vsize.width < 800) popup.style.width = '800px'; else popup.style.width = vsize.width * 0.96 + 'px'; popup.style.height = vsize.height * 0.96 + 'px'; popup.style.top = vsize.height * 0.02 +'px'; frame.style.height = (vsize.height * 0.96 - controls.offsetHeight) + 'px'; } container.style.height = vsize.height + 'px'; container.style.width = vsize.width + 'px'; /*if(get_popup_active_mode() == 'image') { var image = frame.firstChild; var offsetTop = frame.offsetHeight / 2 - image.offsetHeight / 2 - 5; // image.offsetHeight == 0, if(offsetTop < 0) offsetTop = 0; image.style.top = offsetTop + 'px' }*/ setTimeout(function(){window.top.document.getElementById('popup_container').focus();}, 0); } function get_video_size() { var size = uppodGet('player', 'get[comment]'); if(size) { size = size.split('x'); if(size.length > 1) { size = { w: size[0], h: size[1] }; } } return size; } function on_overlay_click(event) { var status = uppodGet(window.flashparams.id, 'getstatus'); if(status == 1) uppodSend(window.flashparams.id, 'pause'); else uppodSend(window.flashparams.id, 'play'); } function on_body_keydown(event) { event = event || window.event; if(get_popup_active_mode() == 'video') { switch(event.keyCode) { case 27: // Esc { close_popup(); } break; case 32: // Space { video_playback_toggle(); } break; case 38: // Up { uppodSend(window.flashparams.id, 'scale+'); } break; case 40: // Down { uppodSend(window.flashparams.id, 'scale-'); } break; case 37: // Left { var position = Math.round(uppodGet(window.flashparams.id, 'getime')); position -= 20; if(position < 0) position = 0; uppodSend(window.flashparams.id, 'seek:' + position.toString()); } break; case 39: // Right { var position = Math.round(uppodGet(window.flashparams.id, 'getime')); var duration = Math.round(uppodGet(window.flashparams.id, 'getimed')); position += 20; if(position > duration) position = duration; uppodSend(window.flashparams.id, 'seek:' + position.toString()); } break; default: { return true; } } if(event.preventDefault) event.preventDefault(); event.returnValue = false; return false; } else if(event.keyCode == 27) close_popup(); } function on_body_mousewheel(event) { event = event || window.event; var delta = 0; if(event.wheelDelta) delta = event.wheelDelta / 120; else if(event.detail) delta = -event.detail / 3; if(delta) { handle_mousewheel(delta); if(event.preventDefault) event.preventDefault(); event.returnValue = false; } } function handle_mousewheel(delta) { var volume = parseInt(uppodGet(window.flashparams.id, 'getv')); if(delta < 0) { volume -= 5; if(volume < 0) volume = 0; } else { volume += 5; if(volume > 100) volume = 100; } uppodSend(window.flashparams.id, 'v' + volume.toString()); } function close_popup() { var popup_container = document.getElementById('popup_container'); popup_container.style.display = 'none'; var mode = get_popup_active_mode(); if(mode == 'video') swfobject.removeSWF(window.flashparams.id); removeHandler(window, 'resize', adjust_popup); removeHandler(document.body, 'keydown', on_body_keydown); var parent = popup_container.parentNode; if(parent.tagName == 'BODY') parent.style.overflow = ''; if(mode == 'video') { if(window.removeEventListener) window.removeEventListener('DOMMouseScroll', on_body_mousewheel, false); else { document.detachEvent('onmousewheel', on_body_mousewheel); window.detachEvent('onmousewheel', on_body_mousewheel); } } return false; }PK e5Ci$dd⠭ ⥪. 㬥 2.1 ७ ꥪ⮢ ⠤ 䠩 ⠢ ⥪ 䨣_files/print.csshtml {overflow:auto !important} #__mainspace__, .mainspace {height:auto !important} .header, .navchain, #navchain-border, .tabsfooter, .footer {display:none !important} @page { size 8.5in 11in; /* A4 */ margin: 1cm; } @media print { /*hr {page-break-after: always; visibility: hidden;}*/ /* Split pages on each
    */ }PK e5Cq<\⠭ ⥪. 㬥 2.1 ७ ꥪ⮢ ⠤ 䠩 ⠢ ⥪ 䨣_files/print.gifGIF89a"v&(Of#'Z$'-*/2B5DDD999[#b uL$, @A! Hq"ĈhܨbB \A 0`͛6}*D#C"A "EtΛ7pѳgQF;PK e5C$jp⠭ ⥪. 㬥 2.1 ७ ꥪ⮢ ⠤ 䠩 ⠢ ⥪ 䨣_files/script.jsfunction copySource(event) { event = event || window.event; var target = event.target || event.srcElement; if(typeof window.clipboardData == 'undefined') { alert(' Internet Explorer'); event.preventDefault(); } else { if(target.nodeType == 3) target = target.parentNode; target.style.color = 'purple'; do { if(target.nextSibling) target = target.nextSibling; } while(target.nodeType != 1); if(typeof target.innerText != 'undefined') window.clipboardData.setData('Text', target.innerText); event.returnValue = false; } return false; }PK e5C ''⠭ ⥪. 㬥 2.1 ७ ꥪ⮢ ⠤ 䠩 ⠢ ⥪ 䨣_files/swfobject.js/* SWFObject v2.2 is released under the MIT License */ var swfobject=function(){var D="undefined",r="object",S="Shockwave Flash",W="ShockwaveFlash.ShockwaveFlash",q="application/x-shockwave-flash",R="SWFObjectExprInst",x="onreadystatechange",O=window,j=document,t=navigator,T=false,U=[h],o=[],N=[],I=[],l,Q,E,B,J=false,a=false,n,G,m=true,M=function(){var aa=typeof j.getElementById!=D&&typeof j.getElementsByTagName!=D&&typeof j.createElement!=D,ah=t.userAgent.toLowerCase(),Y=t.platform.toLowerCase(),ae=Y?/win/.test(Y):/win/.test(ah),ac=Y?/mac/.test(Y):/mac/.test(ah),af=/webkit/.test(ah)?parseFloat(ah.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,X=!+"\v1",ag=[0,0,0],ab=null;if(typeof t.plugins!=D&&typeof t.plugins[S]==r){ab=t.plugins[S].description;if(ab&&!(typeof t.mimeTypes!=D&&t.mimeTypes[q]&&!t.mimeTypes[q].enabledPlugin)){T=true;X=false;ab=ab.replace(/^.*\s+(\S+\s+\S+$)/,"$1");ag[0]=parseInt(ab.replace(/^(.*)\..*$/,"$1"),10);ag[1]=parseInt(ab.replace(/^.*\.(.*)\s.*$/,"$1"),10);ag[2]=/[a-zA-Z]/.test(ab)?parseInt(ab.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0}}else{if(typeof O.ActiveXObject!=D){try{var ad=new ActiveXObject(W);if(ad){ab=ad.GetVariable("$version");if(ab){X=true;ab=ab.split(" ")[1].split(",");ag=[parseInt(ab[0],10),parseInt(ab[1],10),parseInt(ab[2],10)]}}}catch(Z){}}}return{w3:aa,pv:ag,wk:af,ie:X,win:ae,mac:ac}}(),k=function(){if(!M.w3){return}if((typeof j.readyState!=D&&j.readyState=="complete")||(typeof j.readyState==D&&(j.getElementsByTagName("body")[0]||j.body))){f()}if(!J){if(typeof j.addEventListener!=D){j.addEventListener("DOMContentLoaded",f,false)}if(M.ie&&M.win){j.attachEvent(x,function(){if(j.readyState=="complete"){j.detachEvent(x,arguments.callee);f()}});if(O==top){(function(){if(J){return}try{j.documentElement.doScroll("left")}catch(X){setTimeout(arguments.callee,0);return}f()})()}}if(M.wk){(function(){if(J){return}if(!/loaded|complete/.test(j.readyState)){setTimeout(arguments.callee,0);return}f()})()}s(f)}}();function f(){if(J){return}try{var Z=j.getElementsByTagName("body")[0].appendChild(C("span"));Z.parentNode.removeChild(Z)}catch(aa){return}J=true;var X=U.length;for(var Y=0;Y0){for(var af=0;af0){var ae=c(Y);if(ae){if(F(o[af].swfVersion)&&!(M.wk&&M.wk<312)){w(Y,true);if(ab){aa.success=true;aa.ref=z(Y);ab(aa)}}else{if(o[af].expressInstall&&A()){var ai={};ai.data=o[af].expressInstall;ai.width=ae.getAttribute("width")||"0";ai.height=ae.getAttribute("height")||"0";if(ae.getAttribute("class")){ai.styleclass=ae.getAttribute("class")}if(ae.getAttribute("align")){ai.align=ae.getAttribute("align")}var ah={};var X=ae.getElementsByTagName("param");var ac=X.length;for(var ad=0;ad'}}aa.outerHTML='"+af+"";N[N.length]=ai.id;X=c(ai.id)}else{var Z=C(r);Z.setAttribute("type",q);for(var ac in ai){if(ai[ac]!=Object.prototype[ac]){if(ac.toLowerCase()=="styleclass"){Z.setAttribute("class",ai[ac])}else{if(ac.toLowerCase()!="classid"){Z.setAttribute(ac,ai[ac])}}}}for(var ab in ag){if(ag[ab]!=Object.prototype[ab]&&ab.toLowerCase()!="movie"){e(Z,ab,ag[ab])}}aa.parentNode.replaceChild(Z,aa);X=Z}}return X}function e(Z,X,Y){var aa=C("param");aa.setAttribute("name",X);aa.setAttribute("value",Y);Z.appendChild(aa)}function y(Y){var X=c(Y);if(X&&X.nodeName=="OBJECT"){if(M.ie&&M.win){X.style.display="none";(function(){if(X.readyState==4){b(Y)}else{setTimeout(arguments.callee,10)}})()}else{X.parentNode.removeChild(X)}}}function b(Z){var Y=c(Z);if(Y){for(var X in Y){if(typeof Y[X]=="function"){Y[X]=null}}Y.parentNode.removeChild(Y)}}function c(Z){var X=null;try{X=j.getElementById(Z)}catch(Y){}return X}function C(X){return j.createElement(X)}function i(Z,X,Y){Z.attachEvent(X,Y);I[I.length]=[Z,X,Y]}function F(Z){var Y=M.pv,X=Z.split(".");X[0]=parseInt(X[0],10);X[1]=parseInt(X[1],10)||0;X[2]=parseInt(X[2],10)||0;return(Y[0]>X[0]||(Y[0]==X[0]&&Y[1]>X[1])||(Y[0]==X[0]&&Y[1]==X[1]&&Y[2]>=X[2]))?true:false}function v(ac,Y,ad,ab){if(M.ie&&M.mac){return}var aa=j.getElementsByTagName("head")[0];if(!aa){return}var X=(ad&&typeof ad=="string")?ad:"screen";if(ab){n=null;G=null}if(!n||G!=X){var Z=C("style");Z.setAttribute("type","text/css");Z.setAttribute("media",X);n=aa.appendChild(Z);if(M.ie&&M.win&&typeof j.styleSheets!=D&&j.styleSheets.length>0){n=j.styleSheets[j.styleSheets.length-1]}G=X}if(M.ie&&M.win){if(n&&typeof n.addRule==r){n.addRule(ac,Y)}}else{if(n&&typeof j.createTextNode!=D){n.appendChild(j.createTextNode(ac+" {"+Y+"}"))}}}function w(Z,X){if(!m){return}var Y=X?"visible":"hidden";if(J&&c(Z)){c(Z).style.visibility=Y}else{v("#"+Z,"visibility:"+Y)}}function L(Y){var Z=/[\\\"<>\.;]/;var X=Z.exec(Y)!=null;return X&&typeof encodeURIComponent!=D?encodeURIComponent(Y):Y}var d=function(){if(M.ie&&M.win){window.attachEvent("onunload",function(){var ac=I.length;for(var ab=0;ab=534;if(e.tinyMCEPreInit){s.suffix=tinyMCEPreInit.suffix;s.baseURL=tinyMCEPreInit.base;s.query=tinyMCEPreInit.query;return}s.suffix="";f=q.getElementsByTagName("base");for(m=0;m0?b:[f.scope]);if(e===false){break}}a.inDispatch=false;return e}});(function(){var a=tinymce.each;tinymce.create("tinymce.util.URI",{URI:function(e,g){var f=this,i,d,c,h;e=tinymce.trim(e);g=f.settings=g||{};if(/^([\w\-]+):([^\/]{2})/i.test(e)||/^\s*#/.test(e)){f.source=e;return}if(e.indexOf("/")===0&&e.indexOf("//")!==0){e=(g.base_uri?g.base_uri.protocol||"http":"http")+"://mce_host"+e}if(!/^[\w\-]*:?\/\//.test(e)){h=g.base_uri?g.base_uri.path:new tinymce.util.URI(location.href).directory;e=((g.base_uri&&g.base_uri.protocol)||"http")+"://mce_host"+f.toAbsPath(h,e)}e=e.replace(/@@/g,"(mce_at)");e=/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@\/]*):?([^:@\/]*))?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/.exec(e);a(["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"],function(b,j){var k=e[j];if(k){k=k.replace(/\(mce_at\)/g,"@@")}f[b]=k});c=g.base_uri;if(c){if(!f.protocol){f.protocol=c.protocol}if(!f.userInfo){f.userInfo=c.userInfo}if(!f.port&&f.host==="mce_host"){f.port=c.port}if(!f.host||f.host==="mce_host"){f.host=c.host}f.source=""}},setPath:function(c){var b=this;c=/^(.*?)\/?(\w+)?$/.exec(c);b.path=c[0];b.directory=c[1];b.file=c[2];b.source="";b.getURI()},toRelative:function(b){var d=this,f;if(b==="./"){return b}b=new tinymce.util.URI(b,{base_uri:d});if((b.host!="mce_host"&&d.host!=b.host&&b.host)||d.port!=b.port||d.protocol!=b.protocol){return b.getURI()}var c=d.getURI(),e=b.getURI();if(c==e||(c.charAt(c.length-1)=="/"&&c.substr(0,c.length-1)==e)){return c}f=d.toRelPath(d.path,b.path);if(b.query){f+="?"+b.query}if(b.anchor){f+="#"+b.anchor}return f},toAbsolute:function(b,c){b=new tinymce.util.URI(b,{base_uri:this});return b.getURI(this.host==b.host&&this.protocol==b.protocol?c:0)},toRelPath:function(g,h){var c,f=0,d="",e,b;g=g.substring(0,g.lastIndexOf("/"));g=g.split("/");c=h.split("/");if(g.length>=c.length){for(e=0,b=g.length;e=c.length||g[e]!=c[e]){f=e+1;break}}}if(g.length=g.length||g[e]!=c[e]){f=e+1;break}}}if(f===1){return h}for(e=0,b=g.length-(f-1);e=0;c--){if(f[c].length===0||f[c]==="."){continue}if(f[c]===".."){b++;continue}if(b>0){b--;continue}h.push(f[c])}c=e.length-b;if(c<=0){g=h.reverse().join("/")}else{g=e.slice(0,c).join("/")+"/"+h.reverse().join("/")}if(g.indexOf("/")!==0){g="/"+g}if(d&&g.lastIndexOf("/")!==g.length-1){g+=d}return g},getURI:function(d){var c,b=this;if(!b.source||d){c="";if(!d){if(b.protocol){c+=b.protocol+"://"}if(b.userInfo){c+=b.userInfo+"@"}if(b.host){c+=b.host}if(b.port){c+=":"+b.port}}if(b.path){c+=b.path}if(b.query){c+="?"+b.query}if(b.anchor){c+="#"+b.anchor}b.source=c}return b.source}})})();(function(){var a=tinymce.each;tinymce.create("static tinymce.util.Cookie",{getHash:function(d){var b=this.get(d),c;if(b){a(b.split("&"),function(e){e=e.split("=");c=c||{};c[unescape(e[0])]=unescape(e[1])})}return c},setHash:function(j,b,g,f,i,c){var h="";a(b,function(e,d){h+=(!h?"":"&")+escape(d)+"="+escape(e)});this.set(j,h,g,f,i,c)},get:function(i){var h=document.cookie,g,f=i+"=",d;if(!h){return}d=h.indexOf("; "+f);if(d==-1){d=h.indexOf(f);if(d!==0){return null}}else{d+=2}g=h.indexOf(";",d);if(g==-1){g=h.length}return unescape(h.substring(d+f.length,g))},set:function(i,b,g,f,h,c){document.cookie=i+"="+escape(b)+((g)?"; expires="+g.toGMTString():"")+((f)?"; path="+escape(f):"")+((h)?"; domain="+h:"")+((c)?"; secure":"")},remove:function(c,e,d){var b=new Date();b.setTime(b.getTime()-1000);this.set(c,"",b,e,d)}})})();(function(){function serialize(o,quote){var i,v,t,name;quote=quote||'"';if(o==null){return"null"}t=typeof o;if(t=="string"){v="\bb\tt\nn\ff\rr\"\"''\\\\";return quote+o.replace(/([\u0080-\uFFFF\x00-\x1f\"\'\\])/g,function(a,b){if(quote==='"'&&a==="'"){return a}i=v.indexOf(b);if(i+1){return"\\"+v.charAt(i+1)}a=b.charCodeAt().toString(16);return"\\u"+"0000".substring(a.length)+a})+quote}if(t=="object"){if(o.hasOwnProperty&&Object.prototype.toString.call(o)==="[object Array]"){for(i=0,v="[";i0?",":"")+serialize(o[i],quote)}return v+"]"}v="{";for(name in o){if(o.hasOwnProperty(name)){v+=typeof o[name]!="function"?(v.length>1?","+quote:quote)+name+quote+":"+serialize(o[name],quote):""}}return v+"}"}return""+o}tinymce.util.JSON={serialize:serialize,parse:function(s){try{return eval("("+s+")")}catch(ex){}}}})();tinymce.create("static tinymce.util.XHR",{send:function(g){var a,e,b=window,h=0;function f(){if(!g.async||a.readyState==4||h++>10000){if(g.success&&h<10000&&a.status==200){g.success.call(g.success_scope,""+a.responseText,a,g)}else{if(g.error){g.error.call(g.error_scope,h>10000?"TIMED_OUT":"GENERAL",a,g)}}a=null}else{b.setTimeout(f,10)}}g.scope=g.scope||this;g.success_scope=g.success_scope||g.scope;g.error_scope=g.error_scope||g.scope;g.async=g.async===false?false:true;g.data=g.data||"";function d(i){a=0;try{a=new ActiveXObject(i)}catch(c){}return a}a=b.XMLHttpRequest?new XMLHttpRequest():d("Microsoft.XMLHTTP")||d("Msxml2.XMLHTTP");if(a){if(a.overrideMimeType){a.overrideMimeType(g.content_type)}a.open(g.type||(g.data?"POST":"GET"),g.url,g.async);if(g.content_type){a.setRequestHeader("Content-Type",g.content_type)}a.setRequestHeader("X-Requested-With","XMLHttpRequest");a.send(g.data);if(!g.async){return f()}e=b.setTimeout(f,10)}}});(function(){var c=tinymce.extend,b=tinymce.util.JSON,a=tinymce.util.XHR;tinymce.create("tinymce.util.JSONRequest",{JSONRequest:function(d){this.settings=c({},d);this.count=0},send:function(f){var e=f.error,d=f.success;f=c(this.settings,f);f.success=function(h,g){h=b.parse(h);if(typeof(h)=="undefined"){h={error:"JSON Parse error."}}if(h.error){e.call(f.error_scope||f.scope,h.error,g)}else{d.call(f.success_scope||f.scope,h.result)}};f.error=function(h,g){if(e){e.call(f.error_scope||f.scope,h,g)}};f.data=b.serialize({id:f.id||"c"+(this.count++),method:f.method,params:f.params});f.content_type="application/json";a.send(f)},"static":{sendRPC:function(d){return new tinymce.util.JSONRequest().send(d)}}})}());(function(a){a.VK={BACKSPACE:8,DELETE:46,DOWN:40,ENTER:13,LEFT:37,RIGHT:39,SPACEBAR:32,TAB:9,UP:38,modifierPressed:function(b){return b.shiftKey||b.ctrlKey||b.altKey},metaKeyPressed:function(b){return a.isMac?b.metaKey:b.ctrlKey&&!b.altKey}}})(tinymce);tinymce.util.Quirks=function(e){var n=tinymce.VK,x=n.BACKSPACE,y=n.DELETE,q=e.dom,I=e.selection,v=e.settings,c=e.parser,u=e.serializer;function d(M,L){try{e.getDoc().execCommand(M,false,L)}catch(K){}}function C(){var K=e.getDoc().documentMode;return K?K:6}function H(K){return K.isDefaultPrevented()}function k(){function K(N){var L,P,M,O;L=I.getRng();P=q.getParent(L.startContainer,q.isBlock);if(N){P=q.getNext(P,q.isBlock)}if(P){M=P.firstChild;while(M&&M.nodeType==3&&M.nodeValue.length===0){M=M.nextSibling}if(M&&M.nodeName==="SPAN"){O=M.cloneNode(false)}}e.getDoc().execCommand(N?"ForwardDelete":"Delete",false,null);P=q.getParent(L.startContainer,q.isBlock);tinymce.each(q.select("span.Apple-style-span,font.Apple-style-span",P),function(Q){var R=I.getBookmark();if(O){q.replace(O.cloneNode(false),Q,true)}else{q.remove(Q,true)}I.moveToBookmark(R)})}e.onKeyDown.add(function(L,N){var M;M=N.keyCode==y;if(!H(N)&&(M||N.keyCode==x)&&!n.modifierPressed(N)){N.preventDefault();K(M)}});e.addCommand("Delete",function(){K()})}function J(){function K(N){var M=q.create("body");var O=N.cloneContents();M.appendChild(O);return I.serializer.serialize(M,{format:"html"})}function L(M){var O=K(M);var P=q.createRng();P.selectNode(e.getBody());var N=K(P);return O===N}e.onKeyDown.add(function(N,P){var O=P.keyCode,M;if(!H(P)&&(O==y||O==x)){M=N.selection.isCollapsed();if(M&&!q.isEmpty(N.getBody())){return}if(tinymce.isIE&&!M){return}if(!M&&!L(N.selection.getRng())){return}N.setContent("");N.selection.setCursorLocation(N.getBody(),0);N.nodeChanged()}})}function A(){e.onKeyDown.add(function(K,L){if(!H(L)&&L.keyCode==65&&n.metaKeyPressed(L)){L.preventDefault();K.execCommand("SelectAll")}})}function B(){if(!e.settings.content_editable){q.bind(e.getDoc(),"focusin",function(K){I.setRng(I.getRng())});q.bind(e.getDoc(),"mousedown",function(K){if(K.target==e.getDoc().documentElement){e.getWin().focus();I.setRng(I.getRng())}})}}function o(){e.onKeyDown.add(function(K,N){if(!H(N)&&N.keyCode===x){if(I.isCollapsed()&&I.getRng(true).startOffset===0){var M=I.getNode();var L=M.previousSibling;if(L&&L.nodeName&&L.nodeName.toLowerCase()==="hr"){q.remove(L);tinymce.dom.Event.cancel(N)}}}})}function b(){if(!Range.prototype.getClientRects){e.onMouseDown.add(function(L,M){if(!H(M)&&M.target.nodeName==="HTML"){var K=L.getBody();K.blur();setTimeout(function(){K.focus()},0)}})}}function F(){e.onClick.add(function(K,L){L=L.target;if(/^(IMG|HR)$/.test(L.nodeName)){I.getSel().setBaseAndExtent(L,0,L,1)}if(L.nodeName=="A"&&q.hasClass(L,"mceItemAnchor")){I.select(L)}K.nodeChanged()})}function E(){function L(){var N=q.getAttribs(I.getStart().cloneNode(false));return function(){var O=I.getStart();if(O!==e.getBody()){q.setAttrib(O,"style",null);tinymce.each(N,function(P){O.setAttributeNode(P.cloneNode(true))})}}}function K(){return !I.isCollapsed()&&q.getParent(I.getStart(),q.isBlock)!=q.getParent(I.getEnd(),q.isBlock)}function M(N,O){O.preventDefault();return false}e.onKeyPress.add(function(N,P){var O;if(!H(P)&&(P.keyCode==8||P.keyCode==46)&&K()){O=L();N.getDoc().execCommand("delete",false,null);O();P.preventDefault();return false}});q.bind(e.getDoc(),"cut",function(O){var N;if(!H(O)&&K()){N=L();e.onKeyUp.addToTop(M);setTimeout(function(){N();e.onKeyUp.remove(M)},0)}})}function l(){var L,K;q.bind(e.getDoc(),"selectionchange",function(){if(K){clearTimeout(K);K=0}K=window.setTimeout(function(){var M=I.getRng();if(!L||!tinymce.dom.RangeUtils.compareRanges(M,L)){e.nodeChanged();L=M}},50)})}function G(){document.body.setAttribute("role","application")}function D(){e.onKeyDown.add(function(K,M){if(!H(M)&&M.keyCode===x){if(I.isCollapsed()&&I.getRng(true).startOffset===0){var L=I.getNode().previousSibling;if(L&&L.nodeName&&L.nodeName.toLowerCase()==="table"){return tinymce.dom.Event.cancel(M)}}}})}function i(){if(C()>7){return}d("RespectVisibilityInDesign",true);e.contentStyles.push(".mceHideBrInPre pre br {display: none}");q.addClass(e.getBody(),"mceHideBrInPre");c.addNodeFilter("pre",function(K,M){var N=K.length,P,L,Q,O;while(N--){P=K[N].getAll("br");L=P.length;while(L--){Q=P[L];O=Q.prev;if(O&&O.type===3&&O.value.charAt(O.value-1)!="\n"){O.value+="\n"}else{Q.parent.insert(new tinymce.html.Node("#text",3),Q,true).value="\n"}}}});u.addNodeFilter("pre",function(K,M){var N=K.length,P,L,Q,O;while(N--){P=K[N].getAll("br");L=P.length;while(L--){Q=P[L];O=Q.prev;if(O&&O.type==3){O.value=O.value.replace(/\r?\n$/,"")}}}})}function g(){q.bind(e.getBody(),"mouseup",function(M){var L,K=I.getNode();if(K.nodeName=="IMG"){if(L=q.getStyle(K,"width")){q.setAttrib(K,"width",L.replace(/[^0-9%]+/g,""));q.setStyle(K,"width","")}if(L=q.getStyle(K,"height")){q.setAttrib(K,"height",L.replace(/[^0-9%]+/g,""));q.setStyle(K,"height","")}}})}function s(){e.onKeyDown.add(function(Q,R){var P,K,L,N,O,S,M;P=R.keyCode==y;if(!H(R)&&(P||R.keyCode==x)&&!n.modifierPressed(R)){K=I.getRng();L=K.startContainer;N=K.startOffset;M=K.collapsed;if(L.nodeType==3&&L.nodeValue.length>0&&((N===0&&!M)||(M&&N===(P?0:1)))){nonEmptyElements=Q.schema.getNonEmptyElements();R.preventDefault();O=q.create("br",{id:"__tmp"});L.parentNode.insertBefore(O,L);Q.getDoc().execCommand(P?"ForwardDelete":"Delete",false,null);L=I.getRng().startContainer;S=L.previousSibling;if(S&&S.nodeType==1&&!q.isBlock(S)&&q.isEmpty(S)&&!nonEmptyElements[S.nodeName.toLowerCase()]){q.remove(S)}q.remove("__tmp")}}})}function f(){e.onKeyDown.add(function(O,P){var M,L,Q,K,N;if(H(P)||P.keyCode!=n.BACKSPACE){return}M=I.getRng();L=M.startContainer;Q=M.startOffset;K=q.getRoot();N=L;if(!M.collapsed||Q!==0){return}while(N&&N.parentNode&&N.parentNode.firstChild==N&&N.parentNode!=K){N=N.parentNode}if(N.tagName==="BLOCKQUOTE"){O.formatter.toggle("blockquote",null,N);M=q.createRng();M.setStart(L,0);M.setEnd(L,0);I.setRng(M)}})}function m(){function K(){e._refreshContentEditable();d("StyleWithCSS",false);d("enableInlineTableEditing",false);if(!v.object_resizing){d("enableObjectResizing",false)}}if(!v.readonly){e.onBeforeExecCommand.add(K);e.onMouseDown.add(K)}}function p(){function K(L,M){tinymce.each(q.select("a"),function(P){var N=P.parentNode,O=q.getRoot();if(N.lastChild===P){while(N&&!q.isBlock(N)){if(N.parentNode.lastChild!==N||N===O){return}N=N.parentNode}q.add(N,"br",{"data-mce-bogus":1})}})}e.onExecCommand.add(function(L,M){if(M==="CreateLink"){K(L)}});e.onSetContent.add(I.onSetContent.add(K))}function z(){if(v.forced_root_block){e.onInit.add(function(){d("DefaultParagraphSeparator",v.forced_root_block)})}}function a(){function K(M,L){if(!M||!L.initial){e.execCommand("mceRepaint")}}e.onUndo.add(K);e.onRedo.add(K);e.onSetContent.add(K)}function r(){e.onKeyDown.add(function(L,M){var K;if(!H(M)&&M.keyCode==x){K=L.getDoc().selection.createRange();if(K&&K.item){M.preventDefault();L.undoManager.beforeChange();q.remove(K.item(0));L.undoManager.add()}}})}function j(){var K;if(C()>=10){K="";tinymce.each("p div h1 h2 h3 h4 h5 h6".split(" "),function(L,M){K+=(M>0?",":"")+L+":empty"});e.contentStyles.push(K+"{padding-right: 1px !important}")}}function h(){var M,L,ac,K,X,aa,Y,ab,N,O,Z,V,U,W=document,S=e.getDoc();if(!v.object_resizing||v.webkit_fake_resize===false){return}d("enableObjectResizing",false);Z={n:[0.5,0,0,-1],e:[1,0.5,1,0],s:[0.5,1,0,1],w:[0,0.5,-1,0],nw:[0,0,-1,-1],ne:[1,0,1,-1],se:[1,1,1,1],sw:[0,1,-1,1]};function Q(ag){var af,ae;af=ag.screenX-aa;ae=ag.screenY-Y;V=af*X[2]+ab;U=ae*X[3]+N;V=V<5?5:V;U=U<5?5:U;if(n.modifierPressed(ag)||(ac.nodeName=="IMG"&&X[2]*X[3]!==0)){V=Math.round(U/O);U=Math.round(V*O)}q.setStyles(K,{width:V,height:U});if(X[2]<0&&K.clientWidth<=V){q.setStyle(K,"left",M+(ab-V))}if(X[3]<0&&K.clientHeight<=U){q.setStyle(K,"top",L+(N-U))}}function ad(){function ae(af,ag){if(ag){if(ac.style[af]||!e.schema.isValid(ac.nodeName.toLowerCase(),af)){q.setStyle(ac,af,ag)}else{q.setAttrib(ac,af,ag)}}}ae("width",V);ae("height",U);q.unbind(S,"mousemove",Q);q.unbind(S,"mouseup",ad);if(W!=S){q.unbind(W,"mousemove",Q);q.unbind(W,"mouseup",ad)}q.remove(K);P(ac)}function P(ah){var af,ag,ae;R();af=q.getPos(ah);M=af.x;L=af.y;ag=ah.offsetWidth;ae=ah.offsetHeight;if(ac!=ah){ac=ah;V=U=0}tinymce.each(Z,function(ak,ai){var aj;aj=q.get("mceResizeHandle"+ai);if(!aj){aj=q.add(S.documentElement,"div",{id:"mceResizeHandle"+ai,"class":"mceResizeHandle",style:"cursor:"+ai+"-resize; margin:0; padding:0"});q.bind(aj,"mousedown",function(al){al.preventDefault();ad();aa=al.screenX;Y=al.screenY;ab=ac.clientWidth;N=ac.clientHeight;O=N/ab;X=ak;K=ac.cloneNode(true);q.addClass(K,"mceClonedResizable");q.setStyles(K,{left:M,top:L,margin:0});S.documentElement.appendChild(K);q.bind(S,"mousemove",Q);q.bind(S,"mouseup",ad);if(W!=S){q.bind(W,"mousemove",Q);q.bind(W,"mouseup",ad)}})}else{q.show(aj)}q.setStyles(aj,{left:(ag*ak[0]+M)-(aj.offsetWidth/2),top:(ae*ak[1]+L)-(aj.offsetHeight/2)})});if(!tinymce.isOpera&&ac.nodeName=="IMG"){ac.setAttribute("data-mce-selected","1")}}function R(){if(ac){ac.removeAttribute("data-mce-selected")}for(var ae in Z){q.hide("mceResizeHandle"+ae)}}e.contentStyles.push(".mceResizeHandle {position: absolute;border: 1px solid black;background: #FFF;width: 5px;height: 5px;z-index: 10000}.mceResizeHandle:hover {background: #000}img[data-mce-selected] {outline: 1px solid black}img.mceClonedResizable, table.mceClonedResizable {position: absolute;outline: 1px dashed black;opacity: .5;z-index: 10000}");function T(){var ae=q.getParent(I.getNode(),"table,img");tinymce.each(q.select("img[data-mce-selected]"),function(af){af.removeAttribute("data-mce-selected")});if(ae){P(ae)}else{R()}}e.onNodeChange.add(T);q.bind(S,"selectionchange",T);e.serializer.addAttributeFilter("data-mce-selected",function(ae,af){var ag=ae.length;while(ag--){ae[ag].attr(af,null)}})}function t(){if(C()<9){c.addNodeFilter("noscript",function(K){var L=K.length,M,N;while(L--){M=K[L];N=M.firstChild;if(N){M.attr("data-mce-innertext",N.value)}}});u.addNodeFilter("noscript",function(K){var L=K.length,M,O,N;while(L--){M=K[L];O=K[L].firstChild;if(O){O.value=tinymce.html.Entities.decode(O.value)}else{N=M.attributes.map["data-mce-innertext"];if(N){M.attr("data-mce-innertext",null);O=new tinymce.html.Node("#text",3);O.value=N;O.raw=true;M.append(O)}}}})}}D();f();J();if(tinymce.isWebKit){s();k();B();F();z();if(tinymce.isIDevice){l()}else{h();A()}}if(tinymce.isIE){o();G();i();g();r();j();t()}if(tinymce.isGecko){o();b();E();m();p();a()}if(tinymce.isOpera){h()}};(function(j){var a,g,d,k=/[&<>\"\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,b=/[<>&\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,f=/[<>&\"\']/g,c=/&(#x|#)?([\w]+);/g,i={128:"\u20AC",130:"\u201A",131:"\u0192",132:"\u201E",133:"\u2026",134:"\u2020",135:"\u2021",136:"\u02C6",137:"\u2030",138:"\u0160",139:"\u2039",140:"\u0152",142:"\u017D",145:"\u2018",146:"\u2019",147:"\u201C",148:"\u201D",149:"\u2022",150:"\u2013",151:"\u2014",152:"\u02DC",153:"\u2122",154:"\u0161",155:"\u203A",156:"\u0153",158:"\u017E",159:"\u0178"};g={'"':""","'":"'","<":"<",">":">","&":"&"};d={"<":"<",">":">","&":"&",""":'"',"'":"'"};function h(l){var m;m=document.createElement("div");m.innerHTML=l;return m.textContent||m.innerText||l}function e(m,p){var n,o,l,q={};if(m){m=m.split(",");p=p||10;for(n=0;n1){return"&#"+(((n.charCodeAt(0)-55296)*1024)+(n.charCodeAt(1)-56320)+65536)+";"}return g[n]||"&#"+n.charCodeAt(0)+";"})},encodeNamed:function(n,l,m){m=m||a;return n.replace(l?k:b,function(o){return g[o]||m[o]||o})},getEncodeFunc:function(l,o){var p=j.html.Entities;o=e(o)||a;function m(r,q){return r.replace(q?k:b,function(s){return g[s]||o[s]||"&#"+s.charCodeAt(0)+";"||s})}function n(r,q){return p.encodeNamed(r,q,o)}l=j.makeMap(l.replace(/\+/g,","));if(l.named&&l.numeric){return m}if(l.named){if(o){return n}return p.encodeNamed}if(l.numeric){return p.encodeNumeric}return p.encodeRaw},decode:function(l){return l.replace(c,function(n,m,o){if(m){o=parseInt(o,m.length===2?16:10);if(o>65535){o-=65536;return String.fromCharCode(55296+(o>>10),56320+(o&1023))}else{return i[o]||String.fromCharCode(o)}}return d[n]||a[n]||h(n)})}}})(tinymce);tinymce.html.Styles=function(d,f){var k=/rgb\s*\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\s*\)/gi,h=/(?:url(?:(?:\(\s*\"([^\"]+)\"\s*\))|(?:\(\s*\'([^\']+)\'\s*\))|(?:\(\s*([^)\s]+)\s*\))))|(?:\'([^\']+)\')|(?:\"([^\"]+)\")/gi,b=/\s*([^:]+):\s*([^;]+);?/g,l=/\s+$/,m=/rgb/,e,g,a={},j;d=d||{};j="\\\" \\' \\; \\: ; : \uFEFF".split(" ");for(g=0;g1?r:"0"+r}return"#"+o(q)+o(p)+o(i)}return{toHex:function(i){return i.replace(k,c)},parse:function(s){var z={},q,n,x,r,v=d.url_converter,y=d.url_converter_scope||this;function p(D,G){var F,C,B,E;F=z[D+"-top"+G];if(!F){return}C=z[D+"-right"+G];if(F!=C){return}B=z[D+"-bottom"+G];if(C!=B){return}E=z[D+"-left"+G];if(B!=E){return}z[D+G]=E;delete z[D+"-top"+G];delete z[D+"-right"+G];delete z[D+"-bottom"+G];delete z[D+"-left"+G]}function u(C){var D=z[C],B;if(!D||D.indexOf(" ")<0){return}D=D.split(" ");B=D.length;while(B--){if(D[B]!==D[0]){return false}}z[C]=D[0];return true}function A(D,C,B,E){if(!u(C)){return}if(!u(B)){return}if(!u(E)){return}z[D]=z[C]+" "+z[B]+" "+z[E];delete z[C];delete z[B];delete z[E]}function t(B){r=true;return a[B]}function i(C,B){if(r){C=C.replace(/\uFEFF[0-9]/g,function(D){return a[D]})}if(!B){C=C.replace(/\\([\'\";:])/g,"$1")}return C}function o(C,B,F,E,G,D){G=G||D;if(G){G=i(G);return"'"+G.replace(/\'/g,"\\'")+"'"}B=i(B||F||E);if(v){B=v.call(y,B,"style")}return"url('"+B.replace(/\'/g,"\\'")+"')"}if(s){s=s.replace(/\\[\"\';:\uFEFF]/g,t).replace(/\"[^\"]+\"|\'[^\']+\'/g,function(B){return B.replace(/[;:]/g,t)});while(q=b.exec(s)){n=q[1].replace(l,"").toLowerCase();x=q[2].replace(l,"");if(n&&x.length>0){if(n==="font-weight"&&x==="700"){x="bold"}else{if(n==="color"||n==="background-color"){x=x.toLowerCase()}}x=x.replace(k,c);x=x.replace(h,o);z[n]=r?i(x,true):x}b.lastIndex=q.index+q[0].length}p("border","");p("border","-width");p("border","-color");p("border","-style");p("padding","");p("margin","");A("border","border-width","border-style","border-color");if(z.border==="medium none"){delete z.border}}return z},serialize:function(p,r){var o="",n,q;function i(t){var x,u,s,v;x=f.styles[t];if(x){for(u=0,s=x.length;u0){o+=(o.length>0?" ":"")+t+": "+v+";"}}}}if(r&&f&&f.styles){i("*");i(r)}else{for(n in p){q=p[n];if(q!==e&&q.length>0){o+=(o.length>0?" ":"")+n+": "+q+";"}}}return o}}};(function(f){var a={},e=f.makeMap,g=f.each;function d(j,i){return j.split(i||",")}function h(m,l){var j,k={};function i(n){return n.replace(/[A-Z]+/g,function(o){return i(m[o])})}for(j in m){if(m.hasOwnProperty(j)){m[j]=i(m[j])}}i(l).replace(/#/g,"#text").replace(/(\w+)\[([^\]]+)\]\[([^\]]*)\]/g,function(q,o,n,p){n=d(n,"|");k[o]={attributes:e(n),attributesOrder:n,children:e(p,"|",{"#comment":{}})}});return k}function b(){var i=a.html5;if(!i){i=a.html5=h({A:"id|accesskey|class|dir|draggable|item|hidden|itemprop|role|spellcheck|style|subject|title|onclick|ondblclick|onmousedown|onmouseup|onmouseover|onmousemove|onmouseout|onkeypress|onkeydown|onkeyup",B:"#|a|abbr|area|audio|b|bdo|br|button|canvas|cite|code|command|datalist|del|dfn|em|embed|i|iframe|img|input|ins|kbd|keygen|label|link|map|mark|meta|meter|noscript|object|output|progress|q|ruby|samp|script|select|small|span|strong|sub|sup|svg|textarea|time|var|video|wbr",C:"#|a|abbr|area|address|article|aside|audio|b|bdo|blockquote|br|button|canvas|cite|code|command|datalist|del|details|dfn|dialog|div|dl|em|embed|fieldset|figure|footer|form|h1|h2|h3|h4|h5|h6|header|hgroup|hr|i|iframe|img|input|ins|kbd|keygen|label|link|map|mark|menu|meta|meter|nav|noscript|ol|object|output|p|pre|progress|q|ruby|samp|script|section|select|small|span|strong|style|sub|sup|svg|table|textarea|time|ul|var|video"},"html[A|manifest][body|head]head[A][base|command|link|meta|noscript|script|style|title]title[A][#]base[A|href|target][]link[A|href|rel|media|type|sizes][]meta[A|http-equiv|name|content|charset][]style[A|type|media|scoped][#]script[A|charset|type|src|defer|async][#]noscript[A][C]body[A][C]section[A][C]nav[A][C]article[A][C]aside[A][C]h1[A][B]h2[A][B]h3[A][B]h4[A][B]h5[A][B]h6[A][B]hgroup[A][h1|h2|h3|h4|h5|h6]header[A][C]footer[A][C]address[A][C]p[A][B]br[A][]pre[A][B]dialog[A][dd|dt]blockquote[A|cite][C]ol[A|start|reversed][li]ul[A][li]li[A|value][C]dl[A][dd|dt]dt[A][B]dd[A][C]a[A|href|target|ping|rel|media|type][B]em[A][B]strong[A][B]small[A][B]cite[A][B]q[A|cite][B]dfn[A][B]abbr[A][B]code[A][B]var[A][B]samp[A][B]kbd[A][B]sub[A][B]sup[A][B]i[A][B]b[A][B]mark[A][B]progress[A|value|max][B]meter[A|value|min|max|low|high|optimum][B]time[A|datetime][B]ruby[A][B|rt|rp]rt[A][B]rp[A][B]bdo[A][B]span[A][B]ins[A|cite|datetime][B]del[A|cite|datetime][B]figure[A][C|legend|figcaption]figcaption[A][C]img[A|alt|src|height|width|usemap|ismap][]iframe[A|name|src|height|width|sandbox|seamless][]embed[A|src|height|width|type][]object[A|data|type|height|width|usemap|name|form|classid][param]param[A|name|value][]details[A|open][C|legend]command[A|type|label|icon|disabled|checked|radiogroup][]menu[A|type|label][C|li]legend[A][C|B]div[A][C]source[A|src|type|media][]audio[A|src|autobuffer|autoplay|loop|controls][source]video[A|src|autobuffer|autoplay|loop|controls|width|height|poster][source]hr[A][]form[A|accept-charset|action|autocomplete|enctype|method|name|novalidate|target][C]fieldset[A|disabled|form|name][C|legend]label[A|form|for][B]input[A|type|accept|alt|autocomplete|autofocus|checked|disabled|form|formaction|formenctype|formmethod|formnovalidate|formtarget|height|list|max|maxlength|min|multiple|pattern|placeholder|readonly|required|size|src|step|width|files|value|name][]button[A|autofocus|disabled|form|formaction|formenctype|formmethod|formnovalidate|formtarget|name|value|type][B]select[A|autofocus|disabled|form|multiple|name|size][option|optgroup]datalist[A][B|option]optgroup[A|disabled|label][option]option[A|disabled|selected|label|value][]textarea[A|autofocus|disabled|form|maxlength|name|placeholder|readonly|required|rows|cols|wrap][]keygen[A|autofocus|challenge|disabled|form|keytype|name][]output[A|for|form|name][B]canvas[A|width|height][]map[A|name][B|C]area[A|shape|coords|href|alt|target|media|rel|ping|type][]mathml[A][]svg[A][]table[A|border][caption|colgroup|thead|tfoot|tbody|tr]caption[A][C]colgroup[A|span][col]col[A|span][]thead[A][tr]tfoot[A][tr]tbody[A][tr]tr[A][th|td]th[A|headers|rowspan|colspan|scope][B]td[A|headers|rowspan|colspan][C]wbr[A][]")}return i}function c(){var i=a.html4;if(!i){i=a.html4=h({Z:"H|K|N|O|P",Y:"X|form|R|Q",ZG:"E|span|width|align|char|charoff|valign",X:"p|T|div|U|W|isindex|fieldset|table",ZF:"E|align|char|charoff|valign",W:"pre|hr|blockquote|address|center|noframes",ZE:"abbr|axis|headers|scope|rowspan|colspan|align|char|charoff|valign|nowrap|bgcolor|width|height",ZD:"[E][S]",U:"ul|ol|dl|menu|dir",ZC:"p|Y|div|U|W|table|br|span|bdo|object|applet|img|map|K|N|Q",T:"h1|h2|h3|h4|h5|h6",ZB:"X|S|Q",S:"R|P",ZA:"a|G|J|M|O|P",R:"a|H|K|N|O",Q:"noscript|P",P:"ins|del|script",O:"input|select|textarea|label|button",N:"M|L",M:"em|strong|dfn|code|q|samp|kbd|var|cite|abbr|acronym",L:"sub|sup",K:"J|I",J:"tt|i|b|u|s|strike",I:"big|small|font|basefont",H:"G|F",G:"br|span|bdo",F:"object|applet|img|map|iframe",E:"A|B|C",D:"accesskey|tabindex|onfocus|onblur",C:"onclick|ondblclick|onmousedown|onmouseup|onmouseover|onmousemove|onmouseout|onkeypress|onkeydown|onkeyup",B:"lang|xml:lang|dir",A:"id|class|style|title"},"script[id|charset|type|language|src|defer|xml:space][]style[B|id|type|media|title|xml:space][]object[E|declare|classid|codebase|data|type|codetype|archive|standby|width|height|usemap|name|tabindex|align|border|hspace|vspace][#|param|Y]param[id|name|value|valuetype|type][]p[E|align][#|S]a[E|D|charset|type|name|href|hreflang|rel|rev|shape|coords|target][#|Z]br[A|clear][]span[E][#|S]bdo[A|C|B][#|S]applet[A|codebase|archive|code|object|alt|name|width|height|align|hspace|vspace][#|param|Y]h1[E|align][#|S]img[E|src|alt|name|longdesc|width|height|usemap|ismap|align|border|hspace|vspace][]map[B|C|A|name][X|form|Q|area]h2[E|align][#|S]iframe[A|longdesc|name|src|frameborder|marginwidth|marginheight|scrolling|align|width|height][#|Y]h3[E|align][#|S]tt[E][#|S]i[E][#|S]b[E][#|S]u[E][#|S]s[E][#|S]strike[E][#|S]big[E][#|S]small[E][#|S]font[A|B|size|color|face][#|S]basefont[id|size|color|face][]em[E][#|S]strong[E][#|S]dfn[E][#|S]code[E][#|S]q[E|cite][#|S]samp[E][#|S]kbd[E][#|S]var[E][#|S]cite[E][#|S]abbr[E][#|S]acronym[E][#|S]sub[E][#|S]sup[E][#|S]input[E|D|type|name|value|checked|disabled|readonly|size|maxlength|src|alt|usemap|onselect|onchange|accept|align][]select[E|name|size|multiple|disabled|tabindex|onfocus|onblur|onchange][optgroup|option]optgroup[E|disabled|label][option]option[E|selected|disabled|label|value][]textarea[E|D|name|rows|cols|disabled|readonly|onselect|onchange][]label[E|for|accesskey|onfocus|onblur][#|S]button[E|D|name|value|type|disabled][#|p|T|div|U|W|table|G|object|applet|img|map|K|N|Q]h4[E|align][#|S]ins[E|cite|datetime][#|Y]h5[E|align][#|S]del[E|cite|datetime][#|Y]h6[E|align][#|S]div[E|align][#|Y]ul[E|type|compact][li]li[E|type|value][#|Y]ol[E|type|compact|start][li]dl[E|compact][dt|dd]dt[E][#|S]dd[E][#|Y]menu[E|compact][li]dir[E|compact][li]pre[E|width|xml:space][#|ZA]hr[E|align|noshade|size|width][]blockquote[E|cite][#|Y]address[E][#|S|p]center[E][#|Y]noframes[E][#|Y]isindex[A|B|prompt][]fieldset[E][#|legend|Y]legend[E|accesskey|align][#|S]table[E|summary|width|border|frame|rules|cellspacing|cellpadding|align|bgcolor][caption|col|colgroup|thead|tfoot|tbody|tr]caption[E|align][#|S]col[ZG][]colgroup[ZG][col]thead[ZF][tr]tr[ZF|bgcolor][th|td]th[E|ZE][#|Y]form[E|action|method|name|enctype|onsubmit|onreset|accept|accept-charset|target][#|X|R|Q]noscript[E][#|Y]td[E|ZE][#|Y]tfoot[ZF][tr]tbody[ZF][tr]area[E|D|shape|coords|href|nohref|alt|target][]base[id|href|target][]body[E|onload|onunload|background|bgcolor|text|link|vlink|alink][#|Y]")}return i}f.html.Schema=function(A){var u=this,s={},k={},j=[],D,y;var o,q,z,r,v,n,p={};function m(F,E,H){var G=A[F];if(!G){G=a[F];if(!G){G=e(E," ",e(E.toUpperCase()," "));G=f.extend(G,H);a[F]=G}}else{G=e(G,",",e(G.toUpperCase()," "))}return G}A=A||{};y=A.schema=="html5"?b():c();if(A.verify_html===false){A.valid_elements="*[*]"}if(A.valid_styles){D={};g(A.valid_styles,function(F,E){D[E]=f.explode(F)})}o=m("whitespace_elements","pre script noscript style textarea");q=m("self_closing_elements","colgroup dd dt li option p td tfoot th thead tr");z=m("short_ended_elements","area base basefont br col frame hr img input isindex link meta param embed source wbr");r=m("boolean_attributes","checked compact declare defer disabled ismap multiple nohref noresize noshade nowrap readonly selected autoplay loop controls");n=m("non_empty_elements","td th iframe video audio object",z);textBlockElementsMap=m("text_block_elements","h1 h2 h3 h4 h5 h6 p div address pre form blockquote center dir fieldset header footer article section hgroup aside nav figure");v=m("block_elements","hr table tbody thead tfoot th tr td li ol ul caption dl dt dd noscript menu isindex samp option datalist select optgroup",textBlockElementsMap);function i(E){return new RegExp("^"+E.replace(/([?+*])/g,".$1")+"$")}function C(L){var K,G,Z,V,aa,F,I,U,X,Q,Y,ac,O,J,W,E,S,H,ab,ad,P,T,N=/^([#+\-])?([^\[\/]+)(?:\/([^\[]+))?(?:\[([^\]]+)\])?$/,R=/^([!\-])?(\w+::\w+|[^=:<]+)?(?:([=:<])(.*))?$/,M=/[*?+]/;if(L){L=d(L);if(s["@"]){S=s["@"].attributes;H=s["@"].attributesOrder}for(K=0,G=L.length;K=0){for(U=A.length-1;U>=V;U--){T=A[U];if(T.valid){n.end(T.name)}}A.length=V}}function p(U,T,Y,X,W){var Z,V;T=T.toLowerCase();Y=T in H?T:j(Y||X||W||"");if(v&&!z&&T.indexOf("data-mce-")!==0){Z=P[T];if(!Z&&F){V=F.length;while(V--){Z=F[V];if(Z.pattern.test(T)){break}}if(V===-1){Z=null}}if(!Z){return}if(Z.validValues&&!(Y in Z.validValues)){return}}N.map[T]=Y;N.push({name:T,value:Y})}l=new RegExp("<(?:(?:!--([\\w\\W]*?)-->)|(?:!\\[CDATA\\[([\\w\\W]*?)\\]\\]>)|(?:!DOCTYPE([\\w\\W]*?)>)|(?:\\?([^\\s\\/<>]+) ?([\\w\\W]*?)[?/]>)|(?:\\/([^>]+)>)|(?:([A-Za-z0-9\\-\\:\\.]+)((?:\\s+[^\"'>]+(?:(?:\"[^\"]*\")|(?:'[^']*')|[^>]*))*|\\/|\\s+)>))","g");D=/([\w:\-]+)(?:\s*=\s*(?:(?:\"((?:[^\"])*)\")|(?:\'((?:[^\'])*)\')|([^>\s]+)))?/g;K={script:/<\/script[^>]*>/gi,style:/<\/style[^>]*>/gi,noscript:/<\/noscript[^>]*>/gi};M=e.getShortEndedElements();J=c.self_closing_elements||e.getSelfClosingElements();H=e.getBoolAttrs();v=c.validate;s=c.remove_internals;y=c.fix_self_closing;q=a.isIE;o=/^:/;while(g=l.exec(E)){if(G0&&A[A.length-1].name===I){u(I)}if(!v||(m=e.getElementRule(I))){k=true;if(v){P=m.attributes;F=m.attributePatterns}if(R=g[8]){z=R.indexOf("data-mce-type")!==-1;if(z&&s){k=false}N=[];N.map={};R.replace(D,p)}else{N=[];N.map={}}if(v&&!z){S=m.attributesRequired;L=m.attributesDefault;f=m.attributesForced;if(f){Q=f.length;while(Q--){t=f[Q];r=t.name;h=t.value;if(h==="{$uid}"){h="mce_"+x++}N.map[r]=h;N.push({name:r,value:h})}}if(L){Q=L.length;while(Q--){t=L[Q];r=t.name;if(!(r in N.map)){h=t.value;if(h==="{$uid}"){h="mce_"+x++}N.map[r]=h;N.push({name:r,value:h})}}}if(S){Q=S.length;while(Q--){if(S[Q] in N.map){break}}if(Q===-1){k=false}}if(N.map["data-mce-bogus"]){k=false}}if(k){n.start(I,N,O)}}else{k=false}if(B=K[I]){B.lastIndex=G=g.index+g[0].length;if(g=B.exec(E)){if(k){C=E.substr(G,g.index-G)}G=g.index+g[0].length}else{C=E.substr(G);G=E.length}if(k&&C.length>0){n.text(C,true)}if(k){n.end(I)}l.lastIndex=G;continue}if(!O){if(!R||R.indexOf("/")!=R.length-1){A.push({name:I,valid:k})}else{if(k){n.end(I)}}}}else{if(I=g[1]){n.comment(I)}else{if(I=g[2]){n.cdata(I)}else{if(I=g[3]){n.doctype(I)}else{if(I=g[4]){n.pi(I,g[5])}}}}}}G=g.index+g[0].length}if(G=0;Q--){I=A[Q];if(I.valid){n.end(I.name)}}}}})(tinymce);(function(d){var c=/^[ \t\r\n]*$/,e={"#text":3,"#comment":8,"#cdata":4,"#pi":7,"#doctype":10,"#document-fragment":11};function a(k,l,j){var i,h,f=j?"lastChild":"firstChild",g=j?"prev":"next";if(k[f]){return k[f]}if(k!==l){i=k[g];if(i){return i}for(h=k.parent;h&&h!==l;h=h.parent){i=h[g];if(i){return i}}}}function b(f,g){this.name=f;this.type=g;if(g===1){this.attributes=[];this.attributes.map={}}}d.extend(b.prototype,{replace:function(g){var f=this;if(g.parent){g.remove()}f.insert(g,f);f.remove();return f},attr:function(h,l){var f=this,g,j,k;if(typeof h!=="string"){for(j in h){f.attr(j,h[j])}return f}if(g=f.attributes){if(l!==k){if(l===null){if(h in g.map){delete g.map[h];j=g.length;while(j--){if(g[j].name===h){g=g.splice(j,1);return f}}}return f}if(h in g.map){j=g.length;while(j--){if(g[j].name===h){g[j].value=l;break}}}else{g.push({name:h,value:l})}g.map[h]=l;return f}else{return g.map[h]}}},clone:function(){var g=this,n=new b(g.name,g.type),h,f,m,j,k;if(m=g.attributes){k=[];k.map={};for(h=0,f=m.length;h1){x.reverse();A=o=f.filterNode(x[0].clone());for(u=0;u0){Q.value=l;Q=Q.prev}else{O=Q.prev;Q.remove();Q=O}}}function H(O){var P,l={};for(P in O){if(P!=="li"&&P!="p"){l[P]=O[P]}}return l}n=new b.html.SaxParser({validate:z,self_closing_elements:H(h.getSelfClosingElements()),cdata:function(l){B.append(K("#cdata",4)).value=l},text:function(P,l){var O;if(!L){P=P.replace(k," ");if(B.lastChild&&o[B.lastChild.name]){P=P.replace(E,"")}}if(P.length!==0){O=K("#text",3);O.raw=!!l;B.append(O).value=P}},comment:function(l){B.append(K("#comment",8)).value=l},pi:function(l,O){B.append(K(l,7)).value=O;I(B)},doctype:function(O){var l;l=B.append(K("#doctype",10));l.value=O;I(B)},start:function(l,W,P){var U,R,Q,O,S,X,V,T;Q=z?h.getElementRule(l):{};if(Q){U=K(Q.outputName||l,1);U.attributes=W;U.shortEnded=P;B.append(U);T=p[B.name];if(T&&p[U.name]&&!T[U.name]){M.push(U)}R=d.length;while(R--){S=d[R].name;if(S in W.map){F=c[S];if(F){F.push(U)}else{c[S]=[U]}}}if(o[l]){I(U)}if(!P){B=U}if(!L&&s[l]){L=true}}},end:function(l){var S,P,R,O,Q;P=z?h.getElementRule(l):{};if(P){if(o[l]){if(!L){S=B.firstChild;if(S&&S.type===3){R=S.value.replace(E,"");if(R.length>0){S.value=R;S=S.next}else{O=S.next;S.remove();S=O}while(S&&S.type===3){R=S.value;O=S.next;if(R.length===0||y.test(R)){S.remove();S=O}S=O}}S=B.lastChild;if(S&&S.type===3){R=S.value.replace(t,"");if(R.length>0){S.value=R;S=S.prev}else{O=S.prev;S.remove();S=O}while(S&&S.type===3){R=S.value;O=S.prev;if(R.length===0||y.test(R)){S.remove();S=O}S=O}}}}if(L&&s[l]){L=false}if(P.removeEmpty||P.paddEmpty){if(B.isEmpty(u)){if(P.paddEmpty){B.empty().append(new a("#text","3")).value="\u00a0"}else{if(!B.attributes.map.name&&!B.attributes.map.id){Q=B.parent;B.empty().remove();B=Q;return}}}}B=B.parent}}},h);J=B=new a(m.context||g.root_name,11);n.parse(v);if(z&&M.length){if(!m.context){j(M)}else{m.invalid=true}}if(q&&J.name=="body"){G()}if(!m.invalid){for(N in i){F=e[N];A=i[N];x=A.length;while(x--){if(!A[x].parent){A.splice(x,1)}}for(D=0,C=F.length;D0){o=c[c.length-1];if(o.length>0&&o!=="\n"){c.push("\n")}}c.push("<",m);if(k){for(n=0,j=k.length;n0){o=c[c.length-1];if(o.length>0&&o!=="\n"){c.push("\n")}}},end:function(h){var i;c.push("");if(a&&d[h]&&c.length>0){i=c[c.length-1];if(i.length>0&&i!=="\n"){c.push("\n")}}},text:function(i,h){if(i.length>0){c[c.length]=h?i:f(i)}},cdata:function(h){c.push("")},comment:function(h){c.push("")},pi:function(h,i){if(i){c.push("")}else{c.push("")}if(a){c.push("\n")}},doctype:function(h){c.push("",a?"\n":"")},reset:function(){c.length=0},getContent:function(){return c.join("").replace(/\n$/,"")}}};(function(a){a.html.Serializer=function(c,d){var b=this,e=new a.html.Writer(c);c=c||{};c.validate="validate" in c?c.validate:true;b.schema=d=d||new a.html.Schema();b.writer=e;b.serialize=function(h){var g,i;i=c.validate;g={3:function(k,j){e.text(k.value,k.raw)},8:function(j){e.comment(j.value)},7:function(j){e.pi(j.name,j.value)},10:function(j){e.doctype(j.value)},4:function(j){e.cdata(j.value)},11:function(j){if((j=j.firstChild)){do{f(j)}while(j=j.next)}}};e.reset();function f(k){var t=g[k.type],j,o,s,r,p,u,n,m,q;if(!t){j=k.name;o=k.shortEnded;s=k.attributes;if(i&&s&&s.length>1){u=[];u.map={};q=d.getElementRule(k.name);for(n=0,m=q.attributesOrder.length;n=8;k.boxModel=!e.isIE||o.compatMode=="CSS1Compat"||k.stdMode;k.hasOuterHTML="outerHTML" in o.createElement("a");k.settings=l=e.extend({keep_values:false,hex_colors:1},l);k.schema=l.schema;k.styles=new e.html.Styles({url_converter:l.url_converter,url_converter_scope:l.url_converter_scope},l.schema);if(e.isIE6){try{o.execCommand("BackgroundImageCache",false,true)}catch(m){k.cssFlicker=true}}k.fixDoc(o);k.events=l.ownEvents?new e.dom.EventUtils(l.proxy):e.dom.Event;e.addUnload(k.destroy,k);n=l.schema?l.schema.getBlockElements():{};k.isBlock=function(q){var p=q.nodeType;if(p){return !!(p===1&&n[q.nodeName])}return !!n[q]}},fixDoc:function(k){var j=this.settings,i;if(b&&j.schema){("abbr article aside audio canvas details figcaption figure footer header hgroup mark menu meter nav output progress section summary time video").replace(/\w+/g,function(l){k.createElement(l)});for(i in j.schema.getCustomElements()){k.createElement(i)}}},clone:function(k,i){var j=this,m,l;if(!b||k.nodeType!==1||i){return k.cloneNode(i)}l=j.doc;if(!i){m=l.createElement(k.nodeName);g(j.getAttribs(k),function(n){j.setAttrib(m,n.nodeName,j.getAttrib(k,n.nodeName))});return m}return m.firstChild},getRoot:function(){var i=this,j=i.settings;return(j&&i.get(j.root_element))||i.doc.body},getViewPort:function(j){var k,i;j=!j?this.win:j;k=j.document;i=this.boxModel?k.documentElement:k.body;return{x:j.pageXOffset||i.scrollLeft,y:j.pageYOffset||i.scrollTop,w:j.innerWidth||i.clientWidth,h:j.innerHeight||i.clientHeight}},getRect:function(l){var k,i=this,j;l=i.get(l);k=i.getPos(l);j=i.getSize(l);return{x:k.x,y:k.y,w:j.w,h:j.h}},getSize:function(l){var j=this,i,k;l=j.get(l);i=j.getStyle(l,"width");k=j.getStyle(l,"height");if(i.indexOf("px")===-1){i=0}if(k.indexOf("px")===-1){k=0}return{w:parseInt(i,10)||l.offsetWidth||l.clientWidth,h:parseInt(k,10)||l.offsetHeight||l.clientHeight}},getParent:function(k,j,i){return this.getParents(k,j,i,false)},getParents:function(s,m,k,q){var j=this,i,l=j.settings,p=[];s=j.get(s);q=q===undefined;if(l.strict_root){k=k||j.getRoot()}if(d(m,"string")){i=m;if(m==="*"){m=function(o){return o.nodeType==1}}else{m=function(o){return j.is(o,i)}}}while(s){if(s==k||!s.nodeType||s.nodeType===9){break}if(!m||m(s)){if(q){p.push(s)}else{return s}}s=s.parentNode}return q?p:null},get:function(i){var j;if(i&&this.doc&&typeof(i)=="string"){j=i;i=this.doc.getElementById(i);if(i&&i.id!==j){return this.doc.getElementsByName(j)[1]}}return i},getNext:function(j,i){return this._findSib(j,i,"nextSibling")},getPrev:function(j,i){return this._findSib(j,i,"previousSibling")},select:function(k,j){var i=this;return e.dom.Sizzle(k,i.get(j)||i.get(i.settings.root_element)||i.doc,[])},is:function(l,j){var k;if(l.length===undefined){if(j==="*"){return l.nodeType==1}if(c.test(j)){j=j.toLowerCase().split(/,/);l=l.nodeName.toLowerCase();for(k=j.length-1;k>=0;k--){if(j[k]==l){return true}}return false}}return e.dom.Sizzle.matches(j,l.nodeType?[l]:l).length>0},add:function(l,o,i,k,m){var j=this;return this.run(l,function(r){var q,n;q=d(o,"string")?j.doc.createElement(o):o;j.setAttribs(q,i);if(k){if(k.nodeType){q.appendChild(k)}else{j.setHTML(q,k)}}return !m?r.appendChild(q):q})},create:function(k,i,j){return this.add(this.doc.createElement(k),k,i,j,1)},createHTML:function(q,i,m){var p="",l=this,j;p+="<"+q;for(j in i){if(i.hasOwnProperty(j)){p+=" "+j+'="'+l.encode(i[j])+'"'}}if(typeof(m)!="undefined"){return p+">"+m+""}return p+" />"},remove:function(i,j){return this.run(i,function(l){var m,k=l.parentNode;if(!k){return null}if(j){while(m=l.firstChild){if(!e.isIE||m.nodeType!==3||m.nodeValue){k.insertBefore(m,l)}else{l.removeChild(m)}}}return k.removeChild(l)})},setStyle:function(l,i,j){var k=this;return k.run(l,function(o){var n,m;n=o.style;i=i.replace(/-(\D)/g,function(q,p){return p.toUpperCase()});if(k.pixelStyles.test(i)&&(e.is(j,"number")||/^[\-0-9\.]+$/.test(j))){j+="px"}switch(i){case"opacity":if(b){n.filter=j===""?"":"alpha(opacity="+(j*100)+")";if(!l.currentStyle||!l.currentStyle.hasLayout){n.display="inline-block"}}n[i]=n["-moz-opacity"]=n["-khtml-opacity"]=j||"";break;case"float":b?n.styleFloat=j:n.cssFloat=j;break;default:n[i]=j||""}if(k.settings.update_styles){k.setAttrib(o,"data-mce-style")}})},getStyle:function(l,i,k){l=this.get(l);if(!l){return}if(this.doc.defaultView&&k){i=i.replace(/[A-Z]/g,function(m){return"-"+m});try{return this.doc.defaultView.getComputedStyle(l,null).getPropertyValue(i)}catch(j){return null}}i=i.replace(/-(\D)/g,function(n,m){return m.toUpperCase()});if(i=="float"){i=b?"styleFloat":"cssFloat"}if(l.currentStyle&&k){return l.currentStyle[i]}return l.style?l.style[i]:undefined},setStyles:function(l,m){var j=this,k=j.settings,i;i=k.update_styles;k.update_styles=0;g(m,function(o,p){j.setStyle(l,p,o)});k.update_styles=i;if(k.update_styles){j.setAttrib(l,k.cssText)}},removeAllAttribs:function(i){return this.run(i,function(l){var k,j=l.attributes;for(k=j.length-1;k>=0;k--){l.removeAttributeNode(j.item(k))}})},setAttrib:function(k,l,i){var j=this;if(!k||!l){return}if(j.settings.strict){l=l.toLowerCase()}return this.run(k,function(p){var o=j.settings;var m=p.getAttribute(l);if(i!==null){switch(l){case"style":if(!d(i,"string")){g(i,function(q,r){j.setStyle(p,r,q)});return}if(o.keep_values){if(i&&!j._isRes(i)){p.setAttribute("data-mce-style",i,2)}else{p.removeAttribute("data-mce-style",2)}}p.style.cssText=i;break;case"class":p.className=i||"";break;case"src":case"href":if(o.keep_values){if(o.url_converter){i=o.url_converter.call(o.url_converter_scope||j,i,l,p)}j.setAttrib(p,"data-mce-"+l,i,2)}break;case"shape":p.setAttribute("data-mce-style",i);break}}if(d(i)&&i!==null&&i.length!==0){p.setAttribute(l,""+i,2)}else{p.removeAttribute(l,2)}if(tinyMCE.activeEditor&&m!=i){var n=tinyMCE.activeEditor;n.onSetAttrib.dispatch(n,p,l,i)}})},setAttribs:function(j,k){var i=this;return this.run(j,function(l){g(k,function(m,o){i.setAttrib(l,o,m)})})},getAttrib:function(m,o,k){var i,j=this,l;m=j.get(m);if(!m||m.nodeType!==1){return k===l?false:k}if(!d(k)){k=""}if(/^(src|href|style|coords|shape)$/.test(o)){i=m.getAttribute("data-mce-"+o);if(i){return i}}if(b&&j.props[o]){i=m[j.props[o]];i=i&&i.nodeValue?i.nodeValue:i}if(!i){i=m.getAttribute(o,2)}if(/^(checked|compact|declare|defer|disabled|ismap|multiple|nohref|noshade|nowrap|readonly|selected)$/.test(o)){if(m[j.props[o]]===true&&i===""){return o}return i?o:""}if(m.nodeName==="FORM"&&m.getAttributeNode(o)){return m.getAttributeNode(o).nodeValue}if(o==="style"){i=i||m.style.cssText;if(i){i=j.serializeStyle(j.parseStyle(i),m.nodeName);if(j.settings.keep_values&&!j._isRes(i)){m.setAttribute("data-mce-style",i)}}}if(f&&o==="class"&&i){i=i.replace(/(apple|webkit)\-[a-z\-]+/gi,"")}if(b){switch(o){case"rowspan":case"colspan":if(i===1){i=""}break;case"size":if(i==="+0"||i===20||i===0){i=""}break;case"width":case"height":case"vspace":case"checked":case"disabled":case"readonly":if(i===0){i=""}break;case"hspace":if(i===-1){i=""}break;case"maxlength":case"tabindex":if(i===32768||i===2147483647||i==="32768"){i=""}break;case"multiple":case"compact":case"noshade":case"nowrap":if(i===65535){return o}return k;case"shape":i=i.toLowerCase();break;default:if(o.indexOf("on")===0&&i){i=e._replace(/^function\s+\w+\(\)\s+\{\s+(.*)\s+\}$/,"$1",""+i)}}}return(i!==l&&i!==null&&i!=="")?""+i:k},getPos:function(q,l){var j=this,i=0,p=0,m,o=j.doc,k;q=j.get(q);l=l||o.body;if(q){if(q.getBoundingClientRect){q=q.getBoundingClientRect();m=j.boxModel?o.documentElement:o.body;i=q.left+(o.documentElement.scrollLeft||o.body.scrollLeft)-m.clientTop;p=q.top+(o.documentElement.scrollTop||o.body.scrollTop)-m.clientLeft;return{x:i,y:p}}k=q;while(k&&k!=l&&k.nodeType){i+=k.offsetLeft||0;p+=k.offsetTop||0;k=k.offsetParent}k=q.parentNode;while(k&&k!=l&&k.nodeType){i-=k.scrollLeft||0;p-=k.scrollTop||0;k=k.parentNode}}return{x:i,y:p}},parseStyle:function(i){return this.styles.parse(i)},serializeStyle:function(j,i){return this.styles.serialize(j,i)},addStyle:function(j){var k=this.doc,i;styleElm=k.getElementById("mceDefaultStyles");if(!styleElm){styleElm=k.createElement("style"),styleElm.id="mceDefaultStyles";styleElm.type="text/css";i=k.getElementsByTagName("head")[0];if(i.firstChild){i.insertBefore(styleElm,i.firstChild)}else{i.appendChild(styleElm)}}if(styleElm.styleSheet){styleElm.styleSheet.cssText+=j}else{styleElm.appendChild(k.createTextNode(j))}},loadCSS:function(i){var k=this,l=k.doc,j;if(!i){i=""}j=l.getElementsByTagName("head")[0];g(i.split(","),function(m){var n;if(k.files[m]){return}k.files[m]=true;n=k.create("link",{rel:"stylesheet",href:e._addVer(m)});if(b&&l.documentMode&&l.recalc){n.onload=function(){if(l.recalc){l.recalc()}n.onload=null}}j.appendChild(n)})},addClass:function(i,j){return this.run(i,function(k){var l;if(!j){return 0}if(this.hasClass(k,j)){return k.className}l=this.removeClass(k,j);return k.className=(l!=""?(l+" "):"")+j})},removeClass:function(k,l){var i=this,j;return i.run(k,function(n){var m;if(i.hasClass(n,l)){if(!j){j=new RegExp("(^|\\s+)"+l+"(\\s+|$)","g")}m=n.className.replace(j," ");m=e.trim(m!=" "?m:"");n.className=m;if(!m){n.removeAttribute("class");n.removeAttribute("className")}return m}return n.className})},hasClass:function(j,i){j=this.get(j);if(!j||!i){return false}return(" "+j.className+" ").indexOf(" "+i+" ")!==-1},show:function(i){return this.setStyle(i,"display","block")},hide:function(i){return this.setStyle(i,"display","none")},isHidden:function(i){i=this.get(i);return !i||i.style.display=="none"||this.getStyle(i,"display")=="none"},uniqueId:function(i){return(!i?"mce_":i)+(this.counter++)},setHTML:function(k,j){var i=this;return i.run(k,function(m){if(b){while(m.firstChild){m.removeChild(m.firstChild)}try{m.innerHTML="
    "+j;m.removeChild(m.firstChild)}catch(l){var n=i.create("div");n.innerHTML="
    "+j;g(e.grep(n.childNodes),function(p,o){if(o&&m.canHaveHTML){m.appendChild(p)}})}}else{m.innerHTML=j}return j})},getOuterHTML:function(k){var j,i=this;k=i.get(k);if(!k){return null}if(k.nodeType===1&&i.hasOuterHTML){return k.outerHTML}j=(k.ownerDocument||i.doc).createElement("body");j.appendChild(k.cloneNode(true));return j.innerHTML},setOuterHTML:function(l,j,m){var i=this;function k(p,o,r){var s,q;q=r.createElement("body");q.innerHTML=o;s=q.lastChild;while(s){i.insertAfter(s.cloneNode(true),p);s=s.previousSibling}i.remove(p)}return this.run(l,function(o){o=i.get(o);if(o.nodeType==1){m=m||o.ownerDocument||i.doc;if(b){try{if(b&&o.nodeType==1){o.outerHTML=j}else{k(o,j,m)}}catch(n){k(o,j,m)}}else{k(o,j,m)}}})},decode:h.decode,encode:h.encodeAllRaw,insertAfter:function(i,j){j=this.get(j);return this.run(i,function(l){var k,m;k=j.parentNode;m=j.nextSibling;if(m){k.insertBefore(l,m)}else{k.appendChild(l)}return l})},replace:function(m,l,i){var j=this;if(d(l,"array")){m=m.cloneNode(true)}return j.run(l,function(k){if(i){g(e.grep(k.childNodes),function(n){m.appendChild(n)})}return k.parentNode.replaceChild(m,k)})},rename:function(l,i){var k=this,j;if(l.nodeName!=i.toUpperCase()){j=k.create(i);g(k.getAttribs(l),function(m){k.setAttrib(j,m.nodeName,k.getAttrib(l,m.nodeName))});k.replace(j,l,1)}return j||l},findCommonAncestor:function(k,i){var l=k,j;while(l){j=i;while(j&&l!=j){j=j.parentNode}if(l==j){break}l=l.parentNode}if(!l&&k.ownerDocument){return k.ownerDocument.documentElement}return l},toHex:function(i){var k=/^\s*rgb\s*?\(\s*?([0-9]+)\s*?,\s*?([0-9]+)\s*?,\s*?([0-9]+)\s*?\)\s*$/i.exec(i);function j(l){l=parseInt(l,10).toString(16);return l.length>1?l:"0"+l}if(k){i="#"+j(k[1])+j(k[2])+j(k[3]);return i}return i},getClasses:function(){var n=this,j=[],m,o={},p=n.settings.class_filter,l;if(n.classes){return n.classes}function q(i){g(i.imports,function(s){q(s)});g(i.cssRules||i.rules,function(s){switch(s.type||1){case 1:if(s.selectorText){g(s.selectorText.split(","),function(r){r=r.replace(/^\s*|\s*$|^\s\./g,"");if(/\.mce/.test(r)||!/\.[\w\-]+$/.test(r)){return}l=r;r=e._replace(/.*\.([a-z0-9_\-]+).*/i,"$1",r);if(p&&!(r=p(r,l))){return}if(!o[r]){j.push({"class":r});o[r]=1}})}break;case 3:q(s.styleSheet);break}})}try{g(n.doc.styleSheets,q)}catch(k){}if(j.length>0){n.classes=j}return j},run:function(l,k,j){var i=this,m;if(i.doc&&typeof(l)==="string"){l=i.get(l)}if(!l){return false}j=j||this;if(!l.nodeType&&(l.length||l.length===0)){m=[];g(l,function(o,n){if(o){if(typeof(o)=="string"){o=i.doc.getElementById(o)}m.push(k.call(j,o,n))}});return m}return k.call(j,l)},getAttribs:function(j){var i;j=this.get(j);if(!j){return[]}if(b){i=[];if(j.nodeName=="OBJECT"){return j.attributes}if(j.nodeName==="OPTION"&&this.getAttrib(j,"selected")){i.push({specified:1,nodeName:"selected"})}j.cloneNode(false).outerHTML.replace(/<\/?[\w:\-]+ ?|=[\"][^\"]+\"|=\'[^\']+\'|=[\w\-]+|>/gi,"").replace(/[\w:\-]+/gi,function(k){i.push({specified:1,nodeName:k})});return i}return j.attributes},isEmpty:function(m,k){var r=this,o,n,q,j,l,p=0;m=m.firstChild;if(m){j=new e.dom.TreeWalker(m,m.parentNode);k=k||r.schema?r.schema.getNonEmptyElements():null;do{q=m.nodeType;if(q===1){if(m.getAttribute("data-mce-bogus")){continue}l=m.nodeName.toLowerCase();if(k&&k[l]){if(l==="br"){p++;continue}return false}n=r.getAttribs(m);o=m.attributes.length;while(o--){l=m.attributes[o].nodeName;if(l==="name"||l==="data-mce-bookmark"){return false}}}if(q==8){return false}if((q===3&&!a.test(m.nodeValue))){return false}}while(m=j.next())}return p<=1},destroy:function(j){var i=this;i.win=i.doc=i.root=i.events=i.frag=null;if(!j){e.removeUnload(i.destroy)}},createRng:function(){var i=this.doc;return i.createRange?i.createRange():new e.dom.Range(this)},nodeIndex:function(m,n){var i=0,k,l,j;if(m){for(k=m.nodeType,m=m.previousSibling,l=m;m;m=m.previousSibling){j=m.nodeType;if(n&&j==3){if(j==k||!m.nodeValue.length){continue}}i++;k=j}}return i},split:function(m,l,p){var q=this,i=q.createRng(),n,k,o;function j(v){var t,s=v.childNodes,u=v.nodeType;function x(A){var z=A.previousSibling&&A.previousSibling.nodeName=="SPAN";var y=A.nextSibling&&A.nextSibling.nodeName=="SPAN";return z&&y}if(u==1&&v.getAttribute("data-mce-type")=="bookmark"){return}for(t=s.length-1;t>=0;t--){j(s[t])}if(u!=9){if(u==3&&v.nodeValue.length>0){var r=e.trim(v.nodeValue).length;if(!q.isBlock(v.parentNode)||r>0||r===0&&x(v)){return}}else{if(u==1){s=v.childNodes;if(s.length==1&&s[0]&&s[0].nodeType==1&&s[0].getAttribute("data-mce-type")=="bookmark"){v.parentNode.insertBefore(s[0],v)}if(s.length||/^(br|hr|input|img)$/i.test(v.nodeName)){return}}}q.remove(v)}return v}if(m&&l){i.setStart(m.parentNode,q.nodeIndex(m));i.setEnd(l.parentNode,q.nodeIndex(l));n=i.extractContents();i=q.createRng();i.setStart(l.parentNode,q.nodeIndex(l)+1);i.setEnd(m.parentNode,q.nodeIndex(m)+1);k=i.extractContents();o=m.parentNode;o.insertBefore(j(n),m);if(p){o.replaceChild(p,l)}else{o.insertBefore(l,m)}o.insertBefore(j(k),m);q.remove(m);return p||l}},bind:function(l,i,k,j){return this.events.add(l,i,k,j||this)},unbind:function(k,i,j){return this.events.remove(k,i,j)},fire:function(k,j,i){return this.events.fire(k,j,i)},getContentEditable:function(j){var i;if(j.nodeType!=1){return null}i=j.getAttribute("data-mce-contenteditable");if(i&&i!=="inherit"){return i}return j.contentEditable!=="inherit"?j.contentEditable:null},_findSib:function(l,i,j){var k=this,m=i;if(l){if(d(m,"string")){m=function(n){return k.is(n,i)}}for(l=l[j];l;l=l[j]){if(m(l)){return l}}}return null},_isRes:function(i){return/^(top|left|bottom|right|width|height)/i.test(i)||/;\s*(top|left|bottom|right|width|height)/i.test(i)}});e.DOM=new e.dom.DOMUtils(document,{process_html:0})})(tinymce);(function(a){function b(c){var O=this,e=c.doc,U=0,F=1,j=2,E=true,S=false,W="startOffset",h="startContainer",Q="endContainer",A="endOffset",k=tinymce.extend,n=c.nodeIndex;k(O,{startContainer:e,startOffset:0,endContainer:e,endOffset:0,collapsed:E,commonAncestorContainer:e,START_TO_START:0,START_TO_END:1,END_TO_END:2,END_TO_START:3,setStart:q,setEnd:s,setStartBefore:g,setStartAfter:J,setEndBefore:K,setEndAfter:u,collapse:B,selectNode:y,selectNodeContents:G,compareBoundaryPoints:v,deleteContents:p,extractContents:I,cloneContents:d,insertNode:D,surroundContents:N,cloneRange:L,toStringIE:T});function x(){return e.createDocumentFragment()}function q(X,t){C(E,X,t)}function s(X,t){C(S,X,t)}function g(t){q(t.parentNode,n(t))}function J(t){q(t.parentNode,n(t)+1)}function K(t){s(t.parentNode,n(t))}function u(t){s(t.parentNode,n(t)+1)}function B(t){if(t){O[Q]=O[h];O[A]=O[W]}else{O[h]=O[Q];O[W]=O[A]}O.collapsed=E}function y(t){g(t);u(t)}function G(t){q(t,0);s(t,t.nodeType===1?t.childNodes.length:t.nodeValue.length)}function v(aa,t){var ad=O[h],Y=O[W],ac=O[Q],X=O[A],ab=t.startContainer,af=t.startOffset,Z=t.endContainer,ae=t.endOffset;if(aa===0){return H(ad,Y,ab,af)}if(aa===1){return H(ac,X,ab,af)}if(aa===2){return H(ac,X,Z,ae)}if(aa===3){return H(ad,Y,Z,ae)}}function p(){l(j)}function I(){return l(U)}function d(){return l(F)}function D(aa){var X=this[h],t=this[W],Z,Y;if((X.nodeType===3||X.nodeType===4)&&X.nodeValue){if(!t){X.parentNode.insertBefore(aa,X)}else{if(t>=X.nodeValue.length){c.insertAfter(aa,X)}else{Z=X.splitText(t);X.parentNode.insertBefore(aa,Z)}}}else{if(X.childNodes.length>0){Y=X.childNodes[t]}if(Y){X.insertBefore(aa,Y)}else{X.appendChild(aa)}}}function N(X){var t=O.extractContents();O.insertNode(X);X.appendChild(t);O.selectNode(X)}function L(){return k(new b(c),{startContainer:O[h],startOffset:O[W],endContainer:O[Q],endOffset:O[A],collapsed:O.collapsed,commonAncestorContainer:O.commonAncestorContainer})}function P(t,X){var Y;if(t.nodeType==3){return t}if(X<0){return t}Y=t.firstChild;while(Y&&X>0){--X;Y=Y.nextSibling}if(Y){return Y}return t}function m(){return(O[h]==O[Q]&&O[W]==O[A])}function H(Z,ab,X,aa){var ac,Y,t,ad,af,ae;if(Z==X){if(ab==aa){return 0}if(ab0){O.collapse(X)}}else{O.collapse(X)}O.collapsed=m();O.commonAncestorContainer=c.findCommonAncestor(O[h],O[Q])}function l(ad){var ac,Z=0,af=0,X,ab,Y,aa,t,ae;if(O[h]==O[Q]){return f(ad)}for(ac=O[Q],X=ac.parentNode;X;ac=X,X=X.parentNode){if(X==O[h]){return r(ac,ad)}++Z}for(ac=O[h],X=ac.parentNode;X;ac=X,X=X.parentNode){if(X==O[Q]){return V(ac,ad)}++af}ab=af-Z;Y=O[h];while(ab>0){Y=Y.parentNode;ab--}aa=O[Q];while(ab<0){aa=aa.parentNode;ab++}for(t=Y.parentNode,ae=aa.parentNode;t!=ae;t=t.parentNode,ae=ae.parentNode){Y=t;aa=ae}return o(Y,aa,ad)}function f(ac){var ae,af,t,Y,Z,ad,aa,X,ab;if(ac!=j){ae=x()}if(O[W]==O[A]){return ae}if(O[h].nodeType==3){af=O[h].nodeValue;t=af.substring(O[W],O[A]);if(ac!=F){Y=O[h];X=O[W];ab=O[A]-O[W];if(X===0&&ab>=Y.nodeValue.length-1){Y.parentNode.removeChild(Y)}else{Y.deleteData(X,ab)}O.collapse(E)}if(ac==j){return}if(t.length>0){ae.appendChild(e.createTextNode(t))}return ae}Y=P(O[h],O[W]);Z=O[A]-O[W];while(Y&&Z>0){ad=Y.nextSibling;aa=z(Y,ac);if(ae){ae.appendChild(aa)}--Z;Y=ad}if(ac!=F){O.collapse(E)}return ae}function r(ad,aa){var ac,ab,X,t,Z,Y;if(aa!=j){ac=x()}ab=i(ad,aa);if(ac){ac.appendChild(ab)}X=n(ad);t=X-O[W];if(t<=0){if(aa!=F){O.setEndBefore(ad);O.collapse(S)}return ac}ab=ad.previousSibling;while(t>0){Z=ab.previousSibling;Y=z(ab,aa);if(ac){ac.insertBefore(Y,ac.firstChild)}--t;ab=Z}if(aa!=F){O.setEndBefore(ad);O.collapse(S)}return ac}function V(ab,aa){var ad,X,ac,t,Z,Y;if(aa!=j){ad=x()}ac=R(ab,aa);if(ad){ad.appendChild(ac)}X=n(ab);++X;t=O[A]-X;ac=ab.nextSibling;while(ac&&t>0){Z=ac.nextSibling;Y=z(ac,aa);if(ad){ad.appendChild(Y)}--t;ac=Z}if(aa!=F){O.setStartAfter(ab);O.collapse(E)}return ad}function o(ab,t,ae){var Y,ag,aa,ac,ad,X,af,Z;if(ae!=j){ag=x()}Y=R(ab,ae);if(ag){ag.appendChild(Y)}aa=ab.parentNode;ac=n(ab);ad=n(t);++ac;X=ad-ac;af=ab.nextSibling;while(X>0){Z=af.nextSibling;Y=z(af,ae);if(ag){ag.appendChild(Y)}af=Z;--X}Y=i(t,ae);if(ag){ag.appendChild(Y)}if(ae!=F){O.setStartAfter(ab);O.collapse(E)}return ag}function i(ac,ad){var Y=P(O[Q],O[A]-1),ae,ab,aa,t,X,Z=Y!=O[Q];if(Y==ac){return M(Y,Z,S,ad)}ae=Y.parentNode;ab=M(ae,S,S,ad);while(ae){while(Y){aa=Y.previousSibling;t=M(Y,Z,S,ad);if(ad!=j){ab.insertBefore(t,ab.firstChild)}Z=E;Y=aa}if(ae==ac){return ab}Y=ae.previousSibling;ae=ae.parentNode;X=M(ae,S,S,ad);if(ad!=j){X.appendChild(ab)}ab=X}}function R(ac,ad){var Z=P(O[h],O[W]),aa=Z!=O[h],ae,ab,Y,t,X;if(Z==ac){return M(Z,aa,E,ad)}ae=Z.parentNode;ab=M(ae,S,E,ad);while(ae){while(Z){Y=Z.nextSibling;t=M(Z,aa,E,ad);if(ad!=j){ab.appendChild(t)}aa=E;Z=Y}if(ae==ac){return ab}Z=ae.nextSibling;ae=ae.parentNode;X=M(ae,S,E,ad);if(ad!=j){X.appendChild(ab)}ab=X}}function M(t,aa,ad,ae){var Z,Y,ab,X,ac;if(aa){return z(t,ae)}if(t.nodeType==3){Z=t.nodeValue;if(ad){X=O[W];Y=Z.substring(X);ab=Z.substring(0,X)}else{X=O[A];Y=Z.substring(0,X);ab=Z.substring(X)}if(ae!=F){t.nodeValue=ab}if(ae==j){return}ac=c.clone(t,S);ac.nodeValue=Y;return ac}if(ae==j){return}return c.clone(t,S)}function z(X,t){if(t!=j){return t==F?c.clone(X,E):X}X.parentNode.removeChild(X)}function T(){return c.create("body",null,d()).outerText}return O}a.Range=b;b.prototype.toString=function(){return this.toStringIE()}})(tinymce.dom);(function(){function a(d){var b=this,h=d.dom,c=true,f=false;function e(i,j){var k,t=0,q,n,m,l,o,r,p=-1,s;k=i.duplicate();k.collapse(j);s=k.parentElement();if(s.ownerDocument!==d.dom.doc){return}while(s.contentEditable==="false"){s=s.parentNode}if(!s.hasChildNodes()){return{node:s,inside:1}}m=s.children;q=m.length-1;while(t<=q){r=Math.floor((t+q)/2);l=m[r];k.moveToElementText(l);p=k.compareEndPoints(j?"StartToStart":"EndToEnd",i);if(p>0){q=r-1}else{if(p<0){t=r+1}else{return{node:l}}}}if(p<0){if(!l){k.moveToElementText(s);k.collapse(true);l=s;n=true}else{k.collapse(false)}o=0;while(k.compareEndPoints(j?"StartToStart":"StartToEnd",i)!==0){if(k.move("character",1)===0||s!=k.parentElement()){break}o++}}else{k.collapse(true);o=0;while(k.compareEndPoints(j?"StartToStart":"StartToEnd",i)!==0){if(k.move("character",-1)===0||s!=k.parentElement()){break}o++}}return{node:l,position:p,offset:o,inside:n}}function g(){var i=d.getRng(),r=h.createRng(),l,k,p,q,m,j;l=i.item?i.item(0):i.parentElement();if(l.ownerDocument!=h.doc){return r}k=d.isCollapsed();if(i.item){r.setStart(l.parentNode,h.nodeIndex(l));r.setEnd(r.startContainer,r.startOffset+1);return r}function o(A){var u=e(i,A),s,y,z=0,x,v,t;s=u.node;y=u.offset;if(u.inside&&!s.hasChildNodes()){r[A?"setStart":"setEnd"](s,0);return}if(y===v){r[A?"setStartBefore":"setEndAfter"](s);return}if(u.position<0){x=u.inside?s.firstChild:s.nextSibling;if(!x){r[A?"setStartAfter":"setEndAfter"](s);return}if(!y){if(x.nodeType==3){r[A?"setStart":"setEnd"](x,0)}else{r[A?"setStartBefore":"setEndBefore"](x)}return}while(x){t=x.nodeValue;z+=t.length;if(z>=y){s=x;z-=y;z=t.length-z;break}x=x.nextSibling}}else{x=s.previousSibling;if(!x){return r[A?"setStartBefore":"setEndBefore"](s)}if(!y){if(s.nodeType==3){r[A?"setStart":"setEnd"](x,s.nodeValue.length)}else{r[A?"setStartAfter":"setEndAfter"](x)}return}while(x){z+=x.nodeValue.length;if(z>=y){s=x;z-=y;break}x=x.previousSibling}}r[A?"setStart":"setEnd"](s,z)}try{o(true);if(!k){o()}}catch(n){if(n.number==-2147024809){m=b.getBookmark(2);p=i.duplicate();p.collapse(true);l=p.parentElement();if(!k){p=i.duplicate();p.collapse(false);q=p.parentElement();q.innerHTML=q.innerHTML}l.innerHTML=l.innerHTML;b.moveToBookmark(m);i=d.getRng();o(true);if(!k){o()}}else{throw n}}return r}this.getBookmark=function(m){var j=d.getRng(),o,i,l={};function n(u){var t,p,s,r,q=[];t=u.parentNode;p=h.getRoot().parentNode;while(t!=p&&t.nodeType!==9){s=t.children;r=s.length;while(r--){if(u===s[r]){q.push(r);break}}u=t;t=t.parentNode}return q}function k(q){var p;p=e(j,q);if(p){return{position:p.position,offset:p.offset,indexes:n(p.node),inside:p.inside}}}if(m===2){if(!j.item){l.start=k(true);if(!d.isCollapsed()){l.end=k()}}else{l.start={ctrl:true,indexes:n(j.item(0))}}}return l};this.moveToBookmark=function(k){var j,i=h.doc.body;function m(o){var r,q,n,p;r=h.getRoot();for(q=o.length-1;q>=0;q--){p=r.children;n=o[q];if(n<=p.length-1){r=p[n]}}return r}function l(r){var n=k[r?"start":"end"],q,p,o;if(n){q=n.position>0;p=i.createTextRange();p.moveToElementText(m(n.indexes));offset=n.offset;if(offset!==o){p.collapse(n.inside||q);p.moveStart("character",q?-offset:offset)}else{p.collapse(r)}j.setEndPoint(r?"StartToStart":"EndToStart",p);if(r){j.collapse(true)}}}if(k.start){if(k.start.ctrl){j=i.createControlRange();j.addElement(m(k.start.indexes));j.select()}else{j=i.createTextRange();l(true);l();j.select()}}};this.addRange=function(i){var n,l,k,p,v,q,t,s=d.dom.doc,m=s.body,r,u;function j(C){var y,B,x,A,z;x=h.create("a");y=C?k:v;B=C?p:q;A=n.duplicate();if(y==s||y==s.documentElement){y=m;B=0}if(y.nodeType==3){y.parentNode.insertBefore(x,y);A.moveToElementText(x);A.moveStart("character",B);h.remove(x);n.setEndPoint(C?"StartToStart":"EndToEnd",A)}else{z=y.childNodes;if(z.length){if(B>=z.length){h.insertAfter(x,z[z.length-1])}else{y.insertBefore(x,z[B])}A.moveToElementText(x)}else{if(y.canHaveHTML){y.innerHTML="\uFEFF";x=y.firstChild;A.moveToElementText(x);A.collapse(f)}}n.setEndPoint(C?"StartToStart":"EndToEnd",A);h.remove(x)}}k=i.startContainer;p=i.startOffset;v=i.endContainer;q=i.endOffset;n=m.createTextRange();if(k==v&&k.nodeType==1){if(p==q&&!k.hasChildNodes()){if(k.canHaveHTML){t=k.previousSibling;if(t&&!t.hasChildNodes()&&h.isBlock(t)){t.innerHTML="\uFEFF"}else{t=null}k.innerHTML="\uFEFF\uFEFF";n.moveToElementText(k.lastChild);n.select();h.doc.selection.clear();k.innerHTML="";if(t){t.innerHTML=""}return}else{p=h.nodeIndex(k);k=k.parentNode}}if(p==q-1){try{u=k.childNodes[p];l=m.createControlRange();l.addElement(u);l.select();r=d.getRng();if(r.item&&u===r.item(0)){return}}catch(o){}}}j(true);j();n.select()};this.getRangeAt=g}tinymce.dom.TridentSelection=a})();(function(){var n=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,i="sizcache",o=0,r=Object.prototype.toString,h=false,g=true,q=/\\/g,u=/\r\n/g,x=/\W/;[0,0].sort(function(){g=false;return 0});var d=function(C,e,F,G){F=F||[];e=e||document;var I=e;if(e.nodeType!==1&&e.nodeType!==9){return[]}if(!C||typeof C!=="string"){return F}var z,K,N,y,J,M,L,E,B=true,A=d.isXML(e),D=[],H=C;do{n.exec("");z=n.exec(H);if(z){H=z[3];D.push(z[1]);if(z[2]){y=z[3];break}}}while(z);if(D.length>1&&j.exec(C)){if(D.length===2&&k.relative[D[0]]){K=s(D[0]+D[1],e,G)}else{K=k.relative[D[0]]?[e]:d(D.shift(),e);while(D.length){C=D.shift();if(k.relative[C]){C+=D.shift()}K=s(C,K,G)}}}else{if(!G&&D.length>1&&e.nodeType===9&&!A&&k.match.ID.test(D[0])&&!k.match.ID.test(D[D.length-1])){J=d.find(D.shift(),e,A);e=J.expr?d.filter(J.expr,J.set)[0]:J.set[0]}if(e){J=G?{expr:D.pop(),set:l(G)}:d.find(D.pop(),D.length===1&&(D[0]==="~"||D[0]==="+")&&e.parentNode?e.parentNode:e,A);K=J.expr?d.filter(J.expr,J.set):J.set;if(D.length>0){N=l(K)}else{B=false}while(D.length){M=D.pop();L=M;if(!k.relative[M]){M=""}else{L=D.pop()}if(L==null){L=e}k.relative[M](N,L,A)}}else{N=D=[]}}if(!N){N=K}if(!N){d.error(M||C)}if(r.call(N)==="[object Array]"){if(!B){F.push.apply(F,N)}else{if(e&&e.nodeType===1){for(E=0;N[E]!=null;E++){if(N[E]&&(N[E]===true||N[E].nodeType===1&&d.contains(e,N[E]))){F.push(K[E])}}}else{for(E=0;N[E]!=null;E++){if(N[E]&&N[E].nodeType===1){F.push(K[E])}}}}}else{l(N,F)}if(y){d(y,I,F,G);d.uniqueSort(F)}return F};d.uniqueSort=function(y){if(p){h=g;y.sort(p);if(h){for(var e=1;e0};d.find=function(E,e,F){var D,z,B,A,C,y;if(!E){return[]}for(z=0,B=k.order.length;z":function(D,y){var C,B=typeof y==="string",z=0,e=D.length;if(B&&!x.test(y)){y=y.toLowerCase();for(;z=0)){if(!z){e.push(C)}}else{if(z){y[B]=false}}}}return false},ID:function(e){return e[1].replace(q,"")},TAG:function(y,e){return y[1].replace(q,"").toLowerCase()},CHILD:function(e){if(e[1]==="nth"){if(!e[2]){d.error(e[0])}e[2]=e[2].replace(/^\+|\s*/g,"");var y=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(e[2]==="even"&&"2n"||e[2]==="odd"&&"2n+1"||!/\D/.test(e[2])&&"0n+"+e[2]||e[2]);e[2]=(y[1]+(y[2]||1))-0;e[3]=y[3]-0}else{if(e[2]){d.error(e[0])}}e[0]=o++;return e},ATTR:function(B,y,z,e,C,D){var A=B[1]=B[1].replace(q,"");if(!D&&k.attrMap[A]){B[1]=k.attrMap[A]}B[4]=(B[4]||B[5]||"").replace(q,"");if(B[2]==="~="){B[4]=" "+B[4]+" "}return B},PSEUDO:function(B,y,z,e,C){if(B[1]==="not"){if((n.exec(B[3])||"").length>1||/^\w/.test(B[3])){B[3]=d(B[3],null,null,y)}else{var A=d.filter(B[3],y,z,true^C);if(!z){e.push.apply(e,A)}return false}}else{if(k.match.POS.test(B[0])||k.match.CHILD.test(B[0])){return true}}return B},POS:function(e){e.unshift(true);return e}},filters:{enabled:function(e){return e.disabled===false&&e.type!=="hidden"},disabled:function(e){return e.disabled===true},checked:function(e){return e.checked===true},selected:function(e){if(e.parentNode){e.parentNode.selectedIndex}return e.selected===true},parent:function(e){return !!e.firstChild},empty:function(e){return !e.firstChild},has:function(z,y,e){return !!d(e[3],z).length},header:function(e){return(/h\d/i).test(e.nodeName)},text:function(z){var e=z.getAttribute("type"),y=z.type;return z.nodeName.toLowerCase()==="input"&&"text"===y&&(e===y||e===null)},radio:function(e){return e.nodeName.toLowerCase()==="input"&&"radio"===e.type},checkbox:function(e){return e.nodeName.toLowerCase()==="input"&&"checkbox"===e.type},file:function(e){return e.nodeName.toLowerCase()==="input"&&"file"===e.type},password:function(e){return e.nodeName.toLowerCase()==="input"&&"password"===e.type},submit:function(y){var e=y.nodeName.toLowerCase();return(e==="input"||e==="button")&&"submit"===y.type},image:function(e){return e.nodeName.toLowerCase()==="input"&&"image"===e.type},reset:function(y){var e=y.nodeName.toLowerCase();return(e==="input"||e==="button")&&"reset"===y.type},button:function(y){var e=y.nodeName.toLowerCase();return e==="input"&&"button"===y.type||e==="button"},input:function(e){return(/input|select|textarea|button/i).test(e.nodeName)},focus:function(e){return e===e.ownerDocument.activeElement}},setFilters:{first:function(y,e){return e===0},last:function(z,y,e,A){return y===A.length-1},even:function(y,e){return e%2===0},odd:function(y,e){return e%2===1},lt:function(z,y,e){return ye[3]-0},nth:function(z,y,e){return e[3]-0===y},eq:function(z,y,e){return e[3]-0===y}},filter:{PSEUDO:function(z,E,D,F){var e=E[1],y=k.filters[e];if(y){return y(z,D,E,F)}else{if(e==="contains"){return(z.textContent||z.innerText||b([z])||"").indexOf(E[3])>=0}else{if(e==="not"){var A=E[3];for(var C=0,B=A.length;C=0)}}},ID:function(y,e){return y.nodeType===1&&y.getAttribute("id")===e},TAG:function(y,e){return(e==="*"&&y.nodeType===1)||!!y.nodeName&&y.nodeName.toLowerCase()===e},CLASS:function(y,e){return(" "+(y.className||y.getAttribute("class"))+" ").indexOf(e)>-1},ATTR:function(C,A){var z=A[1],e=d.attr?d.attr(C,z):k.attrHandle[z]?k.attrHandle[z](C):C[z]!=null?C[z]:C.getAttribute(z),D=e+"",B=A[2],y=A[4];return e==null?B==="!=":!B&&d.attr?e!=null:B==="="?D===y:B==="*="?D.indexOf(y)>=0:B==="~="?(" "+D+" ").indexOf(y)>=0:!y?D&&e!==false:B==="!="?D!==y:B==="^="?D.indexOf(y)===0:B==="$="?D.substr(D.length-y.length)===y:B==="|="?D===y||D.substr(0,y.length+1)===y+"-":false},POS:function(B,y,z,C){var e=y[2],A=k.setFilters[e];if(A){return A(B,z,y,C)}}}};var j=k.match.POS,c=function(y,e){return"\\"+(e-0+1)};for(var f in k.match){k.match[f]=new RegExp(k.match[f].source+(/(?![^\[]*\])(?![^\(]*\))/.source));k.leftMatch[f]=new RegExp(/(^(?:.|\r|\n)*?)/.source+k.match[f].source.replace(/\\(\d+)/g,c))}k.match.globalPOS=j;var l=function(y,e){y=Array.prototype.slice.call(y,0);if(e){e.push.apply(e,y);return e}return y};try{Array.prototype.slice.call(document.documentElement.childNodes,0)[0].nodeType}catch(v){l=function(B,A){var z=0,y=A||[];if(r.call(B)==="[object Array]"){Array.prototype.push.apply(y,B)}else{if(typeof B.length==="number"){for(var e=B.length;z";e.insertBefore(y,e.firstChild);if(document.getElementById(z)){k.find.ID=function(B,C,D){if(typeof C.getElementById!=="undefined"&&!D){var A=C.getElementById(B[1]);return A?A.id===B[1]||typeof A.getAttributeNode!=="undefined"&&A.getAttributeNode("id").nodeValue===B[1]?[A]:undefined:[]}};k.filter.ID=function(C,A){var B=typeof C.getAttributeNode!=="undefined"&&C.getAttributeNode("id");return C.nodeType===1&&B&&B.nodeValue===A}}e.removeChild(y);e=y=null})();(function(){var e=document.createElement("div");e.appendChild(document.createComment(""));if(e.getElementsByTagName("*").length>0){k.find.TAG=function(y,C){var B=C.getElementsByTagName(y[1]);if(y[1]==="*"){var A=[];for(var z=0;B[z];z++){if(B[z].nodeType===1){A.push(B[z])}}B=A}return B}}e.innerHTML="";if(e.firstChild&&typeof e.firstChild.getAttribute!=="undefined"&&e.firstChild.getAttribute("href")!=="#"){k.attrHandle.href=function(y){return y.getAttribute("href",2)}}e=null})();if(document.querySelectorAll){(function(){var e=d,A=document.createElement("div"),z="__sizzle__";A.innerHTML="

    ";if(A.querySelectorAll&&A.querySelectorAll(".TEST").length===0){return}d=function(L,C,G,K){C=C||document;if(!K&&!d.isXML(C)){var J=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(L);if(J&&(C.nodeType===1||C.nodeType===9)){if(J[1]){return l(C.getElementsByTagName(L),G)}else{if(J[2]&&k.find.CLASS&&C.getElementsByClassName){return l(C.getElementsByClassName(J[2]),G)}}}if(C.nodeType===9){if(L==="body"&&C.body){return l([C.body],G)}else{if(J&&J[3]){var F=C.getElementById(J[3]);if(F&&F.parentNode){if(F.id===J[3]){return l([F],G)}}else{return l([],G)}}}try{return l(C.querySelectorAll(L),G)}catch(H){}}else{if(C.nodeType===1&&C.nodeName.toLowerCase()!=="object"){var D=C,E=C.getAttribute("id"),B=E||z,N=C.parentNode,M=/^\s*[+~]/.test(L);if(!E){C.setAttribute("id",B)}else{B=B.replace(/'/g,"\\$&")}if(M&&N){C=C.parentNode}try{if(!M||N){return l(C.querySelectorAll("[id='"+B+"'] "+L),G)}}catch(I){}finally{if(!E){D.removeAttribute("id")}}}}}return e(L,C,G,K)};for(var y in e){d[y]=e[y]}A=null})()}(function(){var e=document.documentElement,z=e.matchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.msMatchesSelector;if(z){var B=!z.call(document.createElement("div"),"div"),y=false;try{z.call(document.documentElement,"[test!='']:sizzle")}catch(A){y=true}d.matchesSelector=function(D,F){F=F.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!d.isXML(D)){try{if(y||!k.match.PSEUDO.test(F)&&!/!=/.test(F)){var C=z.call(D,F);if(C||!B||D.document&&D.document.nodeType!==11){return C}}}catch(E){}}return d(F,null,null,[D]).length>0}}})();(function(){var e=document.createElement("div");e.innerHTML="
    ";if(!e.getElementsByClassName||e.getElementsByClassName("e").length===0){return}e.lastChild.className="e";if(e.getElementsByClassName("e").length===1){return}k.order.splice(1,0,"CLASS");k.find.CLASS=function(y,z,A){if(typeof z.getElementsByClassName!=="undefined"&&!A){return z.getElementsByClassName(y[1])}};e=null})();function a(y,D,C,G,E,F){for(var A=0,z=G.length;A0){B=e;break}}}e=e[y]}G[A]=B}}}if(document.documentElement.contains){d.contains=function(y,e){return y!==e&&(y.contains?y.contains(e):true)}}else{if(document.documentElement.compareDocumentPosition){d.contains=function(y,e){return !!(y.compareDocumentPosition(e)&16)}}else{d.contains=function(){return false}}}d.isXML=function(e){var y=(e?e.ownerDocument||e:0).documentElement;return y?y.nodeName!=="HTML":false};var s=function(z,e,D){var C,E=[],B="",F=e.nodeType?[e]:e;while((C=k.match.PSEUDO.exec(z))){B+=C[0];z=z.replace(k.match.PSEUDO,"")}z=k.relative[z]?z+"*":z;for(var A=0,y=F.length;A"+(i.item?i.item(0).outerHTML:i.htmlText);m.removeChild(m.firstChild)}else{m.innerHTML=i.toString()}}if(/^\s/.test(m.innerHTML)){j=" "}if(/\s+$/.test(m.innerHTML)){l=" "}h.getInner=true;h.content=g.isCollapsed()?"":j+g.serializer.serialize(m,h)+l;g.onGetContent.dispatch(g,h);return h.content},setContent:function(h,j){var o=this,g=o.getRng(),k,l=o.win.document,n,m;j=j||{format:"html"};j.set=true;h=j.content=h;if(!j.no_events){o.onBeforeSetContent.dispatch(o,j)}h=j.content;if(g.insertNode){h+='_';if(g.startContainer==l&&g.endContainer==l){l.body.innerHTML=h}else{g.deleteContents();if(l.body.childNodes.length===0){l.body.innerHTML=h}else{if(g.createContextualFragment){g.insertNode(g.createContextualFragment(h))}else{n=l.createDocumentFragment();m=l.createElement("div");n.appendChild(m);m.outerHTML=h;g.insertNode(n)}}}k=o.dom.get("__caret");g=l.createRange();g.setStartBefore(k);g.setEndBefore(k);o.setRng(g);o.dom.remove("__caret");try{o.setRng(g)}catch(i){}}else{if(g.item){l.execCommand("Delete",false,null);g=o.getRng()}if(/^\s+/.test(h)){g.pasteHTML('_'+h);o.dom.remove("__mce_tmp")}else{g.pasteHTML(h)}}if(!j.no_events){o.onSetContent.dispatch(o,j)}},getStart:function(){var i=this,h=i.getRng(),j,g,l,k;if(h.duplicate||h.item){if(h.item){return h.item(0)}l=h.duplicate();l.collapse(1);j=l.parentElement();if(j.ownerDocument!==i.dom.doc){j=i.dom.getRoot()}g=k=h.parentElement();while(k=k.parentNode){if(k==j){j=g;break}}return j}else{j=h.startContainer;if(j.nodeType==1&&j.hasChildNodes()){j=j.childNodes[Math.min(j.childNodes.length-1,h.startOffset)]}if(j&&j.nodeType==3){return j.parentNode}return j}},getEnd:function(){var h=this,g=h.getRng(),j,i;if(g.duplicate||g.item){if(g.item){return g.item(0)}g=g.duplicate();g.collapse(0);j=g.parentElement();if(j.ownerDocument!==h.dom.doc){j=h.dom.getRoot()}if(j&&j.nodeName=="BODY"){return j.lastChild||j}return j}else{j=g.endContainer;i=g.endOffset;if(j.nodeType==1&&j.hasChildNodes()){j=j.childNodes[i>0?i-1:i]}if(j&&j.nodeType==3){return j.parentNode}return j}},getBookmark:function(s,v){var y=this,n=y.dom,h,k,j,o,i,p,q,m="\uFEFF",x;function g(z,A){var t=0;e(n.select(z),function(C,B){if(C==A){t=B}});return t}function u(t){function z(E){var A,D,C,B=E?"start":"end";A=t[B+"Container"];D=t[B+"Offset"];if(A.nodeType==1&&A.nodeName=="TR"){C=A.childNodes;A=C[Math.min(E?D:D-1,C.length-1)];if(A){D=E?0:A.childNodes.length;t["set"+(E?"Start":"End")](A,D)}}}z(true);z();return t}function l(){var z=y.getRng(true),t=n.getRoot(),A={};function B(E,J){var D=E[J?"startContainer":"endContainer"],I=E[J?"startOffset":"endOffset"],C=[],F,H,G=0;if(D.nodeType==3){if(v){for(F=D.previousSibling;F&&F.nodeType==3;F=F.previousSibling){I+=F.nodeValue.length}}C.push(I)}else{H=D.childNodes;if(I>=H.length&&H.length){G=1;I=Math.max(0,H.length-1)}C.push(y.dom.nodeIndex(H[I],v)+G)}for(;D&&D!=t;D=D.parentNode){C.push(y.dom.nodeIndex(D,v))}return C}A.start=B(z,true);if(!y.isCollapsed()){A.end=B(z)}return A}if(s==2){if(y.tridentSel){return y.tridentSel.getBookmark(s)}return l()}if(s){return{rng:y.getRng()}}h=y.getRng();j=n.uniqueId();o=tinyMCE.activeEditor.selection.isCollapsed();x="overflow:hidden;line-height:0px";if(h.duplicate||h.item){if(!h.item){k=h.duplicate();try{h.collapse();h.pasteHTML(''+m+"");if(!o){k.collapse(false);h.moveToElementText(k.parentElement());if(h.compareEndPoints("StartToEnd",k)===0){k.move("character",-1)}k.pasteHTML(''+m+"")}}catch(r){return null}}else{p=h.item(0);i=p.nodeName;return{name:i,index:g(i,p)}}}else{p=y.getNode();i=p.nodeName;if(i=="IMG"){return{name:i,index:g(i,p)}}k=u(h.cloneRange());if(!o){k.collapse(false);k.insertNode(n.create("span",{"data-mce-type":"bookmark",id:j+"_end",style:x},m))}h=u(h);h.collapse(true);h.insertNode(n.create("span",{"data-mce-type":"bookmark",id:j+"_start",style:x},m))}y.moveToBookmark({id:j,keep:1});return{id:j}},moveToBookmark:function(o){var s=this,m=s.dom,j,i,g,r,k,u,p,q;function h(A){var t=o[A?"start":"end"],x,y,z,v;if(t){z=t[0];for(y=r,x=t.length-1;x>=1;x--){v=y.childNodes;if(t[x]>v.length-1){return}y=v[t[x]]}if(y.nodeType===3){z=Math.min(t[0],y.nodeValue.length)}if(y.nodeType===1){z=Math.min(t[0],y.childNodes.length)}if(A){g.setStart(y,z)}else{g.setEnd(y,z)}}return true}function l(B){var v=m.get(o.id+"_"+B),A,t,y,z,x=o.keep;if(v){A=v.parentNode;if(B=="start"){if(!x){t=m.nodeIndex(v)}else{A=v.firstChild;t=1}k=u=A;p=q=t}else{if(!x){t=m.nodeIndex(v)}else{A=v.firstChild;t=1}u=A;q=t}if(!x){z=v.previousSibling;y=v.nextSibling;e(d.grep(v.childNodes),function(C){if(C.nodeType==3){C.nodeValue=C.nodeValue.replace(/\uFEFF/g,"")}});while(v=m.get(o.id+"_"+B)){m.remove(v,1)}if(z&&y&&z.nodeType==y.nodeType&&z.nodeType==3&&!d.isOpera){t=z.nodeValue.length;z.appendData(y.nodeValue);m.remove(y);if(B=="start"){k=u=z;p=q=t}else{u=z;q=t}}}}}function n(t){if(m.isBlock(t)&&!t.innerHTML&&!b){t.innerHTML='
    '}return t}if(o){if(o.start){g=m.createRng();r=m.getRoot();if(s.tridentSel){return s.tridentSel.moveToBookmark(o)}if(h(true)&&h()){s.setRng(g)}}else{if(o.id){l("start");l("end");if(k){g=m.createRng();g.setStart(n(k),p);g.setEnd(n(u),q);s.setRng(g)}}else{if(o.name){s.select(m.select(o.name)[o.index])}else{if(o.rng){s.setRng(o.rng)}}}}}},select:function(l,k){var j=this,m=j.dom,h=m.createRng(),g;function i(n,p){var o=new a(n,n);do{if(n.nodeType==3&&d.trim(n.nodeValue).length!==0){if(p){h.setStart(n,0)}else{h.setEnd(n,n.nodeValue.length)}return}if(n.nodeName=="BR"){if(p){h.setStartBefore(n)}else{h.setEndBefore(n)}return}}while(n=(p?o.next():o.prev()))}if(l){g=m.nodeIndex(l);h.setStart(l.parentNode,g);h.setEnd(l.parentNode,g+1);if(k){i(l,1);i(l)}j.setRng(h)}return l},isCollapsed:function(){var g=this,i=g.getRng(),h=g.getSel();if(!i||i.item){return false}if(i.compareEndPoints){return i.compareEndPoints("StartToEnd",i)===0}return !h||i.collapsed},collapse:function(g){var i=this,h=i.getRng(),j;if(h.item){j=h.item(0);h=i.win.document.body.createTextRange();h.moveToElementText(j)}h.collapse(!!g);i.setRng(h)},getSel:function(){var h=this,g=this.win;return g.getSelection?g.getSelection():g.document.selection},getRng:function(m){var h=this,j,g,l,k=h.win.document;if(m&&h.tridentSel){return h.tridentSel.getRangeAt(0)}try{if(j=h.getSel()){g=j.rangeCount>0?j.getRangeAt(0):(j.createRange?j.createRange():k.createRange())}}catch(i){}if(d.isIE&&g&&g.setStart&&k.selection.createRange().item){l=k.selection.createRange().item(0);g=k.createRange();g.setStartBefore(l);g.setEndAfter(l)}if(!g){g=k.createRange?k.createRange():k.body.createTextRange()}if(g.setStart&&g.startContainer.nodeType===9&&g.collapsed){l=h.dom.getRoot();g.setStart(l,0);g.setEnd(l,0)}if(h.selectedRange&&h.explicitRange){if(g.compareBoundaryPoints(g.START_TO_START,h.selectedRange)===0&&g.compareBoundaryPoints(g.END_TO_END,h.selectedRange)===0){g=h.explicitRange}else{h.selectedRange=null;h.explicitRange=null}}return g},setRng:function(k,g){var j,i=this;if(!i.tridentSel){j=i.getSel();if(j){i.explicitRange=k;try{j.removeAllRanges()}catch(h){}j.addRange(k);if(g===false&&j.extend){j.collapse(k.endContainer,k.endOffset);j.extend(k.startContainer,k.startOffset)}i.selectedRange=j.rangeCount>0?j.getRangeAt(0):null}}else{if(k.cloneRange){try{i.tridentSel.addRange(k);return}catch(h){}}try{k.select()}catch(h){}}},setNode:function(h){var g=this;g.setContent(g.dom.getOuterHTML(h));return h},getNode:function(){var i=this,h=i.getRng(),j=i.getSel(),m,l=h.startContainer,g=h.endContainer;function k(q,o){var p=q;while(q&&q.nodeType===3&&q.length===0){q=o?q.nextSibling:q.previousSibling}return q||p}if(!h){return i.dom.getRoot()}if(h.setStart){m=h.commonAncestorContainer;if(!h.collapsed){if(h.startContainer==h.endContainer){if(h.endOffset-h.startOffset<2){if(h.startContainer.hasChildNodes()){m=h.startContainer.childNodes[h.startOffset]}}}if(l.nodeType===3&&g.nodeType===3){if(l.length===h.startOffset){l=k(l.nextSibling,true)}else{l=l.parentNode}if(h.endOffset===0){g=k(g.previousSibling,false)}else{g=g.parentNode}if(l&&l===g){return l}}}if(m&&m.nodeType==3){return m.parentNode}return m}return h.item?h.item(0):h.parentElement()},getSelectedBlocks:function(p,h){var o=this,k=o.dom,m,l,i,j=[];m=k.getParent(p||o.getStart(),k.isBlock);l=k.getParent(h||o.getEnd(),k.isBlock);if(m){j.push(m)}if(m&&l&&m!=l){i=m;var g=new a(m,k.getRoot());while((i=g.next())&&i!=l){if(k.isBlock(i)){j.push(i)}}}if(l&&m!=l){j.push(l)}return j},isForward:function(){var i=this.dom,g=this.getSel(),j,h;if(!g||g.anchorNode==null||g.focusNode==null){return true}j=i.createRng();j.setStart(g.anchorNode,g.anchorOffset);j.collapse(true);h=i.createRng();h.setStart(g.focusNode,g.focusOffset);h.collapse(true);return j.compareBoundaryPoints(j.START_TO_START,h)<=0},normalize:function(){var h=this,g,m,l,j,i;function k(p){var o,r,n,s=h.dom,u=s.getRoot(),q,t,v;function y(z,A){var B=new a(z,s.getParent(z.parentNode,s.isBlock)||u);while(z=B[A?"prev":"next"]()){if(z.nodeName==="BR"){return true}}}function x(B,z){var C,A;z=z||o;C=new a(z,s.getParent(z.parentNode,s.isBlock)||u);while(q=C[B?"prev":"next"]()){if(q.nodeType===3&&q.nodeValue.length>0){o=q;r=B?q.nodeValue.length:0;m=true;return}if(s.isBlock(q)||t[q.nodeName.toLowerCase()]){return}A=q}if(l&&A){o=A;m=true;r=0}}o=g[(p?"start":"end")+"Container"];r=g[(p?"start":"end")+"Offset"];t=s.schema.getNonEmptyElements();if(o.nodeType===9){o=s.getRoot();r=0}if(o===u){if(p){q=o.childNodes[r>0?r-1:0];if(q){v=q.nodeName.toLowerCase();if(t[q.nodeName]||q.nodeName=="TABLE"){return}}}if(o.hasChildNodes()){o=o.childNodes[Math.min(!p&&r>0?r-1:r,o.childNodes.length-1)];r=0;if(o.hasChildNodes()&&!/TABLE/.test(o.nodeName)){q=o;n=new a(o,u);do{if(q.nodeType===3&&q.nodeValue.length>0){r=p?0:q.nodeValue.length;o=q;m=true;break}if(t[q.nodeName.toLowerCase()]){r=s.nodeIndex(q);o=q.parentNode;if(q.nodeName=="IMG"&&!p){r++}m=true;break}}while(q=(p?n.next():n.prev()))}}}if(l){if(o.nodeType===3&&r===0){x(true)}if(o.nodeType===1){q=o.childNodes[r];if(q&&q.nodeName==="BR"&&!y(q)&&!y(q,true)){x(true,o.childNodes[r])}}}if(p&&!l&&o.nodeType===3&&r===o.nodeValue.length){x(false)}if(m){g["set"+(p?"Start":"End")](o,r)}}if(d.isIE){return}g=h.getRng();l=g.collapsed;k(true);if(!l){k()}if(m){if(l){g.collapse(true)}h.setRng(g,h.isForward())}},selectorChanged:function(g,j){var h=this,i;if(!h.selectorChangedData){h.selectorChangedData={};i={};h.editor.onNodeChange.addToTop(function(l,k,o){var p=h.dom,m=p.getParents(o,null,p.getRoot()),n={};e(h.selectorChangedData,function(r,q){e(m,function(s){if(p.is(s,q)){if(!i[q]){e(r,function(t){t(true,{node:s,selector:q,parents:m})});i[q]=r}n[q]=r;return false}})});e(i,function(r,q){if(!n[q]){delete i[q];e(r,function(s){s(false,{node:o,selector:q,parents:m})})}})})}if(!h.selectorChangedData[g]){h.selectorChangedData[g]=[]}h.selectorChangedData[g].push(j);return h},destroy:function(h){var g=this;g.win=null;if(!h){d.removeUnload(g.destroy)}},_fixIESelection:function(){var h=this.dom,n=h.doc,i=n.body,k,o,g;function j(p,s){var q=i.createTextRange();try{q.moveToPoint(p,s)}catch(r){q=null}return q}function m(q){var p;if(q.button){p=j(q.x,q.y);if(p){if(p.compareEndPoints("StartToStart",o)>0){p.setEndPoint("StartToStart",o)}else{p.setEndPoint("EndToEnd",o)}p.select()}}else{l()}}function l(){var p=n.selection.createRange();if(o&&!p.item&&p.compareEndPoints("StartToEnd",p)===0){o.select()}h.unbind(n,"mouseup",l);h.unbind(n,"mousemove",m);o=k=0}n.documentElement.unselectable=true;h.bind(n,["mousedown","contextmenu"],function(p){if(p.target.nodeName==="HTML"){if(k){l()}g=n.documentElement;if(g.scrollHeight>g.clientHeight){return}k=1;o=j(p.x,p.y);if(o){h.bind(n,"mouseup",l);h.bind(n,"mousemove",m);h.win.focus();o.select()}}})}})})(tinymce);(function(a){a.dom.Serializer=function(e,i,f){var h,b,d=a.isIE,g=a.each,c;if(!e.apply_source_formatting){e.indent=false}i=i||a.DOM;f=f||new a.html.Schema(e);e.entity_encoding=e.entity_encoding||"named";e.remove_trailing_brs="remove_trailing_brs" in e?e.remove_trailing_brs:true;h=new a.util.Dispatcher(self);b=new a.util.Dispatcher(self);c=new a.html.DomParser(e,f);c.addAttributeFilter("src,href,style",function(k,j){var o=k.length,l,q,n="data-mce-"+j,p=e.url_converter,r=e.url_converter_scope,m;while(o--){l=k[o];q=l.attributes.map[n];if(q!==m){l.attr(j,q.length>0?q:null);l.attr(n,null)}else{q=l.attributes.map[j];if(j==="style"){q=i.serializeStyle(i.parseStyle(q),l.name)}else{if(p){q=p.call(r,q,j,l.name)}}l.attr(j,q.length>0?q:null)}}});c.addAttributeFilter("class",function(j,k){var l=j.length,m,n;while(l--){m=j[l];n=m.attr("class").replace(/(?:^|\s)mce(Item\w+|Selected)(?!\S)/g,"");m.attr("class",n.length>0?n:null)}});c.addAttributeFilter("data-mce-type",function(j,l,k){var m=j.length,n;while(m--){n=j[m];if(n.attributes.map["data-mce-type"]==="bookmark"&&!k.cleanup){n.remove()}}});c.addAttributeFilter("data-mce-expando",function(j,l,k){var m=j.length;while(m--){j[m].attr(l,null)}});c.addNodeFilter("noscript",function(j){var k=j.length,l;while(k--){l=j[k].firstChild;if(l){l.value=a.html.Entities.decode(l.value)}}});c.addNodeFilter("script,style",function(k,l){var m=k.length,n,o;function j(p){return p.replace(/()/g,"\n").replace(/^[\r\n]*|[\r\n]*$/g,"").replace(/^\s*(()?|\s*\/\/\s*\]\]>(-->)?|\/\/\s*(-->)?|\]\]>|\/\*\s*-->\s*\*\/|\s*-->\s*)\s*$/g,"")}while(m--){n=k[m];o=n.firstChild?n.firstChild.value:"";if(l==="script"){n.attr("type",(n.attr("type")||"text/javascript").replace(/^mce\-/,""));if(o.length>0){n.firstChild.value="// "}}else{if(o.length>0){n.firstChild.value=""}}}});c.addNodeFilter("#comment",function(j,k){var l=j.length,m;while(l--){m=j[l];if(m.value.indexOf("[CDATA[")===0){m.name="#cdata";m.type=4;m.value=m.value.replace(/^\[CDATA\[|\]\]$/g,"")}else{if(m.value.indexOf("mce:protected ")===0){m.name="#text";m.type=3;m.raw=true;m.value=unescape(m.value).substr(14)}}}});c.addNodeFilter("xml:namespace,input",function(j,k){var l=j.length,m;while(l--){m=j[l];if(m.type===7){m.remove()}else{if(m.type===1){if(k==="input"&&!("type" in m.attributes.map)){m.attr("type","text")}}}}});if(e.fix_list_elements){c.addNodeFilter("ul,ol",function(k,l){var m=k.length,n,j;while(m--){n=k[m];j=n.parent;if(j.name==="ul"||j.name==="ol"){if(n.prev&&n.prev.name==="li"){n.prev.append(n)}}}})}c.addAttributeFilter("data-mce-src,data-mce-href,data-mce-style",function(j,k){var l=j.length;while(l--){j[l].attr(k,null)}});return{schema:f,addNodeFilter:c.addNodeFilter,addAttributeFilter:c.addAttributeFilter,onPreProcess:h,onPostProcess:b,serialize:function(o,m){var l,p,k,j,n;if(d&&i.select("script,style,select,map").length>0){n=o.innerHTML;o=o.cloneNode(false);i.setHTML(o,n)}else{o=o.cloneNode(true)}l=o.ownerDocument.implementation;if(l.createHTMLDocument){p=l.createHTMLDocument("");g(o.nodeName=="BODY"?o.childNodes:[o],function(q){p.body.appendChild(p.importNode(q,true))});if(o.nodeName!="BODY"){o=p.body.firstChild}else{o=p.body}k=i.doc;i.doc=p}m=m||{};m.format=m.format||"html";if(!m.no_events){m.node=o;h.dispatch(self,m)}j=new a.html.Serializer(e,f);m.content=j.serialize(c.parse(a.trim(m.getInner?o.innerHTML:i.getOuterHTML(o)),m));if(!m.cleanup){m.content=m.content.replace(/\uFEFF/g,"")}if(!m.no_events){b.dispatch(self,m)}if(k){i.doc=k}m.node=null;return m.content},addRules:function(j){f.addValidElements(j)},setRules:function(j){f.setValidElements(j)}}}})(tinymce);(function(a){a.dom.ScriptLoader=function(h){var c=0,k=1,i=2,l={},j=[],e={},d=[],g=0,f;function b(m,v){var x=this,q=a.DOM,s,o,r,n;function p(){q.remove(n);if(s){s.onreadystatechange=s.onload=s=null}v()}function u(){if(typeof(console)!=="undefined"&&console.log){console.log("Failed to load: "+m)}}n=q.uniqueId();if(a.isIE6){o=new a.util.URI(m);r=location;if(o.host==r.hostname&&o.port==r.port&&(o.protocol+":")==r.protocol&&o.protocol.toLowerCase()!="file"){a.util.XHR.send({url:a._addVer(o.getURI()),success:function(y){var t=q.create("script",{type:"text/javascript"});t.text=y;document.getElementsByTagName("head")[0].appendChild(t);q.remove(t);p()},error:u});return}}s=document.createElement("script");s.id=n;s.type="text/javascript";s.src=a._addVer(m);if(!a.isIE){s.onload=p}s.onerror=u;if(!a.isOpera){s.onreadystatechange=function(){var t=s.readyState;if(t=="complete"||t=="loaded"){p()}}}(document.getElementsByTagName("head")[0]||document.body).appendChild(s)}this.isDone=function(m){return l[m]==i};this.markDone=function(m){l[m]=i};this.add=this.load=function(m,q,n){var o,p=l[m];if(p==f){j.push(m);l[m]=c}if(q){if(!e[m]){e[m]=[]}e[m].push({func:q,scope:n||this})}};this.loadQueue=function(n,m){this.loadScripts(j,n,m)};this.loadScripts=function(m,q,p){var o;function n(r){a.each(e[r],function(s){s.func.call(s.scope)});e[r]=f}d.push({func:q,scope:p||this});o=function(){var r=a.grep(m);m.length=0;a.each(r,function(s){if(l[s]==i){n(s);return}if(l[s]!=k){l[s]=k;g++;b(s,function(){l[s]=i;g--;n(s);o()})}});if(!g){a.each(d,function(s){s.func.call(s.scope)});d.length=0}};o()}};a.ScriptLoader=new a.dom.ScriptLoader()})(tinymce);(function(a){a.dom.RangeUtils=function(c){var b="\uFEFF";this.walk=function(d,s){var i=d.startContainer,l=d.startOffset,t=d.endContainer,m=d.endOffset,j,g,o,h,r,q,e;e=c.select("td.mceSelected,th.mceSelected");if(e.length>0){a.each(e,function(u){s([u])});return}function f(u){var v;v=u[0];if(v.nodeType===3&&v===i&&l>=v.nodeValue.length){u.splice(0,1)}v=u[u.length-1];if(m===0&&u.length>0&&v===t&&v.nodeType===3){u.splice(u.length-1,1)}return u}function p(x,v,u){var y=[];for(;x&&x!=u;x=x[v]){y.push(x)}return y}function n(v,u){do{if(v.parentNode==u){return v}v=v.parentNode}while(v)}function k(x,v,y){var u=y?"nextSibling":"previousSibling";for(h=x,r=h.parentNode;h&&h!=v;h=r){r=h.parentNode;q=p(h==x?h:h[u],u);if(q.length){if(!y){q.reverse()}s(f(q))}}}if(i.nodeType==1&&i.hasChildNodes()){i=i.childNodes[l]}if(t.nodeType==1&&t.hasChildNodes()){t=t.childNodes[Math.min(m-1,t.childNodes.length-1)]}if(i==t){return s(f([i]))}j=c.findCommonAncestor(i,t);for(h=i;h;h=h.parentNode){if(h===t){return k(i,j,true)}if(h===j){break}}for(h=t;h;h=h.parentNode){if(h===i){return k(t,j)}if(h===j){break}}g=n(i,j)||i;o=n(t,j)||t;k(i,g,true);q=p(g==i?g:g.nextSibling,"nextSibling",o==t?o.nextSibling:o);if(q.length){s(f(q))}k(t,o)};this.split=function(e){var h=e.startContainer,d=e.startOffset,i=e.endContainer,g=e.endOffset;function f(j,k){return j.splitText(k)}if(h==i&&h.nodeType==3){if(d>0&&dd){g=g-d;h=i=f(i,g).previousSibling;g=i.nodeValue.length;d=0}else{g=0}}}else{if(h.nodeType==3&&d>0&&d0&&g=m.length){r=0}}t=m[r];f.setAttrib(g,"tabindex","-1");f.setAttrib(t.id,"tabindex","0");f.get(t.id).focus();if(e.actOnFocus){e.onAction(t.id)}if(s){a.cancel(s)}};p=function(z){var v=37,u=39,y=38,A=40,r=27,t=14,s=13,x=32;switch(z.keyCode){case v:if(i){q.moveFocus(-1)}break;case u:if(i){q.moveFocus(1)}break;case y:if(o){q.moveFocus(-1)}break;case A:if(o){q.moveFocus(1)}break;case r:if(e.onCancel){e.onCancel();a.cancel(z)}break;case t:case s:case x:if(e.onAction){e.onAction(g);a.cancel(z)}break}};c(m,function(t,r){var s,u;if(!t.id){t.id=f.uniqueId("_mce_item_")}u=f.get(t.id);if(l){f.bind(u,"blur",h);s="-1"}else{s=(r===0?"0":"-1")}u.setAttribute("tabindex",s);f.bind(u,"focus",k)});if(m[0]){g=m[0].id}f.setAttrib(n,"tabindex","-1");var j=f.get(n);f.bind(j,"focus",d);f.bind(j,"keydown",p)}})})(tinymce);(function(c){var b=c.DOM,a=c.is;c.create("tinymce.ui.Control",{Control:function(f,e,d){this.id=f;this.settings=e=e||{};this.rendered=false;this.onRender=new c.util.Dispatcher(this);this.classPrefix="";this.scope=e.scope||this;this.disabled=0;this.active=0;this.editor=d},setAriaProperty:function(f,e){var d=b.get(this.id+"_aria")||b.get(this.id);if(d){b.setAttrib(d,"aria-"+f,!!e)}},focus:function(){b.get(this.id).focus()},setDisabled:function(d){if(d!=this.disabled){this.setAriaProperty("disabled",d);this.setState("Disabled",d);this.setState("Enabled",!d);this.disabled=d}},isDisabled:function(){return this.disabled},setActive:function(d){if(d!=this.active){this.setState("Active",d);this.active=d;this.setAriaProperty("pressed",d)}},isActive:function(){return this.active},setState:function(f,d){var e=b.get(this.id);f=this.classPrefix+f;if(d){b.addClass(e,f)}else{b.removeClass(e,f)}},isRendered:function(){return this.rendered},renderHTML:function(){},renderTo:function(d){b.setHTML(d,this.renderHTML())},postRender:function(){var e=this,d;if(a(e.disabled)){d=e.disabled;e.disabled=-1;e.setDisabled(d)}if(a(e.active)){d=e.active;e.active=-1;e.setActive(d)}},remove:function(){b.remove(this.id);this.destroy()},destroy:function(){c.dom.Event.clear(this.id)}})})(tinymce);tinymce.create("tinymce.ui.Container:tinymce.ui.Control",{Container:function(c,b,a){this.parent(c,b,a);this.controls=[];this.lookup={}},add:function(a){this.lookup[a.id]=a;this.controls.push(a);return a},get:function(a){return this.lookup[a]}});tinymce.create("tinymce.ui.Separator:tinymce.ui.Control",{Separator:function(b,a){this.parent(b,a);this.classPrefix="mceSeparator";this.setDisabled(true)},renderHTML:function(){return tinymce.DOM.createHTML("span",{"class":this.classPrefix,role:"separator","aria-orientation":"vertical",tabindex:"-1"})}});(function(d){var c=d.is,b=d.DOM,e=d.each,a=d.walk;d.create("tinymce.ui.MenuItem:tinymce.ui.Control",{MenuItem:function(g,f){this.parent(g,f);this.classPrefix="mceMenuItem"},setSelected:function(f){this.setState("Selected",f);this.setAriaProperty("checked",!!f);this.selected=f},isSelected:function(){return this.selected},postRender:function(){var f=this;f.parent();if(c(f.selected)){f.setSelected(f.selected)}}})})(tinymce);(function(d){var c=d.is,b=d.DOM,e=d.each,a=d.walk;d.create("tinymce.ui.Menu:tinymce.ui.MenuItem",{Menu:function(h,g){var f=this;f.parent(h,g);f.items={};f.collapsed=false;f.menuCount=0;f.onAddItem=new d.util.Dispatcher(this)},expand:function(g){var f=this;if(g){a(f,function(h){if(h.expand){h.expand()}},"items",f)}f.collapsed=false},collapse:function(g){var f=this;if(g){a(f,function(h){if(h.collapse){h.collapse()}},"items",f)}f.collapsed=true},isCollapsed:function(){return this.collapsed},add:function(f){if(!f.settings){f=new d.ui.MenuItem(f.id||b.uniqueId(),f)}this.onAddItem.dispatch(this,f);return this.items[f.id]=f},addSeparator:function(){return this.add({separator:true})},addMenu:function(f){if(!f.collapse){f=this.createMenu(f)}this.menuCount++;return this.add(f)},hasMenus:function(){return this.menuCount!==0},remove:function(f){delete this.items[f.id]},removeAll:function(){var f=this;a(f,function(g){if(g.removeAll){g.removeAll()}else{g.remove()}g.destroy()},"items",f);f.items={}},createMenu:function(g){var f=new d.ui.Menu(g.id||b.uniqueId(),g);f.onAddItem.add(this.onAddItem.dispatch,this.onAddItem);return f}})})(tinymce);(function(e){var d=e.is,c=e.DOM,f=e.each,a=e.dom.Event,b=e.dom.Element;e.create("tinymce.ui.DropMenu:tinymce.ui.Menu",{DropMenu:function(h,g){g=g||{};g.container=g.container||c.doc.body;g.offset_x=g.offset_x||0;g.offset_y=g.offset_y||0;g.vp_offset_x=g.vp_offset_x||0;g.vp_offset_y=g.vp_offset_y||0;if(d(g.icons)&&!g.icons){g["class"]+=" mceNoIcons"}this.parent(h,g);this.onShowMenu=new e.util.Dispatcher(this);this.onHideMenu=new e.util.Dispatcher(this);this.classPrefix="mceMenu"},createMenu:function(j){var h=this,i=h.settings,g;j.container=j.container||i.container;j.parent=h;j.constrain=j.constrain||i.constrain;j["class"]=j["class"]||i["class"];j.vp_offset_x=j.vp_offset_x||i.vp_offset_x;j.vp_offset_y=j.vp_offset_y||i.vp_offset_y;j.keyboard_focus=i.keyboard_focus;g=new e.ui.DropMenu(j.id||c.uniqueId(),j);g.onAddItem.add(h.onAddItem.dispatch,h.onAddItem);return g},focus:function(){var g=this;if(g.keyboardNav){g.keyboardNav.focus()}},update:function(){var i=this,j=i.settings,g=c.get("menu_"+i.id+"_tbl"),l=c.get("menu_"+i.id+"_co"),h,k;h=j.max_width?Math.min(g.offsetWidth,j.max_width):g.offsetWidth;k=j.max_height?Math.min(g.offsetHeight,j.max_height):g.offsetHeight;if(!c.boxModel){i.element.setStyles({width:h+2,height:k+2})}else{i.element.setStyles({width:h,height:k})}if(j.max_width){c.setStyle(l,"width",h)}if(j.max_height){c.setStyle(l,"height",k);if(g.clientHeightv){p=r?r-u:Math.max(0,(v-A.vp_offset_x)-u)}if((n+A.vp_offset_y+l)>q){n=Math.max(0,(q-A.vp_offset_y)-l)}}c.setStyles(o,{left:p,top:n});z.element.update();z.isMenuVisible=1;z.mouseClickFunc=a.add(o,"click",function(s){var h;s=s.target;if(s&&(s=c.getParent(s,"tr"))&&!c.hasClass(s,m+"ItemSub")){h=z.items[s.id];if(h.isDisabled()){return}k=z;while(k){if(k.hideMenu){k.hideMenu()}k=k.settings.parent}if(h.settings.onclick){h.settings.onclick(s)}return false}});if(z.hasMenus()){z.mouseOverFunc=a.add(o,"mouseover",function(x){var h,t,s;x=x.target;if(x&&(x=c.getParent(x,"tr"))){h=z.items[x.id];if(z.lastMenu){z.lastMenu.collapse(1)}if(h.isDisabled()){return}if(x&&c.hasClass(x,m+"ItemSub")){t=c.getRect(x);h.showMenu((t.x+t.w-i),t.y-i,t.x);z.lastMenu=h;c.addClass(c.get(h.id).firstChild,m+"ItemActive")}}})}a.add(o,"keydown",z._keyHandler,z);z.onShowMenu.dispatch(z);if(A.keyboard_focus){z._setupKeyboardNav()}},hideMenu:function(j){var g=this,i=c.get("menu_"+g.id),h;if(!g.isMenuVisible){return}if(g.keyboardNav){g.keyboardNav.destroy()}a.remove(i,"mouseover",g.mouseOverFunc);a.remove(i,"click",g.mouseClickFunc);a.remove(i,"keydown",g._keyHandler);c.hide(i);g.isMenuVisible=0;if(!j){g.collapse(1)}if(g.element){g.element.hide()}if(h=c.get(g.id)){c.removeClass(h.firstChild,g.classPrefix+"ItemActive")}g.onHideMenu.dispatch(g)},add:function(i){var g=this,h;i=g.parent(i);if(g.isRendered&&(h=c.get("menu_"+g.id))){g._add(c.select("tbody",h)[0],i)}return i},collapse:function(g){this.parent(g);this.hideMenu(1)},remove:function(g){c.remove(g.id);this.destroy();return this.parent(g)},destroy:function(){var g=this,h=c.get("menu_"+g.id);if(g.keyboardNav){g.keyboardNav.destroy()}a.remove(h,"mouseover",g.mouseOverFunc);a.remove(c.select("a",h),"focus",g.mouseOverFunc);a.remove(h,"click",g.mouseClickFunc);a.remove(h,"keydown",g._keyHandler);if(g.element){g.element.remove()}c.remove(h)},renderNode:function(){var i=this,j=i.settings,l,h,k,g;g=c.create("div",{role:"listbox",id:"menu_"+i.id,"class":j["class"],style:"position:absolute;left:0;top:0;z-index:200000;outline:0"});if(i.settings.parent){c.setAttrib(g,"aria-parent","menu_"+i.settings.parent.id)}k=c.add(g,"div",{role:"presentation",id:"menu_"+i.id+"_co","class":i.classPrefix+(j["class"]?" "+j["class"]:"")});i.element=new b("menu_"+i.id,{blocker:1,container:j.container});if(j.menu_line){c.add(k,"span",{"class":i.classPrefix+"Line"})}l=c.add(k,"table",{role:"presentation",id:"menu_"+i.id+"_tbl",border:0,cellPadding:0,cellSpacing:0});h=c.add(l,"tbody");f(i.items,function(m){i._add(h,m)});i.rendered=true;return g},_setupKeyboardNav:function(){var i,h,g=this;i=c.get("menu_"+g.id);h=c.select("a[role=option]","menu_"+g.id);h.splice(0,0,i);g.keyboardNav=new e.ui.KeyboardNavigation({root:"menu_"+g.id,items:h,onCancel:function(){g.hideMenu()},enableUpDown:true});i.focus()},_keyHandler:function(g){var h=this,i;switch(g.keyCode){case 37:if(h.settings.parent){h.hideMenu();h.settings.parent.focus();a.cancel(g)}break;case 39:if(h.mouseOverFunc){h.mouseOverFunc(g)}break}},_add:function(j,h){var i,q=h.settings,p,l,k,m=this.classPrefix,g;if(q.separator){l=c.add(j,"tr",{id:h.id,"class":m+"ItemSeparator"});c.add(l,"td",{"class":m+"ItemSeparator"});if(i=l.previousSibling){c.addClass(i,"mceLast")}return}i=l=c.add(j,"tr",{id:h.id,"class":m+"Item "+m+"ItemEnabled"});i=k=c.add(i,q.titleItem?"th":"td");i=p=c.add(i,"a",{id:h.id+"_aria",role:q.titleItem?"presentation":"option",href:"javascript:;",onclick:"return false;",onmousedown:"return false;"});if(q.parent){c.setAttrib(p,"aria-haspopup","true");c.setAttrib(p,"aria-owns","menu_"+h.id)}c.addClass(k,q["class"]);g=c.add(i,"span",{"class":"mceIcon"+(q.icon?" mce_"+q.icon:"")});if(q.icon_src){c.add(g,"img",{src:q.icon_src})}i=c.add(i,q.element||"span",{"class":"mceText",title:h.settings.title},h.settings.title);if(h.settings.style){if(typeof h.settings.style=="function"){h.settings.style=h.settings.style()}c.setAttrib(i,"style",h.settings.style)}if(j.childNodes.length==1){c.addClass(l,"mceFirst")}if((i=l.previousSibling)&&c.hasClass(i,m+"ItemSeparator")){c.addClass(l,"mceFirst")}if(h.collapse){c.addClass(l,m+"ItemSub")}if(i=l.previousSibling){c.removeClass(i,"mceLast")}c.addClass(l,"mceLast")}})})(tinymce);(function(b){var a=b.DOM;b.create("tinymce.ui.Button:tinymce.ui.Control",{Button:function(e,d,c){this.parent(e,d,c);this.classPrefix="mceButton"},renderHTML:function(){var f=this.classPrefix,e=this.settings,d,c;c=a.encode(e.label||"");d='';if(e.image&&!(this.editor&&this.editor.forcedHighContrastMode)){d+=''+a.encode(e.title)+''+(c?''+c+"":"")}else{d+=''+(c?''+c+"":"")}d+='";d+="";return d},postRender:function(){var d=this,e=d.settings,c;if(b.isIE&&d.editor){b.dom.Event.add(d.id,"mousedown",function(f){var g=d.editor.selection.getNode().nodeName;c=g==="IMG"?d.editor.selection.getBookmark():null})}b.dom.Event.add(d.id,"click",function(f){if(!d.isDisabled()){if(b.isIE&&d.editor&&c!==null){d.editor.selection.moveToBookmark(c)}return e.onclick.call(e.scope,f)}});b.dom.Event.add(d.id,"keyup",function(f){if(!d.isDisabled()&&f.keyCode==b.VK.SPACEBAR){return e.onclick.call(e.scope,f)}})}})})(tinymce);(function(e){var d=e.DOM,b=e.dom.Event,f=e.each,a=e.util.Dispatcher,c;e.create("tinymce.ui.ListBox:tinymce.ui.Control",{ListBox:function(j,i,g){var h=this;h.parent(j,i,g);h.items=[];h.onChange=new a(h);h.onPostRender=new a(h);h.onAdd=new a(h);h.onRenderMenu=new e.util.Dispatcher(this);h.classPrefix="mceListBox";h.marked={}},select:function(h){var g=this,j,i;g.marked={};if(h==c){return g.selectByIndex(-1)}if(h&&typeof(h)=="function"){i=h}else{i=function(k){return k==h}}if(h!=g.selectedValue){f(g.items,function(l,k){if(i(l.value)){j=1;g.selectByIndex(k);return false}});if(!j){g.selectByIndex(-1)}}},selectByIndex:function(g){var i=this,j,k,h;i.marked={};if(g!=i.selectedIndex){j=d.get(i.id+"_text");h=d.get(i.id+"_voiceDesc");k=i.items[g];if(k){i.selectedValue=k.value;i.selectedIndex=g;d.setHTML(j,d.encode(k.title));d.setHTML(h,i.settings.title+" - "+k.title);d.removeClass(j,"mceTitle");d.setAttrib(i.id,"aria-valuenow",k.title)}else{d.setHTML(j,d.encode(i.settings.title));d.setHTML(h,d.encode(i.settings.title));d.addClass(j,"mceTitle");i.selectedValue=i.selectedIndex=null;d.setAttrib(i.id,"aria-valuenow",i.settings.title)}j=0}},mark:function(g){this.marked[g]=true},add:function(j,g,i){var h=this;i=i||{};i=e.extend(i,{title:j,value:g});h.items.push(i);h.onAdd.dispatch(h,i)},getLength:function(){return this.items.length},renderHTML:function(){var j="",g=this,i=g.settings,k=g.classPrefix;j='';j+="";j+="";j+="";return j},showMenu:function(){var h=this,j,i=d.get(this.id),g;if(h.isDisabled()||h.items.length===0){return}if(h.menu&&h.menu.isMenuVisible){return h.hideMenu()}if(!h.isMenuRendered){h.renderMenu();h.isMenuRendered=true}j=d.getPos(i);g=h.menu;g.settings.offset_x=j.x;g.settings.offset_y=j.y;g.settings.keyboard_focus=!e.isOpera;f(h.items,function(k){if(g.items[k.id]){g.items[k.id].setSelected(0)}});f(h.items,function(k){if(g.items[k.id]&&h.marked[k.value]){g.items[k.id].setSelected(1)}if(k.value===h.selectedValue){g.items[k.id].setSelected(1)}});g.showMenu(0,i.clientHeight);b.add(d.doc,"mousedown",h.hideMenu,h);d.addClass(h.id,h.classPrefix+"Selected")},hideMenu:function(h){var g=this;if(g.menu&&g.menu.isMenuVisible){d.removeClass(g.id,g.classPrefix+"Selected");if(h&&h.type=="mousedown"&&(h.target.id==g.id+"_text"||h.target.id==g.id+"_open")){return}if(!h||!d.getParent(h.target,".mceMenu")){d.removeClass(g.id,g.classPrefix+"Selected");b.remove(d.doc,"mousedown",g.hideMenu,g);g.menu.hideMenu()}}},renderMenu:function(){var h=this,g;g=h.settings.control_manager.createDropMenu(h.id+"_menu",{menu_line:1,"class":h.classPrefix+"Menu mceNoIcons",max_width:250,max_height:150});g.onHideMenu.add(function(){h.hideMenu();h.focus()});g.add({title:h.settings.title,"class":"mceMenuItemTitle",onclick:function(){if(h.settings.onselect("")!==false){h.select("")}}});f(h.items,function(i){if(i.value===c){g.add({title:i.title,role:"option","class":"mceMenuItemTitle",onclick:function(){if(h.settings.onselect("")!==false){h.select("")}}})}else{i.id=d.uniqueId();i.role="option";i.onclick=function(){if(h.settings.onselect(i.value)!==false){h.select(i.value)}};g.add(i)}});h.onRenderMenu.dispatch(h,g);h.menu=g},postRender:function(){var g=this,h=g.classPrefix;b.add(g.id,"click",g.showMenu,g);b.add(g.id,"keydown",function(i){if(i.keyCode==32){g.showMenu(i);b.cancel(i)}});b.add(g.id,"focus",function(){if(!g._focused){g.keyDownHandler=b.add(g.id,"keydown",function(i){if(i.keyCode==40){g.showMenu();b.cancel(i)}});g.keyPressHandler=b.add(g.id,"keypress",function(j){var i;if(j.keyCode==13){i=g.selectedValue;g.selectedValue=null;b.cancel(j);g.settings.onselect(i)}})}g._focused=1});b.add(g.id,"blur",function(){b.remove(g.id,"keydown",g.keyDownHandler);b.remove(g.id,"keypress",g.keyPressHandler);g._focused=0});if(e.isIE6||!d.boxModel){b.add(g.id,"mouseover",function(){if(!d.hasClass(g.id,h+"Disabled")){d.addClass(g.id,h+"Hover")}});b.add(g.id,"mouseout",function(){if(!d.hasClass(g.id,h+"Disabled")){d.removeClass(g.id,h+"Hover")}})}g.onPostRender.dispatch(g,d.get(g.id))},destroy:function(){this.parent();b.clear(this.id+"_text");b.clear(this.id+"_open")}})})(tinymce);(function(e){var d=e.DOM,b=e.dom.Event,f=e.each,a=e.util.Dispatcher,c;e.create("tinymce.ui.NativeListBox:tinymce.ui.ListBox",{NativeListBox:function(h,g){this.parent(h,g);this.classPrefix="mceNativeListBox"},setDisabled:function(g){d.get(this.id).disabled=g;this.setAriaProperty("disabled",g)},isDisabled:function(){return d.get(this.id).disabled},select:function(h){var g=this,j,i;if(h==c){return g.selectByIndex(-1)}if(h&&typeof(h)=="function"){i=h}else{i=function(k){return k==h}}if(h!=g.selectedValue){f(g.items,function(l,k){if(i(l.value)){j=1;g.selectByIndex(k);return false}});if(!j){g.selectByIndex(-1)}}},selectByIndex:function(g){d.get(this.id).selectedIndex=g+1;this.selectedValue=this.items[g]?this.items[g].value:null},add:function(k,h,g){var j,i=this;g=g||{};g.value=h;if(i.isRendered()){d.add(d.get(this.id),"option",g,k)}j={title:k,value:h,attribs:g};i.items.push(j);i.onAdd.dispatch(i,j)},getLength:function(){return this.items.length},renderHTML:function(){var i,g=this;i=d.createHTML("option",{value:""},"-- "+g.settings.title+" --");f(g.items,function(h){i+=d.createHTML("option",{value:h.value},h.title)});i=d.createHTML("select",{id:g.id,"class":"mceNativeListBox","aria-labelledby":g.id+"_aria"},i);i+=d.createHTML("span",{id:g.id+"_aria",style:"display: none"},g.settings.title);return i},postRender:function(){var h=this,i,j=true;h.rendered=true;function g(l){var k=h.items[l.target.selectedIndex-1];if(k&&(k=k.value)){h.onChange.dispatch(h,k);if(h.settings.onselect){h.settings.onselect(k)}}}b.add(h.id,"change",g);b.add(h.id,"keydown",function(l){var k;b.remove(h.id,"change",i);j=false;k=b.add(h.id,"blur",function(){if(j){return}j=true;b.add(h.id,"change",g);b.remove(h.id,"blur",k)});if(e.isWebKit&&(l.keyCode==37||l.keyCode==39)){return b.prevent(l)}if(l.keyCode==13||l.keyCode==32){g(l);return b.cancel(l)}});h.onPostRender.dispatch(h,d.get(h.id))}})})(tinymce);(function(c){var b=c.DOM,a=c.dom.Event,d=c.each;c.create("tinymce.ui.MenuButton:tinymce.ui.Button",{MenuButton:function(g,f,e){this.parent(g,f,e);this.onRenderMenu=new c.util.Dispatcher(this);f.menu_container=f.menu_container||b.doc.body},showMenu:function(){var g=this,j,i,h=b.get(g.id),f;if(g.isDisabled()){return}if(!g.isMenuRendered){g.renderMenu();g.isMenuRendered=true}if(g.isMenuVisible){return g.hideMenu()}j=b.getPos(g.settings.menu_container);i=b.getPos(h);f=g.menu;f.settings.offset_x=i.x;f.settings.offset_y=i.y;f.settings.vp_offset_x=i.x;f.settings.vp_offset_y=i.y;f.settings.keyboard_focus=g._focused;f.showMenu(0,h.firstChild.clientHeight);a.add(b.doc,"mousedown",g.hideMenu,g);g.setState("Selected",1);g.isMenuVisible=1},renderMenu:function(){var f=this,e;e=f.settings.control_manager.createDropMenu(f.id+"_menu",{menu_line:1,"class":this.classPrefix+"Menu",icons:f.settings.icons});e.onHideMenu.add(function(){f.hideMenu();f.focus()});f.onRenderMenu.dispatch(f,e);f.menu=e},hideMenu:function(g){var f=this;if(g&&g.type=="mousedown"&&b.getParent(g.target,function(h){return h.id===f.id||h.id===f.id+"_open"})){return}if(!g||!b.getParent(g.target,".mceMenu")){f.setState("Selected",0);a.remove(b.doc,"mousedown",f.hideMenu,f);if(f.menu){f.menu.hideMenu()}}f.isMenuVisible=0},postRender:function(){var e=this,f=e.settings;a.add(e.id,"click",function(){if(!e.isDisabled()){if(f.onclick){f.onclick(e.value)}e.showMenu()}})}})})(tinymce);(function(c){var b=c.DOM,a=c.dom.Event,d=c.each;c.create("tinymce.ui.SplitButton:tinymce.ui.MenuButton",{SplitButton:function(g,f,e){this.parent(g,f,e);this.classPrefix="mceSplitButton"},renderHTML:function(){var i,f=this,g=f.settings,e;i="";if(g.image){e=b.createHTML("img ",{src:g.image,role:"presentation","class":"mceAction "+g["class"]})}else{e=b.createHTML("span",{"class":"mceAction "+g["class"]},"")}e+=b.createHTML("span",{"class":"mceVoiceLabel mceIconOnly",id:f.id+"_voice",style:"display:none;"},g.title);i+=""+b.createHTML("a",{role:"button",id:f.id+"_action",tabindex:"-1",href:"javascript:;","class":"mceAction "+g["class"],onclick:"return false;",onmousedown:"return false;",title:g.title},e)+"";e=b.createHTML("span",{"class":"mceOpen "+g["class"]},'');i+=""+b.createHTML("a",{role:"button",id:f.id+"_open",tabindex:"-1",href:"javascript:;","class":"mceOpen "+g["class"],onclick:"return false;",onmousedown:"return false;",title:g.title},e)+"";i+="";i=b.createHTML("table",{role:"presentation","class":"mceSplitButton mceSplitButtonEnabled "+g["class"],cellpadding:"0",cellspacing:"0",title:g.title},i);return b.createHTML("div",{id:f.id,role:"button",tabindex:"0","aria-labelledby":f.id+"_voice","aria-haspopup":"true"},i)},postRender:function(){var e=this,g=e.settings,f;if(g.onclick){f=function(h){if(!e.isDisabled()){g.onclick(e.value);a.cancel(h)}};a.add(e.id+"_action","click",f);a.add(e.id,["click","keydown"],function(h){var k=32,m=14,i=13,j=38,l=40;if((h.keyCode===32||h.keyCode===13||h.keyCode===14)&&!h.altKey&&!h.ctrlKey&&!h.metaKey){f();a.cancel(h)}else{if(h.type==="click"||h.keyCode===l){e.showMenu();a.cancel(h)}}})}a.add(e.id+"_open","click",function(h){e.showMenu();a.cancel(h)});a.add([e.id,e.id+"_open"],"focus",function(){e._focused=1});a.add([e.id,e.id+"_open"],"blur",function(){e._focused=0});if(c.isIE6||!b.boxModel){a.add(e.id,"mouseover",function(){if(!b.hasClass(e.id,"mceSplitButtonDisabled")){b.addClass(e.id,"mceSplitButtonHover")}});a.add(e.id,"mouseout",function(){if(!b.hasClass(e.id,"mceSplitButtonDisabled")){b.removeClass(e.id,"mceSplitButtonHover")}})}},destroy:function(){this.parent();a.clear(this.id+"_action");a.clear(this.id+"_open");a.clear(this.id)}})})(tinymce);(function(d){var c=d.DOM,a=d.dom.Event,b=d.is,e=d.each;d.create("tinymce.ui.ColorSplitButton:tinymce.ui.SplitButton",{ColorSplitButton:function(i,h,f){var g=this;g.parent(i,h,f);g.settings=h=d.extend({colors:"000000,993300,333300,003300,003366,000080,333399,333333,800000,FF6600,808000,008000,008080,0000FF,666699,808080,FF0000,FF9900,99CC00,339966,33CCCC,3366FF,800080,999999,FF00FF,FFCC00,FFFF00,00FF00,00FFFF,00CCFF,993366,C0C0C0,FF99CC,FFCC99,FFFF99,CCFFCC,CCFFFF,99CCFF,CC99FF,FFFFFF",grid_width:8,default_color:"#888888"},g.settings);g.onShowMenu=new d.util.Dispatcher(g);g.onHideMenu=new d.util.Dispatcher(g);g.value=h.default_color},showMenu:function(){var f=this,g,j,i,h;if(f.isDisabled()){return}if(!f.isMenuRendered){f.renderMenu();f.isMenuRendered=true}if(f.isMenuVisible){return f.hideMenu()}i=c.get(f.id);c.show(f.id+"_menu");c.addClass(i,"mceSplitButtonSelected");h=c.getPos(i);c.setStyles(f.id+"_menu",{left:h.x,top:h.y+i.firstChild.clientHeight,zIndex:200000});i=0;a.add(c.doc,"mousedown",f.hideMenu,f);f.onShowMenu.dispatch(f);if(f._focused){f._keyHandler=a.add(f.id+"_menu","keydown",function(k){if(k.keyCode==27){f.hideMenu()}});c.select("a",f.id+"_menu")[0].focus()}f.keyboardNav=new d.ui.KeyboardNavigation({root:f.id+"_menu",items:c.select("a",f.id+"_menu"),onCancel:function(){f.hideMenu();f.focus()}});f.keyboardNav.focus();f.isMenuVisible=1},hideMenu:function(g){var f=this;if(f.isMenuVisible){if(g&&g.type=="mousedown"&&c.getParent(g.target,function(h){return h.id===f.id+"_open"})){return}if(!g||!c.getParent(g.target,".mceSplitButtonMenu")){c.removeClass(f.id,"mceSplitButtonSelected");a.remove(c.doc,"mousedown",f.hideMenu,f);a.remove(f.id+"_menu","keydown",f._keyHandler);c.hide(f.id+"_menu")}f.isMenuVisible=0;f.onHideMenu.dispatch();f.keyboardNav.destroy()}},renderMenu:function(){var p=this,h,k=0,q=p.settings,g,j,l,o,f;o=c.add(q.menu_container,"div",{role:"listbox",id:p.id+"_menu","class":q.menu_class+" "+q["class"],style:"position:absolute;left:0;top:-1000px;"});h=c.add(o,"div",{"class":q["class"]+" mceSplitButtonMenu"});c.add(h,"span",{"class":"mceMenuLine"});g=c.add(h,"table",{role:"presentation","class":"mceColorSplitMenu"});j=c.add(g,"tbody");k=0;e(b(q.colors,"array")?q.colors:q.colors.split(","),function(m){m=m.replace(/^#/,"");if(!k--){l=c.add(j,"tr");k=q.grid_width-1}g=c.add(l,"td");var i={href:"javascript:;",style:{backgroundColor:"#"+m},title:p.editor.getLang("colors."+m,m),"data-mce-color":"#"+m};if(!d.isIE){i.role="option"}g=c.add(g,"a",i);if(p.editor.forcedHighContrastMode){g=c.add(g,"canvas",{width:16,height:16,"aria-hidden":"true"});if(g.getContext&&(f=g.getContext("2d"))){f.fillStyle="#"+m;f.fillRect(0,0,16,16)}else{c.remove(g)}}});if(q.more_colors_func){g=c.add(j,"tr");g=c.add(g,"td",{colspan:q.grid_width,"class":"mceMoreColors"});g=c.add(g,"a",{role:"option",id:p.id+"_more",href:"javascript:;",onclick:"return false;","class":"mceMoreColors"},q.more_colors_title);a.add(g,"click",function(i){q.more_colors_func.call(q.more_colors_scope||this);return a.cancel(i)})}c.addClass(h,"mceColorSplitMenu");a.add(p.id+"_menu","mousedown",function(i){return a.cancel(i)});a.add(p.id+"_menu","click",function(i){var m;i=c.getParent(i.target,"a",j);if(i&&i.nodeName.toLowerCase()=="a"&&(m=i.getAttribute("data-mce-color"))){p.setColor(m)}return false});return o},setColor:function(f){this.displayColor(f);this.hideMenu();this.settings.onselect(f)},displayColor:function(g){var f=this;c.setStyle(f.id+"_preview","backgroundColor",g);f.value=g},postRender:function(){var f=this,g=f.id;f.parent();c.add(g+"_action","div",{id:g+"_preview","class":"mceColorPreview"});c.setStyle(f.id+"_preview","backgroundColor",f.value)},destroy:function(){var f=this;f.parent();a.clear(f.id+"_menu");a.clear(f.id+"_more");c.remove(f.id+"_menu");if(f.keyboardNav){f.keyboardNav.destroy()}}})})(tinymce);(function(b){var d=b.DOM,c=b.each,a=b.dom.Event;b.create("tinymce.ui.ToolbarGroup:tinymce.ui.Container",{renderHTML:function(){var f=this,i=[],e=f.controls,j=b.each,g=f.settings;i.push('
    ');i.push("");i.push('");j(e,function(h){i.push(h.renderHTML())});i.push("");i.push("
    ");return i.join("")},focus:function(){var e=this;d.get(e.id).focus()},postRender:function(){var f=this,e=[];c(f.controls,function(g){c(g.controls,function(h){if(h.id){e.push(h)}})});f.keyNav=new b.ui.KeyboardNavigation({root:f.id,items:e,onCancel:function(){if(b.isWebKit){d.get(f.editor.id+"_ifr").focus()}f.editor.focus()},excludeFromTabOrder:!f.settings.tab_focus_toolbar})},destroy:function(){var e=this;e.parent();e.keyNav.destroy();a.clear(e.id)}})})(tinymce);(function(a){var c=a.DOM,b=a.each;a.create("tinymce.ui.Toolbar:tinymce.ui.Container",{renderHTML:function(){var m=this,f="",j,k,n=m.settings,e,d,g,l;l=m.controls;for(e=0;e"))}if(d&&k.ListBox){if(d.Button||d.SplitButton){f+=c.createHTML("td",{"class":"mceToolbarEnd"},c.createHTML("span",null,""))}}if(c.stdMode){f+=''+k.renderHTML()+""}else{f+=""+k.renderHTML()+""}if(g&&k.ListBox){if(g.Button||g.SplitButton){f+=c.createHTML("td",{"class":"mceToolbarStart"},c.createHTML("span",null,""))}}}j="mceToolbarEnd";if(k.Button){j+=" mceToolbarEndButton"}else{if(k.SplitButton){j+=" mceToolbarEndSplitButton"}else{if(k.ListBox){j+=" mceToolbarEndListBox"}}}f+=c.createHTML("td",{"class":j},c.createHTML("span",null,""));return c.createHTML("table",{id:m.id,"class":"mceToolbar"+(n["class"]?" "+n["class"]:""),cellpadding:"0",cellspacing:"0",align:m.settings.align||"",role:"presentation",tabindex:"-1"},""+f+"")}})})(tinymce);(function(b){var a=b.util.Dispatcher,c=b.each;b.create("tinymce.AddOnManager",{AddOnManager:function(){var d=this;d.items=[];d.urls={};d.lookup={};d.onAdd=new a(d)},get:function(d){if(this.lookup[d]){return this.lookup[d].instance}else{return undefined}},dependencies:function(e){var d;if(this.lookup[e]){d=this.lookup[e].dependencies}return d||[]},requireLangPack:function(e){var d=b.settings;if(d&&d.language&&d.language_load!==false){b.ScriptLoader.add(this.urls[e]+"/langs/"+d.language+".js")}},add:function(f,e,d){this.items.push(e);this.lookup[f]={instance:e,dependencies:d};this.onAdd.dispatch(this,f,e);return e},createUrl:function(d,e){if(typeof e==="object"){return e}else{return{prefix:d.prefix,resource:e,suffix:d.suffix}}},addComponents:function(f,d){var e=this.urls[f];b.each(d,function(g){b.ScriptLoader.add(e+"/"+g)})},load:function(j,f,d,h){var g=this,e=f;function i(){var k=g.dependencies(j);b.each(k,function(m){var l=g.createUrl(f,m);g.load(l.resource,l,undefined,undefined)});if(d){if(h){d.call(h)}else{d.call(b.ScriptLoader)}}}if(g.urls[j]){return}if(typeof f==="object"){e=f.prefix+f.resource+f.suffix}if(e.indexOf("/")!==0&&e.indexOf("://")==-1){e=b.baseURL+"/"+e}g.urls[j]=e.substring(0,e.lastIndexOf("/"));if(g.lookup[j]){i()}else{b.ScriptLoader.add(e,i,h)}}});b.PluginManager=new b.AddOnManager();b.ThemeManager=new b.AddOnManager()}(tinymce));(function(j){var g=j.each,d=j.extend,k=j.DOM,i=j.dom.Event,f=j.ThemeManager,b=j.PluginManager,e=j.explode,h=j.util.Dispatcher,a,c=0;j.documentBaseURL=window.location.href.replace(/[\?#].*$/,"").replace(/[\/\\][^\/]+$/,"");if(!/[\/\\]$/.test(j.documentBaseURL)){j.documentBaseURL+="/"}j.baseURL=new j.util.URI(j.documentBaseURL).toAbsolute(j.baseURL);j.baseURI=new j.util.URI(j.baseURL);j.onBeforeUnload=new h(j);i.add(window,"beforeunload",function(l){j.onBeforeUnload.dispatch(j,l)});j.onAddEditor=new h(j);j.onRemoveEditor=new h(j);j.EditorManager=d(j,{editors:[],i18n:{},activeEditor:null,init:function(x){var v=this,o,n=j.ScriptLoader,u,l=[],r;function q(t){var s=t.id;if(!s){s=t.name;if(s&&!k.get(s)){s=t.name}else{s=k.uniqueId()}t.setAttribute("id",s)}return s}function m(z,A,t){var y=z[A];if(!y){return}if(j.is(y,"string")){t=y.replace(/\.\w+$/,"");t=t?j.resolve(t):0;y=j.resolve(y)}return y.apply(t||this,Array.prototype.slice.call(arguments,2))}function p(t,s){return s.constructor===RegExp?s.test(t.className):k.hasClass(t,s)}v.settings=x;i.bind(window,"ready",function(){var s,t;m(x,"onpageload");switch(x.mode){case"exact":s=x.elements||"";if(s.length>0){g(e(s),function(y){if(k.get(y)){r=new j.Editor(y,x);l.push(r);r.render(1)}else{g(document.forms,function(z){g(z.elements,function(A){if(A.name===y){y="mce_editor_"+c++;k.setAttrib(A,"id",y);r=new j.Editor(y,x);l.push(r);r.render(1)}})})}})}break;case"textareas":case"specific_textareas":g(k.select("textarea"),function(y){if(x.editor_deselector&&p(y,x.editor_deselector)){return}if(!x.editor_selector||p(y,x.editor_selector)){r=new j.Editor(q(y),x);l.push(r);r.render(1)}});break;default:if(x.types){g(x.types,function(y){g(k.select(y.selector),function(A){var z=new j.Editor(q(A),j.extend({},x,y));l.push(z);z.render(1)})})}else{if(x.selector){g(k.select(x.selector),function(z){var y=new j.Editor(q(z),x);l.push(y);y.render(1)})}}}if(x.oninit){s=t=0;g(l,function(y){t++;if(!y.initialized){y.onInit.add(function(){s++;if(s==t){m(x,"oninit")}})}else{s++}if(s==t){m(x,"oninit")}})}})},get:function(l){if(l===a){return this.editors}if(!this.editors.hasOwnProperty(l)){return a}return this.editors[l]},getInstanceById:function(l){return this.get(l)},add:function(m){var l=this,n=l.editors;n[m.id]=m;n.push(m);l._setActive(m);l.onAddEditor.dispatch(l,m);return m},remove:function(n){var m=this,l,o=m.editors;if(!o[n.id]){return null}delete o[n.id];for(l=0;l':"",visual:n,font_size_style_values:"xx-small,x-small,small,medium,large,x-large,xx-large",font_size_legacy_values:"xx-small,small,medium,large,x-large,xx-large,300%",apply_source_formatting:n,directionality:"ltr",forced_root_block:"p",hidden_input:n,padd_empty_editor:n,render_ui:n,indentation:"30px",fix_table_elements:n,inline_styles:n,convert_fonts_to_spans:n,indent:"simple",indent_before:"p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,ul,li,area,table,thead,tfoot,tbody,tr,section,article,hgroup,aside,figure,option,optgroup,datalist",indent_after:"p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,ul,li,area,table,thead,tfoot,tbody,tr,section,article,hgroup,aside,figure,option,optgroup,datalist",validate:n,entity_encoding:"named",url_converter:m.convertURL,url_converter_scope:m,ie7_compat:n},o);m.id=m.editorId=p;m.isNotDirty=false;m.plugins={};m.documentBaseURI=new k.util.URI(o.document_base_url||k.documentBaseURL,{base_uri:tinyMCE.baseURI});m.baseURI=k.baseURI;m.contentCSS=[];m.contentStyles=[];m.setupEvents();m.execCommands={};m.queryStateCommands={};m.queryValueCommands={};m.execCallback("setup",m)},render:function(o){var p=this,q=p.settings,r=p.id,m=k.ScriptLoader;if(!j.domLoaded){j.add(window,"ready",function(){p.render()});return}tinyMCE.settings=q;if(!p.getElement()){return}if(k.isIDevice&&!k.isIOS5){return}if(!/TEXTAREA|INPUT/i.test(p.getElement().nodeName)&&q.hidden_input&&l.getParent(r,"form")){l.insertAfter(l.create("input",{type:"hidden",name:r}),r)}if(!q.content_editable){p.orgVisibility=p.getElement().style.visibility;p.getElement().style.visibility="hidden"}if(k.WindowManager){p.windowManager=new k.WindowManager(p)}if(q.encoding=="xml"){p.onGetContent.add(function(s,t){if(t.save){t.content=l.encode(t.content)}})}if(q.add_form_submit_trigger){p.onSubmit.addToTop(function(){if(p.initialized){p.save();p.isNotDirty=1}})}if(q.add_unload_trigger){p._beforeUnload=tinyMCE.onBeforeUnload.add(function(){if(p.initialized&&!p.destroyed&&!p.isHidden()){p.save({format:"raw",no_events:true})}})}k.addUnload(p.destroy,p);if(q.submit_patch){p.onBeforeRenderUI.add(function(){var s=p.getElement().form;if(!s){return}if(s._mceOldSubmit){return}if(!s.submit.nodeType&&!s.submit.length){p.formElement=s;s._mceOldSubmit=s.submit;s.submit=function(){k.triggerSave();p.isNotDirty=1;return p.formElement._mceOldSubmit(p.formElement)}}s=null})}function n(){if(q.language&&q.language_load!==false){m.add(k.baseURL+"/langs/"+q.language+".js")}if(q.theme&&typeof q.theme!="function"&&q.theme.charAt(0)!="-"&&!h.urls[q.theme]){h.load(q.theme,"themes/"+q.theme+"/editor_template"+k.suffix+".js")}i(g(q.plugins),function(t){if(t&&!c.urls[t]){if(t.charAt(0)=="-"){t=t.substr(1,t.length);var s=c.dependencies(t);i(s,function(v){var u={prefix:"plugins/",resource:v,suffix:"/editor_plugin"+k.suffix+".js"};v=c.createUrl(u,v);c.load(v.resource,v)})}else{if(t=="safari"){return}c.load(t,{prefix:"plugins/",resource:t,suffix:"/editor_plugin"+k.suffix+".js"})}}});m.loadQueue(function(){if(!p.removed){p.init()}})}n()},init:function(){var q,G=this,H=G.settings,D,y,z,C=G.getElement(),p,m,E,v,B,F,x,r=[];k.add(G);H.aria_label=H.aria_label||l.getAttrib(C,"aria-label",G.getLang("aria.rich_text_area"));if(H.theme){if(typeof H.theme!="function"){H.theme=H.theme.replace(/-/,"");p=h.get(H.theme);G.theme=new p();if(G.theme.init){G.theme.init(G,h.urls[H.theme]||k.documentBaseURL.replace(/\/$/,""))}}else{G.theme=H.theme}}function A(s){var t=c.get(s),o=c.urls[s]||k.documentBaseURL.replace(/\/$/,""),n;if(t&&k.inArray(r,s)===-1){i(c.dependencies(s),function(u){A(u)});n=new t(G,o);G.plugins[s]=n;if(n.init){n.init(G,o);r.push(s)}}}i(g(H.plugins.replace(/\-/g,"")),A);if(H.popup_css!==false){if(H.popup_css){H.popup_css=G.documentBaseURI.toAbsolute(H.popup_css)}else{H.popup_css=G.baseURI.toAbsolute("themes/"+H.theme+"/skins/"+H.skin+"/dialog.css")}}if(H.popup_css_add){H.popup_css+=","+G.documentBaseURI.toAbsolute(H.popup_css_add)}G.controlManager=new k.ControlManager(G);G.onBeforeRenderUI.dispatch(G,G.controlManager);if(H.render_ui&&G.theme){G.orgDisplay=C.style.display;if(typeof H.theme!="function"){D=H.width||C.style.width||C.offsetWidth;y=H.height||C.style.height||C.offsetHeight;z=H.min_height||100;F=/^[0-9\.]+(|px)$/i;if(F.test(""+D)){D=Math.max(parseInt(D,10)+(p.deltaWidth||0),100)}if(F.test(""+y)){y=Math.max(parseInt(y,10)+(p.deltaHeight||0),z)}p=G.theme.renderUI({targetNode:C,width:D,height:y,deltaWidth:H.delta_width,deltaHeight:H.delta_height});l.setStyles(p.sizeContainer||p.editorContainer,{width:D,height:y});y=(p.iframeHeight||y)+(typeof(y)=="number"?(p.deltaHeight||0):"");if(y';if(H.document_base_url!=k.documentBaseURL){G.iframeHTML+=''}if(H.ie7_compat){G.iframeHTML+=''}else{G.iframeHTML+=''}G.iframeHTML+='';for(x=0;x'}G.contentCSS=[];v=H.body_id||"tinymce";if(v.indexOf("=")!=-1){v=G.getParam("body_id","","hash");v=v[G.id]||v}B=H.body_class||"";if(B.indexOf("=")!=-1){B=G.getParam("body_class","","hash");B=B[G.id]||""}G.iframeHTML+='
    ";if(k.relaxedDomain&&(b||(k.isOpera&&parseFloat(opera.version())<11))){E='javascript:(function(){document.open();document.domain="'+document.domain+'";var ed = window.parent.tinyMCE.get("'+G.id+'");document.write(ed.iframeHTML);document.close();ed.initContentBody();})()'}q=l.add(p.iframeContainer,"iframe",{id:G.id+"_ifr",src:E||'javascript:""',frameBorder:"0",allowTransparency:"true",title:H.aria_label,style:{width:"100%",height:y,display:"block"}});G.contentAreaContainer=p.iframeContainer;if(p.editorContainer){l.get(p.editorContainer).style.display=G.orgDisplay}C.style.visibility=G.orgVisibility;l.get(G.id).style.display="none";l.setAttrib(G.id,"aria-hidden",true);if(!k.relaxedDomain||!E){G.initContentBody()}C=q=p=null},initContentBody:function(){var n=this,p=n.settings,q=l.get(n.id),r=n.getDoc(),o,m,s;if((!b||!k.relaxedDomain)&&!p.content_editable){r.open();r.write(n.iframeHTML);r.close();if(k.relaxedDomain){r.domain=k.relaxedDomain}}if(p.content_editable){l.addClass(q,"mceContentBody");n.contentDocument=r=p.content_document||document;n.contentWindow=p.content_window||window;n.bodyElement=q;p.content_document=p.content_window=null}m=n.getBody();m.disabled=true;if(!p.readonly){m.contentEditable=n.getParam("content_editable_state",true)}m.disabled=false;n.schema=new k.html.Schema(p);n.dom=new k.dom.DOMUtils(r,{keep_values:true,url_converter:n.convertURL,url_converter_scope:n,hex_colors:p.force_hex_style_colors,class_filter:p.class_filter,update_styles:true,root_element:p.content_editable?n.id:null,schema:n.schema});n.parser=new k.html.DomParser(p,n.schema);n.parser.addAttributeFilter("src,href,style",function(t,u){var v=t.length,y,A=n.dom,z,x;while(v--){y=t[v];z=y.attr(u);x="data-mce-"+u;if(!y.attributes.map[x]){if(u==="style"){y.attr(x,A.serializeStyle(A.parseStyle(z),y.name))}else{y.attr(x,n.convertURL(z,u,y.name))}}}});n.parser.addNodeFilter("script",function(t,u){var v=t.length,x;while(v--){x=t[v];x.attr("type","mce-"+(x.attr("type")||"text/javascript"))}});n.parser.addNodeFilter("#cdata",function(t,u){var v=t.length,x;while(v--){x=t[v];x.type=8;x.name="#comment";x.value="[CDATA["+x.value+"]]"}});n.parser.addNodeFilter("p,h1,h2,h3,h4,h5,h6,div",function(u,v){var x=u.length,y,t=n.schema.getNonEmptyElements();while(x--){y=u[x];if(y.isEmpty(t)){y.empty().append(new k.html.Node("br",1)).shortEnded=true}}});n.serializer=new k.dom.Serializer(p,n.dom,n.schema);n.selection=new k.dom.Selection(n.dom,n.getWin(),n.serializer,n);n.formatter=new k.Formatter(n);n.undoManager=new k.UndoManager(n);n.forceBlocks=new k.ForceBlocks(n);n.enterKey=new k.EnterKey(n);n.editorCommands=new k.EditorCommands(n);n.onExecCommand.add(function(t,u){if(!/^(FontName|FontSize)$/.test(u)){n.nodeChanged()}});n.serializer.onPreProcess.add(function(t,u){return n.onPreProcess.dispatch(n,u,t)});n.serializer.onPostProcess.add(function(t,u){return n.onPostProcess.dispatch(n,u,t)});n.onPreInit.dispatch(n);if(!p.browser_spellcheck&&!p.gecko_spellcheck){r.body.spellcheck=false}if(!p.readonly){n.bindNativeEvents()}n.controlManager.onPostRender.dispatch(n,n.controlManager);n.onPostRender.dispatch(n);n.quirks=k.util.Quirks(n);if(p.directionality){m.dir=p.directionality}if(p.nowrap){m.style.whiteSpace="nowrap"}if(p.protect){n.onBeforeSetContent.add(function(t,u){i(p.protect,function(v){u.content=u.content.replace(v,function(x){return""})})})}n.onSetContent.add(function(){n.addVisual(n.getBody())});if(p.padd_empty_editor){n.onPostProcess.add(function(t,u){u.content=u.content.replace(/^(]*>( | |\s|\u00a0|)<\/p>[\r\n]*|
    [\r\n]*)$/,"")})}n.load({initial:true,format:"html"});n.startContent=n.getContent({format:"raw"});n.initialized=true;n.onInit.dispatch(n);n.execCallback("setupcontent_callback",n.id,m,r);n.execCallback("init_instance_callback",n);n.focus(true);n.nodeChanged({initial:true});if(n.contentStyles.length>0){s="";i(n.contentStyles,function(t){s+=t+"\r\n"});n.dom.addStyle(s)}i(n.contentCSS,function(t){n.dom.loadCSS(t)});if(p.auto_focus){setTimeout(function(){var t=k.get(p.auto_focus);t.selection.select(t.getBody(),1);t.selection.collapse(1);t.getBody().focus();t.getWin().focus()},100)}q=r=m=null},focus:function(p){var o,u=this,t=u.selection,q=u.settings.content_editable,n,r,s=u.getDoc(),m;if(!p){if(u.lastIERng){t.setRng(u.lastIERng)}n=t.getRng();if(n.item){r=n.item(0)}u._refreshContentEditable();if(!q){u.getWin().focus()}if(k.isGecko||q){m=u.getBody();if(m.setActive){m.setActive()}else{m.focus()}if(q){t.normalize()}}if(r&&r.ownerDocument==s){n=s.body.createControlRange();n.addElement(r);n.select()}}if(k.activeEditor!=u){if((o=k.activeEditor)!=null){o.onDeactivate.dispatch(o,u)}u.onActivate.dispatch(u,o)}k._setActive(u)},execCallback:function(q){var m=this,p=m.settings[q],o;if(!p){return}if(m.callbackLookup&&(o=m.callbackLookup[q])){p=o.func;o=o.scope}if(d(p,"string")){o=p.replace(/\.\w+$/,"");o=o?k.resolve(o):0;p=k.resolve(p);m.callbackLookup=m.callbackLookup||{};m.callbackLookup[q]={func:p,scope:o}}return p.apply(o||m,Array.prototype.slice.call(arguments,1))},translate:function(m){var o=this.settings.language||"en",n=k.i18n;if(!m){return""}return n[o+"."+m]||m.replace(/\{\#([^\}]+)\}/g,function(q,p){return n[o+"."+p]||"{#"+p+"}"})},getLang:function(o,m){return k.i18n[(this.settings.language||"en")+"."+o]||(d(m)?m:"{#"+o+"}")},getParam:function(t,q,m){var r=k.trim,p=d(this.settings[t])?this.settings[t]:q,s;if(m==="hash"){s={};if(d(p,"string")){i(p.indexOf("=")>0?p.split(/[;,](?![^=;,]*(?:[;,]|$))/):p.split(","),function(n){n=n.split("=");if(n.length>1){s[r(n[0])]=r(n[1])}else{s[r(n[0])]=r(n)}})}else{s=p}return s}return p},nodeChanged:function(q){var m=this,n=m.selection,p;if(m.initialized){q=q||{};p=n.getStart()||m.getBody();p=b&&p.ownerDocument!=m.getDoc()?m.getBody():p;q.parents=[];m.dom.getParent(p,function(o){if(o.nodeName=="BODY"){return true}q.parents.push(o)});m.onNodeChange.dispatch(m,q?q.controlManager||m.controlManager:m.controlManager,p,n.isCollapsed(),q)}},addButton:function(n,o){var m=this;m.buttons=m.buttons||{};m.buttons[n]=o},addCommand:function(m,o,n){this.execCommands[m]={func:o,scope:n||this}},addQueryStateHandler:function(m,o,n){this.queryStateCommands[m]={func:o,scope:n||this}},addQueryValueHandler:function(m,o,n){this.queryValueCommands[m]={func:o,scope:n||this}},addShortcut:function(o,q,m,p){var n=this,r;if(n.settings.custom_shortcuts===false){return false}n.shortcuts=n.shortcuts||{};if(d(m,"string")){r=m;m=function(){n.execCommand(r,false,null)}}if(d(m,"object")){r=m;m=function(){n.execCommand(r[0],r[1],r[2])}}i(g(o),function(s){var t={func:m,scope:p||this,desc:n.translate(q),alt:false,ctrl:false,shift:false};i(g(s,"+"),function(u){switch(u){case"alt":case"ctrl":case"shift":t[u]=true;break;default:t.charCode=u.charCodeAt(0);t.keyCode=u.toUpperCase().charCodeAt(0)}});n.shortcuts[(t.ctrl?"ctrl":"")+","+(t.alt?"alt":"")+","+(t.shift?"shift":"")+","+t.keyCode]=t});return true},execCommand:function(u,r,x,m){var p=this,q=0,v,n;if(!/^(mceAddUndoLevel|mceEndUndoLevel|mceBeginUndoLevel|mceRepaint|SelectAll)$/.test(u)&&(!m||!m.skip_focus)){p.focus()}m=f({},m);p.onBeforeExecCommand.dispatch(p,u,r,x,m);if(m.terminate){return false}if(p.execCallback("execcommand_callback",p.id,p.selection.getNode(),u,r,x)){p.onExecCommand.dispatch(p,u,r,x,m);return true}if(v=p.execCommands[u]){n=v.func.call(v.scope,r,x);if(n!==true){p.onExecCommand.dispatch(p,u,r,x,m);return n}}i(p.plugins,function(o){if(o.execCommand&&o.execCommand(u,r,x)){p.onExecCommand.dispatch(p,u,r,x,m);q=1;return false}});if(q){return true}if(p.theme&&p.theme.execCommand&&p.theme.execCommand(u,r,x)){p.onExecCommand.dispatch(p,u,r,x,m);return true}if(p.editorCommands.execCommand(u,r,x)){p.onExecCommand.dispatch(p,u,r,x,m);return true}p.getDoc().execCommand(u,r,x);p.onExecCommand.dispatch(p,u,r,x,m)},queryCommandState:function(q){var n=this,r,p;if(n._isHidden()){return}if(r=n.queryStateCommands[q]){p=r.func.call(r.scope);if(p!==true){return p}}r=n.editorCommands.queryCommandState(q);if(r!==-1){return r}try{return this.getDoc().queryCommandState(q)}catch(m){}},queryCommandValue:function(r){var n=this,q,p;if(n._isHidden()){return}if(q=n.queryValueCommands[r]){p=q.func.call(q.scope);if(p!==true){return p}}q=n.editorCommands.queryCommandValue(r);if(d(q)){return q}try{return this.getDoc().queryCommandValue(r)}catch(m){}},show:function(){var m=this;l.show(m.getContainer());l.hide(m.id);m.load()},hide:function(){var m=this,n=m.getDoc();if(b&&n){n.execCommand("SelectAll")}m.save();setTimeout(function(){l.hide(m.getContainer())},1);l.setStyle(m.id,"display",m.orgDisplay)},isHidden:function(){return !l.isHidden(this.id)},setProgressState:function(m,n,p){this.onSetProgressState.dispatch(this,m,n,p);return m},load:function(q){var m=this,p=m.getElement(),n;if(p){q=q||{};q.load=true;n=m.setContent(d(p.value)?p.value:p.innerHTML,q);q.element=p;if(!q.no_events){m.onLoadContent.dispatch(m,q)}q.element=p=null;return n}},save:function(r){var m=this,q=m.getElement(),n,p;if(!q||!m.initialized){return}r=r||{};r.save=true;r.element=q;n=r.content=m.getContent(r);if(!r.no_events){m.onSaveContent.dispatch(m,r)}n=r.content;if(!/TEXTAREA|INPUT/i.test(q.nodeName)){q.innerHTML=n;if(p=l.getParent(m.id,"form")){i(p.elements,function(o){if(o.name==m.id){o.value=n;return false}})}}else{q.value=n}r.element=q=null;return n},setContent:function(r,p){var o=this,n,m=o.getBody(),q;p=p||{};p.format=p.format||"html";p.set=true;p.content=r;if(!p.no_events){o.onBeforeSetContent.dispatch(o,p)}r=p.content;if(!k.isIE&&(r.length===0||/^\s+$/.test(r))){q=o.settings.forced_root_block;if(q){r="<"+q+'>
    "}else{r='
    '}m.innerHTML=r;o.selection.select(m,true);o.selection.collapse(true);return}if(p.format!=="raw"){r=new k.html.Serializer({},o.schema).serialize(o.parser.parse(r))}p.content=k.trim(r);o.dom.setHTML(m,p.content);if(!p.no_events){o.onSetContent.dispatch(o,p)}if(!o.settings.content_editable||document.activeElement===o.getBody()){o.selection.normalize()}return p.content},getContent:function(o){var n=this,p,m=n.getBody();o=o||{};o.format=o.format||"html";o.get=true;o.getInner=true;if(!o.no_events){n.onBeforeGetContent.dispatch(n,o)}if(o.format=="raw"){p=m.innerHTML}else{if(o.format=="text"){p=m.innerText||m.textContent}else{p=n.serializer.serialize(m,o)}}if(o.format!="text"){o.content=k.trim(p)}else{o.content=p}if(!o.no_events){n.onGetContent.dispatch(n,o)}return o.content},isDirty:function(){var m=this;return k.trim(m.startContent)!=k.trim(m.getContent({format:"raw",no_events:1}))&&!m.isNotDirty},getContainer:function(){var m=this;if(!m.container){m.container=l.get(m.editorContainer||m.id+"_parent")}return m.container},getContentAreaContainer:function(){return this.contentAreaContainer},getElement:function(){return l.get(this.settings.content_element||this.id)},getWin:function(){var m=this,n;if(!m.contentWindow){n=l.get(m.id+"_ifr");if(n){m.contentWindow=n.contentWindow}}return m.contentWindow},getDoc:function(){var m=this,n;if(!m.contentDocument){n=m.getWin();if(n){m.contentDocument=n.document}}return m.contentDocument},getBody:function(){return this.bodyElement||this.getDoc().body},convertURL:function(o,n,q){var m=this,p=m.settings;if(p.urlconverter_callback){return m.execCallback("urlconverter_callback",o,q,true,n)}if(!p.convert_urls||(q&&q.nodeName=="LINK")||o.indexOf("file:")===0){return o}if(p.relative_urls){return m.documentBaseURI.toRelative(o)}o=m.documentBaseURI.toAbsolute(o,p.remove_script_host);return o},addVisual:function(q){var n=this,o=n.settings,p=n.dom,m;q=q||n.getBody();if(!d(n.hasVisual)){n.hasVisual=o.visual}i(p.select("table,a",q),function(s){var r;switch(s.nodeName){case"TABLE":m=o.visual_table_class||"mceItemTable";r=p.getAttrib(s,"border");if(!r||r=="0"){if(n.hasVisual){p.addClass(s,m)}else{p.removeClass(s,m)}}return;case"A":if(!p.getAttrib(s,"href",false)){r=p.getAttrib(s,"name")||s.id;m="mceItemAnchor";if(r){if(n.hasVisual){p.addClass(s,m)}else{p.removeClass(s,m)}}}return}});n.onVisualAid.dispatch(n,q,n.hasVisual)},remove:function(){var m=this,n=m.getContainer();if(!m.removed){m.removed=1;m.hide();if(!m.settings.content_editable){j.unbind(m.getWin());j.unbind(m.getDoc())}j.unbind(m.getBody());j.clear(n);m.execCallback("remove_instance_callback",m);m.onRemove.dispatch(m);m.onExecCommand.listeners=[];k.remove(m);l.remove(n)}},destroy:function(n){var m=this;if(m.destroyed){return}if(a){j.unbind(m.getDoc());j.unbind(m.getWin());j.unbind(m.getBody())}if(!n){k.removeUnload(m.destroy);tinyMCE.onBeforeUnload.remove(m._beforeUnload);if(m.theme&&m.theme.destroy){m.theme.destroy()}m.controlManager.destroy();m.selection.destroy();m.dom.destroy()}if(m.formElement){m.formElement.submit=m.formElement._mceOldSubmit;m.formElement._mceOldSubmit=null}m.contentAreaContainer=m.formElement=m.container=m.settings.content_element=m.bodyElement=m.contentDocument=m.contentWindow=null;if(m.selection){m.selection=m.selection.win=m.selection.dom=m.selection.dom.doc=null}m.destroyed=1},_refreshContentEditable:function(){var n=this,m,o;if(n._isHidden()){m=n.getBody();o=m.parentNode;o.removeChild(m);o.appendChild(m);m.focus()}},_isHidden:function(){var m;if(!a){return 0}m=this.selection.getSel();return(!m||!m.rangeCount||m.rangeCount===0)}})})(tinymce);(function(a){var b=a.each;a.Editor.prototype.setupEvents=function(){var c=this,d=c.settings;b(["onPreInit","onBeforeRenderUI","onPostRender","onLoad","onInit","onRemove","onActivate","onDeactivate","onClick","onEvent","onMouseUp","onMouseDown","onDblClick","onKeyDown","onKeyUp","onKeyPress","onContextMenu","onSubmit","onReset","onPaste","onPreProcess","onPostProcess","onBeforeSetContent","onBeforeGetContent","onSetContent","onGetContent","onLoadContent","onSaveContent","onNodeChange","onChange","onBeforeExecCommand","onExecCommand","onUndo","onRedo","onVisualAid","onSetProgressState","onSetAttrib"],function(e){c[e]=new a.util.Dispatcher(c)});if(d.cleanup_callback){c.onBeforeSetContent.add(function(e,f){f.content=e.execCallback("cleanup_callback","insert_to_editor",f.content,f)});c.onPreProcess.add(function(e,f){if(f.set){e.execCallback("cleanup_callback","insert_to_editor_dom",f.node,f)}if(f.get){e.execCallback("cleanup_callback","get_from_editor_dom",f.node,f)}});c.onPostProcess.add(function(e,f){if(f.set){f.content=e.execCallback("cleanup_callback","insert_to_editor",f.content,f)}if(f.get){f.content=e.execCallback("cleanup_callback","get_from_editor",f.content,f)}})}if(d.save_callback){c.onGetContent.add(function(e,f){if(f.save){f.content=e.execCallback("save_callback",e.id,f.content,e.getBody())}})}if(d.handle_event_callback){c.onEvent.add(function(f,g,h){if(c.execCallback("handle_event_callback",g,f,h)===false){g.preventDefault();g.stopPropagation()}})}if(d.handle_node_change_callback){c.onNodeChange.add(function(f,e,g){f.execCallback("handle_node_change_callback",f.id,g,-1,-1,true,f.selection.isCollapsed())})}if(d.save_callback){c.onSaveContent.add(function(e,g){var f=e.execCallback("save_callback",e.id,g.content,e.getBody());if(f){g.content=f}})}if(d.onchange_callback){c.onChange.add(function(f,e){f.execCallback("onchange_callback",f,e)})}};a.Editor.prototype.bindNativeEvents=function(){var l=this,f,d=l.settings,e=l.dom,h;h={mouseup:"onMouseUp",mousedown:"onMouseDown",click:"onClick",keyup:"onKeyUp",keydown:"onKeyDown",keypress:"onKeyPress",submit:"onSubmit",reset:"onReset",contextmenu:"onContextMenu",dblclick:"onDblClick",paste:"onPaste"};function c(i,m){var n=i.type;if(l.removed){return}if(l.onEvent.dispatch(l,i,m)!==false){l[h[i.fakeType||i.type]].dispatch(l,i,m)}}function j(i){l.focus(true)}function k(i,m){if(m.keyCode!=65||!a.VK.metaKeyPressed(m)){l.selection.normalize()}l.nodeChanged()}b(h,function(m,n){var i=d.content_editable?l.getBody():l.getDoc();switch(n){case"contextmenu":e.bind(i,n,c);break;case"paste":e.bind(l.getBody(),n,c);break;case"submit":case"reset":e.bind(l.getElement().form||a.DOM.getParent(l.id,"form"),n,c);break;default:e.bind(i,n,c)}});e.bind(d.content_editable?l.getBody():(a.isGecko?l.getDoc():l.getWin()),"focus",function(i){l.focus(true)});if(d.content_editable&&a.isOpera){e.bind(l.getBody(),"click",j);e.bind(l.getBody(),"keydown",j)}l.onMouseUp.add(k);l.onKeyUp.add(function(i,n){var m=n.keyCode;if((m>=33&&m<=36)||(m>=37&&m<=40)||m==13||m==45||m==46||m==8||(a.isMac&&(m==91||m==93))||n.ctrlKey){k(i,n)}});l.onReset.add(function(){l.setContent(l.startContent,{format:"raw"})});function g(m,i){if(m.altKey||m.ctrlKey||m.metaKey){b(l.shortcuts,function(n){var o=a.isMac?m.metaKey:m.ctrlKey;if(n.ctrl!=o||n.alt!=m.altKey||n.shift!=m.shiftKey){return}if(m.keyCode==n.keyCode||(m.charCode&&m.charCode==n.charCode)){m.preventDefault();if(i){n.func.call(n.scope)}return true}})}}l.onKeyUp.add(function(i,m){g(m)});l.onKeyPress.add(function(i,m){g(m)});l.onKeyDown.add(function(i,m){g(m,true)});if(a.isOpera){l.onClick.add(function(i,m){m.preventDefault()})}}})(tinymce);(function(d){var e=d.each,b,a=true,c=false;d.EditorCommands=function(n){var m=n.dom,p=n.selection,j={state:{},exec:{},value:{}},k=n.settings,q=n.formatter,o;function r(z,y,x){var v;z=z.toLowerCase();if(v=j.exec[z]){v(z,y,x);return a}return c}function l(x){var v;x=x.toLowerCase();if(v=j.state[x]){return v(x)}return -1}function h(x){var v;x=x.toLowerCase();if(v=j.value[x]){return v(x)}return c}function u(v,x){x=x||"exec";e(v,function(z,y){e(y.toLowerCase().split(","),function(A){j[x][A]=z})})}d.extend(this,{execCommand:r,queryCommandState:l,queryCommandValue:h,addCommands:u});function f(y,x,v){if(x===b){x=c}if(v===b){v=null}return n.getDoc().execCommand(y,x,v)}function t(v){return q.match(v)}function s(v,x){q.toggle(v,x?{value:x}:b)}function i(v){o=p.getBookmark(v)}function g(){p.moveToBookmark(o)}u({"mceResetDesignMode,mceBeginUndoLevel":function(){},"mceEndUndoLevel,mceAddUndoLevel":function(){n.undoManager.add()},"Cut,Copy,Paste":function(z){var y=n.getDoc(),v;try{f(z)}catch(x){v=a}if(v||!y.queryCommandSupported(z)){if(d.isGecko){n.windowManager.confirm(n.getLang("clipboard_msg"),function(A){if(A){open("http://www.mozilla.org/editor/midasdemo/securityprefs.html","_blank")}})}else{n.windowManager.alert(n.getLang("clipboard_no_support"))}}},unlink:function(v){if(p.isCollapsed()){p.select(p.getNode())}f(v);p.collapse(c)},"JustifyLeft,JustifyCenter,JustifyRight,JustifyFull":function(v){var x=v.substring(7);e("left,center,right,full".split(","),function(y){if(x!=y){q.remove("align"+y)}});s("align"+x);r("mceRepaint")},"InsertUnorderedList,InsertOrderedList":function(y){var v,x;f(y);v=m.getParent(p.getNode(),"ol,ul");if(v){x=v.parentNode;if(/^(H[1-6]|P|ADDRESS|PRE)$/.test(x.nodeName)){i();m.split(x,v);g()}}},"Bold,Italic,Underline,Strikethrough,Superscript,Subscript":function(v){s(v)},"ForeColor,HiliteColor,FontName":function(y,x,v){s(y,v)},FontSize:function(z,y,x){var v,A;if(x>=1&&x<=7){A=d.explode(k.font_size_style_values);v=d.explode(k.font_size_classes);if(v){x=v[x-1]||x}else{x=A[x-1]||x}}s(z,x)},RemoveFormat:function(v){q.remove(v)},mceBlockQuote:function(v){s("blockquote")},FormatBlock:function(y,x,v){return s(v||"p")},mceCleanup:function(){var v=p.getBookmark();n.setContent(n.getContent({cleanup:a}),{cleanup:a});p.moveToBookmark(v)},mceRemoveNode:function(z,y,x){var v=x||p.getNode();if(v!=n.getBody()){i();n.dom.remove(v,a);g()}},mceSelectNodeDepth:function(z,y,x){var v=0;m.getParent(p.getNode(),function(A){if(A.nodeType==1&&v++==x){p.select(A);return c}},n.getBody())},mceSelectNode:function(y,x,v){p.select(v)},mceInsertContent:function(B,I,K){var y,J,E,z,F,G,D,C,L,x,A,M,v,H;y=n.parser;J=new d.html.Serializer({},n.schema);v='\uFEFF';G={content:K,format:"html"};p.onBeforeSetContent.dispatch(p,G);K=G.content;if(K.indexOf("{$caret}")==-1){K+="{$caret}"}K=K.replace(/\{\$caret\}/,v);if(!p.isCollapsed()){n.getDoc().execCommand("Delete",false,null)}E=p.getNode();G={context:E.nodeName.toLowerCase()};F=y.parse(K,G);A=F.lastChild;if(A.attr("id")=="mce_marker"){D=A;for(A=A.prev;A;A=A.walk(true)){if(A.type==3||!m.isBlock(A.name)){A.parent.insert(D,A,A.name==="br");break}}}if(!G.invalid){K=J.serialize(F);A=E.firstChild;M=E.lastChild;if(!A||(A===M&&A.nodeName==="BR")){m.setHTML(E,K)}else{p.setContent(K)}}else{p.setContent(v);E=p.getNode();z=n.getBody();if(E.nodeType==9){E=A=z}else{A=E}while(A!==z){E=A;A=A.parentNode}K=E==z?z.innerHTML:m.getOuterHTML(E);K=J.serialize(y.parse(K.replace(//i,function(){return J.serialize(F)})));if(E==z){m.setHTML(z,K)}else{m.setOuterHTML(E,K)}}D=m.get("mce_marker");C=m.getRect(D);L=m.getViewPort(n.getWin());if((C.y+C.h>L.y+L.h||C.yL.x+L.w||C.x")},mceToggleVisualAid:function(){n.hasVisual=!n.hasVisual;n.addVisual()},mceReplaceContent:function(y,x,v){n.execCommand("mceInsertContent",false,v.replace(/\{\$selection\}/g,p.getContent({format:"text"})))},mceInsertLink:function(z,y,x){var v;if(typeof(x)=="string"){x={href:x}}v=m.getParent(p.getNode(),"a");x.href=x.href.replace(" ","%20");if(!v||!x.href){q.remove("link")}if(x.href){q.apply("link",x,v)}},selectAll:function(){var x=m.getRoot(),v=m.createRng();if(p.getRng().setStart){v.setStart(x,0);v.setEnd(x,x.childNodes.length);p.setRng(v)}else{f("SelectAll")}}});u({"JustifyLeft,JustifyCenter,JustifyRight,JustifyFull":function(z){var x="align"+z.substring(7);var v=p.isCollapsed()?[m.getParent(p.getNode(),m.isBlock)]:p.getSelectedBlocks();var y=d.map(v,function(A){return !!q.matchNode(A,x)});return d.inArray(y,a)!==-1},"Bold,Italic,Underline,Strikethrough,Superscript,Subscript":function(v){return t(v)},mceBlockQuote:function(){return t("blockquote")},Outdent:function(){var v;if(k.inline_styles){if((v=m.getParent(p.getStart(),m.isBlock))&&parseInt(v.style.paddingLeft)>0){return a}if((v=m.getParent(p.getEnd(),m.isBlock))&&parseInt(v.style.paddingLeft)>0){return a}}return l("InsertUnorderedList")||l("InsertOrderedList")||(!k.inline_styles&&!!m.getParent(p.getNode(),"BLOCKQUOTE"))},"InsertUnorderedList,InsertOrderedList":function(x){var v=m.getParent(p.getNode(),"ul,ol");return v&&(x==="insertunorderedlist"&&v.tagName==="UL"||x==="insertorderedlist"&&v.tagName==="OL")}},"state");u({"FontSize,FontName":function(y){var x=0,v;if(v=m.getParent(p.getNode(),"span")){if(y=="fontsize"){x=v.style.fontSize}else{x=v.style.fontFamily.replace(/, /g,",").replace(/[\'\"]/g,"").toLowerCase()}}return x}},"value");u({Undo:function(){n.undoManager.undo()},Redo:function(){n.undoManager.redo()}})}})(tinymce);(function(b){var a=b.util.Dispatcher;b.UndoManager=function(h){var l,i=0,e=[],g,k,j,f;function c(){return b.trim(h.getContent({format:"raw",no_events:1}).replace(/]+data-mce-bogus[^>]+>[\u200B\uFEFF]+<\/span>/g,""))}function d(){l.typing=false;l.add()}onBeforeAdd=new a(l);k=new a(l);j=new a(l);f=new a(l);k.add(function(m,n){if(m.hasUndo()){return h.onChange.dispatch(h,n,m)}});j.add(function(m,n){return h.onUndo.dispatch(h,n,m)});f.add(function(m,n){return h.onRedo.dispatch(h,n,m)});h.onInit.add(function(){l.add()});h.onBeforeExecCommand.add(function(m,p,o,q,n){if(p!="Undo"&&p!="Redo"&&p!="mceRepaint"&&(!n||!n.skip_undo)){l.beforeChange()}});h.onExecCommand.add(function(m,p,o,q,n){if(p!="Undo"&&p!="Redo"&&p!="mceRepaint"&&(!n||!n.skip_undo)){l.add()}});h.onSaveContent.add(d);h.dom.bind(h.dom.getRoot(),"dragend",d);h.dom.bind(h.getDoc(),b.isGecko?"blur":"focusout",function(m){if(!h.removed&&l.typing){d()}});h.onKeyUp.add(function(m,o){var n=o.keyCode;if((n>=33&&n<=36)||(n>=37&&n<=40)||n==45||n==13||o.ctrlKey){d()}});h.onKeyDown.add(function(m,o){var n=o.keyCode;if((n>=33&&n<=36)||(n>=37&&n<=40)||n==45){if(l.typing){d()}return}if((n<16||n>20)&&n!=224&&n!=91&&!l.typing){l.beforeChange();l.typing=true;l.add()}});h.onMouseDown.add(function(m,n){if(l.typing){d()}});h.addShortcut("ctrl+z","undo_desc","Undo");h.addShortcut("ctrl+y","redo_desc","Redo");l={data:e,typing:false,onBeforeAdd:onBeforeAdd,onAdd:k,onUndo:j,onRedo:f,beforeChange:function(){g=h.selection.getBookmark(2,true)},add:function(p){var m,n=h.settings,o;p=p||{};p.content=c();l.onBeforeAdd.dispatch(l,p);o=e[i];if(o&&o.content==p.content){return null}if(e[i]){e[i].beforeBookmark=g}if(n.custom_undo_redo_levels){if(e.length>n.custom_undo_redo_levels){for(m=0;m0){n=e[--i];h.setContent(n.content,{format:"raw"});h.selection.moveToBookmark(n.beforeBookmark);l.onUndo.dispatch(l,n)}return n},redo:function(){var m;if(i0||this.typing},hasRedo:function(){return i0){g.moveEnd("character",q)}g.select()}catch(n){}}}c.nodeChanged()}}if(b.forced_root_block){c.onKeyUp.add(f);c.onNodeChange.add(f)}};(function(c){var b=c.DOM,a=c.dom.Event,d=c.each,e=c.extend;c.create("tinymce.ControlManager",{ControlManager:function(f,j){var h=this,g;j=j||{};h.editor=f;h.controls={};h.onAdd=new c.util.Dispatcher(h);h.onPostRender=new c.util.Dispatcher(h);h.prefix=j.prefix||f.id+"_";h._cls={};h.onPostRender.add(function(){d(h.controls,function(i){i.postRender()})})},get:function(f){return this.controls[this.prefix+f]||this.controls[f]},setActive:function(h,f){var g=null;if(g=this.get(h)){g.setActive(f)}return g},setDisabled:function(h,f){var g=null;if(g=this.get(h)){g.setDisabled(f)}return g},add:function(g){var f=this;if(g){f.controls[g.id]=g;f.onAdd.dispatch(g,f)}return g},createControl:function(j){var o,k,g,h=this,m=h.editor,n,f;if(!h.controlFactories){h.controlFactories=[];d(m.plugins,function(i){if(i.createControl){h.controlFactories.push(i)}})}n=h.controlFactories;for(k=0,g=n.length;k1||ag==ay||ag.tagName=="BR"){return ag}}}var aq=aa.selection.getRng();var av=aq.startContainer;var ap=aq.endContainer;if(av!=ap&&aq.endOffset===0){var au=ar(av,ap);var at=au.nodeType==3?au.length:au.childNodes.length;aq.setEnd(au,at)}return aq}function ad(at,ay,aw,av,aq){var ap=[],ar=-1,ax,aA=-1,au=-1,az;T(at.childNodes,function(aC,aB){if(aC.nodeName==="UL"||aC.nodeName==="OL"){ar=aB;ax=aC;return false}});T(at.childNodes,function(aC,aB){if(aC.nodeName==="SPAN"&&c.getAttrib(aC,"data-mce-type")=="bookmark"){if(aC.id==ay.id+"_start"){aA=aB}else{if(aC.id==ay.id+"_end"){au=aB}}}});if(ar<=0||(aAar)){T(a.grep(at.childNodes),aq);return 0}else{az=c.clone(aw,X);T(a.grep(at.childNodes),function(aC,aB){if((aAar&&aB>ar)){ap.push(aC);aC.parentNode.removeChild(aC)}});if(aAar){at.insertBefore(az,ax.nextSibling)}}av.push(az);T(ap,function(aB){az.appendChild(aB)});return az}}function an(aq,at,aw){var ap=[],av,ar,au=true;av=am.inline||am.block;ar=c.create(av);ab(ar);N.walk(aq,function(ax){var ay;function az(aA){var aF,aD,aB,aC,aE;aE=au;aF=aA.nodeName.toLowerCase();aD=aA.parentNode.nodeName.toLowerCase();if(aA.nodeType===1&&x(aA)){aE=au;au=x(aA)==="true";aC=true}if(g(aF,"br")){ay=0;if(am.block){c.remove(aA)}return}if(am.wrapper&&y(aA,ae,al)){ay=0;return}if(au&&!aC&&am.block&&!am.wrapper&&I(aF)){aA=c.rename(aA,av);ab(aA);ap.push(aA);ay=0;return}if(am.selector){T(ah,function(aG){if("collapsed" in aG&&aG.collapsed!==ai){return}if(c.is(aA,aG.selector)&&!b(aA)){ab(aA,aG);aB=true}});if(!am.inline||aB){ay=0;return}}if(au&&!aC&&d(av,aF)&&d(aD,av)&&!(!aw&&aA.nodeType===3&&aA.nodeValue.length===1&&aA.nodeValue.charCodeAt(0)===65279)&&!b(aA)){if(!ay){ay=c.clone(ar,X);aA.parentNode.insertBefore(ay,aA);ap.push(ay)}ay.appendChild(aA)}else{if(aF=="li"&&at){ay=ad(aA,at,ar,ap,az)}else{ay=0;T(a.grep(aA.childNodes),az);if(aC){au=aE}ay=0}}}T(ax,az)});if(am.wrap_links===false){T(ap,function(ax){function ay(aC){var aB,aA,az;if(aC.nodeName==="A"){aA=c.clone(ar,X);ap.push(aA);az=a.grep(aC.childNodes);for(aB=0;aB1||!H(az))&&ax===0){c.remove(az,1);return}if(am.inline||am.wrapper){if(!am.exact&&ax===1){az=ay(az)}T(ah,function(aB){T(c.select(aB.inline,az),function(aD){var aC;if(aB.wrap_links===false){aC=aD.parentNode;do{if(aC.nodeName==="A"){return}}while(aC=aC.parentNode)}Z(aB,al,aD,aB.exact?aD:null)})});if(y(az.parentNode,ae,al)){c.remove(az,1);az=0;return C}if(am.merge_with_parents){c.getParent(az.parentNode,function(aB){if(y(aB,ae,al)){c.remove(az,1);az=0;return C}})}if(az&&am.merge_siblings!==false){az=u(E(az),az);az=u(az,E(az,C))}}})}if(am){if(ag){if(ag.nodeType){ac=c.createRng();ac.setStartBefore(ag);ac.setEndAfter(ag);an(p(ac,ah),null,true)}else{an(ag,null,true)}}else{if(!ai||!am.inline||c.select("td.mceSelected,th.mceSelected").length){var ao=aa.selection.getNode();if(!m&&ah[0].defaultBlock&&!c.getParent(ao,c.isBlock)){Y(ah[0].defaultBlock)}aa.selection.setRng(af());ak=r.getBookmark();an(p(r.getRng(C),ah),ak);if(am.styles&&(am.styles.color||am.styles.textDecoration)){a.walk(ao,L,"childNodes");L(ao)}r.moveToBookmark(ak);R(r.getRng(C));aa.nodeChanged()}else{U("apply",ae,al)}}}}function B(ad,am,af){var ag=V(ad),ao=ag[0],ak,aj,ac,al=true;function ae(av){var au,at,ar,aq,ax,aw;if(av.nodeType===1&&x(av)){ax=al;al=x(av)==="true";aw=true}au=a.grep(av.childNodes);if(al&&!aw){for(at=0,ar=ag.length;at=0;ac--){ab=ah[ac].selector;if(!ab){return C}for(ag=ad.length-1;ag>=0;ag--){if(c.is(ad[ag],ab)){return C}}}}return X}function J(ab,ae,ac){var ad;if(!P){P={};ad={};aa.onNodeChange.addToTop(function(ag,af,ai){var ah=n(ai),aj={};T(P,function(ak,al){T(ah,function(am){if(y(am,al,{},ak.similar)){if(!ad[al]){T(ak,function(an){an(true,{node:am,format:al,parents:ah})});ad[al]=ak}aj[al]=ak;return false}})});T(ad,function(ak,al){if(!aj[al]){delete ad[al];T(ak,function(am){am(false,{node:ai,format:al,parents:ah})})}})})}T(ab.split(","),function(af){if(!P[af]){P[af]=[];P[af].similar=ac}P[af].push(ae)});return this}a.extend(this,{get:V,register:l,apply:Y,remove:B,toggle:F,match:k,matchAll:v,matchNode:y,canApply:z,formatChanged:J});j();W();function h(ab,ac){if(g(ab,ac.inline)){return C}if(g(ab,ac.block)){return C}if(ac.selector){return c.is(ab,ac.selector)}}function g(ac,ab){ac=ac||"";ab=ab||"";ac=""+(ac.nodeName||ac);ab=""+(ab.nodeName||ab);return ac.toLowerCase()==ab.toLowerCase()}function O(ac,ab){var ad=c.getStyle(ac,ab);if(ab=="color"||ab=="backgroundColor"){ad=c.toHex(ad)}if(ab=="fontWeight"&&ad==700){ad="bold"}return""+ad}function q(ab,ac){if(typeof(ab)!="string"){ab=ab(ac)}else{if(ac){ab=ab.replace(/%(\w+)/g,function(ae,ad){return ac[ad]||ae})}}return ab}function f(ab){return ab&&ab.nodeType===3&&/^([\t \r\n]+|)$/.test(ab.nodeValue)}function S(ad,ac,ab){var ae=c.create(ac,ab);ad.parentNode.insertBefore(ae,ad);ae.appendChild(ad);return ae}function p(ab,am,ae){var ap,an,ah,al,ad=ab.startContainer,ai=ab.startOffset,ar=ab.endContainer,ak=ab.endOffset;function ao(aA){var au,ax,az,aw,av,at;au=ax=aA?ad:ar;av=aA?"previousSibling":"nextSibling";at=c.getRoot();function ay(aB){return aB.nodeName=="BR"&&aB.getAttribute("data-mce-bogus")&&!aB.nextSibling}if(au.nodeType==3&&!f(au)){if(aA?ai>0:akan?an:ai];if(ad.nodeType==3){ai=0}}if(ar.nodeType==1&&ar.hasChildNodes()){an=ar.childNodes.length-1;ar=ar.childNodes[ak>an?an:ak-1];if(ar.nodeType==3){ak=ar.nodeValue.length}}function aq(au){var at=au;while(at){if(at.nodeType===1&&x(at)){return x(at)==="false"?at:au}at=at.parentNode}return au}function aj(au,ay,aA){var ax,av,az,at;function aw(aC,aE){var aF,aB,aD=aC.nodeValue;if(typeof(aE)=="undefined"){aE=aA?aD.length:0}if(aA){aF=aD.lastIndexOf(" ",aE);aB=aD.lastIndexOf("\u00a0",aE);aF=aF>aB?aF:aB;if(aF!==-1&&!ae){aF++}}else{aF=aD.indexOf(" ",aE);aB=aD.indexOf("\u00a0",aE);aF=aF!==-1&&(aB===-1||aF0&&ah.node.nodeType===3&&ah.node.nodeValue.charAt(ah.offset-1)===" "){if(ah.offset>1){ar=ah.node;ar.splitText(ah.offset-1)}}}}if(am[0].inline||am[0].block_expand){if(!am[0].inline||(ad.nodeType!=3||ai===0)){ad=ao(true)}if(!am[0].inline||(ar.nodeType!=3||ak===ar.nodeValue.length)){ar=ao()}}if(am[0].selector&&am[0].expand!==X&&!am[0].inline){ad=af(ad,"previousSibling");ar=af(ar,"nextSibling")}if(am[0].block||am[0].selector){ad=ac(ad,"previousSibling");ar=ac(ar,"nextSibling");if(am[0].block){if(!H(ad)){ad=ao(true)}if(!H(ar)){ar=ao()}}}if(ad.nodeType==1){ai=s(ad);ad=ad.parentNode}if(ar.nodeType==1){ak=s(ar)+1;ar=ar.parentNode}return{startContainer:ad,startOffset:ai,endContainer:ar,endOffset:ak}}function Z(ah,ag,ae,ab){var ad,ac,af;if(!h(ae,ah)){return X}if(ah.remove!="all"){T(ah.styles,function(aj,ai){aj=q(aj,ag);if(typeof(ai)==="number"){ai=aj;ab=0}if(!ab||g(O(ab,ai),aj)){c.setStyle(ae,ai,"")}af=1});if(af&&c.getAttrib(ae,"style")==""){ae.removeAttribute("style");ae.removeAttribute("data-mce-style")}T(ah.attributes,function(ak,ai){var aj;ak=q(ak,ag);if(typeof(ai)==="number"){ai=ak;ab=0}if(!ab||g(c.getAttrib(ab,ai),ak)){if(ai=="class"){ak=c.getAttrib(ae,ai);if(ak){aj="";T(ak.split(/\s+/),function(al){if(/mce\w+/.test(al)){aj+=(aj?" ":"")+al}});if(aj){c.setAttrib(ae,ai,aj);return}}}if(ai=="class"){ae.removeAttribute("className")}if(e.test(ai)){ae.removeAttribute("data-mce-"+ai)}ae.removeAttribute(ai)}});T(ah.classes,function(ai){ai=q(ai,ag);if(!ab||c.hasClass(ab,ai)){c.removeClass(ae,ai)}});ac=c.getAttribs(ae);for(ad=0;adad?ad:af]}if(ab.nodeType===3&&ag&&af>=ab.nodeValue.length){ab=new t(ab,aa.getBody()).next()||ab}if(ab.nodeType===3&&!ag&&af===0){ab=new t(ab,aa.getBody()).prev()||ab}return ab}function U(ak,ab,ai){var al="_mce_caret",ac=aa.settings.caret_debug;function ad(ap){var ao=c.create("span",{id:al,"data-mce-bogus":true,style:ac?"color:red":""});if(ap){ao.appendChild(aa.getDoc().createTextNode(G))}return ao}function aj(ap,ao){while(ap){if((ap.nodeType===3&&ap.nodeValue!==G)||ap.childNodes.length>1){return false}if(ao&&ap.nodeType===1){ao.push(ap)}ap=ap.firstChild}return true}function ag(ao){while(ao){if(ao.id===al){return ao}ao=ao.parentNode}}function af(ao){var ap;if(ao){ap=new t(ao,ao);for(ao=ap.current();ao;ao=ap.next()){if(ao.nodeType===3){return ao}}}}function ae(aq,ap){var ar,ao;if(!aq){aq=ag(r.getStart());if(!aq){while(aq=c.get(al)){ae(aq,false)}}}else{ao=r.getRng(true);if(aj(aq)){if(ap!==false){ao.setStartBefore(aq);ao.setEndBefore(aq)}c.remove(aq)}else{ar=af(aq);if(ar.nodeValue.charAt(0)===G){ar=ar.deleteData(0,1)}c.remove(aq,1)}r.setRng(ao)}}function ah(){var aq,ao,av,au,ar,ap,at;aq=r.getRng(true);au=aq.startOffset;ap=aq.startContainer;at=ap.nodeValue;ao=ag(r.getStart());if(ao){av=af(ao)}if(at&&au>0&&au=0;at--){aq.appendChild(c.clone(ax[at],false));aq=aq.firstChild}aq.appendChild(c.doc.createTextNode(G));aq=aq.firstChild;c.insertAfter(aw,ay);r.setCursorLocation(aq,1)}}function an(){var ap,ao,aq;ao=ag(r.getStart());if(ao&&!c.isEmpty(ao)){a.walk(ao,function(ar){if(ar.nodeType==1&&ar.id!==al&&!c.isEmpty(ar)){c.setAttrib(ar,"data-mce-bogus",null)}},"childNodes")}}if(!self._hasCaretEvents){aa.onBeforeGetContent.addToTop(function(){var ao=[],ap;if(aj(ag(r.getStart()),ao)){ap=ao.length;while(ap--){c.setAttrib(ao[ap],"data-mce-bogus","1")}}});a.each("onMouseUp onKeyUp".split(" "),function(ao){aa[ao].addToTop(function(){ae();an()})});aa.onKeyDown.addToTop(function(ao,aq){var ap=aq.keyCode;if(ap==8||ap==37||ap==39){ae(ag(r.getStart()))}an()});r.onSetContent.add(an);self._hasCaretEvents=true}if(ak=="apply"){ah()}else{am()}}function R(ac){var ab=ac.startContainer,ai=ac.startOffset,ae,ah,ag,ad,af;if(ab.nodeType==3&&ai>=ab.nodeValue.length){ai=s(ab);ab=ab.parentNode;ae=true}if(ab.nodeType==1){ad=ab.childNodes;ab=ad[Math.min(ai,ad.length-1)];ah=new t(ab,c.getParent(ab,c.isBlock));if(ai>ad.length-1||ae){ah.next()}for(ag=ah.current();ag;ag=ah.next()){if(ag.nodeType==3&&!f(ag)){af=c.create("a",null,G);ag.parentNode.insertBefore(af,ag);ac.setStart(ag,0);r.setRng(ac);c.remove(af);return}}}}}})(tinymce);tinymce.onAddEditor.add(function(e,a){var d,h,g,c=a.settings;function b(j,i){e.each(i,function(l,k){if(l){g.setStyle(j,k,l)}});g.rename(j,"span")}function f(i,j){g=i.dom;if(c.convert_fonts_to_spans){e.each(g.select("font,u,strike",j.node),function(k){d[k.nodeName.toLowerCase()](a.dom,k)})}}if(c.inline_styles){h=e.explode(c.font_size_legacy_values);d={font:function(j,i){b(i,{backgroundColor:i.style.backgroundColor,color:i.color,fontFamily:i.face,fontSize:h[parseInt(i.size,10)-1]})},u:function(j,i){b(i,{textDecoration:"underline"})},strike:function(j,i){b(i,{textDecoration:"line-through"})}};a.onPreProcess.add(f);a.onSetContent.add(f);a.onInit.add(function(){a.selection.onSetContent.add(f)})}});(function(b){var a=b.dom.TreeWalker;b.EnterKey=function(f){var i=f.dom,e=f.selection,d=f.settings,h=f.undoManager,c=f.schema.getNonEmptyElements();function g(A){var v=e.getRng(true),G,j,z,u,p,M,B,o,k,n,t,J,x,C;function E(N){return N&&i.isBlock(N)&&!/^(TD|TH|CAPTION|FORM)$/.test(N.nodeName)&&!/^(fixed|absolute)/i.test(N.style.position)&&i.getContentEditable(N)!=="true"}function F(O){var N;if(b.isIE&&i.isBlock(O)){N=e.getRng();O.appendChild(i.create("span",null,"\u00a0"));e.select(O);O.lastChild.outerHTML="";e.setRng(N)}}function y(P){var O=P,Q=[],N;while(O=O.firstChild){if(i.isBlock(O)){return}if(O.nodeType==1&&!c[O.nodeName.toLowerCase()]){Q.push(O)}}N=Q.length;while(N--){O=Q[N];if(!O.hasChildNodes()||(O.firstChild==O.lastChild&&O.firstChild.nodeValue==="")){i.remove(O)}else{if(O.nodeName=="A"&&(O.innerText||O.textContent)===" "){i.remove(O)}}}}function m(O){var T,R,N,U,S,Q=O,P;N=i.createRng();if(O.hasChildNodes()){T=new a(O,O);while(R=T.current()){if(R.nodeType==3){N.setStart(R,0);N.setEnd(R,0);break}if(c[R.nodeName.toLowerCase()]){N.setStartBefore(R);N.setEndBefore(R);break}Q=R;R=T.next()}if(!R){N.setStart(Q,0);N.setEnd(Q,0)}}else{if(O.nodeName=="BR"){if(O.nextSibling&&i.isBlock(O.nextSibling)){if(!M||M<9){P=i.create("br");O.parentNode.insertBefore(P,O)}N.setStartBefore(O);N.setEndBefore(O)}else{N.setStartAfter(O);N.setEndAfter(O)}}else{N.setStart(O,0);N.setEnd(O,0)}}e.setRng(N);i.remove(P);S=i.getViewPort(f.getWin());U=i.getPos(O).y;if(US.y+S.h){f.getWin().scrollTo(0,U'}return R}function q(Q){var P,O,N;if(z.nodeType==3&&(Q?u>0:u=z.nodeValue.length){if(!b.isIE&&!D()){O=i.create("br");v.insertNode(O);v.setStartAfter(O);v.setEndAfter(O);N=true}}O=i.create("br");v.insertNode(O);if(b.isIE&&t=="PRE"&&(!M||M<8)){O.parentNode.insertBefore(i.doc.createTextNode("\r"),O)}if(!N){v.setStartAfter(O);v.setEndAfter(O)}else{v.setStartBefore(O);v.setEndBefore(O)}e.setRng(v);h.add()}function s(N){do{if(N.nodeType===3){N.nodeValue=N.nodeValue.replace(/^[\r\n]+/,"")}N=N.firstChild}while(N)}function K(P){var N=i.getRoot(),O,Q;O=P;while(O!==N&&i.getContentEditable(O)!=="false"){if(i.getContentEditable(O)==="true"){Q=O}O=O.parentNode}return O!==N?Q:N}function I(O){var N;if(!b.isIE){O.normalize();N=O.lastChild;if(!N||(/^(left|right)$/gi.test(i.getStyle(N,"float",true)))){i.add(O,"br")}}}if(!v.collapsed){f.execCommand("Delete");return}if(A.isDefaultPrevented()){return}z=v.startContainer;u=v.startOffset;x=(d.force_p_newlines?"p":"")||d.forced_root_block;x=x?x.toUpperCase():"";M=i.doc.documentMode;B=A.shiftKey;if(z.nodeType==1&&z.hasChildNodes()){C=u>z.childNodes.length-1;z=z.childNodes[Math.min(u,z.childNodes.length-1)]||z;if(C&&z.nodeType==3){u=z.nodeValue.length}else{u=0}}j=K(z);if(!j){return}h.beforeChange();if(!i.isBlock(j)&&j!=i.getRoot()){if(!x||B){L()}return}if((x&&!B)||(!x&&B)){z=l(z,u)}p=i.getParent(z,i.isBlock);n=p?i.getParent(p.parentNode,i.isBlock):null;t=p?p.nodeName.toUpperCase():"";J=n?n.nodeName.toUpperCase():"";if(J=="LI"&&!A.ctrlKey){p=n;t=J}if(t=="LI"){if(!x&&B){L();return}if(i.isEmpty(p)){if(/^(UL|OL|LI)$/.test(n.parentNode.nodeName)){return false}H();return}}if(t=="PRE"&&d.br_in_pre!==false){if(!B){L();return}}else{if((!x&&!B&&t!="LI")||(x&&B)){L();return}}x=x||"P";if(q()){if(/^(H[1-6]|PRE)$/.test(t)&&J!="HGROUP"){o=r(x)}else{o=r()}if(d.end_container_on_empty_block&&E(n)&&i.isEmpty(p)){o=i.split(n,p)}else{i.insertAfter(o,p)}m(o)}else{if(q(true)){o=p.parentNode.insertBefore(r(),p);F(o)}else{G=v.cloneRange();G.setEndAfter(p);k=G.extractContents();s(k);o=k.firstChild;i.insertAfter(k,p);y(o);I(p);m(o)}}i.setAttrib(o,"id","");h.add()}f.onKeyDown.add(function(k,j){if(j.keyCode==13){if(g(j)!==false){j.preventDefault()}}})}})(tinymce);PK e5Cχ⠭ ⥪. 㬥 2.1 ७ ꥪ⮢ ⠤ 䠩 ⠢ ⥪ 䨣_files/tree.gifGIF89a~qmc]V%:@XhL|||!,;t»8? ZhCфDYy i_cIE{8dQ3-}K06SB:6;PK e5CE ⠭ ⥪. 㬥 2.1 ७ ꥪ⮢ ⠤ 䠩 ⠢ ⥪ 䨣_files/uppod_ajax.js// Uppod.AJAX для плеера Uppod (http://uppod.ru/player/ajax/) var uppod_instances = new Array(); var uppod_instances_id = new Array(); // Настройки var uppod_play_next=0; // 1 - включать следующий плеер по окончании function uppodTheEnd(playerID) { if(uppod_play_next==1){ if(uppod_instances_id[playerID]-1&uppod_instances.indexOf(objectID)==-1) { uppod_instances[i] = objectID; uppod_instances_id[objectID]=i; } } } if(!Array.indexOf){ Array.prototype.indexOf = function(obj){ for(var i=0; i0||Ta.indexOf("iphone")>0)Ua=ma=true;else{if(Ta.indexOf("webkit")>-1)gc=true;if(Ta.indexOf("firefox")>-1)Wc=true;if(Ta.indexOf("android")>-1)Ua=Xc=true;if(Ta.indexOf("opera")>-1)hc=true}if(navigator.vendor)if(navigator.vendor.indexOf("Apple")>-1)ic=true;(Jb=!!document.createElement("canvas").getContext)&&(Jb=!!document.createElement("video").canPlayType);a=new Yc;if(Jb){a.stg.innerHTML="";e(a.stg,{lineHeight:"1", textAlign:"left","background-color":a.transparent==1?"transparent":"#"+a.bgcolor,"text-align":"left","-moz-user-select":"-moz-none","-o-user-select":"none","-khtml-user-select":"none","-webkit-user-select":"none","user-select":"none"});W=new Aa({w:a.sw,h:a.sh,bgc:a.bodycolor,brd:a.brd,brdc:a.brdcolor,h0:a.cntrlout==1?a.sh-a.cntrloutheight:0,a:a.transparent==1?-1:1});a.stg.appendChild(W.c);e(W.c,{position:"relative",top:0,left:0});jc();La=new Aa({w:a.scrn_w,h:a.scrn_h,bgc:a.screencolor,o:a.padding> 0?a.o/2:0,a:a.transparent==1?-1:1});W.c.appendChild(La.c);e(La.c,{position:"absolute",top:a.padding,left:a.padding,"z-index":1});if(a.pl){typeof a.pl=="object"&&sa();if(typeof a.pl=="string"){var b=kc(a.pl);if(b)try{if(b.indexOf("'")>-1)b=b.replace(/\\'/g,"'");a.pl=JSON.parse(b);a.pl.playlist&&(a.pl=a.pl.playlist)}catch(d){na(a.lang2.errjson_decode+" "+ub(a.pl),true)}sa()}if(a.file==""){m=0;if(a.random==1){m=getRandomInt(0,D.length-1);e(plbg[0],{opacity:a.plalpha,filter:"alpha(opacity="+a.plalpha* 100+")"});e(plbg[m],{opacity:0.8,filter:"alpha(opacity=80)"})}for(var g in a.pl[m]){b=true;if(g=="poster")if(a.poster)b=false;else a.bigposter&&(a.poster=a.bigposter);if(b)a[g]=a.pl[m][g]}}}if(a.file){a.file&&a.hd&&lc();if(a.file.indexOf("youtube.com/")>-1||a.file.indexOf("youtu.be/")>-1)if(youtube_id=a.file.split(/(youtu.be\/|v\/|embed\/|watch\?|youtube.com\/user\/[^#]*#([^\/]*?\/)*)\??v?=?([^#\&\?]*)/)[3]){a.stg.innerHTML='';a.youtube=true}}if(!a.youtube){X=document.createElement("div");e(X,{width:"100%",position:"absolute",top:a.padding,left:a.padding,color:"#"+a.commentcolor,"z-index":3});W.c.appendChild(X);a.commentbgcolor.indexOf("|")==-1&&(a.commentbgcolor=a.commentbgcolor+"|"+a.commentbgcolor);alrt_bg=new Aa({w:a.sw-a.padding*2,h:"20",o:0,bgc:a.commentbgcolor,bga1:a.commentbgalpha1,bga2:a.commentbgalpha2});X.appendChild(alrt_bg.c);alrt_txt=document.createElement("div"); X.appendChild(alrt_txt);e(alrt_txt,{position:"absolute",top:0,left:0,paddingTop:a.commentmargin+a.commenttopmargin,paddingLeft:a.commentmargin+5,paddingBottom:a.commentmargin*1.3,fontFamily:a.namefont,fontSize:a.namefontsize,fontStyle:mc(a.namefontstyle),fontWeight:nc(a.namefontstyle)});alrt_x=document.createElement("div");X.appendChild(alrt_x);e(alrt_x,{position:"absolute",top:0,right:0,paddingTop:5,paddingRight:10,cursor:"pointer",color:"#"+a.commentcolor});alrt_x.innerHTML="x";alrt_x.onclick=kb; X.style.display="none";if(a.comment!=undefined&&a.comment!=""&&a.showname==1)if(a.shownameliketip==1){g=a.comment;ta=document.createElement("div");e(ta,{width:"100%",position:"absolute",top:5+a.namemargin_v+a.padding,left:5+a.namemargin_h+a.padding,color:"#"+a.namecolor});W.c.appendChild(ta);Va=document.createElement("div");ta.appendChild(Va);e(Va,{position:"absolute",top:0,left:0,padding:a.namepadding/2+"px "+a.namepadding+"px",fontFamily:a.namefont,fontSize:a.namefontsize+"px",fontStyle:mc(a.namefontstyle), fontWeight:nc(a.namefontstyle),"z-index":2});Va.innerHTML=g;g=new Aa({w:Va.offsetWidth,h:Va.offsetHeight,o:a.namebgo/2,bgc:a.namebgcolor+"|"+a.namebgcolor,bga1:a.namebgalpha,bga2:a.namebgalpha});ta.appendChild(g.c);e(g.canvas,{"z-index":1});a.shownameonover==1&&a.shownameonstop==0&&Hide(ta)}else na(a.comment,false);lb();C();Zc();bb();$c(X);mb!=""&&na(mb,true);sizeInterval=setInterval(ad,100)}}else if(a.nohtml5.indexOf(".swf")>0){k.file.replace("|","or");new swfobject.embedSWF(a.nohtml5,a.id,a.sw, a.sh,"10.0.0",false,k,{allowFullScreen:"true",allowScriptAccess:"always"})}else a.stg.innerHTML=a.nohtml5}else alert("uppod:"+a.id+" id?")}function na(b,d){if(X){Show(X);alrt_txt.innerHTML=b;e(alrt_bg.canvas,{height:alrt_txt.offsetHeight,width:a.sw-a.padding*2});d?Show(alrt_x):Hide(alrt_x)}else alert("Uppod HTML5: "+b)}function kb(){Hide(X)}function lb(){if(a.logo!=""){I=document.createElement("img");I.src=a.logo;I.onload=N;W.c.appendChild(I);e(I,{opacity:a.logoalpha,filter:"alpha(opacity="+a.logoalpha* 100+")"});if(a.logolink!=""){I.onmouseover=function(){e(I,{opacity:1,filter:"alpha(opacity=100)"})};I.onmouseout=function(){e(I,{opacity:a.logoalpha,filter:"alpha(opacity="+a.logoalpha*100+")"})};I.onclick=function(){window.open(a.logolink,a.logotarget)}}N()}}function N(){a.logoplace==1&&e(I,{position:"absolute",top:a.logomargin_v,left:a.logomargin_h});a.logoplace==2&&e(I,{position:"absolute",top:a.logomargin_v,right:a.logomargin_h});a.logoplace==3&&e(I,{position:"absolute",bottom:a.logomargin_v+ I.offsetHeight,right:a.logomargin_h});a.logoplace==4&&e(I,{position:"absolute",bottom:a.logomargin_v+I.offsetHeight,left:a.logomargin_h})}function bb(){window.addEventListener("keydown",Ea);a.stg.onmousemove=function(b){if(Kb){oc=pc-(b.clientX+b.clientY);if(oc!=0){qc();if(a.cntrlhide==1||t){clearInterval(Fa);Fa=setInterval(wb,3E3)}}}pc=b.clientX+b.clientY};a.stg.onmouseup=function(){l&&(l.active=false);z&&(z.active=false)};a.stg.onmouseover=function(){Lb=true;a.shownameonover==1&&Show(ta)};a.stg.onmouseout= function(){Lb=false;a.shownameonover==1&&(a.shownameonstop==1&&G||a.shownameonstop==0)&&Hide(ta)};a.stg.oncontextmenu=function(b){if(!b)b=window.event;b.cancelBubble=true;b.stopPropagation&&b.stopPropagation();if(Ga)e(Ga,{display:"block",position:"absolute",top:b.pageY,left:b.pageX});else{Ga=document.createElement("div");Ga.id="rmenu";document.body.appendChild(Ga);var d=document.createElement("div");Ga.appendChild(d);d.innerHTML="Uppod HTML5 0.3.8.1";e(Ga,{"border-radius":"0px",cursor:"pointer", position:"absolute",top:b.pageY,left:b.pageX,backgroundColor:"#000",color:"#fff",borderStyle:"solid",borderColor:"#000000",borderWidth:"1px",padding:"2px 5px 3px 5px",font:"9px Tahoma",opacity:"1"});Ga.style.zIndex=999}setTimeout('document.getElementById("rmenu").style.display="none";',1E3);return false};document.addEventListener("click",Mb)}function Mb(){Ga&&Hide(Ga)}function Ea(b){var d=b.which;if(d==undefined)d=b.keyCode;t&&d==27&&nb();if((G||t)&&d==32)ca()}function C(){if(i){if(Y)for(var b=0;b< Y.length;b++)if(Y[b]){Y[b].setAttribute("src","");i.removeChild(Y[b]);delete Y[b];Y[b]=undefined}if(Nb){clearInterval(Nb);i.removeEventListener("play",xb,false);i.removeEventListener("pause",Ob,false);i.removeEventListener("ended",rc,false);i.removeEventListener("loadedmetadata",sc,false);i.removeEventListener("volumechange",tc,false)}i.pause();i.src="";Ha.removeChild(i);delete i;i=undefined;a.events=[];if(z){e(ga.canvas,{width:"0"});e(ua.canvas,{width:"0"})}Ma=Pb=false;cb=0}if(!Ha){Ha=document.createElement("div"); e(Ha,{backgroundColor:"transparent",position:"absolute",left:0,top:0});La.c.appendChild(Ha);Ha.onclick=ca}i=document.createElement(a.m);Ha.appendChild(i);if(i){i.setAttribute("width",a.sw-(!t?a.padding*2:0)+"px");i.setAttribute("height",(!t?a.ph:a.sh)-(!t?a.padding*2:0)-(a.cntrlout==1?a.cntrloutheight:0)+"px")}i&&gc&&a.airplay==1&&i.setAttribute("x-webkit-airplay","allow");i.controls=ma?db:false;e(i,{position:"absolute",top:0,left:0});a.m=="audio"&&e(i,{width:"0px",height:"0px"});i.preload=a.auto== "none"||a.radio==1?"none":ic?"auto":"metadata";a.auto=="play"?i.autoplay=true:i.autoplay=false;setTimeout(uc,33);if(a.poster!="")if(a.m=="audio"){if(!yb){yb=document.createElement("div");La.c.appendChild(yb)}e(yb,{position:"absolute",left:0,top:0,width:a.sw,height:a.ph-a.padding*2-(a.cntrlout==1?a.cntrloutheight:0),background:"url("+a.poster+") no-repeat center center"})}else{i.setAttribute("poster",a.poster);t&&n&&Qb()}a.auto!="none"&&Z();if(a.m=="video"&&ma)i.ontouchstart=da;S||E()}function da(){if(!db)if(a.cntrlhide== 1&&a.cntrlout==0||t){qc();clearInterval(Fa);Fa=setInterval(wb,3E3)}}function E(){S&&$("#layer").remove();S=document.createElement("div");S.setAttribute("id","layer");W.c.appendChild(S);e(S,{width:"100%",height:"100%",position:"absolute",top:0,left:0,"z-index":2});if(a.m=="video")if(ma)S.ontouchstart=ca;else S.onclick=ca;S.style.zIndex=2;X.style.zIndex=3;ta&&(ta.style.zIndex=4);r&&(r.style.zIndex=5);I&&(I.style.zIndex=6);if(a.o>0){eb=document.createElement("canvas");var b=eb.getContext("2d");eb.height= a.o;eb.width=a.o;b.fillStyle="#"+a.bgcolor;b.beginPath();b.moveTo(0,0);b.lineTo(a.o/2,0);b.quadraticCurveTo(0,0,0,a.o/2);b.closePath();b.fill();S.appendChild(eb);fb=document.createElement("canvas");b=fb.getContext("2d");fb.height=a.o;fb.width=a.o;b.fillStyle="#"+a.bgcolor;b.beginPath();b.moveTo(0,0);b.quadraticCurveTo(a.o/2,0,a.o/2,a.o/2);b.lineTo(a.o/2,0);b.closePath();b.fill();S.appendChild(fb);gb=document.createElement("canvas");b=gb.getContext("2d");gb.height=a.o;gb.width=a.o;b.fillStyle="#"+ a.bgcolor;b.beginPath();b.moveTo(a.o/2,0);b.quadraticCurveTo(a.o/2,a.o/2,0,a.o/2);b.lineTo(a.o/2,a.o/2);b.closePath();b.fill();S.appendChild(gb);hb=document.createElement("canvas");b=hb.getContext("2d");hb.height=a.o;hb.width=a.o;b.fillStyle="#"+a.bgcolor;b.beginPath();b.moveTo(0,0);b.quadraticCurveTo(0,a.o/2,a.o/2,a.o/2);b.lineTo(0,a.o/2);b.closePath();b.fill();S.appendChild(hb);O()}}function O(){e(eb,{position:"absolute",top:0,left:0});e(fb,{position:"absolute",top:0,left:Math.round(a.sw-a.o/2)}); e(gb,{position:"absolute",top:Math.round(a.sh-a.o/2),left:Math.round(a.sw-a.o/2)});e(hb,{position:"absolute",top:Math.round(a.sh-a.o/2),left:0})}function Z(){Y=[];if(a.file!="")if(a.file.indexOf("|")>0)for(var b=a.file.split("|"),d=0;d-1||!ma){Y[d]=document.createElement("source");Y[d].setAttribute("src",b[d]);i.appendChild(Y[d])}}else{Y[0]=document.createElement("source");Y[0].setAttribute("src",a.file);i.appendChild(Y[0])}}function sa(){n=document.createElement("div"); B=document.createElement("div");n.appendChild(B);D=[];plbg=[];pltext=[];Wa=[];Ba=[];var b=0;for(j=0;j0?4:0});if(a.plplace=="inside"||a.plplace=="bottom")e(plbg[j],{width:a.pltw});a.plplace=="botomrow"&&e(plbg[j],{width:a.sw-a.plmargin_h*2});if(a.pl[j].poster){plbg[j].innerHTML="";e(plbg[j],{opacity:1, filter:"alpha(opacity=100)"})}pltext[j]=document.createElement("div");D[j].appendChild(pltext[j]);e(pltext[j],{padding:5,position:"absolute",top:0,left:0,fontFamily:a.plfont,fontSize:a.plfontsize});a.plplace=="botomrow"&&e(pltext[j],{height:a.plth});if(a.pl[j].comment)pltext[j].innerHTML=a.pl[j].comment;else Hide(pltext[j]);if(a.pl[j].poster){e(pltext[j],{backgroundColor:"#"+a.plbgcolor});e(plbg[j],{background:"none"});j>0&&Hide(pltext[j])}D[j].setAttribute("id","plmc"+j);plbg[j].setAttribute("id", "plbg"+j);pltext[j].setAttribute("id","pltx"+j);if(ma)D[j].ontouchstart=bd;else{D[j].onmouseover=cd;D[j].onmouseout=dd;D[j].onclick=ed}Wa[j]=false;Ba[j]=j}if(ma){B.ontouchstart=w;B.ontouchmove=fd;B.ontouchend=gd}W.c.appendChild(n);if(a.plplace=="inside"||a.plplace=="bottom"){e(n,{position:"absolute",width:a.sw-a.plmargin_h*2,height:a.plth*(a.plrows+1)+10,overflow:"hidden"});a.plplace=="bottom"?e(B,{position:"absolute",top:0,left:0}):e(B,{position:"absolute",top:10,left:10});va=(a.pl.length-b)*a.pltw+ (a.pl.length-b-1)*a.plmargin;Ra=a.plth*(a.plrows+1)+10}if(a.plplace=="bottomrow"){e(n,{position:"absolute",width:a.sw-a.plmargin_h*2,height:a.bottomrowheight-a.plmargin-a.padding*2,overflow:"hidden"});e(B,{position:"absolute",top:0,left:0});va=a.sw-a.plmargin_h*2;Ra=a.pl.length*a.plth+(a.pl.length-1)*a.plmargin}m=0;e(plbg[m],{opacity:0.8,filter:"alpha(opacity=80)"});n.style.zIndex=6;P();a.plplace=="inside"&&a.pliview==0&&ShowHide(n)}function wa(){n?ShowHide(n):sa()}function P(){if(a.plplace=="inside"){e(n, {width:a.sw-a.plmargin_h*2});e(n,{top:(t?a.sh:a.stageheight)-a.plth-a.cntrloutheight-10-a.plth*a.plrows,left:a.plmargin_h});B.offsetLeft<-va+n.offsetWidth&&e(B,{position:"absolute",top:10,left:-va+n.offsetWidth});va<=a.sw-a.plmargin_h*2&&e(B,{position:"absolute",top:10,left:0});m!==null&&Rb(m)}if(!t){if(a.plplace=="bottomrow"){e(n,{width:a.sw-a.plmargin_h*2});e(n,{position:"absolute",top:a.ph+(a.cntrlout==1?a.cntrloutheight:0)+10,left:a.plmargin_h});m!==null&&Sb(m)}if(a.plplace=="bottom"){e(n,{width:a.sw- a.plmargin_h*2});e(n,{position:"absolute",top:a.ph+(a.cntrlout==1?a.cntrloutheight:0)+10,left:a.plmargin_h});m!==null&&Sb(m)}}}function w(b){zb=vc=b.targetTouches[0].pageX;Ab=wc=b.targetTouches[0].pageY}function fd(b){var d=b.targetTouches[0].pageX-zb,g=b.targetTouches[0].pageY-Ab;zb=b.targetTouches[0].pageX;Ab=b.targetTouches[0].pageY;if(a.plplace=="inside"||a.plplace=="bottom"){d=B.offsetLeft+d;if(d<0&&d>-va+n.offsetWidth)e(B,{position:"absolute",top:a.plplace=="bottom"?0:10,left:d})}if(a.plplace== "bottomrow"){d=B.offsetTop+g;d<0&&d>-Ra+n.offsetHeight-10&&e(B,{position:"absolute",top:d,left:0})}b.preventDefault()}function bd(b){Bb=b.target.getAttribute("id").substr(4)}function gd(){var b=zb-vc,d=Ab-wc;if(b==0&&d==0){if(Bb!==null){Sa();m=Bb;Tb();Bb=null}}else{if(a.plplace=="inside"||a.plplace=="bottom"){b=B.offsetLeft+b;b>0&&(b=0);b<-va+n.offsetWidth&&(b=-va+n.offsetWidth);clearInterval(Na);ob=b;Na=setInterval(Cb,20)}if(a.plplace=="bottomrow"){b=B.offsetTop+d;b>0&&(b=0);b<-Ra+n.offsetHeight- 10&&(b=-Ra+n.offsetHeight-10);clearInterval(Na);ob=b;Na=setInterval(Cb,20)}}}function cd(b){b=b.target.getAttribute("id").substr(4);e(plbg[b],{opacity:1,filter:"alpha(opacity=100)"});Sb(b);a.pl[b].poster&&a.pl[b].comment&&Show(pltext[b])}function dd(b){b=b.target.getAttribute("id").substr(4);if(a.pl[b].poster){if(m!=b){Hide(pltext[b]);e(plbg[b],{opacity:Wa[b]?0.5:1,filter:"alpha(opacity="+(Wa[b]?0.5:1)*100+")"})}}else m!=b?e(plbg[b],{opacity:Wa[b]?a.plalpha2:a.plalpha,filter:"alpha(opacity="+(Wa[b]? a.plalpha2:a.plalpha)*100+")"}):e(plbg[b],{opacity:0.8,filter:"alpha(opacity=80)"})}function ed(b){m!==null&&Sa();m=b.target.getAttribute("id").substr(4);Tb()}function Tb(){if(a.pl[m].playlist)Xa();else{Xa();a.plplace=="inside"&&Hide(n);if(!G){Ya=true;ca()}}Ub()}function hd(){m1){m!==null&&Sa();m=Ba[getRandomInt(0,Ba.length-1)];Xa();J("next")}else{Wb();H&&e(H.c,{opacity:1,filter:"alpha(opacity=100)",cursor:"pointer"})}else if(m1){m!==null&&Sa();m=Ba[getRandomInt(0,Ba.length-1)];Xa();J("prev")}else Wb(); else if(m>0){m!==null&&Sa();m--;Xa();J("prev");m==0&&H&&e(H.c,{opacity:0.3,filter:"alpha(opacity=30)",cursor:"default"})}Ub()}function Wb(){if(a.plplay1==1)xc();else if(a.random==1){for(p=0;pa.sw-a.plmargin_h*2&&Rb(b);a.plplace=="bottomrow"&&Ra>a.bottomrowheight&&Rb(b)}function Rb(b){clearInterval(Na);if(a.plplace=="inside"||a.plplace=="bottom"){var d=-D[b].offsetLeft+n.offsetWidth/2-a.pltw/2;if(d>0||va0)d=10;if(d<-Ra+n.offsetHeight-10)d=-Ra+n.offsetHeight-10; ob=d;Na=setInterval(Cb,20)}}function Cb(){var b=ob;if(a.plplace=="inside"||a.plplace=="bottom")Math.abs((B.offsetLeft-b)/10)<=1?clearInterval(Na):e(B,{position:"absolute",top:a.plplace=="bottom"?0:10,left:B.offsetLeft-(B.offsetLeft-b)/10});if(a.plplace=="bottomrow")Math.abs((B.offsetTop-b)/10)<=1?clearInterval(Na):e(B,{position:"absolute",top:B.offsetTop-(B.offsetTop-b)/10,left:0})}function Db(b,d){Xb=G=false;if(ma){a.file=b;setTimeout(jd,1E3)}else{d&&(a.auto="play");a.file=b;C()}if(a.comment!=undefined&& a.comment!=""&&a.showname==1)if(a.shownameliketip==1)Va.innerHTML=a.comment;else na(a.comment,false)}function jd(){if(a.file.indexOf("|")>0)for(var b=a.file.split("|"),d=0;d-1)i.src=b[d]}else i.src=a.file;i.load();i.play()}function uc(){if(i)if(i.networkState>0){Ma=true;e(i,{opacity:1,filter:"alpha(opacity=100)"});Nb=setInterval(kd,500);i.addEventListener("play",xb,false);i.addEventListener("pause",Ob,false);i.addEventListener("ended",rc,false);i.addEventListener("loadedmetadata", sc,false);i.addEventListener("volumechange",tc,false);document.addEventListener("fullscreenchange",function(){!document.fullscreen&&!t&&!hc&&nb()},false);document.addEventListener("mozfullscreenchange",function(){!document.mozFullScreen&&t&&nb()},false);document.addEventListener("webkitfullscreenchange",function(){!document.webkitIsFullScreen&&t&&nb()},false);Yb(Zb?0:Ca);if(!yc){J("init");yc=true}}else setTimeout(uc,33)}function ca(){if(a.auto=="none"){i.autoplay=true;Z();Ya=true}a.auto="play";if(!a.file|| a.file=="")J("error","nofile");if(Ma){Ya=true;if(G){i.pause();Ob()}else{i.play();xb()}}else if(!G)if(Q!=undefined){Q.c.style.display="none";ha.c.style.display="block"}}function pb(){G&&ca();a.auto="none";C();J("stop")}function zc(){G&&ca();window.open(a.download?a.download:a.file,"_blank");J("download")}function $b(){if(q)if(a.filehd){a.start=i.currentTime;var b=a.file;Db(a.filehd,true);a.filehd=b;if(ia.c.style.display=="none"){Hide(q.c);Show(ia.c)}else{Hide(ia.c);Show(q.c)}}}function lc(){if(a.hd&& a.file){if(a.hd.indexOf("::")>0){a.filehd=a.file.replace(a.hd.split("::")[0],a.hd.split("::")[1]);var b=false;if(ia){if(ia.c.style.display=="block")b=true}else if(a.hd1==1)b=true;if(b){b=a.file;a.file=a.filehd;a.filehd=b}}if(a.file.indexOf("[")>-1&&a.file.indexOf("]")>-1){b=a.file.substr(a.file.indexOf("[")+1,a.file.indexOf("]")-a.file.indexOf("[")-1).split(a.hdseparator);var d="";for(h=0;h0){Dc||(d=true);if(!d){if(!t||b=="re"){if(a.realfullscreen==1)if(this.requestFullScreen){a.stg.requestFullScreen();Za=true}else if(this.requestFullscreen){a.stg.requestFullscreen();Za=true}else if(this.mozRequestFullScreen){a.stg.mozRequestFullScreen();Za=true}else if(this.webkitRequestFullScreen){a.stg.webkitRequestFullScreen(); Za=true}a.iframe!=""&&e(window.parent.document.getElementById(a.iframe),{width:window.parent.innerWidth,height:window.parent.innerHeight,position:"fixed",left:0,top:0});if(b!="re"){t=true;a.stagewidth=a.sw;a.stageheight=a.sh;e(W.canvas,{visibility:"hidden",height:a.iframe!=""?window.parent.innerHeight:window.innerHeight});e(La.canvas,{visibility:"hidden"});e(Ha,{backgroundColor:"#000",position:"fixed",left:0,top:0})}R.c.style.display="none";Ia.c.style.display="block";if(a.stageposition="")a.stageposition= a.stg.style.position;a.stageleft=a.stg.style.left;a.stagetop=a.stg.style.top;e(a.stg,{width:Za?screen.width:a.iframe!=""?window.parent.innerWidth:window.innerWidth,height:Za?screen.height:a.iframe!=""?window.parent.innerHeight:window.innerHeight,position:"fixed",left:0,top:0,"z-index":"9999",overflow:"hidden"});S!=undefined&&(S.style.display="none");clearInterval(Fa);Fa=setInterval(wb,3E3);b!="re"&&J("fullscreen")}else nb();setTimeout(Ec,100);n&&e(n,{top:-1000});I&&N()}}}function nb(){if(document.cancelFullScreen)document.cancelFullScreen(); else if(document.exitFullscreen)document.exitFullscreen();else if(document.cancelFullscreen)document.cancelFullscreen();else if(document.mozCancelFullScreen)document.mozCancelFullScreen();else document.webkitCancelFullScreen&&document.webkitCancelFullScreen();t=false;a.iframe!=""&&e(window.parent.document.getElementById(a.iframe),{width:a.stagewidth,height:a.stageheight,position:"static",left:0,top:0});e(Ha,{backgroundColor:"transparent",position:"absolute",left:0,top:0});e(a.stg,{width:a.stagewidth, height:a.stageheight,position:a.stageposition==""?"static":a.stageposition,left:a.stageleft,top:a.stagetop});e(W.canvas,{visibility:"visible",height:a.stageheight});e(La.canvas,{visibility:"visible"});S!=undefined&&(S.style.display="block");R.c.style.display="block";Ia.c.style.display="none";n&&P();J("exitfullscreen");I&&N()}function Fc(){if(U)ShowHide(U);else{U=document.createElement("div");var b=a.scrn_w<320?a.scrn_w-30:350,d=(a.download!=""&&a.download!=0?45:0)+(a.menu_nocode==1?0:45)+(a.link!= ""?45:0)+11;a.menu_w=b;a.menu_h=d;var g=new Aa({w:b,h:d,o:10,bgc:"000000|000000",bga1:0.5,bga2:0.5});U.appendChild(g.c);e(g.c,{position:"relative",top:"0",left:"0"});if(a.download!=""&&a.download!=0)ac("menu_download",a.download==1?a.file:a.download,b,d);a.link!=""&&ac("menu_link",a.link,b,d);e(U,{color:"#ffffff",font:"10px Verdana"});U.style.zIndex=6;ac("menu_code",a.iframeurl!=""?'': a.embedcode!=""?a.embedcode:"",b,d);d=document.createElement("div");d.innerHTML="  x  ";U.appendChild(d);e(d,{position:"absolute",top:3,left:b-25,cursor:"pointer"});d.onclick=md;W.c.appendChild(U);Ec()}}function ac(b,d,g){var f=document.createElement("div");f.innerHTML=a.lang2[b];U.appendChild(f);e(f,{position:"absolute",top:5+Eb*45,left:15});b=new Aa({w:g-20,h:23,o:5,bgc:"ffffff"});e(b.c,{position:"absolute",top:22+Eb*45,left:10});U.appendChild(b.c);b=document.createElement("input");U.appendChild(b); e(b,{position:"absolute",outline:"none",font:"10px Verdana",top:25+Eb*45,left:13,width:g-28,height:15,color:"#000000",border:0,background:"none"});b.value=d;b.onclick=function(){this.select()};Eb++}function md(){U&&e(U,{display:"none"})}function Ec(){if(U)e(U,{position:"absolute",top:((t?a.sh:a.stageheight)-a.menu_h)/2,left:((t?a.sw:a.stagewidth)-a.menu_w)/2})}function wb(){if(G&&i.currentTime>0&&1)if(!Lb&&a.cntrlhide==1||t){clearInterval(Fa);e(r,{visibility:"hidden"});n&&e(n,{visibility:"hidden"}); Kb=true}}function qc(){clearInterval(Fa);e(r,{visibility:"visible"});n&&e(n,{visibility:"visible"});Kb=false}function jc(){a.scrn_w=a.sw-a.padding*2;a.scrn_h=a.ph-a.padding*2-(a.cntrlout==1?a.cntrloutheight:0)}function Qb(){if(a.sw!=0&&a.sh!=0&&!a.youtube){a.ph=a.ph!=a.sh?a.stg.offsetHeight-(a.sh-a.ph):a.stg.offsetHeight;a.sh=a.stg.offsetHeight;a.sw=a.stg.offsetWidth;if(!t){a.stagewidth=a.sw;a.stageheight=a.sh}jc();var b=(!t?a.ph:a.sh)-a.padding*2-(a.cntrlout==1?a.cntrloutheight:0);if(!t){e(W.canvas, {width:a.sw,height:a.sh});e(La.canvas,{width:a.sw-a.padding*2,height:b})}if(X){e(alrt_bg.canvas,{width:""+a.sw-(t?0:a.padding*2)+"px"});if(a.padding>0)e(X,{top:t?0:a.padding,left:t?0:a.padding})}e(Ha,{width:""+a.sw-(!t?a.padding*2:0)+"px",height:""+b+"px"});e(i,{width:""+a.sw-(!t?a.padding*2:0)+"px",height:""+b+"px"});a.o>0&&O();e(r,{top:(!t?a.ph:a.sh)-a.cntrloutheight-(a.cntrlout==1?a.padding/2:0)-(!t?a.padding:0),left:!t?a.padding:0});if(Oa){e(Oa.canvas,{width:""+(a.sw-(t?0:a.padding*2))+"px",height:""+ a.cntrloutheight+"px"});rb&&e(rb.canvas,{width:""+(a.sw-(t?0:a.padding*2))+"px"})}ea&&e(ea.c,{left:a.sw/2-ea.w/2,top:(!t?a.ph:a.sh)/2-ea.h/2});Gc();n&&P()}}function Hc(){bc(0)}function Ic(){if(i.muted){i.muted=false;ba.c.style.display="block";fa.c.style.display="none";Zb=false}else{i.muted=true;fa.c.style.display="block";ba.c.style.display="none";Zb=true}}function xb(){if(!G){ma&&db&&e(r,{visibility:"hidden"});if(Q!=undefined){Q.c.style.display="none";ha.c.style.display="block"}G=true;if(a.cntrlhide== 1&&a.cntrlout==0||t){clearInterval(Fa);Fa=setInterval(wb,3E3)}if(a.comment!=undefined&&a.comment!=""&&a.showname==1)a.shownameliketip==1?a.shownameonstop==1&&Hide(ta):Hide(X);a.plplace=="inside"&&n&&Hide(n);ea&&(ea.c.style.display="none");J("play");if(!Xb){J("start");Xb=Ya=true}}}function Ob(){if(G){if(Q!=undefined){Q.c.style.display="block";ha.c.style.display="none"}G=false;if(a.comment!=undefined&&a.comment!=""&&a.showname==1)a.shownameliketip==1?Show(ta):Show(X);ea&&(ea.c.style.display="block"); J("pause")}}function J(b,d){if(a.debug==1)document.getElementById("tracer")&&(document.getElementById("tracer").innerHTML=b+"
    "+document.getElementById("tracer").innerHTML);a.events[b]=d;var g=document.createEvent("Events");g.initEvent(b,true,true);a.stg.dispatchEvent(g)}function sc(){Dc=true;if(a.start>0){i.currentTime=a.start;a.start=0}}function tc(){if(u)a.ivolbar_v?ib(i.volume*u.h):ib(i.volume*u.w);ja&&ib(i.volume*a.cntrlvolbar.w)}function rc(){if(i.ended){J("end");if(a.radio==1){pb();ca()}else{Hc(); a.plplay==1&&D?Vb():xc()}}}function ad(){if(a.stg.offsetWidth!=a.sw||a.stg.offsetHeight!=a.sh)Qb()}function kd(){if(i!=undefined){xa&&(xa.c.innerHTML=Fb(i.currentTime));ka&&(ka.c.innerHTML=Fb(!i.duration||i.duration=="Infinity"?0:i.duration));loaded=0;var b=false;if(Gb){if(i.buffered){var d=i.buffered;if(d.length>0){for(var g=0;g0)(Math.ceil(i.duration)==d.end(g)||Math.floor(i.duration)==d.end(g))&&(x= K.w);if(Hb[g])if(x-f!=Hb[g]){cc[g]++;if(cc[g]>3){Jc=g;cb=f}}else cc[g]=0;Hb[g]=x-f}d=Math.floor(Hb[Jc]);g=Math.round(i.currentTime/i.duration*K.w-cb);e(ua.canvas,{left:cb+"px",width:""+d+"px"});!z.active&&e(ga.canvas,{left:cb+"px",width:""+(d>=g?g:0)+"px"})}else b=true}else b=true;if(b){g=Math.round(i.currentTime/i.duration*K.w);!z.active&&e(ga.canvas,{width:""+g+"px"})}if($a&&!Pb)if(i.currentTime>0){Kc();Pb=true}if(G&&i.currentTime==Lc)if(dc>5){$a||ya&&e(ya.c,{display:"block"});$a=true}else dc++; else{if($a){$a=false;Kc()}dc=0}Lc=i.currentTime}if(G&&a.reloader==1){if(i.currentTime==a.reloadertime){a.reloadercounter++;if(a.reloadercounter>50){a.reloadercounter=0;pb();ca()}}else a.reloadercounter=0;a.reloadertime=i.currentTime}if(a.eventtime!=0)if(G)if(is_array(a.eventtime))for(g=0;ga.eventtime[g]&&J("time"+a.eventtime[g],i.currentTime);else a.events.time||i.currentTime>a.eventtime&&J("time",i.currentTime);if(a.eventplayed!= 0)if(G)if(is_array(a.eventplayed))for(g=0;ga.eventplayed[g]&&J("played"+a.eventplayed[g],i.currentTime/i.duration*100);else a.events.played||i.currentTime/i.duration*100>a.eventplayed&&J("played",i.currentTime/i.duration*100);z&&Pa&&jb(Pa,z,ga,K,ec)}if(t&&!Za)if(a.iframe!="")(window.parent.innerWidth!=a.stg.offsetWidth||window.parent.innerHeight!=a.stg.offsetHeight)&&qb("re");else(window.innerWidth!=a.stg.offsetWidth|| window.innerHeight!=a.stg.offsetHeight)&&qb("re")}function xc(){if(i)cb>0?pb():i.pause();if(a.menuauto==1&&la){var b=false;if(U)U.style.visible!="none"&&(b=true);b||Fc()}J("end")}function mc(b){var d="normal";if(b=="i"||b=="b>=10?minutes:minutes;b=Math.floor(b%60);b=b>=10?b:"0"+b;return minutes+ ":"+b}function Zc(){r=document.createElement("div");Qa=[];Ja=0;W.c.appendChild(r);e(r,{position:"absolute",top:a.scrn_h-(a.cntrlout==1?-a.padding/2:a.cntrloutheight)+a.padding,left:a.padding});r.style.zIndex=5;Mc();s=a.controls.split(",");L=0;o=[];v=[];for(var b=0;b-1){za(d.icon,Pa);e(Pa,{background:"none"})}ec=d.position}if(s[b]== "run_volume"){d=Nc("run_volume");M=document.createElement("div");r.appendChild(M);e(M,{cursor:"pointer",position:"absolute",left:0,top:0,"background-color":"#"+d.color,width:d.w+"px",height:d.h+"px","border-radius":d.w*d.o+"px",opacity:d.alpha,filter:"alpha(opacity="+d.alpha*100+")"});sb=d.position;a.ivolbar_v&&Hide(M)}if(s[b]=="sound"&&!Ua){s[b]="volume";a.cntrl_volume=a.cntrl_sound}if((s[b]=="volume"||s[b]=="volbarline_v")&&!Ua){ba=new A("volume",20,20);r.appendChild(ba.c);e(ba.c,{cursor:"pointer", position:"absolute",top:(a.cntrloutheight-ba.h)/2});ba.c.onclick=Ic;fa=new A("volume_mute",20,20,"","volume");r.appendChild(fa.c);e(fa.c,{display:"none",cursor:"pointer",position:"absolute",top:(a.cntrloutheight-fa.h)/2});o[b]=fa.w+a.cntrlmargin;L+=o[b]+fa.s.marginleft+fa.s.marginright;fa.c.onclick=Ic;v[b]=ba;a.tip==1&&ba.s.notip==0&&(ba.c.title=ba.s.tip?ba.s.tip:a.lang2.volume);if(s[b]=="volbarline_v"){a.ivolbar_v=true;l=document.createElement("div");r.appendChild(l);a.cntrl_volbarline_v.bg=0;e(l, {cursor:"pointer",position:"absolute",top:0});u=new A("volbarline_v",a.cntrl_volbarline_v.w?a.cntrl_volbarline_v.w:a.cntrlvolbarline_v.w,a.cntrl_volbarline_v.h?a.cntrl_volbarline_v.h:a.cntrlvolbarline_v.h,"all");l.appendChild(u.c);l.active=false;e(l,{display:"none",cursor:"pointer",position:"absolute",top:a.cntrloutheight-u.h-10});e(u.c,{opacity:u.s.all_a,position:"absolute",top:0,left:0});V=new A("volbarline_v",a.cntrl_volbarline_v.w?a.cntrl_volbarline_v.w:a.cntrlvolbarline_v.w,a.cntrl_volbarline_v.h? a.cntrl_volbarline_v.h:a.cntrlvolbarline_v.h,"load");l.appendChild(V.c);e(V.c,{opacity:V.s.play_a,position:"absolute",top:0,left:0});e(l,{cursor:"pointer",position:"absolute",top:-u.h});e(V.canvas,{height:u.h*a.volume,top:u.h-u.h*a.volume});l.onmousedown=function(f){l.active=true;if(!f)f=window.event;Oc(f)};l.onmousemove=function(f){if(!f)f=window.event;Oc(f)};l.onmouseup=function(){l.active=false};l.onmouseover=function(){l.over=true};l.onmouseout=function(){l.over=false};fa.c.onmouseout=ba.c.onmouseover= function(){e(l,{display:"block"});if(M){e(M,{display:"block"});jb(M,l,V,u,sb)}l.over=true};fa.c.onmouseover=ba.c.onmouseover=function(){e(l,{display:"block"});if(M){e(M,{display:"block"});jb(M,l,V,u,sb)}l.over=true};fa.c.onmouseout=ba.c.onmouseout=nd;l.style.zIndex=7;M&&Hide(M)}}if(s[b]=="tune"&&!Ua){s[b]="volbarline";a.cntrl_volbarline=a.cntrl_tune}if(s[b]=="volbarline"&&!Ua){l=document.createElement("div");r.appendChild(l);u=new A("volbarline",a.cntrl_volbarline.w?a.cntrl_volbarline.w:a.cntrlvolbarline.w, 20,"all");l.appendChild(u.c);l.active=false;e(u.c,{opacity:u.s.all_a,position:"absolute",top:0,left:0});V=new A("volbarline",a.cntrl_volbarline.w?a.cntrl_volbarline.w:a.cntrlvolbarline.w,20,a.cntrl_volbarline.color_load?"load":"play");l.appendChild(V.c);e(V.c,{opacity:V.s.play_a,position:"absolute",top:0,left:0});e(l,{cursor:"pointer",position:"absolute",top:(a.cntrloutheight-u.h)/2});o[b]=u.w+a.cntrlmargin+5;L+=o[b]+u.s.marginleft+u.s.marginright;e(V.canvas,{width:u.w*a.volume});l.onmousedown=function(f){l.active= true;if(!f)f=window.event;Pc(f)};l.onmousemove=function(f){if(!f)f=window.event;Pc(f)};l.onmouseout=function(f){if(!f)f=window.event;f=f;if(l.active){if(!f)f=window.event;if(f.pageX-Ib(l)>=u.w)l.active=false}};l.onmouseup=function(){l.active=false};v[b]=l}if(s[b]=="volbar"&&!Ua){ja=document.createElement("div");r.appendChild(ja);Ka=[];a.cntrl_volbar.all_a&&(a.cntrlvolbar.all_a=a.cntrl_volbar.all_a);a.cntrl_volbar.play_a&&(a.cntrlvolbar.play_a=a.cntrl_volbar.play_a);if(a.cntrl_volbar.icon){if(a.cntrl_volbar.icon== 1){a.cntrlvolbar.n=10;a.cntrlvolbar.bar=1}if(a.cntrl_volbar.icon==2){a.cntrlvolbar.n=5;a.cntrlvolbar.bar=0}if(a.cntrl_volbar.icon==3){a.cntrlvolbar.n=10;a.cntrlvolbar.bar=0}}a.cntrl_volbar.n&&(a.cntrlvolbar.n=a.cntrl_volbar.n);a.cntrl_volbar.bar&&(a.cntrlvolbar.bar=a.cntrl_volbar.bar);a.cntrl_volbar.scale&&(a.cntrlvolbar.scale=a.cntrl_volbar.scale);a.cntrlvolbar.w=a.cntrlvolbar.n*5*a.cntrlvolbar.scale;a.cntrlvolbar.h=10*a.cntrlvolbar.scale;for(vb=0;vb-1){q=new A("hd",20,20);r.appendChild(q.c); e(q.c,{cursor:"pointer",display:a.hd1==1?"none":"block",position:"absolute",top:Math.floor((a.cntrloutheight-q.h)/2)});q.s.icon2&&q.s.icon==q.s.icon2&&e(q.c,{opacity:q.s.alpha0});o[b]=q.w+a.cntrlmargin;q.c.onclick=$b;L+=o[b]+q.s.marginleft+q.s.marginright;v[b]=q;a.tip==1&&q.s.notip==0&&(q.c.title=q.s.tip?q.s.tip:a.lang2.hd);ia=new A("hd1",20,20,"","hd");r.appendChild(ia.c);e(ia.c,{cursor:"pointer",display:a.hd1==1?"block":"none",position:"absolute",top:Math.floor((a.cntrloutheight-ia.h)/2)});ia.c.onclick= $b;a.tip==1&&ia.s.notip==0&&(ia.c.title=q.s.tip_off?q.s.tip_off:a.lang2.hd)}else if(a.hd.indexOf(",")>-1){a.hda=a.hd.split(",");if(a.hdsw==60){for(d=a.hdsw=0;d0&&(ka.c.innerHTML=Fb(a.time));Gc()}function Mc(){Oa&&$("#uibg").remove();if(a.cntrlout!=1&&a.cntrlbg==1){a.cntrlbgcolor.indexOf("|")==-1&&(a.cntrlbgcolor=a.cntrlbgcolor+"|"+a.cntrlbgcolor);Oa=new Aa({w:a.scrn_w,h:a.cntrloutheight,o:a.o/2-a.padding,onotop:1,bgc:a.cntrlbgcolor,bga1:a.cntrlbgalpha1,bga2:a.cntrlbgalpha2,o:a.padding>0?a.o/2:0})}if(a.cntrlout==1&&a.padding==0){a.cntrlbgcolor.indexOf("|")==-1&&(a.cntrlbgcolor=a.cntrlbgcolor+"|"+a.cntrlbgcolor);Oa=new Aa({w:a.scrn_w,h:a.cntrloutheight, o:a.o/2-a.padding,onotop:1,bgc:a.bodycolor,bga1:1,bga2:1,o:a.padding>0?a.o/2:0})}if(Oa){Oa.c.setAttribute("id","uibg");r.appendChild(Oa.c);if(a.glass==1){rb=new Aa({w:a.scrn_w,h:a.cntrloutheight/2,o:a.o/2-a.padding,bgc:a.glasscolor.indexOf("|")==-1?a.glasscolor+"|"+a.glasscolor:a.glasscolor,bga1:a.glassalpha1,bga2:a.glassalpha2});Oa.c.appendChild(rb.c);e(rb.canvas,{position:"absolute",top:0,left:0,height:a.cntrloutheight/2,width:a.scrn_w})}}}function Gc(){var b=a.sw-L-a.cntrlendmargin*2-a.cntrlmargin* 2-(!t?a.padding*2:0)-a.cntrlmarginleft-a.cntrlmarginright,d=a.cntrlendmargin+a.cntrlmarginleft,g,f;for(j=0;j0?b.offsetHeight:b.offsetHeight/2);g0+b.offsetHeight&&(g=b.offsetHeight);e(b,{top:g+"px", left:""+(d.offsetLeft+f.s.w/2-b.offsetWidth/2-(x=="1"?b.offsetWidth/2+f.s.w/2:0)+(x=="2"?b.offsetWidth/2+f.s.w/2:0))+"px"})}else{g=g.canvas.offsetWidth+d.offsetLeft-(x>0?b.offsetWidth:b.offsetWidth/2);gd.offsetLeft+f.canvas.offsetWidth-b.offsetWidth&&(g=d.offsetLeft+f.canvas.offsetWidth-b.offsetWidth);e(b,{left:g+"px",top:""+(f.canvas.offsetTop+d.offsetTop+10-b.offsetHeight/2-(x=="1"?b.offsetHeight/2+f.s.h/2:0)+(x=="2"?b.offsetHeight/2+f.s.h/2:0))+"px"})}}function Nc(b){var d= [];for(var g in a.cntrlstyle)d[g]=a.cntrlstyle[g];for(g in a["cntrl"+b])d[g]=a["cntrl"+b][g];for(g in a["cntrl_"+b])d[g]=a["cntrl_"+b][g];return d}function Ib(b){var d=0;if(b.offsetParent)for(d=b.offsetLeft;b=b.offsetParent;)d+=b.offsetLeft;return d}function nd(){l.over=false;setTimeout(Sc,1E3)}function Sc(){if(l.over)setTimeout(Sc,1E3);else{e(l,{display:"none"});M&&e(M,{display:"none"})}}function Pc(b){if(l.active){if(!b)b=window.event;b=b.pageX-Ib(l);ib(b)}}function Oc(b){if(l.active&&a.ivolbar_v){if(!b)b= window.event;b=b.pageY;var d=l,g=0;if(d.offsetParent)for(g=d.offsetTop;d=d.offsetParent;)g+=d.offsetTop;ib(u.h-(b-g))}}function Qc(b){if(ja.active){if(!b)b=window.event;b=b.pageX-Ib(ja);ib(b)}}function ib(b){if(V)if(a.ivolbar_v){Ca=Math.max(0,Math.min(1,b/u.h));e(V.canvas,{height:""+u.h*Ca+"px",top:u.h-u.h*Ca})}else{Ca=Math.max(0,Math.min(1,b/u.w));e(V.canvas,{width:""+b+"px"})}if(ja)for(vb=0;vbthis.s.bg_h||d*this.s.scale2>this.s.bg_w){g*=this.s.scale2;d*=this.s.scale2}else{g=this.s.bg_h;d=this.s.bg_w}else{g*=this.s.scale2;d*=this.s.scale2}this.canvas=document.createElement("canvas");this.canvas.height=g*this.s.scale;this.canvas.width=d*this.s.scale;this.ctx=this.canvas.getContext("2d");if(this.s.bg==1&&b.indexOf("line")==-1){f=new Aa({w:d*this.s.scale,h:g*this.s.scale,o:this.s.bg_o>1?this.s.bg_o/ 2:g/2*this.s.bg_o*this.s.scale,bgc:this.s.bgcolor,sh:this.s.bg_sh,sh_c:this.s.sh_c,sh_a:this.s.sh_a});this.c.appendChild(f.c);this.s.bg_a&&e(f.canvas,{opacity:this.s.bg_a,filter:"alpha(opacity="+this.s.bg_a*100+")"});e(f.canvas,{position:"absolute",top:this.s.margintop*1-this.s.marginbottom*1,left:b!="start"?(1-this.s.scale)*d/2:0});if(this.s.bg_gl==1){f=new Aa({w:d*this.s.scale,h:g*this.s.scale,o:g/2*this.s.bg_o*this.s.scale,bgc:this.s.gl_color+"|"+this.s.gl_color,bga1:this.s.gl_a1,bga2:this.s.gl_a2}); this.c.appendChild(f.c);e(f.canvas,{position:"absolute",top:0,left:(1-this.s.scale)*d/2+g*this.s.scale/8,height:g*this.s.scale/2,width:d*this.s.scale-g*this.s.scale/4})}}this.fstyle="";if(this.s.color)if(this.s.color.indexOf("|")>0){f=this.s.color.split("|");x=this.ctx.createLinearGradient(0,0,0,g*this.s.scale);for(this.j=0;this.j-1)za(this.s.icon,this.c,1);else{if(this.s.icon==0){this.ctx.beginPath();this.ctx.moveTo(6*f,4*f);this.ctx.lineTo(16*f,9*f);this.ctx.lineTo(6*f,15*f);this.ctx.lineTo(6* f,4*f);this.ctx.closePath();this.ctx.fill()}if(this.s.icon==1){this.ctx.beginPath();this.ctx.moveTo(6*f,5*f);this.ctx.quadraticCurveTo(6*f,4*f,7*f,4*f);this.ctx.lineTo(15*f,9*f);this.ctx.quadraticCurveTo(16*f,10*f,15*f,11*f);this.ctx.lineTo(7*f,16*f);this.ctx.quadraticCurveTo(6*f,16*f,6*f,15*f);this.ctx.lineTo(6*f,5*f);this.ctx.closePath();this.ctx.fill()}if(this.s.icon==2){this.ctx.moveTo(6*f,5*f);this.ctx.lineTo(15*f,10*f);this.ctx.lineTo(6*f,15*f);this.ctx.strokeStyle="#"+this.s.color;this.ctx.lineCap= "round";this.ctx.lineJoin="round";this.ctx.lineWidth=3*f;this.ctx.stroke()}if(this.s.icon==3){this.ctx.beginPath();this.ctx.moveTo(6*f,4*f);this.ctx.lineTo(16*f,10*f);this.ctx.lineTo(6*f,16*f);this.ctx.lineTo(6*f,4*f);this.ctx.lineTo(6*f,5*f);this.ctx.strokeStyle="#"+this.s.color;this.ctx.lineCap="round";this.ctx.lineJoin="round";this.ctx.lineWidth=1.5*f;this.ctx.stroke()}}}if(b=="pause"){String(this.s.icon).indexOf("http://")>-1&&za(this.s.icon,this.c,2);if(this.s.icon==0){this.ctx.beginPath();this.ctx.fillRect(6* this.s.scale,5*this.s.scale,3*this.s.scale,10*this.s.scale);this.ctx.fillRect(12*this.s.scale,5*this.s.scale,3*this.s.scale,10*this.s.scale);this.ctx.closePath();this.ctx.fill()}if(this.s.icon>0){this.ctx.beginPath();this.ctx.moveTo(7*this.s.scale,5*this.s.scale);this.ctx.lineTo(7*this.s.scale,15*this.s.scale);this.ctx.moveTo(14*this.s.scale,5*this.s.scale);this.ctx.lineTo(14*this.s.scale,15*this.s.scale);this.ctx.strokeStyle="#"+this.s.color;this.ctx.lineCap="round";this.ctx.lineJoin="round";this.ctx.lineWidth= 3*this.s.scale;this.ctx.stroke()}}if(b=="stop")if(String(this.s.icon).indexOf("http://")>-1)za(this.s.icon,this.c);else{if(this.s.icon==0){this.ctx.beginPath();this.ctx.moveTo(5*this.s.scale,5*this.s.scale);this.ctx.lineTo(15*this.s.scale,5*this.s.scale);this.ctx.lineTo(15*this.s.scale,15*this.s.scale);this.ctx.lineTo(5*this.s.scale,15*this.s.scale);this.ctx.closePath();this.ctx.lineWidth=0.1;this.ctx.stroke();this.ctx.fill()}if(this.s.icon==1){this.ctx.beginPath();this.ctx.moveTo(6*this.s.scale, 6*this.s.scale);this.ctx.lineTo(14*this.s.scale,15*this.s.scale);this.ctx.lineTo(6*this.s.scale,6*this.s.scale);this.ctx.moveTo(14*this.s.scale,6*this.s.scale);this.ctx.lineTo(6*this.s.scale,15*this.s.scale);this.ctx.lineTo(14*this.s.scale,6*this.s.scale);this.ctx.strokeStyle="#"+this.s.color;this.ctx.lineCap="round";this.ctx.lineJoin="round";this.ctx.lineWidth=3*this.s.scale;this.ctx.stroke();this.ctx.fill()}if(this.s.icon==2){this.ctx.beginPath();this.ctx.moveTo(6*this.s.scale,6*this.s.scale);this.ctx.lineTo(14* this.s.scale,6*this.s.scale);this.ctx.lineTo(14*this.s.scale,14*this.s.scale);this.ctx.lineTo(6*this.s.scale,14*this.s.scale);this.ctx.closePath();this.ctx.strokeStyle="#"+this.s.color;this.ctx.lineCap="round";this.ctx.lineJoin="round";this.ctx.lineWidth=4*this.s.scale;this.ctx.stroke();this.ctx.fill()}if(this.s.icon==3){this.ctx.beginPath();this.ctx.lineWidth=1.5*this.s.scale;this.ctx.lineCap="round";this.ctx.lineJoin="round";this.ctx.strokeStyle="#"+this.s.color;this.ctx.strokeRect(5*this.s.scale, 5*this.s.scale,11*this.s.scale,11*this.s.scale);this.ctx.closePath();this.ctx.stroke()}}if(b=="download")if(String(this.s.icon).indexOf("http://")>-1)za(this.s.icon,this.c);else if(this.s.icon==0){this.ctx.beginPath();this.ctx.moveTo(8*this.s.scale,4*this.s.scale);this.ctx.lineTo(8*this.s.scale,9*this.s.scale);this.ctx.lineTo(5*this.s.scale,9*this.s.scale);this.ctx.lineTo(10*this.s.scale,16*this.s.scale);this.ctx.lineTo(15*this.s.scale,9*this.s.scale);this.ctx.lineTo(12*this.s.scale,9*this.s.scale); this.ctx.lineTo(12*this.s.scale,4*this.s.scale);this.ctx.lineTo(8*this.s.scale,4*this.s.scale);this.ctx.closePath();this.ctx.lineWidth=0.1;this.ctx.stroke();this.ctx.fill()}if(b=="next")if(String(this.s.icon).indexOf("http://")>-1)za(this.s.icon,this.c);else{if(this.s.icon==0){this.ctx.beginPath();this.ctx.moveTo(4*this.s.scale,8*this.s.scale);this.ctx.lineTo(9*this.s.scale,9*this.s.scale);this.ctx.lineTo(9*this.s.scale,5*this.s.scale);this.ctx.lineTo(16*this.s.scale,10*this.s.scale);this.ctx.lineTo(9* this.s.scale,15*this.s.scale);this.ctx.lineTo(9*this.s.scale,12*this.s.scale);this.ctx.lineTo(4*this.s.scale,12*this.s.scale);this.ctx.lineTo(4*this.s.scale,8*this.s.scale);this.ctx.closePath();this.ctx.lineWidth=0.1;this.ctx.stroke();this.ctx.fill()}if(this.s.icon==1){this.ctx.beginPath();this.ctx.moveTo(7*this.s.scale,3*this.s.scale);this.ctx.lineTo(14*this.s.scale,10*this.s.scale);this.ctx.lineTo(7*this.s.scale,17*this.s.scale);this.ctx.lineTo(6*this.s.scale,16*this.s.scale);this.ctx.lineTo(11* this.s.scale,10*this.s.scale);this.ctx.lineTo(6*this.s.scale,5*this.s.scale);this.ctx.lineTo(7*this.s.scale,3*this.s.scale);this.ctx.closePath();this.ctx.lineWidth=0.1;this.ctx.stroke();this.ctx.fill()}}if(b=="prev")if(String(this.s.icon).indexOf("http://")>-1)za(this.s.icon,this.c);else{if(this.s.icon==0){this.ctx.beginPath();this.ctx.moveTo(4*this.s.scale,10*this.s.scale);this.ctx.lineTo(11*this.s.scale,5*this.s.scale);this.ctx.lineTo(11*this.s.scale,8*this.s.scale);this.ctx.lineTo(16*this.s.scale, 8*this.s.scale);this.ctx.lineTo(16*this.s.scale,12*this.s.scale);this.ctx.lineTo(11*this.s.scale,12*this.s.scale);this.ctx.lineTo(11*this.s.scale,15*this.s.scale);this.ctx.lineTo(4*this.s.scale,10*this.s.scale);this.ctx.closePath();this.ctx.lineWidth=0.1;this.ctx.stroke();this.ctx.fill()}if(this.s.icon==1){this.ctx.beginPath();this.ctx.moveTo(12*this.s.scale,3*this.s.scale);this.ctx.lineTo(13*this.s.scale,5*this.s.scale);this.ctx.lineTo(8*this.s.scale,10*this.s.scale);this.ctx.lineTo(13*this.s.scale, 16*this.s.scale);this.ctx.lineTo(12*this.s.scale,17*this.s.scale);this.ctx.lineTo(5*this.s.scale,10*this.s.scale);this.ctx.lineTo(12*this.s.scale,3*this.s.scale);this.ctx.closePath();this.ctx.lineWidth=0.1;this.ctx.stroke();this.ctx.fill()}}if(b=="back")if(String(this.s.icon).indexOf("http://")>-1)za(this.s.icon,this.c);else{if(this.s.icon==0){this.ctx.beginPath();this.ctx.moveTo(4*this.s.scale,10*this.s.scale);this.ctx.lineTo(14*this.s.scale,5*this.s.scale);this.ctx.lineTo(14*this.s.scale,10*this.s.scale); this.ctx.lineTo(24*this.s.scale,5*this.s.scale);this.ctx.lineTo(24*this.s.scale,15*this.s.scale);this.ctx.lineTo(14*this.s.scale,10*this.s.scale);this.ctx.lineTo(14*this.s.scale,15*this.s.scale);this.ctx.closePath();this.ctx.lineWidth=0.1;this.ctx.stroke();this.ctx.fill()}if(this.s.icon==1||this.s.icon==2){this.ctx.beginPath();this.ctx.moveTo(5*this.s.scale,10*this.s.scale);this.ctx.lineTo(13*this.s.scale,6*this.s.scale);this.ctx.lineTo(13*this.s.scale,10*this.s.scale);this.ctx.lineTo(23*this.s.scale, 5*this.s.scale);this.ctx.lineTo(23*this.s.scale,15*this.s.scale);this.ctx.lineTo(13*this.s.scale,10*this.s.scale);this.ctx.lineTo(13*this.s.scale,15*this.s.scale);this.ctx.closePath();this.ctx.strokeStyle="#"+this.s.color;this.ctx.lineCap="round";this.ctx.lineJoin="round";this.ctx.lineWidth=2*this.s.scale;this.ctx.stroke();this.ctx.fill()}if(this.s.icon==3){this.ctx.beginPath();this.ctx.moveTo(5*this.s.scale,10*this.s.scale);this.ctx.lineTo(15*this.s.scale,4*this.s.scale);this.ctx.lineTo(15*this.s.scale, 10*this.s.scale);this.ctx.lineTo(25*this.s.scale,4*this.s.scale);this.ctx.lineTo(25*this.s.scale,16*this.s.scale);this.ctx.lineTo(15*this.s.scale,10*this.s.scale);this.ctx.lineTo(15*this.s.scale,16*this.s.scale);this.ctx.lineTo(5*this.s.scale,10*this.s.scale);this.ctx.strokeStyle="#"+this.s.color;this.ctx.lineCap="round";this.ctx.lineJoin="round";this.ctx.lineWidth=1.5*this.s.scale;this.ctx.stroke()}}if(b=="volume"||b=="volume_mute")if(String(this.s.icon).indexOf("http://")>-1)za(this.s.icon,this.c, b=="volume"?1:2);else{if(this.s.icon==0){this.ctx.beginPath();this.ctx.moveTo(5*this.s.scale,8*this.s.scale);this.ctx.lineTo(9*this.s.scale,8*this.s.scale);this.ctx.lineTo(14*this.s.scale,4*this.s.scale);this.ctx.lineTo(14*this.s.scale,15*this.s.scale);this.ctx.lineTo(9*this.s.scale,11*this.s.scale);this.ctx.lineTo(5*this.s.scale,11*this.s.scale);this.ctx.lineTo(5*this.s.scale,8*this.s.scale);if(b=="volume"){this.ctx.moveTo(15*this.s.scale,7*this.s.scale);this.ctx.lineTo(16*this.s.scale,7*this.s.scale); this.ctx.lineTo(16*this.s.scale,12*this.s.scale);this.ctx.lineTo(15*this.s.scale,12*this.s.scale);this.ctx.lineTo(15*this.s.scale,7*this.s.scale)}this.ctx.closePath();this.ctx.lineWidth=0.1;this.ctx.stroke();this.ctx.fill()}if(this.s.icon==1){this.ctx.beginPath();this.ctx.moveTo(4*this.s.scale,7*this.s.scale);this.ctx.lineTo(6*this.s.scale,7*this.s.scale);this.ctx.lineTo(6*this.s.scale,13*this.s.scale);this.ctx.lineTo(4*this.s.scale,13*this.s.scale);this.ctx.lineTo(4*this.s.scale,7*this.s.scale); this.ctx.moveTo(7*this.s.scale,7*this.s.scale);this.ctx.lineTo(13*this.s.scale,2*this.s.scale);this.ctx.lineTo(13*this.s.scale,17*this.s.scale);this.ctx.lineTo(7*this.s.scale,13*this.s.scale);this.ctx.closePath();if(b=="volume"){this.ctx.moveTo(15*this.s.scale,8*this.s.scale);this.ctx.arc(15*this.s.scale,10*this.s.scale,4*this.s.scale,Math.PI*1.6,Math.PI/2.3,false);this.ctx.lineTo(15*this.s.scale,12*this.s.scale);this.ctx.arc(14*this.s.scale,10*this.s.scale,4*this.s.scale,Math.PI/2.3,Math.PI*1.6, true);this.ctx.moveTo(16*this.s.scale,9*this.s.scale);this.ctx.lineTo(16*this.s.scale,11*this.s.scale);this.ctx.lineTo(15*this.s.scale,11*this.s.scale);this.ctx.lineTo(15*this.s.scale,9*this.s.scale)}this.ctx.strokeStyle="#"+this.s.color;this.ctx.lineCap="round";this.ctx.lineJoin="round";this.ctx.lineWidth=0.1;this.ctx.stroke();this.ctx.fill()}if(this.s.icon==2){this.ctx.beginPath();ovalX=8*this.s.scale;ovalY=14*this.s.scale;ovalW=7*this.s.scale;ovalH=3*this.s.scale;this.ctx.moveTo(ovalX,ovalY-ovalH/ 2);this.ctx.bezierCurveTo(ovalX-ovalW/2,ovalY-ovalH/2,ovalX-ovalW/2,ovalY+ovalH/2,ovalX,ovalY+ovalH/2);this.ctx.bezierCurveTo(ovalX+ovalW/2,ovalY+ovalH/2,ovalX+ovalW/2,ovalY-ovalH/2,ovalX,ovalY-ovalH/2);this.ctx.moveTo(10*this.s.scale,14*this.s.scale);this.ctx.lineTo(11*this.s.scale,3*this.s.scale);this.ctx.quadraticCurveTo(13*this.s.scale,4*this.s.scale,13*this.s.scale,5*this.s.scale);this.ctx.quadraticCurveTo(15*this.s.scale,6*this.s.scale,17*this.s.scale,6*this.s.scale);this.ctx.quadraticCurveTo(14* this.s.scale,8*this.s.scale,11*this.s.scale,5*this.s.scale);this.ctx.lineTo(10*this.s.scale,14*this.s.scale);this.ctx.closePath();this.ctx.strokeStyle="#"+this.s.color;this.ctx.lineWidth=0.7;this.ctx.stroke();this.ctx.fill()}if(this.s.icon==3){this.ctx.beginPath();this.ctx.lineWidth=1.5*this.s.scale;this.ctx.strokeStyle="#"+this.s.color;this.ctx.lineCap="round";this.ctx.lineJoin="round";this.ctx.moveTo(3*this.s.scale,8*this.s.scale);this.ctx.lineTo(6*this.s.scale,8*this.s.scale);this.ctx.lineTo(12* this.s.scale,4*this.s.scale);this.ctx.lineTo(12*this.s.scale,16*this.s.scale);this.ctx.lineTo(6*this.s.scale,12*this.s.scale);this.ctx.lineTo(3*this.s.scale,12*this.s.scale);this.ctx.lineTo(3*this.s.scale,8*this.s.scale);this.ctx.lineTo(6*this.s.scale,8*this.s.scale);this.ctx.lineTo(6*this.s.scale,12*this.s.scale);if(b=="volume"){this.ctx.moveTo(15*this.s.scale,7*this.s.scale);this.ctx.lineTo(18*this.s.scale,4*this.s.scale);this.ctx.moveTo(15*this.s.scale,10*this.s.scale);this.ctx.lineTo(19*this.s.scale, 10*this.s.scale);this.ctx.moveTo(15*this.s.scale,13*this.s.scale);this.ctx.lineTo(18*this.s.scale,16*this.s.scale)}this.ctx.stroke()}}if(b=="playlist")if(String(this.s.icon).indexOf("http://")>-1)za(this.s.icon,this.c);else{if(this.s.icon==0){this.ctx.beginPath();this.ctx.moveTo(6*this.s.scale,6*this.s.scale);this.ctx.lineTo(13*this.s.scale,6*this.s.scale);this.ctx.lineTo(13*this.s.scale,13*this.s.scale);this.ctx.lineTo(6*this.s.scale,13*this.s.scale);this.ctx.closePath();this.ctx.strokeStyle="#"+ this.s.color;this.ctx.lineCap="round";this.ctx.lineJoin="round";this.ctx.lineWidth=4*this.s.scale;this.ctx.stroke();this.ctx.fill();this.ctx.clearRect(5*this.s.scale,5*this.s.scale,9*this.s.scale,9*this.s.scale);this.ctx.fillRect(6*this.s.scale,6*this.s.scale,7*this.s.scale,1*this.s.scale);this.ctx.fillRect(6*this.s.scale,8*this.s.scale,7*this.s.scale,1*this.s.scale);this.ctx.fillRect(6*this.s.scale,10*this.s.scale,7*this.s.scale,1*this.s.scale);this.ctx.fillRect(6*this.s.scale,12*this.s.scale,7* this.s.scale,1*this.s.scale);this.ctx.closePath()}if(this.s.icon==1){this.ctx.beginPath();for(c=5;c<15;c+=3){this.ctx.moveTo(4*this.s.scale,c*this.s.scale);this.ctx.lineTo(16*this.s.scale,c*this.s.scale);this.ctx.lineTo(16*this.s.scale,(c+1)*this.s.scale);this.ctx.lineTo(4*this.s.scale,(c+1)*this.s.scale);this.ctx.lineTo(4*this.s.scale,c*this.s.scale)}this.ctx.lineWidth=0.1;this.ctx.stroke();this.ctx.fill();this.ctx.closePath()}if(this.s.icon==2){this.ctx.beginPath();for(c=4;c<15;c+=5){this.ctx.moveTo(3* this.s.scale,c*this.s.scale);this.ctx.lineTo(5*this.s.scale,c*this.s.scale);this.ctx.lineTo(5*this.s.scale,(c+2)*this.s.scale);this.ctx.lineTo(3*this.s.scale,(c+2)*this.s.scale);this.ctx.lineTo(3*this.s.scale,c*this.s.scale);this.ctx.moveTo(7*this.s.scale,c*this.s.scale);this.ctx.lineTo(17*this.s.scale,c*this.s.scale);this.ctx.lineTo(17*this.s.scale,(c+2)*this.s.scale);this.ctx.lineTo(7*this.s.scale,(c+2)*this.s.scale);this.ctx.lineTo(7*this.s.scale,c*this.s.scale)}this.ctx.lineWidth=0.1;this.ctx.stroke(); this.ctx.fill();this.ctx.closePath()}if(this.s.icon==3){this.ctx.beginPath();for(c=4;c<15;c+=5)for(y=4;y<15;y+=5){this.ctx.moveTo(y*this.s.scale,c*this.s.scale);this.ctx.lineTo((y+2)*this.s.scale,c*this.s.scale);this.ctx.lineTo((y+2)*this.s.scale,(c+2)*this.s.scale);this.ctx.lineTo(y*this.s.scale,(c+2)*this.s.scale);this.ctx.lineTo(y*this.s.scale,c*this.s.scale)}this.ctx.lineWidth=0.1;this.ctx.stroke();this.ctx.fill();this.ctx.closePath()}}if(b=="full"||b=="full_back")if(String(this.s.icon).indexOf("http://")> -1)za(this.s.icon,this.c,b=="full"?1:2);else{if(this.s.icon==0){this.ctx.beginPath();this.ctx.moveTo(6*this.s.scale,7*this.s.scale);this.ctx.lineTo(13*this.s.scale,7*this.s.scale);this.ctx.lineTo(13*this.s.scale,14*this.s.scale);this.ctx.lineTo(6*this.s.scale,14*this.s.scale);this.ctx.closePath();this.ctx.strokeStyle="#"+this.s.color;this.ctx.lineCap="round";this.ctx.lineJoin="round";this.ctx.lineWidth=4*this.s.scale;this.ctx.stroke();this.ctx.fill();this.ctx.clearRect(5*this.s.scale,6*this.s.scale, 9*this.s.scale,9*this.s.scale);if(b=="full_back"){this.ctx.fillRect(6*this.s.scale,13*this.s.scale,3*this.s.scale,1*this.s.scale);this.ctx.fillRect(6*this.s.scale,10*this.s.scale,1*this.s.scale,3*this.s.scale)}else{this.ctx.fillRect(10*this.s.scale,7*this.s.scale,3*this.s.scale,1*this.s.scale);this.ctx.fillRect(12*this.s.scale,7*this.s.scale,1*this.s.scale,3*this.s.scale)}this.ctx.closePath()}if(this.s.icon==1){this.ctx.beginPath();if(b=="full_back"){this.ctx.fillRect(7*this.s.scale,4*this.s.scale, 11*this.s.scale,7*this.s.scale);this.ctx.clearRect(8*this.s.scale,5*this.s.scale,9*this.s.scale,5*this.s.scale);this.ctx.fillRect(2*this.s.scale,7*this.s.scale,13*this.s.scale,8*this.s.scale);this.ctx.clearRect(3*this.s.scale,8*this.s.scale,11*this.s.scale,6*this.s.scale)}else{this.ctx.fillRect(2*this.s.scale,8*this.s.scale,11*this.s.scale,7*this.s.scale);this.ctx.clearRect(3*this.s.scale,9*this.s.scale,9*this.s.scale,5*this.s.scale);this.ctx.fillRect(5*this.s.scale,4*this.s.scale,13*this.s.scale, 8*this.s.scale);this.ctx.clearRect(6*this.s.scale,5*this.s.scale,11*this.s.scale,6*this.s.scale)}this.ctx.closePath()}if(this.s.icon==2){this.ctx.beginPath();this.ctx.moveTo(2*this.s.scale,2*this.s.scale);this.ctx.lineTo(6*this.s.scale,2*this.s.scale);this.ctx.lineTo(5*this.s.scale,3*this.s.scale);this.ctx.lineTo(7*this.s.scale,5.5*this.s.scale);this.ctx.lineTo(5.5*this.s.scale,7*this.s.scale);this.ctx.lineTo(3*this.s.scale,5*this.s.scale);this.ctx.lineTo(2*this.s.scale,6*this.s.scale);this.ctx.lineTo(2* this.s.scale,2*this.s.scale);this.ctx.moveTo(14*this.s.scale,2*this.s.scale);this.ctx.lineTo(18*this.s.scale,2*this.s.scale);this.ctx.lineTo(18*this.s.scale,6*this.s.scale);this.ctx.lineTo(17*this.s.scale,5*this.s.scale);this.ctx.lineTo(14.5*this.s.scale,7*this.s.scale);this.ctx.lineTo(13*this.s.scale,5.5*this.s.scale);this.ctx.lineTo(15*this.s.scale,3*this.s.scale);this.ctx.lineTo(14*this.s.scale,2*this.s.scale);this.ctx.moveTo(14.5*this.s.scale,13*this.s.scale);this.ctx.lineTo(17*this.s.scale,15* this.s.scale);this.ctx.lineTo(18*this.s.scale,14*this.s.scale);this.ctx.lineTo(18*this.s.scale,18*this.s.scale);this.ctx.lineTo(14*this.s.scale,18*this.s.scale);this.ctx.lineTo(15*this.s.scale,17*this.s.scale);this.ctx.lineTo(13*this.s.scale,14.5*this.s.scale);this.ctx.lineTo(14.5*this.s.scale,13*this.s.scale);this.ctx.moveTo(5.5*this.s.scale,13*this.s.scale);this.ctx.lineTo(7*this.s.scale,14.5*this.s.scale);this.ctx.lineTo(5*this.s.scale,17*this.s.scale);this.ctx.lineTo(6*this.s.scale,18*this.s.scale); this.ctx.lineTo(2*this.s.scale,18*this.s.scale);this.ctx.lineTo(2*this.s.scale,14*this.s.scale);this.ctx.lineTo(3*this.s.scale,15*this.s.scale);this.ctx.lineTo(5.5*this.s.scale,13*this.s.scale);this.ctx.closePath();this.ctx.fill();this.ctx.save();this.ctx.beginPath();this.ctx.fillStyle="rgba("+HTR(this.s.color)+","+HTG(this.s.color)+","+HTB(this.s.color)+",0.5)";this.ctx.fillRect(7*this.s.scale,7*this.s.scale,6*this.s.scale,6*this.s.scale);this.ctx.closePath()}if(this.s.icon==3){this.ctx.beginPath(); if(b=="full_back"){this.ctx.moveTo(18*this.s.scale,2*this.s.scale);this.ctx.lineTo(2*this.s.scale,16*this.s.scale);this.ctx.lineTo(5*this.s.scale,10*this.s.scale);this.ctx.moveTo(2*this.s.scale,16*this.s.scale);this.ctx.lineTo(10*this.s.scale,14*this.s.scale)}else{this.ctx.moveTo(3*this.s.scale,18*this.s.scale);this.ctx.lineTo(17*this.s.scale,2*this.s.scale);this.ctx.lineTo(8*this.s.scale,6*this.s.scale);this.ctx.moveTo(17*this.s.scale,2*this.s.scale);this.ctx.lineTo(15*this.s.scale,11*this.s.scale)}this.ctx.closePath(); this.ctx.strokeStyle="#"+this.s.color;this.ctx.lineCap="round";this.ctx.lineJoin="round";this.ctx.lineWidth=1*this.s.scale;this.ctx.stroke();this.ctx.closePath()}}if(b=="volbar"){this.ctx.beginPath();this.ctx.moveTo(0*this.s.scale,0*this.s.scale);this.ctx.lineTo(3*this.s.scale,0*this.s.scale);this.ctx.lineTo(3*this.s.scale,10*this.s.scale);this.ctx.lineTo(0*this.s.scale,10*this.s.scale);this.ctx.lineTo(0*this.s.scale,0*this.s.scale);this.ctx.closePath();this.ctx.lineWidth=0.1;this.ctx.stroke();this.ctx.fill()}if(b== "menu")if(String(this.s.icon).indexOf("http://")>-1)za(this.s.icon,this.c);else{if(this.s.icon==0){this.ctx.beginPath();this.ctx.moveTo(6*this.s.scale,7*this.s.scale);this.ctx.lineTo(13*this.s.scale,7*this.s.scale);this.ctx.lineTo(13*this.s.scale,14*this.s.scale);this.ctx.lineTo(6*this.s.scale,14*this.s.scale);this.ctx.closePath();this.ctx.strokeStyle="#"+this.s.color;this.ctx.lineCap="round";this.ctx.lineJoin="round";this.ctx.lineWidth=4*this.s.scale;this.ctx.stroke();this.ctx.fill();this.ctx.clearRect(5* this.s.scale,6*this.s.scale,9*this.s.scale,9*this.s.scale);this.ctx.fillRect(9*this.s.scale,10*this.s.scale,1*this.s.scale,6*this.s.scale);this.ctx.fillRect(9*this.s.scale,8*this.s.scale,1*this.s.scale,1*this.s.scale);this.ctx.closePath()}if(this.s.icon==1){this.ctx.moveTo(8.5*this.s.scale,5.5*this.s.scale);this.ctx.lineTo(3*this.s.scale,9*this.s.scale);this.ctx.lineTo(8.5*this.s.scale,12.5*this.s.scale);this.ctx.moveTo(11.5*this.s.scale,5.5*this.s.scale);this.ctx.lineTo(17*this.s.scale,9*this.s.scale); this.ctx.lineTo(11.5*this.s.scale,12.5*this.s.scale);this.ctx.strokeStyle="#"+this.s.color;this.ctx.lineCap="round";this.ctx.lineJoin="round";this.ctx.lineWidth=2*this.s.scale;this.ctx.stroke()}if(this.s.icon==2){this.ctx.arc(10*this.s.scale,7*this.s.scale,3*this.s.scale,Math.PI/2,-Math.PI,true);this.ctx.moveTo(10*this.s.scale,10*this.s.scale);this.ctx.lineTo(10*this.s.scale,12*this.s.scale);this.ctx.moveTo(10*this.s.scale,15*this.s.scale);this.ctx.arc(10*this.s.scale,15*this.s.scale,0.5*this.s.scale, 0,Math.PI*2);this.ctx.strokeStyle="#"+this.s.color;this.ctx.lineCap="round";this.ctx.lineJoin="round";this.ctx.lineWidth=2*this.s.scale;this.ctx.stroke()}if(this.s.icon==3){this.ctx.arc(6*this.s.scale,10*this.s.scale,2*this.s.scale,0,Math.PI*2);this.ctx.moveTo(14*this.s.scale,6*this.s.scale);this.ctx.arc(14*this.s.scale,6*this.s.scale,2*this.s.scale,0,Math.PI*2);this.ctx.moveTo(14*this.s.scale,14*this.s.scale);this.ctx.arc(14*this.s.scale,14*this.s.scale,2*this.s.scale,0,Math.PI*2);this.ctx.moveTo(6* this.s.scale,10*this.s.scale);this.ctx.lineTo(14*this.s.scale,6*this.s.scale);this.ctx.moveTo(6*this.s.scale,10*this.s.scale);this.ctx.lineTo(14*this.s.scale,14*this.s.scale);this.ctx.strokeStyle="#"+this.s.color;this.ctx.lineCap="round";this.ctx.lineJoin="round";this.ctx.lineWidth=1.5*this.s.scale;this.ctx.stroke();this.ctx.fill()}}if(b=="hd"||b=="hd1"){this.ctx.fillStyle=this.s.color;!this.s.icon2&&(this.s.icon2=this.s.icon);this.ctx.font="normal "+12*this.s.scale+"px Arial";this.ctx.fillText(b== "hd1"?this.s.icon2:this.s.icon,3*this.s.scale,15*this.s.scale)}if(b=="hdselect"){this.ctx.fillStyle=this.s.color;this.ctx.font="normal "+12*this.s.scale+"px Arial"}if(b=="line"||b=="volbarline"){this.ctx.beginPath();this.ctx.moveTo(0,10-this.s.h/2);this.ctx.lineTo(d,10-this.s.h/2);this.ctx.lineTo(d,10+this.s.h/2);this.ctx.lineTo(0,10+this.s.h/2);this.ctx.lineTo(0,10-this.s.h/2);this.ctx.lineWidth=0.1;this.ctx.stroke();this.ctx.closePath();this.ctx.fill()}if(b=="volbarline_v"){this.ctx.beginPath(); this.ctx.moveTo(0,0);this.ctx.lineTo(d,0);this.ctx.lineTo(d,g);this.ctx.lineTo(0,g);this.ctx.lineTo(0,0);this.ctx.lineWidth=0.1;this.ctx.stroke();this.ctx.closePath();this.ctx.fill()}if(b=="separator"){if(this.s.icon==0){this.ctx.beginPath();this.ctx.moveTo(2*this.s.scale,0);this.ctx.lineTo(2*this.s.scale,20*this.s.scale);this.ctx.lineTo(2.5*this.s.scale,20*this.s.scale);this.ctx.lineTo(2.5*this.s.scale,0);this.ctx.lineTo(2*this.s.scale,0);this.ctx.lineWidth=0.1;this.ctx.stroke();this.ctx.closePath(); this.ctx.fill()}if(this.s.icon==1){this.ctx.beginPath();this.ctx.moveTo(4.5*this.s.scale,0);this.ctx.lineTo(0,20*this.s.scale);this.ctx.lineTo(0.5*this.s.scale,20*this.s.scale);this.ctx.lineTo(5*this.s.scale,0);this.ctx.lineTo(4.5*this.s.scale,0);this.ctx.lineWidth=0.1;this.ctx.stroke();this.ctx.closePath();this.ctx.fill()}if(this.s.icon==2){this.ctx.beginPath();this.ctx.moveTo(2*this.s.scale,0);this.ctx.lineTo(2*this.s.scale,20*this.s.scale);this.ctx.lineTo(4*this.s.scale,20*this.s.scale);this.ctx.lineTo(4* this.s.scale,0);this.ctx.lineTo(2*this.s.scale,0);this.ctx.lineWidth=0.1;this.ctx.stroke();this.ctx.closePath();this.ctx.fill()}if(this.s.icon==3){this.ctx.beginPath();this.ctx.moveTo(2*this.s.scale,9*this.s.scale);this.ctx.lineTo(4*this.s.scale,9*this.s.scale);this.ctx.lineTo(4*this.s.scale,11*this.s.scale);this.ctx.lineTo(2*this.s.scale,11*this.s.scale);this.ctx.lineTo(2*this.s.scale,9*this.s.scale);this.ctx.lineWidth=0.1;this.ctx.stroke();this.ctx.closePath();this.ctx.fill()}}if(b.indexOf("time")== 0){this.c.innerHTML="0:00";this.s.icon==0&&(this.font=10*this.s.scale+"px Verdana");this.s.icon==1&&(this.font=9*this.s.scale+"px Tahoma");this.s.icon==2&&(this.font=10*this.s.scale+"px Arial");this.s.icon==3&&(this.font=11*this.s.scale+"px _serif");e(this.c,{width:d,color:"#"+this.s.color,font:this.font,"text-align":"center",margin:(10*this.s.scale-10)/2+"px 0 0 0"})}if(b=="buffer"){this.c.innerHTML="";e(this.c,{display:"none",width:d,color:"#"+this.s.color,font:"10px Arial","text-align":"left"})}this.c.appendChild(this.canvas); e(this.canvas,{width:d*this.s.scale*(this.s.bg==1&&this.s.bg_smallicon==1?0.8:1),height:g*this.s.scale*(this.s.bg==1&&this.s.bg_smallicon==1?0.8:1),position:"absolute",top:Math.round(b=="start"?g/2-10*this.s.scale2+2*this.s.scale:(this.s.bg==1&&this.s.bg_smallicon==1?2*this.s.scale:0)+this.s.margintop*1-this.s.marginbottom*1),left:Math.round(b=="start"?d/2-10*this.s.scale2+2*this.s.scale:(this.s.bg==1&&this.s.bg_smallicon==1?2*this.s.scale:0)+(1-this.s.scale)*d/2),opacity:this.s.alpha,filter:"alpha(opacity="+ this.s.alpha*100+")"});this.w=d;this.h=g*this.s.scale}function za(b,d,g){var f=document.createElement("img");if(g>0){g==1&&f.setAttribute("src",b.indexOf("|")>-1?b.substr(0,b.indexOf("|")):b);g==2&&f.setAttribute("src",b.indexOf("|")>-1?b.substr(b.indexOf("|")+1):b)}else f.setAttribute("src",b);d.appendChild(f)}function e(b,d){for(var g in d)if(d[g]!="NaNpx"){typeof d[g]=="number"&&g!="opacity"&&(d[g]+="px");b.style[g]=d[g]}}function $c(b){if(typeof b.onselectstart!="undefined")b.onselectstart=function(){return false}; else if(typeof b.style.MozUserSelect!="undefined")b.style.MozUserSelect="none";else b.onmousedown=function(){return false};b.style.cursor="default"}function Cc(b,d){d.ctx.clearRect(0,0,200,200);d.ctx.fillText(b,5*d.s.scale,15*d.s.scale);d.ctx.beginPath();d.ctx.moveTo((d.canvas.width-10)*d.s.scale,9*d.s.scale);d.ctx.lineTo((d.canvas.width-6)*d.s.scale,9*d.s.scale);d.ctx.lineTo((d.canvas.width-8)*d.s.scale,14*d.s.scale);d.ctx.lineTo((d.canvas.width-10)*d.s.scale,9*d.s.scale);d.ctx.closePath();d.ctx.lineWidth= 0.1;d.ctx.stroke();d.ctx.fill()}function Aa(b){this.c=document.createElement("div");this.canvas=document.createElement("canvas");this.canvas.height=b.h;this.canvas.width=b.w;var d=this.canvas.getContext("2d");!b.h0&&(b.h0=0);if(b.bgc.indexOf("|")>0){for(var g=b.bgc.split("|"),f=d.createLinearGradient(0,b.h0,0,b.h),x=0;x0){if(b.o==b.w/2){d.beginPath();d.arc(b.w/2,b.h/2,b.w/2,0,Math.PI*2);d.closePath()}else{d.beginPath();d.moveTo(b.onotop==1?0:b.o,0);d.lineTo(b.w-(b.onotop==1?0:b.o),0);b.onotop==1||d.quadraticCurveTo(b.w,0,b.w,b.o);d.lineTo(b.w,b.h-b.o);d.quadraticCurveTo(b.w,b.h,b.w- b.o,b.h);d.lineTo(b.o,b.h);d.quadraticCurveTo(0,b.h,0,b.h-b.o);d.lineTo(0,b.o);b.onotop==1||d.quadraticCurveTo(0,0,b.o,0);!b.brdc&&(b.brdc="cccccc");d.strokeStyle="#"+b.brdc;if(b.brd==0||!b.brd)b.brd=0.1;d.lineWidth=b.brd;d.stroke()}d.fill()}else d.fillRect(0,0,b.w,b.h);this.c.appendChild(this.canvas)}function Yc(){this.auto="firstframe";this.addcontrols="";this.airplay=0;this.bgcolor="ffffff";this.bodycolor="000000";this.brd=0;this.brdcolor="cccccc";this.buffersec=5;this.cntrlbg=1;this.cntrlbgcolor= "000000|000000";this.cntrlbgalpha1=0.15;this.cntrlbgalpha2=0.7;this.cntrlendmargin=7;this.cntrlhide=0;this.cntrlmargin=3;this.cntrlout=this.cntrlmarginleft=this.cntrlmarginright=0;this.cntrloutheight=35;this.cntrlsize=1;this.cntrlbuffer={center:0};this.cntrl_buffer={};this.cntrlfull={out:0};this.cntrl_full={};this.cntrlstyle={icon:0,color:"ffffff",bg:0,bg_o:1,bg_smallicon:1,bgcolor:"000000",bg_sh:"0",bg_in:"0",bg_gl:"0",gl_a1:0.9,gl_a2:0.1,gl_color:"FFFFFF",sh_blur:6,sh_dist:0,bg_a:1,bg_w:20,bg_h:20, scale:1,eff:0,effE:"Cubic",sh:0,sh_c:"000000",sh_a:0.5,sh_under:1,notip:0,text:0,center:0,marginleft:0,marginright:0,margintop:0,marginbottom:0,alpha:1};this.cntrlplay={};this.cntrl_play={};this.cntrlpause={};this.cntrl_pause={};this.cntrlstop={};this.cntrl_stop={};this.cntrldownload={};this.cntrl_download={};this.cntrlnext={};this.cntrl_next={};this.cntrlprev={};this.cntrl_prev={};this.cntrlline={h:4,all_a:0.3,load_a:0.4,play_a:1,click:1,color_play:"ffffff",color_all:"ffffff",color_load:"ffffff", o:0,full:0};this.cntrl_line={};this.cntrl_volbarline={};this.cntrlvolbarline={h:4,w:40,all_a:0.4,play_a:1,color_play:"ffffff",color_all:"ffffff",o:0};this.cntrl_volbarline_v={};this.cntrlvolbarline_v={h:50,w:4,bg:0,bgcolor:"000000",bg_o:0,bg_a:0.15,all_a:0.4,play_a:1,effdir:0,color_load:"ffffff",color_all:"ffffff",o:0};this.ivolbar_v=false;this.cntrlvolbar={bar:1,n:5,all_a:0.4,play_a:1,scale:1};this.cntrl_volbar={};this.cntrl_tune={};this.cntrl_volume={};this.cntrlvolume={};this.cntrl_sound={};this.cntrlmenu= {};this.cntrl_menu={};this.cntrlplaylist={};this.cntrl_playlist={};this.cntrl_hd={};this.cntrlhd={icon:"HQ",text:1,alpha0:0.5,w:60};this.cntrlhdselect={bg:1,bg_o:10,bg_a:0.7,bgcolor:"666666|000000",bg_smallicon:0};this.cntrlsize=1;this.cntrlstart={bg:1,bg_sh:1,bgcolor:"ffffff",bg_a:0.1,bg_w:75,bg_h:75,gl_a1:0.8,gl_a2:0,eff:1,scale2:2,curtain:"0",curtainColor:"000000",curtainAlpha:0.5,notip:1,bg_smallicon:0};this.cntrl_start={};this.cntrlseparator={alpha:0.5};this.cntrl_separator={};this.cntrlrun= {w:7,h:7,o:1,position:0,hide:0};this.cntrl_run={};this.cntrlrun_volume={w:7,h:7,o:1,position:0,hide:0};this.cntrl_run_volume={};this.glass=0;this.glasscolor="ffffff";this.glassalpha1=0.9;this.glassalpha2=0.2;this.hdsw=60;this.hdseparator=",";this.quality="";this.hd1=0;this.comment="";this.shownameonstop=this.shownameonover=this.shownameliketip=this.showname=0;this.stageposition="";this.stagetop=this.stageleft=0;this.commentcolor="ffffff";this.commentbgcolor="000000";this.commentbgcolor_k=false;this.commentbgalpha1= 0.5;this.commentbgalpha2=0.1;this.commentalign="left";this.commenttopmargin=0;this.commentmargin=10;this.controls="";this.videocontrols="play,back,time_play,line,time_all,volume,volbarline,full,buffer";this.audiocontrols="play,back,time_play,line,time_all,volume,volbarline,buffer";this.streamcontrols="play,time_play,volume,volbarline";this.debug=0;this.embedcode=this.download="";this.events=[];this.eventplayed=this.eventtime=0;this.iosplayer=1;this.filehd=this.file="";this.youtube=false;this.htmlsize= 0;this.plr=this.iframeurl=this.iframe=this.id="";this.pl_history=[];this.bottomrowheight=200;this.plrows=0;this.link="";this.m="video";this.menuauto=this.menu_w=this.menu_h=this.menu_nocode=0;this.namefont="Verdana";this.namefontsize=11;this.namefontstyle="normal";this.namebgalpha=0;this.namebgcolor="000000";this.namebgo=8;this.namebgshadow=0;this.namecolor="ffffff";this.namemargin_v=this.namemargin_h=0;this.namepadding=6;this.nametopanel=this.nameleading=0;this.logo=this.nametags2=this.nametags1= "";this.logoplace=2;this.logoalpha=0.5;this.logomargin_v=this.logomargin_h=this.logomargin=15;this.logolink="";this.logotarget="_self";this.nohtml5="uppod.swf";this.padding=this.o=0;this.pl=this.poster="";this.plplace="inside";this.pltw=100;this.plth=70;this.plcolor2=this.plcolor="ffffff";this.plbgcolor="000000";this.plalpha=0.3;this.plalpha2=0.1;this.plmargin=0;this.plmargin_h=10;this.plmargin_v=0;this.pltags2=this.pltags1="";this.plfont="Arial";this.plfontsize=11;this.plplay=0;this.plplay1=1;this.reloadertime= this.reloadercounter=this.reloader=this.radio=this.time=this.random=this.pliview=0;this.screencolor="000000";this.transparent=this.start=this.scrn_h=this.scrn_w=0;this.volume=0.8;this.w=500;this.webkitFullscreen=0;this.realfullscreen=1;this.h=375;this.st="";this.stg=document.getElementById(k.id);this.stg==null&&alert("Uppod: ID ("+k.id+") not found");this.sw=this.stagewidth=this.stg.offsetWidth;this.ph=this.sh=this.stageheight=this.stg.offsetHeight;this.pw=this.sw;this.lang="ru";this.lang_ru={lang:"ru", localization:{back:"\u0412 \u043d\u0430\u0447\u0430\u043b\u043e",play:"\u041f\u0443\u0441\u043a",pause:"\u041f\u0430\u0443\u0437\u0430",stop:"\u0421\u0442\u043e\u043f",full:"\u0420\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u044c",full_back:"\u0421\u0432\u0435\u0440\u043d\u0443\u0442\u044c",list:"\u041f\u043b\u0435\u0439\u043b\u0438\u0441\u0442",next:"\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439",download:"\u0421\u043a\u0430\u0447\u0430\u0442\u044c",prev:"\u041f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0439", sound_off:"\u0412\u043a\u043b. \u0437\u0432\u0443\u043a",sound:"\u0412\u044b\u043a\u043b. \u0437\u0432\u0443\u043a",volume:"\u0413\u0440\u043e\u043c\u043a\u043e\u0441\u0442\u044c",menu:"\u041f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f",menu_code:"\u041a\u043e\u0434",menu_link:"\u0421\u0441\u044b\u043b\u043a\u0430",menu_download:"\u0424\u0430\u0439\u043b",menu_copy:"\u0421\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c",menu_mail:"\u0421\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 e-mail", sent:"\u041e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043e",menu_message:"\u0422\u0435\u043a\u0441\u0442",menu_send:"\u041e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c",fontsize:"\u0420\u0430\u0437\u043c\u0435\u0440",bgalpha:"\u0424\u043e\u043d",fontcolor:"\u0426\u0432\u0435\u0442 \u0442\u0435\u043a\u0441\u0442\u0430",off:"\u0412\u044b\u043a\u043b\u044e\u0447\u0438\u0442\u044c",on:"\u0412\u043a\u043b\u044e\u0447\u0438\u0442\u044c",hq:"\u041b\u0443\u0447\u0448\u0435\u0435 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u043e", hd:"\u041a\u0430\u0447\u0435\u0441\u0442\u0432\u043e",hq_off:"\u041e\u0431\u044b\u0447\u043d\u043e\u0435 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u043e",sub:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044b",traffic:"\u0422\u0440\u0430\u0444\u0438\u043a (\u041c\u0411)",smoothing:"\u0412\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0441\u0433\u043b\u0430\u0436\u0438\u0432\u0430\u043d\u0438\u0435",smoothing_off:"\u0412\u044b\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0441\u0433\u043b\u0430\u0436\u0438\u0432\u0430\u043d\u0438\u0435", smoothing_ok:"\u0421\u0433\u043b\u0430\u0436\u0438\u0432\u0430\u043d\u0438\u0435 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u043e",smoothing_off_ok:"\u0421\u0433\u043b\u0430\u0436\u0438\u0432\u0430\u043d\u0438\u0435 \u0432\u044b\u043a\u043b\u044e\u0447\u0435\u043d\u043e",password:"\u041f\u0430\u0440\u043e\u043b\u044c",startlive:"\u041d\u0430\u0447\u0430\u0442\u044c \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u044e",live:"\u0422\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u044f",rec:"\u0417\u0430\u043f\u0438\u0441\u044c", rerec:"\u0417\u0430\u043d\u043e\u0432\u043e",playrec:"\u0418\u0433\u0440\u0430\u0442\u044c",contrec:"\u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c \u0437\u0430\u043f\u0438\u0441\u044c",settings:"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438",done:"\u0413\u043e\u0442\u043e\u0432\u043e",shownotes:"\u0428\u043e\u0443\u043d\u043e\u0442\u044b",loading:"\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430",startplay:"\u0412\u043a\u043b\u044e\u0447\u0438\u0442\u0435 \u043f\u043b\u0435\u0435\u0440", notype:"\u041d\u0435 \u0443\u043a\u0430\u0437\u0430\u043d \u0440\u0435\u0436\u0438\u043c \u043f\u043b\u0435\u0435\u0440\u0430 (m)",err:"\u041e\u0448\u0438\u0431\u043a\u0430",errjson:"\u041e\u0448\u0438\u0431\u043a\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438",errjson_decode:"\u041e\u0448\u0438\u0431\u043a\u0430 \u0432",errjsonpl_decode:"\u041e\u0448\u0438\u0431\u043a\u0430 \u0432 \u043f\u043b\u0435\u0439\u043b\u0438\u0441\u0442\u0435",err_pl:"\u041e\u0448\u0438\u0431\u043a\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u043f\u043b\u0435\u0439\u043b\u0438\u0441\u0442\u0430", err_img:"\u041e\u0448\u0438\u0431\u043a\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f",file:"\u0424\u0430\u0439\u043b",notfound:"\u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d",copy_link:"\u0421\u0441\u044b\u043b\u043a\u0430 \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0430 \u0432 \u0431\u0443\u0444\u0435\u0440 \u043e\u0431\u043c\u0435\u043d\u0430",copy_code:"\u041a\u043e\u0434 \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d \u0432 \u0431\u0443\u0444\u0435\u0440 \u043e\u0431\u043c\u0435\u043d\u0430", no_data:"\u041d\u0435\u0442 \u0434\u0430\u043d\u043d\u044b\u0445",ads:"\u0420\u0435\u043a\u043b\u0430\u043c\u0430",like:"\u041f\u043e\u043d\u0440\u0430\u0432\u0438\u043b\u043e\u0441\u044c",like:"\u041c\u043d\u0435 \u043d\u0440\u0430\u0432\u0438\u0442\u0441\u044f",unlike:"\u041d\u0435 \u043d\u0440\u0430\u0432\u0438\u0442\u0441\u044f"}};this.lang_en={lang:"en",localization:{back:"Back",play:"Play",pause:"Pause",stop:"Stop",full:"Fullscreen",full_back:"Original",list:"Playlist",next:"Next",download:"Download", prev:"Previous",sound_off:"On",sound:"Off",volume:"Volume",menu:"Share",menu_code:"Code",menu_link:"Link",menu_download:"File",menu_copy:"Copy",menu_mail:"Email to a Friend",sent:"Sent",menu_message:"Text",menu_send:"Send",fontsize:"Size",bgalpha:"BG",fontcolor:"Text color",off:"Switch off",on:"Switch on",hq:"High quality",hd:"Quality",hq_off:"Low quality",sub:"Subtitles",traffic:"Traffic (MB)",smoothing:"Enable smoothing",smoothing_off:"Disable smoothing",smoothing_ok:"Smoothing on",smoothing_off_ok:"Smoothing off", password:"Password",startlive:"Start broadcast",live:"Broadcast",rec:"Record",rerec:"Re-record",playrec:"Play",contrec:"\u0421ontinue record",settings:"Settings",done:"Done",shownotes:"Shownotes",loading:"Loading",startplay:"Turn on the player",notype:"No player mode (m)",err:"Error",errjson:"Error loading",errjson_decode:"Incorrect",errjsonpl_decode:"Incorrect playlist",err_pl:"Error loading playlist",err_img:"Error loading image",file:"File",notfound:"not found",streamnotfound:"Stream not found", fileinvalid:"File structure is invalid",copy_link:"Link is copied to clipboard",copy_code:"Code is copied to clipboard",no_data:"No data",ads:"Ad",like:"Like",unlike:"Unlike"}};this.lang2=this.lang_ru.localization;Tc(k);var b=false;if(uppodstyle!="")this.st=uppodstyle;if(this.st0)for(var d in this.st0)this[d]=this.st0[d];for(d in k)this[d]=k[d];if(k.video){this.m="video";this.file=k.video}if(k.audio){this.m="audio";this.file=k.audio}k.controls&&(b=true);if(this.m=="audio"){this.cntrlhide=0;this.shownameliketip= this.showname=1;this.controls==""&&(this.controls=this.audiocontrols);this.uibg=0;db=false}else this.controls==""&&(this.controls=this.videocontrols);if(this.st!=""){if(this.st.indexOf("{")==-1)if(this.st.indexOf("#")==0)str=tb(this.st);else if(this.st.indexOf(".")==-1)try{if(eval(this.st)){str=eval(this.st);if(str.indexOf("#")==0)str=tb(str)}}catch(g){mb=ub(this.st)+" "+this.lang2.notfound}else str=kc(this.st);else str=this.st;try{style=JSON.parse(str);Tc(style);for(d in style){if(typeof style[d]=== "string"&&d.indexOf("color")>-1){style[d]=style[d].replace("#","");style[d].length==5&&(style[d]="0"+style[d]);style[d]=style[d].indexOf("|")>0?ReColor(style[d].substr(0,style[d].indexOf("|")))+"|"+ReColor(style[d].substr(style[d].indexOf("|")+1)):ReColor(style[d])}this[d]=style[d]}style.controls&&(b=true)}catch(f){mb==""&&(mb=this.lang2.errjson_decode+" "+ub(this.st))}}if(ma){this.m=="video"&&(db=this.iosplayer==1?true:false);if(this.auto=="none")this.auto="firstframe"}if(this.sh==0){if(this.w== 500&&this.h==375&&this.m=="audio"){this.w=300;this.h=90}e(this.stg,{width:this.w+"px",height:this.h+"px"});this.sw=this.stagewidth=this.w;this.sh=this.stageheight=this.h}if(this.poster.indexOf("#")==0)this.poster=tb(this.poster);if(this.file)if(this.file.indexOf("#")==0)this.file=tb(this.file);if(this.pl!=null&&typeof this.pl==="object")this.pl=this.pl.playlist;else if(this.pl.indexOf("#")==0)this.pl=tb(this.pl);this.lang2=this.lang_ru.localization;if(this.lang=="en")this.lang2=this.lang_en.localization; if(this.plplace!="inside"&&this.plplace!="bottomrow"&&this.plplace!="bottom"){this.plplace="inside";if(this.controls.indexOf("playlist")==-1)this.controls+=",playlist"}if(this.plplace=="inside")if(this.pl!=""&&!b&&this.controls.indexOf("playlist")==-1)this.controls+=",playlist";if(this.plplace=="bottomrow"){this.plth==70&&(this.plth=40);this.pltw=this.sw-this.plmargin*2;this.h==this.sh&&(this.h=this.sh-this.bottomrowheight-20)}if(this.plplace=="bottom")this.h==this.sh&&(this.h=this.sh-this.plth-20); if(this.plplace=="bottomrow"||this.plplace=="bottom")if(this.controls.indexOf("playlist")>-1)this.controls=this.controls.replace(",playlist","");if(this.nametags1!="")if(this.nametags1.indexOf("size=")>-1){this.namefontsize=this.nametags1.substr(this.nametags1.indexOf("size=")+6,2);this.namefontsize=this.namefontsize.replace(/\//g,"")}if(this.radio==1&&this.controls==this.audiocontrols){this.controls=this.streamcontrols;defaultcontrols=true}if(this.no_w)this.w=this.no_w;if(this.no_h)this.h=this.no_h; this.cntrlmargin+=2;if(this.htmlsize==1){this.w=this.sw;this.h=this.sh}if(this.plplace!="inside")this.ph=this.h;if(this.lang=="ru")this.lang2=this.lang_ru.localization;if(this.addcontrols)this.controls+=","+this.addcontrols;if(this.plr)this.iframe=this.plr;Uc("volume")&&this.volume==0.8?Ca=Uc("volume"):Ca=this.volume}function Uc(b){var d=" "+document.cookie;b=" uppodhtml5_"+b+"=";var g=null,f=0,x=0;if(d.length>0){f=d.indexOf(b);if(f!=-1){f+=b.length;x=d.indexOf(";",f);if(x==-1)x=d.length;g=unescape(d.substring(f, x))}}return g}function Tc(b){for(var d in b){if(d.indexOf("pltumbs0")==0)b[d.replace("pltumbs0","pl")]=b[d];if(d.indexOf("pl0")==0)b[d.replace("pl0","pl")]=b[d];if(d.indexOf("plcomment")==0)b[d.replace("plcomment","pl")]=b[d]}}function tb(b){if(b.indexOf(".")==-1){b=b.substr(1);s2="";for(j=0;j0)b=b.substr(b.lastIndexOf("/")+1);return b}function kc(b){if(b){req=new XMLHttpRequest;req.open("GET",b+"?"+Math.random(),false);try{req.send(null);if(req.status==200)return req.responseText;else na(req.status)}catch(d){a&&na(a.lang2.errjson+" "+ub(b),true)}}}var a,Ta,mb="",ma=false,Xc=false,hc=false,Ua=false,db=true,Jb=false,Ma=false,yc=false,G= false,Ya=false,t=false,Za=false,Kb=false,pc=0,oc=0,$a=false,Lb=false,Xb=false,Gb=false,Pb=false,gc=false,Wc=false,ic=false,Dc=false,ta,Va,r,n,B,D,va,Ra,m,Wa,Ba,Ca,Zb,Fa,Ga,Vc=false;if(k.uid){!uppod_players&&(uppod_players=[]);this.uid=k.id=k.uid;for(var j=0;jr?q]"z(@!ŅlƎ$GL-V5LJ9)8EζH\\@  X$=6v$+Fcfk #=z4ipL&;h@3䂃-Xւ@X:\6;4.*b]~Dq7 H H ׉蕁^wdp@| %[  $rQ7Vsy8NI{9^: 0&zM)%5 x&@@ @S}${%`@$x  ^!+cUVޥ\J@*ԹWCsګ!+!ɱ!KoX22cU +7,&߷sݪCOVe.iӟʨΝD, Xfanǯz븴z?H2ݴo6m;|!%'U[JVvv$%vWҖRDEZ_=kYn-R$?}4y̗ &%ƣBLҋ*W_s*A@JCF+ ˯^1.*Izw.Մj@@%&E%6#1i|%@`(djqUޏ%'P_  pd L.ԢzT 9mq s$9\-HEq%/ԞjF(@|&#QI2 i:"jkeJ2yL/6Ki&%[m\D! Kn~sMoi|Z;Rh(K6Ўp)6GlW #xzˉO;gh6}&%'PG櫈xqY4[QCJH,sB~9a\z#D\/q&Y(VxQ]6QQF@knĘZ6-ӻ4gEF&l K)ӈX]f $ԎK37 \@@e]]u6Y>4xzWb?P31Se2I96S @EOܥ =ԧˏmV"mt '`%==<FrPkp.9A@ >hcl-$9Vۺݎҵt A@(!hbؿ}~WIsɱS'_^bݧ0'C  ^$@۴iѲ?c_^J_I~R5   O '']~~ mJ $9[$.8 '@@$9$HrR4#H|oCx   Iьp@@ D+ɳħP^I_a  K *I{0@@ K #Lk$p!eXI4-p:\JzbE1WKfy.HJiZWjlFo_d7%.b1!;m>,3EOԸ 6ą@L$[4s#)X&AQ,sA4Fj;f2vЌ14p\f[HF7Z#҃Ă@q\]Gfݖ:b`I24^I咂fqWK&6_x݌_"=卦CK=b Gr2@ ;vo񛠌$xϮR*bjf//aR.)e ؈l0Iu(7A돨(軽TfPw{zY!KŪthǽF DI*5;2WblN3flbr)fj۩}sЪw,mKb51 ,@bSTVFLzEH.qR5Oڢ^"b$m0bPI4xl9+蠽ݱ&G4&iR0b$R=⡧fxIt"X}ɳ]fG :M\lmcĥ5Q)Ma#wK#ۻNEv RXu_YZrju E38P&$=DIp@@+%{%`ɣB@@@@*k?W`)b@A8jᩴA yj$yUh)b@A8 օj7A yJ2:$Z[J $ҴI \&`-J&Wytjգ.<_WЅg׭ K?yTfuyϧL4SJH& Xd^nC/93?{lټG{lGi㎒ς5zF0~kvI @ j+~l{VjV!= XիДu}ɽOp{w6"eO8f>'ߗ66t&h.bktbpKg-w߲J ~zo)Z$($c%ӔuFEu+h>\Vݮ~m^kicnvl^]Хla5x㔼(VT+NL3V@Xfuc}y0l 6Ψ6A=H$ >|-SQB x5M>%&Ǎ=͸?´bVܸb܆}~;kvl`!y,u}3 ąg7S0a^𥲭j+ l3&:.=ƝeIfa>z%>:/_|l٧,]pf}M=SKVe1#@6Vjň,?I#ĕeԌwmIs)5lY7ԋ{bP\ X~9#Gy30SE Zg|6у_'?em{:ejzgEi >yu}#9\IGm] ք)c),*--tݾ ;|qWbsVl]S[ w/bL,(VZ@jYcQAN%s+y7t9+ӟNL%;izoNOY y*p@e3PQ- t)@*p2J_61s{׎tl7}ޤ6W~6wH[@մ0=Mad%WU+.Z{k2,ԹWCsǴ1&7Am%[dKoX22(wl)^dǸ2jI)ɉkIx68)M4hdiEcP5&=ۃZL>zܽT=>Ap@ZF>Vϙ>`mU* v8Kz(P">N7]&ǑǪ]@M6FͧwWDߤnm.{{A/`6'`br/I64y/PucKrdn;.(I>\v %{s3MthĴ̓(< Z;=®G25QQp\ڡI{ ,p^s_JR79)[,ExvU3NY +b݊}MVDi G@ogkFfgS(CU=^ gK%M=wS:qG9SiVp*"6q$3Ea l~#ÿ0$b\bPDJ6yQXpu!v#h֫Gxbvddq6LfE6N3|͝4}IfhrL=9`TЩs靶` rՔSqz0!.a)e~!LVǵ3jVΩW~5ɝF2 xb_CHJ l/1FN&{n)fQU~(mPQY]VLs?i~aNd ؗdKC7ݠ#|XfF5cyY ̶:'F^Kxn~Y2Fݥ\I?%YSofחe) 5m!,jd3plp04m4G&̎Hs#JnLGsL^i!CL8sg1i!`c?D[zf4ˎ8jxµ8={l17,i-%˷mYyֹ]e.uhj''^aU:L)@,_.%UA>sԘ  jkQ2q_^fUauuU*0 'h%MK%3]i\,u4ؑ4 j(ٲ$>7 <|و<%-7S׏z`X)HɉA /5&PԔ'`' ]Օ{ } @@EN   璫*ؽM#R@ν>t.Jxq+?,b+/ubW[7qyv]xf~=y=O`K%>&U&IY`}O=:waP{y V.׶DZN^OL *~ilI7A}+\_oxk-hjHv .KWhx1"@O9'Gډ\񔓏';,ڃ& j%0_ŃG BzLL=lLclCɩFFo|u]%(n}d٪:&Y+';3̫2A)XeI&Fo.K Gn:kdG 4HzlU1c1ڑc!*y/ dŻᒯE[U-T Ԟjçxn)B["dMK&l`>"NaĖ^( ,fGRcP{j $1I2 ]>ŤQ~|R!6zYFbYZĘyH L 16jU65à6!I5zhp n^MhX@WcM&͸:9m'mNj/创ԚS_E!)K%I+Vd1&faەE\KVpʒh< A#=K%I'IzVeqDLy(&_v yyec(S1ڑAƤ)1IfB~X"QY zSg\khNb+'W⌺ '#bq1P`PcH=|fpl=l(jB Gz=uƴj^p_iϽbPZyT=7xӅʣ4>|_zךk-{$9$|+d G/N~<{ ǯ<Ͼ‡q=~֒STlҫڃ'ĵG_#=v!$] 2uoCAʷ·/5L_)>fzL+ %$`P'q&k6zcBN\;0 ֳ)} s4QR|ۖg;.e6{?ʩJ<9a-x=b|ru QZlJ= EN\; /ڰ9R hP?H}F!t˕Fቕ:+7S7Jްlͪrrr<]~c&/lzӋr-N׋%wA:jQrJKrtxȯ{0Oד}/R~p?Oi+$ɏƠFGB!`7Z~"v {ێ($A7?9((*5 XdDQcKҨ2SVދ)Rkzّת_6XA7Յ\ $}14i<2&M Tp@jj6e0gTH24X=%m\'4d^gۆMzKcṙ{0SؑdMe6Ca>?&= &A͘ D/;i1VZؒǗj&On/2){sc-6gv!].˴@ jqrK}6_2K;'v$Y}ډE3z#s\nųl)LMAzSp8X=PS8gP5=l(J){i{)'l5%Xd7ؙ6cWB i@.tTLl XM\Vo}5 m^mƼ6]ڴ5`OjceEYǧxAF@ξkJs,߶eYO\;$ɻJ|:4*RhZ qһ7yMz\aa#wqKI_"{Bl+{L(%iH_]n{vmos^T̎{f( `PG #hEy?ޟ諔`;sɕ~?KI(D%83tЉ'P0!+/I/|A xaH/ْbuڊ߮W`}Y@iÒ_n 84K. &mlTd(7I8 Y  0ʪ?{Y f Qeԡ;hMΙŗNYZ9\Tn-ttw$$$ihh !V$9DM([A@@#MJHoW'~1wP3Q̛z[ɛЯ%{I**E1fa1 p}}=446uE,J p#{)45n[Oy_Ԍ 0W}gt iGmJ`QkjNj%ƧKbL+eqS$Q綏`E*nY(@VT$s+S$ھ}^}mC_ii_y]U[{KO&MNOOcZ>aS׊M^𹧃WE4AMbL2L)g? xs]T\ECz >X$xY'La _V~A[cbͺ.?yk1}m333ӕOI2iedI3R$Lkj5Ȣ&=2.kV}:1pP  ~(Zң@QYtΖRӾ7gH㝷׆coxRqpDL=nV&K<"ɟ}ʘ~6ċ3׮>̮lf81F(s_}CJ=|$|5]b2qlIV>u5Jg^]DRA$1Vdy֚I$񂨮)bzfX  _$={3 {Rּo\Xpcx"`]}ݼoy'ޛEaTfV$/]TMP)S?jNЯ#=wۙ|ڽןCify%%A@@),>|.[H)V1;ENNVV:2&=3{u$?.^2qEL珕c/|K__~_-~ӭ?_SNG9   pkja'pWY6P:2TfNQ Mk/V.֖dz%ggK)fմNӥY~AreuGz!WEξ?Ĺwn.v@|SNj5{ t8֯Onfi;.s@@ g}\[Zh#O Y\}Ē{_sJwP/ӑ8Ȟ .cW\{=WB7~]Juǵ<,v:JZ+L$  "ˉO;gX:}5OeW+jڒПm-cOVnwjlT"ŀ&ğW[Lyv   99;nhVteL ;ƞyH7G>L׭FZJ${p9rMׇ;~tk   NE1{qӳ1jM;0yæ$W6f/[2ʟ[~Iaf]sKws̸;=ěw;G /=K/;n X|L/;%=Ȥ6-"O Jѫ&X2c&Ykq-z LF߳/Zx09ޝM[ZQߠ\VxGg."%"cx&=7,E]4}']M\/_2o!munV޳޵Lo [ t͗z~!zkE4il;p@v-(Cn;~r54~q?9~Y~s]#5a^z7=*HgWiνH+Kª.Nܚ8\MڜST(e@E   ӆ >n&e7.z{ݹҼv[嶣VЀc..Cxb#I ʛK+߳#|GsJ4*@)/m$?0OإB][V_ٲB%";1p G:@}^ZPOxaal_H:IzٺMǮ߁$3=w.\0$s{YЛFx=]I_@u()U`-Ċ.)*#[EOgfduZ߸sf%p uʙjRe1$ǸW{ DK ,a%l`b%ᛘH}I3=a$%LO2D6.̄1$9fG~`!)dfZ05$rIqz]ѥ\bM_ u)Kaa(Il|ΰ4O_C?M'q219   0[(Sb~2XpĘ%^Sj_59JSt.84(@@Lʒ)-*|m?cZb̌v@EaV..A@bC_cv$vec$>7Ϳ>t   7;?f+Yj*%YfZ?z+ 6+r6"m\c<uM 3Q Ć3LzQZ#6 A@u\# uɛa(!fct3A!(آh XXNDMd hhVvnjRQ7bb6pa^OqRӫ6 ac8h|tdn3o:<5k|f@q4޼ݥɼfҋmNΤ,ɛxL%Xv'Er2@q7}~W$/vFAƙf1 D%8lOd_%ʌa}fSSGUŠ: 1xVClT&pîuIR]!#"$V T.zSrν%="h{X)Tg,=3K/׌/͑-5 j&@bJJjP$a\$miX9sb.ZŐڸ [R *xl-8l&Z5k`ǡ?GfK=DvozdpI* AiFW\9T㊨zX\S3+#XT,$ o@^q- *fl.V5"J7`ZXZHeS;%=x=n  &3|/)A$`ib7V@$8. KWig4TLk~ɀ  %W~-s-%@# ;/>c%wH.cHb& 7N]zԅbu]xqj9H AԌ{6z1l%#k;u%s] ~kl*zeI^z MYחܻoпW~n +rZ;c s}icJVcR0AMZ}NI55+=ƠNcG$t`7hwn^Çkڟת۵ݯq-mlm܎߫-,TO` ʔ~iiѪ5JƵxNn{￯o^yý1cd(QB x5M>%ƍ=͸?´bVܸb܆}~;kvl`!y,u}8mNo'0YReՕƛQeՂAͮbM$3zF%>:/_|l٧,]pf}M= Yofy*W+ff-u4#/x+RZl؃AmD$?0v>_~ށچʊڷxOyYu7q' aēRzݲ-BcNC+ Р^7N58=$d?6-uuQEC&g9|GOgY۞bfYgQCj^]hHl.~/:nQAx[@8@M65aʘik sK>]oÎoU\vB4݋K5J1U{Vg|/5s_zwl:0idn//7geIqd1mZ)?+!pY\B Uޱl*e.#eHeNF{:sn&ϛfR~ߞ4cޣ܃ۦ2w AhǖHQrUwٹ&SN{047}\L  vTqlMi.Y&=>v^p6h4јE+iA>sԘljkQ2qReIk2znsRVQ]NFɄq'288V2dTn1l>J &}umuٳ z>P3{OZٌ_.{P#`_S - u{qFqLʶ%vƨ ]](k6Dž1ll%C#e|L@%IxډFx qv=9$Mڃd `󒬞ҜV='dI)b)TWdzsqJm\^VLkBtDJ$J,u8$N8zL=[7 4;zGbf8[*Yhm׉; Q̜tMoDʀwV ׍`%) [8ulgf q&k{8"ZWo4kLzʆ a#w@^f< ȶL$ %;%]ae4+rLvk4uIK2EX`NKﴍmw$/x8d|cސ0ЃAL u K4 .5me">iWRwN5L4i ,BZU!_ fg,jDz"A@V`{06w*7sltK1zCI~mcp JmԥvdI; v"H$[:uAѼS53)[b`Ց85\\zŃu|BG Kf7IpۗdiXK&MAȒ4.%2Nd.*z[4/sOi qUgQ cÀ0 4n9 t6)D6lԨwfvD;V&wSf:SfJif™; ߌH;!59XvT+{di做6u66X2z#(#ˤI: ޠv JfuLMVb7%U'VDUbQ(%唝q))#ISemzz9OaI Gl)Ymʳ=.GuC@sP;9q=p a OA4hdr. jT `oP[5 R)|w>yD.[4ٯ?/-7gLf(! X"7d˒l&$p×SҲ[k?Ih 6_+RIO5|Az@] W\;Q)p@uC;B_ŁĞ$9Q 璫*ؽ($ԹWCs۫%_w]R20rA˻3֧$ p'/\c2I^k}T :}rj0!Mrܼ=xvr x(߰6ʆtG"^/V7A٨ћY0.)k栆$k2zܽ[zF-8Sz:3}N6oxgt^j)'q}bj Ǡ`Iz7Av WhF7](11M[ŤQ~|R!V}ZĘyQ[T$fXV/ &)5cl쉞4WS.Ē|]k*]6i i2N~'ڌj/ Lzi05LC2$$k-VdV]ThC^"%HBY8SeI 4oR@BNf%$ۓɈ$=fi%O`F͗f/%qK\(cgcV# ISc̄-E&f?-l θ*;Мf3WO꯶'u/$MO\G6xqW\,.fGD|Ah$䛠4cfc?D=Pi8gѯ3=.>PW\1r(mK~w툛FnTԋ~Kb}^k j쉒栦2)@ lV;+>񅾾s\#K_ܴ)1=(0}M\oz5҃mbNb۵ cPF(ݯ } Y|V JpWY״$1U $n܄sFoLȉkGfz9OaB@ J[Jo۲srF9#}=uҀ}Z''x",׿x=Ksyz3;7%eRjB׎4AË6, dB@ 7RTeR:q.,7S7Jlͪ (>yD2#F _J5]Sm5d m栎%$'wwN`-}a&'? _W,mx5I#?|ȩms:[kHr*6lq`߮d:EW'h:{l1 ׋SO>s  py$W\bh(:uܼIaPAu 71q 3֧lbB'xg U1u4Aڜ)>&=>vc;"Az C'mdGN#lԝC%p^;ᑆAPOsO_;Q1A(Yc *@ot-(6zN;*bGwOћ@A"L㷛z E˒Lh5jlIUfP{"S-x@0Ycjz@օ_O>yTX ,߶eYOgc#uX{45&a4hBf5rRo>`)Xu 6g]7S7J_^fUauug'h%EԱc-Qrl$t&iyݒCH   ^"7EmBCY.nom;Ež]{   B;gw駆FiEl$?KLO B̮NaP6ͯ 0@@ euGyy~hyQz6'rX)&O#F}~GiCj GfДiS8   "LJ~lߙc7y[h\a1I?b\/(8HIIoX}G!+ Tlټ|[@@Gʮ~ns?`&4@ @٧\|kJiKaa˻v <Ș楯:x$ f!v&Ę}@9WU^Uأ׉{ JOϊ)@@ AlaE+ZzyCaڱNreN-J \;1ߐ~`ܭ{lA~_E?x ֹ 7(4Y_a^~Ź;: @@@+8Vm,?mLz@yَ ?Y/O-,wOyzޜF XLJ[RK~$,2W>$aQn0 {ԉ/"|Y߀8A@ Pܭ1jeJXoL;+y~|֐>HW>iL[*azݽ.Jp(2@鿺z(S4M+<v j0iuh.ן{Ao\Ձ$4˺Pn#R_ ϲboigPKjђw?௭;tťUD933Su)$\KR)b1uQ*1?&#QMUnެ̘-9o{:tػWyׄ=0@@A?-޳$ة\z'6.ZIi o>23Hpyæ \USv|ۃ<kKa=S4quf$ɾEIML*<{;󵂟ObԲeC6:ؖ( @@ oZԽ"\EM!rX$ʅ_gąWӻCc~L.=`T9++sH=u%9y@.-z\[[WS[s=ϯ:؇~}3.b^?֑"@)qQ)kDs:LG4H_x |aAY(tQXG] _wE5˖lo{U({ 23Cg/^%uGX/z_yfzLG_6-=ΜtZKO㪁[~ʴ8}+uMԧ-.{b 8AR=__{X9d*?/}l~^W=(@@’#|_7#[y>z^4>xGt2ߥK/Hjs|51I<]EzLYi_Nvv9 B4'N2/ +Ob9֯Ogb4Q_&|>#@,4[}\[Zy[Z-EKRIKjѣk'aٛ)|_\8M$+i!(g!2 rq5qԯǹ6O%n-zkNRb1b_ ʖXQp\sԃ:mpdH>s FD*&qvv6)4sDM9+j _:MJqyyR O+WvSp=S_|fxsη?+&u#3KAgJO=k0 1ܚ_N|j9hۗ'vWrtz9][ژq:`ud{bH!|=/=CsY$TD=1b 0MO\knĘZ~l;36).fj%gY2(tEzL%X鼯BkRLq7r^  S~'hQoWS`œv"C+bF,V֚2R7+Z'fÛn>ޤFO\sҤ1K[+G6'Po  JsfI:u/.2,,ZL_Lbyzc6WXD2@Y\hfYr;PM)OZ˩GɔWIvBVx[ ~oDL4&   |0Қ{Ee߮=ʛ.)Pюt׮^;! 8s[Q6ѽ  .66Y*im?or=UN3y^k;TnK'[^a.%Hh FZvC2OMNi[wcy4ncEQT4=yŊDFh/8O!>紁de70'A֬*JA@ :`g- 3oj#-yi;~5?y++9 0K_kv^Z>"W7YT7K7"S|Lɉ6=.sdDzof;u^f!6k̙Ͳ_s_:L@@@ ~Km)O>QFx(Vepd=;隯dQ bٛ7o)sK,1}?.ھC&U>ʬ nncoH۱3mDB [A@@mBO:gG'yOR>la]w箲ҼssѯT-ɨƈ=(7FLHK_wv nW Q?'zB|վ+Yۣ7f<(@@\'P"W]h%("w+HOdO6m;v~l|ڮ܂J>ʛw "H2sI=14^[WKsM)Zߦgm*WB+5?'n:+T  .`R5=S)BVW'EIbLH11N$>6HMI2Ls$Q5}.R@5  q mF2P_7MzfvJ M1.+QV^T &n(ǡJW01& ˥ReSL# d'C8_aV2I2),,4%sXTNVXYL#E\J@@@ p2U 3kJmJ2S~aϻ?]MfsM+`Ā@CaoRc%Jx"uT|r4oh".4b IA@  '̲R*,"bL0xÉqu ,eE\y Y,V T7+r '60Y*]IQ(Y4۬YzYReqI"U{cѳִy (]@v8&d*]Eqν%q4UIc'1c4jF+oҮ߼)y̐f1c9Ҁ@B 1%I%a5(Jj{kVGzܽTy"Ap@ZF>Vϙ>`mU* v8Kz(P">N7]&ǑǪ]@M6FͧwWŌLjsLWD T9\^#Ayk_ɓ|1vu8J_ |I\13O>Q{0ߵ0m\䝭y@Tl.&ӻ,y@YDi 8,b_)$5< 3''RF޺Ruk镬geVG"C fVqXEvHKtԮ$917y+&fE1Мf9sԼ@ihVl3&Zb; JsZ o\~"*I67,H2[Jo۲sǻQ]NN\4h&uSp)Y4\K}1֢d⸿lͪT` A99O.MK n͙4_yVH & j(ٲ$@\ e#ƚOq_?B@*''֍ &P{rנӯ (@|5x@uC;B_=e0OlR@ }E+v*!` &tܫyM=* K\/N}eGY-*9cP'G;&zwi7. %g7OaIB l)^dXUe 9}>ԣyyu3`PC{岹ym{; ( |aAOO9m%&^E+ ^v㭖nTcP{uR6A I e{)>NWh z:3}Nlܴe媍|5O~ˇtt3VaPǚ07O@oP&(]6߽2FׇTycmg˷ѳ&`7Z.ҒƳWuJi;@P%LG1hO1-a7NA ,ʲ$f%iq#u7d5fsx.M1jn MbHrz pyWe{x6gpROܢ9-eӰBhK q@=l0LYbKZk/W=ywq߶ F/Bd|IJ _-\MB{"X6J0ELWm$K$f#`ۻ 0bP'H;dczhp n^MmCy.Yea,ib.vA|,U.v5 jͩ/9"$k2yQ2+D.*,e$,z7)A !`P'D3HpIdDj4x'0KW\d(P畍]DZYԎ+ jG0&M!I2Bs¶]Л:^Cs\I?ڞgԽpL4>56x"40vG ![j6vC5!V#z:c5.|>!e];& ,WO_LḱA=QI@MW~EA ~N}ʳϾs\iB?,5Ni֎AFIpl}ӣoKwۮSfoܰmu·/U݁`:;JpWYwdINM8lƄva~=gSHi($d-+:wXΩJ%?9aw1>fO/\̎AvIY4uN\; /ڰ9R hP?H}d!tNfi`1Y`r$àNvL/juF5 %;ы>Ұk nkDԉ;rAm%$'_'GIF$yp}N)MOx5I#?!\4R]rN\'YÝ$INfS)AYۊ]E`aWNuI&ߛy?0ՇMfG2g @@@@&\eR\rUwIu@νp$A%@dwޠĵ6aKoX22jV /\cV10ԘL1φ;Q Ro>i#;p !`{P5w/ 4ث5荎FG0G荖_;gૈq>B%m/!ɣok"a)UeI&:5$*AlL=NbP5꽄~#Y 5;k/)F7 U#QlrpL9N![@SKEjHAm =B$J]\_qrLLJUx$A-6+YRvu;eG5U:6v[Zz Dxy `P 1)A;Y VZؒp,0F\,sԮEE &$̈́c[_MJs\?y/X8F/;>nbxYܢF=9m>2ٽO%.cAQ4c(3 ꁚ6{1=l6օ_O>yTX ,߶eYOgc#uX{45&a4hBf5rRo>`)Xu 6g]7S7J_^fUauug'h%EԱc-QrJK%H   Qp]Knk2KףA@@B:oM^h vV߭-ֿmطkI @@@vVS};Ј35]$WT~Y`a dGҩc1l5jڦ5yZ$;>߶(#:/4|_~SR'%bb7;Rqzt6q ֹ`(Hk}an#vj9c\MB  D~M[[kQ^yMI]܋-4O_ הҖBw|EM1.E\y^p $$7ǾTYſq'~@_=g!Yqxe={+"׭>ϙ_[K =Ϻ6+Ċ$x/M1K_u =8H>L)BL1pa; ku}и[@@Vtq$sUfr{bϏ;6տN۾r=}CNLK Ї_|qM~}>m7[璲64(2ܠT*f5IGG_x!>DcH?ڽ| A@ 3I0?qX\q3_+$e˖iq7&XtXd"PiQĪ8Y.eGơׅ/V"1j,nY%2?ywCIe4$9y6kFqmm]Mm _*p#R:;M!/~ˏ}ؼMz1tg欝_܍Fb| K)e1Cf1^vd%%UbF2U䠙'|Q -Uʌգ6C+l&&U Y]XE͋+{tcnuyJ,oо08zEm*pCC.ݿ%IoYem =4͉12Fj,V?|`VVff&!tڍcY-ѳC rØnmw.=gW,%[SZ)++KLe^M>H?{MCw6ku(Yμ3ㅙ4 4p19K"ˤUFgϵLEѻ;=6bɶF2U\IcZhEIm9MiR rM᫵ t)"HiVaqMR!R||Z/%)cOL8hb9]]fjKaanYuH{R3fkPW3k ͆Vn Kťx?er^o#"ƩRzɝ!&o#vHi?5E=Q`}^\= ZvXDi>뗣P5BeiZy8WCR(=vf3Hkknb4)4x|*AMyKI.Mmzelzǧ_Tdٌ zDlm5A\YMlKcq2>j'eWhf[VkZ%ndzҸF ]&dn10ikSӖdzuhŔ")/?s>®Ì\XQ&6h ľ6v{q-{*CuP[(50)P5{7tN#$̙~``O抵15v$}Ë(p(xv{/ xzA d)Қ%Gk<9L;&&>mnGXH23K=jNz<]{:]Rhǻ`DᚮN)*ad"$;p (o@@L_aٽ{%kQfX߭88Ey*SX%VXAk' >Na][~&\nm?|$#9N'//[d3 D$.Kㆶi%%?Y7{Wz J2ݎ,PC}i*EI3/@T(80 ~j𭩍=QMbLLȤ7AiO\*<0]z!}wzwZ~R De2@('3҃<8c K!  :냟f[~U+nhyN6ȞəX&}AOص48p iO.*|NZT"djO\ų8E˶>{۾q^y=8{~'p@E%]埿7}r?Ep]{ڶ\ɧd8V'~vv]${,۹9]-Ulto͜y,k1qQFu 3  #P[[*Eu~hy_ء|]?nmߡ{n|:KϫV^!AqcpcN^j$S{v(.Z{׶zzWr=[`T-֪eyE`f?zwݥ|`'o VӶ}*zH!2ɊOd%4ʕ+$ұk(3t BltV {/=9tEβ;SH0 @@bO :8z"؃횟R.[FN+mZ{II/_A*+Qvw-)4jf 9 :n*+w  L,$Xy_5w79!I^dIdIEl%\VfuKӻٳb,/p <  R~sTx#C ^_1#=3#x-2%,g8f%PJT6˽kl  elʚ41,M1q^z1I2}oI<|g8,Df+4?΄C4`+߹xMMA:5.nշݤ|=HE,$;eN01Ki8'UOܥWZ] Afg{׬N,K2S{i:UVb{)r@C4h÷ en{X%\送|6||vv5z勧%"*|:7PW{p a%n*n6jBkQ2oW.LY6!Y$L! n9*U^׬jk~:X#YҺmy_dܪ3_57 |"9rG)|Bґ;Mꍦ$4KSeX Hߚ]a@G_wjgN-[\y\^ԿogQsݩJy9UעU?ei/ΆG_`Zz7 y8^T4'Yl;d7AنNۅ #LM)]6j_QF5EOE١^a bQ5+FgIj`v~m;)c(pb#'׌" %HDtIzI]NzoLEyWr_dsջžz~ͤ]ڕ-G.I2B6i[A n_yz:aF=äKm$j>ihRդ-V'~45z#TU6"$kV"yK<3N.^\n-mRrDỖ_䑸kUro)Y1^|8-%-W{-yd WBeG`!ɴ_K4z4w1-l2:|%G! 3 Ӥmf,g6%_.=#i+AF?ȼGH)O" =Eه ̆XԨ*Nvgw[4zi LYFZaiha ƞ]ɸwri%;(W\G-iĝ>.JfJuGv1S4@^aJN&|ċN*ElL9ҵRgtQ¿^_ڥq=𒏸IΒͿ+[Tilq@b5(u}9B E)7 `4݈ O/XB Xmj]=Gˌj]WfI* QؤiԹ$ G<0@&Ɏ&`{/o2t)_xӭ`KLn,ɚcd=4$I"]βh3i>o5|i]i-_-bp@7I(ZGq#v|3̤1Š4K豥r[zksQ}P>W^_S/żR_QI/"asic|6oX?8@ ҳ]5ʤP^Un݌%Q+zXF# ]]X2Obv̤쇚T#v'lbXoթ J*4/m++, 2TrvS;渽J bٺ丘$咪mj9Vy鋔s!z-nkzzW^x^z*wwI)KRVӧ=gKKG9Ue9[.x-r,*WH8Ե]!UddrbkVwӻKV\ZϓN:cEY^p6$:9TUFkד^cI76TFp.ϔ$ܑJ2C%ߒ$\}X$ !0zN]mUCaR圖CI3Zdfv_!F`cryH7g}ISwHrqC`[kӱJvGi2}8Bʊ=>}X޵[߶m64(/tPaQމO?s3|[u59,HdU-ߡ]ii슮 ޽3.kӑ˗ziI{0Ӿl^7INN@ 2سg[m͡PcmIӤmvˎ{0T$"}߾$r+wu"JN@@@^Θx$`1x@< @@⠭ ⥪. 㬥 2.1 ७ ꥪ⮢ ⠤ 䠩 ⠢ ⥪ 䨣_files/arrow.gif PK? e5CP$ ⠭ ⥪. 㬥 2.1 ७ ꥪ⮢ ⠤ 䠩 ⠢ ⥪ 䨣_files/bar.gif jưưPK? e5C@)$ h⠭ ⥪. 㬥 2.1 ७ ꥪ⮢ ⠤ 䠩 ⠢ ⥪ 䨣_files/blank.htm 3RPK? e5C tsXX$ ⠭ ⥪. 㬥 2.1 ७ ꥪ⮢ ⠤ 䠩 ⠢ ⥪ 䨣_files/close.gif ddPK? e5CS$ ⠭ ⥪. 㬥 2.1 ७ ꥪ⮢ ⠤ 䠩 ⠢ ⥪ 䨣_files/db.css ;;PK? e5Cx]nn$ .⠭ ⥪. 㬥 2.1 ७ ꥪ⮢ ⠤ 䠩 ⠢ ⥪ 䨣_files/divider-arrow-ret.gif iiPK? e5C#'_$ I⠭ ⥪. 㬥 2.1 ७ ꥪ⮢ ⠤ 䠩 ⠢ ⥪ 䨣_files/divider-ret.gif 1:1:PK? e5Cqa ::$ ⠭ ⥪. 㬥 2.1 ७ ꥪ⮢ ⠤ 䠩 ⠢ ⥪ 䨣_files/edit.gif IPK? e5CL$ ⠭ ⥪. 㬥 2.1 ७ ꥪ⮢ ⠤ 䠩 ⠢ ⥪ 䨣_files/ga.js sKV5:V5:PK? e5Co$ L⠭ ⥪. 㬥 2.1 ७ ꥪ⮢ ⠤ 䠩 ⠢ ⥪ 䨣_files/hl_next.gif )PK? e5C0@Zp$ ˱⠭ ⥪. 㬥 2.1 ७ ꥪ⮢ ⠤ 䠩 ⠢ ⥪ 䨣_files/hl_prev.gif  ''PK? e5Ca$ I⠭ ⥪. 㬥 2.1 ७ ꥪ⮢ ⠤ 䠩 ⠢ ⥪ 䨣_files/icosearch.gif JJPK? e5CcfɌQQ$ ⠭ ⥪. 㬥 2.1 ७ ꥪ⮢ ⠤ 䠩 ⠢ ⥪ 䨣_files/interface.js C_WWPK? e5C~I  $ ⠭ ⥪. 㬥 2.1 ७ ꥪ⮢ ⠤ 䠩 ⠢ ⥪ 䨣_files/lamp_down.gif i7\7\PK? e5Cȩ%$ e⠭ ⥪. 㬥 2.1 ७ ꥪ⮢ ⠤ 䠩 ⠢ ⥪ 䨣_files/left.gif MWPK? e5C}pqDD$ ⠭ ⥪. 㬥 2.1 ७ ꥪ⮢ ⠤ 䠩 ⠢ ⥪ 䨣_files/mail.gif }n}nPK? e5C5%P*P*$ ⠭ ⥪. 㬥 2.1 ७ ꥪ⮢ ⠤ 䠩 ⠢ ⥪ 䨣_files/main.js ըW-gQ-gQPK? e5C$ A⠭ ⥪. 㬥 2.1 ७ ꥪ⮢ ⠤ 䠩 ⠢ ⥪ 䨣_files/openid.js  k``PK? e5CJ^,,$ F⠭ ⥪. 㬥 2.1 ७ ꥪ⮢ ⠤ 䠩 ⠢ ⥪ 䨣_files/popup.js *N{V{VPK? e5Ci$dd$ ^s⠭ ⥪. 㬥 2.1 ७ ꥪ⮢ ⠤ 䠩 ⠢ ⥪ 䨣_files/print.css 822PK? e5Cq<\$ cu⠭ ⥪. 㬥 2.1 ७ ꥪ⮢ ⠤ 䠩 ⠢ ⥪ 䨣_files/print.gif -0-0PK? e5C3$ y⠭ ⥪. 㬥 2.1 ७ ꥪ⮢ ⠤ 䠩 ⠢ ⥪ 䨣_files/right.gif EרbbPK? e5C$jp$ V~⠭ ⥪. 㬥 2.1 ७ ꥪ⮢ ⠤ 䠩 ⠢ ⥪ 䨣_files/script.js PK? e5C ''$ ~⠭ ⥪. 㬥 2.1 ७ ꥪ⮢ ⠤ 䠩 ⠢ ⥪ 䨣_files/swfobject.js rq k kPK? e5C@//$ ⠭ ⥪. 㬥 2.1 ७ ꥪ⮢ ⠤ 䠩 ⠢ ⥪ 䨣_files/template_styles.css  m2Y)Y)PK? e5C