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