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(37.9681,-80.768)};var g_414e0dfbe7502b77dd4dd9cb4f4c5f34 = new google.maps.Geocoder();g_414e0dfbe7502b77dd4dd9cb4f4c5f34.geocode( { 'address': "28 Main St, Rainelle, WV 25962"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('rainelle-WV-summit-community-bank').style.display = '';map = new google.maps.Map(document.getElementById('rainelle-WV-summit-community-bank'), mapOptions);}document.getElementById('61fc245a').innerHTML += ' | View Map';var $l414e0dfbe7502b77dd4dd9cb4f4c5f34 = '

Summit Community Bank

Address: 28 Main St, Rainelle, WV 25962
Phone: (304) 438-6171
';var m_414e0dfbe7502b77dd4dd9cb4f4c5f34 = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'Summit Community Bank',});m_414e0dfbe7502b77dd4dd9cb4f4c5f34['infowindow'] = new google.maps.InfoWindow({content: $l414e0dfbe7502b77dd4dd9cb4f4c5f34});var infowindow = new google.maps.InfoWindow({content: $l414e0dfbe7502b77dd4dd9cb4f4c5f34});google.maps.event.addListener(m_414e0dfbe7502b77dd4dd9cb4f4c5f34, 'click', function() {infowindow.open(map,m_414e0dfbe7502b77dd4dd9cb4f4c5f34);});$marker.push(m_414e0dfbe7502b77dd4dd9cb4f4c5f34);}});}google.maps.event.addDomListener(window, 'load', initialize);