strList="

St Thomas of Canterbury Church (0 miles)
Zoom on map | View full information

St John the Evangelist Church (1.2 miles)
Zoom on map | View full information

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

Church of Our Lady of The Holy Apostles (6.2 miles)
Zoom on map | View full information

St Edmund`s Catholic Comprehensive School (7.1 miles)
Zoom on map | View full information

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

Our Lady of Dover Church (7.2 miles)
Zoom on map | View full information

"; function showResults() { document.getElementById("mapList").style.display="block"; } var records = new Array(new Array('St Thomas of Canterbury Church (61201-65679)',51.22113419999999,1.3996099,'ParishChurch'),new Array('St John the Evangelist Church (61203-65680)',51.209732,1.379206,'ParishChurch'),new Array('St Mary`s Catholic Primary School (38601-36705)',51.211968,1.376563,'School'),new Array('Church of Our Lady of The Holy Apostles (66489-5940)',51.200314,1.261426,'Church'),new Array('St Edmund`s Catholic Comprehensive School (38631-36735)',51.136123,1.307568,'School'),new Array('St Richard`s Catholic Primary School (38602-36706)',51.132244,1.312381,'School'),new Array('Our Lady of Dover Church (61207-65682)',51.14077,1.293673,'ParishChurch'),new Array('St Paul Church (61205-65681)',51.128877,1.31314,'ParishChurch'),new Array('Sts Ethelbert and Gertrude Church (61199-65678)',51.339777,1.424975,'ParishChurch'),new Array('St Joseph`s Catholic Primary School (38596-36700)',51.226465,1.208338,'School'),new Array('St Ethelbert`s Catholic Primary School (38613-36717)',51.340259,1.423258,'School'),new Array('St Finbarr Church (61016-65585)',51.22613,1.202814,'ParishChurch'),new Array('St Mary`s C of E Church (66490-65585)',51.2715707,1.213373899999965,'Other'),new Array('Our Lady Star of the Sea Church (61197-65677)',51.361708,1.428624,'ParishChurch'),new Array('St Joseph`s Catholic Primary School (38634-36738)',51.364639,1.429604,'School'),new Array('St Gregory`s Catholic Primary School (38609-36713)',51.376041,1.379319,'School'),new Array('Ursuline Catholic College School (39069-37175)',51.376786,1.327559,'School'),new Array('St Peter Church (61026-65590)',51.378829,1.337338,'ParishChurch'),new Array('Sts Austin and Gregory Church (61028-65591)',51.384348,1.384459,'ParishChurch'),new Array('Our Lady and St Benedict Church (61024-65589)',51.376715,1.298306,'ParishChurch'),new Array('St Dunstan Church (61018-65586)',51.315977,1.164892,'ParishChurch'),new Array('St Anselm`s Comprehensive School (38629-36733)',51.262685,1.100011,'School'),new Array('Stella Maris Catholic Primary School (38603-36707)',51.087362,1.171931,'School'),new Array('Our Lady Help of Christians and St Aloysius Church (61212-65685)',51.0812588,1.178382000000056,'ParishChurch'),new Array('St Thomas Catholic Primary School (38597-36701)',51.280871,1.086464,'School'),new Array('St Thomas of Canterbury Church (61014-65584)',51.278068,1.083924,'ParishChurch'),new Array('St Joseph Church (61209-65685)',51.0883839,1.144107200000008,'ParishChurch'),new Array('Our Lady of the Sacred Heart Church (61022-65588)',51.370278,1.114276,'ParishChurch'),new Array('The Virgin Mother of Good Counsel Church (61214-65686)',51.073747,1.092656,'ParishChurch'),new Array('St Augustine`s Catholic Primary School (38608-36712)',51.07725,1.073414,'School'),new Array('St Mary`s Catholic Primary School (38625-36729)',51.361428,1.038937,'School'),new Array('Our Lady Immaculate Church (61020-65587)',51.362141,1.037475,'ParishChurch'),new Array('Our Lady of Mount Carmel Church (61242-65700)',51.314991,0.88429,'ParishChurch'),new Array('St Teresa`s Catholic Primary School (38595-36699)',51.155348,0.86721,'School'),new Array('St Teresa Church (61268-65713)',51.152632,0.866112,'ParishChurch'),new Array('St Simon Of England RC (va) Primary School (39068-37174)',51.142762,0.866573,'School'),new Array('St Simon Stock Church (61266-65712)',51.137698,0.857424,'ParishChurch'),new Array('St Simon Of England Primary School (38594-36698)',51.139803,0.846546,'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'; } //