var sortfields = new Array("AbbeyGardens","Abney","Academy","ArundelElgin","Athenaeum","BeatrixP","Bedford","Belgrave","BinaEast","BlenheimElgin","Bloomsbury","Bonnington","BowesPark","Bramham","BranchHill","Brockwell","Brompton","BrownHart","Brunel","Brunswick","Bryanston","Bunhill","BushyHouse","CableSt","CadoganPl","CadoganSq","Calthorpe","Camley","Canonbury","Canons1","Canons2","Canons3","Carlton","CarlyleHse","Carnegie","Carshalton","CentreWildlife","ChelseaPhysic","Chester","ChiswickHouse","ChiswickPark","Christchurch","Clapton","ClarendonLansdowne","Cleary","Cleveland1","Cleveland2","Collingham","Coram","Cornwall","CourtfieldEast","CourtfieldWest","Crescent","Culpeper","Culverley","DevonshireRd","Dolphin","Dorset","DrapersHall","DulwichPicture","Durand","EarlsCt","Eastbury","Eaton","Eccleston","Eden","Edwardes","Emanuel","EmeryWalker","Ennismore","EnvCurr","Estorick","FannSt","Fassett","Fitzroy","FulhamPalace","FulhamPalaceMeadows","GardenBarge","GardenMuseum","Geffrye","Goodenough","Gordon","Goring","GraysInn","GroveHouse","Ham","Hammersmith","Hanover","Harleyford","Heathfield","Hempel","Hereford","Hill","HMPWandsworth","HMPWandsworthClarke","HMPWormwood","Holland","InnerTemple","Iverna","JohnBetts","Kensal","KensingtonGardens","KensingtonNursing","KensingtonSq","Kilmorey","KingHenry","KK","Ladbroke","LansdowneElgin","Lavender","Lexham","Lighthousew","Lillington","Lincoln","LittleAbbey","Manchester","Markham","Marlborough","MaRoCoCo","Maughan","Mayow","Mecklenburgh","Merrick","MiddleTemple","Montagu","NaturalHM","Naturewise","Nevern","Nightingale","Norland","Nunhead","October","Paddock","ParkCres","ParkSq","Paultons","Phoenix","Portman","Postmans","QueensGate","RedCross","Rembrandt","Ridgmount","RoeGreen","RomanWall","Roof","Roots","RoyalColl","RoyalCres","Russell","RutlandSouth","Saint Botolph","SaintDunstan","SaintGeorgeFields","SaintGeorgeGdns","SaintJamesClose","SaintJamesGdns","SaintJosephsGarden","SaintMartin","SaintMaryA","SaintMaryS","SaintMichael","SaintPaulCath","Salters","Share","SirJohnCass","SOAS","SouthLondonBI","StanleyCres","Sunningdale","SuttonCourt","SuttonEcology","TateModern","Tavistock","ThriveBattersea","Thurloe","TowerH","Triangle","TrinityChSq","VictoriaAlbert","VictoriaSq","Walworth","Warwick","West Sm","Westminster1","Westminster2","Westminster3","WestNorwood","Whitgift","WilliamM","Wilton","WindrushSq","Woburn","Zander");
var squares = new Array("Abbey Gardens - What Will The Harvest Be?","Abney Park Cemetery","The Academy Gardens","Arundel & Elgin Garden","The Athenaeum","Beatrix Potter Allotments","Bedford Square","Belgrave Square","Bina Gardens East","Blenheim & Elgin Crescent Garden","Bloomsbury Square","Bonnington Square","Bowes Park Community Garden","Bramham Gardens","Branch Hill Allotments","Brockwell Park Community Greenhouses","Brompton Cemetery","Brown Hart Gardens","Brunel Museum Gardens","Brunswick Square","Bryanston Square","Bunhill Fields","Bushy House Gardens","Cable Street Community Gardens","Cadogan Place Gardens","Cadogan Square Gardens","Calthorpe Project Community Garden","Camley Street Natural Park","Canonbury Square","Canons - North London Collegiate School Gardens","Canons Park - George V Memorial Garden","Canons Park - St Lawrence's Church","Carlton House Terrace Gardens","Carlyle’s House","Carnegie Library","Carshalton House Landscape Garden","Centre for Wildlife Gardening","Chelsea Physic Garden","Chester Square","Chiswick House Walled Gardens","Chiswick Park","Christchurch Greyfriars Rose Garden","Clapton Pond","Clarendon Rd & Lansdowne Rd Communal Garden","Cleary Garden","Cleveland Square","Cleveland Gardens","Collingham Gardens","Coram’s Fields Children’s Playground","Cornwall Gardens","Courtfield Gardens (East)","Courtfield Gardens (West)","Crescent Garden","Culpeper Community Garden","Culverley Green","Devonshire Road Wildlife Garden","Dolphin Square","Dorset Square","Drapers’ Hall Garden","Dulwich Picture Gallery","Durand Gardens","Earls Court Square","Eastbury Manor House Walled Gardens and Herb Garden","Eaton Square","Eccleston Square","Eden at St. Paul's Community Garden","Edwardes Square","Emanuel School Grounds","Emery Walker's House","Ennismore Gardens","Environmental Curriculum Service and The Growing Schools Garden","Estorick Collection of Modern Italian Art","Fann Street Wildlife Garden","Fassett Square","Fitzroy Square","Fulham Palace","Fulham Palace Meadows Allotments","Garden Barge Square at Downings Roads Moorings","The Garden Museum","Geffrye Museum Gardens","Goodenough College - London House Quadrangle","Gordon Square","The Goring Hotel","Gray’s Inn","Grove House Estate (Roehampton University)","Ham House and Garden","Hammersmith Sunken Garden","Hanover Gardens","Harleyford Road Community Garden","Heathfield","The Hempel Zen Garden","Hereford Square","The Hill Garden and Pergola","HM Prison Wandsworth (special conditions apply)","HM Prison Wandsworth - Clarke House","HM Prison Wormwood Scrubs (special conditions apply)","Holland House Garden","Inner Temple Garden","Iverna Court Garden","John Betts House","Kensal Green Cemetery","Kensington Gardens Square","Kensington Nursing Home (BUPA)","Kensington Square","Kilmorey Mausoleum Wildlife Garden","King Henry's Walk Garden","K+K Hotel George","Ladbroke Square Garden","Lansdowne and Elgin Crescent Gardens","Lavender Pond and Nature Park","Lexham Gardens","Lighthouse-West THT","Lillington & Longmoore Gardens","Lincoln’s Inn Gardens","Little Abbey","Manchester Square Gardens","Markham Square","Marlborough House","MaRoCoCo Garden at Rococo Chocolates","Maughan Library and ISC Garden","The Nursery at Mayow Park","Mecklenburgh Square","Merrick Square","Middle Temple","Montagu Square","The Wildlife Garden at the Natural History Museum","Naturewise Edible Forest Garden","Nevern Square","Nightingale Square","Norland Square","Nunhead Cemetery","October Gallery","Paddock Allotments","Park Crescent","Park Square","Paultons Square","The Phoenix Garden","Portman Square","Postman’s Park","Queen’s Gate Gardens","Red Cross Garden","Rembrandt Gardens","Ridgmount Gardens","Roe Green Walled Garden","Roman Wall - Noble Street","The Roof Gardens","Roots and Shoots","Royal College of Physicians’ Medicinal Garden","Royal Crescent Gardens","Russell Square Gardens","Rutland Gate South Garden","St Botolph without Bishopsgate","St Dunstan's in the East","St George’s Fields","St George’s Gardens","St James Close","St James’s Gardens","St Joseph’s Garden","St Martin's Gardens","St Mary Aldermanbury","St Mary’s Secret Garden","St Michael's Convent","St Paul’s Cathedral Churchyard","Salters’ Gardens","SHARE Community Horticulture Project","Sir John Cass's Foundation Primary School","SOAS Japanese-Inspired Roof Garden","South London Botanical Institute","Stanley Crescent Garden","Sunningdale Gardens","Sutton Court","Sutton Ecology Centre","The Community Garden at Tate Modern","Tavistock Square Gardens","Thrive Battersea - Herb Garden","Thurloe Square","Tower Hamlets Cemetery Park","Triangle Garden","Trinity Church Square","Victoria and Albert Museum","Victoria Square","Walworth Garden Farm","Warwick Square","West Smithfield Garden","Westminster Abbey: Dean’s Yard","Westminster Abbey: College Garden","Westminster Abbey: St Catherine's Garden","West Norwood Cemetery","Whitgift School","William Morris Society","Wilton Crescent Garden","Windrush Square","Woburn Square","Zander Court Club House");
var pictures = new Array("whatwill.jpg","abney1.jpg","academy.jpg","arundelelgin.jpg","athenaeum.jpg","beatrixp.jpg","bedford.jpg","belgrave2.jpg","binaeast.jpg","blenheimelgin.jpg","bloomsbury.jpg","bonnington.jpg","bowes.jpg","bramham.jpg","branchhill.jpg","brockwell.jpg","brompton.jpg","brownhart.jpg","brunel.jpg","brunswick.jpg","bryanston.jpg","bunhill.jpg","bushy.jpg","cablest.jpg","cadoganpl.jpg","cadogansq.jpg","calthorpe.jpg","camley.jpg","canonbury.jpg","nlcs.jpg","canons3.jpg","stlawrence.jpg","carlton.jpg","carlylehse.jpg","carnegie.jpg","carshhouse.jpg","cwg.jpg","chelseaphysic.jpg","chester.jpg","chiswickkitchen.jpg","chiswickpark02.jpg","christch.jpg","clapton.jpg","clarendonlansdowne.jpg","cleary.jpg","clevelandsq.jpg","clevelandgdns.jpg","collingham.jpg","coram.jpg","cornwall.jpg","courtfieldeast.jpg","courtfieldwest.jpg","crescent.jpg","culpeper.jpg","culverley.jpg","devonshireroad.jpg","dolphin.jpg","dorset.jpg","drapers.jpg","dulwich.jpg","durand.jpg","earlsct.jpg","eastbury.jpg","eaton.jpg","eccleston.jpg","eden2.jpg","edwardes.jpg","emanuel.jpg","emerywalker.jpg","ennismore.jpg","growingschools.jpg","estorick1.jpg","fannst.jpg","fassett.jpg","fitzroy.jpg","fulham1.jpg","fulhamallot.jpg","gbs.jpg","MGH.jpg","geffrye.jpg","goodenough.jpg","gordon0057.jpg","goring.jpg","grays004.jpg","grovehse2.jpg","ham.jpg","sunken.jpg","hanover0020.jpg","harleyford.jpg","heathfield3.jpg","hempel.jpg","hereford.jpg","pergola.jpg","wandsworth.jpg","linden.jpg","wormwood.jpg","hollandhouse.jpg","innertemple2.jpg","iverna.jpg","johnbetts.jpg","kensal.jpg","kensingtongdnssq.jpg","kensingtonnursing.jpg","kenssq.jpg","kilmorey.jpg","kinghenry.jpg","kk.jpg","ladbroke0030.jpg","lansdowneelgin.jpg","lavender.jpg","lexham.jpg","lighthousew.jpg","lillington.jpg","lincoln.jpg","Little Abbey.jpg","manchester.jpg","markham.jpg","marlborough.jpg","marococo.jpg","maughan0147.jpg","mayow.jpg","mburgh.jpg","merrick.jpg","middletemple.jpg","montagu.jpg","nhm.jpg","naturewise.jpg","nevern.jpg","nightingale.jpg","norland.jpg","nunhead.jpg","october.jpg","paddock.jpg","parkcres.jpg","parksq.jpg","paultons.jpg","phoenix.jpg","portman.jpg","postmans.jpg","queensgate.jpg","redcross.jpg","rembrandt.jpg","ridgmount.jpg","roegreen.jpg","noblest.jpg","roof1.jpg","roots.jpg","rcp.jpg","royalcres.jpg","russell0009.jpg","rutlandsouth.jpg","stbotolph.jpg","stdunstan2.jpg","stgeofields.jpg","saintgeorgegdns.jpg","stjamesclose.jpg","stjames.jpg","stjoseph.jpg","stmartin.jpg","aldermanbury.jpg","stmaryssecret.jpg","stmichael.jpg","stpaul.jpg","salters.jpg","share.jpg","cass.jpg","SOAS2031.jpg","slbi.jpg","stanleycres.jpg","sunningdale.jpg","suttoncourt.jpg","suttoneco2.jpg","tatemodern.jpg","tavistock.jpg","thrive.jpg","thurloe.jpg","towerhamlets.jpg","triangle.jpg","trinitychsq.jpg","victoriaalbert.jpg","victoriasq.jpg","walworth.jpg","warwick.jpg","smithfield.jpg","deansyard.jpg","college4.jpg","stcatherine.jpg","westnorwood.jpg","whitgift.jpg","kelmscott2.jpg","wilton.jpg","windrushsq.jpg","woburn.jpg","zander4.jpg");
var photographers = new Array("© Nina Pope","Colin Wing","The Academy","Gavin Gardiner","","Wandsworth Horticultural Association","Sarah Jackson","Elizabeth Wardle","Sarah Jackson","Gavin Gardiner","Friends of Bloomsbury Square","Gavin Gardiner","Bowes Park Community Association","Nick Woollven","Branch Hill Allotment Association","Brockwell Park Community Greenhouses","© Robert Stephenson","Colin Wing","Robert Hulse, Brunel Museum","Colin Wing","Sarah Jackson","Colin Wing","","","Colin Wing","Colin Wing","Colin Wing","Colin Wing","Loire Valley Wines","North London Collegiate School","Friends of Canons Park","Marian Ramsay","<a href='http://www.justinaburnett.com'  target='_blank'>Justina Burnett</a>","The National Trust","Colin Wing","Colin Wing","","","Colin Wing","Chiswick House Kitchen Garden Association","Chiswick Park Estate Management Ltd","Colin Wing","","Gavin Gardiner","Colin Wing - before renovation","Nic Tuft","Gavin Gardiner","Sarah Jackson","Coram´s Fields","<a href='http://www.justinaburnett.com'  target='_blank'>Justina Burnett</a>","Sarah Jackson","Sarah Jackson","Sarah Jackson","Colin Wing","Colin Wing","Friends of Devonshire Road Nature Reserve","Colin Wing","Sarah Jackson","Drew Bennellick","copyright Benedict Johnson","Durand Gardens Residents' Association","Colin Wing","Colin Wing","Colin Wing","Neville Capil","Eden at St Paul´s","David Magson","","The Emery Walker Trust","English Heritage","Growing Schools Garden","The Estorick Collection","Barbican Wildlife Group","Peter Dobbing","Colin Wing","Colin Wing","© Edwina Sassoon","Drew Bennellick","","Sunniva Harte / Geffrye Museum","Goodenough College","<a href='mailto:joshward@hotmail.com'>Josh Ward</a>, photographer and garden designer","Mary Cooper","The Hon. Society of Gray's Inn","Sarah Jackson","Sarah Jackson","Peabody","<a href='mailto:joshward@hotmail.com'>Josh Ward</a>, photographer and garden designer","Sarah Jackson","Colin Wing","","Sarah Jackson","Colin Wing","","","HM Prison Wormwood Scrubs","YHA","Andrea Brunsendorf","Colin Wing","","© Henk Eijssens","Moray Angus","The Kensington Nursing Home","Sarah Jackson","Environment Trust for Richmond upon Thames","Friends of King Henry’s Walk Garden","","<a href='mailto:joshward@hotmail.com'>Josh Ward</a>, photographer and garden designer","Sarah Jackson","Trust for Urban Ecology","<a href='http://www.justinaburnett.com'  target='_blank'>Justina Burnett</a>","Gary Eisenhauser, Terence Higgins Trust","Colin Wing","Lincoln's Inn","Peabody","Sarah Jackson","Markham Square Association","Commonwealth Secretariat","Chantal Coady","<a href='mailto:joshward@hotmail.com'>Josh Ward</a>, photographer and garden designer","Envirowork Lewisham","Noelle Vickers","","Colin Wing","Sarah Jackson","<a href='http://www.justinaburnett.com'  target='_blank'>Justina Burnett</a>","London Permaculture","Nevern Square Garden Committee","Iris Wells","Gavin Gardiner","Colin Wing","","The Paddock Horticultural Society","Drew Bennellick","Drew Bennellick","Colin Wing","The Phoenix Garden","The Portman Estate","Colin Wing","Colin Wing","Ágnes Knoll","Colin Wing","Colin Wing","Kim Williams","Colin Wing","Sanam Shah","© Nicola Browne","Colin Wing","Gavin Gardner","<a href='mailto:joshward@hotmail.com'>Josh Ward</a>, photographer and garden designer","Colin Wing","Colin Wing","<a href='mailto:suesnell@zoom.co.uk'>Sue Snell</a>","Sarah Jackson","Colin Wing","","Colin Wing","Fr Bruno Healy","Colin Wing","Colin Wing","St Mary's Secret Garden","Sarah Jackson","Colin Wing","Drew Bennellick","SHARE Community","","Malcolm Raggett","Colin Wing","Sarah Jackson","Sarah Jackson","Sarah Jackson","London Borough of Sutton","Colin Wing","Friends of Tavistock Square","Colin Wing","Colin Wing","Colin Wing","Sarah Jackson","Colin Wing","<a href='http://www.justinaburnett.com'  target='_blank'>Justina Burnett</a>","Colin Wing","Colin Wing","Colin Wing","Colin Wing","Colin Wing","<a href='http://www.justinaburnett.com'  target='_blank'>Justina Burnett</a>","<a href='http://www.justinaburnett.com'  target='_blank'>Justina Burnett</a>","Colin Wing","","Colin Wing","","Colin Wing","Suzanne Spooner","");

