strList="
St Joseph`s RC Primary School School (0 miles)
Zoom on map | View full information
St. Joseph Church (0.2 miles)
Zoom on map | View full information
Our Lady Star Of The Sea Church (1.7 miles)
Zoom on map | View full information
St Bede`s RC Comprehensive School School (2.3 miles)
Zoom on map | View full information
Our Lady Of The Rosary RC Primary School School (2.3 miles)
Zoom on map | View full information
Our Lady Star Of The Sea RC Primary School School (2.3 miles)
Zoom on map | View full information
Ss. Peter And Paul Church (2.5 miles)
Zoom on map | View full information
";
function showResults()
{
document.getElementById("mapList").style.display="block";
}
var records = new Array(new Array('St Joseph`s RC Primary School School (37117-35218)',54.746373,-1.288487,'School'),new Array('St. Joseph Church (46961-54200)',54.745204,-1.285277,'ParishChurch'),new Array('Our Lady Star Of The Sea Church (47092-54271)',54.763505,-1.318819,'ParishChurch'),new Array('St Bede`s RC Comprehensive School School (37105-35206)',54.756931,-1.344102,'School'),new Array('Our Lady Of The Rosary RC Primary School School (37102-35203)',54.756931,-1.344102,'School'),new Array('Our Lady Star Of The Sea RC Primary School School (37104-35205)',54.773463,-1.323719,'School'),new Array('Ss. Peter And Paul Church (47096-54273)',54.721449,-1.333776,'ParishChurch'),new Array('St. John Vianney Church (47070-54259)',54.710567,-1.229327,'ParishChurch'),new Array('St John Vianney Primary School School (37083-35184)',54.709965,-1.23075,'School'),new Array('St Mary`s RC Primary School School (37130-35231)',54.727368,-1.378926,'School'),new Array('St. Thomas More Church (47078-54263)',54.699738,-1.225063,'ParishChurch'),new Array('Sacred Heart RC Primary School School (37080-35181)',54.690766,-1.231579,'School'),new Array('Our Lady Of Lourdes Church (47204-54328)',54.76625,-1.401334,'ParishChurch'),new Array('Our Lady Of Lourdes RC Primary School School (37101-35202)',54.76625,-1.401334,'School'),new Array('St Bega`s RC Primary School School (37081-35182)',54.702297,-1.194428,'School'),new Array('St. Joseph Church (47066-54257)',54.684383,-1.219973,'ParishChurch'),new Array('St Godric`s RC Primary School School (37115-35216)',54.74542,-1.41834,'School'),new Array('The Immaculate Conception(st Mary) Church (47072-54260)',54.699789,-1.184904,'ParishChurch'),new Array('English Martyrs` School And Sixth Form College School (37079-35180)',54.675537,-1.236457,'School'),new Array('St Joseph`s Primary School School (37084-35185)',54.682857,-1.206461,'School'),new Array('St Cuthbert`s RC Primary School School (37082-35183)',54.673035,-1.217632,'School'),new Array('St. Cuthbert Church (47068-54258)',54.67203,-1.216488,'ParishChurch'),new Array('The Sacred Heart And English Martyrs Church (47262-54359)',54.749004,-1.442773,'ParishChurch'),new Array('St. Joseph Church (47122-54286)',54.815376,-1.389886,'ParishChurch'),new Array('St Joseph`s RC Primary School School (37120-35221)',54.815376,-1.389886,'School'),new Array('St. Patrick Church (47074-54261)',54.657067,-1.244863,'ParishChurch'),new Array('St Teresa`s RC Primary School School (37085-35186)',54.659574,-1.23054,'School'),new Array('St. William Church (47270-54363)',54.701714,-1.430836,'ParishChurch'),new Array('St William`s RC Primary School School (37138-35239)',54.694824,-1.42558,'School'),new Array('St. Teresa Church (47076-54262)',54.658809,-1.223253,'ParishChurch'),new Array('St. Mary Magdalen Church (47194-54323)',54.838896,-1.343708,'ParishChurch'),new Array('St Mary Magdalen RC Primary School School (37125-35226)',54.840255,-1.342472,'School'),new Array('St. Mary Church (47028-54234)',54.805819,-1.429577,'ParishChurch'),new Array('St Cuthbert`s RC Primary School School (37113-35214)',54.842257,-1.367478,'School'),new Array('St. Cuthbert Church (47164-54307)',54.842257,-1.367478,'ParishChurch'),new Array('St Joseph`s RC Primary School (38861-36967)',54.715673,-1.503039,'School'),new Array('Ss. Joseph Church (46989-54214)',54.716737,-1.503834,'ParishChurch'),new Array('St Paul`s RC Primary School School (37096-35197)',54.617151,-1.313491,'School'),new Array('St. Patrick Church (47190-54321)',54.869226,-1.365716,'ParishChurch'),new Array('St Patrick`s RC Primary School School (37077-35178)',54.869104,-1.366528,'School'),new Array('St. Joseph`s Church (46951-54194)',54.6162704,-1.2744518,'ParishChurch'),new Array('St Joseph`s RC Primary School School (37092-35193)',54.616259,-1.274437,'School'),new Array('St. Joseph`s Church (46951-54195)',54.6162704,-1.2744518,'ParishChurch'),new Array('St. John Fisher Church (47198-54325)',54.653888,-1.452537,'ParishChurch'),new Array('St Michael`s RC Comprehensive School School (37094-35195)',54.613637,-1.270411,'School'),new Array('Our Lady Of The Most Holy Rosary RC Primary School School (37087-35188)',54.612579,-1.29813,'School'),new Array('Our Lady Of The Most Holy Rosary Church (46949-54194)',54.611145,-1.29879,'ParishChurch'),new Array('St. Michael Church (47094-54272)',54.834077,-1.472256,'ParishChurch'),new Array('St Michael`s RC Primary School School (37076-35177)',54.834077,-1.472256,'School'),new Array('St Thomas More RC Primary School School (37136-35237)',54.783966,-1.521686,'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';
}
//