function displayCountyStats(n) {
  document.getElementById('county_name').innerHTML = countyName[n]; 
  county_num_walks.innerHTML = countyWalks[n]+' walks'; 
  county_mileage.innerHTML = countyMileage[n]+' miles'; 
  county_top_name.innerHTML = countyTopName[n]; 
  county_top_visited.innerHTML = countyTopVisited[n];  
}
function clearCountyStats() {
	// county_details.innerHTML = '&nbsp;';
}

<!-- Begin script
var countyName = new Array();
var countyWalks      = new Array();
var countyMileage    = new Array();
var countyTopName    = new Array();
var countyTopVisited = new Array();
countyName[0] = "Anglesey";
countyWalks[0] ="9";
countyMileage[0] ="164.8";
countyTopName[0] ="Holyhead Mountain";
countyTopVisited[0] ="Visited";
countyName[1] = "Avon";
countyWalks[1] ="8";
countyMileage[1] ="139.2";
countyTopName[1] ="Niver Hill";
countyTopVisited[1] ="Visited";
countyName[2] = "Berkshire";
countyWalks[2] ="14";
countyMileage[2] ="249.8";
countyTopName[2] ="Walbury Hill";
countyTopVisited[2] ="Visited";
countyName[3] = "Borders";
countyWalks[3] ="9";
countyMileage[3] ="127.1";
countyTopName[3] ="Broad Law";
countyTopVisited[3] ="Not visited";
countyName[4] = "Bedfordshire";
countyWalks[4] ="15";
countyMileage[4] ="227.2";
countyTopName[4] ="Dunstable Downs";
countyTopVisited[4] ="Visited";
countyName[5] = "Buckinghamshire";
countyWalks[5] ="17";
countyMileage[5] ="291.4";
countyTopName[5] ="Haddington Hill";
countyTopVisited[5] ="Visited";
countyName[6] = "Cambridgeshire";
countyWalks[6] ="55";
countyMileage[6] ="881.2";
countyTopName[6] ="Great Chishill";
countyTopVisited[6] ="Visited";
countyName[7] = "Central Scotland";
countyWalks[7] ="6";
countyMileage[7] ="90";
countyTopName[7] ="Ben More";
countyTopVisited[7] ="Not visited";
countyName[8] = "Cheshire";
countyWalks[8] ="8";
countyMileage[8] ="141.4";
countyTopName[8] ="Shining Tor";
countyTopVisited[8] ="Visited";
countyName[9] = "Cleveland";
countyWalks[9] ="3";
countyMileage[9] ="49.3";
countyTopName[9] ="Gisborough Moor";
countyTopVisited[9] ="Not visited";
countyName[10] = "Clwyd";
countyWalks[10] ="7";
countyMileage[10] ="113.3";
countyTopName[10] ="Cadair Berwyn";
countyTopVisited[10] ="Not visited";
countyName[11] = "Cornwall";
countyWalks[11] ="35";
countyMileage[11] ="555.7";
countyTopName[11] ="Brown Willy";
countyTopVisited[11] ="Not visited";
countyName[12] = "Cumbria";
countyWalks[12] ="22";
countyMileage[12] ="389.3";
countyTopName[12] ="Scafell Pike";
countyTopVisited[12] ="Visited";
countyName[13] = "Derbyshire";
countyWalks[13] ="49";
countyMileage[13] ="696";
countyTopName[13] ="Kinder Scout";
countyTopVisited[13] ="Visited";
countyName[14] = "Devon";
countyWalks[14] ="27";
countyMileage[14] ="416.2";
countyTopName[14] ="High Willhays";
countyTopVisited[14] ="Not visited";
countyName[15] = "Dorset";
countyWalks[15] ="21";
countyMileage[15] ="367.5";
countyTopName[15] ="Pilsdon Pen		,Lewesdon Hill";
countyTopVisited[15] ="Not visited";
countyName[16] = "Dumfries and Galloway";
countyWalks[16] ="14";
countyMileage[16] ="291.2";
countyTopName[16] ="Merrick";
countyTopVisited[16] ="Not visited";
countyName[17] = "Durham";
countyWalks[17] ="5";
countyMileage[17] ="79.2";
countyTopName[17] ="Mickle Fell";
countyTopVisited[17] ="Not visited";
countyName[18] = "Dyfed";
countyWalks[18] ="18";
countyMileage[18] ="328.5";
countyTopName[18] ="Fan Foel";
countyTopVisited[18] ="Not visited";
countyName[19] = "East Sussex";
countyWalks[19] ="8";
countyMileage[19] ="147.1";
countyTopName[19] ="Ditchling Beacon";
countyTopVisited[19] ="Visited";
countyName[20] = "Essex";
countyWalks[20] ="42";
countyMileage[20] ="754.8";
countyTopName[20] ="Chrishall Common";
countyTopVisited[20] ="Visited";
countyName[21] = "Fife";
countyWalks[21] ="9";
countyMileage[21] ="162.8";
countyTopName[21] ="West Lomond";
countyTopVisited[21] ="Not visited";
countyName[22] = "Gloucestershire";
countyWalks[22] ="9";
countyMileage[22] ="167.5";
countyTopName[22] ="Cleeve Hill";
countyTopVisited[22] ="Visited";
countyName[23] = "Grampian";
countyWalks[23] ="14";
countyMileage[23] ="276.1";
countyTopName[23] ="Ben Macdui";
countyTopVisited[23] ="Not visited";
countyName[24] = "Greater Manchester";
countyWalks[24] ="4";
countyMileage[24] ="60";
countyTopName[24] ="Black Chew Head";
countyTopVisited[24] ="Visited";
countyName[25] = "Gwent";
countyWalks[25] ="6";
countyMileage[25] ="107.2";
countyTopName[25] ="Chwarel y Fan	,Coety Mountain";
countyTopVisited[25] ="Not visited";
countyName[26] = "Gwynedd";
countyWalks[26] ="12";
countyMileage[26] ="225.6";
countyTopName[26] ="Snowdon - Yr Wyddfa";
countyTopVisited[26] ="Visited";
countyName[27] = "Hampshire";
countyWalks[27] ="34";
countyMileage[27] ="685";
countyTopName[27] ="Pilot Hill";
countyTopVisited[27] ="Visited";
countyName[28] = "Herefordshire";
countyWalks[28] ="5";
countyMileage[28] ="85";
countyTopName[28] ="Black Mountain";
countyTopVisited[28] ="Visited";
countyName[29] = "Worcestershire";
countyWalks[29] ="6";
countyMileage[29] ="101.4";
countyTopName[29] ="Worcestershire Beacon";
countyTopVisited[29] ="Visited";
countyName[30] = "Hertfordshire";
countyWalks[30] ="24";
countyMileage[30] ="374.6";
countyTopName[30] ="Pavis Wood";
countyTopVisited[30] ="Visited";
countyName[31] = "Highlands";
countyWalks[31] ="89";
countyMileage[31] ="1555.6";
countyTopName[31] ="Ben Nevis";
countyTopVisited[31] ="Visited";
countyName[32] = "Humberside";
countyWalks[32] ="8";
countyMileage[32] ="151.6";
countyTopName[32] ="Bishop Wilton Wold";
countyTopVisited[32] ="Not visited";
countyName[33] = "Isle Of Man";
countyWalks[33] ="0";
countyMileage[33] ="0";
countyTopName[33] ="";
countyTopVisited[33] ="";
countyName[34] = "Isle Of Wight";
countyWalks[34] ="0";
countyMileage[34] ="0";
countyTopName[34] ="";
countyTopVisited[34] ="";
countyName[35] = "Kent";
countyWalks[35] ="26";
countyMileage[35] ="458.8";
countyTopName[35] ="Betsom's Hill";
countyTopVisited[35] ="Visited";
countyName[36] = "Lancashire";
countyWalks[36] ="7";
countyMileage[36] ="138.5";
countyTopName[36] ="Old Man of Coniston	,Gragareth		,Green Hill";
countyTopVisited[36] ="Not visited";
countyName[37] = "London";
countyWalks[37] ="21";
countyMileage[37] ="349.4";
countyTopName[37] ="Botley Hill";
countyTopVisited[37] ="Visited";
countyName[38] = "Leicestershire";
countyWalks[38] ="13";
countyMileage[38] ="246";
countyTopName[38] ="Bardon Hill";
countyTopVisited[38] ="Visited";
countyName[39] = "Lincolnshire";
countyWalks[39] ="18";
countyMileage[39] ="346.7";
countyTopName[39] ="The Wolds";
countyTopVisited[39] ="Not visited";
countyName[40] = "Lothian";
countyWalks[40] ="9";
countyMileage[40] ="147.9";
countyTopName[40] ="Blackhope Scar";
countyTopVisited[40] ="Not visited";
countyName[41] = "Merseyside";
countyWalks[41] ="5";
countyMileage[41] ="103.2";
countyTopName[41] ="Billinge Hill";
countyTopVisited[41] ="Not visited";
countyName[42] = "Mid Glamorgan";
countyWalks[42] ="7";
countyMileage[42] ="107";
countyTopName[42] ="Craig y LLyn";
countyTopVisited[42] ="Visited";
countyName[43] = "Norfolk";
countyWalks[43] ="38";
countyMileage[43] ="587.6";
countyTopName[43] ="Beacon Hill";
countyTopVisited[43] ="Visited";
countyName[44] = "Northamptonshire";
countyWalks[44] ="22";
countyMileage[44] ="404.9";
countyTopName[44] ="Arbury Hill";
countyTopVisited[44] ="Visited";
countyName[45] = "Northern Ireland";
countyWalks[45] ="0";
countyMileage[45] ="0";
countyTopName[45] ="";
countyTopVisited[45] ="";
countyName[46] = "Northumberland";
countyWalks[46] ="12";
countyMileage[46] ="184.3";
countyTopName[46] ="The Cheviot";
countyTopVisited[46] ="Not visited";
countyName[47] = "North Yorkshire";
countyWalks[47] ="22";
countyMileage[47] ="364.4";
countyTopName[47] ="Whernside";
countyTopVisited[47] ="Visited";
countyName[48] = "Nottinghamshire";
countyWalks[48] ="9";
countyMileage[48] ="165.9";
countyTopName[48] ="Silverhill Colliery ,Newtonwood Lane";
countyTopVisited[48] ="Visited";
countyName[49] = "Orkney";
countyWalks[49] ="0";
countyMileage[49] ="0";
countyTopName[49] ="Ward Hill";
countyTopVisited[49] ="Not visited";
countyName[50] = "Oxfordshire";
countyWalks[50] ="13";
countyMileage[50] ="278.3";
countyTopName[50] ="Whitehorse Hill";
countyTopVisited[50] ="Visited";
countyName[51] = "Powys";
countyWalks[51] ="21";
countyMileage[51] ="340.8";
countyTopName[51] ="Pen y Fan";
countyTopVisited[51] ="Visited";
countyName[52] = "Rutland";
countyWalks[52] ="9";
countyMileage[52] ="169.8";
countyTopName[52] ="Cold Overton Park";
countyTopVisited[52] ="Visited";
countyName[53] = "Shropshire";
countyWalks[53] ="9";
countyMileage[53] ="144.2";
countyTopName[53] ="Brown Clee Hill";
countyTopVisited[53] ="Visited";
countyName[54] = "Somerset";
countyWalks[54] ="16";
countyMileage[54] ="242.8";
countyTopName[54] ="Dunkery Beacon";
countyTopVisited[54] ="Not visited";
countyName[55] = "South Glamorgan";
countyWalks[55] ="4";
countyMileage[55] ="63.7";
countyTopName[55] ="Craig Llysfaen";
countyTopVisited[55] ="Not visited";
countyName[56] = "South Yorkshire";
countyWalks[56] ="7";
countyMileage[56] ="114.6";
countyTopName[56] ="Margery Hill";
countyTopVisited[56] ="Visited";
countyName[57] = "Staffordshire";
countyWalks[57] ="18";
countyMileage[57] ="276.4";
countyTopName[57] ="Cheeks Hill";
countyTopVisited[57] ="Visited";
countyName[58] = "Strathclyde";
countyWalks[58] ="36";
countyMileage[58] ="702.4";
countyTopName[58] ="Ben Cruachan";
countyTopVisited[58] ="Not visited";
countyName[59] = "Suffolk";
countyWalks[59] ="34";
countyMileage[59] ="595.7";
countyTopName[59] ="Great Wood";
countyTopVisited[59] ="Visited";
countyName[60] = "Surrey";
countyWalks[60] ="11";
countyMileage[60] ="228.8";
countyTopName[60] ="Leith Hill";
countyTopVisited[60] ="Visited";
countyName[61] = "Tayside";
countyWalks[61] ="13";
countyMileage[61] ="224.2";
countyTopName[61] ="Ben Lawers";
countyTopVisited[61] ="Not visited";
countyName[62] = "Tyne and Wear";
countyWalks[62] ="3";
countyMileage[62] ="48.3";
countyTopName[62] ="Currock Hill";
countyTopVisited[62] ="Not visited";
countyName[63] = "Warwickshire";
countyWalks[63] ="11";
countyMileage[63] ="209";
countyTopName[63] ="Ebrington Hill";
countyTopVisited[63] ="Not visited";
countyName[64] = "West Glamorgan";
countyWalks[64] ="6";
countyMileage[64] ="107.7";
countyTopName[64] ="Craig y LLyn";
countyTopVisited[64] ="Visited";
countyName[65] = "Western Isles";
countyWalks[65] ="0";
countyMileage[65] ="0";
countyTopName[65] ="Clisham";
countyTopVisited[65] ="Not visited";
countyName[66] = "West Midlands";
countyWalks[66] ="6";
countyMileage[66] ="110.5";
countyTopName[66] ="Turner's Hill";
countyTopVisited[66] ="Not visited";
countyName[67] = "West Yorkshire";
countyWalks[67] ="9";
countyMileage[67] ="127.8";
countyTopName[67] ="Black Hill";
countyTopVisited[67] ="Visited";
countyName[68] = "West Sussex";
countyWalks[68] ="13";
countyMileage[68] ="253.6";
countyTopName[68] ="Black Down";
countyTopVisited[68] ="Visited";
countyName[69] = "Wiltshire";
countyWalks[69] ="15";
countyMileage[69] ="318.9";
countyTopName[69] ="Milk Hill";
countyTopVisited[69] ="Visited";
countyName[70] = "Conwy";
countyWalks[70] ="3";
countyMileage[70] ="58.2";
countyTopName[70] ="Carnedd Llewelyn";
countyTopVisited[70] ="Not visited";

//  End script -->


