strList="
Ukrainian Church (0 miles)
Zoom on map | View full information
St Anne`s RC Primary School (0.3 miles)
Zoom on map | View full information
St Anne (0.4 miles)
Zoom on map | View full information
St Thomas Of Canterbury RC Primary School (0.6 miles)
Zoom on map | View full information
Katherine House (Spirituality and Conference Centre) (0.8 miles)
Zoom on map | View full information
St Philip`s RC Primary School (0.8 miles)
Zoom on map | View full information
Kersal Hill Convent (0.8 miles)
Zoom on map | View full information
";
function showResults()
{
document.getElementById("mapList").style.display="block";
}
var records = new Array(new Array('Ukrainian Church (71157-75389)',53.5143746,-2.2476063,'Other'),new Array('St Anne`s RC Primary School (38930-37036)',53.512873,-2.24003,'School'),new Array('St Anne (57253-63303)',53.512885,-2.237633,'ParishChurch'),new Array('St Thomas Of Canterbury RC Primary School (39008-37114)',53.5053,-2.25128,'School'),new Array('Katherine House (Spirituality and Conference Centre) (71119-74883)',53.5149167,-2.2661101,'Other'),new Array('St Philip`s RC Primary School (39006-37112)',53.516842,-2.26738,'School'),new Array('Kersal Hill Convent (71120-75336)',53.5149167,-2.2661101,'Other'),new Array('Our Lady of Dolours (57377-63365)',53.516693,-2.270267,'ParishChurch'),new Array('St Chad`s RC Primary School (38933-37039)',53.500939,-2.238696,'School'),new Array('St Boniface RC Primary School (39000-37106)',53.501796,-2.266788,'School'),new Array('Mount Carmel School (38121-36225)',53.516543,-2.215167,'School'),new Array('Our Lady of Mount Carmel (57227-63290)',53.519228,-2.213958,'ParishChurch'),new Array('St Monica`s RC High School And Specialist Language College (38072-36090)',53.532894,-2.267707,'School'),new Array('HMP Manchester St Thomas More Chapel (71163-75208)',53.492204,-2.2456832,'Other'),new Array('St Malachy`s RC Primary School (38938-37044)',53.498146,-2.22376,'School'),new Array('St Malachy (57249-63300)',53.498146,-2.22376,'ParishChurch'),new Array('St Chad (57235-63294)',53.49227,-2.239854,'ParishChurch'),new Array('St Clare`s RC Primary School (38949-37055)',53.534322,-2.222552,'School'),new Array('St Clare (57263-78454)',53.534322,-2.222552,'ParishChurch'),new Array('St Clare (57263-63308)',53.534322,-2.222552,'ParishChurch'),new Array('St Sebastian`s RC Primary School (39001-37107)',53.498526,-2.281977,'School'),new Array('St Edmund`s RC Primary School (38935-74611)',53.503118,-2.207938,'School'),new Array('Our Lady`s RC Sports College School (38953-37059)',53.535996,-2.21857,'School'),new Array('St Patrick (57247-63300)',53.490224,-2.226112,'ParishChurch'),new Array('CAFOD (71536-74883)',53.490224,-2.226112,'Other'),new Array('St Patrick`s RC Primary School (38941-37047)',53.489342,-2.226107,'School'),new Array('Sisters of Our Lady of Sion Community (71139-75365)',53.5382004,-2.2688617,'Other'),new Array('Caritas House (71293-74886)',53.48973239999999,-2.2274629,'Other'),new Array('St Peter`s and St John`s RC Primary School (39002-37108)',53.487088,-2.260049,'School'),new Array('Our Lady of Grace (57341-63347)',53.534223,-2.284487,'ParishChurch'),new Array('St Dunstan (57275-63314)',53.514386,-2.195785,'ParishChurch'),new Array('Diocesan Pilgrimage to Lourdes (71344-74906)',53.483693,-2.261089,'Other'),new Array('St Dunstan`s RC Primary School (38934-37040)',53.51071,-2.193515,'School'),new Array('Diocesan Offices (341-883)',53.48374330000001,-2.2598303,'Other'),new Array('Lourdes Pilgrimage Office (71241-74906)',53.483693,-2.261089,'Other'),new Array('Cathedral Church of St John the Evangelist (6071-5180)',53.4839085,-2.261098,'Cathedral'),new Array('St John Bosco (57229-63290)',53.524002,-2.19582,'ParishChurch'),new Array('Our Lady Of Grace School (38063-36167)',53.538521,-2.286921,'School'),new Array('St John Bosco RC Primary School (38937-37043)',53.527003,-2.195505,'School'),new Array('St Mary (The Hidden Gem) (57221-63287)',53.480168,-2.246262,'ParishChurch'),new Array('Mother of God and St James (57383-63368)',53.488084,-2.289319,'ParishChurch'),new Array('Holy Family Primary School (71034-74616)',53.4886918,-2.293944499999952,'School'),new Array(' (71160-75227)',53.5102482,-2.1833021,'Other'),new Array('St Thomas More (57295-63324)',53.537052,-2.194131,'ParishChurch'),new Array('St Thomas More RC Primary School (38976-37082)',53.534654,-2.18863,'School'),new Array('St Luke`s RC Primary School (39004-37110)',53.500963,-2.312305,'School'),new Array('Mary and Joseph Home (71161-75395)',53.48132529999999,-2.2093405,'Other'),new Array('St Matthew`s RC High School (38954-37060)',53.51817,-2.17634,'School'),new Array('St Joseph`s RC Primary School (39003-37109)',53.476493,-2.279029,'School'),new Array('St Michael (57435-74536)',53.551285,-2.278741,'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';
}
//