strList="
Our Lady Of Perpetual Succour Catholic Primary School (0 miles)
Zoom on map | View full information
St Michael`s Catholic Primary School (0.7 miles)
Zoom on map | View full information
St Basil (0.8 miles)
Zoom on map | View full information
St Basil`s Catholic Primary School (0.8 miles)
Zoom on map | View full information
St Michael (0.8 miles)
Zoom on map | View full information
Holy Family (1.6 miles)
Zoom on map | View full information
St Peter`s & St Paul`s Catholic High 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 Of Perpetual Succour Catholic Primary School (37709-35813)',53.366387,-2.780292,'School'),new Array('St Michael`s Catholic Primary School (37705-35809)',53.361158,-2.764704,'School'),new Array('St Basil (52945-57762)',53.37764,-2.776334,'ParishChurch'),new Array('St Basil`s Catholic Primary School (37708-35812)',53.37764,-2.776334,'School'),new Array('St Michael (52943-57762)',53.362171,-2.762258,'ParishChurch'),new Array('Holy Family (52941-57759)',53.369979,-2.74218,'ParishChurch'),new Array('St Peter`s and St Paul`s Catholic High School (37636-35740)',53.373386,-2.739972,'School'),new Array('Holy Family Catholic Primary School (37398-35502)',53.39137,-2.758915,'School'),new Array('St Mark`s Catholic Primary School (38879-36985)',53.363816,-2.825808,'School'),new Array('Holy Family (52723-57650)',53.364317,-2.828643,'ParishChurch'),new Array('St Mark (72508-57650)',53.3643152,-2.8286428,'Church'),new Array('St Bede (52845-57711)',53.371131,-2.730945,'ParishChurch'),new Array('St Bede`s Catholic Infant School (37704-35808)',53.371131,-2.730945,'School'),new Array('St Bede (52947-57762)',53.371131,-2.730945,'ParishChurch'),new Array('St Bede`s Catholic Junior School (37703-35807)',53.371131,-2.730945,'School'),new Array('St Gerard`s RC Primary and Nursery School (37713-35817)',53.362676,-2.727434,'School'),new Array('St Ambrose Catholic Primary School (37694-35798)',53.341385,-2.822386,'School'),new Array('St Ambrose (52717-57647)',53.340644,-2.825495,'ParishChurch'),new Array('St John Vianney Presbytery (72721-57650)',53.37119999999999,-2.841582,'Other'),new Array('St Andrew`s The Apostle Primary School (37411-35515)',53.36072,-2.845598,'School'),new Array('Holy Family Catholic Primary School (37409-35513)',53.369924,-2.848125,'School'),new Array('St John Fisher Catholic Primary School (37711-35815)',53.372486,-2.710542,'School'),new Array('St Edward`s School (38163-36267)',53.341623,-2.723216,'School'),new Array('St Gregory`s Catholic Primary School (37450-35554)',53.3892,-2.83875,'School'),new Array('St John Fisher Hall (52948-57762)',53.376011,-2.708722,'Other'),new Array('St Christopher`s Parish House (52718-57647)',53.344274,-2.843816,'Other'),new Array('St John Fisher (52949-57762)',53.376011,-2.708722,'ParishChurch'),new Array('St Leo`s Parish House (52908-57744)',53.409017,-2.798568,'Other'),new Array('St Edward Church (59686-32827)',53.335456,-2.730635,'ParishChurch'),new Array('St Leo (52909-57744)',53.408545,-2.797987,'ParishChurch'),new Array('St Leo`s Catholic Primary School (37416-35520)',53.409406,-2.792753,'School'),new Array('St Edward Church (63326-32827)',53.335456,-2.730635,'ParishChurch'),new Array('St Christopher (52719-57647)',53.344274,-2.843816,'ParishChurch'),new Array('St Clement`s School (38162-36266)',53.332836,-2.732888,'School'),new Array('St Bartholomew`s RC Primary School (37445-35549)',53.406874,-2.750647,'School'),new Array('St Christopher`s Catholic Primary School (37443-35547)',53.346691,-2.847769,'School'),new Array('Tarbock Road Community (72444-77296)',53.4020253,-2.8347748,'Other'),new Array('Much Woolton Catholic Primary School (37427-35531)',53.373109,-2.862768,'School'),new Array('Our Lady Of The Assumption RC Infant School (37696-35800)',53.383658,-2.860937,'School'),new Array('St Edmund Arrowsmith Catholic Centre for Learning (37604-35708)',53.4185173,-2.786527699999965,'School'),new Array('St Julie`s Catholic High School (37611-35715)',53.37177,-2.866424,'School'),new Array('Holy Spirit School (38129-36233)',53.331845,-2.710917,'School'),new Array('St Mary`s Parish House (52892-57735)',53.375738,-2.868428,'Other'),new Array('St Joseph`s Presbytery (52858-57714)',53.375738,-2.868428,'Other'),new Array('St Mary (52893-57735)',53.375738,-2.868428,'ParishChurch'),new Array('St Luke`s Catholic Primary School (37412-35516)',53.420858,-2.790032,'School'),new Array('Our Lady Of The Assumption RC Junior School (37693-35797)',53.390987,-2.861656,'School'),new Array('St Anne`s Catholic Primary School (37418-35522)',53.405274,-2.846105,'School'),new Array('Our Lady Of The Assumption Catholic Primary School (38883-36989)',53.391464,-2.86535,'School'),new Array('The Gatehouse (72467-77319)',53.4119865,-2.8358574,'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';
}
//