var yZ=" (H's don't count.)",zZ="!#6",AZ="!@",BZ="#15,",CZ="#16,",DZ="#6,",EZ="#7,",FZ="#8,",GZ="3",HZ="4",IZ="5",JZ="6",KZ=";!R",LZ=";A",MZ=";D",NZ=";H",OZ=";R",PZ=";a",QZ="<SELECT>",RZ="Any",SZ="Any except C",TZ="Aromatic",UZ="Atom is :",VZ="Atom type :",WZ="Atom/Bond Query",XZ="Bond is :",YZ="Br,",ZZ="C,",$Z="Cl,",a_="F,",b_="F,Cl,Br,I",c_="Halogen",d_="I,",e_="Missing message: awt.103",f_="N,",g_="Nonaromatic",h_="Nonring",i_="Number of connections :",j_="Number of hydrogens :  ",k_="O,",l_="Or select one or more from the list :",
m_="P,",n_="Reset",o_="Ring",p_="S,",q_="bidiwrapped",r_="c,",s_="gwt-ListBox",t_="n,",u_="o,",v_="p,",w_="s,",x_="~";function y_(){y_=s;z_=new Mx(uj,new A_)}function A_(){}r(193,190,{},A_);_.Pc=function(a){hF();XV(this,a.b,B_(a.a.a,a.a.a.ob.selectedIndex))};_.Sc=function(){return z_};var z_;function C_(a,b){if(0>b||b>=a.ob.options.length)throw new mC;}function B_(a,b){C_(a,b);return a.ob.options[b].value}function D_(){var a;this.ob=(a=QZ,$doc.createElement(a));this.ob[zj]=s_}r(341,319,$q,D_);
function E_(){E_=s}function F_(a,b){if(null==b)throw new mz(e_);var c=-1,d,e,f;f=a.mc.a.ob;e=H(Mn);e.text=b;e.removeAttribute(q_);e.value=b;d=f.options.length;(0>c||c>d)&&(c=d);c==d?f.add(e):(c=f.options[c])?f.add(e,c.index):f.add(e)}function G_(){E_();gF.call(this);new cs;this.mc=new H_((hF(),this))}r(410,397,{89:1,91:1,98:1,110:1,116:1},G_);_.ae=function(){return lF(this.mc,this)};
_.pe=function(){return(null==this.jc&&(this.jc=TE(this)),this.jc)+hb+this.uc+hb+this.vc+hb+this.rc+vq+this.hc+(this.qc?l:",hidden")+",current="+B_(this.mc.a,this.mc.a.ob.selectedIndex)};function I_(){wV.call(this,7)}r(423,1,dr,I_);function J_(a){yV.call(this,a,0)}r(428,397,Er,J_);function K_(a){var b=a.j;WV(a.mc.c,b.a,b.b);!VE(a)&&RU(a);MU(a)}
function L_(a,b,c){TV.call(this);this.mc&&rV(this.mc.c,!1);oV(this,!1);tF(this,new wV(0));a=new yV(a,1);$(this,a,null);a=new yF;$(a,this.i,null);$(this,a,null);b&&(this.j=WE(b),nV(this),SV(this.j,~~(lw(b.$b.ob,en)/2)-~~(this.rc/2),~~(lw(b.$b.ob,dn)/2)-~~(this.hc/2)));c&&Z(this,c)}r(545,546,mP,L_);_.hg=function(){return"OK"};r(551,552,Zq);_.Lc=function(){K_(new L_(this.b,this.a,(jI(),lI)))};r(554,552,Zq);_.Lc=function(){!this.a.Ib?this.a.Ib=new M_(this.a):this.a.Ib.mc.c.gb?KW(this.a.Ib.mc.c):K_(this.a.Ib)};
function N_(a,b){IU(b)==a.a?Z(b,(RF(),$F)):Z(b,a.a)}
function O_(a){var b,c,d,e;e=l;d=!1;IU(P_)!=a.a?(e=fb,d=!0):IU(Q_)!=a.a?(e=zZ,d=!0):IU(R_)!=a.a?(Z(S_,(RF(),$F)),Z(T_,$F),Z(U_,$F),Z(V_,$F),e=b_):(b=IU(W_)!=a.a,c=IU(X_)!=a.a,IU(Y_)!=a.a&&(b?e+=r_:c?e+=ZZ:e+=DZ),IU(Z_)!=a.a&&(b?e+=t_:c?e+=f_:e+=EZ),IU($_)!=a.a&&(b?e+=u_:c?e+=k_:e+=FZ),IU(a0)!=a.a&&(b?e+=w_:c?e+=p_:e+=CZ),IU(b0)!=a.a&&(b?e+=v_:c?e+=m_:e+=BZ),IU(S_)!=a.a&&(e+=a_),IU(T_)!=a.a&&(e+=$Z),IU(U_)!=a.a&&(e+=YZ),IU(V_)!=a.a&&(e+=d_),eM(e,hb)&&(e=e.substr(0,e.length-1-0)),1>e.length&&!a.b&&
(b?e=xi:c?e=Qc:(Z(P_,(RF(),$F)),e=fb)));b=l;d&&IU(W_)!=a.a&&(b+=PZ);d&&IU(X_)!=a.a&&(b+=LZ);IU(c0)!=a.a&&(b+=OZ);IU(d0)!=a.a&&(b+=KZ);IU(P_)!=a.a&&0<b.length?e=b.substr(1,b.length-1):e+=b;d=e0.mc.a.ob.selectedIndex;0<d&&(--d,e+=NZ+d);d=f0.mc.a.ob.selectedIndex;0<d&&(--d,e+=MZ+d);IU(g0)!=a.a&&(e=x_);IU(h0)!=a.a&&(e=oc);IU(i0)!=a.a&&(e=Ic);IU(j0)!=a.a&&(e=AZ);YG(a.e.mc,e)}
function k0(a){l0(a);m0(a);var b=e0.mc.a;C_(b,0);b.ob.options[0].selected=!0;b=f0.mc.a;C_(b,0);b.ob.options[0].selected=!0;Z(W_,a.a);Z(X_,a.a);Z(c0,a.a);Z(d0,a.a);Z(e0,a.a);Z(f0,a.a);n0(a)}function l0(a){Z(Y_,a.a);Z(Z_,a.a);Z($_,a.a);Z(a0,a.a);Z(b0,a.a);Z(S_,a.a);Z(T_,a.a);Z(U_,a.a);Z(V_,a.a)}function m0(a){Z(P_,a.a);Z(Q_,a.a);Z(R_,a.a)}function n0(a){Z(g0,a.a);Z(h0,a.a);Z(i0,a.a);Z(j0,a.a);a.b=!1}
function M_(a){pV.call(this,WZ);this.i=new iV(this.hg());KF(this.q,new UV(this));this.a=(jI(),lI);this.c=a;this.d||(a=WE(a),this.d=new AV(a),SV(this.d,-150,10));this.j=this.d;tF(this,new I_);Z(this,this.a);a=new yF;tF(a,new qG(0,3,1));$(a,new J_(VZ),null);P_=new iV(RZ);Q_=new iV(SZ);R_=new iV(c_);$(a,P_,null);$(a,Q_,null);$(a,R_,null);$(this,a,null);a=new yF;tF(a,new qG(0,3,1));$(a,new yV(l_,0),null);$(this,a,null);a=new yF;tF(a,new qG(0,3,1));Y_=new iV(id);Z_=new iV(vf);$_=new iV(Nf);a0=new iV(bg);
b0=new iV(Pf);S_=new iV(ke);T_=new iV(Cd);U_=new iV(ad);V_=new iV(ve);$(a,Y_,null);$(a,Z_,null);$(a,$_,null);$(a,a0,null);$(a,b0,null);$(a,S_,null);$(a,T_,null);$(a,U_,null);$(a,V_,null);$(this,a,null);a=new yF;tF(a,new qG(0,3,1));e0=new G_;F_(e0,RZ);F_(e0,$b);F_(e0,cc);F_(e0,hc);F_(e0,GZ);$(a,new J_(j_),null);$(a,e0,null);$(this,a,null);a=new yF;tF(a,new qG(0,3,1));f0=new G_;F_(f0,RZ);F_(f0,$b);F_(f0,cc);F_(f0,hc);F_(f0,GZ);F_(f0,HZ);F_(f0,IZ);F_(f0,JZ);$(a,new yV(i_,0),null);$(a,f0,null);$(a,new yV(yZ,
0),null);$(this,a,null);a=new yF;tF(a,new qG(0,3,1));$(a,new J_(UZ),null);W_=new iV(TZ);$(a,W_,null);X_=new iV(g_);$(a,X_,null);c0=new iV(o_);$(a,c0,null);d0=new iV(h_);$(a,d0,null);$(this,a,null);a=new yF;Z(a,gG(IU(this)));tF(a,new qG(0,3,1));$(a,new J_(XZ),null);g0=new iV(RZ);$(a,g0,null);h0=new iV(TZ);$(a,h0,null);i0=new iV(o_);$(a,i0,null);j0=new iV(h_);$(a,j0,null);$(this,a,null);a=new yF;tF(a,new qG(1,3,1));this.e=new XG(fb,20);$(a,this.e,null);$(a,new iV(n_),null);$(a,this.i,null);$(this,a,
null);this.mc&&rV(this.mc.c,!1);oV(this,!1);l0(this);m0(this);n0(this);Z(W_,this.a);Z(X_,this.a);Z(c0,this.a);Z(d0,this.a);Z(e0,this.a);Z(f0,this.a);N_(this,P_);nV(this);a=this.j;WV(this.mc.c,a.a,a.b);!VE(this)&&RU(this);MU(this)}r(564,546,mP,M_);
_.ig=function(a,b){var c;L(b,n_)?(k0(this),N_(this,P_),O_(this)):E(a.f,88)?(n0(this),Uz(a.f)===Uz(P_)?(l0(this),m0(this)):Uz(a.f)===Uz(Q_)?(l0(this),m0(this)):Uz(a.f)===Uz(R_)?(l0(this),m0(this)):Uz(a.f)===Uz(c0)?Z(d0,this.a):Uz(a.f)===Uz(d0)?(Z(c0,this.a),Z(W_,this.a)):Uz(a.f)===Uz(W_)?(Z(X_,this.a),Z(d0,this.a)):Uz(a.f)===Uz(X_)?Z(W_,this.a):Uz(a.f)===Uz(g0)||Uz(a.f)===Uz(h0)||Uz(a.f)===Uz(i0)||Uz(a.f)===Uz(j0)?(k0(this),this.b=!0):m0(this),N_(this,a.f),O_(this)):E(a.f,89)&&(n0(this),c=a.f,0==c.mc.a.ob.selectedIndex?
Z(c,this.a):Z(c,(RF(),$F)),O_(this));107!=this.c.e&&(this.c.e=107,DF(this.c));return!0};_.jg=function(){return mw(this.e.mc.a.ob,iq)};_.kg=function(){return this.b};_.b=!1;_.c=null;_.d=null;var P_=_.e=null,g0=null,Q_=null,W_=null,h0=null,U_=null,Y_=null,f0=null,e0=null,T_=null,S_=null,R_=null,V_=null,Z_=null,X_=null,d0=null,j0=null,$_=null,b0=null,c0=null,i0=null,a0=null;function H_(a){rO();tO.call(this);this.a=new D_;UB(this.a,new o0(this,a),(y_(),y_(),z_))}r(609,607,{},H_);_.Je=function(){return this.a};
_.a=null;function o0(a,b){this.a=a;this.b=b}r(610,1,{},o0);_.a=null;_.b=null;Y(545);Y(564);Y(410);Y(609);Y(610);Y(341);Y(193);y(hP)(1);