strList="
St Peter Chanel Catholic Primary School (0 miles)
Zoom on map | View full information
St Mary And St Joseph`s Catholic School (0.4 miles)
Zoom on map | View full information
St Lawrence of Canterbury Church (0.9 miles)
Zoom on map | View full information
St Peter And St Paul`s Catholic Primary School (1.7 miles)
Zoom on map | View full information
St John Fisher Church (2 miles)
Zoom on map | View full information
Our Lady of the Rosary Church (2.1 miles)
Zoom on map | View full information
Our Lady Of The Rosary Catholic Primary School (2.2 miles)
Zoom on map | View full information
";
function showResults()
{
document.getElementById("mapList").style.display="block";
}
var records = new Array(new Array('St Peter Chanel Catholic Primary School (38472-36576)',51.420352,0.118291,'School'),new Array('St Mary And St Joseph`s Catholic School (38477-36581)',51.425644,0.122929,'School'),new Array('St Lawrence of Canterbury Church (61222-65690)',51.427265,0.099406,'ParishChurch'),new Array('St Peter And St Paul`s Catholic Primary School (38484-36588)',51.403371,0.089843,'School'),new Array('St John Fisher Church (61040-65597)',51.44276,0.148526,'ParishChurch'),new Array('Our Lady of the Rosary Church (61224-65691)',51.448536,0.10031,'ParishChurch'),new Array('Our Lady Of The Rosary Catholic Primary School (38468-36572)',51.44793,0.092927,'School'),new Array('St Mary Church (61178-65667)',51.408408,0.072055,'ParishChurch'),new Array('St Joseph`s Parish Office (65146-65664)',51.387048,0.113461,'Other'),new Array('All Saints` C of E Church (65141-65545)',51.436532,0.071874,'Other'),new Array('St Patrick Church (61180-65668)',51.421055,0.064256,'ParishChurch'),new Array('Our Lady of the Crays Church (61172-65664)',51.387048,0.113461,'ParishChurch'),new Array('St Philomena`s Catholic Primary School (38483-36587)',51.382283,0.115368,'School'),new Array('St John Vianney Church (61042-65598)',51.455487,0.137622,'ParishChurch'),new Array('St Columba`s Catholic Boys` School (38476-36580)',51.452692,0.155195,'School'),new Array('Church of the Apostles Church (61182-65669)',51.398976,0.174723,'ParishChurch'),new Array('St Bartholomew`s Catholic Primary School (38619-36723)',51.398976,0.174723,'School'),new Array('St Catherine`s Catholic For Girls School (38475-36579)',51.454674,0.15454,'School'),new Array('St Stephen Church (61226-65692)',51.463625,0.105854,'ParishChurch'),new Array('St Thomas More Catholic Comprehensive School (38516-36620)',51.446852,0.062397,'School'),new Array('St James Catholic Primary School (38482-36586)',51.389382,0.066323,'School'),new Array('St Stephen`s Catholic Primary School (38474-36578)',51.464152,0.104021,'School'),new Array('St James Church (60998-65576)',51.388052,0.069324,'ParishChurch'),new Array('Our Lady Help of Christians Church (60941-65545)',51.434234,0.047628,'ParishChurch'),new Array('Christ Church Church (60939-65544)',51.450936,0.061818,'ParishChurch'),new Array('St Joseph`s Catholic Primary School (38470-36574)',51.453683,0.172155,'School'),new Array('St Thomas More Catholic Primary School (38469-36573)',51.466788,0.139288,'School'),new Array('Holy Ghost Fathers Chapel (65144-65569)',51.403326,0.047556,'Other'),new Array('St Vincent`s Catholic Primary School (38481-36585)',51.429106,0.044148,'School'),new Array('St Mary of the Crays Church (61034-65594)',51.454534,0.170382,'ParishChurch'),new Array('St Mary`s Catholic Primary School (38508-36612)',51.453534,0.063965,'School'),new Array('Sts John Fisher and Thomas More Church (60943-65546)',51.452193,0.052231,'ParishChurch'),new Array('St Thomas More Church (61044-65599)',51.473718,0.128092,'ParishChurch'),new Array('St Joseph Church (60986-65569)',51.410101,0.030832,'ParishChurch'),new Array('Holy Trinity College School (39062-37168)',51.415207,0.029229,'School'),new Array('St Joseph`s Catholic Primary School (38480-36584)',51.411985,0.025911,'School'),new Array('St Swithin Church (60992-65572)',51.396116,0.035072,'ParishChurch'),new Array('Holy Innocents Catholic Primary School (38485-36589)',51.366114,0.08125,'School'),new Array('Holy Innocents Church (61176-65666)',51.364239,0.091077,'ParishChurch'),new Array('St Anselm Church (61032-65593)',51.446191,0.207332,'ParishChurch'),new Array('St Paul`s Academy School (38518-36622)',51.480274,0.10364,'School'),new Array('The Holy Cross Church (61114-65634)',51.479879,0.088557,'ParishChurch'),new Array('St Fidelis Catholic Primary School (38471-36575)',51.476274,0.162859,'School'),new Array('St Thomas More Catholic Primary School (38509-36613)',51.462582,0.044894,'School'),new Array('Our Lady`s Catholic Primary School (38600-36704)',51.446992,0.208234,'School'),new Array('St Joseph Church (61116-65635)',51.476332,0.063338,'ParishChurch'),new Array('St Michael and All Angels Church (61174-65665)',51.367424,0.054904,'ParishChurch'),new Array('Our Lady of the Angels Church (61046-65600)',51.480315,0.169992,'ParishChurch'),new Array('Notre Dame Catholic Primary School (38513-36617)',51.480271,0.06592,'School'),new Array('Good Shepherd Catholic Primary School (38542-36646)',51.427073,0.009331,'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';
}
//