When a building or other construction is in danger of falling a neighbor has a right of action to compel the owner to have it properly supported or demolished. When the danger is imminent the court may authorize the neighbor to do the necessary work for which he shall be reimbursed by the owner.
Acts 1977, No. 514, §1.