strList="
English Martyrs` RC Primary School School (0 miles)
Zoom on map | View full information
English Martyrs Church (0.2 miles)
Zoom on map | View full information
Sacred Heart Rcva Primary School School (0.5 miles)
Zoom on map | View full information
Sacred Heart Rcva High School School (0.6 miles)
Zoom on map | View full information
St. Robert Church (0.7 miles)
Zoom on map | View full information
St Cuthbert`s High School School (0.8 miles)
Zoom on map | View full information
Diocese of Hexham and Newcastle (1 miles)
Zoom on map | View full information
";
function showResults()
{
document.getElementById("mapList").style.display="block";
}
var records = new Array(new Array('English Martyrs` RC Primary School School (37018-35119)',54.98845,-1.666833,'School'),new Array('English Martyrs Church (47138-54294)',54.989491,-1.662995,'ParishChurch'),new Array('Sacred Heart Rcva Primary School School (37021-35122)',54.983264,-1.659781,'School'),new Array('Sacred Heart Rcva High School School (37020-35121)',54.982709,-1.657208,'School'),new Array('St. Robert Church (47150-54300)',54.980672,-1.655288,'ParishChurch'),new Array('St Cuthbert`s High School School (37027-35128)',54.978806,-1.676068,'School'),new Array('Diocese of Hexham and Newcastle (4799-879)',54.985297,-1.691033,'Other'),new Array('St Bede`s Rcva Primary School (37023-35124)',54.978715,-1.68938,'School'),new Array('St Bede Church (47132-31721)',54.979036,-1.688222,'ParishChurch'),new Array('St Cuthbert`s Catholic Primary School School (37026-35127)',55.005613,-1.656575,'School'),new Array('St. Cuthbert Church (47134-54292)',55.005613,-1.656575,'ParishChurch'),new Array('St Joseph`s Rcva Primary School School (37031-35132)',54.969814,-1.66719,'School'),new Array('St. Mark Church (47292-54374)',55.002157,-1.691701,'ParishChurch'),new Array('St Mark`s Rcva Primary School School (37033-35134)',55.002157,-1.691701,'School'),new Array('St John Vianney RC Primary School School (37030-35131)',54.992567,-1.709107,'School'),new Array('St. John Vianney Church (47290-54373)',54.993704,-1.711412,'ParishChurch'),new Array('St. George Church (46941-54190)',54.974271,-1.705584,'ParishChurch'),new Array('St George`s Rcva Primary School School (37029-35130)',54.974271,-1.705584,'School'),new Array('St Michael Church (47148-54299)',54.965415,-1.640096,'ParishChurch'),new Array('St Michael`s RC Primary School (38856-36962)',54.965415,-1.640096,'School'),new Array('Our Lady Of Czestochowa Church (47158-54304)',54.967103,-1.630865,'ParishChurch'),new Array('Our Lady And St Anne`s Rcva Primary School School (37019-35120)',54.969639,-1.625594,'School'),new Array('St Charles` Rcva Primary School School (37025-35126)',55.011622,-1.634007,'School'),new Array('The Metrocentre Chapel Church (47114-54282)',54.957641,-1.668555,'ParishChurch'),new Array('La Sagesse School (38857-36963)',54.986345,-1.610706,'School'),new Array('St Charles` Church (47062-54253)',55.007199,-1.618959,'ParishChurch'),new Array('Cathedral Church Of St. Mary Church (47126-54288)',54.968946,-1.619368,'Cathedral'),new Array('University Catholic Chaplaincy Church (47156-54303)',54.982147,-1.610946,'ParishChurch'),new Array('St. Joseph Church (46965-54202)',54.964269,-1.712779,'ParishChurch'),new Array('The Holy Name Church (47142-54296)',54.996847,-1.604942,'ParishChurch'),new Array('St. Andrew Church (47128-54289)',54.973138,-1.609533,'ParishChurch'),new Array('St Philip Neri RC Primary School (38854-36960)',54.951495,-1.637129,'School'),new Array('St Cuthbert`s Rcva Primary School School (37028-35129)',54.993429,-1.736531,'School'),new Array('St Joseph`s RC Primary School School (37010-35111)',54.961481,-1.71978,'School'),new Array('St Oswald`s Catholic Primary School School (37036-35137)',55.016476,-1.617198,'School'),new Array('St. Philip Neri Church (47016-54228)',54.951495,-1.637129,'ParishChurch'),new Array('The Holy Rosary Parish Centre Church (47048-54245)',54.955034,-1.624824,'ParishChurch'),new Array('St Thomas More Catholic Comprehensive School School (37016-35117)',54.961208,-1.722218,'School'),new Array('St Dominic`s Priory Church Church (47136-31709)',54.973746,-1.597311,'ParishChurch'),new Array('St Catherine`s Rcva Primary School School (37024-35125)',54.983846,-1.5946,'School'),new Array('St Dominic`s Priory Church Church (47136-54293)',54.973746,-1.597311,'ParishChurch'),new Array('St Mary`s RC Primary School School (37014-35115)',54.945357,-1.668484,'School'),new Array('St. Mary Church (47296-54376)',54.945695,-1.670386,'ParishChurch'),new Array('St Mary And St Thomas Aquinas Rcva Primary School School (37013-35114)',54.969591,-1.733579,'School'),new Array('Ss. Mary And Thomas Aquinas Church (47232-54344)',54.971165,-1.738317,'ParishChurch'),new Array('St Mary`s Catholic Comprehensive School School (37034-35135)',55.007199,-1.593849,'School'),new Array('St. Joseph Church (47044-54242)',54.961032,-1.603279,'ParishChurch'),new Array('St. Anne Church (47308-54382)',54.954376,-1.724763,'ParishChurch'),new Array('St Joseph`s Rcva Primary School School (37011-35112)',54.95661,-1.603088,'School'),new Array('St Teresa`s Catholic Primary School School (37037-35138)',54.982049,-1.581337,'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';
}
//