strList="
St Andrew (0 miles)
Zoom on map | View full information
St Swithun Wells (0 miles)
Zoom on map | View full information
St Edward the Confessor (2 miles)
Zoom on map | View full information
St George Catholic College (2.1 miles)
Zoom on map | View full information
Holy Cross (2.1 miles)
Zoom on map | View full information
(3 miles)
Zoom on map | View full information
The Immaculate Conception (3 miles)
Zoom on map | View full information
";
function showResults()
{
document.getElementById("mapList").style.display="block";
}
var records = new Array(new Array('St Andrew (1006-75878)',50.969265,-1.354713,'ParishChurch'),new Array('St Swithun Wells (862-75878)',50.969265,-1.354713,'ParishChurch'),new Array('St Edward the Confessor (839-75878)',50.985245,-1.391674,'ParishChurch'),new Array('St George Catholic College (1134-10231)',50.9456,-1.383509,'School'),new Array('Holy Cross (860-75878)',50.976029,-1.402335,'ParishChurch'),new Array(' (71419-74304)',50.9340905,-1.3957049,'Other'),new Array('The Immaculate Conception (1022-9851)',50.930788,-1.384943,'ParishChurch'),new Array('St Brigid (902-9812)',50.927566,-1.330603,'ParishChurch'),new Array('Charlton House Independent School (1178-10275)',50.920377,-1.36852,'School'),new Array('St Vincent de Paul (1047-9856)',50.9406885,-1.4272876,'ParishChurch'),new Array('Christ the King and St Colman (1038-9853)',50.914821,-1.355636,'ParishChurch'),new Array('St Edmund`s (1032-9852)',50.914771,-1.403845,'ParishChurch'),new Array('St Joseph`s (1036-9852)',50.914771,-1.403845,'ParishChurch'),new Array('St Anne`s Secondary School (1135-75890)',50.914871,-1.405821,'School'),new Array('Springhill Catholic Primary School (1131-10228)',50.914242,-1.411206,'School'),new Array('Our Lady of the Assumption (899-9812)',50.912038,-1.303117,'ParishChurch'),new Array('St Boniface (1041-9854)',50.919259,-1.429153,'ParishChurch'),new Array('St Boniface (1041-76415)',50.919259,-1.429153,'ParishChurch'),new Array('St Patrick (1044-9855)',50.89806,-1.374069,'ParishChurch'),new Array('St Patrick`s Primary School (1133-10230)',50.898124,-1.372632,'School'),new Array('Holy Family (1019-9850)',50.927403,-1.450952,'ParishChurch'),new Array('Holy Family Primary School (1132-10229)',50.930836,-1.464188,'School'),new Array('St Stephen (1074-9865)',51.0511315,-1.346642599999996,'Church'),new Array('St Peter`s Primary School (1116-10213)',51.051132,-1.346643,'School'),new Array('Our Lady Queen of Apostles (813-75878)',50.953546,-1.220435,'ParishChurch'),new Array('St Joseph (1005-75878)',50.988589,-1.501564,'ParishChurch'),new Array('Marie Louise Community (Care Home) (71477-76468)',50.9877325,-1.5006654,'Other'),new Array('St Theresa of the Child Jesus (1057-9860)',50.918646,-1.484827,'ParishChurch'),new Array('St Peter`s Church (1073-9865)',51.06407919999999,-1.315007899999955,'Church'),new Array('Pastoral Centre (66486-9865)',51.064371,-1.31566,'Other'),new Array('St Margaret Mary (4992-1383)',50.872354,-1.267979,'ParishChurch'),new Array('St Michael (1086-75879)',50.861432,-1.401257,'ParishChurch'),new Array('Park Place Pastoral Centre (66491-76402)',50.901183,-1.196622,'Other'),new Array('Park Place Pastoral Centre (66491-76439)',50.901183,-1.196622,'Other'),new Array('St Joseph`s Centre (66500-76441)',50.896734,-1.512853,'Other'),new Array('St Joseph`s Centre (66500-76382)',50.896734,-1.512853,'Other'),new Array('St Anthony`s Primary School (1122-10219)',50.855999,-1.252693,'School'),new Array('St Bernard (1084-75879)',50.833694,-1.38646,'ParishChurch'),new Array('St Philip Howard (865-9802)',50.851441,-1.201284,'Church'),new Array('St Jude`s Primary School (1112-10209)',50.851441,-1.201284,'School'),new Array('Sacred Heart (863-9802)',50.85109629999999,-1.1788176,'ParishChurch'),new Array('St Mary`s (799-9776)',51.087376,-1.163947,'ParishChurch'),new Array('St Gregory the Great (797-9865)',51.087376,-1.163946799999962,'Church'),new Array('Our Lady of the Assumption and St Edward the Confessor (936-9826)',50.874147,-1.575439,'ParishChurch'),new Array('St Thomas More (805-9865)',51.11407209999999,-1.494487100000015,'Church'),new Array('Immaculate Conception (930-9822)',50.822348,-1.21558,'ParishChurch'),new Array('St Columba (881-9807)',50.823451,-1.173438,'ParishChurch'),new Array('St Paul (983-9841)',50.854049,-1.094179,'ParishChurch'),new Array('St Paul`s Primary School (1129-10226)',50.849314,-1.095791,'School'),new Array('St John the Evangelist (929-9822)',50.794497,-1.19177,'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';
}
//