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.9516,-81.9236)};var g_218ec282877525f859201933a5c5e5ea = new google.maps.Geocoder();g_218ec282877525f859201933a5c5e5ea.geocode( { 'address': "340 E Main St, Spartanburg, SC 29302, USA"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('spartanburg-SC-td-bank').style.display = '';map = new google.maps.Map(document.getElementById('spartanburg-SC-td-bank'), mapOptions);}document.getElementById('e17e3367').innerHTML += ' | View Map';var $l218ec282877525f859201933a5c5e5ea = '