strList="
St Wilfrid`s School (0 miles)
Zoom on map | View full information
St Nicholas School (0 miles)
Zoom on map | View full information
St Wilfrid Church (1.3 miles)
Zoom on map | View full information
St Bede`s School (1.6 miles)
Zoom on map | View full information
Our Lady of Fatima Church (1.9 miles)
Zoom on map | View full information
St Bede Church (2.2 miles)
Zoom on map | View full information
St Joseph`s School (4.1 miles)
Zoom on map | View full information
";
function showResults()
{
document.getElementById("mapList").style.display="block";
}
var records = new Array(new Array('St Wilfrid`s School (38211-36315)',53.247653,-2.527899,'School'),new Array('St Nicholas School (38232-36336)',53.247653,-2.527899,'School'),new Array('St Wilfrid Church (63435-74282)',53.262233,-2.5073,'ParishChurch'),new Array('St Bede`s School (38157-36261)',53.257352,-2.56323,'School'),new Array('Our Lady of Fatima Church (63254-74282)',53.272909,-2.542666,'ParishChurch'),new Array('St Bede Church (63311-74282)',53.261946,-2.574369,'ParishChurch'),new Array('St Joseph`s School (38176-36280)',53.189444,-2.541296,'School'),new Array('St Joseph Church (59720-32756)',53.189444,-2.541296,'ParishChurch'),new Array('St Mary Church (59740-32751)',53.195602,-2.443137,'ParishChurch'),new Array('St Mary`s Primary School (38189-36293)',53.188743,-2.448155,'School'),new Array('St Vincent de Paul Church (59788-32819)',53.307485,-2.375457,'ParishChurch'),new Array('St Martin`s School (38183-36287)',53.324324,-2.662074,'School'),new Array('St Martin de Porres Church (59732-32828)',53.325438,-2.662196,'ParishChurch'),new Array('St Martin de Porres Church (63372-32828)',53.325438,-2.662196,'ParishChurch'),new Array('S t Margaret`s Church (63370-66784)',53.202511,-2.35596,'Other'),new Array('St Vincent`s Primary School (38208-36312)',53.302644,-2.359734,'School'),new Array('Our Lady Church (59600-32826)',53.32123,-2.687847,'ParishChurch'),new Array('Our Lady`s School (38139-36243)',53.32123,-2.687847,'School'),new Array('St Monica`s School (38192-36296)',53.364659,-2.572954,'School'),new Array('St Monica Church (59754-32822)',53.365259,-2.575307,'ParishChurch'),new Array('St Cuthbert`s Church (63324-66780)',53.23226,-2.732607,'Other'),new Array('St Luke`s Primary School (38181-36285)',53.294487,-2.719884,'School'),new Array('St Thomas Becket Church (59782-32755)',53.15296,-2.666641,'ParishChurch'),new Array('St Luke Church (59725-32823)',53.297671,-2.722668,'ParishChurch'),new Array('Holy Spirit Church (59598-32824)',53.335684,-2.695513,'ParishChurch'),new Array('St Augustine Church (63309-32825)',53.340452,-2.688712,'ParishChurch'),new Array('St Augustine`s School (38156-36260)',53.339581,-2.690125,'School'),new Array('St Augustine Church (59669-32825)',53.340452,-2.688712,'ParishChurch'),new Array('Our Lady`s School (38138-36242)',53.379383,-2.571168,'School'),new Array('St Winefride Church (63437-32814)',53.3795982,-2.488174999999956,'ParishChurch'),new Array('St Chad`s School (38227-36331)',53.325811,-2.711328,'School'),new Array('Holy Spirit School (38129-36233)',53.331845,-2.710917,'School'),new Array('St Augustine`s School (38155-36259)',53.383572,-2.563512,'School'),new Array('St Winefride Church (59801-32752)',53.145113,-2.368791,'ParishChurch'),new Array('Cardinal Newman School (38220-36324)',53.386907,-2.56339,'School'),new Array('St Joseph`s Family Centre (72617-57769)',53.3869565,-2.5971743,'Other'),new Array('Sacred Heart (52959-57768)',53.38918820000001,-2.6073548,'ParishChurch'),new Array('St Clement`s School (38162-36266)',53.332836,-2.732888,'School'),new Array('Sacred Heart RC Primary School (37540-35644)',53.389143,-2.614828,'School'),new Array('St Edward Church (59686-32827)',53.335456,-2.730635,'ParishChurch'),new Array('St Edward Church (63326-32827)',53.335456,-2.730635,'ParishChurch'),new Array('St Alban (72519-57768)',53.3922292,-2.5961204,'ParishChurch'),new Array('St Edward`s School (38163-36267)',53.341623,-2.723216,'School'),new Array('St Peter and St Michael (52973-57775)',53.397342,-2.52011,'ParishChurch'),new Array('St Vincent`s Catholic Primary School (37710-35814)',53.379965,-2.65545,'School'),new Array('St Gregory`s Catholic High School (37635-35739)',53.390927,-2.620929,'School'),new Array('St Alban`s Catholic Primary School (37541-35645)',53.395127,-2.603004,'School'),new Array('St Mary`s Shrine (52965-77239)',53.401439,-2.540718,'ParishChurch'),new Array('St Mary`s Shrine (52965-57771)',53.401439,-2.540718,'ParishChurch'),new Array('St Peter`s RC Primary School (37702-35806)',53.401723,-2.535475,'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';
}
//