This invention relates to compounds of the formula (I): or a
pharmaceutically acceptable salt thereof, wherein A, R.sup.1, R.sup.2,
R.sup.3, R.sup.4, R.sup.5, m and n are each as described herein, and
compositions containing such compounds, and the use of such compounds in
the treatment of a condition mediated by CB2 receptor activity such as,
but not limited to, inflammatory pain, nociceptive pain, neuropathic
pain, fibromyalgia, chronic low back pain, visceral pain, acute cerebral
ischemia, pain, chronic pain, acute pain, post herpetic neuralgia,
neuropathies, neuralgia, diabetic neuropathy, HIV-related neuropathy,
nerve injury, rheumatoid arthritic pain, osteoarthritic pain, back pain,
cancer pain, dental pain, fibromyalgia, neuritis, sciatica, inflammation,
neurodegenerative disease, cough, broncho constriction, irritable bowel
syndrome (IBS), inflammatory bowel disease (IBD), colitis,
cerebrovascular ischemia, emesis such as cancer chemotherapy-induced
emesis, rheumatoid arthritis, asthma, Crohn's disease, ulcerative
colitis, asthma, dermatitis, seasonal allergic rhinitis, GERD,
constipation, diarrhea, functional gastrointestinal disorders, irritable
bowel syndrome, cutaneous T cell lymphoma, multiple sclerosis,
osteoarthritis, psoriasis, systemic lupus erythematosus, diabetes,
glaucoma, osteoporosis, glomerulonephritis, renal ischemia, nephritis,
hepatitis, cerebral stroke, vasculitis, myocardial infarction, cerebral
ischemia, reversible airway obstruction, adult respiratory disease
syndrome, COPD, cryptogenic fibrosing alveolitis and bronchitis.
##STR00001##