If, in any municipality operating under Article 6 of this Act, any judge shall not be present after the expiration of 15 minutes from the time to open the polls, or within 15 minutes from the time of closing the polls in the case of a judge appointed to count the vote or if any judge becomes ill or if any member of his immediate family becomes ill such judge may be excused from further attendance, and the judge or judges present shall fill the place of such absent judge, always selecting a person of the same political party as the party absent. One of the judges shall administer to such substitute the oath as required of the judge originally appointed, and blank forms shall be sent out by the commissioners for such purpose, which oath shall be preserved and returned to the commissioners, and such appointee shall be considered an officer of the circuit court, and subject to the same punishment and penalties as any other judge. Whenever such regular judge shall be present such substitute shall cease to act. No judge shall knowingly absent himself from the polls on election day, without good cause. No judge shall knowingly detain any register or poll book or cause it not to be produced at the polling place at the opening of the polls, or for not more than 15 minutes thereafter.
10 ILCS 5/14-6