strList="

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

Fernhill (0.6 miles)
Zoom on map | View full information

St Mark`s, Rutherglen (0.7 miles)
Zoom on map | View full information

Trinity High (0.7 miles)
Zoom on map | View full information

St Bride`s, Cambuslang (1.1 miles)
Zoom on map | View full information

St Columbkilles` (1.3 miles)
Zoom on map | View full information

St Bartholomew`s (1.4 miles)
Zoom on map | View full information

"; function showResults() { document.getElementById("mapList").style.display="block"; } var records = new Array(new Array('St Anthony`s (66162-71061)',55.811325,-4.190869,'School'),new Array('Fernhill (66423-71322)',55.805162,-4.200815,'School'),new Array('St Mark`s, Rutherglen (66133-71032)',55.814121,-4.209366,'School'),new Array('Trinity High (66419-71318)',55.82169,-4.186199,'School'),new Array('St Bride`s, Cambuslang (66319-71218)',55.817702,-4.166262,'School'),new Array('St Columbkilles` (66332-71231)',55.825961,-4.213198,'School'),new Array('St Bartholomew`s (66270-71169)',55.811146,-4.226833,'School'),new Array('St Cadoc`s (66135-71034)',55.811202,-4.152015,'School'),new Array('St Margaret Mary`s Second (66387-71286)',55.802924,-4.237613,'School'),new Array('John Paul II (66251-71150)',55.799443,-4.23628,'School'),new Array('St Charles (66190-71089)',55.810632,-4.14021,'School'),new Array('St Brigid`s (66229-71128)',55.828259,-4.234198,'School'),new Array('St Joachim`s (66102-71001)',55.833926,-4.152808,'School'),new Array('Cardinal Winning Secondary (66392-71291)',55.840169,-4.168358,'School'),new Array('St Mirin`s (66286-71185)',55.816379,-4.247915,'School'),new Array('St Fillan`s (66362-71261)',55.81689,-4.253882,'School'),new Array('St Paul`s, Shettleston (66336-71235)',55.845491,-4.171306,'School'),new Array('St Michael`s (66219-71118)',55.851292,-4.19839,'School'),new Array('Holyrood Secondary (66383-71282)',55.832423,-4.251284,'School'),new Array('Sacred Heart (66264-71163)',55.846288,-4.224801,'School'),new Array('St Oswald`s (66394-71293)',55.813405,-4.26455,'School'),new Array('St Kenneth`s (66358-71257)',55.768174,-4.183903,'School'),new Array('Holy Cross (66359-71258)',55.8363,-4.255022,'School'),new Array('St Anne`s (66218-71117)',55.853002,-4.216813,'School'),new Array('St Francis` (66310-71209)',55.845885,-4.243516,'School'),new Array('St Mungo`s Academy (66388-71287)',55.854002,-4.220656,'School'),new Array('St Timothy`s (66348-71247)',55.858403,-4.173529,'School'),new Array('Our Lady of the Annunciat (66184-71083)',55.815609,-4.274655,'School'),new Array('St Leonard`s (66262-71161)',55.771475,-4.143464,'School'),new Array('St Francis of Assisi (66227-71126)',55.844822,-4.127852,'School'),new Array('St Denis` (66277-71176)',55.859329,-4.212795,'School'),new Array('St Andrew`s Secondary (66386-71285)',55.859726,-4.169831,'School'),new Array('St Bride`s (66313-71212)',55.836311,-4.266202,'School'),new Array('St Andrew`s and St Bride` (66420-71319)',55.762046,-4.166569,'School'),new Array('St Blane`s (66273-71172)',55.79565,-4.102404,'School'),new Array('Our Lady of Lourdes (66304-71203)',55.756595,-4.190651,'School'),new Array('Our Lady of Peace (66232-71131)',55.858438,-4.134525,'School'),new Array('St Hilary`s (66213-71112)',55.758704,-4.15325,'School'),new Array('Archdiocese of Glasgow Office (66429-71333)',55.855615,-4.253504,'Other'),new Array('St Thomas` (66314-71213)',55.867145,-4.19187,'School'),new Array('St Joseph`s (66341-71240)',55.779839,-4.275089,'School'),new Array('St Joseph`s (66300-71199)',55.79626,-4.091444,'School'),new Array('St Louise`s (66121-71020)',55.751732,-4.181151,'School'),new Array('St Conval`s (66247-71146)',55.826131,-4.292194,'School'),new Array('St Mungo`s (66242-71141)',55.86519,-4.238556,'School'),new Array('St Bridget`s (66345-71244)',55.852596,-4.1127,'School'),new Array('St Roch`s (66297-71196)',55.87121,-4.221303,'School'),new Array('St Albert`s (66260-71159)',55.845672,-4.282402,'School'),new Array('St Roch`s Secondary (66389-71288)',55.868506,-4.231154,'School'),new Array('St Ninian`s High (66373-71272)',55.797701,-4.30193,'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 }); var markerName; for (var rows=0; rows < 8; rows++) { markerName=records[rows][3]; if(markerName=="ParishChurch") markerName="Parish-Church" var marker = new google.maps.Marker({ animation: google.maps.Animation.DROP, position: new google.maps.LatLng(records[rows][1],records[rows][2]), map: map, icon: "https://www.catholicdirectory.org/Pictures/map/" + markerName + "-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'; } //