strList="

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

St Godric`s RC Va Primary School (0.4 miles)
Zoom on map | View full information

St. Bede Church (0.4 miles)
Zoom on map | View full information

St Leonard`s RC Comprehensive School School (0.6 miles)
Zoom on map | View full information

Our Lady Of Mercy And St. Godric Church (1.1 miles)
Zoom on map | View full information

St. Cuthbert Church (1.3 miles)
Zoom on map | View full information

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

"; function showResults() { document.getElementById("mapList").style.display="block"; } var records = new Array(new Array('St Godric`s RC Primary School School (37114-35215)',54.793103,-1.582077,'School'),new Array('St Godric`s RC Va Primary School (38860-36966)',54.798803,-1.58009,'School'),new Array('St. Bede Church (47022-54231)',54.798803,-1.58009,'ParishChurch'),new Array('St Leonard`s RC Comprehensive School School (37124-35225)',54.784141,-1.586632,'School'),new Array('Our Lady Of Mercy And St. Godric Church (47020-54230)',54.777687,-1.580821,'ParishChurch'),new Array('St. Cuthbert Church (47018-54229)',54.77493,-1.571072,'ParishChurch'),new Array('St Joseph`s RC Primary School School (37119-35220)',54.778992,-1.546324,'School'),new Array('St. Joseph Church (47024-54232)',54.778143,-1.545106,'ParishChurch'),new Array('St Thomas More RC Primary School School (37136-35237)',54.783966,-1.521686,'School'),new Array('St Bede`s RC Primary School School (37106-35207)',54.821853,-1.629622,'School'),new Array('St. Joseph Church (47276-54366)',54.777528,-1.643693,'ParishChurch'),new Array('St Joseph`s RC Primary School School (37123-35224)',54.777528,-1.643693,'School'),new Array('St. Bede Church (47192-54322)',54.821853,-1.629622,'ParishChurch'),new Array('St Patrick`s RC Primary School School (37134-35235)',54.755492,-1.613773,'School'),new Array('St. Patrick Church (47108-54279)',54.755492,-1.613773,'ParishChurch'),new Array('St. Joseph Church (47032-54236)',54.7994643,-1.6691612,'ParishChurch'),new Array('St Cuthbert`s RC Primary School School (37111-35212)',54.851927,-1.568698,'School'),new Array('St. Cuthbert Church (46975-54207)',54.851927,-1.568698,'ParishChurch'),new Array('St Michael`s RC Primary School School (37131-35232)',54.79036,-1.696019,'School'),new Array('Our Lady Queen Of Martyrs` RC Primary School School (37103-35204)',54.771867,-1.700448,'School'),new Array('St. Michael Church (47030-54235)',54.788049,-1.706393,'ParishChurch'),new Array('Our Lady Queen Of Martyrs Church (47162-54306)',54.77374,-1.705377,'ParishChurch'),new Array('St Michael`s RC Primary School School (37076-35177)',54.834077,-1.472256,'School'),new Array('St. Michael Church (47094-54272)',54.834077,-1.472256,'ParishChurch'),new Array('St. Charles Church (47272-54364)',54.710064,-1.591576,'ParishChurch'),new Array('St Charles` RC Primary School School (37110-35211)',54.706531,-1.591239,'School'),new Array('Ss. Joseph Church (46989-54214)',54.716737,-1.503834,'ParishChurch'),new Array('St. Mary Church (47028-54234)',54.805819,-1.429577,'ParishChurch'),new Array('St Joseph`s RC Primary School (38861-36967)',54.715673,-1.503039,'School'),new Array('St Benet`s RC Primary School School (37108-35209)',54.882124,-1.598396,'School'),new Array('Our Lady Queen Of Peace Church (47180-54315)',54.870548,-1.498753,'ParishChurch'),new Array('The Sacred Heart And English Martyrs Church (47262-54359)',54.749004,-1.442773,'ParishChurch'),new Array('Our Lady Queen Of Peace RC Primary School School (37063-35164)',54.870548,-1.498753,'School'),new Array('St. Mary Church (47208-54330)',54.859738,-1.693504,'ParishChurch'),new Array('St Mary`s RC Primary School School (37129-35230)',54.859823,-1.695357,'School'),new Array('St Robert Of Newminster Comprehensive School School (37078-35179)',54.886729,-1.522418,'School'),new Array('All Saints` RC Primary School School (37097-35198)',54.824302,-1.747438,'School'),new Array('St Joseph`s Catholic Junior School School (37009-35110)',54.893803,-1.576156,'School'),new Array('All Saints Church (47106-54278)',54.82524,-1.748755,'ParishChurch'),new Array('St Bede`s RC School And Sixth Form College School (37107-35208)',54.828435,-1.746961,'School'),new Array('St. Joseph Church (47230-54343)',54.870527,-1.695931,'ParishChurch'),new Array('St Joseph`s RC Primary School School (37122-35223)',54.871689,-1.696654,'School'),new Array('Our Lady And St. Thomas Church (47304-54380)',54.714034,-1.698406,'ParishChurch'),new Array('Our Lady And St Thomas RC Primary School School (37100-35201)',54.714034,-1.698406,'School'),new Array('St. Joseph Church (46953-54196)',54.898126,-1.576141,'ParishChurch'),new Array('St Godric`s RC Primary School School (37115-35216)',54.74542,-1.41834,'School'),new Array('Our Lady Of Lourdes RC Primary School School (37101-35202)',54.76625,-1.401334,'School'),new Array('Our Lady Of Lourdes Church (47204-54328)',54.76625,-1.401334,'ParishChurch'),new Array('St Joseph`s Catholic Infant School School (37008-35109)',54.899571,-1.578325,'School'),new Array('St. Teresa Church (46927-54183)',54.858348,-1.733081,'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'; } //