strList="

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

St Peter Church (4.5 miles)
Zoom on map | View full information

Our Lady Catholic Primary School (5.7 miles)
Zoom on map | View full information

St Thomas More Catholic Primary School (6.2 miles)
Zoom on map | View full information

St Hugh Of Lincoln Church (6.4 miles)
Zoom on map | View full information

Our Lady Immaculate And St Andrew Church (6.4 miles)
Zoom on map | View full information

Christ the King Church (7.4 miles)
Zoom on map | View full information

"; function showResults() { document.getElementById("mapList").style.display="block"; } var records = new Array(new Array('St Francis of Assisi Church (49641-56078)',52.038135,-0.33448,'ParishChurch'),new Array('St Peter Church (49481-55977)',52.085135,-0.262279,'ParishChurch'),new Array('Our Lady Catholic Primary School (38288-36392)',51.964138,-0.277836,'School'),new Array('St Thomas More Catholic Primary School (38402-36506)',51.969944,-0.241742,'School'),new Array('St Hugh Of Lincoln Church (40670-38125)',51.968857,-0.233443,'ParishChurch'),new Array('Our Lady Immaculate And St Andrew Church (40626-38103)',51.953741,-0.27461,'ParishChurch'),new Array('Christ the King Church (49467-55968)',52.12004,-0.446558,'ParishChurch'),new Array('St John`s Catholic Primary School (38400-36504)',51.983422,-0.181902,'School'),new Array('Sacred Heart Church (49531-56010)',51.99747,-0.497213,'ParishChurch'),new Array('Bedford DHS (71365-75179)',52.1235222,-0.4552523,'Other'),new Array('Holy Cross Church (49469-55969)',52.1425,-0.428853,'ParishChurch'),new Array('Our Lady of Ransom Church (49559-56025)',52.11827,-0.496571,'ParishChurch'),new Array('St John Rigby Lower School School (37785-35889)',52.145061,-0.447777,'School'),new Array('Sacred Heart of Jesus and St Cuthbert (Polish Church) Church (49471-55970)',52.136814,-0.465466,'ParishChurch'),new Array('Cardinal Newman Catholic School School (37790-35894)',51.921685,-0.423923,'School'),new Array('St Joseph and the Holy Child Church (49477-55974)',52.13666,-0.473727,'ParishChurch'),new Array('St Frances Cabrini Church (49479-55976)',52.137162,-0.477042,'ParishChurch'),new Array('St Frances Cabrini Church (49479-75837)',52.137162,-0.477042,'ParishChurch'),new Array('St Joseph and St Gregory School (37786-35890)',52.134756,-0.49137,'School'),new Array('John Henry Newman Catholic School School (38266-36370)',51.920685,-0.214758,'School'),new Array('SS Philip and James Church (49473-55971)',52.157482,-0.459069,'ParishChurch'),new Array('The Holy Family Church (49575-56035)',51.914342,-0.445829,'ParishChurch'),new Array('St John the Apostle Church (49583-56035)',51.918384,-0.470889,'ParishChurch'),new Array('Sacred Heart of Jesus Church (49581-56040)',51.896953,-0.393642,'ParishChurch'),new Array('Sacred Heart of Jesus Church (49581-75834)',51.896953,-0.393642,'ParishChurch'),new Array('St Thomas More Upper School School (37787-35891)',52.162122,-0.462491,'School'),new Array('Sacred Heart Primary School (37791-35895)',51.895909,-0.397545,'School'),new Array('Transfiguration Church (40798-38189)',51.912078,-0.205169,'ParishChurch'),new Array('St Joseph Church (49585-56042)',51.900877,-0.446178,'ParishChurch'),new Array('St Joseph`s Infants School School (37792-35896)',51.900877,-0.446178,'School'),new Array(' (71373-75185)',51.89846730000001,-0.4542065,'Other'),new Array('Luton DHS (71371-75181)',51.8893093,-0.4293145,'Other'),new Array('St Joseph Church (40794-38187)',51.905769,-0.182568,'ParishChurch'),new Array('St Vincent De Paul Catholic Primary School (38399-36503)',51.905769,-0.182568,'School'),new Array('The Holy Ghost Church (49577-56037)',51.887706,-0.433438,'ParishChurch'),new Array('St Thomas Church (49591-56043)',51.880694,-0.419443,'ParishChurch'),new Array('St Martin De Porres Primary School (37795-35899)',51.899957,-0.48528,'School'),new Array('University of Bedfordshire (71001-74296)',51.8778618,-0.411407100000019,'Other'),new Array('St Martin de Porres Catholic Church (49589-56044)',51.896617,-0.485639,'ParishChurch'),new Array('St Vincent`s RC Primary School School (37789-35893)',51.909142,-0.512447,'School'),new Array('Our Lady Help of Christians Church (49579-56039)',51.875427,-0.41556,'ParishChurch'),new Array('St Margaret of Scotland Church (49587-56043)',51.876217,-0.43497,'ParishChurch'),new Array('St Margaret Of Scotland Primary School (37794-35898)',51.871604,-0.43898,'School'),new Array('St Margaret Clitherow RC School (38401-36505)',51.88742,-0.178672,'School'),new Array('St Hilda Church (40796-38188)',51.89096,-0.169229,'ParishChurch'),new Array('Cranfield University Chaplaincy (49507-55997)',52.073918,-0.628755,'Other'),new Array('St Mary Church (49673-56097)',52.010831,-0.642356,'ParishChurch'),new Array('Our Lady of Czestochowa (Polish) Church (49519-75838)',51.886757,-0.526351,'ParishChurch'),new Array('St Marys Lower School School (37788-35892)',51.874002,-0.496742,'School'),new Array('Our Lady of Czestochowa (Polish) Church (49519-56004)',51.886757,-0.526351,'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'; } //