/* Insert above code generated by database on Pictures.txt */

var winWidth=600;
if ((navigator.appName) == "Microsoft Internet Explorer")
winWidth=window.document.body.clientWidth;
if ((navigator.appName) == "Netscape") 
winWidth=window.innerWidth;

var picWidth = " ";


if (winWidth < 600) picWidth = ' width="300"';
if (winWidth < 480) picWidth = ' width="' + ((winWidth * 2 / 3) - 20) + '"';
if (winWidth < 100) picWidth = " ";
today = new Date(); 
var days = Math.ceil((today / 1000 /60 / 60 / 24))+34; 
var index = days % pictures.length;
var msg = "Click here for details";
var photo = "photo";

switch (document.body.lang) {
case "fr": 
	msg = "En savoir plus";
	break;
case "de": 
	msg = "Weitere Auskünfte";
	photo="Aufnahme"; 
	break;
case "it":
	msg = "Più informazioni";
	photo="foto"; 
	break;
case "es": 
	msg = "Mas detallas";
	photo="foto";
	break;
case "el": msg = "&#960;&#949;&#961;&#953;&#963;&#963;&#972;&#964;&#949;&#961;&#949;&#962; "
	       + "&#960;&#955;&#951;&#961;&#959;&#966;&#959;&#961;&#943;&#949;&#962;";
               break;
default:   msg = "Further details";
}


document.write ('<image src="../images/' + pictures[index] 
	+  '" id="picoftheday"' + picWidth
	+  ' alt="' + squares[index] + '"><br><b>'  
	+  squares[index] + "</b>");
if (photographers[index] > " ") 
	document.write("<br>(" + photo + ": " + photographers[index] + ")")

document.write ('<br>&#187; <a href="../detail/' 
+ sortfields[index] + '.html" >' + msg + '</a>');

function picsize() {
winWidth=window.document.body.clientWidth;
document.images.picoftheday.width = ((winWidth * 2 / 3) - 20);
if (document.images.picoftheday.width > 400) document.images.picoftheday.width = 400;
if ((document.images.picoftheday.width < document.images.picoftheday.height)
   && (document.images.picoftheday.width > 300)) document.images.picoftheday.width = 300;
} 
window.onresize=picsize;
