strList="

St Wilfrid (0 miles)
Zoom on map | View full information

St. Wilfrid School (0.2 miles)
Zoom on map | View full information

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

St. Mary School (8.9 miles)
Zoom on map | View full information

St Mary (9.1 miles)
Zoom on map | View full information

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

St. Joseph School (9.3 miles)
Zoom on map | View full information

"; function showResults() { document.getElementById("mapList").style.display="block"; } var records = new Array(new Array('St Wilfrid (63205-66769)',54.138961,-1.525425,'ParishChurch'),new Array('St. Wilfrid School (38730-36834)',54.137347,-1.528504,'School'),new Array('St Joseph (63125-66725)',54.065797,-1.603435,'ParishChurch'),new Array('St. Mary School (38711-36815)',54.014787,-1.469275,'School'),new Array('St Mary (63159-66745)',54.01106,-1.471947,'ParishChurch'),new Array('St Joseph (63134-66730)',54.005819,-1.544272,'ParishChurch'),new Array('St. Joseph School (38700-36804)',54.004669,-1.544148,'School'),new Array('All Saints RC Primary School (37734-35838)',54.227635,-1.345615,'School'),new Array('St. Robert School (38723-36827)',54.00023,-1.521267,'School'),new Array('All Saints Church (64876-70469)',54.231735,-1.344307,'ParishChurch'),new Array('Our Lady Immaculate (63020-66666)',54.084024,-1.755419,'ParishChurch'),new Array('St Aelred (63076-66696)',53.992236,-1.502629,'ParishChurch'),new Array('St Robert (63022-66667)',53.988971,-1.538112,'ParishChurch'),new Array('St. John Fisher School (38681-66720)',53.984056,-1.5179,'School'),new Array('Ss Mary and Joseph Church (64872-70460)',54.290974,-1.586344,'ParishChurch'),new Array('St John the Evangelist Church (64938-70578)',54.118705,-1.191663,'ParishChurch'),new Array('Sacred Heart RC Primary School (37473-35577)',54.330281,-1.436698,'School'),new Array('Sacred Heart Church (64874-70461)',54.333554,-1.433193,'ParishChurch'),new Array('Ss Simon and Jude Church (64868-70458)',54.282446,-1.777439,'ParishChurch'),new Array('St. Joseph School (38688-36792)',53.93431,-1.389615,'School'),new Array('St Joseph (63145-66736)',53.928878,-1.387212,'ParishChurch'),new Array('Wood Hall Carmelite Monastery (73044-78342)',53.9166107,-1.4409681,'Other'),new Array('Carmelite Monastery Chapel (73143-66736)',53.9166107,-1.4409681,'Other'),new Array('Carmelite Monastery Chapel (73143-78342)',53.9166107,-1.4409681,'Other'),new Array('Ss Peter and Paul Church (64866-70457)',54.31155,-1.829403,'ParishChurch'),new Array('St Paul the Apostle (63186-66759)',53.890224,-1.51725,'ParishChurch'),new Array('St Paul the Apostle (63186-66657)',53.890224,-1.51725,'ParishChurch'),new Array('St Joseph`s Catholic Primary School Otley, A Voluntary Academy (38686-36790)',53.906072,-1.694327,'School'),new Array('Our Lady and All Saints (63011-66661)',53.906701,-1.694429,'ParishChurch'),new Array('St Benedict`s RC Primary School (37727-35831)',54.200112,-1.102238,'School'),new Array('Our Lady and St Benedict Church (64930-70574)',54.201331,-1.103101,'ParishChurch'),new Array('St Edward`s Catholic Primary School (38870-36976)',53.902008,-1.357074,'School'),new Array('St John’s Catholic School for the Deaf (38684-36788)',53.900023,-1.350697,'School'),new Array('Ampleforth College School (37318-35422)',54.201762,-1.083929,'School'),new Array('SS John Fisher and Thomas More (63068-66692)',53.905181,-1.743861,'ParishChurch'),new Array('Our Lady of Mount Grace Church (65006-70812)',54.369308,-1.29839,'ParishChurch'),new Array('St Laurence`s Abbey Church (64928-70572)',54.20167,-1.083548,'ParishChurch'),new Array('St Edward (63108-66715)',53.894598,-1.347982,'ParishChurch'),new Array('St Joan of Arc Garrison Memorial Church (64880-70482)',54.378895,-1.733199,'ParishChurch'),new Array('Sacred Heart School (38659-36763)',53.926528,-1.807157,'School'),new Array('Shrine of Our Lady of Mount Grace (The Lady Chapel) (71306-71448)',54.376572,-1.3057808,'ParishChurch'),new Array('Our Lady and the Holy Angels Church (64932-70575)',54.183273,-1.064923,'ParishChurch'),new Array('Sacred Heart (63059-66687)',53.927822,-1.830329,'ParishChurch'),new Array('St Mary’s Menston Catholic Voluntary Academy (38708-36812)',53.881768,-1.727834,'School'),new Array('English Martyrs (63013-66662)',53.944762,-1.881115,'ParishChurch'),new Array('St. Paul School (38720-36824)',53.852205,-1.557738,'School'),new Array('St Mary Church (64936-70577)',54.248142,-1.0645,'ParishChurch'),new Array('SS Peter and Paul (63074-66695)',53.86545,-1.699215,'ParishChurch'),new Array('St Mary`s RC Primary School (37732-35836)',54.408505,-1.719723,'School'),new Array('Ss Peter and Paul School (38662-36766)',53.86545,-1.699215,'School')); // 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'; } //