var API,global=this;API=API||{};(function(){var Cw,A3;var Ab=new RegExp("^(function|object)$","i");var Ai=function(Db,Da){return !!(typeof Db[Da]=="object"&&Db[Da])};API.isRealObjectProperty=Ai;var n=function(Dc,Da){var Db=typeof Dc[Da];return !!((Ab.test(Db)&&Dc[Da])||Db=="unknown")};API.isHostMethod=n;var o=function(Dc,Db){var Da=typeof Dc[Db];return !!(Ab.test(Da)&&Dc[Db])};API.isHostObjectProperty=o;var B0=function(){var Da=arguments.length;while(Da--){if(!API[arguments[Da]]){return false}}return true};API.areFeatures=B0;var A=function(Db,Da){var Dc=Db.constructor.prototype[Da];return typeof Dc=="undefined"||Dc!==Db[Da]};API.isOwnProperty=A;if(Ai(this,"document")){Cw=this.document}function l(Dc){var Da=[];var Db=Dc.length;Da.length=Db;while(Db--){Da[Db]=Dc[Db]}return Da}API.toArray=l;var e=function(Dc){var Dd=1,Db=arguments.length;var Da=Dc.length>>>0;while(Dd<Db){Dc[Da]=arguments[Dd++];Da=Da+1>>>0}return Dc.length};API.push=e;var CN=function(Db){var Dc,Da=Db.length>>>0;if(Da){Dc=Db[--Da];delete Db[Da]}Db.length=Da;return Dc};API.pop=CN;var DO;if(Array.prototype.indexOf){DO=function(Da,Db){return Da.indexOf(Db)}}else{DO=function(Db,Dc){var Da=Db.length>>>0;var Dd=Number(arguments[1])||0;Dd=(Dd<0)?Math.ceil(Dd):Math.floor(Dd);if(Dd<0){Dd+=Da}for(;Dd<Da;Dd++){if(Db[Dd]===Dc){return Dd}}return -1}}API.indexOf=DO;var Ay;var BQ,G;var Cu=!!Function.prototype.call;if(Cu){G=function(De,Dd,Dc){var Df;Dc=Dc||De;if(arguments[4]){for(var Db=0,Da=De.length;Db<Da;Db++){Dd.call(Dc,De[Db],Db,De)}}else{for(Df in De){if(A(De,Df)){Dd.call(Dc,De[Df],arguments[3]?+Df:Df,De)}}}}}API.forEachProperty=G;if(Array.prototype.forEach){BQ=function(Da,Dc,Db){Da.forEach(Dc,Db)}}else{BQ=function(Da,Dc,Db){return G(Da,Dc,Db,true,arguments[3])}}API.forEach=BQ;if(Array.prototype.map){Ay=function(Da,Dc,Db){return Da.map(Dc,Db)}}else{if(Cu){Ay=function(Da,Dd,Dc){var Db=Da.length,De=[];Dc=Dc||Da;while(Db--){if(typeof Da[Db]!="undefined"){De[Db]=Dd.call(Dc,Da[Db],Db,Da)}}return De.reverse()}}}API.map=Ay;var y;var F=(function(){var Da=0;return function(Db){return Db.uniqueID||(Db.uniqueID="_api"+Da++)}})();API.elementUniqueId=F;var DA,AH,J,Ce,W=[];var A2,A4,CY;if(Cw){A2=n(Cw,"addEventListener");A4=n(this,"addEventListener");CY=n(this,"attachEvent");AH=false;J=function(){return AH};Ce=function(Dc){if(!AH){AH=true;var Db=W.length;var Da=Db-1;while(Db--){W[Da-Db](Dc)}}};DA=function(Dc,Da){var Db=function(Df){if(A2){Da.addEventListener("DOMContentLoaded",Ce,false)}if(A4){global.addEventListener("load",Ce,false)}else{if(CY){global.attachEvent("onload",Ce)}else{var De=global.onload;global.onload=function(Dg){if(De){De(Dg)}Ce()}}}};Da=Da||global.document;if(Da==global.document){if(!W.length){Db(global)}W[W.length]=Dc;return true}if(y){var Dd=y(Da);if(Dd){Db(Dd);return true}}return false};API.documentReady=J;API.documentReadyListener=Ce;API.attachDocumentReadyListener=DA}var BK;var CC,CK,Bt,CO,AW,AN,BW,AP,Bj;var BE;var DF,Bf,CQ=[];var AU,BP,u,Ci,CL,BY,C3,DY;var i,CP;var CX,DD;var j,Aj,DT,BC,k,A6,Bh,A7,v,AL,Ct,BM,Bw,B4,CU;var DI={"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 BX,CS,DN,DR;var L,BZ,B3=new RegExp("([^-]*)-(.)(.*)");var B5;var DQ,Z,AV,Be,AJ,BJ,Bl,A8,Cx,DP;var CT,DG,V;if(Cw){y=(function(){if(Ai(Cw,"parentWindow")){return function(Da){return(Da||global.document).parentWindow}}if(Ai(Cw,"defaultView")&&Cw.defaultView==this){return function(Da){return(Da||global.document).defaultView}}if(Ai(Cw,"__parent__")){return function(Da){return(Da||global.document).__parent__}}})()}API.getDocumentWindow=y;var P;function Bi(Da){return[Da.offsetHeight||0,Da.offsetWidth||0,Da.clientHeight||0,Da.clientWidth||0,Da.scrollHeight||0,Da.scrollWidth||0]}API.getElementSize=Bi;API.emptyNode=DT=function(Da){while(Da.firstChild){Da.removeChild(Da.firstChild)}};function O(Da){if(Da.ownerDocument){return Da.ownerDocument}if(Da.parentNode){while(Da.parentNode){Da=Da.parentNode}if(Da.nodeType==9||(!Da.nodeType&&!Da.tagName)){return Da}if(Da.document&&typeof Da.tagName=="string"){return Da.document}}return null}API.getElementDocument=O;function U(Da){return(Da.parentNode&&(Da.parentNode.tagName||Da.parentNode.nodeType==1))?Da.parentNode:(Da.parentElement||null)}API.getElementParentElement=U;function AZ(Da){var Db=(Da.tagName||Da.nodeName).toLowerCase();return(!Db.indexOf("html:"))?Db.substring(5):Db}API.getElementNodeName=AZ;var BO;if(Ai(this,"navigator")){BO=function(De,Dd,Db){var Da;var Dc=(Db||global).navigator;if(Dc){if(De&&n(Dc,"mimeTypes")&&typeof Dc.mimeTypes.length=="number"&&Dc.mimeTypes.length){if(Dc.mimeTypes[De]&&Dc.mimeTypes[De].enabledPlugin){Da=Dc.mimeTypes[De].enabledPlugin}}else{if(Dd&&n(Dc,"plugins")&&typeof Dc.plugins.length=="number"&&Dc.plugins.length){Da=Dc.plugins[Dd]}}}return(Da)?(Da.description||"[Unknown]"):null};API.getEnabledPlugin=BO}var CH;B5=function(Dd,Dc,Db){var Da;Da=Dc.childNodes.length;while(Da--){if(Dc.childNodes[Da].id==Dd.id){if(typeof CH=="function"){CH(Dd,Dc.childNodes[Da])}Dd=Dc.childNodes[Da];break}}if(Dd.id==Db){Dd.id=""}return Dd};function Am(Da){return typeof Da.canHaveChildren=="undefined"||Da.canHaveChildren}var DK,Ao;var Cy,CI,r,CM;var s,AY,DX,CG;if(Cw){if(o(Cw,"all")){s=(function(){return function(Dd,Dc){var Db,Da,Df,De;if(!Dc){return Dd.all}else{Da=l(Dd.all);Db=Da.length;De=[];while(Db--){Df=Da[Db];if((Df.nodeType==1&&Df.tagName!="!")||(!Df.nodeType&&Df.tagName)){De[De.length]=Da[Db]}}return De.reverse()}}})()}DX=function(Da,Dd){var Dc,Db;Da=Da||global.document;Dc=Ai(Da,"documentElement")?Da.documentElement:((typeof A7=="function")?A7("html",Da)[0]:null);if(!Dc&&s){Db=s(Da);Dc=Db[(Db[0].tagName=="!")?1:0];if(Dc&&!Dd&&Dc.tagName.toLowerCase()!="html"){Dc=null}}return Dc};API.getHtmlElement=DX;AY=function(Da){return DX(Da,true)};API.getAnElement=AY;A3=AY();if(A3&&typeof A3.parentNode!="undefined"){CG=function(Db,Dc){var Da=Dc.parentNode;while(Da&&Da!=Db){Da=Da.parentNode}return Da==Db}}API.isDescendant=CG}if(Cw){BX=!!(A3&&n(A3,"getAttribute")&&A3.getAttribute("style")&&typeof A3.getAttribute("style")=="object");if(!BX&&n(Cw,"createElement")){CS=(function(){var Da=Cw.createElement("td");if(Da&&n(Da,"getAttribute")){return Da.getAttribute("colspan")!==null}})();DN=(function(){var Da=Cw.createElement("form");Da.setAttribute("enctype","application/x-www-form-urlencoded");Da.removeAttribute("enctype");return Da.getAttribute("enctype")!==null})();DR=(function(){var Da=Cw.createElement("input");Da.type="checkbox";Da.checked=true;return(typeof Da.hasAttribute!="undefined"&&Da.hasAttribute("value"))})()}BK=(function(){var Db,Da;if(A3&&n(A3,"hasAttribute")){return function(Dg,Dd){var Df,Dh=Dd.toLowerCase();var De=DI[Dh];var Di=typeof Dg[De];if(CS){if(CU.test(Dh)){if(!Dg.getAttribute(Dh)){return false}if(typeof Dg.outerHTML=="string"){Df=new RegExp("^[^>]*\\s+"+Dd+"=(['\"])?\\w+\\1?","i");return Df.test(Dg.outerHTML)}}else{if(Di=="number"&&!Dg.getAttribute(Dh)){return false}else{if(Bw.test(Dh)){var Dc=Dg["default"+Dh.substring(0,1).toUpperCase()+Dd.substring(1)];if(typeof Dc=="boolean"){return Dc}}}}}if(DN&&Dh=="enctype"){if(typeof Dg.outerHTML=="string"){Df=new RegExp("^[^>]*\\s+"+Dd+"=(['\"])?\\w+\\1?","i");return Df.test(Dg.outerHTML)}return !!(Dg.attributes.enctype&&Dg.attributes.enctype.specified)}if(DR&&Dh=="value"&&typeof Dg.outerHTML=="string"){Df=new RegExp("^[^>]*\\s+value=(['\"])?\\w*\\1?","i");return Df.test(Dg.outerHTML)}return Dg.hasAttribute(Dd)}}if(A3&&n(A3,"attributes")){Db=function(Dd,Dc){Da=Dd.attributes[Dc];return !!(Da&&Da.specified)};if(BX){return function(Df,Dc){var Di=arguments[2]||O(Df);if(Di&&typeof (Di.selectNodes)!="undefined"){return Db(Df,Dc)}var Dh,De,Dg=Dc.toLowerCase();var Dd=Dg=="enctype"?"encType":DI[Dg];if(Dd&&Dd.toLowerCase()==Dg){Dc=Dd}if(Df.attributes){Dh=Df.attributes[Dc]||Df.attributes[Dg]}if(Dh){if(CU.test(Dg)&&Dh.value=="1"){De=new RegExp("^[^>]*\\s+"+Dc+"=(['\"])?\\w*\\1?","i");return De.test(Df.outerHTML)}if(Dh.specified){return true}if(typeof Df[Dc]=="boolean"){if(Bw.test(Dg)){return Df["default"+Dg.substring(0,1).toUpperCase()+Dc.substring(1)]}return Df[Dc]}if(Dg=="value"&&((/^input$/i.test(Df.tagName)&&/^text$/i.test(Df.type)))){return !!(Df.defaultValue||Df.defaultValue!=Df.value)}if(/^(enctype|value)$/.test(Dg)&&typeof Df.outerHTML=="string"){De=new RegExp("^[^>]*\\s+"+Dc+"=(['\"])?\\w*\\1?","i");return De.test(Df.outerHTML)}}return false}}return Db}})();API.hasAttribute=BK;Aj=function(){var Da,Db=arguments.length;if(Db>1&&typeof arguments[Db-1]=="boolean"){Da=arguments[Db-1];Db--}while(Db--){arguments[Db].disabled=!Da}};API.disableElements=Aj;Bh=(function(){function Da(Db,Dc){return(Db&&Db.id==Dc)?Db:null}if(n(Cw,"getElementById")){return function(Dc,Db){return Da((Db||global.document).getElementById(Dc),Dc)}}if(n(Cw,"all")){return function(Dc,Db){return Da((Db||global.document).all[Dc],Dc)}}})();API.getEBI=Bh;AL=function(Dc,Da){if(!Da){Da=global}var Db=Da.frames[Dc];if(!Db&&Bh){Db=Bh(Dc,Da.document);if(Db&&o(Db,"contentWindow")){Db=Db.contentWindow||null}else{Db=null}}return Db};API.getFrameById=AL;Ct=function(Da,Db){return Da.contentDocument||(Da.contentWindow||AL(Da.name,Db)||Da).document||null};API.getIFrameDocument=Ct;j=(function(){if(s){return function(Db,Da){return(Da=="*"&&Db.all)?s(Db,true):Db.getElementsByTagName(Da)}}return function(Db,Da){return Db.getElementsByTagName(Da)}})();A7=(function(){var Da;if(n(Cw,"getElementsByTagName")){Da=Cw.getElementsByTagName("*");if(Da&&(Da.length||s)){return function(Dc,Db){return j(Db||global.document,Dc)}}}if(o(Cw,"all")&&n(Cw.all,"tags")){return function(Dc,Db){return(Db||global.document).all.tags(Dc)}}})();API.getEBTN=A7;if(A7){v=function(Da){return A7("head",Da||global.document)[0]||null}}API.getHeadElement=v;L=function(Db){if(B3.test(Db)){var Da=Db.match(B3);return(Da)?([Da[1],Da[2].toUpperCase(),Da[3]].join("")):Db}return Db};if(A3&&n(A3,"removeAttribute")){BM=function(Dc,Da){var Dd=Da.toLowerCase();var Db=DI[Dd];if(BX){if(Db&&Db.toLowerCase()==Dd){Da=Db}else{Da=L(Da)}}Db=Db||Dd;if(typeof Dc[Db]=="boolean"){Dc[Db]=false}else{Dc.removeAttribute(Da)}}}Bw=new RegExp("^(checked|selected)$");CU=new RegExp("^(row|col)?span$");B4=new RegExp("^(href|src|data|usemap|longdesc|codebase|classid|profile|cite)$");API.removeAttribute=BM;BC=(function(){var Dc,Dg,Da,Dd,Dh,Df,Db,De;if(A3&&n(A3,"getAttribute")&&BK){if(BX){Df=new RegExp("^on");Db=new RegExp("[\\n\\r]","g");De=new RegExp("^function [^\\(]*\\(\\) *{(.*)} *$");return function(Dj,Di){var Dk=arguments[2]||O(Dj);if(Dk&&typeof (Dk.selectNodes)!="undefined"){return Dj.getAttribute(Di)}if(BK(Dj,Di)){Dd=Di;Di=Di.toLowerCase();Dg=DI[Di];if(!Dg){if(Bw.test(Di)){return Dj["default"+Di.substring(0,1).toUpperCase()+Di.substring(1)]?"":null}if(Di=="style"){return(Dj.style)?(Dj.style.cssText||""):""}if(B4.test(Di)){return Dj.getAttribute(Di,2)}if(Df.test(Di)&&Dj[Di]){Dc=Dj[Di].toString();if(Dc){Dc=Dc.replace(Db,"");if(De.test(Dc)){return Dc.replace(De,"$1")}}return null}Dh=Dj.tagName.toLowerCase();if(Dh=="select"&&Di=="type"){return null}if(Dh=="form"&&Dj.getAttributeNode){Dc=Dj.getAttributeNode(Di);return(Dc&&Dc.nodeValue)?Dc.nodeValue:null}}Da=L(Dg||Di);if(typeof Dj[Da]=="unknown"){return"[unknown]"}else{if(B4.test(Da)){return Dj.getAttribute(Da,2)}if(typeof Dj[Da]=="boolean"){return(Dj[Da])?"":null}if(typeof Dj[Da]=="undefined"){return Dj.getAttribute(Dd)}if(Di=="value"&&Dj.tagName.toLowerCase()=="input"&&Dj.type.toLowerCase()=="text"){return Dj.defaultValue}return(typeof Dj[Da]!="string"&&Dj[Da]!==null&&Dj[Da].toString)?Dj[Da].toString():Dj[Da]}}return null}}return function(Dk,Di){var Dl=Di.toLowerCase();var Dj=DI[Dl]||(Dl.indexOf("-")!=-1&&L(Dl))||Dl;if(typeof Dk[Dj]=="boolean"){if(Bw.test(Dl)){return Dk["default"+Dl.substring(0,1).toUpperCase()+Dl.substring(1)]?"":null}return Dk[Dj]?"":null}if(CS&&n(Dk,"hasAttribute")){return BK(Dk,Di)?Dk.getAttribute(Di):null}return Dk.getAttribute(Di)}}})();API.getAttribute=BC;var DU="/favicon.ico";if(BC){var CE,H,Bc=(function(){var Da=Cw.createElement("a");if(Da&&n(Da,"setAttribute")){Da.setAttribute("href",DU);return Da.href!=DU}})();if(Bc&&n(Cw,"createElement")){H=(function(){var Dc,Da={};var Db=function(Df,Dd,Dg){var De=Dd.toLowerCase();Dg=Dg||Cw.createElement(Df);if(Dg&&n(Dg,"setAttribute")){Dg.setAttribute(De,DU);Da[De]=Dg[Dd]==DU}};Db("form","action");Dc=Cw.createElement("img");Db("img","useMap",Dc);Db("img","src",Dc);Db("img","longDesc",Dc);Db("link","href");Db("head","profile");Dc=Cw.createElement("object");Db("object","codeBase",Dc);Db("object","classid",Dc);Db("object","data",Dc);Db("blockquote","cite");Db("area","href");return Da})();CE=Cw.createElement("a")}k=function(Dc,Da){var Dd=Da.toLowerCase();var Db=DI[Dd]||L(Dd);var Df=CE;switch(typeof Dc[Db]){case"boolean":return Bw.test(Dd)?Dc["default"+Dd.substring(0,1).toUpperCase()+Dd.substring(1)]:Dc[Db];case"undefined":return BC(Dc,Dd);default:if(BK(Dc,Da)){if(Bc&&CE&&(B4.test(Dd)||Dd=="action")&&H[Dd]&&!(/^a$/i).test(Dc.tagName)){var De=arguments[2]||O(Dc);if(De&&De!=global.document&&n(De,"createElement")){Df=De.createElement("a")}Df.setAttribute("href",BC(Dc,Dd));return Df.href}return Dd=="value"?BC(Dc,Dd):Dc[Db]}return null}};API.getAttributeProperty=k}AJ=(function(){var Df,De,Da,Db,Dd,Dc;if(A3&&n(A3,"setAttribute")){if(BX){Dc=function(Dk,Dh,Dl){var Dj,Di,Dg=Dk.parentNode;if(Dg&&n(Dg,"childNodes")&&typeof Dk.outerHTML=="string"){Di=F(Dk);Dk.id=Dk.id||Di;Dj=new RegExp(Dh+"=['\"]{0,1}[a-zA-Z0-9_]+['\"]{0,1}","i");Dk.outerHTML=Dk.outerHTML.replace(Dj," ").replace(">"," "+Dh+'="'+Dl+'">');if(Dk.parentNode!==Dg){Dk=B5(Dk,Dg,Di)}}else{Dk[Dh]=Dl}return Dk};Db=new global.RegExp("^on");Dd=new RegExp("^(a|img|form|input|select|button|textarea|iframe)$");if(n(global.document,"createElement")){Df=global.document.createElement("div")}return function(Dj,Di,Dk){var Dl=O(Dj);if(Dl&&typeof (Dl.selectNodes)!="undefined"){Dj.setAttribute(Di,Dk);return Dj}Di=Di.toLowerCase();De=Dj.tagName.toLowerCase();switch(Di){case"style":if(Dj.style){Dj.style.cssText=Dk}break;case"checked":case"selected":Dj["default"+Di.substring(0,1).toUpperCase()+Di.substring(1)]=Dk.toLowerCase()==Di||!Dk;break;case"defer":case"disabled":case"multiple":case"readonly":case"ismap":Dj[Di]=(Dk.toLowerCase()==Di||!Dk);break;case"type":if(De!="select"){if(De=="input"&&(Dj.parentNode||(Dj.attributes&&Dj.attributes.type&&Dj.attributes.type.specified))){Dj=Dc(Dj,"type",Dk)}else{Dj.type=Dk}}break;case"name":var Dh=Dd.test(De);var Dg=(Dl==global.document)?Df:(Dl&&Dl.createElement("div"));if(Dj.parentNode===null&&Dh&&Dg){Dg.appendChild(Dj)}Dj=Dc(Dj,"name",Dk);if(Dh&&Dg&&Dj.parentNode==Dg){Dg.removeChild(Dj)}break;default:if(Db.test(Di)){Dj[Di]=new Function(Dk)}else{Da=L(DI[Di]||Di);if(typeof Dj[Da]=="undefined"){Dj.setAttribute(Di,Dk)}else{Dj[Da]=Dk}}}return Dj}}return function(Dj,Dh,Dl){var Dk=Dh.toLowerCase();var Di=DI[Dk]||Dk;if(typeof Dj[Di]=="boolean"){var Dg=!Dl||Dk==Dl.toLowerCase();if(Bw.test(Dk)){if(Dg){Dj.setAttribute(Dk,Dk)}else{Dj.removeAttribute(Dk)}}else{Dj[Di]=Dg}}else{if(Dk=="value"&&typeof Dj.defaultValue=="string"){Dj.defaultValue=Dl}else{Dj.setAttribute(Dh,Dl)}}return Dj}}})();API.setAttribute=AJ;if(AJ){BJ=function(Dc,Da,De){var Dd=Da.toLowerCase();var Db=DI[Dd]||L(Dd);if(typeof De=="string"&&typeof Dc[Db]=="undefined"&&Db==Dd){Dc.setAttribute(Dd,De)}else{if(Dd=="value"){AJ(Dc,"value",De)}else{if(CS&&typeof Dc[Db]=="number"){AJ(Dc,Dd,De+"")}else{if(Bw.test(Dd)){if(De){AJ(Dc,Dd,"")}else{BM(Dc,Dd)}}else{Dc[Db]=De}}}}return Dc};API.setAttributeProperty=BJ}if(A3){A6=(function(){if(o(A3,"children")){return function(Dc){var Da,De,Db,Dd;if(arguments[1]){return Dc.children}Da=[];De=Dc.children;for(Db=De.length;Db--;){Dd=De[Db];if((Dd.nodeType==1&&Dd.tagName!="!")||(!Dd.nodeType&&Dd.tagName)){Da[Da.length]=Dd}}return Da.reverse()}}if(n(A3,"childNodes")){return function(Dc){var De,Da=Dc.childNodes,Dd=[];var Db=Da.length;while(Db--){De=Da[Db];if((De.nodeType==1&&De.tagName!="!")||(!De.nodeType&&De.tagName)){Dd.push(Da[Db])}}return Dd.reverse()}}})()}API.getChildren=A6;BZ=new RegExp("[^\\t\\n\\r ]");API.isEmptyTextNode=function(Da){return !BZ.test(Da.data)};var Bz;DD=function(Da){return false};Bz=DD();API.isXmlParseMode=DD;CX=(function(){if(n(Cw,"createElement")){return(function(){if(Bz&&n(Cw,"createElementNS")){return function(Db,Da){return(Da||global.document).createElementNS("http://www.w3.org/1999/xhtml","html:"+Db)}}return function(Db,Da){return(Da||global.document).createElement(Db)}})()}})();API.createElement=CX;if(CX&&AJ){DP=function(Da){return function(De,Dc){var Db;if(typeof Dc.type!="undefined"&&A(Dc,"type")){De.setAttribute("type",Dc.type);delete Dc.type}var Dd=Dc.name;if(Dd){De=Da(De,"name",Dd);if(De.tagName.toLowerCase()=="iframe"&&o(De,"contentWindow")){De.contentWindow.name=Dd}delete Dc.name}for(Db in Dc){if(A(Dc,Db)){De=Da(De,Db,Dc[Db])}}return De}};API.setAttributes=Cx=DP(AJ);API.setAttributeProperties=Bl=DP(BJ);DQ=function(Db,Dc,Da){var Dd=CX(Db,Da||global.document);if(Dd){Dd=Cx(Dd,Dc)}return Dd};API.createElementWithAttributes=DQ;Z=function(Db,Dc,Da){var Dd=CX(Db,Da||global.document);if(Dd){Dd=Bl(Dd,Dc)}return Dd};API.createElementWithProperties=Z;if(A3&&n(A3,"appendChild")){A8=function(Da){return function(Dc,Dd,De,Db){if(!Db){Db=O(De)}if(Db){var Df=CX(Dc,Db);if(Df){Df=Da(Df,Dd);De.appendChild(Df)}return Df}return null}};AV=API.createAndAppendElementWithAttributes=A8(Cx);Be=API.createAndAppendElementWithProperties=A8(Bl)}}i=function(Dc,Da,Db){if(n(Cw,Dc)){return function(Dd){return(Dd||global.document)[Dc]}}if(A7&&(!Db||typeof filter=="function")){return function(Dd){var De,Df;if(typeof Da=="string"){De=A7(Da,Dd)}else{De=[];Df=Da.length;while(Df--){De=De.concat(l(A7(Da[Df],Dd)))}}return(Db)?filter(De,Db):De}}};CP=function(Db,Da,Dc){if(n(Cw,Db)){return function(De,Dd){return(Dd||global.document)[Db][De]}}if(Bh){return function(Dg,Dd){var Dh,Df,De,Di;if(typeof Dg=="string"){Dh=Bh(Dg,Dd);if(Dh&&(!Dh.name||Dh.name==Dg)){if(typeof Da=="string"){if(AZ(Dh)==Da){return Dh}}else{De=Da.length;Di=AZ(Dh);while(De--){if(Di==Da[De]){return Dh}}}}}Df=Dc();if(typeof Dg=="string"){De=Df.length;while(De--){if(Df[De].name==Dg||(!Df[De].name&&Df[De].id==Dg)){return Df[De]}}return null}return Df[Dg]||null}}};BY=API.getImages=i("images","img");if(BY){CL=API.getImage=CP("images","img",BY)}Ci=API.getForms=i("forms","form");if(Ci){u=API.getForm=CP("forms","form",Ci)}BP=API.getAnchors=i("anchors","a",function(Da){return typeof Da.href!="unknown"&&!Da.href});if(BP){AU=API.getAnchor=CP("anchors","a",BP)}DY=API.getLinks=i("links",["a","area"],function(Da){return typeof Da.href=="unknown"||Da.href});if(DY){C3=API.getLink=CP("links",["a","area"],DY)}BE=function(Da,Db){Da.src=Db};API.changeImage=BE;if(this.Image){Bf=function(Dc,Db,Da){var Dd=new global.Image();Dd.src=Dc;Dd.height=Db;Dd.width=Da;CQ[CQ.length]=Dd;return CQ.length-1};API.preloadImage=Bf;if(CX){DF=function(Db){var Da=CX("img");var Dc=CQ(Db);Da.src=Dc.src;Da.height=Dc.height;Da.width=Dc.width;return Da};API.clonePreloadedImage=DF}}BE=function(Da,Db){if(typeof Db=="number"){if(CQ[Db]){Da.src=CQ[Db].src}}else{Da.src=Db}};API.changeImage=BE;if(BK){Bt=function(Da){return(Da.value||(BK(Da,"value")?Da.value:Da.text))}}API.getOptionValue=Bt;if(n(global,"Option")){CC=function(Db,De,Dc){var Dd=new global.Option(),Da=Db.options.length;Dd.text=De;if(typeof Dc!="undefined"){Dd.value=Dc}if(Db.options.add){Db.options.add(Dd,Db.options.length)}if(Da==Db.options.length){Db.options[Db.options.length]=Dd}return Dd};API.addOption=CC;CK=function(Dc,Da){var Db;for(Db in Da){if(A(Da,Db)){CC(Dc,Da[Db],Db)}}};API.addOptions=CK}BW=function(Db){Db.options.length=0;var Da=Db.options.length;while(Da--){Db.options[Da]=null}};API.removeOptions=BW;Bj=(function(){var Da=function(Db){return encodeURIComponent(Db).replace(/%20/,"+").replace(/(.{0,3})(%0A)/g,function(Dd,De,Dc){return De+(De=="%0D"?"":"%0D")+Dc}).replace(/(%0D)(.{0,3})/g,function(Dd,De,Dc){return De+(Dc=="%0A"?"":"%0A")+Dc})};if(typeof encodeURIComponent!="undefined"&&String.prototype.replace&&Da("\n \r")=="%0D%0A+%0D%0A"){return Da}})();API.urlencode=Bj;if(Bt){AW=function(De,Dg){var Db,Df,Dd=De.type;if(Dd&&!Dd.indexOf("select")){Db=[];for(var Dc=0,Da=De.options.length;Dc<Da;Dc++){Df=De.options[Dc];if(Df[(Dg)?"defaultSelected":"selected"]){Db[Db.length]=Bt(Df)}}if(Db.length==1){Db=Db[0]}return Db}switch(Dd){case"checkbox":case"radio":return(De[(Dg)?"defaultChecked":"checked"])?De.value||"on":"";default:return De[(Dg)?"defaultValue":"value"]}};API.inputValue=AW;AN=function(Dc){var Db;var Dd=AW(Dc,true);var Da=AW(Dc);if(typeof Dd=="string"){return(Dd==Da)}Db=Dd.length;while(Db--){if(Dd[Db]!=Da[Db]){return true}}return false};API.inputChanged=AN;CO=function(Dc){var Db,Da=Dc.elements;Db=Da.length;while(Db--){if(AN(Da[Db])){return true}}return false}}if(A3){DG=(function(){if(typeof A3.innerText=="string"){return function(Da){return Da.innerText}}if(typeof A3.textContent=="string"){return function(Da){return Da.textContent}}if(Ai(A3,"firstChild")){return function(Da){var Db=[];var Dc=Da.firstChild;while(Dc){if(Dc.nodeType==3||Dc.nodeType==4){if(BZ.test(Dc.data)){Db[Db.length]=Dc.data}}else{if(Dc.nodeType==1){Db[Db.length]=DG(Dc)}}Dc=Dc.nextSibling}return Db.join("")}}})();API.getElementText=DG;V=(function(){var Da,Db,Dc;if(typeof A3.innerText=="string"){return function(Dd,De){Dd.innerText=De}}if(n(A3,"removeChild")&&n(Cw,"createTextNode")){return function(De,Df){var Dd=O(De);while(De.firstChild){De.removeChild(De.firstChild)}De.appendChild(Dd.createTextNode(Df))}}if(typeof A3.innerHTML=="string"){Da=new RegExp("<","g");Db=new RegExp(">","g");Dc=new RegExp("&","g");return function(Dd,De){Dd.innerHTML=De.replace(Dc,"&amp;").replace(Da,"&lt;").replace(Db,"&gt;")}}})();API.setElementText=V}if(V&&DG){CT=function(Da,Db){V(Da,DG(Da)+Db)};API.addElementText=CT}DK=(function(){if(A7&&CX&&A3&&n(A3,"appendChild")){var Da=(function(){var Db=CX("style");if(Db){if(n(global.document,"styleSheets")){return function(Dd,Dg,Df,Dc){var De;if(Dc.styleSheets&&Dc.styleSheets.length){De=Dc.styleSheets[Dc.styleSheets.length-1];if(De.addRule){De.addRule(Dd,Dg)}else{if(typeof De.cssText=="string"){De.cssText=Dd+" {"+Dg+"}"}else{if(De.insertRule){De.insertRule(Dd+" {"+Dg+"}",De.cssRules.length)}}}}}}if(Am(Db)&&n(global.document,"createTextNode")){return function(Dd,Dh,Dg,Dc){var De=DX(Dc);var Df=De.scrollHeight;Dg.appendChild(Dc.createTextNode(Dd+" {"+Dh+"}"));if(De.scrollHeight!=Df){if(Dg.parentNode.offsetHeight){Dg.parentNode.removeChild(Dg);return false}}}}if(typeof Db.innerText=="string"){return function(Dc,De,Dd){Dd.innerText+=Dc+" {"+De+"}"}}Db=null}})();if(Da){return function(Dd,Dh,Dg,Dc){var Df,Db;var De=A7("head",Dc);if(De[0]){Df=CX("style",Dc);if(Df){Df.setAttribute("type","text/css");Df.setAttribute("media",Dg||"screen");De[0].appendChild(Df);Db=Da(Dd,Dh,Df,Dc||global.document);Df=null;return Db}}}}}})();API.addStyleRule=DK;if(A3&&BC&&A7){Ao=function(Df,Da){var Dc,De,Db,Dd;Dc=A7("link",Da);De=0;Db=Dc.length;while(De<Db){Dd=Dc[De].getAttribute("title");if(Dd&&Dc[De].getAttribute("rel")&&Dc[De].getAttribute("rel").indexOf("style")!=-1){Dc[De].disabled=true;if(Dd.toLowerCase()==Df){Dc[De].disabled=false}}De++}};API.setActiveStyleSheet=Ao}}var m=function(Da){return[Da.clientTop||0,Da.clientLeft||0]};API.getElementBordersOrigin=m;CI=!!(A3&&Ai(A3,"style"));if(CI){Cy={};CM=["display","visibility","position"];r=3;while(r--){Cy[CM[r]]=typeof A3.style[CM[r]]=="string"}API.canAdjustStyle=function(Da){return Cy[Da]}}var Bg,Cm,D,d,Bu,Bm,Cb,AC,Ap,CD;var Cz,Ax,w,BA;var Bb;var CJ,AI,Av;var Cg,Aa;var BB,C9,A1,B7;var Bo=new RegExp("^(-)?[\\d\\.]*px$","i");var Cc=new RegExp("^(-)?[\\d\\.]*(em|pt|cm|in)$","i");var Au=new RegExp("color","i");var R=new RegExp("rgb[a]*\\((\\d*),[\\s]*(\\d*),[\\s]*(\\d*)[),]","i");var AR=new RegExp("^rgba\\(\\d+,\\s*,\\d+,\\s*\\d,\\s*0\\)$","i");var Bq={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 AQ,S,As=["WebkitOpacity","KhtmlOpacity","MozOpacity","opacity"];var AE,AG,CB;var C0=["Top","Left","Bottom","Right"];var C7,CA;var Cr,Cf,Ah;if(A3){if(CI){Bb=(function(){var Da=(typeof A3.style.top=="number")?0:"px";return function(Dc,Dd,Db){if(Dd!==null){Dc.style.top=Dd+Da}if(Db!==null){Dc.style.left=Db+Da}}})();API.positionElement=Bb;AI=(function(){var Da=(typeof A3.style.height=="number")?0:"px";return function(Dd,Dc,Db){if(Dc!==null&&Dc>=0){Dd.style.height=Dc+Da}if(Db!==null&&Db>=0){Dd.style.width=Db+Da}}})();API.sizeElement=AI;CJ=function(Da,Db){if(Da.offsetHeight!=Db[0]){Db[0]-=(Da.offsetHeight-Db[0]);if(Db[0]>=0){Da.style.height=Db[0]+"px"}}if(Da.offsetWidth!=Db[1]){Db[1]-=(Da.offsetWidth-Db[1]);if(Db[1]>=0){Da.style.width=Db[1]+"px"}}return Db};Av=function(Da,Db){AI(Da,Db);CJ(Da,Db)};API.sizeElementOuter=Av;Cg=function(Da,Db){Bb(Da,Db[0],Db[1]);AI(Da,Db[2],Db[3])};Aa=function(Da,Db){Cg(Da,Db);CJ(Da,[Db[2],Db[3]])};API.positionAndSizeElement=Cg;API.positionAndSizeElementOuter=Aa;Bg=(typeof A3.style.cssFloat=="string")?"cssFloat":"styleFloat";Bu=function(Db,Da){if(Da=="float"){Da=Bg}return(Db)?Db[Da]||null:null};Cm=(function(){if(Ai(A3,"currentStyle")){return function(Db,Da){return Bu(Db.currentStyle,Da)}}})();API.getCascadedStyle=Cm;D=(function(){var Db=new RegExp("^(absolute|fixed)$");var Da=new RegExp("^(height|width|left|top|right|bottom|margin.+|border.+|padding.+)$","i");if(Ai(Cw,"defaultView")&&n(Cw.defaultView,"getComputedStyle")){return function(Df,De){var Dc=O(Df);var Dd=Dc.defaultView.getComputedStyle(Df,null);return Bu(Dd,De)}}if(Cm){return function(Dg,Df){var Dj,De,Dc,Di,Dd;var Dh=Cm(Dg,Df);if(Dh=="inherit"){De=U(Dg);if(De){return D(De,Df)}}switch(Df){case"float":Dc=D(Dg,"position");return(Dc&&Db.test(Dc))?"none":Dh;case"display":if(Dh!="none"){De=U(Dg);while(De){if(Cm(De,"display")=="none"){return"none"}De=U(De)}Dc=D(Dg,"position");if(Dc&&Db.test(Dc)){Dh="block"}else{Dj=Cm(Dg,"float");if(Dj&&Dj!="none"){Dh="block"}}}return Dh}if(Bo.test(Dh)){return Dh}if(Cc.test(Dh)){if(Da.test(Df)){if(parseFloat(Dh)){if(Ai(Dg,"runtimeStyle")){Di=Dg.style.left;Dd=Dg.runtimeStyle.left;Dg.runtimeStyle.left=Dg.currentStyle.left;Dg.style.left=Dh;Dh=Dg.style.pixelLeft;Dg.style.left=Di;Dg.runtimeStyle.left=Dd;return Dh+"px"}}else{return"0px"}}return null}return((Dh=="auto"&&Df!="overflow")||Dh=="inherit")?null:Dh}}})();API.getComputedStyle=D;d=function(Db,Da){var Dc=Bu(Db.style,Da);if(typeof Dc=="number"){Dc+="px"}return Dc};API.getInlineStyle=d;Bm=(function(){if(Ai(Cw,"defaultView")&&n(Cw.defaultView,"getOverrideStyle")){return function(Dc,Db){var Da=O(Dc).defaultView.getOverrideStyle(Dc,null);return Bu(Da,Db)}}if(Ai(A3,"runtimeStyle")){return function(Db,Da){return Bu(Db.runtimeStyle,Da)}}})();API.getOverrideStyle=Bm;AQ=(function(Dd){var Da,Dc,Df;var De=new RegExp("alpha\\(opacity=[^\\)]+\\)","i");var Db=function(Dg,Dh){Dg.style[Dc]=Dh};Da=As.length;while(Da--){if(typeof Dd.style[As[Da]]=="string"){Dc=As[Da];return Db}}if(typeof Dd.style.filter=="string"){return function(Dg,Dh){Df=Dg.style;if(Dg.currentStyle&&!Dg.currentStyle.hasLayout){Df.zoom=1}if(!De.test(Df.filter)){Df.filter+=" alpha(opacity="+(Dh*100)+")"}else{Df.filter=Df.filter.replace(De,(Dh>=0.9999)?"":"alpha(opacity="+(Dh*100)+")")}}}})(A3);API.setOpacity=AQ;S=(function(Dd){var Da,Dc,De=new RegExp("opacity\\s*=\\s*([^\\)]*)","i");var Db=function(Df){var Dg=Df.style[Dc];if(Dg){return parseFloat(Dg)}if(D){Dg=D(Df,"opacity");if(Dg!==null){return parseFloat(Dg)}}return 1};Da=As.length;while(Da--){if(typeof Dd.style[As[Da]]=="string"){Dc=As[Da];return Db}}if(typeof A3.style.filter=="string"&&Cm){return(function(){var Df;return function(Dh){var Dg=Cm(Dh,"filter");if(Dg){Df=Dg.match(De);return(Df)?parseFloat(Df[1])/100:1}return 1}})()}})(A3);API.getOpacity=S;A1=function(Da){return"0123456789ABCDEF".substring(Da,Da+1)};C9=function(Da){return A1(Math.floor(Da/16))+A1(Da%16)};B7=function(Da){return[C9(Da[0]),C9(Da[1]),C9(Da[2])].join("")};BB=function(Db){var Da=R.exec(Db);if(Da){return["#",C9(parseInt(Da[1],10)),C9(parseInt(Da[2],10)),C9(parseInt(Da[3],10))].join("")}if(AR.test(Db)){return"transparent"}return(Bq[Db])?"#"+Bq[Db]:null};Cb=(function(){var Da=(function(){if(D){return function(Dd,Dc){var De,Db,Df;if(Bm){De=Bm(Dd,Dc)}if(De){return De}Df=D(Dd,Dc);if(Df){return Df}else{Db=d(Dd,Dc);Df=Cm&&Cm(Dd,Dc);if(Df){return Df}return((Dc=="display")?"none":Db)||null}}}return function(De,Dd){var Dc,Db=d(De,Dd);if(Dd=="display"&&(Db!="none")){Dc=U(De);while(Dc){if(Dc.style.display=="none"){return"none"}Dc=U(Dc)}}return Db}})();return function(Dc,Db){var Dd=Da(Dc,Db);return(Au.test(Db))?BB(Dd)||Dd:Dd}})();API.getStyle=Cb;Ap=function(Db,Da,Dc){if(Da=="float"){Da=Bg}Db.style[Da]=Dc};API.setStyle=Ap;CD=function(Db,Dc){var Da;for(Da in Dc){if(A(Dc,Da)){Ap(Db,Da,Dc[Da])}}};API.setStyles=CD;AC=function(Db,Da){var Dc=Cb(Db,Da);if(Bo.test(Dc)){return parseFloat(Dc)}if(Cc.test(Dc)&&!parseFloat(Dc)){return 0}return null};API.getStylePixels=AC;C7=function(Dc,Db){var Da=AC(Dc,"border"+Db+"Width");if(Da===null){switch(Db){case"Left":case"Right":return Dc.clientLeft||0;case"Top":case"Bottom":return Dc.clientTop||0}}return Da};API.getElementBorder=C7;m=function(Da){return[Da.clientTop||C7(Da,"Top"),Da.clientLeft||C7(Da,"Left")]};API.getElementBordersOrigin=m;CA=(function(){var Da;return function(Db){var Dc={};Da=C0.length;while(Da--){Dc[C0[Da]]=C7(Db,C0[Da])}return Dc}})();API.getElementBorders=CA;Cr=function(Da,Db){return AC(Da,"margin"+Db)||0};API.getElementMargin=Cr;Ah=function(Da,Db){return[Cr(Da,"Top"),Cr(Da,"Left")]};API.getElementMarginsOrigin=Ah;Cf=(function(){var Da;return function(Db){var Dc={};Da=C0.length;while(Da--){Dc[C0[Da]]=Cr(Db,C0[Da])}return Dc}})();API.getElementMargins=Cf;Cz=function(Db){var Da;if(Cb(Db,"position")!="fixed"&&Ai(Db,"offsetParent")){do{Db=Db.offsetParent;if(Db){Da=Cb(Db,"position")}}while(Db&&(!Da||Da=="static"));return Db}};API.getPositionedParent=Cz;BA=function(Da){return Cb(Da,"visibility")!="hidden"};API.isVisible=BA;w=function(Da){return Cb(Da,"display")!="none"};API.isPresent=w;Ax=function(Db){var Da=Cb(Db,"position");return(Da)?(Da!="static"):false};API.isPositionable=Ax;AE=function(Dc,Db){var Da;if(!Dc.className){Dc.className=Db}else{Da=new RegExp("(^|\\s)"+Db+"(\\s|$)");if(!Da.test(Dc.className)){Dc.className+=" "+Db}}};API.addClass=AE;CB=function(Dd,Dc){var Db,Da;if(Dd.className){if(Dd.className==Dc){Dd.className=""}else{Db=new RegExp("(^|\\s)"+Dc+"(\\s|$)");Da=Dd.className.match(Db);if(Da&&Da.length==3){Dd.className=Dd.className.replace(Db,(Da[1]&&Da[2])?" ":"")}}}};API.removeClass=CB;AG=function(Db,Da){return(new RegExp("(^|\\s)"+Da+"(\\s|$)")).test(Db.className)};API.hasClass=AG}}var X,x;if(typeof global.status=="string"&&n(global,"setTimeout")){X=(function(){var Da=new RegExp("'","g");return function(Dc){if(typeof global!="undefined"){var Db=function(){if(typeof global!="undefined"){global.status=Dc}};Db.toString=function(){return"if (typeof global != 'undefined') { global.status = '"+Dc.replace(Da,"\\'")+"'; }"};global.setTimeout(Db,10)}}})();API.setStatus=X}if(typeof global.defaultStatus=="string"){x=function(Da){global.defaultStatus=Da};API.setDefaultStatus=x}var Q,Ch,Ck,Cq,Ba,C;var At,BU,B1,A5,q,A9,Cj;var Cd={},Ar={},Y={};var DJ=0;if(n(Cw,"createElement")){Cj=function(Da,Dc){Da="on"+Da;var Db=Da+(Dc&&Dc.tagName||"");if(typeof Y[Db]=="undefined"){Y[Db]=true;Dc=Dc||global.document.createElement("div");if(Dc&&n(Dc,"setAttribute")){if(typeof Dc[Da]=="undefined"){Dc.setAttribute(Da,'window.alert(" ");');Y[Db]=n(Dc,Da)}}}return Y[Db]}}API.isEventSupported=Cj;function A0(){var Da=API.attachedListeners.length;while(Da--){API.attachedListeners[Da].el.detachEvent("on"+API.attachedListeners[Da].ev,API.attachedListeners[Da].fn)}API.attachedListeners=null;global.detachEvent("onunload",A0)}function B2(){var Da=API.attachedListeners.length;while(Da--){API.attachedListeners[Da].el["on"+API.attachedListeners[Da].ev]=null}API.attachedListeners=null;global.onunload=null}var Ak=0;function C6(Da){if(Da.tagName){return F(Da)}else{if(Da==global){return"_apiwin"}return(Da._targetId=Da._targetId||("_api"+Ak++))}}function AK(De,Df,Db,Dg,Da,Dd){var Dc=C6(De);if(!Cd[Dc]){Cd[Dc]={}}if(!Cd[Dc][Df]){Cd[Dc][Df]={}}Cd[Dc][Df][Db]=Dg;Ar[Db]={fn:Da,context:Dd}}function Cs(Dc,Dd,Da){var Db=C6(Dc);return(Cd[Db]&&Cd[Db][Dd]&&Cd[Db][Dd][Da])}function C5(Dc,Dd,Da){var Db=C6(Dc);if(Cd[Db]&&Cd[Db][Dd]){Cd[Db][Dd][Da]=null}}var C8=function(Dd,Dc){var Db,Da;Db=Dd();Da=Dc();return(Db!==false&&Da!==false)};function AT(De,Df){var Dd,Da,Dc,Db=C6(De);if(Cd[Db]&&Cd[Db][Df]){Dc=Cd[Db][Df];for(Da in Dc){if(A(Dc,Da)&&Dc[Da]){Dd=(Dd)?C8(Dc[Da],Dd):Dc[Da]}}}return Dd||null}API.eventContexts=[];var g=0;var Af=function(Da){return(function(){var Dc=(function(){if(Function.prototype.call){return function(Dd,De){return function(Df){return Dd.call(API.eventContexts[De].context,Df||API.eventContexts[De].globalContext.event)}}}else{return function(Dd,De){return function(Dh){var Df=API.eventContexts[De].context;Df.__mylibevent=Dd;var Dg=Df.__mylibevent(Dh||API.eventContexts[De].globalContext.event);Df.__mylibevent=null;return Dg}}}})();var Db;if(n(Da,"addEventListener")){return function(Dg,Df,De,Dd){var Dh=(Dd)?function(Di){return De.call(Dd,Di)}:De;if(!De._fnId){De._fnId=++DJ}AK(Dg,Df,De._fnId,Dh,De,Dd);return Dg.addEventListener(Df,Dh,false)}}if(n(Da,"attachEvent")){Db=function(Dg,Df,De,Dh,Dd){if(!API.attachedListeners){API.attachedListeners=[];global.attachEvent("onunload",A0)}AK(Dg,Df,De._fnId,Dh,De,Dd);Dg.attachEvent("on"+Df,Dh);if(!(Df=="unload"&&Dg==global)){API.attachedListeners[API.attachedListeners.length]={el:Dg,ev:Df,fn:Dh}}Dg=null}}else{Db=function(Dg,Df,De,Dh,Dd){if(!API.attachedListeners){API.attachedListeners=[];global.onunload=(function(Di){return function(Dj){Dj=Dj||global.event;if(typeof Di=="function"){Di(Dj)}B2(Dj)}})(global.onunload)}AK(Dg,Df,De._fnId,Dh,De,Dd);Dg["on"+Df]=AT(Dg,Df);if(!(Df=="unload"&&Dg==global)){API.attachedListeners[API.attachedListeners.length]={el:Dg,ev:Df}}Dg=null}}if(Db){return function(Di,Dg,Df,De){var Dh,Dd=O(Di);if((Dd||Di)==global.document){Dh=global}else{if(y){Dh=(Dd&&y(Dd))||y(Di)||Di}}if(Dh){API.eventContexts[g]={context:De||Di,globalContext:Dh};var Dj=Dc(Df,g++);if(!Df._fnId){Df._fnId=++DJ}if(!Cs(Di,Dg,Df._fnId)){Db(Di,Dg,Df,Dj,De)}return true}return false}}})()};var AM=function(Db){var Da=(function(){if(n(Db,"removeEventListener")){return function(De,Dd,Dc){De.removeEventListener(Dd,Dc,false)}}if(n(Db,"detachEvent")){return function(De,Dd,Dc){De.detachEvent("on"+Dd,Dc)}}return function(De,Dd,Dc){De["on"+Dd]=AT(De,Dd)}})();if(Da){return function(De,Dd,Dc){var Df;if(Dc._fnId){Df=Cs(De,Dd,Dc._fnId);if(Df){C5(De,Dd,Dc._fnId);Da(De,Dd,Df)}}else{Da(De,Dd,Dc)}}}};function BH(Da){var Db=Af(Da);return Db&&function(Df,De,Dc,Dd){return Db(Dc||Da,Df,De,Dd)}}function N(Db){var Da=AM(Db);return Da&&function(De,Dd,Dc){return Da(Dc||Db,De,Dd)}}if(Af){if(A3){Q=Af(A3);if(Q){Cq=AM(A3)}API.attachListener=Q;API.detachListener=Cq}if(Cw){Ch=BH(Cw);if(Ch){Ba=N(Cw)}API.attachDocumentListener=Ch;API.detachDocumentListener=Ba}Ck=BH(this);if(Ck){C=N(this)}}API.attachWindowListener=Ck;API.detachWindowListener=C;CH=function(Dg,Dd){var Dc,Db,Df,De=F(Dg),Dh=F(Dd),Da=Cd[De];if(Da&&De!=Dh){for(Dc in Da){if(A(Da,Dc)){for(Db in Da[Dc]){if(A(Da[Dc],Db)&&Da[Dc][Db]){Df=Ar[Db];if(Df){Cq(Dg,Dc,Df.fn);Q(Dd,Dc,Df.fn,Df.context)}}}}}}};P=function(Dh,Dg,Df){var Dc,Db,De,Dd=F(Dh),Da=Cd[Dd];if(!Df){if(Da){for(Dc in Da){if(A(Da,Dc)){for(Db in Da[Dc]){if(A(Da[Dc],Db)&&Da[Dc][Db]){De=Ar[Db];if(De){Cq(Dh,Dc,De.fn)}}}}}}}if(Dg&&Dh.childNodes){Dc=Dh.childNodes.length;while(Dc--){if(Dh.childNodes[Dc].nodeType==1){P(Dh.childNodes[Dc],true)}}}};API.purgeListeners=P;var Ae=(function(){if(Function.prototype.call){return function(Dd,Dc,Db,Da){return Dd.call(Dc,Db,Da)}}return function(Dd,Dc,Db,Da){Dc.__mylibevent=Dd;var De=Dc.__mylibevent(Db,Da);Dc.__mylibevent=null;return De}})();var Bk={},Aw={};function BG(Db,Dc){var Da=F(Db);return !!(Aw[Da]&&Aw[Da][Dc])}function p(Dc,Dd,Db){var Da=F(Dc);Aw[Da]=Aw[Da]||{};if(!Aw[Da][Dd]){Aw[Da][Dd]=Db;return true}return false}function BV(Dc,Dd){var Db,Da=F(Dc);if(Aw[Da]&&Aw[Da][Dd]){Db=Aw[Da][Dd];Aw[Da][Dd]=null}return Db}function AB(Dc,Dd){var Da,Db=BV(Dc,Dd);if(Db){for(Da in Db){if(A(Db,Da)){Cq(Dc,Da,Db[Da])}}}}var DW,AS,AF,Bn,DZ;if(Q){q=function(Da){return(Da.type=="keypress")?Da.charCode||Da.keyCode||Da.which:Da.which||Da.keyCode};API.getKeyboardKey=q;At=function(Da){if(Da.stopPropagation){Da.stopPropagation()}else{Da.cancelBubble=true}};API.cancelPropagation=At;BU=function(Da){if(Da.preventDefault){Da.preventDefault()}if(global.event){global.event.returnValue=false}return false};API.cancelDefault=BU;A9=function(Db){var Da={};if(typeof Db.which!="undefined"){Da.left=(Db.which==1);Da.middle=(Db.which==2);Da.right=(Db.which==3)}else{Da.left=(Db.button&1);Da.middle=(Db.button&4);Da.right=(Db.button&2)}return Da};API.getMouseButtons=A9;B1=function(Da){return(Da.target)?((Da.target.nodeType==3)?Da.target.parentNode:Da.target):Da.srcElement};API.getEventTarget=B1;A5=function(Da){if(Da.relatedTarget){return(Da.relatedTarget.nodeType==3)?Da.relatedTarget.parentNode:Da.relatedTarget}if(Da.srcElement){if(Da.srcElement==Da.fromElement){return Da.toElement}if(Da.srcElement==Da.toElement){return Da.fromElement}}return null};API.getEventTargetRelated=A5;if(typeof X!="undefined"){AF=function(Db,Da){return(Da&&Db.title)?X(Db.title):X("")}}Bn=function(Da,Dd,Dc,Db){return function(Df){var De=Df.type=="mouseover"||Df.type=="focus";Ae((De)?Da:Dd,this,Df);if(Dc&&AF){AF(Db,De)}}};DZ=function(Da,Dd,Dc,Db){return function(Dj){var De=A5(Dj);var Di=B1(Dj);var Dh=Dj.type=="mouseover"||Dj.type=="focus";var Dg=Db!=De&&(De&&CG(Db,De));var Df=Di&&Db!=Di&&CG(Db,Di);if(Dg&&Df){return }if(De==Db&&Df||Di==Db&&Dg){return }Ae((Dh)?Da:Dd,this,Dj);if(Dc&&AF){AF(Db,Dh)}}};if(CG){DW=function(De,Db,Dg,Da,Df,Dd){var Dh=(typeof A7!="undefined"&&A7("*",De).length)?DZ(Db,Dg,Dd,De):Bn(Db,Dg,Dd,De);var Dc={mouseover:Dh,mouseout:Dh};Q(De,"mouseover",Dh,Da);Q(De,"mouseout",Dh,Da);if(Df){Q(De,"focus",Dh,Da);Q(De,"blur",Dh,Da);Dc.focus=Dc.blur=Dh}p(De,"roll",Dc)};API.attachRolloverListeners=DW;AS=function(Db,Da){AB(Db,"roll")};API.detachRolloverListeners=AS}}var DV,BR;var B8,Az,DB;var DS,C4;var DM;var DC;var Ca,Ad,DE,M,C2,z;var Co,CR,Cv,a,I;var CZ;var Al;var K=function(Db,Dd,Da,Dc){return((Db[0]>=Da[0])&&(Db[0]<=Da[0]+Dc[0])&&(Db[1]>=Da[1])&&(Db[1]<=Da[1]+Dc[1])&&(Db[0]+Dd[0]<=Da[0]+Dc[0])&&(Db[1]+Dd[1]<=Da[1]+Dc[1]))};var AO=function(Db,Dd,Da,Dc){return(((Db[1]>=Da[1])&&(Db[1]<=Da[1]+Dc[1]))||((Db[1]<Da[1])&&(Db[1]+Dd[1]>Da[1])))&&(((Db[0]>=Da[0])&&(Db[0]<=Da[0]+Dc[0]))||((Db[0]<Da[0])&&(Db[0]+Dd[0]>Da[0])))};var c=function(Dd,Dc,Db,Da){if(Dc[0]<Da[0]){Dd[0]+=(Da[0]-Dc[0])}if(Dc[1]<Da[1]){Dd[1]+=(Da[1]-Dc[1])}if(Dc[0]+Db[0]>Da[0]+Da[2]){Dd[0]+=(Da[0]+Da[2]-(Dc[0]+Db[0]))}if(Dc[1]+Db[1]>Da[1]+Da[3]){Dd[1]+=(Da[1]+Da[3]-(Dc[1]+Db[1]))}};var BS=function(Dd,Db,Dc,Da){if(Db[0]+Dc[0]>Da[0]+Da[2]){Dd[0]+=(Da[0]+Da[2]-(Db[0]+Dc[0]))}if(Db[1]+Dc[1]>Da[1]+Da[3]){Dd[1]+=(Da[1]+Da[3]-(Db[1]+Dc[1]))}};var Cp,B6,Bp,BI;var CV,BT,Bs,h;var Bx;var E;var AA;var Bv;var By,Bd,CW,b,Cl,AD,Aq,T,t,BF,BN,AX,BL,An;var DH,Ag,CF;var B9;var DL;var Br;var B,f;var C1,Ac,Cn,BD={};if(DA){DA(function(){var Dz,EB;DV=function(ER){ER=ER||global.document;if(Ai(ER,"body")){return ER.body}if(typeof A7=="function"){return A7("body",ER)[0]||null}return null};API.getBodyElement=DV;Dz=DV();BR=function(ER){ER=ER||global.document;return(ER.documentElement&&(!ER.compatMode||ER.compatMode.indexOf("CSS")!=-1))?ER.documentElement:DV(ER)};API.getContainerElement=BR;EB=BR();var Dv;var Do;var EO,EJ;function D2(ES,ER,ET){if(ES){if(ES>ET[0]){ES=ET[0]}if(ES<0){ES=0}}if(ER){if(ER>ET[1]){ER=ET[1]}if(ER<0){ER=0}}return[ES,ER]}function Dd(ER){if(!ER||ER==global.document){return global}return(y)?y(ER):null}var Dj;Ca=(function(){if(typeof global.pageXOffset=="number"){return function(ET){var EU=Dd(ET);return(EU)?[EU.pageYOffset,EU.pageXOffset]:null}}function ES(EV,EU,ET){return(EV&&(EV.scrollTop||EV.scrollLeft))&&(Dj=function(EW){return[EW[EU].scrollTop,EW[EU].scrollLeft]})(ET)}function ER(EU,ET){return(EU.scrollTop!=ET._scrollPositionSetLast[0]||EU.scrollLeft!=ET._scrollPositionSetLast[1])&&(Ca=API.getScrollPosition=function(){return[EU.scrollTop,EU.scrollLeft]})()}if(global.document.expando||typeof global.document.expando=="undefined"){return function(EU){if(Dj){return Dj(EU||global.document)}var ET=DV(EU);var EV=BR(EU);EU=EU||global.document;if(!EU._scrollPositionSetLast){EU._scrollPositionSetLast=[]}return((typeof EU._scrollPositionSetLast[0]=="number"&&(ER(EV,EU)||ER(ET,EU)))||ES(EU.documentElement,"documentElement",EU)||ES(ET,"body",EU))||[0,0]}}})();API.getScrollPosition=Ca;C2=(function(){var ET,ES;var ER=(function(){if(n(global,"scrollTo")){return function(EW,EV,EU){var EX=arguments[3]||Dd(EU);if(EX){EX.scrollTo(ET[1],ET[0])}}}if(global.document.expando||typeof global.document.expando=="undefined"){if((EB&&typeof EB.scrollTop=="number")||(Dz&&typeof Dz.scrollTop=="number")){return function(EX,EW,EV){var EU=DV(EV);var EY=BR(EV);EV=EV||global.document;if(!EV._scrollPositionSetLast){EV._scrollPositionSetLast=[]}if(EU){EY.scrollTop=EU.scrollTop=EV._scrollPositionSetLast[0]=EX;EY.scrollLeft=EU.scrollLeft=EV._scrollPositionSetLast[1]=EW}}}}})();if(ER){return function(EW,EV,EU,EX){ET=(!Ad||EX||(!EW&&!EV))?[EW,EV]:D2(EW,EV,Ad(EU));if(ET[0]===null||ET[1]===null){ES=Ca(EU);if(ET[0]===null){ET[0]=ES[0]}if(ET[1]===null){ET[1]=ES[1]}}ER(ET[0],ET[1])}}})();API.setScrollPosition=C2;Ad=(function(){if(typeof global.scrollMaxX!="undefined"){return function(ER){var ES=Dd(ER);return(ES)?[ES.scrollMaxY,ES.scrollMaxX]:null}}})();API.getScrollPositionMax=Ad;DE=function(ER){return[ER.scrollTop||0,ER.scrollLeft||0]};API.getElementScrollPosition=DE;z=function(ET,ES,ER,EU){var EV=(EU||(!ES&&!ER))?[ES,ER]:D2(ES,ER,M(ET));if(EV[0]!==null){ET.scrollTop=EV[0]}if(EV[1]!==null){ET.scrollLeft=EV[1]}};API.setElementScrollPosition=z;M=function(ER){var ES=Bi(ER);return[ES[4]-ES[2],ES[5]-ES[3]]};Co=function(ES){ES=ES||global.document;var ER=DV(ES);var ET=BR(ES);if(ER&&ET!=ER&&ET.clientWidth===0&&typeof ER.scrollWidth=="number"){ET=ER}return ET};API.getScrollElement=Co;CR=(function(){var EV=Co();var ES=0;var EU,ER,ET;if(typeof global.window.document.clientHeight=="number"){return function(EW){EW=EW||global;return[EW.document.clientHeight,EW.document.clientWidth]}}if(EV&&typeof EV.clientHeight!="undefined"&&EV.clientHeight){return function(Ec){Ec=Ec||global;var EY,Ee;var Eg=Co(Ec.document);var EZ=Eg.clientWidth;if(typeof CA=="function"){EY=CA(Eg);if(EY){EZ+=EY.Left+EY.Right}}if(typeof Cf=="function"){Ee=Cf(Eg)}var Ed,Eb,Ef;var EW=global.innerWidth;var EX=EZ;if(Ee&&(Ee.Left||Ee.Right)){if(!ER){ER=((Ee.Left||Ee.Right)&&EZ==Eg.offsetWidth&&Eg.offsetWidth!=EW)}if(ER){EX+=Ee.Left+Ee.Right}}if(!ES&&EW&&EW>EX){ES=EW-EX}EU=!((Eg.offsetWidth||0)-EZ);Ed=Eg.clientWidth;if(EU&&EY&&(EY.Left||EY.Right)){Ed+=EY.Left+EY.Right}if(ER&&Ee&&(Ee.Left||Ee.Right)){Ed+=Ee.Left+Ee.Right}Eb=Eg.clientHeight;if(EU&&EY&&(EY.Top||EY.Bottom)){Eb+=EY.Top+EY.Bottom}if(ER&&Ee&&(Ee.Top||Ee.Bottom)){Eb+=Ee.Top+Ee.Bottom}Ef=!(ES&&Eg.scrollWidth-Ed<=ES);ET=((EY)?EY.Top+EY.Bottom:0)+((Ee)?Ee.Top+Ee.Bottom:0)+Eg.clientHeight==Eg.scrollHeight;if(ET&&!ES&&EZ>EW){var Ea=DV(Ec.document);return[Ea.clientHeight,Eg.clientWidth]}return[(Ec.innerHeight&&ES&&((ET||((Ef)&&Ec.innerHeight-Eb>=ES))))?(Ec.innerHeight-((Ef)?ES:0)):Eb,Ed]}}if(typeof global.innerHeight!="undefined"){return function(EW){EW=EW||global;return[EW.innerHeight,EW.innerWidth]}}})();API.getViewportSize=CR;var Ds,D4=DX();var ED,D8;if(D4&&n(global.document,"getBoxObjectFor")&&typeof m=="function"&&typeof Ah=="function"){(function(){var ES=Ah(D4);var ER=m(D4);var ET=global.document.getBoxObjectFor(D4);if(!ET){return }if((ES[0]||ES[1]||ER[0]||ER[1])&&(ET.y==ES[0]+ER[0]&&ET.x==ES[1]+ER[1])){Ds=function(EV){var EU,EZ;var EW=DX(EV);var EY=m(EW);var EX=Ah(EW);EZ=EY[0]+EX[0];EU=EY[1]+EX[1];return[EZ,EU]}}else{if(ET.x||ET.y){Ds=function(EU){EU=EU||global.document;var EV=DX(EU);var EW=EU.getBoxObjectFor(EV);return[EW.x,EW.y]}}}if(Ds){ED=function(EW,EU){var EV=Ds(EU);EV[0]+=EW[0];EV[1]+=EW[1];return EV};D8=function(EW,EU){var EV=Ds(EU);EV[0]=EW[0]-EV[0];EV[1]=EW[1]-EV[1];return EV};API.viewportToHtmlOrigin=ED;API.htmlToViewportOrigin=D8}})()}var EP=function(ER){var ES=DX(ER);if(!ES||ES.clientWidth===0){ES=DV(ER)}return ES};var Dy=EP();if(Dy){I=(function(){var ER,ES;if(typeof Ah=="function"){ER=Ah(EB);ES=(Dy.offsetWidth==ER[0]+Dy.scrollWidth)}if(typeof Dy.scrollWidth!="undefined"){return function(ET){var EU=EP(ET);return[EU.scrollHeight+((ES)?ER[0]:0),EU.scrollWidth+((ES)?ER[1]:0)]}}if(typeof global.document.width!="undefined"){return function(ET){ET=ET||global.document;return[ET.height,ET.width]}}if(typeof Dy.offsetWidth!="undefined"){return function(ET){var EU=EP(ET);return[EU.offsetHeight,EU.offsetWidth]}}})();API.getViewportScrollSize=I;if(I){a=function(ES){var EV,EU=[0,0];var EW=I(ES);var ER=DV(ES);var ET=DX(ES);if(D8){EU=D8(EU,ES)}ES=ES||global.document;if(n(ES,"getBoxObjectFor")&&ES.width&&ER&&typeof ER.clientWidth=="undefined"){EV=ES.getBoxObjectFor(ET);if(EV&&EV.width&&EV.width!=ES.width){EW[0]+=(EV.height-ER.offsetHeight);EW[1]+=(EV.width-ER.offsetWidth)}}EU[2]=EW[0];EU[3]=EW[1];return EU};API.getViewportScrollRectangle=a}}if(!Ad&&I&&y){Ad=function(ER){var ET=I(ER);var ES=CR(y(ER));ET[0]-=ES[0];ET[1]-=ES[1];return ET};API.getScrollPositionMax=Ad}if(typeof y=="function"){Cv=function(ER){var ES;var ET=(typeof Ca=="function")?Ca(ER):[0,0];ES=[ET[0],ET[1]];if(D8){ES=D8(ES,ER)}var EU=CR(y(ER));ES[2]=EU[0];ES[3]=EU[1];return ES};API.getViewportClientRectangle=Cv}Dy=null;if(C2){API.setScrollPositionTop=function(ER,ES,ET){C2(0,null,ER,null,ES,ET)};API.setScrollPositionLeft=function(ER,ES,ET){C2(null,0,ER,null,ES,ET)};if(Ad){API.setScrollPositionBottom=function(ER,ES,ET){C2(Ad(ER)[0],null,ER,true,ES,ET)};API.setScrollPositionRight=function(ER,ES,ET){C2(null,Ad(ER)[1],ER,true,ES,ET)}}API.setScrollPositionRelative=function(EU,ES,ER,ET,EW){var EV=Ca(ER);if(EU!==null){EU+=EV[0]}if(ES!==null){ES+=EV[1]}C2(EU,ES,ER,false,ET,EW)}}API.setElementScrollPositionTop=function(ES,ER,ET){z(ES,0,null,null,ER,ET)};API.setElementScrollPositionLeft=function(ES,ER,ET){z(ES,null,0,null,ER,ET)};API.setElementScrollPositionBottom=function(ES,ER,ET){z(ES,M(ES)[0],null,true,ER,ET)};API.setElementScrollPositionRight=function(ES,ER,ET){z(ES,null,M(ES)[1],true,ER,ET)};API.setElementScrollPositionRelative=function(EU,ET,ER,ES,EW){var EV=DE(EU);if(ET!==null){ET+=EV[0]}if(ER!==null){ER+=EV[1]}z(EU,ET,ER,false,ES,EW)};Br=(function(){var EZ;var EX,Ec,ET,EW,EU,EV;if(typeof CI=="boolean"&&CI&&CX&&Dz&&Dz.appendChild&&Dz.removeChild){var ER=CX("div");var ES=CX("div");if(ES&&ER){EX=(function(){CD(ER,{position:"absolute",visibility:"hidden",left:"0",top:"0",padding:"0",border:"solid 1px black","overflow":"auto"});CD(ES,{position:"static",left:"0",top:"0"});ER.appendChild(ES);Dz.appendChild(ER);EZ=ES.offsetLeft==-1;Dz.removeChild(ER);ER.removeChild(ES);return EZ})();Ec=(function(){var Ed=m(Dz)[1];if(Ed){Dz.appendChild(ER);EZ=ER.offsetLeft==-Ed;Dz.removeChild(ER);return EZ}})();ET=(function(){CD(ER,{position:"static",height:"0",width:"0",border:"none"});CD(ES,{height:"0",width:"0"});ER.appendChild(ES);Dz.appendChild(ER);EZ=ES.offsetParent===Dz;Dz.removeChild(ER);ER.removeChild(ES);return EZ})();if(n(global.document,"createTextNode")){EW=(function(){var Ee=CX("span");var Ed=global.document.createTextNode("Initializing...");Ee.appendChild(Ed);ES.appendChild(Ee);CD(ER,{overflow:"auto"});ER.appendChild(ES);Dz.appendChild(ER);var Ef=Ee.offsetTop;ER.scrollTop=1;EZ=Ef!=Ee.offsetTop;Dz.removeChild(ER);return EZ})()}EU=(function(){CD(ER,{position:"absolute",visibility:"hidden",left:"0",top:"0",padding:"0",border:"solid 1px"});CD(ES,{position:"absolute",left:"0",top:"0",margin:"0"});ER.appendChild(ES);Dz.appendChild(ER);EZ=ES.offsetLeft==1;Dz.removeChild(ER);ER.removeChild(ES);return EZ})();var Ea=AC(Dz,"borderLeftWidth");if(Ea){EV=(function(){ER=API.createElement("div");CD(ER,{position:"static",visibility:"hidden",padding:"0",border:"0"});if(Dz.firstChild){Dz.insertBefore(ER,Dz.firstChild)}else{Dz.appendChild(ER)}EZ=ER.offsetLeft==Ea;Dz.removeChild(ER);return EZ})()}ES=ER=null}}function Eb(Ee,Ed){var Ei,Eh,Eg,Ef=[0,0,0,0];var Ej=Cb(Ee,"position");if(Ej!="fixed"){while(Ee.parentNode&&Ee.parentNode!==Ed){Ee=Ee.parentNode;Ei=Cb(Ee,"position")||"static";Eh=Cb(Ee,"overflow");if(!((Ei=="static"&&Ej=="absolute")||Ej=="fixed")){if((Ee.scrollTop||Ee.scrollLeft)&&Eh!="visible"){Ef[0]-=(Ee.scrollTop||0);Ef[1]-=(Ee.scrollLeft||0);if(EX){Eg=m(Ee);Ef[2]+=Eg[0];Ef[3]+=Eg[1]}}}}}return Ef}function EY(Ee,Ei,En){var Eq=0,Eo=0,Ej,Em,Ep;var Ed,Ek=[0,0,0,0];var Eh=Ee;var Eg=O(Ee);if(Eg){Ej=DV(Eg)}if(!Ee.offsetParent&&typeof DM=="function"){return DM(Ee,null)}if(Ee.offsetParent===Ej){if(Ei&&ET){var Ef=EY(Ei);Eo=-Ef[0];Eq=-Ef[1]}}if(Ei&&(EU||(ET&&Ee.offsetParent==Ej))){Em=m(Ei);Eo-=Em[0];Eq-=Em[1]}if(typeof Cb=="function"){var El=Cb(Ee,"display");Ek=Eb(Ee,Ej);if(En){if(EW&&El=="inline"){Eo-=Ek[0];Eq-=Ek[1]}}else{if((!EW||(!El||El!="inline"))){Eo+=Ek[0];Eq+=Ek[1]}}if(EX){Eo+=Ek[2];Eq+=Ek[3]}}if(typeof Cb=="function"&&Eg&&typeof Ca=="function"){Ep=Cb(Ee,"position");if(Ep=="fixed"){Ed=Ca(Eg);Eq+=Ed[1];Eo+=Ed[0]}}do{if(Ee!==Ej||(Ee.offsetLeft>0&&Ee.offsetTop>0)){if(Ee.offsetLeft){Eq+=Ee.offsetLeft}if(Ee.offsetTop){Eo+=Ee.offsetTop}}if(!EU&&Ee!==Eh&&(!EV||Ee!==Ej)){EZ=m(Ee);Eo+=EZ[0];Eq+=EZ[1]}if((Ep=="absolute"||Ep=="fixed")&&Ee.offsetParent===Ej){if(Ec){EZ=m(Ej);Eo+=EZ[0];Eq+=EZ[1]}Ee=null}else{Ee=Ee.offsetParent}}while(Ee&&Ee!==Ei);return[Eo,Eq]}if(n(global.document,"getBoxObjectFor")){return function(Ee,Eg,Em){var Eo,El,Ei,Ek,Ed,Eh;var Ep=(Eg)?Br(Eg):[0,0];var Ef=O(Ee);var Ej=DV(Ef);var En=Ef.getBoxObjectFor(Ee);if(!En){return EY(Ee,Eg,Em)}Eo=[En.y,En.x];if(typeof Cb=="function"){Ei=Ee;while(Ei&&Ei.nodeType==1&&Eh!="fixed"){Eh=Cb(Ei,"position");Ei=Ei.parentNode}if(Eh=="fixed"){Ed=(typeof Ca=="function")?Ca(Ef):[0,0];Eo[0]+=Ed[0];Eo[1]+=Ed[1];if(D8){Eo=D8(Eo,Ef)}}else{if(!Em){Ek=Eb(Ee,Ej);Eo[0]+=Ek[0]+Ek[2];Eo[1]+=Ek[1]+Ek[3]}}}El=m(Ee);return[Eo[0]-El[0]-Ep[0],Eo[1]-El[1]-Ep[1]]}}if(Dz&&n(Dz,"getBoundingClientRect")){return function(Ef,Eh,Ej){if(Eh){return EY(Ef,Eh,Ej)}else{var Em,Ek;var El=Ef.getBoundingClientRect();var Eg=O(Ef);var Ei=DV(Eg);var Ee=DX(Eg);var Ed=[0,0];Ek=El.top;Em=El.left;if(Ee){if(Ei&&Ee!=Ei&&Ee.clientWidth===0&&typeof Ei.clientTop=="number"){Ee=Ei}if(Ee.clientTop){Ek-=Ee.clientTop}if(Ee.clientLeft){Em-=Ee.clientLeft}if(Ee.scrollTop||Ee.scrollLeft){Ed=[Ee.scrollTop,Ee.scrollLeft]}}if(typeof Ca=="function"){Ed=Ca(Eg)}Ek+=Ed[0];Em+=Ed[1];return[Ek,Em]}}}return EY})();API.getElementPosition=Br;if(C2){API.setScrollPositionToElement=function(ET,EW,ES,EV){var ER,EU;if(n(ET,"scrollIntoView")&&!EW&&!ES){ET.scrollIntoView()}else{ER=O(ET);EU=Br(ET);if(ED){EU=ED(EU,ER)}EW=EW||[];C2(EU[0]-(EW[0]||0),EU[1]-(EW[1]||0),ER,false,ES,EV)}};API.setScrollPositionCenterElement=function(ES,ER,ET){var EV=CR(O(ES));var EU=Bi(ES);API.setScrollPositionToElement(ES,[Math.round((EV[0]-EU[0])/2),Math.round((EV[1]-EU[1])/2)],ER,ET)}}API.setElementScrollPositionToElement=function(ET,ES,EW,ER,EV){var EU;EW=EW||[];EU=(Cz(ES)===ET)?Bs(ES,ET):Br(ES,ET);z(ET,EU[0]-(EW[0]||0),EU[1]-(EW[1]||0),false,ER,EV)};API.setElementScrollPositionCenterElement=function(EV,ET,ES,EW){var EU,ER,EX;EX=Bi(EV);EU=EX[2];ER=EX[3];EX=Bi(ET);z(EV,ET,[Math.round((EU-EX[0])/2),Math.round((ER-EX[1])/2)],false,ES,EW)};CZ=(function(){var ES,ET,ER;return function(EU){if(typeof EU.pageX=="number"){CZ=API.getMousePosition=function(EV){return[EV.pageY,EV.pageX]};return CZ(EU)}if(typeof EU.clientX=="number"&&typeof Ca=="function"){CZ=API.getMousePosition=function(EW,EV){EV=EV||O(B1(EW));if(EV){ER=DV(EV);ET=BR(EV);if(ER&&ET!=ER&&ET.clientWidth===0&&typeof ER.scrollWidth=="number"){ET=ER}ES=Ca(EV);return[EW.clientY+ES[0]-(ET.clientTop||0),EW.clientX+ES[1]-(ET.clientLeft||0)]}};return CZ(EU)}}})();API.getMousePosition=CZ;if(Q){C1=(function(){var FB,FG,E9;var Er,FH,FC,E7,Eb,Ei,E4,Eq,E1,Ex,Em,Ew,FD,E5,ES,Ep,E2,FA,FF,Ed,Et;var Ey,FE,Eh,Ez,Ec,ET,E6;var Eu,ER,Ev,Eo,E3,El,EZ={};var Ee;var Ej,EY,Es;var EW;function E0(FK,FJ){var FI;if(Ey){if(Eb=="move"){FI=[];FB=Ez.length;while(FB--){if(!AO(FJ,Eo,FE[Ez[FB]],Eh[Ez[FB]])){FI[FI.length]=FB}}if(FI.length){if(Em){Ae(Em,Et,FI)}}Ez=[];FB=Ey.length;while(FB--){if(AO(FJ,Eo,FE[FB],Eh[FB])){Ez[Ez.length]=FB}}if(Ez.length){if(Ex){Ex(Er,FK,Ez)}if(Ec){if(ET){E6=true}return false}}}}if(FA){switch(Eb){case"move":if(!K(FJ,Eo,[FF[0],FF[1]],[FF[2],FF[3]])){c(FK,FJ,Eo,FF)}break;case"size":if(!K(E3,FJ,[FF[0],FF[1]],[FF[2],FF[3]])){BS(FK,FJ,E3,FF)}}}return !Ei||!Ae(Ei,Et,FK,FJ)}function Ef(){Ee=true;if(FD&&typeof AQ=="function"){AQ(Er,FD)}if(!Ax(Er)){CV(Er);Ev=DM(Er)}if(Ey){Ez=[];FE=[];Eh=[];FB=Ey.length;while(FB--){if(Ai(Ey[FB],"offsetParent")){FE[FB]=Br(Ey[FB]);Eh[FB]=Bi(Ey[FB])}}}}function EV(){Al(Er);Ee=true}function Ea(FI){var FJ;if(!Ee){if(E1){Ae(E1,Et)}EV()}E9=CZ(FI,FC);if(E9){FG=[(E2=="horizontal")?null:(ER[0]+(E9[0]-Eu[0])),(E2=="vertical")?null:(ER[1]+(E9[1]-Eu[1]))];if(FA){FJ=[(E2=="horizontal")?null:(Eo[0]+(E9[0]-Eu[0])),(E2=="vertical")?null:(Eo[1]+(E9[1]-Eu[1]))]}if(E0(FG,FJ)){if(FG[0]<0){FG[0]=0}if(FG[1]<0){FG[1]=0}AI(Er,FG[0],FG[1])}}return BU(FI)}function E8(FI){if(!Ee){if(E1){Ae(E1,Et)}Ee=true}E9=CZ(FI,FC);if(E9){FG=[(E2=="horizonal")?null:(El[0]+(E9[0]-Eu[0])),(E2=="vertical")?null:(El[1]+(E9[1]-Eu[1]))];if(E0(FG)){z(Er,FG[0],FG[1])}}return BU(FI)}var Eg;function EU(FI){var FJ;if(!Ee){if(E1){Ae(E1,Et)}Ef()}E9=CZ(FI,FC);if(E9){FG=[(E2=="horizontal")?null:(Ev[0]+(E9[0]-Eu[0])),(E2=="vertical")?null:(Ev[1]+(E9[1]-Eu[1]))];if(Ey||FA){FJ=[(E2=="horizontal")?null:(E3[0]+(E9[0]-Eu[0])),(E2=="vertical")?null:(E3[1]+(E9[1]-Eu[1]))]}if(E0(FG,FJ)){Bb(Er,FG[0],FG[1])}else{if(E6){Eg()}}}return BU(FI)}Eg=function(){if(Eq){Ae(Eq,Et)}if(!Ed){Cq(FC,"mousemove",(Eb=="size")?Ea:(Eb=="scroll")?E8:EU);Cq(FC,"mouseup",Eg)}FC.onmousedown=Ej;FC.onkeydown=EY;FC.onkeyup=Es;if(Ee){if(!Ew||!Ae(Ew,Et,Ez)){if(Ep){CD(Er,{position:EZ.position,left:EZ.left,top:EZ.top,width:EZ.width,height:EZ.height});if(Eb=="scroll"){z(Er,El[0],El[1])}}}if(Eb=="move"&&FD&&typeof AQ=="function"){AQ(Er,1)}}FC=null;E7=null;Er=null;FH=null;Ez=[];Ee=false};function Ek(FJ){if(E7){FJ=FJ||E7.event}if(!FJ){return true}var FI=q(FJ);var FK=[];switch(Eb){case"size":if(!Ee){EV()}FG=DC(Er);if(FA){FK=Bi(Er)}break;case"scroll":Ee=true;FG=DE(Er);break;case"move":if(!Ee){Ef()}FG=DM(Er);if(Ey||FA){FK=Br(Er)}}if(FJ.type=="keydown"){switch(FI){case 37:FG[1]-=E5;FK[1]-=E5;break;case 38:FG[0]-=E5;FK[0]-=E5;break;case 39:FG[1]+=E5;FK[1]+=E5;break;case 40:FG[0]+=E5;FK[0]+=E5;break;case 13:Eg()}if(FI!=13){E5+=ES;if(E2=="vertical"){FG[1]=null}if(E2=="horizontal"){FG[0]=null}if(E0(FG,FK)){switch(Eb){case"size":if(FG[0]<0){FG[0]=0}if(FG[1]<0){FG[1]=0}AI(Er,FG[0],FG[1]);break;case"scroll":z(Er,El[0]+FG[0]-Eu[0],El[1]+FG[1]-Eu[1]);break;case"move":Bb(Er,FG[0],FG[1])}}else{if(E6){Eg()}}}}else{E5=EW}return BU(FJ)}function EX(FI){if(E7){FI=FI||E7.event}if(FI){BU(FI)}return false}function En(FM,FK,FI,FL){var FO,FN,FJ;Ed=FI.keyboardOnly;FN=A9(FM);if(!Ed&&(FN.right||FN.middle||FN.left)&&!A9(FM)[FI.button||"left"]){return true}Er=FK;FC=O(FK);E7=(y)?y(FC):null;if(!E7&&FC==global.document){E7=global}FH=FL;Et=FI.callbackContext||Er;E4=FI.ondraginit;Eq=FI.ondragterminate;E1=FI.ondragstart;Ei=FI.ondrag;Ex=FI.ondragover;Em=FI.ondragout;Ew=FI.ondrop;if(typeof Br=="function"){Ey=FI.targets;FA=FI.constrain}else{Ey=FA=false}Ec=FI.targetObstacles;E6=false;ET=FI.obstaclesFatal;Ep=FI.revert;E2=FI.axes;FD=FI.ghost;if(typeof FD=="undefined"){FD=0.5}Eb=FI.mode||"move";E5=EW=FI.speed||10;ES=FI.accelerate||1;if(FA){FJ=Cz(FK);if(FJ){FO=Bi(FJ);FF=[0,0,FO[2],FO[3]]}else{if(Cv){FF=Cv()}}}EZ.position=Er.style.position;EZ.left=Er.style.left;EZ.top=Er.style.top;EZ.width=Er.style.width;EZ.height=Er.style.height;Ev=DM(Er);if(Eb=="size"){ER=DC(Er)}if(Ey||FA){E3=Br(Er);Eo=Bi(Er)}if(Eb=="scroll"){El=DE(Er)}Eu=CZ(FM);if(!Ed){Q(FC,"mousemove",(Eb=="size")?Ea:(Eb=="scroll")?E8:EU);Q(FC,"mouseup",Eg)}Ej=FC.onmousedown;FC.onmousedown=EX;EY=FC.onkeydown;FC.onkeydown=Ek;Es=FC.onkeyup;FC.onkeyup=Ek;if(E4){Ae(E4,Et)}return BU(FM)}return function(FK,FM,FI){FI=FI||{};var FO=FI.mode||"move";var FL,FN=FM||FK;var FJ=F(FN);if(!BD[FJ]&&(FO=="move"&&(Ax(FK)||typeof CV=="function")||(FO=="size"&&typeof DC=="function")||FO=="scroll")){FL=function(FP){if(FN==Er){return }if(Er){Eg()}En(FP,FK,FI,FM)};Q(FN,"mousedown",FL);BD[FJ]=FL;return true}return false}})();API.attachDrag=C1;Ac=function(ES,ET){var EU=ET||ES;var ER=F(EU);if(BD[ER]){Cq(EU,"mousedown",BD[ER]);BD[ER]=null}};API.detachDrag=Ac}if(typeof fireEvent=="function"){Cn=function(ER,ET,ES){fireEvent(ET||ER,"mousedown",null,ES)};API.initiateDrag=Cn}var EN,EH,EM,EG;var Dg,D3,Dm,Dr,Dc,Df,EE,EQ,Dt,EI,Dl;var D6,D7,Da,Dn;if(CX){D6={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"};D7={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"]};Da={};Dn={};D3=function(){global.clearTimeout(EI);EI=0};Dm=function(){global.clearTimeout(Dl);Dl=0};Dr=function(ES){var ER=DV();ES.src="";if(ES.data){ER.removeChild(ES);ES.data="";ER.appendChild(ES)}};Dg=function(ER){if(Da.defaultType||Dn.defaultType){return Da[ER]||Dn[ER]}return true};Dt=function(){if(EI){D3();Dr(EE)}if(Dl){Dm();Dr(EQ)}};Dc=function(){return !!(EI||Dl)};Df=(function(){function ES(Ee){return Da[Ee]||Dn[Ee]}function EW(Ef){var Eg=new RegExp("\\.([^\\.]*)$");var Ee=Ef.match(Eg);return(Ee&&Ee.length==2)?Ee[1].toLowerCase():null}function ET(Eg){var Ee,Ef;EN=0;EH=Eg.length;while(EN<EH&&!Ee){Ef=EW(Eg[EN]);if(Ef&&ES(Ef)){Ee=Eg[EN]}EN++}return Ee}function ER(Ee){return !!D7[Ee]}function Eb(Eg){var Ee=CX("object");var Ef=CX("param");if(Ee&&Ef){Ef.name="autostart";Ef.value="true";Ee.appendChild(Ef);Ef=CX("param");Ef.name="autoplay";Ef.value="true";Ee.appendChild(Ef);Ee.type=Eg;Ee.height="0";Ee.width="0";if(typeof CD=="function"){CD(Ee,{visibility:"hidden",position:"absolute",left:"0",top:"0",height:"0",width:"0"})}Ef=null;return Ee}}function EV(Eg,Ef,Ee){return global.setTimeout(function(){Dr((Ef)?EQ:EE);if(Ef){Dm()}else{D3()}if(Ee){Ee()}},Eg||10000)}function EU(Ef,Eg){var Ee;for(Ee in Ef){if(A(Ef,Ee)){if(typeof Ef[Ee]=="string"){if(BO(Ef[Ee])){Eg[Ee]=Ef[Ee]}}else{EM=0;EG=Ef[Ee].length;while(EM<EG&&!Eg[Ee]){if(BO(Ef[Ee][EM])){Eg[Ee]=Ef[Ee][EM]}EM++}}if(!Eg.defaultType&&Eg[Ee]){Eg.defaultType=Eg[Ee]}}}}function Ed(Eg,Ef,Ee){if(Ef){if(Dl){Dm()}Dl=EV(Eg,true,Ee)}else{if(EI){D3()}EI=EV(Eg,false,Ee)}}function Ea(){API.stopAudio=Dt;API.isPlayingAudio=Dc;API.audioFileTypeSupported=Dg}if(Dz&&n(Dz,"appendChild")&&n(Dz,"removeChild")&&Ai(global,"navigator")&&((n(global.navigator,"plugins")&&typeof global.navigator.plugins.length=="number"&&global.navigator.plugins.length)||(n(global.navigator,"mimeTypes")&&typeof global.navigator.mimeTypes.length=="number"&&global.navigator.mimeTypes.length))){EU(D6,Da);EU(D7,Dn);if(Da.defaultType||Dn.defaultType){if(Da.defaultType){EE=Eb(Da.defaultType);if(EE&&!API.deferAudio){Dz.appendChild(EE)}}if(Dn.defaultType){EQ=Eb(Dn.defaultType);if(EQ&&!API.deferAudio){Dz.appendChild(EQ)}}if(EE||EQ){Ea()}return function(Ee,Ej,El,Eh,Em){var Ei,Ek=(typeof Ee=="string")?Ee:ET(Ee);var En=DV();var Ef,Eg;if(Ek){Eh=Eh||EW(Ek);if(Eh){Eg=ER(Eh);Ef=(Eg)?Dn[Eh]:Da[Eh];if(Ef){Ei=(Eg&&EQ)?EQ:EE;if(Ei){if(Ei.parentNode){En.removeChild(Ei)}Ei.type=Ef;Ei.data=Ek;En.appendChild(Ei);Ed(Ej,Eg,El);return true}}}}return false}}return }var EZ,Ec,EX,EY;if(!DD()&&typeof v=="function"){EZ=v();if(EZ&&n(EZ,"appendChild")){EX=function(Ee){return(Ee)?(-2000*((100-Ee)/100)):-10000};API.preloadAudio=function(Ee){var Ef=CX("bgsound");if(Ef){Ef.src=Ee;Ef.volume=-10000;EZ.appendChild(Ef);Ef=null}};API.adjustVolume=function(Ee){EQ.volume=EE.volume=EX(Ee)};EE=CX("bgsound");EQ=CX("bgsound");if(EE||EQ){Ea()}EY=function(){if(EE){EZ.appendChild(EE)}if(EQ){EZ.appendChild(EQ)}};if(API.deferAudio){Ec=true}else{EY()}return function(Ej,El,Ee,Eh,Ei){if(Ec){EY();Ec=false}var Ef=(typeof Ej=="string")?Ej:Ej[0];Eh=Eh||EW(Ef);var Ek=ER(Eh);var Eg=(Ek&&EQ)?EQ:EE;if(Eg){Eg.src=Ef;if(typeof Ei!="undefined"){Eg.volume=EX(Ei)}Ed(El,Ek,Ee);return true}}}}})();if(EE||EQ){API.playAudio=Df}}Cp=function(ER,ET,ES){return K(Br(ER),Bi(ER),ET,ES)};B6=function(ES,ER){return K(Br(ES),Bi(ES),Br(ER),Bi(ER))};API.elementContainedInElement=B6;Bp=function(ER,ET,ES){return(AO(Br(ER),Bi(ER),ET,ES))};BI=function(ES,ER){return(AO(Br(ES),Bi(ES),Br(ER),Bi(ER)))};API.elementOverlapsElement=BI;if(Cy){if(Dz&&D&&n(Dz,"appendChild")&&typeof CX=="function"){EO=CX("div");if(EO){CD(EO,{height:"0",width:"0",padding:"0",top:"0",left:"0",position:"absolute",visibility:"hidden",border:"solid 1px"});Dz.appendChild(EO);Dv=(D(EO,"height")=="2px");EJ=CX("div");if(EJ){CD(EJ,{margin:"0",position:"absolute"});EO.appendChild(EJ);Do=(D(EJ,"left")=="1px");Dz.removeChild(EO);EJ=null}EO=null}}DC=function(ER){var ES=[];ES[0]=AC(ER,"height");ES[1]=AC(ER,"width");if((ES[0]===null||ES[1]===null||Dv)){if(typeof ER.offsetHeight=="number"){ES[0]=ER.offsetHeight;ES[1]=ER.offsetWidth;ER.style.height=ES[0]+"px";ER.style.width=ES[1]+"px";CJ(ER,ES)}else{return null}}return ES};API.getElementSizeStyle=DC;Al=function(ER,ES){var ET;if(typeof ER.height!="number"){ET=Cb(ER,"display");if(!ET||ET=="inline"){if(typeof Az=="function"){Az(ER,true);if(ER.style.display=="inline"){ER.style.display=ES||"block"}return true}return false}}return true};DM=(function(){var ER;if(Dz&&typeof Dz.offsetLeft=="number"){ER=function(EU,EW,ES){var EV=EU.offsetLeft;var ET=EU.offsetTop;Bb(EU,EW,ES);if(EV!=EU.offsetLeft){ES-=(EU.offsetLeft-EV)}if(ET!=EU.offsetTop){EW-=(EU.offsetTop-ET)}if(EV!=ES||ET!=EW){Bb(EU,EW,ES)}return[EW,ES]}}return function(EU,ET){var EX=Cb(EU,"position");var ES=AC(EU,"left");var EW=AC(EU,"top");if(ES!==null&&EW!==null&&(!Do||Ax(EU))){return(Do&&ER&&(ES+"px"!=EU.style.left||EW+"px"!=EU.style.top))?ER(EU,EW,ES):[EW,ES]}if(Ai(EU,"offsetParent")&&typeof Br=="function"){ET=(typeof ET=="undefined")?Cz(EU):ET;if(!ET&&EX=="relative"){ES=EW=0}else{var EV=(ET)?Br(EU,ET,true,ET):Br(EU,null,true,ET);EW=EV[0];ES=EV[1]}}else{if(Ax(EU)){ES=EW=0}else{return null}}return(ER)?ER(EU,EW,ES):[EW,ES]}})();API.getElementPositionStyle=DM;B8=(function(){var ER,ET="ADDRESS|BLOCKQUOTE|BODY|DD|DIV|DL|DT|FIELDSET|FORM|IFRAME|I?FRAME|FRAMESET|H\\d|OL|P|UL|CENTER|DIR|HR|MENU|PRE",ES={};var EV,EU;if(Dz&&D&&n(Dz,"appendChild")&&typeof CX=="function"){EU=CX("div");if(EU){CD(EU,{position:"absolute",left:"0",top:"0"});EU.style.position="absolute";Dz.appendChild(EU);EV=CX("table");if(EV){EU.appendChild(EV);if(D(EV,"display")=="block"){ET+="|TABLE|TBODY|TH|TFOOT|TR|TD|COL.*|CAPTION|LI"}else{ES={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"}}Dz.removeChild(EU);EV=null;EU=null}}}ER=new RegExp("^("+ET+")$","i");return function(EW){if(ER.test(EW)){return"block"}return ES[EW]||"inline"}})();if(Cy.display){Az=function(ES,ER,ET){var EU;if(typeof ER=="undefined"){ER=true}if(ER){if(ET){ES.style.display=ET}else{ES.style.display="";if(D){EU=D(ES,ET);if(EU&&EU!="none"){return }}ES.style.display=B8(AZ(ES))}}else{ES.style.display="none"}}}API.presentElement=Az;DB=function(ER,ES){Az(ER,!w(ER),ES)};API.toggleElementPresence=DB;if(Cy.visibility){DS=function(ET,ER,ES){if(typeof ER=="undefined"){ER=true}ES=ES||{};if(ER&&typeof Az!="undefined"){if(ES.skipPresenceCheck||Cb(ET,"display")=="none"){Az(ET,ES.display)}}ET.style.visibility=(ER)?"visible":"hidden";if(!ER&&typeof Az!="undefined"&&ES.removeOnHide){ET.style.display="none"}};API.showElement=DS;C4=function(ES,ER){DS(ES,!BA(ES)||!w(ES),ER)};API.toggleElement=C4}if(Cy.position){h=function(ES,ER){var EU;ER=(typeof ER=="undefined")?Cz(ES):ER;var ET=Cb(ES,"position");if(ET!="relative"){if(ER){EU=Br(ES,ER);Bb(ES,EU[0],EU[1])}else{Bb(ES,0,0)}ES.style.position="relative"}};API.relativeElement=h;CV=function(ES,ER){ER=(typeof ER=="undefined")?Cz(ES):ER;var EV=Br(ES,ER);var EU=DC(ES);var ET=(typeof Ah=="function")?Ah(ES):[0,0];if(EU){AI(ES,EU[0],EU[1])}if(EV){Bb(ES,EV[0]-ET[0],EV[1]-ET[1])}ES.style.position="absolute"};API.absoluteElement=CV}BT=function(ET,ES,ER){var EU=Cb(ET,"position");if(!EU||EU=="static"){if(Cy.position){((!ER||ER=="absolute")?CV:h)(ET,ES);return true}return false}return true};Bs=function(ER,ES){return(Cb(ER,"position")=="relative")?Br(ER,ES,true):DM(ER,ES)};Bx=function(EU,Ec,Eb){var ES,EY,Ee,ET;var EZ,Ea;var Ed=Cz(EU);var EV=O(EU);var EW=(typeof Ah=="function")?Ah(EU):[0,0];var EX=Cb(EU,"position")=="fixed";if(!BT(EU)){return false}if(Ed){EZ=Cz(Ec);if(EZ===Ed){ES=Bs(Ec,EZ)}else{return false}if(typeof Ea.clientWidth=="number"){ET=[0,0,Ea.clientHeight,Ea.clientWidth]}}else{ES=Br(Ec);if(typeof Cv=="function"){ET=Cv(EV)}}EY=Bi(EU);Ee=Bi(Ec);if(ET){switch(Eb){case 1:if(!K([ES[0],ES[1]+Ee[1]+EY[1]],EY,[ET[0],ET[1]],[ET[2],ET[3]])){Eb=3}break;case 2:if(!K([ES[0]+Ee[0]+EY[0],ES[1]],EY,[ET[0],ET[1]],[ET[2],ET[3]])){Eb=0}break;case 3:if(!K([ES[0],ES[1]-EY[1]],EY,[ET[0],ET[1]],[ET[2],ET[3]])){Eb=1}break;case 0:if(!K([ES[1]-EY[1],ES[1]],EY,[ET[0],ET[1]],[ET[2],ET[3]])){Eb=2}}if(Eb==1||Eb==2){ES[1]+=Ee[Eb%2]}else{ES[0]-=Ee[Eb%2]}if(!K(ES,EY,[ET[0],ET[1]],[ET[2],ET[3]])){c(ES,[ES[0],ES[1]],EY,ET)}}if(EX){if(D8){ES=D8(ES,EV)}var ER=(typeof Ca=="function")?Ca(EV):[0,0];ES[0]-=ER[0];ES[1]-=ER[1]}Bb(EU,ES[0]-EW[0],ES[1]-EW[1]);return Eb};API.adjacentElement=Bx;E=function(ES,EX,Eb){var EY,EW;var EU=(typeof Ah=="function")?Ah(ES):[0,0];var EZ=Cz(ES);var Ea=Cz(EX);if(!BT(ES,EZ)){return false}if(EZ){if(EZ===Ea){EY=Bs(EX,Ea)}else{return false}}else{EY=Br(EX);var EV=Cb(ES,"position");if(EV=="fixed"){if(typeof Ca!="undefined"){var ET=O(ES);var ER=Ca(ET);EY[0]-=ER[0];EY[1]-=ER[1]}}}if(Eb){EW=Bi(EX);AI(ES,EW[0],EW[1]);CJ(ES,EW)}Bb(ES,EY[0]-EU[0],EY[1]-EU[1]);return true};API.overlayElement=E;if(Cv){Bv=function(ER,EY){var EV,ET,EX,EU,ES,EW=Cv(ER);EV=ER._sideBars;if(EV){for(ES in EV){if(A(EV,ES)){EU=EV[ES].el;if(EU!=EY){ET=EV[ES].side;EX=Bi(EU);if(BA(EU)&&!EV[ES].autoHide){switch(ET){case"top":EW[0]+=EX[0];EW[2]-=EX[0];break;case"left":EW[1]+=EX[1];EW[3]-=EX[1];break;case"bottom":EW[2]-=EX[0];break;case"right":EW[3]-=EX[1]}}}}}}return EW}}API.getWorkspaceRectangle=Bv;if(Bv){Bd=function(ET,ER){var ES=(typeof Ca=="function")?Ca(ER):[0,0];ET[0]-=ES[0];ET[1]-=ES[1];if(ED){ET=ED(ET,ER)}};BN=function(EW,EV,EX,ET){var EY=Bi(EW);var ES=[EX[0],EX[1],EX[2],EX[3]];var EU=m(EW)[0]||4;var ER=O(EW);if(Cb(EW,"position")=="fixed"){Bd(ES,ER)}switch(EV){case"top":ES[2]=EY[0];if(!ET){ES[0]-=(EY[0]-EU)}break;case"left":ES[3]=EY[1];if(!ET){ES[1]-=(EY[1]-EU)}break;case"bottom":ES[0]=ES[0]+ES[2]-EY[0];ES[2]=EY[0];if(!ET){ES[0]+=(EY[0]-EU)}break;case"right":ES[1]=ES[1]+ES[3]-EY[1];ES[3]=EY[1];if(!ET){ES[1]+=(EY[1]-EU)}}return ES};CW=function(ES){ES=ES||global.document;var EZ,EV,ET,EW,Ea,EU;var ER=Cv(ES);var EY=ES._sideBars;if(EY){EZ=[];for(EV in EY){if(A(EY,EV)){EZ[EZ.length]=EY[EV]}}ES._sideBars=null;ET=EZ.length;for(EV=0;EV<ET;EV++){Ea=EZ[EV];if(Ea){if(Ea.autoHide){Ea.el.style.visibility="hidden"}BL(Ea.el,Ea.side);EU=F(Ea.el);if(Ea.autoHide){var EX=BN(Ea.el,Ea.side,ER);Aa(Ea.el,EX);Ea.el.style.visibility="visible";ES._sideBars[EU].autoHide=true;ES._sideBars[EU].options=Ea.options}}}}EW=API.maximizedElements;if(EW){ER=Bv(ES);for(EV in EW){if(A(EW,EV)&&EW[EV]&&typeof EW[EV]=="object"&&EW[EV].mode!="full"){DH(EW[EV].el,ER,ES)}}}};API.arrangeSideBars=CW;An=function(EU){var ES,EV,ET=F(EU);var ER=O(EU);if(ER&&ER._sideBars&&ER._sideBars[ET]){EV=ER._sideBars[ET];ER._sideBars[ET]=null;CW(ER);for(ES in EV){if(A(EV,ES)){if(EV[ES]){return true}}}ER._sideBars=null}};API.unSideBar=An;AX=function(EU,ES,ET){var ER=O(EU);DS(EU,ES,ET,function(){global.setTimeout(function(){CW(ER,ET)},0)});if(!DS.async){CW(ER,ET)}};API.showSideBar=AX;if(typeof DW=="function"){b=function(EU,ES){var EX,EV,EW;var ET=F(EU);var ER=O(EU);if(ER&&ER._sideBars&&ER._sideBars[ET]){EV=Cv(ER);EW=ER._sideBars[ET];EX=BN(EU,EW.side,EV,ES);Bb(EU,EX[0],EX[1],EW.options)}};var Db={};AD=function(ES){var ER=F(this);if(Db[ER]){global.clearTimeout(Db[ER])}b(this,true)};Cl=function(ET){var ES=this;var ER=F(this);if(Db[ER]){global.clearTimeout(Db[ER])}Db[ER]=global.setTimeout(function(){b(ES,false)},500)};Aq=function(EX,ES,EU){if(arguments.length==1){ES=true}var ET,EY,EW;var ER=O(EX);var EV=F(EX);if(ER&&ER._sideBars){EW=ER._sideBars;EY=EW[EV];for(ET in EW){if(A(EW,ET)){if(EW[ET].autoHide&&EW[ET].side==EY.side){return false}}}EY.options=EU;if(EY.autoHide!=ES){EY.autoHide=ES;((ES)?DW:AS)(EX,AD,Cl);CW(ER);return true}}return false};API.autoHideSideBar=Aq}By=function(ER){if(!API.sideBarDocuments){API.sideBarDocuments=[];API.sideBarDocuments.dontdebug=true;if(typeof Ck=="function"&&y){Ck("unload",function(){API.sideBarDocuments=null},y(ER))}}API.sideBarDocuments[API.sideBarDocuments.length]=ER;return API.sideBarDocuments.length-1};BL=function(ES,EZ){var EV,ET,EU,EW,ER,EY;var EX=F(ES);if(typeof BT=="undefined"||BT(ES)){if(ES.style.position=="relative"){ES.style.position="absolute"}ET=O(ES);if(!ET||(typeof ET.expando=="boolean"&&!ET.expando)){return false}EU=Cb(ES,"position")=="fixed";ES.style.margin="0";ER=Bv(ET,ES);if(!ET._sideBars){if(typeof ET._sideBars=="undefined"&&y&&typeof Ck=="function"){EY=y(ET);EW=By(ET);Ck("resize",function(){CW(API.sideBarDocuments[EW])},EY);EY=null}ET._sideBars={}}if(ET._sideBars[EX]){if(ET._sideBars[EX]==EZ){return false}ET._sideBars[EX].side=EZ}else{ET._sideBars[EX]={el:ES,side:EZ}}EV=Bi(ES);switch(EZ){case"top":ER[2]=EV[0];break;case"left":ER[3]=EV[1];break;case"right":ER[1]=ER[1]+ER[3]-EV[1];ER[3]=EV[1];break;case"bottom":ER[0]=ER[0]+ER[2]-EV[0];ER[2]=EV[0]}if(Cb(ES,"position")=="fixed"){Bd(ER,ET)}Aa(ES,ER);ET=null;return true}return false};API.sideBar=BL;T=function(ET,EU){var ER=O(ET);var ES=F(ET);if(ER&&ER._sideBars&&ER._sideBars[ES]&&ER._sideBars[ES].side!=EU){ER._sideBars[ES]=null;CW(ER);BL(ET,EU);return true}return false};API.changeSideBarSide=T}if(Bv){AA=function(ET){if(typeof BT=="undefined"||BT(ET)){if(ET.style.position=="relative"){ET.style.position="absolute"}var ES=O(ET);var EU=Cb(ET,"position")=="fixed";var EV=(!EU||typeof Ca=="undefined")?[0,0]:Ca(ES);var ER=(typeof Ah=="function")?Ah(ET):[0,0];var EX=Bv(ES);var EW=[EX[2],EX[3]];EX[0]+=((EW[0]-ET.offsetHeight)/2)-ER[0]-EV[0];EX[1]+=((EW[1]-ET.offsetWidth)/2)-ER[1]-EV[1];if(D8&&!EU){EX=D8(EX,ES)}Bb(ET,EX[0],EX[1]);return true}return false};API.centerElement=AA}if(Bv){DH=function(ES,ET,ER){var EV,EU=ES.style.display;ES.style.display="none";ES.style.display=EU;EV=Cb(ES,"position");if(EV=="relative"){ES.style.position="absolute"}if(EV=="fixed"){Bd(ET,ER)}Bb(ES,-10000,-10000);AI(ES,ET[2],ET[3]);CJ(ES,[ET[2],ET[3]]);Bb(ES,ET[0],ET[1])};Ag=function(ET){if(typeof BT=="undefined"||BT(ET)){var ER=O(ET);var ES=F(ET);if(!API.maximizedElements){API.maximizedElements={};API.maximizedElements.dontdebug=true;if(typeof Ck=="function"&&y){Ck("unload",function(){API.maximizedElements=null},y(ER))}}if(API.maximizedElements[ES]){return false}API.maximizedElements[ES]={position:ET.style.position,left:ET.style.left,top:ET.style.top,height:ET.style.height,width:ET.style.width,el:ET};ET.style.margin="0";DH(ET,Bv(ER),ER);return true}return false};API.maximizeElement=Ag}BF=function(ES,ER){c(ES,[ES[0],ES[1]],[0,0],Cv(ER||global.document))};t=function(ES){var ET=DM(ES);var ER=O(ES);c(ET,[ET[0],ET[1]],Bi(ES),Cv(ER));Bb(ES,ET[0],ET[1])};API.constrainPositionToViewport=BF;API.constrainElementPositionToViewport=t;CF=function(EV){if(!API.maximizedElements){return }var ES=O(EV);var EU=F(EV);var EW=API.maximizedElements[EU];if(EW){EV.style.position=EW.position;EV.style.left=EW.left;EV.style.top=EW.top;EV.style.height=EW.height;EV.style.width=EW.width;if(EW.scrollPosition){C2(EW.scrollPosition[0],EW.scrollPosition[1],ES)}if(EV.style.position!="fixed"&&EV.style.position!="relative"){t(EV)}if(EW.mode=="full"){var ET;var EX=BR(ES);var ER=DV(ES);var EY=API.maximizedElements[EU];for(ET in EY.ceStyles){if(A(EY.bodyStyles,ET)){if(EX!=ER){ER.style[ET]=EY.bodyStyles[ET]}EX.style[ET]=EY.ceStyles[ET]}}}API.maximizedElements[EU]=null}};API.restoreElement=CF;B9=function(EV){var ES,EX,ET,EW,EU=F(EV);var ER=O(EV);if(!API.maximizedElements){API.maximizedElements={};API.maximizedElements.dontdebug=true;if(typeof Ck=="function"&&y){Ck("unload",function(){API.maximizedElements=null},y(ER))}}if(!API.maximizedElements[EU]){if(typeof BT=="undefined"||BT(EV,null,"absolute")){EX=BR(ER);ES=DV(ER);EW={overflow:"hidden",padding:"0",margin:"0",height:"100%"};API.maximizedElements[EU]={position:EV.style.position,left:EV.style.left,top:EV.style.top,height:EV.style.height,width:EV.style.width,scrollPosition:Ca(ER),mode:"full"};API.maximizedElements[EU].bodyStyles={};API.maximizedElements[EU].ceStyles={};for(ET in EW){if(A(EW,ET)){if(EX!=ES){API.maximizedElements[EU].bodyStyles[ET]=ES.style[ET]}API.maximizedElements[EU].ceStyles[ET]=EX.style[ET]}}CD(EX,EW);CD(ES,EW);C2(0,0,ER);CD(EV,{position:"absolute",top:"0",left:"0",right:"0",bottom:"0",height:"100%",width:"100%"});return true}}return false};API.fullScreenElement=B9;if(a){DL=function(ES){if(typeof BT=="undefined"||BT(ES,null,"absolute")){var ER=O(ES);var ET;ES.style.display="none";ET=a(ER);ES.style.display="block";Bb(ES,ET[0],ET[1]);AI(ES,ET[2],ET[3]);CJ(ES,[ET[2],ET[3]]);return true}return false};API.coverDocument=DL}}if(!Cy){return }var Dh,Dp,Dx;var EA,Dw;var D0,Dq,EL,Du,D5,De,EK,Dk,D9;var EF=function(ER,ES){if(!w(ER)){if(typeof Az=="function"){Az(ER,true,ES);return w(ER)}return false}return true};Dh=function(EW){var ET,EZ,Eq,El,Ep,EU,ER,Eo,Ek,Et,Eb,En,Ec,EV,Eu,ES,Er,Ef,Ej,Es,Ev;var Ei=EW||{};function EY(Ey,Ex){EZ(ET,Ey,En,Ex)}function Ee(){global.clearInterval(Eu);Eu=0}function Em(Ex){Ee();if((!Eb||!Eb(ET,Ex))&&(Ex||EU)){EY((Eq)?Ef:Er,(EU)?3:2)}if(Ek){Ek(ET,Ex)}}function Ea(){if(--Ep){if(El=="inandout"||El=="outandin"){Eq=!Eq}ES=new Date()}else{Em()}}function EX(){if((El=="inandout"&&Eq)||(El=="outandin"&&!Eq)){EY(Es*(Ef-Er));Eq=!Eq;if(Et){Et(ET,Ep)}ES=new Date()}else{Em()}}function Eh(){Ej=((new Date()-ES)/ER);if(Ej>1){Ej=1}Es=Ej;if(!Eq){Es=1-Es}if(Eo&&Ej<1){Es=Eo(Es)}EY(Es*(Ef-Er));if(Ej==1){if(El=="in"||El=="out"||(El=="inandout"&&!Eq)||(El=="outandin"&&Eq)){Ea()}else{EX()}}}function Ew(){Em(true)}function Ed(Ey,Ex){return(typeof Ey[Ex]=="undefined")?Ei[Ex]:Ey[Ex]}function Eg(Ey,Ex){return function(E0,E2,E1,Ez){Ey(E0,E2,E1,Ez);Ex(E0,E2,E1,Ez)}}this.start=function(E0,Ez,E1,Ey,E2){var Ex;if(Eu){Ew()}Ez=Ez||{};ET=E0;Er=Ed(Ez,"from")||0;Ef=Ed(Ez,"to")||1;El=(Ez.dir||"in").toLowerCase();Eq=El!="out"&&El!="outandin";ER=Ed(Ez,"duration");Eo=Ed(Ez,"ease");Ek=E1;Et=Ey;Eb=E2;En={};Ec=Ed(Ez,"effectParams");if(Ec){for(Ex in Ec){if(A(Ec,Ex)){En[Ex]=Ec[Ex]}}}EU=Ed(Ez,"revert");Ev=Ed(Ez,"effects");if(typeof Ev!="function"){Ex=Ev.length;while(Ex--){EZ=(EZ)?Eg(EZ,Ev[Ex]):Ev[Ex]}}else{EZ=Ev}EV=Ed(Ez,"fps")||30;ES=new Date();Ep=Ed(Ez,"repeat")||1;Eu=global.setInterval(Eh,1000/EV);EY((Eq)?Er:Ef,1)};this.stop=function(Ex){if(Ex){Eq=(El=="in"||El=="outandin");Ew()}else{Em()}};this.busy=function(){return !!Eu}};API.EffectTimer=Dh;Dp=function(ES,ET,EU){var ER=ET.length;while(ER--){EU[ET[ER]]=ES.style[ET[ER]]}};Dx=function(ES,ET,EU){var ER=ET.length;while(ER--){ES.style[ET[ER]]=EU[ET[ER]]}};if(typeof DS=="function"){Dk=DS;DS=API.showElement=(function(){var ET={};var ER={};function ES(EW,EU,EV){if(!EU&&(EV&&EV.removeOnHide)&&typeof Az=="function"){Az(EW,false)}}return function(EZ,EV,EW,Ea){var EY,EU,Eb,EX;EW=EW||{};EX=F(EZ);if(ET[EX]){ET[EX].stop(true);Az(EZ,EW.display)}if(EW.effects){EY=new Dh();EW.dir=(EV)?"in":"out";EW.revert=true;ER[EX]=Ea;if(EF(EZ,EW.display)){EU=function(Ec,Ed){ES(Ec,EV,EW);EY=null;ET[EX]=null;if(ER[EX]){ER[EX](Ec,EV)}};Eb=function(Ec,Ed){if(!EV&&!Ed){Dk(Ec,false)}};ET[EX]=EY;EY.start(EZ,EW,EU,null,Eb)}}else{Dk(EZ,EV,EW);if(Ea){Ea()}}return EZ}})();C4=API.toggleElement=function(ES,ER,ET){return DS(ES,!BA(ES)||!w(ES),ER,ET)};DS.async=true;C4.async=true}if(typeof AI=="function"){D9=AI;AI=(function(){var ES={};var ER={};return function(ET,EW,EY,Eb,EV){var Ea,EU,EZ,EX;if(Eb&&Eb.duration){EX=F(ET);if(ES[EX]){ES[EX].stop(true)}Ea=new Dh();Eb.effects=B.grow;EZ=Eb.effectParams||{};EZ.targetSize=[EW,EY];Eb.effectParams=EZ;ER[F(ET)]=EV;EU=function(){Ea=null;ES[EX]=null;if(ER[EX]){ER[EX](ET)}};ES[EX]=Ea;Ea.start(ET,Eb,EU)}else{D9(ET,EW,EY);if(EV){EV(ET)}}}})();AI.async=true;API.sizeElement=AI}if(typeof Bb=="function"){D0=Bb;Bb=(function(){var ES={};var ER={};return function(ET,EY,EU,Eb,EW){var Ea,EV,EZ,EX;if(Eb&&Eb.duration){EX=F(ET);if(ES[EX]){ES[EX].stop(true)}Ea=new Dh();Eb.effects=B.move;EZ=Eb.effectParams||{};EZ.targetPosition=[EY,EU];Eb.effectParams=EZ;ER[EX]=EW;EV=function(Ec,Ed){Ea=null;ES[EX]=null;if(ER[EX]){ER[EX](Ec,Ed)}};ES[EX]=Ea;Ea.start(ET,Eb,EV)}else{D0(ET,EY,EU);if(EW){EW(ET)}}}})();Bb.async=true;API.positionElement=Bb}B={};if(typeof AQ=="function"){B.fade=function(ES,EU,ET,ER){if(ER){if(ER>2){EU=(typeof ET.targetOpacity!="undefined")?0:1}if(ER==2){EU=1}if(ER==1){ET.opacity=S(ES)||1;if(ET.opacity>=0.9999){ET.opacity=1}if(Cy.visibility){ES.style.visibility="visible"}}}EU=(typeof ET.targetOpacity!="undefined")?ET.opacity+(ET.targetOpacity-ET.opacity)*EU:ET.opacity*EU;AQ(ES,(EU>=1)?0.9999:EU)}}Dw=function(ET,EY,EW,EV){var EX,ER,EU,ES;EX=EY[0];ER=EY[1];EU=EW[0];ES=EW[1];switch(ET){case"left":ER=((ER+ES)-(EV*ES));break;case"top":EX=((EX+EU)-(EV*EU));break;case"diagonalsw":EX=((EX+EU)-(EV*EU));ER=((ER-ES)+(EV*ES));break;case"diagonalnw":EX=((EX-EU)+(EV*EU));ER=((ER-ES)+(EV*ES));break;case"diagonalse":EX=((EX+EU)-(EV*EU));ER=((ER+ES)-(EV*ES));break;case"diagonalne":EX=((EX-EU)+(EV*EU));ER=((ER+ES)-(EV*ES));break;case"bottom":EX=((EX-EU)+(EV*EU));break;default:ER=((ER-ES)+(EV*ES))}return[EX,ER]};EA=function(ES,EV,EU){var ET=EV[0];var ER=EV[1];switch(ES){case"top":return"rect(0px "+ER+"px "+Math.round(EU*ET)+"px 0px)";case"left":return"rect(0px "+Math.round(EU*ER)+"px "+ET+"px 0px)";case"zoom":return"rect("+Math.round(((1-EU)/2)*ET)+"px "+Math.round((EU/2)*ER+ER/2)+"px "+Math.round((EU/2)*ET+ET/2)+"px "+Math.round(((1-EU)/2)*ER)+"px)";case"horizontal":return"rect("+(Math.round(((1-EU)/2)*ET))+"px "+ER+"px "+Math.round((EU/2)*ET+ET/2)+"px 0px)";case"vertical":return"rect(0px "+Math.round((EU/2)*ER+ER/2)+"px "+ET+"px "+(Math.round(((1-EU)/2)*ER))+"px)";case"diagonalnw":return"rect("+Math.round((1-EU)*ET)+"px "+ER+"px "+ET+"px "+Math.round((1-EU)*ER)+"px)";case"diagonalne":return"rect("+Math.round((1-EU)*ET)+"px "+Math.round(EU*ER)+"px "+ET+"px 0px)";case"diagonalsw":return"rect(0px "+ER+"px "+Math.round(EU*ET)+"px "+Math.round((1-EU)*ER)+"px)";case"diagonalse":return"rect(0px "+Math.round(EU*ER)+"px "+Math.round(EU*ET)+"px 0px)";case"bottom":return"rect("+Math.round((1-EU)*ET)+"px "+ER+"px "+ET+"px 0px)";default:return"rect(0px "+ER+"px "+ET+"px "+Math.round((1-EU)*ER)+"px)"}};if(typeof D0=="function"){B.drop=(function(){var ER;return function(ET,EV,EU,ES){if(ES){if(ES>2){Dx(ET,["top","left","position"],EU);return }if(ES==1){Dp(ET,["top","left","position"],EU);if(typeof BT=="undefined"||BT(ET)){if(!EU.dimOuter){EU.dimOuter=Bi(ET)}if(!EU.pos){EU.pos=DM(ET)}}else{EU.pos=null}if(Cy.visibility){ET.style.visibility="visible"}}}if(EU.pos){ER=Dw(EU.side,EU.pos,EU.dimOuter,EV);D0(ET,ER[0],ER[1])}}})()}if(typeof D9=="function"){B.grow=(function(){var EV,ET,ES;var ER=new RegExp("(.+)(em|px|pt|%)");function EU(EY){var EX;var EW=d(EY,"fontSize")||Cb(EY,"fontSize");if(EW){EX=EW.match(ER)}return EX&&{size:parseFloat(EX[1]),unit:EX[2]}}return function(EX,EZ,EY,EW){if(EW){if(EW>2){Dx(EX,["overflow","fontSize","height","width"],EY);return }if(EW==1){Dp(EX,["overflow","fontSize","height","width"],EY);EX.style.overflow="hidden";if(Al(EX)){if(!EY.dim){EY.dim=DC(EX)}}else{EY.dim=null}if(D){EY.font=EU(EX)}if(Cy.visibility){EX.style.visibility="visible"}}}if(EY.dim){if(EY.targetSize){ET=(EY.dim[0]+(EY.targetSize[0]-EY.dim[0])*EZ);ES=(EY.dim[1]+(EY.targetSize[1]-EY.dim[1])*EZ)}else{EV=EY.axes;ET=(!EV||EV==1)?EY.dim[0]*EZ:null;ES=(!EV||EV==2)?EY.dim[1]*EZ:null;if(!EV&&EY.font&&EZ>=0){EX.style.fontSize=(EY.font.size*EZ)+EY.font.unit}}D9(EX,(ET<0)?null:ET,(ES<0)?null:ES)}}})();B.fold=function(ES,EU,ET,ER){if(ER==1){ET.axes=ET.axes||2}B.grow(ES,EU,ET,ER)}}if(API.unclipElement){B.clip=(function(){return function(ES,EU,ET,ER){if(ER){if(ER>2){Dx(ES,["overflow","position"],ET);API.unclipElement(ES);return }if(ER==1){Dp(ES,["overflow","position"],ET);ES.style.overflow="hidden";if(typeof BT=="function"){BT(ES)}if(!ET.dimOuter){ET.dimOuter=Bi(ES)}if(Cy.visibility){ES.style.visibility="visible"}}}ES.style.clip=EA(ET.side,ET.dimOuter,EU)}})();B.zoom=function(ES,EU,ET,ER){if(ER==1){ET.side="zoom"}B.clip(ES,EU,ET,ER)};B.horizontalBlinds=function(ES,EU,ET,ER){if(ER==1){ET.side="horizontal"}B.clip(ES,EU,ET,ER)};B.verticalBlinds=function(ES,EU,ET,ER){if(ER==1){ET.side="vertical"}B.clip(ES,EU,ET,ER)};if(typeof D0=="function"){B.slide=(function(){var ER;return function(ET,EV,EU,ES){if(ES){if(ES>2){Dx(ET,["overflow","top","left","position"],EU);API.unclipElement(ET);return }if(ES==1){Dp(ET,["overflow","top","left","position"],EU);ET.style.overflow="hidden";if(typeof BT=="undefined"||BT(ET)){if(!EU.dimOuter){EU.dimOuter=Bi(ET)}if(!EU.pos){EU.pos=DM(ET)}}else{EU.pos=null}if(Cy.visibility){ET.style.visibility="visible"}}}if(EU.pos){ER=Dw(EU.side,EU.pos,EU.dimOuter,EV);D0(ET,ER[0],ER[1]);ET.style.clip=EA(EU.side,EU.dimOuter,EV)}}})()}}var EC,D1;var Di=(function(){var ET={},ES={},ER;return function(EZ,EU,EY,Ec,EW,EV){var Eb,Ea,EX=F(EU);EV=EV||EU;if(Ec){if(ET[EX]){ET[EX].stop(true)}Ea={};Eb=new Dh();Ea.targetScroll=EZ;ES[EX]=EW;ER=function(Ed,Ee){if(Ec.wheelInterrupts&&typeof detachMousewheelListener=="function"){detachMousewheelListener(EV)}ET[EX]=null;if(ES[EX]){ES[EX](Ed,Ee)}};Ec.effectParams=Ea;if(Ec.wheelInterrupts&&typeof attachMousewheelListener=="function"){attachMousewheelListener(EV,function(){Eb.stop()})}ET[EX]=Eb;Eb.start(EU,Ec,ER)}}})();if(typeof C2=="function"){EC=C2;C2=API.setScrollPosition=function(EU,ES,ER,EV,ET,EW){var EX=(!Ad||EV||(!EU&&!ES))?[EU,ES]:D2(EU,ES,Ad(ER));if(ET){ET.effects=B.scroll;Di(EX,ER||global.document,EV,ET,EW,BR(ER))}else{EC(EX[0],EX[1],ER,true)}};B.scroll=function(ER,ET,ES,EU){if(EU){if(EU>2){EC(ES.scrollPos[0],ES.scrollPos[1],ER,true);return }if(EU==1){ES.scrollPos=Ca(ER);if(y){ES.win=y(ER)}if(ES.targetScroll[0]===null){ES.targetScroll[0]=ES.scrollPos[0]}if(ES.targetScroll[1]===null){ES.targetScroll[1]=ES.scrollPos[1]}}}EC((ES.targetScroll[0]-ES.scrollPos[0])*ET+ES.scrollPos[0],(ES.targetScroll[1]-ES.scrollPos[1])*ET+ES.scrollPos[1],ER,true,ES.win)}}if(typeof z=="function"){D1=z;z=API.setElementScrollPosition=function(EU,ET,ER,EV,ES,EW){var EX=(EV||(!ET&&!ER))?[ET,ER]:D2(ET,ER,M(EU));if(ES){ES.effects=B.scrollElement;Di(EX,EU,EV,ES,EW)}else{D1(EU,EX[0],EX[1],true)}};B.scrollElement=function(ER,ET,ES,EU){if(EU){if(EU>2){D1(ER,ES.scrollPos[0],ES.scrollPos[1],true);return }if(EU==1){ES.scrollPos=DE(ER)}}D1(ER,(ES.targetScroll[0]-ES.scrollPos[0])*ET+ES.scrollPos[0],(ES.targetScroll[1]-ES.scrollPos[1])*ET+ES.scrollPos[1],true)}}if(typeof D0=="function"){B.move=function(ES,EU,ET,ER){if(ER){if(ER>2){if(ET.pos){D0(ES,ET.pos[0],ET.pos[1])}return }if(ER==1){if(typeof BT=="undefined"||BT(ES)){if(!ET.pos){ET.pos=DM(ES)}if(ET.pos){if(ET.targetPosition[0]===null){ET.targetPosition[0]=ET.pos[0]}if(ET.targetPosition[1]===null){ET.targetPosition[1]=ET.pos[1]}}}else{ET.pos=null}}}if(ET.pos){D0(ES,(ET.pos[0]+((ET.targetPosition[0]-ET.pos[0])*EU)),(ET.pos[1]+((ET.targetPosition[1]-ET.pos[1])*EU)))}};if(typeof Ag=="function"){EL=Ag;Du=CF;Ag=API.maximizeElement=function(ET,Ee,EX){var EV,Ec,EY,ER,Ea,ES,EW,EZ,Eb,Ed,EU;if(Ee){ES=ET.style.top;EW=ET.style.left;EZ=ET.style.height;Eb=ET.style.width;Ed=ET.style.visibility;EU=ET.style.position;ET.style.visibility="hidden";ER=EL(ET);if(EU==ET.style.position){Ec=AC(ET,"top");EV=AC(ET,"left");EY=AC(ET,"height");Ea=AC(ET,"width");ET.style.top=ES;ET.style.left=EW;ET.style.height=EZ;ET.style.width=Eb;ET.style.visibility=Ed;Bb(ET,Ec,EV,Ee,EX);AI(ET,EY,Ea,Ee,EX)}else{ET.style.visibility=Ed;if(EX){EX(ET)}}}else{ER=EL(ET);if(EX){EX(ET)}}return ER};Ag.async=true;CF=API.restoreElement=function(ET,Ef,EX){var Ea,EV,Ed,EY,ER,Eb,ES,EW,EZ,Ec,Ee,EU;if(Ef){ES=ET.style.top;EW=ET.style.left;EZ=ET.style.height;Ec=ET.style.width;Ee=ET.style.visibility;EU=ET.style.position;ET.style.visibility="hidden";ER=Du(ET);if(EU==ET.style.position){Ed=AC(ET,"top");EV=AC(ET,"left");Ea=DC(ET);EY=Ea[0];Eb=Ea[1];ET.style.top=ES;ET.style.left=EW;ET.style.height=EZ;ET.style.width=Ec;ET.style.visibility=Ee;Bb(ET,Ed,EV,Ef,EX);AI(ET,EY,Eb,Ef,EX)}else{ET.style.visibility=Ee;if(EX){EX(ET)}}}else{ER=Du(ET);if(EX){EX(ET)}}return ER};CF.async=true}if(typeof AA=="function"){Dq=AA;AA=API.centerElement=function(ES,EZ,EW){var EU,EX,EV,ER,EY,ET;if(EZ){ER=ES.style.top;EV=ES.style.left;EY=ES.style.visibility;ET=ES.style.position;ES.style.visibility="hidden";Dq(ES);EX=AC(ES,"top");EU=AC(ES,"left");ES.style.top=ER;ES.style.left=EV;ES.style.visibility=EY;if(ET==ES.style.position){Bb(ES,EX,EU,EZ,EW);return }}Dq(ES);if(EW){EW(ES)}};AA.async=true;if(B.grow&&typeof E=="function"&&typeof DS=="function"){f=function(EU,EV,ER,ET,EY){var EX,EW,ES={duration:ET.duration,ease:ET.ease,removeOnHide:ET.removeOnHide};if(ET.effects&&typeof ET.effects=="function"){ES.effects=[ET.effects]}else{ES.effects=(ET.effects||[]).concat([B.grow])}if(ER){EX=DM(EU);E(EU,EV);if(ET.springMode=="center"){AA(EU,{duration:ET.duration,ease:ET.ease})}else{Bb(EU,EX[0],EX[1],{duration:ET.duration,ease:ET.ease})}}else{EW=DM(EU);EU.style.visibility="hidden";E(EU,EV);EX=DM(EU);Bb(EU,EW[0],EW[1]);EU.style.visibility="visible";Bb(EU,EX[0],EX[1],{duration:ET.duration,ease:ET.ease,revert:true})}DS(EU,ER,ES,EY)};API.spring=f}}B.shake=function(ES,EU,ET,ER){if(ER){if(ER>2){Dx(ES,["top","left","position"],ET);return }if(ER==1){Dp(ES,["top","left","position"],ET);if(typeof BT=="undefined"||BT(ES)){if(!ET.pos){ET.pos=DM(ES)}}else{ET.pos=null}ET.severity=ET.severity||5;if(Cy.visibility){ES.style.visibility="visible"}}}if(ET.pos){D0(ES,ET.pos[0]+(!ET.axes||ET.axes==1)?(ET.severity-Math.floor(Math.random()*(ET.severity*2+1))):0,ET.pos[1]+(!ET.axes||ET.axes==2)?(ET.severity-Math.floor(Math.random()*(ET.severity*2+1))):0)}}}API.effects=B;API.ease={};API.ease.sine=function(ER){return(Math.sin(ER*Math.PI/2))};API.ease.cosine=function(ER){return((-Math.cos(ER*Math.PI)/2)+0.5)};API.ease.tan=function(ES){var ER=Math.tan;return(ER(1*(2*ES-1))/ER(1)+1)/2};API.ease.flicker=function(ER){return((-Math.cos(ER*Math.PI)/4)+0.75)+Math.random()*0.25};API.ease.wobble=function(ER){return(-Math.cos(ER*Math.PI*(9*ER))/2)+0.5};API.ease.square=function(ER){return(Math.pow(ER,2))};API.ease.circle=function(ER){return Math.sqrt(1-Math.pow((ER-1),2))};API.ease.pulsate=function(ER){return(0.5+Math.sin(17*ER)/2)};API.ease.expo=function(ER){return Math.pow(2,8*(ER-1))};API.ease.quad=function(ER){return Math.pow(ER,2)};API.ease.cube=function(ER){return Math.pow(ER,3)};API.ease.sigmoid=function(ES,ER){var ET=Math.atan;ER=ER||1;return(ET(ER*(2*ES-1))/ET(ER)+1)/2};API.ease.sigmoid2=function(ER){var ES=Math.atan;return(ES(2*(2*ER-1))/ES(2)+1)/2};API.ease.sigmoid3=function(ER){var ES=Math.atan;return(ES(3*(2*ER-1))/ES(3)+1)/2};API.ease.sigmoid4=function(ER){var ES=Math.atan;return(ES(4*(2*ER-1))/ES(4)+1)/2};API.ease.loop=function(ER){return(-Math.cos(2*ER*Math.PI)/2)+0.5};API.ease.bounce=function(ER){return 1-(Math.cos(ER*4.5*Math.PI)*Math.exp(-ER*6))};API.ease.swingTo=function(ES){var ER=1.70158;return(ES-=1)*ES*((ER+1)*ES+ER)+1};API.ease.swingToFrom=function(ES){var ER=1.70158;if((ES/=0.5)<1){return 0.5*(ES*ES*(((ER*=(1.525))+1)*ES-ER))}return 0.5*((ES-=2)*ES*(((ER*=(1.525))+1)*ES+ER)+2)};if(typeof BE=="function"){D5=BE;BE=(function(){if(Cy.visibility&&Cy.display&&Dz&&n(Dz,"cloneNode")&&n(Dz,"appendChild")&&n(Dz,"removeChild")){return function(EV,EY,EU,EW){var EX;var ES=O(EV);var ER=DV(ES);var ET=function(){D5(EV,EY);DS(EX,false);ER.removeChild(EX);EX=null};if(EU&&EU.effects){EX=EV.cloneNode(false);EX.id=F(EV)+"_temporaryoverlay";D5(EX,EY);EX.style.visibility="hidden";EX.style.display="none";EX.style.position="absolute";EX.style.left=EX.style.top="0";ER.appendChild(EX);EX.style.display="block";E(EX,EV);DS(EX,true,EU,function(){ET();if(EW){EW(EV)}})}else{D5(EV,EY);if(EW){EW(EV)}}}}return D5})();API.changeImage=BE}Dz=EB=null})}Cw=null;A3=null})()
