Have a question? Call us!
(385) 236-1777

section4



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

// Get the element with id="defaultOpen" and click on it
document.getElementById("defaultOpen").click();

$(document).ready(function(){
$(‘#custom-listing-container a’).attr(‘target’, ‘_blank’);
});

window.onload = function(){
var anchors = document.getElementById(‘custom-listing-container’).getElementsByTagName(‘a’);
for (var i=0; i<anchors.length; i++){
anchors[i].setAttribute('target', '_blank');
}
}