strList="
Our Lady Of Mount Carmel Church (0.3 miles)
Zoom on map | View full information
Attleborough Methodist Church Church (3.8 miles)
Zoom on map | View full information
The Catholic Church of Sir Henry Morse (6.9 miles)
Zoom on map | View full information
Our Lady & St Thomas Of Canterbury Church (9.8 miles)
Zoom on map | View full information
Wayland Attleborough (10.6 miles)
Zoom on map | View full information
Watton Methodist Church Church (10.8 miles)
Zoom on map | View full information
St. Mary Church (10.8 miles)
Zoom on map | View full information
";
function showResults()
{
document.getElementById("mapList").style.display="block";
}
var records = new Array(new Array('Our Lady Of Mount Carmel Church (42701-45195)',52.448794,0.983193,'ParishChurch'),new Array('Attleborough Methodist Church Church (42655-45169)',52.506867,0.995807,'ParishChurch'),new Array('The Catholic Church of Sir Henry Morse (42673-45178)',52.3826476,1.10604920000003,'ParishChurch'),new Array('Our Lady and St Thomas Of Canterbury Church (42717-45206)',52.570973,1.116147,'ParishChurch'),new Array('Wayland Attleborough (36979-35079)',52.567054,0.82411,'School'),new Array('Watton Methodist Church Church (43763-45197)',52.5712711,0.8251027,'Other'),new Array('St. Mary Church (42707-45199)',52.411127,0.743223,'ParishChurch'),new Array('Holy Apostles Church (43730-45160)',52.613969,0.886402,'Church'),new Array('St Thomas More Church (42683-45183)',52.403123,1.305306,'ParishChurch'),new Array('Our Lady Of Consolation and St. Stephen Church (42693-45189)',52.514472,0.680823,'ParishChurch'),new Array('St Thomas More Church (43749-45212)',52.403123,1.305306,'ParishChurch'),new Array('Norfolk and Norwich University Hospital (36939-35039)',52.618086,1.221067,'Other'),new Array('Sisters of Our Lady of Grace and Compassion (36920-45213)',52.267749,0.771957,'Other'),new Array('Sisters of Our Lady of Grace and Compassion (36920-35020)',52.267749,0.771957,'Other'),new Array('St Thomas Of Canterbury Church (42725-45210)',52.455206,0.618076,'ParishChurch'),new Array('Sacred Heart and St Margaret Mary Church (42669-45176)',52.677848,0.942118,'ParishChurch'),new Array('University Of East Anglia Chaplaincy Church (42651-45167)',52.62237,1.241391,'ParishChurch'),new Array('University of East Anglia Chaplaincy (65967-45167)',52.62237,1.241391,'Other'),new Array('Holy Apostles Church (42645-45163)',52.631785,1.240772,'ParishChurch'),new Array('St. Mary C of E Church (42783-45244)',52.224769,0.888656,'Other'),new Array('St Mary`s C of E Church (43799-45241)',52.224769,0.888656,'Other'),new Array('Norwich Community Hospital (36993-35093)',52.62058,1.268198,'Other'),new Array('Colman Hospital (Priscilla Bacon Lodge) (36940-35040)',52.62058,1.268198,'Other'),new Array('St Thomas More Catholic Junior School (36905-35005)',52.623952,1.265627,'School'),new Array('St Augustine`s Catholic Primary School (36904-35004)',52.657243,1.207175,'School'),new Array('Julian Hospital (36994-35094)',52.633018,1.263006,'Other'),new Array('Our Lady and St Walstan Church (42665-45174)',52.658916,1.210463,'ParishChurch'),new Array('Cathedral Church Of St. John The Baptist (42640-45160)',52.626409,1.279691,'Cathedral'),new Array('St John`s Catholic Infant School (36903-35003)',52.631599,1.277903,'School'),new Array('Our Lady Of The Annunciation Church (42699-45194)',52.570194,1.356348,'ParishChurch'),new Array('Notre Dame Preparatory School (3-11) (36907-35007)',52.634122,1.277072,'School'),new Array('Diocesan Offices (4788-868)',52.57023909999999,1.3563362,'Other'),new Array('Notre Dame Catholic High School (36906-35006)',52.622866,1.296669,'School'),new Array('Sisters of the Assumption (36922-35022)',52.284938,0.672409,'School'),new Array('St Benedict`s Catholic Upper School (36885-34985)',52.264181,0.706028,'School'),new Array('Moreton Hall Preparatory School (2-13) (36886-34986)',52.246379,0.737792,'School'),new Array('Sisters of St Louis (36915-35015)',52.247949,0.715003,'School'),new Array('Our Lady Church (42777-45241)',52.1859188,0.9966784,'ParishChurch'),new Array('St Louis Catholic Middle School (9-13) (36884-34984)',52.243285,0.710953,'School'),new Array('Nuffield Hospital (36998-35098)',52.240171,0.71926,'Other'),new Array('Daughters of Divine Charity (36933-35033)',52.649647,0.690655,'Other'),new Array('West Suffolk (36943-35043)',52.249242,0.700211,'School'),new Array('Sacred Heart School (38848-36954)',52.649647,0.690655,'School'),new Array('Our Lady Of Pity Church (42705-45197)',52.651281,0.688375,'ParishChurch'),new Array('St Edmund`s Catholic First School (5-9) (36883-34983)',52.24106,0.713865,'School'),new Array('St Edmund King and Martyr Church (42731-45213)',52.24106,0.713865,'ParishChurch'),new Array('St Edmund`s Catholic Primary School (36882-34982)',52.454709,1.438403,'School'),new Array('St George Church (42647-45164)',52.64662,1.304017,'ParishChurch'),new Array('RAF Lakenheath Chapel (42813-45260)',52.395036,0.551127,'ParishChurch'),new Array('St Edmund King and Martyr Church (42729-45212)',52.454796,1.43757,'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';
}
//