strList="
St Chad`s School (0 miles)
Zoom on map | View full information
Holy Spirit School (0.4 miles)
Zoom on map | View full information
Holy Spirit Church (0.9 miles)
Zoom on map | View full information
St Clement`s School (1 miles)
Zoom on map | View full information
Our Lady Church (1 miles)
Zoom on map | View full information
St Edward Church (1 miles)
Zoom on map | View full information
St Edward Church (1 miles)
Zoom on map | View full information
";
function showResults()
{
document.getElementById("mapList").style.display="block";
}
var records = new Array(new Array('St Chad`s School (38227-36331)',53.325811,-2.711328,'School'),new Array('Holy Spirit School (38129-36233)',53.331845,-2.710917,'School'),new Array('Holy Spirit Church (59598-32824)',53.335684,-2.695513,'ParishChurch'),new Array('St Clement`s School (38162-36266)',53.332836,-2.732888,'School'),new Array('Our Lady Church (59600-32826)',53.32123,-2.687847,'ParishChurch'),new Array('St Edward Church (63326-32827)',53.335456,-2.730635,'ParishChurch'),new Array('St Edward Church (59686-32827)',53.335456,-2.730635,'ParishChurch'),new Array('Our Lady`s School (38139-36243)',53.32123,-2.687847,'School'),new Array('St Edward`s School (38163-36267)',53.341623,-2.723216,'School'),new Array('St Augustine`s School (38156-36260)',53.339581,-2.690125,'School'),new Array('St Augustine Church (63309-32825)',53.340452,-2.688712,'ParishChurch'),new Array('St Augustine Church (59669-32825)',53.340452,-2.688712,'ParishChurch'),new Array('St Martin de Porres Church (63372-32828)',53.325438,-2.662196,'ParishChurch'),new Array('St Luke Church (59725-32823)',53.297671,-2.722668,'ParishChurch'),new Array('St Martin`s School (38183-36287)',53.324324,-2.662074,'School'),new Array('St Martin de Porres Church (59732-32828)',53.325438,-2.662196,'ParishChurch'),new Array('St Luke`s Primary School (38181-36285)',53.294487,-2.719884,'School'),new Array('St Gerard`s RC Primary and Nursery School (37713-35817)',53.362676,-2.727434,'School'),new Array('St Bede (52845-57711)',53.371131,-2.730945,'ParishChurch'),new Array('St Bede`s Catholic Junior School (37703-35807)',53.371131,-2.730945,'School'),new Array('St Bede`s Catholic Infant School (37704-35808)',53.371131,-2.730945,'School'),new Array('St Bede (52947-57762)',53.371131,-2.730945,'ParishChurch'),new Array('St John Fisher Catholic Primary School (37711-35815)',53.372486,-2.710542,'School'),new Array('Holy Family (52941-57759)',53.369979,-2.74218,'ParishChurch'),new Array('St Michael`s Catholic Primary School (37705-35809)',53.361158,-2.764704,'School'),new Array('St Michael (52943-57762)',53.362171,-2.762258,'ParishChurch'),new Array('St John Fisher Hall (52948-57762)',53.376011,-2.708722,'Other'),new Array('St John Fisher (52949-57762)',53.376011,-2.708722,'ParishChurch'),new Array('St Peter`s and St Paul`s Catholic High School (37636-35740)',53.373386,-2.739972,'School'),new Array('Our Lady Of Perpetual Succour Catholic Primary School (37709-35813)',53.366387,-2.780292,'School'),new Array('St Vincent`s Catholic Primary School (37710-35814)',53.379965,-2.65545,'School'),new Array('St Basil`s Catholic Primary School (37708-35812)',53.37764,-2.776334,'School'),new Array('St Basil (52945-57762)',53.37764,-2.776334,'ParishChurch'),new Array('St Ambrose Catholic Primary School (37694-35798)',53.341385,-2.822386,'School'),new Array('St Ambrose (52717-57647)',53.340644,-2.825495,'ParishChurch'),new Array('St Joseph (52963-57770)',53.388064,-2.658958,'ParishChurch'),new Array('St Joseph`s Catholic Primary School (37706-35810)',53.389737,-2.658593,'School'),new Array('Holy Family Catholic Primary School (37398-35502)',53.39137,-2.758915,'School'),new Array('St Mark`s Catholic Primary School (38879-36985)',53.363816,-2.825808,'School'),new Array('Holy Family (52723-57650)',53.364317,-2.828643,'ParishChurch'),new Array('St Mark (72508-57650)',53.3643152,-2.8286428,'Church'),new Array('St Christopher (52719-57647)',53.344274,-2.843816,'ParishChurch'),new Array('St Christopher`s Parish House (52718-57647)',53.344274,-2.843816,'Other'),new Array('St Gregory`s Catholic High School (37635-35739)',53.390927,-2.620929,'School'),new Array('St Bartholomew`s RC Primary School (37445-35549)',53.406874,-2.750647,'School'),new Array('St Christopher`s Catholic Primary School (37443-35547)',53.346691,-2.847769,'School'),new Array('Sacred Heart RC Primary School (37540-35644)',53.389143,-2.614828,'School'),new Array('St Andrew`s The Apostle Primary School (37411-35515)',53.36072,-2.845598,'School'),new Array('Sacred Heart (52959-57768)',53.38918820000001,-2.6073548,'ParishChurch'),new Array('St Monica Church (59754-32822)',53.365259,-2.575307,'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';
}
//