strList="
Saint Mary Church (0 miles)
Zoom on map | View full information
St Ann`s (3.7 miles)
Zoom on map | View full information
St Ann`s Catholic Primary School (3.7 miles)
Zoom on map | View full information
St Ann Church (3.9 miles)
Zoom on map | View full information
Holy Rood Primary School (6.1 miles)
Zoom on map | View full information
St Teresa Church (6.4 miles)
Zoom on map | View full information
Holy Rood Rectory (6.4 miles)
Zoom on map | View full information
";
function showResults()
{
document.getElementById("mapList").style.display="block";
}
var records = new Array(new Array('Saint Mary Church (44749-48571)',53.527642,-1.635449,'ParishChurch'),new Array('St Ann`s (65199-48551)',53.478302,-1.598097,'School'),new Array('St Ann`s Catholic Primary School (37668-35772)',53.478302,-1.598097,'School'),new Array('St Ann Church (44742-48551)',53.480443,-1.582918,'ParishChurch'),new Array('Holy Rood Primary School (65157-70854)',53.549589,-1.491697,'Other'),new Array('St Teresa Church (44680-48288)',53.588283,-1.517639,'ParishChurch'),new Array('Holy Rood Rectory (65156-70854)',53.549889,-1.484147,'ParishChurch'),new Array('Our Lady and St James (65158-70857)',53.527666,-1.466903,'Other'),new Array('Our Lady`s Catholic Primary School (37373-35477)',53.533085,-1.46261,'School'),new Array('St Mary`s Catholic Primary School (37662-35766)',53.474531,-1.484503,'School'),new Array('Saint Mary Church (44745-48555)',53.47273,-1.483772,'ParishChurch'),new Array('Carmelite Monastery Of The Holy Spirit Church (44748-48570)',53.427001,-1.584028,'ParishChurch'),new Array('Blessed Sacrament Church (44674-48245)',53.575069,-1.464344,'ParishChurch'),new Array('St Helen`s Catholic Primary School (37371-35475)',53.500733,-1.444507,'School'),new Array('Holy trinity (37597-35701)',53.57860789999999,-1.457849900000042,'School'),new Array('St Dominic`s Catholic Primary School (37370-35474)',53.577562,-1.457123,'School'),new Array('Saint Michael`s Cemetery Chapel Church (44756-48633)',53.4123874,-1.5944729,'ParishChurch'),new Array('St Thomas More (65207-70890)',53.435383,-1.485925,'School'),new Array('St Thomas More Catholic Primary School (37663-35767)',53.435383,-1.485925,'School'),new Array('Our Lady And Saint Joseph Church (44683-48300)',53.598696,-1.453634,'ParishChurch'),new Array('St Thomas More Presbyetry (65206-70890)',53.431758,-1.475087,'ParishChurch'),new Array('St. Joseph School (38694-36798)',53.647126,-1.748149,'School'),new Array('English Martyrs (62983-66644)',53.646914,-1.749814,'ParishChurch'),new Array('Saint Mary Magdalene Church (44679-48285)',53.576567,-1.417522,'ParishChurch'),new Array('St Joseph (63147-66644)',53.653934,-1.732869,'Church'),new Array('SS Peter and Paul (63072-66694)',53.647881,-1.499048,'ParishChurch'),new Array('St Michael and All Angels (65159-48310)',53.520582,-1.393147,'ParishChurch'),new Array('Sacred Heart Church (44684-48317)',53.520582,-1.393147,'ParishChurch'),new Array('St. Ignatius School (38679-36783)',53.66884,-1.575612,'School'),new Array('St Ignatius (63103-66712)',53.66884,-1.575612,'ParishChurch'),new Array('St Michael and All Angels Catholic Primary School (37372-35476)',53.528082,-1.388529,'School'),new Array('Sacred Heart Catholic Primary School (37389-35493)',53.400531,-1.499956,'School'),new Array('St Patrick`s (65205-70889)',53.422674,-1.455561,'School'),new Array('St Patrick (65204-70889)',53.422674,-1.455561,'ParishChurch'),new Array('The Sacred Heart Church (44750-48574)',53.401508,-1.499403,'ParishChurch'),new Array('St Patrick`s Catholic Primary School (37670-35774)',53.422674,-1.455561,'School'),new Array('Our Lady of Czestochowa (63026-66669)',53.650191,-1.784984,'ParishChurch'),new Array('St Aidan (63080-66698)',53.675553,-1.692772,'ParishChurch'),new Array('St. Paulinus School (38721-36825)',53.685362,-1.645324,'School'),new Array('St Paulinus (63015-66663)',53.687397,-1.643278,'ParishChurch'),new Array('The Forty Martyrs Church (44738-48530)',53.4526848,-1.3961639,'ParishChurch'),new Array('St Catherine`s Catholic Primary School (37390-35494)',53.403376,-1.463809,'School'),new Array('Catherine`s (65203-48590)',53.403376,-1.463809,'School'),new Array('St Thomas à Beckett Catholic Secondary School (38726-36830)',53.660989,-1.482883,'School'),new Array('English Martyrs School (38642-36746)',53.678032,-1.531239,'School'),new Array('Our Lady of Lourdes (63039-71428)',53.670064,-1.766024,'Church'),new Array('St. Patrick`s Catholic Primary School (38719-36823)',53.657208,-1.799081,'School'),new Array('English Martyrs (62984-66714)',53.67771,-1.531773,'Church'),new Array('St Vincent Church (44755-48632)',53.383762,-1.507384,'ParishChurch'),new Array('St Francis of Assisi (65208-70891)',53.376928,-1.529049,'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';
}
//