strList="
Our Lady and St Joseph Church (0 miles)
Zoom on map | View full information
St Joseph`s Catholic Primary School (0.4 miles)
Zoom on map | View full information
Our Lady and St Teresa of Lisieux Church (4.6 miles)
Zoom on map | View full information
The Briars Catholc Youth Retreat Centre (5.5 miles)
Zoom on map | View full information
St Patrick and St Bridget Church (6.1 miles)
Zoom on map | View full information
St Patrick and St Bridget Church (6.1 miles)
Zoom on map | View full information
English Martyrs Church (7.3 miles)
Zoom on map | View full information
";
function showResults()
{
document.getElementById("mapList").style.display="block";
}
var records = new Array(new Array('Our Lady and St Joseph Church (56044-62250)',53.14104,-1.551604,'ParishChurch'),new Array('St Joseph`s Catholic Primary School (38912-37018)',53.141571,-1.542419,'School'),new Array('Our Lady and St Teresa of Lisieux Church (56079-62303)',53.074953,-1.569022,'ParishChurch'),new Array('The Briars Catholc Youth Retreat Centre (65851-70904)',53.076148,-1.476822,'Other'),new Array('St Patrick and St Bridget Church (55967-62133)',53.163997,-1.409195,'Other'),new Array('St Patrick and St Bridget Church (55967-62103)',53.163997,-1.409195,'Other'),new Array('English Martyrs Church (55949-62110)',53.215164,-1.677175,'ParishChurch'),new Array('Christ The King Catholic Primary School (37814-35918)',53.100954,-1.383982,'School'),new Array('The Holy Family Church (44698-48357)',53.223704,-1.426288,'ParishChurch'),new Array('Christ the King Church (55946-62103)',53.095709,-1.379562,'ParishChurch'),new Array('St Patrick (chapel Of Ease To Staveley) Church (44703-48386)',53.236196,-1.449327,'ParishChurch'),new Array('St Elizabeth`s Catholic Primary School (37815-35919)',53.030685,-1.481861,'School'),new Array('St Mary`s Catholic Primary School (37393-35497)',53.240328,-1.434502,'School'),new Array('St Joseph`s Convent School (37300-35404)',53.241292,-1.433006,'School'),new Array('St Joseph`s Convent School (65185-48345)',53.241292,-1.433006,'Other'),new Array('The Annunciation Church (44696-48345)',53.239963,-1.431375,'ParishChurch'),new Array('St Joseph Church (56060-62274)',53.055393,-1.404355,'ParishChurch'),new Array('All Saints Church (56003-62183)',53.247732,-1.664716,'ParishChurch'),new Array('St Mary`s RC High School (37603-35707)',53.25326,-1.453112,'School'),new Array('Our Lady of Perpetual Succour Church (55952-62113)',53.01847,-1.482245599999942,'ParishChurch'),new Array('Saint Hugh Of Lincoln Church (44699-48362)',53.254155,-1.44643,'ParishChurch'),new Array('St Joseph (65190-70877)',53.254155,-1.44643,'Church'),new Array('St Joseph`s Catholic Primary School (37385-35489)',53.2578,-1.359411,'School'),new Array('St Margaret Clitherow Church (55987-62161)',52.9809986,-1.489604299999996,'Other'),new Array('St Margaret Clitherow Church (55987-62113)',52.9809986,-1.489604299999996,'Other'),new Array('All Saints Church (55947-62107)',53.016486,-1.738521,'ParishChurch'),new Array('Holy Spirit Church (44701-48375)',53.304768,-1.457331,'ParishChurch'),new Array('St Joseph the Worker Church (56073-62294)',53.125005,-1.260112,'ParishChurch'),new Array('English Martyrs Church (44766-48666)',53.316324,-1.530736,'ParishChurch'),new Array('St Bernadette Church (55956-62119)',53.228202,-1.293043,'ParishChurch'),new Array('St Joseph`s Primary (65191-70877)',53.274064,-1.348296,'School'),new Array('Immaculate Heart of Mary Church (56076-62132)',53.276439,-1.77425,'Church'),new Array('Immaculate Heart of Mary Church (56076-62299)',53.276439,-1.77425,'Church'),new Array('St. Herbert Church (46997-54218)',53.018598,-1.307086,'ParishChurch'),new Array('Church of the Holy Family Church (55986-62159)',52.952501,-1.501907,'ParishChurch'),new Array('Our Lady Help of Christians Church (56011-62194)',53.099349,-1.241405,'ParishChurch'),new Array('St. Vincent Church (47258-54357)',53.018598,-1.307086,'ParishChurch'),new Array('St Thomas of Canterbury (65218-70896)',53.33187,-1.481959,'School'),new Array('St Thomas Of Canterbury Catholic Primary School (37661-35765)',53.33187,-1.481959,'School'),new Array('St Anthony Church (44765-48665)',53.333035,-1.46733,'ParishChurch'),new Array('Saint Michael The Archangel Church (44702-48384)',53.3309542,-1.6538226,'ParishChurch'),new Array('Saint Benedict Catholic Voluntary Academy (37813-35917)',52.943299,-1.485926,'School'),new Array('The Priory Catholic Primary School (37881-35985)',53.012928,-1.294284,'School'),new Array('Our Lady of Beauchief and St Thomas of Canterbury (65217-70896)',53.338308,-1.482257,'Church'),new Array('Our Lady of Good Counsel Church (55990-62165)',53.012192,-1.291494,'ParishChurch'),new Array('All Saints Catholic Secondary School (37890-35994)',53.15205,-1.213157,'School'),new Array('St Mary`s Catholic Primary School (37812-35916)',52.939371,-1.485838,'School'),new Array('St Wilfrid`s Catholic Primary School (37660-35764)',53.348055,-1.506384,'School'),new Array('St Philip Neri Catholic Primary School (37883-35987)',53.149393,-1.204294,'School'),new Array('St Wilfrid`s (65216-48696)',53.348055,-1.506384,'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';
}
//