strList="
St Antony`s Catholic College School (0 miles)
Zoom on map | View full information
St Hugh of Lincoln (0.3 miles)
Zoom on map | View full information
St Hugh Of Lincoln RC Primary School (0.3 miles)
Zoom on map | View full information
FCJ House (0.9 miles)
Zoom on map | View full information
English Martyrs` RC Primary School (1 miles)
Zoom on map | View full information
English Martyrs (1 miles)
Zoom on map | View full information
Our Lady Of The Rosary RC Primary School (1.2 miles)
Zoom on map | View full information
";
function showResults()
{
document.getElementById("mapList").style.display="block";
}
var records = new Array(new Array('St Antony`s Catholic College School (39034-37140)',53.449115,-2.334575,'School'),new Array('St Hugh of Lincoln (57411-63381)',53.453121,-2.337322,'ParishChurch'),new Array('St Hugh Of Lincoln RC Primary School (39028-37134)',53.453121,-2.337322,'School'),new Array('FCJ House (71121-75730)',53.4470793,-2.3138658,'Other'),new Array('English Martyrs` RC Primary School (39027-37133)',53.449331,-2.359226,'School'),new Array('English Martyrs (57423-63388)',53.44865,-2.357789,'ParishChurch'),new Array('Our Lady Of The Rosary RC Primary School (39032-37138)',53.457255,-2.360543,'School'),new Array('St Ann`s RC Primary School (39029-37135)',53.450252,-2.306231,'School'),new Array('St Ann (57409-63381)',53.44832,-2.303915,'ParishChurch'),new Array('All Saints School (38123-36227)',53.430607,-2.350399,'School'),new Array('Holy Family School (38128-36232)',53.427293,-2.332513,'School'),new Array('All Saints Church (59570-32771)',53.430012,-2.351056,'ParishChurch'),new Array(' (71529-74874)',53.4668821,-2.3086853,'Other'),new Array('All Saints Friary (71025-74955)',53.473456,-2.352888,'Other'),new Array('All Saints Friary (71025-74373)',53.473456,-2.352888,'Other'),new Array('National Crusade Centre (71240-74904)',53.473456,-2.352888,'Other'),new Array('All Saints Friary (71025-75099)',53.473456,-2.352888,'Other'),new Array('St Joseph Church (59714-32769)',53.422594,-2.319936,'ParishChurch'),new Array('St Joseph`s School (38173-36277)',53.422177,-2.317842,'School'),new Array('Holy Cross and All Saints RC Primary School (38990-37096)',53.476611,-2.353264,'School'),new Array('St John`s RC Primary School (38946-37052)',53.446579,-2.282807,'School'),new Array('St Teresa`s RC Primary School (39030-37136)',53.452259,-2.283372,'School'),new Array('Our Lady and St John (57241-63297)',53.440659,-2.282306,'ParishChurch'),new Array('St John Vianney School (39127-37233)',53.451209,-2.278712,'School'),new Array('St Mary`s RC Primary Eccles School (38991-37097)',53.482379,-2.341799,'School'),new Array('Holy Family Catholic Primary School (39052-37158)',53.420423,-2.301126,'School'),new Array('St Monica`s RC Primary School (39031-37137)',53.44768,-2.391651,'School'),new Array('Holy Family Church (59592-32768)',53.420954,-2.300679,'ParishChurch'),new Array('St Monica (57171-63388)',53.44768,-2.391651,'ParishChurch'),new Array('St Mary (57163-63258)',53.482997,-2.341975,'ParishChurch'),new Array('Holy Cross (6035-63258)',53.480804,-2.361299,'ParishChurch'),new Array('St Margaret Ward School (38182-36286)',53.413948,-2.357453,'School'),new Array('St Patrick`s RC High And Arts College School (39010-37116)',53.482113,-2.367911,'School'),new Array('St Gilbert`s RC Primary School (38992-37098)',53.484637,-2.36831,'School'),new Array('St Margaret Ward Church (59729-32770)',53.411022,-2.35627,'ParishChurch'),new Array(' (71249-74931)',53.458594,-2.266165,'Other'),new Array('Mill Hill Missionaries (71039-74958)',53.4901229,-2.324909199999979,'Other'),new Array('Mill Hill Missionaries (71039-75108)',53.4901229,-2.324909199999979,'Other'),new Array('St Alphonsus (57283-63313)',53.458594,-2.266165,'ParishChurch'),new Array('Our Lady School (38122-36226)',53.452911,-2.265457,'School'),new Array('Peterborough Polish Mission (42632-45156)',53.430593,-2.400154,'ParishChurch'),new Array('St Olga (ukranian Mission) Church (42634-45157)',53.430593,-2.400154,'ParishChurch'),new Array('St Joseph`s RC Primary School (39003-37109)',53.476493,-2.279029,'School'),new Array('All Hallows RC High School (39011-37117)',53.4905649,-2.315177100000028,'School'),new Array('Holy Family Church (43752-45186)',53.430593,-2.400154,'ParishChurch'),new Array('St Alphonsus RC Primary School (39033-37139)',53.463531,-2.263595,'School'),new Array('Dom Polski (71107-75356)',53.45452220000001,-2.2602975,'Other'),new Array('St Hugh of Lincoln Church (59702-32816)',53.405041,-2.348188,'ParishChurch'),new Array('Dom Polski (71107-75281)',53.45452220000001,-2.2602975,'Other'),new Array('Loreto High School (38951-37057)',53.434013,-2.263442,'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';
}
//