strList="
St Joseph Church (0 miles)
Zoom on map | View full information
Salvatorian College School (0.1 miles)
Zoom on map | View full information
Sacred Heart Language College School (0.2 miles)
Zoom on map | View full information
St Teresa`s First & Middle Catholic Harrow School (0.7 miles)
Zoom on map | View full information
St Joseph`s Catholic Primary Harrow School (0.7 miles)
Zoom on map | View full information
St Teresa Of The Child Jesus Church (0.9 miles)
Zoom on map | View full information
St John Fisher Primary School (1.6 miles)
Zoom on map | View full information
";
function showResults()
{
document.getElementById("mapList").style.display="block";
}
var records = new Array(new Array('St Joseph Church (40846-38213)',51.6013919,-0.3387454,'ParishChurch'),new Array('Salvatorian College School (38371-36475)',51.599974,-0.339152,'School'),new Array('Sacred Heart Language College School (38370-36474)',51.599501,-0.336209,'School'),new Array('St Teresa`s First and Middle Catholic Harrow School (38369-36473)',51.604223,-0.35543,'School'),new Array('St Joseph`s Catholic Primary Harrow School (38368-36472)',51.599197,-0.321781,'School'),new Array('St Teresa Of The Child Jesus Church (40602-38091)',51.608817,-0.357315,'ParishChurch'),new Array('St John Fisher Primary School (38367-36471)',51.589755,-0.370923,'School'),new Array('Our Lady And St Thomas Of Canterbury Church (40592-38086)',51.575951,-0.3401,'ParishChurch'),new Array('St William Of York Church (40790-38185)',51.614034,-0.303021,'ParishChurch'),new Array('St. Anselm`s Catholic Primary Harrow School (38364-36468)',51.575951,-0.3401,'School'),new Array('St John Fisher Church (40586-38083)',51.580521,-0.367746,'ParishChurch'),new Array('St Luke Church (40732-38156)',51.596637,-0.383526,'ParishChurch'),new Array('St Gregory`s Catholic Science College School (38315-36419)',51.582295,-0.302688,'School'),new Array('All Saints Church (40654-38117)',51.5863312,-0.2943439,'ParishChurch'),new Array('St Bernadette`s Catholic Primary School (38365-36469)',51.587772,-0.289073,'School'),new Array('St Dominic`s Sixth Form College School (38372-36476)',51.566369,-0.341589,'School'),new Array('St George`s Catholic Primary School (38366-36470)',51.562265,-0.331812,'School'),new Array('St Anthony Of Padua Church (40528-38054)',51.609509,-0.275749,'ParishChurch'),new Array('St Erconwald Church (40858-38219)',51.569757,-0.293155,'ParishChurch'),new Array('St Joseph`s Church (40490-38035)',51.625285,-0.393936,'ParishChurch'),new Array('St Gabriel`s Church (40590-38085)',51.560595,-0.358764,'ParishChurch'),new Array('St Thomas More Church (40526-38053)',51.583606,-0.401179,'ParishChurch'),new Array('St George Church (40806-38193)',51.558983,-0.325527,'ParishChurch'),new Array('St Joseph`s Catholic Primary School (38406-36510)',51.62724,-0.396872,'School'),new Array('The Sacred Heart Of Jesus And St John The Evangelist Church (40486-38033)',51.645118,-0.36956,'ParishChurch'),new Array('Sacred Heart Catholic Primary School (38407-36511)',51.644088,-0.371144,'School'),new Array('St Swithun Wells` Catholic Primary School (38410-36514)',51.564158,-0.392065,'School'),new Array('St Sebastian and St Pancras Church (40660-38120)',51.587932,-0.26265,'ParishChurch'),new Array('Annunciation Catholic Infant School School (38237-71453)',51.602769,-0.260164,'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 Junior School School (38236-36340)',51.61182,-0.25807,'School'),new Array('St Matthew Church (40710-38145)',51.610125,-0.421868,'ParishChurch'),new Array('Most Sacred Heart Church (40756-38168)',51.573607,-0.41573,'ParishChurch'),new Array('Blessed Dominic Catholic Primary School School (38238-36342)',51.600906,-0.250416,'School'),new Array('St Gregory The Great Church (40758-38169)',51.560246,-0.399286,'ParishChurch'),new Array('St Joseph Church (40854-38217)',51.552976,-0.286932,'ParishChurch'),new Array('English Martyrs Church (40856-38218)',51.5651,-0.265007,'ParishChurch'),new Array('St. Joseph`s Catholic Infant Wembley School (38310-36414)',51.551819,-0.287711,'School'),new Array('St. Joseph`s Catholic Junior Wembley School (38309-36413)',51.552386,-0.28655,'School'),new Array('Sacred Heart And Mary Immaculate Church (40692-38136)',51.614614,-0.245267,'ParishChurch'),new Array('St Margeret Clitherow Church (40560-38070)',51.600915,-0.243759,'ParishChurch'),new Array('St James` Catholic High School School (38306-36410)',51.600791,-0.240934,'School'),new Array('St Margaret Clitherow Catholic Primary Neasden School (38311-36415)',51.561766,-0.260907,'School'),new Array('Sacred Heart Catholic Primary School (38411-36515)',51.567632,-0.425417,'School'),new Array('St John Fisher Catholic Primary Perivale School (38331-36435)',51.537933,-0.311808,'School'),new Array('Holy Rood Church (40842-38211)',51.655014,-0.398653,'ParishChurch'),new Array('St Patrick Church (40614-38097)',51.577441,-0.23993,'ParishChurch'),new Array('St Patrick`s Church (40702-38141)',51.553044,-0.262148,'ParishChurch'),new Array('St. Joseph`s Catholic Junior Hendon School (38304-36408)',51.587295,-0.231408,'School'));
// 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';
}
//