strList="

St Oswald`s RC Primary School (0 miles)
Zoom on map | View full information

St Edmund Campion RC Comprehensive School (0.1 miles)
Zoom on map | View full information

St. Oswald Church (0.1 miles)
Zoom on map | View full information

Cardinal Hume Catholic School (0.3 miles)
Zoom on map | View full information

St Anne`s Catholic Primary School School (0.7 miles)
Zoom on map | View full information

St. Anne Church (0.9 miles)
Zoom on map | View full information

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

"; function showResults() { document.getElementById("mapList").style.display="block"; } var records = new Array(new Array('St Oswald`s RC Primary School (38852-36958)',54.927129,-1.572248,'School'),new Array('St Edmund Campion RC Comprehensive School (38855-36961)',54.929051,-1.571978,'School'),new Array('St. Oswald Church (47060-54251)',54.927869,-1.575782,'ParishChurch'),new Array('Cardinal Hume Catholic School (37000-35101)',54.930658,-1.57658,'School'),new Array('St Anne`s Catholic Primary School School (37005-35106)',54.922009,-1.585985,'School'),new Array('St. Anne Church (47054-54248)',54.920073,-1.589983,'ParishChurch'),new Array('St. Peter Church (47058-54250)',54.93567,-1.596989,'ParishChurch'),new Array('St. Augustine Church (47036-54238)',54.93928,-1.547754,'ParishChurch'),new Array('St Augustine`s RC Primary School School (37006-35107)',54.94168,-1.548008,'School'),new Array('Our Lady Of The Annunciation Church (47056-54249)',54.945139,-1.588448,'ParishChurch'),new Array('St Peter`s Rcva Primary School School (37015-35116)',54.941542,-1.59565,'School'),new Array('St John The Baptist RC Primary School School (37007-35108)',54.949028,-1.564443,'School'),new Array('St. Patrick Church (47034-54237)',54.951405,-1.570788,'ParishChurch'),new Array('St Joseph`s Catholic Infant School School (37008-35109)',54.899571,-1.578325,'School'),new Array('St. Wilfrid Church (47052-54247)',54.954461,-1.584059,'ParishChurch'),new Array('St. Bede Church (47286-54371)',54.918497,-1.52496,'ParishChurch'),new Array('St. Joseph Church (46953-54196)',54.898126,-1.576141,'ParishChurch'),new Array('St Wilfrid`s Rcva Primary School School (37017-35118)',54.957158,-1.581767,'School'),new Array('Corpus Christi Church (47046-54243)',54.949003,-1.610142,'ParishChurch'),new Array('St Bede`s RC Primary School School (37067-35168)',54.920208,-1.521102,'School'),new Array('St. John Boste Church (47288-54372)',54.89936,-1.547125,'ParishChurch'),new Array('Corpus Christi Catholic Primary School School (37001-35102)',54.949684,-1.609573,'School'),new Array('St John Boste RC Primary School School (37071-35172)',54.89983,-1.543174,'School'),new Array('St. Alban Church (47178-54314)',54.954359,-1.545539,'ParishChurch'),new Array('St Alban`s Catholic Primary School School (37004-35105)',54.955588,-1.544791,'School'),new Array('St Joseph`s Catholic Junior School School (37009-35110)',54.893803,-1.576156,'School'),new Array('St Joseph`s Rcva Primary School School (37011-35112)',54.95661,-1.603088,'School'),new Array('Our Blessed Lady Immaculate Church (47284-54370)',54.903193,-1.520212,'ParishChurch'),new Array('St. Joseph Church (47044-54242)',54.961032,-1.603279,'ParishChurch'),new Array('St Joseph`s RC Primary School School (37073-35174)',54.90288,-1.520683,'School'),new Array('Our Lady And St. Vincent Church (47154-54302)',54.966559,-1.561583,'ParishChurch'),new Array('St Vincent`s Rcva Primary School School (37038-35139)',54.966559,-1.561583,'School'),new Array('Immaculate Heart Of Mary Church (47050-54246)',54.940889,-1.639285,'ParishChurch'),new Array('The Holy Rosary Parish Centre Church (47048-54245)',54.955034,-1.624824,'ParishChurch'),new Array('St Joseph`s RC Comprehensive School School (37056-35157)',54.960446,-1.52053,'School'),new Array('St Philip Neri RC Primary School (38854-36960)',54.951495,-1.637129,'School'),new Array('St. James Church (47084-54266)',54.960446,-1.52053,'ParishChurch'),new Array('St. Philip Neri Church (47016-54228)',54.951495,-1.637129,'ParishChurch'),new Array('St Benet`s RC Primary School School (37108-35209)',54.882124,-1.598396,'School'),new Array('St Lawrence`s RC Primary School School (37032-35133)',54.975024,-1.574333,'School'),new Array('St Dominic`s Priory Church Church (47136-31709)',54.973746,-1.597311,'ParishChurch'),new Array('St. Lawrence Church (47146-54298)',54.976485,-1.573317,'ParishChurch'),new Array('Cathedral Church Of St. Mary Church (47126-54288)',54.968946,-1.619368,'Cathedral'),new Array('St Robert Of Newminster Comprehensive School School (37078-35179)',54.886729,-1.522418,'School'),new Array('St Dominic`s Priory Church Church (47136-54293)',54.973746,-1.597311,'ParishChurch'),new Array('St. Andrew Church (47128-54289)',54.973138,-1.609533,'ParishChurch'),new Array('St. Anthony Of Padua Church (47130-54290)',54.975703,-1.548313,'ParishChurch'),new Array('Our Lady Of Czestochowa Church (47158-54304)',54.967103,-1.630865,'ParishChurch'),new Array('Our Lady And St Anne`s Rcva Primary School School (37019-35120)',54.969639,-1.625594,'School'),new Array('St James` RC Primary School School (37055-35156)',54.966375,-1.508714,'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'; } //