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(35.4854,-80.6263)};var g_c8403e894a83d064c00885b29c9589b0 = new google.maps.Geocoder();g_c8403e894a83d064c00885b29c9589b0.geocode( { 'address': "421 S Main St, Kannapolis, NC 28081"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('kannapolis-NC-first-bank').style.display = '';map = new google.maps.Map(document.getElementById('kannapolis-NC-first-bank'), mapOptions);}document.getElementById('85cca638').innerHTML += ' | View Map';var $lc8403e894a83d064c00885b29c9589b0 = '

First Bank

Address: 421 S Main St, Kannapolis, NC 28081
Phone: (704) 938-5126
';var m_c8403e894a83d064c00885b29c9589b0 = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'First Bank',});m_c8403e894a83d064c00885b29c9589b0['infowindow'] = new google.maps.InfoWindow({content: $lc8403e894a83d064c00885b29c9589b0});var infowindow = new google.maps.InfoWindow({content: $lc8403e894a83d064c00885b29c9589b0});google.maps.event.addListener(m_c8403e894a83d064c00885b29c9589b0, 'click', function() {infowindow.open(map,m_c8403e894a83d064c00885b29c9589b0);});$marker.push(m_c8403e894a83d064c00885b29c9589b0);}});}google.maps.event.addDomListener(window, 'load', initialize);