strList="
Our Lady Immaculate and St Joseph (0 miles)
Zoom on map | View full information
St John Fisher Catholic Primary School (0.6 miles)
Zoom on map | View full information
St John Fisher (0.7 miles)
Zoom on map | View full information
St Albert (1.4 miles)
Zoom on map | View full information
St Columba`s Parish Office (1.5 miles)
Zoom on map | View full information
St Columba`s RC Primary School (1.6 miles)
Zoom on map | View full information
St Albert`s Catholic Primary School (1.7 miles)
Zoom on map | View full information
";
function showResults()
{
document.getElementById("mapList").style.display="block";
}
var records = new Array(new Array('Our Lady Immaculate and St Joseph (52905-57741)',53.448848,-2.836268,'ParishChurch'),new Array('St John Fisher Catholic Primary School (37417-35521)',53.4528,-2.84958,'School'),new Array('St John Fisher (52907-57742)',53.453846,-2.850324,'ParishChurch'),new Array('St Albert (52731-57654)',53.4401103,-2.867979200000036,'ParishChurch'),new Array('St Columba`s Parish Office (72528-57742)',53.42718869999999,-2.8419648,'Other'),new Array('St Columba`s RC Primary School (37387-35491)',53.425416,-2.841208,'School'),new Array('St Albert`s Catholic Primary School (37408-35512)',53.439049,-2.872925,'School'),new Array('Emmaus Church Of England and Catholic Voluntary Aided Primary School (72580-77214)',53.449288,-2.877501,'Other'),new Array('St Brigid`s Catholic Primary School (37415-35519)',53.433886,-2.868485,'School'),new Array('Emmaus Church Of England And Catholic Primary School (39125-37231)',53.449181,-2.877711,'School'),new Array('Hope Primary A Joint Catholic and Church of England Primary School (37399-35503)',53.427745,-2.861331,'School'),new Array('Our Lady`s Catholic Primary School (37401-35505)',53.432151,-2.801786,'School'),new Array('St Dominic (52737-57657)',53.427826,-2.866239,'ParishChurch'),new Array('St Dominic`s Parish House (52736-57657)',53.427826,-2.866239,'Other'),new Array('Prescot Guild Hall (72600-57741)',53.431911,-2.8010277,'Other'),new Array('St Aidan`s Catholic Primary School (37404-35508)',53.41806,-2.834051,'School'),new Array('St Joseph`s Catholic Primary School (37413-35517)',53.417497,-2.830926,'School'),new Array('St Joseph`s Catholic Primary School (37413-77218)',53.417497,-2.830926,'School'),new Array('St Aidan`s Parish Club (72629-57652)',53.4170086,-2.8349628,'Other'),new Array('St Aloysius Catholic Primary School (37386-35490)',53.417313,-2.852047,'School'),new Array('St Paul (52747-57662)',53.436795,-2.888101,'ParishChurch'),new Array('St Julie`s RC Primary School (37471-35575)',53.456793,-2.78222,'School'),new Array('St Aloysius (52733-57655)',53.417313,-2.852047,'ParishChurch'),new Array('St Agnes and St Aidan (52727-57652)',53.416178,-2.846143,'ParishChurch'),new Array('St Timothy (52751-57664)',53.436795,-2.888101,'ParishChurch'),new Array('St Julie`s Parish House (52914-57746)',53.458334,-2.782926,'Other'),new Array('St Julie (52915-57746)',53.458334,-2.782926,'ParishChurch'),new Array('St Columba (52735-57742)',53.416178,-2.846143,'ParishChurch'),new Array('The Gatehouse (72467-77319)',53.4119865,-2.8358574,'Other'),new Array('St Vincent`s Sch For Blind and Partially Sighted Chd School (37655-35759)',53.426728,-2.883659,'School'),new Array('Lauren House Community (72452-77304)',53.4235271,-2.788455,'Other'),new Array('St Laurence`s Catholic Primary School (37402-35506)',53.476666,-2.880508,'School'),new Array('All Saints Catholic High School (37605-35709)',53.474402,-2.883926,'School'),new Array('Our Lady Help of Christians (52903-57740)',53.433387,-2.777861,'ParishChurch'),new Array('St Luke`s Catholic Primary School (37412-35516)',53.420858,-2.790032,'School'),new Array('Broughton Hall High Technology College School (37652-35756)',53.424132,-2.887097,'School'),new Array('Our Lady and St Swithin`s Catholic Primary School (37429-35533)',53.458433,-2.900282,'School'),new Array('St Teresa (52923-57750)',53.450398,-2.770118,'ParishChurch'),new Array('De La Salle High School (37621-35725)',53.455481,-2.769636,'School'),new Array('Carmel RC Sixth Form College School (39093-37199)',53.442095,-2.769936,'School'),new Array('Our Lady Queen of Martyrs and St Swithin (52759-57668)',53.451611,-2.903752,'ParishChurch'),new Array('St Joseph The Worker RC Primary School (37403-35507)',53.475795,-2.887617,'School'),new Array('Cardinal Heenan RC High School (37612-35716)',53.423481,-2.889927,'School'),new Array('Southdene Community (72437-77289)',53.4766981,-2.8843494,'Other'),new Array('St Philomena`s Parish House (52756-57667)',53.451611,-2.903752,'Other'),new Array('Mansion Drive Community (72450-77302)',53.4538315,-2.9070356,'Other'),new Array('St Edmund Arrowsmith Catholic Centre for Learning (37604-35708)',53.4185173,-2.786527699999965,'School'),new Array('St Margaret Mary`s Catholic Infant School (37420-35524)',53.414467,-2.878801,'School'),new Array('St Paul`s Junior School (37682-35786)',53.429354,-2.901488,'School'),new Array('St Margaret Mary (52741-57659)',53.414467,-2.878801,'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';
}
//