strList="

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

St Mary & The Good Shepherd Church (0.1 miles)
Zoom on map | View full information

St Mary Church (3.6 miles)
Zoom on map | View full information

St Luke`s Primary School (5 miles)
Zoom on map | View full information

All Saints and St Paul Church (5.2 miles)
Zoom on map | View full information

St Patrick Church (5.3 miles)
Zoom on map | View full information

Our Lady of the Rosary Church (5.4 miles)
Zoom on map | View full information

"; function showResults() { document.getElementById("mapList").style.display="block"; } var records = new Array(new Array('St Mary`s Primary School (38188-36292)',52.638557,-2.448404,'School'),new Array('St Mary and The Good Shepherd Church (59583-32812)',52.6367393,-2.448755000000006,'ParishChurch'),new Array('St Mary Church (59742-32809)',52.6668111,-2.376178500000037,'ParishChurch'),new Array('St Luke`s Primary School (38180-36284)',52.711446,-2.450587,'School'),new Array('All Saints and St Paul Church (63212-64960)',52.701972,-2.516344,'ParishChurch'),new Array('St Patrick Church (59756-32807)',52.702635,-2.516885,'ParishChurch'),new Array('Our Lady of the Rosary Church (59626-32811)',52.716107,-2.44239,'ParishChurch'),new Array('St Patrick`s Primary School (38193-36297)',52.705683,-2.524958,'School'),new Array('Blessed Robert Johnson School (38218-36322)',52.70937,-2.518622,'School'),new Array('St John`s School (38170-36274)',52.538975,-2.424152,'School'),new Array('St John the Evangelist Church (59708-32829)',52.537468,-2.420673,'ParishChurch'),new Array('SS Peter and Paul Church (59643-32808)',52.769854,-2.383529,'ParishChurch'),new Array('SS Peter and Paul Catholic Primary (39056-37162)',52.778944,-2.380318,'School'),new Array('St Christopher`s School (36739-34838)',52.625643,-2.189641,'School'),new Array('St Christopher Church (36259-34462)',52.625643,-2.189641,'ParishChurch'),new Array('St Mary`s School (36714-34813)',52.67973,-2.181327,'School'),new Array('St Mary Church (36424-34544)',52.67973,-2.181327,'ParishChurch'),new Array('St Thomas of Canterbury Church (36376-34520)',52.595367,-2.171441,'ParishChurch'),new Array('St Joseph`s Convent School (38799-36905)',52.603702,-2.156988,'School'),new Array('St Edmund`s School (36710-34809)',52.586972,-2.164117,'School'),new Array('St Winefride Church (63443-32804)',52.710311,-2.724748,'ParishChurch'),new Array('St Winefride Church (59803-32804)',52.710311,-2.724748,'ParishChurch'),new Array('St Michael`s School (36704-34803)',52.572446,-2.169477,'School'),new Array('The Giffard School (36709-34808)',52.600119,-2.154067,'School'),new Array('St Bernadette`s School (36737-34836)',52.533095,-2.199355,'School'),new Array('St Michael Church (36458-34561)',52.569096,-2.160627,'ParishChurch'),new Array('St Bernadette Church (36298-34481)',52.533848,-2.190189,'ParishChurch'),new Array('Our Lady of Pity Church (63262-32799)',52.729223,-2.722278,'ParishChurch'),new Array('Our Lady of Pity Church (59622-32799)',52.729223,-2.722278,'ParishChurch'),new Array('St Lawrence C of E Church (65109-34454)',52.786982,-2.251418,'Other'),new Array('St Mary`s Primary School (38190-36294)',52.718675,-2.737411,'School'),new Array('St Anthony`s School (36701-34800)',52.625979,-2.127035,'School'),new Array('St Anthony of Padua Church (36184-34424)',52.626763,-2.125382,'ParishChurch'),new Array('Cathedral Church of Our Lady Help of Christians and Saint Peter of Alcantara (63445-32798)',52.7056304,-2.7540021,'Cathedral'),new Array('SS Volodymyr and Olha Church (36466-34565)',52.579442,-2.139798,'ParishChurch'),new Array('St Winefride`s School (38212-36316)',52.705631,-2.754508,'School'),new Array('SS Peter and Paul Church (36213-34439)',52.587877,-2.130245,'ParishChurch'),new Array('SS Mary and John Church (36336-34500)',52.582002,-2.125594,'ParishChurch'),new Array('Our Lady and St Chad`s School (36711-34810)',52.610913,-2.108428,'School'),new Array('SS Mary and John`s School (36703-34802)',52.576372,-2.120044,'School'),new Array('Our Lady of Perpetual Succour Church (36318-34491)',52.608004,-2.103414,'ParishChurch'),new Array('Corpus Christi Church (36440-34552)',52.6080378,-2.1034523,'ParishChurch'),new Array('St Mary`s School (36702-34801)',52.608004,-2.103414,'School'),new Array('St Teresa`s School (36707-34806)',52.564623,-2.11864,'School'),new Array('St Teresa and the Infant Jesus Church (36057-34360)',52.564483,-2.114701,'ParishChurch'),new Array('St Patrick Church (36205-34435)',52.595819,-2.097598,'ParishChurch'),new Array('Holy Rosary School (36700-34799)',52.581296,-2.103218,'School'),new Array('Our Lady of Lourdes Church (36452-34558)',52.496496,-2.171659,'ParishChurch'),new Array('St Chad`s RC Primary School (38796-36902)',52.539198,-2.120635,'School'),new Array('St Chad and All Saints Church (36374-34519)',52.536923,-2.120806,'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'; } //