strList="
Our Lady Of Charity & St Augustine Church (0 miles)
Zoom on map | View full information
English Martyrs School (7.5 miles)
Zoom on map | View full information
English Martyrs Church (7.5 miles)
Zoom on map | View full information
Our Lady of the Most Holy Rosary Church (8.4 miles)
Zoom on map | View full information
The Sacred Heart and Our Lady Church (8.5 miles)
Zoom on map | View full information
St Marys Primary School (8.5 miles)
Zoom on map | View full information
St Marie`s Nursery & Infant School (8.9 miles)
Zoom on map | View full information
";
function showResults()
{
document.getElementById("mapList").style.display="block";
}
var records = new Array(new Array('Our Lady Of Charity and St Augustine Church (49513-56000)',52.255242,-1.16233,'ParishChurch'),new Array('English Martyrs School (36814-34913)',52.358104,-1.220444,'School'),new Array('English Martyrs Church (36263-34464)',52.358104,-1.220444,'ParishChurch'),new Array('Our Lady of the Most Holy Rosary Church (49675-56000)',52.374279,-1.12437,'ParishChurch'),new Array('The Sacred Heart and Our Lady Church (49455-55950)',52.153892,-1.275231,'ParishChurch'),new Array('St Marys Primary School (37796-35900)',52.153892,-1.275231,'School'),new Array('St Marie`s Nursery and Infant School (36813-34912)',52.36725,-1.264417,'School'),new Array('St Marie Church (36410-34537)',52.367284,-1.264035,'ParishChurch'),new Array('St Marie`s Junior School (36812-34911)',52.366938,-1.267741,'School'),new Array('Sacred Heart Church (36372-34518)',52.356159,-1.297477,'ParishChurch'),new Array('St Patrick Church (49627-56069)',52.245526,-0.946032,'ParishChurch'),new Array('St Mary`s School (36799-34898)',52.25353,-1.385441,'School'),new Array('Our Lady and St Wulstan Church (36328-34496)',52.253301,-1.386265,'ParishChurch'),new Array('St Marys Primary School (37804-35908)',52.252844,-0.924983,'School'),new Array('Northampton DHS (71370-75176)',52.2435853,-0.9207899,'Other'),new Array('Highgate House (76987-78717)',52.33764619999999,-0.9577587,'Other'),new Array('Saints Francis and Therese Church (49619-56063)',52.215013,-0.915417,'ParishChurch'),new Array('St Aidan Church (49623-56065)',52.263264,-0.903485,'ParishChurch'),new Array('Bishop`s House (4789-869)',52.247465,-0.899363,'Other'),new Array('Cathedral of Our Lady Immaculate and St Thomas of Canterbury (49615-56060)',52.248294,-0.89861,'Cathedral'),new Array('Good Shepherd Primary School (37802-35906)',52.260665,-0.897615,'School'),new Array('St Thomas More Church (49659-56090)',52.13152,-0.988798,'ParishChurch'),new Array('SS Stanislaus and Lawrence (Polish Church) (49621-56064)',52.243906,-0.892801,'ParishChurch'),new Array('Our Lady`s School (36811-34910)',52.333821,-1.415119,'School'),new Array('Kings Park Conference Centre (76988-78720)',52.27540880000001,-0.8777996,'Other'),new Array('Our Lady of the Angels Church (36061-34362)',52.336012,-1.422018,'ParishChurch'),new Array('Our Lady of the Angels Church (36061-34528)',52.336012,-1.422018,'ParishChurch'),new Array('Princethorpe College School (38818-36924)',52.336012,-1.422018,'School'),new Array('St Gregory the Great Church (49625-56067)',52.250576,-0.868919,'ParishChurch'),new Array('St Thomas A Becket Catholic School School (37805-35909)',52.270124,-0.861753,'School'),new Array('St Anne Church (36392-34528)',52.32095,-1.447595,'ParishChurch'),new Array('St Gregorys Primary School (37803-35907)',52.262928,-0.852018,'School'),new Array('The Sacred Heart Church (49617-56062)',52.258287,-0.838087,'ParishChurch'),new Array('Our Lady of Victories and St Alphonsus Church (56036-62235)',52.458576,-1.203821,'ParishChurch'),new Array('St Joseph Church (36027-34345)',52.2348,-1.503007,'Church'),new Array('St Mary Church (56007-62189)',52.453586,-1.049028,'ParishChurch'),new Array('St Joseph Church (36027-34433)',52.2348,-1.503007,'Church'),new Array('St Joseph Church (36100-34382)',52.444414,-1.313891,'ParishChurch'),new Array('St Joseph Church (36100-34464)',52.444414,-1.313891,'ParishChurch'),new Array('Our Lady of Perpetual Succour Church and Diocesan Shrine (49535-56012)',52.257114,-0.815057,'ParishChurch'),new Array('Our Lady and St Teresa`s School (36809-34908)',52.311874,-1.507629,'School'),new Array('St Anthony`s School (36807-34906)',52.283699,-1.516443,'School'),new Array('Our Lady Church (36211-34438)',52.30251,-1.517236,'ParishChurch'),new Array('St Joseph Church (36158-34411)',52.266336,-1.526919,'ParishChurch'),new Array('St Joseph`s School (36810-34909)',52.264289,-1.527629,'School'),new Array('St John the Evangelist Church (36436-34550)',52.058386,-1.339859,'ParishChurch'),new Array('St Anne Church (36194-34429)',52.385515,-1.466523,'ParishChurch'),new Array('St Martin`s Church (49485-55980)',52.027298,-1.150634,'ParishChurch'),new Array('St Patrick`s School (36806-34905)',52.277385,-1.5358,'School'),new Array('St Joseph the Worker Church (36029-34346)',52.060212,-1.3612,'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';
}
//