window.thumbnails = new Object();
												thumbnails[586849] = new thumbnail(586849,'','Joe Wainwright','Joe-Wainwright_thumb.jpg',130, 88,18,'#');
												thumbnails[7560747] = new thumbnail(7560747,'','Lyme Park Tulips','Lyme-Park-Tulips_thumb.jpg',130, 130,18,'#');
												thumbnails[7560768] = new thumbnail(7560768,'','Marbury Church and Mere','Marbury-Church-and-Mere_thumb.jpg',130, 130,18,'#');
												thumbnails[7560750] = new thumbnail(7560750,'','Beeston Castle','Beeston-Castle_B7219346-1EC9-DFB6-09727449148E2E92_thumb.jpg',130, 130,18,'#');
												thumbnails[7560751] = new thumbnail(7560751,'','Ullswater Field','Ullswater-Field_B72948ED-1EC9-DFB6-09136992023E0D4C_thumb.jpg',130, 130,18,'#');
												thumbnails[7560752] = new thumbnail(7560752,'','Cholmondeley Castle Temple Garden','Cholmondeley-Castle-Temple-Garden1_thumb.jpg',130, 130,18,'#');
												thumbnails[7560770] = new thumbnail(7560770,'','Dunes Grass and Mountains at newborough Beach','Dunes-Grass-and-Mountains_thumb.jpg',130, 130,18,'#');
												thumbnails[7560771] = new thumbnail(7560771,'','Tatton Park Mansion','Tatton-Park-Mansion_thumb.jpg',130, 130,18,'#');
												thumbnails[7560803] = new thumbnail(7560803,'','','Hare-Hill-Gate_thumb.jpg',130, 130,18,'#');
												thumbnails[7560812] = new thumbnail(7560812,'','View from Long Mynd','View-from-Long-Mynd_thumb.jpg',130, 130,18,'#');
												thumbnails[265199] = new thumbnail(265199,'189607','Allium Detail','Allium-Detail_thumb.jpg',130, 86,18,'photo_265199.html');
												thumbnails[265201] = new thumbnail(265201,'189607','Autumn Leaf Detail','Autumn-Leaf-Detail_thumb.jpg',130, 92,18,'photo_265201.html');
												thumbnails[265225] = new thumbnail(265225,'23456','Burton - Thatched Cottage','Burton-Thatched-Cottage_thumb.jpg',130, 84,18,'photo_265225.html');
												thumbnails[265294] = new thumbnail(265294,'23456','La Corbiere Lighthouse','La-Corbiere-Lighthouse_thumb.jpg',130, 92,18,'photo_265294.html');
												thumbnails[265313] = new thumbnail(265313,'23456','Black and White Cheshire Cottage','Black-and-White-Cheshire-Cottage_thumb.jpg',130, 81,18,'photo_265313.html');
												thumbnails[268096] = new thumbnail(268096,'23387','Abbotsbury Swannery','Abbotsbury-Swannery_thumb.jpg',130, 96,18,'photo_268096.html');
												thumbnails[268101] = new thumbnail(268101,'23387','Lake District Autumn Beech','Lake-District-Autumn-Beech_thumb.jpg',130, 87,18,'photo_268101.html');
												thumbnails[269158] = new thumbnail(269158,'23458','Jersey Lavender','Jersey-Lavender_thumb.jpg',130, 91,18,'photo_269158.html');
												thumbnails[270105] = new thumbnail(270105,'23387','Cheshire Hillside and Cows Grazing','Cheshire-Hillside-and-Cows-Grazing1_thumb.jpg',130, 91,18,'photo_270105.html');
												thumbnails[270118] = new thumbnail(270118,'23387','Sunset near Burwardsley','Sunset-Near-Burwardsley_thumb.jpg',130, 78,18,'photo_270118.html');
												thumbnails[272317] = new thumbnail(272317,'23387','Cheshire Plain from Rawhead','Cheshire-Plain-from-Rawhead_thumb.jpg',130, 87,18,'photo_272317.html');
												thumbnails[358302] = new thumbnail(358302,'23456','Marton Church in Snow','Marton-Church-in-the-Snow_thumb.jpg',130, 92,18,'photo_358302.html');
												thumbnails[571606] = new thumbnail(571606,'189607','Roses','Roses1_thumb.jpg',130, 84,18,'photo_571606.html');
												thumbnails[586586] = new thumbnail(586586,'23495','Thomas Hardy\'s Cottage','Thomas-Hardys-Cottage_thumb.jpg',130, 87,18,'photo_586586.html');
												thumbnails[586924] = new thumbnail(586924,'23456','Dawlish - Beach Huts and Bathers','Dawlish-Beach-Huts-and-Bathers_thumb.jpg',130, 79,18,'photo_586924.html');
												thumbnails[600317] = new thumbnail(600317,'23456','Blackpool - Beach at Dusk','Blackpool-Beach-at-Dusk_thumb.jpg',130, 79,18,'photo_600317.html');
												thumbnails[604139] = new thumbnail(604139,'23456','Teignmouth Parasol','Teignmouth-Parasol_thumb.jpg',130, 87,18,'photo_604139.html');
												thumbnails[606389] = new thumbnail(606389,'189607','Echinops and Bee','Echinops-and-Bee_thumb.jpg',130, 87,18,'photo_606389.html');
												thumbnails[714818] = new thumbnail(714818,'411820','Compton Acres','Compton-Acres_thumb.jpg',130, 100,18,'photo_714818.html');
												thumbnails[727179] = new thumbnail(727179,'23387','Peckforton Castle and Sheep','Peckforton-Castle-and-Sheep_thumb.jpg',130, 85,18,'photo_727179.html');
												thumbnails[727188] = new thumbnail(727188,'23495','Compton Castle','Compton-Castle_thumb.jpg',130, 90,18,'photo_727188.html');
												thumbnails[728157] = new thumbnail(728157,'411820','Dalemain - Autumn Garden and Fountain','Dalemain_Autumn_Garden_and_Fountain-2_thumb.jpg',130, 87,18,'photo_728157.html');
												thumbnails[733210] = new thumbnail(733210,'189607','Alliums in early Summer','Alliums-in-Early-Summer_thumb.jpg',130, 87,18,'photo_733210.html');
												thumbnails[737655] = new thumbnail(737655,'23493','Gawsworth Hall in May','Gawsworth-Hall-in-May_thumb.jpg',130, 84,18,'photo_737655.html');
												thumbnails[738972] = new thumbnail(738972,'23495','Athelhampton House and Lawns','Athelhampton-House-and-Lawns_thumb.jpg',130, 85,18,'photo_738972.html');
												thumbnails[738985] = new thumbnail(738985,'411820','Bodnant - Canal Terrace and Pin Mill','Bodnant-Pin-Mill_thumb.jpg',130, 87,18,'photo_738985.html');
												thumbnails[752909] = new thumbnail(752909,'23495','Penrhyn Castle','Penrhyn-Castle_thumb.jpg',130, 80,18,'photo_752909.html');
												thumbnails[979972] = new thumbnail(979972,'23387','English Bluebells and New Foliage','English-Bluebells-and-New-Foliage_thumb.jpg',130, 87,18,'photo_979972.html');
												thumbnails[993008] = new thumbnail(993008,'189607','Hosta Leaf and Raindrops Detail','Hosta-Leaf-and-Raindrop-Detail_thumb.jpg',130, 90,18,'photo_993008.html');
												thumbnails[1521735] = new thumbnail(1521735,'23387','Windermere - Misty Yacht','Windermere-Misty-Yacht_thumb.jpg',130, 66,18,'photo_1521735.html');
												thumbnails[1532264] = new thumbnail(1532264,'23495','Sherborne Castle','Sherborne-Castle_thumb.jpg',130, 87,18,'photo_1532264.html');
												thumbnails[1534842] = new thumbnail(1534842,'23495','Beaumaris Castle','Beaumaris-Castle_thumb.jpg',130, 87,18,'photo_1534842.html');
												thumbnails[1546911] = new thumbnail(1546911,'23495','Thomas Telford\'s Suspension Bridge over the Menai Straits','Thomas-Telfords-Suspension-Bridge-over-the-Menai-Straits_thumb.jpg',130, 74,18,'photo_1546911.html');
												thumbnails[1560146] = new thumbnail(1560146,'106568','Chester - The River Dee, Weir and City Walls','Chester-River-Dee-Weir-and-City-Walls_thumb.jpg',130, 87,18,'photo_1560146.html');
												thumbnails[1560150] = new thumbnail(1560150,'106568','Chester - River Dee from the Old Dee Bridge','Chester-River-Dee-from-Bridge_thumb.jpg',130, 87,18,'photo_1560150.html');
												thumbnails[1588084] = new thumbnail(1588084,'23493','Styal Village','Styal-Village_thumb.jpg',130, 84,18,'photo_1588084.html');
												thumbnails[1592643] = new thumbnail(1592643,'23458','Gardens at Sherborne Castle','Sherborne-Castle-Gardens_thumb.jpg',130, 108,18,'photo_1592643.html');
												thumbnails[1672696] = new thumbnail(1672696,'23387','Durdle Door and Beach','Durdle-Door-and-Beach_thumb.jpg',130, 90,18,'photo_1672696.html');
												thumbnails[1672729] = new thumbnail(1672729,'23458','Tapeley Park House and Gardens','Tapeley-House-and-Gardens_thumb.jpg',130, 85,18,'photo_1672729.html');
												thumbnails[1677452] = new thumbnail(1677452,'106568','Chester - Pleasure Boat on the River Dee','Chester-Boat-on-Dee_thumb.jpg',130, 63,18,'photo_1677452.html');
												thumbnails[2603492] = new thumbnail(2603492,'23495','Knightshayes Court Before the Rain','Knightshayes-Court-Before-the-Rain_thumb.jpg',130, 93,18,'photo_2603492.html');
												thumbnails[2603494] = new thumbnail(2603494,'189607','Tulips after the Rain','Tulips-After-The-Rain_thumb.jpg',130, 87,18,'photo_2603494.html');
												thumbnails[3045990] = new thumbnail(3045990,'23387','Tree in Field near Ullswater','Tre-in-Field-near-Ullswater_thumb.jpg',130, 87,18,'photo_3045990.html');
												thumbnails[3048880] = new thumbnail(3048880,'23456','Conwy Castle Bridges','Conwy-Castle-Bridges_thumb.jpg',130, 87,18,'photo_3048880.html');
												thumbnails[3048897] = new thumbnail(3048897,'189618','Portmeirion - Sky and Hillside','Portmeirion-Sky-and-Hillside_thumb.jpg',130, 87,18,'photo_3048897.html');
												thumbnails[3048901] = new thumbnail(3048901,'189618','Portmeirion - View Along Beach to Village','Portmeirion-View-Along-Beach-to-Village_thumb.jpg',130, 90,18,'photo_3048901.html');
												thumbnails[3067265] = new thumbnail(3067265,'189607','Daffodils','Daffodils_thumb.jpg',130, 87,18,'photo_3067265.html');
												thumbnails[3067272] = new thumbnail(3067272,'189607','Heleniums','Heleniums_thumb.jpg',130, 87,18,'photo_3067272.html');
												thumbnails[3077757] = new thumbnail(3077757,'23495','Barrington Court','Barrington-Court_thumb.jpg',130, 80,18,'photo_3077757.html');
												thumbnails[3077763] = new thumbnail(3077763,'23495','Criccieth Castle and Beach','Criccieth-Castle-and-Beach_thumb.jpg',130, 87,18,'photo_3077763.html');
												thumbnails[3077767] = new thumbnail(3077767,'23495','Hutton in the Forest Detail','Hutton-in-the-Forest-Detail_thumb.jpg',130, 95,18,'photo_3077767.html');
												thumbnails[3415403] = new thumbnail(3415403,'189618','Portmeirion - Gateway and Preacher','Portmeirion-Gateway-and-Preacher_thumb.jpg',130, 87,18,'photo_3415403.html');
												thumbnails[3415409] = new thumbnail(3415409,'189618','Portmeirion - Observatory and Beach','Portmeirion-Observatory-and-Beach_thumb.jpg',130, 87,18,'photo_3415409.html');
												thumbnails[3415413] = new thumbnail(3415413,'189618','Portmeirion - Pantheon and Hillside','Portmeirion-Pantheon-and-Hillside_thumb.jpg',130, 84,18,'photo_3415413.html');
												thumbnails[3415416] = new thumbnail(3415416,'189618','Portmeirion - Houses on Hill','Portmeirion-Houses-on-Hillside_thumb.jpg',130, 87,18,'photo_3415416.html');
												thumbnails[3526427] = new thumbnail(3526427,'189607','The Golden Leaves of Autumn','The-Golden-Leaves-of-Autumn_thumb.jpg',130, 87,18,'photo_3526427.html');
												thumbnails[7572274] = new thumbnail(7572274,'106568','Chester - Eastgate Street at the Junction with St. Werburgh Street','Chester-Eastgate-Street-Junction-with-Werburgh-Street_thumb.jpg',130, 85,18,'photo_7572274.html');
												thumbnails[7572275] = new thumbnail(7572275,'106568','Chester - Eastgate Street Towards Clock','Chester-Eastgate-Street-Towards-Clock_thumb.jpg',130, 87,18,'photo_7572275.html');
												thumbnails[7572276] = new thumbnail(7572276,'106568','Chester - Colourful Boats on the River Dee','Chester-Colourful-Boats-on-River-Dee_thumb.jpg',130, 87,18,'photo_7572276.html');
												thumbnails[7572277] = new thumbnail(7572277,'23456','Children on Newborough Beach','Children-on-Newborough-Beach_thumb.jpg',130, 67,18,'photo_7572277.html');
												thumbnails[7572287] = new thumbnail(7572287,'23456','Criccieth - Bay and Mountains','Criccieth-Bay-and-Mountains_thumb.jpg',130, 87,18,'photo_7572287.html');
												thumbnails[7575234] = new thumbnail(7575234,'23387','Newborough Beach - Dunes, Grass and Mountains','Newborough-Beach-Dunes-Grass-and-Mountains_thumb.jpg',130, 87,18,'photo_7575234.html');
												thumbnails[7575238] = new thumbnail(7575238,'23456','Hawkshead - Saint Michael and All Angels Church','Hawkshead-St-Michael-and-All-Angels_thumb.jpg',130, 87,18,'photo_7575238.html');
												thumbnails[7575241] = new thumbnail(7575241,'23387','Snowshill Lavender','Snowshill-Lavender_thumb.jpg',130, 87,18,'photo_7575241.html');
												thumbnails[7578696] = new thumbnail(7578696,'23387','Flight over Ullswater','Flight-Over-Ullswater_thumb.jpg',130, 59,18,'photo_7578696.html');
												thumbnails[7579859] = new thumbnail(7579859,'411730','Sandbach - Black Bear Pub','Sandbach-Black-Bear-Pub_thumb.jpg',130, 96,18,'photo_7579859.html');
												thumbnails[7579862] = new thumbnail(7579862,'411730','Styal Country Park - Beech Woods','Styal-Country-Park-Beech-Woods_thumb.jpg',130, 87,18,'photo_7579862.html');
												thumbnails[7588445] = new thumbnail(7588445,'411730','Tegg\'s Nose Country Park - Plaque and Landscape','Teggs-Nose-Stone-Plaque-and-Landscape_thumb.jpg',130, 87,18,'photo_7588445.html');
												thumbnails[7588661] = new thumbnail(7588661,'23456','York - The Shambles','York-The-Shambles_thumb.jpg',130, 86,18,'photo_7588661.html');
												thumbnails[7588739] = new thumbnail(7588739,'23387','Bay at Porth Dinllaen','Bay-at-Porth-Dinllaen_thumb.jpg',130, 87,18,'photo_7588739.html');
												thumbnails[7593081] = new thumbnail(7593081,'23456','Bowness - Windermere at Dusk','Bowness-Windermere-at-Dusk_thumb.jpg',130, 91,18,'photo_7593081.html');
												thumbnails[7594385] = new thumbnail(7594385,'23495','Dove Cottage in Spring','Dove-Cottage-in-Spring_thumb.jpg',130, 87,18,'photo_7594385.html');
												thumbnails[7598035] = new thumbnail(7598035,'23495','Forde Abbey','Forde-Abbey_thumb.jpg',130, 87,18,'photo_7598035.html');
												thumbnails[7598045] = new thumbnail(7598045,'23495','Llangollen - Plas Newydd','Llangollen-Plas-Newydd_thumb.jpg',130, 87,18,'photo_7598045.html');
												thumbnails[7601365] = new thumbnail(7601365,'189607','Agapanthus and Hot Border','Agapanthus-and-Hot-Border_thumb.jpg',130, 87,18,'photo_7601365.html');
												thumbnails[7601402] = new thumbnail(7601402,'189607','Climbing Roses on Brick Wall','Climbing-Roses-on-Brick-Wall_thumb.jpg',130, 87,18,'photo_7601402.html');
												thumbnails[7604224] = new thumbnail(7604224,'411820','Dorothy Clive Garden - Tulips and Steps','Dorothy-Clive-Garden-Tulips-and-Steps_thumb.jpg',130, 87,18,'photo_7604224.html');
												thumbnails[7746847] = new thumbnail(7746847,'23387','Redesmere - Swan Procession','Redesmere-Swan-Procession_thumb.jpg',130, 82,18,'photo_7746847.html');
												thumbnails[7784100] = new thumbnail(7784100,'23495','Sezincote - House and Garden','Sezincote-House-and-Garden_thumb.jpg',130, 89,18,'photo_7784100.html');
												thumbnails[265161] = new thumbnail(265161,'23493','Mid-winter at Little Moreton Hall','Mid-Winter-at-Little-Moreton-Hall_thumb.jpg',130, 85,18,'photo_265161.html');
												thumbnails[265344] = new thumbnail(265344,'23495','Montacute House from Lawn','Montacute-House-from-Lawn_thumb.jpg',130, 95,18,'photo_265344.html');
												thumbnails[992999] = new thumbnail(992999,'23387','Bluebell Wood','Bluebell-Wood_thumb.jpg',130, 61,18,'photo_992999.html');
												thumbnails[3046120] = new thumbnail(3046120,'23387','Portmeirion - Beach, Couple and Dog','Portmeirion-Beach-Couple-and-Dog_thumb.jpg',130, 54,18,'photo_3046120.html');
												thumbnails[3067271] = new thumbnail(3067271,'411820','Athelhampton Gardens - Topiary','Athelhampton-Gardens-and-Topiary_thumb.jpg',130, 87,18,'photo_3067271.html');
												thumbnails[3067599] = new thumbnail(3067599,'23458','Chirk Castle - Statue and Autumn Trees','Chirk-Castle-Statue-and-Autumn-Trees_thumb.jpg',130, 93,18,'photo_3067599.html');
												thumbnails[3089186] = new thumbnail(3089186,'23458','Chirk Castle - Two Statues','Chirk-Castle-Two-Statues_thumb.jpg',130, 87,18,'photo_3089186.html');
												thumbnails[3089200] = new thumbnail(3089200,'23458','Chirk - Garden and Castle','Chirk-Garden-and-Castle_thumb.jpg',130, 89,18,'photo_3089200.html');
												thumbnails[3089201] = new thumbnail(3089201,'23458','Chirk Castle and Topiary','Chirk-Castle-and-Topiary-Avenue_thumb.jpg',130, 87,18,'photo_3089201.html');
												thumbnails[3089217] = new thumbnail(3089217,'23458','Chirk Castle - Pampas Grass and African hut','Chirk-Castle-Pampas-Grass-and-African-Hut_thumb.jpg',130, 87,18,'photo_3089217.html');
												thumbnails[3415419] = new thumbnail(3415419,'189618','Portmeirion - Preacher','Portmeirion-Preacher_thumb.jpg',130, 121,18,'photo_3415419.html');
												thumbnails[3526393] = new thumbnail(3526393,'23495','Montacute House in Heavy Cloud','Montacute-House-in-Heavy-Cloud_thumb.jpg',130, 91,18,'photo_3526393.html');
												thumbnails[7572278] = new thumbnail(7572278,'411844','Cholmondeley Castle and Daffodils','Cholmondeley-Castle-Gardens-and-Daffodils_thumb.jpg',130, 87,18,'photo_7572278.html');
												thumbnails[7572279] = new thumbnail(7572279,'411844','Cholmondeley Castle - Temple Garden in Autumn','Cholmondeley-Castle-Temple-Garden-in-Autumn_thumb.jpg',130, 87,18,'photo_7572279.html');
												thumbnails[7572281] = new thumbnail(7572281,'411844','Cholmondeley Castle - Roses and Catmint','Cholmondeley-Castle-Gardens-Roses-and-Catmint_thumb.jpg',130, 99,18,'photo_7572281.html');
												thumbnails[7572286] = new thumbnail(7572286,'411844','Cholmondeley Castle - Temple Garden in April','Cholmondeley-Castle-Temple-Garden-in-Spring_thumb.jpg',130, 87,18,'photo_7572286.html');
												thumbnails[7578499] = new thumbnail(7578499,'23456','Marbury - Church and Cow','Marbury-Church-and-Cow_thumb.jpg',130, 89,18,'photo_7578499.html');
												thumbnails[7578501] = new thumbnail(7578501,'23456','Marbury - Mere and Reflections','Marbury-Mere-and-Reflections_thumb.jpg',130, 87,18,'photo_7578501.html');
												thumbnails[7592572] = new thumbnail(7592572,'23493','Little Moreton Hall in the Snow','Little_Moreton_Hall_1_Jan_97_W_0_thumb.jpg',130, 88,18,'photo_7592572.html');
												thumbnails[7594368] = new thumbnail(7594368,'411844','Cholmondeley Castle Gardens - Climbing Roses','Cholmondeley-Castle-Climbing-Roses_thumb.jpg',130, 87,18,'photo_7594368.html');
												thumbnails[7594369] = new thumbnail(7594369,'411844','Cholmondeley Castle Gardens - Irises and Pond','Cholmondeley-Castle-Irises-and-Pond_thumb.jpg',130, 87,18,'photo_7594369.html');
												thumbnails[7594372] = new thumbnail(7594372,'411844','Cholmondeley Castle - Temple Garden April','Cholmondeley-Castle-Temple-Garden-April1_thumb.jpg',130, 63,18,'photo_7594372.html');
												thumbnails[7601369] = new thumbnail(7601369,'411820','Athelhampton House - Borders and Statue','Athelhampton-House-Borders-and-Statue_thumb.jpg',130, 92,18,'photo_7601369.html');
												thumbnails[7601425] = new thumbnail(7601425,'23495','Montacute House Detail','Montacute-House-Detail_thumb.jpg',130, 87,18,'photo_7601425.html');
												thumbnails[262075] = new thumbnail(262075,'23458','Erddig Hall - Canal and Reflection','Erddig-Hall-Canal-and-Reflection_thumb.jpg',130, 86,18,'photo_262075.html');
												thumbnails[280190] = new thumbnail(280190,'23495','Kingston Lacy','Kingston-Lacey_thumb.jpg',130, 86,18,'photo_280190.html');
												thumbnails[767336] = new thumbnail(767336,'23458','Erddig Hall - Borders and Clock','Erddig-Borders-and-Clock_thumb.jpg',130, 89,18,'photo_767336.html');
												thumbnails[1560135] = new thumbnail(1560135,'23456','Llandudno - Carousel','Llandudno-Carousel_thumb.jpg',130, 84,18,'photo_1560135.html');
												thumbnails[2603502] = new thumbnail(2603502,'23458','Erddig Hall - Tumbling Roses and Wall','Erddig-Roses-and-Wall_thumb.jpg',130, 87,18,'photo_2603502.html');
												thumbnails[7565287] = new thumbnail(7565287,'23493','Beeston Castle and Bridge from left','Beeston-Castle-and-Bridge-from-Left_thumb.jpg',130, 87,18,'photo_7565287.html');
												thumbnails[7565288] = new thumbnail(7565288,'23493','Beeston Castle from Right','Beeston-Castle_thumb.jpg',130, 87,18,'photo_7565288.html');
												thumbnails[7565335] = new thumbnail(7565335,'23493','Beeston Castle at Sunset','Beeston-Castle-at-Sunset_thumb.jpg',130, 67,18,'photo_7565335.html');
												thumbnails[7572282] = new thumbnail(7572282,'411844','Cholmondeley Castle Gardens - Roses and Nepata','Cholmondeley-Castle-Gardens-Roses-and-Nepata_thumb.jpg',130, 87,18,'photo_7572282.html');
												thumbnails[7598364] = new thumbnail(7598364,'23456','Llandudno Beach','Llandudno-Beach_thumb.jpg',130, 87,18,'photo_7598364.html');
												thumbnails[7604336] = new thumbnail(7604336,'23387','Boats at Brockhole','Boats-at-Brockhole_thumb.jpg',130, 87,18,'photo_7604336.html');
												thumbnails[7604337] = new thumbnail(7604337,'23387','Landing Stage on Windermere and Swans','Landing-Stage-on-Windermere-and-Swans_thumb.jpg',130, 87,18,'photo_7604337.html');
												thumbnails[342255] = new thumbnail(342255,'23456','Malpas - St. Oswald\'s Church and Cottages','Malpas-St-Oswalds-Church-and-Cottages_thumb.jpg',130, 87,18,'photo_342255.html');
												thumbnails[606309] = new thumbnail(606309,'411820','Killerton House - Urn Detail','Killerton-House-Urn_thumb.jpg',130, 87,18,'photo_606309.html');
												thumbnails[1545033] = new thumbnail(1545033,'23493','Dunham Massey - Gatehouse and Moat','Dunham-Massey-Gatehouse-and-Moat_thumb.jpg',130, 84,18,'photo_1545033.html');
												thumbnails[1560179] = new thumbnail(1560179,'106568','Chester - The Rows at the Cross, Detail','Chester-Rows-at-The-Cross-Detail_thumb.jpg',130, 96,18,'photo_1560179.html');
												thumbnails[1683732] = new thumbnail(1683732,'23493','Dunham Massey - Orangery','Dunham-Massey-Orangery_thumb.jpg',130, 87,18,'photo_1683732.html');
												thumbnails[1683736] = new thumbnail(1683736,'23493','Dunham Massey - Front and Drive','Dunham-Massey-Front_and_Drive_thumb.jpg',130, 98,18,'photo_1683736.html');
												thumbnails[7575236] = new thumbnail(7575236,'23493','Dunham Massey - Garden Reflections','Dunham-Massey-Garden-Reflections_thumb.jpg',130, 92,18,'photo_7575236.html');
												thumbnails[7575240] = new thumbnail(7575240,'411820','Killerton House - Border Detail','Killerton-House-Borders-Detail_thumb.jpg',130, 83,18,'photo_7575240.html');
												thumbnails[7575331] = new thumbnail(7575331,'23456','Malpas in January','Malpas-in-January_thumb.jpg',130, 93,18,'photo_7575331.html');
												thumbnails[7578503] = new thumbnail(7578503,'411730','Nantwich Street','Nantwich-Street_thumb.jpg',130, 87,18,'photo_7578503.html');
												thumbnails[7588516] = new thumbnail(7588516,'23495','Blenheim Palace','Blenheim-Palace_thumb.jpg',130, 84,18,'photo_7588516.html');
												thumbnails[7592656] = new thumbnail(7592656,'411820','Killerton - House and Borders','Killerton-House-Borders_thumb.jpg',130, 87,18,'photo_7592656.html');
												thumbnails[7592667] = new thumbnail(7592667,'411820','Killerton House - Urn and Flowers','Killerton-House-Urn-and-Flowers_thumb.jpg',130, 87,18,'photo_7592667.html');
												thumbnails[7593079] = new thumbnail(7593079,'23495','Blenheim Palace Detail','Blenheim-Palace-Detail_thumb.jpg',130, 87,18,'photo_7593079.html');
												thumbnails[7787197] = new thumbnail(7787197,'23495','Blenheim Palace and Sky','Blenheim-Palace-and-Sky_thumb.jpg',130, 88,18,'photo_7787197.html');
												thumbnails[262112] = new thumbnail(262112,'23456','Clovelly in Festive Mood','Clovelly-in-Festive-Mood_thumb.jpg',130, 85,18,'photo_262112.html');
												thumbnails[600270] = new thumbnail(600270,'23458','Powis Castle - Terraces Detail','Powis-Castle-Terraces-Detail_thumb.jpg',130, 69,18,'photo_600270.html');
												thumbnails[634739] = new thumbnail(634739,'23456','Clovelly - Harbour and Boats','Clovelly-Harbour-and-Boats_thumb.jpg',130, 84,18,'photo_634739.html');
												thumbnails[1955071] = new thumbnail(1955071,'411820','Knightshayes Court - Lily Pond and Statue','Knightshayes-Court-Lily-Pond_thumb.jpg',130, 87,18,'photo_1955071.html');
												thumbnails[3067259] = new thumbnail(3067259,'23458','Powis Castle - From Lower Garden','Powis-Castle-from-Lower-Garden_thumb.jpg',130, 87,18,'photo_3067259.html');
												thumbnails[3084751] = new thumbnail(3084751,'106568','Chester - The Cross, Finger Posts','Chester-The-Cross-Finger-Posts_thumb.jpg',130, 140,18,'photo_3084751.html');
												thumbnails[7565333] = new thumbnail(7565333,'23493','White Lion Inn at Barthomley','White-Lion-Inn-at-Barthomley_thumb.jpg',130, 87,18,'photo_7565333.html');
												thumbnails[7592698] = new thumbnail(7592698,'23458','Powis Castle - Piper and Terrace','Powis-Castle-Piper-and-Terrace_thumb.jpg',130, 88,18,'photo_7592698.html');
												thumbnails[7598374] = new thumbnail(7598374,'411820','Knightshayes Court - Statue and Path','Knightshayes-Court-Path-and-Statues_thumb.jpg',130, 99,18,'photo_7598374.html');
												thumbnails[7604170] = new thumbnail(7604170,'23495','Muncaster Castle - Festival of Fools Event','Muncaster-Castle-Festival-of-Fools-Event_thumb.jpg',130, 66,18,'photo_7604170.html');
												thumbnails[7604180] = new thumbnail(7604180,'23495','View from Muncaster Castle','View-from-Muncaster-Castle_thumb.jpg',130, 87,18,'photo_7604180.html');
												thumbnails[7604330] = new thumbnail(7604330,'411820','Knightshayes Court - Alliums and Terracotta','Knightshayes-Court-Alliums-and-Terracotta_thumb.jpg',130, 90,18,'photo_7604330.html');
												thumbnails[262160] = new thumbnail(262160,'23493','Cholmondeley Castle Gardens - Temple Garden Blossom','Cholmondeley-Castle-Gardens-Blossom_thumb.jpg',130, 88,18,'photo_262160.html');
												thumbnails[266813] = new thumbnail(266813,'23493','Cholmondeley Castle Gardens - Front Border in August','Cholmondeley-Castle-Gardens-Front-Border_thumb.jpg',130, 84,18,'photo_266813.html');
												thumbnails[570974] = new thumbnail(570974,'23456','Ludlow Castle and Dinham Bridge','Ludlow-Castle-and-Dinham-Bridge_thumb.jpg',130, 87,18,'photo_570974.html');
												thumbnails[1534859] = new thumbnail(1534859,'411820','Barrington Court - Barn and Phlox','Barrington-Court-Barn-and-Phlox_thumb.jpg',130, 87,18,'photo_1534859.html');
												thumbnails[1585963] = new thumbnail(1585963,'23456','Ludlow - Feathers Hotel Detail','Ludlow-Feathers-Hotel-Detail_thumb.jpg',130, 84,18,'photo_1585963.html');
												thumbnails[1677440] = new thumbnail(1677440,'106568','Chester - Eastgate Street North, Detail','Chester-Eastgate-Street-North-Detail_thumb.jpg',130, 135,18,'photo_1677440.html');
												thumbnails[3415397] = new thumbnail(3415397,'189618','Portmeirion - Pantheon','Portmeirion-_Pantheon_thumb.jpg',130, 188,18,'photo_3415397.html');
												thumbnails[7566029] = new thumbnail(7566029,'411820','Barrington Court - White Garden','Barrington-Court-White-Garden_thumb.jpg',130, 87,18,'photo_7566029.html');
												thumbnails[7575237] = new thumbnail(7575237,'409822','Gawsworth Hall and Gardens','Gawsworth-Hall-and-Gardens_thumb.jpg',130, 88,18,'photo_7575237.html');
												thumbnails[7604403] = new thumbnail(7604403,'23495','Erddig Hall - Entrance and Steps','Erddig-Hall-Entrance-and-Steps_thumb.jpg',130, 77,18,'photo_7604403.html');
												thumbnails[7604412] = new thumbnail(7604412,'23495','Erddig Hall - Garden Entrance','Erddig-Hall-Garden-Entrance_thumb.jpg',130, 89,18,'photo_7604412.html');
												thumbnails[356245] = new thumbnail(356245,'23458','Montacute House - Border Detail','Montacute-House-Border-Detail_thumb.jpg',130, 102,18,'photo_356245.html');
												thumbnails[600271] = new thumbnail(600271,'23458','Montacute House - Border','Montacute-House-Border_thumb.jpg',130, 84,18,'photo_600271.html');
												thumbnails[7565344] = new thumbnail(7565344,'23493','Arley Hall and Gardens - Double Herbaceous Borders','Arley-Hall-and-Gardens-Herbaceous-Borders_thumb.jpg',130, 116,18,'photo_7565344.html');
												thumbnails[265257] = new thumbnail(265257,'23493','Tatton Park Japanese Garden - Tea House','Tatton-Park-Japanese-Garden-Tea-House_thumb.jpg',130, 85,18,'photo_265257.html');
												thumbnails[272313] = new thumbnail(272313,'23493','Tatton Park - Italian Garden','Tatton-Park-Italian-Garden_thumb.jpg',130, 87,18,'photo_272313.html');
												thumbnails[358324] = new thumbnail(358324,'23458','Bicton Park - Palm House','Bicton-Park-Palm-House_thumb.jpg',130, 85,18,'photo_358324.html');
												thumbnails[3067273] = new thumbnail(3067273,'23458','Bicton Park - Herbaceous Border','Bicton-Park-Herbaceous-Border_thumb.jpg',130, 87,18,'photo_3067273.html');
												thumbnails[7567705] = new thumbnail(7567705,'23456','Llanbedrog - Beach Huts','Beach-Huts-at-Llanbedrog-Beach_thumb.jpg',130, 87,18,'photo_7567705.html');
												thumbnails[7575243] = new thumbnail(7575243,'409822','Little Moreton Hall and Moat','Little-Moreton-Hall-and-Moat_thumb.jpg',130, 87,18,'photo_7575243.html');
												thumbnails[7575244] = new thumbnail(7575244,'409822','Little Moreton Hall - Detail','Little-Moreton-Hall-Detail_thumb.jpg',130, 87,18,'photo_7575244.html');
												thumbnails[7575245] = new thumbnail(7575245,'409822','Little Moreton Hall Hall from Drive','Little-Moreton-Hall-from-Drive_thumb.jpg',130, 87,18,'photo_7575245.html');
												thumbnails[7575246] = new thumbnail(7575246,'409822','Little Moreton Hall from Right','Little-Moreton-Hall-from-Right_thumb.jpg',130, 87,18,'photo_7575246.html');
												thumbnails[7575247] = new thumbnail(7575247,'23456','Llanbedrog Beach','Llanbedrog-Beach-and-Sunbathers_thumb.jpg',130, 72,18,'photo_7575247.html');
												thumbnails[8113432] = new thumbnail(8113432,'23456','Llanbedrog Beach - Beach Huts','Llanbedrog-Beach-Beach-Huts_thumb.jpg',130, 62,18,'photo_8113432.html');
												thumbnails[632681] = new thumbnail(632681,'23493','Peckforton Castle Through Trees','Peckforton-Castle-Through-Trees_thumb.jpg',130, 85,18,'photo_632681.html');
												thumbnails[3067606] = new thumbnail(3067606,'23458','Hestercombe Gardens - Urn and Lavender','Hestercombe-Gardens-Urn-and-Lavender_thumb.jpg',130, 87,18,'photo_3067606.html');
												thumbnails[3067609] = new thumbnail(3067609,'23458','Hestercombe Gardens - Fountain Detail','Hestercombe-Gardens-Fountain-Detail_thumb.jpg',130, 87,18,'photo_3067609.html');
												thumbnails[7575239] = new thumbnail(7575239,'23458','Hestercombe Gardens - Fountain','Hestercombe-Gardens-Fountain_thumb.jpg',130, 87,18,'photo_7575239.html');
												thumbnails[7578520] = new thumbnail(7578520,'409822','Norton Priory Walled Garden - Path to Gardener\'s Cottage','Norton-Priory-Path-to-Gardeners-Cottage_thumb.jpg',130, 87,18,'photo_7578520.html');
												thumbnails[7578521] = new thumbnail(7578521,'409822','Norton Priory Walled Garden - Urn Roses and Path','Norton-Priory-Urn-Roses-and-Path_thumb.jpg',130, 87,18,'photo_7578521.html');
												thumbnails[7604344] = new thumbnail(7604344,'23458','Hestercombe Gardens','Hestercombe-Gardens_thumb.jpg',130, 99,18,'photo_7604344.html');
												thumbnails[767246] = new thumbnail(767246,'23458','Mapperton House and Gardens - Statue and Pond','Mapperton-House-and-Gardens-Statue-and-Pond_thumb.jpg',130, 87,18,'photo_767246.html');
												thumbnails[7565938] = new thumbnail(7565938,'23456','Aberdaron - Beach and Bathers','Aberdaron-Beach-and-Bathers_thumb.jpg',130, 64,18,'photo_7565938.html');
												thumbnails[7578536] = new thumbnail(7578536,'23493','Peckforton Castle from Courtyard','Peckforton-Castle-from-Courtyard_thumb.jpg',130, 84,18,'photo_7578536.html');
												thumbnails[7579856] = new thumbnail(7579856,'409822','Rode Hall - Dahlias, Verbena and Statue','Rode-Hall-Dahlias-Verbena-and-Statue_thumb.jpg',130, 86,18,'photo_7579856.html');
												thumbnails[7579857] = new thumbnail(7579857,'409822','Rode Hall - Kitchen Garden, Cottage and Flowers','Rode-Hall-Kitchen-Garden-Cottage-and-Flowers_thumb.jpg',130, 103,18,'photo_7579857.html');
												thumbnails[7588439] = new thumbnail(7588439,'23456','Aberdaron - St Hywyn\'s Church','St-Hywyns-Church-Aberdaron_thumb.jpg',130, 87,18,'photo_7588439.html');
												thumbnails[265305] = new thumbnail(265305,'106568','Chester - The Groves at Dusk','Chester-The-Groves-at-Dusk_thumb.jpg',130, 194,18,'photo_265305.html');
												thumbnails[701759] = new thumbnail(701759,'23456','Dawlish Boats','Dawlish-Boats_thumb.jpg',130, 195,18,'photo_701759.html');
												thumbnails[3067270] = new thumbnail(3067270,'23458','Biddulph Grange Gardens - Cheshire Cottage','Biddulph-Grange-Gardens-Cheshire-Cottage_thumb.jpg',130, 87,18,'photo_3067270.html');
												thumbnails[3415401] = new thumbnail(3415401,'189618','Portmeirion - The Triumphal Arch','Portmeirion-Gateway_thumb.jpg',130, 195,18,'photo_3415401.html');
												thumbnails[7565221] = new thumbnail(7565221,'409822','Lyme Park - Tulips and Terrace','Lyme-Park-Tulips-and-Terrace_thumb.jpg',130, 87,18,'photo_7565221.html');
												thumbnails[7565286] = new thumbnail(7565286,'23387','Aira Force - Waterfall Detail','Aira-Force-Waterfall-Detail_thumb.jpg',130, 87,18,'photo_7565286.html');
												thumbnails[7565341] = new thumbnail(7565341,'411730','Canal Boat at Anderton, Detail','Canal-Boat-at-Anderton-Detail_thumb.jpg',130, 87,18,'photo_7565341.html');
												thumbnails[7575248] = new thumbnail(7575248,'409822','Lyme Park - Conservatory and Spring Bedding','Lyme-Park-Conservatory-and-Spring-Bedding_thumb.jpg',130, 89,18,'photo_7575248.html');
												thumbnails[7575249] = new thumbnail(7575249,'409822','Lyme Park - Daffodils','Lyme-Park-Daffodils_thumb.jpg',130, 87,18,'photo_7575249.html');
												thumbnails[7575250] = new thumbnail(7575250,'409822','Lyme Park - Mansion Detail','Lyme-Park-Mansion-Detail_thumb.jpg',130, 87,18,'photo_7575250.html');
												thumbnails[7575328] = new thumbnail(7575328,'409822','Lyme Park - Lake and Daffodils','Lyme-Park-Lake-and-Daffodils_thumb.jpg',130, 87,18,'photo_7575328.html');
												thumbnails[7575329] = new thumbnail(7575329,'409822','Lyme Park - Mansion Reflection','Lyme-Park-Mansion-Reflection-2_thumb.jpg',130, 87,18,'photo_7575329.html');
												thumbnails[7578451] = new thumbnail(7578451,'409822','Lyme Park - Narcissi','Lyme-Park-Narcissi_thumb.jpg',130, 63,18,'photo_7578451.html');
												thumbnails[7795948] = new thumbnail(7795948,'189607','Yellow Tulips','Yellow-Tulips_thumb.jpg',130, 69,18,'photo_7795948.html');
												thumbnails[3046147] = new thumbnail(3046147,'23387','Burwardsley - Sunset','Burwardsley-Sunset_thumb.jpg',130, 166,18,'photo_3046147.html');
												thumbnails[3067535] = new thumbnail(3067535,'411820','Wollerton Old Hall Gardens - Phlox Border','Wollerton-Old-Hall-Gardens-Phlox-Border_thumb.jpg',130, 119,18,'photo_3067535.html');
												thumbnails[7588442] = new thumbnail(7588442,'409822','Tatton Park - Kitchen Garden, Cosmos, Verbena and Sunflowers','Tatton-Park-Kitchen-Garden-Cosmos-Verbena-and-Sunflowers_thumb.jpg',130, 89,18,'photo_7588442.html');
												thumbnails[7588443] = new thumbnail(7588443,'409822','Tatton Park - Path and Rhododendrons','Tatton-Park-Path-and-Rhododendrons_thumb.jpg',130, 87,18,'photo_7588443.html');
												thumbnails[7588444] = new thumbnail(7588444,'409822','Tatton Park - Rhododendron Reflections','Tatton-Park-Rhododendron-Reflections_thumb.jpg',130, 65,18,'photo_7588444.html');
												thumbnails[7588506] = new thumbnail(7588506,'409822','Tatton Park - Spring Flowers in Italian Garden','Tatton-Park-Spring-Flowers-in-Italian-Garden_thumb.jpg',130, 87,18,'photo_7588506.html');
												thumbnails[7588515] = new thumbnail(7588515,'409822','Tatton Park - Gate Detail','Tatton-Park-Gate-Detail_thumb.jpg',130, 85,18,'photo_7588515.html');
												thumbnails[7588517] = new thumbnail(7588517,'411820','Wollerton Old Hall Gardens - The Rill Garden in April','Wollerton-Old-Hall-Gardens-Rill-Garden-in-Spring_thumb.jpg',130, 85,18,'photo_7588517.html');
												thumbnails[7754279] = new thumbnail(7754279,'411820','Wollerton Old Hall Gardens - Tulip Border','Wollerton-Old-Hall-Gardens-Tulip-Border_thumb.jpg',130, 86,18,'photo_7754279.html');
												thumbnails[7565336] = new thumbnail(7565336,'411730','Brereton Heath Local Nature Reserve - Ducks in Flight','Brereton-Heath-Ducks-in-Flight_thumb.jpg',130, 87,18,'photo_7565336.html');
												thumbnails[7566030] = new thumbnail(7566030,'411730','Brereton Heath Local Nature Reserve - Reflections','Brereton-Heath-Reflections_thumb.jpg',130, 62,18,'photo_7566030.html');
												thumbnails[7575233] = new thumbnail(7575233,'23387','Newborough Beach - Dunes Grass and Sky','Newborough-Beach-Dunes-Grass-and-Sky_thumb.jpg',130, 195,18,'photo_7575233.html');
												thumbnails[7566026] = new thumbnail(7566026,'411730','Audlem - St. James Church and Flags','Audlem-St-James-Church-and-Flags_thumb.jpg',130, 94,18,'photo_7566026.html');
												thumbnails[7578500] = new thumbnail(7578500,'411730','Marbury Country Park - Lime Avenue in November','Marbury-Country-Park-Lime-Avenue_thumb.jpg',130, 87,18,'photo_7578500.html');
												thumbnails[7566027] = new thumbnail(7566027,'411730','Audlem - Union Flags','Audlem-Union-Flags_thumb.jpg',130, 87,18,'photo_7566027.html');
												thumbnails[7578502] = new thumbnail(7578502,'409822','Mount Pleasant Gardens - Sunflower and Geums','Mount-Pleasant-Gardens-Sunflower-and-Geums_thumb.jpg',130, 87,18,'photo_7578502.html');
												thumbnails[7578519] = new thumbnail(7578519,'409822','Ness Botanic Gardens - Laburnum Arch','Ness-Botanic-Gardens-Laburnum-Arch_thumb.jpg',130, 101,18,'photo_7578519.html');
												thumbnails[262219] = new thumbnail(262219,'23456','Lyme Regis - The Cobb','Lyme-Regis-The-Cobb_thumb.jpg',130, 202,18,'photo_262219.html');
												thumbnails[1532482] = new thumbnail(1532482,'23495','Chirk Castle and Yew Avenue','Chirk-Castle-and-Yew-Avenue_thumb.jpg',130, 73,18,'photo_1532482.html');
												thumbnails[3042499] = new thumbnail(3042499,'23387','View Across the Onny Valley from the Long Mynd','View-Across-the-Onny-Valley-from-the-Long-Mynd_thumb.jpg',130, 198,18,'photo_3042499.html');
												thumbnails[3415421] = new thumbnail(3415421,'189618','Portmeirion - Statue of Hercules','Portmeirion-Hercules-Statue_thumb.jpg',130, 195,18,'photo_3415421.html');
												thumbnails[7745212] = new thumbnail(7745212,'189618','','Portmeirion-Detail_thumb.jpg',130, 195,18,'photo_7745212.html');
												thumbnails[726937] = new thumbnail(726937,'106568','Chester - St. Michael\'s Arcade','Chester-St-Michaels-Arcade_thumb.jpg',130, 195,18,'photo_726937.html');
												thumbnails[3067600] = new thumbnail(3067600,'23458','Chirk Castle - View from Garden','Chirk-Castle-View-From-Garden_thumb.jpg',130, 109,18,'photo_3067600.html');
												thumbnails[7588518] = new thumbnail(7588518,'23495','York Castle','York-Castle_thumb.jpg',130, 87,18,'photo_7588518.html');
												thumbnails[7588519] = new thumbnail(7588519,'23495','York Minster Aisle','York-Minster-Aisle_thumb.jpg',130, 90,18,'photo_7588519.html');
												thumbnails[727283] = new thumbnail(727283,'106568','Chester - Eastgate Street and Clock','Chester-Eastgate-Street-and-Clock_thumb.jpg',130, 195,18,'photo_727283.html');
												thumbnails[1683698] = new thumbnail(1683698,'23458','Chirk Castle - Statue and Rhododendrons','Chirk-Castle-Statue-and-Rhododendrons1_thumb.jpg',130, 130,18,'photo_1683698.html');
												thumbnails[7572289] = new thumbnail(7572289,'411820','Dalemain - from Side, Autumn View','Dalemain-from-Side-Autumn-View_thumb.jpg',130, 153,18,'photo_7572289.html');
												thumbnails[262188] = new thumbnail(262188,'23387','White Horse and Blossom','White-Horse-and-Blossom_thumb.jpg',130, 199,18,'photo_262188.html');
												thumbnails[727186] = new thumbnail(727186,'23495','Dalemain - View from the side, in Spring','Dalemain-View-from-Side-in-Spring_thumb.jpg',130, 115,18,'photo_727186.html');
												thumbnails[749044] = new thumbnail(749044,'23458','Tapeley Park Kitchen Garden','Tapeley-Park-Kitchen-Garden_thumb.jpg',130, 158,18,'photo_749044.html');
												thumbnails[3067690] = new thumbnail(3067690,'189607','Mecanopsis Poppies','Mecanopsis-Poppies_thumb.jpg',130, 92,18,'photo_3067690.html');
												thumbnails[7565334] = new thumbnail(7565334,'23493','Beeston Castle and Cheshire Plain','Beeston-Castle-and-Cheshire-Plain_thumb.jpg',130, 195,18,'photo_7565334.html');
												thumbnails[7567706] = new thumbnail(7567706,'409822','Capesthorne Hall - Boat House and Waterfall','Capesthorne-Hall-Boat-House-and-Waterfall_thumb.jpg',130, 87,18,'photo_7567706.html');
												thumbnails[7567707] = new thumbnail(7567707,'409822','Capesthorne Hall - Long Border','Capesthorne-Hall-Long-Border_thumb.jpg',130, 93,18,'photo_7567707.html');
												thumbnails[7604156] = new thumbnail(7604156,'411820','Dalemain - Roses','Dalemain-Roses_thumb.jpg',130, 184,18,'photo_7604156.html');
												thumbnails[7565345] = new thumbnail(7565345,'409822','Arley Hall and Gardens - Holm Oak Avenue and Sundial','Arley-Holm-Oak-Avenue-and-Sundial_thumb.jpg',130, 87,18,'photo_7565345.html');
												thumbnails[7565940] = new thumbnail(7565940,'409822','Arley Hall and Gardens - Rhododendrons and Hall','Arley-Rhododendrons-and-Hall_thumb.jpg',130, 87,18,'photo_7565940.html');
												thumbnails[7565342] = new thumbnail(7565342,'411730','Anderton Nature Park - Dragonfly Reflected in Water','Anderton-Nature-Park-Dragonfly-reflected-in-Water_thumb.jpg',130, 134,18,'photo_7565342.html');
												thumbnails[7565939] = new thumbnail(7565939,'409822','Arley Hall and Gardens - Lavender, Statue and Path','Arley-Lavender-Statue-and-Path_thumb.jpg',130, 109,18,'photo_7565939.html');
												thumbnails[7575259] = new thumbnail(7575259,'409822','Little Moreton Hall - Knot Garden','Little-Moreton-Hall-Knot-Garden_thumb.jpg',130, 121,18,'photo_7575259.html');
												thumbnails[7579858] = new thumbnail(7579858,'409822','Rode Hall - Statue and Deck Chairs','Rode-Hall-Statue-and-Deck-Chairs_thumb.jpg',130, 109,18,'photo_7579858.html');
												thumbnails[7588446] = new thumbnail(7588446,'411730','Tegg\'s Nose Country Park - Wall and Sheep','Teggs-Nose-Country-Park-Wall-and-Sheep_thumb.jpg',130, 147,18,'photo_7588446.html');
												thumbnails[7784984] = new thumbnail(7784984,'411820','Sezincote - House and Fountain','Sezincote-House-and-Fountain_thumb.jpg',130, 195,18,'photo_7784984.html');
												thumbnails[7565218] = new thumbnail(7565218,'409822','Arley Hall and Gardens - Border and Heleniums','Arley-Border-and-Heleniums_thumb.jpg',130, 202,18,'photo_7565218.html');
												thumbnails[7565343] = new thumbnail(7565343,'409822','Arley Hall and Gardens - Herb Garden and Robin','Arley-Hall-Herb-Garden-and-Robin_thumb.jpg',130, 184,18,'photo_7565343.html');
												thumbnails[7565941] = new thumbnail(7565941,'409822','Arley Hall and Gardens - Statue and Pond','Arley-Statue-and-Pond_thumb.jpg',130, 195,18,'photo_7565941.html');
												thumbnails[265213] = new thumbnail(265213,'23458','Hill Top - Vegetable Patch','Hill-Top-Autumn-Garden-and-Vegetable-Patch_thumb.jpg',130, 201,18,'photo_265213.html');
												thumbnails[3067616] = new thumbnail(3067616,'23458','Hill Top - Summer Border','Hill-Top-Summer-Border_thumb.jpg',130, 197,18,'photo_3067616.html');
												thumbnails[265361] = new thumbnail(265361,'23387','Shropshire Union Canal at Dusk','Shropshire-Union-Canal-at-Dusk_thumb.jpg',130, 201,18,'photo_265361.html');
												thumbnails[269172] = new thumbnail(269172,'411820','Arlington Court - Border and Bench','Arlington-Court-Border-and-Bench_thumb.jpg',130, 187,18,'photo_269172.html');
												thumbnails[7579854] = new thumbnail(7579854,'409822','Quarry Bank Mill and Rhododendron','Quarry-Bank-Mill-and-Rhododendron_thumb.jpg',130, 195,18,'photo_7579854.html');
												thumbnails[7579855] = new thumbnail(7579855,'409822','Rode Hall - Bluebell Path','Rode-Hall-Bluebells_thumb.jpg',130, 192,18,'photo_7579855.html');
												thumbnails[7567704] = new thumbnail(7567704,'411730','Astbury Village Green, Daffodils and Church','Astbury-Village-Green-Daffodils-and-Church_thumb.jpg',130, 169,18,'photo_7567704.html');
												thumbnails[7579861] = new thumbnail(7579861,'411730','Sandbach - Anglo Saxon Stone Crosses','Sandbach-Anglo-Saxon-Crosses_thumb.jpg',130, 195,18,'photo_7579861.html');
												thumbnails[269137] = new thumbnail(269137,'189607','Roses and Loosestrife in a Cottage Garden','Roses-and_Loosestrife-in-a-Cottage-Garden_thumb.jpg',130, 199,18,'photo_269137.html');
												thumbnails[1677457] = new thumbnail(1677457,'106568','Chester - The Three Old Arches','Chester-The-Three-Old-Arches_thumb.jpg',130, 161,18,'photo_1677457.html');
												thumbnails[7565220] = new thumbnail(7565220,'411844','Cholmondeley Castle - Temple Garden and Lake in Spring','Cholmondeley-Castle-Temple-Garden-Lake-in-Spring_thumb.jpg',130, 175,18,'photo_7565220.html');
												thumbnails[7565290] = new thumbnail(7565290,'411844','Cholmondeley Castle Gardens - Castle and Roses','Cholmondeley-Castle-Gardens-and-Roses_thumb.jpg',130, 195,18,'photo_7565290.html');
												thumbnails[7572280] = new thumbnail(7572280,'411844','Cholmondeley Castle - Temple Garden and Daffodils','Cholmondeley-Temple-Garden-Daffodils_thumb.jpg',130, 195,18,'photo_7572280.html');
												thumbnails[7572283] = new thumbnail(7572283,'411844','Cholmondeley Castle Gardens - Statue and Azaleas','Cholmondeley-Castle-Gardens-Statue-and-Azaleas_thumb.jpg',130, 195,18,'photo_7572283.html');
												thumbnails[7594367] = new thumbnail(7594367,'411844','Cholmondeley Castle Gardens - Aubretia and Violas','Cholmondeley-Castle-Gardens-Aubretia-and-Violas_thumb.jpg',130, 195,18,'photo_7594367.html');
												thumbnails[7594370] = new thumbnail(7594370,'411844','Cholmondeley Castle Gardens - Mosaic','Cholmondeley-Castle-Gardens-Mosaic_thumb.jpg',130, 195,18,'photo_7594370.html');
												thumbnails[7594371] = new thumbnail(7594371,'411844','Cholmondeley Castle Gardens - Statue and Clouds','Cholmondeley-Castle-Gardens-Statue-and-Clouds_thumb.jpg',130, 195,18,'photo_7594371.html');
												thumbnails[7594373] = new thumbnail(7594373,'411844','Cholmondeley Castle - Temple Garden in October','Cholmondeley-Castle-Temple-Garden-October_thumb.jpg',130, 195,18,'photo_7594373.html');
												thumbnails[7594397] = new thumbnail(7594397,'411844','Cholmondeley Castle Gardens - Gate Detail','Cholmondeley-Castle-Gardens-Gate-Detail_thumb.jpg',130, 195,18,'photo_7594397.html');
												thumbnails[7746408] = new thumbnail(7746408,'411820','Sudeley Castle - Tithe Barn and Carp Pond','Sudeley-Castle-Tithe-Barn-and-Carp-Pond_thumb.jpg',130, 195,18,'photo_7746408.html');
												thumbnails[7746410] = new thumbnail(7746410,'411820','Sudeley Castle - Garden Gateway','Sudley-Castle-Garden-Gateway_thumb.jpg',130, 195,18,'photo_7746410.html');
												thumbnails[649301] = new thumbnail(649301,'23458','Chirk Castle - Shadows and Roses','Chirk-Castle-Shadows-and-Roses_thumb.jpg',130, 198,18,'photo_649301.html');
												thumbnails[3089237] = new thumbnail(3089237,'23458','Chirk Castle - African Hut and Border','Chirk-African-Hut-and-Border_thumb.jpg',130, 195,18,'photo_3089237.html');
												thumbnails[3089250] = new thumbnail(3089250,'23458','Chirk Castle - Statue Detail','Chirk-Castle-Statue-Detail_thumb.jpg',130, 195,18,'photo_3089250.html');
												thumbnails[266805] = new thumbnail(266805,'23387','Hay Bale in a Cheshire Field','Hay-Bale-in-a-Cheshire-Field_thumb.jpg',130, 198,18,'photo_266805.html');
												thumbnails[1677463] = new thumbnail(1677463,'106568','Chester - Ye Olde Boot Inn','Chester-Ye-Olde-Boot-Inn-from-Street_thumb.jpg',130, 199,18,'photo_1677463.html');
												thumbnails[7565219] = new thumbnail(7565219,'189607','Sunflowers and Sky','Sunflowers_thumb.jpg',130, 195,18,'photo_7565219.html');
												thumbnails[7588633] = new thumbnail(7588633,'23495','York Minster and Statue','York-Minster-and-Statue_thumb.jpg',130, 195,18,'photo_7588633.html');
												thumbnails[7598057] = new thumbnail(7598057,'23495','York Minster - View to Rose Window','York-Minster-View-to-Rose-Window_thumb.jpg',130, 195,18,'photo_7598057.html');
												thumbnails[631449] = new thumbnail(631449,'23493','Little Moreton Hall, Ducks and Snow','Little-Moreton-Hall-Ducks-and-Snow_thumb.jpg',130, 201,18,'photo_631449.html');
												thumbnails[7588634] = new thumbnail(7588634,'23495','York - Treasurer\'s House','York-Treasurers-House_thumb.jpg',130, 195,18,'photo_7588634.html');
												thumbnails[600356] = new thumbnail(600356,'23493','Tatton Park - Japanese Garden','Tatton-Park-Japanese-Garden_thumb.jpg',130, 195,18,'photo_600356.html');
												thumbnails[649329] = new thumbnail(649329,'23387','Horse at Marbury','Horse-at-Marbury_thumb.jpg',130, 193,18,'photo_649329.html');
												thumbnails[2601024] = new thumbnail(2601024,'23495','Muncaster Castle Festival of Fools - Juggler','Muncaster-Castle-Festival-of-Fools-Juggler_thumb.jpg',130, 202,18,'photo_2601024.html');
												thumbnails[7588631] = new thumbnail(7588631,'23456','York Minster from Stonegate','York-Minster-from-Stonegate_thumb.jpg',130, 195,18,'photo_7588631.html');
												thumbnails[7588632] = new thumbnail(7588632,'23456','York Minster -Steps and Statue','York-Minster-and-Statue_C5E94AD3-1EC9-D45B-1C07A359EAF272A9_thumb.jpg',130, 195,18,'photo_7588632.html');
												thumbnails[7588660] = new thumbnail(7588660,'23456','York - Minster Yard','York-Minster-Yard_thumb.jpg',130, 195,18,'photo_7588660.html');
												thumbnails[7598355] = new thumbnail(7598355,'23456','York - Low Petergate','York-Low-Petergate_thumb.jpg',130, 195,18,'photo_7598355.html');
												thumbnails[1534851] = new thumbnail(1534851,'23495','Rug Chapel - Path and Roses','Rug-Chapel-Path-and-Roses_thumb.jpg',130, 195,18,'photo_1534851.html');
												thumbnails[7578453] = new thumbnail(7578453,'23456','Marbury - Mere, Church and Sky','Marbury-Mere-Church-and-Sky_thumb.jpg',130, 195,18,'photo_7578453.html');
												thumbnails[7578692] = new thumbnail(7578692,'23495','Rug Chapel Doorway','Rug-Chapel-Doorway_thumb.jpg',130, 195,18,'photo_7578692.html');
												thumbnails[2601409] = new thumbnail(2601409,'23495','Powis Castle and Daffodils','Powis-Castle-and-Daffodils_thumb.jpg',130, 190,18,'photo_2601409.html');
												thumbnails[7560831] = new thumbnail(7560831,'409822','Hare Hill Gardens - Gate into Walled Garden','Hare-Hill-Gardens-Gate-into-Walled-Gardens_thumb.jpg',130, 197,18,'photo_7560831.html');
												thumbnails[7575242] = new thumbnail(7575242,'23458','Levens Hall - Topiary and Bedding','Levens-Hall-Topiary-and-Bedding_thumb.jpg',130, 195,18,'photo_7575242.html');
												thumbnails[1528792] = new thumbnail(1528792,'23387','Rawhead and the Cheshire Plain','Rawhead-and-the-Cheshire-Plain_thumb.jpg',130, 179,18,'photo_1528792.html');
												thumbnails[7575260] = new thumbnail(7575260,'409822','Lyme Park - Dutch Garden in Spring','Lyme-Park-Dutch-Garden-in-Spring_thumb.jpg',130, 180,18,'photo_7575260.html');
												thumbnails[7575327] = new thumbnail(7575327,'409822','Lyme Park - Dutch Garden in Summer','Lyme-Park-Dutch-Garden-in-Summer_thumb.jpg',130, 192,18,'photo_7575327.html');
												thumbnails[265328] = new thumbnail(265328,'23495','Stonehenge','Stonehenge_thumb.jpg',130, 194,18,'photo_265328.html');
												thumbnails[752916] = new thumbnail(752916,'411820','Bodnant Gardens Waterfall','Bodnant-Gardens-Waterfall_thumb.jpg',130, 206,18,'photo_752916.html');
												thumbnails[7565217] = new thumbnail(7565217,'411730','Anderton Boat Lift','Anderton-Boat-Lift_thumb.jpg',130, 191,18,'photo_7565217.html');
												thumbnails[7593080] = new thumbnail(7593080,'411820','Bodnant Gardens - Steps','Bodnant-Gardens-Steps_thumb.jpg',130, 202,18,'photo_7593080.html');
												thumbnails[1560155] = new thumbnail(1560155,'106568','Chester - The Groves Detail','Chester-The-Groves-Detail_thumb.jpg',130, 195,18,'photo_1560155.html');
												thumbnails[7588441] = new thumbnail(7588441,'409822','Tatton Park - Mansion from the Italian Garden','Tatton-Park-Mansion-from-Italian-Garden_thumb.jpg',130, 193,18,'photo_7588441.html');
												thumbnails[7588447] = new thumbnail(7588447,'411730','Three Shire\'s Head','Three-Shires-Head_thumb.jpg',130, 195,18,'photo_7588447.html');
												thumbnails[7588448] = new thumbnail(7588448,'411730','White Nancy','White-Nancy_thumb.jpg',130, 195,18,'photo_7588448.html');
												thumbnails[358288] = new thumbnail(358288,'23495','Buildwas Abbey','Buildwas-Abbey_thumb.jpg',130, 200,18,'photo_358288.html');
												thumbnails[7791805] = new thumbnail(7791805,'411820','Wollerton Old Hall Gardens - Limes and Tulips','Wollerton-Old-Hall-Gardens-Limes-and-Tulips_thumb.jpg',130, 195,18,'photo_7791805.html');
												thumbnails[768913] = new thumbnail(768913,'23495','Wroxeter, Section of Roman Wall','Wroxeter-Section-of-Roman-Wall_thumb.jpg',130, 173,18,'photo_768913.html');
												thumbnails[1545016] = new thumbnail(1545016,'23495','Wroxeter and Sky','Wroxeter-and-Sky_thumb.jpg',130, 201,18,'photo_1545016.html');
												thumbnails[3077600] = new thumbnail(3077600,'23495','Montacute House','Montacute-House_thumb.jpg',130, 195,18,'photo_3077600.html');
												thumbnails[3084760] = new thumbnail(3084760,'106568','Chester Cathedral and Gardens','Chester-Cathedral-and-Gardens_thumb.jpg',130, 202,18,'photo_3084760.html');
												thumbnails[3077696] = new thumbnail(3077696,'23495','Erddig Hall - Steps and Vintage Car','Erddig-Hall-Steps-and-Vintage-Car_thumb.jpg',130, 195,18,'photo_3077696.html');
												thumbnails[752905] = new thumbnail(752905,'23495','Penrhyn Castle - Turrets and Walls','Penrhyn-Castle-Turrets-and-Walls_thumb.jpg',130, 205,18,'photo_752905.html');
												thumbnails[3077700] = new thumbnail(3077700,'23495','Penrhyn Castle - Battlement Detail','Penrhyn-Castle-Battlement-Detail_thumb.jpg',130, 212,18,'photo_3077700.html');
												thumbnails[7578523] = new thumbnail(7578523,'23495','Penrhyn Castle and Lawns','Penrhyn-Castle-and-Lawn_thumb.jpg',130, 195,18,'photo_7578523.html');
												thumbnails[2601432] = new thumbnail(2601432,'23458','Trentham Gardens - Perseus Slaying the Gorgon','Trentham-Gardens-Statue_thumb.jpg',130, 195,18,'photo_2601432.html');
												thumbnails[1585978] = new thumbnail(1585978,'23456','Near Sawrey - Tower Bank Arms','Near-Sawrey-Tower-Bank-Arms_thumb.jpg',130, 214,18,'photo_1585978.html');
												thumbnails[1573664] = new thumbnail(1573664,'23493','Bridgemere Gardens in Spring','Bridgemere-Gardens-in-Spring_thumb.jpg',130, 196,18,'photo_1573664.html');
												thumbnails[1561624] = new thumbnail(1561624,'106568','Chester - Upper Bridge Street House','Chester-Upper-Bridge-Street-Hoouse_thumb.jpg',130, 336,18,'photo_1561624.html');
												thumbnails[1588088] = new thumbnail(1588088,'23493','Styal Village Garden','Styal-Village-Garden_thumb.jpg',130, 198,18,'photo_1588088.html');
												thumbnails[3526750] = new thumbnail(3526750,'23456','Grasmere- The Lane to Dove Cottage','Grasmere-Lane-to-Dove-Cottage_thumb.jpg',130, 195,18,'photo_3526750.html');
												thumbnails[714824] = new thumbnail(714824,'23458','Biddulph Grange Gardens - Tulips','Biddulph-Grange-Gardens-_Tulips_thumb.jpg',130, 204,18,'photo_714824.html');
												thumbnails[265281] = new thumbnail(265281,'23493','Arley Hall and Gardens - Rose Garden and Tudor Barn','Arley-Hall-and-Gardens-Rose-Garden-and-Tudor-Barn_thumb.jpg',130, 195,18,'photo_265281.html');
												thumbnails[728264] = new thumbnail(728264,'23458','Compton Castle - Rose Garden','Compton-Castle-in-Rose-Garden_thumb.jpg',130, 195,18,'photo_728264.html');
												thumbnails[1592107] = new thumbnail(1592107,'23456','Llansilin Church','Llansillin-Church_thumb.jpg',130, 204,18,'photo_1592107.html');
												thumbnails[7565947] = new thumbnail(7565947,'23493','Arley Hall and Gardens - Urn and Roses','Arley-Urn-and-Roses_thumb.jpg',130, 128,18,'photo_7565947.html');
												thumbnails[1592521] = new thumbnail(1592521,'189607','White Roses','White-Roses_thumb.jpg',130, 197,18,'photo_1592521.html');
												thumbnails[3067254] = new thumbnail(3067254,'411820','Dorothy Clive Gardens - Tulips','Dorothy-Clive-Garden-Tulips_thumb.jpg',130, 195,18,'photo_3067254.html');
												thumbnails[3067255] = new thumbnail(3067255,'189607','Roses against Red Brick Wall','Roses-against-Red-Brick-Wall_thumb.jpg',130, 201,18,'photo_3067255.html');
												thumbnails[3067627] = new thumbnail(3067627,'23458','Powis Castle - Across Lawn','Powis-Castle-across-Lawn_thumb.jpg',130, 195,18,'photo_3067627.html');
												thumbnails[3067630] = new thumbnail(3067630,'189607','Narcissi','Narcissi_thumb.jpg',130, 195,18,'photo_3067630.html');
												thumbnails[7746429] = new thumbnail(7746429,'189607','Orange and White Tulips','Orange-and-White-Tulips_thumb.jpg',130, 117,18,'photo_7746429.html');
												thumbnails[7789711] = new thumbnail(7789711,'189607','Pink Tulips','Pink-Tulips_thumb.jpg',130, 121,18,'photo_7789711.html');

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  					galleries[23387] = new gallery(23387,'3042499,266805,262188','Countryside','gallery',[268096,268101,270105,270118,272317,727179,979972,1521735,1672696,3045990,7575234,7575241,7578696,7588739,7746847,992999,3046120,7604336,7604337,7565286,3046147,7575233,3042499,262188,265361,266805,649329,1528792],0, 0, '', 'gallery_23387.html',0,0);
				  					galleries[23456] = new gallery(23456,'7588631,701759,262219','Places','gallery',[265225,265294,265313,358302,586924,600317,604139,3048880,7572277,7572287,7575238,7588661,7593081,7578499,7578501,1560135,7598364,342255,7575331,262112,634739,570974,1585963,7567705,7575247,8113432,7565938,7588439,701759,262219,7588631,7588632,7588660,7598355,7578453,1585978,3526750,1592107],0, 0, '', 'gallery_23456.html',0,0);
				  					galleries[23458] = new gallery(23458,'3089250,649301,265213','Gardens ','gallery',[269158,1592643,1672729,3067599,3089186,3089200,3089201,3089217,262075,767336,2603502,600270,3067259,7592698,356245,600271,358324,3067273,3067606,3067609,7575239,7604344,767246,3067270,3067600,1683698,749044,265213,3067616,649301,3089237,3089250,7575242,2601432,714824,728264,3067627],0, 0, '', 'gallery_23458.html',0,0);
				  					galleries[411820] = new gallery(411820,'269172','Gardens 2','gallery',[714818,728157,738985,7604224,3067271,7601369,606309,7575240,7592656,7592667,1955071,7598374,7604330,1534859,7566029,3067535,7588517,7754279,7572289,7604156,7784984,269172,7746408,7746410,752916,7593080,7791805,3067254],0, 0, '', 'gallery_411820.html',0,0);
				  					galleries[189607] = new gallery(189607,'3067255,1592521,269137','Flowers and Plants','gallery',[265199,265201,571606,606389,733210,993008,2603494,3067265,3067272,3526427,7601365,7601402,7795948,3067690,269137,7565219,1592521,3067255,3067630,7746429,7789711],0, 0, '', 'gallery_189607.html',0,0);
				  					galleries[23495] = new gallery(23495,'2601409,358288,265328','Built Heritage','gallery',[586586,727188,738972,752909,1532264,1534842,1546911,2603492,3077757,3077763,3077767,7594385,7598035,7598045,7784100,265344,3526393,7601425,280190,7588516,7593079,7787197,7604170,7604180,7604403,7604412,1532482,7588518,7588519,727186,7588633,7598057,7588634,2601024,1534851,7578692,2601409,265328,358288,768913,1545016,3077600,3077696,752905,3077700,7578523],0, 0, '', 'gallery_23495.html',0,0);
				  					galleries[106568] = new gallery(106568,'1677463,727283,726937','Chester','gallery',[1560146,1560150,1677452,7572274,7572275,7572276,1560179,3084751,1677440,265305,726937,727283,1677457,1677463,1560155,3084760,1561624],0, 0, '', 'gallery_106568.html',0,0);
				  					galleries[23493] = new gallery(23493,'1588088,631449,600356,265281','Cheshire','gallery',[737655,1588084,265161,7592572,7565287,7565288,7565335,1545033,1683732,1683736,7575236,7565333,262160,266813,7565344,265257,272313,632681,7578536,7565334,631449,600356,1573664,1588088,265281,7565947],0, 0, '', 'gallery_23493.html',0,0);
				  					galleries[409822] = new gallery(409822,'7575260,7560831','Cheshire 2','gallery',[7575237,7575243,7575244,7575245,7575246,7578520,7578521,7579856,7579857,7565221,7575248,7575249,7575250,7575328,7575329,7578451,7588442,7588443,7588444,7588506,7588515,7578502,7578519,7567706,7567707,7565345,7565940,7565939,7575259,7579858,7565218,7565343,7565941,7579854,7579855,7560831,7575260,7575327,7588441],0, 0, '', 'gallery_409822.html',0,0);
				  					galleries[411730] = new gallery(411730,'7588448,7588447','Cheshire 3','gallery',[7579859,7579862,7588445,7578503,7565341,7565336,7566030,7566026,7578500,7566027,7565342,7588446,7567704,7579861,7565217,7588447,7588448],0, 0, '', 'gallery_411730.html',0,0);
				  					galleries[411844] = new gallery(411844,'7594373,7594371,7572283,7572280,7565290','Cholmondeley Castle Gardens','gallery',[7572278,7572279,7572281,7572286,7594368,7594369,7594372,7572282,7565220,7565290,7572280,7572283,7594367,7594370,7594371,7594373,7594397],0, 0, '', 'gallery_411844.html',0,0);
				  					galleries[189618] = new gallery(189618,'3415397','Portmeirion','gallery',[3048897,3048901,3415403,3415409,3415413,3415416,3415419,3415397,3415401,3415421,7745212],0, 0, '', 'gallery_189618.html',0,0);
