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(44.5702,-73.5472)};var g_e557c8251ac0552a147af7f07bebd5c5 = new google.maps.Geocoder();g_e557c8251ac0552a147af7f07bebd5c5.geocode( { 'address': "2990 Main St, Peru, NY 12972"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('peru-NY-td-bank').style.display = '';map = new google.maps.Map(document.getElementById('peru-NY-td-bank'), mapOptions);}document.getElementById('78197293').innerHTML += ' | View Map';var $le557c8251ac0552a147af7f07bebd5c5 = '

TD Bank

Address: 2990 Main St, Peru, NY 12972
Phone: (518) 643-2387
';var m_e557c8251ac0552a147af7f07bebd5c5 = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'TD Bank',});m_e557c8251ac0552a147af7f07bebd5c5['infowindow'] = new google.maps.InfoWindow({content: $le557c8251ac0552a147af7f07bebd5c5});var infowindow = new google.maps.InfoWindow({content: $le557c8251ac0552a147af7f07bebd5c5});google.maps.event.addListener(m_e557c8251ac0552a147af7f07bebd5c5, 'click', function() {infowindow.open(map,m_e557c8251ac0552a147af7f07bebd5c5);});$marker.push(m_e557c8251ac0552a147af7f07bebd5c5);}});}google.maps.event.addDomListener(window, 'load', initialize);