strList="

SS Peter & Paul Church (0 miles)
Zoom on map | View full information

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

Our Lady of the Rosary Church (4.5 miles)
Zoom on map | View full information

St Luke`s Primary School (4.9 miles)
Zoom on map | View full information

St Lawrence C of E Church (5.7 miles)
Zoom on map | View full information

Blessed Robert Johnson School (7 miles)
Zoom on map | View full information

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

"; function showResults() { document.getElementById("mapList").style.display="block"; } var records = new Array(new Array('SS Peter & Paul Church (59643||32808)',52.769854,-2.383529,'ParishChurch'),new Array('SS Peter & Paul Catholic Primary (39056||37162)',52.778944,-2.380318,'School'),new Array('Our Lady of the Rosary Church (59626||32811)',52.716107,-2.44239,'ParishChurch'),new Array('St Luke`s Primary School (38180||36284)',52.711446,-2.450587,'School'),new Array('St Lawrence C of E Church (65109||34454)',52.786982,-2.251418,'Other'),new Array('Blessed Robert Johnson School (38218||36322)',52.70937,-2.518622,'School'),new Array('St Mary Church (59742||32809)',52.6668111,-2.376178500000037,'ParishChurch'),new Array('All Saints and St Paul Church (63212||64960)',52.701972,-2.516344,'ParishChurch'),new Array('St Patrick Church (59756||32807)',52.702635,-2.516885,'ParishChurch'),new Array('St Patrick`s Primary School (38193||36297)',52.705683,-2.524958,'School'),new Array('Sacred Heart Church (36118||34391)',52.860305,-2.244846,'ParishChurch'),new Array('St Mary`s Primary School (38188||36292)',52.638557,-2.448404,'School'),new Array('St Mary & The Good Shepherd Church (59583||32812)',52.6367393,-2.448755000000006,'ParishChurch'),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('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('Blessed Mother Teresa of Calcutta School (36735||34834)',52.791277,-2.129667,'School'),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('Blessed William Howard School (36742||34841)',52.800624,-2.122976,'School'),new Array('St Austin Church (36243||34454)',52.799994,-2.115558,'ParishChurch'),new Array('St Patrick`s School (36728||34827)',52.815748,-2.119146,'School'),new Array('St Patrick Church (36142||34403)',52.815509,-2.115436,'ParishChurch'),new Array('St Austin`s School (36727||34826)',52.801093,-2.112253,'School'),new Array('Hawkstone Hall Church (59584||64964)',52.865213,-2.623272,'Other'),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 Church (36164||34414)',52.791393,-2.080049,'ParishChurch'),new Array('St Anne`s School (36736||34835)',52.791393,-2.080049,'School'),new Array('St Christopher`s School (36739||34838)',52.625643,-2.189641,'School'),new Array('St Christopher Church (36259||34462)',52.625643,-2.189641,'ParishChurch'),new Array('St Wulstan Church (36233||34449)',52.897655,-2.154602,'ParishChurch'),new Array('Holy Michael Archangel Church (36116||34446)',52.8836,-2.12859,'ParishChurch'),new Array('Holy Michael Archangel Church (36116||34390)',52.8836,-2.12859,'ParishChurch'),new Array('Immaculate Conception & St Dominic Church (36227||34446)',52.905175,-2.150629,'ParishChurch'),new Array('St Dominic`s Priory School (38814||36920)',52.904339,-2.150626,'School'),new Array('Our Lady of Pity Church (63262||32799)',52.729223,-2.722278,'ParishChurch'),new Array('St Mary`s Abbey, OULTON Parish Church (5421||34446)',52.917731,-2.13754,'ParishChurch'),new Array('Our Lady of Pity Church (59622||32799)',52.729223,-2.722278,'ParishChurch'),new Array('St Mary`s Abbey Church (36190||34427)',52.917731,-2.13754,'ParishChurch'),new Array('St Anthony`s School (36701||34800)',52.625979,-2.127035,'School'),new Array('St Anthony of Padua Church (36184||34424)',52.626763,-2.125382,'ParishChurch'),new Array('St Winefride Church (63443||32804)',52.710311,-2.724748,'ParishChurch'),new Array('St Joseph`s Convent School (38799||36905)',52.603702,-2.156988,'School'),new Array('St Winefride Church (59803||32804)',52.710311,-2.724748,'ParishChurch'),new Array('St Thomas of Canterbury Church (36376||34520)',52.595367,-2.171441,'ParishChurch'),new Array('St Mary`s Primary School (38190||36294)',52.718675,-2.737411,'School'),new Array('The Giffard School (36709||34808)',52.600119,-2.154067,'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'; } //