strList="
St Mary (0 miles)
Zoom on map | View full information
St Mary School (0 miles)
Zoom on map | View full information
St Bernadette (1.6 miles)
Zoom on map | View full information
St Bernadette School (1.7 miles)
Zoom on map | View full information
St Gabriel School (1.8 miles)
Zoom on map | View full information
Holy Cross School (1.8 miles)
Zoom on map | View full information
St Teresa (2 miles)
Zoom on map | View full information
";
function showResults()
{
document.getElementById("mapList").style.display="block";
}
var records = new Array(new Array('St Mary (57343-63348)',53.566627,-2.330215,'ParishChurch'),new Array('St Mary School (38069-36173)',53.566627,-2.330215,'School'),new Array('St Bernadette (57433-74536)',53.558183,-2.293795,'ParishChurch'),new Array('St Bernadette School (38065-36169)',53.558292,-2.292278,'School'),new Array('St Gabriel School (38071-36175)',53.589086,-2.306494,'School'),new Array('Holy Cross School (38073-36177)',53.584917,-2.298896,'School'),new Array('St Teresa (57215-63223)',53.561596,-2.377372,'ParishChurch'),new Array('St Teresa`s School (38055-36159)',53.561596,-2.377372,'School'),new Array('Guardian Angels School (38061-36079)',53.596891,-2.319137,'School'),new Array('Guardian Angels School (38061-36165)',53.596891,-2.319137,'School'),new Array('St Michael School (38070-36174)',53.550991,-2.285602,'School'),new Array('St Marie (57129-63241)',53.591238,-2.299289,'ParishChurch'),new Array('Our Lady of Good Counsel and Guardian Angels (57131-63242)',53.596584,-2.317552,'ParishChurch'),new Array('St Marie School (38068-36172)',53.589777,-2.292631,'School'),new Array('Our Lady Queen of Poland (Polish), Bury Parish Church (5816-75380)',53.588832,-2.289588,'ParishChurch'),new Array('St Michael (57435-74536)',53.551285,-2.278741,'ParishChurch'),new Array('St John Fisher (57201-63277)',53.540017,-2.372983,'ParishChurch'),new Array('Schoenstatt Centre and Shrine (71043-74941)',53.540017,-2.372983,'Other'),new Array('Schoenstatt Centre and Shrine (71043-74962)',53.540017,-2.372983,'Other'),new Array('Schoenstatt Centre and Shrine (71043-75118)',53.540017,-2.372983,'Other'),new Array('Ss Osmund and Andrew School (38053-36157)',53.577579,-2.390383,'School'),new Array('Our Lady Of Grace School (38063-36167)',53.538521,-2.286921,'School'),new Array('St Osmund (57093-63223)',53.579718,-2.392802,'ParishChurch'),new Array('St Joseph (5818-63241)',53.597704,-2.288422,'ParishChurch'),new Array('St Gregory`s School (38049-36153)',53.547745,-2.391044,'School'),new Array('Our Lady of Grace (57341-63347)',53.534223,-2.284487,'ParishChurch'),new Array('Sisters of Our Lady of Sion Community (71139-75365)',53.5382004,-2.2688617,'Other'),new Array('Our Lady Of Lourdes School (38064-36168)',53.613314,-2.315014,'School'),new Array('St Joseph And St Bede School (38066-36170)',53.603848,-2.279792,'School'),new Array('St Ambrose Barlow RC High School (39012-37118)',53.51966150000001,-2.357724599999983,'School'),new Array('St Brendan`s School (38046-36150)',53.603172,-2.38675,'School'),new Array('St Hilda (57419-63386)',53.615492,-2.344229,'ParishChurch'),new Array('St Teresa of Calcutta Catholic Academy Trust (71331-74366)',53.5179267,-2.3357343,'Other'),new Array('St Monica`s RC High School And Specialist Language College (38072-36090)',53.532894,-2.267707,'School'),new Array('St Brendan (57103-63228)',53.603659,-2.388229,'ParishChurch'),new Array('St Mark (57339-63383)',53.516726,-2.335089,'ParishChurch'),new Array('St Mark`s RC Primary School (38994-37100)',53.5197619,-2.365328599999998,'School'),new Array('Our Lady`s and St Paul`s RC Primary School (38975-37081)',53.589277,-2.251839,'School'),new Array('Bishop`s House (4803-883)',53.51576,-2.36677,'Other'),new Array('Our Lady of Lourdes (57167-63260)',53.548611,-2.418691,'ParishChurch'),new Array('St Charles RC Primary School (38993-37099)',53.512743,-2.35249,'School'),new Array('Our Lady Of Lourdes School (38043-36147)',53.548498,-2.418081,'School'),new Array('St Charles (57413-63383)',53.512743,-2.35249,'ParishChurch'),new Array('St Mary`s Primary School (71035-74617)',53.5112918,-2.331647900000007,'School'),new Array('Mount St Joseph Business And Enterprise College School (66528-36076)',53.555189,-2.422253,'School'),new Array('Mount St Joseph Business And Enterprise College School (66528-74545)',53.555189,-2.422253,'School'),new Array('St Patrick (5776-63217)',53.576517,-2.427175,'Church'),new Array('Christ The King RC Primary School (38988-37094)',53.521059,-2.390737,'School'),new Array('Christ the King (57425-5093)',53.522694,-2.3934,'ParishChurch'),new Array('St Columba`s School (38047-36151)',53.600132,-2.411534,'School'));
// 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';
}
//