strList="

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

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

All Saints Church (0 miles)
Zoom on map | View full information

St Michael`s Parish Church (0.9 miles)
Zoom on map | View full information

St Michael Church (0.9 miles)
Zoom on map | View full information

St Patrick Church (1.3 miles)
Zoom on map | View full information

St Patrick`s Parish Church (1.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 Parish Church (30705||31567)',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 Michael`s Parish Church (30707||31568)',51.575701,-2.985046,'ParishChurch'),new Array('St Michael Church (41179||38500)',51.575701,-2.985046,'ParishChurch'),new Array('St Patrick Church (41174||38496)',51.582702,-2.965944,'ParishChurch'),new Array('St Patrick`s Parish Church (30701||31565)',51.582702,-2.965944,'ParishChurch'),new Array('St Mary`s & St Patrick`s School (36864||34963)',51.583653,-2.967263,'School'),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 Julius The Martyr Church (41172||38495)',51.601166,-2.96765,'ParishChurch'),new Array('Catholic Church, Rogerstone Parish Church (30689||31559)',51.582791,-3.044822,'ParishChurch'),new Array('St Basil And St Gwladys Church (41196||38513)',51.582791,-3.044822,'ParishChurch'),new Array('St Anne`s Parish Church (30711||31570)',51.616796,-3.015228,'ParishChurch'),new Array('St David Lewis Church (41181||38502)',51.612271,-3.025828,'ParishChurch'),new Array('St Anne Church (41178||38499)',51.616796,-3.015228,'ParishChurch'),new Array('St David Lewis Parish Church (30713||31571)',51.612271,-3.025828,'ParishChurch'),new Array('Catholic Church, Caerleon Parish Church (30699||31564)',51.608975,-2.952855,'ParishChurch'),new Array('St Joseph`s R.C. High School (36878||34977)',51.557258,-3.024042,'School'),new Array('Ss Julius Aaron And David Church (41087||38445)',51.609532,-2.954036,'ParishChurch'),new Array('St Gabriel`s Parish Church (30703||31566)',51.592098,-2.937142,'ParishChurch'),new Array('St Gabriel Church (41171||38494)',51.592098,-2.937142,'ParishChurch'),new Array('Our Lady of the Angels RC Primary & Nursery School (36849||34948)',51.648813,-3.022722,'School'),new Array('Our Lady`s Parish Church (30731||31580)',51.647179,-3.025532,'ParishChurch'),new Array('Our Lady Of The Angels Church (41133||38471)',51.647179,-3.025532,'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 David Church (41134||38472)',51.66053,-3.017463,'ParishChurch'),new Array('Blessed Sacrament Parish Church (30613||31521)',51.527072,-3.087098,'ParishChurch'),new Array('St John`s College (38753||36858)',51.528271,-3.110735,'School'),new Array('St John Lloyd Parish Church (30609||31519)',51.516657,-3.109429,'ParishChurch'),new Array('St John Lloyd Church (41114||38460)',51.516657,-3.109429,'ParishChurch'),new Array('Most Holy Redeemer Parish Church (30729||31579)',51.685757,-3.030165,'ParishChurch'),new Array('St Illtyd`s High School (36874||34973)',51.517446,-3.115358,'School'),new Array('St Cadoc Church (41106||38455)',51.52207,-3.126353,'ParishChurch'),new Array('St Cadoc`s Parish Church (30611||31520)',51.52207,-3.126353,'ParishChurch'),new Array('St Bernadette`s Catholic Primary School (38836||36942)',51.526207,-3.143984,'School'),new Array('Blessed Sacrament Church (41093||38448)',51.504483,-3.125314,'ParishChurch'),new Array('Corpus Christi Catholic High School (36873||34972)',51.533962,-3.160946,'School'),new Array('St Philip Evans Church (41125||38466)',51.516301,-3.151014,'ParishChurch'),new Array('St Alban`s RC High School (36879||34978)',51.702827,-3.038859,'School'),new Array('St Philip Evans RC Primary School (36847||34946)',51.517294,-3.149684,'School'),new Array('St Alban Church (41186||38506)',51.704753,-3.046819,'ParishChurch'),new Array('St Mary`s & St Patrick`s School (36866||34965)',51.704753,-3.046819,'School'),new Array('Catholic Church, CARDIFF Parish Church (30605||31517)',51.513225,-3.152896,'ParishChurch'),new Array('Catholic Church, PONTYPOOL Parish Church (30725||31577)',51.704753,-3.046819,'ParishChurch'),new Array('Our Lady Of Peace Church (41170||38493)',51.670868,-3.143721,'ParishChurch'),new Array('St David`s Parish Church (30721||31575)',51.707346,-3.044351,'ParishChurch'),new Array('Catholic Church, NEWBRIDGE Parish Church (30691||31560)',51.670868,-3.143721,'ParishChurch'),new Array('St Helen`s School (36834||34933)',51.580331,-3.203043,'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 }); for (var rows=0; rows < 8; rows++) { var marker = new google.maps.Marker({ position: new google.maps.LatLng(records[rows][1],records[rows][2]), map: map, icon: "http://www.catholicdirectory.org/Pictures/map/" + records[rows][3] + "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'; } //