strList="
St Michael`s (0 miles)
Zoom on map | View full information
St Mark`s Church And Community Centre (0.5 miles)
Zoom on map | View full information
St Michael Church (0.7 miles)
Zoom on map | View full information
St Michael`s Catholic Primary School (0.7 miles)
Zoom on map | View full information
St Joseph`s (1.1 miles)
Zoom on map | View full information
St Mary and St Edward with St John (1.4 miles)
Zoom on map | View full information
St Mary And St Ethelburga Church (1.4 miles)
Zoom on map | View full information
";
function showResults()
{
document.getElementById("mapList").style.display="block";
}
var records = new Array(new Array('St Michael`s (36556-34655)',51.520247,0.064571,'School'),new Array('St Mark`s Church And Community Centre (39224-37371)',51.515546,0.056418,'ParishChurch'),new Array('St Michael Church (39292-37382)',51.529616,0.0576,'ParishChurch'),new Array('St Michael`s Catholic Primary School (39123-37229)',51.530275,0.057976,'School'),new Array('St Joseph`s (36537-34636)',51.534481,0.077011,'School'),new Array('St Mary and St Edward with St John (39396-37371)',51.5008007,0.0583314,'ParishChurch'),new Array('St Mary And St Ethelburga Church (39214-37323)',51.538938,0.078743,'ParishChurch'),new Array('Our Lady Of Compassion Church (39430-37470)',51.53285,0.037228,'ParishChurch'),new Array('St Edward`s (36560-34659)',51.53285,0.037228,'School'),new Array('St Joachim`s (36555-34654)',51.511764,0.030854,'School'),new Array('St Anne Church (39276-37371)',51.511059,0.029526,'ParishChurch'),new Array('St Helen`s (36554-34653)',51.523711,0.018657,'School'),new Array('St Winefride`s (36558-34657)',51.54855,0.057921,'School'),new Array('St Antony Of Padua Church (39300-37388)',51.539183,0.026205,'ParishChurch'),new Array('St Angela`s Ursuline Rc School (38821-36927)',51.5421,0.029652,'School'),new Array('St Stephen Church (39374-37437)',51.5498985,0.059452800000031,'ParishChurch'),new Array('St Bonaventure`s Comprehensive School (36561-34660)',51.538638,0.02546,'School'),new Array('St Antony`s RC Primary School (38820-36926)',51.540942,0.024322,'School'),new Array('St Peter the Apostle Church (61118-65636)',51.488446,0.066924,'ParishChurch'),new Array('St Catherine Laboure Church (65143-65636)',51.491428,0.042973,'Church'),new Array('St Peter`s Catholic Primary School (38515-36619)',51.486613,0.068829,'School'),new Array('St Mary And St Erconwald Church (39352-37323)',51.553311,0.073527,'ParishChurch'),new Array('St Paul Church (61140-65647)',51.50529,0.111809,'ParishChurch'),new Array('St Margaret And All Saints Church (39240-37339)',51.516464,0.00914,'ParishChurch'),new Array('St Patrick`s Catholic Primary School (38512-36616)',51.488407,0.08536,'School'),new Array('St Patrick Church (61112-65633)',51.487456,0.088226,'ParishChurch'),new Array('St Margaret Clitherow Catholic Primary School (38514-36618)',51.501138,0.113116,'School'),new Array('St Thomas A Becket Catholic Primary School (38506-36610)',51.491733,0.104023,'School'),new Array('St David Church (60921-65534)',51.493366,0.105784,'ParishChurch'),new Array('St Angela`s Ursuline Convent School (36562-34661)',51.551809,0.029373,'School'),new Array('Notre Dame Catholic Primary School (38513-36617)',51.480271,0.06592,'School'),new Array('SS Peter and Paul`s (36567-34666)',51.558132,0.087163,'School'),new Array('St Thomas More Church (39216-37377)',51.550777,0.107223,'ParishChurch'),new Array('Queen Elizabeth Hospital Chapel (65142-65546)',51.479073,0.051148,'Other'),new Array('Ilford Ursuline High School (36572-34671)',51.56257,0.070125,'School'),new Array('St Anne Church (39282-37377)',51.538529,0.125158,'ParishChurch'),new Array('Ss Peter And Paul Church (39348-37420)',51.560744,0.083387,'ParishChurch'),new Array('Ilford Ursuline Preparatory School (36565-34664)',51.563449,0.069241,'School'),new Array('St Joseph Church (61116-65635)',51.476332,0.063338,'ParishChurch'),new Array('The Holy Cross Church (61114-65634)',51.479879,0.088557,'ParishChurch'),new Array('St Francis Of Assisi Church (39418-37461)',51.544154,0.002745,'ParishChurch'),new Array('St Benet Church (60919-65533)',51.490492,0.11706,'ParishChurch'),new Array('St Francis (36559-34658)',51.547479,0.007074,'School'),new Array('Our Lady Of Grace Catholic Primary School (38507-36611)',51.479662,0.026634,'School'),new Array('St John Fisher Church (61228-65693)',51.498352,0.12996,'ParishChurch'),new Array('St Paul`s Academy School (38518-36622)',51.480274,0.10364,'School'),new Array('Our Lady of Grace Church (60935-65542)',51.479662,0.026634,'ParishChurch'),new Array('St John The Baptist Church (39350-37423)',51.566371,0.05444,'ParishChurch'),new Array('The St Teresa (36539-34638)',51.55071,0.124356,'School'),new Array('Canon Palmer Comprehensive School (36571-34670)',51.565299,0.092181,'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';
}
//