strList="

Christ The King Church (0 miles)
Zoom on map | View full information

Our Lady Of Ransom And The Holy Souls Church (6.5 miles)
Zoom on map | View full information

St Francis Of Assisi Church (11.5 miles)
Zoom on map | View full information

St Joseph Church (13 miles)
Zoom on map | View full information

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

St Bede the Venerable (16.6 miles)
Zoom on map | View full information

Assumption Of Our Lady And St Therese Church (19.2 miles)
Zoom on map | View full information

"; function showResults() { document.getElementById("mapList").style.display="block"; } var records = new Array(new Array('Christ The King Church (45847-53213)',52.149282,-3.408093,'ParishChurch'),new Array('Our Lady Of Ransom And The Holy Souls Church (45846-53203)',52.242024,-3.384664,'ParishChurch'),new Array('St Francis Of Assisi Church (45878-53317)',52.302567,-3.51019,'ParishChurch'),new Array('St Joseph Church (45840-53170)',52.07463,-3.127166,'ParishChurch'),new Array('St Michael Church (45813-53058)',51.947307,-3.392604,'ParishChurch'),new Array('St Bede the Venerable (41149-38522)',52.2027744,-3.0275123,'ParishChurch'),new Array('Assumption Of Our Lady And St Therese Church (45876-53304)',52.265728,-2.996505,'ParishChurch'),new Array('Our Lady Church (45845-53192)',51.994301,-3.801841,'ParishChurch'),new Array('Our Lady Of Perpetual Succour And St Nicholas Church (45877-53310)',52.3442983,-3.0516739,'ParishChurch'),new Array('Our Lady and Saint Richard Gwyn, Llanidloes Church (60152-65128)',52.446347,-3.546563,'ParishChurch'),new Array('St Thomas Of Hereford Church (41207-38522)',52.161986,-2.883516,'ParishChurch'),new Array('Catholic Church, WEOBLEY Parish Church (30677-31553)',52.161986,-2.883516,'ParishChurch'),new Array('St Joseph Church (45829-53125)',51.862446,-3.139396,'ParishChurch'),new Array('St Mary`s School (38467-36571)',52.515671,-3.323016,'School'),new Array('God The Holy Ghost Church (60103-65108)',52.517537,-3.316956,'ParishChurch'),new Array('St Mary`s andamp; St Patrick`s School (36870-34969)',51.785047,-3.257658,'School'),new Array('The Immaculate Conception Church (41200-38517)',51.785293,-3.251503,'ParishChurch'),new Array('Immaculate Conception Parish Church (30641-31535)',51.785098,-3.249584,'ParishChurch'),new Array('St Mary Church (41085-38444)',51.797705,-3.17261,'ParishChurch'),new Array('St Mary`s School (36833-34932)',51.797107,-3.17216,'School'),new Array('St Mary Parish Church (30723-31576)',51.797107,-3.17216,'ParishChurch'),new Array('St Aloysius Parish Church (30647-31538)',51.762419,-3.379169,'ParishChurch'),new Array('Catholic Church, EBBW VALE Parish Church (30717-31573)',51.781203,-3.209278,'ParishChurch'),new Array('St Aloysius Church (41161-38487)',51.762419,-3.379169,'ParishChurch'),new Array('St Joseph (30633-31532)',51.7680456,-3.518445,'Church'),new Array('St Aloysius Parish Church (30647-38488)',51.762419,-3.379169,'ParishChurch'),new Array('All Saints Church (41138-38517)',51.781203,-3.209278,'ParishChurch'),new Array('St Aloysius Church (41161-38488)',51.762419,-3.379169,'ParishChurch'),new Array('All Saints Church (41138-38474)',51.781203,-3.209278,'ParishChurch'),new Array('St Illtyd`s Parish Church (30649-31539)',51.761158,-3.360844,'ParishChurch'),new Array('St Illtyd Church (41163-38488)',51.761158,-3.360844,'ParishChurch'),new Array('St Mary`s andamp; St Patrick`s School (36857-34956)',51.759747,-3.383086,'School'),new Array('Bishop Hedley Catholic High School (36877-34976)',51.756386,-3.371422,'School'),new Array('St Mary Church (41165-38488)',51.749364,-3.379075,'ParishChurch'),new Array('St Mary Church (41165-38489)',51.749364,-3.379075,'ParishChurch'),new Array('St Mary`s Priory Parish Church (30645-31537)',51.749364,-3.379075,'ParishChurch'),new Array('Our Lady andamp; St Michael`s School (36828-34927)',51.825864,-3.021547,'School'),new Array('St John`s Parish Church (30715-31572)',51.755635,-3.280224,'ParishChurch'),new Array('Sacred Heart Catholic Church (45883-53328)',51.813231,-3.766230499999999,'ParishChurch'),new Array('Our Lady and St Michael Church (1687-1860 and 2000) (41071-38436)',51.825864,-3.021547,'ParishChurch'),new Array('St John Church (41194-38511)',51.755635,-3.280224,'ParishChurch'),new Array('St John`s Parish Church (30715-38517)',51.755635,-3.280224,'ParishChurch'),new Array('St Mary`s (7828-34955)',51.7432472,-3.3789905,'Other'),new Array('St Therese Of Lisieux Church (41147-31532)',51.741937,-3.509263,'Church'),new Array('St Ethelbert Church (41153-38482)',52.226916,-2.74692,'ParishChurch'),new Array('Catholic Church, LEOMINSTER Parish Church (30681-31555)',52.226916,-2.74692,'ParishChurch'),new Array('St Therese Of Lisieux Church (41147-38479)',51.741937,-3.509263,'Church'),new Array('Belmont Abbey Parish Centre Parish Church (30675-31552)',52.038881,-2.756085,'ParishChurch'),new Array('Abbey Of St Michael And All Angels Church (41141-38476)',52.038881,-2.756085,'ParishChurch'),new Array('Our Lady Of Mount Carmel Church (45841-53175)',52.114033,-4.083393,'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'; } //