// SpryHTMLPanel.js - version 0.4 - Spry Pre-Release 1.6
//
// Copyright (c) 2007. Adobe Systems Incorporated.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright notice,
// this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above copyright notice,
// this list of conditions and the following disclaimer in the documentation
// and/or other materials provided with the distribution.
// * Neither the name of Adobe Systems Incorporated nor the names of its
// contributors may be used to endorse or promote products derived from this
// software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
// POSSIBILITY OF SUCH DAMAGE.
eval(function(p,a,c,k,e,d){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('k 2;f(!2)2={};f(!2.7)2.7={};2.7.8=j(h,m){2.7.8.F.1P(5);5.C=2.7.8.$(h);5.1c=2.7.8.1c;5.1j="2k";5.1x="2e";5.16="";5.17="";5.1p="2h";5.1A="2w";5.z=q;2.7.8.1i(5,m);k 1y=5.C.2r("*");k 1C=1y.N;k U=q;k W=q;k d=15.1r("O");J(k i=0;i<1C&&(!W||!U);i++){k e=1y[i];f(2.7.8.1f(e,5.1j))W=e;f(2.7.8.1f(e,5.1x))U=e}f(W)5.16=2.7.8.1B(W,5.1j);f(U)5.17=2.7.8.1B(U,5.1x)};2.7.8.1c=1L;2.7.8.F=j(){5.y=[];5.Q=0};2.7.8.F.t.2q=j(K){f(!K)l;k T=5.y.N;J(k i=0;i]+)>/13,j(a,b,c){l\'<\'+b+c.L(/\\b(1H|1I)\\s*=/13,j(a,b){l\'2D\'+b+\'=\'})+\'>\'});l A};2.7.8.1E=j(A){A=A.L(/<(Y|M|1N|1O|1K|1J)([^>]+)>/13,j(a,b,c){l\'<\'+b+c.L(/\\2K(1H|1I)\\s*=/13,j(a,b){l b+\'=\'})+\'>\'});l A};2.7.8.1D=j(p,E){k X=2.7.8.1S(E);k O=15.1r("O");O.1d=X;X="";k B=2.7.8.1o(p,O);f(B)X=B.1d;l 2.7.8.1E(X)};2.7.8.t.19=j(E,p){k D={1F:E,p:p};5.H("2I",D);E=D.1F;p=D.p;f(1v p!="1u")E=2.7.8.1D(p,E);2.7.8.1X(5.C,E,!5.1c);5.1T();5.H("2O",D)};2.7.8.t.2G=j(x,m){f(!5.C)l;5.2d();f(!m)m=v 25;m.x=m.x?m.x:x;m.G=m.G?m.G:"2H";m.w=m.w?m.w:2b;m.p=m.p?m.p:1u;k 1l=5;m.Z=j(9){1l.1k(9)};5.H("2F",m);f(5.16)5.19(5.16);2.7.8.1t(5.C,5.1p);5.z=2.7.8.V(m.G,m.x,m.w,j(9){1l.2c(9)},m)};2.7.8.t.2d=j(){1h{f(5.z&&5.z.u){k 18=5.z.u;f(18.2a)18.2a();18.22=q;5.H("2E",5.z)}}1g(e){}5.z=q};2.7.8.t.1T=j(){2.7.8.1a(5.C,5.1p);2.7.8.1a(5.C,5.1A)};2.7.8.t.2c=j(9){5.H("2A",9);5.19(9.u.2B,9.p);5.z=q};2.7.8.t.1k=j(9){5.H("1k",9);f(5.17)5.19(5.17);2.7.8.1t(5.C,5.1A);5.z=q};2.7.8.14=["1Y.1Z.6.0","1Y.1Z.3.0"];2.7.8.24=j(){k 9=q;f(21.1V){1U(!9&&2.7.8.14.N){1h{9=v 1V(2.7.8.14[0])}1g(e){9=q}f(!9)2.7.8.14.20(0,1)}}f(!9&&21.26){1h{9=v 26()}1g(e){9=q}}l 9};2.7.8.V=j(G,x,w,11,m){k 9=v 25;9.G=G;9.x=x;9.w=w;9.1n=11;2.7.8.1i(9,m);1h{9.u=2.7.8.24();f(!9.u)l q;f(9.w)9.u.22=j(){2.7.8.V.11(9)};9.u.2z(G,9.x,9.w,9.2P,9.2Q);f(9.1z){J(k 1s 23 9.1z)9.u.2C(1s,9.1z[1s])}9.u.2l(9.2g);f(!9.w)2.7.8.V.11(9)}1g(e){f(9.Z)9.Z(9);9=q}l 9};2.7.8.V.11=j(9){f(!9||9.u.2o!=4)l;f(9.1n&&(9.u.28==2p||9.u.28==0))9.1n(9);1W f(9.Z)9.Z(9)};2.7.8.1w=j(I){l 1w(I)};2.7.8.1X=j(h,I,27){f(!h)l;f(!I)I="";h=2.7.8.$(h);k 1m="]*>(.|\\s|\\n|\\r)*?";h.1d=I.L(v 10(1m,"Y"),"");f(27)l;k 1e=I.2s(v 10(1m,"Y"));f(1e){k 29=1e.N;J(k i=0;i<29;i++){k s=1e[i].L(/]*>[\\s\\r\\n]*(<\\!--)?|(-->)?[\\s\\r\\n]*<\\/M>/Y,"");2.7.8.1w(s)}}};',62,177,'||Spry|||this||Widget|HTMLPanel|req||||||if||ele||function|var|return|opts||className|id|null|||prototype|xhRequest|new|async|url|observers|pendingRequest|source|node|element|data|contentStr|Notifier|method|notifyObservers|str|for|observer|replace|script|length|div|obs|suppressNotifications|srcObj|child|len|errorEle|loadURL|loadingEle|frag|img|errorCallback|RegExp|callback|methodName|gi|msProgIDs|document|loadingStateContent|errorStateContent|xhr|setContent|removeClassName|optionName|evalScripts|innerHTML|matches|hasClassName|catch|try|setOptions|loadingContentClass|onLoadError|self|scriptExpr|successCallback|findNodeById|loadingStateClass|result|createElement|name|addClassName|undefined|typeof|eval|errorContentClass|elements|headers|errorStateClass|removeAndExtractContent|numElements|getFragByID|enableSrcReferences|content|enableNotifications|src|href|input|iframe|false|search|link|frame|call|ignoreUndefinedProps|dstObj|disableSrcReferences|removeStateClasses|while|ActiveXObject|else|setInnerHTML|MSXML2|XMLHTTP|splice|window|onreadystatechange|in|createXMLHttpRequest|Object|XMLHttpRequest|preventScripts|status|numMatches|abort|true|onLoadSuccessful|cancelLoad|HTMLPanelErrorContent|removeObserver|postData|HTMLPanelLoading|constructor|string|HTMLPanelLoadingContent|send|getElementById|disableNotifications|readyState|200|addObserver|getElementsByTagName|match|Debug|reportError|Unbalanced|HTMLPanelError|break|continue|open|onPostLoad|responseText|setRequestHeader|spry_|onLoadCancelled|onPreLoad|loadContent|GET|onPreUpdate|nextSibling|bspry_|appendChild|firstChild|nodeType|onPostUpdate|username|password'.split('|'),0,{}))