strList="
St Elizabeth Catholic Primary School (0 miles)
Zoom on map | View full information
St Dominic`s Catholic Primary Hackney School (0.1 miles)
Zoom on map | View full information
Immaculate Heart Of Mary And St Dominic Church (0.1 miles)
Zoom on map | View full information
Cardinal Pole Catholic School School (0.4 miles)
Zoom on map | View full information
St Jude Church (0.7 miles)
Zoom on map | View full information
St John The Baptist Church (0.8 miles)
Zoom on map | View full information
St. Elizabeth`s Catholic Primary School School (1 miles)
Zoom on map | View full information
";
function showResults()
{
document.getElementById("mapList").style.display="block";
}
var records = new Array(new Array('St Elizabeth Catholic Primary School (39074-37180)',51.543918,-0.038177,'School'),new Array('St Dominic`s Catholic Primary Hackney School (38346-36450)',51.545649,-0.04001,'School'),new Array('Immaculate Heart Of Mary And St Dominic Church (40632-38106)',51.5454577,-0.0365147,'ParishChurch'),new Array('Cardinal Pole Catholic School School (38250-36354)',51.5466698,-0.046744499999932,'School'),new Array('St Jude Church (40504-38042)',51.553374,-0.043255,'ParishChurch'),new Array('St John The Baptist Church (40568-38074)',51.538021,-0.054469,'ParishChurch'),new Array('St. Elizabeth`s Catholic Primary School School (38446-36550)',51.532716,-0.051249,'School'),new Array('St Casimir Church (40676-38128)',51.533199,-0.058669,'ParishChurch'),new Array('Guardian Angels Catholic Primary School School (38260-36364)',51.524627,-0.036934,'School'),new Array('The Guardian Angels Church (40688-38134)',51.524759,-0.036236,'ParishChurch'),new Array('Our Lady Of The Assumption Church (40464-38022)',51.528314,-0.053686,'ParishChurch'),new Array('Our Lady And St Catherine Of Siena Church (40472-38026)',51.52854,-0.018845,'ParishChurch'),new Array('St Agnes Catholic Primary School (38442-36546)',51.527521,-0.018673,'School'),new Array('St Scholastica Church (40502-38041)',51.558535,-0.05997,'ParishChurch'),new Array('St Scholastica`s Catholic Primary School School (38348-36452)',51.558535,-0.05997,'School'),new Array('St Joseph`s Infant School (36576-34675)',51.564607,-0.024016,'School'),new Array('Our Lady And St. Joseph`s Catholic Primary School School (38284-36388)',51.54445,-0.078409,'School'),new Array('St Joseph Church (39368-37432)',51.565438,-0.014659,'ParishChurch'),new Array('St Francis Of Assisi Church (39418-37461)',51.544154,0.002745,'ParishChurch'),new Array('The Holy Name And Our Lady Of The Sacred Heart Church (40474-38027)',51.517539,-0.022926,'ParishChurch'),new Array('Our Lady And St Joseph Church (40662-38121)',51.546644,-0.082269,'ParishChurch'),new Array('St Joseph`s Junior School (36575-34674)',51.569158,-0.016575,'School'),new Array('St Francis (36559-34658)',51.547479,0.007074,'School'),new Array('Holy Trinity and St Augustine Church (39464-37498)',51.557446,0.003762,'ParishChurch'),new Array('St Anne`s Church Church (40826-38203)',51.52114,-0.066836,'ParishChurch'),new Array('St Anne`s Catholic Primary School (38443-36547)',51.52114,-0.066836,'School'),new Array('Our Lady`s Catholic Primary School (38293-36397)',51.513358,-0.030443,'School'),new Array('Our Lady Immaculate Church (40672-38126)',51.512198,-0.034687,'ParishChurch'),new Array('Bishops Challoner RC Boys School (39106-37212)',51.512745,-0.050257,'School'),new Array('Bishop Challoner RC Girls School (39077-37183)',51.512745,-0.050257,'School'),new Array('St. Mary and St. Michael Catholic Primary School School (38445-36549)',51.513707,-0.052925,'School'),new Array('Our Lady Of Good Counsel Church (40800-38190)',51.563419,-0.079197,'ParishChurch'),new Array('St Monica`s Priory Church (40636-38108)',51.528303,-0.081901,'ParishChurch'),new Array('St Monica`s Catholic Primary Hackney School (38347-36451)',51.528303,-0.081901,'School'),new Array('St Mary And St Michael Church (40510-38045)',51.512497,-0.052098,'ParishChurch'),new Array('Ss Mary And Joseph Church (40742-38161)',51.511908,-0.021224,'ParishChurch'),new Array('St Boniface Church (40556-38068)',51.516233,-0.067534,'ParishChurch'),new Array('Holy Family Catholic Primary School School (38264-36368)',51.509962,-0.019925,'School'),new Array('English Martyrs Catholic Primary School School (38255-36359)',51.512763,-0.070909,'School'),new Array('St Joan Of Arc Catholic Primary School (38421-36525)',51.556609,-0.096102,'School'),new Array('Our Lady Convent High School School (38285-36389)',51.574271,-0.075233,'School'),new Array('St. Ignatius Catholic Primary School School (38354-36458)',51.576385,-0.073065,'School'),new Array('St Joan Of Arc Church (40620-38100)',51.555966,-0.097543,'ParishChurch'),new Array('St Mary Moorfields Church (40696-38138)',51.518767,-0.085544,'ParishChurch'),new Array('St Antony`s RC Primary School (38820-36926)',51.540942,0.024322,'School'),new Array('The English Martyrs Church (40818-38199)',51.511326,-0.072108,'ParishChurch'),new Array('Our Lady Of The Rosary And St Patrick Church (39436-37474)',51.583068,-0.036812,'ParishChurch'),new Array('St Ignatius Church (40788-38184)',51.576385,-0.073065,'ParishChurch'),new Array('St Bonaventure`s Comprehensive School (36561-34660)',51.538638,0.02546,'School'),new Array('St Patrick`s (36579-34678)',51.584909,-0.036141,'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';
}
//