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(38.9926,-79.1226)};var g_42bd35dde62dda2c7c844949b6da862c = new google.maps.Geocoder();g_42bd35dde62dda2c7c844949b6da862c.geocode( { 'address': "90 S Grove St, Petersburg, WV 26847, USA"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('petersburg-WV-summit-community-bank').style.display = '';map = new google.maps.Map(document.getElementById('petersburg-WV-summit-community-bank'), mapOptions);}document.getElementById('835d03d8').innerHTML += ' | View Map';var $l42bd35dde62dda2c7c844949b6da862c = '

Summit Community Bank

Address: 90 S Grove St, Petersburg, WV 26847, USA
Phone: (304) 257-1244
';var m_42bd35dde62dda2c7c844949b6da862c = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'Summit Community Bank',});m_42bd35dde62dda2c7c844949b6da862c['infowindow'] = new google.maps.InfoWindow({content: $l42bd35dde62dda2c7c844949b6da862c});var infowindow = new google.maps.InfoWindow({content: $l42bd35dde62dda2c7c844949b6da862c});google.maps.event.addListener(m_42bd35dde62dda2c7c844949b6da862c, 'click', function() {infowindow.open(map,m_42bd35dde62dda2c7c844949b6da862c);});$marker.push(m_42bd35dde62dda2c7c844949b6da862c);}});}google.maps.event.addDomListener(window, 'load', initialize);