strList="

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

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

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

Tonyrefail Church (4.9 miles)
Zoom on map | View full information

University Chaplaincy Parish Church (4.9 miles)
Zoom on map | View full information

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

Cardinal Newman Catholic Comprehensive School (5.2 miles)
Zoom on map | View full information

"; function showResults() { document.getElementById("mapList").style.display="block"; } var records = new Array(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'),new Array('Tonyrefail Church (41199||38516)',51.582986,-3.428199,'ParishChurch'),new Array('University Chaplaincy Parish Church (30474||31438)',51.586628,-3.324645,'ParishChurch'),new Array('St Mary`s & St Patrick`s School (36867||34966)',51.589883,-3.323874,'School'),new Array('Cardinal Newman Catholic Comprehensive School (36880||34979)',51.583119,-3.301536,'School'),new Array('St Cadoc Church (41131||38470)',51.461209,-3.450664,'ParishChurch'),new Array('St Clare Church (41108||38456)',51.461209,-3.450664,'ParishChurch'),new Array('St Dyfig`s Parish Church (30625||31527)',51.594657,-3.324763,'ParishChurch'),new Array('St Dyfrig Church (41187||38507)',51.594657,-3.324763,'ParishChurch'),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('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('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('Our Lady of Lourdes Parish Church (30599||31514)',51.50051,-3.215274,'ParishChurch'),new Array('St Mary Magdalene Parish Church (30476||31439)',51.61984,-3.413669,'ParishChurch'),new Array('St Mary Magdalene Church (41189||38508)',51.621815,-3.412416,'ParishChurch'),new Array('St Helen Church (41089||38446)',51.578547,-3.22255,'ParishChurch'),new Array('St Helen`s Parish Church (30671||31550)',51.578547,-3.22255,'ParishChurch'),new Array('St Mary`s & St Patrick`s School (36869||34968)',51.619243,-3.452984,'School'),new Array('Ss Gabriel And Raphael Church (41198||38515)',51.61879,-3.45255,'ParishChurch'),new Array('Catholic Church, TONYPANDY Parish Church (30629||31529)',51.619506,-3.454235,'ParishChurch'),new Array('Sacred Heart Church (41101||38452)',51.477019,-3.204339,'ParishChurch'),new Array('Christ the King Parish Church (30603||31516)',51.531111,-3.189721,'ParishChurch'),new Array('Sacred Heart Parish Church (30593||31511)',51.477019,-3.204339,'ParishChurch'),new Array('St Francis Of Assisi Church (41112||38459)',51.481544,-3.202442,'ParishChurch'),new Array('Christ The King Church (41095||38449)',51.532029,-3.190466,'ParishChurch'),new Array('St Helen`s School (36844||34943)',51.483537,-3.198333,'School'),new Array('St Joseph`s Parish Church (30601||31515)',51.500456,-3.18983,'ParishChurch'),new Array('St Joseph Church (41116||38461)',51.500456,-3.18983,'ParishChurch'),new Array('St Mary Of The Angels Church (41118||38462)',51.48307,-3.195599,'ParishChurch'),new Array('St Mary`s Priory Parish Church (30595||31512)',51.48307,-3.195599,'ParishChurch'),new Array('St Brigid Church (41104||38454)',51.521555,-3.183274,'ParishChurch'),new Array('St Michael`s Parish Church (30659||31544)',51.41872,-3.274468,'ParishChurch'),new Array('Archbishop McGrath Catholic High School (36872||34971)',51.5075592,-3.559589200000005,'School'),new Array('St Helen`s School (36834||34933)',51.580331,-3.203043,'School'),new Array('University Of Cardiff Chaplaincy Church (41128||38468)',51.489369,-3.180957,'ParishChurch'),new Array('Catholic Church, ABERCYNON Parish Church (30637||31533)',51.645452,-3.323917,'ParishChurch'),new Array('St Richard Gwyn R.C. High School (36871||34970)',51.423321,-3.239474,'School'),new Array('St Thomas Church (41069||38435)',51.645452,-3.323917,'ParishChurch'),new Array('St. David`s Cathedral Church (41111||38458)',51.480751,-3.174196,'Cathedral'),new Array('St Patrick Church (41120||38463)',51.466596,-3.18332,'ParishChurch'),new Array('St Mary`s Parish Church (30615||31522)',51.500617,-3.575734,'ParishChurch'),new Array('St Paul Church (41121||38464)',51.511762,-3.165353,'ParishChurch'),new Array('St Mary Church (41082||38442)',51.500617,-3.575734,'ParishChurch'),new Array('St Patrick`s Parish Church (30591||31510)',51.466596,-3.18332,'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'; } //