strList="
St Mary`s School (0 miles)
Zoom on map | View full information
SS Mary and Thomas More Church (0.1 miles)
Zoom on map | View full information
Cardinal Griffin School (0.9 miles)
Zoom on map | View full information
St Thomas More School (1.3 miles)
Zoom on map | View full information
St Thomas More Church (1.3 miles)
Zoom on map | View full information
Our Lady of Lourdes Church (2 miles)
Zoom on map | View full information
St Joseph`s School (3 miles)
Zoom on map | View full information
";
function showResults()
{
document.getElementById("mapList").style.display="block";
}
var records = new Array(new Array('St Mary`s School (36715-34814)',52.68436,-2.028907,'School'),new Array('SS Mary and Thomas More Church (36162-34413)',52.6863451,-2.0278072,'ParishChurch'),new Array('Cardinal Griffin School (36746-34845)',52.696701,-2.036121,'School'),new Array('St Thomas More School (36741-34840)',52.667651,-2.014656,'School'),new Array('St Thomas More Church (65114-34413)',52.667651,-2.014656,'Church'),new Array('Our Lady of Lourdes Church (36294-34479)',52.705723,-1.997545,'ParishChurch'),new Array('St Joseph`s School (36720-34819)',52.718303,-1.985881,'School'),new Array('St Joseph and St Theresa`s School (36717-34816)',52.675841,-1.93432,'School'),new Array('St Peter`s School (36691-34790)',52.621561,-2.000326,'School'),new Array('St Joseph Church (35946-34304)',52.679265,-1.918222,'ParishChurch'),new Array('St Bernadette`s School (36697-34796)',52.65038,-1.930308,'School'),new Array('St Peter Church (36156-34410)',52.61588,-2.004122,'ParishChurch'),new Array('Corpus Christi School (36706-34805)',52.615533,-2.057159,'School'),new Array('Corpus Christi, Ashmore Park Parish Church (5037-34491)',52.613645,-2.057821,'ParishChurch'),new Array('St Edmund Gennings Church (36059-34361)',52.611802,-2.035932,'ParishChurch'),new Array('St Edmund Gennings Church (36059-34451)',52.611802,-2.035932,'ParishChurch'),new Array('St Bernadette Church (36358-34511)',52.644499,-1.926711,'ParishChurch'),new Array('St Francis of Assisi Church (36450-34557)',52.61837,-1.952233,'ParishChurch'),new Array('St Francis School (36694-34793)',52.61837,-1.952233,'School'),new Array('St Anthony of Padua Church (36184-34424)',52.626763,-2.125382,'ParishChurch'),new Array('St Anthony`s School (36701-34800)',52.625979,-2.127035,'School'),new Array('St Catherine with St Chad`s Church (36287-34476)',52.600183,-2.009273,'ParishChurch'),new Array('St Thomas of Canterbury School (36693-34792)',52.604659,-1.978074,'School'),new Array('St Thomas of Canterbury Church (36055-34359)',52.604659,-1.978074,'ParishChurch'),new Array('Our Lady of Perpetual Succour Church (36318-34491)',52.608004,-2.103414,'ParishChurch'),new Array('St Mary`s School (36702-34801)',52.608004,-2.103414,'School'),new Array('Corpus Christi Church (36440-34552)',52.6080378,-2.1034523,'ParishChurch'),new Array('Our Lady and St Chad`s School (36711-34810)',52.610913,-2.108428,'School'),new Array('St Joseph`s School (36726-34825)',52.752953,-1.932471,'School'),new Array('St Patrick`s School (36708-34807)',52.600018,-2.085132,'School'),new Array('St Mary Church (36424-34544)',52.67973,-2.181327,'ParishChurch'),new Array('St Mary`s School (36714-34813)',52.67973,-2.181327,'School'),new Array('SS Joseph and Etheldreda Church (36430-34547)',52.758589,-1.931099,'ParishChurch'),new Array('St Patrick Church (36205-34435)',52.595819,-2.097598,'ParishChurch'),new Array('St Patrick Church (36288-34476)',52.589809,-1.985978,'ParishChurch'),new Array('St Mary Church (36237-34451)',52.588025,-2.055721,'ParishChurch'),new Array('St Patrick`s School (36690-34789)',52.589809,-1.985978,'School'),new Array('St Bede`s School (38813-36919)',52.783882,-1.965975,'School'),new Array('St Joseph Church (36267-34466)',52.582137,-2.086189,'ParishChurch'),new Array('St Mary of the Angels Church (36019-34341)',52.599426,-1.91651,'ParishChurch'),new Array('St Mary`s Abbey Church (36219-34445)',52.789936,-1.9894,'Church'),new Array('St Mary Church (36330-34497)',52.580153,-1.982853,'ParishChurch'),new Array('St Francis of Assisi School (36698-34797)',52.599182,-1.913617,'School'),new Array('St Joseph`s School (36692-34791)',52.573154,-2.038615,'School'),new Array('St Anne`s School (36736-34835)',52.791393,-2.080049,'School'),new Array('St Mary of the Angels School (36695-34794)',52.597789,-1.914948,'School'),new Array('St Anne Church (36164-34414)',52.791393,-2.080049,'ParishChurch'),new Array('St Joseph`s Convent School (38799-36905)',52.603702,-2.156988,'School'),new Array('St Thomas More School (36699-34798)',52.57347,-2.057045,'School'),new Array('Holy Rosary School (36700-34799)',52.581296,-2.103218,'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';
}
//