If any depository bank fails or suspends payment, the depositing authority shall participate in all dividends paid by the bank to other depositors, on the basis of the amount on deposit on the date the depository bank fails or suspends payment.  The security shall be retained by the depositing authority, subject to the terms of La. Rev. Stat. 39:1222 and La. Rev. Stat. 39:1229, to enforce collection of that portion of the deposits which, in the opinion of the depositing authority, would result in a loss.