strList="
St Bede`s RC Primary School School (0 miles)
Zoom on map | View full information
St. Bede Church (0.1 miles)
Zoom on map | View full information
St. Matthew Church (0.8 miles)
Zoom on map | View full information
St. Mary Church (1.1 miles)
Zoom on map | View full information
St Aloysius` RC Infant School School (1.2 miles)
Zoom on map | View full information
St Mary`s RC Primary School School (1.2 miles)
Zoom on map | View full information
St Aloysius` RC Junior School School (1.3 miles)
Zoom on map | View full information
";
function showResults()
{
document.getElementById("mapList").style.display="block";
}
var records = new Array(new Array('St Bede`s RC Primary School School (37052-35153)',54.979096,-1.484059,'School'),new Array('St. Bede Church (47098-54274)',54.979721,-1.487348,'ParishChurch'),new Array('St. Matthew Church (47100-54275)',54.968456,-1.492381,'ParishChurch'),new Array('St. Mary Church (47102-54276)',54.965411,-1.469662,'ParishChurch'),new Array('St Aloysius` RC Infant School School (37050-35151)',54.97991,-1.513658,'School'),new Array('St Mary`s RC Primary School School (37058-35159)',54.96326,-1.470877,'School'),new Array('St Aloysius` RC Junior School School (37051-35152)',54.979418,-1.516367,'School'),new Array('St James` RC Primary School School (37055-35156)',54.966375,-1.508714,'School'),new Array('St Matthew`s RC Primary School School (37059-35160)',54.959942,-1.493597,'School'),new Array('St. Aloysius Church (47082-54265)',54.97689,-1.522599,'ParishChurch'),new Array('St Joseph`s RC Primary School School (37057-35158)',54.954703,-1.487323,'School'),new Array('St. Joseph Church (47104-54277)',54.954703,-1.487323,'ParishChurch'),new Array('Ss. Peter And Paul Church (47254-54355)',54.975402,-1.441191,'ParishChurch'),new Array('Ss Peter And Paul RC Primary School School (37049-35150)',54.975021,-1.440368,'School'),new Array('St Joseph`s RC Comprehensive School School (37056-35157)',54.960446,-1.52053,'School'),new Array('St. Joseph Church (47174-54312)',55.004772,-1.469878,'ParishChurch'),new Array('St. James Church (47084-54266)',54.960446,-1.52053,'ParishChurch'),new Array('Our Lady And St. Aidan Church (47282-54369)',55.005314,-1.504548,'ParishChurch'),new Array('Holy Cross RC Primary School School (37039-35140)',55.005314,-1.504548,'School'),new Array('St Joseph`s RC Primary School School (37043-35144)',55.005982,-1.467079,'School'),new Array('Our Lady And St. Columba Church (47278-54367)',54.989518,-1.534734,'ParishChurch'),new Array('St Wilfrid`s RC College School (37061-35162)',54.975221,-1.42921,'School'),new Array('St Cuthbert`s RC Primary School School (37042-35143)',55.007545,-1.45269,'School'),new Array('The Sacred Heart Church (47256-54356)',54.94968,-1.456411,'ParishChurch'),new Array('St Bede`s RC Primary School School (37053-35154)',54.99329,-1.430705,'School'),new Array('St. Bede Church (47246-54351)',54.993076,-1.429051,'ParishChurch'),new Array('St. Cuthbert Church (47172-54311)',55.008962,-1.454156,'ParishChurch'),new Array('St. Oswald Church (47252-54354)',54.961929,-1.42904,'ParishChurch'),new Array('St Oswald`s RC Primary School School (37060-35161)',54.962493,-1.428501,'School'),new Array('St. Anthony Of Padua Church (47130-54290)',54.975703,-1.548313,'ParishChurch'),new Array('St Columba`s RC Primary School School (37041-35142)',54.997074,-1.541508,'School'),new Array('St. Francis Of Assisi Church (47140-54295)',54.987085,-1.547138,'ParishChurch'),new Array('St Alban`s Rcva Primary School School (37022-35123)',54.980746,-1.551147,'School'),new Array('St Thomas More High School School (37047-35148)',55.018047,-1.476725,'School'),new Array('St Bernadette`s RC Primary School School (37040-35141)',55.006665,-1.535036,'School'),new Array('St Alban`s Catholic Primary School School (37004-35105)',54.955588,-1.544791,'School'),new Array('St. Alban Church (47178-54314)',54.954359,-1.545539,'ParishChurch'),new Array('St. Gregory Church (47248-54352)',54.972822,-1.410529,'ParishChurch'),new Array('St Gregory`s RC Primary School School (37054-35155)',54.981393,-1.406326,'School'),new Array('St. Bernadette Church (47280-54368)',55.00434,-1.547507,'ParishChurch'),new Array('St Vincent`s Rcva Primary School School (37038-35139)',54.966559,-1.561583,'School'),new Array('Our Lady And St. Vincent Church (47154-54302)',54.966559,-1.561583,'ParishChurch'),new Array('Holy Rosary Church (47250-54353)',54.97988,-1.398458,'ParishChurch'),new Array('St. Lawrence Church (47146-54298)',54.976485,-1.573317,'ParishChurch'),new Array('St John Bosco RC Primary School School (37070-35171)',54.931373,-1.45196,'School'),new Array('Our Lady and St. Oswin Church (47274-54365)',55.017917,-1.422114,'ParishChurch'),new Array('St Lawrence`s RC Primary School School (37032-35133)',54.975024,-1.574333,'School'),new Array('St Augustine`s RC Primary School School (37006-35107)',54.94168,-1.548008,'School'),new Array('Star Of The Sea RC Primary School School (37048-35149)',55.032031,-1.466515,'School'),new Array('St. Augustine Church (47036-54238)',54.93928,-1.547754,'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';
}
//