/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = new Object();
imageSets[1] = '7560812,7560803,7560771,7560770,7560768,7560752,7560751,7560750,7560747';
imageSets[2] = '7594373,7594371,7588631,7588448,7588447,7575260,7572283,7572280,7565290,7560831,3415397,3089250,3067255,3042499,2601409,1677463,1592521,1588088,727283,726937,701759,649301,631449,600356,358288,269172,269137,266805,265328,265281,265213,262219,262188';
imageSets[3] = '8113432,7795948,7791805,7789711,7787197,7784984,7784100,7754279,7746847,7746429,7746410,7746408,7745212,7604412,7604403,7604344,7604337,7604336,7604330,7604224,7604180,7604170,7604156,7601425,7601402,7601369,7601365,7598374,7598364,7598355,7598057,7598045,7598035,7594397,7594385,7594373,7594372,7594371,7594370,7594369,7594368,7594367,7593081,7593080,7593079,7592698,7592667,7592656,7592572,7588739';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/Joewainwright/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/Joewainwright/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/Joewainwright/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/Joewainwright/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/Joewainwright/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/Joewainwright/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/Joewainwright/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/Joewainwright/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/Joewainwright/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/Joewainwright/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/Joewainwright/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/Joewainwright/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/Joewainwright/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/Joewainwright/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/Joewainwright/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://admin2.clikpic.com/Joewainwright/images';
		break;
	}
		switch (server_id) {
		case 33:
		val = 'http://www8.clikpic.com/Joewainwright/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/Joewainwright/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/Joewainwright/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/Joewainwright/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/Joewainwright/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/Joewainwright/images';
		break;
	}
		return val;
}

