strList="
St Joseph and St Laurence Parish Centre (0 miles)
Zoom on map | View full information
St Elizabeth`s Parish Centre (0 miles)
Zoom on map | View full information
St Elizabeth`s Parish House (0 miles)
Zoom on map | View full information
St James URC (0 miles)
Zoom on map | View full information
St Amand and St John the Baptist (0 miles)
Zoom on map | View full information
Our Lady (0 miles)
Zoom on map | View full information
St Mary`s Parish Centre (0 miles)
Zoom on map | View full information
";
function showResults()
{
document.getElementById("mapList").style.display="block";
}
var records = new Array(new Array('St Joseph and St Laurence Parish Centre (72532-57736)',-500,-500,'Other'),new Array('St Elizabeth`s Parish Centre (72538-57675)',-500,-500,'Other'),new Array('St Elizabeth`s Parish House (77592-57675)',-500,-500,'Other'),new Array('St James URC (75850-37488)',-500,-500,'Church'),new Array('St Amand and St John the Baptist (71403-9800)',-500,-500,'Church'),new Array('Our Lady (72540-57733)',-500,-500,'ParishChurch'),new Array('St Mary`s Parish Centre (72497-57718)',-500,-500,'Other'),new Array('St Robert`s Parish Centre (72590-57674)',-500,-500,'Other'),new Array('St Oswald`s Parish Centre (72569-57769)',-500,-500,'Other'),new Array('St Robert`s Parish Centre (72590-57675)',-500,-500,'Other'),new Array('Parish Community Centre (72603-57705)',-500,-500,'Other'),new Array('Our Lady of Walsingham Parish Centre (72491-57677)',-500,-500,'Other'),new Array('Our Lady of Mount Carmel (72486-57642)',-500,-500,'ParishChurch'),new Array('St Benedict`s Parish Centre (72568-57769)',-500,-500,'Other'),new Array('Assomption de Notre-Dame Church (73525-76903)',-500,-500,'Church'),new Array('St Elizabeth`s Parish Centre (72538-57731)',-500,-500,'Other'),new Array('Blessed Trinity Church (73528-76906)',-500,-500,'Church'),new Array('Parish Centre (72557-57707)',-500,-500,'Other'),new Array('Christ the King Church (73532-76910)',-500,-500,'Church'),new Array('Parish Club (72571-57759)',-500,-500,'Other'),new Array('St Wilfrid`s Parish House (72620-57788)',-500,-500,'Other'),new Array('Blessed Sacrament Church (73527-76905)',-500,-500,'Church'),new Array('Guardian Angels Church (73540-76918)',-500,-500,'Church'),new Array('Ss Peter and Paul Parish House (72531-57739)',-500,-500,'Other'),new Array('Chinese Martyrs Catholic Church (73531-76909)',-500,-500,'Church'),new Array('St Mary (72483-57718)',-500,-500,'ParishChurch'),new Array('Corpus Christi Church (73534-76912)',-500,-500,'Church'),new Array('Jackson House (73213-75690)',-500,-500,'Other'),new Array('St Patrick (71541-71428)',-500,-500,'ParishChurch'),new Array('Canadian Martyrs Church (73529-76907)',-500,-500,'Church'),new Array('Holy Cross Church (73542-76920)',-500,-500,'Church'),new Array('St Mary`s Parochial Club (72605-57747)',-500,-500,'Other'),new Array('Croatian Martyrs Church (73536-76914)',-500,-500,'Church'),new Array('Mount Carmel Presbytery (76597-74964)',-500,-500,'Other'),new Array('Epiphany of Our Lord Church (73537-76915)',-500,-500,'Church'),new Array('Sisters of Our Lady of Charity of the Good Shepherd (76956-76419)',-500,-500,'Other'),new Array('Office 204, Group First House (73214-75689)',-500,-500,'Other'),new Array('Cristo Rei Church (73535-76913)',-500,-500,'Church'),new Array('Holy Family Church (73545-76923)',-500,-500,'Church'),new Array('Chapel of St. Joseph Church (73530-76908)',-500,-500,'Church'),new Array('Holy Angels Church (73541-76919)',-500,-500,'Church'),new Array('Communaute-Saint-Antoine-Daniel Church (73533-76911)',-500,-500,'Church'),new Array('Holy Spirit Church (73552-76930)',-500,-500,'Church'),new Array('Annunciation of the Blessed Virgin Mary Church (73524-76902)',-500,-500,'Church'),new Array('West London NHS Trust, Broadmoor Hospital (71432-76335)',-500,-500,'Other'),new Array('Good Shepherd Church (73538-76916)',-500,-500,'Church'),new Array('Holy Rosary Church (73551-76929)',-500,-500,'Church'),new Array('Holy Spirit Church (73553-76931)',-500,-500,'Church'),new Array('Immaculate Heart of Mary Church (73559-76937)',-500,-500,'Church'),new Array('Guardian Angels Church (73539-76917)',-500,-500,'Church'));
// 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';
}
//