The county commissioners shall have power and authority, for the purpose of housing juveniles, to appropriate money from the public funds 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 P.S. § 2339.6