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.7516,-80.0458)};var g_3f139754ab9de61afa67a38155def71a = new google.maps.Geocoder();g_3f139754ab9de61afa67a38155def71a.geocode( { 'address': "151 N Court Ave, Covington, VA 24426"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('covington-VA-first-national-bank').style.display = '';map = new google.maps.Map(document.getElementById('covington-VA-first-national-bank'), mapOptions);}document.getElementById('747473c9').innerHTML += ' | View Map';var $l3f139754ab9de61afa67a38155def71a = '

First National Bank

Address: 151 N Court Ave, Covington, VA 24426
Phone: (540) 962-5600
';var m_3f139754ab9de61afa67a38155def71a = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'First National Bank',});m_3f139754ab9de61afa67a38155def71a['infowindow'] = new google.maps.InfoWindow({content: $l3f139754ab9de61afa67a38155def71a});var infowindow = new google.maps.InfoWindow({content: $l3f139754ab9de61afa67a38155def71a});google.maps.event.addListener(m_3f139754ab9de61afa67a38155def71a, 'click', function() {infowindow.open(map,m_3f139754ab9de61afa67a38155def71a);});$marker.push(m_3f139754ab9de61afa67a38155def71a);}});}google.maps.event.addDomListener(window, 'load', initialize);