strList="
St Saviour Church (0 miles)
Zoom on map | View full information
St Saviour Church (0 miles)
Zoom on map | View full information
St Saviour`s Catholic Infant School (0.3 miles)
Zoom on map | View full information
St Saviour`s Primary School (0.4 miles)
Zoom on map | View full information
Our Lady Star Of The Sea School (0.6 miles)
Zoom on map | View full information
Ellesmere Port Catholic High School (0.6 miles)
Zoom on map | View full information
Our Lady`s Catholic Infant School (0.7 miles)
Zoom on map | View full information
";
function showResults()
{
document.getElementById("mapList").style.display="block";
}
var records = new Array(new Array('St Saviour Church (59778||32749)',53.276605,-2.924995,'ParishChurch'),new Array('St Saviour Church (63418||32749)',53.276605,-2.924995,'ParishChurch'),new Array('St Saviour`s Catholic Infant School (39055||37161)',53.272991,-2.926116,'School'),new Array('St Saviour`s Primary School (38203||36307)',53.270603,-2.92692,'School'),new Array('Our Lady Star Of The Sea School (38137||36241)',53.270726,-2.915691,'School'),new Array('Ellesmere Port Catholic High School (38222||36326)',53.270726,-2.915691,'School'),new Array('Our Lady`s Catholic Infant School (39054||37160)',53.270969,-2.910973,'School'),new Array('St Mary Of The Angels School (38184||36288)',53.285649,-2.936305,'School'),new Array('Our Lady Star of the Sea Church (59628||32747)',53.280254,-2.901511,'ParishChurch'),new Array('Our Lady Star of the Sea Church (63268||32747)',53.280254,-2.901511,'ParishChurch'),new Array('St Bernard Church (63317||32746)',53.285311,-2.898599,'ParishChurch'),new Array('St Bernard Church (59677||32746)',53.285311,-2.898599,'ParishChurch'),new Array('St Bernard`s School (38160||36264)',53.27157,-2.889632,'School'),new Array('St Mary of the Angels Church (63384||32748)',53.297017,-2.957065,'ParishChurch'),new Array('Christ the King Church (63219||32743)',53.325562,-2.972057,'ParishChurch'),new Array('Christ The King School (38126||36230)',53.324813,-2.974697,'School'),new Array('St Theresa`s School (38205||36309)',53.209201,-2.917238,'School'),new Array('St Theresa Church (59780||32719)',53.207897,-2.921942,'ParishChurch'),new Array('St Columba Church (59683||32720)',53.210897,-2.874688,'ParishChurch'),new Array('Holy Trinity And St Francis Of Assisi Church (52689||57633)',53.349432,-2.894618,'ParishChurch'),new Array('Holy Trinity Catholic Primary School (37426||35530)',53.349698,-2.891409,'School'),new Array('St Winefride`s Primary School (38213||36317)',53.286508,-3.053208,'School'),new Array('St Winefride Church (59799||32745)',53.284208,-3.058071,'ParishChurch'),new Array('St Christopher`s Catholic Primary School (37443||35547)',53.346691,-2.847769,'School'),new Array('St Christopher Church (52719||57648)',53.344274,-2.843816,'ParishChurch'),new Array('St Luke the Physician Church (59727||32744)',53.346233,-3.004072,'ParishChurch'),new Array('St Austin Church (52697||57637)',53.361408,-2.911954,'ParishChurch'),new Array('St Ambrose Church (52717||57647)',53.340644,-2.825495,'ParishChurch'),new Array('St Austin`s Catholic Primary School (37437||35541)',53.362632,-2.91177,'School'),new Array('St Werburgh`s & St Columba`s School (38209||36313)',53.195802,-2.873692,'School'),new Array('St Werburgh Church (59791||32717)',53.191072,-2.882412,'ParishChurch'),new Array('St Ambrose Catholic Primary School (37694||35798)',53.341385,-2.822386,'School'),new Array('St Francis Church (59692||64970)',53.188148,-2.892514,'Other'),new Array('S t Francis Church (63332||66782)',53.188148,-2.892514,'Other'),new Array('St Thomas More Church (52709||57643)',53.370823,-2.93416,'ParishChurch'),new Array('The Blessed Trinity, Queensferry Church (60130||65119)',53.195267,-3.002187,'ParishChurch'),new Array('St Hugh Of Lincoln Church (52705||57641)',53.370823,-2.93416,'ParishChurch'),new Array('St John the Evangelist Church (59710||32742)',53.35852,-3.00092,'ParishChurch'),new Array('The Blessed Sacrament, Connah`s Quay Church (60079||65097)',53.215452,-3.04769,'ParishChurch'),new Array('Ven Edward Morgan School (38459||36563)',53.211661,-3.04023,'School'),new Array('Venerable Edward Morgan RC Primary School (39090||37196)',53.209857,-3.038869,'School'),new Array('St John Plessington School (38230||36334)',53.35926,-3.007053,'School'),new Array('St John`s Infant School (38171||36275)',53.360611,-3.007731,'School'),new Array('St Andrew`s The Apostle Primary School (37411||35515)',53.36072,-2.845598,'School'),new Array('St Anthony Of Padua, Saltney Church (60142||65124)',53.179016,-2.92412,'ParishChurch'),new Array('St Anthony`s Catholic Primary School (39089||37195)',53.178177,-2.92687,'School'),new Array('St Anthony`s School (38458||36562)',53.179016,-2.92412,'School'),new Array('Chester Catholic High School (38221||36325)',53.179069,-2.892445,'School'),new Array('St Charles` Catholic Primary School (37439||35543)',53.375822,-2.947166,'School'),new Array('St John Almond Church (52721||57649)',53.372427,-2.868081,'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';
}
//