strList="
All Saints Church (0 miles)
Zoom on map | View full information
St Bernadette`s Catholic Primary School (0.2 miles)
Zoom on map | View full information
St Gregory`s Catholic Science College School (0.5 miles)
Zoom on map | View full information
St Erconwald Church (1.1 miles)
Zoom on map | View full information
St. Robert Southwell Catholic Primary School School (1.2 miles)
Zoom on map | View full information
St Sebastian and St Pancras Church (1.4 miles)
Zoom on map | View full information
St Joseph`s Catholic Primary Harrow School (1.5 miles)
Zoom on map | View full information
";
function showResults()
{
document.getElementById("mapList").style.display="block";
}
var records = new Array(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 Gregory`s Catholic Science College School (38315-36419)',51.582295,-0.302688,'School'),new Array('St Erconwald Church (40858-38219)',51.569757,-0.293155,'ParishChurch'),new Array('St. Robert Southwell Catholic Primary School School (38314-36418)',51.582519,-0.266942,'School'),new Array('St Sebastian and St Pancras Church (40660-38120)',51.587932,-0.26265,'ParishChurch'),new Array('St Joseph`s Catholic Primary Harrow School (38368-36472)',51.599197,-0.321781,'School'),new Array('St Anthony Of Padua Church (40528-38054)',51.609509,-0.275749,'ParishChurch'),new Array('The Annunciation Church (40484-38032)',51.602769,-0.260164,'ParishChurch'),new Array('English Martyrs Church (40856-38218)',51.5651,-0.265007,'ParishChurch'),new Array('Annunciation Catholic Infant School School (38237-71453)',51.602769,-0.260164,'School'),new Array('St William Of York Church (40790-38185)',51.614034,-0.303021,'ParishChurch'),new Array('Sacred Heart Language College School (38370-36474)',51.599501,-0.336209,'School'),new Array('Blessed Dominic Catholic Primary School School (38238-36342)',51.600906,-0.250416,'School'),new Array('St. Anselm`s Catholic Primary Harrow School (38364-36468)',51.575951,-0.3401,'School'),new Array('Salvatorian College School (38371-36475)',51.599974,-0.339152,'School'),new Array('Our Lady And St Thomas Of Canterbury Church (40592-38086)',51.575951,-0.3401,'ParishChurch'),new Array('St Margaret Clitherow Catholic Primary Neasden School (38311-36415)',51.561766,-0.260907,'School'),new Array('St Joseph Church (40846-38213)',51.6013919,-0.3387454,'ParishChurch'),new Array('St Joseph Church (40854-38217)',51.552976,-0.286932,'ParishChurch'),new Array('St George`s Catholic Primary School (38366-36470)',51.562265,-0.331812,'School'),new Array('St George Church (40806-38193)',51.558983,-0.325527,'ParishChurch'),new Array('St Patrick Church (40614-38097)',51.577441,-0.23993,'ParishChurch'),new Array('St. Joseph`s Catholic Junior Wembley School (38309-36413)',51.552386,-0.28655,'School'),new Array('Annunciation Catholic Junior School School (38236-36340)',51.61182,-0.25807,'School'),new Array('St. Joseph`s Catholic Infant Wembley School (38310-36414)',51.551819,-0.287711,'School'),new Array('St Margeret Clitherow Church (40560-38070)',51.600915,-0.243759,'ParishChurch'),new Array('St Dominic`s Sixth Form College School (38372-36476)',51.566369,-0.341589,'School'),new Array('St James` Catholic High School School (38306-36410)',51.600791,-0.240934,'School'),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'),new Array('St Teresa`s First and Middle Catholic Harrow School (38369-36473)',51.604223,-0.35543,'School'),new Array('Our Lady Of Dolours Church (40612-38096)',51.588212,-0.226017,'ParishChurch'),new Array('Sacred Heart And Mary Immaculate Church (40692-38136)',51.614614,-0.245267,'ParishChurch'),new Array('St Mary And St Andrew Church (40522-38051)',51.561342,-0.234319,'ParishChurch'),new Array('Our Lady Of Grace Catholic Junior Dollis Hill School (38278-36382)',51.561259,-0.233616,'School'),new Array('St Teresa Of The Child Jesus Church (40602-38091)',51.608817,-0.357315,'ParishChurch'),new Array('St John Fisher Church (40586-38083)',51.580521,-0.367746,'ParishChurch'),new Array('Our Lady Of Grace Catholic Infant Dollis Hill School (38277-36381)',51.563478,-0.225724,'School'),new Array('St Gabriel`s Church (40590-38085)',51.560595,-0.358764,'ParishChurch'),new Array('St John Fisher Primary School (38367-36471)',51.589755,-0.370923,'School'),new Array('Our Lady Of Lourdes Catholic Primary Willesden School (38279-36383)',51.540767,-0.265024,'School'),new Array('The Five Precious Wounds Church (40802-38191)',51.542259,-0.259545,'ParishChurch'),new Array('St John Fisher Catholic Primary Perivale School (38331-36435)',51.537933,-0.311808,'School'),new Array('St. Joseph`s Catholic Primary Willesden School (38308-36412)',51.544244,-0.250932,'School'),new Array('St Vincent`s Catholic Primary Mill Hill School (38300-36404)',51.617119,-0.22346,'School'),new Array('St John Fisher Catholic Primary School (39080-37186)',51.533255,-0.314172,'School'),new Array('St John Fisher Church (40728-38154)',51.532548,-0.311921,'ParishChurch'),new Array('St Mary Magdalen`s Catholic Primary School School (38312-36416)',51.548385,-0.229008,'School'),new Array('St Luke Church (40732-38156)',51.596637,-0.383526,'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';
}
//