The board of education of any district may join with the governing body of any municipality, or the board of chosen freeholders of the county in which the district is located, in acquiring, improving, equipping, operating and maintaining playgrounds, playfields, gymnasiums, public baths, swimming pools, and indoor recreation centers, and may appropriate money therefor and may pay over to the said body or board such money as may be so appropriated to be disbursed for any of such joint purposes.
N.J.S. § 18A:20-22