/***************************************************************************
* img = reference to image object in which to show image                   *
***************************************************************************/
function showHomeImage(img) {

	imageID = randomListVal('');
		if (!basic) {
	img.src = photos[imageID].src;
	img.width = photos[imageID].width;
	img.height = photos[imageID].height;
  img.parentNode.title = img.alt = photos[imageID].caption;
	}
	else {
		newImage = new Image(photos[imageID].width,photos[imageID].height);
		newImage.src = photos[imageID].src;
		document.images[img.name] = newImage;
				
	}
			}

function getHomeImageLink(imageID) {
  	var href='', photo = backgrounds && backgrounds[imageID];
	if(photo){
		if (photo && photo.galleries_id != '') {
  			href = photo.fnGalleryLink();
  		}
  		  		else {
  				href += 'gallery.html';
  	  		}
	}
    return href;
}
/***************************************************************************
* Show a random image on home page from featured images                    *
***************************************************************************/
function showHomeImageInline(el, image_sets_id, href) {
	
  var css = {}, imageID,
	    imageSetsId = 1;
	if(image_sets_id){
		imageSetsId = image_sets_id;
	}
	imageID = randomListVal(imageSets[imageSetsId]);
		if (href == null && 'gallery' != '') {
					href = getHomeImageLink(imageID);
	}
    
  updateImage({nextPhoto: backgrounds[imageID], img:el.find('img')[0],
                $photo:el, $title:$('#homeimageTitleContainer'), $detail:$('#homeimageDetailsContainer'),                speed:0, href:href, css:css, onAfter: function(){                  this.closest('.contentsection').doManualAlign({				    inner: 'img',				    crop: 'a'				  });                }              });
}

