1.  Any person entitled to vote at any election held within this state shall, on the day of such election, be entitled to absent himself from any services or employment in which he is then engaged or employed, for a period of three hours between the time of opening and the time of closing the polls for the purpose of voting, and any such absence for such purpose shall not be reason for the discharge of or the threat to discharge any such person from such services or employment; and such employee, if he votes, shall not, because of so absenting himself, be liable to any penalty or discipline, nor shall any deduction be made on account of such absence from his usual salary or wages; provided, however, that request shall be made for such leave of absence prior to the day of election, and provided further, that this section shall not apply to a voter on the day of election if there are three successive hours while the polls are open in which he is not in the service of his employer.  The employer may specify any three hours between the time of opening and the time of closing the polls during which such employee may absent himself.

 2.  Any employer violating this section shall be deemed guilty of a class four election offense.

ILLINOIS

(10 ILCS 5/17-15) (from Ch. 46, par. 17-15)
    Sec. 17-15. (a) Any person entitled to vote at a general or special election or at any election at which propositions are submitted to a popular vote in this State, shall, on the day of such election, be entitled to absent himself from any services or employment in which he is then engaged or employed, for a period of 2 hours between the time of opening and closing the polls; and such voter shall not because of so absenting himself be liable to any penalty; Provided, however, that application for such leave of absence shall be made prior to the day of election. The employer may specify the hours during which said employee may absent himself as aforesaid, except that the employer must permit a 2-hour absence during working hours if the employee's working hours begin less than 2 hours after the opening of the polls and end less than 2 hours before the closing of the polls. No person or corporation shall refuse to an employee the privilege hereby conferred, nor shall subject an employee to a penalty, including a reduction in compensation due to an absence under this Section, because of the exercise of such privilege, nor shall directly or indirectly violate the provisions of this Section.