strList="
Sacred Heart (0 miles)
Zoom on map | View full information
Our Lady Immaculate (1.1 miles)
Zoom on map | View full information
The Annunciation (1.4 miles)
Zoom on map | View full information
The Annunciation (1.4 miles)
Zoom on map | View full information
St Walburga`s Primary School (2.1 miles)
Zoom on map | View full information
Corpus Christi (2.1 miles)
Zoom on map | View full information
St Joseph and St Walburga Church (2.1 miles)
Zoom on map | View full information
";
function showResults()
{
document.getElementById("mapList").style.display="block";
}
var records = new Array(new Array('Sacred Heart (827-9787)',50.7211082,-1.877652600000033,'ParishChurch'),new Array('Our Lady Immaculate (822-9785)',50.7224186,-1.903828699999963,'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('Corpus Christi (71545-9784)',50.72828010000001,-1.8323728,'ParishChurch'),new Array('St Joseph and St Walburga Church (56747-63010)',50.72505109999999,-1.925230000000056,'ParishChurch'),new Array('Corpus Christi Jesuit Community (821-76430)',50.7283001,-1.832380699999931,'ParishChurch'),new Array('Corpus Christi Primary School (1175-10272)',50.727991,-1.830115,'School'),new Array('St Joseph`s Catholic Combined School (38917-37023)',50.736966,-1.924743,'School'),new Array('Our Lady of Victories and St. Bernadette Church (56738-63000)',50.7535655,-1.889575100000002,'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('Our Lady of Fatima Church (56748-63011)',50.740572,-1.940185000000042,'ParishChurch'),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 Church (56737-62999)',50.7674595,-1.911124400000063,'ParishChurch'),new Array('Christ The King Catholic Primary School (37912-36016)',50.76746,-1.911124,'School'),new Array('St Mary`s Catholic Combined School (37905-36009)',50.727885,-1.968537,'School'),new Array('St Edward`s Roman Catholic / Church Of England School (37939-36043)',50.736976,-1.964493,'School'),new Array('St Mary`s Church (56749-63012)',50.7286247,-1.976584300000013,'ParishChurch'),new Array('Immaculate Conception and St Joseph (841-9794)',50.7355051,-1.765570000000025,'ParishChurch'),new Array('St.Anthony of Padua Church (56746-63009)',50.753519,-1.997254,'ParishChurch'),new Array('St. Anthony`s Church (56754-63017)',50.8044588,-1.88366259999998,'ParishChurch'),new Array('St Joseph`s Primary School (1109-10206)',50.744078,-1.745699,'School'),new Array('St Catherine`s Catholic Primary School (37936-36040)',50.805494,-1.949824,'School'),new Array('St. Catherine Church (56756-63019)',50.7984892,-1.982225599999993,'ParishChurch'),new Array('Holy Redeemer (903-9813)',50.7422935,-1.709158200000047,'ParishChurch'),new Array('Holy Spirit and St. Edward Church (56752-63015)',50.6116243,-1.959258099999943,'ParishChurch'),new Array('St Mary`s Roman Catholic First School (37907-36011)',50.60675,-1.957793,'School'),new Array('Sacred Heart and St Therese of Lisieux (1003-9847)',50.84590650000001,-1.788937000000033,'ParishChurch'),new Array('Our Lady of Lourdes (954-9833)',50.7485205,-1.654548500000033,'ParishChurch'),new Array('St Edward the Martyr Church (56753-63016)',50.68886999999999,-2.112235499999997,'Church'),new Array('St Edward the Martyr Church (56753-74350)',50.68886999999999,-2.112235499999997,'Church'),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('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 Sorrows and St Philip Benizi (876-9806)',50.9294632,-1.788445700000011,'ParishChurch'),new Array('Joint Parish Office (877-9847)',50.929463,-1.788446,'Other'),new Array('St Saviour (1055-9859)',50.674827,-1.542806,'ParishChurch'),new Array('Joint Parish Office (877-9806)',50.929463,-1.788446,'Other'),new Array('Our Lady of Mercy and St Joseph (934-9825)',50.759039,-1.539264,'ParishChurch'),new Array('St Saviour`s Primary School (1185-10282)',50.677364,-1.536214,'School'),new Array('St Mary`s Catholic First School (37908-36012)',50.678812,-2.2264,'School'),new Array('St Mary Church (56744-63007)',50.6383276,-2.206421900000009,'Church'),new Array('St Joseph Church (56757-74350)',50.6798014,-2.22623509999994,'ParishChurch'),new Array('St Mary Church (56744-74350)',50.6383276,-2.206421900000009,'Church'),new Array('Our Lady of Lourdes and St. Cecilia Church (56736-62998)',50.8597808,-2.166807100000028,'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';
}
//