strList="

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

St James School (0.1 miles)
Zoom on map | View full information

St Paul Church (1.6 miles)
Zoom on map | View full information

St Paul`s School (1.6 miles)
Zoom on map | View full information

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

St Peter`s RC Primary & Nursery School (2.1 miles)
Zoom on map | View full information

St Charles Borromeo Church (2.2 miles)
Zoom on map | View full information

"; function showResults() { document.getElementById("mapList").style.display="block"; } var records = new Array(new Array('St James Church (59704||32778)',53.45163,-2.030815,'ParishChurch'),new Array('St James School (38169||36273)',53.450811,-2.03217,'School'),new Array('St Paul Church (59758||32777)',53.456107,-2.069973,'ParishChurch'),new Array('St Paul`s School (38194||36298)',53.457933,-2.067777,'School'),new Array('St Margaret`s Catholic Primary School (38911||37017)',53.443912,-1.986818,'School'),new Array('St Peter`s RC Primary & Nursery School (39050||37156)',53.478155,-2.054113,'School'),new Array('St Charles Borromeo Church (56001||62181)',53.460558,-1.979056,'ParishChurch'),new Array('St Peter Church (59769||32779)',53.480142,-2.053363,'ParishChurch'),new Array('St Mary`s School (38185||36289)',53.467617,-2.07647,'School'),new Array('St Charles`s Catholic Primary School (37820||35924)',53.46214,-1.979869,'School'),new Array('All Saints School (38216||36320)',53.471151,-2.07518,'School'),new Array('St John Fisher RC Primary School (39022||37128)',53.443038,-2.09547,'School'),new Array('Immaculate Conception Church (55993||62170)',53.464131,-1.963932,'ParishChurch'),new Array('St Philip Howard Catholic Secondary School (37828||35932)',53.441919,-1.957176,'School'),new Array('St Raphael`s Primary School (38202||36306)',53.496168,-2.03035,'School'),new Array('St Mary Church (59738||32781)',53.479311,-2.089826,'ParishChurch'),new Array('St Raphael Church (59776||32780)',53.496168,-2.03035,'ParishChurch'),new Array('St John Fisher Church (57153||63253)',53.439689,-2.102417,'ParishChurch'),new Array('St Mary Crowned Church (55995||62173)',53.44146,-1.955355,'ParishChurch'),new Array('St Thomas More RC College School (39026||37132)',53.451093,-2.114325,'School'),new Array('St Mary`s RC Primary School (39019||37125)',53.452622,-2.113516,'School'),new Array('St Mary`s Catholic Primary School (37819||35923)',53.440108,-1.948055,'School'),new Array('St Mary`s Catholic Primary School (37893||35997)',53.402923,-2.0514,'School'),new Array('St Mary (Our Lady of Sorrows) Church (57151||63252)',53.453709,-2.114709,'ParishChurch'),new Array('All Saints Church (55994||62171)',53.450165,-1.944008,'ParishChurch'),new Array('Our Lady Of Mount Carmel RC Primary School (39018||37124)',53.49287,-2.083991,'School'),new Array('All Saints Catholic Primary School (37818||35922)',53.450165,-1.944008,'School'),new Array('St Mary`s Church (65852||70905)',53.400434,-2.050164,'ParishChurch'),new Array('St Christopher`s Primary School (38161||36265)',53.415186,-2.10311,'School'),new Array('Our Lady & St Christopher Church (59604||32787)',53.413407,-2.101917,'ParishChurch'),new Array('St Ann Church (57041||63197)',53.488426,-2.101043,'ParishChurch'),new Array('Harrytown School (38223||36327)',53.41336,-2.104475,'School'),new Array('St Christopher`s RC Primary School (39023||37129)',53.504093,-2.076023,'School'),new Array('St Christopher Church (57043||63198)',53.50357,-2.0786,'ParishChurch'),new Array('Holy Spirit Church (59596||32788)',53.39379,-2.069209,'ParishChurch'),new Array('St Damian`s RC Science College School (39025||37131)',53.509477,-2.076605,'School'),new Array('St Joseph`s RC Primary School (39021||37127)',53.516468,-2.045476,'School'),new Array('St Joseph Church (57301||63327)',53.517807,-2.044588,'ParishChurch'),new Array('St Bernadette Church (59675||32786)',53.423952,-2.136373,'ParishChurch'),new Array('St Bernadette`s RC Primary School (39049||37155)',53.424181,-2.139895,'School'),new Array('St Margaret`s Catholic Primary School (37817||35921)',53.483205,-1.924197,'School'),new Array('St Anne`s RC Primary School (39024||37130)',53.472271,-2.146562,'School'),new Array('St Bernadette`s Primary School (38159||36263)',53.42195,-2.141453,'School'),new Array('Holy Family Church (57155||63254)',53.452494,-2.155664,'ParishChurch'),new Array('St Anne Church (57265||63309)',53.472875,-2.152349,'ParishChurch'),new Array('St Philip`s School (38201||36305)',53.394372,-2.117932,'School'),new Array('St Philip Church (59771||32782)',53.394372,-2.117932,'ParishChurch'),new Array('St Stephen`s RC Primary School (39020||37126)',53.484717,-2.148971,'School'),new Array('St Stephen Church (57157||63255)',53.484717,-2.148971,'ParishChurch'),new Array('St Joseph Church (57399||63376)',53.43843,-2.159872,'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 }); for (var rows=0; rows < 8; rows++) { var marker = new google.maps.Marker({ position: new google.maps.LatLng(records[rows][1],records[rows][2]), map: map, icon: "http://www.catholicdirectory.org/Pictures/map/" + records[rows][3] + "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'; } //