var YO="3",ZO="Any",$O="Aromatic",aP="Nonring",bP="Reset",cP="Ring";function dP(){dP=r;eP=new Vo(ad,new fP)}function fP(){}q(210,207,{},fP);_.Pc=function(a){mx();EL(this,a.b,gP(a.a.a,a.a.a.ob.selectedIndex))};_.Sc=function(){return eP};var eP;function hP(a,b){if(0>b||b>=a.ob.options.length)throw new ou;}function gP(a,b){hP(a,b);return a.ob.options[b].value}function iP(){this.ob=$doc.createElement("select");this.ob[cd]="gwt-ListBox"}q(356,334,qh,iP);function jP(){jP=r}
function kP(a,b){if(null==b)throw new Nq("Missing message: awt.103");var c=-1,d,e,f;f=a.mc.a.ob;e=$doc.createElement(mf);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 lP(){jP();lx.call(this);new wi;this.mc=new mP((mx(),this))}q(421,408,{90:1,92:1,99:1,111:1,117:1},lP);_.ae=function(){return qx(this.mc,this)};
_.pe=function(){return(null==this.jc&&(this.jc=Yw(this)),this.jc)+xa+this.uc+xa+this.vc+xa+this.rc+Jg+this.hc+(this.qc?l:",hidden")+",current="+gP(this.mc.a,this.mc.a.ob.selectedIndex)};function nP(){cL.call(this,7)}q(434,1,Wh,nP);function qP(a){eL.call(this,a,0)}q(439,408,wh,qP);function rP(a){var b=a.j;DL(a.mc.c,b.a,b.b);!$w(a)&&xK(a);sK(a)}
function sP(a,b,c){AL.call(this);this.mc&&YK(this.mc.c,!1);VK(this,!1);zx(this,new cL(0));a=new eL(a,1);$(this,a,null);a=new Ex;$(a,this.i,null);$(this,a,null);b&&(this.j=ax(b),UK(this),zL(this.j,~~(G(b.$b.ob,jf)/2)-~~(this.rc/2),~~(G(b.$b.ob,hf)/2)-~~(this.hc/2)));c&&Z(this,c)}q(567,568,oH,sP);_.jg=function(){return"OK"};q(573,574,xh);_.Lc=function(){rP(new sP(this.b,this.a,(sA(),uA)))};q(576,574,xh);_.Lc=function(){!this.a.Ib?this.a.Ib=new tP(this.a):this.a.Ib.mc.c.gb?rM(this.a.Ib.mc.c):rP(this.a.Ib)};
function uP(a,b){oK(b)==a.a?Z(b,(Xx(),fy)):Z(b,a.a)}
function vP(a){var b,c,d,e;e=l;d=!1;oK(wP)!=a.a?(e=va,d=!0):oK(xP)!=a.a?(e="!#6",d=!0):oK(yP)!=a.a?(Z(zP,(Xx(),fy)),Z(AP,fy),Z(BP,fy),Z(CP,fy),e="F,Cl,Br,I"):(b=oK(DP)!=a.a,c=oK(EP)!=a.a,oK(FP)!=a.a&&(b?e+="c,":c?e+="C,":e+="#6,"),oK(GP)!=a.a&&(b?e+="n,":c?e+="N,":e+="#7,"),oK(HP)!=a.a&&(b?e+="o,":c?e+="O,":e+="#8,"),oK(IP)!=a.a&&(b?e+="s,":c?e+="S,":e+="#16,"),oK(JP)!=a.a&&(b?e+="p,":c?e+="P,":e+="#15,"),oK(zP)!=a.a&&(e+="F,"),oK(AP)!=a.a&&(e+="Cl,"),oK(BP)!=a.a&&(e+="Br,"),oK(CP)!=a.a&&(e+="I,"),
nE(e,xa)&&(e=e.substr(0,e.length-1-0)),1>e.length&&!a.b&&(b?e=oc:c?e=qb:(Z(wP,(Xx(),fy)),e=va)));b=l;d&&oK(DP)!=a.a&&(b+=";a");d&&oK(EP)!=a.a&&(b+=";A");oK(KP)!=a.a&&(b+=";R");oK(LP)!=a.a&&(b+=";!R");oK(wP)!=a.a&&0<b.length?e=b.substr(1,b.length-1):e+=b;d=MP.mc.a.ob.selectedIndex;0<d&&(--d,e+=";H"+d);d=NP.mc.a.ob.selectedIndex;0<d&&(--d,e+=";D"+d);oK(OP)!=a.a&&(e="~");oK(PP)!=a.a&&(e=gb);oK(QP)!=a.a&&(e=pb);oK(RP)!=a.a&&(e="!@");hL(a.e,e)}
function SP(a){TP(a);UP(a);var b=MP.mc.a;hP(b,0);b.ob.options[0].selected=!0;b=NP.mc.a;hP(b,0);b.ob.options[0].selected=!0;Z(DP,a.a);Z(EP,a.a);Z(KP,a.a);Z(LP,a.a);Z(MP,a.a);Z(NP,a.a);VP(a)}function TP(a){Z(FP,a.a);Z(GP,a.a);Z(HP,a.a);Z(IP,a.a);Z(JP,a.a);Z(zP,a.a);Z(AP,a.a);Z(BP,a.a);Z(CP,a.a)}function UP(a){Z(wP,a.a);Z(xP,a.a);Z(yP,a.a)}function VP(a){Z(OP,a.a);Z(PP,a.a);Z(QP,a.a);Z(RP,a.a);a.b=!1}
function tP(a){WK.call(this,"Atom/Bond Query");this.i=new PK(this.jg());Qx(this.q,new BL(this));this.a=(sA(),uA);this.c=a;this.d||(a=ax(a),this.d=new gL(a),zL(this.d,-150,10));this.j=this.d;zx(this,new nP);Z(this,this.a);a=new Ex;zx(a,new wy(0,3,1));$(a,new qP("Atom type :"),null);wP=new PK(ZO);xP=new PK("Any except C");yP=new PK("Halogen");$(a,wP,null);$(a,xP,null);$(a,yP,null);$(this,a,null);a=new Ex;zx(a,new wy(0,3,1));$(a,new eL("Or select one or more from the list :",0),null);$(this,a,null);
a=new Ex;zx(a,new wy(0,3,1));FP=new PK(tb);GP=new PK(Nb);HP=new PK(Tb);IP=new PK($b);JP=new PK(Ub);zP=new PK(Cb);AP=new PK(xb);BP=new PK(sb);CP=new PK(Ib);$(a,FP,null);$(a,GP,null);$(a,HP,null);$(a,IP,null);$(a,JP,null);$(a,zP,null);$(a,AP,null);$(a,BP,null);$(a,CP,null);$(this,a,null);a=new Ex;zx(a,new wy(0,3,1));MP=new lP;kP(MP,ZO);kP(MP,$a);kP(MP,db);kP(MP,fb);kP(MP,YO);$(a,new qP("Number of hydrogens :  "),null);$(a,MP,null);$(this,a,null);a=new Ex;zx(a,new wy(0,3,1));NP=new lP;kP(NP,ZO);kP(NP,
$a);kP(NP,db);kP(NP,fb);kP(NP,YO);kP(NP,"4");kP(NP,"5");kP(NP,"6");$(a,new eL("Number of connections :",0),null);$(a,NP,null);$(a,new eL(" (H's don't count.)",0),null);$(this,a,null);a=new Ex;zx(a,new wy(0,3,1));$(a,new qP("Atom is :"),null);DP=new PK($O);$(a,DP,null);EP=new PK("Nonaromatic");$(a,EP,null);KP=new PK(cP);$(a,KP,null);LP=new PK(aP);$(a,LP,null);$(this,a,null);a=new Ex;Z(a,my(oK(this)));zx(a,new wy(0,3,1));$(a,new qP("Bond is :"),null);OP=new PK(ZO);$(a,OP,null);PP=new PK($O);$(a,PP,
null);QP=new PK(cP);$(a,QP,null);RP=new PK(aP);$(a,RP,null);$(this,a,null);a=new Ex;zx(a,new wy(1,3,1));this.e=new bz(va,20);$(a,this.e,null);$(a,new PK(bP),null);$(a,this.i,null);$(this,a,null);this.mc&&YK(this.mc.c,!1);VK(this,!1);TP(this);UP(this);VP(this);Z(DP,this.a);Z(EP,this.a);Z(KP,this.a);Z(LP,this.a);Z(MP,this.a);Z(NP,this.a);uP(this,wP);UK(this);a=this.j;DL(this.mc.c,a.a,a.b);!$w(this)&&xK(this);sK(this)}q(586,568,oH,tP);
_.kg=function(a,b){var c;H(b,bP)?(SP(this),uP(this,wP),vP(this)):D(a.f,89)?(VP(this),ur(a.f)===ur(wP)?(TP(this),UP(this)):ur(a.f)===ur(xP)?(TP(this),UP(this)):ur(a.f)===ur(yP)?(TP(this),UP(this)):ur(a.f)===ur(KP)?Z(LP,this.a):ur(a.f)===ur(LP)?(Z(KP,this.a),Z(DP,this.a)):ur(a.f)===ur(DP)?(Z(EP,this.a),Z(LP,this.a)):ur(a.f)===ur(EP)?Z(DP,this.a):ur(a.f)===ur(OP)||ur(a.f)===ur(PP)||ur(a.f)===ur(QP)||ur(a.f)===ur(RP)?(SP(this),this.b=!0):UP(this),uP(this,a.f),vP(this)):D(a.f,90)&&(VP(this),c=a.f,0==c.mc.a.ob.selectedIndex?
Z(c,this.a):Z(c,(Xx(),fy)),vP(this));107!=this.c.e&&(this.c.e=107,Jx(this.c));return!0};_.lg=function(){return Em(this.e.mc.a.ob,Dg)};_.mg=function(){return this.b};_.b=!1;_.c=null;_.d=null;var wP=_.e=null,OP=null,xP=null,DP=null,PP=null,BP=null,FP=null,NP=null,MP=null,AP=null,zP=null,yP=null,CP=null,GP=null,EP=null,LP=null,RP=null,HP=null,JP=null,KP=null,QP=null,IP=null;function mP(a){wG();yG.call(this);this.a=new iP;Wt(this.a,new WP(this,a),(dP(),dP(),eP))}q(632,630,{},mP);_.Je=function(){return this.a};
_.a=null;function WP(a,b){this.a=a;this.b=b}q(633,1,{},WP);_.a=null;_.b=null;X(567);X(586);X(421);X(632);X(633);X(356);X(210);x(nH)(1);