strList="
St Ann`s Catholic Primary School (0 miles)
Zoom on map | View full information
St Ann`s (0 miles)
Zoom on map | View full information
St Ann Church (0.6 miles)
Zoom on map | View full information
Carmelite Monastery Of The Holy Spirit Church (3.6 miles)
Zoom on map | View full information
Saint Mary Church (3.7 miles)
Zoom on map | View full information
Saint Michael`s Cemetery Chapel Church (4.6 miles)
Zoom on map | View full information
St Mary`s Catholic Primary School (4.7 miles)
Zoom on map | View full information
";
function showResults()
{
document.getElementById("mapList").style.display="block";
}
var records = new Array(new Array('St Ann`s Catholic Primary School (37668-35772)',53.478302,-1.598097,'School'),new Array('St Ann`s (65199-48551)',53.478302,-1.598097,'School'),new Array('St Ann Church (44742-48551)',53.480443,-1.582918,'ParishChurch'),new Array('Carmelite Monastery Of The Holy Spirit Church (44748-48570)',53.427001,-1.584028,'ParishChurch'),new Array('Saint Mary Church (44749-48571)',53.527642,-1.635449,'ParishChurch'),new Array('Saint Michael`s Cemetery Chapel Church (44756-48633)',53.4123874,-1.5944729,'ParishChurch'),new Array('St Mary`s Catholic Primary School (37662-35766)',53.474531,-1.484503,'School'),new Array('Saint Mary Church (44745-48555)',53.47273,-1.483772,'ParishChurch'),new Array('St Thomas More (65207-70890)',53.435383,-1.485925,'School'),new Array('St Thomas More Catholic Primary School (37663-35767)',53.435383,-1.485925,'School'),new Array('St Thomas More Presbyetry (65206-70890)',53.431758,-1.475087,'ParishChurch'),new Array('Our Lady and St James (65158-70857)',53.527666,-1.466903,'Other'),new Array('St Helen`s Catholic Primary School (37371-35475)',53.500733,-1.444507,'School'),new Array('Holy Rood Primary School (65157-70854)',53.549589,-1.491697,'Other'),new Array('Our Lady`s Catholic Primary School (37373-35477)',53.533085,-1.46261,'School'),new Array('Sacred Heart Catholic Primary School (37389-35493)',53.400531,-1.499956,'School'),new Array('The Sacred Heart Church (44750-48574)',53.401508,-1.499403,'ParishChurch'),new Array('Holy Rood Rectory (65156-70854)',53.549889,-1.484147,'ParishChurch'),new Array('St Patrick (65204-70889)',53.422674,-1.455561,'ParishChurch'),new Array('St Patrick`s Catholic Primary School (37670-35774)',53.422674,-1.455561,'School'),new Array('St Patrick`s (65205-70889)',53.422674,-1.455561,'School'),new Array('St Vincent Church (44755-48632)',53.383762,-1.507384,'ParishChurch'),new Array('St Catherine`s Catholic Primary School (37390-35494)',53.403376,-1.463809,'School'),new Array('Catherine`s (65203-48590)',53.403376,-1.463809,'School'),new Array('Claremont Hospital Chapel Church (44759-48643)',53.37544519999999,-1.5361592,'Other'),new Array('St Francis of Assisi (65208-70891)',53.376928,-1.529049,'ParishChurch'),new Array('Diocese of Hallam (4798-878)',53.373131,-1.535058,'Other'),new Array('Saint Catherine Of Alexandria Church (44751-48590)',53.396908,-1.462582,'ParishChurch'),new Array('Notre Dame High School (37601-35705)',53.372701,-1.517131,'School'),new Array('St Marie`s Catholic Primary School (37391-35495)',53.373104,-1.514737,'School'),new Array('Catholic Chaplaincy to The University of Sheffield and Sheffield Hallam University (70991-70900)',53.3794461,-1.4963846,'Other'),new Array('Polish Catholic Centre (65222-70898)',53.3779799,-1.4855937,'Other'),new Array('St Teresa Church (44680-48288)',53.588283,-1.517639,'ParishChurch'),new Array('The Forty Martyrs Church (44738-48530)',53.4526848,-1.3961639,'ParishChurch'),new Array('Hallam University Catholic Chaplaincy, Parish Church (4841-1284)',53.3736674,-1.4902749,'Other'),new Array('The Cathedral Church Of Saint Marie Church (44673-48237)',53.381599,-1.468281,'Cathedral'),new Array('St Bede`s Catholic Primary School (37380-35484)',53.438383,-1.396923,'School'),new Array('Blessed Sacrament Church (44674-48245)',53.575069,-1.464344,'ParishChurch'),new Array('St Bede`s Primary (65196-48521)',53.438383,-1.396923,'School'),new Array('St William Of York Church (44775-48722)',53.362928,-1.50791,'ParishChurch'),new Array('Diocese Of Hallam Pastoral Centre Church (44767-48667)',53.392271,-1.437423,'ParishChurch'),new Array('Sacred Heart Church (44684-48317)',53.520582,-1.393147,'ParishChurch'),new Array('Saint Charles Borromeo Church (44760-48644)',53.392271,-1.437423,'ParishChurch'),new Array('St Michael and All Angels (65159-48310)',53.520582,-1.393147,'ParishChurch'),new Array('St Dominic`s Catholic Primary School (37370-35474)',53.577562,-1.457123,'School'),new Array('Holy trinity (37597-35701)',53.57860789999999,-1.457849900000042,'School'),new Array('All Saints Catholic High School (37602-35706)',53.373645,-1.458531,'School'),new Array('St Michael and All Angels Catholic Primary School (37372-35476)',53.528082,-1.388529,'School'),new Array('St Oswald Church (44771-48682)',53.376718,-1.438876,'ParishChurch'),new Array('Emmaus Catholic and Church of England Primary School (37659-35763)',53.376718,-1.438876,'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';
}
//