strList="

St Joseph (The Moorland Sanctuary) (0 miles)
Zoom on map | View full information

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

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

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

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

St Joseph`s Parish Centre (2.7 miles)
Zoom on map | View full information

St Joseph (2.7 miles)
Zoom on map | View full information

"; function showResults() { document.getElementById("mapList").style.display="block"; } var records = new Array(new Array('St Joseph (The Moorland Sanctuary) (52857-57717)',53.687628,-2.574087,'ParishChurch'),new Array('St Chad (52847-57712)',53.687628,-2.574087,'ParishChurch'),new Array('St Joseph`s Catholic Primary School (37562-35666)',53.695503,-2.558826,'School'),new Array('St Chad`s Catholic Primary School (37561-35665)',53.68122,-2.612248,'School'),new Array('St Joseph`s Catholic Primary School (37554-35658)',53.662115,-2.621943,'School'),new Array('St Joseph`s Parish Centre (72496-57716)',53.6614201,-2.6238367,'Other'),new Array('St Joseph (52855-57716)',53.661404,-2.62384,'ParishChurch'),new Array('St Bede`s Catholic Primary School (37557-35661)',53.707065,-2.639089,'School'),new Array('Sacred Heart RC Primary School (37553-35657)',53.649299,-2.619833,'School'),new Array('Sacred Heart (52843-57710)',53.649528,-2.619111,'ParishChurch'),new Array('St Joseph`s Catholic Primary School (37552-35656)',53.7294638,-2.616722900000013,'School'),new Array('Ss Mary and John (Pleasington Priory) (6039-63210)',53.735022,-2.542841,'Church'),new Array('St Bede`s Catholic Sports College School (38040-36144)',53.727097,-2.516595,'School'),new Array('St Bede`s RCHS (9520-74610)',53.72922579999999,-2.51511430000005,'School'),new Array('St John Vianney (57067-63210)',53.727841,-2.508159,'ParishChurch'),new Array('St Gregory (52849-57713)',53.641496,-2.633801,'ParishChurch'),new Array('Chorley St Mary`s Catholic Primary School (37555-35659)',53.651789,-2.65025,'School'),new Array('St Edward`s School (37947-36051)',53.710625,-2.482105,'School'),new Array('St Catherine`s RC Primary School (37545-35649)',53.740907,-2.619154,'School'),new Array('St Joseph (52853-57715)',53.740907,-2.619154,'ParishChurch'),new Array('St Edward (57145-63249)',53.710625,-2.482105,'ParishChurch'),new Array('St Joseph`s School (37948-36052)',53.690831,-2.4706,'School'),new Array('St Gregory`s Catholic Primary School (37556-35660)',53.638858,-2.638027,'School'),new Array('Holy Cross Catholic High School (37639-35743)',53.636243,-2.63289,'School'),new Array('St Mary (52831-57704)',53.668222,-2.67587,'ParishChurch'),new Array('Euxton St Mary`s RC Primary School (37559-35663)',53.668222,-2.67587,'School'),new Array('St Peter in Chains (71026-63210)',53.736482,-2.505094,'Church'),new Array('St Catherine`s RC Primary School (38894-37000)',53.699288,-2.678549,'School'),new Array('St Peter`s RC Primary School (39038-37144)',53.7370117,-2.507712099999935,'School'),new Array('St Joseph (5840-63249)',53.690309,-2.465666,'ParishChurch'),new Array('St Mary And St Benedict School (38079-36183)',53.73084,-2.66355,'School'),new Array('St Catherine Labouré (52829-57703)',53.704596,-2.684103,'ParishChurch'),new Array('Brownedge St Mary`s Catholic High School (38081-36185)',53.73302,-2.661084,'School'),new Array('Our Lady of Perpetual Succour (57069-63211)',53.726787,-2.478784,'ParishChurch'),new Array('Our Lady Of Perpetual Succour School (37942-36046)',53.726784,-2.47723,'School'),new Array('St Mary (57049-63201)',53.730643,-2.667925,'ParishChurch'),new Array('St Joseph (52851-57714)',53.616309,-2.595662,'ParishChurch'),new Array('Anderton St Joseph`s Catholic Primary School (37551-35655)',53.615695,-2.59263,'School'),new Array('St Joseph`s Old School (4998-57714)',53.616309,-2.595662,'Other'),new Array('St Mary`s RC Primary School (38896-37002)',53.696034,-2.698897,'School'),new Array('Sacred Heart (5756-63204)',53.75073,-2.506651,'ParishChurch'),new Array('St Mary (52833-57705)',53.692134,-2.704951,'ParishChurch'),new Array('St Anne (57055-63204)',53.746849,-2.487588,'Church'),new Array('Sacred Heart School (37943-36047)',53.753058,-2.503158,'School'),new Array('St. Paul`s R.C.Primary School (38037-36141)',53.764293,-2.541277,'School'),new Array('St Anne`s School (37945-36049)',53.747589,-2.486868,'School'),new Array('St Mary and St Joseph`s School (37949-36053)',53.739751,-2.47342,'School'),new Array('Our Lady and St Patrick (57427-63390)',53.745925,-2.664307,'ParishChurch'),new Array('St Patrick School (38080-36184)',53.745925,-2.664307,'School'),new Array('Our Lady of Lourdes and St Gerard Majella (57219-63286)',53.727681,-2.692029,'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'; } //