window.thumbnails = {};
															thumbnails[4991690] = clik.newPhoto({"id":4991690,"src":"catchawavedownpatricktriptych2proofprint1181_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"catch a wave","height":74});
															thumbnails[4991720] = clik.newPhoto({"id":4991720,"src":"blue-dunwich-moon-1jpg_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"blue Dunwich Moon","height":76});
															thumbnails[4991861] = clik.newPhoto({"id":4991861,"src":"heaven-or-las-vegasjpg_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"","height":85});
															thumbnails[5009973] = clik.newPhoto({"id":5009973,"src":"blue-moon-over-cheswick---2007jpg1_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"","height":128});
															thumbnails[5009976] = clik.newPhoto({"id":5009976,"src":"dungeness-Ga4a4flickr1_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"","height":130});
															thumbnails[5009977] = clik.newPhoto({"id":5009977,"src":"flying-over-colonsay---2007jpg1_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"","height":130});
															thumbnails[5009978] = clik.newPhoto({"id":5009978,"src":"map-islands_edited-finaljpg1_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"","height":147});
															thumbnails[5009981] = clik.newPhoto({"id":5009981,"src":"rust-never-sleeps-5jpg1_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"","height":151});
															thumbnails[5117949] = clik.newPhoto({"id":5117949,"src":"cokeduleman1remixjpg_thumb.jpg","galleries_id":283398,"server_id":18,"link":"photo_5117949.html","width":130,"caption":"coke and dulaman remix no3  - 2008","height":106});
															thumbnails[5003359] = clik.newPhoto({"id":5003359,"src":"harvest-moon-over-mayo---2008-remixjpg_thumb.jpg","galleries_id":283397,"server_id":18,"link":"photo_5003359.html","width":130,"caption":"Harvest Moon over Mayo 2008 remix","height":130});
															thumbnails[4994196] = clik.newPhoto({"id":4994196,"src":"Untitled-1_copy12345_thumb.jpg","galleries_id":283393,"server_id":18,"link":"photo_4994196.html","width":130,"caption":"Birdwater 1 - 1998","height":130});
															thumbnails[4994466] = clik.newPhoto({"id":4994466,"src":"Untitled-1_copy_ED916181-2219-B5B5-4C68B5690DB876E7_thumb.jpg","galleries_id":283321,"server_id":18,"link":"photo_4994466.html","width":130,"caption":"At Work - thanks to Terry Gibson - 1999","height":162});
															thumbnails[4998025] = clik.newPhoto({"id":4998025,"src":"remix3b_thumb.jpg","galleries_id":283396,"server_id":18,"link":"photo_4998025.html","width":130,"caption":"Beached - The Bally na Cashlan Remix - 2003","height":166});
															thumbnails[4998041] = clik.newPhoto({"id":4998041,"src":"leave01b_thumb.jpg","galleries_id":283394,"server_id":18,"link":"photo_4998041.html","width":130,"caption":"Leaf Map - OS 206 - 1996","height":132});
															thumbnails[4998098] = clik.newPhoto({"id":4998098,"src":"7up2jpg_thumb.jpg","galleries_id":283398,"server_id":18,"link":"photo_4998098.html","width":130,"caption":"7UP NO2 - MAYO, 2007","height":130});
															thumbnails[5003315] = clik.newPhoto({"id":5003315,"src":"blue-moon-over-cheswick---2007jpg_thumb.jpg","galleries_id":283397,"server_id":18,"link":"photo_5003315.html","width":130,"caption":"Blue Moon over Cheswick - 2007","height":128});
															thumbnails[5003375] = clik.newPhoto({"id":5003375,"src":"Untitled-1_029B7C02-2219-B5B5-4C94933A15C90AE4_thumb.jpg","galleries_id":283395,"server_id":18,"link":"photo_5003375.html","width":130,"caption":"A Day At The Beach - Inner Hebrides - 1998","height":162});
															thumbnails[5010551] = clik.newPhoto({"id":5010551,"src":"Code_barre_b_thumb.jpg","galleries_id":284073,"server_id":18,"link":"photo_5010551.html","width":130,"caption":"Code Barre - Pilat - 2001","height":130});
															thumbnails[5011227] = clik.newPhoto({"id":5011227,"src":"FF2b_thumb.jpg","galleries_id":284133,"server_id":18,"link":"photo_5011227.html","width":130,"caption":"fire 1 - 2002","height":130});
															thumbnails[5011256] = clik.newPhoto({"id":5011256,"src":"salmon_rising1_b_thumb.jpg","galleries_id":284134,"server_id":18,"link":"photo_5011256.html","width":130,"caption":"Salmon Rising No.1 - River Lune - 1999","height":130});
															thumbnails[5011293] = clik.newPhoto({"id":5011293,"src":"Untitled-1_copy_ECF99A2E-2219-B5B5-4CD12FA6FE2242DE_thumb.jpg","galleries_id":284137,"server_id":18,"link":"photo_5011293.html","width":130,"caption":"Curtain - Roach Bridge - 2002","height":134});
															thumbnails[5011311] = clik.newPhoto({"id":5011311,"src":"into_wood1_b_thumb.jpg","galleries_id":284141,"server_id":18,"link":"photo_5011311.html","width":130,"caption":"Looking into the Woods No.1 - Mere Sands Wood - 2003","height":130});
															thumbnails[5011527] = clik.newPhoto({"id":5011527,"src":"WM1b_thumb.jpg","galleries_id":284142,"server_id":18,"link":"photo_5011527.html","width":130,"caption":"Watermark1 - 2002","height":130});
															thumbnails[7111248] = clik.newPhoto({"id":7111248,"src":"sketch_for_a_down_work_-_uisken_thumb.jpg","galleries_id":384662,"server_id":18,"link":"photo_7111248.html","width":130,"caption":"Sketch for a Down Work - 33cm x 33cm","height":131});
															thumbnails[4994200] = clik.newPhoto({"id":4994200,"src":"IW02b_thumb.jpg","galleries_id":283393,"server_id":18,"link":"photo_4994200.html","width":130,"caption":"Birdwater 5 - 1998","height":126});
															thumbnails[4994469] = clik.newPhoto({"id":4994469,"src":"Untitled-1_copy_ED935123-2219-B5B5-4CDE08F94899459F_thumb.jpg","galleries_id":283321,"server_id":18,"link":"photo_4994469.html","width":130,"caption":"The Lonbain Wall - 1998","height":135});
															thumbnails[4998027] = clik.newPhoto({"id":4998027,"src":"remix5b_thumb.jpg","galleries_id":283396,"server_id":18,"link":"photo_4998027.html","width":130,"caption":"Black Slab With Faults Remix No.2 - 2003","height":106});
															thumbnails[4998042] = clik.newPhoto({"id":4998042,"src":"Untitled-1_copy12_thumb.jpg","galleries_id":283394,"server_id":18,"link":"photo_4998042.html","width":130,"caption":"Leaf Map OS 207 - 1996","height":103});
															thumbnails[4998099] = clik.newPhoto({"id":4998099,"src":"Adaptec-map-Island---Colonsayjpg_thumb.jpg","galleries_id":283398,"server_id":18,"link":"photo_4998099.html","width":130,"caption":"ADAPTEC MAP ISLAND - COLONSAY, 2007","height":113});
															thumbnails[5003335] = clik.newPhoto({"id":5003335,"src":"downpatrick-to-bally-na-cashlanjpg_thumb.jpg","galleries_id":283397,"server_id":18,"link":"photo_5003335.html","width":130,"caption":"Downpatrick to Bally na cashlan ","height":130});
															thumbnails[5010270] = clik.newPhoto({"id":5010270,"src":"Untitled-1_029E1185-2219-B5B5-4CBC35869E7767C3_thumb.jpg","galleries_id":283395,"server_id":18,"link":"photo_5010270.html","width":130,"caption":"Cuaig Beach And Moon - 2000","height":160});
															thumbnails[5010414] = clik.newPhoto({"id":5010414,"src":"Untitled-1_copy_ED962B7F-2219-B5B5-4C4F8AE2EA5652C1_thumb.jpg","galleries_id":283322,"server_id":18,"link":"photo_5010414.html","width":130,"caption":"Black Stones Magical Afternoon - 1991","height":131});
															thumbnails[5010552] = clik.newPhoto({"id":5010552,"src":"Introit_b_thumb.jpg","galleries_id":284073,"server_id":18,"link":"photo_5010552.html","width":130,"caption":"Introit - Parc Du Pilat - 2001","height":130});
															thumbnails[5011244] = clik.newPhoto({"id":5011244,"src":"FF1b_thumb.jpg","galleries_id":284133,"server_id":18,"link":"photo_5011244.html","width":130,"caption":"fire 2 2002","height":130});
															thumbnails[5011257] = clik.newPhoto({"id":5011257,"src":"salmon_rising_b_thumb.jpg","galleries_id":284134,"server_id":18,"link":"photo_5011257.html","width":130,"caption":"Samon Rising (Epic Poise) - River Lune - 199","height":130});
															thumbnails[5011298] = clik.newPhoto({"id":5011298,"src":"RB1_b_thumb.jpg","galleries_id":284137,"server_id":18,"link":"photo_5011298.html","width":130,"caption":"Mill Race - Roach Bridge - 2002","height":130});
															thumbnails[5011312] = clik.newPhoto({"id":5011312,"src":"into_wood2_b_thumb.jpg","galleries_id":284141,"server_id":18,"link":"photo_5011312.html","width":130,"caption":"Looking into the Woods No.2 - Mere Sands Wood - 2003","height":130});
															thumbnails[5011530] = clik.newPhoto({"id":5011530,"src":"WM2b_thumb.jpg","galleries_id":284142,"server_id":18,"link":"photo_5011530.html","width":130,"caption":"Watermark2 - 2002","height":130});
															thumbnails[7111261] = clik.newPhoto({"id":7111261,"src":"herring_gull_tide_-_uisken_82C7161C-24E8-5EC4-4FA8A893E4C6BDBF_thumb.jpg","galleries_id":384662,"server_id":18,"link":"photo_7111261.html","width":130,"caption":"Herring Gull Tide - Uisken - 77cm x 77cm","height":133});
															thumbnails[4994202] = clik.newPhoto({"id":4994202,"src":"IW04b_thumb.jpg","galleries_id":283393,"server_id":18,"link":"photo_4994202.html","width":130,"caption":"Ice Works No.9 - Fabric (Detail) - 1999","height":93});
															thumbnails[4994470] = clik.newPhoto({"id":4994470,"src":"Untitled-1_copy123_thumb.jpg","galleries_id":283321,"server_id":18,"link":"photo_4994470.html","width":130,"caption":"Lonbain Stone With Caligraphy - 1993","height":130});
															thumbnails[4998029] = clik.newPhoto({"id":4998029,"src":"remix7b_thumb.jpg","galleries_id":283396,"server_id":18,"link":"photo_4998029.html","width":130,"caption":"Dúlamán - Downpatrick Head remix No.1 - 2003","height":161});
															thumbnails[4998043] = clik.newPhoto({"id":4998043,"src":"leave03b_thumb.jpg","galleries_id":283394,"server_id":18,"link":"photo_4998043.html","width":130,"caption":"Leaf Map No.1 - 1996","height":130});
															thumbnails[4998101] = clik.newPhoto({"id":4998101,"src":"blue-cheswick-moon-may-08jpg_thumb.jpg","galleries_id":283398,"server_id":18,"link":"photo_4998101.html","width":130,"caption":"BLUE MOON OVER CHESWICK, 2008","height":182});
															thumbnails[5003338] = clik.newPhoto({"id":5003338,"src":"dungeness-Ga4a4flickr_thumb.jpg","galleries_id":283397,"server_id":18,"link":"photo_5003338.html","width":130,"caption":"Dungeness","height":130});
															thumbnails[5010272] = clik.newPhoto({"id":5010272,"src":"SW03b_thumb.jpg","galleries_id":283395,"server_id":18,"link":"photo_5010272.html","width":130,"caption":"Belderg Beach no1- Mayo - 2002","height":130});
															thumbnails[5010416] = clik.newPhoto({"id":5010416,"src":"Untitled-1_copy1234_thumb.jpg","galleries_id":283322,"server_id":18,"link":"photo_5010416.html","width":130,"caption":"Blackstone - Bright Water - 1992","height":131});
															thumbnails[5010553] = clik.newPhoto({"id":5010553,"src":"Kyrie_b_thumb.jpg","galleries_id":284073,"server_id":18,"link":"photo_5010553.html","width":130,"caption":"Kyrie - Parc Du Pilat - 2001","height":130});
															thumbnails[5011262] = clik.newPhoto({"id":5011262,"src":"close_to_edge_b_thumb.jpg","galleries_id":284134,"server_id":18,"link":"photo_5011262.html","width":130,"caption":"On the Edge of Landscape - River Lune - 1999","height":130});
															thumbnails[5011299] = clik.newPhoto({"id":5011299,"src":"RB2_b_thumb.jpg","galleries_id":284137,"server_id":18,"link":"photo_5011299.html","width":130,"caption":"Paper Moon - Roach Bridge - 2002","height":130});
															thumbnails[5011313] = clik.newPhoto({"id":5011313,"src":"mere_sands1_b_thumb.jpg","galleries_id":284141,"server_id":18,"link":"photo_5011313.html","width":130,"caption":"O Hanami No.1 - Mere Sands Wood - 2003","height":130});
															thumbnails[5011531] = clik.newPhoto({"id":5011531,"src":"WM3b_thumb.jpg","galleries_id":284142,"server_id":18,"link":"photo_5011531.html","width":130,"caption":"Watermark3 - 2002","height":130});
															thumbnails[7111267] = clik.newPhoto({"id":7111267,"src":"catch_a_wave_-_carsaig_thumb.jpg","galleries_id":384662,"server_id":18,"link":"photo_7111267.html","width":130,"caption":"catch a wave - carsaig - 33cm x 33cm","height":129});
															thumbnails[4994204] = clik.newPhoto({"id":4994204,"src":"IW05b_thumb.jpg","galleries_id":283393,"server_id":18,"link":"photo_4994204.html","width":130,"caption":"Ice Works No.5 - Doorway - 1999","height":104});
															thumbnails[4994471] = clik.newPhoto({"id":4994471,"src":"Lonbain05b_thumb.jpg","galleries_id":283321,"server_id":18,"link":"photo_4994471.html","width":130,"caption":"Lonbain Wall 4 - 1994","height":130});
															thumbnails[4998030] = clik.newPhoto({"id":4998030,"src":"remix9b_thumb.jpg","galleries_id":283396,"server_id":18,"link":"photo_4998030.html","width":130,"caption":"Dúlamán - Downpatrick Head remix No.2 - 2003","height":127});
															thumbnails[4998044] = clik.newPhoto({"id":4998044,"src":"leave04b_thumb.jpg","galleries_id":283394,"server_id":18,"link":"photo_4998044.html","width":130,"caption":"Leaf Circle No.2 - 1997","height":129});
															thumbnails[4998104] = clik.newPhoto({"id":4998104,"src":"catchawavedownpatricktriptych2proofprint11812_thumb.jpg","galleries_id":283398,"server_id":18,"link":"photo_4998104.html","width":130,"caption":"CATCH A WAVE - DOWNPATRICK HEAD, AUTUMN 2008","height":78});
															thumbnails[5003339] = clik.newPhoto({"id":5003339,"src":"FINE4jpg_thumb.jpg","galleries_id":283397,"server_id":18,"link":"photo_5003339.html","width":130,"caption":"PRECIOUS: SEA: STONE NO 3, 2006 KEFALONIA\/MAYO","height":173});
															thumbnails[5003354] = clik.newPhoto({"id":5003354,"src":"full-moon-over-Mayo---2008-blue-remix---2008_edited-1jpg_thumb.jpg","galleries_id":283397,"server_id":18,"link":"photo_5003354.html","width":130,"caption":"Full Moon over Mayo 2008 remix","height":130});
															thumbnails[5010282] = clik.newPhoto({"id":5010282,"src":"Untitled-1_07B8A8C4-2219-B5B5-4CE1436EAE5BE1CF_thumb.jpg","galleries_id":283395,"server_id":18,"link":"photo_5010282.html","width":130,"caption":"Belderg Beach no7 - Mayo - 2002","height":104});
															thumbnails[5010417] = clik.newPhoto({"id":5010417,"src":"Untitled-1_copy_ED98B04B-2219-B5B5-4CF128B3BDB41666_thumb.jpg","galleries_id":283322,"server_id":18,"link":"photo_5010417.html","width":130,"caption":"Bronze Stone - Laide - 1988","height":91});
															thumbnails[5010556] = clik.newPhoto({"id":5010556,"src":"Libera_me_b_thumb.jpg","galleries_id":284073,"server_id":18,"link":"photo_5010556.html","width":130,"caption":"Libera me - Parc Du Pilat - 2001","height":130});
															thumbnails[5011300] = clik.newPhoto({"id":5011300,"src":"RB3_b_thumb.jpg","galleries_id":284137,"server_id":18,"link":"photo_5011300.html","width":130,"caption":"Steam - Roach Bridge -  2002","height":130});
															thumbnails[5011314] = clik.newPhoto({"id":5011314,"src":"mere_sands2_b_thumb.jpg","galleries_id":284141,"server_id":18,"link":"photo_5011314.html","width":130,"caption":"O Hanami No.2 - Mere Sands Wood - 2003","height":130});
															thumbnails[5011532] = clik.newPhoto({"id":5011532,"src":"WM4b_thumb.jpg","galleries_id":284142,"server_id":18,"link":"photo_5011532.html","width":130,"caption":"Watermark4 - 2002","height":130});
															thumbnails[7111271] = clik.newPhoto({"id":7111271,"src":"catch_a_wave_-_ardlanish_thumb.jpg","galleries_id":384662,"server_id":18,"link":"photo_7111271.html","width":130,"caption":"catch a wave - ardalanish - 44cm x 44cm","height":127});
															thumbnails[4994472] = clik.newPhoto({"id":4994472,"src":"Lonbain06b_thumb.jpg","galleries_id":283321,"server_id":18,"link":"photo_4994472.html","width":130,"caption":"Lonbain Wall 2 - 1989","height":131});
															thumbnails[4998031] = clik.newPhoto({"id":4998031,"src":"remix11b_thumb.jpg","galleries_id":283396,"server_id":18,"link":"photo_4998031.html","width":130,"caption":"Dúlamán - Downpatrick Head remix No.3 - 2003","height":160});
															thumbnails[4998045] = clik.newPhoto({"id":4998045,"src":"leave05b_thumb.jpg","galleries_id":283394,"server_id":18,"link":"photo_4998045.html","width":130,"caption":"Leaf Square No.2 - 1997","height":130});
															thumbnails[4998103] = clik.newPhoto({"id":4998103,"src":"blue-dunwich-moon-1jpg1_thumb.jpg","galleries_id":283398,"server_id":18,"link":"photo_4998103.html","width":130,"caption":"BLUE DUNWICH MOON, 2008","height":77});
															thumbnails[5003340] = clik.newPhoto({"id":5003340,"src":"FINE5jpg_thumb.jpg","galleries_id":283397,"server_id":18,"link":"photo_5003340.html","width":130,"caption":"PRECIOUS: SEA: STONE NO 5, 2006 KEFALONIA\/MAYO","height":173});
															thumbnails[5010283] = clik.newPhoto({"id":5010283,"src":"SW05b_thumb.jpg","galleries_id":283395,"server_id":18,"link":"photo_5010283.html","width":130,"caption":"Between Muck And The Mainland No1 - 1999","height":130});
															thumbnails[5010418] = clik.newPhoto({"id":5010418,"src":"Untitled-1_copy_EDA48D16-2219-B5B5-4C42789247CAC1CF_thumb.jpg","galleries_id":283322,"server_id":18,"link":"photo_5010418.html","width":130,"caption":"Landscape with Sand - Colonsay - 1990","height":132});
															thumbnails[5010558] = clik.newPhoto({"id":5010558,"src":"Pie_jesu_b_thumb.jpg","galleries_id":284073,"server_id":18,"link":"photo_5010558.html","width":130,"caption":"Pie Jesu - Parc Du Pilat - 2001","height":130});
															thumbnails[5011315] = clik.newPhoto({"id":5011315,"src":"mere_sands3_b_thumb.jpg","galleries_id":284141,"server_id":18,"link":"photo_5011315.html","width":130,"caption":"O Hanami No.3 - Mere Sands Wood - 2003","height":130});
															thumbnails[5011533] = clik.newPhoto({"id":5011533,"src":"WM5b_thumb.jpg","galleries_id":284142,"server_id":18,"link":"photo_5011533.html","width":130,"caption":"Watermark5 - 2002","height":130});
															thumbnails[7111275] = clik.newPhoto({"id":7111275,"src":"kelp_underwater_-_carsaig_thumb.jpg","galleries_id":384662,"server_id":18,"link":"photo_7111275.html","width":130,"caption":"kelp underwater - cruisaig - 44cm x 44cm","height":126});
															thumbnails[4994206] = clik.newPhoto({"id":4994206,"src":"IW06b_thumb.jpg","galleries_id":283393,"server_id":18,"link":"photo_4994206.html","width":130,"caption":"Ice Works No.9 - Fabric - 1999","height":104});
															thumbnails[4994473] = clik.newPhoto({"id":4994473,"src":"Lonbain08b_thumb.jpg","galleries_id":283321,"server_id":18,"link":"photo_4994473.html","width":130,"caption":"Lonbain Wall 6 - 1991","height":137});
															thumbnails[4998033] = clik.newPhoto({"id":4998033,"src":"remix13b_thumb.jpg","galleries_id":283396,"server_id":18,"link":"photo_4998033.html","width":130,"caption":"In A Silent Way No.2 - The Elgol Remix - 2003","height":131});
															thumbnails[4998046] = clik.newPhoto({"id":4998046,"src":"leave06b_thumb.jpg","galleries_id":283394,"server_id":18,"link":"photo_4998046.html","width":130,"caption":"Sunrise to Sunset No.2 - 1997","height":128});
															thumbnails[4998107] = clik.newPhoto({"id":4998107,"src":"catch-a-wave---Easkey-No1jpg_thumb.jpg","galleries_id":283398,"server_id":18,"link":"photo_4998107.html","width":130,"caption":"CATCH A WAVE - EASKEY NO 1, 2009","height":130});
															thumbnails[5003346] = clik.newPhoto({"id":5003346,"src":"FINE8jpg_thumb.jpg","galleries_id":283397,"server_id":18,"link":"photo_5003346.html","width":130,"caption":"PRECIOUS: SEA: STONE NO 7, 2006 KEFALONIA\/MAYO - unique print","height":173});
															thumbnails[5010285] = clik.newPhoto({"id":5010285,"src":"Untitled-1_07D139EF-2219-B5B5-4C732DA9CC75A48C_thumb.jpg","galleries_id":283395,"server_id":18,"link":"photo_5010285.html","width":130,"caption":"Catch A Wave (Last) Downpatrick Head - 2002","height":159});
															thumbnails[5010419] = clik.newPhoto({"id":5010419,"src":"Untitled-1_copy_ED9BFF0A-2219-B5B5-4CEF1ABD6860075B_thumb.jpg","galleries_id":283322,"server_id":18,"link":"photo_5010419.html","width":130,"caption":"Cultivated Landscape No.1 - Downpatrick Head, Mayo - 2000","height":106});
															thumbnails[5010559] = clik.newPhoto({"id":5010559,"src":"Sanctus_b_thumb.jpg","galleries_id":284073,"server_id":18,"link":"photo_5010559.html","width":130,"caption":"Sanctus - Parc Du Pilat - 2001","height":130});
															thumbnails[5011317] = clik.newPhoto({"id":5011317,"src":"phloem_b_thumb.jpg","galleries_id":284141,"server_id":18,"link":"photo_5011317.html","width":130,"caption":"Silver Birch (Phloem) - Mere Sands Wood - 200","height":130});
															thumbnails[7111278] = clik.newPhoto({"id":7111278,"src":"night_sky_over_the_ross_-_bunessan_thumb.jpg","galleries_id":384662,"server_id":18,"link":"photo_7111278.html","width":130,"caption":"night sky over the ross - bunessan - 44cm x 44cm","height":131});
															thumbnails[4994212] = clik.newPhoto({"id":4994212,"src":"IW07b_thumb.jpg","galleries_id":283393,"server_id":18,"link":"photo_4994212.html","width":130,"caption":"Ice Works No.1- Landsat - 1999","height":163});
															thumbnails[4994474] = clik.newPhoto({"id":4994474,"src":"Lonbain09b_thumb.jpg","galleries_id":283321,"server_id":18,"link":"photo_4994474.html","width":130,"caption":"Lonbain Wall 1 - 1991","height":130});
															thumbnails[4998034] = clik.newPhoto({"id":4998034,"src":"remix15b_thumb.jpg","galleries_id":283396,"server_id":18,"link":"photo_4998034.html","width":130,"caption":"The Lonbain Wall Remix No.1 (version2) - 2003","height":170});
															thumbnails[4998047] = clik.newPhoto({"id":4998047,"src":"leave07b_thumb.jpg","galleries_id":283394,"server_id":18,"link":"photo_4998047.html","width":130,"caption":"Sunrise-Sunset No.3 - 1997","height":131});
															thumbnails[4998110] = clik.newPhoto({"id":4998110,"src":"Untitled-1_thumb.jpg","galleries_id":283398,"server_id":18,"link":"photo_4998110.html","width":130,"caption":"MAPPA CHESWICK, 2008","height":130});
															thumbnails[5003348] = clik.newPhoto({"id":5003348,"src":"flying-over-colonsay---2007jpg_thumb.jpg","galleries_id":283397,"server_id":18,"link":"photo_5003348.html","width":130,"caption":"Flying over Colonsay 2007","height":130});
															thumbnails[5010286] = clik.newPhoto({"id":5010286,"src":"SW07b_thumb.jpg","galleries_id":283395,"server_id":18,"link":"photo_5010286.html","width":130,"caption":"Catch A Wave (no1) Downpatrick Head - 2001","height":130});
															thumbnails[5010562] = clik.newPhoto({"id":5010562,"src":"School_b_thumb.jpg","galleries_id":284073,"server_id":18,"link":"photo_5010562.html","width":130,"caption":"Children of Burdignes school - Parc Du Pilat - 2001","height":130});
															thumbnails[5011318] = clik.newPhoto({"id":5011318,"src":"underfoot_b_thumb.jpg","galleries_id":284141,"server_id":18,"link":"photo_5011318.html","width":130,"caption":"Underfoot - Mere Sands Wood - 2003","height":130});
															thumbnails[7111280] = clik.newPhoto({"id":7111280,"src":"iona_sun_thumb.jpg","galleries_id":384662,"server_id":18,"link":"photo_7111280.html","width":130,"caption":"iona sun - 44cm x 44cm","height":129});
															thumbnails[4994213] = clik.newPhoto({"id":4994213,"src":"IW09b_thumb.jpg","galleries_id":283393,"server_id":18,"link":"photo_4994213.html","width":130,"caption":"River Lune Series - Winter - Aerial View - 1999","height":163});
															thumbnails[4994475] = clik.newPhoto({"id":4994475,"src":"Lonbain10b_thumb.jpg","galleries_id":283321,"server_id":18,"link":"photo_4994475.html","width":130,"caption":"Lonbain Wall 4a - 1991","height":130});
															thumbnails[4998037] = clik.newPhoto({"id":4998037,"src":"remix16b_thumb.jpg","galleries_id":283396,"server_id":18,"link":"photo_4998037.html","width":130,"caption":"Black Slab With Faults Remix No.3 - 2003","height":147});
															thumbnails[4998112] = clik.newPhoto({"id":4998112,"src":"mappakefaloniajpg_thumb.jpg","galleries_id":283398,"server_id":18,"link":"photo_4998112.html","width":130,"caption":"MAPPA KEFALONIA, 2009","height":131});
															thumbnails[5010287] = clik.newPhoto({"id":5010287,"src":"SW08b_thumb.jpg","galleries_id":283395,"server_id":18,"link":"photo_5010287.html","width":130,"caption":"Catch A Wave (no2) Downpatrick Head - 2001","height":130});
															thumbnails[5011319] = clik.newPhoto({"id":5011319,"src":"wood_margin_b_thumb.jpg","galleries_id":284141,"server_id":18,"link":"photo_5011319.html","width":130,"caption":"On the Margin No.2 - Mere Sands Wood - 2003","height":130});
															thumbnails[7111286] = clik.newPhoto({"id":7111286,"src":"three_tides_-__uisken_thumb.jpg","galleries_id":384662,"server_id":18,"link":"photo_7111286.html","width":130,"caption":"three tides -  uisken - 44cm x 44cm","height":129});
															thumbnails[4994215] = clik.newPhoto({"id":4994215,"src":"IW10b_thumb.jpg","galleries_id":283393,"server_id":18,"link":"photo_4994215.html","width":130,"caption":"Ice Works No.10 - Metropolis - 1999","height":166});
															thumbnails[4994476] = clik.newPhoto({"id":4994476,"src":"Lonbain11b_thumb.jpg","galleries_id":283321,"server_id":18,"link":"photo_4994476.html","width":130,"caption":"Lonbain Wall 3 - 1992","height":131});
															thumbnails[4998113] = clik.newPhoto({"id":4998113,"src":"plastic-green-no3jpg_thumb.jpg","galleries_id":283398,"server_id":18,"link":"photo_4998113.html","width":130,"caption":"plastic green no3","height":162});
															thumbnails[5003356] = clik.newPhoto({"id":5003356,"src":"full-moon-over-skala-no1---2007jpg_thumb.jpg","galleries_id":283397,"server_id":18,"link":"photo_5003356.html","width":130,"caption":"Full Moon over Skala no 1","height":131});
															thumbnails[5010288] = clik.newPhoto({"id":5010288,"src":"Untitled-2_thumb.jpg","galleries_id":283395,"server_id":18,"link":"photo_5010288.html","width":130,"caption":"Cherry Cola - 2000","height":130});
															thumbnails[5010424] = clik.newPhoto({"id":5010424,"src":"Untitled-1_copy_EDA0ECDC-2219-B5B5-4C5805AAF919FAD9_thumb.jpg","galleries_id":283322,"server_id":18,"link":"photo_5010424.html","width":130,"caption":"Dungeness (C) - 2002","height":131});
															thumbnails[5088054] = clik.newPhoto({"id":5088054,"src":"remix4b1_thumb.jpg","galleries_id":283396,"server_id":18,"link":"photo_5088054.html","width":130,"caption":"Beached - The Bally na Cashlan Remix (Detail) - 2003","height":172});
															thumbnails[7111290] = clik.newPhoto({"id":7111290,"src":"night_sky_over_uisken_thumb.jpg","galleries_id":384662,"server_id":18,"link":"photo_7111290.html","width":130,"caption":"night sky over heineken - uisken - 44cm x 44cm","height":130});
															thumbnails[5095772] = clik.newPhoto({"id":5095772,"src":"scalaencrusted1proofprint228_thumb.jpg","galleries_id":283398,"server_id":18,"link":"photo_5095772.html","width":130,"caption":"precious sea stones - skala no3 2009","height":130});
															thumbnails[5117905] = clik.newPhoto({"id":5117905,"src":"myrtostattoo4_greenjpg_thumb.jpg","galleries_id":283398,"server_id":18,"link":"photo_5117905.html","width":130,"caption":"precious sea stones - myrtos tattoo no3","height":130});
															thumbnails[4994217] = clik.newPhoto({"id":4994217,"src":"IW11b_thumb.jpg","galleries_id":283393,"server_id":18,"link":"photo_4994217.html","width":130,"caption":"Ice Works No10 - Metropolis (Detail) - 1999","height":132});
															thumbnails[4994477] = clik.newPhoto({"id":4994477,"src":"Lonbain12b_thumb.jpg","galleries_id":283321,"server_id":18,"link":"photo_4994477.html","width":130,"caption":"Lonbain Wall in the rain - 1995","height":131});
															thumbnails[4998119] = clik.newPhoto({"id":4998119,"src":"Rust-Never-Sleeps-Belderg---Jetsom-and-Incoming-Tide-No5jpg_thumb.jpg","galleries_id":283398,"server_id":18,"link":"photo_4998119.html","width":130,"caption":"RUST NEVER SLEEPS, BELDERG - JETSAM AND INCOMING TIDE NO 3, 2009","height":151});
															thumbnails[5010291] = clik.newPhoto({"id":5010291,"src":"SW10b_thumb.jpg","galleries_id":283395,"server_id":18,"link":"photo_5010291.html","width":130,"caption":"Easkey Beach No2 - 2001","height":130});
															thumbnails[5010425] = clik.newPhoto({"id":5010425,"src":"Untitled-1_copy_EE39CAA2-2219-B5B5-4C04154838E3D0A1_thumb.jpg","galleries_id":283322,"server_id":18,"link":"photo_5010425.html","width":130,"caption":"Empyreal Landscape - 1994","height":178});
															thumbnails[5093255] = clik.newPhoto({"id":5093255,"src":"remix6b_thumb.jpg","galleries_id":283396,"server_id":18,"link":"photo_5093255.html","width":130,"caption":"Black Slab With Faults Remix No.2 (Detail) - 2003","height":127});
															thumbnails[7111293] = clik.newPhoto({"id":7111293,"src":"night_sky_over_ardlanish_thumb.jpg","galleries_id":384662,"server_id":18,"link":"photo_7111293.html","width":130,"caption":"night sky over ardalanish - 44cm x 44cm","height":130});
															thumbnails[4994219] = clik.newPhoto({"id":4994219,"src":"IW12b_thumb.jpg","galleries_id":283393,"server_id":18,"link":"photo_4994219.html","width":130,"caption":"Ice Works No.6 - Tranquil - 1999","height":103});
															thumbnails[4994479] = clik.newPhoto({"id":4994479,"src":"Lonbain14b_thumb.jpg","galleries_id":283321,"server_id":18,"link":"photo_4994479.html","width":130,"caption":"Lonbain Wall Colour 1 - 2003","height":175});
															thumbnails[5003362] = clik.newPhoto({"id":5003362,"src":"heaven-or-las-vegasjpg1_thumb.jpg","galleries_id":283397,"server_id":18,"link":"photo_5003362.html","width":130,"caption":"Heaven or Las Vegas","height":85});
															thumbnails[5010426] = clik.newPhoto({"id":5010426,"src":"Untitled-1_copy_EE464540-2219-B5B5-4C2E81CB959B4747_thumb.jpg","galleries_id":283322,"server_id":18,"link":"photo_5010426.html","width":130,"caption":"Four Stones In The Black Stream No.2 - 1998","height":105});
															thumbnails[5093258] = clik.newPhoto({"id":5093258,"src":"remix8b_thumb.jpg","galleries_id":283396,"server_id":18,"link":"photo_5093258.html","width":130,"caption":"Dúlamán - Downpatrick Head remix No.1 (Detail) - 2003","height":117});
															thumbnails[7111310] = clik.newPhoto({"id":7111310,"src":"sea_metal_sea_-_crusaig_thumb.jpg","galleries_id":384662,"server_id":18,"link":"photo_7111310.html","width":130,"caption":"sea metal sea - carsaig - 44cm x 44cm","height":130});
															thumbnails[4994296] = clik.newPhoto({"id":4994296,"src":"IW15b_thumb.jpg","galleries_id":283393,"server_id":18,"link":"photo_4994296.html","width":130,"caption":"Visions Of Iceland No.2 - 1996","height":130});
															thumbnails[4994489] = clik.newPhoto({"id":4994489,"src":"Untitled-1_copy123456_thumb.jpg","galleries_id":283321,"server_id":18,"link":"photo_4994489.html","width":130,"caption":"Sea of Tranquillity - 1994","height":180});
															thumbnails[5003364] = clik.newPhoto({"id":5003364,"src":"map-islands_edited-finaljpg_thumb.jpg","galleries_id":283397,"server_id":18,"link":"photo_5003364.html","width":130,"caption":"Map Islands","height":104});
															thumbnails[5010293] = clik.newPhoto({"id":5010293,"src":"SW12b_thumb.jpg","galleries_id":283395,"server_id":18,"link":"photo_5010293.html","width":130,"caption":"Flotsam - Doorway - Downpatrick Head - 2001","height":130});
															thumbnails[5010427] = clik.newPhoto({"id":5010427,"src":"Untitled-1_copy_EE4F310A-2219-B5B5-4C2DEE805E05A911_thumb.jpg","galleries_id":283322,"server_id":18,"link":"photo_5010427.html","width":130,"caption":"In A Silent Way No.1 - Elgol - 1998","height":105});
															thumbnails[7111319] = clik.newPhoto({"id":7111319,"src":"iona_thumb.jpg","galleries_id":384662,"server_id":18,"link":"photo_7111319.html","width":130,"caption":"the sound of iona - 140cm x 76cm","height":68});
															thumbnails[4994351] = clik.newPhoto({"id":4994351,"src":"IW16b_thumb.jpg","galleries_id":283393,"server_id":18,"link":"photo_4994351.html","width":130,"caption":"Visions Of Iceland No.5 - 1996","height":133});
															thumbnails[4994490] = clik.newPhoto({"id":4994490,"src":"Lonbain16b1_thumb.jpg","galleries_id":283321,"server_id":18,"link":"photo_4994490.html","width":130,"caption":"Wall\/Map - 1991","height":130});
															thumbnails[4998120] = clik.newPhoto({"id":4998120,"src":"rust-never-sleeps-no6-downpatrickjpg_thumb.jpg","galleries_id":283398,"server_id":18,"link":"photo_4998120.html","width":130,"caption":"RUST NEVER SLEEPS, DOWNPATRICK HEAD NO 6, NO 2009","height":155});
															thumbnails[5010295] = clik.newPhoto({"id":5010295,"src":"SW13b_thumb.jpg","galleries_id":283395,"server_id":18,"link":"photo_5010295.html","width":130,"caption":"Flotsam - Pool - Downpatrick Head - 2001","height":130});
															thumbnails[5010429] = clik.newPhoto({"id":5010429,"src":"IMAGE1813_thumb.jpg","galleries_id":283322,"server_id":18,"link":"photo_5010429.html","width":130,"caption":"In A Silent Way No.2 - Elgol - 1998","height":105});
															thumbnails[5093265] = clik.newPhoto({"id":5093265,"src":"remix10b1_thumb.jpg","galleries_id":283396,"server_id":18,"link":"photo_5093265.html","width":130,"caption":"Dúlamán - Downpatrick Head remix No.2 (Detail) - 2003","height":162});
															thumbnails[4998117] = clik.newPhoto({"id":4998117,"src":"rust-never-sleeps-5jpg_thumb.jpg","galleries_id":283398,"server_id":18,"link":"photo_4998117.html","width":130,"caption":"RUST NEVER SLEEPS, BELDERG - JETSAM AND INCOMING TIDE NO 5, 2009","height":151});
															thumbnails[4998123] = clik.newPhoto({"id":4998123,"src":"sea-metal-moon-no1-miller-litejpg_thumb.jpg","galleries_id":283398,"server_id":18,"link":"photo_4998123.html","width":130,"caption":"SEA METAL MOON NO 1 - MILLER LITE IN AN OUTGOING TIDE, 2009","height":151});
															thumbnails[5010298] = clik.newPhoto({"id":5010298,"src":"SW14b_thumb.jpg","galleries_id":283395,"server_id":18,"link":"photo_5010298.html","width":130,"caption":"Flotsam - Window - Downpatrick Head - 2001","height":130});
															thumbnails[5010430] = clik.newPhoto({"id":5010430,"src":"Untitled-1_copy_EE545A6E-2219-B5B5-4CC3E8892B7DEA10_thumb.jpg","galleries_id":283322,"server_id":18,"link":"photo_5010430.html","width":130,"caption":"In A Silent Way No.3 - Elgol - 1998","height":97});
															thumbnails[4998125] = clik.newPhoto({"id":4998125,"src":"sea-metal-moon-no3-coca-colajpg_thumb.jpg","galleries_id":283398,"server_id":18,"link":"photo_4998125.html","width":130,"caption":"SEA METAL MOON NO 3 - COCA COLA IN AN OUTGOING TIDE, 2009","height":151});
															thumbnails[5010299] = clik.newPhoto({"id":5010299,"src":"Untitled-1_copy_thumb.jpg","galleries_id":283395,"server_id":18,"link":"photo_5010299.html","width":130,"caption":"Full Moon Over Mayo - 2001","height":162});
															thumbnails[5010432] = clik.newPhoto({"id":5010432,"src":"Untitled-1_copy_EE6AC873-2219-B5B5-4CBD35C0E259246A_thumb.jpg","galleries_id":283322,"server_id":18,"link":"photo_5010432.html","width":130,"caption":"Incoming Tide - Lonbain - 1994","height":132});
															thumbnails[4998126] = clik.newPhoto({"id":4998126,"src":"sea-metal-moon-no4-7upjpg_thumb.jpg","galleries_id":283398,"server_id":18,"link":"photo_4998126.html","width":130,"caption":"SEA METAL MOON NO 4 - 7UP IN AN INCOMING TIDE, 2009","height":151});
															thumbnails[5010313] = clik.newPhoto({"id":5010313,"src":"SW16b_thumb.jpg","galleries_id":283395,"server_id":18,"link":"photo_5010313.html","width":130,"caption":"Ionian Moon No.3 - Cephalonia - 2000","height":130});
															thumbnails[5010434] = clik.newPhoto({"id":5010434,"src":"Untitled-1_copy_EE6EAEAF-2219-B5B5-4C9228170659F4D6_thumb.jpg","galleries_id":283322,"server_id":18,"link":"photo_5010434.html","width":130,"caption":"Incoming Tide 2 - Lonbain - 1996","height":131});
															thumbnails[5117984] = clik.newPhoto({"id":5117984,"src":"plastic_landscape_2_Mayojpg_thumb.jpg","galleries_id":283398,"server_id":18,"link":"photo_5117984.html","width":130,"caption":"plastic landscape no3, Mayo - 2009","height":188});
															thumbnails[5010353] = clik.newPhoto({"id":5010353,"src":"SW17b_thumb.jpg","galleries_id":283395,"server_id":18,"link":"photo_5010353.html","width":130,"caption":"Ionian Moon No.2 - Cephalonia - 2000","height":130});
															thumbnails[5010436] = clik.newPhoto({"id":5010436,"src":"Untitled-1_copy_EE747F4E-2219-B5B5-4CFB87B28A2674E4_thumb.jpg","galleries_id":283322,"server_id":18,"link":"photo_5010436.html","width":130,"caption":"Close to the Edge No.4 - 1998","height":104});
															thumbnails[5117988] = clik.newPhoto({"id":5117988,"src":"three_tides_and_the_sunjpg_thumb.jpg","galleries_id":283398,"server_id":18,"link":"photo_5117988.html","width":130,"caption":"three tides and the sun - mayo - 2009","height":202});
															thumbnails[5119010] = clik.newPhoto({"id":5119010,"src":"northern_lights_thumb.jpg","galleries_id":283398,"server_id":18,"link":"photo_5119010.html","width":130,"caption":"northern lights - colonsay 2008","height":146});
															thumbnails[5010355] = clik.newPhoto({"id":5010355,"src":"SW18b_thumb.jpg","galleries_id":283395,"server_id":18,"link":"photo_5010355.html","width":130,"caption":"Ionian Moon No.1 - Cephalonia - 2000","height":130});
															thumbnails[5010440] = clik.newPhoto({"id":5010440,"src":"Untitled-1_copy_EE882772-2219-B5B5-4C1FFE9E2A6B7D5C_thumb.jpg","galleries_id":283322,"server_id":18,"link":"photo_5010440.html","width":130,"caption":"Landscape With Shell - Colonsay - 1990","height":132});
															thumbnails[5010358] = clik.newPhoto({"id":5010358,"src":"SW19b_thumb.jpg","galleries_id":283395,"server_id":18,"link":"photo_5010358.html","width":130,"caption":"Rockpools Of Mayo No.4 - 2002","height":130});
															thumbnails[5010442] = clik.newPhoto({"id":5010442,"src":"IMAGE1018_thumb.jpg","galleries_id":283322,"server_id":18,"link":"photo_5010442.html","width":130,"caption":"Mapping The Colonies - Ribbon Development - 1999","height":130});
															thumbnails[5010359] = clik.newPhoto({"id":5010359,"src":"SW20b_thumb.jpg","galleries_id":283395,"server_id":18,"link":"photo_5010359.html","width":130,"caption":"Sand Beach No 2 - 2001","height":130});
															thumbnails[5010443] = clik.newPhoto({"id":5010443,"src":"Untitled-1_028EA7E4-2219-B5B5-4C3CF710A4FEFC47_thumb.jpg","galleries_id":283322,"server_id":18,"link":"photo_5010443.html","width":130,"caption":"Black Sones at Priests Cove - 1992","height":131});
															thumbnails[5010360] = clik.newPhoto({"id":5010360,"src":"SW21b_thumb.jpg","galleries_id":283395,"server_id":18,"link":"photo_5010360.html","width":130,"caption":"Outgoing Tide, Cuaig No.4 - 2002","height":130});
															thumbnails[5010362] = clik.newPhoto({"id":5010362,"src":"SW22b_thumb.jpg","galleries_id":283395,"server_id":18,"link":"photo_5010362.html","width":130,"caption":"Outgoing Tide, Cuaig No.3 - 2002","height":130});
															thumbnails[5010444] = clik.newPhoto({"id":5010444,"src":"Untitled-1_029721F4-2219-B5B5-4CC3BAEF31B923D5_thumb.jpg","galleries_id":283322,"server_id":18,"link":"photo_5010444.html","width":130,"caption":"Sea Of Serenity - 1994","height":173});
															thumbnails[5010445] = clik.newPhoto({"id":5010445,"src":"Untitled-1_029556F1-2219-B5B5-4CC8FEAB6A3A958F_thumb.jpg","galleries_id":283322,"server_id":18,"link":"photo_5010445.html","width":130,"caption":"Sean! ... Keep Absolutely Still...... - 1990","height":127});
															thumbnails[5010369] = clik.newPhoto({"id":5010369,"src":"SW24b_thumb.jpg","galleries_id":283395,"server_id":18,"link":"photo_5010369.html","width":130,"caption":"Sea Metal Moon No.8 - 2002","height":130});
															thumbnails[5010370] = clik.newPhoto({"id":5010370,"src":"Untitled-1_copy12345678_thumb.jpg","galleries_id":283395,"server_id":18,"link":"photo_5010370.html","width":130,"caption":"Sea Metal Moon No.6 - 2002","height":130});
															thumbnails[5010398] = clik.newPhoto({"id":5010398,"src":"Untitled-1_copy1_thumb.jpg","galleries_id":283322,"server_id":18,"link":"photo_5010398.html","width":130,"caption":"Family Effort - Mayo - 2000","height":165});
															thumbnails[5010470] = clik.newPhoto({"id":5010470,"src":"Untitled-1_0293A9B7-2219-B5B5-4C3DBAA7610D6DE5_thumb.jpg","galleries_id":283322,"server_id":18,"link":"photo_5010470.html","width":130,"caption":"Silver Stone In The Rain - 1999","height":131});
															thumbnails[5010372] = clik.newPhoto({"id":5010372,"src":"SW26b_thumb.jpg","galleries_id":283395,"server_id":18,"link":"photo_5010372.html","width":130,"caption":"Sea Metal Moon No.1 (Corona) - 2000","height":130});
															thumbnails[5010472] = clik.newPhoto({"id":5010472,"src":"Untitled-1_0291F2AA-2219-B5B5-4C7143AD4266BB3E_thumb.jpg","galleries_id":283322,"server_id":18,"link":"photo_5010472.html","width":130,"caption":"Carolina Moon - 1994","height":181});
															thumbnails[5010374] = clik.newPhoto({"id":5010374,"src":"SW27b_thumb.jpg","galleries_id":283395,"server_id":18,"link":"photo_5010374.html","width":130,"caption":"Sea Work - Wester Ross from a Sattelite - 1999","height":130});
															thumbnails[5010473] = clik.newPhoto({"id":5010473,"src":"Untitled-1_0299513C-2219-B5B5-4C83D3406393BAB1_thumb.jpg","galleries_id":283322,"server_id":18,"link":"photo_5010473.html","width":130,"caption":"Two Stones On A Shell Beach - 1989","height":128});
															thumbnails[5010375] = clik.newPhoto({"id":5010375,"src":"SW28b_thumb.jpg","galleries_id":283395,"server_id":18,"link":"photo_5010375.html","width":130,"caption":"Strand Line Landscape 1 - Applecross Bay - 2001","height":130});
															thumbnails[5010376] = clik.newPhoto({"id":5010376,"src":"SW29b_thumb.jpg","galleries_id":283395,"server_id":18,"link":"photo_5010376.html","width":130,"caption":"Strand Line Landscape 2 - applecross Bay - 2001","height":130});
															thumbnails[5010475] = clik.newPhoto({"id":5010475,"src":"Untitled-1_copy1234567_thumb.jpg","galleries_id":283322,"server_id":18,"link":"photo_5010475.html","width":130,"caption":"Wet Stone No.4 - 1994","height":132});
															thumbnails[5010499] = clik.newPhoto({"id":5010499,"src":"final2_thumb.jpg","galleries_id":283395,"server_id":18,"link":"photo_5010499.html","width":130,"caption":"Thinking Of Belderg - 2002","height":130});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[283321] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"lonbain Wall","link":"gallery_283321.html","maxRecords":0.0,"photoIDs":[4994466.0,4994469.0,4994470.0,4994471.0,4994472.0,4994473.0,4994474.0,4994475.0,4994476.0,4994477.0,4994479.0,4994489.0,4994490.0],"skipIndex":0,"section_code":"gallery","featured_images":4994474.0,"id":283321,"singleSection":false});				  						galleries[284073] = clik.newGallery({"parentGallery":283614,"usePopups":true,"title":"parc du pilat ( France)","link":"gallery_284073.html","maxRecords":0.0,"photoIDs":[5010551.0,5010552.0,5010553.0,5010556.0,5010558.0,5010559.0,5010562.0],"skipIndex":0,"section_code":"gallery","featured_images":"5010562,5010559,5010558,5010556,5010553,5010552,5010551","id":284073,"singleSection":false});				  						galleries[284133] = clik.newGallery({"parentGallery":283614,"usePopups":true,"title":"Fire","link":"gallery_284133.html","maxRecords":0.0,"photoIDs":[5011227.0,5011244.0],"skipIndex":0,"section_code":"gallery","featured_images":"5011244,5011227","id":284133,"singleSection":false});				  						galleries[283322] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Water, Stone and Light","link":"gallery_283322.html","maxRecords":0.0,"photoIDs":[5010414.0,5010416.0,5010417.0,5010418.0,5010419.0,5010424.0,5010425.0,5010426.0,5010427.0,5010429.0,5010430.0,5010432.0,5010434.0,5010436.0,5010440.0,5010442.0,5010443.0,5010444.0,5010445.0,5010398.0,5010470.0,5010472.0,5010473.0,5010475.0],"skipIndex":0,"section_code":"gallery","featured_images":5010416.0,"id":283322,"singleSection":false});				  						galleries[283393] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Iceworks","link":"gallery_283393.html","maxRecords":0.0,"photoIDs":[4994196.0,4994200.0,4994202.0,4994204.0,4994206.0,4994212.0,4994213.0,4994215.0,4994217.0,4994219.0,4994296.0,4994351.0],"skipIndex":0,"section_code":"gallery","featured_images":4994296.0,"id":283393,"singleSection":false});				  						galleries[284134] = clik.newGallery({"parentGallery":283614,"usePopups":true,"title":"River Lune","link":"gallery_284134.html","maxRecords":0.0,"photoIDs":[5011256.0,5011257.0,5011262.0],"skipIndex":0,"section_code":"gallery","featured_images":"5011262,5011257,5011256","id":284134,"singleSection":false});				  						galleries[283394] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Leaving","link":"gallery_283394.html","maxRecords":0.0,"photoIDs":[4998041.0,4998042.0,4998043.0,4998044.0,4998045.0,4998046.0,4998047.0],"skipIndex":0,"section_code":"gallery","featured_images":4998041.0,"id":283394,"singleSection":false});				  						galleries[284137] = clik.newGallery({"parentGallery":283614,"usePopups":true,"title":"Roach Bridge","link":"gallery_284137.html","maxRecords":0.0,"photoIDs":[5011293.0,5011298.0,5011299.0,5011300.0],"skipIndex":0,"section_code":"gallery","featured_images":5011293.0,"id":284137,"singleSection":false});				  						galleries[284141] = clik.newGallery({"parentGallery":283614,"usePopups":true,"title":"Mere Sands Wood","link":"gallery_284141.html","maxRecords":0.0,"photoIDs":[5011311.0,5011312.0,5011313.0,5011314.0,5011315.0,5011317.0,5011318.0,5011319.0],"skipIndex":0,"section_code":"gallery","featured_images":"5011319,5011318,5011317,5011315,5011314,5011313,5011312,5011311","id":284141,"singleSection":false});				  						galleries[283395] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Seaworks 1","link":"gallery_283395.html","maxRecords":0.0,"photoIDs":[5003375.0,5010270.0,5010272.0,5010282.0,5010283.0,5010285.0,5010286.0,5010287.0,5010288.0,5010291.0,5010293.0,5010295.0,5010298.0,5010299.0,5010313.0,5010353.0,5010355.0,5010358.0,5010359.0,5010360.0,5010362.0,5010369.0,5010370.0,5010372.0,5010374.0,5010375.0,5010376.0,5010499.0],"skipIndex":0,"section_code":"gallery","featured_images":5010370.0,"id":283395,"singleSection":false});				  						galleries[283396] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Remixes","link":"gallery_283396.html","maxRecords":0.0,"photoIDs":[4998025.0,4998027.0,4998029.0,4998030.0,4998031.0,4998033.0,4998034.0,4998037.0,5088054.0,5093255.0,5093258.0,5093265.0],"skipIndex":0,"section_code":"gallery","featured_images":4998030.0,"id":283396,"singleSection":false});				  						galleries[284142] = clik.newGallery({"parentGallery":283614,"usePopups":true,"title":"Watermark","link":"gallery_284142.html","maxRecords":0.0,"photoIDs":[5011527.0,5011530.0,5011531.0,5011532.0,5011533.0],"skipIndex":0,"section_code":"gallery","featured_images":"5011533,5011532,5011531,5011530,5011527","id":284142,"singleSection":false});				  						galleries[283397] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Seaworks 2 (transistions)","link":"gallery_283397.html","maxRecords":0.0,"photoIDs":[5003359.0,5003315.0,5003335.0,5003338.0,5003339.0,5003354.0,5003340.0,5003346.0,5003348.0,5003356.0,5003362.0,5003364.0],"skipIndex":0,"section_code":"gallery","featured_images":5003359.0,"id":283397,"singleSection":false});				  						galleries[283398] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Seaworks 3","link":"gallery_283398.html","maxRecords":0.0,"photoIDs":[5117949.0,4998098.0,4998099.0,4998101.0,4998104.0,4998103.0,4998107.0,4998110.0,4998112.0,4998113.0,5095772.0,5117905.0,4998119.0,4998120.0,4998117.0,4998123.0,4998125.0,4998126.0,5117984.0,5117988.0,5119010.0],"skipIndex":0,"section_code":"gallery","featured_images":4998107.0,"id":283398,"singleSection":false});				  						galleries[384662] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Mull Works","link":"gallery_384662.html","maxRecords":0.0,"photoIDs":[7111248.0,7111261.0,7111267.0,7111271.0,7111275.0,7111278.0,7111280.0,7111286.0,7111290.0,7111293.0,7111310.0,7111319.0],"skipIndex":0,"section_code":"gallery","featured_images":"7111319,7111310,7111293,7111290,7111286,7111280,7111278,7111275,7111271,7111267","id":384662,"singleSection":false});				  						galleries[283614] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Commissions","link":"gallery_283614.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":5011293.0,"id":283614,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '5003359,5009973,4994196,5010416,4998044,4998107,7111280,4998110,4998112,4994351,5010370';
imageSets[2] = '5003359,5011293,4998041,5010416,4998030,4998107,4994474,4994296,5010370';
imageSets[3] = '7111319,7111310,7111293,7111290,7111286,7111280,7111278,7111275,7111271,7111267,7111261,7111248,5119010,5117988,5117984,5117949,5117905,5095772,5093265,5093258,5093255,5088054,5011533,5011532,5011531,5011530,5011527,5011319,5011318,5011317,5011315,5011314,5011313,5011312,5011311,5011300,5011299,5011298,5011293,5011262,5011257,5011256,5011244,5011227,5010562,5010559,5010558,5010556,5010553,5010552';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/paulkenny/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/paulkenny/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/paulkenny/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/paulkenny/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/paulkenny/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/paulkenny/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/paulkenny/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/paulkenny/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/paulkenny/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/paulkenny/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/paulkenny/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/paulkenny/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/paulkenny/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/paulkenny/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/paulkenny/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/paulkenny/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/paulkenny/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/paulkenny/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/paulkenny/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/paulkenny/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/paulkenny/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/paulkenny/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/paulkenny/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/paulkenny/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/paulkenny/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/paulkenny/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/paulkenny/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 = '          Paul Kenny-PhotographicWorks: ' + 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>';
	}
				
				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>Order this print:</p>';
				temp += '<div class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> ' + (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.item_price !== '') {
			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;
	}
}

			

