strList="
Parish Office (0 miles)
Zoom on map | View full information
St Anne (0 miles)
Zoom on map | View full information
Parish Office (0 miles)
Zoom on map | View full information
Our Lady of the Assumption and St Edward the Confessor (3.7 miles)
Zoom on map | View full information
Our Lady & St Joseph Primary School (4.3 miles)
Zoom on map | View full information
Our Lady of Mercy and St Joseph (4.7 miles)
Zoom on map | View full information
Our Lady of Lourdes (6 miles)
Zoom on map | View full information
";
function showResults()
{
document.getElementById("mapList").style.display="block";
}
var records = new Array(new Array('Parish Office (835-9791)',50.821312,-1.579467,'Other'),new Array('St Anne (834-9791)',50.821312,-1.579467,'ParishChurch'),new Array('Parish Office (835-9829)',50.821312,-1.579467,'Other'),new Array('Our Lady of the Assumption and St Edward the Confessor (936-9826)',50.874147,-1.575439,'ParishChurch'),new Array('Our Lady and St Joseph Primary School (1114-10211)',50.759845,-1.571228,'School'),new Array('Our Lady of Mercy and St Joseph (934-9825)',50.759039,-1.539264,'ParishChurch'),new Array('Our Lady of Lourdes (954-9833)',50.7485205,-1.654548500000033,'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 Francis of Assisi Church (945-9829)',50.723858,-1.599706,'ParishChurch'),new Array('St Theresa of the Child Jesus (1057-9860)',50.918646,-1.484827,'ParishChurch'),new Array('Holy Redeemer (903-9813)',50.7422935,-1.709158200000047,'ParishChurch'),new Array('St Michael (1086-75879)',50.861432,-1.401257,'ParishChurch'),new Array('St Bernard (1084-75879)',50.833694,-1.38646,'ParishChurch'),new Array('St Joseph`s Primary School (1109-10206)',50.744078,-1.745699,'School'),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('Sacred Heart and St Therese of Lisieux (1003-9847)',50.84590650000001,-1.788937000000033,'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('Springhill Catholic Primary School (1131-10228)',50.914242,-1.411206,'School'),new Array('St Edmund`s (1032-9852)',50.914771,-1.403845,'ParishChurch'),new Array('St Joseph`s (1036-9852)',50.914771,-1.403845,'ParishChurch'),new Array('St Anne`s Secondary School (1135-75890)',50.914871,-1.405821,'School'),new Array('St Saviour`s Primary School (1185-10282)',50.677364,-1.536214,'School'),new Array('Immaculate Conception and St Joseph (841-9794)',50.7355051,-1.765570000000025,'ParishChurch'),new Array('St Saviour (1055-9859)',50.674827,-1.542806,'ParishChurch'),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'),new Array('St Vincent de Paul (1047-9856)',50.9406885,-1.4272876,'ParishChurch'),new Array(' (71419-74304)',50.9340905,-1.3957049,'Other'),new Array('The Immaculate Conception (1022-9851)',50.930788,-1.384943,'ParishChurch'),new Array('Charlton House Independent School (1178-10275)',50.920377,-1.36852,'School'),new Array('St Thomas More (828-9788)',50.7371801,-1.806076200000007,'ParishChurch'),new Array('Our Lady Queen of Peace (824-9786)',50.7233712,-1.797718099999997,'ParishChurch'),new Array('Christ the King and St Colman (1038-9853)',50.914821,-1.355636,'ParishChurch'),new Array('Joint Parish Office (877-9847)',50.929463,-1.788446,'Other'),new Array('Our Lady of Sorrows and St Philip Benizi (876-9806)',50.9294632,-1.788445700000011,'ParishChurch'),new Array('Joint Parish Office (877-9806)',50.929463,-1.788446,'Other'),new Array('Marie Louise Community (Care Home) (71477-76468)',50.9877325,-1.5006654,'Other'),new Array('St George Catholic College (1134-10231)',50.9456,-1.383509,'School'),new Array('St Joseph (1005-75878)',50.988589,-1.501564,'ParishChurch'),new Array('St Edmund Campion (820-9783)',50.7515604,-1.842673999999988,'ParishChurch'),new Array('St Edmund Campion (820-78540)',50.7515604,-1.842673999999988,'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('St Brigid (902-9812)',50.927566,-1.330603,'ParishChurch'),new Array('Holy Cross (860-75878)',50.976029,-1.402335,'ParishChurch'),new Array('St. Anthony`s Church (56754-63017)',50.8044588,-1.88366259999998,'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';
}
//