strList="
St Anselm`s Catholic Primary School (0 miles)
Zoom on map | View full information
St Vincent Church (0.3 miles)
Zoom on map | View full information
Our Lady`s Catholic Primary School (1.1 miles)
Zoom on map | View full information
St Anselm Church (1.1 miles)
Zoom on map | View full information
St Joseph`s Catholic Primary School (2.6 miles)
Zoom on map | View full information
St Mary of the Crays Church (2.7 miles)
Zoom on map | View full information
St Columba`s Catholic Boys` School (3.3 miles)
Zoom on map | View full information
";
function showResults()
{
document.getElementById("mapList").style.display="block";
}
var records = new Array(new Array('St Anselm`s Catholic Primary School (38599-36703)',51.450644,0.232404,'School'),new Array('St Vincent Church (61036-65595)',51.449845,0.226708,'ParishChurch'),new Array('Our Lady`s Catholic Primary School (38600-36704)',51.446992,0.208234,'School'),new Array('St Anselm Church (61032-65593)',51.446191,0.207332,'ParishChurch'),new Array('St Joseph`s Catholic Primary School (38470-36574)',51.453683,0.172155,'School'),new Array('St Mary of the Crays Church (61034-65594)',51.454534,0.170382,'ParishChurch'),new Array('St Columba`s Catholic Boys` School (38476-36580)',51.452692,0.155195,'School'),new Array('St Catherine`s Catholic For Girls School (38475-36579)',51.454674,0.15454,'School'),new Array('Our Lady of the Angels Church (61046-65600)',51.480315,0.169992,'ParishChurch'),new Array('St Fidelis Catholic Primary School (38471-36575)',51.476274,0.162859,'School'),new Array('St John Fisher Church (61040-65597)',51.44276,0.148526,'ParishChurch'),new Array('St John Vianney Church (61042-65598)',51.455487,0.137622,'ParishChurch'),new Array('St Thomas More Catholic Primary School (38469-36573)',51.466788,0.139288,'School'),new Array('Holy Cross (36532-34631)',51.505948,0.282574,'School'),new Array('St Bartholomew`s Catholic Primary School (38619-36723)',51.398976,0.174723,'School'),new Array('Church of the Apostles Church (61182-65669)',51.398976,0.174723,'ParishChurch'),new Array('Our Lady of the Assumption Church (61216-65687)',51.4421116,0.336591799999951,'ParishChurch'),new Array('St Joseph`s Catholic Primary School (38610-36714)',51.439786,0.336876,'School'),new Array('St Thomas Of Canterbury Church (39308-37398)',51.476506,0.332315,'ParishChurch'),new Array('The Holy Cross Church (39212-37321)',51.511076,0.282932,'ParishChurch'),new Array('Convent High School for Girls (36536-34635)',51.482929,0.329964,'School'),new Array('St Thomas of Canterbury (36533-34632)',51.486474,0.328949,'School'),new Array('St Thomas More Church (61044-65599)',51.473718,0.128092,'ParishChurch'),new Array('St Mary And St Joseph`s Catholic School (38477-36581)',51.425644,0.122929,'School'),new Array('St. John Fisher RC Church (66517-65533)',51.495001,0.132209,'Church'),new Array('St Peter Chanel Catholic Primary School (38472-36576)',51.420352,0.118291,'School'),new Array('La Salette (36549-34648)',51.523083,0.190924,'School'),new Array('St Peter Church (39414-37398)',51.499505,0.326688,'ParishChurch'),new Array('St John Fisher Catholic Primary School (38473-36577)',51.495001,0.132209,'School'),new Array('Our Lady Of La Salette Church (39384-37443)',51.523083,0.190924,'ParishChurch'),new Array('Our Lady Star Of The Sea Church (39424-37465)',51.461039,0.357397,'ParishChurch'),new Array('St Stephen Church (61226-65692)',51.463625,0.105854,'ParishChurch'),new Array('St John Fisher Church (61228-65693)',51.498352,0.12996,'ParishChurch'),new Array('Our Lady Of Hartley Catholic Primary School (38606-36710)',51.385569,0.306718,'School'),new Array('St Mary`s RC Primary School (38825-36931)',51.461504,0.358458,'School'),new Array('St Stephen`s Catholic Primary School (38474-36578)',51.464152,0.104021,'School'),new Array('St Benet Church (60919-65533)',51.490492,0.11706,'ParishChurch'),new Array('Our Lady of the Rosary Church (61224-65691)',51.448536,0.10031,'ParishChurch'),new Array('Oratory of St Francis de Sales Church (61038-65596)',51.384347,0.310336,'ParishChurch'),new Array('St Paul`s Academy School (38518-36622)',51.480274,0.10364,'School'),new Array('St John the Evangelist Church (61218-65688)',51.441292,0.371144,'ParishChurch'),new Array('Our Lady Of The Rosary Catholic Primary School (38468-36572)',51.44793,0.092927,'School'),new Array('St Lawrence of Canterbury Church (61222-65690)',51.427265,0.099406,'ParishChurch'),new Array('St Thomas A Becket Catholic Primary School (38506-36610)',51.491733,0.104023,'School'),new Array('St Alban`s (36544-34643)',51.537642,0.19817,'School'),new Array('St David Church (60921-65534)',51.493366,0.105784,'ParishChurch'),new Array('St Margaret Clitherow Catholic Primary School (38514-36618)',51.501138,0.113116,'School'),new Array('St Joseph`s Convent Preparatory School (38635-36739)',51.431531,0.377487,'School'),new Array('St Paul Church (61140-65647)',51.50529,0.111809,'ParishChurch'),new Array('The Holy Cross Church (61114-65634)',51.479879,0.088557,'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';
}
//