strList="
Saint Joseph And Saint Nicholas Church (0 miles)
Zoom on map | View full information
Holy Family Catholic Primary School (3.4 miles)
Zoom on map | View full information
Our Lady Of The Assumption Church (3.7 miles)
Zoom on map | View full information
Sacred Heart (3.7 miles)
Zoom on map | View full information
St Joseph and St Dympna Church (5.2 miles)
Zoom on map | View full information
St Norbert`s Catholic Primary School (5.2 miles)
Zoom on map | View full information
St Norbert Church (5.2 miles)
Zoom on map | View full information
";
function showResults()
{
document.getElementById("mapList").style.display="block";
}
var records = new Array(new Array('Saint Joseph And Saint Nicholas Church (44722-48463)',53.628864,-0.954993,'ParishChurch'),new Array('Holy Family Catholic Primary School (37376-35480)',53.600169,-1.021647,'School'),new Array('Our Lady Of The Assumption Church (44724-48473)',53.594661,-1.024116,'ParishChurch'),new Array('Sacred Heart (63057-66686)',53.668524,-0.895256,'ParishChurch'),new Array('St Joseph and St Dympna Church (56035-62234)',53.608282,-0.833602,'ParishChurch'),new Array('St Norbert`s Catholic Primary School (37862-35966)',53.607873,-0.832223,'School'),new Array('St Norbert Church (55975-62143)',53.607873,-0.832223,'ParishChurch'),new Array('St Thomas Of Canterbury, Kirk Sandal Parish Church (4980-70872)',53.565648,-1.063725,'ParishChurch'),new Array('St Mary (63156-66747)',53.71149,-1.020279,'Church'),new Array('Holy Family School (38645-36749)',53.713539,-1.01908,'School'),new Array('Holy Family School (38645-78336)',53.713539,-1.01908,'School'),new Array('St. Joseph School (38702-36806)',53.708706,-0.87137,'School'),new Array('Our Lady Of Sorrows Catholic Primary School (37378-35482)',53.53971,-1.061822,'School'),new Array('Our Lady Of Sorrows And Saint Francis of Assisi Church (44706-48391)',53.53971,-1.061822,'ParishChurch'),new Array('St Joseph and St Thomas (63150-66686)',53.7415683,-0.871353999999997,'Church'),new Array('Saint George and The English Martyrs Church (44711-48405)',53.612043,-1.164418,'ParishChurch'),new Array('Our Lady Of Mt Carmel School (37297-35401)',53.53246,-1.099851,'School'),new Array('Our Lady Of Mount Carmel And Saint Mary Magdalen (44712-48406)',53.533179,-1.10094,'ParishChurch'),new Array('Our Lady of Mount Carmel School (65169-48406)',53.531438,-1.102975,'School'),new Array('The Mcauley Catholic High School (37598-35702)',53.508207,-1.059924,'School'),new Array('Our Lady`s Primary School (65170-48409)',53.547979,-1.143246,'School'),new Array('Our Lady Of Perpetual Help Catholic School (37374-35478)',53.546929,-1.143478,'School'),new Array('Our Lady Of Perpetual Help Church (44713-48409)',53.546072,-1.146801,'ParishChurch'),new Array('St Paul`s Church (44714-48424)',53.506851,-1.076224,'ParishChurch'),new Array('St Helen Church (44710-48404)',53.601686,-1.191182,'ParishChurch'),new Array('St Peter`s Catholic Primary School (37296-35400)',53.514796,-1.110466,'School'),new Array('St Peter`s Primary School (65173-70861)',53.514796,-1.110466,'School'),new Array('Maridon Pastoral Centre (65175-70862)',53.525109,-1.130418,'Other'),new Array('Maridon Pastoral Centre Church (44717-48452)',53.525109,-1.130418,'ParishChurch'),new Array('St Peter-in-Chains (65172-70861)',53.520908,-1.128784,'ParishChurch'),new Array('St Joseph`s and St Teresa`s Primary School (37299-35403)',53.561491,-1.180837,'School'),new Array('Saint Joseph And Saint Teresa Church (44725-48486)',53.563344,-1.183595,'ParishChurch'),new Array('Saint Mary Church (44719-48454)',53.509693,-1.114977,'ParishChurch'),new Array('St Francis Xavier Catholic Primary School (37298-35402)',53.514658,-1.140826,'School'),new Array('St Francis Xavier Primary (65174-70861)',53.514658,-1.140826,'School'),new Array('St Francis Xavier Primary School (65168-48398)',53.514658,-1.140826,'School'),new Array('St. Mary School (38712-36816)',53.771125,-1.081175,'School'),new Array('St Joseph`s Catholic School (37738-35842)',53.47687,-1.070034,'School'),new Array('Christ The King Church (44723-48468)',53.47687,-1.070034,'ParishChurch'),new Array('St Mary (63163-66747)',53.781943,-1.077069,'ParishChurch'),new Array('St Augustine Webster Catholic Primary School (37865-35969)',53.59496,-0.674665,'School'),new Array('Sacred Heart Church (44709-48398)',53.504549,-1.159003,'ParishChurch'),new Array('Holy Souls Church (56062-62277)',53.59396,-0.654283,'ParishChurch'),new Array('St Bernadette Church (56063-62279)',53.567912,-0.653706,'ParishChurch'),new Array('St Michael (63170-66733)',53.7097621,-1.2461109,'Church'),new Array('St Bede`s Catholic Secondary School (37866-35970)',53.5681,-0.644896,'School'),new Array('St Bernadette`s Catholic Primary School (37864-35968)',53.569278,-0.637021,'School'),new Array('St Mary`s Catholic Primary School (37377-35481)',53.481936,-1.19313,'School'),new Array('Address: Cobblers Lane School (38646-36750)',53.693241,-1.290124,'School'),new Array('St Joseph`s Catholic Primary (moorthorpe) School (38876-36982)',53.5940487,-1.3015176,'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';
}
//