strList="
Worth School (0 miles)
Zoom on map | View full information
The Abbey of Our Lady Help of Christians (0.1 miles)
Zoom on map | View full information
The Abbey of Our Lady Help of Christians (0.1 miles)
Zoom on map | View full information
Infant Jesus Sisters Community House (1.8 miles)
Zoom on map | View full information
St Edward the Confessor (2 miles)
Zoom on map | View full information
Community House (2.8 miles)
Zoom on map | View full information
St Bernadette (2.8 miles)
Zoom on map | View full information
";
function showResults()
{
document.getElementById("mapList").style.display="block";
}
var records = new Array(new Array('Worth School (38742-36850)',51.093488,-0.118899,'School'),new Array('The Abbey of Our Lady Help of Christians (34961-33782)',51.09246,-0.118198,'ParishChurch'),new Array('The Abbey of Our Lady Help of Christians (34961-75296)',51.09246,-0.118198,'ParishChurch'),new Array('Infant Jesus Sisters Community House (71077-75410)',51.1163203,-0.140058,'Other'),new Array('St Edward the Confessor (65945-70921)',51.1163096,-0.1487573,'Church'),new Array('Community House (71085-75072)',51.1174231,-0.1703382,'Other'),new Array('St Bernadette (65946-70921)',51.1020589,-0.1829335,'Church'),new Array('The Presbytery (71076-75064)',51.1020589,-0.1829335,'Other'),new Array('St Dunstan`s (66497-33782)',51.0778715,-0.0566917,'Other'),new Array('St Dunstan (34953-33778)',51.077927,-0.055015,'ParishChurch'),new Array('St Francis Of Assisi Catholic Primary School (38786-36892)',51.108085,-0.184406,'School'),new Array('DABCEC (65227-885)',51.108627,-0.183399,'Other'),new Array('St Francis and St Anthony (65942-70921)',51.1131512,-0.1880844,'Church'),new Array('Bishop`s House (4805-885)',51.085381,-0.201472,'Other'),new Array('St Wilfrid`s Catholic School (38789-36895)',51.110892,-0.203068,'School'),new Array('Christ The Lord (Ecumenical and Shared) (65940-70921)',51.0971244,-0.2057455,'Other'),new Array('Our Lady Queen of Heaven (65944-70921)',51.1252102,-0.2019585,'Church'),new Array('St Theodore of Canterbury (65943-70921)',51.1134355,-0.2127611,'Church'),new Array('St Theodore of Canterbury (65943-70933)',51.1134355,-0.2127611,'Church'),new Array(' (71070-75059)',51.1134355,-0.2127611,'Other'),new Array('Our Lady Queen of Heaven School (33289-33025)',51.127208,-0.203878,'School'),new Array('St. Peter`s School (33291-33027)',51.128686,-0.027687,'School'),new Array('Inter-Faith Chapels (34819-33711)',51.15599,-0.163049,'ParishChurch'),new Array('Our Lady of Fatima (34929-33766)',51.036674,-0.179411,'ParishChurch'),new Array('Our Lady of Fatima (34929-33719)',51.036674,-0.179411,'ParishChurch'),new Array('Our Lady and St Peter (65950-70925)',51.128527,-0.014616,'ParishChurch'),new Array('English Martyrs (34847-33725)',51.17614,-0.172592,'ParishChurch'),new Array('St Paul (34835-33719)',50.99773,-0.100086,'ParishChurch'),new Array('St Joseph`s Catholic Primary School (38787-36893)',50.99773,-0.100086,'School'),new Array('Our Lady of the Forest (34815-33709)',51.095085,0.045206,'ParishChurch'),new Array('St Bernard (33499-70925)',51.176273,-0.01836,'ParishChurch'),new Array('St Bernard (34863-33733)',51.176273,-0.01836,'ParishChurch'),new Array('All Saints (C of E) (34905-33754)',51.077409,-0.294218,'ParishChurch'),new Array('St. Robert Southwell School (33298-33034)',51.08007,-0.294791,'School'),new Array('St Paul`s Catholic College School (38791-36897)',50.966824,-0.156422,'School'),new Array('St Anne`s Convent (71048-75424)',50.9593031,-0.1279234,'Church'),new Array('St Anne`s Convent (71048-75408)',50.9593031,-0.1279234,'Church'),new Array('St John The Evangelist (34849-33726)',51.063898,-0.331992,'ParishChurch'),new Array('St John The Evangelist (34849-33777)',51.063898,-0.331992,'ParishChurch'),new Array('St George`s Convent Chapel (71049-75422)',50.9555845,-0.0999929,'Church'),new Array('St George`s Convent Chapel (71049-33692)',50.9555845,-0.0999929,'Church'),new Array('St Wilfrid`s Catholic Primary School (38788-36894)',50.955183,-0.136962,'School'),new Array('St Wilfrid (34781-33692)',50.953554,-0.135191,'ParishChurch'),new Array('St. John`s School (33297-33033)',51.062422,-0.340094,'School'),new Array('St Joseph`s Catholic Primary Redhill School (38773-36879)',51.240376,-0.176623,'School'),new Array('St Joseph (34901-33752)',51.245598,-0.163235,'ParishChurch'),new Array('St Lawrence Church (61082-65618)',51.198255,0.064128,'ParishChurch'),new Array('The Holy Family (34903-33753)',51.241589,-0.206218,'ParishChurch'),new Array('The Holy Family (34903-33752)',51.241589,-0.206218,'ParishChurch'),new Array('St Hugh`s Charterhouse (34525-75683)',50.972822,-0.282655,'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';
}
//