strList="
Holy Family Catholic Primary School (0 miles)
Zoom on map | View full information
Holy Family Church (0 miles)
Zoom on map | View full information
St Joseph`s School (0.7 miles)
Zoom on map | View full information
St Joseph Church (0.8 miles)
Zoom on map | View full information
St Aidan & St Hilda Church (1.1 miles)
Zoom on map | View full information
St Aidan`s Primary School (1.3 miles)
Zoom on map | View full information
Holy Family School (1.4 miles)
Zoom on map | View full information
";
function showResults()
{
document.getElementById("mapList").style.display="block";
}
var records = new Array(new Array('Holy Family Catholic Primary School (39052-37158)',53.420423,-2.301126,'School'),new Array('Holy Family Church (59592-32768)',53.420954,-2.300679,'ParishChurch'),new Array('St Joseph`s School (38173-36277)',53.422177,-2.317842,'School'),new Array('St Joseph Church (59714-32769)',53.422594,-2.319936,'ParishChurch'),new Array('St Aidan and St Hilda Church (59651-32764)',53.408049,-2.285109,'ParishChurch'),new Array('St Aidan`s Primary School (38147-36251)',53.409113,-2.275894,'School'),new Array('Holy Family School (38128-36232)',53.427293,-2.332513,'School'),new Array('Our Lady and St John (57241-63297)',53.440659,-2.282306,'ParishChurch'),new Array('Sacred Heart Primary School (38144-36248)',53.39653,-2.290581,'School'),new Array('Sacred Heart and St Peter Church (59635-32765)',53.39653,-2.290581,'ParishChurch'),new Array('St Hilda Church (59700-32761)',53.410253,-2.260558,'ParishChurch'),new Array('St Aidan`s Church (59652-64966)',53.395687,-2.290473,'Other'),new Array('St Ambrose RC Primary School (38928-37034)',53.423331,-2.258131,'School'),new Array('S t Aidan`s Church (63292-66778)',53.395687,-2.290473,'Other'),new Array('Loreto High School (38951-37057)',53.434013,-2.263442,'School'),new Array('St Ambrose (57239-63296)',53.423331,-2.258131,'ParishChurch'),new Array('St John the Baptist Church (59706-32818)',53.394223,-2.317828,'ParishChurch'),new Array('St Hugh`s School (38168-36272)',53.402894,-2.33519,'School'),new Array('FCJ House (71121-75730)',53.4470793,-2.3138658,'Other'),new Array('St Ann (57409-63381)',53.44832,-2.303915,'ParishChurch'),new Array('St John`s RC Primary School (38946-37052)',53.446579,-2.282807,'School'),new Array('St Ann`s RC Primary School (39029-37135)',53.450252,-2.306231,'School'),new Array('All Saints School (38123-36227)',53.430607,-2.350399,'School'),new Array('All Saints Church (59570-32771)',53.430012,-2.351056,'ParishChurch'),new Array('St Hugh of Lincoln Church (59702-32816)',53.405041,-2.348188,'ParishChurch'),new Array('St John Vianney School (39127-37233)',53.451209,-2.278712,'School'),new Array('St Teresa`s RC Primary School (39030-37136)',53.452259,-2.283372,'School'),new Array('St Margaret Ward School (38182-36286)',53.413948,-2.357453,'School'),new Array('St Margaret Ward Church (59729-32770)',53.411022,-2.35627,'ParishChurch'),new Array('St Bernadette (57289-63321)',53.433083,-2.247587,'ParishChurch'),new Array('St Antony`s Catholic College School (39034-37140)',53.449115,-2.334575,'School'),new Array('St Paul`s School (38233-36337)',53.385143,-2.278866,'School'),new Array('St Peter`s Primary School (38200-36304)',53.385143,-2.278866,'School'),new Array('Our Lady School (38122-36226)',53.452911,-2.265457,'School'),new Array('St Hugh of Lincoln (57411-63381)',53.453121,-2.337322,'ParishChurch'),new Array('St Vincent`s Infant School (38206-36310)',53.390243,-2.343075,'School'),new Array('St Hugh Of Lincoln RC Primary School (39028-37134)',53.453121,-2.337322,'School'),new Array('St John Fisher and St Thomas More RC Primary School (39047-37153)',53.387844,-2.260917,'School'),new Array('The English Martyrs (57287-63320)',53.446917,-2.251293,'ParishChurch'),new Array('St Vincent`s Catholic Junior School (39051-37157)',53.389771,-2.344485,'School'),new Array('St John`s Primary School (38172-36276)',53.385399,-2.263405,'School'),new Array('Blessed Thomas Holford School (38219-36323)',53.386121,-2.341644,'School'),new Array('St Bede`s College Prep (7447-74619)',53.45139169999999,-2.2525718,'School'),new Array('SChr Community (71108-75282)',53.45452220000001,-2.2602975,'Other'),new Array('Dom Polski (71107-75356)',53.45452220000001,-2.2602975,'Other'),new Array('St Bede`s College School (38957-37063)',53.451698,-2.253147,'School'),new Array('Dom Polski (71107-75281)',53.45452220000001,-2.2602975,'Other'),new Array('St Alphonsus (57283-63313)',53.458594,-2.266165,'ParishChurch'),new Array('English Martyrs (57423-63388)',53.44865,-2.357789,'ParishChurch'),new Array(' (71249-74931)',53.458594,-2.266165,'Other'));
// 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';
}
//