strList="
St Edward`s College School (0 miles)
Zoom on map | View full information
St Edward`s Junior - Runnymede School (0 miles)
Zoom on map | View full information
Runnymede St Edward`s School (0 miles)
Zoom on map | View full information
St Paul`s & St Timothy`s Catholic Infant School (0.5 miles)
Zoom on map | View full information
St Paul`s Junior School (0.5 miles)
Zoom on map | View full information
Mother of Christ Convent (0.7 miles)
Zoom on map | View full information
St Cecilia (0.7 miles)
Zoom on map | View full information
";
function showResults()
{
document.getElementById("mapList").style.display="block";
}
var records = new Array(new Array('St Edward`s College School (37618-35722)',53.424811,-2.910286,'School'),new Array('St Edward`s Junior - Runnymede School (37310-35414)',53.424811,-2.910286,'School'),new Array('Runnymede St Edward`s School (39101-37207)',53.424533,-2.911394,'School'),new Array('St Paul`s and St Timothy`s Catholic Infant School (37695-35799)',53.430023,-2.903429,'School'),new Array('St Paul`s Junior School (37682-35786)',53.429354,-2.901488,'School'),new Array('Mother of Christ Convent (72471-77323)',53.4238725,-2.9280531,'Other'),new Array('St Cecilia (52739-57658)',53.417038,-2.922515,'ParishChurch'),new Array('St Cecilia`s Catholic Junior School (37438-35542)',53.422814,-2.928001,'School'),new Array('St Matthew (52743-57660)',53.417038,-2.922515,'ParishChurch'),new Array('Cardinal Heenan RC High School (37612-35716)',53.423481,-2.889927,'School'),new Array('St Cuthbert`s RC Primary School (37442-35546)',53.414469,-2.925005,'School'),new Array('St Cuthbert`s Catholic Primary and Nursery School (38881-36987)',53.414469,-2.925005,'School'),new Array('Convent of Mercy (72457-77309)',53.41084009999999,-2.9162156,'Other'),new Array('St Oswald (52745-57661)',53.410824,-2.916216,'ParishChurch'),new Array('St Oswald`s Catholic Junior School (37679-35783)',53.411186,-2.913486,'School'),new Array('Broughton Hall High Technology College School (37652-35756)',53.424132,-2.887097,'School'),new Array('St Vincent`s Sch For Blind and Partially Sighted Chd School (37655-35759)',53.426728,-2.883659,'School'),new Array('St Matthew`s Presbytery (73268-57660)',53.4359814,-2.9339024,'Other'),new Array('St Paul (52747-57662)',53.436795,-2.888101,'ParishChurch'),new Array('St Timothy (52751-57664)',53.436795,-2.888101,'ParishChurch'),new Array('Swanside Road Community (72468-77320)',53.4144683,-2.881975,'Other'),new Array('St. Matthew`s Catholic Primary School (37675-35779)',53.437567,-2.935698,'School'),new Array('St Margaret Mary`s Catholic Infant School (37420-35524)',53.414467,-2.878801,'School'),new Array('St. Teresa of Lisieux (37452-35556)',53.446143,-2.920639,'School'),new Array('St Margaret Mary (52741-57659)',53.414467,-2.878801,'ParishChurch'),new Array('Taylorville (72448-77300)',53.4096802,-2.9371316,'Other'),new Array('St Sebastian`s Catholic Primary School (37684-35788)',53.410499,-2.937255,'School'),new Array('The Academy Of St Francis Of Assisi School (38884-36990)',53.417719,-2.944953,'School'),new Array('St Teresa of the Child Jesus (52761-57669)',53.446938,-2.91574,'ParishChurch'),new Array('St Margaret Mary`s Catholic Junior School (37674-35778)',53.414467,-2.878801,'School'),new Array('Rosemont Convent (72447-77299)',53.41152839999999,-2.9375784,'Other'),new Array('Christ the King and Our Lady (52713-57645)',53.401084,-2.899101,'ParishChurch'),new Array('Christ The King RC Primary School (37423-35527)',53.400404,-2.901117,'School'),new Array('Our Lady Of Good Help RC Primary School (37692-35796)',53.399698,-2.919451,'School'),new Array('St Brigid`s Catholic Primary School (37415-35519)',53.433886,-2.868485,'School'),new Array('St John Bosco Arts College (37613-35717)',53.451426,-2.911623,'School'),new Array('St Albert`s Catholic Primary School (37408-35512)',53.439049,-2.872925,'School'),new Array('St Dominic`s Parish House (52736-57657)',53.427826,-2.866239,'Other'),new Array('All Saints Catholic Primary School (38880-36986)',53.426098,-2.953882,'School'),new Array('St Michael`s Catholic Primary School (37677-35781)',53.417659,-2.951391,'School'),new Array('St Dominic (52737-57657)',53.427826,-2.866239,'ParishChurch'),new Array('St Philomena`s Parish House (52756-57667)',53.451611,-2.903752,'Other'),new Array('All Saints (52671-57624)',53.427382,-2.956259,'ParishChurch'),new Array('All Saints Catholic Infant and Nursery School (37422-35526)',53.427382,-2.956259,'School'),new Array('Tithebarn Grove (72464-77316)',53.3972316,-2.9114115,'Other'),new Array('Our Lady Queen of Martyrs and St Swithin (52759-57668)',53.451611,-2.903752,'ParishChurch'),new Array('St Michael (52685-57631)',53.4172739,-2.9544213,'ParishChurch'),new Array('St Albert (52731-57654)',53.4401103,-2.867979200000036,'ParishChurch'),new Array('St Sebastian (52749-57663)',53.405607,-2.947843,'ParishChurch'),new Array('Mansion Drive Community (72450-77302)',53.4538315,-2.9070356,'Other'));
// 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';
}
//