strList="

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

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

St Joseph Church (5.2 miles)
Zoom on map | View full information

St Joseph Church (5.2 miles)
Zoom on map | View full information

Hawkstone Hall Church (7.7 miles)
Zoom on map | View full information

St Anne`s Primary School (9.2 miles)
Zoom on map | View full information

St Anne Church (9.4 miles)
Zoom on map | View full information

"; function showResults() { document.getElementById("mapList").style.display="block"; } var records = new Array(new Array('St George Church (59696||32802)',52.970925,-2.682955,'ParishChurch'),new Array('St George Church (63336||32802)',52.970925,-2.682955,'ParishChurch'),new Array('St Joseph Church (63363||32803)',53.024391,-2.770079,'ParishChurch'),new Array('St Joseph Church (59723||32803)',53.024391,-2.770079,'ParishChurch'),new Array('Hawkstone Hall Church (59584||64964)',52.865213,-2.623272,'Other'),new Array('St Anne`s Primary School (38153||36257)',53.059893,-2.519124,'School'),new Array('St Anne Church (63305||32754)',53.063819,-2.519559,'ParishChurch'),new Array('St Anne Church (59665||32754)',53.063819,-2.519559,'ParishChurch'),new Array('SS Thomas & Stephen Church (63287||32813)',52.903833,-2.479849,'ParishChurch'),new Array('SS Thomas & Stephen Church (59647||32813)',52.903833,-2.479849,'ParishChurch'),new Array('St Michael Church (59748||32801)',52.90603,-2.900114,'ParishChurch'),new Array('St Michael Church (63388||32801)',52.90603,-2.900114,'ParishChurch'),new Array('Our Lady And The Welsh Martyrs, Overton Church (60114||65113)',52.971404,-2.937092,'ParishChurch'),new Array('S t Plegmund`s Church (63414||66786)',53.125322,-2.766129,'Other'),new Array('St Plegmund`s Church (59774||64974)',53.125322,-2.766129,'Other'),new Array('St Mary`s Primary School (38187||36291)',53.086882,-2.459234,'School'),new Array('St Thomas More School (38234||36338)',53.08721,-2.457983,'School'),new Array('St Thomas Becket Church (59782||32755)',53.15296,-2.666641,'ParishChurch'),new Array('St Anne, Wrexham Church (60046||65085)',53.045337,-2.971392,'ParishChurch'),new Array('St Anne`s School (38464||36568)',53.045337,-2.971392,'School'),new Array('St Mary Church (59736||32750)',53.098168,-2.446301,'ParishChurch'),new Array('St Mary Church (63376||32750)',53.098168,-2.446301,'ParishChurch'),new Array('St Josephs Catholic & Anglican High School (38466||36570)',53.035222,-2.994474,'School'),new Array('Our Blessed Lady and St John the Baptist Church (36023||34457)',52.92494,-2.360594,'ParishChurch'),new Array('Our Blessed Lady and St John the Baptist Church (36023||34343)',52.92494,-2.360594,'ParishChurch'),new Array('Bishop`s House (4796||876)',53.038458,-2.995607,'Other'),new Array('Curial Office (344||876)',53.038458,-2.995607,'Other'),new Array('St Mary`s School (38465||36569)',53.043809,-2.996342,'School'),new Array(' The Cathedral Church Of Our Lady Of Sorrows (60043||65084)',53.047312,-2.99887,'ParishChurch'),new Array('Christ the King Church (60170||65146)',53.109789,-2.942519,'Church'),new Array('Y Groes Church (60101||65107)',52.989632,-3.038044,'ParishChurch'),new Array('St Mary the Virgin Church (60134||65121)',52.989632,-3.038044,'ParishChurch'),new Array('St Francis Of Assisi, Llay Church (60107||65110)',53.099673,-2.998081,'ParishChurch'),new Array('The Sacred Heart, Chirk Church (60075||65095)',52.93071,-3.059842,'ParishChurch'),new Array('St Joseph`s School (38176||36280)',53.189444,-2.541296,'School'),new Array('St Joseph Church (59720||32756)',53.189444,-2.541296,'ParishChurch'),new Array('Our Lady of Pity Church (63262||32799)',52.729223,-2.722278,'ParishChurch'),new Array('Chester Catholic High School (38221||36325)',53.179069,-2.892445,'School'),new Array('Our Lady of Pity Church (59622||32799)',52.729223,-2.722278,'ParishChurch'),new Array('St Clare`s School (38228||36332)',53.173414,-2.913961,'School'),new Array('St Clare Church (59681||32721)',53.174936,-2.91359,'ParishChurch'),new Array('St Werburgh Church (59791||32717)',53.191072,-2.882412,'ParishChurch'),new Array('S t Francis Church (63332||66782)',53.188148,-2.892514,'Other'),new Array('St Francis Church (59692||64970)',53.188148,-2.892514,'Other'),new Array('St Anthony`s School (38458||36562)',53.179016,-2.92412,'School'),new Array('St Anthony Of Padua, Saltney Church (60142||65124)',53.179016,-2.92412,'ParishChurch'),new Array('St Werburgh`s & St Columba`s School (38209||36313)',53.195802,-2.873692,'School'),new Array('St Anthony`s Catholic Primary School (39089||37195)',53.178177,-2.92687,'School'),new Array('St Mary`s Primary School (38190||36294)',52.718675,-2.737411,'School'),new Array('Our Lady Help of Christians & St Oswald Church (59612||32800)',52.856279,-3.061473,'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'; } //