strList="
All Saints Ukrainian Catholic Church (0 miles)
Zoom on map | View full information
St Edmund (0.4 miles)
Zoom on map | View full information
St Patrick (0.5 miles)
Zoom on map | View full information
St Joseph (0.8 miles)
Zoom on map | View full information
St Peter and St Paul School (0.9 miles)
Zoom on map | View full information
St Joseph`s School (0.9 miles)
Zoom on map | View full information
The Good Shepherd (Polish) (1.2 miles)
Zoom on map | View full information
";
function showResults()
{
document.getElementById("mapList").style.display="block";
}
var records = new Array(new Array('All Saints Ukrainian Catholic Church (71215-75387)',53.58346239999999,-2.4282889,'Church'),new Array('St Edmund (57081-63217)',53.579162,-2.434014,'ParishChurch'),new Array('St Patrick (5776-63217)',53.576517,-2.427175,'Church'),new Array('St Joseph (57101-63227)',53.591753,-2.440918399999987,'ParishChurch'),new Array('St Peter and St Paul School (37968-36072)',53.571387,-2.43454,'School'),new Array('St Joseph`s School (38051-36069)',53.590347,-2.44821,'School'),new Array('The Good Shepherd (Polish) (5780-75379)',53.566053,-2.435437,'ParishChurch'),new Array('Parish Office (71308-63227)',53.584341,-2.456943,'Other'),new Array('St Thomas of Canterbury (57105-63227)',53.5838277,-2.460171599999967,'ParishChurch'),new Array('St Columba`s School (38047-36151)',53.600132,-2.411534,'School'),new Array('The Holy Infant and St Anthony (57089-63221)',53.601765,-2.436055,'ParishChurch'),new Array('Thornleigh Salesian House (71042-74961)',53.6012595,-2.443732899999986,'Other'),new Array('Holy Infant and St Anthony RC Primary School (66527-36060)',53.602445,-2.436144,'School'),new Array('Thornleigh Salesian Collegeandnbsp, (38060-36164)',53.601347,-2.443703,'School'),new Array('Thornleigh Salesian House (71042-75117)',53.6012595,-2.443732899999986,'Other'),new Array('St Joseph`s (71041-75116)',53.6026281,-2.44302730000004,'Other'),new Array('St Osmund (57093-63223)',53.579718,-2.392802,'ParishChurch'),new Array('St Thomas Of Canterbury School (38056-36160)',53.585039,-2.463547,'School'),new Array('St Joseph`s (71041-74961)',53.6026281,-2.44302730000004,'Other'),new Array('St Ethelbert`s School (38048-36152)',53.56838,-2.455256,'School'),new Array('St William Of York School (38057-36161)',53.560598,-2.432859,'School'),new Array('St Ethelbert (57097-63225)',53.56776199999999,-2.455522599999995,'ParishChurch'),new Array('Ss Osmund and Andrew School (38053-36157)',53.577579,-2.390383,'School'),new Array('St William of York (57099-63225)',53.559539,-2.436187,'Church'),new Array('Mount St Joseph Business And Enterprise College School (66528-74545)',53.555189,-2.422253,'School'),new Array('Mount St Joseph Business And Enterprise College School (66528-36076)',53.555189,-2.422253,'School'),new Array('St Brendan`s School (38046-36150)',53.603172,-2.38675,'School'),new Array('St Brendan (57103-63228)',53.603659,-2.388229,'ParishChurch'),new Array('St John the Evangelist (5802-63228)',53.616445,-2.419284,'Church'),new Array('St Bernard`s School (38045-36149)',53.570096,-2.480688,'School'),new Array('St John The Evangelist School (38050-36154)',53.617431,-2.425414,'School'),new Array('Our Lady of Lourdes (57167-63260)',53.548611,-2.418691,'ParishChurch'),new Array('Our Lady Of Lourdes School (38043-36147)',53.548498,-2.418081,'School'),new Array('St Teresa`s School (38055-36159)',53.561596,-2.377372,'School'),new Array('St Teresa (57215-63223)',53.561596,-2.377372,'ParishChurch'),new Array('St Gregory`s School (38049-36153)',53.547745,-2.391044,'School'),new Array('20 Newbrook Road (71143-75370)',53.545719,-2.470531,'Other'),new Array('St Vincent de Paul (57109-63231)',53.545719,-2.470531,'ParishChurch'),new Array('The Presbytery (71335-75347)',53.530095,-2.434786,'Other'),new Array('Our Lady and the Lancashire Martyrs (5902-5093)',53.530095,-2.434786,'Church'),new Array('Schoenstatt Centre and Shrine (71043-74941)',53.540017,-2.372983,'Other'),new Array('St John Fisher (57201-63277)',53.540017,-2.372983,'ParishChurch'),new Array('Schoenstatt Centre and Shrine (71043-75118)',53.540017,-2.372983,'Other'),new Array('Schoenstatt Centre and Shrine (71043-74962)',53.540017,-2.372983,'Other'),new Array('St Edmund, King and Martyr (57209-5093)',53.528409,-2.410702,'Church'),new Array('St Edmund`s RC Primary School (38996-37102)',53.5271334,-2.410116900000048,'School'),new Array('St Hilda (57419-63386)',53.615492,-2.344229,'ParishChurch'),new Array('St Mary (57343-63348)',53.566627,-2.330215,'ParishChurch'),new Array('St Mary School (38069-36173)',53.566627,-2.330215,'School'),new Array('Holly Mount School (38062-36080)',53.624086,-2.349385,'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';
}
//