strList="
St Nicholas` Catholic Primary School (0 miles)
Zoom on map | View full information
Blessed Sacrament Church (1 miles)
Zoom on map | View full information
Sacred Heart Church (2 miles)
Zoom on map | View full information
Holy Cross Church (2.7 miles)
Zoom on map | View full information
Exeter University Chaplaincy (2.8 miles)
Zoom on map | View full information
Exeter University Chaplaincy (2.8 miles)
Zoom on map | View full information
St Joseph`s Catholic Primary School (7.9 miles)
Zoom on map | View full information
";
function showResults()
{
document.getElementById("mapList").style.display="block";
}
var records = new Array(new Array('St Nicholas` Catholic Primary School (37919-36023)',50.723441,-3.48478,'School'),new Array('Blessed Sacrament Church (56767-63030)',50.7219855,-3.507798399999956,'ParishChurch'),new Array('Sacred Heart Church (56768-63031)',50.72119259999999,-3.530681100000038,'ParishChurch'),new Array('Holy Cross Church (56769-63032)',50.6866296,-3.464322300000049,'ParishChurch'),new Array('Exeter University Chaplaincy (56770-63028)',50.7379337,-3.543967599999974,'Church'),new Array('Exeter University Chaplaincy (56770-63033)',50.7379337,-3.543967599999974,'Church'),new Array('St Joseph`s Catholic Primary School (37920-36024)',50.621064,-3.404776,'School'),new Array('Holy Ghost Church (56771-63035)',50.6183814,-3.405742099999998,'ParishChurch'),new Array('St. Boniface`s Church (56765-63028)',50.7874041,-3.65107850000004,'ParishChurch'),new Array('St Anthony Church (56780-63044)',50.75115599999999,-3.283480300000065,'ParishChurch'),new Array('St. Peter Prince of the Apostles Church (56762-63025)',50.6352209,-3.330364099999997,'Church'),new Array('St. Agatha`s Church (56810-63075)',50.5834723,-3.461726999999996,'Church'),new Array('St. Agatha`s Church (56810-63084)',50.5834723,-3.461726999999996,'Church'),new Array('St. Boniface`s Church (56766-63029)',50.854705,-3.394438300000047,'ParishChurch'),new Array('St. Cyprian`s Chapel (56807-63068)',50.5929556,-3.585800400000039,'Other'),new Array('Most Precious Blood Church (56782-63046)',50.6830249,-3.239381099999946,'ParishChurch'),new Array('St Ignatius of Loyola Church (56815-63084)',50.5584715,-3.533748199999991,'Church'),new Array('St Ignatius of Loyola Church (56815-63080)',50.5584715,-3.533748199999991,'Church'),new Array('Trinity School (37901-36005)',50.556489,-3.500859,'School'),new Array('Our Lady and St Patrick`s Roman Catholic Primary School (37931-36035)',50.551752,-3.51035,'School'),new Array('Our Lady and St Patrick Church (56819-63084)',50.5488513,-3.492755200000033,'ParishChurch'),new Array('St John`s Catholic Primary School (37932-36036)',50.904571,-3.495415,'School'),new Array('St James Church (56784-63048)',50.9037237,-3.475774900000033,'ParishChurch'),new Array('Holy Spirit Church (56803-63068)',50.5865528,-3.679156299999931,'ParishChurch'),new Array('The Holy Family Church (56773-63037)',50.7969267,-3.200235000000021,'ParishChurch'),new Array('Stover Polish Church and Home (56818-63083)',50.5647428,-3.685656999999992,'ParishChurch'),new Array('St Joseph Church (56812-63077)',50.5306969,-3.604552000000012,'ParishChurch'),new Array('St Joseph`s Catholic Primary School (37923-36027)',50.533841,-3.621056,'School'),new Array('Holy Family Church (56763-63026)',50.675593,-3.841267199999948,'ParishChurch'),new Array('St Cuthbert Mayne Joint Catholic And Church Of England School (37940-36044)',50.485215,-3.529808,'School'),new Array('Priory Roman Catholic Primary School (37933-36037)',50.482813,-3.526432,'School'),new Array('Our Lady Help of Christians and St Denis (56821-63086)',50.4827847,-3.525186699999949,'ParishChurch'),new Array('Queensway Catholic Primary School (37934-36038)',50.474751,-3.551188,'School'),new Array('Holy Angels Church (56820-63085)',50.4709381,-3.552952699999992,'ParishChurch'),new Array('Our Lady of the Assumption Church (56822-63087)',50.466079,-3.531825300000037,'ParishChurch'),new Array('St Augustine Church (56781-63045)',50.70759140000001,-3.070885999999973,'ParishChurch'),new Array('Our Lady of Lourdes and St. Petroc Church (56802-63067)',50.5161934,-3.754033299999946,'ParishChurch'),new Array('St Boniface House (66053-886)',50.500719,-3.772044,'Other'),new Array('Sacred Heart and St Teresa of the Child Jesus Church (56813-63078)',50.439041,-3.569802200000027,'ParishChurch'),new Array('Sacred Heart Catholic Primary School (37924-36028)',50.438973,-3.5701,'School'),new Array('Buckfast Abbey Bookshop (66048-63070)',50.49292,-3.7757,'Other'),new Array('St. Mary`s Abbey Church (56805-63070)',50.4929198,-3.7757002,'ParishChurch'),new Array('Blessed Sacrament Chapel (74053-63070)',50.4929198,-3.7757002,'Other'),new Array('St Mary`s Catholic Primary School (37915-36019)',50.490208,-3.77722,'School'),new Array('St John Fisher Church (42533-63747)',50.9760208,-3.232430700000009,'ParishChurch'),new Array('St. Benedict`s Church (56806-63071)',50.4809083,-3.781289399999992,'ParishChurch'),new Array('St Mary`s Catholic Primary School (37909-36013)',50.780592,-2.992099,'School'),new Array('St. Mary Church (56758-63021)',50.78059160000001,-2.992098899999974,'ParishChurch'),new Array('St Mary and St George Church (56823-63088)',50.4320378,-3.685190799999987,'ParishChurch'),new Array('St Stanislaus Church (42524-63735)',51.03971629999999,-3.551284099999975,'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';
}
//