Compounds of formula: ##STR00001## or pharmaceutically acceptable salts,
esters, amides, or prodrugs thereof, wherein: A and G are each
independently N or N.sup.+--O.sup.-; m and n are each independently 0, 1,
or 2; X.sup.1 and X.sup.3 are each independently O, S, and
--N(R.sup.1)--; X.sup.2 is O, S, --N(R.sup.1)--, --N(Ar.sup.2)--and
--N(R.sup.2)C(O)--; Ar.sup.1 is a six-membered aromatic ring; Ar.sup.2 is
cyclohexyl or a mono- or bicyclic aromatic ring, and R.sup.13 is
hydrogen, alkyl, or halogen, as defined herein. The compounds are useful
in treating conditions or disorders prevented by or ameliorated by nAChR
ligands. Also disclosed are pharmaceutical compositions having compounds
of formulas (I) and (II) and methods for using such compounds and
compositions.