strList="
St Bernadette`s RC Primary School School (0 miles)
Zoom on map | View full information
St. Bernadette Church (0.5 miles)
Zoom on map | View full information
St Columba`s RC Primary School School (0.7 miles)
Zoom on map | View full information
Holy Cross RC Primary School School (1.2 miles)
Zoom on map | View full information
Our Lady And St. Columba Church (1.2 miles)
Zoom on map | View full information
Our Lady And St. Aidan Church (1.2 miles)
Zoom on map | View full information
St. Francis Of Assisi Church (1.4 miles)
Zoom on map | View full information
";
function showResults()
{
document.getElementById("mapList").style.display="block";
}
var records = new Array(new Array('St Bernadette`s RC Primary School School (37040-35141)',55.006665,-1.535036,'School'),new Array('St. Bernadette Church (47280-54368)',55.00434,-1.547507,'ParishChurch'),new Array('St Columba`s RC Primary School School (37041-35142)',54.997074,-1.541508,'School'),new Array('Holy Cross RC Primary School School (37039-35140)',55.005314,-1.504548,'School'),new Array('Our Lady And St. Columba Church (47278-54367)',54.989518,-1.534734,'ParishChurch'),new Array('Our Lady And St. Aidan Church (47282-54369)',55.005314,-1.504548,'ParishChurch'),new Array('St. Francis Of Assisi Church (47140-54295)',54.987085,-1.547138,'ParishChurch'),new Array('St. Aidan Church (46943-54191)',55.009752,-1.573027,'ParishChurch'),new Array('St Mary`s RC Primary School School (37044-35145)',55.026479,-1.564136,'School'),new Array('St. Mary`s Church (47040-54240)',55.026479,-1.564136,'ParishChurch'),new Array('St Alban`s Rcva Primary School School (37022-35123)',54.980746,-1.551147,'School'),new Array('Our Lady And St. Edmund Church (46933-54377)',55.034774,-1.518939,'ParishChurch'),new Array('St Aloysius` RC Junior School School (37051-35152)',54.979418,-1.516367,'School'),new Array('Our Lady And St. Edmund Church (46933-54186)',55.034774,-1.518939,'ParishChurch'),new Array('St Aloysius` RC Infant School School (37050-35151)',54.97991,-1.513658,'School'),new Array('Ss. Peter And Paul Church (47110-54280)',55.015714,-1.584614,'ParishChurch'),new Array('St. Aloysius Church (47082-54265)',54.97689,-1.522599,'ParishChurch'),new Array('St Stephen`s RC Primary School School (37046-35147)',55.014988,-1.585138,'School'),new Array('St. Anthony Of Padua Church (47130-54290)',54.975703,-1.548313,'ParishChurch'),new Array('St Mary`s Catholic Comprehensive School School (37034-35135)',55.007199,-1.593849,'School'),new Array('St Thomas More High School School (37047-35148)',55.018047,-1.476725,'School'),new Array('St Teresa`s Catholic Primary School School (37037-35138)',54.982049,-1.581337,'School'),new Array('St. Teresa Of The Infant Jesus Church (47152-54301)',54.982049,-1.581337,'ParishChurch'),new Array('St. Lawrence Church (47146-54298)',54.976485,-1.573317,'ParishChurch'),new Array('St. Joseph Church (47174-54312)',55.004772,-1.469878,'ParishChurch'),new Array('St Lawrence`s RC Primary School School (37032-35133)',54.975024,-1.574333,'School'),new Array('St Joseph`s RC Primary School School (37043-35144)',55.005982,-1.467079,'School'),new Array('St. Bede Church (47098-54274)',54.979721,-1.487348,'ParishChurch'),new Array('St Catherine`s Rcva Primary School School (37024-35125)',54.983846,-1.5946,'School'),new Array('St Bede`s RC Primary School School (37052-35153)',54.979096,-1.484059,'School'),new Array('The Holy Name Church (47142-54296)',54.996847,-1.604942,'ParishChurch'),new Array('St James` RC Primary School School (37055-35156)',54.966375,-1.508714,'School'),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('St. Matthew Church (47100-54275)',54.968456,-1.492381,'ParishChurch'),new Array('Immaculate Heart Of Mary Church (47294-54377)',55.041006,-1.480557,'ParishChurch'),new Array('St Joseph`s RC Comprehensive School School (37056-35157)',54.960446,-1.52053,'School'),new Array('St. James Church (47084-54266)',54.960446,-1.52053,'ParishChurch'),new Array('Star Of The Sea RC Primary School School (37048-35149)',55.032031,-1.466515,'School'),new Array('Immaculate Heart Of Mary Church (47294-54375)',55.041006,-1.480557,'ParishChurch'),new Array('St. Cuthbert Church (47172-54311)',55.008962,-1.454156,'ParishChurch'),new Array('St Cuthbert`s RC Primary School School (37042-35143)',55.007545,-1.45269,'School'),new Array('St Oswald`s Catholic Primary School School (37036-35137)',55.016476,-1.617198,'School'),new Array('La Sagesse School (38857-36963)',54.986345,-1.610706,'School'),new Array('Star Of The Sea RC Primary School (38858-36964)',55.033274,-1.465262,'School'),new Array('St Charles` Church (47062-54253)',55.007199,-1.618959,'ParishChurch'),new Array('St Dominic`s Priory Church Church (47136-54293)',54.973746,-1.597311,'ParishChurch'),new Array('St Dominic`s Priory Church Church (47136-31709)',54.973746,-1.597311,'ParishChurch'),new Array('University Catholic Chaplaincy Church (47156-54303)',54.982147,-1.610946,'ParishChurch'),new Array('St. Alban Church (47178-54314)',54.954359,-1.545539,'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';
}
//