strList="
St Columba (0 miles)
Zoom on map | View full information
St Agnes and St Aidan (0 miles)
Zoom on map | View full information
St Aloysius (0.3 miles)
Zoom on map | View full information
St Aloysius Catholic Primary School (0.3 miles)
Zoom on map | View full information
The Gatehouse (0.5 miles)
Zoom on map | View full information
St Aidan`s Parish Club (0.5 miles)
Zoom on map | View full information
St Aidan`s Catholic Primary School (0.5 miles)
Zoom on map | View full information
";
function showResults()
{
document.getElementById("mapList").style.display="block";
}
var records = new Array(new Array('St Columba (52735-57742)',53.416178,-2.846143,'ParishChurch'),new Array('St Agnes and St Aidan (52727-57652)',53.416178,-2.846143,'ParishChurch'),new Array('St Aloysius (52733-57655)',53.417313,-2.852047,'ParishChurch'),new Array('St Aloysius Catholic Primary School (37386-35490)',53.417313,-2.852047,'School'),new Array('The Gatehouse (72467-77319)',53.4119865,-2.8358574,'Other'),new Array('St Aidan`s Parish Club (72629-57652)',53.4170086,-2.8349628,'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 Columba`s RC Primary School (37387-35491)',53.425416,-2.841208,'School'),new Array('St Anne`s Catholic Primary School (37418-35522)',53.405274,-2.846105,'School'),new Array('St Columba`s Parish Office (72528-57742)',53.42718869999999,-2.8419648,'Other'),new Array('Hope Primary A Joint Catholic and Church of England Primary School (37399-35503)',53.427745,-2.861331,'School'),new Array('Tarbock Road Community (72444-77296)',53.4020253,-2.8347748,'Other'),new Array('St Dominic`s Parish House (52736-57657)',53.427826,-2.866239,'Other'),new Array('St Dominic (52737-57657)',53.427826,-2.866239,'ParishChurch'),new Array('St Margaret Mary (52741-57659)',53.414467,-2.878801,'ParishChurch'),new Array('St Margaret Mary`s Catholic Infant School (37420-35524)',53.414467,-2.878801,'School'),new Array('St Margaret Mary`s Catholic Junior School (37674-35778)',53.414467,-2.878801,'School'),new Array('Swanside Road Community (72468-77320)',53.4144683,-2.881975,'Other'),new Array('St Brigid`s Catholic Primary School (37415-35519)',53.433886,-2.868485,'School'),new Array('St Paschal Baylon RC Primary School (37451-35555)',53.401462,-2.876081,'School'),new Array('St Vincent`s Sch For Blind and Partially Sighted Chd School (37655-35759)',53.426728,-2.883659,'School'),new Array('Broughton Hall High Technology College School (37652-35756)',53.424132,-2.887097,'School'),new Array('St Albert`s Catholic Primary School (37408-35512)',53.439049,-2.872925,'School'),new Array('Cardinal Heenan RC High School (37612-35716)',53.423481,-2.889927,'School'),new Array('St Gregory`s Catholic Primary School (37450-35554)',53.3892,-2.83875,'School'),new Array('Our Lady Of The Assumption RC Junior School (37693-35797)',53.390987,-2.861656,'School'),new Array('Our Lady Of The Assumption Catholic Primary School (38883-36989)',53.391464,-2.86535,'School'),new Array('St Albert (52731-57654)',53.4401103,-2.867979200000036,'ParishChurch'),new Array('St Leo`s Parish House (52908-57744)',53.409017,-2.798568,'Other'),new Array('Our Lady`s Catholic Primary School (37401-35505)',53.432151,-2.801786,'School'),new Array('St Leo (52909-57744)',53.408545,-2.797987,'ParishChurch'),new Array('St Paul (52747-57662)',53.436795,-2.888101,'ParishChurch'),new Array('St Timothy (52751-57664)',53.436795,-2.888101,'ParishChurch'),new Array('Prescot Guild Hall (72600-57741)',53.431911,-2.8010277,'Other'),new Array('St Luke`s Catholic Primary School (37412-35516)',53.420858,-2.790032,'School'),new Array('St Leo`s Catholic Primary School (37416-35520)',53.409406,-2.792753,'School'),new Array('Our Lady Of The Assumption RC Infant School (37696-35800)',53.383658,-2.860937,'School'),new Array('Our Lady Immaculate and St Joseph (52905-57741)',53.448848,-2.836268,'ParishChurch'),new Array('Lauren House Community (72452-77304)',53.4235271,-2.788455,'Other'),new Array('Christ the King and Our Lady (52713-57645)',53.401084,-2.899101,'ParishChurch'),new Array('St Edmund Arrowsmith Catholic Centre for Learning (37604-35708)',53.4185173,-2.786527699999965,'School'),new Array('St John Fisher Catholic Primary School (37417-35521)',53.4528,-2.84958,'School'),new Array('St Paul`s Junior School (37682-35786)',53.429354,-2.901488,'School'),new Array('St Paul`s and St Timothy`s Catholic Infant School (37695-35799)',53.430023,-2.903429,'School'),new Array('Christ The King RC Primary School (37423-35527)',53.400404,-2.901117,'School'),new Array('St John Fisher (52907-57742)',53.453846,-2.850324,'ParishChurch'),new Array('Emmaus Church Of England And Catholic Primary School (39125-37231)',53.449181,-2.877711,'School'),new Array('Emmaus Church Of England and Catholic Voluntary Aided Primary School (72580-77214)',53.449288,-2.877501,'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';
}
//