/***************************************************************************
* Set 'img' to be a new image given its photo() object                     *
***************************************************************************/
function updateImage (options) {
  var defaults = {nextPhoto:'',field:'',img:'',$photo:'',$title:'',$detail:'',
                    updateDocumentTitle:false,speed:0,href:false,css:false,updateHash:false,onAfter:null,onBefore:null},
      op = $.extend({},defaults,options),
      html = '', temp = '',
      photoId = op.nextPhoto.id,
      photoCaption = op.nextPhoto.caption,
      photoSrc = op.nextPhoto.src;
		
		if (!basic) {
    if (op.updateHash && clik.getIDInUrl(location.href,'photo') != op.nextPhoto.id) {
		clik.changeHash('photos_id=' + op.nextPhoto.id, true);
    }
				
    if (op.$photo.length > 0) {
      html = $('<img/>',{
        'class': 'mainphoto photo',
        src: photoSrc,
        id: 'mainPic',
        name: 'mainPic',
        width: op.nextPhoto.width,
        height: op.nextPhoto.height,
        alt: photoCaption,
        css: op.css || {}
      });
      if (op.href) {
      	if (op.href.match(/<a/)) {
      	  html = $(op.href).append(html);
      	} else {
		  html = $('<a/>', {
			href: op.href,
			title: photoCaption
		  }).append(html);
	    }
      } else {
      	html = $('<a/>', {
			title: photoCaption
		  }).append(html);
      }
      if (op.speed == 0) {        op.$photo.html(html);        if (op.onBefore) {          op.onBefore.apply(op.$photo);        }        if (op.onAfter) {          op.onAfter.apply(op.$photo);        }      } else {        op.$photo.stop(true,true).fadeReplaceWith(html,op.speed,'',function(){            if (op.onAfter) {		    op.onAfter.apply(this);          }		  clik.doColumnResize(false, $(this).add(op.$detail).add(op.$title));		  $('body').trigger('clikUpdate');		}, op.onBefore);
      }    }
    	if (op.field) {
		op.field.value = photoId;
	} else {
		op.$photo.data('image_id', photoId);
    }
	    if (op.$title.length > 0) {
  		op.$title.fadeGalleryDetails(photoCaption, op.speed);
    }
        if (op.updateDocumentTitle) {
						  document.title = 'Beauty of Britain: ' + photoCaption;
			    }
        if (op.$detail.length > 0) {
      temp = op.nextPhoto.fnGetImageDetails();
	    op.$detail.fadeGalleryDetails(temp, op.speed, function(){
	    var options = {};	    	      	      resizePhotoInfo(options);
        if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
  	      toggleAddToCartConfirm(backgrounds);
  	    } else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
  	      toggleAddToCartConfirm(photos);
  	    }
	    });
    }
        if (!op.speed) {      clik.doColumnResize(false, op.$photo.add(op.$detail).add(op.$title));      $('body').trigger('clikUpdate');    }        
    return html;			}
	else {
				
		window.location = 'photo_' + nextPhoto.id + '.html';
	}
		
}

