text: $wnd.jsme.runAsyncCallback1('var AP="Any",BP="Aromatic",CP="Nonring",DP="Reset",EP="Ring";function FP(a,b){if(0>b||b>=a.pb.options.length)throw new cv;}function GP(a,b){FP(a,b);return a.pb.options[b].value}function HP(){this.pb=$doc.createElement("select");this.pb[Zc]="gwt-ListBox"}r(371,346,Zh,HP);function IP(){IP=s}\nfunction JP(a,b){if(null==b)throw new Br("Missing message: awt.103");var c=-1,d,e,f;f=a.tc.a.pb;e=$doc.createElement(wf);e.text=b;e.removeAttribute("bidiwrapped");e.value=b;d=f.options.length;(0>c||c>d)&&(c=d);c==d?f.add(e,null):(c=f.options[c],f.add(e,c))}function KP(){IP();Zx.call(this);new Gi;this.tc=new LP(($x(),this))}r(435,422,{46:1,48:1,55:1,67:1,73:1},KP);_.ke=function(){return dy(this.tc,this)};\n_.ze=function(){return(null==this.qc&&(this.qc=Lx(this)),this.qc)+ya+this.Bc+ya+this.Cc+ya+this.yc+Vg+this.oc+(this.xc?l:",hidden")+",current="+GP(this.tc.a,this.tc.a.pb.selectedIndex)};function MP(){LL.call(this,7)}r(448,1,Qh,MP);function NP(a){NL.call(this,a,0)}r(453,422,ki,NP);function OP(a){var b=a.j;kM(a.tc.c,b.a,b.b);!Nx(a)&&fL(a);aL(a)}\nfunction PP(a,b,c){hM.call(this);this.tc&&GL(this.tc.c,!1);DL(this,!1);my(this,new LL(0));a=new NL(a,1);Z(this,a,null);a=new ry;Z(a,this.i,null);Z(this,a,null);b&&(this.j=Ox(b),CL(this),gM(this.j,~~(Vm(b.fc.pb,tf)/2)-~~(this.yc/2),~~(Vm(b.fc.pb,sf)/2)-~~(this.oc/2)));c&&Y(this,c)}r(586,587,ZH,PP);_.xg=function(){return"OK"};r(594,595,vh);_.Vc=function(){OP(new PP(this.b,this.a,(jB(),lB)))};r(597,595,vh);_.Vc=function(){!this.a.Ob?this.a.Ob=new QP(this.a):this.a.Ob.tc.c.hb?ZM(this.a.Ob.tc.c):OP(this.a.Ob)};\nfunction RP(a,b){XK(b)==a.a?Y(b,(Ny(),Wy)):Y(b,a.a)}\nfunction SP(a){var b,c,d,e;e=l;d=!1;XK(TP)!=a.a?(e=wa,d=!0):XK(UP)!=a.a?(e="!#6",d=!0):XK(VP)!=a.a?(Y(WP,(Ny(),Wy)),Y(XP,Wy),Y(YP,Wy),Y(ZP,Wy),e="F,Cl,Br,I"):(b=XK($P)!=a.a,c=XK(aQ)!=a.a,XK(bQ)!=a.a&&(b?e+="c,":c?e+="C,":e+="#6,"),XK(cQ)!=a.a&&(b?e+="n,":c?e+="N,":e+="#7,"),XK(dQ)!=a.a&&(b?e+="o,":c?e+="O,":e+="#8,"),XK(eQ)!=a.a&&(b?e+="s,":c?e+="S,":e+="#16,"),XK(fQ)!=a.a&&(b?e+="p,":c?e+="P,":e+="#15,"),XK(WP)!=a.a&&(e+="F,"),XK(XP)!=a.a&&(e+="Cl,"),XK(YP)!=a.a&&(e+="Br,"),XK(ZP)!=a.a&&(e+="I,"),\nuF(e,ya)&&(e=e.substr(0,e.length-1-0)),1>e.length&&!a.b&&(b?e=rc:c?e=ub:(Y(TP,(Ny(),Wy)),e=wa)));b=l;d&&XK($P)!=a.a&&(b+=";a");d&&XK(aQ)!=a.a&&(b+=";A");XK(gQ)!=a.a&&(b+=";R");XK(hQ)!=a.a&&(b+=";!R");XK(TP)!=a.a&&0<b.length?e=b.substr(1,b.length-1):e+=b;d=iQ.tc.a.pb.selectedIndex;0<d&&(--d,e+=";H"+d);d=jQ.tc.a.pb.selectedIndex;0<d&&(--d,e+=";D"+d);XK(kQ)!=a.a&&(e="~");XK(lQ)!=a.a&&(e=jb);XK(mQ)!=a.a&&(e=tb);XK(nQ)!=a.a&&(e="!@");Tz(a.e.tc,e)}\nfunction oQ(a){pQ(a);qQ(a);var b=iQ.tc.a;FP(b,0);b.pb.options[0].selected=!0;b=jQ.tc.a;FP(b,0);b.pb.options[0].selected=!0;Y($P,a.a);Y(aQ,a.a);Y(gQ,a.a);Y(hQ,a.a);Y(iQ,a.a);Y(jQ,a.a);rQ(a)}function pQ(a){Y(bQ,a.a);Y(cQ,a.a);Y(dQ,a.a);Y(eQ,a.a);Y(fQ,a.a);Y(WP,a.a);Y(XP,a.a);Y(YP,a.a);Y(ZP,a.a)}function qQ(a){Y(TP,a.a);Y(UP,a.a);Y(VP,a.a)}function rQ(a){Y(kQ,a.a);Y(lQ,a.a);Y(mQ,a.a);Y(nQ,a.a);a.b=!1}\nfunction QP(a){EL.call(this,"Atom/Bond Query");this.i=new xL(this.xg());Gy(this.q,new iM(this));this.a=(jB(),lB);this.c=a;this.d||(a=Ox(a),this.d=new PL(a),gM(this.d,-150,10));this.j=this.d;my(this,new MP);Y(this,this.a);a=new ry;my(a,new mz(0,3,1));Z(a,new NP("Atom type :"),null);TP=new xL(AP);UP=new xL("Any except C");VP=new xL("Halogen");Z(a,TP,null);Z(a,UP,null);Z(a,VP,null);Z(this,a,null);a=new ry;my(a,new mz(0,3,1));Z(a,new NL("Or select one or more from the list :",0),null);Z(this,a,null);\na=new ry;my(a,new mz(0,3,1));bQ=new xL(xb);cQ=new xL(Tb);dQ=new xL(Yb);eQ=new xL(bc);fQ=new xL(Zb);WP=new xL(Gb);XP=new xL(Bb);YP=new xL(wb);ZP=new xL(Kb);Z(a,bQ,null);Z(a,cQ,null);Z(a,dQ,null);Z(a,eQ,null);Z(a,fQ,null);Z(a,WP,null);Z(a,XP,null);Z(a,YP,null);Z(a,ZP,null);Z(this,a,null);a=new ry;my(a,new mz(0,3,1));iQ=new KP;JP(iQ,AP);JP(iQ,$a);JP(iQ,bb);JP(iQ,db);JP(iQ,eb);Z(a,new NP("Number of hydrogens :  "),null);Z(a,iQ,null);Z(this,a,null);a=new ry;my(a,new mz(0,3,1));jQ=new KP;JP(jQ,AP);JP(jQ,\n$a);JP(jQ,bb);JP(jQ,db);JP(jQ,eb);JP(jQ,"4");JP(jQ,"5");JP(jQ,"6");Z(a,new NL("Number of connections :",0),null);Z(a,jQ,null);Z(a,new NL(" (H\'s don\'t count.)",0),null);Z(this,a,null);a=new ry;my(a,new mz(0,3,1));Z(a,new NP("Atom is :"),null);$P=new xL(BP);Z(a,$P,null);aQ=new xL("Nonaromatic");Z(a,aQ,null);gQ=new xL(EP);Z(a,gQ,null);hQ=new xL(CP);Z(a,hQ,null);Z(this,a,null);a=new ry;Y(a,cz(XK(this)));my(a,new mz(0,3,1));Z(a,new NP("Bond is :"),null);kQ=new xL(AP);Z(a,kQ,null);lQ=new xL(BP);Z(a,lQ,\nnull);mQ=new xL(EP);Z(a,mQ,null);nQ=new xL(CP);Z(a,nQ,null);Z(this,a,null);a=new ry;my(a,new mz(1,3,1));this.e=new Sz(wa,20);Z(a,this.e,null);Z(a,new xL(DP),null);Z(a,this.i,null);Z(this,a,null);this.tc&&GL(this.tc.c,!1);DL(this,!1);pQ(this);qQ(this);rQ(this);Y($P,this.a);Y(aQ,this.a);Y(gQ,this.a);Y(hQ,this.a);Y(iQ,this.a);Y(jQ,this.a);RP(this,TP);CL(this);a=this.j;kM(this.tc.c,a.a,a.b);!Nx(this)&&fL(this);aL(this)}r(608,587,ZH,QP);\n_.yg=function(a,b){var c;G(b,DP)?(oQ(this),RP(this,TP),SP(this)):D(a.f,45)?(rQ(this),gs(a.f)===gs(TP)?(pQ(this),qQ(this)):gs(a.f)===gs(UP)?(pQ(this),qQ(this)):gs(a.f)===gs(VP)?(pQ(this),qQ(this)):gs(a.f)===gs(gQ)?Y(hQ,this.a):gs(a.f)===gs(hQ)?(Y(gQ,this.a),Y($P,this.a)):gs(a.f)===gs($P)?(Y(aQ,this.a),Y(hQ,this.a)):gs(a.f)===gs(aQ)?Y($P,this.a):gs(a.f)===gs(kQ)||gs(a.f)===gs(lQ)||gs(a.f)===gs(mQ)||gs(a.f)===gs(nQ)?(oQ(this),this.b=!0):qQ(this),RP(this,a.f),SP(this)):D(a.f,46)&&(rQ(this),c=a.f,0==c.tc.a.pb.selectedIndex?\nY(c,this.a):Y(c,(Ny(),Wy)),SP(this));107!=this.c.i&&(this.c.i=107,wy(this.c));return!0};_.zg=function(){return Wm(this.e.tc.a.pb,Pg)};_.Ag=function(){return this.b};_.b=!1;_.c=null;_.d=null;var TP=_.e=null,kQ=null,UP=null,$P=null,lQ=null,YP=null,bQ=null,jQ=null,iQ=null,XP=null,WP=null,VP=null,ZP=null,cQ=null,aQ=null,hQ=null,nQ=null,dQ=null,fQ=null,gQ=null,mQ=null,eQ=null;function LP(a){AH();CH.call(this);this.a=new HP;Ku(this.a,new sQ(this,a),(nJ(),nJ(),oJ))}r(654,652,{},LP);_.Te=function(){return this.a};\n_.a=null;function sQ(a,b){this.a=a;this.b=b}r(655,1,{},sQ);_.bd=function(a){$x();lM(a,this.b,GP(this.a.a,this.a.a.pb.selectedIndex))};_.a=null;_.b=null;V(586);V(608);V(435);V(654);V(655);V(371);x(VH)(1);\n//@ sourceURL=1.js\n')
  