strList="

Archdiocese of Glasgow Office (0 miles)
Zoom on map | View full information

St Francis` (0.8 miles)
Zoom on map | View full information

St Patrick`s (0.8 miles)
Zoom on map | View full information

St Aloysius College (0.9 miles)
Zoom on map | View full information

St Mungo`s (0.9 miles)
Zoom on map | View full information

St Roch`s Secondary (1.2 miles)
Zoom on map | View full information

Holy Cross (1.3 miles)
Zoom on map | View full information

"; function showResults() { document.getElementById("mapList").style.display="block"; } var records = new Array(new Array('Archdiocese of Glasgow Office (66429||71333)',55.855615,-4.253504,'Other'),new Array('St Francis` (66310||71209)',55.845885,-4.243516,'School'),new Array('St Patrick`s (66141||71040)',55.861451,-4.271453,'School'),new Array('St Aloysius College (66396||71295)',55.866847,-4.263937,'School'),new Array('St Mungo`s (66242||71141)',55.86519,-4.238556,'School'),new Array('St Roch`s Secondary (66389||71288)',55.868506,-4.231154,'School'),new Array('Holy Cross (66359||71258)',55.8363,-4.255022,'School'),new Array('Sacred Heart (66264||71163)',55.846288,-4.224801,'School'),new Array('St Albert`s (66260||71159)',55.845672,-4.282402,'School'),new Array('St Stephen`s (66254||71153)',55.87174,-4.236663,'School'),new Array('St Joseph`s (66174||71073)',55.873116,-4.262687,'School'),new Array('St Mungo`s Academy (66388||71287)',55.854002,-4.220656,'School'),new Array('St Kevin`s (66393||71292)',55.873941,-4.235735,'School'),new Array('St Bride`s (66313||71212)',55.836311,-4.266202,'School'),new Array('St Anne`s (66218||71117)',55.853002,-4.216813,'School'),new Array('St Denis` (66277||71176)',55.859329,-4.212795,'School'),new Array('Holyrood Secondary (66383||71282)',55.832423,-4.251284,'School'),new Array('St Roch`s (66297||71196)',55.87121,-4.221303,'School'),new Array('St Teresa`s (66167||71066)',55.881402,-4.251417,'School'),new Array('St Charles` (66256||71155)',55.879617,-4.279597,'School'),new Array('St Brigid`s (66229||71128)',55.828259,-4.234198,'School'),new Array('St Saviour`s (66127||71026)',55.859113,-4.304859,'School'),new Array('St Michael`s (66219||71118)',55.851292,-4.19839,'School'),new Array('Notre Dame (66324||71223)',55.87688,-4.298654,'School'),new Array('Notre Dame High School fo (66385||71284)',55.878318,-4.299122,'School'),new Array('St Conval`s (66247||71146)',55.826131,-4.292194,'School'),new Array('St Thomas` (66314||71213)',55.867145,-4.19187,'School'),new Array('St Martha`s (66296||71195)',55.886948,-4.216765,'School'),new Array('St Columbkilles` (66332||71231)',55.825961,-4.213198,'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 Philomena`s (66171||71070)',55.879265,-4.191594,'School'),new Array('Our Lady of the Annunciat (66184||71083)',55.815609,-4.274655,'School'),new Array('St Cuthbert`s Primary School (66080||70979)',55.8918968,-4.289824100000033,'School'),new Array('St Constantine`s (66253||71152)',55.85937,-4.327454,'School'),new Array('St Monica`s (Milton) (66339||71238)',55.897225,-4.245264,'School'),new Array('All Saints Secondary (66381||71280)',55.885281,-4.200968,'School'),new Array('St Catherine`s (66326||71225)',55.887921,-4.207114,'School'),new Array('St Oswald`s (66394||71293)',55.813405,-4.26455,'School'),new Array('St Timothy`s (66348||71247)',55.858403,-4.173529,'School'),new Array('St Bartholomew`s (66270||71169)',55.811146,-4.226833,'School'),new Array('St Paul`s, Shettleston (66336||71235)',55.845491,-4.171306,'School'),new Array('St Andrew`s Secondary (66386||71285)',55.859726,-4.169831,'School'),new Array('St Mary`s (66137||71036)',55.896855,-4.297916,'School'),new Array('Our Lady of the Rosary (66355||71254)',55.843782,-4.336155,'School'),new Array('St Mark`s, Rutherglen (66133||71032)',55.814121,-4.209366,'School'),new Array('Lourdes (66349||71248)',55.849675,-4.341541,'School'),new Array('Lourdes Secondary (66384||71283)',55.844285,-4.341872,'School'),new Array('Cardinal Winning Secondary (66392||71291)',55.840169,-4.168358,'School'),new Array('Trinity High (66419||71318)',55.82169,-4.186199,'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'; } //