strList="

Diocese of Dunkeld (0 miles)
Zoom on map | View full information

St Mary`s (0.5 miles)
Zoom on map | View full information

St John`s High (0.5 miles)
Zoom on map | View full information

St Joseph`s RC Primary School (0.7 miles)
Zoom on map | View full information

St Peter & Paul (0.7 miles)
Zoom on map | View full information

Our Lady`s (1.1 miles)
Zoom on map | View full information

St Clement`s (1.5 miles)
Zoom on map | View full information

"; function showResults() { document.getElementById("mapList").style.display="block"; } var records = new Array(new Array('Diocese of Dunkeld (66433||71331)',56.467859,-2.996069,'Other'),new Array('St Mary`s (66239||71138)',56.471047,-3.008586,'School'),new Array('St John`s High (66369||71268)',56.47528,-2.996198,'School'),new Array('St Joseph`s RC Primary School (66283||71182)',56.459008,-2.987253,'School'),new Array('St Peter & Paul (66312||71211)',56.47344,-2.981215,'School'),new Array('Our Lady`s (66104||71003)',56.467544,-2.967867,'School'),new Array('St Clement`s (66193||71092)',56.475283,-3.034202,'School'),new Array('St Paul`s RC Academy (66368||71267)',56.487273,-2.975953,'School'),new Array('St Ninian`s (66148||71047)',56.467526,-3.034673,'School'),new Array('St Fergus` (66146||71045)',56.488046,-3.014023,'School'),new Array('St Andrew`s RC Primary (66333||71232)',56.492797,-2.999808,'School'),new Array('St Vincent`s (66204||71103)',56.482167,-2.93786,'School'),new Array('St Luke`s & St Matthew`s (66275||71174)',56.490718,-2.930942,'School'),new Array('St Pius` (66111||71010)',56.47641,-2.912246,'School'),new Array('St Columba`s (66244||71143)',56.318742,-3.019182,'School'),new Array('Greyfriars (66198||71097)',56.332292,-2.791598,'School'),new Array('St Stephen`s (66083||70982)',56.580432,-3.343032,'School'),new Array('St John`s RC Academy (66299||71198)',56.410129,-3.437883,'School'),new Array('St Thomas` (66114||71013)',56.56413,-2.573007,'School'),new Array('Kilgraston (66413||71312)',56.341775,-3.416317,'School'),new Array('St Agatha`s (66224||71123)',56.20166,-3.009465,'School'),new Array('Our Lady`s (66235||71134)',56.404935,-3.470892,'School'),new Array('St Paul`s (66176||71075)',56.190887,-3.183617,'School'),new Array('St Andrew`s High (66379||71278)',56.132413,-3.148321,'School'),new Array('St Marie`s (66331||71230)',56.130392,-3.149162,'School'),new Array('St Ninian`s (66123||71022)',56.148896,-3.256773,'School'),new Array('St Kenneth`s (66203||71102)',56.164141,-3.334213,'School'),new Array('St Patrick`s (66160||71059)',56.132012,-3.312199,'School'),new Array('St Margaret`s (66063||70962)',56.716546,-2.469033,'School'),new Array('St Joseph`s (66144||71043)',56.131615,-3.383898,'School'),new Array('St Bride`s (66199||71098)',56.106196,-3.353834,'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'; } //