strList="

All Saints Presbytery (0 miles)
Zoom on map | View full information

Our Lady of Mount Carmel and St Patrick (0.6 miles)
Zoom on map | View full information

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

St Herbert (0.9 miles)
Zoom on map | View full information

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

Ss Aidan & Oswald (1.1 miles)
Zoom on map | View full information

St Aidan`s & St Oswald`s RC 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('All Saints Presbytery (71156-75388)',53.5469252,-2.1239382,'Other'),new Array('Our Lady of Mount Carmel and St Patrick (57317-75679)',53.53918,-2.118989,'ParishChurch'),new Array('St Patrick`s RC Primary School (38968-37074)',53.537823,-2.123099,'School'),new Array('St Herbert (57135-63270)',53.546996,-2.146002,'ParishChurch'),new Array('St Herbert`s RC Primary School (38964-37070)',53.546397,-2.147799,'School'),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('Newman RC College (66498-71426)',53.539094,-2.150942,'Other'),new Array('Newman RC College (71032-74614)',53.5384904,-2.152308100000028,'School'),new Array('Corpus Christi (57187-74540)',53.529842,-2.139909,'ParishChurch'),new Array('Corpus Christi (57187-63270)',53.529842,-2.139909,'ParishChurch'),new Array('St Theresa`s RC Primary School (71031-74613)',53.5549607,-2.091370999999981,'School'),new Array('Corpus Christi RC Primary School (38961-37067)',53.528097,-2.139514,'School'),new Array('St Anne`s RC Primary School (38967-37073)',53.54428,-2.088937,'School'),new Array('Polish Catholic Centre (71151-75382)',53.5264057,-2.1316323,'Other'),new Array('St Michael (71028-63339)',53.530836,-2.091288,'ParishChurch'),new Array(' (71336-75805)',53.530836,-2.091288,'Other'),new Array('St Joseph`s RC Primary School (38962-37068)',53.568947,-2.09905,'School'),new Array('St Joseph (57397-63375)',53.568947,-2.09905,'ParishChurch'),new Array('Holy Rosary RC Primary School (38958-37064)',53.520867,-2.108164,'School'),new Array('Holy Family (57189-63259)',53.51718,-2.135981,'ParishChurch'),new Array('St Edward (57205-63279)',53.537354,-2.075617,'ParishChurch'),new Array('St Edward`s RC Primary School (38963-37069)',53.542225,-2.070961,'School'),new Array('Holy Family RC Primary School (38966-37072)',53.513659,-2.126437,'School'),new Array('St Margaret Mary (57279-63316)',53.526003,-2.171963,'ParishChurch'),new Array('St Margaret Mary`s Catholic Primary School (38939-37045)',53.526003,-2.171963,'School'),new Array('Presentation Convent New Moston (71146-75374)',53.526003,-2.171963,'Other'),new Array('Our Lady (57327-63339)',53.563238,-2.072976,'ParishChurch'),new Array('299 Boarshaw Road (71142-75369)',53.558085,-2.182247,'Other'),new Array('St John Fisher RC Primary School (38987-37093)',53.559507,-2.182883,'School'),new Array('Cardinal Langley RC High School (38985-37091)',53.564036,-2.183507,'School'),new Array('St Peter`s RC Primary School (38973-37079)',53.544456,-2.191737,'School'),new Array('St Thomas More RC Primary School (38976-37082)',53.534654,-2.18863,'School'),new Array('St Agnes and St John Fisher (5995-63326)',53.5541851,-2.1915737,'ParishChurch'),new Array('St Peter (57293-63324)',53.548323,-2.19327,'ParishChurch'),new Array('St Matthew`s RC High School (38954-37060)',53.51817,-2.17634,'School'),new Array('St Thomas More (57295-63324)',53.537052,-2.194131,'ParishChurch'),new Array('St John Vianney (57277-63314)',53.517524,-2.175989,'ParishChurch'),new Array('St Cuthbert`s RC High School (38986-37092)',53.590297,-2.139054,'School'),new Array('St John Bosco RC Primary School (38937-37043)',53.527003,-2.195505,'School'),new Array('Immaculate Conception (St Mary) (57165-63259)',53.504692,-2.157259,'ParishChurch'),new Array('St Damian`s RC Science College School (39025-37131)',53.509477,-2.076605,'School'),new Array('St Mary`s RC Primary Failsworth School (38969-37075)',53.504202,-2.157482,'School'),new Array('St John Bosco (57229-63290)',53.524002,-2.19582,'ParishChurch'),new Array('St Gabriel`s RC Primary School (38977-37083)',53.587859,-2.175181,'School'),new Array('Holy Family RC Primary School (38981-37087)',53.594235,-2.152892,'School'),new Array(' (71160-75227)',53.5102482,-2.1833021,'Other'),new Array('St Christopher (5742-63197)',53.503724,-2.077303,'ParishChurch'),new Array('St Mary`s RC Primary School (38974-37080)',53.555659,-2.210732,'School'),new Array('St Christopher`s RC Primary School (39023-37129)',53.504093,-2.076023,'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'; } //