strList="

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

St Joseph (0.1 miles)
Zoom on map | View full information

St Damian`s RC Science College School (1.4 miles)
Zoom on map | View full information

St Raphael Church (1.5 miles)
Zoom on map | View full information

St Raphael`s Primary School (1.5 miles)
Zoom on map | View full information

St Christopher`s RC Primary School (1.5 miles)
Zoom on map | View full information

St Christopher (1.6 miles)
Zoom on map | View full information

"; function showResults() { document.getElementById("mapList").style.display="block"; } var records = new Array(new Array('St Joseph`s RC Primary School (39021-37127)',53.516468,-2.045476,'School'),new Array('St Joseph (57301-63327)',53.517852,-2.045142,'ParishChurch'),new Array('St Damian`s RC Science College School (39025-37131)',53.509477,-2.076605,'School'),new Array('St Raphael Church (59776-32780)',53.496168,-2.03035,'ParishChurch'),new Array('St Raphael`s Primary School (38202-36306)',53.496168,-2.03035,'School'),new Array('St Christopher`s RC Primary School (39023-37129)',53.504093,-2.076023,'School'),new Array('St Christopher (5742-63197)',53.503724,-2.077303,'ParishChurch'),new Array('St Edward (57205-63279)',53.537354,-2.075617,'ParishChurch'),new Array(' (71336-75805)',53.530836,-2.091288,'Other'),new Array('St Edward`s RC Primary School (38963-37069)',53.542225,-2.070961,'School'),new Array('St Michael (71028-63339)',53.530836,-2.091288,'ParishChurch'),new Array('Our Lady Of Mount Carmel RC Primary School (39018-37124)',53.49287,-2.083991,'School'),new Array('St Peter Church (59769-32779)',53.480142,-2.053363,'ParishChurch'),new Array('Holy Rosary RC Primary School (38958-37064)',53.520867,-2.108164,'School'),new Array('St Anne`s RC Primary School (38967-37073)',53.54428,-2.088937,'School'),new Array('Sacred Heart and St William (63065-78321)',53.547162,-2.007025,'ParishChurch'),new Array('Sacred Heart and St William (63065-66690)',53.547162,-2.007025,'ParishChurch'),new Array('St Peter`s RC Primary and Nursery School (39050-37156)',53.478155,-2.054113,'School'),new Array('St Ann (57041-63197)',53.488685,-2.100606,'Church'),new Array('St Mary Church (59738-32781)',53.479311,-2.089826,'ParishChurch'),new Array('Holy Family RC Primary School (38966-37072)',53.513659,-2.126437,'School'),new Array('St Theresa`s RC Primary School (71031-74613)',53.5549607,-2.091370999999981,'School'),new Array('Our Lady of Mount Carmel and St Patrick (57317-75679)',53.53918,-2.118989,'ParishChurch'),new Array('Our Lady (57327-63339)',53.563238,-2.072976,'ParishChurch'),new Array('All Saints School (38216-36320)',53.471151,-2.07518,'School'),new Array('St Patrick`s RC Primary School (38968-37074)',53.537823,-2.123099,'School'),new Array('Polish Catholic Centre (71151-75382)',53.5264057,-2.1316323,'Other'),new Array('St Mary`s School (38185-36289)',53.467617,-2.07647,'School'),new Array('Holy Family (57189-63259)',53.51718,-2.135981,'ParishChurch'),new Array('Corpus Christi RC Primary School (38961-37067)',53.528097,-2.139514,'School'),new Array('All Saints Presbytery (71156-75388)',53.5469252,-2.1239382,'Other'),new Array('Corpus Christi (57187-63270)',53.529842,-2.139909,'ParishChurch'),new Array('St Joseph (57397-63375)',53.568947,-2.09905,'ParishChurch'),new Array('St Paul`s School (38194-36298)',53.457933,-2.067777,'School'),new Array('St Joseph`s RC Primary School (38962-37068)',53.568947,-2.09905,'School'),new Array('St Paul Church (59758-32777)',53.456107,-2.069973,'ParishChurch'),new Array('Ss Aidan and Oswald (57367-63360)',53.562387,-2.120453,'ParishChurch'),new Array('St Aidan`s and St Oswald`s RC Primary School (38965-37071)',53.563288,-2.12195,'School'),new Array('St James Church (59704-32778)',53.45163,-2.030815,'ParishChurch'),new Array('St Stephen (57157-63255)',53.485882,-2.146051,'ParishChurch'),new Array('St Charles`s Catholic Primary School (37820-35924)',53.46214,-1.979869,'School'),new Array('St Herbert (57135-63270)',53.546996,-2.146002,'ParishChurch'),new Array('St Stephen`s RC Primary School (39020-37126)',53.485882,-2.146051,'School'),new Array('Newman RC College (71032-74614)',53.5384904,-2.152308100000028,'School'),new Array('Newman RC College (66498-71426)',53.539094,-2.150942,'Other'),new Array('St James School (38169-36273)',53.450811,-2.03217,'School'),new Array('Immaculate Conception (St Mary) (57165-63259)',53.504692,-2.157259,'ParishChurch'),new Array('St Mary`s RC Primary Failsworth School (38969-37075)',53.504202,-2.157482,'School'),new Array('St Charles Borromeo Church (56001-62181)',53.460558,-1.979056,'ParishChurch'),new Array('St Herbert`s RC Primary School (38964-37070)',53.546397,-2.147799,'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'; } //