strList="

Our Lady and St Kenelm Church (0 miles)
Zoom on map | View full information

Our Lady and St Kenelm School (0.4 miles)
Zoom on map | View full information

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

St Peter`s School (2.2 miles)
Zoom on map | View full information

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

Our Lady of Fatima Church (2.3 miles)
Zoom on map | View full information

Our Lady and St Hubert Church (2.6 miles)
Zoom on map | View full information

"; function showResults() { document.getElementById("mapList").style.display="block"; } var records = new Array(new Array('Our Lady and St Kenelm Church (36231-34448)',52.450412,-2.046733,'ParishChurch'),new Array('Our Lady and St Kenelm School (36668-34767)',52.449716,-2.055928,'School'),new Array('Our Lady of Lourdes Church (36400-34532)',52.475762,-2.068063,'ParishChurch'),new Array('St Peter`s School (36628-34727)',52.436622,-2.000147,'School'),new Array('St Peter Church (35956-34309)',52.436064,-1.9985,'ParishChurch'),new Array('Our Lady of Fatima Church (35992-34327)',52.457361,-1.992877,'ParishChurch'),new Array('Our Lady and St Hubert Church (36148-34406)',52.472842,-1.998057,'ParishChurch'),new Array('St Hubert`s School (36674-34773)',52.471395,-1.996585,'School'),new Array('English Martyrs Church (36285-34475)',52.485775,-2.029305,'ParishChurch'),new Array('Our Lady of Fatima`s School (36620-34719)',52.467167,-1.975315,'School'),new Array('St Mary`s School (36665-34764)',52.476651,-2.115517,'School'),new Array('St Gregory`s School (36676-34775)',52.476688,-1.976959,'School'),new Array('Our Lady and St Rose of Lima School (36607-34706)',52.435825,-1.963653,'School'),new Array('Our Lady and St Rose of Lima Church (36014-34338)',52.435825,-1.963653,'ParishChurch'),new Array('Our Lady of Good Counsel and St Gregory the Great Church (35958-34310)',52.477244,-1.970907,'ParishChurch'),new Array('St Mary Church (36215-34440)',52.479594,-2.121959,'ParishChurch'),new Array('St Francis Xavier Church (36045-34354)',52.503299,-2.012817,'ParishChurch'),new Array('St Mary`s School (36602-34701)',52.456867,-1.953055,'School'),new Array('St Brigid`s School (36596-34695)',52.411438,-1.976199,'School'),new Array('St Francis Xavier School (36673-34772)',52.504981,-2.012199,'School'),new Array('Our Lady and St Brigid Church (36380-34522)',52.4114529,-1.9761916,'ParishChurch'),new Array('St Mary Church (36251-34458)',52.456867,-1.953055,'ParishChurch'),new Array('SS Oswald and Wulstan Church (36049-34506)',52.406941,-2.117451,'ParishChurch'),new Array('Our Lady and All Saints Church (36348-34506)',52.454475,-2.145876,'ParishChurch'),new Array('St Joseph`s School (36664-34763)',52.511072,-2.072111,'School'),new Array('St James School (36611-34710)',52.392309,-2.011873,'School'),new Array('Our Lady of Perpetual Succour Church (35994-34328)',52.39141,-2.010859,'ParishChurch'),new Array('St Joseph`s School (36667-34766)',52.445462,-2.150157,'School'),new Array('St Columba`s School (36623-34722)',52.394683,-1.990933,'School'),new Array('Hagley Catholic High School (36775-34874)',52.422916,-2.149506,'School'),new Array('St Philip`s School (36675-34774)',52.494995,-1.958317,'School'),new Array('St Paul`s Girls School (36636-34735)',52.47556,-1.940756,'School'),new Array('St Philip Neri Church (36390-34527)',52.494995,-1.958317,'ParishChurch'),new Array('St Thomas Aquinas School (36637-34736)',52.409181,-1.946814,'School'),new Array('St Joseph`s School (36609-34708)',52.420944,-1.936668,'School'),new Array('St Edward Church (35998-34330)',52.440015,-1.926078,'ParishChurch'),new Array('St Michael and the Holy Angels Church (36334-34499)',52.519203,-1.995506,'ParishChurch'),new Array('Immaculate Conception Church (36192-34428)',52.4722602,-1.9286691,'ParishChurch'),new Array('St John Fisher Church (36144-34404)',52.39537,-1.964303,'ParishChurch'),new Array('SS Joseph and Helen Church (36146-34405)',52.417114,-1.936997,'ParishChurch'),new Array('Oratory School (36591-34690)',52.476993,-1.929683,'School'),new Array('Sacred Heart and Holy Souls Church (36140-34402)',52.527162,-2.060464,'ParishChurch'),new Array('St John Fisher School (36612-34711)',52.393939,-1.960322,'School'),new Array('Bishop Milner School (36669-34768)',52.519528,-2.102027,'School'),new Array('St Patrick Church (35966-34314)',52.486667,-1.93195,'ParishChurch'),new Array('Our Blessed Lady and St Thomas of Canterbury Church (36106-34385)',52.5271195,-2.0668108,'ParishChurch'),new Array('St Patrick`s School (36603-34702)',52.486254,-1.931627,'School'),new Array('St Edward`s School (36608-34707)',52.438859,-1.917872,'School'),new Array('Priory School (38794-36900)',52.461089,-1.915034,'School'),new Array('Birmingham City Hospital Chapel (65116-34314)',52.489821,-1.929427,'Other')); // 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'; } //