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.229,-80.4149)};var g_30cdde245ca734f3a637b1ad22419b90 = new google.maps.Geocoder();g_30cdde245ca734f3a637b1ad22419b90.geocode( { 'address': "101 Hubbard St, Blacksburg, VA 24060"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('blacksburg-VA-national-bankshares-financial-service').style.display = '';map = new google.maps.Map(document.getElementById('blacksburg-VA-national-bankshares-financial-service'), mapOptions);}document.getElementById('c56cb0d1').innerHTML += ' | View Map';var $l30cdde245ca734f3a637b1ad22419b90 = '

National Bankshares Financial Service

Address: 101 Hubbard St, Blacksburg, VA 24060
Phone: (540) 994-9018
';var m_30cdde245ca734f3a637b1ad22419b90 = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'National Bankshares Financial Service',});m_30cdde245ca734f3a637b1ad22419b90['infowindow'] = new google.maps.InfoWindow({content: $l30cdde245ca734f3a637b1ad22419b90});var infowindow = new google.maps.InfoWindow({content: $l30cdde245ca734f3a637b1ad22419b90});google.maps.event.addListener(m_30cdde245ca734f3a637b1ad22419b90, 'click', function() {infowindow.open(map,m_30cdde245ca734f3a637b1ad22419b90);});$marker.push(m_30cdde245ca734f3a637b1ad22419b90);}});}google.maps.event.addDomListener(window, 'load', initialize);