/***************************************************************************
* Toggle add to cart confirmation element and set up the click event for   *
* the 'Add to cart' button.                                                *
***************************************************************************/
function toggleAddToCartConfirm(array){
  if (typeof(array) !== 'object' || array == undefined) {
    array = photos;
  }
	if($('#paymentConfirm').length > 0){
		$('#paymentConfirm').hide();
		$('#paymentAddButton')
		.unbind()
		.click(function(){
						form = document.getElementById('paymentForm');
			option_id = 0;
			if(form.item_option.value){
				option_id = form.item_option.value;
			}
			if(addItemToBasket(form.item_number.value,array,form.site.value,parseInt(form.quantity.value, 10),option_id)){
				if($.browser.msie){$('#paymentConfirm').text('Item added to cart').show();}
				else{
					$('#paymentConfirm').text('Item added to cart').fadeIn();
					dspOrderDetails(form.site.value);
				}
			}
			else{
				$('#paymentConfirm').text('Item not added - check cookies are enabled in your browser.').fadeIn();
			}
		});
	}
}
/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
photo.prototype.fnGetImageDetails = function(){
	var temp = '';
	if (this.description != '') {
		temp = temp +  '<p id="imageDescription">' + this.description + '</p>';
	}
		if (this.photo_ref != '') {
		temp = temp + '<p class="imageinfo" id="imageRef"><strong>Ref: </strong>' + this.photo_ref + '</p>';
	}
		if (this.takendate != '') {
				
		temp = temp + '<p class="imageinfo" id="imageDate"><strong>Date: </strong>' + this.takendate + '</p>';
	}
	
	if (this.location != '') {
				
		temp = temp + '<p class="imageinfo" id="imageLocation"><strong>Location: </strong>' +  this.location + '</p>';
	}
	
	if (this.photographer != '') {
				
		temp = temp + '<p class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>' + this.photographer + '</p>';
	}
					
	temp = temp + this.fnGetPaymentInfo();
				if (temp != '') {
		temp = temp + '<div class="spacer"></div>';
	}
	return temp;
};

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
photo.prototype.fnGetPaymentInfo = function(){
	var temp = '';
	if (this.item_price !== '') {
																		temp = temp + '<p>Buy now using PayPal:</p>';
				temp = temp + '<p class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> &pound;' + (this.item_price).toFixed(2) + '</p>';
		var item_name  = this.purchase_instruction;
		var amount = (this.item_price).toFixed(2);
		var item_option  = 0;
	}
	else if (this.payment_groups_id !== '') {
		temp = temp + '<p>Buy this print online:</p>';
				temp = temp + '<form id="paymentOptions" style="margin:0px;border:0px;" name="paymentOptions">';
											temp = temp + '<select class="paymentlink" name="payment_options_id" onchange="updateItemValues(document.forms.paymentForm,this.form.payment_options_id.options[this.form.payment_options_id.options.selectedIndex].value);">';
				
		temp = temp + getPaymentOptions(this.payment_groups_id);
		temp = temp + '</select>';
		temp = temp + '</form>';
				var item_option  = paymentGroups[this.payment_groups_id].options[0];
		if(paymentOptions[item_option]){
			var item_name  = paymentOptions[item_option].payment_option;
			var amount =  paymentOptions[item_option].price;
		}
			}
	else {
				
	}
	if (this.item_price !== '' || this.payment_groups_id !== '') {
																				temp = temp + '<form id="paymentForm" style="margin:0px;border:0px;" name="paymentForm" target="_blank" action="https://www.paypal.com/cgi-bin/webscr" method="post">';
	temp = temp + '<input type="hidden" name="item_name" value="'+item_name+'">';
								ref = '';
				if(this.photo_ref != ''){
					ref = this.photo_ref+' - '+this.caption;
				}
				else{
					ref = this.id+' - '+this.caption;
				}
				price = amount;					temp = temp + '<input type="hidden" name="cmd" value="_cart">';
	temp = temp + '<input type="hidden" name="business" value="beautyofbritain@aol.com">';
	temp = temp + '<input type="hidden" name="currency_code" value="GBP">';
	temp = temp + '<input type="hidden" name="add" value="1">';
					temp = temp + '<input type="hidden" name="amount" value="'+amount+'">';
	temp = temp + '<input type="hidden" name="item_number" value="'+ref+'">';
					temp = temp + '<input type=\"Submit\" value=\"Add to cart\" id=\"paymentAddButton\" class=\"button\" onmouseover=\"this.className=\'buttonHi\';\" onmouseout=\"this.className=\'button\';\">';
									temp = temp + '</form>';
								temp = temp + '<form id="paymentCartForm" style="margin:0px;" name="paymentCartForm" target="_blank" action="https://www.paypal.com/cgi-bin/webscr" method="post">';
	temp = temp + '<input type="hidden" name="cmd" value="_cart">';
	temp = temp + '<input type="hidden" name="business" value="beautyofbritain@aol.com">';
	temp = temp + '<input type="hidden" name="display" value="1">';
	temp = temp + '<input type=\"Submit\" value=\"View cart\" id=\"paymentViewButton\" class=\"button\" onmouseover=\"this.className=\'buttonHi\';\" onmouseout=\"this.className=\'button\';\">';
	temp = temp + '</form>';
							temp = temp + '<div class="clearing">&nbsp;</div>';
	}
	return temp;};

