-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathmylib-plus-qsa-min.js
33 lines (25 loc) · 159 KB
/
mylib-plus-qsa-min.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
var API,global=this;API=API||{};var $;var Q,E,D,F,W,I,C;(function(){var q,DK;var S=new RegExp("^(function|object)$","i");var CN=function(FA,E9){return !!(typeof FA[E9]=="object"&&FA[E9])};API.isRealObjectProperty=CN;var A0=function(FB,E9){var FA=typeof FB[E9];return !!((S.test(FA)&&FB[E9])||FA=="unknown")};API.isHostMethod=A0;var Ai=function(FB,FA){var E9=typeof FB[FA];return !!(S.test(E9)&&FB[FA])};API.isHostObjectProperty=Ai;var AR=function(){var E9=arguments.length;while(E9--){if(!API[arguments[E9]]){return false}}return true};API.areFeatures=AR;var m=function(FA,E9){var FB=FA.constructor.prototype[E9];return typeof FB=="undefined"||FB!==FA[E9]};API.isOwnProperty=m;if(CN(this,"document")){q=this.document}var Dr=(function(){var E9=function(){};return function(FA,FB){E9.prototype=FB.prototype;FA.prototype=new E9();FA.prototype.superConstructor=FB;FA.prototype.constructor=FA}})();function Dm(FB){var E9=[];var FA=FB.length;E9.length=FA;while(FA--){E9[FA]=FB[FA]}return E9}API.toArray=Dm;var B1=function(FB){var FC=1,FA=arguments.length;var E9=FB.length>>>0;while(FC<FA){FB[E9]=arguments[FC++];E9=E9+1>>>0}return FB.length};API.push=B1;var X=function(FA){var FB,E9=FA.length>>>0;if(E9){FB=FA[--E9];delete FA[E9]}FA.length=E9;return FB};API.pop=X;var Co;if(Array.prototype.indexOf){Co=function(E9,FA){return E9.indexOf(FA)}}else{Co=function(FA,FB){var E9=FA.length>>>0;var FC=Number(arguments[1])||0;FC=(FC<0)?Math.ceil(FC):Math.floor(FC);if(FC<0){FC+=E9}for(;FC<E9;FC++){if(FA[FC]===FB){return FC}}return -1}}API.indexOf=Co;var AS;var Bc;var DP;var CD;var BF,Cw;var D1=!!Function.prototype.call;if(Array.prototype.filter){AS=function(E9,FB,FA){return E9.filter(FB,FA)}}else{if(D1){AS=function(E9,FC,FB){var FA=E9.length,FD=[],FE=0;FB=FB||E9;while(FA--){if(typeof E9[FA]!="undefined"){if(FC.call(FB,E9[FA],FA,E9)){FD[FE++]=E9[FA]}}}return FD.reverse()}}}API.filter=AS;if(D1){Cw=function(FD,FC,FB){var FE;FB=FB||FD;if(arguments[4]){for(var FA=0,E9=FD.length;FA<E9;FA++){FC.call(FB,FD[FA],FA,FD)}}else{for(FE in FD){if(m(FD,FE)){FC.call(FB,FD[FE],arguments[3]?+FE:FE,FD)}}}}}API.forEachProperty=Cw;if(Array.prototype.forEach){BF=function(E9,FB,FA){E9.forEach(FB,FA)}}else{BF=function(E9,FB,FA){return Cw(E9,FB,FA,true,arguments[3])}}API.forEach=BF;if(Array.prototype.map){Bc=function(E9,FB,FA){return E9.map(FB,FA)}}else{if(D1){Bc=function(E9,FC,FB){var FA=E9.length,FD=[];FB=FB||E9;while(FA--){if(typeof E9[FA]!="undefined"){FD[FA]=FC.call(FB,E9[FA],FA,E9)}}return FD.reverse()}}}API.map=Bc;if(Array.prototype.every){CD=function(E9,FB,FA){return E9.every(FB,FA)}}else{if(D1){CD=function(E9,FC,FB){var FA=E9.length;FB=FB||E9;while(FA--){if(typeof E9[FA]!="undefined"){if(!FC.call(FB,E9[FA],FA,E9)){return false}}}return true}}}API.every=CD;if(Array.prototype.some){DP=function(E9,FB,FA){return E9.some(FB,FA)}}else{if(D1){DP=function(E9,FC,FB){var FA=E9.length;FB=FB||E9;while(FA--){if(typeof E9[FA]!="undefined"){if(FC.call(FB,E9[FA],FA,E9)){return true}}}return false}}}API.some=DP;var AH;var CT=(function(){var E9=0;return function(FA){return FA.uniqueID||(FA.uniqueID="_api"+E9++)}})();API.elementUniqueId=CT;var Ab,Z,T,Cf,k=[];var J,Cg,v;if(q){J=A0(q,"addEventListener");Cg=A0(this,"addEventListener");v=A0(this,"attachEvent");Z=false;T=function(){return Z};Cf=function(FB){if(!Z){Z=true;var FA=k.length;var E9=FA-1;while(FA--){k[E9-FA](FB)}}};Ab=function(FB,E9){var FA=function(FE){if(J){E9.addEventListener("DOMContentLoaded",Cf,false)}if(Cg){global.addEventListener("load",Cf,false)}else{if(v){global.attachEvent("onload",Cf)}else{var FD=global.onload;global.onload=function(FF){if(FD){FD(FF)}Cf()}}}};E9=E9||global.document;if(E9==global.document){if(!k.length){FA(global)}k[k.length]=FB;return true}if(AH){var FC=AH(E9);if(FC){FA(FC);return true}}return false};API.documentReady=T;API.documentReadyListener=Cf;API.attachDocumentReadyListener=Ab}var Ex;var BQ,p,Es,Dx,Dl,Am,CP,E4,BV;var Bh;var Da,CK,Ax=[];var EA,D3,AY,BA,BI,z,D6,A;var Bv,Dk;var EU,Dq,DD,B5,BE,Cv,AC,AV,AD,A7;var w,h,Er,Br,Af,Cn,Bo,C1,BU,Dw;var DH,BG,Ed;var BP,Cz;var CE,BJ,Ek,AI,EM,Be,Ea,DL,BX,De,AU,Cm,Au,A9,Ef;var V={"for":"htmlFor",accesskey:"accessKey",codebase:"codeBase",frameborder:"frameBorder",framespacing:"frameSpacing",nowrap:"noWrap",maxlength:"maxLength","class":"className",readonly:"readOnly",longdesc:"longDesc",tabindex:"tabIndex",rowspan:"rowSpan",colspan:"colSpan",ismap:"isMap",usemap:"useMap",cellpadding:"cellPadding",cellspacing:"cellSpacing"};var CA,Cs,AW,Df;var BC,EH,Em=new RegExp("([^-]*)-(.)(.*)");var AT;var Dt,An,AF,A3,N,Ac,AX,E6,Ae,A5;var AP,Aj,EC;if(q){AH=(function(){if(CN(q,"parentWindow")){return function(E9){return(E9||global.document).parentWindow}}if(CN(q,"defaultView")&&q.defaultView==this){return function(E9){return(E9||global.document).defaultView}}if(CN(q,"__parent__")){return function(E9){return(E9||global.document).__parent__}}})()}API.getDocumentWindow=AH;var En;function E1(E9){return[E9.offsetHeight||0,E9.offsetWidth||0,E9.clientHeight||0,E9.clientWidth||0,E9.scrollHeight||0,E9.scrollWidth||0]}API.getElementSize=E1;API.emptyNode=Ek=function(E9){while(E9.firstChild){E9.removeChild(E9.firstChild)}};function C7(E9){if(E9.ownerDocument){return E9.ownerDocument}if(E9.parentNode){while(E9.parentNode){E9=E9.parentNode}if(E9.nodeType==9||(!E9.nodeType&&!E9.tagName)){return E9}if(E9.document&&typeof E9.tagName=="string"){return E9.document}}return null}API.getElementDocument=C7;function Ec(E9){return(E9.parentNode&&(E9.parentNode.tagName||E9.parentNode.nodeType==1))?E9.parentNode:(E9.parentElement||null)}API.getElementParentElement=Ec;function Dn(E9){var FA=(E9.tagName||E9.nodeName).toLowerCase();return(!FA.indexOf("html:"))?FA.substring(5):FA}API.getElementNodeName=Dn;var EG;if(CN(this,"navigator")){EG=function(FD,FC,FA){var E9;var FB=(FA||global).navigator;if(FB){if(FD&&A0(FB,"mimeTypes")&&typeof FB.mimeTypes.length=="number"&&FB.mimeTypes.length){if(FB.mimeTypes[FD]&&FB.mimeTypes[FD].enabledPlugin){E9=FB.mimeTypes[FD].enabledPlugin}}else{if(FC&&A0(FB,"plugins")&&typeof FB.plugins.length=="number"&&FB.plugins.length){E9=FB.plugins[FC]}}}return(E9)?(E9.description||"[Unknown]"):null};API.getEnabledPlugin=EG}var C2=(function(){var E9=(A0(global,"decodeURIComponent"))?global.decodeURIComponent:((A0(global,"escape"))?global.escape:null);if(E9){return function(FA){return E9(FA)}}})();var EE=(function(){var E9=(A0(global,"encodeURIComponent"))?global.encodeURIComponent:((A0(global,"escape"))?global.escape:null);if(E9){return function(FA){return E9(FA)}}})();var u,Ar,n,DF,CF,Cb;if(C2&&A0(global,"location")&&typeof global.location.search=="string"){CF={};DF=new RegExp("\\+","g");Ar=global.location.search.substring(1).split("&");n=Ar.length;while(n--){u=Ar[n].split("=");if(u.length==2){u[0]=C2(u[0]);u[1]=C2(u[1].replace(DF," "));if(u[1]){CF[u[0]]=(CF[u[0]])?[CF[u[0]],u[1]].join(","):u[1]}}}Cb=API.getQuery=function(FA,E9){return CF[FA]||((typeof E9=="undefined")?null:E9)}}var Do;AT=function(FC,FB,FA){var E9;E9=FB.childNodes.length;while(E9--){if(FB.childNodes[E9].id==FC.id){if(typeof Do=="function"){Do(FC,FB.childNodes[E9])}FC=FB.childNodes[E9];break}}if(FC.id==FA){FC.id=""}return FC};function AJ(E9){return typeof E9.canHaveChildren=="undefined"||E9.canHaveChildren}var ET,CS;var Ds,g,E7,DE;var D0,Bu,CQ,B6;if(q){if(Ai(q,"all")){D0=(function(){return function(FC,FB){var FA,E9,FE,FD;if(!FB){return FC.all}else{E9=Dm(FC.all);FA=E9.length;FD=[];while(FA--){FE=E9[FA];if((FE.nodeType==1&&FE.tagName!="!")||(!FE.nodeType&&FE.tagName)){FD[FD.length]=E9[FA]}}return FD.reverse()}}})()}CQ=function(E9,FC){var FB,FA;E9=E9||global.document;FB=CN(E9,"documentElement")?E9.documentElement:((typeof DL=="function")?DL("html",E9)[0]:null);if(!FB&&D0){FA=D0(E9);FB=FA[(FA[0].tagName=="!")?1:0];if(FB&&!FC&&FB.tagName.toLowerCase()!="html"){FB=null}}return FB};API.getHtmlElement=CQ;Bu=function(E9){return CQ(E9,true)};API.getAnElement=Bu;DK=Bu();if(DK&&Ai(DK,"parentNode")){B6=function(FA,FB){var E9=FB.parentNode;while(E9&&E9!=FA){E9=E9.parentNode}return E9==FA}}API.isDescendant=B6}if(q){CA=!!(DK&&A0(DK,"getAttribute")&&DK.getAttribute("style")&&typeof DK.getAttribute("style")=="object");if(!CA&&A0(q,"createElement")){Cs=(function(){var E9=q.createElement("td");if(E9&&A0(E9,"getAttribute")){return E9.getAttribute("colspan")!==null}})();AW=(function(){var E9=q.createElement("form");E9.setAttribute("enctype","application/x-www-form-urlencoded");E9.removeAttribute("enctype");return E9.getAttribute("enctype")!==null})();Df=(function(){var E9=q.createElement("input");E9.type="checkbox";E9.checked=true;return(typeof E9.hasAttribute!="undefined"&&E9.hasAttribute("value"))})()}Ex=(function(){var FA,E9;if(DK&&A0(DK,"hasAttribute")){return function(FF,FC){var FE,FG=FC.toLowerCase();var FD=V[FG];var FH=typeof FF[FD];if(Cs){if(Ef.test(FG)){if(!FF.getAttribute(FG)){return false}if(typeof FF.outerHTML=="string"){FE=new RegExp("^[^>]*\\s+"+FC+"=(['\"])?\\w+\\1?","i");return FE.test(FF.outerHTML)}}else{if(FH=="number"&&!FF.getAttribute(FG)){return false}else{if(Au.test(FG)){var FB=FF["default"+FG.substring(0,1).toUpperCase()+FC.substring(1)];if(typeof FB=="boolean"){return FB}}}}}if(AW&&FG=="enctype"){if(typeof FF.outerHTML=="string"){FE=new RegExp("^[^>]*\\s+"+FC+"=(['\"])?\\w+\\1?","i");return FE.test(FF.outerHTML)}return !!(FF.attributes.enctype&&FF.attributes.enctype.specified)}if(Df&&FG=="value"&&typeof FF.outerHTML=="string"){FE=new RegExp("^[^>]*\\s+value=(['\"])?\\w*\\1?","i");return FE.test(FF.outerHTML)}return FF.hasAttribute(FC)}}if(DK&&A0(DK,"attributes")){FA=function(FC,FB){E9=FC.attributes[FB];return !!(E9&&E9.specified)};if(CA){return function(FE,FB){var FH=arguments[2]||C7(FE);if(FH&&typeof (FH.selectNodes)!="undefined"){return FA(FE,FB)}var FG,FD,FF=FB.toLowerCase();var FC=FF=="enctype"?"encType":V[FF];if(FC&&FC.toLowerCase()==FF){FB=FC}if(FE.attributes){FG=FE.attributes[FB]||FE.attributes[FF]}if(FG){if(Ef.test(FF)&&FG.value=="1"){FD=new RegExp("^[^>]*\\s+"+FB+"=(['\"])?\\w*\\1?","i");return FD.test(FE.outerHTML)}if(FG.specified){return true}if(typeof FE[FB]=="boolean"){if(Au.test(FF)){return FE["default"+FF.substring(0,1).toUpperCase()+FB.substring(1)]}return FE[FB]}if(FF=="value"&&((/^input$/i.test(FE.tagName)&&/^text$/i.test(FE.type)))){return !!(FE.defaultValue||FE.defaultValue!=FE.value)}if(/^(enctype|value)$/.test(FF)&&typeof FE.outerHTML=="string"){FD=new RegExp("^[^>]*\\s+"+FB+"=(['\"])?\\w*\\1?","i");return FD.test(FE.outerHTML)}}return false}}return FA}})();API.hasAttribute=Ex;BJ=function(){var E9,FA=arguments.length;if(FA>1&&typeof arguments[FA-1]=="boolean"){E9=arguments[FA-1];FA--}while(FA--){arguments[FA].disabled=!E9}};API.disableElements=BJ;Ea=(function(){function E9(FA,FB){return(FA&&FA.id==FB)?FA:null}if(A0(q,"getElementById")){return function(FB,FA){return E9((FA||global.document).getElementById(FB),FB)}}if(A0(q,"all")){return function(FB,FA){return E9((FA||global.document).all[FB],FB)}}})();API.getEBI=Ea;De=function(FB,E9){var FA=(E9||global).frames[FB];if(!FA&&Ea){FA=Ea(FB,E9.document);if(FA&&Ai(FA,"contentWindow")){FA=FA.contentWindow||null}}return FA};API.getFrameById=De;AU=function(E9,FA){return E9.contentDocument||(E9.contentWindow||De(E9.name,FA)||E9).document||null};API.getIFrameDocument=AU;CE=(function(){if(D0){return function(FA,E9){return(E9=="*"&&FA.all)?D0(FA,true):FA.getElementsByTagName(E9)}}return function(FA,E9){return FA.getElementsByTagName(E9)}})();DL=(function(){var E9;if(A0(q,"getElementsByTagName")){E9=q.getElementsByTagName("*");if(E9&&(E9.length||D0)){return function(FB,FA){return CE(FA||global.document,FB)}}}if(Ai(q,"all")&&A0(q.all,"tags")){return function(FB,FA){return(FA||global.document).all.tags(FB)}}})();API.getEBTN=DL;if(DL){BX=function(E9){return DL("head",E9||global.document)[0]||null}}API.getHeadElement=BX;BC=function(FA){if(Em.test(FA)){var E9=FA.match(Em);return(E9)?([E9[1],E9[2].toUpperCase(),E9[3]].join("")):FA}return FA};if(DK&&A0(DK,"removeAttribute")){Cm=function(FB,E9){var FC=E9.toLowerCase();var FA=V[FC];if(CA){if(FA&&FA.toLowerCase()==FC){E9=FA}else{E9=BC(E9)}}FA=FA||FC;if(typeof FB[FA]=="boolean"){FB[FA]=false}else{FB.removeAttribute(E9)}}}Au=new RegExp("^(checked|selected)$");Ef=new RegExp("^(row|col)?span$");A9=new RegExp("^(href|src|data|usemap|longdesc|codebase|classid|profile|cite)$");API.removeAttribute=Cm;AI=(function(){var FB,FF,E9,FC,FG,FE,FA,FD;if(DK&&A0(DK,"getAttribute")&&Ex){if(CA){FE=new RegExp("^on");FA=new RegExp("[\\n\\r]","g");FD=new RegExp("^function [^\\(]*\\(\\) *{(.*)} *$");return function(FI,FH){var FJ=arguments[2]||C7(FI);if(FJ&&typeof (FJ.selectNodes)!="undefined"){return FI.getAttribute(FH)}if(Ex(FI,FH)){FC=FH;FH=FH.toLowerCase();FF=V[FH];if(!FF){if(Au.test(FH)){return FI["default"+FH.substring(0,1).toUpperCase()+FH.substring(1)]?"":null}if(FH=="style"){return(FI.style)?(FI.style.cssText||""):""}if(A9.test(FH)){return FI.getAttribute(FH,2)}if(FE.test(FH)&&FI[FH]){FB=FI[FH].toString();if(FB){FB=FB.replace(FA,"");if(FD.test(FB)){return FB.replace(FD,"$1")}}return null}FG=FI.tagName.toLowerCase();if(FG=="select"&&FH=="type"){return null}if(FG=="form"&&FI.getAttributeNode){FB=FI.getAttributeNode(FH);return(FB&&FB.nodeValue)?FB.nodeValue:null}}E9=BC(FF||FH);if(typeof FI[E9]=="unknown"){return"[unknown]"}else{if(A9.test(E9)){return FI.getAttribute(E9,2)}if(typeof FI[E9]=="boolean"){return(FI[E9])?"":null}if(typeof FI[E9]=="undefined"){return FI.getAttribute(FC)}if(FH=="value"&&FI.tagName.toLowerCase()=="input"&&FI.type.toLowerCase()=="text"){return FI.defaultValue}return(typeof FI[E9]!="string"&&FI[E9]!==null&&FI[E9].toString)?FI[E9].toString():FI[E9]}}return null}}return function(FJ,FH){var FK=FH.toLowerCase();var FI=V[FK]||(FK.indexOf("-")!=-1&&BC(FK))||FK;if(typeof FJ[FI]=="boolean"){if(Au.test(FK)){return FJ["default"+FK.substring(0,1).toUpperCase()+FK.substring(1)]?"":null}return FJ[FI]?"":null}if(Cs&&A0(FJ,"hasAttribute")){return Ex(FJ,FH)?FJ.getAttribute(FH):null}return FJ.getAttribute(FH)}}})();API.getAttribute=AI;var CM="/favicon.ico";if(AI){var B,DB,BO=(function(){var E9=q.createElement("a");if(E9&&A0(E9,"setAttribute")){E9.setAttribute("href",CM);return E9.href!=CM}})();if(BO&&A0(q,"createElement")){DB=(function(){var FB,E9={};var FA=function(FE,FC,FF){var FD=FC.toLowerCase();FF=FF||q.createElement(FE);if(FF&&A0(FF,"setAttribute")){FF.setAttribute(FD,CM);E9[FD]=FF[FC]==CM}};FA("form","action");FB=q.createElement("img");FA("img","useMap",FB);FA("img","src",FB);FA("img","longDesc",FB);FA("link","href");FA("head","profile");FB=q.createElement("object");FA("object","codeBase",FB);FA("object","classid",FB);FA("object","data",FB);FA("blockquote","cite");FA("area","href");return E9})();B=q.createElement("a")}EM=function(FB,E9){var FC=E9.toLowerCase();var FA=V[FC]||BC(FC);var FE=B;switch(typeof FB[FA]){case"boolean":return Au.test(FC)?FB["default"+FC.substring(0,1).toUpperCase()+FC.substring(1)]:FB[FA];case"undefined":return AI(FB,FC);default:if(Ex(FB,E9)){if(BO&&B&&(A9.test(FC)||FC=="action")&&DB[FC]&&!(/^a$/i).test(FB.tagName)){var FD=arguments[2]||C7(FB);if(FD&&FD!=global.document&&A0(FD,"createElement")){FE=FD.createElement("a")}FE.setAttribute("href",AI(FB,FC));return FE.href}return FC=="value"?AI(FB,FC):FB[FA]}return null}};API.getAttributeProperty=EM}N=(function(){var FE,FD,E9,FA,FC,FB;if(DK&&A0(DK,"setAttribute")){if(CA){FB=function(FJ,FG,FK){var FI,FH,FF=FJ.parentNode;if(FF&&A0(FF,"childNodes")&&typeof FJ.outerHTML=="string"){FH=CT(FJ);FJ.id=FJ.id||FH;FI=new RegExp(FG+"=['\"]{0,1}[a-zA-Z0-9_]+['\"]{0,1}","i");FJ.outerHTML=FJ.outerHTML.replace(FI," ").replace(">"," "+FG+'="'+FK+'">');if(FJ.parentNode!==FF){FJ=AT(FJ,FF,FH)}}else{FJ[FG]=FK}return FJ};FA=new global.RegExp("^on");FC=new RegExp("^(a|img|form|input|select|button|textarea|iframe)$");if(A0(global.document,"createElement")){FE=global.document.createElement("div")}return function(FI,FH,FJ){var FK=C7(FI);if(FK&&typeof (FK.selectNodes)!="undefined"){FI.setAttribute(FH,FJ);return FI}FH=FH.toLowerCase();FD=FI.tagName.toLowerCase();switch(FH){case"style":if(FI.style){FI.style.cssText=FJ}break;case"checked":case"selected":FI["default"+FH.substring(0,1).toUpperCase()+FH.substring(1)]=FJ.toLowerCase()==FH||!FJ;break;case"defer":case"disabled":case"multiple":case"readonly":case"ismap":FI[FH]=(FJ.toLowerCase()==FH||!FJ);break;case"type":if(FD!="select"){if(FD=="input"&&(FI.parentNode||(FI.attributes&&FI.attributes.type&&FI.attributes.type.specified))){FI=FB(FI,"type",FJ)}else{FI.type=FJ}}break;case"name":var FG=FC.test(FD);var FF=(FK==global.document)?FE:(FK&&FK.createElement("div"));if(FI.parentNode===null&&FG&&FF){FF.appendChild(FI)}FI=FB(FI,"name",FJ);if(FG&&FF&&FI.parentNode==FF){FF.removeChild(FI)}break;default:if(FA.test(FH)){FI[FH]=new Function(FJ)}else{E9=BC(V[FH]||FH);if(typeof FI[E9]=="undefined"){FI.setAttribute(FH,FJ)}else{FI[E9]=FJ}}}return FI}}return function(FI,FG,FK){var FJ=FG.toLowerCase();var FH=V[FJ]||FJ;if(typeof FI[FH]=="boolean"){var FF=!FK||FJ==FK.toLowerCase();if(Au.test(FJ)){if(FF){FI.setAttribute(FJ,FJ)}else{FI.removeAttribute(FJ)}}else{FI[FH]=FF}}else{if(FJ=="value"&&typeof FI.defaultValue=="string"){FI.defaultValue=FK}else{FI.setAttribute(FG,FK)}}return FI}}})();API.setAttribute=N;if(N){Ac=function(FB,E9,FD){var FC=E9.toLowerCase();var FA=V[FC]||BC(FC);if(typeof FD=="string"&&typeof FB[FA]=="undefined"&&FA==FC){FB.setAttribute(FC,FD)}else{if(FC=="value"){N(FB,"value",FD)}else{if(Cs&&typeof FB[FA]=="number"){N(FB,FC,FD+"")}else{if(Au.test(FC)){if(FD){N(FB,FC,"")}else{Cm(FB,FC)}}else{FB[FA]=FD}}}}return FB};API.setAttributeProperty=Ac}if(DK){Be=(function(){if(Ai(DK,"children")){return function(FB){var E9,FD,FA,FC;if(arguments[1]){return FB.children}E9=[];FD=FB.children;for(FA=FD.length;FA--;){FC=FD[FA];if((FC.nodeType==1&&FC.tagName!="!")||(!FC.nodeType&&FC.tagName)){E9[E9.length]=FC}}return E9.reverse()}}if(A0(DK,"childNodes")){return function(FB){var FD,E9=FB.childNodes,FC=[];var FA=E9.length;while(FA--){FD=E9[FA];if((FD.nodeType==1&&FD.tagName!="!")||(!FD.nodeType&&FD.tagName)){FC.push(E9[FA])}}return FC.reverse()}}})()}API.getChildren=Be;EH=new RegExp("[^\\t\\n\\r ]");API.isEmptyTextNode=function(E9){return !EH.test(E9.data)};var Aq;Cz=function(FA){var FC,FD,E9,FE,FB;FA=FA||global.document;if(typeof Aq!="undefined"&&FA==global.document){return Aq}if(typeof FA.contentType=="string"){return FA.contentType.indexOf("xml")!=-1}else{E9=A0(FA,"createElementNS");if(!E9){return false}if(A0(FA,"getElementsByTagName")){FE=FA.getElementsByTagName("meta");FC=FE.length;if(FC&&A0(FE[0],"getAttribute")){FB=true;while(FC--&&FB){FD=FE[FC].getAttribute("http-equiv");if(FD===""){return false}if(FD=="Content-Type"){FD=FE[FC].getAttribute("content");if(FD){FB=(FD.indexOf("html")==-1)}}}return FB}return E9}}};if(API.disableXmlParseMode){Cz=function(E9){return false}}Cz=function(E9){return false};Aq=Cz();API.isXmlParseMode=Cz;BP=(function(){if(A0(q,"createElement")){return(function(){if(Aq&&A0(q,"createElementNS")){return function(FA,E9){return(E9||global.document).createElementNS("http://www.w3.org/1999/xhtml","html:"+FA)}}return function(FA,E9){return(E9||global.document).createElement(FA)}})()}})();API.createElement=BP;if(BP&&N){A5=function(E9){return function(FD,FB){var FA;if(typeof FB.type!="undefined"&&m(FB,"type")){FD.setAttribute("type",FB.type);delete FB.type}var FC=FB.name;if(FC){FD=E9(FD,"name",FC);if(FD.tagName.toLowerCase()=="iframe"&&Ai(FD,"contentWindow")){FD.contentWindow.name=FC}delete FB.name}for(FA in FB){if(m(FB,FA)){FD=E9(FD,FA,FB[FA])}}return FD}};API.setAttributes=Ae=A5(N);API.setAttributeProperties=AX=A5(Ac);Dt=function(FA,FB,E9){var FC=BP(FA,E9||global.document);if(FC){FC=Ae(FC,FB)}return FC};API.createElementWithAttributes=Dt;An=function(FA,FB,E9){var FC=BP(FA,E9||global.document);if(FC){FC=AX(FC,FB)}return FC};API.createElementWithProperties=An;if(DK&&A0(DK,"appendChild")){E6=function(E9){return function(FB,FC,FD,FA){if(!FA){FA=C7(FD)}if(FA){var FE=BP(FB,FA);if(FE){FE=E9(FE,FC);FD.appendChild(FE)}return FE}return null}};AF=API.createAndAppendElementWithAttributes=E6(Ae);A3=API.createAndAppendElementWithProperties=E6(AX)}}Bv=function(FB,E9,FA){if(A0(q,FB)){return function(FC){return(FC||global.document)[FB]}}if(DL&&(!FA||typeof AS=="function")){return function(FC){var FD,FE;if(typeof E9=="string"){FD=DL(E9,FC)}else{FD=[];FE=E9.length;while(FE--){FD=FD.concat(Dm(DL(E9[FE],FC)))}}return(FA)?AS(FD,FA):FD}}};Dk=function(FA,E9,FB){if(A0(q,FA)){return function(FD,FC){return(FC||global.document)[FA][FD]}}if(Ea){return function(FF,FC){var FG,FE,FD,FH;if(typeof FF=="string"){FG=Ea(FF,FC);if(FG&&(!FG.name||FG.name==FF)){if(typeof E9=="string"){if(Dn(FG)==E9){return FG}}else{FD=E9.length;FH=Dn(FG);while(FD--){if(FH==E9[FD]){return FG}}}}}FE=FB();if(typeof FF=="string"){FD=FE.length;while(FD--){if(FE[FD].name==FF||(!FE[FD].name&&FE[FD].id==FF)){return FE[FD]}}return null}return FE[FF]||null}}};z=API.getImages=Bv("images","img");if(z){BI=API.getImage=Dk("images","img",z)}BA=API.getForms=Bv("forms","form");if(BA){AY=API.getForm=Dk("forms","form",BA)}D3=API.getAnchors=Bv("anchors","a",function(E9){return typeof E9.href!="unknown"&&!E9.href});if(D3){EA=API.getAnchor=Dk("anchors","a",D3)}A=API.getLinks=Bv("links",["a","area"],function(E9){return typeof E9.href=="unknown"||E9.href});if(A){D6=API.getLink=Dk("links",["a","area"],A)}Bh=function(E9,FA){E9.src=FA};API.changeImage=Bh;if(this.Image){CK=function(FB,FA,E9){var FC=new global.Image();FC.src=FB;FC.height=FA;FC.width=E9;Ax[Ax.length]=FC;return Ax.length-1};API.preloadImage=CK;if(BP){Da=function(FA){var E9=BP("img");var FB=Ax(FA);E9.src=FB.src;E9.height=FB.height;E9.width=FB.width;return E9};API.clonePreloadedImage=Da}}Bh=function(E9,FA){if(typeof FA=="number"){if(Ax[FA]){E9.src=Ax[FA].src}}else{E9.src=FA}};API.changeImage=Bh;if(Ex){Es=function(E9){return(E9.value||(Ex(E9,"value")?E9.value:E9.text))}}API.getOptionValue=Es;if(A0(global,"Option")){BQ=function(FA,FD,FB){var FC=new global.Option(),E9=FA.options.length;FC.text=FD;if(typeof FB!="undefined"){FC.value=FB}if(FA.options.add){FA.options.add(FC,FA.options.length)}if(E9==FA.options.length){FA.options[FA.options.length]=FC}return FC};API.addOption=BQ;p=function(FB,E9){var FA;for(FA in E9){if(m(E9,FA)){BQ(FB,E9[FA],FA)}}};API.addOptions=p}CP=function(FA){FA.options.length=0;var E9=FA.options.length;while(E9--){FA.options[E9]=null}};API.removeOptions=CP;BV=(function(){var E9=function(FA){return encodeURIComponent(FA).replace(/%20/,"+").replace(/(.{0,3})(%0A)/g,function(FC,FD,FB){return FD+(FD=="%0D"?"":"%0D")+FB}).replace(/(%0D)(.{0,3})/g,function(FC,FD,FB){return FD+(FB=="%0A"?"":"%0A")+FB})};if(typeof encodeURIComponent!="undefined"&&String.prototype.replace&&E9("\n \r")=="%0D%0A+%0D%0A"){return E9}})();API.urlencode=BV;if(Es){Dl=function(FD,FF){var FA,FE,FC=FD.type;if(FC&&!FC.indexOf("select")){FA=[];for(var FB=0,E9=FD.options.length;FB<E9;FB++){FE=FD.options[FB];if(FE[(FF)?"defaultSelected":"selected"]){FA[FA.length]=Es(FE)}}if(FA.length==1){FA=FA[0]}return FA}switch(FC){case"checkbox":case"radio":return(FD[(FF)?"defaultChecked":"checked"])?FD.value||"on":"";default:return FD[(FF)?"defaultValue":"value"]}};API.inputValue=Dl;Am=function(FB){var FA;var FC=Dl(FB,true);var E9=Dl(FB);if(typeof FC=="string"){return(FC==E9)}FA=FC.length;while(FA--){if(FC[FA]!=E9[FA]){return true}}return false};API.inputChanged=Am;Dx=function(FB){var FA,E9=FB.elements;FA=E9.length;while(FA--){if(Am(E9[FA])){return true}}return false}}if(BV&&Es){E4=function(FF){var FG,FB,FM,FA,FJ=FF.elements,FH=[];var FI=new RegExp("^(checkbox|radio)$");var FE=new RegExp("^(text|password|hidden|textarea)$");function FL(FO,FN){FH[FH.length]=BV(FO)+"="+BV(FN)}for(var FD=0,E9=FJ.length;FD<E9;FD++){FG=FJ[FD];FB=FG.name;if(FB&&!FG.disabled){FM=FG.type;if(!FM.indexOf("select")){if(FM=="select-one"||FG.multiple===false){if(FG.selectedIndex>=0){FL(FB,Es(FG.options[FG.selectedIndex]))}}else{for(var FC=0,FK=FG.options.length;FC<FK;FC++){FA=FG.options[FC];if(FA.selected){FL(FB,Es(FA))}}}}else{if(FI.test(FM)){if(FG.checked){FL(FB,FG.value||"on")}}else{if(FE.test(FM)){FL(FB,FG.value)}}}}}return FH.join("&")}}API.serializeFormUrlencoded=E4;if(DK){Aj=(function(){if(typeof DK.innerText=="string"){return function(E9){return E9.innerText}}if(typeof DK.textContent=="string"){return function(E9){return E9.textContent}}if(CN(DK,"firstChild")){return function(E9){var FA=[];var FB=E9.firstChild;while(FB){if(FB.nodeType==3||FB.nodeType==4){if(EH.test(FB.data)){FA[FA.length]=FB.data}}else{if(FB.nodeType==1){FA[FA.length]=Aj(FB)}}FB=FB.nextSibling}return FA.join("")}}})();API.getElementText=Aj;EC=(function(){var E9,FA,FB;if(typeof DK.innerText=="string"){return function(FC,FD){FC.innerText=FD}}if(A0(DK,"removeChild")&&A0(q,"createTextNode")){return function(FD,FE){var FC=C7(FD);while(FD.firstChild){FD.removeChild(FD.firstChild)}FD.appendChild(FC.createTextNode(FE))}}if(typeof DK.innerHTML=="string"){E9=new RegExp("<","g");FA=new RegExp(">","g");FB=new RegExp("&","g");return function(FC,FD){FC.innerHTML=FD.replace(FB,"&").replace(E9,"<").replace(FA,">")}}})();API.setElementText=EC}if(EC&&Aj){AP=function(E9,FA){EC(E9,Aj(E9)+FA)};API.addElementText=AP}if(DK&&typeof DK.innerHTML=="string"){if(BP&&!Cz()&&typeof DK.outerHTML=="string"&&A0(DK,"childNodes")){B5=BP("select");if(B5&&A0(B5,"insertAdjacentHTML")&&typeof B5.canHaveChildren=="boolean"){B5.innerHTML="<option>T</option>";BE=(!B5.options.length)}}if(BE){AV=function(FC,FB){var FA=CT(FC);FC.id=FC.id||FA;var E9=FC.parentNode;FC.innerHTML="";FC.outerHTML=FC.outerHTML.replace(">",">"+FB+"</select>");if(FC.parentNode!==E9){FC=AT(FC,E9,FA)}return FC}}AD=(function(){var FC;var E9=new RegExp("^[^<]*<script","i");function FA(FE,FD){switch(FC){case"table":Dq=BP("div",FD);return"<table>"+FE+"</table>";case"caption":case"colgroup":case"col":case"thead":case"tbody":case"tfoot":Dq=BP("div",FD);return["<table><",FC,">",FE,"</",FC,"></table>"].join("");case"form":Dq=BP("div",FD)}return FE}function FB(FD){switch(FC){case"table":return Dq.firstChild;case"caption":case"colgroup":case"col":case"thead":case"tbody":case"tfoot":return Dq.firstChild.firstChild;default:return Dq}}if(A0(BP&&BP("div")||DK,"insertAdjacentHTML")){return function(FE,FD){FC=Dn(Dq);if(!FD&&E9.test(FE)&&!Cz()){FE=" "+FE}FE=FA(FE);Dq.insertAdjacentHTML("afterBegin",FE);Dq=FB(FE)}}return function(FE,FD){FC=Dn(Dq);if(!FD&&E9.test(FE)&&!Cz()){FE=" "+FE}FE=FA(FE);Dq.innerHTML=FE;Dq=FB(FE)}})();if(A0(DK,"removeChild")&&BP&&CN(DK,"firstChild")){A7=function(FC,FB,FA,E9){var FD=Dn(FC);if(FD=="head"){FD="div"}Dq=BP(FD,FA);if(Dq){AD(FB,E9);while(Dq.firstChild){FC.appendChild(Dq.firstChild)}Dq=null}};EU=function(FB,FA,E9){if(AJ(FB)){A7(FB,FA,C7(FB),true)}};API.addElementHtml=EU}DD=function(FA,E9){var FB;Dq=BP("div",E9);if(Dq){AD(FA);FB=Dq.childNodes;Dq=null}return FB};API.htmlToNodes=DD;Cv=(function(){if(A7){return function(FA,E9){if(AV&&Dn(FA)=="select"){return AV(FA,E9)}if(AJ(FA)){while(FA.firstChild){FA.removeChild(FA.firstChild)}A7(FA,E9,C7(FA))}return FA}}})();API.setElementHtml=Cv;AC=(function(){if(typeof DK.outerHTML=="string"){return function(FA,E9){FA.outerHTML=E9;return FA}}if(A0(DK,"insertBefore")&&CN(DK,"firstChild")){return function(FE,FB){var FA;var E9=C7(FE);var FD=Ec(FE);var FC=FE.nextSibling;Dq=BP("div",E9);if(Dq&&FD){AD(FB,E9);FD.removeChild(FE);FA=Dq.firstChild;if(FC){FD.insertBefore(Dq.firstChild,FC)}else{FD.appendChild(Dq.firstChild)}Dq=null;return FA}return FE}}})();API.setElementOuterHtml=AC}if(DK&&CN(DK,"firstChild")&&typeof DK.nodeType=="number"&&AI&&Ex){BU=new RegExp("^(br|hr|img|meta|link|input|base|param|col|area)$");Cn=new RegExp("^(checked|selected|disabled|multiple|ismap|readonly)$");Bo=new RegExp("<","g");C1=new RegExp(">","g");Af=new RegExp("&","g");Dw=new RegExp('"',"g");w=function(FB,FH,FI,FC){var FF,FJ,E9,FG,FK,FD=(FI)?" />":">";var FE=[],FA;switch(FB.nodeType){case 1:FJ=Dn(FB);FK=[];if(FB.attributes&&FB.attributes.length){FF=FB.attributes.length;FE.length=FF;while(FF--){FA=FB.attributes[FF];if(FA){E9=(FA.nodeName||FA.name||"").toLowerCase();if(E9){FG=AI(FB,E9,FC);if(FG===""&&Cn.test(E9)&&Ex(FB,E9)){FG=E9}if(FG!==null){FE[FF]=[" ",E9,'="',FG.replace(Af,"&").replace(Bo,"<").replace(C1,">").replace(Dw,"""),'"'].join("")}}}}}if(BU.test(FJ)){FK=(FH)?["<",FJ].concat(FE,FD):[""]}else{FK=[];if(FJ=="!"){return FK}if(FB.childNodes&&FB.childNodes.length){FF=FB.childNodes.length;while(FF--){FK=w(FB.childNodes[FF],true,FI,FC).concat(FK)}FK=(FH)?["<",FJ].concat(FE,">",FK,"</",FJ,">"):FK}else{if(FJ=="style"){if(FB.styleSheet&&FB.styleSheet.cssText){FK=[FB.styleSheet.cssText]}}else{if(FB.innerText){FK=[FB.innerText]}else{if(FB.text){FK=[FB.text]}}}FK=(FH)?["<",FJ].concat(FE,">",FK,"</",FJ,">"):[""]}}return FK;case 3:return(EH.test(FB.nodeValue))?[FB.nodeValue]:[""];case 4:return["<![CDATA[",FB.nodeValue,"]]>"];case 8:return["<!--",FB.nodeValue,"-->"];case 10:return[FB.nodeValue];default:return[]}};Er=function(FC,FA,FB){var E9=C7(FC);var FD=Cz(E9);if(typeof FC.innerHTML=="string"&&FB&&FA===FD){return FC.innerHTML}if(typeof FA=="undefined"){FA=FD}return w(FC,false,FA,E9).join("")};API.getElementHtml=Er;Br=function(FC,FA,FB){var E9=C7(FC);var FD=Cz(E9);if(typeof FC.outerHTML=="string"&&FB&&FA===FD){return FC.outerHTML}if(typeof FA=="undefined"){FA=FD}return w(FC,true,FA,E9).join("")};API.getElementOuterHtml=Br;h=function(FA,FB,E9){E9=E9||global.document;var FD,FC=CQ(E9);if(FC){FD=Br(FC)}return FD};API.getDocumentHtml=h}ET=(function(){if(DL&&BP&&DK&&A0(DK,"appendChild")){var E9=(function(){var FA=BP("style");if(FA){if(A0(global.document,"styleSheets")){return function(FC,FF,FE,FB){var FD;if(FB.styleSheets&&FB.styleSheets.length){FD=FB.styleSheets[FB.styleSheets.length-1];if(FD.addRule){FD.addRule(FC,FF)}else{if(typeof FD.cssText=="string"){FD.cssText=FC+" {"+FF+"}"}else{if(FD.insertRule){FD.insertRule(FC+" {"+FF+"}",FD.cssRules.length)}}}}}}if(AJ(FA)&&A0(global.document,"createTextNode")){return function(FC,FG,FF,FB){var FD=CQ(FB);var FE=FD.scrollHeight;FF.appendChild(FB.createTextNode(FC+" {"+FG+"}"));if(FD.scrollHeight!=FE){if(FF.parentNode.offsetHeight){FF.parentNode.removeChild(FF);return false}}}}if(typeof FA.innerText=="string"){return function(FB,FD,FC){FC.innerText+=FB+" {"+FD+"}"}}FA=null}})();if(E9){return function(FC,FG,FF,FB){var FE,FA;var FD=DL("head",FB);if(FD[0]){FE=BP("style",FB);if(FE){FE.setAttribute("type","text/css");FE.setAttribute("media",FF||"screen");FD[0].appendChild(FE);FA=E9(FC,FG,FE,FB||global.document);FE=null;return FA}}}}}})();API.addStyleRule=ET;if(DK&&AI&&DL){CS=function(FE,E9){var FB,FD,FA,FC;FB=DL("link",E9);FD=0;FA=FB.length;while(FD<FA){FC=FB[FD].getAttribute("title");if(FC&&FB[FD].getAttribute("rel")&&FB[FD].getAttribute("rel").indexOf("style")!=-1){FB[FD].disabled=true;if(FC.toLowerCase()==FE){FB[FD].disabled=false}}FD++}};API.setActiveStyleSheet=CS}}var DN=function(E9){return[E9.clientTop||0,E9.clientLeft||0]};API.getElementBordersOrigin=DN;g=!!(DK&&CN(DK,"style"));if(g){Ds={};DE=["display","visibility","position"];E7=3;while(E7--){Ds[DE[E7]]=typeof DK.style[DE[E7]]=="string"}API.canAdjustStyle=function(E9){return Ds[E9]}}var D8,G,Bq,CI,B9,Y,B8,DT,Al,Bp;var t,C0,Ah,Eo;var Ev;var CC,Di,DZ;var DI,Eb;var H,Cj,Aw,Eh;var AG=new RegExp("^(-)?[\\d\\.]*px$","i");var Ck=new RegExp("^(-)?[\\d\\.]*(em|pt|cm|in)$","i");var K=new RegExp("color","i");var CH=new RegExp("rgb[a]*\\((\\d*),[\\s]*(\\d*),[\\s]*(\\d*)[),]","i");var A8=new RegExp("^rgba\\(\\d+,\\s*,\\d+,\\s*\\d,\\s*0\\)$","i");var EV={aqua:"00FFFF",green:"008000",navy:"000080",silver:"C0C0C0",black:"000000",gray:"808080",olive:"808000",teal:"008080",blue:"0000FF",lime:"00FF00",purple:"800080",white:"FFFFFF",fuchsia:"FF00FF",maroon:"800000",red:"FF0000",yellow:"FFFF00"};var DA,AK,E8=["WebkitOpacity","KhtmlOpacity","MozOpacity","opacity"];var EJ,EP,EW;var Av=["Top","Left","Bottom","Right"];var Ee,AO;var Bw,CO,Bk;if(DK){if(g){Ev=(function(){var E9=(typeof DK.style.top=="number")?0:"px";return function(FB,FC,FA){if(FC!==null){FB.style.top=FC+E9}if(FA!==null){FB.style.left=FA+E9}}})();API.positionElement=Ev;Di=(function(){var E9=(typeof DK.style.height=="number")?0:"px";return function(FC,FB,FA){if(FB!==null&&FB>=0){FC.style.height=FB+E9}if(FA!==null&&FA>=0){FC.style.width=FA+E9}}})();API.sizeElement=Di;CC=function(E9,FA){if(E9.offsetHeight!=FA[0]){FA[0]-=(E9.offsetHeight-FA[0]);if(FA[0]>=0){E9.style.height=FA[0]+"px"}}if(E9.offsetWidth!=FA[1]){FA[1]-=(E9.offsetWidth-FA[1]);if(FA[1]>=0){E9.style.width=FA[1]+"px"}}return FA};DZ=function(E9,FA){Di(E9,FA);CC(E9,FA)};API.sizeElementOuter=DZ;DI=function(E9,FA){Ev(E9,FA[0],FA[1]);Di(E9,FA[2],FA[3])};Eb=function(E9,FA){DI(E9,FA);CC(E9,[FA[2],FA[3]])};API.positionAndSizeElement=DI;API.positionAndSizeElementOuter=Eb;D8=(typeof DK.style.cssFloat=="string")?"cssFloat":"styleFloat";B9=function(FA,E9){if(E9=="float"){E9=D8}return(FA)?FA[E9]||null:null};G=(function(){if(CN(DK,"currentStyle")){return function(FA,E9){return B9(FA.currentStyle,E9)}}})();API.getCascadedStyle=G;Bq=(function(){var FA=new RegExp("^(absolute|fixed)$");var E9=new RegExp("^(height|width|left|top|right|bottom|margin.+|border.+|padding.+)$","i");if(CN(q,"defaultView")&&A0(q.defaultView,"getComputedStyle")){return function(FE,FD){var FB=C7(FE);var FC=FB.defaultView.getComputedStyle(FE,null);return B9(FC,FD)}}if(G){return function(FF,FE){var FI,FD,FB,FH,FC;var FG=G(FF,FE);if(FG=="inherit"){FD=Ec(FF);if(FD){return Bq(FD,FE)}}switch(FE){case"float":FB=Bq(FF,"position");return(FB&&FA.test(FB))?"none":FG;case"display":if(FG!="none"){FD=Ec(FF);while(FD){if(G(FD,"display")=="none"){return"none"}FD=Ec(FD)}FB=Bq(FF,"position");if(FB&&FA.test(FB)){FG="block"}else{FI=G(FF,"float");if(FI&&FI!="none"){FG="block"}}}return FG}if(AG.test(FG)){return FG}if(Ck.test(FG)){if(E9.test(FE)){if(parseFloat(FG)){if(CN(FF,"runtimeStyle")){FH=FF.style.left;FC=FF.runtimeStyle.left;FF.runtimeStyle.left=FF.currentStyle.left;FF.style.left=FG;FG=FF.style.pixelLeft;FF.style.left=FH;FF.runtimeStyle.left=FC;return FG+"px"}}else{return"0px"}}return null}return((FG=="auto"&&FE!="overflow")||FG=="inherit")?null:FG}}})();API.getComputedStyle=Bq;CI=function(FA,E9){var FB=B9(FA.style,E9);if(typeof FB=="number"){FB+="px"}return FB};API.getInlineStyle=CI;Y=(function(){if(CN(q,"defaultView")&&A0(q.defaultView,"getOverrideStyle")){return function(FB,FA){var E9=C7(FB).defaultView.getOverrideStyle(FB,null);return B9(E9,FA)}}if(CN(DK,"runtimeStyle")){return function(FA,E9){return B9(FA.runtimeStyle,E9)}}})();API.getOverrideStyle=Y;DA=(function(FC){var E9,FB,FE;var FD=new RegExp("alpha\\(opacity=[^\\)]+\\)","i");var FA=function(FF,FG){FF.style[FB]=FG};E9=E8.length;while(E9--){if(typeof FC.style[E8[E9]]=="string"){FB=E8[E9];return FA}}if(typeof FC.style.filter=="string"){return function(FF,FG){FE=FF.style;if(FF.currentStyle&&!FF.currentStyle.hasLayout){FE.zoom=1}if(!FD.test(FE.filter)){FE.filter+=" alpha(opacity="+(FG*100)+")"}else{FE.filter=FE.filter.replace(FD,(FG>=0.9999)?"":"alpha(opacity="+(FG*100)+")")}}}})(DK);API.setOpacity=DA;AK=(function(FC){var E9,FB,FD=new RegExp("opacity\\s*=\\s*([^\\)]*)","i");var FA=function(FE){var FF=FE.style[FB];if(FF){return parseFloat(FF)}if(Bq){FF=Bq(FE,"opacity");if(FF!==null){return parseFloat(FF)}}return 1};E9=E8.length;while(E9--){if(typeof FC.style[E8[E9]]=="string"){FB=E8[E9];return FA}}if(typeof DK.style.filter=="string"&&G){return(function(){var FE;return function(FG){var FF=G(FG,"filter");if(FF){FE=FF.match(FD);return(FE)?parseFloat(FE[1])/100:1}return 1}})()}})(DK);API.getOpacity=AK;Aw=function(E9){return"0123456789ABCDEF".substring(E9,E9+1)};Cj=function(E9){return Aw(Math.floor(E9/16))+Aw(E9%16)};Eh=function(E9){return[Cj(E9[0]),Cj(E9[1]),Cj(E9[2])].join("")};H=function(FA){var E9=CH.exec(FA);if(E9){return["#",Cj(parseInt(E9[1],10)),Cj(parseInt(E9[2],10)),Cj(parseInt(E9[3],10))].join("")}if(A8.test(FA)){return"transparent"}return(EV[FA])?"#"+EV[FA]:null};B8=(function(){var E9=(function(){if(Bq){return function(FC,FB){var FD,FA,FE;if(Y){FD=Y(FC,FB)}if(FD){return FD}FE=Bq(FC,FB);if(FE){return FE}else{FA=CI(FC,FB);FE=G&&G(FC,FB);if(FE){return FE}return((FB=="display")?"none":FA)||null}}}return function(FD,FC){var FB,FA=CI(FD,FC);if(FC=="display"&&(FA!="none")){FB=Ec(FD);while(FB){if(FB.style.display=="none"){return"none"}FB=Ec(FB)}}return FA}})();return function(FB,FA){var FC=E9(FB,FA);return(K.test(FA))?H(FC)||FC:FC}})();API.getStyle=B8;Al=function(FA,E9,FB){if(E9=="float"){E9=D8}FA.style[E9]=FB};API.setStyle=Al;Bp=function(FA,FB){var E9;for(E9 in FB){if(m(FB,E9)){Al(FA,E9,FB[E9])}}};API.setStyles=Bp;DT=function(FA,E9){var FB=B8(FA,E9);if(AG.test(FB)){return parseFloat(FB)}if(Ck.test(FB)&&!parseFloat(FB)){return 0}return null};API.getStylePixels=DT;Ee=function(FB,FA){var E9=DT(FB,"border"+FA+"Width");if(E9===null){switch(FA){case"Left":case"Right":return FB.clientLeft||0;case"Top":case"Bottom":return FB.clientTop||0}}return E9};API.getElementBorder=Ee;DN=function(E9){return[E9.clientTop||Ee(E9,"Top"),E9.clientLeft||Ee(E9,"Left")]};API.getElementBordersOrigin=DN;AO=(function(){var E9;return function(FA){var FB={};E9=Av.length;while(E9--){FB[Av[E9]]=Ee(FA,Av[E9])}return FB}})();API.getElementBorders=AO;Bw=function(E9,FA){return DT(E9,"margin"+FA)||0};API.getElementMargin=Bw;Bk=function(E9,FA){return[Bw(E9,"Top"),Bw(E9,"Left")]};API.getElementMarginsOrigin=Bk;CO=(function(){var E9;return function(FA){var FB={};E9=Av.length;while(E9--){FB[Av[E9]]=Bw(FA,Av[E9])}return FB}})();API.getElementMargins=CO;t=function(FA){var E9;if(B8(FA,"position")!="fixed"&&CN(FA,"offsetParent")){do{FA=FA.offsetParent;if(FA){E9=B8(FA,"position")}}while(FA&&(!E9||E9=="static"));return FA}};API.getPositionedParent=t;Eo=function(E9){return B8(E9,"visibility")!="hidden"};API.isVisible=Eo;Ah=function(E9){return B8(E9,"display")!="none"};API.isPresent=Ah;C0=function(FA){var E9=B8(FA,"position");return(E9)?(E9!="static"):false};API.isPositionable=C0;EJ=function(FB,FA){var E9;if(!FB.className){FB.className=FA}else{E9=new RegExp("(^|\\s)"+FA+"(\\s|$)");if(!E9.test(FB.className)){FB.className+=" "+FA}}};API.addClass=EJ;EW=function(FC,FB){var FA,E9;if(FC.className){if(FC.className==FB){FC.className=""}else{FA=new RegExp("(^|\\s)"+FB+"(\\s|$)");E9=FC.className.match(FA);if(E9&&E9.length==3){FC.className=FC.className.replace(FA,(E9[1]&&E9[2])?" ":"")}}}};API.removeClass=EW;EP=function(FA,E9){return(new RegExp("(^|\\s)"+E9+"(\\s|$)")).test(FA.className)};API.hasClass=EP}}if(q){if(DK&&EG&&Ab&&A0(q,"getElementById")&&((BP&&A0(DK,"appendChild"))||typeof DK.outerHTML=="string")){(function(){var FR,FK,FJ,FE,E9,FP,FD;var FL=[];var FC=[];var FA=new RegExp("<!--\\[if !IE\\]>-->","g");var FO=new RegExp("<!--<!\\[endif\\]-->","g");if(typeof Ds!="undefined"){FK=Ds.visibility;FJ=Ds.display}function FU(FW){var FV=new RegExp("&","g");FW=FW.replace(FV,"%26");FV=new RegExp('"',"g");FW=FW.replace(FV,global.escape("""));FV=new RegExp("\\+","g");FW=FW.replace(FV,"%2B");return FW}function FN(FV){if(typeof API.onflasherror=="function"){API.onflasherror(FV)}}function FM(FV,FW){return'<param name="'+FV+'" value="'+FW+'">'}function FG(FV,FW){return FV+'="'+FW+'"'}function FF(FV,FX,FW){if(E9==FV){if(FP>FX){return true}if(FP==FX){return(FD>=FW)}}return(E9>FV)}function FS(){var FW,FY,FX,Fd,Fb,Fe;E9=0;var FV=EG("application/x-shockwave-flash","Shockwave Flash");if(FV){Fb=new RegExp("(\\d+)\\.(\\d+)");Fe=FV.match(Fb);if(Fe&&Fe.length==3){FE=Fe[0];E9=parseInt(Fe[1],10);FP=parseInt(Fe[2],10);if(FV.indexOf("r")>1){FD=parseInt(FV.substring(FV.indexOf("r")+1),10);FE+=" r"+FD}}}if(!E9&&A0(global,"ActiveXObject")){for(FY=25;FY>=6&&!E9;FY--){Fd=false;try{FX=new global.ActiveXObject("ShockwaveFlash.ShockwaveFlash."+FY);Fd=(typeof FX!="undefined");FE="WIN 6,0,21,0";FX.AllowScriptAccess="always";FE=FX.GetVariable("$version")}catch(Fa){}if(Fd){E9=FY}}if(!E9){try{FX=new global.ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");FE=FX.GetVariable("$version");E9=5}catch(Fc){}if(!E9){try{FX=new global.ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");E9=3}catch(FZ){}}}if(E9){FR=true;if(FE){FW=FE.split(",");if(FW.length==4){if(FW[0].lastIndexOf(" ")!=-1){FW[0]=FW[0].substring(FW[0].lastIndexOf(" ")+1)}E9=parseInt(FW[0],10);FP=parseInt(FW[1],10);FD=parseInt(FW[2],10)}}}}}function FI(){global.__flash_unloadHandler=function(){};global.__flash_savedUnloadHandler=function(){}}function FB(){if(A0(global.document,"getElementsByTagName")){var FY=global.document.getElementsByTagName("object");if(FY){var FX=0;var FW=FY.length;var FV;while(FX<FW){for(FV in FY[FX]){if(typeof FY[FX][FV]=="function"){FY[FX][FV]=null}}FX++}}}}function FH(FX,FV,Fd){var FZ,Fc;var FW=["allowScriptAccess","swLiveConnect","bgColor","align","wMode","deviceFont","sAlign","scale","base","allowFullScreen","allowNetworking","seamlessTabbing"];var Fb={menu:true,loop:true,quality:"high",swLiveConnect:false,wMode:"window",allowFullScreen:false,allowNetworking:"all",seamlessTabbing:true,scale:"showall",deviceFont:false};var Fa=0;var FY=FW.length;while(Fa<FY){Fc=Fd[FW[Fa]];if(typeof Fc=="string"){Fc=Fc.toLowerCase()}if(typeof Fc!="undefined"&&Fc!=Fb[FW[Fa]]){FZ=FZ||{};if(typeof Fc=="boolean"){Fc=(Fc)?"true":"false"}FZ[FW[Fa].toLowerCase()]=Fc}Fa++}if(Fd.variables){FZ=FZ||{};FZ.flashvars=(typeof Fd.variables=="object")?Fd.variables.value():Fd.variables}FL[FL.length]={file:FX,id:FV,"class":Fd["class"],title:Fd.title,height:Fd.height,width:Fd.width,parameters:FZ}}function FQ(FV){if(FJ){FV.style.display="none"}}function FT(FY){var FX,FW,FV;if(typeof FY.innerHTML=="string"&&typeof FY.outerHTML=="string"){FX=FY.innerHTML;FW=new RegExp("[\\n\\r]","g");FX=FX.replace(FW,"");FW=new RegExp("<object[^>]*>(.*)</object>","i");FV=FX.match(FW);if(FV&&FV.length==2){FV[1]=FV[1].replace(FA,"").replace(FO,"");if(FV[1].length){FY.outerHTML=FV[1]}}FQ(FY)}}Ab(function(){var Fd=CQ();var Fg;var Fe=BP&&A0(Fd,"replaceChild");if(typeof Fd.outerHTML!="string"||Cz()){Fg=true}var FZ="application/x-shockwave-flash";var Fb="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000";var FW="http://www.adobe.com/go/getflashplayer";var FV,Fp,Fa,Ff,Fu,Fr,Fq,Ft,Fs,Fo,FX,Fn,FY;var Fl,Fj,Fk,Fi,Fh;var Fc=function(Fv){return function(){FN(Fv)}};function Fm(Fw,Fv,Fx){Fs=BP("param");if(Fs){Fs.setAttribute("name",Fv);Fs.setAttribute("value",Fx);Fw.appendChild(Fs)}}Fl=0;Fj=FC.length;if(Fd&&Fe&&A0(global.document,"getElementsByTagName")&&A0(Fd,"appendChild")&&A0(Fd,"getAttribute")){while(Fl<Fj){FV=global.document.getElementById(FC[Fl]);if(FV){if(Dn(FV)=="object"&&(FV.getAttribute("type")==FZ||FV.getAttribute("classid")==Fb)){Fo=FV.getElementsByTagName("object");if(Fo&&Fo[0]){FX=Fo[0]}if(FX){Fn=[];if(FX.firstChild){FY=FX.firstChild;while(FY){if(Dn(FY)!="param"&&FY.nodeType!=8){Fn[Fn.length]=FY}FY=FY.nextSibling}}if(Fn.length&&FV.parentNode){Fa=FV.parentNode;Fp=FV.nextSibling;Fa.removeChild(FV);Fk=0;Fi=Fn.length;if(Fp){while(Fk<Fi){Fa.insertBefore(Fn[Fk++],Fp)}}else{while(Fk<Fi){Fa.appendChild(Fn[Fk++])}}}else{FQ(FV)}}else{FT(FV)}}}Fl++}}else{while(Fl<Fj){FV=global.document.getElementById(FC[Fl++]);if(FV){FT(FV)}}}Fl=0;Fj=FL.length;while(Fl<Fj){Fr=FL[Fl++];Fr.height=(Fr.height||1);Fr.width=(Fr.width||1);Fr["class"]=Fr["class"]||"";Fr.title=Fr.title||"";if(FR){Fq=[];Fu='<object id="'+Fr.id+'" classid="'+Fb+'" width="'+Fr.width+'" height="'+Fr.height+'" class="'+Fr["class"]+'" title="'+Fr.title+'" style="visibility:visible" onerror="if (typeof API.onflasherror == \'function\') { API.onflasherror(\''+Fr.id+'\'); }"><param name="movie" value="'+Fr.file+'">';if(Fg){Ff=BP("object");Ff.classid=Fb;if(FK){Ff.style.visibility="visible"}Fh={id:Fr.id,height:Fr.height,width:Fr.width,className:Fr["class"],title:Fr.title};for(Fk in Fh){if(m(Fh,Fk)){Ff[Fk]=Fh[Fk]}}Fm(Ff,"movie",Fr.file)}if(Fr.parameters){for(Fk in Fr.parameters){if(m(Fr.parameters,Fk)){Fq[Fq.length]=FM(Fk,Fr.parameters[Fk]);if(Ff){Fm(Ff,Fk,Fr.parameters[Fk])}}}}Fu+=Fq.join("");Fu+="</object>";if(Ff){Ff.onerror=Fc(Fr.id)}}else{if(Fr.parameters&&!Cz()){Ft=[];Fu='<embed name="'+Fr.id+'" id="'+Fr.id+'" class="'+Fr["class"]+'" src="'+Fr.file+'" height="'+Fr.height+'" width="'+Fr.width+'" type="'+FZ+'" pluginspage="'+FW+'" style="visibility:visible"';if(Fg){Ff=BP("embed");if(FK){Ff.style.visibility="visible"}Fh={id:Fr.id,height:Fr.height,width:Fr.width,"class":Fr["class"],src:Fr.file,"type":FZ,pluginspage:FW};for(Fk in Fh){if(m(Fh,Fk)){Ff.setAttribute(Fk,Fh[Fk])}}}for(Fk in Fr.parameters){if(m(Fr.parameters,Fk)){Ft[Ft.length]=FG(Fk,Fr.parameters[Fk]);if(Ff){Ff.setAttribute(Fk,Fr.parameters[Fk])}}}Fu+=" "+Ft.join(" ")+"></embed>"}else{Fu='<object id="'+Fr.id+'" class="'+Fr["class"]+'" title="'+Fr.title+'" type="'+FZ+'" data="'+Fr.file+'" height="'+Fr.height+'" width="'+Fr.width+'" style="visibility:visible"><param name="pluginurl" value="'+FW+'">';if(Fg){Ff=BP("object");if(FK){Ff.style.visibility="visible"}Fh={"type":FZ,data:Fr.file,height:Fr.height,width:Fr.width,"class":Fr["class"],title:Fr.title,id:Fr.id};for(Fk in Fh){if(m(Fh,Fk)){Ff.setAttribute(Fk,Fh[Fk])}}if(Fr.parameters){Fq=[];for(Fk in Fr.parameters){if(m(Fr.parameters,Fk)){Fq[Fq.length]=FM(Fk,Fr.parameters[Fk]);if(Ff){Fm(Ff,Fk,Fr.parameters[Fk])}}}Fu+=Fq.join("")}Fm(Ff,"pluginurl",FW)}Fu+="</object>"}}FV=global.document.getElementById(Fr.id);if(FV){if(!Fg||!FV.parentNode){FV.outerHTML=Fu}else{FV.parentNode.replaceChild(Ff,FV)}}Ff=null}Fd=null});API.getFlashVersion=function(){if(typeof E9=="undefined"){FS()}if(E9){return{major:E9,minor:FP,revision:FD,full:FE}}};API.createFlash=function(FX,Fa,FW){var FY,FV;FW=FW||{};if(typeof E9=="undefined"){FS()}if(FW.skipCheck){FH(FX,Fa,FW);FY=true}else{if(E9){if(FF(FW.versionRequired||0,FW.versionRequiredMinor||0,FW.versionRequiredRevision||0)){FH(FX,Fa,FW);FY=true}else{if(FW.expressInstall&&FF(6,0,65)){var FZ=FW.expressInstallURI||"playerProductInstall.swf";FH(FZ,{height:(FW.height>=137)?FW.height:137,width:(FW.width>=214)?FW.width:214,variables:"MMredirectURL="+FU(global.location)+"&MMplayerType="+((FR)?"ActiveX":"PlugIn")+"&MMdoctitle="+FU(global.document.title),allowScriptAccess:"sameDomain",swLiveConnect:true});FY=true}else{FC[FC.length]=Fa;FV=true}}}}if(FL.length==1&&E9>7&&FR&&A0(global,"attachEvent")){global.attachEvent("onunload",FB);global.attachEvent("onbeforeunload",FI)}if((FY||FV)&&FK&&typeof ET=="function"){ET("#"+Fa,"visibility:hidden")}return FY};API.FlashVariables=function(){var FW="";function FV(FX,FY){FW+=((FW)?"&":"")+FX+"="+FU(FY)}this.value=function(){return FW};this.clear=function(){FW=""};this.add=function(FX,FY){FV(FX,FY)};this.addBookmark=function(FX){if(global.location.hash){FV(FX,global.location.hash.substring(1))}};if(typeof Cb=="function"){this.addQuery=function(FX){if(Cb(FX)){FV(FX,Cb(FX))}}}}})()}}var EZ,a;if(typeof global.status=="string"&&A0(global,"setTimeout")){EZ=(function(){var E9=new RegExp("'","g");return function(FB){if(typeof global!="undefined"){var FA=function(){if(typeof global!="undefined"){global.status=FB}};FA.toString=function(){return"if (typeof global != 'undefined') { global.status = '"+FB.replace(E9,"\\'")+"'; }"};global.setTimeout(FA,10)}}})();API.setStatus=EZ}if(typeof global.defaultStatus=="string"){a=function(E9){global.defaultStatus=E9};API.setDefaultStatus=a}var R,Du,C3,EO,CX;var E3=new RegExp("([\\.])","g");var M,EN,D7;function Dy(E9){return E9.replace(E3,"\\$1")}if(EE&&C2&&q&&typeof q.cookie=="string"){CX=function(FC,FD,FA,FF,FE,E9){var FB,FG="";FF=FF||"/";if(typeof FA=="undefined"){FA=30}if(FA){if(typeof FA=="number"){FB=new Date();FB.setTime(FB.getTime()+(FA*86400000));FA=FB}FG="; expires="+FA.toUTCString()}(E9||global.document).cookie=EE(FC)+"="+EE(FD)+FG+"; path="+FF+((FE)?"; secure":"")};API.setCookie=CX;EO=function(FB,FA,FE,E9){var FC=new RegExp("( |;|^)"+Dy(EE(FB))+"=([^;]+)");var FD=(E9||global.document).cookie.match(FC);return(FD!==null)?((FE)?FD[2]:C2(FD[2])):((typeof FA=="undefined")?null:FA)};API.getCookie=EO;C3=function(FA,FB,E9){CX(FA,"",-1,FB,null,E9)};API.deleteCookie=C3;Du=function(){if(typeof R=="undefined"){CX("_cookietest","1");R=(EO("_cookietest","0")=="1");C3("_cookietest")}return R};API.cookiesEnabled=Du;D7=function(FB,FA,FE,FF,E9){var FD,FC=EO(FB,null,true,E9);if(FC!==null){FD=new RegExp("(&|^)"+Dy(EE(FA))+"=[^&]*&?");if(FD.test(FC)){FC=FC.replace(FD,EE(FA)+"="+EE(FE))}else{FC+="&"+EE(FA)+"="+EE(FE)}}else{FC=EE(FA)+"="+EE(FE)}(E9||global.document).cookie=EE(FB)+"="+FC+"; path="+(FF||"/")};API.setCookieCrumb=D7;EN=function(FD,FB,FA,E9){var FF=EO(FD,null,true,E9);var FG=null;var FE;if(FF!==null){FE=new RegExp("(&|^)"+Dy(EE(FB))+"=([^&]*)&?");var FC=FE.exec(FF);if(FC){FG=C2(FC[1])}}return(FG!==null&&FG.length)?FG:((typeof FA=="undefined")?null:FA)};API.getCookieCrumb=EN;M=function(FB,FA,E9){D7(FB,FA,"",null,E9)};API.deleteCookieCrumb=M}var DC,DS,Cl,Ay,C5,CZ;var Bj,j,Bt,Ep,Cc,l,B7;var AE={},AZ={},r={};var BL=0;if(A0(q,"createElement")){B7=function(E9,FB){E9="on"+E9;var FA=E9+(FB&&FB.tagName||"");if(typeof r[FA]=="undefined"){r[FA]=true;FB=FB||global.document.createElement("div");if(FB&&A0(FB,"setAttribute")){if(typeof FB[E9]=="undefined"){FB.setAttribute(E9,'window.alert(" ");');r[FA]=A0(FB,E9)}}}return r[FA]}}API.isEventSupported=B7;function Ew(){var E9=API.attachedListeners.length;while(E9--){API.attachedListeners[E9].el.detachEvent("on"+API.attachedListeners[E9].ev,API.attachedListeners[E9].fn)}API.attachedListeners=null;global.detachEvent("onunload",Ew)}function DY(){var E9=API.attachedListeners.length;while(E9--){API.attachedListeners[E9].el["on"+API.attachedListeners[E9].ev]=null}API.attachedListeners=null;global.onunload=null}var EF=0;function By(E9){if(E9.tagName){return CT(E9)}else{if(E9==global){return"_apiwin"}return(E9._targetId=E9._targetId||("_api"+EF++))}}function AM(FD,FE,FA,FF,E9,FC){var FB=By(FD);if(!AE[FB]){AE[FB]={}}if(!AE[FB][FE]){AE[FB][FE]={}}AE[FB][FE][FA]=FF;AZ[FA]={fn:E9,context:FC}}function Bi(FB,FC,E9){var FA=By(FB);return(AE[FA]&&AE[FA][FC]&&AE[FA][FC][E9])}function Cp(FB,FC,E9){var FA=By(FB);if(AE[FA]&&AE[FA][FC]){AE[FA][FC][E9]=null}}var A6=function(FC,FB){var FA,E9;FA=FC();E9=FB();return(FA!==false&&E9!==false)};function AB(FD,FE){var FC,E9,FB,FA=By(FD);if(AE[FA]&&AE[FA][FE]){FB=AE[FA][FE];for(E9 in FB){if(m(FB,E9)&&FB[E9]){FC=(FC)?A6(FB[E9],FC):FB[E9]}}}return FC||null}API.eventContexts=[];var DW=0;var E2=function(E9){return(function(){var FB=(function(){if(Function.prototype.call){return function(FC,FD){return function(FE){return FC.call(API.eventContexts[FD].context,FE||API.eventContexts[FD].globalContext.event)}}}else{return function(FC,FD){return function(FG){var FE=API.eventContexts[FD].context;FE.__mylibevent=FC;var FF=FE.__mylibevent(FG||API.eventContexts[FD].globalContext.event);FE.__mylibevent=null;return FF}}}})();var FA;if(A0(E9,"addEventListener")){return function(FF,FE,FD,FC){var FG=(FC)?function(FH){return FD.call(FC,FH)}:FD;if(!FD._fnId){FD._fnId=++BL}AM(FF,FE,FD._fnId,FG,FD,FC);return FF.addEventListener(FE,FG,false)}}if(A0(E9,"attachEvent")){FA=function(FF,FE,FD,FG,FC){if(!API.attachedListeners){API.attachedListeners=[];global.attachEvent("onunload",Ew)}AM(FF,FE,FD._fnId,FG,FD,FC);FF.attachEvent("on"+FE,FG);if(!(FE=="unload"&&FF==global)){API.attachedListeners[API.attachedListeners.length]={el:FF,ev:FE,fn:FG}}FF=null}}else{FA=function(FF,FE,FD,FG,FC){if(!API.attachedListeners){API.attachedListeners=[];global.onunload=(function(FH){return function(FI){FI=FI||global.event;if(typeof FH=="function"){FH(FI)}DY(FI)}})(global.onunload)}AM(FF,FE,FD._fnId,FG,FD,FC);FF["on"+FE]=AB(FF,FE);if(!(FE=="unload"&&FF==global)){API.attachedListeners[API.attachedListeners.length]={el:FF,ev:FE}}FF=null}}if(FA){return function(FH,FF,FE,FD){var FG,FC=C7(FH);if((FC||FH)==global.document){FG=global}else{if(AH){FG=(FC&&AH(FC))||AH(FH)||FH}}if(FG){API.eventContexts[DW]={context:FD||FH,globalContext:FG};var FI=FB(FE,DW++);if(!FE._fnId){FE._fnId=++BL}if(!Bi(FH,FF,FE._fnId)){FA(FH,FF,FE,FI,FD)}return true}return false}}})()};var Bb=function(FA){var E9=(function(){if(A0(FA,"removeEventListener")){return function(FD,FC,FB){FD.removeEventListener(FC,FB,false)}}if(A0(FA,"detachEvent")){return function(FD,FC,FB){FD.detachEvent("on"+FC,FB)}}return function(FD,FC,FB){FD["on"+FC]=AB(FD,FC)}})();if(E9){return function(FD,FC,FB){var FE;if(FB._fnId){FE=Bi(FD,FC,FB._fnId);if(FE){Cp(FD,FC,FB._fnId);E9(FD,FC,FE)}}else{E9(FD,FC,FB)}}}};function Bn(E9){var FA=E2(E9);return FA&&function(FE,FD,FB,FC){return FA(FB||E9,FE,FD,FC)}}function U(FA){var E9=Bb(FA);return E9&&function(FD,FC,FB){return E9(FB||FA,FD,FC)}}if(E2){if(DK){DC=E2(DK);if(DC){Ay=Bb(DK)}API.attachListener=DC;API.detachListener=Ay}if(q){DS=Bn(q);if(DS){C5=U(q)}API.attachDocumentListener=DS;API.detachDocumentListener=C5}Cl=Bn(this);if(Cl){CZ=U(this)}}API.attachWindowListener=Cl;API.detachWindowListener=CZ;Do=function(FF,FC){var FB,FA,FE,FD=CT(FF),FG=CT(FC),E9=AE[FD];if(E9&&FD!=FG){for(FB in E9){if(m(E9,FB)){for(FA in E9[FB]){if(m(E9[FB],FA)&&E9[FB][FA]){FE=AZ[FA];if(FE){Ay(FF,FB,FE.fn);DC(FC,FB,FE.fn,FE.context)}}}}}}};En=function(FG,FF,FE){var FB,FA,FD,FC=CT(FG),E9=AE[FC];if(!FE){if(E9){for(FB in E9){if(m(E9,FB)){for(FA in E9[FB]){if(m(E9[FB],FA)&&E9[FB][FA]){FD=AZ[FA];if(FD){Ay(FG,FB,FD.fn)}}}}}}}if(FF&&FG.childNodes){FB=FG.childNodes.length;while(FB--){if(FG.childNodes[FB].nodeType==1){En(FG.childNodes[FB],true)}}}};API.purgeListeners=En;var Eq=(function(){if(Function.prototype.call){return function(FC,FB,FA,E9){return FC.call(FB,FA,E9)}}return function(FC,FB,FA,E9){FB.__mylibevent=FC;var FD=FB.__mylibevent(FA,E9);FB.__mylibevent=null;return FD}})();var Ce={},AN={};function Dc(FA,FB){var E9=CT(FA);return !!(AN[E9]&&AN[E9][FB])}function P(FB,FC,FA){var E9=CT(FB);AN[E9]=AN[E9]||{};if(!AN[E9][FC]){AN[E9][FC]=FA;return true}return false}function Bs(FB,FC){var FA,E9=CT(FB);if(AN[E9]&&AN[E9][FC]){FA=AN[E9][FC];AN[E9][FC]=null}return FA}function As(FB,FC){var E9,FA=Bs(FB,FC);if(FA){for(E9 in FA){if(m(FA,E9)){Ay(FB,E9,FA[E9])}}}}var Ak,Bl,Bf,C6;var El,AQ,Bd,c;var A1,AL,D5;var At,Bz,Ci,Dd,BH;if(DC){Cc=function(E9){return(E9.type=="keypress")?E9.charCode||E9.keyCode||E9.which:E9.which||E9.keyCode};API.getKeyboardKey=Cc;Bj=function(E9){if(E9.stopPropagation){E9.stopPropagation()}else{E9.cancelBubble=true}};API.cancelPropagation=Bj;j=function(E9){if(E9.preventDefault){E9.preventDefault()}if(global.event){global.event.returnValue=false}return false};API.cancelDefault=j;l=function(FA){var E9={};if(typeof FA.which!="undefined"){E9.left=(FA.which==1);E9.middle=(FA.which==2);E9.right=(FA.which==3)}else{E9.left=(FA.button&1);E9.middle=(FA.button&4);E9.right=(FA.button&2)}return E9};API.getMouseButtons=l;Bt=function(E9){return(E9.target)?((E9.target.nodeType==3)?E9.target.parentNode:E9.target):E9.srcElement};API.getEventTarget=Bt;Ep=function(E9){if(E9.relatedTarget){return(E9.relatedTarget.nodeType==3)?E9.relatedTarget.parentNode:E9.relatedTarget}if(E9.srcElement){if(E9.srcElement==E9.fromElement){return E9.toElement}if(E9.srcElement==E9.toElement){return E9.fromElement}}return null};API.getEventTargetRelated=Ep;Bl=function(E9){return function(FA){if((l(FA).right||FA.type=="contextmenu")){if(typeof Bf=="undefined"){Bf=FA.type}if(Bf==FA.type){Eq(E9,this,FA)}return j(FA)}}};Ak=(function(){function E9(FC,FB,FA){if(!Dc(FC,"contextclick")){DC(FC,"mouseup",FB,FA);DC(FC,"contextmenu",FB,FA);P(FC,"contextclick",{mouseup:FB,contextmenu:FB})}}return function(FC,FB,FA){E9(FC,Bl(FB),FA)}})();C6=function(FA,E9){As(FA,"contextclick")};Ce.ContextClick={attach:Ak,detach:C6};API.attachContextClickListener=Ak;API.detachContextClickListener=C6;Bd=function(E9){return(E9.detail)?-(E9.detail)/3:E9.wheelDelta/120};API.getMousewheelDelta=Bd;c=function(E9){return function(FA){Eq(E9,this,FA,Bd(FA));return j(FA)}};if(!B7||B7("DOMMouseScroll")||B7("mousewheel")){El=(function(){function E9(FC,FB,FA){if(!Dc(FC,"mousewheel")){DC(FC,"mousewheel",FB,FA);DC(FC,"DOMMouseScroll",FB,FA);P(FC,"mousewheel",{mousewheel:FB,DOMMouseScroll:FB})}}return function(FC,FB,FA){E9(FC,c(FB),FA)}})();AQ=function(E9){As(E9,"mousewheel")};Ce.Mousewheel={attach:El,detach:AQ}}API.attachMousewheelListener=El;API.detachMousewheelListener=AQ;A1=function(FD,FC,FB){var FA,E9;if(!Dc(FD,"help")){FA=function(FE){D5=D5||"help";if(D5=="help"){Eq(FC,this,FE)}return j(FE)};E9=function(FE){D5=D5||"keydown";if(Cc(FE)==112){if(D5=="keydown"){Eq(FC,this,FE)}return j(FE)}};DC(FD,"help",FA,FB);DC(FD,"keydown",E9,FB);P(FD,"help",{help:FA,keydown:E9})}};AL=function(FA,E9){As(FA,"help")};Ce.Help={attach:A1,detach:AL};API.attachHelpListener=A1;API.detachHelpListener=AL;if(typeof EZ!="undefined"){Ci=function(FA,E9){return(E9&&FA.title)?EZ(FA.title):EZ("")}}Dd=function(E9,FC,FB,FA){return function(FE){var FD=FE.type=="mouseover"||FE.type=="focus";Eq((FD)?E9:FC,this,FE);if(FB&&Ci){Ci(FA,FD)}}};BH=function(E9,FC,FB,FA){return function(FI){var FD=Ep(FI);var FH=Bt(FI);var FG=FI.type=="mouseover"||FI.type=="focus";var FF=FA!=FD&&B6(FA,FD);var FE=FA!=FH&&B6(FA,FH);if(FF&&FE){return }if(FD==FA&&FE||FH==FA&&FF){return }Eq((FG)?E9:FC,this,FI);if(FB&&Ci){Ci(FA,FG)}}};if(B6){At=function(FD,FA,FF,E9,FE,FC){var FG=(typeof DL!="undefined"&&DL("*",FD).length)?BH(FA,FF,FC,FD):Dd(FA,FF,FC,FD);var FB={mouseover:FG,mouseout:FG};DC(FD,"mouseover",FG,E9);DC(FD,"mouseout",FG,E9);if(FE){DC(FD,"focus",FG,E9);DC(FD,"blur",FG,E9);FB.focus=FB.blur=FG}P(FD,"roll",FB)};API.attachRolloverListeners=At;Bz=function(FA,E9){As(FA,"roll")};API.detachRolloverListeners=Bz}}var BT,Cr;var A2,D9,DV;var CY,C8;var Cd;var d;var E0,f,CB,EL,BM,O;var EI,Dg,A4,DJ,Dz;var Cy;var B4;var B3,Ba;var C4,Eu,AA;var EX;var Ag=function(FA,FC,E9,FB){return((FA[0]>=E9[0])&&(FA[0]<=E9[0]+FB[0])&&(FA[1]>=E9[1])&&(FA[1]<=E9[1]+FB[1])&&(FA[0]+FC[0]<=E9[0]+FB[0])&&(FA[1]+FC[1]<=E9[1]+FB[1]))};var ES=function(FA,FC,E9,FB){return(((FA[1]>=E9[1])&&(FA[1]<=E9[1]+FB[1]))||((FA[1]<E9[1])&&(FA[1]+FC[1]>E9[1])))&&(((FA[0]>=E9[0])&&(FA[0]<=E9[0]+FB[0]))||((FA[0]<E9[0])&&(FA[0]+FC[0]>E9[0])))};var Ez=function(FC,FB,FA,E9){if(FB[0]<E9[0]){FC[0]+=(E9[0]-FB[0])}if(FB[1]<E9[1]){FC[1]+=(E9[1]-FB[1])}if(FB[0]+FA[0]>E9[0]+E9[2]){FC[0]+=(E9[0]+E9[2]-(FB[0]+FA[0]))}if(FB[1]+FA[1]>E9[1]+E9[3]){FC[1]+=(E9[1]+E9[3]-(FB[1]+FA[1]))}};var BW=function(FC,FA,FB,E9){if(FA[0]+FB[0]>E9[0]+E9[2]){FC[0]+=(E9[0]+E9[2]-(FA[0]+FB[0]))}if(FA[1]+FB[1]>E9[1]+E9[3]){FC[1]+=(E9[1]+E9[3]-(FA[1]+FB[1]))}};var Ad,BK,y,D2;var Cq,Dv,Ey,ER;var Ca;var Ch;var B2;var Ap;var Bg,BD,e,Ct,Cx,DQ,DM,ED,Bm,C9,D4,BB,BZ,Ej;var Ei,EQ,Dp;var DR;var Dj;var E5;var DX,Ao;var L,CL,EY,Bx={};if(Ab){Ab(function(){var FX,Fj;BT=function(Fz){Fz=Fz||global.document;if(CN(Fz,"body")){return Fz.body}if(typeof DL=="function"){return DL("body",Fz)[0]||null}return null};API.getBodyElement=BT;FX=BT();Cr=function(Fz){Fz=Fz||global.document;return(Fz.documentElement&&(!Fz.compatMode||Fz.compatMode.indexOf("CSS")!=-1))?Fz.documentElement:BT(Fz)};API.getContainerElement=Cr;Fj=Cr();var FT;var FM;var Fw,Fr;function Fa(F0,Fz,F1){if(F0){if(F0>F1[0]){F0=F1[0]}if(F0<0){F0=0}}if(Fz){if(Fz>F1[1]){Fz=F1[1]}if(Fz<0){Fz=0}}return[F0,Fz]}function FC(Fz){if(!Fz||Fz==global.document){return global}return(AH)?AH(Fz):null}E0=(function(){if(typeof global.pageXOffset=="number"){return function(F1){var F2=FC(F1);return(F2)?[F2.pageYOffset,F2.pageXOffset]:null}}function F0(F1){return(F1&&(F1.scrollTop||F1.scrollLeft))&&(E0=API.getScrollPosition=function(){return[F1.scrollTop,F1.scrollLeft]})()}function Fz(F2,F1){return(F2.scrollTop!=F1._scrollPositionSetLast[0]||F2.scrollLeft!=F1._scrollPositionSetLast[1])&&(E0=API.getScrollPosition=function(){return[F2.scrollTop,F2.scrollLeft]})()}if(global.document.expando||typeof global.document.expando=="undefined"){return function(F2){var F1=BT(F2);var F3=Cr(F2);F2=F2||global.document;if(!F2._scrollPositionSetLast){F2._scrollPositionSetLast=[]}return((typeof F2._scrollPositionSetLast[0]=="number"&&(Fz(F3,F2)||Fz(F1,F2)))||F0(F2.documentElement)||F0(F1))||[0,0]}}})();API.getScrollPosition=E0;BM=(function(){var F1,F0;var Fz=(function(){if(A0(global,"scrollTo")){return function(F4,F3,F2){var F5=arguments[3]||FC(F2);if(F5){F5.scrollTo(F1[1],F1[0])}}}if(global.document.expando||typeof global.document.expando=="undefined"){if((Fj&&typeof Fj.scrollTop=="number")||(FX&&typeof FX.scrollTop=="number")){return function(F5,F4,F3){var F2=BT(F3);var F6=Cr(F3);F3=F3||global.document;if(!F3._scrollPositionSetLast){F3._scrollPositionSetLast=[]}if(F2){F6.scrollTop=F2.scrollTop=F3._scrollPositionSetLast[0]=F5;F6.scrollLeft=F2.scrollLeft=F3._scrollPositionSetLast[1]=F4}}}}})();if(Fz){return function(F4,F3,F2,F5){F1=(!f||F5||(!F4&&!F3))?[F4,F3]:Fa(F4,F3,f(F2));if(F1[0]===null||F1[1]===null){F0=E0(F2);if(F1[0]===null){F1[0]=F0[0]}if(F1[1]===null){F1[1]=F0[1]}}Fz(F1[0],F1[1])}}})();API.setScrollPosition=BM;f=(function(){if(typeof global.scrollMaxX!="undefined"){return function(Fz){var F0=FC(Fz);return(F0)?[F0.scrollMaxY,F0.scrollMaxX]:null}}})();API.getScrollPositionMax=f;CB=function(Fz){return[Fz.scrollTop||0,Fz.scrollLeft||0]};API.getElementScrollPosition=CB;O=function(F1,F0,Fz,F2){var F3=(F2||(!F0&&!Fz))?[F0,Fz]:Fa(F0,Fz,EL(F1));if(F3[0]!==null){F1.scrollTop=F3[0]}if(F3[1]!==null){F1.scrollLeft=F3[1]}};API.setElementScrollPosition=O;EL=function(Fz){var F0=E1(Fz);return[F0[4]-F0[2],F0[5]-F0[3]]};EI=function(F0){F0=F0||global.document;var Fz=BT(F0);var F1=Cr(F0);if(Fz&&F1!=Fz&&F1.clientWidth===0&&typeof Fz.scrollWidth=="number"){F1=Fz}return F1};API.getScrollElement=EI;Dg=(function(){var F3=EI();var F0=0;var F2,Fz,F1;if(typeof global.window.document.clientHeight=="number"){return function(F4){F4=F4||global;return[F4.document.clientHeight,F4.document.clientWidth]}}if(F3&&typeof F3.clientHeight!="undefined"&&F3.clientHeight){return function(GA){GA=GA||global;var F6,GC;var GE=EI(GA.document);var F7=GE.clientWidth;if(typeof AO=="function"){F6=AO(GE);if(F6){F7+=F6.Left+F6.Right}}if(typeof CO=="function"){GC=CO(GE)}var GB,F9,GD;var F4=global.innerWidth;var F5=F7;if(GC&&(GC.Left||GC.Right)){if(!Fz){Fz=((GC.Left||GC.Right)&&F7==GE.offsetWidth&&GE.offsetWidth!=F4)}if(Fz){F5+=GC.Left+GC.Right}}if(!F0&&F4&&F4>F5){F0=F4-F5}F2=!((GE.offsetWidth||0)-F7);GB=GE.clientWidth;if(F2&&F6&&(F6.Left||F6.Right)){GB+=F6.Left+F6.Right}if(Fz&&GC&&(GC.Left||GC.Right)){GB+=GC.Left+GC.Right}F9=GE.clientHeight;if(F2&&F6&&(F6.Top||F6.Bottom)){F9+=F6.Top+F6.Bottom}if(Fz&&GC&&(GC.Top||GC.Bottom)){F9+=GC.Top+GC.Bottom}GD=!(F0&&GE.scrollWidth-GB<=F0);F1=((F6)?F6.Top+F6.Bottom:0)+((GC)?GC.Top+GC.Bottom:0)+GE.clientHeight==GE.scrollHeight;if(F1&&!F0&&F7>F4){var F8=BT(GA.document);return[F8.clientHeight,GE.clientWidth]}return[(global.innerHeight&&F0&&((F1||((GD)&&global.innerHeight-F9>=F0))))?(global.innerHeight-((GD)?F0:0)):F9,GB]}}if(typeof global.innerHeight!="undefined"){return function(F4){F4=F4||global;return[F4.innerHeight,F4.innerWidth]}}})();API.getViewportSize=Dg;var FQ,Fc=CQ();var Fl,Fg;if(Fc&&A0(global.document,"getBoxObjectFor")&&typeof DN=="function"&&typeof Bk=="function"){(function(){var F0=Bk(Fc);var Fz=DN(Fc);var F1=global.document.getBoxObjectFor(Fc);if(!F1){return }if((F0[0]||F0[1]||Fz[0]||Fz[1])&&(F1.y==F0[0]+Fz[0]&&F1.x==F0[1]+Fz[1])){FQ=function(F3){var F2,F7;var F4=CQ(F3);var F6=DN(F4);var F5=Bk(F4);F7=F6[0]+F5[0];F2=F6[1]+F5[1];return[F7,F2]}}else{if(F1.x||F1.y){FQ=function(F2){F2=F2||global.document;var F3=CQ(F2);var F4=F2.getBoxObjectFor(F3);return[F4.x,F4.y]}}}if(FQ){Fl=function(F4,F2){var F3=FQ(F2);F3[0]+=F4[0];F3[1]+=F4[1];return F3};Fg=function(F4,F2){var F3=FQ(F2);F3[0]=F4[0]-F3[0];F3[1]=F4[1]-F3[1];return F3};API.viewportToHtmlOrigin=Fl;API.htmlToViewportOrigin=Fg}})()}var Fx=function(Fz){var F0=CQ(Fz);if(!F0||F0.clientWidth===0){F0=BT(Fz)}return F0};var FW=Fx();if(FW){Dz=(function(){var Fz,F0;if(typeof Bk=="function"){Fz=Bk(Fj);F0=(FW.offsetWidth==Fz[0]+FW.scrollWidth)}if(typeof FW.scrollWidth!="undefined"){return function(F1){var F2=Fx(F1);return[F2.scrollHeight+((F0)?Fz[0]:0),F2.scrollWidth+((F0)?Fz[1]:0)]}}if(typeof global.document.width!="undefined"){return function(F1){F1=F1||global.document;return[F1.height,F1.width]}}if(typeof FW.offsetWidth!="undefined"){return function(F1){var F2=Fx(F1);return[F2.offsetHeight,F2.offsetWidth]}}})();API.getViewportScrollSize=Dz;if(Dz){DJ=function(F0){var F3,F2=[0,0];var F4=Dz(F0);var Fz=BT(F0);var F1=CQ(F0);if(Fg){F2=Fg(F2,F0)}F0=F0||global.document;if(A0(F0,"getBoxObjectFor")&&F0.width&&Fz&&typeof Fz.clientWidth=="undefined"){F3=F0.getBoxObjectFor(F1);if(F3&&F3.width&&F3.width!=F0.width){F4[0]+=(F3.height-Fz.offsetHeight);F4[1]+=(F3.width-Fz.offsetWidth)}}F2[2]=F4[0];F2[3]=F4[1];return F2};API.getViewportScrollRectangle=DJ}}if(!f&&Dz){f=function(Fz){var F1=Dz(Fz);var F0=Dg(Fz);F1[0]-=F0[0];F1[1]-=F0[1];return F1};API.getScrollPositionMax=f}A4=function(Fz){var F0;var F1=(typeof E0=="function")?E0(Fz):[0,0];F0=[F1[0],F1[1]];if(Fg){F0=Fg(F0,Fz)}var F2=Dg(Fz);F0[2]=F2[0];F0[3]=F2[1];return F0};API.getViewportClientRectangle=A4;FW=null;if(BM){API.setScrollPositionTop=function(Fz,F0,F1){BM(0,null,Fz,null,F0,F1)};API.setScrollPositionLeft=function(Fz,F0,F1){BM(null,0,Fz,null,F0,F1)};if(f){API.setScrollPositionBottom=function(Fz,F0,F1){BM(f(Fz)[0],null,Fz,true,F0,F1)};API.setScrollPositionRight=function(Fz,F0,F1){BM(null,f(Fz)[1],Fz,true,F0,F1)}}API.setScrollPositionRelative=function(F2,F0,Fz,F1,F4){var F3=E0(Fz);if(F2!==null){F2+=F3[0]}if(F0!==null){F0+=F3[1]}BM(F2,F0,Fz,false,F1,F4)}}API.setElementScrollPositionTop=function(F0,Fz,F1){O(F0,0,null,null,Fz,F1)};API.setElementScrollPositionLeft=function(F0,Fz,F1){O(F0,null,0,null,Fz,F1)};API.setElementScrollPositionBottom=function(F0,Fz,F1){O(F0,EL(F0)[0],null,true,Fz,F1)};API.setElementScrollPositionRight=function(F0,Fz,F1){O(F0,null,EL(F0)[1],true,Fz,F1)};API.setElementScrollPositionRelative=function(F2,F1,Fz,F0,F4){var F3=CB(F2);if(F1!==null){F1+=F3[0]}if(Fz!==null){Fz+=F3[1]}O(F2,F1,Fz,false,F0,F4)};E5=(function(){var F7;var F5,GA,F1,F4,F2,F3;if(typeof g=="boolean"&&g&&BP&&FX&&FX.appendChild&&FX.removeChild){var Fz=BP("div");var F0=BP("div");if(F0&&Fz){F5=(function(){Bp(Fz,{position:"absolute",visibility:"hidden",left:"0",top:"0",padding:"0",border:"solid 1px black","overflow":"auto"});Bp(F0,{position:"static",left:"0",top:"0"});Fz.appendChild(F0);FX.appendChild(Fz);F7=F0.offsetLeft==-1;FX.removeChild(Fz);Fz.removeChild(F0);return F7})();GA=(function(){var GB=DN(FX)[1];if(GB){FX.appendChild(Fz);F7=Fz.offsetLeft==-GB;FX.removeChild(Fz);return F7}})();F1=(function(){Bp(Fz,{position:"static",height:"0",width:"0",border:"none"});Bp(F0,{height:"0",width:"0"});Fz.appendChild(F0);FX.appendChild(Fz);F7=F0.offsetParent===FX;FX.removeChild(Fz);Fz.removeChild(F0);return F7})();if(A0(global.document,"createTextNode")){F4=(function(){var GC=BP("span");var GB=global.document.createTextNode("Initializing...");GC.appendChild(GB);F0.appendChild(GC);Bp(Fz,{overflow:"auto"});Fz.appendChild(F0);FX.appendChild(Fz);var GD=GC.offsetTop;Fz.scrollTop=1;F7=GD!=GC.offsetTop;FX.removeChild(Fz);return F7})()}F2=(function(){Bp(Fz,{position:"absolute",visibility:"hidden",left:"0",top:"0",padding:"0",border:"solid 1px"});Bp(F0,{position:"absolute",left:"0",top:"0",margin:"0"});Fz.appendChild(F0);FX.appendChild(Fz);F7=F0.offsetLeft==1;FX.removeChild(Fz);Fz.removeChild(F0);return F7})();var F8=DT(FX,"borderLeftWidth");if(F8){F3=(function(){Fz=API.createElement("div");Bp(Fz,{position:"static",visibility:"hidden",padding:"0",border:"0"});if(FX.firstChild){FX.insertBefore(Fz,FX.firstChild)}else{FX.appendChild(Fz)}F7=Fz.offsetLeft==F8;FX.removeChild(Fz);return F7})()}F0=Fz=null}}function F9(GC,GB){var GG,GF,GE,GD=[0,0,0,0];var GH=B8(GC,"position");if(GH!="fixed"){while(GC.parentNode&&GC.parentNode!==GB){GC=GC.parentNode;GG=B8(GC,"position")||"static";GF=B8(GC,"overflow");if(!((GG=="static"&&GH=="absolute")||GH=="fixed")){if((GC.scrollTop||GC.scrollLeft)&&GF!="visible"){GD[0]-=(GC.scrollTop||0);GD[1]-=(GC.scrollLeft||0);if(F5){GE=DN(GC);GD[2]+=GE[0];GD[3]+=GE[1]}}}}}return GD}function F6(GC,GG,GL){var GO=0,GM=0,GH,GK,GN;var GB,GI=[0,0,0,0];var GF=GC;var GE=C7(GC);if(GE){GH=BT(GE)}if(!GC.offsetParent&&typeof Cd=="function"){return Cd(GC,null)}if(GC.offsetParent===GH){if(GG&&F1){var GD=F6(GG);GM=-GD[0];GO=-GD[1]}}if(GG&&(F2||(F1&&GC.offsetParent==GH))){GK=DN(GG);GM-=GK[0];GO-=GK[1]}if(typeof B8=="function"){var GJ=B8(GC,"display");GI=F9(GC,GH);if(GL){if(F4&&GJ=="inline"){GM-=GI[0];GO-=GI[1]}}else{if((!F4||(!GJ||GJ!="inline"))){GM+=GI[0];GO+=GI[1]}}if(F5){GM+=GI[2];GO+=GI[3]}}if(typeof B8=="function"&&GE&&typeof E0=="function"){GN=B8(GC,"position");if(GN=="fixed"){GB=E0(GE);GO+=GB[1];GM+=GB[0]}}do{if(GC!==GH||(GC.offsetLeft>0&&GC.offsetTop>0)){if(GC.offsetLeft){GO+=GC.offsetLeft}if(GC.offsetTop){GM+=GC.offsetTop}}if(!F2&&GC!==GF&&(!F3||GC!==GH)){F7=DN(GC);GM+=F7[0];GO+=F7[1]}if((GN=="absolute"||GN=="fixed")&&GC.offsetParent===GH){if(GA){F7=DN(GH);GM+=F7[0];GO+=F7[1]}GC=null}else{GC=GC.offsetParent}}while(GC&&GC!==GG);return[GM,GO]}if(A0(global.document,"getBoxObjectFor")){return function(GC,GE,GK){var GM,GJ,GG,GI,GB,GF;var GN=(GE)?E5(GE):[0,0];var GD=C7(GC);var GH=BT(GD);var GL=GD.getBoxObjectFor(GC);if(!GL){return F6(GC,GE,GK)}GM=[GL.y,GL.x];if(typeof B8=="function"){GG=GC;while(GG&&GG.nodeType==1&&GF!="fixed"){GF=B8(GG,"position");GG=GG.parentNode}if(GF=="fixed"){GB=(typeof E0=="function")?E0(GD):[0,0];GM[0]+=GB[0];GM[1]+=GB[1];if(Fg){GM=Fg(GM,GD)}}else{if(!GK){GI=F9(GC,GH);GM[0]+=GI[0]+GI[2];GM[1]+=GI[1]+GI[3]}}}GJ=DN(GC);return[GM[0]-GJ[0]-GN[0],GM[1]-GJ[1]-GN[1]]}}if(FX&&A0(FX,"getBoundingClientRect")){return function(GD,GF,GH){if(GF){return F6(GD,GF,GH)}else{var GK,GI;var GJ=GD.getBoundingClientRect();var GE=C7(GD);var GG=BT(GE);var GC=CQ(GE);var GB=[0,0];GI=GJ.top;GK=GJ.left;if(GC){if(GG&&GC!=GG&&GC.clientWidth===0&&typeof GG.clientTop=="number"){GC=GG}if(GC.clientTop){GI-=GC.clientTop}if(GC.clientLeft){GK-=GC.clientLeft}if(GC.scrollTop||GC.scrollLeft){GB=[GC.scrollTop,GC.scrollLeft]}}if(typeof E0=="function"){GB=E0(GE)}GI+=GB[0];GK+=GB[1];return[GI,GK]}}}return F6})();API.getElementPosition=E5;if(BM){API.setScrollPositionToElement=function(F1,F4,F0,F3){var Fz,F2;if(A0(F1,"scrollIntoView")&&!F4&&!F0){F1.scrollIntoView()}else{Fz=C7(F1);F2=E5(F1);if(Fl){F2=Fl(F2,Fz)}F4=F4||[];BM(F2[0]-(F4[0]||0),F2[1]-(F4[1]||0),Fz,false,F0,F3)}};API.setScrollPositionCenterElement=function(F0,Fz,F1){var F3=Dg(C7(F0));var F2=E1(F0);API.setScrollPositionToElement(F0,[Math.round((F3[0]-F2[0])/2),Math.round((F3[1]-F2[1])/2)],Fz,F1)}}API.setElementScrollPositionToElement=function(F1,F0,F4,Fz,F3){var F2;F4=F4||[];F2=(t(F0)===F1)?Ey(F0,F1):E5(F0,F1);O(F1,F2[0]-(F4[0]||0),F2[1]-(F4[1]||0),false,Fz,F3)};API.setElementScrollPositionCenterElement=function(F3,F1,F0,F4){var F2,Fz,F5;F5=E1(F3);F2=F5[2];Fz=F5[3];F5=E1(F1);O(F3,F1,[Math.round((F2-F5[0])/2),Math.round((Fz-F5[1])/2)],false,F0,F4)};Cy=(function(){var Fz=FX||Fc;if(Fz){if(A0(Fz,"dispatchEvent")&&A0(global.document,"createEvent")&&AH){return function(F2,F4,F3,F6){var F0=C7(F2);var F5=AH(F0);var F1=F0.createEvent(F3||"MouseEvents");if(F1){if(F6&&F1.initMouseEvent){F1.initMouseEvent(F4,false,true,F5,0,F6.screenX,F6.screenY,F6.clientX,F6.clientY,F6.ctrlKey,F6.altKey,F6.shiftKey,F6.metaKey,F6.button,null)}F1.initEvent(F4,false,false);F2.dispatchEvent(F1)}}}if(A0(Fz,"fireEvent")){return function(F0,F1){F0.fireEvent("on"+F1)}}}})();API.dispatchEvent=Cy;B4=(function(){var F0,F1,Fz;return function(F2){if(typeof F2.pageX=="number"){B4=API.getMousePosition=function(F3){return[F3.pageY,F3.pageX]};return B4(F2)}if(typeof F2.clientX=="number"&&typeof E0=="function"){B4=API.getMousePosition=function(F4,F3){F3=F3||C7(Bt(F4));if(F3){Fz=BT(F3);F1=Cr(F3);if(Fz&&F1!=Fz&&F1.clientWidth===0&&typeof Fz.scrollWidth=="number"){F1=Fz}F0=E0(F3);return[F4.clientY+F0[0]-(F1.clientTop||0),F4.clientX+F0[1]-(F1.clientLeft||0)]}};return B4(F2)}}})();API.getMousePosition=B4;if(DC){L=(function(){var Gj,Go,Gh;var GP,Gp,Gk,Gf,F9,GG,Gc,GO,GZ,GV,GK,GU,Gl,Gd,F0,GN,Ga,Gi,Gn,GB,GR;var GW,Gm,GF,GX,GA,F1,Ge;var GS,Fz,GT,GM,Gb,GJ,F7={};var GC;var GH,F6,GQ;var F4;function GY(Gs,Gr){var Gq;if(GW){if(F9=="move"){Gq=[];Gj=GX.length;while(Gj--){if(!ES(Gr,GM,Gm[GX[Gj]],GF[GX[Gj]])){Gq[Gq.length]=Gj}}if(Gq.length){if(GK){Eq(GK,GR,Gq)}}GX=[];Gj=GW.length;while(Gj--){if(ES(Gr,GM,Gm[Gj],GF[Gj])){GX[GX.length]=Gj}}if(GX.length){if(GV){GV(GP,Gs,GX)}if(GA){if(F1){Ge=true}return false}}}}if(Gi){switch(F9){case"move":if(!Ag(Gr,GM,[Gn[0],Gn[1]],[Gn[2],Gn[3]])){Ez(Gs,Gr,GM,Gn)}break;case"size":if(!Ag(Gb,Gr,[Gn[0],Gn[1]],[Gn[2],Gn[3]])){BW(Gs,Gr,Gb,Gn)}}}return !GG||!Eq(GG,GR,Gs,Gr)}function GD(){GC=true;if(Gl&&typeof DA=="function"){DA(GP,Gl)}if(!C0(GP)){Cq(GP);GT=Cd(GP)}if(GW){GX=[];Gm=[];GF=[];Gj=GW.length;while(Gj--){if(CN(GW[Gj],"offsetParent")){Gm[Gj]=E5(GW[Gj]);GF[Gj]=E1(GW[Gj])}}}}function F3(){EX(GP);GC=true}function F8(Gq){var Gr;if(!GC){if(GZ){Eq(GZ,GR)}F3()}Gh=B4(Gq,Gk);if(Gh){Go=[(Ga=="horizontal")?null:(Fz[0]+(Gh[0]-GS[0])),(Ga=="vertical")?null:(Fz[1]+(Gh[1]-GS[1]))];if(Gi){Gr=[(Ga=="horizontal")?null:(GM[0]+(Gh[0]-GS[0])),(Ga=="vertical")?null:(GM[1]+(Gh[1]-GS[1]))]}if(GY(Go,Gr)){if(Go[0]<0){Go[0]=0}if(Go[1]<0){Go[1]=0}Di(GP,Go[0],Go[1])}}return j(Gq)}function Gg(Gq){if(!GC){if(GZ){Eq(GZ,GR)}GC=true}Gh=B4(Gq,Gk);if(Gh){Go=[(Ga=="horizonal")?null:(GJ[0]+(Gh[0]-GS[0])),(Ga=="vertical")?null:(GJ[1]+(Gh[1]-GS[1]))];if(GY(Go)){O(GP,Go[0],Go[1])}}return j(Gq)}var GE;function F2(Gq){var Gr;if(!GC){if(GZ){Eq(GZ,GR)}GD()}Gh=B4(Gq,Gk);if(Gh){Go=[(Ga=="horizontal")?null:(GT[0]+(Gh[0]-GS[0])),(Ga=="vertical")?null:(GT[1]+(Gh[1]-GS[1]))];if(GW||Gi){Gr=[(Ga=="horizontal")?null:(Gb[0]+(Gh[0]-GS[0])),(Ga=="vertical")?null:(Gb[1]+(Gh[1]-GS[1]))]}if(GY(Go,Gr)){Ev(GP,Go[0],Go[1])}else{if(Ge){GE()}}}return j(Gq)}GE=function(){if(GO){Eq(GO,GR)}if(!GB){Ay(Gk,"mousemove",(F9=="size")?F8:(F9=="scroll")?Gg:F2);Ay(Gk,"mouseup",GE)}Gk.onmousedown=GH;Gk.onkeydown=F6;Gk.onkeyup=GQ;if(GC){if(!GU||!Eq(GU,GR,GX)){if(GN){Bp(GP,{position:F7.position,left:F7.left,top:F7.top,width:F7.width,height:F7.height});if(F9=="scroll"){O(GP,GJ[0],GJ[1])}}}if(F9=="move"&&Gl&&typeof DA=="function"){DA(GP,1)}}Gk=null;Gf=null;GP=null;Gp=null;GX=[];GC=false};function GI(Gr){if(Gf){Gr=Gr||Gf.event}if(!Gr){return true}var Gq=Cc(Gr);var Gs=[];switch(F9){case"size":if(!GC){F3()}Go=d(GP);if(Gi){Gs=E1(GP)}break;case"scroll":GC=true;Go=CB(GP);break;case"move":if(!GC){GD()}Go=Cd(GP);if(GW||Gi){Gs=E5(GP)}}if(Gr.type=="keydown"){switch(Gq){case 37:Go[1]-=Gd;Gs[1]-=Gd;break;case 38:Go[0]-=Gd;Gs[0]-=Gd;break;case 39:Go[1]+=Gd;Gs[1]+=Gd;break;case 40:Go[0]+=Gd;Gs[0]+=Gd;break;case 13:GE()}if(Gq!=13){Gd+=F0;if(Ga=="vertical"){Go[1]=null}if(Ga=="horizontal"){Go[0]=null}if(GY(Go,Gs)){switch(F9){case"size":if(Go[0]<0){Go[0]=0}if(Go[1]<0){Go[1]=0}Di(GP,Go[0],Go[1]);break;case"scroll":O(GP,GJ[0]+Go[0]-GS[0],GJ[1]+Go[1]-GS[1]);break;case"move":Ev(GP,Go[0],Go[1])}}else{if(Ge){GE()}}}}else{Gd=F4}return j(Gr)}function F5(Gq){if(Gf){Gq=Gq||Gf.event}if(Gq){j(Gq)}return false}function GL(Gu,Gs,Gq,Gt){var Gw,Gv,Gr;GB=Gq.keyboardOnly;Gv=l(Gu);if(!GB&&(Gv.right||Gv.middle||Gv.left)&&!l(Gu)[Gq.button||"left"]){return true}GP=Gs;Gk=C7(Gs);Gf=(AH)?AH(Gk):null;if(!Gf&&Gk==global.document){Gf=global}Gp=Gt;GR=Gq.callbackContext||GP;Gc=Gq.ondraginit;GO=Gq.ondragterminate;GZ=Gq.ondragstart;GG=Gq.ondrag;GV=Gq.ondragover;GK=Gq.ondragout;GU=Gq.ondrop;if(typeof E5=="function"){GW=Gq.targets;Gi=Gq.constrain}else{GW=Gi=false}GA=Gq.targetObstacles;Ge=false;F1=Gq.obstaclesFatal;GN=Gq.revert;Ga=Gq.axes;Gl=Gq.ghost;if(typeof Gl=="undefined"){Gl=0.5}F9=Gq.mode||"move";Gd=F4=Gq.speed||10;F0=Gq.accelerate||1;if(Gi){Gr=t(Gs);if(Gr){Gw=E1(Gr);Gn=[0,0,Gw[2],Gw[3]]}else{if(A4){Gn=A4()}}}F7.position=GP.style.position;F7.left=GP.style.left;F7.top=GP.style.top;F7.width=GP.style.width;F7.height=GP.style.height;GT=Cd(GP);if(F9=="size"){Fz=d(GP)}if(GW||Gi){Gb=E5(GP);GM=E1(GP)}if(F9=="scroll"){GJ=CB(GP)}GS=B4(Gu);if(!GB){DC(Gk,"mousemove",(F9=="size")?F8:(F9=="scroll")?Gg:F2);DC(Gk,"mouseup",GE)}GH=Gk.onmousedown;Gk.onmousedown=F5;F6=Gk.onkeydown;Gk.onkeydown=GI;GQ=Gk.onkeyup;Gk.onkeyup=GI;if(Gc){Eq(Gc,GR)}return j(Gu)}return function(Gs,Gu,Gq){Gq=Gq||{};var Gw=Gq.mode||"move";var Gt,Gv=Gu||Gs;var Gr=CT(Gv);if(!Bx[Gr]&&(Gw=="move"&&(C0(Gs)||typeof Cq=="function")||(Gw=="size"&&typeof d=="function")||Gw=="scroll")){Gt=function(Gx){if(Gv==GP){return }if(GP){GE()}GL(Gx,Gs,Gq,Gu)};DC(Gv,"mousedown",Gt);Bx[Gr]=Gt;return true}return false}})();API.attachDrag=L;CL=function(F0,F1){var F2=F1||F0;var Fz=CT(F2);if(Bx[Fz]){Ay(F2,"mousedown",Bx[Fz]);Bx[Fz]=null}};API.detachDrag=CL}if(typeof Cy=="function"){EY=function(Fz,F1,F0){Cy(F1||Fz,"mousedown",null,F0)};API.initiateDrag=EY}var Fv,Fp,Fu,Fo;var FF,Fb,FK,FP,FB,FE,Fm,Fy,FR,Fq,FJ;var Fe,Ff,E9,FL;if(BP){Fe={wav:["audio/x-wav","audio/wav"],au:"audio/basic",snd:"audio/basic",aif:["audio/aiff","audio/x-aiff"],aiff:["audio/aiff","audio/x-aiff"],aifc:["audio/aiff","audio/x-aiff"],gsm:"audio/x-gsm"};Ff={mid:["audio/mid","audio/x-midi","audio/midi"],midi:["audio/mid","audio/midi","audio/x-midi"],mp3:["audio/mpeg","audio/x-mpeg","audio/mp3","audio/x-mp3"],mp4:"audio/mp4",m3u:["audio/mpegurl","audio/x-mgegurl"],m3url:["audio/mpegurl","audio/x-mgegurl"]};E9={};FL={};Fb=function(){global.clearTimeout(Fq);Fq=0};FK=function(){global.clearTimeout(FJ);FJ=0};FP=function(F0){var Fz=BT();F0.src="";if(F0.data){Fz.removeChild(F0);F0.data="";Fz.appendChild(F0)}};FF=function(Fz){if(E9.defaultType||FL.defaultType){return E9[Fz]||FL[Fz]}return true};FR=function(){if(Fq){Fb();FP(Fm)}if(FJ){FK();FP(Fy)}};FB=function(){return !!(Fq||FJ)};FE=(function(){function F0(GC){return E9[GC]||FL[GC]}function F4(GD){var GE=new RegExp("\\.([^\\.]*)$");var GC=GD.match(GE);return(GC&&GC.length==2)?GC[1].toLowerCase():null}function F1(GE){var GC,GD;Fv=0;Fp=GE.length;while(Fv<Fp&&!GC){GD=F4(GE[Fv]);if(GD&&F0(GD)){GC=GE[Fv]}Fv++}return GC}function Fz(GC){return !!Ff[GC]}function F9(GE){var GC=BP("object");var GD=BP("param");if(GC&&GD){GD.name="autostart";GD.value="true";GC.appendChild(GD);GD=BP("param");GD.name="autoplay";GD.value="true";GC.appendChild(GD);GC.type=GE;GC.height="0";GC.width="0";if(typeof Bp=="function"){Bp(GC,{visibility:"hidden",position:"absolute",left:"0",top:"0",height:"0",width:"0"})}GD=null;return GC}}function F3(GE,GD,GC){return global.setTimeout(function(){FP((GD)?Fy:Fm);if(GD){FK()}else{Fb()}if(GC){GC()}},GE||10000)}function F2(GD,GE){var GC;for(GC in GD){if(m(GD,GC)){if(typeof GD[GC]=="string"){if(EG(GD[GC])){GE[GC]=GD[GC]}}else{Fu=0;Fo=GD[GC].length;while(Fu<Fo&&!GE[GC]){if(EG(GD[GC][Fu])){GE[GC]=GD[GC][Fu]}Fu++}}if(!GE.defaultType&&GE[GC]){GE.defaultType=GE[GC]}}}}function GB(GE,GD,GC){if(GD){if(FJ){FK()}FJ=F3(GE,true,GC)}else{if(Fq){Fb()}Fq=F3(GE,false,GC)}}function F8(){API.stopAudio=FR;API.isPlayingAudio=FB;API.audioFileTypeSupported=FF}if(FX&&A0(FX,"appendChild")&&A0(FX,"removeChild")&&CN(global,"navigator")&&((A0(global.navigator,"plugins")&&typeof global.navigator.plugins.length=="number"&&global.navigator.plugins.length)||(A0(global.navigator,"mimeTypes")&&typeof global.navigator.mimeTypes.length=="number"&&global.navigator.mimeTypes.length))){F2(Fe,E9);F2(Ff,FL);if(E9.defaultType||FL.defaultType){if(E9.defaultType){Fm=F9(E9.defaultType);if(Fm&&!API.deferAudio){FX.appendChild(Fm)}}if(FL.defaultType){Fy=F9(FL.defaultType);if(Fy&&!API.deferAudio){FX.appendChild(Fy)}}if(Fm||Fy){F8()}return function(GC,GH,GJ,GF,GK){var GG,GI=(typeof GC=="string")?GC:F1(GC);var GL=BT();var GD,GE;if(GI){GF=GF||F4(GI);if(GF){GE=Fz(GF);GD=(GE)?FL[GF]:E9[GF];if(GD){GG=(GE&&Fy)?Fy:Fm;if(GG){if(GG.parentNode){GL.removeChild(GG)}GG.type=GD;GG.data=GI;GL.appendChild(GG);GB(GH,GE,GJ);return true}}}}return false}}return }var F7,GA,F5,F6;if(!Cz()&&typeof BX=="function"){F7=BX();if(F7&&A0(F7,"appendChild")){F5=function(GC){return(GC)?(-2000*((100-GC)/100)):-10000};API.preloadAudio=function(GC){var GD=BP("bgsound");if(GD){GD.src=GC;GD.volume=-10000;F7.appendChild(GD);GD=null}};API.adjustVolume=function(GC){Fy.volume=Fm.volume=F5(GC)};Fm=BP("bgsound");Fy=BP("bgsound");if(Fm||Fy){F8()}F6=function(){if(Fm){F7.appendChild(Fm)}if(Fy){F7.appendChild(Fy)}};if(API.deferAudio){GA=true}else{F6()}return function(GH,GJ,GC,GF,GG){if(GA){F6();GA=false}var GD=(typeof GH=="string")?GH:GH[0];GF=GF||F4(GD);var GI=Fz(GF);var GE=(GI&&Fy)?Fy:Fm;if(GE){GE.src=GD;if(typeof GG!="undefined"){GE.volume=F5(GG)}GB(GJ,GI,GC);return true}}}}})();if(Fm||Fy){API.playAudio=FE}}if(Fc&&BP&&AI&&N&&A0(global.document,"createTextNode")&&A0(global.document,"childNodes")&&A0(Fc,"appendChild")&&typeof Fc.nodeType=="number"){Eu=function(F4,F6,Fz){var F2,F0,F1,F3,F5;Fz=Fz||global.document;switch(F4.nodeType){case 1:F1=BP(Dn(F4),Fz);if(F1){if(F4.attributes&&F4.attributes.length){F2=F4.attributes.length;while(F2--){if(F4.attributes[F2].specified){F0=F4.attributes[F2].nodeName;F5=AI(F4,F4.attributes[F2].nodeName);if(F5!==null){F1=N(F1,F0,F5)}}}}if(F6&&F4.childNodes&&F4.childNodes.length){F2=F4.childNodes.length;while(F2--){F3=Eu(F4.childNodes[F2],F6,Fz);if(F3){if(F3.nodeType!=1){if(AJ(F1)&&(EH.test(F3.data)||Dn(F1)=="pre")){F1.appendChild(F3)}else{if(Dn(F1)=="script"&&typeof Ed=="function"){Ed(F1,F3.nodeValue)}}}else{if(AJ(F1)){F1.appendChild(F3)}}}}}return F1}break;case 3:return Fz.createTextNode(F4.nodeValue)}};API.importNode=Eu;AA=function(F0,Fz){Fz=Eu(Fz,true,C7(F0));if(Fz){while(F0.firstChild){F0.removeChild(F0.firstChild)}while(Fz.firstChild){F0.appendChild(Fz.firstChild)}return true}return false};API.setElementNodes=AA;C4=function(F0,Fz){Fz=Eu(Fz,true,C7(F0));while(Fz.firstChild){F0.appendChild(Fz.firstChild)}};API.addElementNodes=C4}Ad=function(Fz,F1,F0){return Ag(E5(Fz),E1(Fz),F1,F0)};BK=function(F0,Fz){return Ag(E5(F0),E1(F0),E5(Fz),E1(Fz))};API.elementContainedInElement=BK;y=function(Fz,F1,F0){return(ES(E5(Fz),E1(Fz),F1,F0))};D2=function(F0,Fz){return(ES(E5(F0),E1(F0),E5(Fz),E1(Fz)))};API.elementOverlapsElement=D2;if(Ds){if(FX&&Bq&&A0(FX,"appendChild")&&typeof BP=="function"){Fw=BP("div");if(Fw){Bp(Fw,{height:"0",width:"0",padding:"0",top:"0",left:"0",position:"absolute",visibility:"hidden",border:"solid 1px"});FX.appendChild(Fw);FT=(Bq(Fw,"height")=="2px");Fr=BP("div");if(Fr){Bp(Fr,{margin:"0",position:"absolute"});Fw.appendChild(Fr);FM=(Bq(Fr,"left")=="1px");FX.removeChild(Fw);Fr=null}Fw=null}}d=function(Fz){var F0=[];F0[0]=DT(Fz,"height");F0[1]=DT(Fz,"width");if((F0[0]===null||F0[1]===null||FT)){if(typeof Fz.offsetHeight=="number"){F0[0]=Fz.offsetHeight;F0[1]=Fz.offsetWidth;Fz.style.height=F0[0]+"px";Fz.style.width=F0[1]+"px";CC(Fz,F0)}else{return null}}return F0};API.getElementSizeStyle=d;EX=function(Fz,F0){var F1;if(typeof Fz.height!="number"){F1=B8(Fz,"display");if(!F1||F1=="inline"){if(typeof D9=="function"){D9(Fz,true);if(Fz.style.display=="inline"){Fz.style.display=F0||"block"}return true}return false}}return true};Cd=(function(){var Fz;if(FX&&typeof FX.offsetLeft=="number"){Fz=function(F2,F4,F0){var F3=F2.offsetLeft;var F1=F2.offsetTop;Ev(F2,F4,F0);if(F3!=F2.offsetLeft){F0-=(F2.offsetLeft-F3)}if(F1!=F2.offsetTop){F4-=(F2.offsetTop-F1)}if(F3!=F0||F1!=F4){Ev(F2,F4,F0)}return[F4,F0]}}return function(F2,F1){var F5=B8(F2,"position");var F0=DT(F2,"left");var F4=DT(F2,"top");if(F0!==null&&F4!==null&&(!FM||C0(F2))){return(FM&&Fz&&(F0+"px"!=F2.style.left||F4+"px"!=F2.style.top))?Fz(F2,F4,F0):[F4,F0]}if(CN(F2,"offsetParent")&&typeof E5=="function"){F1=(typeof F1=="undefined")?t(F2):F1;if(!F1&&F5=="relative"){F0=F4=0}else{var F3=(F1)?E5(F2,F1,true,F1):E5(F2,null,true,F1);F4=F3[0];F0=F3[1]}}else{if(C0(F2)){F0=F4=0}else{return null}}return(Fz)?Fz(F2,F4,F0):[F4,F0]}})();API.getElementPositionStyle=Cd;A2=(function(){var Fz,F1="ADDRESS|BLOCKQUOTE|BODY|DD|DIV|DL|DT|FIELDSET|FORM|IFRAME|I?FRAME|FRAMESET|H\\d|OL|P|UL|CENTER|DIR|HR|MENU|PRE",F0={};var F3,F2;if(FX&&Bq&&A0(FX,"appendChild")&&typeof BP=="function"){F2=BP("div");if(F2){Bp(F2,{position:"absolute",left:"0",top:"0"});F2.style.position="absolute";FX.appendChild(F2);F3=BP("table");if(F3){F2.appendChild(F3);if(Bq(F3,"display")=="block"){F1+="|TABLE|TBODY|TH|TFOOT|TR|TD|COL.*|CAPTION|LI"}else{F0={li:"list-item",table:"table",tbody:"table-row-group",tr:"table-row",td:"table-cell",th:"table-header-group",tfoot:"table-footer-group",caption:"table-caption",colgroup:"table-column-group",col:"table-column"}}FX.removeChild(F2);F3=null;F2=null}}}Fz=new RegExp("^("+F1+")$","i");return function(F4){if(Fz.test(F4)){return"block"}return F0[F4]||"inline"}})();if(Ds.display){D9=function(F0,Fz,F1){var F2;if(typeof Fz=="undefined"){Fz=true}if(Fz){if(F1){F0.style.display=F1}else{F0.style.display="";if(Bq){F2=Bq(F0,F1);if(F2&&F2!="none"){return }}F0.style.display=A2(Dn(F0))}}else{F0.style.display="none"}}}API.presentElement=D9;DV=function(Fz,F0){D9(Fz,!Ah(Fz),F0)};API.toggleElementPresence=DV;if(Ds.visibility){CY=function(F1,Fz,F0){if(typeof Fz=="undefined"){Fz=true}F0=F0||{};if(Fz&&typeof D9!="undefined"){if(F0.skipPresenceCheck||B8(F1,"display")=="none"){D9(F1,F0.display)}}F1.style.visibility=(Fz)?"visible":"hidden";if(!Fz&&typeof D9!="undefined"&&F0.removeOnHide){F1.style.display="none"}};API.showElement=CY;C8=function(F0,Fz){CY(F0,!Eo(F0)||!Ah(F0),Fz)};API.toggleElement=C8}if(Ds.position){ER=function(F0,Fz){var F2;Fz=(typeof Fz=="undefined")?t(F0):Fz;var F1=B8(F0,"position");if(F1!="relative"){if(Fz){F2=E5(F0,Fz);Ev(F0,F2[0],F2[1])}else{Ev(F0,0,0)}F0.style.position="relative"}};API.relativeElement=ER;Cq=function(F0,Fz){Fz=(typeof Fz=="undefined")?t(F0):Fz;var F3=E5(F0,Fz);var F2=d(F0);var F1=(typeof Bk=="function")?Bk(F0):[0,0];if(F2){Di(F0,F2[0],F2[1])}if(F3){Ev(F0,F3[0]-F1[0],F3[1]-F1[1])}F0.style.position="absolute"};API.absoluteElement=Cq}Dv=function(F1,F0,Fz){var F2=B8(F1,"position");if(!F2||F2=="static"){if(Ds.position){((!Fz||Fz=="absolute")?Cq:ER)(F1,F0);return true}return false}return true};Ey=function(Fz,F0){return(B8(Fz,"position")=="relative")?E5(Fz,F0,true):Cd(Fz,F0)};Ca=function(F2,GA,F9){var F0,F6,GC,F1;var F7,F8;var GB=t(F2);var F3=C7(F2);var F4=(typeof Bk=="function")?Bk(F2):[0,0];var F5=B8(F2,"position")=="fixed";if(!Dv(F2)){return false}if(GB){F7=t(GA);if(F7===GB){F0=Ey(GA,F7)}else{return false}if(typeof F8.clientWidth=="number"){F1=[0,0,F8.clientHeight,F8.clientWidth]}}else{F0=E5(GA);if(typeof A4=="function"){F1=A4(F3)}}F6=E1(F2);GC=E1(GA);if(F1){switch(F9){case 1:if(!Ag([F0[0],F0[1]+GC[1]+F6[1]],F6,[F1[0],F1[1]],[F1[2],F1[3]])){F9=3}break;case 2:if(!Ag([F0[0]+GC[0]+F6[0],F0[1]],F6,[F1[0],F1[1]],[F1[2],F1[3]])){F9=0}break;case 3:if(!Ag([F0[0],F0[1]-F6[1]],F6,[F1[0],F1[1]],[F1[2],F1[3]])){F9=1}break;case 0:if(!Ag([F0[1]-F6[1],F0[1]],F6,[F1[0],F1[1]],[F1[2],F1[3]])){F9=2}}if(F9==1||F9==2){F0[1]+=GC[F9%2]}else{F0[0]-=GC[F9%2]}if(!Ag(F0,F6,[F1[0],F1[1]],[F1[2],F1[3]])){Ez(F0,[F0[0],F0[1]],F6,F1)}}if(F5){if(Fg){F0=Fg(F0,F3)}var Fz=(typeof E0=="function")?E0(F3):[0,0];F0[0]-=Fz[0];F0[1]-=Fz[1]}Ev(F2,F0[0]-F4[0],F0[1]-F4[1]);return F9};API.adjacentElement=Ca;Ch=function(F0,F5,F9){var F6,F4;var F2=(typeof Bk=="function")?Bk(F0):[0,0];var F7=t(F0);var F8=t(F5);if(!Dv(F0,F7)){return false}if(F7){if(F7===F8){F6=Ey(F5,F8)}else{return false}}else{F6=E5(F5);var F3=B8(F0,"position");if(F3=="fixed"){if(typeof E0!="undefined"){var F1=C7(F0);var Fz=E0(F1);F6[0]-=Fz[0];F6[1]-=Fz[1]}}}if(F9){F4=E1(F5);Di(F0,F4[0],F4[1]);CC(F0,F4)}Ev(F0,F6[0]-F2[0],F6[1]-F2[1]);return true};API.overlayElement=Ch;if(A4){Ap=function(Fz,F6){var F3,F1,F5,F2,F0,F4=A4(Fz);F3=Fz._sideBars;if(F3){for(F0 in F3){if(m(F3,F0)){F2=F3[F0].el;if(F2!=F6){F1=F3[F0].side;F5=E1(F2);if(Eo(F2)&&!F3[F0].autoHide){switch(F1){case"top":F4[0]+=F5[0];F4[2]-=F5[0];break;case"left":F4[1]+=F5[1];F4[3]-=F5[1];break;case"bottom":F4[2]-=F5[0];break;case"right":F4[3]-=F5[1]}}}}}}return F4}}API.getWorkspaceRectangle=Ap;Ap=A4;BD=function(F1,Fz){var F0=(typeof E0=="function")?E0(Fz):[0,0];F1[0]-=F0[0];F1[1]-=F0[1];if(Fl){F1=Fl(F1,Fz)}};D4=function(F4,F3,F5,F1){var F6=E1(F4);var F0=[F5[0],F5[1],F5[2],F5[3]];var F2=DN(F4)[0]||4;var Fz=C7(F4);if(B8(F4,"position")=="fixed"){BD(F0,Fz)}switch(F3){case"top":F0[2]=F6[0];if(!F1){F0[0]-=(F6[0]-F2)}break;case"left":F0[3]=F6[1];if(!F1){F0[1]-=(F6[1]-F2)}break;case"bottom":F0[0]=F0[0]+F0[2]-F6[0];F0[2]=F6[0];if(!F1){F0[0]+=(F6[0]-F2)}break;case"right":F0[1]=F0[1]+F0[3]-F6[1];F0[3]=F6[1];if(!F1){F0[1]+=(F6[1]-F2)}}return F0};e=function(F0){F0=F0||global.document;var F7,F3,F1,F4,F8,F2;var Fz=A4(F0);var F6=F0._sideBars;if(F6){F7=[];for(F3 in F6){if(m(F6,F3)){F7[F7.length]=F6[F3]}}F0._sideBars=null;F1=F7.length;for(F3=0;F3<F1;F3++){F8=F7[F3];if(F8){if(F8.autoHide){F8.el.style.visibility="hidden"}BZ(F8.el,F8.side);F2=CT(F8.el);if(F8.autoHide){var F5=D4(F8.el,F8.side,Fz);Eb(F8.el,F5);F8.el.style.visibility="visible";F0._sideBars[F2].autoHide=true;F0._sideBars[F2].options=F8.options}}}}F4=API.maximizedElements;if(F4){Fz=Ap(F0);for(F3 in F4){if(m(F4,F3)&&F4[F3]&&typeof F4[F3]=="object"&&F4[F3].mode!="full"){Ei(F4[F3].el,Fz,F0)}}}};API.arrangeSideBars=e;Ej=function(F2){var F0,F3,F1=CT(F2);var Fz=C7(F2);if(Fz&&Fz._sideBars&&Fz._sideBars[F1]){F3=Fz._sideBars[F1];Fz._sideBars[F1]=null;e(Fz);for(F0 in F3){if(m(F3,F0)){if(F3[F0]){return true}}}Fz._sideBars=null}};API.unSideBar=Ej;BB=function(F2,F0,F1){var Fz=C7(F2);CY(F2,F0,F1,function(){global.setTimeout(function(){e(Fz,F1)},0)});if(!CY.async){e(Fz,F1)}};API.showSideBar=BB;if(typeof At=="function"){Ct=function(F2,F0){var F5,F3,F4;var F1=CT(F2);var Fz=C7(F2);if(Fz&&Fz._sideBars&&Fz._sideBars[F1]){F3=A4(Fz);F4=Fz._sideBars[F1];F5=D4(F2,F4.side,F3,F0);Ev(F2,F5[0],F5[1],F4.options)}};var FA={};DQ=function(F0){var Fz=CT(this);if(FA[Fz]){global.clearTimeout(FA[Fz])}Ct(this,true)};Cx=function(F1){var F0=this;var Fz=CT(this);if(FA[Fz]){global.clearTimeout(FA[Fz])}FA[Fz]=global.setTimeout(function(){Ct(F0,false)},500)};DM=function(F5,F0,F2){if(arguments.length==1){F0=true}var F1,F6,F4;var Fz=C7(F5);var F3=CT(F5);if(Fz&&Fz._sideBars){F4=Fz._sideBars;F6=F4[F3];for(F1 in F4){if(m(F4,F1)){if(F4[F1].autoHide&&F4[F1].side==F6.side){return false}}}F6.options=F2;if(F6.autoHide!=F0){F6.autoHide=F0;((F0)?At:Bz)(F5,DQ,Cx);e(Fz);return true}}return false};API.autoHideSideBar=DM}Bg=function(Fz){if(!API.sideBarDocuments){API.sideBarDocuments=[];API.sideBarDocuments.dontdebug=true;if(typeof Cl=="function"&&AH){Cl("unload",function(){API.sideBarDocuments=null},AH(Fz))}}API.sideBarDocuments[API.sideBarDocuments.length]=Fz;return API.sideBarDocuments.length-1};BZ=function(F0,F7){var F3,F1,F2,F4,Fz,F6;var F5=CT(F0);if(typeof Dv=="undefined"||Dv(F0)){if(F0.style.position=="relative"){F0.style.position="absolute"}F1=C7(F0);if(!F1||(typeof F1.expando=="boolean"&&!F1.expando)){return false}F2=B8(F0,"position")=="fixed";F0.style.margin="0";Fz=Ap(F1,F0);if(!F1._sideBars){if(typeof F1._sideBars=="undefined"&&AH&&typeof Cl=="function"){F6=AH(F1);F4=Bg(F1);Cl("resize",function(){e(API.sideBarDocuments[F4])},F6);F6=null}F1._sideBars={}}if(F1._sideBars[F5]){if(F1._sideBars[F5]==F7){return false}F1._sideBars[F5].side=F7}else{F1._sideBars[F5]={el:F0,side:F7}}F3=E1(F0);switch(F7){case"top":Fz[2]=F3[0];break;case"left":Fz[3]=F3[1];break;case"right":Fz[1]=Fz[1]+Fz[3]-F3[1];Fz[3]=F3[1];break;case"bottom":Fz[0]=Fz[0]+Fz[2]-F3[0];Fz[2]=F3[0]}if(B8(F0,"position")=="fixed"){BD(Fz,F1)}Eb(F0,Fz);F1=null;return true}return false};API.sideBar=BZ;ED=function(F1,F2){var Fz=C7(F1);var F0=CT(F1);if(Fz&&Fz._sideBars&&Fz._sideBars[F0]&&Fz._sideBars[F0].side!=F2){Fz._sideBars[F0]=null;e(Fz);BZ(F1,F2);return true}return false};API.changeSideBarSide=ED;if(Ap){B2=function(F1){if(typeof Dv=="undefined"||Dv(F1)){if(F1.style.position=="relative"){F1.style.position="absolute"}var F0=C7(F1);var F2=B8(F1,"position")=="fixed";var F3=(!F2||typeof E0=="undefined")?[0,0]:E0(F0);var Fz=(typeof Bk=="function")?Bk(F1):[0,0];var F5=Ap(F0);var F4=[F5[2],F5[3]];F5[0]+=((F4[0]-F1.offsetHeight)/2)-Fz[0]-F3[0];F5[1]+=((F4[1]-F1.offsetWidth)/2)-Fz[1]-F3[1];if(Fg&&!F2){F5=Fg(F5,F0)}Ev(F1,F5[0],F5[1]);return true}return false};API.centerElement=B2}if(Ap){Ei=function(F0,F1,Fz){var F3,F2=F0.style.display;F0.style.display="none";F0.style.display=F2;F3=B8(F0,"position");if(F3=="relative"){F0.style.position="absolute"}if(F3=="fixed"){BD(F1,Fz)}Ev(F0,-10000,-10000);Di(F0,F1[2],F1[3]);CC(F0,[F1[2],F1[3]]);Ev(F0,F1[0],F1[1])};EQ=function(F1){if(typeof Dv=="undefined"||Dv(F1)){var Fz=C7(F1);var F0=CT(F1);if(!API.maximizedElements){API.maximizedElements={};API.maximizedElements.dontdebug=true;if(typeof Cl=="function"&&AH){Cl("unload",function(){API.maximizedElements=null},AH(Fz))}}if(API.maximizedElements[F0]){return false}API.maximizedElements[F0]={position:F1.style.position,left:F1.style.left,top:F1.style.top,height:F1.style.height,width:F1.style.width,el:F1};F1.style.margin="0";Ei(F1,Ap(Fz),Fz);return true}return false};API.maximizeElement=EQ}C9=function(F0,Fz){Ez(F0,[F0[0],F0[1]],[0,0],A4(Fz||global.document))};Bm=function(F0){var F1=Cd(F0);var Fz=C7(F0);Ez(F1,[F1[0],F1[1]],E1(F0),A4(Fz));Ev(F0,F1[0],F1[1])};API.constrainPositionToViewport=C9;API.constrainElementPositionToViewport=Bm;Dp=function(F3){if(!API.maximizedElements){return }var F0=C7(F3);var F2=CT(F3);var F4=API.maximizedElements[F2];if(F4){F3.style.position=F4.position;F3.style.left=F4.left;F3.style.top=F4.top;F3.style.height=F4.height;F3.style.width=F4.width;if(F4.scrollPosition){BM(F4.scrollPosition[0],F4.scrollPosition[1],F0)}if(F3.style.position!="fixed"&&F3.style.position!="relative"){Bm(F3)}if(F4.mode=="full"){var F1;var F5=Cr(F0);var Fz=BT(F0);var F6=API.maximizedElements[F2];for(F1 in F6.ceStyles){if(m(F6.bodyStyles,F1)){if(F5!=Fz){Fz.style[F1]=F6.bodyStyles[F1]}F5.style[F1]=F6.ceStyles[F1]}}}API.maximizedElements[F2]=null}};API.restoreElement=Dp;DR=function(F3){var F0,F5,F1,F4,F2=CT(F3);var Fz=C7(F3);if(!API.maximizedElements){API.maximizedElements={};API.maximizedElements.dontdebug=true;if(typeof Cl=="function"&&AH){Cl("unload",function(){API.maximizedElements=null},AH(Fz))}}if(!API.maximizedElements[F2]){if(typeof Dv=="undefined"||Dv(F3,null,"absolute")){F5=Cr(Fz);F0=BT(Fz);F4={overflow:"hidden",padding:"0",margin:"0",height:"100%"};API.maximizedElements[F2]={position:F3.style.position,left:F3.style.left,top:F3.style.top,height:F3.style.height,width:F3.style.width,scrollPosition:E0(Fz),mode:"full"};API.maximizedElements[F2].bodyStyles={};API.maximizedElements[F2].ceStyles={};for(F1 in F4){if(m(F4,F1)){if(F5!=F0){API.maximizedElements[F2].bodyStyles[F1]=F0.style[F1]}API.maximizedElements[F2].ceStyles[F1]=F5.style[F1]}}Bp(F5,F4);Bp(F0,F4);BM(0,0,Fz);Bp(F3,{position:"absolute",top:"0",left:"0",right:"0",bottom:"0",height:"100%",width:"100%"});return true}}return false};API.fullScreenElement=DR;if(DJ){Dj=function(F0){if(typeof Dv=="undefined"||Dv(F0,null,"absolute")){var Fz=C7(F0);var F1;F0.style.display="none";F1=DJ(Fz);F0.style.display="block";Ev(F0,F1[0],F1[1]);Di(F0,F1[2],F1[3]);CC(F0,[F1[2],F1[3]]);return true}return false};API.coverDocument=Dj}}if(!Ds){return }var FG,FN,FV;var Fi,FU;var FY,FO,Ft,FS,Fd,FD,Fs,FI,Fh;var Fn=function(Fz,F0){if(!Ah(Fz)){if(typeof D9=="function"){D9(Fz,true,F0);return Ah(Fz)}return false}return true};FG=function(F4){var F1,F7,GO,GJ,GN,F2,Fz,GM,GI,GR,F9,GL,GA,F3,GS,F0,GP,GD,GH,GQ,GT;var GG=F4||{};function F6(GW,GV){F7(F1,GW,GL,GV)}function GC(){global.clearInterval(GS);GS=0}function GK(GV){GC();if((!F9||!F9(F1,GV))&&(GV||F2)){F6((GO)?GD:GP,(F2)?3:2)}if(GI){GI(F1,GV)}}function F8(){if(--GN){if(GJ=="inandout"||GJ=="outandin"){GO=!GO}F0=new Date()}else{GK()}}function F5(){if((GJ=="inandout"&&GO)||(GJ=="outandin"&&!GO)){F6(GQ*(GD-GP));GO=!GO;if(GR){GR(F1,GN)}F0=new Date()}else{GK()}}function GF(){GH=((new Date()-F0)/Fz);if(GH>1){GH=1}GQ=GH;if(!GO){GQ=1-GQ}if(GM&&GH<1){GQ=GM(GQ)}F6(GQ*(GD-GP));if(GH==1){if(GJ=="in"||GJ=="out"||(GJ=="inandout"&&!GO)||(GJ=="outandin"&&GO)){F8()}else{F5()}}}function GU(){GK(true)}function GB(GW,GV){return(typeof GW[GV]=="undefined")?GG[GV]:GW[GV]}function GE(GW,GV){return function(GY,Ga,GZ,GX){GW(GY,Ga,GZ,GX);GV(GY,Ga,GZ,GX)}}this.start=function(GY,GX,GZ,GW,Ga){var GV;if(GS){GU()}GX=GX||{};F1=GY;GP=GB(GX,"from")||0;GD=GB(GX,"to")||1;GJ=(GX.dir||"in").toLowerCase();GO=GJ!="out"&&GJ!="outandin";Fz=GB(GX,"duration");GM=GB(GX,"ease");GI=GZ;GR=GW;F9=Ga;GL={};GA=GB(GX,"effectParams");if(GA){for(GV in GA){if(m(GA,GV)){GL[GV]=GA[GV]}}}F2=GB(GX,"revert");GT=GB(GX,"effects");if(typeof GT!="function"){GV=GT.length;while(GV--){F7=(F7)?GE(F7,GT[GV]):GT[GV]}}else{F7=GT}F3=GB(GX,"fps")||30;F0=new Date();GN=GB(GX,"repeat")||1;GS=global.setInterval(GF,1000/F3);F6((GO)?GP:GD,1)};this.stop=function(GV){if(GV){GO=(GJ=="in"||GJ=="outandin");GU()}else{GK()}};this.busy=function(){return !!GS}};API.EffectTimer=FG;FN=function(F0,F1,F2){var Fz=F1.length;while(Fz--){F2[F1[Fz]]=F0.style[F1[Fz]]}};FV=function(F0,F1,F2){var Fz=F1.length;while(Fz--){F0.style[F1[Fz]]=F2[F1[Fz]]}};if(typeof CY=="function"){FI=CY;CY=API.showElement=(function(){var F1={};var Fz={};function F0(F4,F2,F3){if(!F2&&(F3&&F3.removeOnHide)&&typeof D9=="function"){D9(F4,false)}}return function(F7,F3,F4,F8){var F6,F2,F9,F5;F4=F4||{};F5=CT(F7);if(F1[F5]){F1[F5].stop(true);D9(F7,F4.display)}if(F4.effects){F6=new FG();F4.dir=(F3)?"in":"out";F4.revert=true;Fz[F5]=F8;if(Fn(F7,F4.display)){F2=function(GA,GB){F0(GA,F3,F4);F6=null;F1[F5]=null;if(Fz[F5]){Fz[F5](GA,F3)}};F9=function(GA,GB){if(!F3&&!GB){FI(GA,false)}};F1[F5]=F6;F6.start(F7,F4,F2,null,F9)}}else{FI(F7,F3,F4);if(F8){F8()}}return F7}})();C8=API.toggleElement=function(F0,Fz,F1){return CY(F0,!Eo(F0)||!Ah(F0),Fz,F1)};CY.async=true;C8.async=true}if(typeof Di=="function"){Fh=Di;Di=(function(){var F0={};var Fz={};return function(F1,F4,F6,F9,F3){var F8,F2,F7,F5;if(F9&&F9.duration){F5=CT(F1);if(F0[F5]){F0[F5].stop(true)}F8=new FG();F9.effects=DX.grow;F7=F9.effectParams||{};F7.targetSize=[F4,F6];F9.effectParams=F7;Fz[CT(F1)]=F3;F2=function(){F8=null;F0[F5]=null;if(Fz[F5]){Fz[F5](F1)}};F0[F5]=F8;F8.start(F1,F9,F2)}else{Fh(F1,F4,F6);if(F3){F3(F1)}}}})();Di.async=true;API.sizeElement=Di}if(typeof Ev=="function"){FY=Ev;Ev=(function(){var F0={};var Fz={};return function(F1,F6,F2,F9,F4){var F8,F3,F7,F5;if(F9&&F9.duration){F5=CT(F1);if(F0[F5]){F0[F5].stop(true)}F8=new FG();F9.effects=DX.move;F7=F9.effectParams||{};F7.targetPosition=[F6,F2];F9.effectParams=F7;Fz[F5]=F4;F3=function(GA,GB){F8=null;F0[F5]=null;if(Fz[F5]){Fz[F5](GA,GB)}};F0[F5]=F8;F8.start(F1,F9,F3)}else{FY(F1,F6,F2);if(F4){F4(F1)}}}})();Ev.async=true;API.positionElement=Ev}DX={};if(typeof DA=="function"){DX.fade=function(F0,F2,F1,Fz){if(Fz){if(Fz>2){F2=(typeof F1.targetOpacity!="undefined")?0:1}if(Fz==2){F2=1}if(Fz==1){F1.opacity=AK(F0)||1;if(F1.opacity>=0.9999){F1.opacity=1}if(Ds.visibility){F0.style.visibility="visible"}}}F2=(typeof F1.targetOpacity!="undefined")?F1.opacity+(F1.targetOpacity-F1.opacity)*F2:F1.opacity*F2;DA(F0,(F2>=1)?0.9999:F2)}}FU=function(F1,F6,F4,F3){var F5,Fz,F2,F0;F5=F6[0];Fz=F6[1];F2=F4[0];F0=F4[1];switch(F1){case"left":Fz=((Fz+F0)-(F3*F0));break;case"top":F5=((F5+F2)-(F3*F2));break;case"diagonalsw":F5=((F5+F2)-(F3*F2));Fz=((Fz-F0)+(F3*F0));break;case"diagonalnw":F5=((F5-F2)+(F3*F2));Fz=((Fz-F0)+(F3*F0));break;case"diagonalse":F5=((F5+F2)-(F3*F2));Fz=((Fz+F0)-(F3*F0));break;case"diagonalne":F5=((F5-F2)+(F3*F2));Fz=((Fz+F0)-(F3*F0));break;case"bottom":F5=((F5-F2)+(F3*F2));break;default:Fz=((Fz-F0)+(F3*F0))}return[F5,Fz]};Fi=function(F0,F3,F2){var F1=F3[0];var Fz=F3[1];switch(F0){case"top":return"rect(0px "+Fz+"px "+Math.round(F2*F1)+"px 0px)";case"left":return"rect(0px "+Math.round(F2*Fz)+"px "+F1+"px 0px)";case"zoom":return"rect("+Math.round(((1-F2)/2)*F1)+"px "+Math.round((F2/2)*Fz+Fz/2)+"px "+Math.round((F2/2)*F1+F1/2)+"px "+Math.round(((1-F2)/2)*Fz)+"px)";case"horizontal":return"rect("+(Math.round(((1-F2)/2)*F1))+"px "+Fz+"px "+Math.round((F2/2)*F1+F1/2)+"px 0px)";case"vertical":return"rect(0px "+Math.round((F2/2)*Fz+Fz/2)+"px "+F1+"px "+(Math.round(((1-F2)/2)*Fz))+"px)";case"diagonalnw":return"rect("+Math.round((1-F2)*F1)+"px "+Fz+"px "+F1+"px "+Math.round((1-F2)*Fz)+"px)";case"diagonalne":return"rect("+Math.round((1-F2)*F1)+"px "+Math.round(F2*Fz)+"px "+F1+"px 0px)";case"diagonalsw":return"rect(0px "+Fz+"px "+Math.round(F2*F1)+"px "+Math.round((1-F2)*Fz)+"px)";case"diagonalse":return"rect(0px "+Math.round(F2*Fz)+"px "+Math.round(F2*F1)+"px 0px)";case"bottom":return"rect("+Math.round((1-F2)*F1)+"px "+Fz+"px "+F1+"px 0px)";default:return"rect(0px "+Fz+"px "+F1+"px "+Math.round((1-F2)*Fz)+"px)"}};if(typeof FY=="function"){DX.drop=(function(){var Fz;return function(F1,F3,F2,F0){if(F0){if(F0>2){FV(F1,["top","left","position"],F2);return }if(F0==1){FN(F1,["top","left","position"],F2);if(typeof Dv=="undefined"||Dv(F1)){if(!F2.dimOuter){F2.dimOuter=E1(F1)}if(!F2.pos){F2.pos=Cd(F1)}}else{F2.pos=null}if(Ds.visibility){F1.style.visibility="visible"}}}if(F2.pos){Fz=FU(F2.side,F2.pos,F2.dimOuter,F3);FY(F1,Fz[0],Fz[1])}}})()}if(typeof Fh=="function"){DX.grow=(function(){var F3,F1,F0;var Fz=new RegExp("(.+)(em|px|pt|%)");function F2(F6){var F5;var F4=CI(F6,"fontSize")||B8(F6,"fontSize");if(F4){F5=F4.match(Fz)}return F5&&{size:parseFloat(F5[1]),unit:F5[2]}}return function(F5,F7,F6,F4){if(F4){if(F4>2){FV(F5,["overflow","fontSize","height","width"],F6);return }if(F4==1){FN(F5,["overflow","fontSize","height","width"],F6);F5.style.overflow="hidden";if(EX(F5)){if(!F6.dim){F6.dim=d(F5)}}else{F6.dim=null}if(Bq){F6.font=F2(F5)}if(Ds.visibility){F5.style.visibility="visible"}}}if(F6.dim){if(F6.targetSize){F1=(F6.dim[0]+(F6.targetSize[0]-F6.dim[0])*F7);F0=(F6.dim[1]+(F6.targetSize[1]-F6.dim[1])*F7)}else{F3=F6.axes;F1=(!F3||F3==1)?F6.dim[0]*F7:null;F0=(!F3||F3==2)?F6.dim[1]*F7:null;if(!F3&&F6.font&&F7>=0){F5.style.fontSize=(F6.font.size*F7)+F6.font.unit}}Fh(F5,(F1<0)?null:F1,(F0<0)?null:F0)}}})();DX.fold=function(F0,F2,F1,Fz){if(Fz==1){F1.axes=F1.axes||2}DX.grow(F0,F2,F1,Fz)}}if(API.unclipElement){DX.clip=(function(){return function(F0,F2,F1,Fz){if(Fz){if(Fz>2){FV(F0,["overflow","position"],F1);API.unclipElement(F0);return }if(Fz==1){FN(F0,["overflow","position"],F1);F0.style.overflow="hidden";if(typeof Dv=="function"){Dv(F0)}if(!F1.dimOuter){F1.dimOuter=E1(F0)}if(Ds.visibility){F0.style.visibility="visible"}}}F0.style.clip=Fi(F1.side,F1.dimOuter,F2)}})();DX.zoom=function(F0,F2,F1,Fz){if(Fz==1){F1.side="zoom"}DX.clip(F0,F2,F1,Fz)};DX.horizontalBlinds=function(F0,F2,F1,Fz){if(Fz==1){F1.side="horizontal"}DX.clip(F0,F2,F1,Fz)};DX.verticalBlinds=function(F0,F2,F1,Fz){if(Fz==1){F1.side="vertical"}DX.clip(F0,F2,F1,Fz)};if(typeof FY=="function"){DX.slide=(function(){var Fz;return function(F1,F3,F2,F0){if(F0){if(F0>2){FV(F1,["overflow","top","left","position"],F2);API.unclipElement(F1);return }if(F0==1){FN(F1,["overflow","top","left","position"],F2);F1.style.overflow="hidden";if(typeof Dv=="undefined"||Dv(F1)){if(!F2.dimOuter){F2.dimOuter=E1(F1)}if(!F2.pos){F2.pos=Cd(F1)}}else{F2.pos=null}if(Ds.visibility){F1.style.visibility="visible"}}}if(F2.pos){Fz=FU(F2.side,F2.pos,F2.dimOuter,F3);FY(F1,Fz[0],Fz[1]);F1.style.clip=Fi(F2.side,F2.dimOuter,F3)}}})()}}var Fk,FZ;var FH=(function(){var F1={},F0={},Fz;return function(F7,F2,F6,GA,F4,F3){var F9,F8,F5=CT(F2);F3=F3||F2;if(GA){if(F1[F5]){F1[F5].stop(true)}F8={};F9=new FG();F8.targetScroll=F7;F0[F5]=F4;Fz=function(GB,GC){if(GA.wheelInterrupts&&typeof AQ=="function"){AQ(F3)}F1[F5]=null;if(F0[F5]){F0[F5](GB,GC)}};GA.effectParams=F8;if(GA.wheelInterrupts&&typeof El=="function"){El(F3,function(){F9.stop()})}F1[F5]=F9;F9.start(F2,GA,Fz)}}})();if(typeof BM=="function"){Fk=BM;BM=API.setScrollPosition=function(F2,F0,Fz,F3,F1,F4){var F5=(!f||F3||(!F2&&!F0))?[F2,F0]:Fa(F2,F0,f(Fz));if(F1){F1.effects=DX.scroll;FH(F5,Fz||global.document,F3,F1,F4,Cr(Fz))}else{Fk(F5[0],F5[1],Fz,true)}};DX.scroll=function(Fz,F1,F0,F2){if(F2){if(F2>2){Fk(F0.scrollPos[0],F0.scrollPos[1],Fz,true);return }if(F2==1){F0.scrollPos=E0(Fz);if(AH){F0.win=AH(Fz)}if(F0.targetScroll[0]===null){F0.targetScroll[0]=F0.scrollPos[0]}if(F0.targetScroll[1]===null){F0.targetScroll[1]=F0.scrollPos[1]}}}Fk((F0.targetScroll[0]-F0.scrollPos[0])*F1+F0.scrollPos[0],(F0.targetScroll[1]-F0.scrollPos[1])*F1+F0.scrollPos[1],Fz,true,F0.win)}}if(typeof O=="function"){FZ=O;O=API.setElementScrollPosition=function(F2,F1,Fz,F3,F0,F4){var F5=(F3||(!F1&&!Fz))?[F1,Fz]:Fa(F1,Fz,EL(F2));if(F0){F0.effects=DX.scrollElement;FH(F5,F2,F3,F0,F4)}else{FZ(F2,F5[0],F5[1],true)}};DX.scrollElement=function(Fz,F1,F0,F2){if(F2){if(F2>2){FZ(Fz,F0.scrollPos[0],F0.scrollPos[1],true);return }if(F2==1){F0.scrollPos=CB(Fz)}}FZ(Fz,(F0.targetScroll[0]-F0.scrollPos[0])*F1+F0.scrollPos[0],(F0.targetScroll[1]-F0.scrollPos[1])*F1+F0.scrollPos[1],true)}}if(typeof FY=="function"){DX.move=function(F0,F2,F1,Fz){if(Fz){if(Fz>2){if(F1.pos){FY(F0,F1.pos[0],F1.pos[1])}return }if(Fz==1){if(typeof Dv=="undefined"||Dv(F0)){if(!F1.pos){F1.pos=Cd(F0)}if(F1.pos){if(F1.targetPosition[0]===null){F1.targetPosition[0]=F1.pos[0]}if(F1.targetPosition[1]===null){F1.targetPosition[1]=F1.pos[1]}}}else{F1.pos=null}}}if(F1.pos){FY(F0,(F1.pos[0]+((F1.targetPosition[0]-F1.pos[0])*F2)),(F1.pos[1]+((F1.targetPosition[1]-F1.pos[1])*F2)))}};if(typeof EQ=="function"){Ft=EQ;FS=Dp;EQ=API.maximizeElement=function(F1,GC,F5){var F3,GA,F6,Fz,F8,F0,F4,F7,F9,GB,F2;if(GC){F0=F1.style.top;F4=F1.style.left;F7=F1.style.height;F9=F1.style.width;GB=F1.style.visibility;F2=F1.style.position;F1.style.visibility="hidden";Fz=Ft(F1);if(F2==F1.style.position){GA=DT(F1,"top");F3=DT(F1,"left");F6=DT(F1,"height");F8=DT(F1,"width");F1.style.top=F0;F1.style.left=F4;F1.style.height=F7;F1.style.width=F9;F1.style.visibility=GB;Ev(F1,GA,F3,GC,F5);Di(F1,F6,F8,GC,F5)}else{F1.style.visibility=GB;if(F5){F5(F1)}}}else{Fz=Ft(F1);if(F5){F5(F1)}}return Fz};EQ.async=true;Dp=API.restoreElement=function(F1,GD,F5){var F8,F3,GB,F6,Fz,F9,F0,F4,F7,GA,GC,F2;if(GD){F0=F1.style.top;F4=F1.style.left;F7=F1.style.height;GA=F1.style.width;GC=F1.style.visibility;F2=F1.style.position;F1.style.visibility="hidden";Fz=FS(F1);if(F2==F1.style.position){GB=DT(F1,"top");F3=DT(F1,"left");F8=d(F1);F6=F8[0];F9=F8[1];F1.style.top=F0;F1.style.left=F4;F1.style.height=F7;F1.style.width=GA;F1.style.visibility=GC;Ev(F1,GB,F3,GD,F5);Di(F1,F6,F9,GD,F5)}else{F1.style.visibility=GC;if(F5){F5(F1)}}}else{Fz=FS(F1);if(F5){F5(F1)}}return Fz};Dp.async=true}if(typeof B2=="function"){FO=B2;B2=API.centerElement=function(F0,F7,F4){var F2,F5,F3,Fz,F6,F1;if(F7){Fz=F0.style.top;F3=F0.style.left;F6=F0.style.visibility;F1=F0.style.position;F0.style.visibility="hidden";FO(F0);F5=DT(F0,"top");F2=DT(F0,"left");F0.style.top=Fz;F0.style.left=F3;F0.style.visibility=F6;if(F1==F0.style.position){Ev(F0,F5,F2,F7,F4);return }}FO(F0);if(F4){F4(F0)}};B2.async=true;if(DX.grow&&typeof Ch=="function"&&typeof CY=="function"){Ao=function(F2,F3,Fz,F1,F6){var F5,F4,F0={duration:F1.duration,ease:F1.ease,removeOnHide:F1.removeOnHide};if(F1.effects&&typeof F1.effects=="function"){F0.effects=[F1.effects]}else{F0.effects=(F1.effects||[]).concat([DX.grow])}if(Fz){F5=Cd(F2);Ch(F2,F3);if(F1.springMode=="center"){B2(F2,{duration:F1.duration,ease:F1.ease})}else{Ev(F2,F5[0],F5[1],{duration:F1.duration,ease:F1.ease})}}else{F4=Cd(F2);F2.style.visibility="hidden";Ch(F2,F3);F5=Cd(F2);Ev(F2,F4[0],F4[1]);F2.style.visibility="visible";Ev(F2,F5[0],F5[1],{duration:F1.duration,ease:F1.ease,revert:true})}CY(F2,Fz,F0,F6)};API.spring=Ao}}DX.shake=function(F0,F2,F1,Fz){if(Fz){if(Fz>2){FV(F0,["top","left","position"],F1);return }if(Fz==1){FN(F0,["top","left","position"],F1);if(typeof Dv=="undefined"||Dv(F0)){if(!F1.pos){F1.pos=Cd(F0)}}else{F1.pos=null}F1.severity=F1.severity||5;if(Ds.visibility){F0.style.visibility="visible"}}}if(F1.pos){FY(F0,F1.pos[0]+(!F1.axes||F1.axes==1)?(F1.severity-Math.floor(Math.random()*(F1.severity*2+1))):0,F1.pos[1]+(!F1.axes||F1.axes==2)?(F1.severity-Math.floor(Math.random()*(F1.severity*2+1))):0)}}}API.effects=DX;API.ease={};API.ease.sine=function(Fz){return(Math.sin(Fz*Math.PI/2))};API.ease.cosine=function(Fz){return((-Math.cos(Fz*Math.PI)/2)+0.5)};API.ease.tan=function(F0){var Fz=Math.tan;return(Fz(1*(2*F0-1))/Fz(1)+1)/2};API.ease.flicker=function(Fz){return((-Math.cos(Fz*Math.PI)/4)+0.75)+Math.random()*0.25};API.ease.wobble=function(Fz){return(-Math.cos(Fz*Math.PI*(9*Fz))/2)+0.5};API.ease.square=function(Fz){return(Math.pow(Fz,2))};API.ease.circle=function(Fz){return Math.sqrt(1-Math.pow((Fz-1),2))};API.ease.pulsate=function(Fz){return(0.5+Math.sin(17*Fz)/2)};API.ease.expo=function(Fz){return Math.pow(2,8*(Fz-1))};API.ease.quad=function(Fz){return Math.pow(Fz,2)};API.ease.cube=function(Fz){return Math.pow(Fz,3)};API.ease.sigmoid=function(F0,Fz){var F1=Math.atan;Fz=Fz||1;return(F1(Fz*(2*F0-1))/F1(Fz)+1)/2};API.ease.sigmoid2=function(Fz){var F0=Math.atan;return(F0(2*(2*Fz-1))/F0(2)+1)/2};API.ease.sigmoid3=function(Fz){var F0=Math.atan;return(F0(3*(2*Fz-1))/F0(3)+1)/2};API.ease.sigmoid4=function(Fz){var F0=Math.atan;return(F0(4*(2*Fz-1))/F0(4)+1)/2};API.ease.loop=function(Fz){return(-Math.cos(2*Fz*Math.PI)/2)+0.5};API.ease.bounce=function(Fz){return 1-(Math.cos(Fz*4.5*Math.PI)*Math.exp(-Fz*6))};API.ease.swingTo=function(F0){var Fz=1.70158;return(F0-=1)*F0*((Fz+1)*F0+Fz)+1};API.ease.swingToFrom=function(F0){var Fz=1.70158;if((F0/=0.5)<1){return 0.5*(F0*F0*(((Fz*=(1.525))+1)*F0-Fz))}return 0.5*((F0-=2)*F0*(((Fz*=(1.525))+1)*F0+Fz)+2)};if(typeof Bh=="function"){Fd=Bh;Bh=(function(){if(Ds.visibility&&Ds.display&&FX&&A0(FX,"cloneNode")&&A0(FX,"appendChild")&&A0(FX,"removeChild")){return function(F3,F6,F2,F4){var F5;var F0=C7(F3);var Fz=BT(F0);var F1=function(){Fd(F3,F6);CY(F5,false);Fz.removeChild(F5);F5=null};if(F2&&F2.effects){F5=F3.cloneNode(false);F5.id=CT(F3)+"_temporaryoverlay";Fd(F5,F6);F5.style.visibility="hidden";F5.style.display="none";F5.style.position="absolute";F5.style.left=F5.style.top="0";Fz.appendChild(F5);F5.style.display="block";Ch(F5,F3);CY(F5,true,F2,function(){F1();if(F4){F4(F3)}})}else{Fd(F3,F6);if(F4){F4(F3)}}}}return Fd})();API.changeImage=Bh}if(typeof Cv=="function"&&Ds.visibility&&Ds.display&&FX&&A0(FX,"cloneNode")&&A0(FX,"appendChild")&&A0(FX,"removeChild")){FD=Cv;Cv=function(F4,F3,F2,F5){var F6;var F0=C7(F4);var Fz=BT(F0);var F1=function(){F4=FD(F4,F3);CY(F6,false);Fz.removeChild(F6);F6=null};if(F2&&F2.effects){F6=F4.cloneNode(false);F6.id=CT(F4)+"_temporaryoverlay";F6.style.visibility="hidden";F6.style.display="none";F6.style.position="absolute";F6.style.left=F6.style.top="0";Fz.appendChild(F6);F6=FD(F6,F3);F6.style.display="block";Ch(F6,F4,true);CY(F6,true,F2,function(){F1();if(F5){F5(F4)}});return F4}else{F4=FD(F4,F3);if(F5){F5(F4)}return F4}};API.setElementHtml=Cv}if(typeof AA=="function"&&Ds.visibility&&Ds.display&&FX&&A0(FX,"cloneNode")&&A0(FX,"appendChild")&&A0(FX,"removeChild")){Fs=AA;AA=function(F4,F2,F3,F5){var F6;var F0=C7(F4);var Fz=BT(F0);var F1=function(){Fs(F4,F2);CY(F6,false);Fz.removeChild(F6);F6=null};if(F3&&F3.effects){F6=F4.cloneNode(false);F6.id=CT(F4)+"_temporaryoverlay";Fs(F6,F2);F6.style.visibility="hidden";F6.style.display="none";F6.style.position="absolute";F6.style.left=F6.style.top="0";Fz.appendChild(F6);F6.style.display="block";Ch(F6,F4,true);CY(F6,true,F3,function(){F1();if(F5){F5(F4)}})}else{Fs(F4,F2);if(F5){F5(F4)}}};API.setElementNodes=AA}FX=Fj=null});Ab(function(){var E9=BT();var FD,FB,FA,FC;if(typeof g!="undefined"&&g&&E9&&CN(E9,"filters")){B3=function(FG,FF,FJ,FK){var FH,FE,FI;FJ=FJ||1000;if(typeof FG.filters!="undefined"){if(FG.currentStyle&&!FG.currentStyle.hasLayout){FG.style.zoom="1"}if(FG.filters.length&&(FH=FG.filters["DXImageTransform.Microsoft."+FF])){FH.duration=FJ/1000;if(FK){for(FE in FK){if(m(FK,FE)){FH[FE]=FK[FE]}}}if(FH.status==2){FH.stop()}FH.enabled=true}else{if(typeof FG.style.filter=="string"){FI="";if(FK){for(FE in FK){if(m(FK,FE)){FI+=","+FE+"="+FK[FE]}}}FG.style.filter+=((FG.style.filter)?" ":"")+"progid:DXImageTransform.Microsoft."+FF+"(duration="+(FJ/1000)+FI+")"}}if(FG.filters["DXImageTransform.Microsoft."+FF]){FG.filters["DXImageTransform.Microsoft."+FF].apply()}return true}};API.applyDirectXTransitionFilter=B3;Ba=function(FF,FE){var FG;if(typeof FF.filters!="undefined"){FG=FF.filters["DXImageTransform.Microsoft."+FE];if(FG){if(FG.status==2){FG.stop()}FG.play()}}};API.playDirectXTransitionFilter=Ba;if(typeof Bh=="function"){FC=Bh;Bh=(function(){var FF={};var FE={};return function(FI,FJ,FG,FK){var FH=CT(FI);if(FF[FH]){global.clearTimeout(FF[FH]);FE[FH]()}if(FG&&FG.directXTrans&&B3(FI,FG.directXTrans,FG.duration,FG.directXParams)){FC(FI,FJ);Ba(FI,FG.directXTrans);FE[FH]=function(){FF[FH]=null;if(FK){FK(FI)}};FF[FH]=global.setTimeout(FE[FH],FG.duration)}else{FC(FI,FJ,FG,FK);if(FK&&typeof DX=="undefined"){FK(FI)}}}})();API.changeImage=Bh}if(typeof Cv=="function"){FB=Cv;Cv=(function(){var FF={};var FE={};return function(FJ,FI,FG,FK){var FH=CT(FJ);if(FF[FH]){global.clearTimeout(FF[FH]);FE[FH]()}if(FG&&FG.directXTrans&&B3(FJ,FG.directXTrans,FG.duration,FG.directXParams)){FJ=FB(FJ,FI);Ba(FJ,FG.directXTrans);FE[FH]=function(){FF[FH]=null;if(FK){FK(FJ)}};FF[FH]=global.setTimeout(FE[FH],FG.duration);return FJ}else{FJ=FB(FJ,FI,FG,FK);if(FK&&typeof DX=="undefined"){FK(FJ)}return FJ}}})();API.setElementHtml=Cv}if(typeof AA=="function"){FA=AA;AA=(function(){var FF={};var FE={};return function(FJ,FG,FH,FK){var FI=CT(FJ);if(FF[FI]){global.clearTimeout(FF[FI]);FE[FI]()}if(FH&&FH.directXTrans&&B3(FJ,FH.directXTrans,FH.duration,FH.directXParams)){FA(FJ,FG);Ba(FJ,FH.directXTrans);FE[FI]=function(){FF[FI]=null;if(FK){FK(FJ)}};FF[FI]=global.setTimeout(FE[FI],FH.duration)}else{FA(FJ,FG,FH,FK);if(FK&&typeof DX=="undefined"){FK(FJ)}}}})();API.setElementNodes=AA}if(typeof CY=="function"){FD=CY;CY=(function(){var FG={};var FE={};function FF(FJ,FH,FI){if(!FH&&(FI&&FI.removeOnHide)&&typeof D9=="function"){D9(FJ,false)}}return function(FK,FH,FI,FL){var FJ=CT(FK);if(FG[FJ]){global.clearTimeout(FG[FJ]);FE[FJ]()}if(FI&&FI.directXTrans&&B3(FK,FI.directXTrans,FI.duration,FI.directXParams)){FD(FK,FH);Ba(FK,FI.directXTrans);FE[FJ]=function(){FG[FJ]=null;FF(FK,FH,FI);if(FL){FL(FK)}};FG[FJ]=global.setTimeout(FE[FJ],FI.duration)}else{FD(FK,FH,FI,FL);if(FL&&typeof DX=="undefined"){FL(FK)}}}})();C8=API.toggleElement=function(FF,FE,FG){return CY(FF,FF.style.visibility=="hidden"||!Eo(FF)||!Ah(FF),FE,FG)};API.showElement=CY;C8.async=CY.async=FD.async}}E9=null})}if(Ab){Ab(function(){var FJ,FD,E9,FB,FI,FG,FA,FC,FH,FE,FK,FF;if(BX){FG=BX()}if(FG&&A0(FG,"appendChild")&&BP){FC=[];FK=BP("script");if(FK){FJ=function(FN,FM,FL){FN(FK,FM,FL)};if(A0(global.document,"createTextNode")&&AJ(FK)){FC[FC.length]=function(FN,FM,FL){FN.appendChild((FL||global.document).createTextNode(FM))}}if(typeof FK.text=="string"){FC[FC.length]=function(FM,FL){FM.text=FL}}FA=FC.length;while(!API._testscriptinsertion&&FA--){FG.appendChild(FK);FJ(FC[FA],"this.API._testscriptinsertion = true;");FG.removeChild(FK)}if(API._testscriptinsertion){Ed=API.setElementScript=function(FM,FL){FK=FM;while(FK.firstChild){FK.removeChild(FK.firstChild)}FJ(FC[FA],FL,C7(FM));FK=null};DH=API.addElementScript=function(FM,FL){FK=FM;FJ(FC[FA],FL,C7(FM));FK=null};BG=API.addScript=function(FM,FL){FG=BX(FL);FK=BP("script");if(FK&&FG){FG.appendChild(FK);FJ(FC[FA],FM,FL);FG.removeChild(FK);FK=null;FG=null}};delete API._testscriptinsertion}FK=null}if(BG&&DL&&!Cz()){FI=function(FN){var FM,FL=DL("script",FN);FM=FL.length;while(FM--){if(FL[FM].text){BG(FL[FM].text,C7(FN))}}};if(typeof EU=="function"){EU(FG,'<script id="testaddhtmlscript" type="text/javascript">this.API._testaddhtmlscript = true;<\/script>');if(!API._testaddhtmlscript){FH=EU;EU=API.addElementHtml=function(FM,FL){FH(FM,FL);FI(FM)}}FB=Ea("testaddhtmlscript");if(FB){FG.removeChild(FB);FB=null}delete API._testaddhtmlscript}if(typeof Cv=="function"){FD=BT();FF='<script type="text/javascript">this.API._testsethtmlscript = true;<\/script>';if(FD&&A0(FD,"appendChild")){E9=BP("div");if(E9){if(E9.style){E9.style.position="absolute";E9.style.top="0"}FD.appendChild(E9);Cv(E9,FF);if(!API._testsethtmlscript){FE=Cv;Cv=API.setElementHtml=function(FN,FM,FL,FO){FN=FE(FN,FM,FL,FO);if(!FL||typeof FL.execScripts=="undefined"||FL.execScripts){FI(FN)}return FN}}delete API._testsethtmlscript;FD.removeChild(E9);E9=null}}}}}FG=null})}var CG=(function(){var FA,E9=[function(){return new global.ActiveXObject("Microsoft.XMLHTTP")},function(){return new global.ActiveXObject("Msxml2.XMLHTTP.3.0")},function(){return new global.ActiveXObject("Msxml2.XMLHTTP.6.0")},function(){var FC=new global.XMLHttpRequest();if(API.requireMimeTypeOverride){if(!A0(FC,"overrideMimeType")){FC=null}}return FC}];if(API.requireLocalXhr&&A0(global,"ActiveXObject")){E9.reverse()}for(FA=E9.length;FA--;){try{if(E9[FA]()){return E9[FA]}}catch(FB){}}})();API.createXmlHttpRequest=CG;var CW;var s;if(CG&&Function.prototype.apply&&A0(global,"setTimeout")){API.ajax=(function(){var FU,FE=0,FL={};var FM=30000;var FI,FA;var FB;var FS=0;var FT=new RegExp("\\?(.*)$");var FH,FD,FQ;var FK=function(FV){return !FV.indexOf("mailto:")};var FR=function(FV){return !FV.indexOf("news:")};if(AH){FQ=function(FW,FV){var FX=AH(FV);var FY=FX.location.href;if(FY.indexOf("#")!=-1){FY=FY.substring(0,FY.indexOf("#"))}return !FW.indexOf("#")||(FY&&!FW.indexOf(FY)&&FW.indexOf("#")!=-1)}}var FJ=(function(){if(CN(global,"JSON")&&typeof global.JSON.parse=="function"){return function(FV){return global.JSON.parse(FV)}}else{return function(FV){return(new Function("return ("+FV+")"))()}}})();API.parseJson=FJ;var FG=function(){};function FC(FZ,FY,FW){var FX=FY.callbackContext||FY;var FV=FY["on"+FZ];if(FV){FV.apply(FX,FW)}}function FP(FX,FW,FV){FV=FV||[];FC(FX,API.ajax,[FW.id(),FW.group()].concat(FV))}function E9(FW,FX,FZ){var FV;var FY=FW.length;while(FY--){FV="on"+FW[FY];FX[FV]=FZ[FV]}}function FO(FW){var FV=FW.group();FE++;if(FE==1){FP("start",FW)}if(FV){if(typeof FL[FV]=="undefined"){FL[FV]=0}FL[FV]++;if(FL[FV]==1){FP("groupstart",FW)}}}function FN(FW){var FV=FW.group();FE--;if(FV){FL[FV]--;if(!FL[FV]){FP("groupfinish",FW)}}if(!FE){FP("finish",FW)}}function FF(FY,Fe,FW,Ff,Fc,FZ,Fd,FX){var FV,Fb,Fa=FW.responseText;var Fg=Fa;if(FW.responseXML&&FW.responseXML.childNodes&&FW.responseXML.childNodes.length){Fb=FW.responseXML}if(Ff){Fg=Ff.call(FX||Fe,Fa,Fb)}if(typeof Fg=="string"){FV=(Fc)?EU:Cv}else{if(typeof C4=="function"){FV=(Fc)?C4:AA}}if(Fg){FV(FY,Fg,FZ,Fd)}}FU=CG();if(FU&&A0(FU,"setRequestHeader")){FA=function(FY,Fi){var Fg,FX,Fh;var FW=CG();var Fb=true;var Ff=this;var Fd={"1":"loading","2":"loaded","3":"interactive"};var FV=[];var Fe=FM;function Fa(){var Fj=FW.readyState;if(Fj==4){if(!Fb){Fb=true;FW.onreadystatechange=FG;global.clearTimeout(Fg);FN(Ff);if(FW.status>=200&&FW.status<300||FW.status==1223||(typeof FW.status=="undefined"&&FW.responseText)||(!FW.status&&Fh)){Ff.dispatch("success",[FW,(FX&&FW.responseText)?FJ(FW.responseText):null])}else{Ff.dispatch("fail",[FW])}}}else{if(!FV[Fj]){Ff.dispatch(Fd[Fj],[FW]);FV[Fj]=true}}}function Fc(){if(!Fb){Fb=true;global.clearTimeout(Fg);FW.onreadystatechange=FG;FW.abort();FN(Ff);Ff.dispatch("cancel",[FW])}}function FZ(Fp,Fn,Fj,Fk,Fm,Fl){if(Fb){try{FW.open(Fp,Fn,true,Ff.username,Ff.password)}catch(Fq){FP("error",Ff,[FW,Fq,Fn]);return false}Fh=!Fn.indexOf("file:");Fk=Fk||"application/x-www-form-urlencoded";FW.setRequestHeader("Content-Type",Fk);FW.setRequestHeader("X-Requested-With","XMLHttpRequest");if(Fm&&Fp=="GET"){FW.setRequestHeader("If-Modified-Since","Sat, 1 Jan 1990 00:00:00 GMT");FW.setRequestHeader("Cache-Control","no-cache")}Ff.dispatch("send",[FW,Fn]);FW.onreadystatechange=Fa;FO(Ff);FV=[];Fb=false;FX=Fl;try{FW.send((Fp=="POST"||Fp=="PUT")?Fj:null);if(!Fb){Fg=global.setTimeout(Fc,Fe)}}catch(Fo){FW.onreadystatechange=FG;Fb=true;FN(Ff);FP("error",Ff,[FW,Fo,Fn]);return false}return true}return false}this.busy=function(){return !Fb};this.cancel=function(){Fc()};if(A0(FW,"overrideMimeType")){this.overrideMimeType=function(Fj){FW.overrideMimeType(Fj)}}this.get=function(Fk,Fj,Fl){return FZ("GET",Fk,null,null,!Fl,Fj)};this.head=function(Fj){return FZ("HEAD",Fj)};this.post=function(Fl,Fm,Fk,Fj){return FZ("POST",Fl,Fm,Fk,false,Fj)};this.put=function(Fl,Fm,Fk,Fj){return FZ("PUT",Fl,Fm,Fk,false,Fj)};this.group=function(){return Fi};this.id=function(){return FY};this.setTimeoutTime=function(Fj){Fe=Fj}};FA.prototype.bindToObject=function(FW,FV){E9(["send","success","fail","cancel","loading","loaded","interactive"],this,FW);this.callbackContext=(typeof FV=="undefined"||FV)?FW:null};FA.prototype.dispatch=function(FW,FV){FC(FW,this,FV)};API.Requester=FA;if(A0(global,"setInterval")&&((Cv&&EU)||(typeof AA=="function"&&typeof C4=="function"))){CW=function(FX,FY,Fa,FZ,Ff,Fb,Fc){if(!Fc){Fc=new FA("_temp"+FS++)}var Fd=Fc.onsuccess;var FV=Fc.onfail;var FW=Fc.oncancel;var Fe=function(){Fc.onsuccess=Fd;Fc.onfail=FV;Fc.oncancel=FW};Fc.onsuccess=function(Fh){Fe();FF(FX,Fc,Fh,Ff,Fa,FZ,Fb);if(typeof Fc.onsuccess=="function"){Fc.onsuccess(Fh)}Fc=null};Fc.onfail=function(Fh){Fe();if(typeof Fc.onfail=="function"){Fc.onfail(Fh)}Fc=null};Fc.oncancel=function(Fh){Fe();if(typeof Fc.oncancel=="function"){Fc.oncancel(Fh)}Fc=null};var Fg=Fc.get(FY);if(!Fg){Fe();Fc=null}};API.updateElement=CW;FB=function(FV,FY,Fc,FX,FZ,Fe){var Fb=this;var FW,Fd;function Fa(){global.clearInterval(FW);Fd=true;Fb.get(FY)}Fc=Fc||30000;FA.call(this,FZ,Fe);this.start=function(){if(!FW){FW=global.setInterval(Fa,Fc);return true}return false};this.stop=function(){global.clearInterval(FW);if(this.busy()){this.cancel()}FW=null;Fd=false};this.active=function(){return !!FW};this.next=function(){if(Fd){FW=global.setInterval(Fa,Fc);return true}return false};this.element=function(){return FV};this.appends=function(){return FX}};Dr(FB,FA);FB.prototype.dispatch=function(FW,FV){FA.prototype.dispatch.apply(this,FW,FV);if(FW=="success"){FF(this.element(),this,FU,this.onupdate,this.appends(),this.updateOptions,this.onupdated,this.callbackContext);this.next()}};FB.prototype.bindToObject=function(FW,FV){FA.prototype.bindToObject.call(this,FW,FV);this.onupdate=FW.onupdate;this.onupdated=FW.onupdated};API.Updater=FB}if(AI&&E4){s=function(Fa,FV,FX){var FZ,Fb,FY,FW;if(!FX){FX=new FA("_temp"+FS++)}FZ=E4(Fa);Fb=AI(Fa,"method");FY=AI(Fa,"action")||global.location.href;FW=AI(Fa,"enctype");if(FY){if(Fb&&Fb.toUpperCase()=="POST"){return FX.post(FY,FZ,FW,FV)}else{return FX.get([FY.replace(FT,""),"?",FZ].join(""),FV,false)}}};API.submitAjaxForm=s;if(typeof DC=="function"){API.ajaxForm=function(Fa,FY,FV,FX,FW){var FZ=new FA(FY,FV);DC(Fa,"submit",function(Fb){if(!FW||FW.call(this,Fb)){if(s(this,FX,FZ)){return j(Fb)}}});Fa=null;return FZ}}}if(AI&&DC&&FQ){FD=function(Fb,FX,FZ,FW,Fa){var FV,FY=true;if(FZ.busy()){FZ.cancel()}FV=AI(FX,"href");if(FV&&!FQ(FV)&&!FK(FV)&&!FR(FV)&&FZ.get(FV,FW,Fa)){FY=j(Fb)}return FY};API.ajaxAllLinks=function(FZ,FX,FY,Fb,FW){var Fa;var FV=BT(FW);if(FV){Fa=new FA(FZ,FX);DC(FV,"click",function(Fd){var Fc=Bt(Fd);if(Dn(Fc)=="a"){return FD(Fd,Fc,Fa,FY,Fb)}FV=null})}return Fa};FH=function(Fb,FW,Fc,FX,Fd,FV){var FY,Fa=new FA(FW,Fc);var FZ=function(Fe){return FD(Fe,this,Fa,FX,Fd)};if(typeof Fb.length!="number"){Fb=[Fb]}FY=Fb.length;while(FY--){DC(Fb[FY],"click",FZ)}Fb=null;return Fa};API.ajaxLinks=FH;if(typeof FF=="function"){API.ajaxLinksUpdate=function(Fd,Fa,FW,Fb,Fe,FX,FV,Fc,FY){var FZ=FH(Fa,FW,Fb,false,Fe);FZ.onsuccess=function(Ff){FF(Fd,FZ,Ff,Fc,FX,FV,FY)}}}}return{getPendingRequests:function(){return FE},bindToObject:function(FW,FV){E9(["start","finish","error","groupstart","groupfinish"],this,FW);this.callbackContext=(typeof FV=="undefined"||FV)?FW:null},setTimeoutTime:function(FV){FM=FV},setJsonFilter:function(FV){FI=FV}}}FU=null})()}var Az,BN;Az=(function(){if(CN(this,"external")&&A0(this.external,"addFavorite")){return function(E9,FB,FA){(FA||global).external.addFavorite(E9,FB)}}if(CN(this,"sidebar")&&A0(this.sidebar,"addPanel")){return function(E9,FB,FA){(FA||global).sidebar.addPanel(FB,E9,"")}}})();API.addBookmark=Az;if(Az){BN=(function(){if(CN(this,"document")&&A0(this,"location")&&typeof this.location.protocol=="string"){return function(E9){E9=E9||global;var FA=E9.location.href;if(!FA.indexOf("http")){Az(FA,E9.document.title)}}}})();API.addBookmarkCurrent=BN}var EB,Et,BS,CJ,DO,B0,x,Aa;var DG,EK,Db,Dh,DU,b,i,Eg=["Top","Left","Bottom","Right"];if(q){if(A0(q,"evaluate")){B0=function(){return"http://www.w3.org/1999/xhtml"};CJ=function(FB,FE){FE=FE||global.document;var FA,FD=[],FC,E9=(FE.nodeType==9)?FE:(FE.ownerDocument);FC=E9.evaluate(FB,FE,(Cz(E9))?B0:null,global.XPathResult.ORDERED_NODE_SNAPSHOT_TYPE,null);if(!arguments[2]){FA=FC.snapshotLength;while(FA--){FD[FA]=FC.snapshotItem(FA)}return FD}return FC};API.getEBXP=CJ}DO=function(FD){var FB,FA,E9,FF;var FE={};FA=FD.match(/^([>\+~])/);if(FA){FE.combinator=FA[1];FD=FD.substring(1)}FA=FD.match(/^([^#\.\[:]+)/);FE.tag=FA?FA[1]:"*";FA=FD.match(/#([^\.\:]+)/);FE.id=FA?FA[1]:null;FA=FD.match(/\.([^\[\:]+)/);FE.cls=FA?FA[1]:null;FA=FD.match(/:([^\[]+)(\[|$)/);FE.pseudo=FA?FA[1]:null;FA=FD.match(/\[[^\]]+\]/g);if(FA){FF=FA.length;FE.attributes=[];FE.attributeValues=[];FE.attributeOperators=[];for(FB=0;FB<FF;FB++){var FC=FA[FB];FE.attributes[FB]=FC.substring(1,FC.length-1);FC=FC.replace(/^%/,"").replace(/\]$/,"");E9=FC.match(/(~|!|\||\*|\$|\^)?=(["'])?([^'"]*)\1?/);if(E9){FE.attributeOperators[FB]=E9[1];FE.attributeValues[FB]=E9[3].replace(/\x00\x00\x01/g,"]").replace(/\x00\x00\x02/g,'"').replace(/\x00\x00\x03/g,"'").replace(/\x00\x00\x04/g,"#").replace(/\x00\x00\x05/g,".").replace(/\x00\x00\x06/g,":").replace(/\x00\x00\x07/g,">").replace(/\x00\x00\x08/g,"~").replace(/\x00\x00\x11/g,"+").replace(/\x00\x00\x00/g," ");FE.attributes[FB]=FE.attributes[FB].replace(/(~|\||\*|!|\$|\^)?=.*/,"")}}}return FE};var BY=function(FA){if(FA=="nth-of-type(even)"){FA="nth-of-type(2n)"}else{if(FA=="nth-of-type(odd)"){FA="nth-of-type(2nplus1)"}else{if(FA=="nth-last-of-type(even)"){FA="nth-last-of-type(2n)"}else{if(FA=="nth-last-of-type(odd)"){FA="nth-last-of-type(2nplus1)"}}}}var FB,E9=FA.match(/^nth(-last)?-(child|of-type)\((-)?(\d+)?n(-|plus)?(\d+)?\)$/);if(E9){FB={};FB.firstOrLast=!E9[1];FB.multiplier=+(E9[4]||"1");FB.multiplierNegative=E9[3]=="-";if(E9[5]){FB.modulus=+E9[6]*(E9[5]=="plus"?1:-1)}else{FB.modulus=0}FB.ofType=E9[2]!="child"}return FB};if(typeof CJ!="undefined"){x=function(FS,FV,FP,FT){var FM,FN,FK,FI,FH,FD;var FO=(FS.nodeType==9)?FS:C7(FS);var FQ=FV.length;while(FQ--){FK=DO(FV[FQ]);FD=false;if(FK.pseudo){if(FK.pseudo=="first-of-type"){FK.pseudo="nth-of-type(1)"}else{if(FK.pseudo=="last-of-type"){FK.pseudo="nth-last-of-type(1)"}}FH=BY(FK.pseudo);if(FH&&!FH.multiplier){FK.pseudo="nth"+(FH.firstOrLast?"":"-last")+"-"+(FH.ofType?"of-type":"child")+"("+FH.modulus+")";FH=null}FD=/^nth-of-type\(\d+\)$/.test(FK.pseudo)}if(FI){if(FK.combinator){FI+=(FK.combinator==">")?"/":"/following-sibling::"}else{FI+="//"}}else{FI=".//"}FI=[FI,((Cz(FO))?"html:":""),((FK.pseudo&&(!FD&&(!FH||!FH.ofType)))||(FK.combinator&&FK.combinator!=">"))?"*":FK.tag,(FK.combinator&&FK.combinator!=">")?'[(name() = "'+FK.tag.toLowerCase()+'" or name() = "'+FK.tag.toUpperCase()+'")'+(FK.combinator=="+"?" and (position() = 1)":"")+"]":""];if(FK.cls){if(FK.cls.indexOf(".")==-1){FI[FI.length]="[contains(concat(' ', @class, ' '), ' "+FK.cls+" ')]"}else{var FU=FK.cls.split(".");for(var FF=FU.length;FF--;){FI[FI.length]="[contains(concat(' ', @class, ' '), ' "+FU[FF]+" ')]"}}}FI=FI.join("");var FR="[not(name(.) = 'html') and not(name(.) = 'HTML')]";if(FK.pseudo){switch(FK.pseudo){case"target":var FC=FO.URL;if(FC){var FA=FC.match(/\#(.*)$/);if(FA&&FA[1]){FI+='[@name = "'+FA[1]+'" or @id = "'+FA[1]+'"]'}else{return[]}}else{return[]}break;case"root":FI+="[not(parent::*)]";break;case"checked":FI+="[(@checked) and (name(.) = 'input' or name(.) = 'INPUT')]";break;case"enabled":case"disabled":FI+="[("+(FK.pseudo=="enabled"?"not(@disabled)":"@disabled")+") and (name(.) = 'input' or name(.) = 'textarea' or name(.) = 'select' or name(.) = 'button' or name(.) = 'INPUT' or name(.) = 'TEXTAREA' or name(.) = 'SELECT' or name(.) = 'BUTTON')]";break;case"empty":FI+="[not(*) and not(normalize-space())]";break;case"nth-child(even)":FI+="[position() mod 2=0]"+FR;break;case"nth-child(odd)":FI+="[position() mod 2=1]"+FR;break;case"last-child":FI+="[last()]"+FR;break;case"only-child":FI+="[count(../*)=1]"+FR;break;case"first-child":FI+="[1]"+FR;break;default:if(FH){if(FH.firstOrLast){FI+="[(position() - "+FH.modulus+") mod "+FH.multiplier+" = 0 and position() "+(FH.multiplierNegative?"<=":">=")+" "+FH.modulus+"]"}else{FI+="[(last() - position() - "+(+(FH.modulus-1))+") mod "+FH.multiplier+" = 0 and position() "+(FH.multiplierNegative?">=":"<=")+" (last() - "+(+(FH.modulus-1))+")]"}}else{var FB=FK.pseudo.match(/nth-(child|of-type)\((\d+)\)/);if(FB){FI+="[position()="+FB[2]+"]"+FR}else{if(FB=FK.pseudo.match(/nth-last-(child|of-type)\((\d+)\)/)){FI+="[position()=last() - "+(FB[2]-1)+"]"+FR}else{FB=FK.pseudo.match(/contains\((.*)\)/);if(FB){FI+='[contains(string(.), "'+FB[1]+'")]'}}}}}FI+="[self::"+FK.tag+"]"}if(FK.id){FI+=['[@id="',FK.id,'"]'].join("")}if(FK.attributes){FM=[];FN=FK.attributes.length;var FL='"';while(FN--){if(FK.attributeValues[FN]&&FK.attributeValues[FN].indexOf('"')!=-1){FL="'"}switch(FK.attributeOperators[FN]){case"^":FM.push(["starts-with(@",FK.attributes[FN],",",FL,FK.attributeValues[FN],FL,")"].join(""));break;case"$":FM.push(["substring(@",FK.attributes[FN],", string-length(@",FK.attributes[FN],") - string-length(",FL,FK.attributeValues[FN],FL,") + 1, string-length(@",FK.attributes[FN],")) = ",FL,FK.attributeValues[FN],FL].join(""));break;case"~":FM.push(['contains(concat(" ", @',FK.attributes[FN],', " "),',FL,FK.attributeValues[FN],FL,")"].join(""));break;case"!":FM.push(["not(@",FK.attributes[FN],"=",FL,FK.attributeValues[FN],FL,")"].join(""));break;case"*":FM.push(["contains(@",FK.attributes[FN],",",FL,FK.attributeValues[FN],FL,")"].join(""));break;case"|":FM.push(["@",FK.attributes[FN],"=",FL,FK.attributeValues[FN],FL," or starts-with(@",FK.attributes[FN],",",FL,FK.attributeValues[FN],"-",FL,")"].join(""));break;case"*":FM.push(["contains(@",FK.attributes[FN],",",FL,FK.attributeValues[FN],FL,")"].join(""));break;default:FM.push((typeof FK.attributeValues[FN]=="string")?["@",FK.attributes[FN],"=",FL,FK.attributeValues[FN],FL].join(""):["@",FK.attributes[FN]].join(""))}}FI=[FI,"[",FM.join(" and "),"]"].join("")}}var FG=CJ(FI,FS,FT),FJ=[];if(FT){FQ=FG.snapshotLength;while(FQ--){var E9=FG.snapshotItem(FQ);var FE=CT(E9);if(!EB[FE]){FJ[FJ.length]=E9;EB[FE]=true}}return FJ.reverse()}return FG}}var BR=(function(){var FJ=Bu();var FI,FN,FC,FF,FA={},FL={},FM=0,FH=FJ&&A0(FJ,"all");function FB(FQ){return(FQ.nodeType==9||(!FQ.nodeType&&!FQ.tagName))?FQ:C7(FQ)}var FP;var FE=function(FT){var FS,FR,FU;if(!FT){FT=global.document}if(FP&&FT==global.document){return FP}FR=DL("meta");for(var FQ=FR.length;FQ--;){FS=FR[FQ];if(AI(FS,"http-equiv")=="Content-Language"){FU=AI(FS,"content")}}if(FU&&FT==global.document){FP=FU}return FU};var FG=function(FQ){var FT,FS=C7(FQ);var FR=A0(FQ,"getAttributeNS");while(!FT&&FQ&&FQ.tagName){FT=AI(FQ,"lang");if(!FT&&FR){FT=FQ.getAttributeNS("http://www.w3.org/XML/1998/namespace","lang")}FQ=FQ.parentNode}return FT||FE(FS)};var E9;var FO=function(FY,Fm,FR,Fd,FV,FQ,FU,FT){var Fg,Fc,Fa,Fk,Fj,FW,Fi,FS,Fl,Ff,Fe,Fb,FZ,FX,Fh;return function(GE,F8,F0){if(FV){Fc=FV.length}FX=[];Fb=GE.length;var GA,Fr,F7,Fw,GB,F9,GD,Fo;var F1,Fv,F2,F6={},F3,GG,F5,Fy,Fu,Fs,Fz,GF;if(FT=="first-of-type"){FT="nth-of-type(1)"}else{if(FT=="last-of-type"){FT="nth-last-of-type(1)"}}if(FT){Fo=FT.match(/^contains\((.+)\)$/);if(Fo){F3=Fo[1]}else{Fo=FT.match(/^lang\((.+)\)$/);if(Fo){GG=Fo[1].toLowerCase()}else{F5=BY(FT);if(F5){Fy=F5.multiplier;Fs=F5.multiplierNegative;Fu=F5.modulus;Fz=F5.firstOrLast;GF=F5.ofType;if(!Fy){FT="nth"+(Fz?"":"-last")+"-"+(GF?"of-type":"child")+"("+Fu+")";F5=null}}if(!F5){Fo=FT.match(/nth-(child|of-type)\((\d+)\)/);if(!Fo){Fo=FT.match(/nth-last-(child|of-type)\((\d+)\)/);F1=true}GF=Fo&&Fo[1]!="child"}}}}while(Fb--){Fi=GE[Fb];if(FY&&!Fd){if(!Fi.tagName){FI=(FS=Ea(FY,F8))?[FS]:[]}else{if(FH&&(FS=Fi.all[FY])){FI=[FS]}else{FI=DL(Fm,Fi)}}}else{switch(Fd){case">":FI=Be(Fi,true);break;case"~":FI=Be(Fi.parentNode).reverse();Fl=false;break;case"+":Fh=Fi;do{Fh=Fh.nextSibling}while(Fh&&Fh.nodeType!=1);FI=Fh?[Fh]:[];break;default:FI=DL(Fm,Fi)}}if(FT&&!GG&&!F3&&(F5||GF||FT.indexOf("child")!=-1)){GD=[];Ff=FI.length;GA=null;while(Ff--){FS=FI[Ff];Fw=FS.parentNode;Fv=Fw&&CT(Fw);if(Fw&&Fw!=GA&&Fw.tagName&&!F6[Fv]){if(F5&&!Fz){Fj=Be(Fw).reverse()}else{Fj=Be(Fw,true)}F9=Fe=0;Fr=Fj.length;GA=Fw;F6[Fv]=true;F7=false;Fe=Fr;while(Fe&&!F7){FW=Fj[--Fe];F7=FW.tagName!="!";if(GF){F7=F7&&Fm==FW.tagName.toLowerCase()}}if(F7){Fr=Fe+1}Fe=0;F7=false;while(Fe<Fr&&!F7){FW=Fj[Fe];GB=FW.tagName;if(GB!="!"){if((!Fm||Fm=="*"||GB.toLowerCase()==Fm)&&(!FY||FW.id==FY)){switch(FT){case"nth-child(even)":if(F9%2){GD[GD.length]=FW}break;case"nth-child(odd)":if(!(F9%2)){GD[GD.length]=FW}break;case"first-child":if(!F9){GD[GD.length]=FW;F7=true}break;case"last-child":if(Fe==Fr-1){GD[GD.length]=FW;F7=true}break;case"only-child":if(F9==Fr-1){GD[GD.length]=FW}F7=true;break;default:if(F5){if(Fs){if((F9+1<=Fu)&&!((F9+1-Fu)%Fy)){GD[GD.length]=FW}}else{if((F9+1>=Fu)&&!((F9+1-Fu)%Fy)){GD[GD.length]=FW}}}else{if(Fo){if(F1){if(Fe==Fr-(+Fo[2])){GD[GD.length]=FW;F7=true}}else{if(F9==+Fo[2]-1){GD[GD.length]=FW;F7=true}}}}}}if(!GF||Fm==GB.toLowerCase()){F9++}}Fe++}}}FI=GD}Ff=FI.length;while(Ff--){FS=FI[Ff];F2=CT(FS);if(EB[F2]==FM||(F0&&Et[F2])){continue}Fk=true;if(FR){FZ=FS.className;if(FZ){if(typeof FR=="string"){Fk=(" "+FZ+" ").indexOf(FR)>-1}else{for(var Fx=FR.length;Fx--&&Fk;){Fk=(" "+FZ+" ").indexOf(FR[Fx])>-1}}}else{Fk=false}}Fk=Fk&&(!FY||FS.id==FY);if(Fk){if(Fd=="~"){Fk=Fl&&(Fm=="*"||Fm==FS.tagName.toLowerCase());if(!Fl&&FS==Fi){Fl=true}}else{Fk=Fm=="*"||Fm==FS.tagName.toLowerCase()}if(Fk&&FT){switch(FT){case"empty":var Fp=FS.childNodes;F7=false;for(var GC=Fp.length;GC--&&!F7;){var Fq=Fp[GC];switch(Fq.nodeType){case 1:F7=Fq.tagName!="!";break;case 3:case 4:F7=EH.test(Fq.data)}}Fk=!F7;break;case"root":Fk=FS.tagName.toLowerCase()=="html";break;case"enabled":case"disabled":if(/^(input|textarea|button|select|option)$/i.test(FS.tagName)){Fk=Ex(FS,"disabled");if(FT=="enabled"){Fk=!Fk}}else{Fk=false}break;case"checked":if(/^(input)$/i.test(FS.tagName)){Fk=Ex(FS,"checked")}else{Fk=false}break;case"target":var Ft=(F8.location&&F8.location.href)||F8.URL;if(Ft){var Fn=Ft.match(/\#(.*)$/);if(Fn&&Fn[1]){Fk=FS.name==Fn[1]||FS.id==Fn[1]}else{Fk=false}}break;default:if(F3){Fk=(FS.textContent||FS.innerText||"").indexOf(F3)!=-1}else{if(GG){var F4=FG(FS).toLowerCase();Fk=GG==F4||!F4.indexOf(GG+"-")}}}}if(Fk&&FV){Fg=Fc;while(Fg--&&Fk){Fa=AI(FS,FV[Fg],F8);switch(FU[Fg]){case"^":Fk=Fk&&Fa&&!Fa.indexOf(FQ[Fg]);break;case"$":Fk=Fk&&Fa&&Fa.slice(-FQ[Fg].length)==FQ[Fg];break;case"~":Fk=Fk&&Fa&&([" ",Fa," "].join("")).indexOf([" ",FQ[Fg]," "].join(""))!=-1;break;case"!":Fk=Fk&&Fa!==FQ[Fg];break;case"|":Fk=Fk&&Fa&&(FQ[Fg]==Fa||!Fa.indexOf(FQ[Fg]+"-"));break;case"*":Fk=Fk&&Fa&&Fa.indexOf(FQ[Fg])!=-1;break;default:Fk=Fk&&(typeof FQ[Fg]=="string")?Fa==FQ[Fg]:(!Ex&&Fa)||Ex(FS,FV[Fg],F8)}}}if(Fk){FX[FX.length]=FS;EB[F2]=FM;if(F0){Et[F2]=true}if(FY){break}}}}}return FX}};var FK=function(FQ){var FS,FR;return function(FW){var FV,FT;FS=FQ.length;FR=1;FF=FB(FW);FN=[[FW]];while(FS--){FV=null;FC=DO(FQ[FS]);if(!FL["_"+FQ[FS]]){FT=FC.cls;if(FT){if(FT.indexOf(".")==-1){FV=[" ",FT," "].join("")}else{FV=FC.cls.split(".");for(var FU=FV.length;FU--;){FV[FU]=[" ",FV[FU]," "].join("")}}}FL["_"+FQ[FS]]=FO(FC.id,FC.tag.toLowerCase(),FV,FC.combinator,FC.attributes,FC.attributeValues,FC.attributeOperators,FC.pseudo)}FN[FR]=FL["_"+FQ[FS]](FN[FR-1],FF,!FS);FM++;E9=FC;FR++}return FN[FR-1].reverse()}};var FD=(function(){var FR,FQ,FS;if(typeof Ea!="undefined"&&typeof DL!="undefined"&&typeof Be!="undefined"&&typeof AI!="undefined"&&(global.document.expando||typeof global.document.expando=="undefined")){FQ=function(FW,FU,FV,FT){if(FU.length==1&&!FT){FC=DO(FU[0]);if(!FC.pseudo&&!FC.attributes){if(FC.id&&!FC.cls&&FW.nodeType==9){FR=Ea(FC.id,FB(FW));return(FR&&FR.id==FC.id&&(FC.tag=="*"||FC.tag==FR.tagName.toLowerCase()))?[FR]:[]}if(!FC.id&&!FC.cls){FS=DL(FC.tag,FW);return(typeof FS.reverse=="function")?FS:Dm(FS)}}}FV="_"+FV;if(!FA[FV]){FA[FV]=FK(FU)}return FA[FV](FW)}}if(FQ){return function(FW,FU,FV,FT){if(x&&!Aa){FD=function(Fa,FY,FZ,FX){return FZ.indexOf(":lang(")!=-1?FQ(Fa,FY,FZ,FX):x(Fa,FY,FZ,FX)};return FD(FW,FU,FV,FT)}FD=FQ;return FD(FW,FU,FV,FT)}}})();if(FD){return function(Fa,FV){var FW=[],FX=[],FR,FS,FU,FQ=[],FZ={};FV=FV||global.document;Fa=Fa.replace(/^\s+/,"").replace(/\s+$/,"");Fa=Fa.replace(/\s+,/g,",").replace(/,\s+/g,",");FS=Fa.length;while(FS--){FR=Fa.charAt(FS);switch(FR){case",":if(FU){FX[FX.length]=FR}else{FW[FW.length]=FX.reverse().join("");FX=[]}break;case" ":FX[FX.length]=(FU)?"\x00\x00\x00":" ";break;case"]":FX[FX.length]=(FU)?"\x00\x00\x01":"]";break;case"#":FX[FX.length]=(FU)?"\x00\x00\x04":"#";break;case".":FX[FX.length]=(FU)?"\x00\x00\x05":".";break;case":":FX[FX.length]=(FU)?"\x00\x00\x06":":";break;case">":FX[FX.length]=(FU)?"\x00\x00\x07":">";break;case"~":FX[FX.length]=(FU)?"\x00\x00\x08":"~";break;case"+":FX[FX.length]=(FU)?"\x00\x00\x11":"+";break;case'"':case"'":var FT;if(!FU||FT==FR){FU=!FU;FT=FR;FX[FX.length]=FR}else{FX[FX.length]=(FR=='"')?"\x00\x00\x02":"\x00\x00\x03"}break;default:FX[FX.length]=FR}}if(FX.length){FW[FW.length]=FX.reverse().join("").replace(/:nth(-last)?-(child|of-type)\((-)?(\d+)?n\+(\d+)\)/g,":nth$1-$2($3$4nplus$5)")}FW.reverse();EB={};Et={};FS=FW.length;var FY=FS>1;while(FS--){FW[FS]=FW[FS].replace(/\s+/g," ");FW[FS]=FW[FS].replace(/([^\s])([>\+])/g,"$1 $2");FW[FS]=FW[FS].replace(/([^\s])([~])([^=])/g,"$1 $2$3");FW[FS]=FW[FS].replace(/([>\+~])\s/g,"$1");if(!FZ["_"+FW[FS]]){FQ=FQ.concat(FD(FV,FW[FS].split(" ").reverse(),FW[FS],FY));FZ["_"+FW[FS]]=1}}return FQ}}FJ=null})();if(BR){$=BR;BS=function(FB,FC){var E9=FB.split(" ");for(var FA=E9.length;FA--;){E9[FA]="."+E9[FA]}return BR(E9.join(""),FC)};API.getEBCS=BR;API.getEBCN=BS}if(Ab&&CJ){Ab(function(){Aa=!!CJ(".//*[1][self::body]").length})}b=function(E9){return(E9.nodeType==1&&E9.tagName!="!")||(!E9.nodeType&&E9.tagName)};DG=function(){var E9=arguments.length;while(E9--){if(!this[arguments[E9]]){return false}}return true};if(API.getEBCS){if(Function.prototype.call){EK=function(E9,FA){return Array.prototype.slice.call(E9,FA)};i=function(E9,FA){return(typeof E9=="object"&&E9.elements)?E9.elements():((typeof E9=="string")?BR(E9,FA):E9)};Q=function(FC,FD){var FA,FB,E9=[];if(this==global){return new Q(FC,FD)}this.load=function(FE,FF){FB=(typeof FE=="string")?BR(FE,FF):FE;FA=(FF&&b(FF))?FF:null;return this};this.elements=function(FE){return(arguments.length)?FB[FE]||null:FB.concat([])};this.context=function(){return FA};if(API.push&&API.pop){this.beginTransaction=function(){B1(E9,FB);FB=FB.concat([]);return this};this.rollback=function(){FB=X(E9);return this};this.commit=function(){X(E9);return this}}this.load(FC,FD)};var Cu=Q.prototype;Cu.areFeatures=function(){return DG.apply(this,arguments)};Cu.length=function(){return this.elements().length};Cu.find=function(E9){return new Q(E9,this.context())};if(API.htmlToNodes){Cu.loadHtml=function(FE,FA){var FD,FC,FB,E9,FF=DD(FE,FA);if(FF){FF=Dm(FF);FD=FF.length;while(FD--&&!E9){E9=!b(FF[FD])}if(!E9){FC=FF;FB=null}}return this.load(FC,FB)}}Cu.copy=function(){return new Q(this.elements(),this.context())};Cu.clear=function(){return this.load([])};if(API.push&&API.pop){Cu.pop=function(){return X(this.elements())};if(Array.prototype.unshift){Cu.push=function(){var E9=this.elements();B1.apply(E9,EK(arguments).unshift(E9));return this.load(E9)}}else{Cu.push=function(){var E9,FB=arguments.length;var FA=this.elements();for(E9=0;E9<FB;E9++){B1(FA,arguments[E9])}return this.load(FA)}}}if(Array.prototype.splice&&Cu.push){Cu.addMe=function(FA){var E9=this.context();if(E9){if(!arguments.length){this.push(E9)}else{this.inject(FA,E9)}}return this.load(this.elements())}}if(Array.prototype.shift){Cu.shift=function(){var FA=this.elements(),E9=this.context();FA.shift();return this.load(FA,E9)};Cu.unshift=function(){var E9=this.elements();Array.prototype.unshift.apply(E9,arguments);return this.load(E9)}}Cu.slice=function(FC,FA){var FB=this.elements(),E9=this.context();FB=FB.slice(FC,FA);return this.load(FB,E9)};if(API.indexOf){Cu.indexOf=function(E9){return Co(this.elements(),E9)}}if(API.filter){Cu.filter=function(FC,FB){var FA=this.elements(),E9=this.context();FA=AS(FA,FC,FB);return this.load(FA,E9)};Cu.odds=function(){return this.filter(function(FA,E9){return E9%2})};Cu.evens=function(){return this.filter(function(FA,E9){return !(E9%2)})}}if(API.map){Cu.map=function(FA,E9){return Bc(this.elements(),FA,E9)}}Cu.append=function(FB,FC){var FA=this.elements(),E9=this.context();FA=FA.concat(i(FB,FC));if(!FC||FC!=E9){E9=null}return this.load(FA,E9)};Cu.prepend=function(FB,FC){var FA=this.elements(),E9=this.context();FA=i(FB,FC).concat(FA);if(!FC||FC!=E9){E9=null}return this.load(FA,E9)};if(API.setAttribute&&API.forEach){Cu.setAttribute=function(FA,FC){var FB=this.elements(),E9=this.context();BF(FB,function(FE,FD){FB[FD]=N(FE,FA,FC)});return this.load(FB,E9)};Cu.setAttributeProperty=function(FA,FC){var FB=this.elements(),E9=this.context();BF(FB,function(FE,FD){FB[FD]=Ac(FE,FA,FC)});return this.load(FB,E9)}}if(API.some){Cu.some=function(FB,FA){var E9=this.elements();return DP(E9,FB,FA||this)}}if(API.every){Cu.every=function(FB,FA){var E9=this.elements();return CD(E9,FB,FA||this)}}if(API.forEach){Cu.forEach=function(FC,FB){var FA=this.elements(),E9=this.context();BF(FA,FC,FB||this,true);return this.load(FA,E9)}}var CU=Q.prototype.forEach,CV=Q.prototype.every;Cu.reverse=function(){var FA=this.elements(),E9=this.context();FA.reverse();return this.load(FA,E9)};if(Array.prototype.splice){Cu.splice=function(){var FA=this.elements(),E9=this.context();Array.prototype.splice.apply(FA,arguments);return this.load(FA,E9)};Cu.inject=function(FE,FC,FD){var FB=this.elements(),FA=this.context();var E9=i(FC,FD);if(E9.length){E9.unshift(FE,0);Array.prototype.splice.apply(FB,E9)}return this.load(FB,FA)};Cu.snip=function(FC,FB){var FA=this.elements(),E9=this.context();FA.splice(FC,FB||1);return this.load(FA,E9)}}Cu.first=function(){var E9=this.elements();return(E9.length)?E9[0]:null};Cu.last=function(){var E9=this.elements();return(E9.length)?E9[E9.length-1]:null};Cu.random=function(){var E9=this.elements();return(E9[Math.floor(Math.random()*E9.length)%E9.length])};if(API.addElementHtml&&CU){Cu.addHtml=function(E9){this.forEach(function(FA){EU(FA,E9)});return this}}if(API.getElementOuterHtml&&CU){Cu.toHtml=function(FA){var E9=[];this.forEach(function(FC,FB){E9[FB]=Br(FC,FA)});return E9.join("")}}E=function(FC,E9){var FB;if(this==global){return new E(FC)}function FA(){return FB}this.load=function(FE,FD){FB=(typeof FE=="string")?Ea(FE,FD):FE;this.element=(FB&&b(FB))?FA:null;return this};this.load(FC,E9)};var o=E.prototype;o.areFeatures=function(){return DG.apply(this,arguments)};if(API.createElementWithAttributes){o.loadNew=function(E9,FB,FA){return this.load((FA?An:Dt)(E9,FB||{}))}}if(API.htmlToNodes){o.loadHtml=function(FA,E9){var FB,FC=DD(FA,E9);if(FC&&FC[0]){FB=FC[0]}return this.load(FB)}}if(API.setElementOuterHtml){o.setOuterHtml=function(FA,E9,FB){return this.load(AC(this.element(),FA,E9,FB))}}o.loadNext=function(){var E9=this.element().nextSibling;while(E9&&E9.nodeType!=1){E9=E9.nextSibling}return this.load(E9)};o.loadPrevious=function(){var E9=this.element().previousSibling;while(E9&&E9.nodeType!=1){E9=E9.previousSibling}return this.load(E9)};if(API.importNode){o.loadImport=function(FA,FB,E9){return this.load(Eu(FA,FB,E9))}}if(API.emptyNode){if(CU){Cu.empty=function(){this.forEach(function(E9){Ek(E9)});return this}}o.empty=function(){Ek(this.element());return this}}if(API.isDescendant){o.isDescendant=function(E9){return B6(E9,this.element())};o.isAncestor=function(E9){return B6(this.element(),E9)}}o.isTag=function(E9){var FA=this.element();return(Dn(FA)==E9.toLowerCase())};o.query=function(E9){return new Q(E9,this.element())};o.getAttribute=function(E9){return AI(this.element(),E9)};o.getAttributeProperty=function(E9){return EM(this.element(),E9)};if(Cu.every){Cu.hasAttribute=function(E9){return this.every(function(FA){return Ex(FA,E9)})}}o.hasAttribute=function(E9){return Ex(this.element(),E9)};o.document=function(){return C7(this.element())};o.children=function(FA){var E9=Be(this.element());return(arguments.length)?E9[FA]||null:E9};o.descendants=function(E9,FB){var FA=DL(E9||"*",this.element());return(arguments.length>1)?FA[FB]||null:FA};if(API.removeAttribute){if(CU){Cu.removeAttribute=function(E9){this.forEach(function(FA){Cm(FA,E9)});return this}}o.removeAttribute=function(E9){Cm(this.element(),E9);return this}}if(API.setAttribute){o.setAttribute=function(E9,FA){return this.load(N(this.element(),E9,FA))}}if(API.setAttributes){o.setAttributes=function(E9){return this.load(Ae(this.element(),E9))}}if(API.getElementText){o.getText=function(){return Aj(this.element())}}if(API.setElementText){if(CU){Cu.setText=function(E9){this.forEach(function(FA){EC(FA,E9)});return this}}o.setText=function(E9){EC(this.element(),E9);return this}}if(API.addElementText){o.addText=function(E9){AP(this.element(),E9);return this}}if(API.attachListener){if(CU){Cu.on=function(FB,FA,E9){this.forEach(function(FC){DC(FC,FB,FA,E9)});return this};Cu.off=function(FA,E9){this.forEach(function(FB){Ay(FB,FA,E9)});return this};if(typeof Ce!="undefined"){Dh=function(E9){return function(FB,FA){this.forEach(function(FC){E9(FC,FB,FA)});return this}};DU=function(E9){return function(FB,FA){this.forEach(function(FC){E9(FC,FB,FA)});return this}};for(Db in Ce){if(m(Ce,Db)){Q.prototype["on"+Db]=Dh(Ce[Db].attach);Q.prototype["off"+Db]=DU(Ce[Db].detach)}}}if(typeof At!="undefined"){Cu.onRoll=function(FA,FD,E9,FC,FB){this.forEach(function(FE){At(FE,FA,FD,E9,FC,FB)});return this}}}o.on=function(FB,FA,E9){DC(this.element(),FB,FA,E9);return this};o.off=function(FA,E9){Ay(this.element(),FA,E9);return this};if(typeof Ce!="undefined"){Dh=function(E9){return function(FB,FA){E9(this.element(),FB,FA);return this}};DU=function(E9){return function(FA){E9(this.element(),FA);return this}};for(Db in Ce){if(m(Ce,Db)){E.prototype["on"+Db]=Dh(Ce[Db].attach);E.prototype["off"+Db]=DU(Ce[Db].detach)}}}if(typeof At!="undefined"){o.onRoll=function(FA,FD,E9,FC,FB){At(this.element(),FA,FD,E9,FC,FB);return this}}}if(DK&&A0(DK,"appendChild")){o.appendTo=function(E9){E9.appendChild(this.element());return this};if(CU){Cu.appendTo=function(E9){this.forEach(function(FA){E9.appendChild(FA)});return this}}o.remove=function(){var FA=this.element();var E9=FA.parentNode;if(E9){E9.removeChild(FA)}return this};if(CU){Cu.remove=function(){var E9;this.forEach(function(FA){E9=FA.parentNode;if(E9){E9.removeChild(FA)}});return this}}}if(A0(DK,"replaceChild")){o.replace=function(FA){var E9=FA.parentNode;if(E9){E9.replaceChild(this.element(),FA)}return this}}if(A0(DK,"insertBefore")){o.insertBefore=function(FA){var E9=FA.parentNode;if(E9){E9.insertBefore(this.element(),FA)}return this};if(CU){Cu.insertBefore=function(FA){var E9=FA.parentNode;if(E9){this.forEach(function(FB){E9.insertBefore(FB,FA)})}return this}}o.insertAfter=function(FB){var FA=FB.nextSibling;var E9=FB.parentNode;if(E9){if(FA){E9.insertBefore(this.element(),FA)}else{E9.appendChild(this.element())}}return this};if(CU){Cu.insertAfter=function(FB){var FA=FB.nextSibling;var E9=FB.parentNode;if(E9){this.forEach((FA)?function(FC){E9.insertBefore(FC,FA)}:function(FC){E9.appendChild(FC)})}return this}}}if(A0(DK,"cloneNode")){o.clone=function(E9){return this.element().cloneNode(E9)};o.loadClone=function(E9){return this.load(this.clone(E9))}}if(API.canAdjustStyle){if(API.positionElement){if(CU){Cu.position=function(FC,E9,FA,FB){this.forEach(function(FD){Ev(FD,FC,E9,FA,FB)});return this}}o.position=function(FC,E9,FA,FB){Ev(this.element(),FC,E9,FA,FB);return this}}if(API.sizeElement){if(CU){Cu.size=function(FB,E9,FA,FC){this.forEach(function(FD){Di(FD,FB,E9,FA,FC)});return this};Cu.sizeOuter=function(FA,E9){this.forEach(function(FB){DZ(FB,FA,E9)});return this}}o.size=function(FB,E9,FA,FC){Di(this.element(),FB,E9,FA,FC);return this};o.sizeOuter=function(FA,E9){DZ(this.element(),FA,E9);return this}}if(API.isVisible){o.isVisible=function(){return Eo(this.element())}}if(API.isPresent){o.isPresent=function(){return Ah(this.element())}}if(API.attachDocumentReadyListener){Ab(function(){var E9;if(API.getElementScrollPosition){o.getScrollPosition=function(){return CB(this.element())};o.setScrollPosition=function(FC,FA,FD,FB,FE){O(this.element(),FC,FA,FD,FB,FE);return this};Db=Eg.length;Dh=function(FA){return function(){API[FA](this.element());return this}};while(Db--){E9="setElementScrollPosition"+Db;if(API[E9]){E.prototype[E9]=Dh(E9)}}}if(API.dispatchEvent){o.dispatch=function(FB,FA,FC){Cy(this.element(),FB,FA,FC);return this}}if(API.elementContainedInElement){o.containedBy=function(FA){return BK(this.element(),FA)}}if(API.elementOverlapsElement){o.overlaps=function(FA){return D2(this.element(),FA)}}if(API.showElement){if(CU){Cu.show=function(FA,FB,FC){this.forEach(function(FD){CY(FD,FA,FB,FC)});return this};Cu.toggle=function(FA,FB,FC){this.forEach(function(FD){C8(FD,FA,FB,FC)});return this};if(API.effects){Dh=function(FB,FA){return function(FC,FD){FC=FC||{};FC.effects=FB;this.forEach(function(FE){CY(FE,FA,FC,FD)});return this}};for(Db in DX){if(m(DX,Db)&&Db!="move"&&Db!="shake"&&Db!="scroll"&&Db!="scrollElement"){Q.prototype[Db+"In"]=Dh(DX[Db],true);Q.prototype[Db+"Out"]=Dh(DX[Db])}}}}o.show=function(FA,FB,FC){CY(this.element(),FA,FB,FC);return this};o.toggle=function(FA,FB,FC){C8(this.element(),FA,FB,FC);return this};Dh=function(FB,FA){return function(FC,FD){FC=FC||{};FC.effects=FB;CY(this.element(),FA,FC,FD);return this}};if(API.effects){for(Db in DX){if(m(DX,Db)&&Db!="move"&&Db!="shake"&&Db!="scroll"&&Db!="scrollElement"){E.prototype[Db+"In"]=Dh(DX[Db],true);E.prototype[Db+"Out"]=Dh(DX[Db])}}if(typeof Ao=="function"){o.springIn=function(FB,FA,FC){Ao(this.element(),FB,true,FA,FC);return this};o.springOut=function(FB,FA,FC){Ao(this.element(),FB,false,FA,FC);return this}}}}if(API.presentElement){if(CU){Cu.present=function(FA,FB){this.forEach(function(FC){D9(FC,FA,FB)});return this};Cu.togglePresence=function(FA,FB){this.forEach(function(FC){DV(FC,FA,FB)});return this}}o.present=function(FA,FB){D9(this.element(),FA,FB);return this};o.togglePresence=function(FA,FB){DV(this.element(),FA,FB);return this}}if(API.centerElement){o.center=function(FA,FB){B2(this.element(),FA,FB);return this}}if(API.maximizeElement){o.maximize=function(FA,FB){EQ(this.element(),FA,FB);return this}}if(API.restoreElement){o.restore=function(FA,FB){Dp(this.element(),FA,FB);return this}}if(API.fullScreenElement){o.fullScreen=function(){DR(this.element());return this}}if(API.coverDocument){o.coverDocument=function(){Dj(this.element());return this}}if(API.overlayElement){o.overlay=function(FA,FB){Ch(this.element(),FA,FB);return this}}if(API.adjacentElement){o.adjacent=function(FB,FA){Ca(this.element(),FB,FA);return this}}if(API.absoluteElement){o.absolute=function(){Cq(this.element());return this}}if(API.relativeElement){o.relative=function(){ER(this.element());return this}}if(API.applyDirectXTransitionFilter){if(CU){Cu.applyTransitionFilter=function(FA,FB,FC){this.forEach(function(FD){B3(FD,FA,FB,FC)});return this}}o.applyTransitionFilter=function(FA,FB,FC){B3(this.element(),FA,FB,FC);return this};if(CU){Cu.playTransitionFilter=function(FA){this.forEach(function(FB){Ba(FB,FA)});return this}}o.playTransitionFilter=function(FA){B3(this.element(),FA);return this}}if(API.attachDrag){o.attachDrag=function(FB,FA){L(this.element(),FB,FA);return this};o.detachDrag=function(FA){CL(this.element(),FA);return this};if(API.initiateDrag){o.initiateDrag=function(){EY(this.element());return this}}}})}if(API.addClass){if(CU){Cu.addClass=function(E9){this.forEach(function(FA){EJ(FA,E9)});return this}}o.addClass=function(E9){EJ(this.element(),E9);return this}}if(API.hasClass){if(CV){Cu.hasClass=function(E9){return this.every(function(FA){return EP(FA,E9)})}}o.hasClass=function(E9){return EP(this.element(),E9)}}if(API.removeClass){if(CU){Cu.removeClass=function(E9){this.forEach(function(FA){EW(FA,E9)});return this}}o.removeClass=function(E9){EW(this.element(),E9);return this}}}if(API.getCascadedStyle){o.getCascadedStyle=function(E9){return G(this.element(),E9)}}if(API.getComputedStyle){o.getComputedStyle=function(E9){return Bq(this.element(),E9)}}if(API.getOverrideStyle){o.getOverrideStyle=function(E9){return Y(this.element(),E9)}}if(API.getStyle){o.getStyle=function(E9){return B8(this.element(),E9)}}if(API.setStyle){if(CU){Cu.setStyle=function(E9,FA){this.forEach(function(FB){Al(FB,E9,FA)});return this}}o.setStyle=function(E9,FA){Al(this.element(),E9,FA);return this}}if(API.setStyles){if(CU){Cu.setStyles=function(E9){this.forEach(function(FA){Bp(FA,E9)});return this}}o.setStyles=function(E9){Bp(this.element(),E9);return this}}if(API.getElementSize){o.getSize=function(){return E1(this.element())}}if(API.getElementPosition){o.getPosition=function(){return E5(this.element())}}if(API.getElementSizeStyle){o.sizeStyle=function(){return d(this.element())}}if(API.getElementPositionStyle){o.positionStyle=function(){return Cd(this.element())}}if(API.getElementBorder){o.border=function(E9){return Ee(this.element(),E9)}}if(API.getElementBorders){o.borders=function(){return AO(this.element())}}if(API.getElementMargin){o.margin=function(E9){return Bw(this.element(),E9)}}if(API.getElementMargins){o.margins=function(){return CO(this.element())}}if(API.setElementHtml){if(CU){Cu.setHtml=function(E9){this.forEach(function(FA){Cv(FA,E9)});return this}}o.setHtml=function(FA,E9,FB){return this.load(Cv(this.element(),FA,E9,FB))}}if(API.addElementHtml){if(CU){Cu.addHtml=function(E9){this.forEach(function(FA){EU(FA,E9)});return this}}o.addHtml=function(E9){EU(this.element(),E9);return this}}if(API.setElementNodes){o.setNodes=function(E9,FA,FB){AA(this.element(),E9,FA,FB);return this}}if(API.addElementNodes){o.addNodes=function(E9){C4(this.element(),E9);return this}}if(API.getElementHtml){o.html=function(E9){return Er(this.element(),E9)}}if(API.getElementOuterHtml){o.htmlOuter=function(E9){return Br(this.element(),E9)}}if(API.updateElement){o.update=function(FD,E9,FA,FC,FE,FB){CW(this.element(),FD,E9,FA,FC,FE,FB);return this}}if(API.setOpacity){if(CU){Cu.setOpacity=function(E9){this.forEach(function(FA){DA(FA,E9)});return this}}o.setOpacity=function(E9){DA(this.element(),E9);return this}}if(API.getOpacity){o.getOpacity=function(){return AK(this.element())}}D=function(FA){var E9;if(this==global){return new D(E9)}this.load=function(FB){E9=FB||global.document;return this};this.load(FA);this.node=function(){return E9}};var CR=D.prototype;CR.areFeatures=function(){return DG.apply(this,arguments)};CR.isXhtml=function(){return Cz(this.node())};CR.query=function(E9){return new Q(E9,this.node())};CR.children=function(FA){var E9=Be(this.node());return(arguments.length)?E9[FA]||null:E9};CR.descendants=function(E9,FB){var FA=DL(E9||"*",this.node());return(arguments.length>1)?FA[FB]||null:FA};if(API.createElementWithAttributes){CR.createWithAttributes=function(E9,FA){return Dt(E9,FA,this.node())};CR.createWithProperties=function(E9,FA){return An(E9,FA,this.node())}}if(API.createAndAppendElementWithAttributes){CR.createAndAppendWithAttributes=function(E9,FB,FA){return AF(E9,FB,FA,this.node())};CR.createAndAppendWithProperties=function(E9,FB,FA){return A3(E9,FB,FA,this.node())}}if(API.createElement){CR.create=function(E9){return BP(E9,this.node())}}if(API.getHtmlElement){CR.htmlElement=function(){return CQ(this.node())}}if(API.getHeadElement){CR.head=function(){return BX(this.node())}}if(API.getDocumentWindow){CR.window=function(){return AH(this.node())}}if(API.importNode){CR.importNode=function(E9,FA){return Eu(E9,FA,this.node())}}if(API.addStyleRule){CR.addStyleRule=function(E9,FB,FA){ET(E9,FB,FA,this.node());return this}}if(API.setActiveStyleSheet){CR.setActiveStyleSheet=function(E9){CS(E9,this.node());return this}}if(API.getCookie){CR.getCookie=function(FA,E9,FB){return EO(FA,E9,FB,this.node())};CR.setCookie=function(FA,FB,E9,FD,FC){CX(FA,FB,E9,FD,FC,this.node());return this};CR.deleteCookie=function(E9,FA){C3(E9,FA,this.node());return this}}if(API.attachDocumentListener){CR.on=function(FB,FA,E9){DS(FB,FA,this.node(),E9);return this};CR.off=function(FA,E9){C5(FA,E9,this.node());return this}}if(API.getLink){CR.links=function(E9){return(arguments.length)?D6(E9):A()}}if(API.getAnchor){CR.anchors=function(E9){return(arguments.length)?EA(E9):D3()}}if(API.getDocumentHtml){CR.html=function(E9){return h(E9,false,this.node())}}if(typeof Ab=="function"){CR.onReady=function(E9){Ab(E9,this.node());return this};Ab(function(){var E9;if(typeof BT=="function"){CR.body=function(){return BT(this.node())}}if(typeof Dz=="function"){CR.scrollSize=function(){return Dz(this.node())}}if(typeof A4=="function"){CR.clientRectangle=function(){return A4(this.node())}}if(typeof DJ=="function"){CR.scrollRectangle=function(){return DJ(this.node())}}if(typeof E0=="function"){CR.getScrollPosition=function(){return E0(this.node())};CR.setScrollPosition=function(FC,FA,FD,FB,FE){BM(FC,FA,FD,this.node(),FB,FE);return this};Dh=function(FA){return function(){API[FA](this.node())}};Db=Eg.length;while(Db--){E9="setScrollPosition"+Db;if(API[E9]){D.prototype[E9]=Dh(E9)}}}})}if(typeof AY=="function"&&Function.prototype.call){F=function(FB,E9){var FC;if(this==global){return new F(FB,E9)}function FA(){return FC}this.load=function(FE,FD){FC=typeof FE=="object"?FE:AY(FE,FD);this.element=(FC)?FA:null;return this};this.load(FB,E9)};C=function(FA,E9){if(this==global){return new C(FA,E9)}E.call(this,FA,E9)};Dr(F,E);Dr(C,E);if(typeof E4=="function"){F.prototype.serialize=function(){return E4(this.element())}}if(typeof Dx=="function"){F.prototype.changed=function(){return Dx(this.element())}}if(typeof s=="function"){F.prototype.send=function(E9,FA){s(this.element(),E9,FA);return this}}F.prototype.controls=function(FC){var FA,FD,E9=[],FB=this.element().elements;if(typeof FC=="undefined"){E9=[];for(FA=FB.length;FA--;){FD=FB[FA];if(!(/^fieldset$/i).test(FD.tagName)){E9[E9.length]=FD}}return E9.reverse()}return FB[FC]};C.prototype.getValue=function(E9){return Dl(this.element(),E9)};C.prototype.changed=function(){return Am(this.element())};CR.forms=function(E9){return(arguments.length)?AY(E9):BA()}}if(typeof BI=="function"&&Function.prototype.call){I=function(FB,E9){var FC;if(this==global){return new I(FB,E9)}function FA(){return FC}this.load=function(FE,FD){FC=(typeof FE=="string"||typeof FE=="number")?BI(FE,FD):FE;this.element=(FC)?FA:null;return this};this.load(FB,E9)};Dr(I,E);if(API.preloadImage){this.loadURI=function(E9){return this.load(Da(CK(E9)))};this.loadPreloaded=function(E9){return this.load(Da(E9))}}if(API.changeImage){I.prototype.change=function(FB,E9,FA){Bh(this.element(),FB,E9,FA);return this}}CR.images=function(E9){return(arguments.length)?BI(E9):z()}}W=function(FA){var E9;if(this==global){return new W(FA)}this.load=function(FB){E9=FB||global;return this};this.load(FA);this.object=function(){return E9}};W.prototype.areFeatures=function(){return DG.apply(this,arguments)};if(typeof Cl=="function"){W.prototype.on=function(FB,FA,E9){Cl(FB,FA,this.object(),E9);return this};W.prototype.off=function(FA,E9){CZ(FA,E9,this.object());return this}}if(typeof Ab=="function"){Ab(function(){if(typeof Dg=="function"){W.prototype.viewportSize=function(){return Dg(this.object())}}})}if(typeof EZ=="function"){W.prototype.setStatus=function(E9){EZ(E9,this.object());return this}}if(typeof EG=="function"){W.prototype.getEnabledPlugin=function(FA,E9){return EG(FA,E9,this.object())}}if(typeof Az=="function"){W.prototype.addBookmark=function(E9,FA){Az(E9,FA,this.object());return this}}if(typeof BN=="function"){W.prototype.addBookmarkCurrent=function(){BN(this.object());return this}}if(typeof De=="function"){W.prototype.getFrameById=function(E9){return De(E9,this.object())};W.prototype.getIFrameDocument=function(E9){return AU(E9,this.object())}}}}}q=null;DK=null})()
/*
My Library (http://www.cinsoft.net/mylib.html)
Copyright (c) 2007-2010 by David Mark. All Rights Reserved.
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
Modified copies of the Software must be renamed.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
*/
var global=this;if(this.API&&this.API.getEBCS&&this.API.isHostMethod(this.document,"querySelectorAll")){(function(){var H=global.API,B=H.getEBCS;var F,G,J,E;var D=function(R,O,L){var Q,S=B(R,O);if(S.length==L){var P=global.document,M=H.getBodyElement();var K=H.createElement("div");K.appendChild(P.createTextNode(" "));var N=P.querySelectorAll("div:empty").length;M.appendChild(K);Q=N==P.querySelectorAll("div:empty").length-1;M.removeChild(K)}G=!Q;return S};var C=function(T,P,L){var R,U=B(T,P);if(U.length==L){var Q=global.document,N=H.getBodyElement();var K=H.createElement("option");K=H.setAttribute(K,"selected");var S=Q.createElement("fieldset");var M=Q.createElement("select");M.appendChild(K);S.appendChild(M);var O=Q.querySelectorAll("option[selected]").length;N.appendChild(S);R=O==Q.querySelectorAll("option[selected]").length-1;N.removeChild(S)}J=!R;return U};var A=function(N,P,L){var O=global.document,M=H.createElement("div"),K=H.getBodyElement();M.className="MyLibraryAPITest";K.appendChild(M);E=!!(O.querySelectorAll("div.mylibraryapitest").length);K.removeChild(M)};try{(Array.prototype.slice.call(global.document.querySelectorAll("html"),0));F=function(K){return Array.prototype.slice.call(K,0)}}catch(I){F=H.toArray}global.API.getEBCS=function(M,O){var K,L;if(E||(G&&M.indexOf(":empty")!=-1||(J&&M.indexOf("[selected]")!=-1))||(O&&(typeof O.nodeType!="number"||O.nodeType!=9))){return B(M,O)}try{K=F((O||global.document).querySelectorAll(M));if(H.getBodyElement){if(typeof E=="undefined"){A()}if(typeof G=="undefined"&&M.indexOf(":empty")!=-1){L=D(M,O,K.length);return G?L:K}if(typeof J=="undefined"&&M.indexOf("[selected]")!=-1){L=C(M,O,K.length);return J?L:K}}return E?B(M,O):K}catch(N){return B(M,O)}};if(global["$"]==B){global["$"]=global.API.getEBCS}})()}