strList="

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

St.Mary`s NS (0 miles)
Zoom on map | View full information

Ballymany Junior NS (0 miles)
Zoom on map | View full information

University of Surrey Roehamptron (0 miles)
Zoom on map | View full information

Ealing Abbey Parish Office (0 miles)
Zoom on map | View full information

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

St Bernadette`s Church (0 miles)
Zoom on map | View full information

"; function showResults() { document.getElementById("mapList").style.display="block"; } var records = new Array(new Array('St Aldhelm Church (42252||63404)',-500,-500,'ParishChurch'),new Array('St.Mary`s NS (68620||71917)',-500,-500,'School'),new Array('Ballymany Junior NS (70519||73816)',-500,-500,'School'),new Array('University of Surrey Roehamptron (70993||32832)',-500,-500,'Other'),new Array('Ealing Abbey Parish Office (66557||38052)',-500,-500,'Other'),new Array('St Benedict Church (42268||63421)',-500,-500,'ParishChurch'),new Array('St Bernadette`s Church (66474||71350)',-500,-500,'ParishChurch'),new Array('Cathedral Church Of St Anne Church (62977||66641)',-500,-500,'Cathedral'),new Array('Sancta Maria Abbey (66558||71461)',-500,-500,'Other'),new Array('St Joseph Church (36261||34463)',-500,-500,'ParishChurch'),new Array('Priory Chapel - Bethnal Green (66539||38022)',-500,-500,'Other'),new Array('St Joseph`s Church (66456||71340)',-500,-500,'ParishChurch'),new Array('St Mirin`s Cathedral (66465||71345)',-500,-500,'Cathedral'),new Array('St Francis of Assisi Primary School (66544||71452)',-500,-500,'School'),new Array('Blessed Sacrament Church (66462||32866)',-500,-500,'ParishChurch'),new Array('Oratory (71004||32871)',-500,-500,'Other'),new Array(' Church (42254||63405)',-500,-500,'ParishChurch'),new Array('Holy Family School (66545||71455)',-500,-500,'School'),new Array('Scoil Bhride (69322||72619)',-500,-500,'School'),new Array('Aghacasla National School (69679||72976)',-500,-500,'School'),new Array('Mary Queen of Angels 2 Boys National School (69831||73128)',-500,-500,'School'),new Array('St Mary & St John Southworth Church (57395||63374)',-500,-500,'ParishChurch'),new Array('St Stephen`s Church (66479||71362)',-500,-500,'Other'),new Array('St Thomas Becket School (66542||71450)',-500,-500,'School'),new Array('Castlemartyr National School (68918||72215)',-500,-500,'School'),new Array('Carrick N S (68966||72263)',-500,-500,'School'),new Array('Bishop Murphy Memorial School (69345||72642)',-500,-500,'School'),new Array('Franciscan Friary (71002||32871)',-500,-500,'Other'),new Array('St Peter`s Catholic Comprehensive (33274||33010)',-500,-500,'School'),new Array('St Andrew`s Church of England Church (66555||66144)',-500,-500,'Other'),new Array('Newman Catholic College (66556||71460)',-500,-500,'School'),new Array('Ferns School (68512||71809)',-500,-500,'School'),new Array('St Brigids Primary School (70052||73349)',-500,-500,'School'),new Array('ATTYRORY N S (70703||74000)',-500,-500,'School'),new Array(' Church (42254||63406)',-500,-500,'ParishChurch'),new Array('Ysbyty Gwynedd (71005||65089)',-500,-500,'Other'),new Array('Our Lady of Perpetual Help Church (64964||70693)',-500,-500,'ParishChurch'),new Array('Gatwick Airport Interfaith Chapels (65955||70931)',-500,-500,'Other'),new Array('Bellerive School (66483||71376)',-500,-500,'School'),new Array('Castle Iny N S (69414||72711)',-500,-500,'School'),new Array('John Paul II Centre (Conference Venue) (66484||34349)',-500,-500,'Other'),new Array('Church on Oakwood (66548||62151)',-500,-500,'Other'),new Array('Corpus Christi Church (57187||63270)',-500,-500,'ParishChurch'),new Array('St Wilfrid`s Church (66451||71338)',-500,-500,'ParishChurch'),new Array('Scoil Mochua (70555||73852)',-500,-500,'School'),new Array('St Pauls Church (66467||71347)',-500,-500,'ParishChurch'),new Array('St Mary`s Church (66481||71364)',-500,-500,'ParishChurch'),new Array('St Joseph`s, Newby (70988||74291)',-500,-500,'Church'),new Array('St Andrew`s Church of England Church (66549||45196)',-500,-500,'Other'),new Array('Newcastle Deaf Centre (66453||71339)',-500,-500,'Church')); // 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'; } //