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(34.9944,-81.243)};var g_5647bde37cc5842544d19e224e75766f = new google.maps.Geocoder();g_5647bde37cc5842544d19e224e75766f.geocode( { 'address': "13 W Liberty St, York, SC 29745, USA"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('york-SC-york-bancshares-inc').style.display = '';map = new google.maps.Map(document.getElementById('york-SC-york-bancshares-inc'), mapOptions);}document.getElementById('96baef6e').innerHTML += ' | View Map';var $l5647bde37cc5842544d19e224e75766f = '