The corporate authorities of each municipality may provide for the continuity of the administrative and legislative functions of the municipality in the event of attack upon the United States.