The expense of conducting each primary, including the per diem of judges, furnishing, warming, lighting and maintaining the polling place, and all other expenses necessarily incurred in the preparation for or conducting such primary shall be paid in the same manner, and by the same authorities or officers as provided in Sections 17-30 through 17-32 of this Code.
10 ILCS 5/7-6