strList="

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

Catholic Church, EBBW VALE Parish Church (0 miles)
Zoom on map | View full information

Immaculate Conception Parish Church (1.7 miles)
Zoom on map | View full information

The Immaculate Conception Church (1.8 miles)
Zoom on map | View full information

St Mary`s School (1.9 miles)
Zoom on map | View full information

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

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

"; function showResults() { document.getElementById("mapList").style.display="block"; } var records = new Array(new Array('All Saints Church (41138||38474)',51.781203,-3.209278,'ParishChurch'),new Array('Catholic Church, EBBW VALE Parish Church (30717||31573)',51.781203,-3.209278,'ParishChurch'),new Array('Immaculate Conception Parish Church (30641||31535)',51.785098,-3.249584,'ParishChurch'),new Array('The Immaculate Conception Church (41200||38517)',51.785293,-3.251503,'ParishChurch'),new Array('St Mary`s School (36833||34932)',51.797107,-3.17216,'School'),new Array('St Mary Parish Church (30723||31576)',51.797107,-3.17216,'ParishChurch'),new Array('St Mary Church (41085||38444)',51.797705,-3.17261,'ParishChurch'),new Array('St Mary`s & St Patrick`s School (36870||34969)',51.785047,-3.257658,'School'),new Array('St John`s Parish Church (30715||31572)',51.755635,-3.280224,'ParishChurch'),new Array('St John Church (41194||38511)',51.755635,-3.280224,'ParishChurch'),new Array('Catholic Church, ABERTILLERY Parish Church (30693||31561)',51.728667,-3.132409,'ParishChurch'),new Array('St Joseph Church (41084||38443)',51.728667,-3.132409,'ParishChurch'),new Array('St Mary Church (41075||38438)',51.728667,-3.132409,'ParishChurch'),new Array('The Sacred Heart And St Felix Church (41080||38441)',51.776443,-3.083337,'ParishChurch'),new Array('St Peter`s Parish Church (30669||31549)',51.689812,-3.230118,'ParishChurch'),new Array('St Peter Church (41076||38439)',51.689812,-3.230118,'ParishChurch'),new Array('St Joseph Church (45829||53125)',51.862446,-3.139396,'ParishChurch'),new Array('St Illtyd`s Parish Church (30649||31539)',51.761158,-3.360844,'ParishChurch'),new Array('St Illtyd Church (41163||38488)',51.761158,-3.360844,'ParishChurch'),new Array('Catholic Church, Talywain Parish Church (30727||31578)',51.728439,-3.070504,'ParishChurch'),new Array('Bishop Hedley Catholic High School (36877||34976)',51.756386,-3.371422,'School'),new Array('St Aloysius Parish Church (30647||31538)',51.762419,-3.379169,'ParishChurch'),new Array('St Aloysius Church (41161||38487)',51.762419,-3.379169,'ParishChurch'),new Array('St Mary`s & St Patrick`s School (36857||34956)',51.759747,-3.383086,'School'),new Array('St Mary Church (41165||38489)',51.749364,-3.379075,'ParishChurch'),new Array('St Mary`s Priory Parish Church (30645||31537)',51.749364,-3.379075,'ParishChurch'),new Array('Our Lady Of Peace Church (41170||38493)',51.670868,-3.143721,'ParishChurch'),new Array('Catholic Church, NEWBRIDGE Parish Church (30691||31560)',51.670868,-3.143721,'ParishChurch'),new Array('St Benedict Church (41166||38490)',51.690302,-3.342991,'ParishChurch'),new Array('Our Lady & St Michael`s Parish Church (30733||31581)',51.825864,-3.021547,'ParishChurch'),new Array('Our Lady & St Michael`s School (36828||34927)',51.825864,-3.021547,'School'),new Array('Our Lady & St Michael Church (41071||38436)',51.825864,-3.021547,'ParishChurch'),new Array('Catholic Church, PONTYPOOL Parish Church (30725||31577)',51.704753,-3.046819,'ParishChurch'),new Array('St Mary`s & St Patrick`s School (36866||34965)',51.704753,-3.046819,'School'),new Array('St Alban Church (41186||38506)',51.704753,-3.046819,'ParishChurch'),new Array('St David`s Parish Church (30721||31575)',51.707346,-3.044351,'ParishChurch'),new Array('The Sacred Heart Church (41183||38504)',51.654896,-3.190112,'ParishChurch'),new Array('Sacred Heart Parish Church (30639||31534)',51.654896,-3.190112,'ParishChurch'),new Array('St Alban`s RC High School (36879||34978)',51.702827,-3.038859,'School'),new Array('Catholic Church, MOUNTAIN ASH Parish Church (30635||31532)',51.679839,-3.375312,'ParishChurch'),new Array('Our Lady Of Lourdes Church (41168||38492)',51.679839,-3.375312,'ParishChurch'),new Array('Most Holy Redeemer Parish Church (30729||31579)',51.685757,-3.030165,'ParishChurch'),new Array('Catholic Church, ABERCYNON Parish Church (30637||31533)',51.645452,-3.323917,'ParishChurch'),new Array('St Thomas Church (41069||38435)',51.645452,-3.323917,'ParishChurch'),new Array('St David Church (41134||38472)',51.66053,-3.017463,'ParishChurch'),new Array('Our Lady Of The Angels Church (41133||38471)',51.647179,-3.025532,'ParishChurch'),new Array('Our Lady`s Parish Church (30731||31580)',51.647179,-3.025532,'ParishChurch'),new Array('Our Lady of the Angels RC Primary & Nursery School (36849||34948)',51.648813,-3.022722,'School'),new Array('Catholic Church, ABERDARE Parish Church (30633||31531)',51.736851,-3.501828,'ParishChurch'),new Array('St Anthony and St Clare Parish Church (30643||31536)',51.606221,-3.09629,'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 }); 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'; } //