strList="

All Saints Church (0 miles)
Zoom on map | View full information

Cardinal Newman Catholic Primary School (0.7 miles)
Zoom on map | View full information

St Erconwald Church (1.5 miles)
Zoom on map | View full information

Notre Dame School (1.9 miles)
Zoom on map | View full information

The Holy Name Church (1.9 miles)
Zoom on map | View full information

St George`s College Junior School (2.4 miles)
Zoom on map | View full information

Christ the Prince of Peace Church (2.6 miles)
Zoom on map | View full information

"; function showResults() { document.getElementById("mapList").style.display="block"; } var records = new Array(new Array('All Saints Church (34843||33723)',51.366174,-0.400575,'ParishChurch'),new Array('Cardinal Newman Catholic Primary School (38774||36880)',51.375153,-0.393681,'School'),new Array('St Erconwald Church (34947||33775)',51.386142,-0.413474,'ParishChurch'),new Array('Notre Dame School (38743||36839)',51.342216,-0.424353,'School'),new Array('The Holy Name Church (34807||33705)',51.362942,-0.356115,'ParishChurch'),new Array('St George`s College Junior School (38738||36847)',51.377098,-0.454077,'School'),new Array('Christ the Prince of Peace Church (34955||33779)',51.374222,-0.460323,'ParishChurch'),new Array('The Sacred Heart (65939||70913)',51.32952,-0.413793,'ParishChurch'),new Array('St Charles Borromeo School (33304||33040)',51.374222,-0.460323,'School'),new Array('St. Paul`s School (33302||33038)',51.388704,-0.347071,'School'),new Array('Our Lady of Lourdes Church (34941||33772)',51.388704,-0.347071,'ParishChurch'),new Array('St Alban`s Catholic Primary School (38775||36881)',51.399027,-0.362469,'School'),new Array('St Barnabas Church (34879||33741)',51.403466,-0.357724,'ParishChurch'),new Array('St Ignatius Catholic Primary School (38440||36544)',51.414792,-0.417487,'School'),new Array('St Paul`s Catholic College School (38441||36545)',51.415603,-0.415618,'School'),new Array('St George`s College (38741||36843)',51.377702,-0.478900199999998,'School'),new Array('St Ignatius Of Loyola Church (40808||38194)',51.415351,-0.418963,'ParishChurch'),new Array('St John Fisher Church (40766||38173)',51.402281,-0.46056,'ParishChurch'),new Array('St Theodore Of Canterbury Church (40576||38078)',51.415631,-0.36852,'ParishChurch'),new Array('St Catherine of Siena Church (61236||65697)',51.359779,-0.310811,'ParishChurch'),new Array('St Raphael Church (61048||65601)',51.395031,-0.310289,'ParishChurch'),new Array('The Holy Family Catholic Primary School (38769||36875)',51.366187,-0.505067,'School'),new Array('The Holy Family Church (34745||33674)',51.36618679999999,-0.505067300000064,'ParishChurch'),new Array('St Anne`s Catholic Primary School (38776||36882)',51.3875,-0.500938,'School'),new Array('St Anne Church (34789||33696)',51.385026,-0.502226,'ParishChurch'),new Array('The Parish Chaplaincy Office (65148||65601)',51.402078,-0.307585,'Other'),new Array('St Francis De Sales Church (40574||38077)',51.43037,-0.353135,'ParishChurch'),new Array('Our Lady Help of Christians Church (34949||33776)',51.338026,-0.505984,'ParishChurch'),new Array('The Marist School (33303||33039)',51.335321,-0.509,'School'),new Array('St Michael`s Catholic Primary School School (38439||36543)',51.430618,-0.45863,'School'),new Array('The Sacred Heart Church (40812||38196)',51.418812,-0.316848,'ParishChurch'),new Array('Salesian School (38781||36887)',51.381781,-0.518656,'School'),new Array('Sacred Heart Catholic Primary Teddington School (38435||36539)',51.421387,-0.320234,'School'),new Array('Our Lady Immaculate Church (61234||65696)',51.382459,-0.28362,'ParishChurch'),new Array('Our Lady Immaculate Catholic Primary School (38522||36626)',51.382459,-0.28362,'School'),new Array('St. Lawrence`s Catholic Primary School School (38415||36519)',51.444173,-0.409795,'School'),new Array('St Lawrence Church (40538||38059)',51.444173,-0.409795,'ParishChurch'),new Array('St James`s Catholic Primary School (38437||36541)',51.437072,-0.347599,'School'),new Array('St Michael`s Church (40454||38017)',51.432862,-0.464481,'ParishChurch'),new Array('St Joseph`s Catholic Primary School (38521||36625)',51.40855,-0.29498,'School'),new Array('St Lawrence`s RC Primary School (39083||37189)',51.445024,-0.408873,'School'),new Array('The Holy Spirit Church (34813||33708)',51.290327,-0.356128,'ParishChurch'),new Array('St Michael Church (34753||33678)',51.31254,-0.300809,'ParishChurch'),new Array('Our Lady and St Peter Church (34859||33731)',51.299803,-0.324259,'ParishChurch'),new Array('St. Peter`s School (33299||33035)',51.302678,-0.317785,'School'),new Array('St James Church (40822||38201)',51.441989,-0.337248,'ParishChurch'),new Array('Richard Challoner Catholic Secondary For Boys School (38523||36627)',51.385144,-0.264406,'School'),new Array('St Agatha`s Catholic Primary School (38519||36623)',51.42221,-0.293163,'School'),new Array('St Joseph Church (34805||33704)',51.329562,-0.274228,'ParishChurch'),new Array('St. Joseph`s School (33293||33029)',51.329857,-0.273542,'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'; } //