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(40.5399,-76.958)};var g_1200e96b6adc58a18b97eac989176af2 = new google.maps.Geocoder();g_1200e96b6adc58a18b97eac989176af2.geocode( { 'address': "349 Union St, Millersburg, PA 17061, USA"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('millersburg-PA-mid-penn-bank').style.display = '';map = new google.maps.Map(document.getElementById('millersburg-PA-mid-penn-bank'), mapOptions);}document.getElementById('a374b734').innerHTML += ' | View Map';var $l1200e96b6adc58a18b97eac989176af2 = '

Mid Penn Bank

Address: 349 Union St, Millersburg, PA 17061, USA
Phone: (717) 692-2133
';var m_1200e96b6adc58a18b97eac989176af2 = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'Mid Penn Bank',});m_1200e96b6adc58a18b97eac989176af2['infowindow'] = new google.maps.InfoWindow({content: $l1200e96b6adc58a18b97eac989176af2});var infowindow = new google.maps.InfoWindow({content: $l1200e96b6adc58a18b97eac989176af2});google.maps.event.addListener(m_1200e96b6adc58a18b97eac989176af2, 'click', function() {infowindow.open(map,m_1200e96b6adc58a18b97eac989176af2);});$marker.push(m_1200e96b6adc58a18b97eac989176af2);}});}google.maps.event.addDomListener(window, 'load', initialize);