strList="
English Martyrs Church (0 miles)
Zoom on map | View full information
St Margaret Clitherow Catholic Primary Neasden School (0.3 miles)
Zoom on map | View full information
St Patrick`s Church (0.8 miles)
Zoom on map | View full information
St. Robert Southwell Catholic Primary School School (1.2 miles)
Zoom on map | View full information
St. Joseph`s Catholic Junior Wembley School (1.3 miles)
Zoom on map | View full information
St Joseph Church (1.3 miles)
Zoom on map | View full information
St. Joseph`s Catholic Infant Wembley School (1.3 miles)
Zoom on map | View full information
";
function showResults()
{
document.getElementById("mapList").style.display="block";
}
var records = new Array(new Array('English Martyrs Church (40856-38218)',51.5651,-0.265007,'ParishChurch'),new Array('St Margaret Clitherow Catholic Primary Neasden School (38311-36415)',51.561766,-0.260907,'School'),new Array('St Patrick`s Church (40702-38141)',51.553044,-0.262148,'ParishChurch'),new Array('St. Robert Southwell Catholic Primary School School (38314-36418)',51.582519,-0.266942,'School'),new Array('St. Joseph`s Catholic Junior Wembley School (38309-36413)',51.552386,-0.28655,'School'),new Array('St Joseph Church (40854-38217)',51.552976,-0.286932,'ParishChurch'),new Array('St. Joseph`s Catholic Infant Wembley School (38310-36414)',51.551819,-0.287711,'School'),new Array('St Mary And St Andrew Church (40522-38051)',51.561342,-0.234319,'ParishChurch'),new Array('St Erconwald Church (40858-38219)',51.569757,-0.293155,'ParishChurch'),new Array('Our Lady Of Grace Catholic Junior Dollis Hill School (38278-36382)',51.561259,-0.233616,'School'),new Array('St Patrick Church (40614-38097)',51.577441,-0.23993,'ParishChurch'),new Array('St. Joseph`s Catholic Primary Willesden School (38308-36412)',51.544244,-0.250932,'School'),new Array('The Five Precious Wounds Church (40802-38191)',51.542259,-0.259545,'ParishChurch'),new Array('St Sebastian and St Pancras Church (40660-38120)',51.587932,-0.26265,'ParishChurch'),new Array('Our Lady Of Grace Catholic Infant Dollis Hill School (38277-36381)',51.563478,-0.225724,'School'),new Array('Our Lady Of Lourdes Catholic Primary Willesden School (38279-36383)',51.540767,-0.265024,'School'),new Array('St Bernadette`s Catholic Primary School (38365-36469)',51.587772,-0.289073,'School'),new Array('St Mary Magdalen`s Catholic Primary School School (38312-36416)',51.548385,-0.229008,'School'),new Array('All Saints Church (40654-38117)',51.5863312,-0.2943439,'ParishChurch'),new Array('St Gregory`s Catholic Science College School (38315-36419)',51.582295,-0.302688,'School'),new Array('Convent Of Jesus and Mary Catholic Infants School School (38245-36349)',51.548415,-0.226844,'School'),new Array('St Mary Magdalen Church (40874-38227)',51.543978,-0.231949,'ParishChurch'),new Array('Our Lady Of Willesden Church (40872-38226)',51.537482,-0.250297,'ParishChurch'),new Array('Convent Of Jesus and Mary Language College School (38247-36351)',51.538335,-0.246616,'School'),new Array('St. Joseph`s Catholic Junior Hendon School (38304-36408)',51.587295,-0.231408,'School'),new Array('Our Lady Of Dolours Church (40612-38096)',51.588212,-0.226017,'ParishChurch'),new Array('St Agnes` Catholic Primary Cricklewood School (38302-36406)',51.560365,-0.210798,'School'),new Array('St Agnes Church (40516-38048)',51.560696,-0.207756,'ParishChurch'),new Array('St George Church (40806-38193)',51.558983,-0.325527,'ParishChurch'),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('St Margeret Clitherow Church (40560-38070)',51.600915,-0.243759,'ParishChurch'),new Array('Blessed Dominic Catholic Primary School School (38238-36342)',51.600906,-0.250416,'School'),new Array('St James` Catholic High School School (38306-36410)',51.600791,-0.240934,'School'),new Array('St John Fisher Catholic Primary Perivale School (38331-36435)',51.537933,-0.311808,'School'),new Array('Church Of The Transfiguration Church (40646-38113)',51.535908,-0.219212,'ParishChurch'),new Array('St George`s Catholic Primary School (38366-36470)',51.562265,-0.331812,'School'),new Array('St Edward The Confessor Church (40558-38069)',51.576341,-0.196489,'ParishChurch'),new Array('St John Fisher Church (40728-38154)',51.532548,-0.311921,'ParishChurch'),new Array('St Anthony Of Padua Church (40528-38054)',51.609509,-0.275749,'ParishChurch'),new Array('St John Fisher Catholic Primary School (39080-37186)',51.533255,-0.314172,'School'),new Array('The Holy Family Church (40452-38016)',51.520978,-0.283001,'ParishChurch'),new Array('St Augustine`s Priory School School (38338-36442)',51.523823,-0.294916,'School'),new Array('Annunciation Catholic Junior School School (38236-36340)',51.61182,-0.25807,'School'),new Array('St. Anselm`s Catholic Primary Harrow School (38364-36468)',51.575951,-0.3401,'School'),new Array('St Dominic`s Sixth Form College School (38372-36476)',51.566369,-0.341589,'School'),new Array('Our Lady And St Thomas Of Canterbury Church (40592-38086)',51.575951,-0.3401,'ParishChurch'),new Array('St Gregory`s Catholic Primary Ealing School (38335-36439)',51.5241,-0.307822,'School'),new Array('St Joseph`s Catholic Primary Harrow School (38368-36472)',51.599197,-0.321781,'School'),new Array('St Benedict`s School (39081-37187)',51.520918,-0.306686,'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';
}
//