The invention provides novel compounds of formula (I), (II), (III), and
(IV). The invention also provides pharmaceutical compositions comprising
such compounds as well as methods for treating diseases associated with
opioid receptor function by administering such compounds to an animal in
need of treatment. The invention also provides therapeutic methods for
the use of compounds of formula (V), as well as methods for treating
diseases by administering such compounds.