strList="

St Gabriel`s Parish Church (0 miles)
Zoom on map | View full information

St Gabriel Church (0 miles)
Zoom on map | View full information

St Gabriel`s Parish Church (0 miles)
Zoom on map | View full information

Catholic Church, Caerleon Parish Church (1.3 miles)
Zoom on map | View full information

Ss Julius Aaron And David Church (1.4 miles)
Zoom on map | View full information

Ss Julius Aaron And David Church (1.4 miles)
Zoom on map | View full information

St Mary`s & St Patrick`s School (1.4 miles)
Zoom on map | View full information

"; function showResults() { document.getElementById("mapList").style.display="block"; } var records = new Array(new Array('St Gabriel`s Parish Church (30703-38501)',51.592098,-2.937142,'ParishChurch'),new Array('St Gabriel Church (41171-38494)',51.592098,-2.937142,'ParishChurch'),new Array('St Gabriel`s Parish Church (30703-31566)',51.592098,-2.937142,'ParishChurch'),new Array('Catholic Church, Caerleon Parish Church (30699-31564)',51.608975,-2.952855,'ParishChurch'),new Array('Ss Julius Aaron And David Church (41087-38501)',51.609532,-2.954036,'ParishChurch'),new Array('Ss Julius Aaron And David Church (41087-31571)',51.609532,-2.954036,'ParishChurch'),new Array('St Mary`s andamp; St Patrick`s School (36864-34963)',51.583653,-2.967263,'School'),new Array('Ss Julius Aaron And David Church (41087-38445)',51.609532,-2.954036,'ParishChurch'),new Array('St Patrick`s Parish Church (30701-31565)',51.582702,-2.965944,'ParishChurch'),new Array('St Patrick Church (41174-38496)',51.582702,-2.965944,'ParishChurch'),new Array('St Julius The Martyr Church (41172-31571)',51.601166,-2.96765,'ParishChurch'),new Array('St Julius The Martyr Church (41172-38495)',51.601166,-2.96765,'ParishChurch'),new Array('St Julius The Martyr Church (41172-38501)',51.601166,-2.96765,'ParishChurch'),new Array('St Michael`s Parish Church (30707-31568)',51.575701,-2.985046,'ParishChurch'),new Array('St Michael Church (41179-38501)',51.575701,-2.985046,'ParishChurch'),new Array('St Michael Church (41179-31571)',51.575701,-2.985046,'ParishChurch'),new Array('St Michael Church (41179-38500)',51.575701,-2.985046,'ParishChurch'),new Array('St Mary`s Parish Church (30705-31567)',51.586888,-2.996503,'ParishChurch'),new Array('St Mary`s Parish Church (30705-38501)',51.586888,-2.996503,'ParishChurch'),new Array('St Mary Church (41176-38497)',51.586888,-2.996503,'ParishChurch'),new Array('All Saints Church (41180-38501)',51.586888,-2.996503,'ParishChurch'),new Array('St Mary Church (41176-31571)',51.586888,-2.996503,'ParishChurch'),new Array('St Anne`s Parish Church (30711-31571)',51.616796,-3.015228,'ParishChurch'),new Array('St Anne`s Parish Church (30711-31570)',51.616796,-3.015228,'ParishChurch'),new Array('St Anne Church (41178-38499)',51.616796,-3.015228,'ParishChurch'),new Array('St Anne Church (41178-38501)',51.616796,-3.015228,'ParishChurch'),new Array('St David Church (41177-31571)',51.569883,-3.020877,'ParishChurch'),new Array('St David Church (41177-38498)',51.569883,-3.020877,'ParishChurch'),new Array('St David`s Parish Church (30709-31569)',51.569883,-3.020877,'ParishChurch'),new Array('St David`s Parish Church (30709-38501)',51.569883,-3.020877,'ParishChurch'),new Array('St David Lewis Parish Church (30713-31571)',51.612271,-3.025828,'ParishChurch'),new Array('St David Lewis Church (41181-38502)',51.612271,-3.025828,'ParishChurch'),new Array('St Joseph`s R.C. High School (36878-34977)',51.557258,-3.024042,'School'),new Array('St Basil And St Gwladys Church (41196-38513)',51.582791,-3.044822,'ParishChurch'),new Array('Catholic Church, Rogerstone Parish Church (30689-31559)',51.582791,-3.044822,'ParishChurch'),new Array('St Basil And St Gwladys Church (41196-38501)',51.582791,-3.044822,'ParishChurch'),new Array('St Basil And St Gwladys Church (41196-31571)',51.582791,-3.044822,'ParishChurch'),new Array('Our Lady`s Parish Church (30731-31580)',51.647179,-3.025532,'ParishChurch'),new Array('Our Lady of the Angels RC Primary and Nursery School (36849-34948)',51.648813,-3.022722,'School'),new Array('Our Lady Of The Angels Church (41133-38471)',51.647179,-3.025532,'ParishChurch'),new Array('St David Church (41134-31580)',51.66053,-3.017463,'ParishChurch'),new Array('St David Church (41134-38472)',51.66053,-3.017463,'ParishChurch'),new Array('St Anthony Of Padua And St Clare Church (41195-38512)',51.607053,-3.095791,'ParishChurch'),new Array('St Anthony and St Clare Parish Church (30643-31536)',51.606221,-3.09629,'ParishChurch'),new Array('St Anthony and St Clare Parish Church (30643-38493)',51.606221,-3.09629,'ParishChurch'),new Array('Most Holy Redeemer Parish Church (30729-31579)',51.685757,-3.030165,'ParishChurch'),new Array('St Paul Church (41091-38447)',51.591663,-2.755636,'ParishChurch'),new Array('St Paul Church (41091-38469)',51.591663,-2.755636,'ParishChurch'),new Array('Blessed Sacrament Parish Church (30613-31521)',51.527072,-3.087098,'ParishChurch'),new Array('Ss David Lewis and Francis Xavier Church (41206-38521)',51.704798,-2.90497,'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'; } //