strList="

Corpus Christi Church (0 miles)
Zoom on map | View full information

St Anne`s Church (3.9 miles)
Zoom on map | View full information

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

Sacred Heart Church (4.5 miles)
Zoom on map | View full information

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

St Josephs Infants School School (5.5 miles)
Zoom on map | View full information

St Edwards Junior School (5.5 miles)
Zoom on map | View full information

"; function showResults() { document.getElementById("mapList").style.display="block"; } var records = new Array(new Array('Corpus Christi Church (40820-38200)',51.792475,-0.665191,'ParishChurch'),new Array('St Anne`s Church (49667-56094)',51.764579,-0.743976,'ParishChurch'),new Array('St Thomas More Catholic Primary School (38393-36497)',51.759852,-0.580649,'School'),new Array('Sacred Heart Church (40462-38021)',51.763389,-0.571293,'ParishChurch'),new Array('Our Lady of Lourdes Church (49463-55961)',51.805316,-0.785616,'ParishChurch'),new Array('St Josephs Infants School School (37762-35866)',51.811383,-0.790661,'School'),new Array('St Edwards Junior School (37761-35865)',51.811383,-0.790661,'School'),new Array('St Columba Church (49495-55986)',51.716322,-0.607635,'ParishChurch'),new Array('HM Young Offenders Institution (65226-75459)',51.801983,-0.806589,'Other'),new Array('St Louis Primary School (37763-35867)',51.825103,-0.799276,'School'),new Array('Immaculate Heart of Mary Church (49539-56014)',51.705884,-0.709305,'ParishChurch'),new Array('St Joseph Church (49461-55957)',51.816681,-0.80935,'ParishChurch'),new Array('Society of Christ (71385-75842)',51.6996051,-0.7041371,'Other'),new Array('St Clare`s Church (49459-55957)',51.828381,-0.811349,'ParishChurch'),new Array('John F Kennedy Catholic School School (38265-36369)',51.759612,-0.499747,'School'),new Array('Our Lady`s Primary School School (37760-35864)',51.690293,-0.614655,'School'),new Array('Our Lady of Perpetual Succour Church (49497-55988)',51.688493,-0.61374,'ParishChurch'),new Array('St Mark`s Church (4603-354)',51.756237,-0.487545,'ParishChurch'),new Array('St Cuthbert Mayne Catholic Junior School (38389-36493)',51.759307,-0.48305,'School'),new Array('St Rose`s Catholic Infant School (38392-36496)',51.747479,-0.491095,'School'),new Array('Ss Mary And Joseph Church (40604-38092)',51.745902,-0.483861,'ParishChurch'),new Array('St Mark`s Catholic Church Church (40610-38095)',51.745902,-0.483861,'ParishChurch'),new Array('St Teresa of the Child Jesus Church (49633-56073)',51.724633,-0.830606,'ParishChurch'),new Array('St Mary Church (49521-56005)',51.8854,-0.526366,'ParishChurch'),new Array('Our Lady of Czestochowa (Polish) Church (49519-75838)',51.886757,-0.526351,'ParishChurch'),new Array('Sacred Heart Church (49567-56030)',51.9192584,-0.65681040000004,'ParishChurch'),new Array('Our Lady of Czestochowa (Polish) Church (49519-56004)',51.886757,-0.526351,'ParishChurch'),new Array('Church of the Resurrection (4599-354)',51.773188,-0.457292,'Church'),new Array('2. Highfield: St Paul (shared 1971) Solway Off Juniper Drive Church (40608-38094)',51.775354,-0.454464,'ParishChurch'),new Array('St Marys Lower School School (37788-35892)',51.874002,-0.496742,'School'),new Array('Our Lady Mother Of The Saviour Church (40496-38038)',51.701964,-0.501075,'ParishChurch'),new Array('St Aidan Church (49569-56032)',51.668498,-0.575611,'ParishChurch'),new Array('St Albert the Great Catholic Primary School School (38385-36489)',51.747386,-0.447408,'School'),new Array('Our Lady Queen Of All Creation Church (40606-38093)',51.74917,-0.444276,'ParishChurch'),new Array('St Vincent`s RC Primary School School (37789-35893)',51.909142,-0.512447,'School'),new Array('St Martin de Porres Catholic Church (49589-56044)',51.896617,-0.485639,'ParishChurch'),new Array('St Martin De Porres Primary School (37795-35899)',51.899957,-0.48528,'School'),new Array('St Margaret Of Scotland Primary School (37794-35898)',51.871604,-0.43898,'School'),new Array('St Wulstan Church (65233-70903)',51.634449,-0.722864,'ParishChurch'),new Array('St John Fisher Church (40750-38165)',51.803525,-0.401287,'ParishChurch'),new Array('St John Fisher Church (40500-38040)',51.653981,-0.522188,'ParishChurch'),new Array('The Good Shepherd Church (49541-56015)',51.768824,-0.929475,'ParishChurch'),new Array('St Margaret of Scotland Church (49587-56043)',51.876217,-0.43497,'ParishChurch'),new Array(' (71373-75185)',51.89846730000001,-0.4542065,'Other'),new Array('St Augustines Church (49549-56019)',51.630886,-0.745244,'ParishChurch'),new Array('The Holy Ghost Church (49577-56037)',51.887706,-0.433438,'ParishChurch'),new Array('St Joseph`s Infants School School (37792-35896)',51.900877,-0.446178,'School'),new Array('Divine Saviour Catholic Primary School School (38253-36357)',51.700508,-0.428218,'School'),new Array('St John the Apostle Church (49583-56035)',51.918384,-0.470889,'ParishChurch'),new Array('St Joseph Church (49585-56042)',51.900877,-0.446178,'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'; } //