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(39.9425,-77.6377)};var g_c08d477c3b10e208099c3a2f7cbecc29 = new google.maps.Geocoder();g_c08d477c3b10e208099c3a2f7cbecc29.geocode( { 'address': "850 Norland Ave, Chambersburg, PA 17201, USA"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('chambersburg-PA-acnb-bank').style.display = '';map = new google.maps.Map(document.getElementById('chambersburg-PA-acnb-bank'), mapOptions);}document.getElementById('f45dfc8b').innerHTML += ' | View Map';var $lc08d477c3b10e208099c3a2f7cbecc29 = '

Acnb Bank

Address: 850 Norland Ave, Chambersburg, PA 17201, USA
Phone: (888) 334-2262
';var m_c08d477c3b10e208099c3a2f7cbecc29 = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'Acnb Bank',});m_c08d477c3b10e208099c3a2f7cbecc29['infowindow'] = new google.maps.InfoWindow({content: $lc08d477c3b10e208099c3a2f7cbecc29});var infowindow = new google.maps.InfoWindow({content: $lc08d477c3b10e208099c3a2f7cbecc29});google.maps.event.addListener(m_c08d477c3b10e208099c3a2f7cbecc29, 'click', function() {infowindow.open(map,m_c08d477c3b10e208099c3a2f7cbecc29);});$marker.push(m_c08d477c3b10e208099c3a2f7cbecc29);}});}google.maps.event.addDomListener(window, 'load', initialize);