strList="
St Peter`s & St Paul`s Catholic Primary School (0 miles)
Zoom on map | View full information
Blackbrook St Mary`s Catholic Primary School (0.9 miles)
Zoom on map | View full information
St Mary Immaculate (1 miles)
Zoom on map | View full information
Holy Cross Catholic Primary School (1.1 miles)
Zoom on map | View full information
Lowe House (1.1 miles)
Zoom on map | View full information
(1.2 miles)
Zoom on map | View full information
Holy Cross and St Helen (1.2 miles)
Zoom on map | View full information
";
function showResults()
{
document.getElementById("mapList").style.display="block";
}
var records = new Array(new Array('St Peter`s and St Paul`s Catholic Primary School (37463-35567)',53.470662,-2.725258,'School'),new Array('Blackbrook St Mary`s Catholic Primary School (37456-35560)',53.464369,-2.70596,'School'),new Array('St Mary Immaculate (52937-57757)',53.465,-2.704103,'ParishChurch'),new Array('Holy Cross Catholic Primary School (37457-35561)',53.456004,-2.732161,'School'),new Array('Lowe House (77061-78725)',53.4575591,-2.7406361,'Other'),new Array(' (72606-77169)',53.4537434,-2.7326182,'Other'),new Array('Holy Cross and St Helen (52927-57752)',53.453728,-2.732619,'ParishChurch'),new Array('St Augustine Of Canterbury Catholic High School (37620-35724)',53.458144,-2.706776,'School'),new Array('St Thomas of Canterbury (52925-77169)',53.462319,-2.757333,'ParishChurch'),new Array('St Mary`s Presbytery (52916-57747)',53.49183,-2.716289,'Other'),new Array('St Mary (52917-57747)',53.49183,-2.716289,'ParishChurch'),new Array('St Thomas Of Canterbury Cath Prim Sch, Windleshaw School (37462-35566)',53.464298,-2.75996,'School'),new Array('St Mary`s Presbytery (52916-77244)',53.49183,-2.716289,'Other'),new Array('Birchley,st Mary`s Catholic Primary School (37465-35569)',53.49183,-2.716289,'School'),new Array('Nugent House School (37656-35760)',53.491976,-2.709976,'School'),new Array('St Teresa`s Catholic Primary School (37460-35564)',53.454157,-2.757399,'School'),new Array('Holy Spirit Catholic Primary School (37461-35565)',53.450605,-2.69099,'School'),new Array('De La Salle High School (37621-35725)',53.455481,-2.769636,'School'),new Array('St Cuthbert`s Catholic High School (37622-35726)',53.443627,-2.700723,'School'),new Array('St Vincent de Paul (72514-57753)',53.44895150000001,-2.6889896,'ParishChurch'),new Array('St Teresa (52923-57750)',53.450398,-2.770118,'ParishChurch'),new Array('St Bartholomew (52933-57755)',53.435277,-2.722245,'ParishChurch'),new Array('St Julie`s RC Primary School (37471-35575)',53.456793,-2.78222,'School'),new Array('St Anne and Blessed Dominic (52929-57753)',53.435277,-2.722245,'ParishChurch'),new Array('St Julie (52915-57746)',53.458334,-2.782926,'ParishChurch'),new Array('St Julie`s Parish House (52914-57746)',53.458334,-2.782926,'Other'),new Array('Sutton Community (72470-77322)',53.4340821,-2.7093103,'Other'),new Array('Parish Office (72604-57753)',53.4340231,-2.7086471,'Other'),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('Carmel RC Sixth Form College School (39093-37199)',53.442095,-2.769936,'School'),new Array('St Anne`s Catholic Primary School (37458-35562)',53.431852,-2.708311,'School'),new Array('St Austin (52931-57754)',53.434972,-2.760685,'ParishChurch'),new Array('St Austin`s RC Primary School (37459-35563)',53.433886,-2.75904,'School'),new Array('St Patrick`s Parish House (52996-57787)',53.453887,-2.655745,'Other'),new Array('St Patrick (52997-57785)',53.453887,-2.655745,'ParishChurch'),new Array('St John Vianney Catholic Primary School (37464-35568)',53.428084,-2.748372,'School'),new Array('St Patrick`s Parish House (52996-57785)',53.453887,-2.655745,'Other'),new Array('St Patrick (52997-57787)',53.453887,-2.655745,'ParishChurch'),new Array('Our Lady Immaculate (52981-57779)',53.50056,-2.662993,'ParishChurch'),new Array('Our Lady Help of Christians (52903-57740)',53.433387,-2.777861,'ParishChurch'),new Array('Corpus Christi (52913-57745)',53.503935,-2.789526,'ParishChurch'),new Array('St Edmund Arrowsmith Catholic High School (37634-35738)',53.48252970000001,-2.639852000000019,'School'),new Array('St Oswald`s Presbytery (52994-57786)',53.485186,-2.640555,'Other'),new Array('St Oswald and St Edmund Arrowsmith (52995-57786)',53.485186,-2.640555,'ParishChurch'),new Array('Corpus Christi Catholic Primary School (37444-35548)',53.506796,-2.790484,'School'),new Array('St Oswald`s Catholic Primary School (37518-35622)',53.487539,-2.639294,'School'),new Array('St Theresa`s Catholic Primary School (37472-35576)',53.417109,-2.721969,'School'),new Array('St Paul of the Cross (52969-57773)',53.430071,-2.661534,'ParishChurch'),new Array('St Mary`s Catholic Junior School (37468-35572)',53.454477,-2.636418,'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';
}
//