strList="
Our Lady Of The Rosary Church (0 miles)
Zoom on map | View full information
Our Lady Of Rosary Catholic Primary School School (0.3 miles)
Zoom on map | View full information
St John of Rochester (1 miles)
Zoom on map | View full information
St John of Rochester (1 miles)
Zoom on map | View full information
St Michael`s Church (1.7 miles)
Zoom on map | View full information
St Michael`s Catholic Primary School School (2 miles)
Zoom on map | View full information
St David Church (2 miles)
Zoom on map | View full information
";
function showResults()
{
document.getElementById("mapList").style.display="block";
}
var records = new Array(new Array('Our Lady Of The Rosary Church (40786-38183)',51.431845,-0.504105,'ParishChurch'),new Array('Our Lady Of Rosary Catholic Primary School School (38292-36396)',51.427556,-0.504835,'School'),new Array('St John of Rochester (36477-34577)',51.429759,-0.526125,'Church'),new Array('St John of Rochester (36477-70928)',51.429759,-0.526125,'Church'),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('St David Church (40792-38186)',51.455293,-0.477906,'ParishChurch'),new Array('The Assumption of Our Lady (36478-34577)',51.42932,-0.567611,'Church'),new Array('Royal Holloway University Chaplaincy (70994-74294)',51.4293203,-0.567610800000011,'Other'),new Array('The Assumption of Our Lady (34803-70928)',51.42932,-0.567611,'ParishChurch'),new Array('Parish Office and Jurgens Centre (33888-34577)',51.4294246,-0.5673902,'Other'),new Array('London Royal Holloway University (70999-34577)',51.4294246,-0.5673902,'Other'),new Array('St John Fisher Church (40766-38173)',51.402281,-0.46056,'ParishChurch'),new Array('St Cuthbert`s Catholic Primary School (38768-36874)',51.424604,-0.573886,'School'),new Array('St Anne`s Catholic Primary School (38776-36882)',51.3875,-0.500938,'School'),new Array('Salesian Community House (71115-75304)',51.386087,-0.5045263,'Other'),new Array('St Anne (34789-33696)',51.38568619999999,-0.502399,'ParishChurch'),new Array('St John`s Beaumont Preparatory School (38736-36845)',51.446726,-0.573283,'School'),new Array('St George`s Interdenominational Church (40678-38129)',51.470534,-0.453815,'ParishChurch'),new Array('Salesian School (38781-36887)',51.381781,-0.518656,'School'),new Array('St Ignatius Of Loyola Church (40808-38194)',51.415351,-0.418963,'ParishChurch'),new Array('St George`s College (38741-36843)',51.377702,-0.478900199999998,'School'),new Array('St George`s College (65930-75295)',51.377702,-0.4789,'School'),new Array('St Ignatius Catholic Primary School (38440-36544)',51.414792,-0.417487,'School'),new Array('St Paul`s Catholic College School (38441-36545)',51.415603,-0.415618,'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. 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'),new Array('St Lawrence`s RC Primary School (39083-37189)',51.445024,-0.408873,'School'),new Array('Christ the Prince of Peace (34955-33779)',51.374222,-0.460323,'ParishChurch'),new Array('St Charles Borromeo School (33304-33040)',51.374222,-0.460323,'School'),new Array('St George`s College Junior School (38738-36847)',51.377098,-0.454077,'School'),new Array('The Holy Family (34745-33674)',51.36618679999999,-0.505067300000064,'ParishChurch'),new Array('The Holy Family Catholic Primary School (38769-36875)',51.366187,-0.505067,'School'),new Array('Holy Family Primary School (37776-35880)',51.495212,-0.547626,'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 Catherine Catholic Primary School (38413-36517)',51.50389,-0.478838,'School'),new Array('St Catherine Church (40860-38220)',51.50442,-0.476068,'ParishChurch'),new Array('The Brigidine School (1164-10261)',51.471484,-0.60793,'School'),new Array('The Holy Family Church (49645-56081)',51.502153,-0.55484,'ParishChurch'),new Array('Our Lady And St Christopher Church (40514-38047)',51.481887,-0.41243,'ParishChurch'),new Array('St Augustine`s Church (49511-55999)',51.489718,-0.585207,'ParishChurch'),new Array('The Sacred Heart (34933-33768)',51.396255,-0.620737,'ParishChurch'),new Array('Verona Fathers Community House (71059-75308)',51.39618540000001,-0.6212213,'Other'),new Array('St Edward (1079-9866)',51.47975,-0.615642,'ParishChurch'),new Array('St Michael and St Martin`s Catholic Primary School (38418-36522)',51.467062,-0.37914,'School'),new Array('St Bernards Catholic Grammar School School (37780-35884)',51.506116,-0.573749,'School'),new Array('Our Lady Of Sorrows Catholic Church (49525-55999)',51.487548,-0.609717,'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';
}
//