strList="

St Helen`s School (0 miles)
Zoom on map | View full information

Mary Immaculate High School (0.6 miles)
Zoom on map | View full information

Holy Family Church (1.5 miles)
Zoom on map | View full information

Holy Family Parish Church (1.5 miles)
Zoom on map | View full information

Sacred Heart Parish Church (2.2 miles)
Zoom on map | View full information

Sacred Heart Church (2.2 miles)
Zoom on map | View full information

St Francis Of Assisi Church (2.3 miles)
Zoom on map | View full information

"; function showResults() { document.getElementById("mapList").style.display="block"; } var records = new Array(new Array('St Helen`s School (36835||34934)',51.478191,-3.256282,'School'),new Array('Mary Immaculate High School (36875||34974)',51.469462,-3.256993,'School'),new Array('Holy Family Church (41097||38450)',51.497463,-3.240951,'ParishChurch'),new Array('Holy Family Parish Church (30655||31542)',51.497463,-3.240951,'ParishChurch'),new Array('Sacred Heart Parish Church (30593||31511)',51.477019,-3.204339,'ParishChurch'),new Array('Sacred Heart Church (41101||38452)',51.477019,-3.204339,'ParishChurch'),new Array('St Francis Of Assisi Church (41112||38459)',51.481544,-3.202442,'ParishChurch'),new Array('Our Lady of Lourdes Parish Church (30599||31514)',51.50051,-3.215274,'ParishChurch'),new Array('St Helen`s School (36844||34943)',51.483537,-3.198333,'School'),new Array('St Mary`s Priory Parish Church (30595||31512)',51.48307,-3.195599,'ParishChurch'),new Array('St Mary Of The Angels Church (41118||38462)',51.48307,-3.195599,'ParishChurch'),new Array('St Teilo Church (41126||38467)',51.515563,-3.218658,'ParishChurch'),new Array('St Teilo`s Parish Church (30597||31513)',51.515563,-3.218658,'ParishChurch'),new Array('Our Lady Of Lourdes Church (41099||38451)',51.515563,-3.218658,'ParishChurch'),new Array('St Patrick`s Parish Church (30591||31510)',51.466596,-3.18332,'ParishChurch'),new Array('St Joseph Church (41116||38461)',51.500456,-3.18983,'ParishChurch'),new Array('St Patrick Church (41120||38463)',51.466596,-3.18332,'ParishChurch'),new Array('St Joseph`s Parish Church (30601||31515)',51.500456,-3.18983,'ParishChurch'),new Array('University Of Cardiff Chaplaincy Church (41128||38468)',51.489369,-3.180957,'ParishChurch'),new Array('St Mary Church (41136||38473)',51.434689,-3.21613,'ParishChurch'),new Array('St Mary Parish Church (30663||31546)',51.434689,-3.21613,'ParishChurch'),new Array('St. David`s Cathedral Church (41111||38458)',51.480751,-3.174196,'Cathedral'),new Array('St Cuthbert Church (41109||38457)',51.463826,-3.172552,'ParishChurch'),new Array('St Cuthbert`s House Parish Church (30589||31509)',51.463,-3.173395,'ParishChurch'),new Array('St Helen`s School (36841||34940)',51.472301,-3.167658,'School'),new Array('St Peter Church (41123||38465)',51.486901,-3.167945,'ParishChurch'),new Array('St Richard Gwyn R.C. High School (36871||34970)',51.423321,-3.239474,'School'),new Array('St David`s Cathedral Parish Church (30587||31508)',51.478892,-3.163147,'ParishChurch'),new Array('St Mary`s & St Patrick`s School (36865||34964)',51.431065,-3.198685,'School'),new Array('St Michael`s Parish Church (30659||31544)',51.41872,-3.274468,'ParishChurch'),new Array('St David`s Catholic College (38752||36859)',51.501149,-3.165629,'School'),new Array('St Joseph Church (41182||38503)',51.438884,-3.183121,'ParishChurch'),new Array('St Brigid Church (41104||38454)',51.521555,-3.183274,'ParishChurch'),new Array('St Alban`s Parish Church (30607||31518)',51.486805,-3.149392,'ParishChurch'),new Array('St Alban Church (41103||38453)',51.486805,-3.149392,'ParishChurch'),new Array('Christ the King Parish Church (30603||31516)',51.531111,-3.189721,'ParishChurch'),new Array('St Paul Church (41121||38464)',51.511762,-3.165353,'ParishChurch'),new Array('Christ The King Church (41095||38449)',51.532029,-3.190466,'ParishChurch'),new Array('St Joseph`s Parish Church (30665||31547)',51.418895,-3.199652,'ParishChurch'),new Array('St Helen`s Parish Church (30661||31545)',51.408168,-3.263204,'ParishChurch'),new Array('St Helen`s Infant & Nursery School (36830||34929)',51.408019,-3.266134,'School'),new Array('St Helen Church (41078||38440)',51.408168,-3.263204,'ParishChurch'),new Array('St Helen`s School (36838||34937)',51.486905,-3.140105,'School'),new Array('Catholic Church, CARDIFF Parish Church (30605||31517)',51.513225,-3.152896,'ParishChurch'),new Array('St Philip Evans Church (41125||38466)',51.516301,-3.151014,'ParishChurch'),new Array('St Philip Evans RC Primary School (36847||34946)',51.517294,-3.149684,'School'),new Array('Corpus Christi Catholic High School (36873||34972)',51.533962,-3.160946,'School'),new Array('All Hallows Parish Church (30667||31548)',51.521232,-3.371364,'ParishChurch'),new Array('All Hallows Church (41184||38505)',51.521232,-3.371364,'ParishChurch'),new Array('All Hallows Church (41157||38484)',51.521232,-3.371364,'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'; } //