strList="
Holy Rosary & St Anne Catholic Primary Academy (0 miles)
Zoom on map | View full information
SGCAT (0 miles)
Zoom on map | View full information
Holy Rosary (0.1 miles)
Zoom on map | View full information
Our Lady of Czestochowa (0.5 miles)
Zoom on map | View full information
St Augustine of Canterbury (0.7 miles)
Zoom on map | View full information
Leeds University Notre Dame Chapel (0.9 miles)
Zoom on map | View full information
Notre Dame Sixth Form College (0.9 miles)
Zoom on map | View full information
";
function showResults()
{
document.getElementById("mapList").style.display="block";
}
var records = new Array(new Array('Holy Rosary and St Anne Catholic Primary Academy (38648-36752)',53.812073,-1.531614,'School'),new Array('SGCAT (73228-78326)',53.8120819,-1.5315832,'Other'),new Array('Holy Rosary (62995-66641)',53.8138908,-1.5321773,'Church'),new Array('Our Lady of Czestochowa (63028-66670)',53.819396,-1.532999,'ParishChurch'),new Array('St Augustine of Canterbury (63090-66704)',53.81588,-1.51696,'ParishChurch'),new Array('Leeds University Notre Dame Chapel (63005-66658)',53.810287,-1.55338,'ParishChurch'),new Array('Notre Dame Sixth Form College (38653-36757)',53.810752,-1.55289,'School'),new Array('St. Augustine School (38667-36771)',53.814137,-1.506166,'School'),new Array('Cathedral Church of St Anne (62977-66641)',53.8006954,-1.5465182,'Cathedral'),new Array('St Patrick (38716-36820)',53.800293,-1.51222,'School'),new Array('St Patrick (63182-66757)',53.800293,-1.51222,'ParishChurch'),new Array('Mount St. Mary School (38652-36756)',53.793863,-1.526883,'School'),new Array('Mount St. Mary School (38652-78335)',53.793863,-1.526883,'School'),new Array('Corpus Christi School (38640-36744)',53.798023,-1.505578,'School'),new Array('Diocese of Leeds (4801-881)',53.818833,-1.567796,'Other'),new Array('St Nicholas (63172-66671)',53.812125,-1.489287,'ParishChurch'),new Array('St. Nicholas School (38715-36819)',53.812125,-1.489287,'School'),new Array('Hinsley Hall (65230-881)',53.819255,-1.570267,'Other'),new Array('St Urban (63199-66673)',53.818887,-1.572357,'Church'),new Array('Mount St Joseph`s (71395-78357)',53.8204224,-1.5704571,'Other'),new Array('Immaculate Heart Of Mary School (38650-36754)',53.837546,-1.536436,'School'),new Array('Immaculate Heart of Mary (63003-66657)',53.837967,-1.538528,'ParishChurch'),new Array('Our Lady of Lourdes (63034-66673)',53.816224,-1.57727,'ParishChurch'),new Array('St. Joseph School (38685-36789)',53.781635,-1.53045,'School'),new Array('Corpus Christi (62981-74283)',53.796531,-1.487229,'ParishChurch'),new Array('Corpus Christi (62981-66643)',53.796531,-1.487229,'ParishChurch'),new Array('Corpus Christi Catholic College (38641-36745)',53.797213,-1.484792,'School'),new Array('St. Urban School (38727-36831)',53.839484,-1.559468,'School'),new Array('Cardinal Heenan Catholic High School (38638-36742)',53.839484,-1.559468,'School'),new Array('Holy Family School (38643-36747)',53.795969,-1.58101,'School'),new Array('Holy Family (62988-66642)',53.791705,-1.57486,'ParishChurch'),new Array('St Francis of Assisi (63110-66702)',53.779498,-1.547364,'ParishChurch'),new Array('St. Francis Of Assisi School (38678-36782)',53.778744,-1.547645,'School'),new Array('Sacred Heart School (38658-36762)',53.811955,-1.595461,'School'),new Array('Our Lady Of Good Counsel School (38655-36759)',53.823908,-1.468392,'School'),new Array('St. Paul School (38720-36824)',53.852205,-1.557738,'School'),new Array('St Anthony of Padua (63087-66702)',53.772354,-1.564905,'ParishChurch'),new Array('St. Anthony School (38664-36768)',53.771506,-1.563897,'School'),new Array('St Theresa of the Child Jesus (63193-74283)',53.805628,-1.452831,'ParishChurch'),new Array('St Theresa of the Child Jesus (63193-66763)',53.805628,-1.452831,'ParishChurch'),new Array('St. Theresa School (38725-36829)',53.814601,-1.45156,'School'),new Array('St Gregory the Great (63114-66718)',53.817355,-1.45034,'ParishChurch'),new Array('St Gregory the Great (63114-74283)',53.817355,-1.45034,'ParishChurch'),new Array('Christ The King School (38639-36743)',53.806975,-1.617239,'School'),new Array('Christ the King (62979-66642)',53.806975,-1.617239,'ParishChurch'),new Array('St Peter (63149-66761)',53.75946769999999,-1.527466499999946,'Church'),new Array('Syro Malabar Chaplaincy (63203-66768)',53.784404,-1.608292,'ParishChurch'),new Array('Holy Name of Jesus (62993-66744)',53.846635,-1.602271,'Church'),new Array('Holy Name School (38647-36751)',53.847208,-1.604424,'School'),new Array('Our Lady of Good Counsel (63030-66671)',53.842241,-1.442414,'Church'));
// 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';
}
//