strList="
St Bonaventure Church (0 miles)
Zoom on map | View full information
Our Lady Catholic Primary School (0.6 miles)
Zoom on map | View full information
Our Lady, Queen Of Apostles Church (0.7 miles)
Zoom on map | View full information
Holy Family Church (1.2 miles)
Zoom on map | View full information
Holy Family Catholic Primary School (1.4 miles)
Zoom on map | View full information
St Philip Howard Catholic Primary School (2.9 miles)
Zoom on map | View full information
St Peter`s Church (3.3 miles)
Zoom on map | View full information
";
function showResults()
{
document.getElementById("mapList").style.display="block";
}
var records = new Array(new Array('St Bonaventure Church (40848-38214)',51.798975,-0.209751,'ParishChurch'),new Array('Our Lady Catholic Primary School (38287-36391)',51.79202,-0.201819,'School'),new Array('Our Lady, Queen Of Apostles Church (40852-38216)',51.790788,-0.19891,'ParishChurch'),new Array('Holy Family Church (40850-38215)',51.81634,-0.204522,'ParishChurch'),new Array('Holy Family Catholic Primary School (38262-36366)',51.8106,-0.1827,'School'),new Array('St Philip Howard Catholic Primary School (38373-36477)',51.758164,-0.225421,'School'),new Array('St Peter`s Church (40596-38088)',51.753483,-0.233471,'ParishChurch'),new Array('St Thomas More Church (40864-38222)',51.811163,-0.291013,'ParishChurch'),new Array('St Thomas More Church (40664-38122)',51.863657,-0.183554,'ParishChurch'),new Array('St John Fisher Catholic Primary School (38391-36495)',51.766476,-0.304875,'School'),new Array('St Joseph`s Catholic Primary School (38378-36482)',51.802225,-0.094997,'School'),new Array('Nicholas Breakspear Catholic School School (38275-36379)',51.747486,-0.288811,'School'),new Array('St Alban and St Stephen Catholic Junior School (38387-36491)',51.750185,-0.32129,'School'),new Array('The Immaculate Conception And St Joseph Church (40616-38098)',51.798954,-0.074148,'ParishChurch'),new Array('St Alban and St Stephen Catholic Infant School School (38395-36499)',51.748929,-0.322163,'School'),new Array('Loreto Girls School School (38270-36374)',51.752864,-0.329493,'School'),new Array('Ss Alban And Stephen Church (40776-38178)',51.752179,-0.328084,'ParishChurch'),new Array('St Dominic`s Catholic Primary School (38390-36494)',51.811365,-0.351136,'School'),new Array('St Margaret Clitherow RC School (38401-36505)',51.88742,-0.178672,'School'),new Array('Our Lady Of Lourdes Church (40582-38081)',51.8159728,-0.3598807,'ParishChurch'),new Array('Our Lady, St Mary Of Walsingham Church (40680-38130)',51.7230027,-0.2972124,'ParishChurch'),new Array('St Hilda Church (40796-38188)',51.89096,-0.169229,'ParishChurch'),new Array('St Bernadette Catholic Primary School (38388-36492)',51.719587,-0.300809,'School'),new Array('St Columba College (66054-70953)',51.743396,-0.350512,'School'),new Array('Our Lady And St Vincent Church (40744-38162)',51.696896,-0.196186,'ParishChurch'),new Array('St Adrian`s Catholic Primary School School (38386-36490)',51.738319,-0.343716,'School'),new Array('St Columba`s College Preparatory School (38394-36498)',51.743396,-0.350512,'School'),new Array('St Bartholomew Church (40778-38179)',51.73772,-0.345258,'ParishChurch'),new Array('Pope Paul Catholic Primary School (39085-37191)',51.69009,-0.198584,'School'),new Array('St Joseph Church (40794-38187)',51.905769,-0.182568,'ParishChurch'),new Array('St Martin De Porres Church (40520-38050)',51.707776,-0.114802,'ParishChurch'),new Array('St Vincent De Paul Catholic Primary School (38399-36503)',51.905769,-0.182568,'School'),new Array('Sacred Heart Catholic Primary School (38374-36478)',51.808683,-0.032812,'School'),new Array('The Good Shepherd Church (40762-38171)',51.700048,-0.289096,'ParishChurch'),new Array('Transfiguration Church (40798-38189)',51.912078,-0.205169,'ParishChurch'),new Array('Sacred Heart Of Jesus And St Joseph Church (40838-38209)',51.81236,-0.026355,'ParishChurch'),new Array('St John Fisher Church (40750-38165)',51.803525,-0.401287,'ParishChurch'),new Array('John Henry Newman Catholic School School (38266-36370)',51.920685,-0.214758,'School'),new Array('St Paul`s Catholic Primary School (38375-36479)',51.715572,-0.051418,'School'),new Array('St Augustine Church (40628-38104)',51.758098,-0.010175,'ParishChurch'),new Array('St Cross Catholic Primary School (38377-36481)',51.753834,-0.01326,'School'),new Array('St Augustine`s Catholic Primary School (38376-36480)',51.757174,-0.009259,'School'),new Array('St Anthony Of Padua Church (40748-38164)',51.683367,-0.318917,'ParishChurch'),new Array('St Martha`s Senior School (39079-37185)',51.66346,-0.187798,'School'),new Array('Ss John Fisher And Thomas More Church (40470-38025)',51.669254,-0.290604,'ParishChurch'),new Array('St Paul`s Church (40880-38230)',51.707471,-0.0412,'ParishChurch'),new Array('St Teresa Of The Child Jesus Church (40468-38024)',51.660124,-0.268913,'ParishChurch'),new Array('St Teresa`s Catholic Primary School (38396-36500)',51.660199,-0.270934,'School'),new Array('Mary Immaculate And St Gregory Church (40458-38019)',51.654131,-0.203971,'ParishChurch'),new Array('University of Bedfordshire (71001-74296)',51.8778618,-0.411407100000019,'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';
}
//