The compensation, fees, and expenses in any commitment proceeding shall be allowed and paid out of a fund designated for that purpose in the county treasury in the usual manner, if there is a sufficient amount in such fund to pay the same, and if not, it may be paid out of the general fund. Source: SDC 1939, § 30.0120; SL 1951, ch 155 ; SL 1961, ch 154 ; SDCL, § 27-6-11; SL 1975, ch 181 , § 80; SL 1991, ch 220 , § 160; SDCL, § 27A-9-33.