Whenever a creek over which a bridge may be necessary shall be on the division line of a city and another municipality, the city may enter into an intergovernmental agreement pursuant to 53 Pa.C.S. Ch. 23 Subch. A (relating to intergovernmental cooperation) with the municipality for the construction and maintenance of a bridge and for apportionment of the costs.