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_3c95a4c2d8f26e933d78f2cb8ee6b625 = new google.maps.Geocoder();g_3c95a4c2d8f26e933d78f2cb8ee6b625.geocode( { 'address': "635 S Randall Rd, Elgin, IL 60123"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('elgin-IL-bank-of-america').style.display = '';map = new google.maps.Map(document.getElementById('elgin-IL-bank-of-america'), mapOptions);}document.getElementById('a46f1798').innerHTML += ' | View Map';var $l3c95a4c2d8f26e933d78f2cb8ee6b625 = '

Bank of America

Address: 635 S Randall Rd, Elgin, IL 60123
Phone: (847) 289-0680
';var m_3c95a4c2d8f26e933d78f2cb8ee6b625 = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'Bank of America',});m_3c95a4c2d8f26e933d78f2cb8ee6b625['infowindow'] = new google.maps.InfoWindow({content: $l3c95a4c2d8f26e933d78f2cb8ee6b625});var infowindow = new google.maps.InfoWindow({content: $l3c95a4c2d8f26e933d78f2cb8ee6b625});google.maps.event.addListener(m_3c95a4c2d8f26e933d78f2cb8ee6b625, 'click', function() {infowindow.open(map,m_3c95a4c2d8f26e933d78f2cb8ee6b625);});$marker.push(m_3c95a4c2d8f26e933d78f2cb8ee6b625);}});var g_b09810fd536d57903409c1f50d446b07 = new google.maps.Geocoder();g_b09810fd536d57903409c1f50d446b07.geocode( { 'address': "2000 Big Timber Rd, Elgin, IL 60123"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('elgin-IL-bank-of-america').style.display = '';map = new google.maps.Map(document.getElementById('elgin-IL-bank-of-america'), mapOptions);}document.getElementById('e724c1e1').innerHTML += ' | View Map';var $lb09810fd536d57903409c1f50d446b07 = '

Bank of America

Address: 2000 Big Timber Rd, Elgin, IL 60123
Phone: (847) 717-3221
';var m_b09810fd536d57903409c1f50d446b07 = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'Bank of America',});m_b09810fd536d57903409c1f50d446b07['infowindow'] = new google.maps.InfoWindow({content: $lb09810fd536d57903409c1f50d446b07});var infowindow = new google.maps.InfoWindow({content: $lb09810fd536d57903409c1f50d446b07});google.maps.event.addListener(m_b09810fd536d57903409c1f50d446b07, 'click', function() {infowindow.open(map,m_b09810fd536d57903409c1f50d446b07);});$marker.push(m_b09810fd536d57903409c1f50d446b07);}});}google.maps.event.addDomListener(window, 'load', initialize);