strList="

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

Aldeburgh & District Community Hospital (3.6 miles)
Zoom on map | View full information

Our Lady & St Peter Church (3.7 miles)
Zoom on map | View full information

Sacred Heart Church (9.4 miles)
Zoom on map | View full information

St. Edmund King & Martyr Church (10.1 miles)
Zoom on map | View full information

St. Clare Church (10.1 miles)
Zoom on map | View full information

Patrick Stead Hospital (10.4 miles)
Zoom on map | View full information

"; function showResults() { document.getElementById("mapList").style.display="block"; } var records = new Array(new Array('All Saints Church (42763||45233)',52.203785,1.579283,'ParishChurch'),new Array('Aldeburgh & District Community Hospital (36989||35089)',52.152262,1.595543,'Other'),new Array('Our Lady & St Peter Church (42721||45208)',52.151813,1.60023,'ParishChurch'),new Array('Sacred Heart Church (42801||45253)',52.326834,1.675202,'ParishChurch'),new Array('St. Edmund King & Martyr Church (42747||45223)',52.342122,1.499833,'ParishChurch'),new Array('St. Clare Church (42741||45220)',52.221177,1.343492,'ParishChurch'),new Array('Patrick Stead Hospital (36976||35076)',52.34806,1.507338,'Other'),new Array('St. Thomas of Canterbury Church (42781||45243)',52.0942606,1.318974499999968,'ParishChurch'),new Array('Holy Family & St Michael Church (42761||45232)',52.066248,1.249138,'ParishChurch'),new Array('St Benet`s Catholic Primary School (36881||34981)',52.450423,1.558268,'School'),new Array('St Benet Church (42723||45209)',52.453324,1.56018,'ParishChurch'),new Array('Beccles War Memorial Hospital (36941||35041)',52.454149,1.562352,'Other'),new Array('St Thomas More Church (42683||45183)',52.403123,1.305306,'ParishChurch'),new Array('St Edmund`s Catholic Primary School (36882||34982)',52.454709,1.438403,'School'),new Array('St Edmund King & Martyr Church (42729||45212)',52.454796,1.43757,'ParishChurch'),new Array('Suffolk Nuffield Hospital (36954||35054)',52.047521,1.228931,'Other'),new Array('St. Nicholas Church (42767||45235)',52.458553,1.737431,'ParishChurch'),new Array('St Alban`s Catholic High School (36896||34996)',52.062741,1.198861,'School'),new Array('St Cecilia Church (42739||45219)',51.982082,1.316787,'ParishChurch'),new Array('The Ipswich Hospital (36957||35057)',52.056849,1.197915,'Other'),new Array('St Mary`s Catholic Primary School (36900||35000)',52.461152,1.741436,'School'),new Array('St Felix Church (42737||45217)',51.965414,1.35366,'ParishChurch'),new Array('Religous of Jesus & Mary (36924||35024)',52.063205,1.192636,'School'),new Array('St. Elizabeth`s Hospice (36955||35055)',52.052081,1.196947,'School'),new Array('St. Clement`s Hospital (36953||35053)',52.050614,1.192363,'Other'),new Array('St. Mary Church (43784||45227)',52.06126,1.174183,'ParishChurch'),new Array('St Mary`s Catholic Primary School (36895||34995)',52.061038,1.173073,'School'),new Array('Ipswich Polish Mission (43806||45251)',52.055188,1.176539,'ParishChurch'),new Array('Ipswich Children`s Hospice (36956||35056)',52.047742,1.180824,'School'),new Array('Our Lady Star Of The Sea Church (42765||45234)',52.477611,1.751982,'ParishChurch'),new Array('St. James Church (42755||45229)',52.03687,1.187417,'ParishChurch'),new Array('Lowestoft & North Suffolk Hospital (36960||35060)',52.479226,1.753254,'Other'),new Array('St. Pancras Church (42751||45226)',52.05556,1.159029,'ParishChurch'),new Array('St Pancras Catholic Primary School (5-11) (36913||35013)',52.079736,1.130403,'School'),new Array('St. Mary Magdalen Church (42757||45230)',52.075346,1.129074,'ParishChurch'),new Array('Lothingland Hse Hospital (36961||35061)',52.497492,1.718614,'Other'),new Array('St Mark`s Catholic Primary School (36894||34994)',52.047187,1.13243,'School'),new Array('St Joseph`s College (36897||34997)',52.043992,1.134875,'School'),new Array('St. Mark Church (42759||45231)',52.046395,1.121959,'ParishChurch'),new Array('Our Lady Queen Of Heaven Church (39334||37413)',51.931581,1.265612,'ParishChurch'),new Array('St Joseph`s (36494||34593)',51.930077,1.269562,'School'),new Array('St. John`s Church (Methodist) Church (42691||45188)',52.535652,1.47945,'Other'),new Array('The Catholic Church of Sir Henry Morse (42673||45178)',52.3826476,1.10604920000003,'ParishChurch'),new Array('Our Lady Church (42777||45241)',52.18339,0.996434,'ParishChurch'),new Array('James Paget District Hospital (36951||35051)',52.561672,1.71798,'Other'),new Array('St. Peter Church (42681||45182)',52.5764601,1.727958299999955,'ParishChurch'),new Array('Our Lady Of The Annunciation Church (42699||45194)',52.570194,1.356348,'ParishChurch'),new Array('The White House (4788||45178)',52.570194,1.356348,'Other'),new Array('The White House (4788||868)',52.570194,1.356348,'Other'),new Array('Holy Family Church (42727||45211)',51.965562,1.063628,'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'; } //