window.thumbnails = {};
															thumbnails[474336] = clik.newPhoto({"id":474336,"src":"me_by_ecce_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":80,"caption":"","height":130});
															thumbnails[2568879] = clik.newPhoto({"id":2568879,"src":"country_life_cover_july_30_2008_e_ef1fb3b65cefb809ee79527673edc2cf_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":99,"caption":"","height":130});
															thumbnails[2653182] = clik.newPhoto({"id":2653182,"src":"country life scotland_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":101,"caption":"","height":130});
															thumbnails[2728757] = clik.newPhoto({"id":2728757,"src":"country life_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":100,"caption":"","height":130});
															thumbnails[2775831] = clik.newPhoto({"id":2775831,"src":"wed 4_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"","height":86});
															thumbnails[2776499] = clik.newPhoto({"id":2776499,"src":"wed 16_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"","height":87});
															thumbnails[3039219] = clik.newPhoto({"id":3039219,"src":"country life1_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":98,"caption":"","height":130});
															thumbnails[464607] = clik.newPhoto({"id":464607,"src":"hay21_thumb.jpg","galleries_id":36755,"server_id":1,"link":"photo_464607.html","width":130,"caption":"The Hayfield","height":95});
															thumbnails[464608] = clik.newPhoto({"id":464608,"src":"corby11_thumb.jpg","galleries_id":36755,"server_id":1,"link":"photo_464608.html","width":130,"caption":"Morning Glory","height":94});
															thumbnails[464609] = clik.newPhoto({"id":464609,"src":"ingleton11_thumb.jpg","galleries_id":36755,"server_id":1,"link":"photo_464609.html","width":130,"caption":"Limestone Landscape","height":91});
															thumbnails[464610] = clik.newPhoto({"id":464610,"src":"hay11_thumb.jpg","galleries_id":36755,"server_id":1,"link":"photo_464610.html","width":130,"caption":"Fields of Gold","height":95});
															thumbnails[464611] = clik.newPhoto({"id":464611,"src":"windermere21_thumb.jpg","galleries_id":36755,"server_id":1,"link":"photo_464611.html","width":130,"caption":"Fire and Water","height":95});
															thumbnails[464612] = clik.newPhoto({"id":464612,"src":"lochnakeal1_thumb.jpg","galleries_id":36756,"server_id":1,"link":"photo_464612.html","width":130,"caption":"The Loneliest Tree","height":95});
															thumbnails[464613] = clik.newPhoto({"id":464613,"src":"katrine11_thumb.jpg","galleries_id":36756,"server_id":1,"link":"photo_464613.html","width":130,"caption":"Loch Katrine","height":92});
															thumbnails[464615] = clik.newPhoto({"id":464615,"src":"drumadoon11_thumb.jpg","galleries_id":36756,"server_id":1,"link":"photo_464615.html","width":130,"caption":"Drumadoon","height":97});
															thumbnails[464620] = clik.newPhoto({"id":464620,"src":"mymbyr11_thumb.jpg","galleries_id":36757,"server_id":1,"link":"photo_464620.html","width":130,"caption":"Llynnau Mymbyr","height":96});
															thumbnails[464621] = clik.newPhoto({"id":464621,"src":"moelfamau1_thumb.jpg","galleries_id":36757,"server_id":1,"link":"photo_464621.html","width":130,"caption":"Moel Famau","height":100});
															thumbnails[464623] = clik.newPhoto({"id":464623,"src":"llanddwyn1_thumb.jpg","galleries_id":36757,"server_id":1,"link":"photo_464623.html","width":130,"caption":"St.Dwynwen's Cross","height":95});
															thumbnails[464629] = clik.newPhoto({"id":464629,"src":"fungi1_thumb.jpg","galleries_id":36758,"server_id":1,"link":"photo_464629.html","width":130,"caption":"Fungi in Blue","height":96});
															thumbnails[476682] = clik.newPhoto({"id":476682,"src":"hangingon_thumb.jpg","galleries_id":36755,"server_id":1,"link":"photo_476682.html","width":130,"caption":"Hanging On","height":85});
															thumbnails[476687] = clik.newPhoto({"id":476687,"src":"canal1_thumb.jpg","galleries_id":36755,"server_id":1,"link":"photo_476687.html","width":130,"caption":"By the Shady Oak","height":87});
															thumbnails[477086] = clik.newPhoto({"id":477086,"src":"surpriseview_thumb.jpg","galleries_id":36755,"server_id":1,"link":"photo_477086.html","width":130,"caption":"Surprise View","height":94});
															thumbnails[478473] = clik.newPhoto({"id":478473,"src":"benmore2_thumb.jpg","galleries_id":36756,"server_id":1,"link":"photo_478473.html","width":130,"caption":"Ben More","height":95});
															thumbnails[480469] = clik.newPhoto({"id":480469,"src":"newlands11_thumb.jpg","galleries_id":36755,"server_id":1,"link":"photo_480469.html","width":130,"caption":"Newlands","height":87});
															thumbnails[480470] = clik.newPhoto({"id":480470,"src":"borrowdale1_thumb.jpg","galleries_id":36755,"server_id":1,"link":"photo_480470.html","width":130,"caption":"Skiddaw","height":86});
															thumbnails[487377] = clik.newPhoto({"id":487377,"src":"helsbyhill2_thumb.jpg","galleries_id":36755,"server_id":1,"link":"photo_487377.html","width":130,"caption":"Helsby Hill at Easter","height":91});
															thumbnails[487382] = clik.newPhoto({"id":487382,"src":"frost_thumb.jpg","galleries_id":36758,"server_id":1,"link":"photo_487382.html","width":130,"caption":"Frost","height":96});
															thumbnails[491971] = clik.newPhoto({"id":491971,"src":"bellystone2_thumb.jpg","galleries_id":36758,"server_id":1,"link":"photo_491971.html","width":130,"caption":"The Bellystone","height":97});
															thumbnails[491976] = clik.newPhoto({"id":491976,"src":"imachar11_thumb.jpg","galleries_id":36758,"server_id":1,"link":"photo_491976.html","width":130,"caption":"On the Rocks","height":98});
															thumbnails[491978] = clik.newPhoto({"id":491978,"src":"imachar22_thumb.jpg","galleries_id":36758,"server_id":1,"link":"photo_491978.html","width":130,"caption":"In the Cracks","height":98});
															thumbnails[491980] = clik.newPhoto({"id":491980,"src":"imachar31_thumb.jpg","galleries_id":36758,"server_id":1,"link":"photo_491980.html","width":130,"caption":"Limpet Wave","height":97});
															thumbnails[491984] = clik.newPhoto({"id":491984,"src":"leaves11_thumb.jpg","galleries_id":36758,"server_id":1,"link":"photo_491984.html","width":130,"caption":"Fallen","height":78});
															thumbnails[492001] = clik.newPhoto({"id":492001,"src":"rockwave_thumb.jpg","galleries_id":36758,"server_id":1,"link":"photo_492001.html","width":130,"caption":"Rock Wave","height":97});
															thumbnails[522435] = clik.newPhoto({"id":522435,"src":"thurstaston21_thumb.jpg","galleries_id":36755,"server_id":1,"link":"photo_522435.html","width":130,"caption":"Before the Rain","height":95});
															thumbnails[569101] = clik.newPhoto({"id":569101,"src":"wallacrag1_thumb.jpg","galleries_id":36755,"server_id":1,"link":"photo_569101.html","width":130,"caption":"Derwentwater Dawn","height":94});
															thumbnails[569104] = clik.newPhoto({"id":569104,"src":"wallacrag2_thumb.jpg","galleries_id":36755,"server_id":1,"link":"photo_569104.html","width":130,"caption":"View from Walla Crag","height":93});
															thumbnails[595736] = clik.newPhoto({"id":595736,"src":"keswick_thumb.jpg","galleries_id":36755,"server_id":1,"link":"photo_595736.html","width":130,"caption":"Keswick Dawn","height":95});
															thumbnails[610797] = clik.newPhoto({"id":610797,"src":"autumn2_thumb.jpg","galleries_id":36758,"server_id":1,"link":"photo_610797.html","width":130,"caption":"\"autumn winds blow\"","height":95});
															thumbnails[610800] = clik.newPhoto({"id":610800,"src":"roman bridge_thumb.jpg","galleries_id":36757,"server_id":1,"link":"photo_610800.html","width":130,"caption":"Roman Bridge","height":95});
															thumbnails[610803] = clik.newPhoto({"id":610803,"src":"snowdonia1_thumb.jpg","galleries_id":36757,"server_id":1,"link":"photo_610803.html","width":130,"caption":"Dark Mountain","height":95});
															thumbnails[626180] = clik.newPhoto({"id":626180,"src":"slatewall_thumb.jpg","galleries_id":36757,"server_id":1,"link":"photo_626180.html","width":130,"caption":"Slate Wall","height":94});
															thumbnails[641568] = clik.newPhoto({"id":641568,"src":"bridge_thumb.jpg","galleries_id":36755,"server_id":1,"link":"photo_641568.html","width":130,"caption":"Through the Arch","height":95});
															thumbnails[737562] = clik.newPhoto({"id":737562,"src":"tree1_thumb.jpg","galleries_id":36757,"server_id":1,"link":"photo_737562.html","width":130,"caption":"In the Spotlight","height":90});
															thumbnails[742914] = clik.newPhoto({"id":742914,"src":"snowdonfilm_thumb.jpg","galleries_id":36757,"server_id":1,"link":"photo_742914.html","width":130,"caption":"Broken Reflection","height":94});
															thumbnails[1177372] = clik.newPhoto({"id":1177372,"src":"redroof_thumb.jpg","galleries_id":36757,"server_id":1,"link":"photo_1177372.html","width":130,"caption":"Rusted Roof","height":87});
															thumbnails[1177390] = clik.newPhoto({"id":1177390,"src":"below the bridge 2_thumb.jpg","galleries_id":36757,"server_id":1,"link":"photo_1177390.html","width":130,"caption":"Below the Bridge","height":87});
															thumbnails[1381963] = clik.newPhoto({"id":1381963,"src":"perch rock 4_thumb.jpg","galleries_id":36755,"server_id":1,"link":"photo_1381963.html","width":130,"caption":"Golden Light","height":87});
															thumbnails[1710528] = clik.newPhoto({"id":1710528,"src":"glencoul dawn 41_thumb.jpg","galleries_id":115649,"server_id":1,"link":"photo_1710528.html","width":130,"caption":"","height":87});
															thumbnails[1710536] = clik.newPhoto({"id":1710536,"src":"garden colour_thumb.jpg","galleries_id":115649,"server_id":1,"link":"photo_1710536.html","width":130,"caption":"","height":85});
															thumbnails[1710539] = clik.newPhoto({"id":1710539,"src":"sunset tree_thumb.jpg","galleries_id":115649,"server_id":1,"link":"photo_1710539.html","width":130,"caption":"","height":87});
															thumbnails[1710554] = clik.newPhoto({"id":1710554,"src":"lagarganta1_thumb.jpg","galleries_id":115649,"server_id":1,"link":"photo_1710554.html","width":130,"caption":"","height":96});
															thumbnails[1710557] = clik.newPhoto({"id":1710557,"src":"eaton11_thumb.jpg","galleries_id":115649,"server_id":1,"link":"photo_1710557.html","width":130,"caption":"","height":93});
															thumbnails[1710624] = clik.newPhoto({"id":1710624,"src":"misty lake_thumb.jpg","galleries_id":115649,"server_id":1,"link":"photo_1710624.html","width":130,"caption":"","height":86});
															thumbnails[1724579] = clik.newPhoto({"id":1724579,"src":"perchrock_thumb.jpg","galleries_id":36755,"server_id":1,"link":"photo_1724579.html","width":130,"caption":"Out to Sea","height":93});
															thumbnails[1832243] = clik.newPhoto({"id":1832243,"src":"wallflower small_thumb.jpg","galleries_id":115649,"server_id":1,"link":"photo_1832243.html","width":130,"caption":"","height":87});
															thumbnails[2016741] = clik.newPhoto({"id":2016741,"src":"loch a garbh-bhaid mor_thumb.jpg","galleries_id":115649,"server_id":1,"link":"photo_2016741.html","width":130,"caption":"","height":85});
															thumbnails[2016804] = clik.newPhoto({"id":2016804,"src":"winter 10_thumb.jpg","galleries_id":115649,"server_id":1,"link":"photo_2016804.html","width":130,"caption":"","height":88});
															thumbnails[2016805] = clik.newPhoto({"id":2016805,"src":"winter f6_thumb.jpg","galleries_id":115649,"server_id":1,"link":"photo_2016805.html","width":130,"caption":"","height":97});
															thumbnails[2728760] = clik.newPhoto({"id":2728760,"src":"weir_thumb.jpg","galleries_id":36758,"server_id":1,"link":"photo_2728760.html","width":130,"caption":"Weir(d) Reflection","height":86});
															thumbnails[3159983] = clik.newPhoto({"id":3159983,"src":"derwentlaunch1_thumb.jpg","galleries_id":36755,"server_id":1,"link":"photo_3159983.html","width":130,"caption":"On Derwentwater","height":79});
															thumbnails[3512958] = clik.newPhoto({"id":3512958,"src":"ice patterns_thumb.jpg","galleries_id":36758,"server_id":1,"link":"photo_3512958.html","width":130,"caption":"Ice Patterns","height":88});
															thumbnails[3512995] = clik.newPhoto({"id":3512995,"src":"summer 19_thumb.jpg","galleries_id":115649,"server_id":1,"link":"photo_3512995.html","width":130,"caption":"","height":87});
															thumbnails[3512997] = clik.newPhoto({"id":3512997,"src":"summer 21_thumb.jpg","galleries_id":115649,"server_id":1,"link":"photo_3512997.html","width":130,"caption":"","height":86});
															thumbnails[3513001] = clik.newPhoto({"id":3513001,"src":"winter 101_thumb.jpg","galleries_id":115649,"server_id":1,"link":"photo_3513001.html","width":130,"caption":"","height":87});
															thumbnails[3513005] = clik.newPhoto({"id":3513005,"src":"winter 17_thumb.jpg","galleries_id":115649,"server_id":1,"link":"photo_3513005.html","width":130,"caption":"","height":87});
															thumbnails[3513010] = clik.newPhoto({"id":3513010,"src":"strawberry tree 2_thumb.jpg","galleries_id":115649,"server_id":1,"link":"photo_3513010.html","width":130,"caption":"","height":87});
															thumbnails[3652537] = clik.newPhoto({"id":3652537,"src":"My_Kind_of_Town_thumb.jpg","galleries_id":39766,"server_id":1,"link":"photo_3652537.html","width":130,"caption":"My Kind of Town","height":90});
															thumbnails[3833483] = clik.newPhoto({"id":3833483,"src":"cactus_9_thumb.jpg","galleries_id":262950,"server_id":1,"link":"photo_3833483.html","width":130,"caption":"Easter Bloom","height":87});
															thumbnails[3833542] = clik.newPhoto({"id":3833542,"src":"bracken_thumb.jpg","galleries_id":36758,"server_id":1,"link":"photo_3833542.html","width":130,"caption":"Bracken","height":85});
															thumbnails[4522830] = clik.newPhoto({"id":4522830,"src":"flower_2_thumb.jpg","galleries_id":262950,"server_id":1,"link":"photo_4522830.html","width":130,"caption":"Cosmos ","height":87});
															thumbnails[4522885] = clik.newPhoto({"id":4522885,"src":"flower_11_thumb.jpg","galleries_id":262950,"server_id":1,"link":"photo_4522885.html","width":130,"caption":"Sun Fire","height":86});
															thumbnails[4531365] = clik.newPhoto({"id":4531365,"src":"flower_4_thumb.jpg","galleries_id":262950,"server_id":1,"link":"photo_4531365.html","width":130,"caption":"Lavender","height":86});
															thumbnails[4531370] = clik.newPhoto({"id":4531370,"src":"flower_15_thumb.jpg","galleries_id":262950,"server_id":1,"link":"photo_4531370.html","width":130,"caption":"Nigella","height":87});
															thumbnails[5025890] = clik.newPhoto({"id":5025890,"src":"thirlmere_2_thumb.jpg","galleries_id":36755,"server_id":1,"link":"photo_5025890.html","width":130,"caption":"Dawn, Thirlmere","height":87});
															thumbnails[5025893] = clik.newPhoto({"id":5025893,"src":"derwentfolds_thumb.jpg","galleries_id":36755,"server_id":1,"link":"photo_5025893.html","width":130,"caption":"Latrigg","height":87});
															thumbnails[5350764] = clik.newPhoto({"id":5350764,"src":"snow_2_thumb.jpg","galleries_id":36755,"server_id":1,"link":"photo_5350764.html","width":130,"caption":"Snow on the Hill","height":87});
															thumbnails[5350774] = clik.newPhoto({"id":5350774,"src":"clwyd_1_thumb.jpg","galleries_id":36757,"server_id":1,"link":"photo_5350774.html","width":130,"caption":"Afterglow","height":87});
															thumbnails[5350779] = clik.newPhoto({"id":5350779,"src":"clwyd_10_thumb.jpg","galleries_id":36757,"server_id":1,"link":"photo_5350779.html","width":130,"caption":"Snowscene, Llanferres","height":86});
															thumbnails[5350812] = clik.newPhoto({"id":5350812,"src":"clwyd_13_thumb.jpg","galleries_id":36757,"server_id":1,"link":"photo_5350812.html","width":130,"caption":"Moel Gyw from Bryn Alyn","height":86});
															thumbnails[5350835] = clik.newPhoto({"id":5350835,"src":"clwyd_4_thumb.jpg","galleries_id":36757,"server_id":1,"link":"photo_5350835.html","width":130,"caption":"Foel Fenlli & Moel Eitinen from Bryn Alyn","height":86});
															thumbnails[5350836] = clik.newPhoto({"id":5350836,"src":"clwyd_7_thumb.jpg","galleries_id":36757,"server_id":1,"link":"photo_5350836.html","width":130,"caption":"Clwydian Range in Snow","height":78});
															thumbnails[5350839] = clik.newPhoto({"id":5350839,"src":"clwyd_11_thumb.jpg","galleries_id":36757,"server_id":1,"link":"photo_5350839.html","width":130,"caption":"Snowed In","height":86});
															thumbnails[5350841] = clik.newPhoto({"id":5350841,"src":"clwyd_3_thumb.jpg","galleries_id":36757,"server_id":1,"link":"photo_5350841.html","width":130,"caption":"Barn in Snow","height":86});
															thumbnails[5350850] = clik.newPhoto({"id":5350850,"src":"clwyd_6_thumb.jpg","galleries_id":36757,"server_id":1,"link":"photo_5350850.html","width":130,"caption":"Blanket of Snow","height":59});
															thumbnails[5350854] = clik.newPhoto({"id":5350854,"src":"snow_4_thumb.jpg","galleries_id":36755,"server_id":1,"link":"photo_5350854.html","width":130,"caption":"Snow on the Hill II","height":51});
															thumbnails[5705548] = clik.newPhoto({"id":5705548,"src":"gerbera_thumb.jpg","galleries_id":262950,"server_id":1,"link":"photo_5705548.html","width":130,"caption":"","height":88});
															thumbnails[5705577] = clik.newPhoto({"id":5705577,"src":"gerbera2_thumb.jpg","galleries_id":262950,"server_id":1,"link":"photo_5705577.html","width":130,"caption":"","height":90});
															thumbnails[5705583] = clik.newPhoto({"id":5705583,"src":"rose_thumb.jpg","galleries_id":262950,"server_id":1,"link":"photo_5705583.html","width":130,"caption":"","height":87});
															thumbnails[5705585] = clik.newPhoto({"id":5705585,"src":"rose_2_thumb.jpg","galleries_id":262950,"server_id":1,"link":"photo_5705585.html","width":130,"caption":"","height":88});
															thumbnails[5705586] = clik.newPhoto({"id":5705586,"src":"rose_3_thumb.jpg","galleries_id":262950,"server_id":1,"link":"photo_5705586.html","width":130,"caption":"","height":91});
															thumbnails[5926575] = clik.newPhoto({"id":5926575,"src":"tulip_thumb.jpg","galleries_id":262950,"server_id":1,"link":"photo_5926575.html","width":130,"caption":"","height":86});
															thumbnails[6093446] = clik.newPhoto({"id":6093446,"src":"water_lily_1_thumb.jpg","galleries_id":262950,"server_id":1,"link":"photo_6093446.html","width":130,"caption":"Water Lily","height":86});
															thumbnails[6093456] = clik.newPhoto({"id":6093456,"src":"ivy_2_thumb.jpg","galleries_id":262950,"server_id":1,"link":"photo_6093456.html","width":130,"caption":"Symbiosis II","height":98});
															thumbnails[6589479] = clik.newPhoto({"id":6589479,"src":"brackenheather_thumb.jpg","galleries_id":36758,"server_id":1,"link":"photo_6589479.html","width":130,"caption":"Bracken & Heather","height":92});
															thumbnails[6589487] = clik.newPhoto({"id":6589487,"src":"achfray2_thumb.jpg","galleries_id":36756,"server_id":1,"link":"photo_6589487.html","width":130,"caption":"Sunrise, Loch Achray","height":86});
															thumbnails[6589501] = clik.newPhoto({"id":6589501,"src":"ferncurl_thumb.jpg","galleries_id":36758,"server_id":1,"link":"photo_6589501.html","width":130,"caption":"Fern Curl","height":92});
															thumbnails[6884176] = clik.newPhoto({"id":6884176,"src":"first_cut_thumb.jpg","galleries_id":36758,"server_id":1,"link":"photo_6884176.html","width":130,"caption":"First Cut","height":90});
															thumbnails[6884281] = clik.newPhoto({"id":6884281,"src":"ipoty2_thumb.jpg","galleries_id":262950,"server_id":1,"link":"photo_6884281.html","width":130,"caption":"Survivors","height":89});
															thumbnails[7006451] = clik.newPhoto({"id":7006451,"src":"Conistone_Panorama1_thumb.jpg","galleries_id":36755,"server_id":1,"link":"photo_7006451.html","width":130,"caption":"Upper Wharfdale - Conistone and Kilnsey","height":35});
															thumbnails[7389106] = clik.newPhoto({"id":7389106,"src":"_DSC3404_thumb.jpg","galleries_id":115649,"server_id":1,"link":"photo_7389106.html","width":130,"caption":"","height":90});
															thumbnails[7515377] = clik.newPhoto({"id":7515377,"src":"borrowdale2_thumb.jpg","galleries_id":36755,"server_id":1,"link":"photo_7515377.html","width":130,"caption":"Borrowdale","height":86});
															thumbnails[7718004] = clik.newPhoto({"id":7718004,"src":"ferry_thumb.jpg","galleries_id":36755,"server_id":1,"link":"photo_7718004.html","width":130,"caption":"Ferry 'Cross the Mersey","height":77});
															thumbnails[8331643] = clik.newPhoto({"id":8331643,"src":"_PDM7580_thumb.jpg","galleries_id":262950,"server_id":1,"link":"photo_8331643.html","width":130,"caption":"Poppy","height":87});
															thumbnails[8331652] = clik.newPhoto({"id":8331652,"src":"_PDM7672_thumb.jpg","galleries_id":262950,"server_id":1,"link":"photo_8331652.html","width":130,"caption":"","height":122});
															thumbnails[8331677] = clik.newPhoto({"id":8331677,"src":"contrast2-small_thumb.jpg","galleries_id":39766,"server_id":1,"link":"photo_8331677.html","width":130,"caption":"Contrast","height":86});
															thumbnails[8331683] = clik.newPhoto({"id":8331683,"src":"MuseumofLife3_thumb.jpg","galleries_id":39766,"server_id":1,"link":"photo_8331683.html","width":130,"caption":"Spiral","height":86});
															thumbnails[8863776] = clik.newPhoto({"id":8863776,"src":"crefnant1_CA026531-1E4F-37DC-7122D9222AB00EA6_thumb.jpg","galleries_id":36757,"server_id":1,"link":"photo_8863776.html","width":130,"caption":"Llyn Crefnant I","height":58});
															thumbnails[8863777] = clik.newPhoto({"id":8863777,"src":"crefnant2_CA028D20-1E4F-37DC-711577A484038485_thumb.jpg","galleries_id":36757,"server_id":1,"link":"photo_8863777.html","width":130,"caption":"Llyn Crefnant II","height":75});
															thumbnails[8863778] = clik.newPhoto({"id":8863778,"src":"crefnant3_CA02B9C7-1E4F-37DC-71ABED3B24EBC120_thumb.jpg","galleries_id":36757,"server_id":1,"link":"photo_8863778.html","width":130,"caption":"Llyn Crefnant III","height":74});
															thumbnails[8863779] = clik.newPhoto({"id":8863779,"src":"crefnant4_CA02F0BC-1E4F-37DC-714D06742B1D5C7D_thumb.jpg","galleries_id":36757,"server_id":1,"link":"photo_8863779.html","width":130,"caption":"Llyn Crefnant IV","height":87});
															thumbnails[8863783] = clik.newPhoto({"id":8863783,"src":"Upper-Wharfdale_CA03BE14-1E4F-37DC-715A400BAC05F228_thumb.jpg","galleries_id":36755,"server_id":1,"link":"photo_8863783.html","width":130,"caption":"Upper Wharfdale","height":79});
															thumbnails[8863784] = clik.newPhoto({"id":8863784,"src":"vale-of-keswick_CA04018E-1E4F-37DC-7148C8637F315927_thumb.jpg","galleries_id":36755,"server_id":1,"link":"photo_8863784.html","width":130,"caption":"Vale of Keswick","height":86});
															thumbnails[8863785] = clik.newPhoto({"id":8863785,"src":"winter-light_CA043F14-1E4F-37DC-71CEDAAF44D74240_thumb.jpg","galleries_id":36755,"server_id":1,"link":"photo_8863785.html","width":130,"caption":" Lakeland Light","height":86});
															thumbnails[464618] = clik.newPhoto({"id":464618,"src":"cornflower21_thumb.jpg","galleries_id":262950,"server_id":1,"link":"photo_464618.html","width":95,"caption":"Standing Proud","height":130});
															thumbnails[464619] = clik.newPhoto({"id":464619,"src":"falls1_thumb.jpg","galleries_id":36758,"server_id":1,"link":"photo_464619.html","width":95,"caption":"Cascade","height":130});
															thumbnails[464625] = clik.newPhoto({"id":464625,"src":"molfre11_thumb.jpg","galleries_id":36757,"server_id":1,"link":"photo_464625.html","width":97,"caption":"Anglesey Dawn","height":130});
															thumbnails[464630] = clik.newPhoto({"id":464630,"src":"sand2_thumb.jpg","galleries_id":36758,"server_id":1,"link":"photo_464630.html","width":130,"caption":"Sand Art","height":130});
															thumbnails[476686] = clik.newPhoto({"id":476686,"src":"cornflower1_thumb.jpg","galleries_id":262950,"server_id":1,"link":"photo_476686.html","width":97,"caption":"Cornflower","height":130});
															thumbnails[476772] = clik.newPhoto({"id":476772,"src":"jacobite_thumb.jpg","galleries_id":36756,"server_id":1,"link":"photo_476772.html","width":91,"caption":"Jacobite","height":130});
															thumbnails[476781] = clik.newPhoto({"id":476781,"src":"llynogwen_thumb.jpg","galleries_id":36757,"server_id":1,"link":"photo_476781.html","width":96,"caption":"Liquid Gold","height":130});
															thumbnails[477078] = clik.newPhoto({"id":477078,"src":"dune2_thumb.jpg","galleries_id":36758,"server_id":1,"link":"photo_477078.html","width":86,"caption":"Blowin' in the Wind","height":130});
															thumbnails[478480] = clik.newPhoto({"id":478480,"src":"corrie22_thumb.jpg","galleries_id":36756,"server_id":1,"link":"photo_478480.html","width":96,"caption":"Pirate's Cove","height":130});
															thumbnails[480468] = clik.newPhoto({"id":480468,"src":"thurstaston41_thumb.jpg","galleries_id":36758,"server_id":1,"link":"photo_480468.html","width":98,"caption":"Heather Rocks","height":130});
															thumbnails[480471] = clik.newPhoto({"id":480471,"src":"helsbyhill1_thumb.jpg","galleries_id":36755,"server_id":1,"link":"photo_480471.html","width":94,"caption":"Winter's Breath","height":130});
															thumbnails[480473] = clik.newPhoto({"id":480473,"src":"snow21_thumb.jpg","galleries_id":36758,"server_id":1,"link":"photo_480473.html","width":95,"caption":"Snow","height":130});
															thumbnails[491981] = clik.newPhoto({"id":491981,"src":"imachar41_thumb.jpg","galleries_id":36758,"server_id":1,"link":"photo_491981.html","width":96,"caption":"Sculptured","height":130});
															thumbnails[491987] = clik.newPhoto({"id":491987,"src":"sandpocket11_thumb.jpg","galleries_id":36758,"server_id":1,"link":"photo_491987.html","width":95,"caption":"Sand\/Stone","height":130});
															thumbnails[491989] = clik.newPhoto({"id":491989,"src":"snow11_thumb.jpg","galleries_id":36755,"server_id":1,"link":"photo_491989.html","width":96,"caption":"When Winter Comes","height":130});
															thumbnails[491990] = clik.newPhoto({"id":491990,"src":"meols21_thumb.jpg","galleries_id":36755,"server_id":1,"link":"photo_491990.html","width":96,"caption":"Low Water","height":130});
															thumbnails[491992] = clik.newPhoto({"id":491992,"src":"arley1_thumb.jpg","galleries_id":36755,"server_id":1,"link":"photo_491992.html","width":95,"caption":"The Bliss of Solitude","height":130});
															thumbnails[491994] = clik.newPhoto({"id":491994,"src":"corrie1_thumb.jpg","galleries_id":36756,"server_id":1,"link":"photo_491994.html","width":97,"caption":"Giant's Marbles","height":130});
															thumbnails[522436] = clik.newPhoto({"id":522436,"src":"dawntreader_thumb.jpg","galleries_id":36756,"server_id":1,"link":"photo_522436.html","width":95,"caption":"The Dawn Treader","height":130});
															thumbnails[569094] = clik.newPhoto({"id":569094,"src":"thistle_thumb.jpg","galleries_id":262950,"server_id":1,"link":"photo_569094.html","width":62,"caption":"Flower of Scotland","height":130});
															thumbnails[569107] = clik.newPhoto({"id":569107,"src":"borrowdale11_thumb.jpg","galleries_id":36755,"server_id":1,"link":"photo_569107.html","width":118,"caption":"Borrowdale","height":130});
															thumbnails[626183] = clik.newPhoto({"id":626183,"src":"cwmorthin1_thumb.jpg","galleries_id":36757,"server_id":1,"link":"photo_626183.html","width":96,"caption":"Abandoned","height":130});
															thumbnails[627205] = clik.newPhoto({"id":627205,"src":"frost2_thumb.jpg","galleries_id":36758,"server_id":1,"link":"photo_627205.html","width":97,"caption":"Frosted","height":130});
															thumbnails[627208] = clik.newPhoto({"id":627208,"src":"3trees_thumb.jpg","galleries_id":36755,"server_id":1,"link":"photo_627208.html","width":95,"caption":"Three Trees","height":130});
															thumbnails[627210] = clik.newPhoto({"id":627210,"src":"corby2_thumb.jpg","galleries_id":36755,"server_id":1,"link":"photo_627210.html","width":94,"caption":"Corby Crags","height":130});
															thumbnails[627245] = clik.newPhoto({"id":627245,"src":"ingleton2_thumb.jpg","galleries_id":36755,"server_id":1,"link":"photo_627245.html","width":97,"caption":"Ingleborough","height":130});
															thumbnails[662585] = clik.newPhoto({"id":662585,"src":"molfre2_thumb.jpg","galleries_id":36757,"server_id":1,"link":"photo_662585.html","width":130,"caption":"The Harbour","height":130});
															thumbnails[737533] = clik.newPhoto({"id":737533,"src":"snowdon2_thumb.jpg","galleries_id":36757,"server_id":1,"link":"photo_737533.html","width":87,"caption":"Across the Lake","height":130});
															thumbnails[737560] = clik.newPhoto({"id":737560,"src":"newgrowth_thumb.jpg","galleries_id":36758,"server_id":1,"link":"photo_737560.html","width":87,"caption":"New Growth","height":130});
															thumbnails[737567] = clik.newPhoto({"id":737567,"src":"tree2_thumb.jpg","galleries_id":36757,"server_id":1,"link":"photo_737567.html","width":93,"caption":"Tree by a Lake","height":130});
															thumbnails[1177418] = clik.newPhoto({"id":1177418,"src":"ogwen falls_thumb.jpg","galleries_id":36757,"server_id":1,"link":"photo_1177418.html","width":97,"caption":"Ogwen Falls and Tryfan","height":130});
															thumbnails[1177434] = clik.newPhoto({"id":1177434,"src":"below the bridge_thumb.jpg","galleries_id":36757,"server_id":1,"link":"photo_1177434.html","width":87,"caption":"Ogwen Falls","height":130});
															thumbnails[1177467] = clik.newPhoto({"id":1177467,"src":"stamen1_thumb.jpg","galleries_id":262950,"server_id":1,"link":"photo_1177467.html","width":87,"caption":"Purple Haze","height":130});
															thumbnails[1381970] = clik.newPhoto({"id":1381970,"src":"perch rock 5_thumb.jpg","galleries_id":36755,"server_id":1,"link":"photo_1381970.html","width":96,"caption":"Light of Tranquility","height":130});
															thumbnails[2776678] = clik.newPhoto({"id":2776678,"src":"lily_thumb.jpg","galleries_id":262950,"server_id":1,"link":"photo_2776678.html","width":87,"caption":"Lily","height":130});
															thumbnails[3160041] = clik.newPhoto({"id":3160041,"src":"blencathra1_thumb.jpg","galleries_id":36755,"server_id":1,"link":"photo_3160041.html","width":97,"caption":"Blencathra","height":130});
															thumbnails[3688264] = clik.newPhoto({"id":3688264,"src":"moel_siabod_thumb.jpg","galleries_id":36757,"server_id":1,"link":"photo_3688264.html","width":95,"caption":"Moel Siabod at Dawn","height":130});
															thumbnails[4522832] = clik.newPhoto({"id":4522832,"src":"flower_3_thumb.jpg","galleries_id":262950,"server_id":1,"link":"photo_4522832.html","width":87,"caption":"Cosmos II","height":130});
															thumbnails[4522886] = clik.newPhoto({"id":4522886,"src":"flower_13_thumb.jpg","galleries_id":262950,"server_id":1,"link":"photo_4522886.html","width":91,"caption":"Cosmos III","height":130});
															thumbnails[4522892] = clik.newPhoto({"id":4522892,"src":"wild_flower_1_thumb.jpg","galleries_id":262950,"server_id":1,"link":"photo_4522892.html","width":87,"caption":"Wildflower","height":130});
															thumbnails[4531368] = clik.newPhoto({"id":4531368,"src":"flower_7_thumb.jpg","galleries_id":262950,"server_id":1,"link":"photo_4531368.html","width":87,"caption":"","height":130});
															thumbnails[4531369] = clik.newPhoto({"id":4531369,"src":"flower_5_thumb.jpg","galleries_id":262950,"server_id":1,"link":"photo_4531369.html","width":87,"caption":"","height":130});
															thumbnails[4531371] = clik.newPhoto({"id":4531371,"src":"flower_6_thumb.jpg","galleries_id":262950,"server_id":1,"link":"photo_4531371.html","width":87,"caption":"Poppy","height":130});
															thumbnails[4531373] = clik.newPhoto({"id":4531373,"src":"flower_101_thumb.jpg","galleries_id":262950,"server_id":1,"link":"photo_4531373.html","width":87,"caption":"","height":130});
															thumbnails[5112540] = clik.newPhoto({"id":5112540,"src":"garden042_thumb.jpg","galleries_id":115649,"server_id":1,"link":"photo_5112540.html","width":130,"caption":"","height":87});
															thumbnails[5112542] = clik.newPhoto({"id":5112542,"src":"garden052_thumb.jpg","galleries_id":115649,"server_id":1,"link":"photo_5112542.html","width":87,"caption":"","height":130});
															thumbnails[5112546] = clik.newPhoto({"id":5112546,"src":"garden063_thumb.jpg","galleries_id":115649,"server_id":1,"link":"photo_5112546.html","width":87,"caption":"","height":130});
															thumbnails[5112549] = clik.newPhoto({"id":5112549,"src":"garden086_thumb.jpg","galleries_id":115649,"server_id":1,"link":"photo_5112549.html","width":130,"caption":"","height":87});
															thumbnails[5288363] = clik.newPhoto({"id":5288363,"src":"first_snow_thumb.jpg","galleries_id":36757,"server_id":1,"link":"photo_5288363.html","width":94,"caption":"First Snow","height":130});
															thumbnails[5350766] = clik.newPhoto({"id":5350766,"src":"helsby_thumb.jpg","galleries_id":36755,"server_id":1,"link":"photo_5350766.html","width":86,"caption":"Helsby in Snow","height":130});
															thumbnails[5350780] = clik.newPhoto({"id":5350780,"src":"clwyd_2_thumb.jpg","galleries_id":36757,"server_id":1,"link":"photo_5350780.html","width":87,"caption":"Winter Glow","height":130});
															thumbnails[5350786] = clik.newPhoto({"id":5350786,"src":"clwyd_5_thumb.jpg","galleries_id":36757,"server_id":1,"link":"photo_5350786.html","width":93,"caption":"Cold Lane","height":130});
															thumbnails[5350846] = clik.newPhoto({"id":5350846,"src":"clwyd_12_thumb.jpg","galleries_id":36757,"server_id":1,"link":"photo_5350846.html","width":87,"caption":"Snow on Bryn Alyn","height":130});
															thumbnails[5350861] = clik.newPhoto({"id":5350861,"src":"whiteout_thumb.jpg","galleries_id":36755,"server_id":1,"link":"photo_5350861.html","width":94,"caption":"Whiteout","height":130});
															thumbnails[5350870] = clik.newPhoto({"id":5350870,"src":"snow_3_thumb.jpg","galleries_id":36755,"server_id":1,"link":"photo_5350870.html","width":87,"caption":"Whiteout II","height":130});
															thumbnails[6091208] = clik.newPhoto({"id":6091208,"src":"laburnum_1_thumb.jpg","galleries_id":262950,"server_id":1,"link":"photo_6091208.html","width":86,"caption":"","height":130});
															thumbnails[6091211] = clik.newPhoto({"id":6091211,"src":"laburnum_2_thumb.jpg","galleries_id":262950,"server_id":1,"link":"photo_6091211.html","width":86,"caption":"","height":130});
															thumbnails[6091212] = clik.newPhoto({"id":6091212,"src":"mecanopsis1_thumb.jpg","galleries_id":262950,"server_id":1,"link":"photo_6091212.html","width":90,"caption":"","height":130});
															thumbnails[6093439] = clik.newPhoto({"id":6093439,"src":"fern_thumb.jpg","galleries_id":262950,"server_id":1,"link":"photo_6093439.html","width":86,"caption":"","height":130});
															thumbnails[6093443] = clik.newPhoto({"id":6093443,"src":"leaf_5_thumb.jpg","galleries_id":262950,"server_id":1,"link":"photo_6093443.html","width":86,"caption":"","height":130});
															thumbnails[6093444] = clik.newPhoto({"id":6093444,"src":"ogwen_falls_2_thumb.jpg","galleries_id":36757,"server_id":1,"link":"photo_6093444.html","width":92,"caption":"Ogwen Falls II","height":130});
															thumbnails[6093450] = clik.newPhoto({"id":6093450,"src":"ivy_1_thumb.jpg","galleries_id":262950,"server_id":1,"link":"photo_6093450.html","width":85,"caption":"Symbiosis I","height":130});
															thumbnails[6589484] = clik.newPhoto({"id":6589484,"src":"acfary1_thumb.jpg","galleries_id":36756,"server_id":1,"link":"photo_6589484.html","width":86,"caption":"Loch Achray and Ben Venue","height":130});
															thumbnails[6884076] = clik.newPhoto({"id":6884076,"src":"Birch__Acer_2_thumb.jpg","galleries_id":262950,"server_id":1,"link":"photo_6884076.html","width":87,"caption":"Autumn Birch","height":130});
															thumbnails[6884276] = clik.newPhoto({"id":6884276,"src":"igpoty5_thumb.jpg","galleries_id":262950,"server_id":1,"link":"photo_6884276.html","width":87,"caption":"Hanging On II","height":130});
															thumbnails[6884278] = clik.newPhoto({"id":6884278,"src":"igpoty6_thumb.jpg","galleries_id":262950,"server_id":1,"link":"photo_6884278.html","width":87,"caption":"Birch & Acer","height":130});
															thumbnails[6884284] = clik.newPhoto({"id":6884284,"src":"Katsura_Tree_4_thumb.jpg","galleries_id":262950,"server_id":1,"link":"photo_6884284.html","width":87,"caption":"Katsura Leaf","height":130});
															thumbnails[7006455] = clik.newPhoto({"id":7006455,"src":"west_burton_falls_1_thumb.jpg","galleries_id":36755,"server_id":1,"link":"photo_7006455.html","width":87,"caption":"West Burton Falls I","height":130});
															thumbnails[7006458] = clik.newPhoto({"id":7006458,"src":"west_burton_falls_2_thumb.jpg","galleries_id":36755,"server_id":1,"link":"photo_7006458.html","width":88,"caption":"West Burton Falls II","height":130});
															thumbnails[7246398] = clik.newPhoto({"id":7246398,"src":"lewis_thumb.jpg","galleries_id":39766,"server_id":1,"link":"photo_7246398.html","width":87,"caption":"","height":130});
															thumbnails[7347770] = clik.newPhoto({"id":7347770,"src":"sacs5thave_thumb.jpg","galleries_id":39766,"server_id":1,"link":"photo_7347770.html","width":85,"caption":"City of Contrast","height":130});
															thumbnails[7347775] = clik.newPhoto({"id":7347775,"src":"plaza_thumb.jpg","galleries_id":39766,"server_id":1,"link":"photo_7347775.html","width":98,"caption":"Westminster Bridge","height":130});
															thumbnails[7347778] = clik.newPhoto({"id":7347778,"src":"transamerica_thumb.jpg","galleries_id":39766,"server_id":1,"link":"photo_7347778.html","width":85,"caption":"The Old and the New","height":130});
															thumbnails[7347781] = clik.newPhoto({"id":7347781,"src":"reflections_thumb.jpg","galleries_id":39766,"server_id":1,"link":"photo_7347781.html","width":86,"caption":"Reflections of New York","height":130});
															thumbnails[7348202] = clik.newPhoto({"id":7348202,"src":"angles_thumb.jpg","galleries_id":39766,"server_id":1,"link":"photo_7348202.html","width":85,"caption":"City of Angles","height":130});
															thumbnails[7348208] = clik.newPhoto({"id":7348208,"src":"pier-head-4_thumb.jpg","galleries_id":39766,"server_id":1,"link":"photo_7348208.html","width":91,"caption":"Port of Liverpool Building","height":130});
															thumbnails[7348218] = clik.newPhoto({"id":7348218,"src":"pier-head-5_thumb.jpg","galleries_id":39766,"server_id":1,"link":"photo_7348218.html","width":96,"caption":"Night Life","height":130});
															thumbnails[7389110] = clik.newPhoto({"id":7389110,"src":"moelfamau3_thumb.jpg","galleries_id":36757,"server_id":1,"link":"photo_7389110.html","width":100,"caption":"Moel Famau - Winter Morning","height":130});
															thumbnails[7725235] = clik.newPhoto({"id":7725235,"src":"contrast_thumb.jpg","galleries_id":39766,"server_id":1,"link":"photo_7725235.html","width":90,"caption":"The Old and the New II","height":130});
															thumbnails[8331645] = clik.newPhoto({"id":8331645,"src":"_PDM7687_thumb.jpg","galleries_id":262950,"server_id":1,"link":"photo_8331645.html","width":105,"caption":"","height":130});
															thumbnails[8331686] = clik.newPhoto({"id":8331686,"src":"FSC_thumb.jpg","galleries_id":39766,"server_id":1,"link":"photo_8331686.html","width":96,"caption":"Child of the Sun","height":130});
															thumbnails[8863780] = clik.newPhoto({"id":8863780,"src":"fairy-glen_CA033305-1E4F-37DC-7110E0C3A413AF76_thumb.jpg","galleries_id":36757,"server_id":1,"link":"photo_8863780.html","width":92,"caption":"Fairy Glen","height":130});
															thumbnails[8863781] = clik.newPhoto({"id":8863781,"src":"falls2_CA0376F2-1E4F-37DC-71C4FC7C93DA8D4B_thumb.jpg","galleries_id":36755,"server_id":1,"link":"photo_8863781.html","width":130,"caption":"Falls","height":87});
															thumbnails[464626] = clik.newPhoto({"id":464626,"src":"machriemoorbw_thumb.jpg","galleries_id":36756,"server_id":1,"link":"photo_464626.html","width":130,"caption":"Machrie Moor","height":75});
															thumbnails[496558] = clik.newPhoto({"id":496558,"src":"NEWBRIGHTON_thumb.jpg","galleries_id":36755,"server_id":1,"link":"photo_496558.html","width":94,"caption":"Light Reflected","height":130});
															thumbnails[956836] = clik.newPhoto({"id":956836,"src":"moelfamau21_thumb.jpg","galleries_id":36757,"server_id":1,"link":"photo_956836.html","width":95,"caption":"Moonlight over Moel Famau","height":130});
															thumbnails[2728758] = clik.newPhoto({"id":2728758,"src":"cascade_thumb.jpg","galleries_id":36758,"server_id":1,"link":"photo_2728758.html","width":87,"caption":"Go with the flow","height":130});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[36755] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"England","link":"gallery_36755.html","maxRecords":0.0,"photoIDs":[464607.0,464608.0,464609.0,464610.0,464611.0,476682.0,476687.0,477086.0,480469.0,480470.0,487377.0,522435.0,569101.0,569104.0,595736.0,641568.0,1381963.0,1724579.0,3159983.0,5025890.0,5025893.0,5350764.0,5350854.0,7006451.0,7515377.0,7718004.0,8863783.0,8863784.0,8863785.0,480471.0,491989.0,491990.0,491992.0,569107.0,627208.0,627210.0,627245.0,1381970.0,3160041.0,5350766.0,5350861.0,5350870.0,7006455.0,7006458.0,8863781.0,496558.0],"skipIndex":0,"section_code":"gallery","featured_images":"8863785,8863784,8863783,8863781,7718004,7515377","id":36755,"singleSection":false});				  						galleries[36756] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Scotland","link":"gallery_36756.html","maxRecords":0.0,"photoIDs":[464612.0,464613.0,464615.0,478473.0,6589487.0,476772.0,478480.0,491994.0,522436.0,6589484.0,464626.0],"skipIndex":0,"section_code":"gallery","featured_images":"6589487,6589484,522436,491994,478480,478473,476772,464626,464615,464613","id":36756,"singleSection":false});				  						galleries[36757] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Wales","link":"gallery_36757.html","maxRecords":0.0,"photoIDs":[464620.0,464621.0,464623.0,610800.0,610803.0,626180.0,737562.0,742914.0,1177372.0,1177390.0,5350774.0,5350779.0,5350812.0,5350835.0,5350836.0,5350839.0,5350841.0,5350850.0,8863776.0,8863777.0,8863778.0,8863779.0,464625.0,476781.0,626183.0,662585.0,737533.0,737567.0,1177418.0,1177434.0,3688264.0,5288363.0,5350780.0,5350786.0,5350846.0,6093444.0,7389110.0,8863780.0,956836.0],"skipIndex":0,"section_code":"gallery","featured_images":"8863780,8863779,8863778,8863777,8863776,7389110","id":36757,"singleSection":false});				  						galleries[36758] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Natural Design","link":"gallery_36758.html","maxRecords":0.0,"photoIDs":[464629.0,487382.0,491971.0,491976.0,491978.0,491980.0,491984.0,492001.0,610797.0,2728760.0,3512958.0,3833542.0,6589479.0,6589501.0,6884176.0,464619.0,464630.0,477078.0,480468.0,480473.0,491981.0,491987.0,627205.0,737560.0,2728758.0],"skipIndex":0,"section_code":"gallery","featured_images":"6884176,6589501,6589479,3833542,3512958,2728760,2728758,737560,627205,610797","id":36758,"singleSection":false});				  						galleries[262950] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Flowers & Gardens","link":"gallery_262950.html","maxRecords":0.0,"photoIDs":[3833483.0,4522830.0,4522885.0,4531365.0,4531370.0,5705548.0,5705577.0,5705583.0,5705585.0,5705586.0,5926575.0,6093446.0,6093456.0,6884281.0,8331643.0,8331652.0,464618.0,476686.0,569094.0,1177467.0,2776678.0,4522832.0,4522886.0,4522892.0,4531368.0,4531369.0,4531371.0,4531373.0,6091208.0,6091211.0,6091212.0,6093439.0,6093443.0,6093450.0,6884076.0,6884276.0,6884278.0,6884284.0,8331645.0],"skipIndex":0,"section_code":"gallery","featured_images":"8331652,8331645,8331643","id":262950,"singleSection":false});				  						galleries[39766] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Architecture","link":"gallery_39766.html","maxRecords":0.0,"photoIDs":[3652537.0,8331677.0,8331683.0,7246398.0,7347770.0,7347775.0,7347778.0,7347781.0,7348202.0,7348208.0,7348218.0,7725235.0,8331686.0],"skipIndex":0,"section_code":"gallery","featured_images":"8331686,8331683,8331677,7725235,7348218,7348208,7348202,7347781,7347778,7347775,7347770,7246398","id":39766,"singleSection":false});				  						galleries[115649] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Commissioned Work","link":"gallery_115649.html","maxRecords":0.0,"photoIDs":[1710528.0,1710536.0,1710539.0,1710554.0,1710557.0,1710624.0,1832243.0,2016741.0,2016804.0,2016805.0,3512995.0,3512997.0,3513001.0,3513005.0,3513010.0,7389106.0,5112540.0,5112542.0,5112546.0,5112549.0],"skipIndex":0,"section_code":"gallery","featured_images":7389106.0,"id":115649,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '8863784,8863783,8863778,8863777,8863776,8331683,8331643,7718004,7515377,7389106,7006451,6589501,6589479,5926575,5350839,5350774,5350764,5025893,5025890,4522885,2016805,1710557,1710554,742914,491976,464612,464607,8863781';
