strList="

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

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

The Holy Family Church (0.5 miles)
Zoom on map | View full information

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

Immaculate Heart Of Mary Church (1.2 miles)
Zoom on map | View full information

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

St. Joseph Church (1.4 miles)
Zoom on map | View full information

"; function showResults() { document.getElementById("mapList").style.display="block"; } var records = new Array(new Array('St Anne`s RC Primary School School (37065-35166)',54.900568,-1.44204,'School'),new Array('St. Anne Church (47212-54333)',54.900568,-1.44204,'ParishChurch'),new Array('The Holy Family Church (47220-54338)',54.903937,-1.453814,'ParishChurch'),new Array('St Cuthbert`s RC Primary School School (37069-35170)',54.891108,-1.433097,'School'),new Array('Immaculate Heart Of Mary Church (47224-54340)',54.888296,-1.41973,'ParishChurch'),new Array('St Joseph`s RC Primary School School (37072-35173)',54.907407,-1.409785,'School'),new Array('St. Joseph Church (47226-54341)',54.907577,-1.407755,'ParishChurch'),new Array('The Sacred Heart And St. John Bosco Church (47228-54342)',54.922031,-1.450683,'ParishChurch'),new Array('Holy Rosary Church (47222-54339)',54.878531,-1.430094,'ParishChurch'),new Array('St Mary`s RC Primary School School (37075-35176)',54.89486,-1.396653,'School'),new Array('English Martyrs` RC Primary School School (37062-35163)',54.924231,-1.41578,'School'),new Array('St Anthony`s Catholic Girls School School (37066-35167)',54.899797,-1.391979,'School'),new Array('St. Hilda Church (47218-54337)',54.920858,-1.402115,'ParishChurch'),new Array('St Aidan`s RC Boys Comprehensive School School (37064-35165)',54.893012,-1.388386,'School'),new Array('St John Bosco RC Primary School School (37070-35171)',54.931373,-1.45196,'School'),new Array('St. Mary Church (47210-54331)',54.907837,-1.3825,'ParishChurch'),new Array('St Leonard`s RC Primary School School (37074-35175)',54.872847,-1.399319,'School'),new Array('St. Leonard Church (47206-54329)',54.872847,-1.399319,'ParishChurch'),new Array('St. Cecilia And St. Patrick Church (47216-54335)',54.891203,-1.375349,'ParishChurch'),new Array('St. Benet Church (47214-54334)',54.914573,-1.378201,'ParishChurch'),new Array('St Benet`s RC Primary School School (37068-35169)',54.923705,-1.380213,'School'),new Array('Our Lady Queen Of Peace RC Primary School School (37063-35164)',54.870548,-1.498753,'School'),new Array('Our Lady Queen Of Peace Church (47180-54315)',54.870548,-1.498753,'ParishChurch'),new Array('St Joseph`s RC Primary School School (37073-35174)',54.90288,-1.520683,'School'),new Array('Our Blessed Lady Immaculate Church (47284-54370)',54.903193,-1.520212,'ParishChurch'),new Array('St Robert Of Newminster Comprehensive School School (37078-35179)',54.886729,-1.522418,'School'),new Array('St Bede`s RC Primary School School (37067-35168)',54.920208,-1.521102,'School'),new Array('The Sacred Heart Church (47256-54356)',54.94968,-1.456411,'ParishChurch'),new Array('St. Bede Church (47286-54371)',54.918497,-1.52496,'ParishChurch'),new Array('St. Patrick Church (47190-54321)',54.869226,-1.365716,'ParishChurch'),new Array('St Patrick`s RC Primary School School (37077-35178)',54.869104,-1.366528,'School'),new Array('St John Boste RC Primary School School (37071-35172)',54.89983,-1.543174,'School'),new Array('St. John Boste Church (47288-54372)',54.89936,-1.547125,'ParishChurch'),new Array('St. Joseph Church (47104-54277)',54.954703,-1.487323,'ParishChurch'),new Array('St Joseph`s RC Primary School School (37057-35158)',54.954703,-1.487323,'School'),new Array('St Oswald`s RC Primary School School (37060-35161)',54.962493,-1.428501,'School'),new Array('St. Oswald Church (47252-54354)',54.961929,-1.42904,'ParishChurch'),new Array('St Mary`s RC Primary School School (37058-35159)',54.96326,-1.470877,'School'),new Array('St. Mary Church (47102-54276)',54.965411,-1.469662,'ParishChurch'),new Array('St Matthew`s RC Primary School School (37059-35160)',54.959942,-1.493597,'School'),new Array('St. Michael Church (47094-54272)',54.834077,-1.472256,'ParishChurch'),new Array('St Michael`s RC Primary School School (37076-35177)',54.834077,-1.472256,'School'),new Array('St Cuthbert`s RC Primary School School (37113-35214)',54.842257,-1.367478,'School'),new Array('St. Augustine Church (47036-54238)',54.93928,-1.547754,'ParishChurch'),new Array('St. Cuthbert Church (47164-54307)',54.842257,-1.367478,'ParishChurch'),new Array('St Augustine`s RC Primary School School (37006-35107)',54.94168,-1.548008,'School'),new Array('St. Matthew Church (47100-54275)',54.968456,-1.492381,'ParishChurch'),new Array('St. James Church (47084-54266)',54.960446,-1.52053,'ParishChurch'),new Array('St Joseph`s RC Comprehensive School School (37056-35157)',54.960446,-1.52053,'School'),new Array('Ss Peter And Paul RC Primary School School (37049-35150)',54.975021,-1.440368,'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'; } //