Secondary outcomes are to compare the efficacy of the two addiction treatments; to study the adherence to antiretroviral therapy; to evaluate time to relapse and the number of days to relapsed; to evaluate decline in CD4 counts; to evaluate HIV risk behavior; to evaluate opioid positive urine tests; and to evaluate the number of days that patients will keep their scheduled appointments. The Investigator will also monitor psychiatric symptoms, other drug use, and overall adjustment.