strList="
St Peter Church (0 miles)
Zoom on map | View full information
Our Lady Of Good Counsel Catholic Primary School (4.3 miles)
Zoom on map | View full information
Our Lady of Good Counsel Church (4.7 miles)
Zoom on map | View full information
Our Lady of Victories Church (9.6 miles)
Zoom on map | View full information
St Mary`s Catholic Primary School (9.7 miles)
Zoom on map | View full information
St Mary the Immaculate Church (10 miles)
Zoom on map | View full information
Ss Peter and Paul Church (12.5 miles)
Zoom on map | View full information
";
function showResults()
{
document.getElementById("mapList").style.display="block";
}
var records = new Array(new Array('St Peter Church (55974-62142)',53.033918,-0.506423,'ParishChurch'),new Array('Our Lady Of Good Counsel Catholic Primary School (37856-35960)',53.001621,-0.419152,'School'),new Array('Our Lady of Good Counsel Church (56068-62286)',52.997411,-0.410842,'ParishChurch'),new Array('Our Lady of Victories Church (56077-62300)',53.172598,-0.530547,'ParishChurch'),new Array('St Mary`s Catholic Primary School (37853-35957)',52.91513,-0.630103,'School'),new Array('St Mary the Immaculate Church (55996-62174)',52.917426,-0.646852,'ParishChurch'),new Array('Ss Peter and Paul Church (56028-62222)',53.210811,-0.564251,'ParishChurch'),new Array('Saint Peter And Saint Paul Catholic High School (37860-35964)',53.211308,-0.563725,'School'),new Array('St Hugh`s Catholic Primary School (37854-35958)',53.213254,-0.611073,'School'),new Array('Holy Trinity Catholic Primary School (37885-35989)',53.070706,-0.81758,'School'),new Array('Holy Trinity Church (56054-62264)',53.070706,-0.81758,'ParishChurch'),new Array('St Hugh of Lincoln Church (56029-62224)',53.230648,-0.532965,'ParishChurch'),new Array('Holy Spirit Church (55970-62137)',53.098303,-0.177841,'ParishChurch'),new Array('Our Lady and St Peter Church (56080-62304)',53.149802,-0.21547,'ParishChurch'),new Array('Our Lady Of Lincoln Catholic Primary School (37855-35959)',53.248045,-0.52657,'School'),new Array('Our Lady of Lincoln Church (56027-62221)',53.248045,-0.52657,'ParishChurch'),new Array('St Francis of Assisi Church (55950-62111)',53.271298,-0.388908,'ParishChurch'),new Array('St Gilbert Church (55959-62124)',52.771431,-0.379564,'ParishChurch'),new Array('Our Lady of Victories Church (56069-62287)',53.079343,-0.961971,'ParishChurch'),new Array('Our Lady of Mount Carmel Church (55971-62138)',52.754483,-0.537944,'ParishChurch'),new Array('St Mary`s Church (56006-62188)',53.208061,-0.116389,'ParishChurch'),new Array('St Mary`s Church (55958-62121)',52.984388,-0.018903,'ParishChurch'),new Array('St Norbert`s Catholic Primary School (37857-35961)',52.809714,-0.172357,'School'),new Array('St Mary`s Catholic Primary School (37852-35956)',52.98296,-0.010939,'School'),new Array('St Hugh of Lincoln Church (55973-62141)',52.72611,-0.650205,'ParishChurch'),new Array('St Norbert`s Catholic Primary School (38915-37021)',52.788215,-0.16118,'School'),new Array('Immaculate Conception and St Norbert Church (56070-62288)',52.785466,-0.156669,'ParishChurch'),new Array('St Anne Church (56058-62271)',52.947842,-1.037646,'ParishChurch'),new Array('St Joseph`s Catholic Primary School (37886-35990)',53.205661,-0.996517,'School'),new Array('Our Lady of Grace Church (55972-62139)',52.910215,-1.03915,'ParishChurch'),new Array('St Anthony Church (55964-62130)',53.040552,-1.082163,'ParishChurch'),new Array('St Joseph Church (56053-62263)',53.203509,-1.006823,'ParishChurch'),new Array('St Thomas of Canterbury Church (55991-62167)',52.6961526,-0.6452592,'ParishChurch'),new Array('St John the Baptist Church (56048-62256)',52.76453,-0.881497,'ParishChurch'),new Array('St Peters Church (56049-62256)',52.772772,-0.896643,'ParishChurch'),new Array('St Francis de Sales Church (56002-62182)',53.344278,-0.227789,'ParishChurch'),new Array('St Francis`s Catholic Primary School (37844-35948)',52.759699,-0.889741,'School'),new Array('Sacred Heart Catholic Primary School (37880-35984)',52.964943,-1.09514,'School'),new Array('Most Sacred Heart of Jesus Church (56099-62332)',52.966246,-1.096363,'ParishChurch'),new Array('St Francis Convent Chapel Church (56047-62255)',52.753421,-0.889412,'ParishChurch'),new Array('St Francis Convent (65797-62255)',52.753421,-0.889412,'Other'),new Array('Christ The King Catholic Secondary School (37888-35992)',53.00063,-1.112901,'School'),new Array('Holy Rood Church (56042-62248)',53.388126,-0.339411,'ParishChurch'),new Array('St Augustine`s Catholic Primary School (37858-35962)',52.66244,-0.476636,'School'),new Array('The Good Shepherd Catholic Primary School (37879-35983)',52.992062,-1.12133,'School'),new Array('St George Church (56059-62273)',53.114314,-1.119573,'ParishChurch'),new Array('St Margaret Clitherow Church (56010-62193)',52.871328,-1.073362,'ParishChurch'),new Array('St Mary and St Augustine Church (56072-62291)',52.653656,-0.478021,'ParishChurch'),new Array('Good Shepherd Church (56097-62328)',52.992619,-1.134757,'ParishChurch'),new Array('St. Edwards Primary and Nursery Catholic Voluntary Academy (37874-35978)',52.962584,-1.128449,'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';
}
//