strList="

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

St Bernadette Church (0.4 miles)
Zoom on map | View full information

Our Lady of Lourdes Church (2.8 miles)
Zoom on map | View full information

St Michael Church (3 miles)
Zoom on map | View full information

St Michael`s School (3 miles)
Zoom on map | View full information

St Peter and the English Martyrs Church (3.3 miles)
Zoom on map | View full information

St Chad`s School (3.3 miles)
Zoom on map | View full information

"; function showResults() { document.getElementById("mapList").style.display="block"; } var records = new Array(new Array('St Bernadette`s School (36737-34836)',52.533095,-2.199355,'School'),new Array('St Bernadette Church (36298-34481)',52.533848,-2.190189,'ParishChurch'),new Array('Our Lady of Lourdes Church (36452-34558)',52.496496,-2.171659,'ParishChurch'),new Array('St Michael Church (36458-34561)',52.569096,-2.160627,'ParishChurch'),new Array('St Michael`s School (36704-34803)',52.572446,-2.169477,'School'),new Array('St Peter and the English Martyrs Church (36338-34501)',52.518318,-2.125662,'ParishChurch'),new Array('St Chad`s School (36666-34765)',52.536923,-2.120806,'School'),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'),new Array('St Edmund`s School (36710-34809)',52.586972,-2.164117,'School'),new Array('St Teresa`s School (36707-34806)',52.564623,-2.11864,'School'),new Array('SS Volodymyr and Olha Church (36466-34565)',52.579442,-2.139798,'ParishChurch'),new Array('St Teresa and the Infant Jesus Church (36057-34360)',52.564483,-2.114701,'ParishChurch'),new Array('Bishop Milner School (36669-34768)',52.519528,-2.102027,'School'),new Array('SS Mary and John`s School (36703-34802)',52.576372,-2.120044,'School'),new Array('St Thomas of Canterbury Church (36376-34520)',52.595367,-2.171441,'ParishChurch'),new Array('SS Mary and John Church (36336-34500)',52.582002,-2.125594,'ParishChurch'),new Array('SS Peter and Paul Church (36213-34439)',52.587877,-2.130245,'ParishChurch'),new Array('St Mary Church (36215-34440)',52.479594,-2.121959,'ParishChurch'),new Array('The Giffard School (36709-34808)',52.600119,-2.154067,'School'),new Array('St Joseph`s Convent School (38799-36905)',52.603702,-2.156988,'School'),new Array('St John Fisher Church (36051-34357)',52.547639,-2.079058,'ParishChurch'),new Array('Holy Rosary School (36700-34799)',52.581296,-2.103218,'School'),new Array('St Mary`s School (36665-34764)',52.476651,-2.115517,'School'),new Array('Our Blessed Lady and St Thomas of Canterbury Church (36106-34385)',52.5271195,-2.0668108,'ParishChurch'),new Array('St Joseph`s School (36664-34763)',52.511072,-2.072111,'School'),new Array('St Joseph Church (36267-34466)',52.582137,-2.086189,'ParishChurch'),new Array('Our Lady and All Saints Church (36348-34506)',52.454475,-2.145876,'ParishChurch'),new Array('Sacred Heart and Holy Souls Church (36140-34402)',52.527162,-2.060464,'ParishChurch'),new Array('Holy Trinity School (36705-34804)',52.567008,-2.070079,'School'),new Array('Holy Trinity Church (36039-34351)',52.564206,-2.06677,'ParishChurch'),new Array('St Patrick Church (36205-34435)',52.595819,-2.097598,'ParishChurch'),new Array('St Joseph`s School (36667-34766)',52.445462,-2.150157,'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 (36702-34801)',52.608004,-2.103414,'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('Our Lady and St Chad`s School (36711-34810)',52.610913,-2.108428,'School'),new Array('St Thomas More School (36699-34798)',52.57347,-2.057045,'School'),new Array('St Patrick`s School (36708-34807)',52.600018,-2.085132,'School'),new Array('Our Lady of Lourdes Church (36400-34532)',52.475762,-2.068063,'ParishChurch'),new Array('St Mary Church (36237-34451)',52.588025,-2.055721,'ParishChurch'),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('St Joseph`s School (36692-34791)',52.573154,-2.038615,'School'),new Array('St Joseph Church (36444-34554)',52.569047,-2.034584,'ParishChurch'),new Array('St Mary on the Hill Church (36398-34531)',52.556896,-2.018836,'ParishChurch'),new Array('St Mary`s School (36671-34770)',52.557831,-2.018896,'School'),new Array('English Martyrs Church (36285-34475)',52.485775,-2.029305,'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'; } //