strList="
The English Martyrs Church (0 miles)
Zoom on map | View full information
St Andrew`s Catholic Primary School (0.4 miles)
Zoom on map | View full information
Bishop Thomas Grant Catholic Secondary School (0.6 miles)
Zoom on map | View full information
Sts Simon and Jude Church (1 miles)
Zoom on map | View full information
St Bartholomew Church (1 miles)
Zoom on map | View full information
St Bede Church (1.1 miles)
Zoom on map | View full information
Our Lady of the Assumption Church (1.1 miles)
Zoom on map | View full information
";
function showResults()
{
document.getElementById("mapList").style.display="block";
}
var records = new Array(new Array('The English Martyrs Church (61144-65649)',51.428434,-0.132249,'ParishChurch'),new Array('St Andrew`s Catholic Primary School (38531-36635)',51.424306,-0.125455,'School'),new Array('Bishop Thomas Grant Catholic Secondary School (38535-36639)',51.424972,-0.118739,'School'),new Array('Sts Simon and Jude Church (60955-65553)',51.438087,-0.116172,'ParishChurch'),new Array('St Bartholomew Church (61142-65648)',51.414995,-0.126915,'ParishChurch'),new Array('St Bede Church (60974-65563)',51.444947,-0.135201,'ParishChurch'),new Array('Our Lady of the Assumption Church (61148-65651)',51.418326,-0.151487,'ParishChurch'),new Array('St Bede`s Catholic Infant School (38527-36631)',51.444947,-0.135201,'School'),new Array('St Joseph`s Catholic Boys College School (38502-36606)',51.420536,-0.107415,'School'),new Array('St Anselm`s Catholic Primary School (38587-36691)',51.435697,-0.157577,'School'),new Array('Corpus Christi Church (60957-65554)',51.446797,-0.123815,'ParishChurch'),new Array('St Matthew Church (61138-65646)',51.432084,-0.101931,'ParishChurch'),new Array('St Boniface Church (61150-65652)',51.424019,-0.162376,'ParishChurch'),new Array('St Bernadette Catholic Junior School (38533-36637)',51.447729,-0.142802,'School'),new Array('St Boniface Catholic Primary School (38586-36690)',51.427362,-0.164587,'School'),new Array('La Retraite High For Girls School (38534-36638)',51.447729,-0.142802,'School'),new Array('St Anselm Church (61146-65650)',51.445486,-0.150477,'ParishChurch'),new Array('St Joseph`s Catholic Junior School (38497-36601)',51.421829,-0.100055,'School'),new Array('St Joseph`s Catholic Infant School (38488-36592)',51.422384,-0.099917,'School'),new Array('Sringfield Psychiatric Hospital Chapel (65135-65650)',51.436026,-0.167664,'Other'),new Array('Virgo Fidelis Convent Senior School (38505-36609)',51.421514,-0.094502,'School'),new Array('Church of the Holy Ghost Church (60976-65564)',51.448472,-0.156789,'ParishChurch'),new Array('Holy Ghost Catholic Primary School (38582-36686)',51.44788,-0.156352,'School'),new Array('Virgo Fidelis Convent Preparatory School (38504-36608)',51.421514,-0.094502,'School'),new Array('St Francis Xavier Catholic Sixth Form College School (38591-36695)',51.451159,-0.149269,'School'),new Array('The Faithful Virgin Church (61120-65637)',51.422091,-0.092392,'ParishChurch'),new Array('St James The Great Catholic Primary And Nursery School (38496-36600)',51.406255,-0.105704,'School'),new Array('Corpus Christi Catholic Primary School (38529-36633)',51.456164,-0.121343,'School'),new Array('St Thomas Of Canterbury Catholic Primary School (39066-37172)',51.404321,-0.159284,'School'),new Array('St Joseph Church (61162-65659)',51.419448,-0.175475,'ParishChurch'),new Array('St Michael Church (61184-65670)',51.399376,-0.134281,'ParishChurch'),new Array('St Mary`s Catholic Primary School (38530-36634)',51.45934,-0.137767,'School'),new Array('St Margaret Clitherow Church (61122-65638)',51.428914,-0.080139,'ParishChurch'),new Array('St Mary`s (60961-65556)',51.461412,-0.137467,'ParishChurch'),new Array('St Andrew Church (61193-65675)',51.398637,-0.103431,'ParishChurch'),new Array('St Peter`s and St Paul`s RC Primary School (39063-37169)',51.399951,-0.166777,'School'),new Array('Sts Peter and Paul Church (61186-65671)',51.398471,-0.164104,'ParishChurch'),new Array('St Winefride Church (61160-65658)',51.419766,-0.191916,'ParishChurch'),new Array('St Vincent de Paul Church (60969-65560)',51.461983,-0.162219,'ParishChurch'),new Array('Sts Philip and James Church (61130-65642)',51.4612188,-0.098520199999939,'ParishChurch'),new Array('St Gregory Church (61158-65657)',51.444079,-0.190553,'ParishChurch'),new Array('St Helen`s RC Primary School (39058-37164)',51.46713,-0.114313,'School'),new Array('Christ the King Church (61168-65662)',51.434455,-0.19745,'ParishChurch'),new Array('St Thomas More Church (61126-65640)',51.448155,-0.073878,'ParishChurch'),new Array('St Helen`s Catholic Primary School (38528-36632)',51.470288,-0.114321,'School'),new Array('St Mary Magdalen Church (61156-65656)',51.458455,-0.18283,'ParishChurch'),new Array('St Anthony`s Catholic Primary School (38562-36666)',51.449682,-0.072115,'School'),new Array('St Mary`s Primary School (38551-36655)',51.417598,-0.200616,'School'),new Array('St Chad Church (61132-65643)',51.39871,-0.079722,'ParishChurch'),new Array('St Francis of Sales and St Gertrude Church (60959-65555)',51.473494,-0.128134,'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';
}
//