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()};var g_54b0855cf47d559c8c59e8f503af17d4 = new google.maps.Geocoder();g_54b0855cf47d559c8c59e8f503af17d4.geocode( { 'address': "315 N 8th St, West Dundee, IL 60118"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('west-dundee-IL-bank-of-america').style.display = '';map = new google.maps.Map(document.getElementById('west-dundee-IL-bank-of-america'), mapOptions);}document.getElementById('22dbb27e').innerHTML += ' | View Map';var $l54b0855cf47d559c8c59e8f503af17d4 = '

Bank of America

Address: 315 N 8th St, West Dundee, IL 60118
Phone: (847) 426-2605
';var m_54b0855cf47d559c8c59e8f503af17d4 = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'Bank of America',});m_54b0855cf47d559c8c59e8f503af17d4['infowindow'] = new google.maps.InfoWindow({content: $l54b0855cf47d559c8c59e8f503af17d4});var infowindow = new google.maps.InfoWindow({content: $l54b0855cf47d559c8c59e8f503af17d4});google.maps.event.addListener(m_54b0855cf47d559c8c59e8f503af17d4, 'click', function() {infowindow.open(map,m_54b0855cf47d559c8c59e8f503af17d4);});$marker.push(m_54b0855cf47d559c8c59e8f503af17d4);}});}google.maps.event.addDomListener(window, 'load', initialize);