A compound of formula (I) wherein Ar1, A, R3, x, and m are as disclosed hereinand Ar2 is a benzothiazolyl, benzooxazolyl, or benzoimidazolyl group or apharmaceutically acceptable salt thereof (a ~Benzoazolylpiperazine Compound~),compositions comprising a Benzoazolylpiperazine Compound, and methods fortreating or preventing pain, UI, an ulcer, IBD, IBS, an addictive disorder,Parkinson~s disease, parkinsonism, anxiety, epilepsy, stroke, a seizure, apruritic condition, psychosis, a cognitive disorder, a memory deficit,retricted brain function, Huntington~s chorea, amyotrophic lateral sclerosis,dementia, retinopathy, a muscle spasm, a migraine, vomiting, dyskinesia, ordepression in an animal comprising administering to an animal in need thereofan effective amount of Benzoazolylpiperazine Compound are disclosed.