The county commissioners shall have power and authority for the purpose of housing juveniles to appropriate money from public money or to issue bonds in the manner provided by law for the purchase of lands or erecting, constructing and equipping a building or buildings.
16 Pa.C.S. § 16139.6