strList="

Archdiocese of Birmingham (0 miles)
Zoom on map | View full information

Diocesan Offices (0.3 miles)
Zoom on map | View full information

Aston University Presbytery (0.3 miles)
Zoom on map | View full information

St Chad`s Cathedral Church (0.3 miles)
Zoom on map | View full information

St Chad`s School (0.5 miles)
Zoom on map | View full information

St Michael Church (0.5 miles)
Zoom on map | View full information

Polish Millenium House (0.6 miles)
Zoom on map | View full information

"; function showResults() { document.getElementById("mapList").style.display="block"; } var records = new Array(new Array('Archdiocese of Birmingham (4791||871)',52.485888,-1.898037,'Other'),new Array('Diocesan Offices (342||873)',52.4865883,-1.890678200000025,'Other'),new Array('Aston University Presbytery (36017||34340)',52.486637,-1.890952,'Other'),new Array('St Chad`s Cathedral Church (36223||34444)',52.486099,-1.891987,'ParishChurch'),new Array('St Chad`s School (36599||34698)',52.492471,-1.901115,'School'),new Array('St Michael Church (36402||34533)',52.479581,-1.892972,'ParishChurch'),new Array('Polish Millenium House (65115||34533)',52.479201,-1.890205,'Other'),new Array('St Vincent de Paul Church (36182||34423)',52.488029,-1.880021,'ParishChurch'),new Array('St Catherine of Siena Church (35960||34311)',52.472333,-1.900468,'ParishChurch'),new Array('St Vincent`s School (36583||34682)',52.484815,-1.875627,'School'),new Array('St Catherine of Siena School (36597||34696)',52.471687,-1.902104,'School'),new Array('St Edmund`s School (36604||34703)',52.487004,-1.923202,'School'),new Array('St Francis School (36601||34700)',52.497749,-1.914213,'School'),new Array('St Anne Church (35952||34307)',52.472606,-1.884377,'ParishChurch'),new Array('St Francis Church (35974||34318)',52.498901,-1.915507,'ParishChurch'),new Array('Immaculate Conception Church (36192||34428)',52.473373,-1.919957,'ParishChurch'),new Array('St Joseph`s School (36600||34699)',52.495662,-1.872076,'School'),new Array('St Anne`s School (36598||34697)',52.470417,-1.879613,'School'),new Array('Birmingham City Hospital Chapel (65116||34314)',52.489821,-1.929427,'Other'),new Array('St Patrick Church (35966||34314)',52.486667,-1.93195,'ParishChurch'),new Array('Sacred Heart and St Margaret Mary Church (36332||34498)',52.50577,-1.893645,'ParishChurch'),new Array('St Patrick`s School (36603||34702)',52.486254,-1.931627,'School'),new Array('St Joseph Church (36344||34504)',52.498951,-1.870991,'ParishChurch'),new Array('Oratory School (36591||34690)',52.476993,-1.929683,'School'),new Array('Aston Hall (65105||34446)',52.506614,-1.883595,'Other'),new Array('Sacred Heart School (36634||34733)',52.509525,-1.901504,'School'),new Array('Saint Clare`s School (36633||34732)',52.509652,-1.913954,'School'),new Array('Holy Trinity School (36639||34738)',52.467299,-1.864533,'School'),new Array('Priory School (38794||36900)',52.461089,-1.915034,'School'),new Array('St Paul`s Girls School (36636||34735)',52.47556,-1.940756,'School'),new Array('Our Lady of the Rosary and St Therese of Lisieux Church (35996||34329)',52.484604,-1.849386,'ParishChurch'),new Array('SS John and Martin Church (35954||34308)',52.456251,-1.890968,'ParishChurch'),new Array('St Teresa Church (35988||34325)',52.516136,-1.904982,'ParishChurch'),new Array('Rosary School (36592||34691)',52.484155,-1.849182,'School'),new Array('St Teresa`s School (36616||34715)',52.516948,-1.921927,'School'),new Array('SS John & Monica School (36635||34734)',52.450644,-1.893895,'School'),new Array('St Philip`s School (36675||34774)',52.494995,-1.958317,'School'),new Array('Holy Family School (36585||34684)',52.465676,-1.845815,'School'),new Array('Holy Family Church (36002||34332)',52.465676,-1.845815,'ParishChurch'),new Array('St Philip Neri Church (36390||34527)',52.494995,-1.958317,'ParishChurch'),new Array('St Martin de Porres School (36626||34725)',52.447682,-1.880543,'School'),new Array('English Martyrs Church (36004||34333)',52.451491,-1.861418,'ParishChurch'),new Array('St Augustine`s School (36595||34694)',52.514579,-1.944639,'School'),new Array('St Augustine of England Church (36235||34450)',52.514579,-1.944639,'ParishChurch'),new Array('English Martyrs School (36589||34688)',52.451017,-1.863671,'School'),new Array('SS Mary and John School (36606||34705)',52.516287,-1.851165,'School'),new Array('Oznam House (65113||34315)',52.516042,-1.848778,'Other'),new Array('St Mary and St John Church (35968||34315)',52.516042,-1.848778,'ParishChurch'),new Array('St Mary Church (36251||34458)',52.456867,-1.953055,'ParishChurch'),new Array('St Mary`s School (36602||34701)',52.456867,-1.953055,'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 }); 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'; } //