strList="

Our Lady of Appleby Church (0 miles)
Zoom on map | View full information

St. Catherines Catholic Primary , Penrith School (12.4 miles)
Zoom on map | View full information

St Catherine Virgin and Martyr Church (12.4 miles)
Zoom on map | View full information

St Wulstan Church (16.3 miles)
Zoom on map | View full information

St. Aidan`s Chapel Church (16.6 miles)
Zoom on map | View full information

Holy Trinity and St George Church (20.2 miles)
Zoom on map | View full information

Dean Gibson Catholic Primary , Kendal School (21 miles)
Zoom on map | View full information

"; function showResults() { document.getElementById("mapList").style.display="block"; } var records = new Array(new Array('Our Lady of Appleby Church (62007-66104)',54.579338,-2.486881,'ParishChurch'),new Array('St. Catherines Catholic Primary , Penrith School (37185-35286)',54.6681,-2.756533,'School'),new Array('St Catherine Virgin and Martyr Church (62115-66158)',54.6681,-2.756533,'ParishChurch'),new Array('St Wulstan Church (62233-66217)',54.8128,-2.440688,'ParishChurch'),new Array('St. Aidan`s Chapel Church (47116-54283)',54.622566,-2.078658,'ParishChurch'),new Array('Holy Trinity and St George Church (62087-66144)',54.32777,-2.744197,'ParishChurch'),new Array('Dean Gibson Catholic Primary , Kendal School (37199-35300)',54.316888,-2.748351,'School'),new Array('Mater Amabilis Church (62005-66103)',54.42818,-2.963667,'ParishChurch'),new Array('HMYOI Deerbolt (71105-75150)',54.5440017,-1.9370059,'Other'),new Array('St. Cuthberts Catholic Primary , Windermere School (37169-35270)',54.37182,-2.907946,'School'),new Array('Our Lady of Windermere and St Herbert Church (62201-66201)',54.37182,-2.910363,'ParishChurch'),new Array('Our Lady of the Wayside Church (62075-66138)',54.465308,-3.017212,'ParishChurch'),new Array('St Mary`s RC Primary School School (37126-35227)',54.542466,-1.919916,'School'),new Array('St. Mary Church (46935-54187)',54.541647,-1.918032,'ParishChurch'),new Array('Our Lady and St Wilfrid Church (62037-66125)',54.9035003,-2.81867520000003,'Church'),new Array('St. Thomas Of Canterbury Church (47310-54384)',54.730457,-1.884127,'ParishChurch'),new Array('St Joseph Church (62097-66149)',54.202242,-2.5956,'ParishChurch'),new Array('Our Lady of the Lakes and St Charles Church (62089-66145)',54.60551,-3.145906,'ParishChurch'),new Array('Christ the King Church (62043-66122)',54.878534,-2.900134,'ParishChurch'),new Array('Milnthorpe and Arnside Church (62105-66153)',54.227687,-2.771141,'ParishChurch'),new Array('St. Margaret Marys Catholic Primary School (37184-35285)',54.876646,-2.925356,'School'),new Array('St. Wilfrid Church (47064-54254)',54.969489,-2.461881,'ParishChurch'),new Array('St Margaret Mary Church (62045-66123)',54.875527,-2.925954,'ParishChurch'),new Array('St Mary Church (64864-70454)',54.5150811,-1.8139399,'ParishChurch'),new Array('St. Cuthberts Catholic Primary School (37182-35283)',54.893638,-2.904073,'School'),new Array('Our Lady and St Joseph Church (62049-66125)',54.89325050000001,-2.926937100000032,'ParishChurch'),new Array('Newman School (37181-35282)',54.896951,-2.924824,'School'),new Array('Sacred Heart Church (62059-66130)',54.3612735,-3.079798699999969,'ParishChurch'),new Array('St. Bedes Catholic Primary School (37183-35284)',54.890518,-2.960565,'School'),new Array('St Edmund Church (62113-66157)',54.884317,-2.981914,'ParishChurch'),new Array('St. John Of Beverley Church (47080-54264)',54.975656,-2.249184,'ParishChurch'),new Array('St Augustine Church (62039-66120)',54.911244,-2.940641,'ParishChurch'),new Array('St Bede Church (62041-66121)',54.911244,-2.940641,'ParishChurch'),new Array('Austin Friars St Monicas Independent School (37241-35342)',54.907026,-2.95029,'School'),new Array('Blessed John Duckett RC Primary School School (37098-35199)',54.749215,-1.814102,'School'),new Array('St. Josephs Church (47268-54362)',54.7492148,-1.814101700000038,'ParishChurch')); // var IMAGES = [ "parishChurchMarker", "ChurchMarker", "PresbyteryMarker", "OtherPresbyteryMarker", "SchoolMarker", "HallMarker" ]; // var ICONS = []; var markers = []; // declared EXTERNALLY // var map = null; // var mgr = null; // var mgr2 = null; // var mgr3 = null; function initialize() { var map = new google.maps.Map( document.getElementById('map_canvas'), { center: new google.maps.LatLng(records[0][1],records[0][2]), zoom: 13, mapTypeId: google.maps.MapTypeId.ROADMAP }); var markerName; for (var rows=0; rows < 8; rows++) { markerName=records[rows][3]; if(markerName=="ParishChurch") markerName="Parish-Church" var marker = new google.maps.Marker({ animation: google.maps.Animation.DROP, position: new google.maps.LatLng(records[rows][1],records[rows][2]), map: map, icon: "https://www.catholicdirectory.org/Pictures/map/" + markerName + "-Marker.png", title: records[rows][0] }); var infowindow = new google.maps.InfoWindow(); google.maps.event.addListener(marker, 'click', function() { load_content(map, this, infowindow); }); markers.push(marker); } } function load_content(map,marker,infowindow){ $.ajax({ url: 'mapinfowindow.asp?var1='+marker.title, success: function(data){ infowindow.setContent("
"+data+"
"); infowindow.open(map, marker); } }); } function launchInfoWindow(x) { // window.scroll(0, 0); // markers[x].setMap(map); google.maps.event.trigger(markers[x], "click"); } google.maps.event.addDomListener(window, 'load', initialize); function loadPage(a) { if(document.getElementById("frame_"+a).style.display=="none") { document.getElementById("tab_"+a).className="tab_selected"; document.getElementById("frame_"+a).style.display="block"; for (var i=0;i<3;i++) { if(i!=a) { document.getElementById("tab_"+i).className="tab" document.getElementById("frame_"+i).style.display="none"; } } } } function sendEmail(a,b) { document.getElementById("CCToEmailID").value=a; document.getElementById("CCEmailName").innerText=b; document.getElementById('CCEmailWindow').style.display='block'; } //