window.thumbnails = {};
															thumbnails[4598592] = clik.newPhoto({"id":4598592,"src":"img068_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"","height":125});
															thumbnails[4598562] = clik.newPhoto({"id":4598562,"src":"img067_thumb.jpg","galleries_id":266324,"server_id":18,"link":"photo_4598562.html","width":130,"caption":"","height":47});
															thumbnails[4602587] = clik.newPhoto({"id":4602587,"src":"DSCF8528_thumb.JPG","galleries_id":266155,"server_id":18,"link":"photo_4602587.html","width":130,"caption":"","height":98});
															thumbnails[4602589] = clik.newPhoto({"id":4602589,"src":"DSCF8529_thumb.JPG","galleries_id":266155,"server_id":18,"link":"photo_4602589.html","width":130,"caption":"","height":98});
															thumbnails[4602590] = clik.newPhoto({"id":4602590,"src":"DSCF8530_thumb.JPG","galleries_id":266155,"server_id":18,"link":"photo_4602590.html","width":130,"caption":"","height":98});
															thumbnails[4602591] = clik.newPhoto({"id":4602591,"src":"DSCF8531_thumb.JPG","galleries_id":266155,"server_id":18,"link":"photo_4602591.html","width":130,"caption":"","height":98});
															thumbnails[4900883] = clik.newPhoto({"id":4900883,"src":"img074_thumb.jpg","galleries_id":266324,"server_id":18,"link":"photo_4900883.html","width":130,"caption":"Brent Geese","height":131});
															thumbnails[4901085] = clik.newPhoto({"id":4901085,"src":"img075_thumb.jpg","galleries_id":266324,"server_id":18,"link":"photo_4901085.html","width":130,"caption":"Wren ","height":128});
															thumbnails[4901104] = clik.newPhoto({"id":4901104,"src":"img076_thumb.jpg","galleries_id":266324,"server_id":18,"link":"photo_4901104.html","width":130,"caption":"Sand eels for tea","height":128});
															thumbnails[4901114] = clik.newPhoto({"id":4901114,"src":"img077_thumb.jpg","galleries_id":266324,"server_id":18,"link":"photo_4901114.html","width":130,"caption":"Two hoots","height":128});
															thumbnails[6320195] = clik.newPhoto({"id":6320195,"src":"GemmaAlexKey_thumb.JPG","galleries_id":350562,"server_id":18,"link":"photo_6320195.html","width":130,"caption":"Alex and Gemma's key rack","height":91});
															thumbnails[6320198] = clik.newPhoto({"id":6320198,"src":"DSCF8366_thumb.JPG","galleries_id":350562,"server_id":18,"link":"photo_6320198.html","width":130,"caption":"Printing terms.","height":135});
															thumbnails[6320220] = clik.newPhoto({"id":6320220,"src":"Sara_thumb.JPG","galleries_id":350562,"server_id":18,"link":"photo_6320220.html","width":130,"caption":"Sara's 60th","height":176});
															thumbnails[6648728] = clik.newPhoto({"id":6648728,"src":"2010_082307010019-1_thumb.JPG","galleries_id":266156,"server_id":18,"link":"photo_6648728.html","width":130,"caption":"Key Rack (4 hooks) 34x15cm £75","height":63});
															thumbnails[6648854] = clik.newPhoto({"id":6648854,"src":"DSCF8608_thumb.JPG","galleries_id":266156,"server_id":18,"link":"photo_6648854.html","width":130,"caption":"Spices Lexigraph 49x49cm £425","height":131});
															thumbnails[6648885] = clik.newPhoto({"id":6648885,"src":"2010_062407010029_thumb.JPG","galleries_id":266156,"server_id":18,"link":"photo_6648885.html","width":130,"caption":"Alphabet Lexigraph 33x19cm £175","height":78});
															thumbnails[6648897] = clik.newPhoto({"id":6648897,"src":"2010_032807010008_thumb.JPG","galleries_id":266156,"server_id":18,"link":"photo_6648897.html","width":130,"caption":"Lexigraph Bookends 17x13cm £55","height":135});
															thumbnails[6914229] = clik.newPhoto({"id":6914229,"src":"2010_101307010027_thumb.JPG","galleries_id":266156,"server_id":18,"link":"photo_6914229.html","width":130,"caption":"Lexigraph pinboard 'memories'<br>\r\n49 x 34cm, £195","height":92});
															thumbnails[7115451] = clik.newPhoto({"id":7115451,"src":"2010_112607010001_thumb.JPG","galleries_id":350562,"server_id":18,"link":"photo_7115451.html","width":130,"caption":"Commission cufflink box","height":121});
															thumbnails[7352096] = clik.newPhoto({"id":7352096,"src":"2011_012407010004_thumb.JPG","galleries_id":350562,"server_id":18,"link":"photo_7352096.html","width":130,"caption":"'Your love...' Song lyric commission","height":177});
															thumbnails[7354058] = clik.newPhoto({"id":7354058,"src":"AZ2010_101007010012_thumb.JPG","galleries_id":266156,"server_id":18,"link":"photo_7354058.html","width":130,"caption":"Alphabet Lexigraph 30 x 19 cm £175","height":90});
															thumbnails[7354063] = clik.newPhoto({"id":7354063,"src":"AZ2010_101007010014_thumb.JPG","galleries_id":266156,"server_id":18,"link":"photo_7354063.html","width":130,"caption":"Alphabet Lexigraph 28 x 17 cm £155","height":79});
															thumbnails[7557063] = clik.newPhoto({"id":7557063,"src":"2011_032207010002_thumb.JPG","galleries_id":266156,"server_id":18,"link":"photo_7557063.html","width":130,"caption":"Lexigraph Bookends - L&U 21 x 18 cm £95","height":135});
															thumbnails[7557165] = clik.newPhoto({"id":7557165,"src":"2011_032207010005_thumb.JPG","galleries_id":266156,"server_id":18,"link":"photo_7557165.html","width":130,"caption":"Lexigraph Bookends T&W 17 x 18 cm £95","height":96});
															thumbnails[7557462] = clik.newPhoto({"id":7557462,"src":"2011_032207010012_thumb.JPG","galleries_id":266156,"server_id":18,"link":"photo_7557462.html","width":130,"caption":"Lexigraph Lamp 31 x 25 x 25 cm £295","height":158});
															thumbnails[7557465] = clik.newPhoto({"id":7557465,"src":"2011_032207010011_thumb.JPG","galleries_id":266156,"server_id":18,"link":"photo_7557465.html","width":130,"caption":"Lexigraph Bookends AE&OE (2) 17 x 18 cm £95","height":102});
															thumbnails[7713879] = clik.newPhoto({"id":7713879,"src":"DSCF0020_thumb.JPG","galleries_id":266156,"server_id":18,"link":"photo_7713879.html","width":130,"caption":"Mr & Mrs - an ideal wedding present - 13 x 16cm £55","height":151});
															thumbnails[7713897] = clik.newPhoto({"id":7713897,"src":"DSCF0024_thumb.JPG","galleries_id":266334,"server_id":18,"link":"photo_7713897.html","width":130,"caption":"'P' Lexigraph 14 x 18cm £60","height":144});
															thumbnails[7713908] = clik.newPhoto({"id":7713908,"src":"DSCF0030_thumb.JPG","galleries_id":266156,"server_id":18,"link":"photo_7713908.html","width":130,"caption":"Wine Lexigraph 52 x 52cm £425","height":128});
															thumbnails[7713912] = clik.newPhoto({"id":7713912,"src":"DSCF0017_thumb.JPG","galleries_id":266156,"server_id":18,"link":"photo_7713912.html","width":130,"caption":"'I Love U' Lexigraph 12 x 14cm £45","height":107});
															thumbnails[7714058] = clik.newPhoto({"id":7714058,"src":"hen_and_chicks_thumb.jpg","galleries_id":266324,"server_id":18,"link":"photo_7714058.html","width":130,"caption":"Hen with Chickens","height":129});
															thumbnails[7714064] = clik.newPhoto({"id":7714064,"src":"sitting_hen_thumb.jpg","galleries_id":266324,"server_id":18,"link":"photo_7714064.html","width":130,"caption":"Nesting Hen","height":130});
															thumbnails[7714076] = clik.newPhoto({"id":7714076,"src":"small_cockerel1_thumb.jpg","galleries_id":266324,"server_id":18,"link":"photo_7714076.html","width":130,"caption":"Small Rooster","height":130});
															thumbnails[7714087] = clik.newPhoto({"id":7714087,"src":"large_cockerel_thumb.jpg","galleries_id":266324,"server_id":18,"link":"photo_7714087.html","width":130,"caption":"Large Rooster","height":126});
															thumbnails[7852910] = clik.newPhoto({"id":7852910,"src":"alp_t_thumb.jpg","galleries_id":422601,"server_id":18,"link":"photo_7852910.html","width":130,"caption":"Alphabet tea towel - red on unbleached cotton","height":202});
															thumbnails[7852916] = clik.newPhoto({"id":7852916,"src":"ch_t_thumb.jpg","galleries_id":422601,"server_id":18,"link":"photo_7852916.html","width":130,"caption":"Chickens tea towel - black on unbleached cotton","height":203});
															thumbnails[7852923] = clik.newPhoto({"id":7852923,"src":"type_t_thumb.jpg","galleries_id":422601,"server_id":18,"link":"photo_7852923.html","width":130,"caption":"Type face tea towel - black on unbleached cotton","height":202});
															thumbnails[7852926] = clik.newPhoto({"id":7852926,"src":"wu_t_thumb.jpg","galleries_id":422601,"server_id":18,"link":"photo_7852926.html","width":130,"caption":"'Washing Up' tea towel - blue on white cotton","height":202});
															thumbnails[7852981] = clik.newPhoto({"id":7852981,"src":"Image0022_thumb.jpg","galleries_id":422601,"server_id":18,"link":"photo_7852981.html","width":130,"caption":"The Inky Otter apron - black on unbleached heavyweight cotton - £12.50 each","height":197});
															thumbnails[8580437] = clik.newPhoto({"id":8580437,"src":"DSCF0731_thumb.JPG","galleries_id":266156,"server_id":18,"link":"photo_8580437.html","width":130,"caption":"Small Clock '9' 25 x25 cm £175","height":119});
															thumbnails[8629373] = clik.newPhoto({"id":8629373,"src":"img137_thumb.jpg","galleries_id":266324,"server_id":18,"link":"photo_8629373.html","width":130,"caption":"Moon Gazing Hare","height":131});
															thumbnails[8629386] = clik.newPhoto({"id":8629386,"src":"img138_thumb.jpg","galleries_id":266324,"server_id":18,"link":"photo_8629386.html","width":130,"caption":"Swallows","height":130});
															thumbnails[8629394] = clik.newPhoto({"id":8629394,"src":"img139_thumb.jpg","galleries_id":266324,"server_id":18,"link":"photo_8629394.html","width":130,"caption":"Running Hare II","height":132});
															thumbnails[8629397] = clik.newPhoto({"id":8629397,"src":"img140_thumb.jpg","galleries_id":266324,"server_id":18,"link":"photo_8629397.html","width":130,"caption":"Blue Tit","height":127});
															thumbnails[8671399] = clik.newPhoto({"id":8671399,"src":"Engine_House_thumb.jpg","galleries_id":266324,"server_id":18,"link":"photo_8671399.html","width":130,"caption":"Engine House","height":150});
															thumbnails[8671406] = clik.newPhoto({"id":8671406,"src":"Hoot-1_thumb.jpg","galleries_id":266324,"server_id":18,"link":"photo_8671406.html","width":130,"caption":"Hoot","height":110});
															thumbnails[8671409] = clik.newPhoto({"id":8671409,"src":"Ripples_thumb.jpg","galleries_id":266324,"server_id":18,"link":"photo_8671409.html","width":130,"caption":"Ripples","height":45});
															thumbnails[8671416] = clik.newPhoto({"id":8671416,"src":"Baaa_thumb.jpg","galleries_id":266324,"server_id":18,"link":"photo_8671416.html","width":130,"caption":"Baaaa","height":41});
															thumbnails[8671422] = clik.newPhoto({"id":8671422,"src":"dormouse_thumb.jpg","galleries_id":266324,"server_id":18,"link":"photo_8671422.html","width":130,"caption":"Snoozing dormouse","height":115});
															thumbnails[8671429] = clik.newPhoto({"id":8671429,"src":"mackerel_thumb.jpg","galleries_id":266324,"server_id":18,"link":"photo_8671429.html","width":130,"caption":"Mackerel","height":61});
															thumbnails[8671434] = clik.newPhoto({"id":8671434,"src":"standing_otter_thumb.jpg","galleries_id":266324,"server_id":18,"link":"photo_8671434.html","width":130,"caption":"Otter 1","height":108});
															thumbnails[8671438] = clik.newPhoto({"id":8671438,"src":"mill_bridge_thumb.jpg","galleries_id":266324,"server_id":18,"link":"photo_8671438.html","width":130,"caption":"Mill Bridge","height":128});
															thumbnails[8671445] = clik.newPhoto({"id":8671445,"src":"zzzz_thumb.jpg","galleries_id":266324,"server_id":18,"link":"photo_8671445.html","width":130,"caption":"zzzz!","height":70});
															thumbnails[8671451] = clik.newPhoto({"id":8671451,"src":"mouse_thumb.jpg","galleries_id":266324,"server_id":18,"link":"photo_8671451.html","width":130,"caption":"Mouse","height":130});
															thumbnails[8861512] = clik.newPhoto({"id":8861512,"src":"DSCF0877_thumb.JPG","galleries_id":266156,"server_id":18,"link":"photo_8861512.html","width":130,"caption":"Pounds 12 x 19 cm £60","height":187});
															thumbnails[8861518] = clik.newPhoto({"id":8861518,"src":"DSCF0862_thumb.JPG","galleries_id":266334,"server_id":18,"link":"photo_8861518.html","width":130,"caption":"D lexigraph 14 x 16cm £45","height":148});
															thumbnails[8861522] = clik.newPhoto({"id":8861522,"src":"DSCF0832_thumb.JPG","galleries_id":266334,"server_id":18,"link":"photo_8861522.html","width":130,"caption":"F Lexigraph 11 x 16cm £40","height":163});
															thumbnails[8861524] = clik.newPhoto({"id":8861524,"src":"DSCF0828_thumb.JPG","galleries_id":266334,"server_id":18,"link":"photo_8861524.html","width":130,"caption":"W Lexigraph 14 x 14cm £40","height":133});
															thumbnails[8697888] = clik.newPhoto({"id":8697888,"src":"DSCF0786_thumb.JPG","galleries_id":453247,"server_id":18,"link":"photo_8697888.html","width":130,"caption":"3 Box 001 13 x 7cm £35","height":161});
															thumbnails[6311455] = clik.newPhoto({"id":6311455,"src":"2010_060807010015_thumb.JPG","galleries_id":266156,"server_id":18,"link":"photo_6311455.html","width":130,"caption":"Coffee lexigraph 52x52cm £425","height":125});
															thumbnails[8727349] = clik.newPhoto({"id":8727349,"src":"DSCF0803_thumb.JPG","galleries_id":453247,"server_id":18,"link":"photo_8727349.html","width":130,"caption":"7 Box 058 7 x 13cm £35","height":138});
															thumbnails[8697891] = clik.newPhoto({"id":8697891,"src":"DSCF0785_thumb.JPG","galleries_id":453247,"server_id":18,"link":"photo_8697891.html","width":130,"caption":"8 Box 003 13 x 7cm £35","height":157});
															thumbnails[5038609] = clik.newPhoto({"id":5038609,"src":"Herbs_L_031109_thumb.JPG","galleries_id":266156,"server_id":18,"link":"photo_5038609.html","width":130,"caption":"Herbs Lexigraph<br>\r\n52x52cm £425","height":138});
															thumbnails[4603258] = clik.newPhoto({"id":4603258,"src":"0803070022_thumb.JPG","galleries_id":266321,"server_id":18,"link":"photo_4603258.html","width":130,"caption":"Wildlife Cards ","height":98});
															thumbnails[4603299] = clik.newPhoto({"id":4603299,"src":"F3_thumb.JPG","galleries_id":266334,"server_id":18,"link":"photo_4603299.html","width":130,"caption":"Wooden Letterpress Collage 'F' 18x27cm £70","height":186});
															thumbnails[6311497] = clik.newPhoto({"id":6311497,"src":"2010_0624070100301_thumb.JPG","galleries_id":266156,"server_id":18,"link":"photo_6311497.html","width":130,"caption":"Lexigraph Coat Rack 70X18cm £235","height":53});
															thumbnails[4601294] = clik.newPhoto({"id":4601294,"src":"Pinboard3_thumb.JPG","galleries_id":266156,"server_id":18,"link":"photo_4601294.html","width":130,"caption":"Lexigraph Pinboard 36x64cm £135","height":214});
															thumbnails[4601589] = clik.newPhoto({"id":4601589,"src":"Alphabet11_thumb.JPG","galleries_id":266156,"server_id":18,"link":"photo_4601589.html","width":130,"caption":"Alphabet 23x28cm £115","height":125});
															thumbnails[4604253] = clik.newPhoto({"id":4604253,"src":"L_thumb.JPG","galleries_id":266334,"server_id":18,"link":"photo_4604253.html","width":130,"caption":"Wooden Letterpress Collage 'L' 17x28cm £70","height":201});
															thumbnails[4604261] = clik.newPhoto({"id":4604261,"src":"N_thumb.JPG","galleries_id":266334,"server_id":18,"link":"photo_4604261.html","width":130,"caption":"Wooden Letterpress Collage 'N' 20x33cm £75","height":194});
															thumbnails[4604273] = clik.newPhoto({"id":4604273,"src":"O1_thumb.JPG","galleries_id":266334,"server_id":18,"link":"photo_4604273.html","width":130,"caption":"Wooden Letterpress Collage 'O' 18x25cm £70","height":173});
															thumbnails[4604276] = clik.newPhoto({"id":4604276,"src":"O2_thumb.JPG","galleries_id":266334,"server_id":18,"link":"photo_4604276.html","width":130,"caption":"Wooden Letterpress Collage 'O' 16x29cm £70","height":214});
															thumbnails[4604136] = clik.newPhoto({"id":4604136,"src":"50_thumb.JPG","galleries_id":266156,"server_id":18,"link":"photo_4604136.html","width":130,"caption":"Wooden Letterpress Collage '50' 19x28cm £85","height":173});
															thumbnails[4604141] = clik.newPhoto({"id":4604141,"src":"numbers1_thumb.JPG","galleries_id":266156,"server_id":18,"link":"photo_4604141.html","width":130,"caption":"Wooden Letterpress Collage Numbers 34x35cm £85","height":125});
															thumbnails[8698069] = clik.newPhoto({"id":8698069,"src":"DSCF0768_thumb.JPG","galleries_id":453247,"server_id":18,"link":"photo_8698069.html","width":130,"caption":"B Box 006 7 x 9cm £40","height":131});
															thumbnails[8697895] = clik.newPhoto({"id":8697895,"src":"DSCF0783_thumb.JPG","galleries_id":453247,"server_id":18,"link":"photo_8697895.html","width":130,"caption":"C Box 007 19 x 5cm £40","height":223});
															thumbnails[8437160] = clik.newPhoto({"id":8437160,"src":"DSCF0665_thumb.JPG","galleries_id":453247,"server_id":18,"link":"photo_8437160.html","width":130,"caption":"Lower case 'C' Box 008 11x12cm £50","height":93});
															thumbnails[8698073] = clik.newPhoto({"id":8698073,"src":"DSCF0766_thumb.JPG","galleries_id":453247,"server_id":18,"link":"photo_8698073.html","width":130,"caption":"D Box 010 8 x 10cm £40","height":156});
															thumbnails[8727351] = clik.newPhoto({"id":8727351,"src":"DSCF0804_thumb.JPG","galleries_id":453247,"server_id":18,"link":"photo_8727351.html","width":130,"caption":"D Box 057 6 x 12cm £40","height":169});
															thumbnails[8727367] = clik.newPhoto({"id":8727367,"src":"DSCF0810_thumb.JPG","galleries_id":453247,"server_id":18,"link":"photo_8727367.html","width":130,"caption":"D Box 056 7 x 17cm £40","height":172});
															thumbnails[8697886] = clik.newPhoto({"id":8697886,"src":"DSCF0788_thumb.JPG","galleries_id":453247,"server_id":18,"link":"photo_8697886.html","width":130,"caption":"E Box 012 17 x 6cm £50","height":208});
															thumbnails[8573392] = clik.newPhoto({"id":8573392,"src":"DSCF0690_thumb.JPG","galleries_id":453247,"server_id":18,"link":"photo_8573392.html","width":130,"caption":"'E' Box 011 7x13cm £50","height":173});
															thumbnails[8727359] = clik.newPhoto({"id":8727359,"src":"DSCF0806_thumb.JPG","galleries_id":453247,"server_id":18,"link":"photo_8727359.html","width":130,"caption":"E Box 060 5 x 17cm £45","height":225});
															thumbnails[8727362] = clik.newPhoto({"id":8727362,"src":"DSCF0807_thumb.JPG","galleries_id":453247,"server_id":18,"link":"photo_8727362.html","width":130,"caption":"E Box 059 8 x 17cm £55","height":177});
															thumbnails[8697961] = clik.newPhoto({"id":8697961,"src":"DSCF0775_thumb.JPG","galleries_id":453247,"server_id":18,"link":"photo_8697961.html","width":130,"caption":"F Box 014 13 x 7cm £40","height":170});
															thumbnails[8339348] = clik.newPhoto({"id":8339348,"src":"DSCF0619_thumb.JPG","galleries_id":453247,"server_id":18,"link":"photo_8339348.html","width":130,"caption":"'F' Box 013 19 x 6 x 8 cm £40","height":168});
															thumbnails[8727386] = clik.newPhoto({"id":8727386,"src":"DSCF0813_thumb.JPG","galleries_id":453247,"server_id":18,"link":"photo_8727386.html","width":130,"caption":"F Box 052 8 x 19cm","height":178});
															thumbnails[8697973] = clik.newPhoto({"id":8697973,"src":"DSCF0772_thumb.JPG","galleries_id":453247,"server_id":18,"link":"photo_8697973.html","width":130,"caption":"G Box 016 6 x 12cm £40","height":184});
															thumbnails[8437172] = clik.newPhoto({"id":8437172,"src":"DSCF0661_thumb.JPG","galleries_id":453247,"server_id":18,"link":"photo_8437172.html","width":130,"caption":"'G' Box 015 6x12cm £40","height":140});
															thumbnails[8697884] = clik.newPhoto({"id":8697884,"src":"DSCF0789_thumb.JPG","galleries_id":453247,"server_id":18,"link":"photo_8697884.html","width":130,"caption":"H Box 019 17 x 5cm £40","height":230});
															thumbnails[8698064] = clik.newPhoto({"id":8698064,"src":"DSCF0770_thumb.JPG","galleries_id":453247,"server_id":18,"link":"photo_8698064.html","width":130,"caption":"H Box 018 6 x 12cm £40","height":187});
															thumbnails[8697894] = clik.newPhoto({"id":8697894,"src":"DSCF0784_thumb.JPG","galleries_id":453247,"server_id":18,"link":"photo_8697894.html","width":130,"caption":"I Box 020 19 x 5cm £40","height":242});
															thumbnails[8727395] = clik.newPhoto({"id":8727395,"src":"DSCF0815_thumb.JPG","galleries_id":453247,"server_id":18,"link":"photo_8727395.html","width":130,"caption":"I Box 049 6 x 22cm £30","height":211});
															thumbnails[8698067] = clik.newPhoto({"id":8698067,"src":"DSCF0769_thumb.JPG","galleries_id":453247,"server_id":18,"link":"photo_8698067.html","width":130,"caption":"J Box 021 9 x 6cm £40","height":156});
															thumbnails[8437128] = clik.newPhoto({"id":8437128,"src":"DSCF0666_thumb.JPG","galleries_id":453247,"server_id":18,"link":"photo_8437128.html","width":130,"caption":"'J' Box 022 6x17cm £50","height":164});
															thumbnails[8573390] = clik.newPhoto({"id":8573390,"src":"DSCF0688_thumb.JPG","galleries_id":453247,"server_id":18,"link":"photo_8573390.html","width":130,"caption":"Large 'K' Box 024 9x19cm £45","height":173});
															thumbnails[8573395] = clik.newPhoto({"id":8573395,"src":"DSCF0694_thumb.JPG","galleries_id":453247,"server_id":18,"link":"photo_8573395.html","width":130,"caption":"Small 'K' Box 023 7x10cm £35","height":173});
															thumbnails[8339337] = clik.newPhoto({"id":8339337,"src":"DSCF0623_thumb.JPG","galleries_id":453247,"server_id":18,"link":"photo_8339337.html","width":130,"caption":"'L' Box 026 15 x 19 x 10 cm £75","height":128});
															thumbnails[8573388] = clik.newPhoto({"id":8573388,"src":"DSCF0686_thumb.JPG","galleries_id":453247,"server_id":18,"link":"photo_8573388.html","width":130,"caption":"L Box 025 6 x 19cm £40","height":173});
															thumbnails[8697938] = clik.newPhoto({"id":8697938,"src":"DSCF0779_thumb.JPG","galleries_id":453247,"server_id":18,"link":"photo_8697938.html","width":130,"caption":"N Box 029 8 x 9cm £40","height":119});
															thumbnails[8727364] = clik.newPhoto({"id":8727364,"src":"DSCF0808_thumb.JPG","galleries_id":453247,"server_id":18,"link":"photo_8727364.html","width":130,"caption":"N Box 054 7 x 17cm £45","height":234});
															thumbnails[8727391] = clik.newPhoto({"id":8727391,"src":"DSCF0814_thumb.JPG","galleries_id":453247,"server_id":18,"link":"photo_8727391.html","width":130,"caption":"N Box 051 6 x 12cm £40","height":145});
															thumbnails[8697898] = clik.newPhoto({"id":8697898,"src":"DSCF0782_thumb.JPG","galleries_id":453247,"server_id":18,"link":"photo_8697898.html","width":130,"caption":"P Box 032 17 x 7cm £45","height":196});
															thumbnails[8697948] = clik.newPhoto({"id":8697948,"src":"DSCF0778_thumb.JPG","galleries_id":453247,"server_id":18,"link":"photo_8697948.html","width":130,"caption":"P Box 033 8 x 8cm £40","height":121});
															thumbnails[8437177] = clik.newPhoto({"id":8437177,"src":"DSCF0660_thumb.JPG","galleries_id":453247,"server_id":18,"link":"photo_8437177.html","width":130,"caption":"'P' Box 031 8x11cm £50","height":111});
															thumbnails[8727366] = clik.newPhoto({"id":8727366,"src":"DSCF0809_thumb.JPG","galleries_id":453247,"server_id":18,"link":"photo_8727366.html","width":130,"caption":"P Box 053 5 x 17cm £40","height":215});
															thumbnails[8697952] = clik.newPhoto({"id":8697952,"src":"DSCF0777_thumb.JPG","galleries_id":453247,"server_id":18,"link":"photo_8697952.html","width":130,"caption":"Q Box 034 9 x 9cm £40","height":124});
															thumbnails[8697970] = clik.newPhoto({"id":8697970,"src":"DSCF0773_thumb.JPG","galleries_id":453247,"server_id":18,"link":"photo_8697970.html","width":130,"caption":"R Box 035 9 x 8cm £50","height":121});
															thumbnails[8437117] = clik.newPhoto({"id":8437117,"src":"DSCF0667_thumb.JPG","galleries_id":453247,"server_id":18,"link":"photo_8437117.html","width":130,"caption":"'R' Box  036 8x11 cm £50","height":126});
															thumbnails[8698072] = clik.newPhoto({"id":8698072,"src":"DSCF0767_thumb.JPG","galleries_id":453247,"server_id":18,"link":"photo_8698072.html","width":130,"caption":"S Box 037 8 x 11cm £50","height":165});
															thumbnails[8573389] = clik.newPhoto({"id":8573389,"src":"DSCF0687_thumb.JPG","galleries_id":453247,"server_id":18,"link":"photo_8573389.html","width":130,"caption":"Tall 'T' Box 039 7x17cm £40","height":173});
															thumbnails[6648765] = clik.newPhoto({"id":6648765,"src":"2010_082307010028_thumb.JPG","galleries_id":453247,"server_id":18,"link":"photo_6648765.html","width":130,"caption":"Large 'U' Box 041 19X10cm £40","height":91});
															thumbnails[8697957] = clik.newPhoto({"id":8697957,"src":"DSCF0776_thumb.JPG","galleries_id":453247,"server_id":18,"link":"photo_8697957.html","width":130,"caption":"V Box 043 7 x 10cm £40","height":170});
															thumbnails[8573391] = clik.newPhoto({"id":8573391,"src":"DSCF0689_thumb.JPG","galleries_id":453247,"server_id":18,"link":"photo_8573391.html","width":130,"caption":"Tall 'W' Box 045 9x19cm £45","height":173});
															thumbnails[8727344] = clik.newPhoto({"id":8727344,"src":"DSCF0801_thumb.JPG","galleries_id":453247,"server_id":18,"link":"photo_8727344.html","width":130,"caption":"Large X 064 Box 10 x 21cm £45","height":186});
															thumbnails[8339364] = clik.newPhoto({"id":8339364,"src":"DSCF0613_thumb.JPG","galleries_id":453247,"server_id":18,"link":"photo_8339364.html","width":130,"caption":"Square 'Y' Box 047 13 x 13 x 7 cm £45","height":101});
															thumbnails[6648777] = clik.newPhoto({"id":6648777,"src":"2010_082307010031_thumb.JPG","galleries_id":453247,"server_id":18,"link":"photo_6648777.html","width":130,"caption":"Large 'Y' Box 048 17x10cm £55","height":106});
															thumbnails[8727339] = clik.newPhoto({"id":8727339,"src":"DSCF0800_thumb.JPG","galleries_id":453247,"server_id":18,"link":"photo_8727339.html","width":130,"caption":"Y Box 062 5 x 15cm £45","height":255});
															thumbnails[8727376] = clik.newPhoto({"id":8727376,"src":"DSCF0812_thumb.JPG","galleries_id":453247,"server_id":18,"link":"photo_8727376.html","width":130,"caption":"Ampersand Box 050 10 x 17cm £60","height":142});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[350562] = clik.newGallery({"parentGallery":266336,"usePopups":false,"title":"Commissions","link":"gallery_350562.html","maxRecords":0.0,"photoIDs":[6320195.0,6320198.0,6320220.0,7115451.0,7352096.0],"skipIndex":0,"section_code":"gallery","featured_images":7352096.0,"id":350562,"singleSection":false});				  						galleries[266334] = clik.newGallery({"parentGallery":266336,"usePopups":false,"title":"Initials","link":"gallery_266334.html","maxRecords":0.0,"photoIDs":[7713897.0,8861518.0,8861522.0,8861524.0,4603299.0,4604253.0,4604261.0,4604273.0,4604276.0],"skipIndex":0,"section_code":"gallery","featured_images":"8861524,8861522,8861518,7713897,4604276,4604273,4604261,4604253,4603299","id":266334,"singleSection":false});				  						galleries[422601] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Tea Towels and Aprons","link":"gallery_422601.html","maxRecords":0.0,"photoIDs":[7852910.0,7852916.0,7852923.0,7852926.0,7852981.0],"skipIndex":0,"section_code":"gallery","featured_images":"7852981,7852926,7852923,7852916,7852910","id":422601,"singleSection":false});				  						galleries[453247] = clik.newGallery({"parentGallery":266336,"usePopups":false,"title":"Wooden Letterpress Boxes","link":"gallery_453247.html","maxRecords":0.0,"photoIDs":[8697888.0,8727349.0,8697891.0,8698069.0,8697895.0,8437160.0,8698073.0,8727351.0,8727367.0,8697886.0,8573392.0,8727359.0,8727362.0,8697961.0,8339348.0,8727386.0,8697973.0,8437172.0,8697884.0,8698064.0,8697894.0,8727395.0,8698067.0,8437128.0,8573390.0,8573395.0,8339337.0,8573388.0,8697938.0,8727364.0,8727391.0,8697898.0,8697948.0,8437177.0,8727366.0,8697952.0,8697970.0,8437117.0,8698072.0,8573389.0,6648765.0,8697957.0,8573391.0,8727344.0,8339364.0,6648777.0,8727339.0,8727376.0],"skipIndex":0,"section_code":"gallery","featured_images":"8727395,8727391,8727386,8727376,8727367,8727366,8727364,8727362,8727359,8727351","id":453247,"singleSection":false});				  						galleries[266155] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Hand Made Books","link":"gallery_266155.html","maxRecords":0.0,"photoIDs":[4602587.0,4602589.0,4602590.0,4602591.0],"skipIndex":0,"section_code":"gallery","featured_images":"4602591,4602590,4602589,4602587","id":266155,"singleSection":false});				  						galleries[266336] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Lexigraphs","link":"gallery_266336.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":7352096.0,"id":266336,"singleSection":false});				  						galleries[266156] = clik.newGallery({"parentGallery":266336,"usePopups":false,"title":"Fun and function","link":"gallery_266156.html","maxRecords":0.0,"photoIDs":[6648728.0,6648854.0,6648885.0,6648897.0,6914229.0,7354058.0,7354063.0,7557063.0,7557165.0,7557462.0,7557465.0,7713879.0,7713908.0,7713912.0,8580437.0,8861512.0,6311455.0,5038609.0,6311497.0,4601294.0,4601589.0,4604136.0,4604141.0],"skipIndex":0,"section_code":"gallery","featured_images":"8861512,8580437,7713912,7713908,7713879,7557465,7557462,7557165,7557063,7354063","id":266156,"singleSection":false});				  						galleries[266324] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Wood Engravings","link":"gallery_266324.html","maxRecords":0.0,"photoIDs":[4598562.0,4900883.0,4901085.0,4901104.0,4901114.0,7714058.0,7714064.0,7714076.0,7714087.0,8629373.0,8629386.0,8629394.0,8629397.0,8671399.0,8671406.0,8671409.0,8671416.0,8671422.0,8671429.0,8671434.0,8671438.0,8671445.0,8671451.0],"skipIndex":0,"section_code":"gallery","featured_images":4598562.0,"id":266324,"singleSection":false});				  						galleries[266321] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Cards ","link":"gallery_266321.html","maxRecords":0.0,"photoIDs":[4603258.0],"skipIndex":0,"section_code":"gallery","featured_images":4603258.0,"id":266321,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '4598592';
imageSets[2] = '7352096,4598562';
imageSets[3] = '4603258';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/TheInkyOtter/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/TheInkyOtter/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/TheInkyOtter/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/TheInkyOtter/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/TheInkyOtter/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/TheInkyOtter/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/TheInkyOtter/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/TheInkyOtter/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/TheInkyOtter/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/TheInkyOtter/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/TheInkyOtter/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/TheInkyOtter/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/TheInkyOtter/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/TheInkyOtter/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/TheInkyOtter/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/TheInkyOtter/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/TheInkyOtter/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/TheInkyOtter/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/TheInkyOtter/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/TheInkyOtter/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/TheInkyOtter/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/TheInkyOtter/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/TheInkyOtter/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/TheInkyOtter/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/TheInkyOtter/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/TheInkyOtter/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/TheInkyOtter/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 = 'The Inky Otter: ' + 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;
	}
}

			

