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.2247,-80.5344)};var g_0a6df48d85c6314f341edde7f92eca69 = new google.maps.Geocoder();g_0a6df48d85c6314f341edde7f92eca69.geocode( { 'address': "16 W Main St, Richwood, WV 26261, USA"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('richwood-WV-first-community-bank--richwood').style.display = '';map = new google.maps.Map(document.getElementById('richwood-WV-first-community-bank--richwood'), mapOptions);}document.getElementById('7766a0a4').innerHTML += ' | View Map';var $l0a6df48d85c6314f341edde7f92eca69 = '

First Community Bank- Richwood

Address: 16 W Main St, Richwood, WV 26261, USA
Phone: (304) 846-2641
';var m_0a6df48d85c6314f341edde7f92eca69 = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'First Community Bank- Richwood',});m_0a6df48d85c6314f341edde7f92eca69['infowindow'] = new google.maps.InfoWindow({content: $l0a6df48d85c6314f341edde7f92eca69});var infowindow = new google.maps.InfoWindow({content: $l0a6df48d85c6314f341edde7f92eca69});google.maps.event.addListener(m_0a6df48d85c6314f341edde7f92eca69, 'click', function() {infowindow.open(map,m_0a6df48d85c6314f341edde7f92eca69);});$marker.push(m_0a6df48d85c6314f341edde7f92eca69);}});}google.maps.event.addDomListener(window, 'load', initialize);