The present invention relates to compounds of formula I ##STR00001##
wherein G and R.sup.1 to R.sup.5 and R.sup.12 are as defined in the
description and claims, and pharmaceutically acceptable salts thereof.
The compounds are useful for the treatment and/or prevention of diseases
which are associated with the modulation of H3 receptors.