The proportion of the cost of a grade crossing improvement to be paid by the state shall be paid by the director of transportation, upon estimates, out of any fund appropriated to the department of transportation available for the establishment, construction, reconstruction, improvement, maintenance, or repair of highways, funds contributed by the local subdivisions, and funds contributed by the federal government. The portion of the costs to be paid by the railroad company shall be paid in the manner and at the time agreed upon, or, in the absence of agreement, as the director directs.
R.C. §5523.18