strList="
St Anne`s Catholic Primary School (0 miles)
Zoom on map | View full information
St Anne (0.1 miles)
Zoom on map | View full information
Salesian Community House (0.2 miles)
Zoom on map | View full information
Salesian School (0.9 miles)
Zoom on map | View full information
Firfield House (1 miles)
Zoom on map | View full information
Firfield House (1 miles)
Zoom on map | View full information
St George`s College (1.2 miles)
Zoom on map | View full information
";
function showResults()
{
document.getElementById("mapList").style.display="block";
}
var records = new Array(new Array('St Anne`s Catholic Primary School (38776-36882)',51.3875,-0.500938,'School'),new Array('St Anne (34789-33696)',51.38568619999999,-0.502399,'ParishChurch'),new Array('Salesian Community House (71115-75304)',51.386087,-0.5045263,'Other'),new Array('Salesian School (38781-36887)',51.381781,-0.518656,'School'),new Array('Firfield House (71075-75418)',51.3726615,-0.5005986,'Other'),new Array('Firfield House (71075-75063)',51.3726615,-0.5005986,'Other'),new Array('St George`s College (65930-75295)',51.377702,-0.4789,'School'),new Array('St George`s College (38741-36843)',51.377702,-0.478900199999998,'School'),new Array('The Holy Family Catholic Primary School (38769-36875)',51.366187,-0.505067,'School'),new Array('The Holy Family (34745-33674)',51.36618679999999,-0.505067300000064,'ParishChurch'),new Array('St John Fisher Church (40766-38173)',51.402281,-0.46056,'ParishChurch'),new Array('St Charles Borromeo School (33304-33040)',51.374222,-0.460323,'School'),new Array('Christ the Prince of Peace (34955-33779)',51.374222,-0.460323,'ParishChurch'),new Array('St George`s College Junior School (38738-36847)',51.377098,-0.454077,'School'),new Array('Our Lady Of Rosary Catholic Primary School School (38292-36396)',51.427556,-0.504835,'School'),new Array('Our Lady Of The Rosary Church (40786-38183)',51.431845,-0.504105,'ParishChurch'),new Array('St John of Rochester (36477-70928)',51.429759,-0.526125,'Church'),new Array('St John of Rochester (36477-34577)',51.429759,-0.526125,'Church'),new Array('Our Lady Help of Christians (34949-33776)',51.338026,-0.505984,'ParishChurch'),new Array('St Michael`s Church (40454-38017)',51.432862,-0.464481,'ParishChurch'),new Array('St Michael`s Catholic Primary School School (38439-36543)',51.430618,-0.45863,'School'),new Array('The Marist School (33303-33039)',51.335321,-0.509,'School'),new Array('Community House (71348-75405)',51.3859416,-0.4167925,'Other'),new Array('St Erconwald (34947-75588)',51.386142,-0.413474,'ParishChurch'),new Array('St Ignatius Of Loyola Church (40808-38194)',51.415351,-0.418963,'ParishChurch'),new Array('London Royal Holloway University (70999-34577)',51.4294246,-0.5673902,'Other'),new Array('St Cuthbert`s Catholic Primary School (38768-36874)',51.424604,-0.573886,'School'),new Array('Parish Office and Jurgens Centre (33888-34577)',51.4294246,-0.5673902,'Other'),new Array('The Assumption of Our Lady (36478-34577)',51.42932,-0.567611,'Church'),new Array('St Ignatius Catholic Primary School (38440-36544)',51.414792,-0.417487,'School'),new Array('The Assumption of Our Lady (34803-70928)',51.42932,-0.567611,'ParishChurch'),new Array('Royal Holloway University Chaplaincy (70994-74294)',51.4293203,-0.567610800000011,'Other'),new Array('St Paul`s Catholic College School (38441-36545)',51.415603,-0.415618,'School'),new Array('All Saints (34843-33741)',51.366174,-0.400575,'ParishChurch'),new Array('Notre Dame School (38743-36839)',51.342216,-0.424353,'School'),new Array('Notre Dame Preparatory School (71054-36840)',51.3416588,-0.4251921,'School'),new Array('All Saints (34843-33723)',51.366174,-0.400575,'ParishChurch'),new Array('Cardinal Newman Catholic Primary School (38774-36880)',51.375153,-0.393681,'School'),new Array('St David Church (40792-38186)',51.455293,-0.477906,'ParishChurch'),new Array('St. Dunstan`s School (33305-33041)',51.319903,-0.54651,'School'),new Array('St John`s Beaumont Preparatory School (38736-36845)',51.446726,-0.573283,'School'),new Array('Parish Office (34960-33781)',51.3187423,-0.543547799999942,'Other'),new Array('St Dunstan (34959-33781)',51.3187423,-0.543547799999942,'ParishChurch'),new Array('Verona Fathers Community House (71059-75308)',51.39618540000001,-0.6212213,'Other'),new Array('Scalabrini Community House (71057-75306)',51.3186921,-0.5515208,'Other'),new Array('Scalabrini Community House (71057-75200)',51.3186921,-0.5515208,'Other'),new Array('The Sacred Heart (34933-33768)',51.396255,-0.620737,'ParishChurch'),new Array('The Sacred Heart (65939-70913)',51.32952,-0.413793,'ParishChurch'),new Array('St. Lawrence`s Catholic Primary School School (38415-36519)',51.444173,-0.409795,'School'),new Array('St Lawrence Church (40538-38059)',51.444173,-0.409795,'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';
}
//