The study will also include a 6-month pilot phase. During this phase, the MDFT detention intervention and cross-systems collaboration protocols will be developed; the existing treatment manual will be revised; the MDFT-CS with family-based HIV prevention module and standard HIV education intervention will be developed; family therapists will be trained in the MDFT intervention (including HIV/STD module); the MDFT-CS intervention will be piloted; the assessment battery will be piloted; the protocols, manual, and training package will be revised and finalized; research staff will be trained on all procedures and protocols; and data management procedures will be developed.