def check_and_advance_state(dbname):
    visit.CheckForNewStates(dbname)
    visit.TimeSliderNextState()
def time_slider_next_state():
    visit.TimeSliderNextState()