strList="
St. Anne`s School (0 miles)
Zoom on map | View full information
St Ann (0.4 miles)
Zoom on map | View full information
St Aidan Church (2.2 miles)
Zoom on map | View full information
St Aidan`s Catholic Primary School (2.2 miles)
Zoom on map | View full information
St Johns (2.6 miles)
Zoom on map | View full information
St Christopher Church (2.6 miles)
Zoom on map | View full information
St Margaret Church (2.8 miles)
Zoom on map | View full information
";
function showResults()
{
document.getElementById("mapList").style.display="block";
}
var records = new Array(new Array('St. Anne`s School (33282-33018)',51.32052,-0.202222,'School'),new Array('St Ann (34755-33679)',51.320483,-0.211552,'ParishChurch'),new Array('St Aidan Church (61191-65674)',51.318124,-0.15226,'ParishChurch'),new Array('St Aidan`s Catholic Primary School (38491-36595)',51.314728,-0.151378,'School'),new Array('St Johns (34937-33770)',51.2914678,-0.2386567,'ParishChurch'),new Array('St Christopher Church (61074-65614)',51.357838,-0.214449,'ParishChurch'),new Array('St Margaret Church (61256-65707)',51.353275,-0.163643,'ParishChurch'),new Array('St. Joseph`s School (33293-33029)',51.329857,-0.273542,'School'),new Array('St. Clement`s School (33294-33030)',51.350393,-0.256298,'School'),new Array('Our Lady of the Rosary Church (61072-65613)',51.363511,-0.183373,'ParishChurch'),new Array('Triest House (71081-75068)',51.32933560000001,-0.2720528,'Other'),new Array('Aid to the Church in Need (4134-74875)',51.3664776,-0.192621899999949,'Other'),new Array('St Joseph (34805-33704)',51.329562,-0.274228,'ParishChurch'),new Array('St Philomena`s Catholic High For Girls School (38580-36684)',51.364288,-0.169753,'School'),new Array('St Mary`s Catholic Junior School (38578-36682)',51.364064,-0.170954,'School'),new Array('The John Fisher Catholic Boys School (38581-36685)',51.345493,-0.133857,'School'),new Array('Laleham Lea Preparatory School (38503-36607)',51.344178,-0.134269,'School'),new Array('St Mary`s Catholic Infant School (38575-36679)',51.366463,-0.167353,'School'),new Array('Holy Family Church (61070-65612)',51.371036,-0.196077,'ParishChurch'),new Array('St Elphege Church (61258-65708)',51.358956,-0.143479,'ParishChurch'),new Array('Holy Cross Church (61254-65706)',51.36857,-0.164697,'ParishChurch'),new Array('St Mary Help of Christians Church (61189-65673)',51.30183,-0.118485,'ParishChurch'),new Array('Margaret Roper Catholic Primary School (38493-36597)',51.344061,-0.120173,'School'),new Array('Thomas More Catholic Secondary School (38501-36605)',51.344061,-0.120173,'School'),new Array('St Clement (34809-33706)',51.364237,-0.259048,'ParishChurch'),new Array('St John the Baptist Church (61195-65676)',51.332589,-0.113092,'ParishChurch'),new Array('St Matthias Church (61232-65695)',51.374894,-0.235036,'ParishChurch'),new Array('St Elphege`s Catholic Infants School (38576-36680)',51.356119,-0.127953,'School'),new Array('St Cecilia`s Catholic Primary School (38577-36681)',51.376903,-0.222185,'School'),new Array('St Elphege`s Catholic Junior School (38579-36683)',51.356119,-0.127953,'School'),new Array('St Michael (34753-33678)',51.31254,-0.300809,'ParishChurch'),new Array('St Cecilia Church (61076-65615)',51.38282090000001,-0.2146166,'ParishChurch'),new Array('St Teresa of the Child Jesus Church (61252-65705)',51.388774,-0.181826,'ParishChurch'),new Array('Regina Coeli Catholic Primary School (38494-36598)',51.355893,-0.106116,'School'),new Array('St Dominic Church (61004-65579)',51.360366,-0.107972,'ParishChurch'),new Array('St Teresa`s Catholic Primary School (38550-36654)',51.389698,-0.181689,'School'),new Array('St Gertrude Church (61008-65581)',51.351174,-0.097924,'ParishChurch'),new Array('St Teresa of the Child Jesus (34873-33738)',51.257819,-0.144403,'ParishChurch'),new Array('St Bede`s School (38792-36898)',51.25013,-0.17469,'School'),new Array('St Teresa of the Child Jesus (34873-33752)',51.257819,-0.144403,'ParishChurch'),new Array('St. Peter`s School (33299-33035)',51.302678,-0.317785,'School'),new Array('Richard Challoner Catholic Secondary For Boys School (38523-36627)',51.385144,-0.264406,'School'),new Array('St Francis Catholic Primary School (38765-36871)',51.296686,-0.087941,'School'),new Array('St Catherine of Siena Church (61236-65697)',51.359779,-0.310811,'ParishChurch'),new Array('St Thomas of Canterbury (35007-33825)',51.30838,-0.078761,'Church'),new Array('St Joseph (34901-33752)',51.245598,-0.163235,'ParishChurch'),new Array('St Thomas of Canterbury (36486-34585)',51.30838,-0.078761,'Church'),new Array('St John Fisher RC Primary School (39065-37171)',51.39664,-0.228004,'School'),new Array('The Sacred Heart (34787-33695)',51.2878629,-0.0864322,'ParishChurch'),new Array('The Holy Family (34903-33752)',51.241589,-0.206218,'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';
}
//