strList="

SS Thomas & Stephen Church (0 miles)
Zoom on map | View full information

SS Thomas & Stephen Church (0 miles)
Zoom on map | View full information

Our Blessed Lady and St John the Baptist Church (5.2 miles)
Zoom on map | View full information

Our Blessed Lady and St John the Baptist Church (5.2 miles)
Zoom on map | View full information

Hawkstone Hall Church (6.6 miles)
Zoom on map | View full information

SS Peter & Paul Catholic Primary (9.6 miles)
Zoom on map | View full information

St George Church (9.7 miles)
Zoom on map | View full information

"; function showResults() { document.getElementById("mapList").style.display="block"; } var records = new Array(new Array('SS Thomas & Stephen Church (59647||32813)',52.903833,-2.479849,'ParishChurch'),new Array('SS Thomas & Stephen Church (63287||32813)',52.903833,-2.479849,'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('Hawkstone Hall Church (59584||64964)',52.865213,-2.623272,'Other'),new Array('SS Peter & Paul Catholic Primary (39056||37162)',52.778944,-2.380318,'School'),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('SS Peter & Paul Church (59643||32808)',52.769854,-2.383529,'ParishChurch'),new Array('Sacred Heart Church (36118||34391)',52.860305,-2.244846,'ParishChurch'),new Array('Our Lady`s RC Primary School (38811||36917)',52.915986,-2.22608,'School'),new Array('Our Lady of the Assumption Church (30548||31483)',52.916782,-2.223779,'ParishChurch'),new Array('Our Lady of the Assumption Church (36132||34398)',52.916782,-2.223779,'ParishChurch'),new Array('St Anne`s Primary School (38153||36257)',53.059893,-2.519124,'School'),new Array('St Anne Church (59665||32754)',53.063819,-2.519559,'ParishChurch'),new Array('St Anne Church (63305||32754)',53.063819,-2.519559,'ParishChurch'),new Array('Sacred Heart Church (36122||34472)',53.015112,-2.264623,'ParishChurch'),new Array('Sacred Heart Church (36122||34393)',53.015112,-2.264623,'ParishChurch'),new Array('Our Lady and St Werburgh Church (36249||34457)',52.990225,-2.227779,'ParishChurch'),new Array('Our Lady and St Werburgh`s School (36732||34831)',52.990225,-2.227779,'School'),new Array('St Peter Church (36047||34355)',52.9927,-2.226198,'ParishChurch'),new Array('St Lawrence C of E Church (65109||34454)',52.786982,-2.251418,'Other'),new Array('Our Lady of Sorrows Church (36120||34449)',53.021626,-2.249397,'Church'),new Array('Our Lady of Sorrows Church (36120||34392)',53.021626,-2.249397,'Church'),new Array('St Mary`s School (36724||34823)',53.012336,-2.233589,'School'),new Array('St Mary`s Primary School (38187||36291)',53.086882,-2.459234,'School'),new Array('St Thomas More School (38234||36338)',53.08721,-2.457983,'School'),new Array('St John Fisher School (36745||34844)',53.01487,-2.234259,'School'),new Array('St Teresa of the Child Jesus Church (36176||34420)',52.982983,-2.200916,'ParishChurch'),new Array('Holy Trinity Church (36279||34472)',53.008822,-2.223913,'ParishChurch'),new Array('St Teresa`s School (36753||34852)',52.982983,-2.200916,'School'),new Array('St Joseph`s Preparatory School (39100||37206)',52.987868,-2.198749,'School'),new Array('Our Lady of the Rosary Church (59626||32811)',52.716107,-2.44239,'ParishChurch'),new Array('St Joseph`s College School (36761||34860)',52.987868,-2.198749,'School'),new Array('St John the Evangelist Church (36269||34449)',53.036253,-2.248691,'Church'),new Array('St John the Evangelist Church (36269||34467)',53.036253,-2.248691,'Church'),new Array('St Luke`s Primary School (38180||36284)',52.711446,-2.450587,'School'),new Array('St Mary Church (63376||32750)',53.098168,-2.446301,'ParishChurch'),new Array('Blessed Robert Johnson School (38218||36322)',52.70937,-2.518622,'School'),new Array('St Mary Church (59736||32750)',53.098168,-2.446301,'ParishChurch'),new Array('St Wulstan Church (36233||34449)',52.897655,-2.154602,'ParishChurch'),new Array('St Dominic`s Priory School (38814||36920)',52.904339,-2.150626,'School'),new Array('Immaculate Conception & St Dominic Church (36227||34446)',52.905175,-2.150629,'ParishChurch'),new Array('St Patrick`s Primary School (38193||36297)',52.705683,-2.524958,'School'),new Array('St Patrick Church (59756||32807)',52.702635,-2.516885,'ParishChurch'),new Array('St Wulstan`s School (36725||34824)',53.028518,-2.213786,'School'),new Array('All Saints and St Paul Church (63212||64960)',52.701972,-2.516344,'ParishChurch'),new Array('St Thomas Aquinas School (36752||34851)',53.010646,-2.193786,'School'),new Array('Our Lady of the Angels and St Peter in Chains Church (36408||34536)',53.00769649999999,-2.18891450000001,'ParishChurch'),new Array('St Mary`s Abbey, OULTON Parish Church (5421||34446)',52.917731,-2.13754,'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'; } //