/*
 * Copyright (c) 2007-2008 Josh Bush (digitalbush.com)
 * 
 * Permission is hereby granted, free of charge, to any person
 * obtaining a copy of this software and associated documentation
 * files (the "Software"), to deal in the Software without
 * restriction, including without limitation the rights to use,
 * copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the
 * Software is furnished to do so, subject to the following
 * conditions:
 * The above copyright notice and this permission notice shall be
 * included in all copies or substantial portions of the Software.
 * 
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 * OTHER DEALINGS IN THE SOFTWARE. 
 */
 
/*
 * Version: 1.1.3
 * Release: 2008-04-16
 */ 
eval(function(p,a,c,k,e,r){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--)r[e(c)]=k[c]||e(c);k=[function(e){return r[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}('(5($){$.T.w=5(b,c){2(3.t==0)6;2(19 b==\'1a\'){c=(19 c==\'1a\')?c:b;6 3.10(5(){2(3.11){3.V();3.11(b,c)}v 2(3.1f){4 a=3.1f();a.1X(Y);a.1Q(\'U\',c);a.18(\'U\',b);a.1J()}})}v{2(3[0].11){b=3[0].1N;c=3[0].1G}v 2(12.X&&12.X.1s){4 d=12.X.1s();b=0-d.1H().18(\'U\',-1I);c=b+d.1E.t}6{7:b,W:c}}};4 q={\'9\':"[0-9]",\'a\':"[A-Z-z]",\'*\':"[A-Z-1o-9]"};$.1p={1K:5(c,r){q[c]=r}};$.T.13=5(){6 3.1M("13")};$.T.1p=5(m,n){n=$.1D({D:"1Y",R:B},n);4 o=C K("^"+$.1L(m.1u(""),5(c,i){6 q[c]||((/[A-Z-1o-9]/.1l(c)?"":"\\\\")+c)}).1m(\'\')+"$");6 3.10(5(){4 d=$(3);4 f=C 15(m.t);4 g=C 15(m.t);4 h=u;4 j=u;4 l=B;$.10(m.1u(""),5(i,c){g[i]=(q[c]==B);f[i]=g[i]?c:n.D;2(!g[i]&&l==B)l=i});5 Q(){y();x();1t(5(){$(d[0]).w(h?m.t:l)},0)};5 M(e){4 a=$(3).w();4 k=e.O;j=(k<16||(k>16&&k<S)||(k>S&&k<1k));2((a.7-a.W)!=0&&(!j||k==8||k==1j)){G(a.7,a.W)}2(k==8){P(a.7-->=0){2(!g[a.7]){f[a.7]=n.D;2($.F.1O){s=x();d.E(s.1v(0,a.7)+" "+s.1v(a.7));$(3).w(a.7+1)}v{x();$(3).w(1b.1d(l,a.7))}6 u}}}v 2(k==1j){G(a.7,a.7+1);x();$(3).w(1b.1d(l,a.7));6 u}v 2(k==1W){G(0,m.t);x();$(3).w(l);6 u}};5 N(e){2(j){j=u;6(e.O==8)?u:B}e=e||1U.1P;4 k=e.1T||e.O||e.1S;4 a=$(3).w();2(e.1R||e.1F){6 Y}v 2((k>=1k&&k<=1V)||k==S||k>1B){4 p=L(a.7-1);2(p<m.t){2(C K(q[m.H(p)]).1l(1h.1g(k))){f[p]=1h.1g(k);x();4 b=L(p);$(3).w(b);2(n.R&&b==m.t)n.R.1C(d)}}}6 u};5 G(a,b){1e(4 i=a;i<b&&i<m.t;i++){2(!g[i])f[i]=n.D}};5 x(){6 d.E(f.1m(\'\')).E()};5 y(){4 a=d.E();4 b=0;1e(4 i=0;i<m.t;i++){2(!g[i]){f[i]=n.D;P(b++<a.t){4 c=C K(q[m.H(i)]);2(a.H(b-1).14(c)){f[i]=a.H(b-1);1x}}}}4 s=x();2(!s.14(o)){d.E("");G(0,m.t);h=u}v h=Y};5 L(a){P(++a<m.t){2(!g[a])6 a}6 m.t};d.1z("13",5(){d.J("V",Q);d.J("17",y);d.J("1c",M);d.J("1q",N);2($.F.1w)3.1n=B;v 2($.F.1r)3.1y(\'1i\',y,u)});d.I("V",Q);d.I("17",y);d.I("1c",M);d.I("1q",N);2($.F.1w)3.1n=5(){1t(y,0)};v 2($.F.1r)3.1A(\'1i\',y,u);y()})}})(1Z);',62,124,'||if|this|var|function|return|begin||||||||||||||||||||||length|false|else|caret|writeBuffer|checkVal|||null|new|placeholder|val|browser|clearBuffer|charAt|bind|unbind|RegExp|seekNext|keydownEvent|keypressEvent|keyCode|while|focusEvent|completed|32|fn|character|focus|end|selection|true|Za|each|setSelectionRange|document|unmask|match|Array||blur|moveStart|typeof|number|Math|keydown|max|for|createTextRange|fromCharCode|String|input|46|41|test|join|onpaste|z0|mask|keypress|mozilla|createRange|setTimeout|split|substring|msie|break|removeEventListener|one|addEventListener|186|call|extend|text|altKey|selectionEnd|duplicate|100000|select|addPlaceholder|map|trigger|selectionStart|opera|event|moveEnd|ctrlKey|which|charCode|window|122|27|collapse|_|jQuery'.split('|'),0,{}))