var map;var $marker = [];function $setCursor($lat, $lng, $index){$marker[$index - 1]['infowindow'].open(map, $marker[$index - 1]);var $lat_lng = new google.maps.LatLng($lat, $lng);map.setCenter($lat_lng);map.setZoom(20);}function initialize(){var $i = 0;var mapOptions = {zoom: 10,center: new google.maps.LatLng(31.9891,-102.082)};var g_27b9dd458e2e9db816115c8cff4b7f8f = new google.maps.Geocoder();g_27b9dd458e2e9db816115c8cff4b7f8f.geocode( { 'address': "415 W Wall St, Midland, TX 79701"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('midland-TX-texas-capital-bank').style.display = '';map = new google.maps.Map(document.getElementById('midland-TX-texas-capital-bank'), mapOptions);}document.getElementById('a2f39022').innerHTML += ' | View Map';var $l27b9dd458e2e9db816115c8cff4b7f8f = '

Texas Capital Bank

Address: 415 W Wall St, Midland, TX 79701
Phone: (432) 687-2102
';var m_27b9dd458e2e9db816115c8cff4b7f8f = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'Texas Capital Bank',});m_27b9dd458e2e9db816115c8cff4b7f8f['infowindow'] = new google.maps.InfoWindow({content: $l27b9dd458e2e9db816115c8cff4b7f8f});var infowindow = new google.maps.InfoWindow({content: $l27b9dd458e2e9db816115c8cff4b7f8f});google.maps.event.addListener(m_27b9dd458e2e9db816115c8cff4b7f8f, 'click', function() {infowindow.open(map,m_27b9dd458e2e9db816115c8cff4b7f8f);});$marker.push(m_27b9dd458e2e9db816115c8cff4b7f8f);}});}google.maps.event.addDomListener(window, 'load', initialize);