strList="
St Francis of Assisi Church (0 miles)
Zoom on map | View full information
Our Lady & St Joseph Primary School (2.8 miles)
Zoom on map | View full information
Our Lady of Lourdes (2.9 miles)
Zoom on map | View full information
Our Lady of Mercy and St Joseph (3.6 miles)
Zoom on map | View full information
St Saviour (4.2 miles)
Zoom on map | View full information
St Saviour`s Primary School (4.3 miles)
Zoom on map | View full information
Holy Redeemer (5 miles)
Zoom on map | View full information
";
function showResults()
{
document.getElementById("mapList").style.display="block";
}
var records = new Array(new Array('St Francis of Assisi Church (945-9829)',50.723858,-1.599706,'ParishChurch'),new Array('Our Lady and St Joseph Primary School (1114-10211)',50.759845,-1.571228,'School'),new Array('Our Lady of Lourdes (954-9833)',50.7485205,-1.654548500000033,'ParishChurch'),new Array('Our Lady of Mercy and St Joseph (934-9825)',50.759039,-1.539264,'ParishChurch'),new Array('St Saviour (1055-9859)',50.674827,-1.542806,'ParishChurch'),new Array('St Saviour`s Primary School (1185-10282)',50.677364,-1.536214,'School'),new Array('Holy Redeemer (903-9813)',50.7422935,-1.709158200000047,'ParishChurch'),new Array('St Joseph`s Primary School (1109-10206)',50.744078,-1.745699,'School'),new Array('Parish Office (835-9829)',50.821312,-1.579467,'Other'),new Array('Parish Office (835-9791)',50.821312,-1.579467,'Other'),new Array('St Anne (834-9791)',50.821312,-1.579467,'ParishChurch'),new Array('Immaculate Conception and St Joseph (841-9794)',50.7355051,-1.765570000000025,'ParishChurch'),new Array('Our Lady Queen of Peace (824-9786)',50.7233712,-1.797718099999997,'ParishChurch'),new Array('St Thomas More (828-9788)',50.7371801,-1.806076200000007,'ParishChurch'),new Array('Corpus Christi Primary School (1175-10272)',50.727991,-1.830115,'School'),new Array('Corpus Christi Jesuit Community (821-76430)',50.7283001,-1.832380699999931,'ParishChurch'),new Array('Corpus Christi (71545-9784)',50.72828010000001,-1.8323728,'ParishChurch'),new Array('Our Lady of the Assumption and St Edward the Confessor (936-9826)',50.874147,-1.575439,'ParishChurch'),new Array('St Edmund Campion (820-78540)',50.7515604,-1.842673999999988,'ParishChurch'),new Array('St Edmund Campion (820-9783)',50.7515604,-1.842673999999988,'ParishChurch'),new Array('The Annunciation (817-9783)',50.7389339,-1.863463200000069,'ParishChurch'),new Array('The Annunciation (946-75876)',50.738934,-1.863463,'ParishChurch'),new Array('St Walburga`s Primary School (1110-10207)',50.749545,-1.863517,'School'),new Array('Sacred Heart and St Therese of Lisieux (1003-9847)',50.84590650000001,-1.788937000000033,'ParishChurch'),new Array('St Bernard (1084-75879)',50.833694,-1.38646,'ParishChurch'),new Array('Sacred Heart (827-9787)',50.7211082,-1.877652600000033,'ParishChurch'),new Array('St Joseph`s Centre (66500-76441)',50.896734,-1.512853,'Other'),new Array('St Joseph`s Centre (66500-76382)',50.896734,-1.512853,'Other'),new Array('St Thomas of Canterbury Primary School (1187-10284)',50.691608,-1.312106,'School'),new Array('Christ the King College (1157-10254)',50.694542,-1.310888,'School'),new Array('Our Lady of Victories and St. Bernadette Church (56738-63000)',50.7535655,-1.889575100000002,'ParishChurch'),new Array('St Michael (1086-75879)',50.861432,-1.401257,'ParishChurch'),new Array('St Thomas of Canterbury (957-9834)',50.698611,-1.298043,'ParishChurch'),new Array('Our Lady Immaculate (822-9785)',50.7224186,-1.903828699999963,'ParishChurch'),new Array('St. Anthony`s Church (56754-63017)',50.8044588,-1.88366259999998,'ParishChurch'),new Array('Christ The King Catholic Primary School (37912-36016)',50.76746,-1.911124,'School'),new Array('St David (854-9799)',50.753651,-1.282406,'ParishChurch'),new Array('Christ the King Church (56737-62999)',50.7674595,-1.911124400000063,'ParishChurch'),new Array('St Joseph`s Catholic Combined School (38917-37023)',50.736966,-1.924743,'School'),new Array('Holy Cross Primary School (1179-10276)',50.760057,-1.278636,'School'),new Array('St Joseph and St Walburga Church (56747-63010)',50.72505109999999,-1.925230000000056,'ParishChurch'),new Array('St Theresa of the Child Jesus (1057-9860)',50.918646,-1.484827,'ParishChurch'),new Array('Our Lady of Fatima Church (56748-63011)',50.740572,-1.940185000000042,'ParishChurch'),new Array('St Boniface (1041-76415)',50.919259,-1.429153,'ParishChurch'),new Array('St Boniface (1041-9854)',50.919259,-1.429153,'ParishChurch'),new Array('Holy Family Primary School (1132-10229)',50.930836,-1.464188,'School'),new Array('Holy Family (1019-9850)',50.927403,-1.450952,'ParishChurch'),new Array('Springhill Catholic Primary School (1131-10228)',50.914242,-1.411206,'School'),new Array('St Patrick (1044-9855)',50.89806,-1.374069,'ParishChurch'),new Array('St Patrick`s Primary School (1133-10230)',50.898124,-1.372632,'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';
}
//