strList="

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

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

English Martyrs School (4.2 miles)
Zoom on map | View full information

English Martyrs Church (4.2 miles)
Zoom on map | View full information

St Patrick, Packmoor Parish Church (5.4 miles)
Zoom on map | View full information

St Patrick Church (5.4 miles)
Zoom on map | View full information

St Gabriel Church (5.5 miles)
Zoom on map | View full information

"; function showResults() { document.getElementById("mapList").style.display="block"; } var records = new Array(new Array('St Mary Church (59734||32753)',53.164371,-2.222658,'ParishChurch'),new Array('St Mary`s Primary School (38186||36290)',53.166267,-2.218181,'School'),new Array('English Martyrs School (36733||34832)',53.111079,-2.17189,'School'),new Array('English Martyrs Church (36037||34350)',53.112284,-2.171342,'ParishChurch'),new Array('St Patrick, Packmoor Parish Church (5439||34350)',53.088108,-2.197763,'Church'),new Array('St Patrick Church (36073||34368)',53.088108,-2.197763,'ParishChurch'),new Array('St Gabriel Church (59694||32797)',53.097695,-2.294908,'ParishChurch'),new Array('St John the Evangelist Church (36041||34352)',53.086159,-2.240394,'ParishChurch'),new Array('St John the Evangelist School (36721||34820)',53.086159,-2.240394,'School'),new Array('St Joseph`s School (36747||34846)',53.075927,-2.213574,'School'),new Array('S t Margaret`s Church (63370||66784)',53.202511,-2.35596,'Other'),new Array('St Gabriel`s Primary School (38166||36270)',53.094036,-2.309577,'School'),new Array('St Joseph Church (36378||34521)',53.074445,-2.218089,'ParishChurch'),new Array('St Winefride Church (59801||32752)',53.145113,-2.368791,'ParishChurch'),new Array('St Bernadette, Fegg Hayes Parish Church (5253||34456)',53.073028,-2.189783,'ParishChurch'),new Array('St Bernadette Church (36126||34395)',53.073028,-2.189783,'ParishChurch'),new Array('St Margaret Ward School (36758||34857)',53.06595,-2.197228,'School'),new Array('St Edward`s Primary School (38164||36268)',53.247504,-2.128827,'School'),new Array('St Edward the Confessor Church (59688||32774)',53.247024,-2.12337,'ParishChurch'),new Array('All Hallows School (38215||36319)',53.255364,-2.141486,'School'),new Array('St Wilfrid`s School (36756||34855)',53.058839,-2.203015,'School'),new Array('Sacred Heart Church (36247||34456)',53.058839,-2.203015,'ParishChurch'),new Array('St Alban Church (59654||32775)',53.259992,-2.13489,'ParishChurch'),new Array('St Alban`s Primary School (38149||36253)',53.266235,-2.159453,'School'),new Array('St Mary`s School (36749||34848)',53.059596,-2.167596,'School'),new Array('St Mary Church (36426||34545)',53.058188,-2.164666,'ParishChurch'),new Array('St Joseph Church (36124||34394)',53.045294,-2.20231,'ParishChurch'),new Array('St Bernard Church (36092||34378)',53.05302,-2.13651,'ParishChurch'),new Array('St John the Evangelist Church (36269||34467)',53.036253,-2.248691,'Church'),new Array('St John the Evangelist Church (36269||34449)',53.036253,-2.248691,'Church'),new Array('St Peter`s School (36748||34847)',53.037297,-2.189462,'School'),new Array('St Mary`s School (36722||34821)',53.103514,-2.03131,'School'),new Array('St Mary Church (36364||34514)',53.10329,-2.025291,'ParishChurch'),new Array('St Mary Church (59740||32751)',53.195602,-2.443137,'ParishChurch'),new Array('SS George and Martin Church (36362||34513)',53.032764,-2.166836,'ParishChurch'),new Array('St George and St Martin`s School (36751||34850)',53.033089,-2.165674,'School'),new Array('St Wulstan`s School (36725||34824)',53.028518,-2.213786,'School'),new Array('St Mary`s Primary School (38189||36293)',53.188743,-2.448155,'School'),new Array('St Pius X Church (59773||32796)',53.30319979999999,-2.233989699999938,'ParishChurch'),new Array('Our Lady and St Benedict`s School (36750||34849)',53.03042,-2.144952,'School'),new Array('Alderley Edge School for Girls (38214||36318)',53.305097,-2.238247,'School'),new Array('Our Lady and St Benedict Church (36154||34409)',53.03042,-2.144952,'ParishChurch'),new Array('Our Lady of Sorrows Church (36120||34392)',53.021626,-2.249397,'Church'),new Array('Our Lady of Sorrows Church (36120||34449)',53.021626,-2.249397,'Church'),new Array('St Gregory`s Primary School (38167||36271)',53.294836,-2.113696,'School'),new Array('Sacred Heart Church (36454||34559)',53.020978,-2.174095,'ParishChurch'),new Array('St Mary Church (59736||32750)',53.098168,-2.446301,'ParishChurch'),new Array('St Mary Church (63376||32750)',53.098168,-2.446301,'ParishChurch'),new Array('St John Fisher School (36745||34844)',53.01487,-2.234259,'School'),new Array('St Gregory Church (59698||32773)',53.297667,-2.104612,'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'; } //