strList="

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

English Martyrs Catholic Primary School (0 miles)
Zoom on map | View full information

St Michael the Archangel Church (1.7 miles)
Zoom on map | View full information

St John Fisher Catholic Comprehensive School (1.8 miles)
Zoom on map | View full information

St Michael`s Catholic Primary School (1.8 miles)
Zoom on map | View full information

St John Fisher Church (1.9 miles)
Zoom on map | View full information

St William Of Perth Catholic Primary School (1.9 miles)
Zoom on map | View full information

"; function showResults() { document.getElementById("mapList").style.display="block"; } var records = new Array(new Array('English Martyrs Church (61058||65606)',51.400789,0.499484,'ParishChurch'),new Array('English Martyrs Catholic Primary School (38618||36722)',51.400789,0.499484,'School'),new Array('St Michael the Archangel Church (61060||65607)',51.379613,0.521138,'ParishChurch'),new Array('St John Fisher Catholic Comprehensive School (38630||36734)',51.377735,0.517269,'School'),new Array('St Michael`s Catholic Primary School (38598||36702)',51.378112,0.521486,'School'),new Array('St John Fisher Church (61056||65605)',51.373994,0.497507,'ParishChurch'),new Array('St William Of Perth Catholic Primary School (38614||36718)',51.373994,0.497507,'School'),new Array('St Mary`s Catholic Primary School (38604||36708)',51.388583,0.557078,'School'),new Array('Our Lady of Gillingham Church (61064||65609)',51.387267,0.558442,'ParishChurch'),new Array(' Church (61062||65608)',51.34815,0.52547,'ParishChurch'),new Array('St Thomas More Catholic Primary School (38622||36726)',51.34815,0.52547,'School'),new Array('St Thomas Of Canterbury Catholic Primary School (38612||36716)',51.370906,0.581856,'School'),new Array('St Benedict`s Catholic Primary School (38623||36727)',51.337711,0.545702,'School'),new Array('St Thomas of Canterbury Church (61066||65610)',51.365407,0.598327,'ParishChurch'),new Array('St John`s Catholic Primary School (38605||36709)',51.436547,0.386913,'School'),new Array('St John`s Catholic Comprehensive School (38626||36730)',51.434221,0.384965,'School'),new Array('St Joseph`s Convent Preparatory School (38635||36739)',51.431531,0.377487,'School'),new Array('St Augustine of Canterbury Church (61068||65611)',51.341064,0.595341,'ParishChurch'),new Array('St Augustine Of Canterbury Catholic Primary School (38611||36715)',51.341152,0.595834,'School'),new Array('St John the Evangelist Church (61218||65688)',51.441292,0.371144,'ParishChurch'),new Array('St Paul Church (61220||65689)',51.376955,0.359037,'ParishChurch'),new Array('St Mary`s (36535||34634)',51.467057,0.393889,'School'),new Array('Our Lady Star Of The Sea Church (39424||37465)',51.461039,0.357397,'ParishChurch'),new Array('St Mary`s RC Primary School (38825||36931)',51.461504,0.358458,'School'),new Array('St Joseph`s Catholic Primary School (38610||36714)',51.439786,0.336876,'School'),new Array('Our Lady of the Assumption Church (61216||65687)',51.4421116,0.336591799999951,'ParishChurch'),new Array('St Thomas More Church (61250||65704)',51.295211,0.418276,'ParishChurch'),new Array('More Park Catholic Primary School (38624||36728)',51.295211,0.418276,'School'),new Array('Oratory of St Francis de Sales Church (61038||65596)',51.384347,0.310336,'ParishChurch'),new Array('Our Lady Of Hartley Catholic Primary School (38606||36710)',51.385569,0.306718,'School'),new Array('Our Lady And St Joseph Church (39410||37457)',51.517332,0.427734,'ParishChurch'),new Array('St Francis Church (61244||65701)',51.27722,0.522409,'ParishChurch'),new Array('St Joseph`s (36534||34633)',51.516455,0.428812,'School'),new Array('St Francis Catholic Primary School (38628||36732)',51.274503,0.497698,'School'),new Array('Our Lady Of Canvey And The English Martyrs Church (39242||37343)',51.520209,0.572418,'ParishChurch'),new Array('St Simon Stock Secondary School (38632||36736)',51.272861,0.496677,'School'),new Array('St Thomas Of Canterbury Church (39308||37398)',51.476506,0.332315,'ParishChurch'),new Array('St Joseph`s (36523||34622)',51.522982,0.589053,'School'),new Array('Convent High School for Girls (36536||34635)',51.482929,0.329964,'School'),new Array('St Thomas of Canterbury (36533||34632)',51.486474,0.328949,'School'),new Array('St Peter Church (61246||65702)',51.265454,0.57247,'ParishChurch'),new Array('St Peter Church (39414||37459)',51.499505,0.326688,'ParishChurch'),new Array('St Peter`s Catholic Primary School (38617||36721)',51.334489,0.724002,'School'),new Array('The Sacred Heart Church (61238||65698)',51.340958,0.729325,'ParishChurch'),new Array('St Edward`s RC Primary School (39067||37173)',51.433083,0.755405,'School'),new Array('St Edward`s Catholic Primary School (38616||36720)',51.437029,0.755513,'School'),new Array('Holy Family (36522||34621)',51.562822,0.561216,'School'),new Array('Holy Family Church (61248||65703)',51.238438,0.556449,'ParishChurch'),new Array('Holy Family Catholic Primary School (38627||36731)',51.238438,0.556449,'School'),new Array('St Basil The Great Presbytery (39149||71431)',51.568416,0.493633,'Other')); // 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'; } //