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