strList="

St Joseph and St Laurence Parish Centre (0 miles)
Zoom on map | View full information

Parish Centre (0 miles)
Zoom on map | View full information

Parish Community Centre (0 miles)
Zoom on map | View full information

Immaculate Conception (0 miles)
Zoom on map | View full information

St Amand and St John the Baptist (0 miles)
Zoom on map | View full information

Our Lady (0 miles)
Zoom on map | View full information

St Mary`s Parish Centre (0 miles)
Zoom on map | View full information

"; function showResults() { document.getElementById("mapList").style.display="block"; } var records = new Array(new Array('St Joseph and St Laurence Parish Centre (72532-57736)',-500,-500,'Other'),new Array('Parish Centre (72557-57707)',-500,-500,'Other'),new Array('Parish Community Centre (72603-57705)',-500,-500,'Other'),new Array('Immaculate Conception (73043-66736)',-500,-500,'Church'),new Array('St Amand and St John the Baptist (71403-9800)',-500,-500,'Church'),new Array('Our Lady (72540-57733)',-500,-500,'ParishChurch'),new Array('St Mary`s Parish Centre (72497-57718)',-500,-500,'Other'),new Array('Chapel of St. Joseph Church (73530-76908)',-500,-500,'Church'),new Array('St Oswald`s Parish Centre (72569-57769)',-500,-500,'Other'),new Array('St Mary (72483-57718)',-500,-500,'ParishChurch'),new Array('Christ the King Church (73532-76910)',-500,-500,'Church'),new Array('Jackson House (73213-75690)',-500,-500,'Other'),new Array('Our Lady of Mount Carmel (72486-57642)',-500,-500,'ParishChurch'),new Array('St Benedict`s Parish Centre (72568-57769)',-500,-500,'Other'),new Array('DHS International Novitiate (71381-75177)',-500,-500,'Other'),new Array('Holy Spirit Church (73553-76931)',-500,-500,'Church'),new Array('Blessed Trinity Church (73528-76906)',-500,-500,'Church'),new Array('Communaute-Saint-Antoine-Daniel Church (73533-76911)',-500,-500,'Church'),new Array('Corpus Christi Church (73534-76912)',-500,-500,'Church'),new Array('Annunciation of the Blessed Virgin Mary Church (73524-76902)',-500,-500,'Church'),new Array('St Patrick (71541-71428)',-500,-500,'ParishChurch'),new Array('Cathedral Church of St Anne (62977-66641)',-500,-500,'ParishChurch'),new Array('Assomption de Notre-Dame Church (73525-76903)',-500,-500,'Church'),new Array('Lithuanian Martyrs Church (73560-76938)',-500,-500,'Church'),new Array('Chinese Martyrs Catholic Church (73531-76909)',-500,-500,'Church'),new Array('Guardian Angels Church (73539-76917)',-500,-500,'Church'),new Array('Epiphany of Our Lord Church (73537-76915)',-500,-500,'Church'),new Array('Holy Family Church (73547-76925)',-500,-500,'Church'),new Array('Office 204, Group First House (73214-75689)',-500,-500,'Other'),new Array('Blessed Sacrament Church (73527-76905)',-500,-500,'Church'),new Array('Guardian Angels Church (73540-76918)',-500,-500,'Church'),new Array('Native Peoples' Mission Church (73563-76941)',-500,-500,'Church'),new Array('Croatian Martyrs Church (73536-76914)',-500,-500,'Church'),new Array('Holy Family Coptic Catholic Church (73544-76922)',-500,-500,'Church'),new Array('Holy Spirit Church (73552-76930)',-500,-500,'Church'),new Array('Immaculate Conception Church (73555-76933)',-500,-500,'Church'),new Array('All Saints Church (73523-76901)',-500,-500,'Church'),new Array('Canadian Martyrs Church (73529-76907)',-500,-500,'Church'),new Array('Holy Cross Church (73542-76920)',-500,-500,'Church'),new Array('Our Lady Help of Christians Church (73566-76944)',-500,-500,'Church'),new Array('Holy Angels Church (73541-76919)',-500,-500,'Church'),new Array('Holy Family Church (73546-76924)',-500,-500,'Church'),new Array('Our Lady of Good Health Church (73571-76949)',-500,-500,'Church'),new Array('Immaculate Conception Church (73558-76936)',-500,-500,'Church'),new Array('Blessed Frederic Ozanam Church (73526-76904)',-500,-500,'Church'),new Array('Cristo Rei Church (73535-76913)',-500,-500,'Church'),new Array('Holy Family Church (73545-76923)',-500,-500,'Church'),new Array('Our Lady of Sorrows Church (73581-76959)',-500,-500,'Church'),new Array('Immaculate Heart of Mary Church (73559-76937)',-500,-500,'Church'),new Array('Holy Name Church (73549-76927)',-500,-500,'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'; } //