strList="
St Patrick and St Bridget Church (0 miles)
Zoom on map | View full information
St Patrick and St Bridget Church (0 miles)
Zoom on map | View full information
The Holy Family Church (4.2 miles)
Zoom on map | View full information
Christ The King Catholic Primary School (4.5 miles)
Zoom on map | View full information
Christ the King Church (4.9 miles)
Zoom on map | View full information
St Patrick (chapel Of Ease To Staveley) Church (5.3 miles)
Zoom on map | View full information
The Annunciation Church (5.3 miles)
Zoom on map | View full information
";
function showResults()
{
document.getElementById("mapList").style.display="block";
}
var records = new Array(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('The Holy Family Church (44698-48357)',53.223704,-1.426288,'ParishChurch'),new Array('Christ The King Catholic Primary School (37814-35918)',53.100954,-1.383982,'School'),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('The Annunciation Church (44696-48345)',53.239963,-1.431375,'ParishChurch'),new Array('St Joseph`s Convent School (37300-35404)',53.241292,-1.433006,'School'),new Array('St Mary`s Catholic Primary School (37393-35497)',53.240328,-1.434502,'School'),new Array('St Joseph`s Convent School (65185-48345)',53.241292,-1.433006,'Other'),new Array('St Joseph`s Catholic Primary School (38912-37018)',53.141571,-1.542419,'School'),new Array('Our Lady and St Joseph Church (56044-62250)',53.14104,-1.551604,'ParishChurch'),new Array('Saint Hugh Of Lincoln Church (44699-48362)',53.254155,-1.44643,'ParishChurch'),new Array('St Mary`s RC High School (37603-35707)',53.25326,-1.453112,'School'),new Array('St Joseph (65190-70877)',53.254155,-1.44643,'Church'),new Array('St Bernadette Church (55956-62119)',53.228202,-1.293043,'ParishChurch'),new Array('St Joseph the Worker Church (56073-62294)',53.125005,-1.260112,'ParishChurch'),new Array('The Briars Catholc Youth Retreat Centre (65851-70904)',53.076148,-1.476822,'Other'),new Array('St Joseph`s Catholic Primary School (37385-35489)',53.2578,-1.359411,'School'),new Array('St Joseph Church (56060-62274)',53.055393,-1.404355,'ParishChurch'),new Array('St Joseph`s Primary (65191-70877)',53.274064,-1.348296,'School'),new Array('All Saints Catholic Secondary School (37890-35994)',53.15205,-1.213157,'School'),new Array('Our Lady Help of Christians Church (56011-62194)',53.099349,-1.241405,'ParishChurch'),new Array('St Philip Neri Catholic Primary School (37883-35987)',53.149393,-1.204294,'School'),new Array('St Philip Neri Church (56039-62240)',53.1481843,-1.201012100000071,'ParishChurch'),new Array('St Joseph`s Catholic Primary School (37825-35929)',53.208682,-1.210504,'School'),new Array('St Joseph Church (56065-62282)',53.208682,-1.210504,'ParishChurch'),new Array('St Patrick Church (56038-62239)',53.1797388,-1.1971727,'ParishChurch'),new Array('Polish Church Of Our Lady Church (44718-48453)',53.149947,-1.190513,'ParishChurch'),new Array('Our Lady and St Teresa of Lisieux Church (56079-62303)',53.074953,-1.569022,'ParishChurch'),new Array('St Elizabeth`s Catholic Primary School (37815-35919)',53.030685,-1.481861,'School'),new Array('Holy Spirit Church (44701-48375)',53.304768,-1.457331,'ParishChurch'),new Array('Mount St Mary`s College (37317-35421)',53.302093,-1.319539,'School'),new Array('Mount St Mary`s College (65189-70876)',53.302093,-1.319539,'School'),new Array('Immaculate Conception Primary School (37394-35498)',53.302057,-1.317994,'School'),new Array('Immaculate Conception Church (44704-48387)',53.302057,-1.317994,'ParishChurch'),new Array('Our Lady of Perpetual Succour Church (55952-62113)',53.01847,-1.482245599999942,'ParishChurch'),new Array('St Patrick`s Catholic Primary School (37884-35988)',53.138672,-1.160319,'School'),new Array('Barlborough Hall School (37301-35405)',53.299129,-1.28467,'School'),new Array('St. Herbert Church (46997-54218)',53.018598,-1.307086,'ParishChurch'),new Array('St. Vincent Church (47258-54357)',53.018598,-1.307086,'ParishChurch'),new Array('St Teresa Church (56043-62249)',53.20299809999999,-1.1549589,'ParishChurch'),new Array('The Priory Catholic Primary School (37881-35985)',53.012928,-1.294284,'School'),new Array('Our Lady of Good Counsel Church (55990-62165)',53.012192,-1.291494,'ParishChurch'),new Array('English Martyrs Church (55949-62110)',53.215164,-1.677175,'ParishChurch'),new Array('English Martyrs Church (44766-48666)',53.316324,-1.530736,'ParishChurch'),new Array('St Anthony Church (44765-48665)',53.333035,-1.46733,'ParishChurch'),new Array('St Thomas Of Canterbury Catholic Primary School (37661-35765)',53.33187,-1.481959,'School'),new Array('St Thomas of Canterbury (65218-70896)',53.33187,-1.481959,'School'),new Array('All Saints Church (56003-62183)',53.247732,-1.664716,'ParishChurch'));
// 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';
}
//