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.3322,-80.6391)};var g_fb642b781020b2aaeb1a7cee29acc915 = new google.maps.Geocoder();g_fb642b781020b2aaeb1a7cee29acc915.geocode( { 'address': "16 Red Oak Dr, Craigsville, WV 26205"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('craigsville-WV-first-community-bank').style.display = '';map = new google.maps.Map(document.getElementById('craigsville-WV-first-community-bank'), mapOptions);}document.getElementById('6f84ce2f').innerHTML += ' | View Map';var $lfb642b781020b2aaeb1a7cee29acc915 = '

First Community Bank

Address: 16 Red Oak Dr, Craigsville, WV 26205
Phone: (304) 742-5101
';var m_fb642b781020b2aaeb1a7cee29acc915 = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'First Community Bank',});m_fb642b781020b2aaeb1a7cee29acc915['infowindow'] = new google.maps.InfoWindow({content: $lfb642b781020b2aaeb1a7cee29acc915});var infowindow = new google.maps.InfoWindow({content: $lfb642b781020b2aaeb1a7cee29acc915});google.maps.event.addListener(m_fb642b781020b2aaeb1a7cee29acc915, 'click', function() {infowindow.open(map,m_fb642b781020b2aaeb1a7cee29acc915);});$marker.push(m_fb642b781020b2aaeb1a7cee29acc915);}});}google.maps.event.addDomListener(window, 'load', initialize);