function print_on_demand_openCity(evt, cityName) {
    var print_on_demand_i, print_on_demand_tabcontent, print_on_demand_tablinks;
    print_on_demand_tabcontent = document.getElementsByClassName("tabcontent");
    for (print_on_demand_i = 0; print_on_demand_i < print_on_demand_tabcontent.length; print_on_demand_i++) {
        print_on_demand_tabcontent[print_on_demand_i].style.display = "none";
    }
    print_on_demand_tablinks = document.getElementsByClassName("tablinks");
    for (print_on_demand_i = 0; print_on_demand_i < print_on_demand_tablinks.length; print_on_demand_i++) {
        print_on_demand_tablinks[print_on_demand_i].className = print_on_demand_tablinks[print_on_demand_i].className.replace(" active", "");
    }
    document.getElementById(cityName).style.display = "block";
    evt.currentTarget.className += " active";
}