strList="
Our Lady Of Dolours Church (0 miles)
Zoom on map | View full information
St. Joseph`s Catholic Junior Hendon School (0.2 miles)
Zoom on map | View full information
St Patrick Church (1 miles)
Zoom on map | View full information
St James` Catholic High School School (1.1 miles)
Zoom on map | View full information
St Margeret Clitherow Church (1.2 miles)
Zoom on map | View full information
St Philip The Apostle Church (1.4 miles)
Zoom on map | View full information
Blessed Dominic Catholic Primary School School (1.4 miles)
Zoom on map | View full information
";
function showResults()
{
document.getElementById("mapList").style.display="block";
}
var records = new Array(new Array('Our Lady Of Dolours Church (40612-38096)',51.588212,-0.226017,'ParishChurch'),new Array('St. Joseph`s Catholic Junior Hendon School (38304-36408)',51.587295,-0.231408,'School'),new Array('St Patrick Church (40614-38097)',51.577441,-0.23993,'ParishChurch'),new Array('St James` Catholic High School School (38306-36410)',51.600791,-0.240934,'School'),new Array('St Margeret Clitherow Church (40560-38070)',51.600915,-0.243759,'ParishChurch'),new Array('St Philip The Apostle Church (40540-38060)',51.598143,-0.198557,'ParishChurch'),new Array('Blessed Dominic Catholic Primary School School (38238-36342)',51.600906,-0.250416,'School'),new Array('St Edward The Confessor Church (40558-38069)',51.576341,-0.196489,'ParishChurch'),new Array('St Sebastian and St Pancras Church (40660-38120)',51.587932,-0.26265,'ParishChurch'),new Array('St Theresa`s Catholic Primary School School (38305-36409)',51.594759,-0.18844,'School'),new Array('Our Lady Of Grace Catholic Infant Dollis Hill School (38277-36381)',51.563478,-0.225724,'School'),new Array('St. Robert Southwell Catholic Primary School School (38314-36418)',51.582519,-0.266942,'School'),new Array('The Annunciation Church (40484-38032)',51.602769,-0.260164,'ParishChurch'),new Array('Annunciation Catholic Infant School School (38237-71453)',51.602769,-0.260164,'School'),new Array('Our Lady Of Grace Catholic Junior Dollis Hill School (38278-36382)',51.561259,-0.233616,'School'),new Array('St Mary And St Andrew Church (40522-38051)',51.561342,-0.234319,'ParishChurch'),new Array('St Agnes` Catholic Primary Cricklewood School (38302-36406)',51.560365,-0.210798,'School'),new Array('Sacred Heart And Mary Immaculate Church (40692-38136)',51.614614,-0.245267,'ParishChurch'),new Array('St Vincent`s Catholic Primary Mill Hill School (38300-36404)',51.617119,-0.22346,'School'),new Array('Bishop Douglass Catholic High School School (38239-36343)',51.593955,-0.178308,'School'),new Array('St Agnes Church (40516-38048)',51.560696,-0.207756,'ParishChurch'),new Array('Annunciation Catholic Junior School School (38236-36340)',51.61182,-0.25807,'School'),new Array('English Martyrs Church (40856-38218)',51.5651,-0.265007,'ParishChurch'),new Array('Our Lady Of Lourdes Catholic Primary Finchley School (38276-36380)',51.604985,-0.178069,'School'),new Array('St Mary`s Church (40542-38061)',51.595397,-0.170959,'ParishChurch'),new Array('St Margaret Clitherow Catholic Primary Neasden School (38311-36415)',51.561766,-0.260907,'School'),new Array('St Anthony Of Padua Church (40528-38054)',51.609509,-0.275749,'ParishChurch'),new Array('St Bernadette`s Catholic Primary School (38365-36469)',51.587772,-0.289073,'School'),new Array('St Alban`s Church (40544-38062)',51.613558,-0.179416,'ParishChurch'),new Array('St Michael`s Catholic Grammar School School (38307-36411)',51.614316,-0.180757,'School'),new Array('St Mary Magdalen`s Catholic Primary School School (38312-36416)',51.548385,-0.229008,'School'),new Array('Convent Of Jesus and Mary Catholic Infants School School (38245-36349)',51.548415,-0.226844,'School'),new Array('St Mary`s Church (40572-38076)',51.556967,-0.18045,'ParishChurch'),new Array('St Patrick`s Church (40702-38141)',51.553044,-0.262148,'ParishChurch'),new Array('All Saints Church (40654-38117)',51.5863312,-0.2943439,'ParishChurch'),new Array('Finchley Catholic High School School (38256-36360)',51.622834,-0.180937,'School'),new Array('St Mary Magdalen Church (40874-38227)',51.543978,-0.231949,'ParishChurch'),new Array('St Anthony`s Primary School (39072-37178)',51.553397,-0.175861,'School'),new Array('St Erconwald Church (40858-38219)',51.569757,-0.293155,'ParishChurch'),new Array('St. Joseph`s Catholic Primary Willesden School (38308-36412)',51.544244,-0.250932,'School'),new Array('St Anthony`s Preparatory Boys School School (38323-36427)',51.552277,-0.178993,'School'),new Array('St Gregory`s Catholic Science College School (38315-36419)',51.582295,-0.302688,'School'),new Array('Our Lady Of Muswell Catholic Primary School School (38286-36390)',51.594424,-0.149616,'School'),new Array('St Mary`s Preparatory School School (38321-36425)',51.550815,-0.176311,'School'),new Array('St Thomas More Church (40810-38195)',51.54736,-0.177386,'ParishChurch'),new Array('Our Lady Of Muswell Church (40700-38140)',51.594137,-0.145152,'ParishChurch'),new Array('St Eugene De Mazenod Catholic Primary School School (38316-36420)',51.541086,-0.193803,'School'),new Array('The Five Precious Wounds Church (40802-38191)',51.542259,-0.259545,'ParishChurch'),new Array('Rosary Primary Catholic Camden School (38296-36400)',51.551617,-0.166081,'School'),new Array('St Joseph Church (40854-38217)',51.552976,-0.286932,'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';
}
//