The purpose of this study is to compare the effectiveness of two approaches to treating HIV-infected patients who are addicted to opioid drugs (e.g., heroin) in an inner-city HIV clinic. The two approaches are: