var dO="3",eO="Any",fO="Aromatic",gO="Nonring",hO="Reset",iO="Ring";function jO(){jO=s;kO=new Do(Sc,new lO)}function lO(){}r(198,195,{},lO);_.Tc=function(a){jw();KK(this,a.b,mO(a.a.a,a.a.a.ob.selectedIndex))};_.Wc=function(){return kO};var kO;function nO(a,b){if(0>b||b>=a.ob.options.length)throw new rt;}function mO(a,b){nO(a,b);return a.ob.options[b].value}function oO(){this.ob=$doc.createElement("select");this.ob[Uc]="gwt-ListBox"}r(344,322,oh,oO);function pO(){pO=s}
function qO(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(jf);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 rO(){pO();iw.call(this);new qi;this.mc=new sO((jw(),this))}r(412,399,{90:1,92:1,99:1,111:1,117:1},rO);_.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+Gg+this.hc+(this.qc?l:",hidden")+",current="+mO(this.mc.a,this.mc.a.ob.selectedIndex)};function tO(){iK.call(this,7)}r(425,1,Sh,tO);function uO(a){kK.call(this,a,0)}r(430,399,th,uO);function vO(a){var b=a.j;JK(a.mc.c,b.a,b.b);!Xv(a)&&DJ(a);yJ(a)}
function wO(a,b,c){GK.call(this);this.mc&&dK(this.mc.c,!1);aK(this,!1);ww(this,new iK(0));a=new kK(a,1);$(this,a,null);a=new Bw;$(a,this.i,null);$(this,a,null);b&&(this.j=Yv(b),$J(this),FK(this.j,~~(Im(b.$b.ob,ff)/2)-~~(this.rc/2),~~(Im(b.$b.ob,ef)/2)-~~(this.hc/2)));c&&Z(this,c)}r(547,548,WF,wO);_.hg=function(){return"OK"};r(553,554,uh);_.Pc=function(){vO(new wO(this.b,this.a,(Zy(),az)))};r(556,554,uh);_.Pc=function(){!this.a.Ib?this.a.Ib=new xO(this.a):this.a.Ib.mc.c.gb?xL(this.a.Ib.mc.c):vO(this.a.Ib)};
function yO(a,b){uJ(b)==a.a?Z(b,(Tw(),bx)):Z(b,a.a)}
function zO(a){var b,c,d,e;e=l;d=!1;uJ(AO)!=a.a?(e=ta,d=!0):uJ(BO)!=a.a?(e="!#6",d=!0):uJ(CO)!=a.a?(Z(DO,(Tw(),bx)),Z(EO,bx),Z(FO,bx),Z(GO,bx),e="F,Cl,Br,I"):(b=uJ(HO)!=a.a,c=uJ(IO)!=a.a,uJ(JO)!=a.a&&(b?e+="c,":c?e+="C,":e+="#6,"),uJ(KO)!=a.a&&(b?e+="n,":c?e+="N,":e+="#7,"),uJ(LO)!=a.a&&(b?e+="o,":c?e+="O,":e+="#8,"),uJ(OO)!=a.a&&(b?e+="s,":c?e+="S,":e+="#16,"),uJ(PO)!=a.a&&(b?e+="p,":c?e+="P,":e+="#15,"),uJ(DO)!=a.a&&(e+="F,"),uJ(EO)!=a.a&&(e+="Cl,"),uJ(FO)!=a.a&&(e+="Br,"),uJ(GO)!=a.a&&(e+="I,"),
UC(e,va)&&(e=e.substr(0,e.length-1-0)),1>e.length&&!a.b&&(b?e=mc:c?e=pb:(Z(AO,(Tw(),bx)),e=ta)));b=l;d&&uJ(HO)!=a.a&&(b+=";a");d&&uJ(IO)!=a.a&&(b+=";A");uJ(QO)!=a.a&&(b+=";R");uJ(RO)!=a.a&&(b+=";!R");uJ(AO)!=a.a&&0<b.length?e=b.substr(1,b.length-1):e+=b;d=SO.mc.a.ob.selectedIndex;0<d&&(--d,e+=";H"+d);d=TO.mc.a.ob.selectedIndex;0<d&&(--d,e+=";D"+d);uJ(UO)!=a.a&&(e="~");uJ(VO)!=a.a&&(e=fb);uJ(WO)!=a.a&&(e=ob);uJ(XO)!=a.a&&(e="!@");nK(a.e,e)}
function YO(a){ZO(a);$O(a);var b=SO.mc.a;nO(b,0);b.ob.options[0].selected=!0;b=TO.mc.a;nO(b,0);b.ob.options[0].selected=!0;Z(HO,a.a);Z(IO,a.a);Z(QO,a.a);Z(RO,a.a);Z(SO,a.a);Z(TO,a.a);aP(a)}function ZO(a){Z(JO,a.a);Z(KO,a.a);Z(LO,a.a);Z(OO,a.a);Z(PO,a.a);Z(DO,a.a);Z(EO,a.a);Z(FO,a.a);Z(GO,a.a)}function $O(a){Z(AO,a.a);Z(BO,a.a);Z(CO,a.a)}function aP(a){Z(UO,a.a);Z(VO,a.a);Z(WO,a.a);Z(XO,a.a);a.b=!1}
function xO(a){bK.call(this,"Atom/Bond Query");this.i=new VJ(this.hg());Mw(this.q,new HK(this));this.a=(Zy(),az);this.c=a;this.d||(a=Yv(a),this.d=new mK(a),FK(this.d,-150,10));this.j=this.d;ww(this,new tO);Z(this,this.a);a=new Bw;ww(a,new sx(0,3,1));$(a,new uO("Atom type :"),null);AO=new VJ(eO);BO=new VJ("Any except C");CO=new VJ("Halogen");$(a,AO,null);$(a,BO,null);$(a,CO,null);$(this,a,null);a=new Bw;ww(a,new sx(0,3,1));$(a,new kK("Or select one or more from the list :",0),null);$(this,a,null);
a=new Bw;ww(a,new sx(0,3,1));JO=new VJ(tb);KO=new VJ(Nb);LO=new VJ(Tb);OO=new VJ($b);PO=new VJ(Ub);DO=new VJ(Cb);EO=new VJ(wb);FO=new VJ(sb);GO=new VJ(Ib);$(a,JO,null);$(a,KO,null);$(a,LO,null);$(a,OO,null);$(a,PO,null);$(a,DO,null);$(a,EO,null);$(a,FO,null);$(a,GO,null);$(this,a,null);a=new Bw;ww(a,new sx(0,3,1));SO=new rO;qO(SO,eO);qO(SO,Ya);qO(SO,$a);qO(SO,eb);qO(SO,dO);$(a,new uO("Number of hydrogens :  "),null);$(a,SO,null);$(this,a,null);a=new Bw;ww(a,new sx(0,3,1));TO=new rO;qO(TO,eO);qO(TO,
Ya);qO(TO,$a);qO(TO,eb);qO(TO,dO);qO(TO,"4");qO(TO,"5");qO(TO,"6");$(a,new kK("Number of connections :",0),null);$(a,TO,null);$(a,new kK(" (H's don't count.)",0),null);$(this,a,null);a=new Bw;ww(a,new sx(0,3,1));$(a,new uO("Atom is :"),null);HO=new VJ(fO);$(a,HO,null);IO=new VJ("Nonaromatic");$(a,IO,null);QO=new VJ(iO);$(a,QO,null);RO=new VJ(gO);$(a,RO,null);$(this,a,null);a=new Bw;Z(a,ix(uJ(this)));ww(a,new sx(0,3,1));$(a,new uO("Bond is :"),null);UO=new VJ(eO);$(a,UO,null);VO=new VJ(fO);$(a,VO,
null);WO=new VJ(iO);$(a,WO,null);XO=new VJ(gO);$(a,XO,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 VJ(hO),null);$(a,this.i,null);$(this,a,null);this.mc&&dK(this.mc.c,!1);aK(this,!1);ZO(this);$O(this);aP(this);Z(HO,this.a);Z(IO,this.a);Z(QO,this.a);Z(RO,this.a);Z(SO,this.a);Z(TO,this.a);yO(this,AO);$J(this);a=this.j;JK(this.mc.c,a.a,a.b);!Xv(this)&&DJ(this);yJ(this)}r(566,548,WF,xO);
_.ig=function(a,b){var c;H(b,hO)?(YO(this),yO(this,AO),zO(this)):E(a.f,89)?(aP(this),Mq(a.f)===Mq(AO)?(ZO(this),$O(this)):Mq(a.f)===Mq(BO)?(ZO(this),$O(this)):Mq(a.f)===Mq(CO)?(ZO(this),$O(this)):Mq(a.f)===Mq(QO)?Z(RO,this.a):Mq(a.f)===Mq(RO)?(Z(QO,this.a),Z(HO,this.a)):Mq(a.f)===Mq(HO)?(Z(IO,this.a),Z(RO,this.a)):Mq(a.f)===Mq(IO)?Z(HO,this.a):Mq(a.f)===Mq(UO)||Mq(a.f)===Mq(VO)||Mq(a.f)===Mq(WO)||Mq(a.f)===Mq(XO)?(YO(this),this.b=!0):$O(this),yO(this,a.f),zO(this)):E(a.f,90)&&(aP(this),c=a.f,0==c.mc.a.ob.selectedIndex?
Z(c,this.a):Z(c,(Tw(),bx)),zO(this));107!=this.c.e&&(this.c.e=107,Gw(this.c));return!0};_.jg=function(){return Jm(this.e.mc.a.ob,xg)};_.kg=function(){return this.b};_.b=!1;_.c=null;_.d=null;var AO=_.e=null,UO=null,BO=null,HO=null,VO=null,FO=null,JO=null,TO=null,SO=null,EO=null,DO=null,CO=null,GO=null,KO=null,IO=null,RO=null,XO=null,LO=null,PO=null,QO=null,WO=null,OO=null;function sO(a){dF();fF.call(this);this.a=new oO;Ms(this.a,new bP(this,a),(jO(),jO(),kO))}r(612,610,{},sO);_.Je=function(){return this.a};
_.a=null;function bP(a,b){this.a=a;this.b=b}r(613,1,{},bP);_.a=null;_.b=null;Y(547);Y(566);Y(412);Y(612);Y(613);Y(344);Y(198);y(VF)(1);