imageSets[2] = '8863785,8863784,8863783,8863779,8863778,8863777,8863776,8331683,8331677,8331652,8331643,7718004,7515377,7389106,8863781,8863780,8331686,8331645,7725235,7389110,7348218,7348208,7348202,7347781,7347778,7347775,7347770,7246398';
imageSets[3] = '8863785,8863784,8863783,8863781,8863780,8863779,8863778,8863777,8863776,8331686,8331683,8331677,8331652,8331645,8331643,7725235,7718004,7515377,7389110,7389106,7348218,7348208,7348202,7347781,7347778,7347775,7347770,7246398,7006458,7006455,7006451,6884284,6884281,6884278,6884276,6884176,6884076,6589501,6589487,6589484,6589479,6093456,6093450,6093446,6093444,6093443,6093439,6091212,6091211,6091208';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/fellsnapper/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/fellsnapper/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/fellsnapper/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/fellsnapper/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/fellsnapper/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/fellsnapper/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/fellsnapper/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/fellsnapper/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/fellsnapper/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/fellsnapper/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/fellsnapper/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/fellsnapper/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/fellsnapper/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/fellsnapper/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/fellsnapper/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/fellsnapper/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/fellsnapper/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/fellsnapper/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/fellsnapper/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/fellsnapper/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/fellsnapper/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/fellsnapper/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/fellsnapper/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/fellsnapper/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/fellsnapper/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/fellsnapper/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/fellsnapper/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 || photos || {})[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:'',$detailContainer:'',
                    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 (op.updateHash && clik.getIDInUrl(location.href,'photo') != op.nextPhoto.id) {
		clik.changeHash('photos_id=' + op.nextPhoto.id, true);
	}
		
	    if (op.$title.length > 0) {
  		op.$title.fadeGalleryDetails(photoCaption, op.speed);
    }
        if (op.updateDocumentTitle) {
						  document.title = 'Landscape and Light: ' + photoCaption;
			    }
        if (op.$detail.length > 0) {
      	temp = op.nextPhoto.fnGetImageDetails();
	    op.$detail.fadeGalleryDetails(temp, op.speed, function(){
			if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
				toggleAddToCartConfirm(backgrounds, op.$detail);
			} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
				toggleAddToCartConfirm(photos, op.$detail);
			}
			$('body').trigger('clikUpdate.popup');
	    });
    }
        $(op.$detailContainer).find('.replaceable[class*=replaceable_photo-]').each(function(){
    	var field = clik.getPrefixedClass(this.className, 'replaceable_photo-');
    	if (field in op.nextPhoto) {
    		$(this).fadeGalleryDetails(op.nextPhoto[field], op.speed);
    	}
    }).end().find('.replaceable.photoPayment').fadeGalleryDetails(op.nextPhoto.fnGetPaymentInfo(), op.speed, function(){
		if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
			toggleAddToCartConfirm(backgrounds, op.$detailContainer);
		} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
			toggleAddToCartConfirm(photos, op.$detailContainer);
		}
		$('body').trigger('clikUpdate.popup');
	});
		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));			}, op.onBefore);
		}	}
    if (op.field) {
		op.field.value = photoId;
	} else {
		op.$photo.data('image_id', photoId);
    }
        if (!op.speed) {
      	clik.doColumnResize(false, op.$photo.add(op.$detail).add(op.$title));
    }
        
    return html;
	}

