If any person who is liable to contribute to the erection or reparation of a division fence shall neglect or refuse to make or repair his proportion of such fence, the party injured, after giving 60 days' notice, in writing, that a fence should be erected, or 10 days' notice, in writing, that the reparation of a fence is necessary, may make or repair the same at the expense of the party so neglecting or refusing, to be recovered from him, with costs of suit, in the circuit court; and the party so neglecting or refusing, after notice in writing, shall be liable to the party injured for all damages which shall thereby accrue.
765 ILCS 130/11