strList="
St Lewis (0 miles)
Zoom on map | View full information
St Lewis Catholic Primary School (2.2 miles)
Zoom on map | View full information
St Peter and St Michael (2.4 miles)
Zoom on map | View full information
St Peter`s RC Primary School (2.5 miles)
Zoom on map | View full information
St Mary`s Shrine (2.6 miles)
Zoom on map | View full information
Our Lady Of Lourdes School (2.6 miles)
Zoom on map | View full information
St Mary`s Shrine (2.6 miles)
Zoom on map | View full information
";
function showResults()
{
document.getElementById("mapList").style.display="block";
}
var records = new Array(new Array('St Lewis (52991-77213)',53.429375,-2.497167,'ParishChurch'),new Array('St Lewis Catholic Primary School (37700-35804)',53.444411,-2.545271,'School'),new Array('St Peter and St Michael (52973-57775)',53.397342,-2.52011,'ParishChurch'),new Array('St Peter`s RC Primary School (37702-35806)',53.401723,-2.535475,'School'),new Array('St Mary`s Shrine (52965-77239)',53.401439,-2.540718,'ParishChurch'),new Array('Our Lady Of Lourdes School (38135-36239)',53.418702,-2.436427,'School'),new Array('St Mary`s Shrine (52965-57771)',53.401439,-2.540718,'ParishChurch'),new Array('St Teresa`s RC Primary School (38989-37095)',53.43780169999999,-2.43247550000001,'School'),new Array('St Bridget`s Parish House (4813-57774)',53.414492,-2.563785,'Other'),new Array('St Teresa (57197-63275)',53.437869,-2.428844,'ParishChurch'),new Array('Our Lady of Lourdes Church (59616-32767)',53.417329,-2.428333,'ParishChurch'),new Array('Our Lady of Lourdes Church (63256-32767)',53.417329,-2.428333,'ParishChurch'),new Array('St Bridget`s Catholic Primary School (37712-35816)',53.414535,-2.566057,'School'),new Array('St Oswald`s RC Primary School (37701-35805)',53.402076,-2.564252,'School'),new Array('St Oswald, King and Martyr (52967-57769)',53.402076,-2.564252,'ParishChurch'),new Array('St Winefride Church (63437-32814)',53.3795982,-2.488174999999956,'ParishChurch'),new Array('St Joseph the Worker (57195-63275)',53.45375,-2.416488,'ParishChurch'),new Array('St Joseph The Worker RC Primary School (38999-37105)',53.453798,-2.417391,'School'),new Array('St Stephen`s Catholic Primary School (37698-35802)',53.413974,-2.589038,'School'),new Array('St Stephen, First Martyr (52971-57774)',53.413974,-2.589038,'ParishChurch'),new Array('Peterborough Polish Mission (42632-45156)',53.430593,-2.400154,'ParishChurch'),new Array('Cardinal Newman School (38220-36324)',53.386907,-2.56339,'School'),new Array('St Benedict`s Catholic Primary School (37697-35801)',53.400177,-2.579779,'School'),new Array('Holy Family Church (43752-45186)',53.430593,-2.400154,'ParishChurch'),new Array('St Olga (ukranian Mission) Church (42634-45157)',53.430593,-2.400154,'ParishChurch'),new Array('St Benedict (52961-57769)',53.400048,-2.585988,'ParishChurch'),new Array('St Augustine Church (63242-32821)',53.383572,-2.563512,'ParishChurch'),new Array('St Augustine`s School (38155-36259)',53.383572,-2.563512,'School'),new Array('St Augustine Church (59602-32821)',53.383572,-2.563512,'ParishChurch'),new Array('St Catherine`s Of Sienna Primary School (37536-35640)',53.47152,-2.570311,'School'),new Array('St Monica`s RC Primary School (39031-37137)',53.44768,-2.391651,'School'),new Array('St Monica (57171-63388)',53.44768,-2.391651,'ParishChurch'),new Array('St Joseph (53013-77188)',53.494222,-2.509312,'ParishChurch'),new Array('St Joseph (53013-57795)',53.494222,-2.509312,'ParishChurch'),new Array('St Joseph`s Catholic Primary School (38889-36995)',53.494222,-2.509312,'School'),new Array('Our Lady`s School (38138-36242)',53.379383,-2.571168,'School'),new Array('St Mary`s Catholic High School (37632-35736)',53.495097,-2.46463,'School'),new Array('St Alban (72519-57768)',53.3922292,-2.5961204,'ParishChurch'),new Array('Sacred Heart Parish House (53004-77188)',53.49847949999999,-2.5220854,'Other'),new Array('Sacred Heart (53007-77188)',53.498472,-2.522162,'ParishChurch'),new Array('Leigh Sacred Heart Catholic Primary School (37531-35635)',53.499763,-2.521017,'School'),new Array('St Alban`s Catholic Primary School (37541-35645)',53.395127,-2.603004,'School'),new Array('St Joseph`s Family Centre (72617-57769)',53.3869565,-2.5971743,'Other'),new Array('St Ambrose Barlow Catholic Primary School (37538-35642)',53.499238,-2.460605,'School'),new Array('All Saints RC Primary School (37534-35638)',53.476304,-2.592132,'School'),new Array('All Saints (52975-57784)',53.474881,-2.598108,'ParishChurch'),new Array('Sacred Heart (52959-57768)',53.38918820000001,-2.6073548,'ParishChurch'),new Array('St Monica Church (59754-32822)',53.365259,-2.575307,'ParishChurch'),new Array('St Monica`s School (38192-36296)',53.364659,-2.572954,'School'),new Array('Sacred Heart RC Primary School (37540-35644)',53.389143,-2.614828,'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';
}
//