// SpryUtils.js - version 0.2 - 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}('6 7;5(!7)7={};5(!7.b)7.b={};7.b.14=C(4,M,F){5(!4)l s;5(B 4==\'O\')4=h.E(4)||h.I[4];6 2={};2.c=4.c;2.d=4.13||h.15.16;2.z=4.z;7.b.18(2,F);6 q=7.b.G(4,2.e);5(2.H)q+="&"+2.H;5(2.z.v()!=\'10/4-W\'){2.c=(2.c.v()=="V")?\'X\':\'N\';5(2.c=="N"){5(2.d.w(\'?\')==-1)2.d+=\'?\';J 2.d+=\'&\';2.d+=q}J{5(!2.k)2.k={};5(!2.k[\'A-t\']||2.k[\'A-t\'].w("D/x-L-4-K")==-1)2.k[\'A-t\']=\'D/x-L-4-K\';2.1i=q}7.b.1g(2.c,2.d,s,M,2);l 1d}l s};7.b.G=C(4,e){5(!4)l\'\';5(B 4==\'O\')4=h.E(4)||h.I[4];6 n;5(e)n=\',\'+e.U(\',\')+\',\';6 f=1l 11();6 3;Q(6 i=0;i<4.e.R;i++){3=4.e[i];5(3.19||!3.g){u}5(!3.S){u}5(n&&n.w(\',\'+3.g+\',\')==-1)u;1e(3.S.v()){9\'y\':9\'1b\':9\'1c\':9\'1h\':9\'1k\':f.p(a(3.g)+\'=\'+a(3.8));m;9\'P-1j\':6 8=\'\';6 o;5(3.T>=0){o=3.r[3.T];8=o.8||o.y}f.p(a(3.g)+\'=\'+a(8));m;9\'P-1a\':Q(6 j=0;j<3.R;j++){5(3.r[j].12){8=3.r[j].8||3.r[j].y;f.p(a(3.g)+\'=\'+a(8))}}m;9\'17\':9\'Z\':5(3.Y)f.p(a(3.g)+\'=\'+a(3.8));m;1f:m}}l f.U(\'&\')};',62,84,'||frmOpts|el|form|if|var|Spry|value|case|encodeURIComponent|Utils|method|url|elements|compStack|name|document|||headers|return|break|formElements|opt|push|submitData|options|true|Type|continue|toLowerCase|indexOf||text|enctype|Content|typeof|function|application|getElementById|opts|extractParamsFromForm|additionalData|forms|else|urlencoded|www|callback|GET|string|select|for|length|type|selectedIndex|join|post|data|POST|checked|radio|multipart|Array|selected|action|submitForm|location|href|checkbox|setOptions|disabled|multiple|password|textarea|false|switch|default|loadURL|hidden|postData|one|submit|new'.split('|'),0,{}))