strList="
St Mary Mother of God (0.1 miles)
Zoom on map | View full information
St Marie`s Catholic Primary School (0.2 miles)
Zoom on map | View full information
Ss Peter and Paul (0.7 miles)
Zoom on map | View full information
St Peter`s & St Paul`s Catholic Primary School (0.7 miles)
Zoom on map | View full information
St Michael and All Angels (0.8 miles)
Zoom on map | View full information
St Joseph and St Laurence (0.8 miles)
Zoom on map | View full information
St Laurence`s Catholic Primary School (0.8 miles)
Zoom on map | View full information
";
function showResults()
{
document.getElementById("mapList").style.display="block";
}
var records = new Array(new Array('St Mary Mother of God (52897-57737)',53.48772,-2.87709,'ParishChurch'),new Array('St Marie`s Catholic Primary School (37407-35511)',53.486876,-2.873274,'School'),new Array('Ss Peter and Paul (52901-57739)',53.49442020000001,-2.892002400000024,'ParishChurch'),new Array('St Peter`s and St Paul`s Catholic Primary School (37419-35523)',53.497945,-2.88018,'School'),new Array('St Michael and All Angels (52899-57738)',53.479949,-2.892656,'ParishChurch'),new Array('St Joseph and St Laurence (52895-57736)',53.479949,-2.892656,'ParishChurch'),new Array('St Laurence`s Catholic Primary School (37402-35506)',53.476666,-2.880508,'School'),new Array('Southdene Community (72437-77289)',53.4766981,-2.8843494,'Other'),new Array('Holy Angels Catholic Primary School (37405-35509)',53.484371,-2.89952,'School'),new Array('All Saints Catholic High School (37605-35709)',53.474402,-2.883926,'School'),new Array('St Joseph The Worker RC Primary School (37403-35507)',53.475795,-2.887617,'School'),new Array('Our Lady and St Swithin`s Catholic Primary School (37429-35533)',53.458433,-2.900282,'School'),new Array('Holy Name Catholic Primary School (37425-35529)',53.468535,-2.929796,'School'),new Array('Holy Name (52755-57666)',53.468535,-2.929796,'ParishChurch'),new Array('St John Fisher Catholic Primary School (37417-35521)',53.4528,-2.84958,'School'),new Array('Mansion Drive Community (72450-77302)',53.4538315,-2.9070356,'Other'),new Array('Holy Rosary (52877-57727)',53.485021,-2.944579,'ParishChurch'),new Array('St John Fisher (52907-57742)',53.453846,-2.850324,'ParishChurch'),new Array('St George (52887-57732)',53.506913,-2.934949,'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'),new Array('St Clare`s (72466-77318)',53.5108341,-2.9320928,'Other'),new Array('Maricourt Catholic High School (37625-35729)',53.507795,-2.938225,'School'),new Array('St George`s Catholic Primary School (37484-35588)',53.504669,-2.941428,'School'),new Array('Convent of Mercy (72459-77594)',53.5078109,-2.9382238,'Other'),new Array('Our Lady Queen of Martyrs and St Swithin (52759-57668)',53.451611,-2.903752,'ParishChurch'),new Array('St Philomena`s Parish House (52756-57667)',53.451611,-2.903752,'Other'),new Array('Holy Rosary Catholic Primary School (37504-35608)',53.485285,-2.948775,'School'),new Array('St John Bosco Arts College (37613-35717)',53.451426,-2.911623,'School'),new Array('Our Lady and St Philomena`s Catholic Primary School (37683-35787)',53.454325,-2.923899,'School'),new Array('Our Lady and St Philomena (52757-57667)',53.4541842,-2.9243464,'ParishChurch'),new Array('Blessed Sacrament (52753-57665)',53.467865,-2.944572,'ParishChurch'),new Array('Our Lady Immaculate and St Joseph (52905-57741)',53.448848,-2.836268,'ParishChurch'),new Array('St Teresa of the Child Jesus (52761-57669)',53.446938,-2.91574,'ParishChurch'),new Array('St Albert (52731-57654)',53.4401103,-2.867979200000036,'ParishChurch'),new Array('St Albert`s Catholic Primary School (37408-35512)',53.439049,-2.872925,'School'),new Array('St. Teresa of Lisieux (37452-35556)',53.446143,-2.920639,'School'),new Array('St Timothy (52751-57664)',53.436795,-2.888101,'ParishChurch'),new Array('Blessed Sacrament RC Infant School (38882-36988)',53.462174,-2.95445,'School'),new Array('St Benet`s Catholic Primary School (37477-35581)',53.493111,-2.965967,'School'),new Array('St Ambrose Barlow High School (37628-35732)',53.493817,-2.96431,'School'),new Array('St Paul (52747-57662)',53.436795,-2.888101,'ParishChurch'),new Array('Archbishop Beck`s Catholic High Sports Coll School (37615-35719)',53.46241,-2.956428,'School'),new Array('Blessed Sacrament RC Junior School (37690-35794)',53.46241,-2.956428,'School'),new Array('St Benet`s Parish Office (72490-57677)',53.4938376,-2.9670223,'Other'),new Array('St Gregory`s Parish House (52888-57733)',53.524553,-2.943513,'Other'),new Array('St Gregory the Great (52889-57733)',53.5245397,-2.9433843,'ParishChurch'),new Array('St John Bosco Catholic Primary School (37507-35611)',53.51906,-2.953828,'School'),new Array('St Brigid`s Catholic Primary School (37415-35519)',53.433886,-2.868485,'School'),new Array('Our Lady of Walsingham (52777-57677)',53.482374,-2.970937,'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';
}
//