/***************************************************************************
* Toggle add to cart confirmation element and set up the click event for   *
* the 'Add to cart' button.                                                *
***************************************************************************/
function toggleAddToCartConfirm(array, root){
	if (typeof(array) !== 'object' || array === null) {
	  	array = photos;
	}
	if (!$(root).length) {		root = $('body');	}	if($('#paymentConfirm', root).length > 0){
		$('#paymentConfirm', root).hide();
		$('#paymentAddButton', root)
		.unbind()
		.click(function(){
						form = $('#paymentForm', root)[0];
			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', root).text('Item added to cart').show();}
				else{
					$('#paymentConfirm', root).text('Item added to cart').fadeIn();
					dspOrderDetails(form.site.value);
				}
			}
			else{
				$('#paymentConfirm', root).text('Item not added - check cookies are enabled in your browser.').fadeIn();
			}
		});
	}
}

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetImageDetails = function(){
	var temp = '';
	if (this.description != '') {
		temp +=  '<div id="imageDescription">' + this.description + '</div>';
	}
		if (this.photo_ref != '') {
		temp += '<div class="imageinfo" id="imageRef"><strong>Ref: </strong>' + this.photo_ref + '</div>';
	}
		if (this.takendate != '') {
		
		temp += '<div class="imageinfo" id="imageDate"><strong>Date: </strong>' + this.takendate + '</div>';
	}
	
	if (this.location != '') {
		
		temp += '<div class="imageinfo" id="imageLocation"><strong>Location: </strong>' +  this.location + '</div>';
	}
	
	if (this.photographer != '') {
		
		temp += '<div class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>' + this.photographer + '</div>';
	}
				
	temp += this.fnGetPaymentInfo();
				if (temp != '') {
		temp += '<div class="spacer"></div>';
	}
	return temp;
};

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetPaymentInfo = function(){
	var temp = '';
	if (this.item_price !== '') {
																		temp += '<p>Buy now using PayPal:</p>';
				temp += '<div class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> &pound;' + (this.item_price).toFixed(2) + '</div>';
		var item_name  = this.purchase_instruction;
		var amount = (this.item_price).toFixed(2);
		var item_option  = 0;
	}
		else if (this.payment_groups_id !== '') {
		temp += '<p>Buy this print online:</p>';
				temp += '<form id="paymentOptions" style="margin:0px;border:0px;" name="paymentOptions">';
											temp += '<select class="paymentlink" name="payment_options_id" onchange="updateItemValues($(this.form).next(\'#paymentForm\')[0],this.form.payment_options_id.options[this.form.payment_options_id.options.selectedIndex].value);">';
		
		temp += getPaymentOptions(this.payment_groups_id);
		temp += '</select>';
		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 += '<form id="paymentForm" style="margin:0px;border:0px;" name="paymentForm" target="_blank" action="https://www.paypal.com/cgi-bin/webscr" method="post">';
			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 += '<input type="hidden" name="cmd" value="_cart">';
					temp += '<input type="hidden" name="business" value="fellsnapper@yahoo.com">';
					temp += '<input type="hidden" name="currency_code" value="GBP">';
					temp += '<input type="hidden" name="add" value="1">';
													temp += '<input type="hidden" name="amount" value="'+amount+'">';
					temp += '<input type="hidden" name="item_number" value="'+ref+'">';
													temp += '<input type=\"Submit\" value=\"Add to cart\" id=\"paymentAddButton\" class=\"button\" onmouseover=\"this.className=\'buttonHi\';\" onmouseout=\"this.className=\'button\';\">';
										temp += '</form>';
										temp += '<form id="paymentCartForm" style="margin:0px;" name="paymentCartForm" target="_blank" action="https://www.paypal.com/cgi-bin/webscr" method="post">';
				temp += '<input type="hidden" name="cmd" value="_cart">';
				temp += '<input type="hidden" name="business" value="fellsnapper@yahoo.com">';
				temp += '<input type="hidden" name="display" value="1">';
				temp += '<input type=\"Submit\" value=\"View cart\" id=\"paymentViewButton\" class=\"button\" onmouseover=\"this.className=\'buttonHi\';\" onmouseout=\"this.className=\'button\';\">';
				temp += '</form>';
						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({					title: galleries[gallery_id].title				}).filter(function(){return this.href;}).attr({					href: thumbnails[imageID].fnGalleryLink(gallery_id)				});
			}
		}
	}
}

/***************************************************************************
* 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 += '<a href="' + galleries[i].section_code + '_' + galleries[i].id + '.html">' + galleries[i].title + '</a>';
							}
		}
		document.all.galleryLinks.innerHTML = 'Other galleries: ' + temp;
	}
}

			

