Partition fences between improved lands are to be erected and repaired at the joint expense of the occupants; or if any person makes a fence a partition fence by joining to or using it as such, he must pay to the person erecting it his proportion of the expense, taking into consideration the condition of such fence at the time it is so joined to or used.
Ala. Code § 35-7-3 (1975)