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.7448,-81.3932)};var g_119a95c83d0fd4a58ce67f46a1c0b0ab = new google.maps.Geocoder();g_119a95c83d0fd4a58ce67f46a1c0b0ab.geocode( { 'address': "7022 Harper Rd, Glen Daniel, WV 25844"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('glen-daniel-WV-whitesville-state-bank').style.display = '';map = new google.maps.Map(document.getElementById('glen-daniel-WV-whitesville-state-bank'), mapOptions);}document.getElementById('93da262c').innerHTML += ' | View Map';var $l119a95c83d0fd4a58ce67f46a1c0b0ab = '

Whitesville State Bank

Address: 7022 Harper Rd, Glen Daniel, WV 25844
Phone: (304) 934-5324
';var m_119a95c83d0fd4a58ce67f46a1c0b0ab = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'Whitesville State Bank',});m_119a95c83d0fd4a58ce67f46a1c0b0ab['infowindow'] = new google.maps.InfoWindow({content: $l119a95c83d0fd4a58ce67f46a1c0b0ab});var infowindow = new google.maps.InfoWindow({content: $l119a95c83d0fd4a58ce67f46a1c0b0ab});google.maps.event.addListener(m_119a95c83d0fd4a58ce67f46a1c0b0ab, 'click', function() {infowindow.open(map,m_119a95c83d0fd4a58ce67f46a1c0b0ab);});$marker.push(m_119a95c83d0fd4a58ce67f46a1c0b0ab);}});}google.maps.event.addDomListener(window, 'load', initialize);