strList="

Our Lady & St Peter Cathedral Church (0 miles)
Zoom on map | View full information

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

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

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

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

Our Lady of Pity Church (2.1 miles)
Zoom on map | View full information

Our Lady of Pity Church (2.1 miles)
Zoom on map | View full information

"; function showResults() { document.getElementById("mapList").style.display="block"; } var records = new Array(new Array('Our Lady & St Peter Cathedral Church (63445||32798)',52.705631,-2.754508,'Cathedral'),new Array('St Winefride`s School (38212||36316)',52.705631,-2.754508,'School'),new Array('St Mary`s Primary School (38190||36294)',52.718675,-2.737411,'School'),new Array('St Winefride Church (59803||32804)',52.710311,-2.724748,'ParishChurch'),new Array('St Winefride Church (63443||32804)',52.710311,-2.724748,'ParishChurch'),new Array('Our Lady of Pity Church (59622||32799)',52.729223,-2.722278,'ParishChurch'),new Array('Our Lady of Pity Church (63262||32799)',52.729223,-2.722278,'ParishChurch'),new Array('St Patrick`s Primary School (38193||36297)',52.705683,-2.524958,'School'),new Array('Blessed Robert Johnson School (38218||36322)',52.70937,-2.518622,'School'),new Array('St Patrick Church (59756||32807)',52.702635,-2.516885,'ParishChurch'),new Array('All Saints and St Paul Church (63212||64960)',52.701972,-2.516344,'ParishChurch'),new Array('St Milburga Church (59752||32805)',52.5387843,-2.798662000000036,'ParishChurch'),new Array('Hawkstone Hall Church (59584||64964)',52.865213,-2.623272,'Other'),new Array('St Luke`s Primary School (38180||36284)',52.711446,-2.450587,'School'),new Array('Our Lady of the Rosary Church (59626||32811)',52.716107,-2.44239,'ParishChurch'),new Array('St Mary & The Good Shepherd Church (59583||32812)',52.6367393,-2.448755000000006,'ParishChurch'),new Array('St Mary`s Primary School (38188||36292)',52.638557,-2.448404,'School'),new Array('St Michael Church (59748||32801)',52.90603,-2.900114,'ParishChurch'),new Array('St Michael Church (63388||32801)',52.90603,-2.900114,'ParishChurch'),new Array('St Mary Church (59742||32809)',52.6668111,-2.376178500000037,'ParishChurch'),new Array('SS Peter & Paul Church (59643||32808)',52.769854,-2.383529,'ParishChurch'),new Array('Our Lady Help of Christians & St Oswald Church (63252||32800)',52.856279,-3.061473,'ParishChurch'),new Array('SS Peter & Paul Catholic Primary (39056||37162)',52.778944,-2.380318,'School'),new Array('Our Lady Help of Christians & St Oswald Church (59612||32800)',52.856279,-3.061473,'ParishChurch'),new Array('Our Lady & St Oswald School (38133||36237)',52.856279,-3.061473,'School'),new Array('St Walburgh`s Church (59789||64975)',52.4826821,-2.925020099999983,'Other'),new Array('St Winefride, Welshpool Church (60147||65126)',52.66035,-3.154864,'ParishChurch'),new Array('SS Thomas & Stephen Church (63287||32813)',52.903833,-2.479849,'ParishChurch'),new Array('SS Thomas & Stephen Church (59647||32813)',52.903833,-2.479849,'ParishChurch'),new Array('St John`s School (38170||36274)',52.538975,-2.424152,'School'),new Array('St John the Evangelist Church (63348||32829)',52.537468,-2.420673,'ParishChurch'),new Array('St John the Evangelist Church (59708||32829)',52.537468,-2.420673,'ParishChurch'),new Array('St George Church (63336||32802)',52.970925,-2.682955,'ParishChurch'),new Array('St George Church (59696||32802)',52.970925,-2.682955,'ParishChurch'),new Array('Our Lady And The Welsh Martyrs, Overton Church (60114||65113)',52.971404,-2.937092,'ParishChurch'),new Array('The Sacred Heart, Chirk Church (60075||65095)',52.93071,-3.059842,'ParishChurch'),new Array('St Lawrence C of E Church (65109||34454)',52.786982,-2.251418,'Other'),new Array('St Joseph Church (63363||32803)',53.024391,-2.770079,'ParishChurch'),new Array('St Joseph Church (59723||32803)',53.024391,-2.770079,'ParishChurch'),new Array('Our Blessed Lady and St John the Baptist Church (36023||34457)',52.92494,-2.360594,'ParishChurch'),new Array('Our Blessed Lady and St John the Baptist Church (36023||34343)',52.92494,-2.360594,'ParishChurch'),new Array('Y Groes Church (60101||65107)',52.989632,-3.038044,'ParishChurch'),new Array('St Mary the Virgin Church (60134||65121)',52.989632,-3.038044,'ParishChurch'),new Array('St Peter Church (59767||32806)',52.375343,-2.70976,'ParishChurch'),new Array('St Peter Church (63407||32806)',52.375343,-2.70976,'ParishChurch'),new Array('Sacred Heart Church (36118||34391)',52.860305,-2.244846,'ParishChurch'),new Array('St Mary Church (36424||34544)',52.67973,-2.181327,'ParishChurch'),new Array('St Mary`s School (36714||34813)',52.67973,-2.181327,'School'),new Array('St Christopher Church (36259||34462)',52.625643,-2.189641,'ParishChurch'),new Array('St Christopher`s School (36739||34838)',52.625643,-2.189641,'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'; } //