strList="

St Gregory Church (0 miles)
Zoom on map | View full information

St. Gregorys Catholic Primary School (0 miles)
Zoom on map | View full information

Our Lady Star of the Sea and St Michael Church (0.6 miles)
Zoom on map | View full information

St. Josephs Catholic High Business Enterprise College School (0.7 miles)
Zoom on map | View full information

Harrington St. Marys Catholic Primary , Harrington School (0.9 miles)
Zoom on map | View full information

St. Patricks Catholic Primary School (1.1 miles)
Zoom on map | View full information

St Patrick`s Catholic Primary School (1.1 miles)
Zoom on map | View full information

"; function showResults() { document.getElementById("mapList").style.display="block"; } var records = new Array(new Array('St Gregory Church (62183-66192)',54.630519,-3.549143,'ParishChurch'),new Array('St. Gregorys Catholic Primary School (37237-35338)',54.630519,-3.549143,'School'),new Array('Our Lady Star of the Sea and St Michael Church (62179-66190)',54.638878,-3.543511,'ParishChurch'),new Array('St. Josephs Catholic High Business Enterprise College School (37235-35336)',54.639675,-3.544424,'School'),new Array('Harrington St. Marys Catholic Primary , Harrington School (37239-35340)',54.618559,-3.559391,'School'),new Array('St. Patricks Catholic Primary School (37236-35337)',54.646021,-3.549283,'School'),new Array('St Patrick`s Catholic Primary School (38862-36968)',54.646348,-3.551078,'School'),new Array('St Mary Church (62079-66140)',54.613283,-3.564268,'ParishChurch'),new Array('Depuis Convent (70977-74276)',54.64882979999999,-3.51912070000003,'Other'),new Array('Our Lady and St. Patricks Catholic Primary , Maryport School (37240-35341)',54.707104,-3.492522,'School'),new Array('St. Benedicts Catholic High School (37228-35329)',54.543499,-3.560994,'School'),new Array('St Begh Church (62177-66189)',54.543079,-3.583594,'ParishChurch'),new Array('St. Beghs Catholic Junior School (37229-35330)',54.543079,-3.583594,'School'),new Array('Our Lady and St Patrick Church (62103-66152)',54.716287,-3.497797,'ParishChurch'),new Array('SS Gregory and Patrick Catholic Community School (37230-35331)',54.537392,-3.577933,'School'),new Array('St Joseph Church (62067-66134)',54.541938,-3.492422,'ParishChurch'),new Array('St. Josephs Catholic Primary , Frizington School (37232-35333)',54.541938,-3.492422,'School'),new Array('St. Marys Catholic Primary , Kells School (37234-35335)',54.533824,-3.597764,'School'),new Array('St Mary Church (62173-66187)',54.533824,-3.597764,'ParishChurch'),new Array('St Benedict Church (62175-66188)',54.525606,-3.573306,'ParishChurch'),new Array('St. Josephs Catholic Primary , Cockermouth School (37238-35339)',54.659529,-3.369576,'School'),new Array('St Joseph Church (62187-66194)',54.663528,-3.369649,'ParishChurch'),new Array('St. Patricks Catholic Primary , Cleator Moor School (37231-35332)',54.51674,-3.512359,'School'),new Array('St Mary Church (62185-66193)',54.512538,-3.514907,'ParishChurch'),new Array('St Mary Church (62195-66198)',54.482585,-3.533064,'ParishChurch'),new Array('St. Bridgets Catholic Primary , Egremont School (37233-35334)',54.482585,-3.533064,'School'),new Array('Our Lady of the Lakes and St Charles Church (62089-66145)',54.60551,-3.145906,'ParishChurch'),new Array('St Joseph Church (62221-66211)',54.396796,-3.481155,'ParishChurch'),new Array('The Assumption Church (62205-66203)',54.868417,-3.386639,'ParishChurch'),new Array('St. Cuthberts Catholic Primary , Wigton School (37186-35287)',54.827279,-3.15523,'School'),new Array('St Cuthbert Church (62193-66197)',54.827293,-3.155728,'ParishChurch'),new Array('Our Lady of the Wayside Church (62075-66138)',54.465308,-3.017212,'ParishChurch'),new Array('Sacred Heart Church (62059-66130)',54.3612735,-3.079798699999969,'ParishChurch'),new Array('Mater Amabilis Church (62005-66103)',54.42818,-2.963667,'ParishChurch'),new Array('St Columba`s (66075-70974)',54.989985,-3.244879,'School'),new Array('St Edmund Church (62113-66157)',54.884317,-2.981914,'ParishChurch'),new Array('St. Bedes Catholic Primary School (37183-35284)',54.890518,-2.960565,'School')); // 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'; } //