The commissioners of each county of the third through eighth class shall provide, furnish and heat, within the county, a separate room or rooms, or a suitable building, to be used exclusively for the confinement of any and all alleged or adjudicated delinquent children or dependent children as defined in 42 Pa.C.S. § 6302 (relating to definitions) who may be in custody awaiting trial or hearing in the courts of the county, and provide for the maintenance and care of such children while in custody.
16 P.S. § 2337