strList="

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

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

All Saints Church (10.5 miles)
Zoom on map | View full information

St. Agnes Church Church (11.5 miles)
Zoom on map | View full information

St. Thomas Of Canterbury Church (16.1 miles)
Zoom on map | View full information

St. Mary Immaculate Church (17 miles)
Zoom on map | View full information

St. John Of Beverley Church (17.9 miles)
Zoom on map | View full information

"; function showResults() { document.getElementById("mapList").style.display="block"; } var records = new Array(new Array('St. Peter Church (47176-54313)',55.231226,-2.178613,'ParishChurch'),new Array('St. Oswald Church (46939-54189)',55.144742,-2.26442,'ParishChurch'),new Array('All Saints Church (47266-54361)',55.314153,-1.955761,'ParishChurch'),new Array('St. Agnes Church Church (47188-54320)',55.309742,-1.92188,'ParishChurch'),new Array('St. Thomas Of Canterbury Church (47112-54281)',55.245414,-1.77224,'ParishChurch'),new Array('St. Mary Immaculate Church (47300-54378)',55.414078,-1.891648,'ParishChurch'),new Array('St. John Of Beverley Church (47080-54264)',54.975656,-2.249184,'ParishChurch'),new Array('St. Mary Church (47086-54267)',54.969721,-2.104064,'ParishChurch'),new Array('St Mary`s RC First School School (37153-35254)',54.969441,-2.105829,'School'),new Array('St Joseph`s RC Middle School School (37152-35253)',54.968388,-2.116416,'School'),new Array('St. Francis Xavier (46973-54206)',55.035476,-1.854853,'ParishChurch'),new Array('St. Andrew`s Parish Church Church (46983-54211)',54.9753,-2.012796,'ParishChurch'),new Array('St. Robert Of Newminster Church (47120-54285)',55.167431,-1.692641,'ParishChurch'),new Array('St Robert`s RC First School School (37157-35258)',55.167431,-1.692641,'School'),new Array('St. Matthew Church (47184-54318)',55.050061,-1.750184,'ParishChurch'),new Array('St. Wilfrid Church (47064-54254)',54.969489,-2.461881,'ParishChurch'),new Array('St. Ninian Church (47312-54385)',55.540442,-2.076159,'ParishChurch'),new Array('St. Joseph Church (47302-54379)',55.238331,-1.619647,'ParishChurch'),new Array('St Pauls RC Middle School (37159-35260)',55.405532,-1.7055,'School'),new Array('St Paul`s RC Primary School (37151-35252)',55.410777,-1.708383,'School'),new Array('St. Paul`s Church Church (46923-54181)',55.41061,-1.705794,'ParishChurch'),new Array('Our Lady And St. Cuthbert Church (47186-54319)',54.958626,-1.854614,'ParishChurch'),new Array('St Matthew`s RC First School School (37154-35255)',54.958626,-1.854614,'School'),new Array('St. Cuthbert Church (47264-54360)',54.99629,-1.755301,'ParishChurch'),new Array('St Bede`s RC Primary School (37146-35247)',55.131654,-1.603911,'School'),new Array('St Benet Biscop RC High School School (37148-35249)',55.132673,-1.604952,'School'),new Array('St. Bede Church (46937-54188)',55.131231,-1.600872,'ParishChurch'),new Array('St Agnes` Catholic Primary School School (37003-35104)',54.966784,-1.791811,'School'),new Array('St. Aidan Church (46931-54185)',55.182717,-1.578467,'ParishChurch'),new Array('St. Agnes Church (46993-54216)',54.964542,-1.79454,'ParishChurch'),new Array('St Cuthbert`s Rcva Primary School School (37028-35129)',54.993429,-1.736531,'School'),new Array('The Sacred Heart And St. Cuthbert Church (46925-54379)',55.33275,-1.587769,'ParishChurch'),new Array('The Sacred Heart And St. Cuthbert Church (46925-54182)',55.33275,-1.587769,'ParishChurch'),new Array('St. Elizabeth Church (47118-54284)',54.897968,-1.961502,'ParishChurch'),new Array('St. John Vianney Church (47290-54373)',54.993704,-1.711412,'ParishChurch'),new Array('St Aidan`s RC First School School (37144-35245)',55.171667,-1.561456,'School'),new Array('St John Vianney RC Primary School School (37030-35131)',54.992567,-1.709107,'School'),new Array('St. Mark Church (47292-54374)',55.002157,-1.691701,'ParishChurch'),new Array('St Mark`s Rcva Primary School School (37033-35134)',55.002157,-1.691701,'School'),new Array('St Cuthbert`s RC First School School (37149-35250)',55.332738,-1.571471,'School'),new Array('St Benedict`s RC Middle School School (37147-35248)',55.17766,-1.551309,'School'),new Array('Ss. Mary And Thomas Aquinas Church (47232-54344)',54.971165,-1.738317,'ParishChurch'),new Array('St Mary And St Thomas Aquinas Rcva Primary School School (37013-35114)',54.969591,-1.733579,'School'),new Array('St Paul`s RC First School School (37155-35256)',55.082178,-1.585383,'School'),new Array('St. Paul Church (46991-54215)',55.081391,-1.584044,'ParishChurch'),new Array('Diocese of Hexham and Newcastle (4799-879)',54.985297,-1.691033,'Other'),new Array('The Sacred Heart Church (47170-54310)',55.040905,-1.621315,'ParishChurch'),new Array('Our Lady Of Lourdes Church (46977-54208)',54.921367,-1.813778,'ParishChurch'),new Array('St Peter`s RC Middle School School (37156-35257)',55.077651,-1.583378,'School'),new Array('St. George Church (46941-54190)',54.974271,-1.705584,'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'; } //