Until December 31, 1979, a child may be detained in a facility with adults if there is no appropriate facility available within a reasonable distance or a contiguous county, whichever is nearer, for the detention of the child in which case the child shall be kept separate and apart from such adults at all times and shall be detained under such circumstances for not more than five days.
62 P.S. § 2075