strList="
Our Lady Of The Annunciation Church (0.1 miles)
Zoom on map | View full information
(0.9 miles)
Zoom on map | View full information
National Shrine Of Our Lady (1.2 miles)
Zoom on map | View full information
Our Lady Star Of The Sea Church (4.2 miles)
Zoom on map | View full information
Our Lady Star Of The Sea Church (4.2 miles)
Zoom on map | View full information
St Anthony Of Padua Church (4.4 miles)
Zoom on map | View full information
Carmel of Our Lady of Walsingham (5 miles)
Zoom on map | View full information
";
function showResults()
{
document.getElementById("mapList").style.display="block";
}
var records = new Array(new Array('Our Lady Of The Annunciation Church (42803-45254)',52.892945,0.873051,'ParishChurch'),new Array(' (66437-35035)',52.900824,0.890734,'Other'),new Array('National Shrine Of Our Lady (42709-45201)',52.880997,0.853144,'ParishChurch'),new Array('Our Lady Star Of The Sea Church (42713-45204)',52.953234,0.850857,'ParishChurch'),new Array('Our Lady Star Of The Sea Church (43764-45254)',52.953234,0.850857,'ParishChurch'),new Array('St Anthony Of Padua Church (42677-45180)',52.833174,0.845732,'ParishChurch'),new Array('Carmel of Our Lady of Walsingham (36991-35091)',52.93602,0.972351,'School'),new Array('St. Henry Walpole Church (43738-45254)',52.945151,0.725146,'ParishChurch'),new Array('St. Henry Walpole Church (42661-45172)',52.945151,0.725146,'ParishChurch'),new Array('St Peter Church (42659-45171)',52.9532234,1.021863899999971,'ParishChurch'),new Array('Blakeney, Holt, Norfolk (+) (Chapel of Ease of Walsingham Parish)(1962) Parish Church (5589-45254)',52.953223,1.021864,'ParishChurch'),new Array('Kelling Hospital (36973-35073)',52.914476,1.116042,'Other'),new Array('St. Joseph Church (42703-45196)',52.939607,1.214726,'ParishChurch'),new Array('Sacred Heart and St Margaret Mary Church (42669-45176)',52.677848,0.942118,'ParishChurch'),new Array('St Cecilia Church (42671-45177)',52.845214,0.497058,'ParishChurch'),new Array('Our Lady Of Perpetual Succour and St Edmund King And Martyr Church (42685-45184)',52.934679,0.493323,'ParishChurch'),new Array('St Cecilia Church (43743-45184)',52.845214,0.497058,'ParishChurch'),new Array('St John Of The Cross Church (42657-45170)',52.796433,1.253052,'ParishChurch'),new Array('Benjamin Court Hospital (36988-35088)',52.924608,1.300831,'Other'),new Array('Cromer and District Hospital (36987-35087)',52.923567,1.30916,'Other'),new Array('Our Lady Of Pity Church (42705-45197)',52.651281,0.688375,'ParishChurch'),new Array('Daughters of Divine Charity (36933-35033)',52.649647,0.690655,'Other'),new Array('Our Lady Of Refuge Church (43741-45196)',52.922759,1.317491,'ParishChurch'),new Array('Sacred Heart School (38848-36954)',52.649647,0.690655,'School'),new Array('Holy Apostles Church (43730-45160)',52.613969,0.886402,'Church'),new Array('Queen Elizabeth Hospital Chapel (65966-45186)',52.757809,0.447739,'Other'),new Array('Queen Elizabeth Hospital (36958-35058)',52.756781,0.446999,'Other'),new Array('St Martha`s Catholic Primary School (36899-34999)',52.760941,0.429209,'School'),new Array('Holy Family Church (42689-45187)',52.760941,0.429209,'ParishChurch'),new Array('St George Church (42695-45191)',52.656987,0.546972,'ParishChurch'),new Array('St Augustine`s Catholic Primary School (36904-35004)',52.657243,1.207175,'School'),new Array('Our Lady and St Walstan Church (42665-45174)',52.658916,1.210463,'ParishChurch'),new Array('Sacred Heart Church (42586-45124)',52.8200094,1.386308,'ParishChurch'),new Array('North Walsham Hospital (36964-35064)',52.814061,1.387901,'Other'),new Array('Our Lady Of The Annunciation Church (42687-45186)',52.747277,0.402162,'ParishChurch'),new Array('Watton Methodist Church Church (43763-45197)',52.5712711,0.8251027,'Other'),new Array('Wayland Attleborough (36979-35079)',52.567054,0.82411,'School'),new Array('St. Boniface Church (42807-45257)',52.669147,1.281672,'ParishChurch'),new Array('Holy Apostles Church (42645-45163)',52.631785,1.240772,'ParishChurch'),new Array('Norfolk and Norwich University Hospital (36939-35039)',52.618086,1.221067,'Other'),new Array('Julian Hospital (36994-35094)',52.633018,1.263006,'Other'),new Array('University of East Anglia Chaplaincy (65967-45167)',52.62237,1.241391,'Other'),new Array('University Of East Anglia Chaplaincy Church (42651-45167)',52.62237,1.241391,'ParishChurch'),new Array('Our Lady and St Thomas Of Canterbury Church (42717-45206)',52.570973,1.116147,'ParishChurch'),new Array('Notre Dame Preparatory School (3-11) (36907-35007)',52.634122,1.277072,'School'),new Array('St John`s Catholic Infant School (36903-35003)',52.631599,1.277903,'School'),new Array('St George Church (42647-45164)',52.64662,1.304017,'ParishChurch'),new Array('St Thomas More Catholic Junior School (36905-35005)',52.623952,1.265627,'School'),new Array('The Immaculate Conception and St Margaret Church (42697-45192)',52.583258,0.572056,'ParishChurch'),new Array('Norwich Community Hospital (36993-35093)',52.62058,1.268198,'Other'));
// 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';
}
//