strList="

Sacred Heart Church (0 miles)
Zoom on map | View full information

Holy Family Church (5.4 miles)
Zoom on map | View full information

St. Brannoc Church (6.7 miles)
Zoom on map | View full information

St. Mary, Immaculate Mother of God (7.8 miles)
Zoom on map | View full information

Our Lady`s Catholic Primary School (8.2 miles)
Zoom on map | View full information

Our Lady Star of the Sea Church (13.6 miles)
Zoom on map | View full information

St Josephs Church (16.4 miles)
Zoom on map | View full information

"; function showResults() { document.getElementById("mapList").style.display="block"; } var records = new Array(new Array('Sacred Heart Church (56760-63023)',51.0202146,-4.208666300000004,'ParishChurch'),new Array('Holy Family Church (56785-63049)',50.9540537,-4.141779799999995,'ParishChurch'),new Array('St. Brannoc Church (56761-63039)',51.1129513,-4.165052800000012,'Church'),new Array('St. Mary, Immaculate Mother of God (56759-63022)',51.0779856,-4.055098899999962,'ParishChurch'),new Array('Our Lady`s Catholic Primary School (37910-36014)',51.080931,-4.046622,'School'),new Array('Our Lady Star of the Sea Church (56775-63039)',51.2098458,-4.125446799999963,'ParishChurch'),new Array('St Josephs Church (66530-63022)',51.0183311,-3.830745999999976,'Other'),new Array('St. Joseph Church (56783-63047)',51.0185426,-3.832238999999959,'ParishChurch'),new Array('St. Peter`s Church (56705-62975)',50.8262945,-4.54273319999993,'ParishChurch'),new Array('St. Peter`s Church (56705-62966)',50.8262945,-4.54273319999993,'ParishChurch'),new Array('Most Holy Saviour Church (56777-63039)',51.2289629,-3.840121400000044,'Church'),new Array('St Boniface Church (56779-63043)',50.7342884,-4.001284400000031,'ParishChurch'),new Array('St. Cuthbert Mayne Church (56714-62975)',50.6440966,-4.369953799999962,'ParishChurch'),new Array('St Stanislaus Church (42524-63735)',51.03971629999999,-3.551284099999975,'ParishChurch'),new Array('Holy Family Church (56763-63026)',50.675593,-3.841267199999948,'ParishChurch'),new Array('St. Boniface`s Church (56765-63028)',50.7874041,-3.65107850000004,'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'; } //