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