strList="
Schoenstatt Centre and Shrine (0 miles)
Zoom on map | View full information
St John Fisher (0 miles)
Zoom on map | View full information
Schoenstatt Centre and Shrine (0 miles)
Zoom on map | View full information
Schoenstatt Centre and Shrine (0 miles)
Zoom on map | View full information
St Gregory`s School (0.9 miles)
Zoom on map | View full information
St Mark`s RC Primary School (1.4 miles)
Zoom on map | View full information
St Teresa`s School (1.5 miles)
Zoom on map | View full information
";
function showResults()
{
document.getElementById("mapList").style.display="block";
}
var records = new Array(new Array('Schoenstatt Centre and Shrine (71043-74941)',53.540017,-2.372983,'Other'),new Array('St John Fisher (57201-63277)',53.540017,-2.372983,'ParishChurch'),new Array('Schoenstatt Centre and Shrine (71043-75118)',53.540017,-2.372983,'Other'),new Array('Schoenstatt Centre and Shrine (71043-74962)',53.540017,-2.372983,'Other'),new Array('St Gregory`s School (38049-36153)',53.547745,-2.391044,'School'),new Array('St Mark`s RC Primary School (38994-37100)',53.5197619,-2.365328599999998,'School'),new Array('St Teresa`s School (38055-36159)',53.561596,-2.377372,'School'),new Array('St Teresa (57215-63223)',53.561596,-2.377372,'ParishChurch'),new Array('Christ the King (57425-5093)',53.522694,-2.3934,'ParishChurch'),new Array('Christ The King RC Primary School (38988-37094)',53.521059,-2.390737,'School'),new Array('St Ambrose Barlow RC High School (39012-37118)',53.51966150000001,-2.357724599999983,'School'),new Array('St Edmund, King and Martyr (57209-5093)',53.528409,-2.410702,'Church'),new Array('Bishop`s House (4803-883)',53.51576,-2.36677,'Other'),new Array('St Edmund`s RC Primary School (38996-37102)',53.5271334,-2.410116900000048,'School'),new Array('Our Lady Of Lourdes School (38043-36147)',53.548498,-2.418081,'School'),new Array('Our Lady of Lourdes (57167-63260)',53.548611,-2.418691,'ParishChurch'),new Array('St Charles (57413-63383)',53.512743,-2.35249,'ParishChurch'),new Array('St Charles RC Primary School (38993-37099)',53.512743,-2.35249,'School'),new Array('St Mark (57339-63383)',53.516726,-2.335089,'ParishChurch'),new Array('St Teresa of Calcutta Catholic Academy Trust (71331-74366)',53.5179267,-2.3357343,'Other'),new Array('Mount St Joseph Business And Enterprise College School (66528-36076)',53.555189,-2.422253,'School'),new Array('Mount St Joseph Business And Enterprise College School (66528-74545)',53.555189,-2.422253,'School'),new Array('St Mary School (38069-36173)',53.566627,-2.330215,'School'),new Array('St Mary (57343-63348)',53.566627,-2.330215,'ParishChurch'),new Array('The Presbytery (71335-75347)',53.530095,-2.434786,'Other'),new Array('Our Lady and the Lancashire Martyrs (5902-5093)',53.530095,-2.434786,'Church'),new Array('St Mary`s Primary School (71035-74617)',53.5112918,-2.331647900000007,'School'),new Array('Ss Osmund and Andrew School (38053-36157)',53.577579,-2.390383,'School'),new Array('Holy Family RC Primary School (37533-35637)',53.50683,-2.411809,'School'),new Array('St William Of York School (38057-36161)',53.560598,-2.432859,'School'),new Array('St Osmund (57093-63223)',53.579718,-2.392802,'ParishChurch'),new Array('St William of York (57099-63225)',53.559539,-2.436187,'Church'),new Array('The Good Shepherd (Polish) (5780-75379)',53.566053,-2.435437,'ParishChurch'),new Array('St Peter and St Paul School (37968-36072)',53.571387,-2.43454,'School'),new Array('St Patrick (5776-63217)',53.576517,-2.427175,'Church'),new Array('Holy Family Catholic Primary School (38890-36996)',53.507054,-2.435148,'School'),new Array('Our Lady Of Grace School (38063-36167)',53.538521,-2.286921,'School'),new Array('St Bernadette (57433-74536)',53.558183,-2.293795,'ParishChurch'),new Array('Holy Family (53001-57789)',53.504849,-2.433678,'ParishChurch'),new Array('Holy Family (53001-77173)',53.504849,-2.433678,'ParishChurch'),new Array('St Bernadette School (38065-36169)',53.558292,-2.292278,'School'),new Array('Our Lady of Grace (57341-63347)',53.534223,-2.284487,'ParishChurch'),new Array('St Luke`s RC Primary School (39004-37110)',53.500963,-2.312305,'School'),new Array('St Edmund (57081-63217)',53.579162,-2.434014,'ParishChurch'),new Array('St Michael School (38070-36174)',53.550991,-2.285602,'School'),new Array('St Gilbert`s RC Primary School (38992-37098)',53.484637,-2.36831,'School'),new Array('All Saints Ukrainian Catholic Church (71215-75387)',53.58346239999999,-2.4282889,'Church'),new Array('St Ethelbert (57097-63225)',53.56776199999999,-2.455522599999995,'ParishChurch'),new Array('St Ethelbert`s School (38048-36152)',53.56838,-2.455256,'School'),new Array('St Michael (57435-74536)',53.551285,-2.278741,'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';
}
//