strList="
St Bridget`s Catholic Primary School (0 miles)
Zoom on map | View full information
St Bridget`s Parish House (0.1 miles)
Zoom on map | View full information
St Stephen`s Catholic Primary School (0.9 miles)
Zoom on map | View full information
St Oswald`s RC Primary School (0.9 miles)
Zoom on map | View full information
St Oswald (0.9 miles)
Zoom on map | View full information
St Stephen, First Martyr (0.9 miles)
Zoom on map | View full information
St Benedict`s Catholic Primary School (1.1 miles)
Zoom on map | View full information
";
function showResults()
{
document.getElementById("mapList").style.display="block";
}
var records = new Array(new Array('St Bridget`s Catholic Primary School (37712-35816)',53.414535,-2.566057,'School'),new Array('St Bridget`s Parish House (4813-57774)',53.414492,-2.563785,'Other'),new Array('St Stephen`s Catholic Primary School (37698-35802)',53.413974,-2.589038,'School'),new Array('St Oswald`s RC Primary School (37701-35805)',53.402076,-2.564252,'School'),new Array('St Oswald (52967-57769)',53.402076,-2.564252,'ParishChurch'),new Array('St Stephen, First Martyr (52971-57774)',53.413974,-2.589038,'ParishChurch'),new Array('St Benedict`s Catholic Primary School (37697-35801)',53.400177,-2.579779,'School'),new Array('St Benedict (52961-57769)',53.400048,-2.585988,'ParishChurch'),new Array('St Mary`s Shrine (52965-77239)',53.401439,-2.540718,'ParishChurch'),new Array('St Mary`s Shrine (52965-57771)',53.401439,-2.540718,'ParishChurch'),new Array('St Peter`s RC Primary School (37702-35806)',53.401723,-2.535475,'School'),new Array('Cardinal Newman School (38220-36324)',53.386907,-2.56339,'School'),new Array('St Alban`s Catholic Primary School (37541-35645)',53.395127,-2.603004,'School'),new Array('St Alban (72519-57768)',53.3922292,-2.5961204,'ParishChurch'),new Array('St Augustine`s School (38155-36259)',53.383572,-2.563512,'School'),new Array('St Lewis Catholic Primary School (37700-35804)',53.444411,-2.545271,'School'),new Array('St Peter and St Michael (52973-57775)',53.397342,-2.52011,'ParishChurch'),new Array('St Joseph`s Family Centre (72617-57769)',53.3869565,-2.5971743,'Other'),new Array('Sacred Heart (52959-57768)',53.38918820000001,-2.6073548,'ParishChurch'),new Array('Our Lady`s School (38138-36242)',53.379383,-2.571168,'School'),new Array('Sacred Heart RC Primary School (37540-35644)',53.389143,-2.614828,'School'),new Array('St Gregory`s Catholic High School (37635-35739)',53.390927,-2.620929,'School'),new Array('St Lewis (52991-77213)',53.429375,-2.497167,'ParishChurch'),new Array('St Monica Church (59754-32822)',53.365259,-2.575307,'ParishChurch'),new Array('St Monica`s School (38192-36296)',53.364659,-2.572954,'School'),new Array('St Mary and St John (52993-57785)',53.456249,-2.630963,'ParishChurch'),new Array('St Catherine`s Of Sienna Primary School (37536-35640)',53.47152,-2.570311,'School'),new Array('St Paul Of The Cross Catholic Primary School (37699-35803)',53.429672,-2.657133,'School'),new Array('St Mary`s Catholic Junior School (37468-35572)',53.454477,-2.636418,'School'),new Array('St Winefride Church (63437-32814)',53.3795982,-2.488174999999956,'ParishChurch'),new Array('St Paul of the Cross (52969-57773)',53.430071,-2.661534,'ParishChurch'),new Array('St Joseph`s Catholic Primary School (37706-35810)',53.389737,-2.658593,'School'),new Array('St Joseph (52963-57770)',53.388064,-2.658958,'ParishChurch'),new Array('All Saints RC Primary School (37534-35638)',53.476304,-2.592132,'School'),new Array('St Vincent`s Catholic Primary School (37710-35814)',53.379965,-2.65545,'School'),new Array('All Saints (52975-57784)',53.474881,-2.598108,'ParishChurch'),new Array('St Patrick (52997-57787)',53.453887,-2.655745,'ParishChurch'),new Array('St Patrick`s Parish House (52996-57787)',53.453887,-2.655745,'Other'),new Array('St Patrick`s Parish House (52996-57785)',53.453887,-2.655745,'Other'),new Array('St Patrick (52997-57785)',53.453887,-2.655745,'ParishChurch'),new Array('Our Lady Of Lourdes School (38135-36239)',53.418702,-2.436427,'School'),new Array('Blessed English Martyrs (52977-57777)',53.469431,-2.663351,'ParishChurch'),new Array('Haydock English Martyrs Catholic Primary School (37470-35574)',53.469431,-2.663351,'School'),new Array('St Edmund Arrowsmith Catholic High School (37634-35738)',53.48252970000001,-2.639852000000019,'School'),new Array('St Vincent de Paul (72514-57753)',53.44895150000001,-2.6889896,'ParishChurch'),new Array('Holy Spirit Catholic Primary School (37461-35565)',53.450605,-2.69099,'School'),new Array('Our Lady of Lourdes Church (63256-32767)',53.417329,-2.428333,'ParishChurch'),new Array('Our Lady of Lourdes Church (59616-32767)',53.417329,-2.428333,'ParishChurch'),new Array('St Teresa`s RC Primary School (38989-37095)',53.43780169999999,-2.43247550000001,'School'),new Array('St Oswald`s Presbytery (52994-57786)',53.485186,-2.640555,'Other'));
// 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';
}
//