strList="

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

St Peter`s Primary School (0.5 miles)
Zoom on map | View full information

St Simon`s Primary School (0.6 miles)
Zoom on map | View full information

St Philip`s School (1 miles)
Zoom on map | View full information

St Philip Church (1 miles)
Zoom on map | View full information

Aquinas College School (1.3 miles)
Zoom on map | View full information

St Ambrose Primary School (1.7 miles)
Zoom on map | View full information

"; function showResults() { document.getElementById("mapList").style.display="block"; } var records = new Array(new Array('St Peter Church (59765||32790)',53.381822,-2.128286,'ParishChurch'),new Array('St Peter`s Primary School (38198||36302)',53.374112,-2.127195,'School'),new Array('St Simon`s Primary School (38204||36308)',53.382709,-2.114172,'School'),new Array('St Philip`s School (38201||36305)',53.394372,-2.117932,'School'),new Array('St Philip Church (59771||32782)',53.394372,-2.117932,'ParishChurch'),new Array('Aquinas College School (38217||36321)',53.396208,-2.14821,'School'),new Array('St Ambrose Primary School (38151||36255)',53.392105,-2.165037,'School'),new Array('St Ambrose Church (59658||32785)',53.389553,-2.171011,'ParishChurch'),new Array('Our Lady & The Apostles Church (59610||32784)',53.40242,-2.161332,'ParishChurch'),new Array('St Vincent de Paul Church (59786||32789)',53.357275,-2.158186,'ParishChurch'),new Array('Our Lady`s Primary School (38141||36245)',53.403073,-2.16368,'School'),new Array('St Joseph`s Primary School (38178||36282)',53.409724,-2.157568,'School'),new Array('St Joseph Church (59716||32772)',53.410067,-2.156562,'ParishChurch'),new Array('St Paul Church (59760||32776)',53.347803,-2.117548,'ParishChurch'),new Array('Our Lady & St Christopher Church (59604||32787)',53.413407,-2.101917,'ParishChurch'),new Array('Harrytown School (38223||36327)',53.41336,-2.104475,'School'),new Array('St Ann Church (63301||32793)',53.365831,-2.183915,'ParishChurch'),new Array('St Christopher`s Primary School (38161||36265)',53.415186,-2.10311,'School'),new Array('St Mary`s RC Primary School (39014||37120)',53.414323,-2.159948,'School'),new Array('St Mary Church (57401||63377)',53.414323,-2.159948,'ParishChurch'),new Array('Holy Spirit Church (59596||32788)',53.39379,-2.069209,'ParishChurch'),new Array('St Paul`s Primary School (38196||36300)',53.343225,-2.120359,'School'),new Array('St Bernadette`s Primary School (38159||36263)',53.42195,-2.141453,'School'),new Array('St Bernadette Church (59675||32786)',53.423952,-2.136373,'ParishChurch'),new Array('St Bernadette`s RC Primary School (39049||37155)',53.424181,-2.139895,'School'),new Array('St James School (38229||36333)',53.359857,-2.198269,'School'),new Array('Cheadle Catholic Infants School (38124||36228)',53.37622,-2.206853,'School'),new Array('St Anne`s RC High School (39016||37122)',53.422037,-2.171428,'School'),new Array('Cheadle Catholic Junior School (38125||36229)',53.37622,-2.206853,'School'),new Array('St Chad Church (59679||32791)',53.395012,-2.208613,'ParishChurch'),new Array('St Mary`s Church (65852||70905)',53.400434,-2.050164,'ParishChurch'),new Array('St Winifred`s RC Primary School (39015||37121)',53.413463,-2.194456,'School'),new Array('St Mary`s Catholic Primary School (37893||35997)',53.402923,-2.0514,'School'),new Array('St Winifreds Church (57403||63378)',53.415141,-2.196014,'ParishChurch'),new Array('Stella Maris School (39103||37209)',53.412075,-2.207057,'School'),new Array('Christ Church Church (59577||32792)',53.371703,-2.224145,'ParishChurch'),new Array('St John Fisher Church (57153||63253)',53.439689,-2.102417,'ParishChurch'),new Array('St Benedict`s Primary School (38158||36262)',53.346494,-2.207144,'School'),new Array('St Joseph Church (57399||63376)',53.43843,-2.159872,'ParishChurch'),new Array('St Benedict Church (59673||32795)',53.34587759999999,-2.210175400000026,'ParishChurch'),new Array('St Joseph`s RC Infant & Nursery School (39013||37119)',53.438455,-2.161739,'School'),new Array('Barlow RC High School (38955||37061)',53.415432,-2.220072,'School'),new Array('St John Fisher RC Primary School (39022||37128)',53.443038,-2.09547,'School'),new Array('St Catherine of Sienna Church (57255||63304)',53.416255,-2.221867,'ParishChurch'),new Array('St Bernard Church (57233||63293)',53.429368,-2.20237,'ParishChurch'),new Array('St Bernard`s RC Primary School (38944||37050)',53.429368,-2.20237,'School'),new Array('St Catherine`s RC Primary School (38932||37038)',53.416255,-2.221867,'School'),new Array('St Elizabeth Church (59691||32762)',53.3773,-2.243956,'ParishChurch'),new Array('St Mary`s RC Primary School (38940||37046)',53.439273,-2.191895,'School'),new Array('St Thomas More RC College School (39026||37132)',53.451093,-2.114325,'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'; } //