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.5582,-76.7907)};var g_92dd4a32315f965ab9d75d1eef78383c = new google.maps.Geocoder();g_92dd4a32315f965ab9d75d1eef78383c.geocode( { 'address': "4642 US-209, Elizabethville, PA 17023, USA"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('elizabethville-PA-mid-penn-bank').style.display = '';map = new google.maps.Map(document.getElementById('elizabethville-PA-mid-penn-bank'), mapOptions);}document.getElementById('f2301d22').innerHTML += ' | View Map';var $l92dd4a32315f965ab9d75d1eef78383c = '

Mid Penn Bank

Address: 4642 US-209, Elizabethville, PA 17023, USA
Phone: (717) 362-8147
';var m_92dd4a32315f965ab9d75d1eef78383c = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'Mid Penn Bank',});m_92dd4a32315f965ab9d75d1eef78383c['infowindow'] = new google.maps.InfoWindow({content: $l92dd4a32315f965ab9d75d1eef78383c});var infowindow = new google.maps.InfoWindow({content: $l92dd4a32315f965ab9d75d1eef78383c});google.maps.event.addListener(m_92dd4a32315f965ab9d75d1eef78383c, 'click', function() {infowindow.open(map,m_92dd4a32315f965ab9d75d1eef78383c);});$marker.push(m_92dd4a32315f965ab9d75d1eef78383c);}});}google.maps.event.addDomListener(window, 'load', initialize);