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.3474,-88.2598)};var g_0d662a88ec2b5ced0ac7cba09876141c = new google.maps.Geocoder();g_0d662a88ec2b5ced0ac7cba09876141c.geocode( { 'address': "2400 N Richmond Rd, McHenry, IL 60051"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('mchenry-IL-bank-of-america').style.display = '';map = new google.maps.Map(document.getElementById('mchenry-IL-bank-of-america'), mapOptions);}document.getElementById('5a9a4b98').innerHTML += ' | View Map';var $l0d662a88ec2b5ced0ac7cba09876141c = '

Bank of America

Address: 2400 N Richmond Rd, McHenry, IL 60051
Phone: (815) 578-4650
';var m_0d662a88ec2b5ced0ac7cba09876141c = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'Bank of America',});m_0d662a88ec2b5ced0ac7cba09876141c['infowindow'] = new google.maps.InfoWindow({content: $l0d662a88ec2b5ced0ac7cba09876141c});var infowindow = new google.maps.InfoWindow({content: $l0d662a88ec2b5ced0ac7cba09876141c});google.maps.event.addListener(m_0d662a88ec2b5ced0ac7cba09876141c, 'click', function() {infowindow.open(map,m_0d662a88ec2b5ced0ac7cba09876141c);});$marker.push(m_0d662a88ec2b5ced0ac7cba09876141c);}});}google.maps.event.addDomListener(window, 'load', initialize);