strList="

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

St Mary Of The Angels Church (0.1 miles)
Zoom on map | View full information

St Mary`s Priory Parish Church (0.1 miles)
Zoom on map | View full information

Archbishop`s House (0.2 miles)
Zoom on map | View full information

Archbishop`s House (0.2 miles)
Zoom on map | View full information

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

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

"; function showResults() { document.getElementById("mapList").style.display="block"; } var records = new Array(new Array('St Helen`s School (36844-34943)',51.483537,-3.198333,'School'),new Array('St Mary Of The Angels Church (41118-38462)',51.48307,-3.195599,'ParishChurch'),new Array('St Mary`s Priory Parish Church (30595-31512)',51.48307,-3.195599,'ParishChurch'),new Array('Archbishop`s House (30581-38508)',51.484347,-3.192997,'Other'),new Array('Archbishop`s House (30581-38515)',51.484347,-3.192997,'Other'),new Array('Sacred Heart Parish Church (30593-31511)',51.477019,-3.204339,'ParishChurch'),new Array('Sacred Heart Church (41101-38452)',51.477019,-3.204339,'ParishChurch'),new Array('University Of Cardiff Chaplaincy Church (41128-38468)',51.489369,-3.180957,'ParishChurch'),new Array('St. David`s Cathedral Church (41111-38458)',51.480751,-3.174196,'Cathedral'),new Array('St Joseph`s Parish Church (30601-31515)',51.500456,-3.18983,'ParishChurch'),new Array('St Joseph Church (41116-38461)',51.500456,-3.18983,'ParishChurch'),new Array('St Patrick Church (41120-38463)',51.466596,-3.18332,'ParishChurch'),new Array('St Peter Church (41123-38465)',51.486901,-3.167945,'ParishChurch'),new Array('Our Lady of Lourdes Parish Church (30599-31514)',51.50051,-3.215274,'ParishChurch'),new Array('Our Lady of Lourdes Parish Church (30599-38467)',51.50051,-3.215274,'ParishChurch'),new Array('St David`s Cathedral Parish Church (30587-31508)',51.478892,-3.163147,'ParishChurch'),new Array('St Helen`s School (36841-34940)',51.472301,-3.167658,'School'),new Array('St Cuthbert`s House Parish Church (30589-31509)',51.463,-3.173395,'ParishChurch'),new Array('St Cuthbert Church (41109-38457)',51.463826,-3.172552,'ParishChurch'),new Array('St David`s Catholic College (38752-36859)',51.501149,-3.165629,'School'),new Array('St Alban`s Parish Church (30607-31518)',51.486805,-3.149392,'ParishChurch'),new Array('Holy Family Parish Church (30655-31542)',51.497463,-3.240951,'ParishChurch'),new Array('St Alban Church (41103-38453)',51.486805,-3.149392,'ParishChurch'),new Array('Holy Family Church (41097-38450)',51.497463,-3.240951,'ParishChurch'),new Array('Holy Family Parish Church (30655-38462)',51.497463,-3.240951,'ParishChurch'),new Array('St Francis Of Assisi Church (41112-38459)',51.4752936,-3.2498193,'ParishChurch'),new Array('Our Lady Of Lourdes Church (41099-38451)',51.515563,-3.218658,'ParishChurch'),new Array('St Paul Church (41121-31528)',51.511762,-3.165353,'ParishChurch'),new Array('St Teilo Church (41126-38467)',51.515563,-3.218658,'ParishChurch'),new Array('St Paul Church (41121-38464)',51.511762,-3.165353,'ParishChurch'),new Array('St Helen`s School (36835-34934)',51.478191,-3.256282,'School'),new Array('St Helen`s School (36838-34937)',51.486905,-3.140105,'School'),new Array('Mary Immaculate High School (36875-34974)',51.469462,-3.256993,'School'),new Array('St Philip Evans Church (41125-38466)',51.516301,-3.151014,'ParishChurch'),new Array('St Philip Evans RC Primary School (36847-34946)',51.517294,-3.149684,'School'),new Array('St Joseph Church (41182-38503)',51.438884,-3.183121,'ParishChurch'),new Array('Christ the King Parish Church (30603-31516)',51.531111,-3.189721,'ParishChurch'),new Array('Christ The King Church (41095-38449)',51.532029,-3.190466,'ParishChurch'),new Array('Christ The King Church (41095-31528)',51.532029,-3.190466,'ParishChurch'),new Array('St Mary Parish Church (30663-31547)',51.434689,-3.21613,'ParishChurch'),new Array('St Mary Church (41136-38473)',51.434689,-3.21613,'ParishChurch'),new Array('St Mary Church (41136-38503)',51.434689,-3.21613,'ParishChurch'),new Array('St Mary Parish Church (30663-31546)',51.434689,-3.21613,'ParishChurch'),new Array('Blessed Sacrament Church (41093-38448)',51.504483,-3.125314,'ParishChurch'),new Array('St Mary`s andamp; St Patrick`s School (36865-34964)',51.431065,-3.198685,'School'),new Array('Corpus Christi Catholic High School (36873-34972)',51.533962,-3.160946,'School'),new Array('St Bernadette`s Catholic Primary School (38836-36942)',51.526207,-3.143984,'School'),new Array('St Cadoc Church (41106-38455)',51.52207,-3.126353,'ParishChurch'),new Array('St Illtyd`s High School (36874-34973)',51.517446,-3.115358,'School'),new Array('St John Lloyd Parish Church (30609-31519)',51.516657,-3.109429,'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'; } //