/***************************************************************************
* Pick a photo at random from the featured images of a gallery.            *
* Gallery_id = id of gallery to choose,                                    *
* img = reference to html image in                                         *
* which to show image                                                      *
***************************************************************************/
function showGalleryImage(gallery_id, img, updateLink) {
		
	if(img){
	      if (location.hash.match('galleries_id=' + gallery_id) && (imageID = location.hash.match('.*photos_id=(.+)$'))) {
        imageID = imageID[1];
      } else {
			  imageID = randomListVal(galleries[gallery_id].featured_images);
      }
							
			if (imageID != 0) {
				img.src = thumbnails[imageID].src;
				img.width = thumbnails[imageID].width;
				img.height = thumbnails[imageID].height;
				img.alt = galleries[gallery_id].title;
        if (updateLink) {
          $(img).parent().attr({            href: thumbnails[imageID].fnGalleryLink(gallery_id),            title: galleries[gallery_id].title          });
        }
							}
										}
}

/***************************************************************************
* If we have dynamic HTML, replace the galleries link with a list that     *
* doesn't include thecurrent gallery                                       *
***************************************************************************/
function showGalleries(gallery_id) {
		
	
	if (!basic) {
		temp = '';
		for (i = 0; i < galleries.length; i++) {
						
			
			if (galleries[i].id != gallery_id) {
								
				if (temp != '') {
					temp = temp + ' | ';
				}
				temp = temp + '<a href="' + galleries[i].section_code + '_' + galleries[i].id + '.html">' + galleries[i].title + '</a>';
			}
		}
		document.all.galleryLinks.innerHTML = 'Other galleries: ' + temp;
	}
}

			

