var eO="3",fO="Any",gO="Aromatic",hO="Nonring",iO="Reset",jO="Ring";function kO(){kO=s;lO=new Eo(Tc,new mO)}function mO(){}r(198,195,{},mO);_.Tc=function(a){jw();LK(this,a.b,nO(a.a.a,a.a.a.ob.selectedIndex))};_.Wc=function(){return lO};var lO;function oO(a,b){if(0>b||b>=a.ob.options.length)throw new rt;}function nO(a,b){oO(a,b);return a.ob.options[b].value}function pO(){this.ob=$doc.createElement("select");this.ob[Vc]="gwt-ListBox"}r(344,322,ph,pO);function qO(){qO=s}
function rO(a,b){if(null==b)throw new eq("Missing message: awt.103");var c=-1,d,e,f;f=a.mc.a.ob;e=$doc.createElement(kf);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 sO(){qO();iw.call(this);new ri;this.mc=new tO((jw(),this))}r(412,399,{90:1,92:1,99:1,111:1,117:1},sO);_.ae=function(){return nw(this.mc,this)};
_.pe=function(){return(null==this.jc&&(this.jc=Vv(this)),this.jc)+va+this.uc+va+this.vc+va+this.rc+Hg+this.hc+(this.qc?l:",hidden")+",current="+nO(this.mc.a,this.mc.a.ob.selectedIndex)};function uO(){jK.call(this,7)}r(425,1,Th,uO);function vO(a){lK.call(this,a,0)}r(430,399,uh,vO);function wO(a){var b=a.j;KK(a.mc.c,b.a,b.b);!Xv(a)&&EJ(a);zJ(a)}
function xO(a,b,c){HK.call(this);this.mc&&eK(this.mc.c,!1);bK(this,!1);ww(this,new jK(0));a=new lK(a,1);$(this,a,null);a=new Bw;$(a,this.i,null);$(this,a,null);b&&(this.j=Yv(b),aK(this),GK(this.j,~~(Jm(b.$b.ob,gf)/2)-~~(this.rc/2),~~(Jm(b.$b.ob,ff)/2)-~~(this.hc/2)));c&&Z(this,c)}r(547,548,XF,xO);_.hg=function(){return"OK"};r(553,554,vh);_.Pc=function(){wO(new xO(this.b,this.a,(az(),cz)))};r(556,554,vh);_.Pc=function(){!this.a.Ib?this.a.Ib=new yO(this.a):this.a.Ib.mc.c.gb?yL(this.a.Ib.mc.c):wO(this.a.Ib)};
function zO(a,b){vJ(b)==a.a?Z(b,(Tw(),bx)):Z(b,a.a)}
function AO(a){var b,c,d,e;e=l;d=!1;vJ(BO)!=a.a?(e=ta,d=!0):vJ(CO)!=a.a?(e="!#6",d=!0):vJ(DO)!=a.a?(Z(EO,(Tw(),bx)),Z(FO,bx),Z(GO,bx),Z(HO,bx),e="F,Cl,Br,I"):(b=vJ(IO)!=a.a,c=vJ(JO)!=a.a,vJ(KO)!=a.a&&(b?e+="c,":c?e+="C,":e+="#6,"),vJ(LO)!=a.a&&(b?e+="n,":c?e+="N,":e+="#7,"),vJ(MO)!=a.a&&(b?e+="o,":c?e+="O,":e+="#8,"),vJ(PO)!=a.a&&(b?e+="s,":c?e+="S,":e+="#16,"),vJ(QO)!=a.a&&(b?e+="p,":c?e+="P,":e+="#15,"),vJ(EO)!=a.a&&(e+="F,"),vJ(FO)!=a.a&&(e+="Cl,"),vJ(GO)!=a.a&&(e+="Br,"),vJ(HO)!=a.a&&(e+="I,"),
WC(e,va)&&(e=e.substr(0,e.length-1-0)),1>e.length&&!a.b&&(b?e=nc:c?e=pb:(Z(BO,(Tw(),bx)),e=ta)));b=l;d&&vJ(IO)!=a.a&&(b+=";a");d&&vJ(JO)!=a.a&&(b+=";A");vJ(RO)!=a.a&&(b+=";R");vJ(SO)!=a.a&&(b+=";!R");vJ(BO)!=a.a&&0<b.length?e=b.substr(1,b.length-1):e+=b;d=TO.mc.a.ob.selectedIndex;0<d&&(--d,e+=";H"+d);d=UO.mc.a.ob.selectedIndex;0<d&&(--d,e+=";D"+d);vJ(VO)!=a.a&&(e="~");vJ(WO)!=a.a&&(e=fb);vJ(XO)!=a.a&&(e=ob);vJ(YO)!=a.a&&(e="!@");oK(a.e,e)}
function ZO(a){$O(a);aP(a);var b=TO.mc.a;oO(b,0);b.ob.options[0].selected=!0;b=UO.mc.a;oO(b,0);b.ob.options[0].selected=!0;Z(IO,a.a);Z(JO,a.a);Z(RO,a.a);Z(SO,a.a);Z(TO,a.a);Z(UO,a.a);bP(a)}function $O(a){Z(KO,a.a);Z(LO,a.a);Z(MO,a.a);Z(PO,a.a);Z(QO,a.a);Z(EO,a.a);Z(FO,a.a);Z(GO,a.a);Z(HO,a.a)}function aP(a){Z(BO,a.a);Z(CO,a.a);Z(DO,a.a)}function bP(a){Z(VO,a.a);Z(WO,a.a);Z(XO,a.a);Z(YO,a.a);a.b=!1}
function yO(a){cK.call(this,"Atom/Bond Query");this.i=new WJ(this.hg());Mw(this.q,new IK(this));this.a=(az(),cz);this.c=a;this.d||(a=Yv(a),this.d=new nK(a),GK(this.d,-150,10));this.j=this.d;ww(this,new uO);Z(this,this.a);a=new Bw;ww(a,new sx(0,3,1));$(a,new vO("Atom type :"),null);BO=new WJ(fO);CO=new WJ("Any except C");DO=new WJ("Halogen");$(a,BO,null);$(a,CO,null);$(a,DO,null);$(this,a,null);a=new Bw;ww(a,new sx(0,3,1));$(a,new lK("Or select one or more from the list :",0),null);$(this,a,null);
a=new Bw;ww(a,new sx(0,3,1));KO=new WJ(tb);LO=new WJ(Nb);MO=new WJ(Tb);PO=new WJ($b);QO=new WJ(Ub);EO=new WJ(Cb);FO=new WJ(wb);GO=new WJ(sb);HO=new WJ(Ib);$(a,KO,null);$(a,LO,null);$(a,MO,null);$(a,PO,null);$(a,QO,null);$(a,EO,null);$(a,FO,null);$(a,GO,null);$(a,HO,null);$(this,a,null);a=new Bw;ww(a,new sx(0,3,1));TO=new sO;rO(TO,fO);rO(TO,Ya);rO(TO,$a);rO(TO,eb);rO(TO,eO);$(a,new vO("Number of hydrogens :  "),null);$(a,TO,null);$(this,a,null);a=new Bw;ww(a,new sx(0,3,1));UO=new sO;rO(UO,fO);rO(UO,
Ya);rO(UO,$a);rO(UO,eb);rO(UO,eO);rO(UO,"4");rO(UO,"5");rO(UO,"6");$(a,new lK("Number of connections :",0),null);$(a,UO,null);$(a,new lK(" (H's don't count.)",0),null);$(this,a,null);a=new Bw;ww(a,new sx(0,3,1));$(a,new vO("Atom is :"),null);IO=new WJ(gO);$(a,IO,null);JO=new WJ("Nonaromatic");$(a,JO,null);RO=new WJ(jO);$(a,RO,null);SO=new WJ(hO);$(a,SO,null);$(this,a,null);a=new Bw;Z(a,ix(vJ(this)));ww(a,new sx(0,3,1));$(a,new vO("Bond is :"),null);VO=new WJ(fO);$(a,VO,null);WO=new WJ(gO);$(a,WO,
null);XO=new WJ(jO);$(a,XO,null);YO=new WJ(hO);$(a,YO,null);$(this,a,null);a=new Bw;ww(a,new sx(1,3,1));this.e=new Yx(ta,20);$(a,this.e,null);$(a,new WJ(iO),null);$(a,this.i,null);$(this,a,null);this.mc&&eK(this.mc.c,!1);bK(this,!1);$O(this);aP(this);bP(this);Z(IO,this.a);Z(JO,this.a);Z(RO,this.a);Z(SO,this.a);Z(TO,this.a);Z(UO,this.a);zO(this,BO);aK(this);a=this.j;KK(this.mc.c,a.a,a.b);!Xv(this)&&EJ(this);zJ(this)}r(566,548,XF,yO);
_.ig=function(a,b){var c;H(b,iO)?(ZO(this),zO(this,BO),AO(this)):E(a.f,89)?(bP(this),Mq(a.f)===Mq(BO)?($O(this),aP(this)):Mq(a.f)===Mq(CO)?($O(this),aP(this)):Mq(a.f)===Mq(DO)?($O(this),aP(this)):Mq(a.f)===Mq(RO)?Z(SO,this.a):Mq(a.f)===Mq(SO)?(Z(RO,this.a),Z(IO,this.a)):Mq(a.f)===Mq(IO)?(Z(JO,this.a),Z(SO,this.a)):Mq(a.f)===Mq(JO)?Z(IO,this.a):Mq(a.f)===Mq(VO)||Mq(a.f)===Mq(WO)||Mq(a.f)===Mq(XO)||Mq(a.f)===Mq(YO)?(ZO(this),this.b=!0):aP(this),zO(this,a.f),AO(this)):E(a.f,90)&&(bP(this),c=a.f,0==c.mc.a.ob.selectedIndex?
Z(c,this.a):Z(c,(Tw(),bx)),AO(this));107!=this.c.e&&(this.c.e=107,Gw(this.c));return!0};_.jg=function(){return Km(this.e.mc.a.ob,Bg)};_.kg=function(){return this.b};_.b=!1;_.c=null;_.d=null;var BO=_.e=null,VO=null,CO=null,IO=null,WO=null,GO=null,KO=null,UO=null,TO=null,FO=null,EO=null,DO=null,HO=null,LO=null,JO=null,SO=null,YO=null,MO=null,QO=null,RO=null,XO=null,PO=null;function tO(a){eF();gF.call(this);this.a=new pO;Ms(this.a,new cP(this,a),(kO(),kO(),lO))}r(612,610,{},tO);_.Je=function(){return this.a};
_.a=null;function cP(a,b){this.a=a;this.b=b}r(613,1,{},cP);_.a=null;_.b=null;Y(547);Y(566);Y(412);Y(612);Y(613);Y(344);Y(198);y(WF)(1);