strList="
Christ the King (0 miles)
Zoom on map | View full information
Christ The King RC Primary School (0.2 miles)
Zoom on map | View full information
St Edmund, King and Martyr (0.8 miles)
Zoom on map | View full information
St Edmund`s RC Primary School (0.8 miles)
Zoom on map | View full information
St Mark`s RC Primary School (1.2 miles)
Zoom on map | View full information
Bishop`s House (1.2 miles)
Zoom on map | View full information
Holy Family RC Primary School (1.3 miles)
Zoom on map | View full information
";
function showResults()
{
document.getElementById("mapList").style.display="block";
}
var records = new Array(new Array('Christ the King (57425-5093)',53.522694,-2.3934,'ParishChurch'),new Array('Christ The King RC Primary School (38988-37094)',53.521059,-2.390737,'School'),new Array('St Edmund, King and Martyr (57209-5093)',53.528409,-2.410702,'Church'),new Array('St Edmund`s RC Primary School (38996-37102)',53.5271334,-2.410116900000048,'School'),new Array('St Mark`s RC Primary School (38994-37100)',53.5197619,-2.365328599999998,'School'),new Array('Bishop`s House (4803-883)',53.51576,-2.36677,'Other'),new Array('Holy Family RC Primary School (37533-35637)',53.50683,-2.411809,'School'),new Array('St John Fisher (57201-63277)',53.540017,-2.372983,'ParishChurch'),new Array('St Ambrose Barlow RC High School (39012-37118)',53.51966150000001,-2.357724599999983,'School'),new Array('Schoenstatt Centre and Shrine (71043-74962)',53.540017,-2.372983,'Other'),new Array('Schoenstatt Centre and Shrine (71043-74941)',53.540017,-2.372983,'Other'),new Array('Schoenstatt Centre and Shrine (71043-75118)',53.540017,-2.372983,'Other'),new Array('St Gregory`s School (38049-36153)',53.547745,-2.391044,'School'),new Array('St Charles RC Primary School (38993-37099)',53.512743,-2.35249,'School'),new Array('Our Lady and the Lancashire Martyrs (5902-5093)',53.530095,-2.434786,'Church'),new Array('The Presbytery (71335-75347)',53.530095,-2.434786,'Other'),new Array('St Charles (57413-63383)',53.512743,-2.35249,'ParishChurch'),new Array('Holy Family Catholic Primary School (38890-36996)',53.507054,-2.435148,'School'),new Array('Holy Family (53001-57789)',53.504849,-2.433678,'ParishChurch'),new Array('Our Lady Of Lourdes School (38043-36147)',53.548498,-2.418081,'School'),new Array('Our Lady of Lourdes (57167-63260)',53.548611,-2.418691,'ParishChurch'),new Array('Holy Family (53001-77173)',53.504849,-2.433678,'ParishChurch'),new Array('St Mark (57339-63383)',53.516726,-2.335089,'ParishChurch'),new Array('St Teresa of Calcutta Catholic Academy Trust (71331-74366)',53.5179267,-2.3357343,'Other'),new Array('Mount St Joseph Business And Enterprise College School (66528-74545)',53.555189,-2.422253,'School'),new Array('Mount St Joseph Business And Enterprise College School (66528-36076)',53.555189,-2.422253,'School'),new Array('St Mary`s Primary School (71035-74617)',53.5112918,-2.331647900000007,'School'),new Array('St Gilbert`s RC Primary School (38992-37098)',53.484637,-2.36831,'School'),new Array('St Teresa (57215-63223)',53.561596,-2.377372,'ParishChurch'),new Array('St Teresa`s School (38055-36159)',53.561596,-2.377372,'School'),new Array('St Patrick`s RC High And Arts College School (39010-37116)',53.482113,-2.367911,'School'),new Array('St William of York (57099-63225)',53.559539,-2.436187,'Church'),new Array('St William Of York School (38057-36161)',53.560598,-2.432859,'School'),new Array('St Ambrose Barlow Catholic Primary School (37538-35642)',53.499238,-2.460605,'School'),new Array('Holy Cross (6035-63258)',53.480804,-2.361299,'ParishChurch'),new Array('20 Newbrook Road (71143-75370)',53.545719,-2.470531,'Other'),new Array('St Mary (57163-63258)',53.482997,-2.341975,'ParishChurch'),new Array('St Mary`s RC Primary Eccles School (38991-37097)',53.482379,-2.341799,'School'),new Array('St Mary`s Catholic High School (37632-35736)',53.495097,-2.46463,'School'),new Array('The Good Shepherd (Polish) (5780-75379)',53.566053,-2.435437,'ParishChurch'),new Array('St Vincent de Paul (57109-63231)',53.545719,-2.470531,'ParishChurch'),new Array('Holy Cross and All Saints RC Primary School (38990-37096)',53.476611,-2.353264,'School'),new Array('Mill Hill Missionaries (71039-74958)',53.4901229,-2.324909199999979,'Other'),new Array('Mill Hill Missionaries (71039-75108)',53.4901229,-2.324909199999979,'Other'),new Array('St Luke`s RC Primary School (39004-37110)',53.500963,-2.312305,'School'),new Array('Sacred Heart RC Primary School (37528-35632)',53.516317,-2.48308,'School'),new Array('All Saints Friary (71025-74373)',53.473456,-2.352888,'Other'),new Array('St Peter and St Paul School (37968-36072)',53.571387,-2.43454,'School'),new Array('National Crusade Centre (71240-74904)',53.473456,-2.352888,'Other'),new Array('Ss Osmund and Andrew School (38053-36157)',53.577579,-2.390383,'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';
}
//