Every county bridge provided for by this article shall be maintained and kept in repair by the county or counties involved, except as may be otherwise provided by agreements between or among such county or counties and other political subdivisions or other persons as to the costs of such maintenance and repairs.
16 P.S. § 2602