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

jQuery(document).ready(function () {
    jQuery( ".tab-sec .tablinks" ).first().addClass( "active" );
});