strList="

The Priory of Our Lady of Good Counsel Community House (0 miles)
Zoom on map | View full information

St. Pancras School (1.7 miles)
Zoom on map | View full information

St Pancras (1.8 miles)
Zoom on map | View full information

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

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

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

St Francis of Assisi (3.2 miles)
Zoom on map | View full information

"; function showResults() { document.getElementById("mapList").style.display="block"; } var records = new Array(new Array('The Priory of Our Lady of Good Counsel Community House (71067-75032)',50.860586,-0.0336726,'Other'),new Array('St. Pancras School (33300-33036)',50.873321,-0.001304,'School'),new Array('St Pancras (34861-33732)',50.872771,0.002411,'ParishChurch'),new Array('St Patrick (36473-34572)',50.827895,-0.06429,'Church'),new Array('St Patrick (36473-33757)',50.827895,-0.06429,'Church'),new Array('St Patrick (34994-33812)',50.827895,-0.06429,'Church'),new Array('St Francis of Assisi (34881-33742)',50.852512,-0.105524,'ParishChurch'),new Array('Our Lady of Lourdes (34911-33757)',50.805421,-0.056235,'ParishChurch'),new Array('Our Lady of Lourdes, Queen of Peace (34995-33813)',50.805421,-0.056235,'Church'),new Array('Our Lady Of Lourdes Catholic Primary School (38885-36991)',50.806289,-0.058668,'School'),new Array('Our Lady of Lourdes, Queen of Peace (36474-34573)',50.805421,-0.056235,'Church'),new Array('The Meeting House (30467-74973)',50.876786,-0.1262901,'Church'),new Array('The Meeting House (30467-70911)',50.876786,-0.1262901,'Church'),new Array('St Joseph`s Catholic Primary School (38756-36862)',50.842027,-0.126743,'School'),new Array('St. John the Baptist School (33285-33021)',50.822669,-0.115861,'School'),new Array('St Joseph (34773-33688)',50.832458,-0.126757,'ParishChurch'),new Array('St Joseph (34773-33687)',50.832458,-0.126757,'ParishChurch'),new Array('St Thomas More (34779-33691)',50.859253,-0.141584,'ParishChurch'),new Array('St John the Baptist (34771-33687)',50.819308,-0.125509,'ParishChurch'),new Array('The Immaculate Conception of Our Lady (34891-33747)',50.7928179,-0.0001786,'ParishChurch'),new Array('St Mary (34775-33689)',50.844472,-0.145808,'ParishChurch'),new Array(' (71063-75016)',50.8426151,-0.1458757,'Other'),new Array(' (71063-75417)',50.8426151,-0.1458757,'Other'),new Array(' (71063-75423)',50.8426151,-0.1458757,'Other'),new Array('St Bernadette`s Catholic Primary School (38757-36863)',50.846704,-0.150421,'School'),new Array('St Mary Magdalen (34777-33690)',50.825359,-0.148496,'ParishChurch'),new Array('St Mary Magdalen`s RC Primary School (38755-36861)',50.825073,-0.149217,'School'),new Array('Cottesmore St Mary`s Catholic Primary School (38760-36866)',50.837305,-0.158335,'School'),new Array('Cardinal Newman Catholic School (38763-36869)',50.836982,-0.157836,'School'),new Array('St Edward the Confessor (34857-33692)',50.92101,-0.133106,'ParishChurch'),new Array('The Sacred Heart (34883-33743)',50.789152,0.051404,'ParishChurch'),new Array('The Sacred Heart (34851-33727)',50.829006,-0.171086,'ParishChurch'),new Array('St George (34855-33765)',50.846445,-0.182621,'ParishChurch'),new Array('St George (34855-33729)',50.846445,-0.182621,'ParishChurch'),new Array('St Peter (34853-33728)',50.833526,-0.184671,'ParishChurch'),new Array('St George`s Convent Chapel (71049-75422)',50.9555845,-0.0999929,'Church'),new Array('St George`s Convent Chapel (71049-33692)',50.9555845,-0.0999929,'Church'),new Array('St Wilfrid (34781-33692)',50.953554,-0.135191,'ParishChurch'),new Array('St Wilfrid`s Catholic Primary School (38788-36894)',50.955183,-0.136962,'School'),new Array('St Anne`s Convent (71048-75408)',50.9593031,-0.1279234,'Church'),new Array('St Anne`s Convent (71048-75424)',50.9593031,-0.1279234,'Church'),new Array('St. Mary`s School (33301-33037)',50.832265,-0.213633,'School'),new Array('St Thomas More (34921-33747)',50.774424,0.10768,'ParishChurch'),new Array('St Thomas More (34921-33762)',50.774424,0.10768,'ParishChurch'),new Array('Annecy Catholic Primary School (38761-36867)',50.770696,0.113384,'School'),new Array('St Theresa of Lisieux (34927-33765)',50.8407784,-0.235891700000025,'ParishChurch'),new Array('Shalom (71088-75075)',50.7699461,0.1117648,'Other'),new Array('St Paul`s Catholic College School (38791-36897)',50.966824,-0.156422,'School'),new Array('Our Lady Immaculate and St Philip Neri (34943-33773)',50.964455,0.096487,'ParishChurch'),new Array('St Philip`s Catholic Primary School (38759-36865)',50.964455,0.096487,'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'; } //