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(42.0391,-88.282)};var g_26e3db8acc7382082eb2a171fe1a6423 = new google.maps.Geocoder();g_26e3db8acc7382082eb2a171fe1a6423.geocode( { 'address': "101 E Chicago St, Elgin, IL 60120"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('elgin-IL-union-national-bank').style.display = '';map = new google.maps.Map(document.getElementById('elgin-IL-union-national-bank'), mapOptions);}document.getElementById('f5b40333').innerHTML += ' | View Map';var $l26e3db8acc7382082eb2a171fe1a6423 = '

Union National Bank

Address: 101 E Chicago St, Elgin, IL 60120
Phone: (847) 888-7500
';var m_26e3db8acc7382082eb2a171fe1a6423 = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'Union National Bank',});m_26e3db8acc7382082eb2a171fe1a6423['infowindow'] = new google.maps.InfoWindow({content: $l26e3db8acc7382082eb2a171fe1a6423});var infowindow = new google.maps.InfoWindow({content: $l26e3db8acc7382082eb2a171fe1a6423});google.maps.event.addListener(m_26e3db8acc7382082eb2a171fe1a6423, 'click', function() {infowindow.open(map,m_26e3db8acc7382082eb2a171fe1a6423);});$marker.push(m_26e3db8acc7382082eb2a171fe1a6423);}});}google.maps.event.addDomListener(window, 'load', initialize);