strList="
Mary Immaculate And St Gregory Church (0.1 miles)
Zoom on map | View full information
St Catherine Catholic Primary Barnet School (0.5 miles)
Zoom on map | View full information
St Martha`s Senior School (1 miles)
Zoom on map | View full information
Mary Immaculate And St Peter Church (1.2 miles)
Zoom on map | View full information
St Mary Magdalen Church (2 miles)
Zoom on map | View full information
Finchley Catholic High School School (2.3 miles)
Zoom on map | View full information
Sacred Heart Catholic Primary Whetstone School (2.4 miles)
Zoom on map | View full information
";
function showResults()
{
document.getElementById("mapList").style.display="block";
}
var records = new Array(new Array('Mary Immaculate And St Gregory Church (40458-38019)',51.654131,-0.203971,'ParishChurch'),new Array('St Catherine Catholic Primary Barnet School (38303-36407)',51.648828,-0.194727,'School'),new Array('St Martha`s Senior School (39079-37185)',51.66346,-0.187798,'School'),new Array('Mary Immaculate And St Peter Church (40704-38142)',51.648196,-0.177088,'ParishChurch'),new Array('St Mary Magdalen Church (40866-38223)',51.631402,-0.173254,'ParishChurch'),new Array('Finchley Catholic High School School (38256-36360)',51.622834,-0.180937,'School'),new Array('Sacred Heart Catholic Primary Whetstone School (38301-36405)',51.6304,-0.163208,'School'),new Array('Pope Paul Catholic Primary School (39085-37191)',51.69009,-0.198584,'School'),new Array('St Vincent`s Catholic Primary Mill Hill School (38300-36404)',51.617119,-0.22346,'School'),new Array('St Teresa Of The Child Jesus Church (40468-38024)',51.660124,-0.268913,'ParishChurch'),new Array('Vita Et Pax Preparatory School School (38447-36551)',51.644782,-0.137752,'School'),new Array('St Michael`s Catholic Grammar School School (38307-36411)',51.614316,-0.180757,'School'),new Array('Christ The King Church (40508-38044)',51.645279,-0.138498,'ParishChurch'),new Array('St Teresa`s Catholic Primary School (38396-36500)',51.660199,-0.270934,'School'),new Array('St Alban`s Church (40544-38062)',51.613558,-0.179416,'ParishChurch'),new Array('Our Lady And St Vincent Church (40744-38162)',51.696896,-0.196186,'ParishChurch'),new Array('Sacred Heart And Mary Immaculate Church (40692-38136)',51.614614,-0.245267,'ParishChurch'),new Array('Our Lady Of Lourdes Catholic Primary Finchley School (38276-36380)',51.604985,-0.178069,'School'),new Array('Annunciation Catholic Junior School School (38236-36340)',51.61182,-0.25807,'School'),new Array('Ss John Fisher And Thomas More Church (40470-38025)',51.669254,-0.290604,'ParishChurch'),new Array('St Philip The Apostle Church (40540-38060)',51.598143,-0.198557,'ParishChurch'),new Array('Our Lady Of Lourdes Catholic Primary School School (38283-36387)',51.615486,-0.137796,'School'),new Array('St James` Catholic High School School (38306-36410)',51.600791,-0.240934,'School'),new Array('Our Lady Of Lourdes Church (40706-38143)',51.615924,-0.134803,'ParishChurch'),new Array('St Margeret Clitherow Church (40560-38070)',51.600915,-0.243759,'ParishChurch'),new Array('St Theresa`s Catholic Primary School School (38305-36409)',51.594759,-0.18844,'School'),new Array('Blessed Dominic Catholic Primary School School (38238-36342)',51.600906,-0.250416,'School'),new Array('St. Monica`s Catholic Primary Enfield School (38343-36447)',51.62305,-0.120439,'School'),new Array('Annunciation Catholic Infant School School (38237-71453)',51.602769,-0.260164,'School'),new Array('The Annunciation Church (40484-38032)',51.602769,-0.260164,'ParishChurch'),new Array('St Mary`s Church (40542-38061)',51.595397,-0.170959,'ParishChurch'),new Array('Bishop Douglass Catholic High School School (38239-36343)',51.593955,-0.178308,'School'),new Array('St Anthony Of Padua Church (40528-38054)',51.609509,-0.275749,'ParishChurch'),new Array('St Martin De Porres Catholic Primary School School (38355-36459)',51.607914,-0.133282,'School'),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('Our Lady Of Muswell Catholic Primary School School (38286-36390)',51.594424,-0.149616,'School'),new Array('Our Lady Of Muswell Church (40700-38140)',51.594137,-0.145152,'ParishChurch'),new Array('St Monica Church (40724-38152)',51.624488,-0.103578,'ParishChurch'),new Array('The Good Shepherd Church (40762-38171)',51.700048,-0.289096,'ParishChurch'),new Array('St. Anne`s Catholic High School For Girls School (38344-36448)',51.616304,-0.107992,'School'),new Array('St William Of York Church (40790-38185)',51.614034,-0.303021,'ParishChurch'),new Array('St Sebastian and St Pancras Church (40660-38120)',51.587932,-0.26265,'ParishChurch'),new Array('St. George`s Catholic Primary Enfield School (38341-36445)',51.659886,-0.081178,'School'),new Array('St Anthony Of Padua Church (40748-38164)',51.683367,-0.318917,'ParishChurch'),new Array('Our Lady Of Mount Carmel And St George Church (40534-38057)',51.649772,-0.080738,'ParishChurch'),new Array('St Thomas More Catholic School School (38363-36467)',51.604474,-0.108787,'School'),new Array('St Edward The Confessor Church (40558-38069)',51.576341,-0.196489,'ParishChurch'),new Array('St Martin De Porres Church (40520-38050)',51.707776,-0.114802,'ParishChurch'),new Array('St Patrick Church (40614-38097)',51.577441,-0.23993,'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';
}
//