window.thumbnails = {};
															thumbnails[73424] = clik.newPhoto({"id":73424,"src":"vision_logo_thumb.jpg","galleries_id":7098,"server_id":18,"link":"photo_73424.html","width":130,"caption":"","height":88});
															thumbnails[73425] = clik.newPhoto({"id":73425,"src":"A1_coachhorses_thumb.jpg","galleries_id":7099,"server_id":18,"link":"photo_73425.html","width":130,"caption":"The Coach and Horses, Soho","height":89});
															thumbnails[79325] = clik.newPhoto({"id":79325,"src":"WILMINGT_thumb.jpg","galleries_id":7099,"server_id":18,"link":"photo_79325.html","width":130,"caption":"Sussex-Early Evening Light","height":85});
															thumbnails[79326] = clik.newPhoto({"id":79326,"src":"YORKSHIR_thumb.jpg","galleries_id":7099,"server_id":18,"link":"photo_79326.html","width":130,"caption":"Light Emerging... Yorkshire","height":88});
															thumbnails[79670] = clik.newPhoto({"id":79670,"src":"tree pots_thumb.jpg","galleries_id":7098,"server_id":18,"link":"photo_79670.html","width":130,"caption":"Gallery courtyard","height":173});
															thumbnails[80149] = clik.newPhoto({"id":80149,"src":"wide view_thumb.jpg","galleries_id":7098,"server_id":18,"link":"photo_80149.html","width":130,"caption":"The courtyard and Vision Gallery ","height":77});
															thumbnails[80150] = clik.newPhoto({"id":80150,"src":"landscape_thumb.jpg","galleries_id":7102,"server_id":18,"link":"photo_80150.html","width":130,"caption":"\"Landscape\" wallhanging <br>\r\nSOLD","height":190});
															thumbnails[191303] = clik.newPhoto({"id":191303,"src":"fay pale scarve_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_191303.html","width":130,"caption":"Cream cotton & silk scarf by Fay Hankins £56","height":114});
															thumbnails[191413] = clik.newPhoto({"id":191413,"src":"Embanlment_Bench_thumb.jpg","galleries_id":7099,"server_id":18,"link":"photo_191413.html","width":130,"caption":"Embankment Bench ","height":107});
															thumbnails[196921] = clik.newPhoto({"id":196921,"src":"matthews kilm_thumb.jpg","galleries_id":7098,"server_id":18,"link":"photo_196921.html","width":130,"caption":"Matthew Bayman's wood-fired kiln","height":196});
															thumbnails[279981] = clik.newPhoto({"id":279981,"src":"stare_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_279981.html","width":130,"caption":"Stone ","height":165});
															thumbnails[389734] = clik.newPhoto({"id":389734,"src":"Norfolk Apples_thumb.jpg","galleries_id":7099,"server_id":18,"link":"photo_389734.html","width":130,"caption":"Norfolk Apples","height":132});
															thumbnails[389738] = clik.newPhoto({"id":389738,"src":"Light emerging-Dorset_thumb.jpg","galleries_id":7099,"server_id":18,"link":"photo_389738.html","width":130,"caption":"Light emerging... Dorset","height":88});
															thumbnails[389740] = clik.newPhoto({"id":389740,"src":"Godshill Bluebells_thumb.jpg","galleries_id":7099,"server_id":18,"link":"photo_389740.html","width":130,"caption":"Bluebells at Godshill","height":194});
															thumbnails[389742] = clik.newPhoto({"id":389742,"src":"Lavender garden_thumb.jpg","galleries_id":7099,"server_id":18,"link":"photo_389742.html","width":130,"caption":"Morning Sun on the Lavender Garden","height":191});
															thumbnails[389745] = clik.newPhoto({"id":389745,"src":"capel -I lift up mine eyes_thumb.jpg","galleries_id":7099,"server_id":18,"link":"photo_389745.html","width":130,"caption":"I will lift up mine eyes..","height":108});
															thumbnails[517641] = clik.newPhoto({"id":517641,"src":"Beacons_thumb.jpg","galleries_id":7099,"server_id":18,"link":"photo_517641.html","width":130,"caption":"Summer Evening on the Beacons...total silence","height":81});
															thumbnails[517644] = clik.newPhoto({"id":517644,"src":"elder flower_thumb.jpg","galleries_id":7099,"server_id":18,"link":"photo_517644.html","width":130,"caption":"Swallows,Swifts and Elderflowers","height":203});
															thumbnails[517645] = clik.newPhoto({"id":517645,"src":"full ash tree_thumb.jpg","galleries_id":7099,"server_id":18,"link":"photo_517645.html","width":130,"caption":"World Tree at Capel-y-Ffin Youth Hostel","height":182});
															thumbnails[517646] = clik.newPhoto({"id":517646,"src":"haymaking_thumb.jpg","galleries_id":7099,"server_id":18,"link":"photo_517646.html","width":130,"caption":"Haymaking at Tretower","height":183});
															thumbnails[517648] = clik.newPhoto({"id":517648,"src":"Lord H_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_517648.html","width":130,"caption":"Summer Evening,Twmpa<br>\r\n","height":52});
															thumbnails[517649] = clik.newPhoto({"id":517649,"src":"Sally's field_thumb.jpg","galleries_id":7099,"server_id":18,"link":"photo_517649.html","width":130,"caption":"Meadows above Cwmdu","height":107});
															thumbnails[517654] = clik.newPhoto({"id":517654,"src":"sheltering under the mt_thumb.jpg","galleries_id":7099,"server_id":18,"link":"photo_517654.html","width":130,"caption":"Shelter under the mountain","height":327});
															thumbnails[517655] = clik.newPhoto({"id":517655,"src":"Tal-y-Bont_thumb.jpg","galleries_id":7099,"server_id":18,"link":"photo_517655.html","width":130,"caption":"Talybont Reservoir","height":174});
															thumbnails[517657] = clik.newPhoto({"id":517657,"src":"wet weather cwmdu_thumb.jpg","galleries_id":7099,"server_id":18,"link":"photo_517657.html","width":130,"caption":"Wet Weather at Cwmdu","height":97});
															thumbnails[594017] = clik.newPhoto({"id":594017,"src":"babbling brook_thumb.jpg","galleries_id":7102,"server_id":18,"link":"photo_594017.html","width":130,"caption":"Wall hanging by Fay Hankins \"Babbling Brook\"","height":148});
															thumbnails[594020] = clik.newPhoto({"id":594020,"src":"Iundercurrents_thumb.jpg","galleries_id":7102,"server_id":18,"link":"photo_594020.html","width":130,"caption":"\"Undercurrents\" wall hanging by Fay Hankins SOLD","height":173});
															thumbnails[887133] = clik.newPhoto({"id":887133,"src":"Dragon_blossom_in_courtyard_thumb.jpg","galleries_id":7098,"server_id":18,"link":"photo_887133.html","width":130,"caption":"Stone carving in the courtyard","height":173});
															thumbnails[887205] = clik.newPhoto({"id":887205,"src":"courtyard_thumb.jpg","galleries_id":7098,"server_id":18,"link":"photo_887205.html","width":130,"caption":"Vision Gallery and Matthew Bayman pottery at Sharlands Farm","height":97});
															thumbnails[1012681] = clik.newPhoto({"id":1012681,"src":"Fay Rockpools_thumb.jpg","galleries_id":7102,"server_id":18,"link":"photo_1012681.html","width":130,"caption":"Rock pools by Fay Hankins<br>\r\nITEM SOLD","height":176});
															thumbnails[1012743] = clik.newPhoto({"id":1012743,"src":"erme estuary_thumb.jpg","galleries_id":7099,"server_id":18,"link":"photo_1012743.html","width":130,"caption":"Erme Estuary(Wonwell Beach) near Salcombe, South Devon ","height":96});
															thumbnails[1012747] = clik.newPhoto({"id":1012747,"src":"off shore_thumb.jpg","galleries_id":7102,"server_id":18,"link":"photo_1012747.html","width":130,"caption":"Offshore by Fay Hankins SOLD","height":223});
															thumbnails[1012765] = clik.newPhoto({"id":1012765,"src":"Northwind for vg_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_1012765.html","width":130,"caption":"Northwind by Chris Pellet ","height":84});
															thumbnails[1075862] = clik.newPhoto({"id":1075862,"src":"FAY HANKINS good catch_thumb.jpg","galleries_id":7102,"server_id":18,"link":"photo_1075862.html","width":130,"caption":"A Good Catch by Fay Hankins SOLD","height":184});
															thumbnails[1172524] = clik.newPhoto({"id":1172524,"src":"scuplture workshop_thumb.jpg","galleries_id":7098,"server_id":18,"link":"photo_1172524.html","width":130,"caption":"Uckfield Festival sculpture workshop ","height":98});
															thumbnails[1201321] = clik.newPhoto({"id":1201321,"src":"liz workshop_thumb.jpg","galleries_id":7098,"server_id":18,"link":"photo_1201321.html","width":130,"caption":"liz and some of her watercolours class during the Uckfield Festival","height":110});
															thumbnails[1201327] = clik.newPhoto({"id":1201327,"src":"photo work wshop_thumb.jpg","galleries_id":7098,"server_id":18,"link":"photo_1201327.html","width":130,"caption":"Robin holds a photography workshop during the Uckfield Festival","height":97});
															thumbnails[1598310] = clik.newPhoto({"id":1598310,"src":"ram_thumb.jpg","galleries_id":275572,"server_id":18,"link":"photo_1598310.html","width":130,"caption":"ram head poker","height":202});
															thumbnails[3031289] = clik.newPhoto({"id":3031289,"src":"BoPeep for web_thumb.jpg","galleries_id":7099,"server_id":18,"link":"photo_3031289.html","width":130,"caption":"Spring lambs at Bopeep by Liz Hankins<br>\r\n","height":80});
															thumbnails[3031318] = clik.newPhoto({"id":3031318,"src":"monastery for web_thumb.jpg","galleries_id":7099,"server_id":18,"link":"photo_3031318.html","width":130,"caption":"The Monastery by Liz Hankins","height":190});
															thumbnails[3031344] = clik.newPhoto({"id":3031344,"src":"swan for web_thumb.jpg","galleries_id":7099,"server_id":18,"link":"photo_3031344.html","width":130,"caption":"\"Grace\" by Liz Hankins","height":181});
															thumbnails[3674539] = clik.newPhoto({"id":3674539,"src":"sahde_thumb.jpg","galleries_id":275572,"server_id":18,"link":"photo_3674539.html","width":130,"caption":"By Madeleine Bradbury ","height":173});
															thumbnails[3674550] = clik.newPhoto({"id":3674550,"src":"sq_table_thumb.jpg","galleries_id":275572,"server_id":18,"link":"photo_3674550.html","width":130,"caption":"Hand painted by Madeleine Bradbury ","height":173});
															thumbnails[3674555] = clik.newPhoto({"id":3674555,"src":"mad_mixed_thumb.jpg","galleries_id":275572,"server_id":18,"link":"photo_3674555.html","width":130,"caption":" Hand painted by Madeleine Bradbury ","height":173});
															thumbnails[3674578] = clik.newPhoto({"id":3674578,"src":"scarf_Fay_Hankins__thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_3674578.html","width":130,"caption":"Scarf by Fay Hankins","height":97});
															thumbnails[3674603] = clik.newPhoto({"id":3674603,"src":"Firle_wall_hanging_diptych_thumb.jpg","galleries_id":7102,"server_id":18,"link":"photo_3674603.html","width":130,"caption":"South Downs at Firle By Fay Hankins<br>\r\nSOLD","height":77});
															thumbnails[3674650] = clik.newPhoto({"id":3674650,"src":"Sussex_Weald_thumb.jpg","galleries_id":7099,"server_id":18,"link":"photo_3674650.html","width":130,"caption":"Summer in the Weald original watercolour","height":52});
															thumbnails[4228062] = clik.newPhoto({"id":4228062,"src":"Clear_blue_and_golden_sandweb_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_4228062.html","width":130,"caption":" Dichroic glass pendant ","height":164});
															thumbnails[4228080] = clik.newPhoto({"id":4228080,"src":"Crackling_fireweb_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_4228080.html","width":130,"caption":"Dichroic glass pendant on silver chain","height":147});
															thumbnails[4228094] = clik.newPhoto({"id":4228094,"src":"Purple_and_orange_vertical_stripeweb_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_4228094.html","width":130,"caption":"Dichroic glass pendant on silver chain","height":115});
															thumbnails[4287557] = clik.newPhoto({"id":4287557,"src":"blue_stripes_stole_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_4287557.html","width":130,"caption":"silk\/cotton stole","height":104});
															thumbnails[4287567] = clik.newPhoto({"id":4287567,"src":"stole_green_grey_stripes_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_4287567.html","width":130,"caption":"green\/blue stole","height":173});
															thumbnails[4287577] = clik.newPhoto({"id":4287577,"src":"Fay_H_gret_gold_stripes_stole_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_4287577.html","width":130,"caption":"grey\/gold\/white stole","height":98});
															thumbnails[4287589] = clik.newPhoto({"id":4287589,"src":"Fay_H_stole_gold_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_4287589.html","width":130,"caption":"silk\/cotton\/mohair stole","height":174});
															thumbnails[4287597] = clik.newPhoto({"id":4287597,"src":"candleholder_Dave_Skinner_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_4287597.html","width":130,"caption":"candle stand","height":180});
															thumbnails[4287631] = clik.newPhoto({"id":4287631,"src":"tree_hanging_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_4287631.html","width":130,"caption":"Cotes d'Azure","height":185});
															thumbnails[4825577] = clik.newPhoto({"id":4825577,"src":"Coach__Horses1_thumb.jpg","galleries_id":7099,"server_id":18,"link":"photo_4825577.html","width":130,"caption":"The Coach & Horses, Soho","height":93});
															thumbnails[5104216] = clik.newPhoto({"id":5104216,"src":"Diamond_seascape_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_5104216.html","width":130,"caption":"Diamond seascape pendant","height":138});
															thumbnails[5104219] = clik.newPhoto({"id":5104219,"src":"Royal_and_purple_splatter_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_5104219.html","width":130,"caption":"Royal & Purple splatter pendant","height":192});
															thumbnails[5104237] = clik.newPhoto({"id":5104237,"src":"window_cefn_crug_thumb.jpg","galleries_id":7099,"server_id":18,"link":"photo_5104237.html","width":130,"caption":"Window at Cefn Crug","height":167});
															thumbnails[5104242] = clik.newPhoto({"id":5104242,"src":"The_force_that_through_the_green_fuse_thumb.jpg","galleries_id":7099,"server_id":18,"link":"photo_5104242.html","width":130,"caption":"The Force That Through The Green Fuse ...","height":129});
															thumbnails[5104259] = clik.newPhoto({"id":5104259,"src":"cuckoosbluebells_for_web_thumb.jpg","galleries_id":7099,"server_id":18,"link":"photo_5104259.html","width":130,"caption":"Cuckoos & Bluebells<br>\r\n","height":190});
															thumbnails[5104326] = clik.newPhoto({"id":5104326,"src":"butterfly_thumb.jpg","galleries_id":275572,"server_id":18,"link":"photo_5104326.html","width":130,"caption":"Stainless steel Butterfly sculpture","height":98});
															thumbnails[5104366] = clik.newPhoto({"id":5104366,"src":"omega_mosaic-green_lamp_thumb.jpg","galleries_id":275572,"server_id":18,"link":"photo_5104366.html","width":130,"caption":"'Green Mosaic' lamp shade and base","height":174});
															thumbnails[5104389] = clik.newPhoto({"id":5104389,"src":"omega_vase-yellow_thumb.jpg","galleries_id":275572,"server_id":18,"link":"photo_5104389.html","width":130,"caption":"Omega Lamp \"Vase\"","height":174});
															thumbnails[5104425] = clik.newPhoto({"id":5104425,"src":"shade_quentin_thumb.jpg","galleries_id":275572,"server_id":18,"link":"photo_5104425.html","width":130,"caption":"'Quentin' lamp shade","height":109});
															thumbnails[5104427] = clik.newPhoto({"id":5104427,"src":"PICT00251_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_5104427.html","width":130,"caption":"Pink handwoven scarf\/wrap","height":98});
															thumbnails[5104463] = clik.newPhoto({"id":5104463,"src":"PICT0024_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_5104463.html","width":130,"caption":"Pink scarf tassle detail","height":98});
															thumbnails[5104467] = clik.newPhoto({"id":5104467,"src":"Haut_Provence_thumb.jpg","galleries_id":275572,"server_id":18,"link":"photo_5104467.html","width":130,"caption":"'Haut Provence' wall hanging","height":166});
															thumbnails[5191207] = clik.newPhoto({"id":5191207,"src":"ID9_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_5191207.html","width":130,"caption":"Raku  Angel picture card by Iris Davies","height":205});
															thumbnails[5191238] = clik.newPhoto({"id":5191238,"src":"ID10_thumb.jpg","galleries_id":275572,"server_id":18,"link":"photo_5191238.html","width":130,"caption":"Raku Angel Picture gift card","height":217});
															thumbnails[5191243] = clik.newPhoto({"id":5191243,"src":"ID11_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_5191243.html","width":130,"caption":"Raku Angel picture card by Iris Davies","height":211});
															thumbnails[5191246] = clik.newPhoto({"id":5191246,"src":"ID12_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_5191246.html","width":130,"caption":"Raku Angel picture by Iris Davies","height":190});
															thumbnails[5191257] = clik.newPhoto({"id":5191257,"src":"ID13_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_5191257.html","width":130,"caption":"Raku Angel picture  by Iris Davies","height":212});
															thumbnails[5191278] = clik.newPhoto({"id":5191278,"src":"ID14_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_5191278.html","width":130,"caption":"Raku Angel picture by Iris Davies","height":203});
															thumbnails[5191291] = clik.newPhoto({"id":5191291,"src":"ID15_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_5191291.html","width":130,"caption":"Raku Angel picture by Iris Davies","height":175});
															thumbnails[5191301] = clik.newPhoto({"id":5191301,"src":"ID17_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_5191301.html","width":130,"caption":"Raku Angel picture by Iris Davies","height":240});
															thumbnails[5191312] = clik.newPhoto({"id":5191312,"src":"ID16_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_5191312.html","width":130,"caption":"Raku angel picture by Iris Davies","height":191});
															thumbnails[5191461] = clik.newPhoto({"id":5191461,"src":"ID91_thumb.jpg","galleries_id":275572,"server_id":18,"link":"photo_5191461.html","width":130,"caption":"Raku Angel picture","height":205});
															thumbnails[5191465] = clik.newPhoto({"id":5191465,"src":"ID101_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_5191465.html","width":130,"caption":"Raku Angel picture by Iris Davies","height":217});
															thumbnails[5200476] = clik.newPhoto({"id":5200476,"src":"fire_surround_thumb.jpg","galleries_id":275572,"server_id":18,"link":"photo_5200476.html","width":130,"caption":"Bloomsbury style hand painted fire surround","height":152});
															thumbnails[5205531] = clik.newPhoto({"id":5205531,"src":"18inch_blossom_shade_thumb.jpg","galleries_id":275572,"server_id":18,"link":"photo_5205531.html","width":130,"caption":"\"Blossom\"handpainted  Bloomsbury  lampshade","height":103});
															thumbnails[5205543] = clik.newPhoto({"id":5205543,"src":"Black_thumb.jpg","galleries_id":275572,"server_id":18,"link":"photo_5205543.html","width":130,"caption":"Hand painted Bloomsbury lampshade ","height":136});
															thumbnails[5205553] = clik.newPhoto({"id":5205553,"src":"curtain_lampshade_thumb.jpg","galleries_id":275572,"server_id":18,"link":"photo_5205553.html","width":130,"caption":"Hand painted Bloomsbury lampshade","height":148});
															thumbnails[5205597] = clik.newPhoto({"id":5205597,"src":"Green_Quentin_lamp_8inch_empire_shade1_thumb.jpg","galleries_id":275572,"server_id":18,"link":"photo_5205597.html","width":130,"caption":"Hand painted Bloomsbury lamp","height":186});
															thumbnails[5205658] = clik.newPhoto({"id":5205658,"src":"Green_Quentin_shade_thumb.jpg","galleries_id":275572,"server_id":18,"link":"photo_5205658.html","width":130,"caption":"Hand painted Bloomsbury lampshade","height":173});
															thumbnails[5205660] = clik.newPhoto({"id":5205660,"src":"Leaf_shade_16inch_thumb.jpg","galleries_id":275572,"server_id":18,"link":"photo_5205660.html","width":130,"caption":"Hand painted Bloomsbury lampshade","height":107});
															thumbnails[5205665] = clik.newPhoto({"id":5205665,"src":"Red_Kristian_8inch_lampshade_thumb.jpg","galleries_id":275572,"server_id":18,"link":"photo_5205665.html","width":130,"caption":"Hand painted Bloomsbury lampshade","height":137});
															thumbnails[5205668] = clik.newPhoto({"id":5205668,"src":"Red_Shell_base12inch_Empire_shade_thumb.jpg","galleries_id":275572,"server_id":18,"link":"photo_5205668.html","width":130,"caption":"","height":188});
															thumbnails[5205675] = clik.newPhoto({"id":5205675,"src":"Red_Shell_shade_8inch_thumb.jpg","galleries_id":275572,"server_id":18,"link":"photo_5205675.html","width":130,"caption":"Hand painted Bloomsbury lampshade","height":145});
															thumbnails[5205836] = clik.newPhoto({"id":5205836,"src":"Red-green_ethel_shade_thumb.jpg","galleries_id":275572,"server_id":18,"link":"photo_5205836.html","width":130,"caption":"Hand painted lampshade Bloomsbury style","height":108});
															thumbnails[5206138] = clik.newPhoto({"id":5206138,"src":"candle_holders_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_5206138.html","width":130,"caption":"Candleholders by Luminosity Glass","height":87});
															thumbnails[6240157] = clik.newPhoto({"id":6240157,"src":"cirlce_of_pendants_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_6240157.html","width":130,"caption":"Dichroic glass pendants by Luminosity Glass","height":56});
															thumbnails[6266900] = clik.newPhoto({"id":6266900,"src":"walnutlacewoodcufflinkbox_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_6266900.html","width":130,"caption":"Cuff link box by David Baker","height":98});
															thumbnails[6267524] = clik.newPhoto({"id":6267524,"src":"holmoakmaplerosewoodjewellerybox2_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_6267524.html","width":130,"caption":"Holm Oak, Maple and Rosewood Jewellery Box by David Baker","height":98});
															thumbnails[6267611] = clik.newPhoto({"id":6267611,"src":"holmwoodlacewoodbogoakjewellerybox1_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_6267611.html","width":130,"caption":"Jewellery  Box by David Baker   ","height":98});
															thumbnails[6362123] = clik.newPhoto({"id":6362123,"src":"caduceus_2_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_6362123.html","width":130,"caption":"Caduceus pendant","height":173});
															thumbnails[6362134] = clik.newPhoto({"id":6362134,"src":"chakra_bracelet_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_6362134.html","width":130,"caption":"Chakra bracelet","height":114});
															thumbnails[6362147] = clik.newPhoto({"id":6362147,"src":"chakra_spiral_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_6362147.html","width":130,"caption":"Chakra spiral pendant","height":116});
															thumbnails[6362157] = clik.newPhoto({"id":6362157,"src":"crescent_pendant_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_6362157.html","width":130,"caption":"","height":173});
															thumbnails[6362172] = clik.newPhoto({"id":6362172,"src":"chakra_star1_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_6362172.html","width":130,"caption":"Chakra sun pendant","height":126});
															thumbnails[6362264] = clik.newPhoto({"id":6362264,"src":"goddess_pendant_ruby_inset_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_6362264.html","width":130,"caption":"Celtic Goddess pendant with garnet ","height":240});
															thumbnails[6362269] = clik.newPhoto({"id":6362269,"src":"goddess_pendants_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_6362269.html","width":130,"caption":"Moon goddess and Sun goddess pendants","height":164});
															thumbnails[6362275] = clik.newPhoto({"id":6362275,"src":"priestess_2_side_by_side_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_6362275.html","width":130,"caption":"High Priestess pendants","height":149});
															thumbnails[6362380] = clik.newPhoto({"id":6362380,"src":"Priestess_small_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_6362380.html","width":130,"caption":"Small priestess pendant","height":163});
															thumbnails[6362381] = clik.newPhoto({"id":6362381,"src":"peace_angel_sapphire_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_6362381.html","width":130,"caption":"peace angel set with blue topaz","height":149});
															thumbnails[6362383] = clik.newPhoto({"id":6362383,"src":"aquarium_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_6362383.html","width":130,"caption":"Aquarium by Fay Hankins","height":191});
															thumbnails[7316624] = clik.newPhoto({"id":7316624,"src":"Vision_Gallery_Sharlands_Farm_Pottery_thumb.jpg","galleries_id":7098,"server_id":18,"link":"photo_7316624.html","width":130,"caption":"Spring at Vision Gallery","height":97});
															thumbnails[7332495] = clik.newPhoto({"id":7332495,"src":"toasting_fork_set_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_7332495.html","width":130,"caption":"Toasting fork set","height":281});
															thumbnails[7332504] = clik.newPhoto({"id":7332504,"src":"single_fork_from_set_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_7332504.html","width":130,"caption":"Detail of fork from set","height":44});
															thumbnails[8231132] = clik.newPhoto({"id":8231132,"src":"Chiswick_Mall_thumb.jpg","galleries_id":438694,"server_id":18,"link":"photo_8231132.html","width":130,"caption":"Chiswick Mall","height":88});
															thumbnails[8231134] = clik.newPhoto({"id":8231134,"src":"Coach__Horses_thumb.jpg","galleries_id":438694,"server_id":18,"link":"photo_8231134.html","width":130,"caption":"Coach & Horses Soho","height":93});
															thumbnails[8231135] = clik.newPhoto({"id":8231135,"src":"Dornden_thumb.jpg","galleries_id":438694,"server_id":18,"link":"photo_8231135.html","width":130,"caption":"Dornden","height":166});
															thumbnails[8231160] = clik.newPhoto({"id":8231160,"src":"Harvest_Cottage_thumb.jpg","galleries_id":438694,"server_id":18,"link":"photo_8231160.html","width":130,"caption":"Harvest Cottage","height":113});
															thumbnails[8231162] = clik.newPhoto({"id":8231162,"src":"houseportrait_thumb.jpg","galleries_id":438694,"server_id":18,"link":"photo_8231162.html","width":130,"caption":"Willingdon house","height":87});
															thumbnails[8231168] = clik.newPhoto({"id":8231168,"src":"Temple_lodge_thumb.jpg","galleries_id":438694,"server_id":18,"link":"photo_8231168.html","width":130,"caption":"Temple Lodge","height":141});
															thumbnails[8231174] = clik.newPhoto({"id":8231174,"src":"sherwood_house_thumb.jpg","galleries_id":438694,"server_id":18,"link":"photo_8231174.html","width":130,"caption":"sherwood house","height":84});
															thumbnails[8231177] = clik.newPhoto({"id":8231177,"src":"Yorkshire_Mill_thumb.jpg","galleries_id":438694,"server_id":18,"link":"photo_8231177.html","width":130,"caption":"Yorkshire Mill, Holmfirth","height":191});
															thumbnails[8231182] = clik.newPhoto({"id":8231182,"src":"dreamcottage2_thumb.jpg","galleries_id":438694,"server_id":18,"link":"photo_8231182.html","width":130,"caption":"Daily Mail Dream Cottage","height":69});
															thumbnails[8231184] = clik.newPhoto({"id":8231184,"src":"dreamcottage1_thumb.jpg","galleries_id":438694,"server_id":18,"link":"photo_8231184.html","width":130,"caption":"Daily Mail Dream Cottage","height":117});
															thumbnails[8231186] = clik.newPhoto({"id":8231186,"src":"italianate_terrace_thumb.jpg","galleries_id":438694,"server_id":18,"link":"photo_8231186.html","width":130,"caption":"visual from plans","height":117});
															thumbnails[8231190] = clik.newPhoto({"id":8231190,"src":"forge_house_thumb.jpg","galleries_id":438694,"server_id":18,"link":"photo_8231190.html","width":130,"caption":"Forge House illustration from plans","height":108});
															thumbnails[8231192] = clik.newPhoto({"id":8231192,"src":"terraces_thumb.jpg","galleries_id":438694,"server_id":18,"link":"photo_8231192.html","width":130,"caption":"Two Sawyers Terraces-visuals","height":89});
															thumbnails[8231196] = clik.newPhoto({"id":8231196,"src":"Two_Sawyers_aerial_thumb.jpg","galleries_id":438694,"server_id":18,"link":"photo_8231196.html","width":130,"caption":"aerial view visual from plans","height":166});
															thumbnails[8231197] = clik.newPhoto({"id":8231197,"src":"door_Ellesmere_thumb.jpg","galleries_id":438694,"server_id":18,"link":"photo_8231197.html","width":130,"caption":"Front door Ellesmere House","height":100});
															thumbnails[8349118] = clik.newPhoto({"id":8349118,"src":"Louisa_Crispin_Picasso_Jasper_necklace_sterling_silver_140_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_8349118.html","width":130,"caption":"Picasso Jasper necklace by Louisa Crispin","height":88});
															thumbnails[8349222] = clik.newPhoto({"id":8349222,"src":"Louisa_Crispin_Green_Brooch_Enamel_on_Copper_36_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_8349222.html","width":130,"caption":"enamel brooch by Louisa Crispin","height":308});
															thumbnails[8349226] = clik.newPhoto({"id":8349226,"src":"Louisa_Crispin_Hornet_etching_75_framed_55_unframed_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_8349226.html","width":130,"caption":"etching by Louisa Crispin","height":102});
															thumbnails[8349331] = clik.newPhoto({"id":8349331,"src":"Louisa_Crispin_Hornet_etching_75_framed_55_unframed1_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_8349331.html","width":130,"caption":"Framed etching by Louisa Crispin","height":102});
															thumbnails[8349333] = clik.newPhoto({"id":8349333,"src":"Louisa_Crispin_Cock_Robin_etching_30_framed_18_unframed_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_8349333.html","width":130,"caption":"Cock Robin etching","height":104});
															thumbnails[8349401] = clik.newPhoto({"id":8349401,"src":"Louisa_Crispin_Cock_Robin_etching_30_framed_18_unframed1_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_8349401.html","width":130,"caption":"unframed cock robin etching","height":104});
															thumbnails[8349563] = clik.newPhoto({"id":8349563,"src":"David_-Sculpture_006_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_8349563.html","width":130,"caption":" 'Clone' by David Newman","height":87});
															thumbnails[8349628] = clik.newPhoto({"id":8349628,"src":"sculpture_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_8349628.html","width":130,"caption":"'Boundaries' by David Newman","height":173});
															thumbnails[8349649] = clik.newPhoto({"id":8349649,"src":"Fay_H_blue-mauve_scarf_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_8349649.html","width":130,"caption":"","height":133});
															thumbnails[8349650] = clik.newPhoto({"id":8349650,"src":"Harvest_by_Fay_Hankins_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_8349650.html","width":130,"caption":"'Harvest' wallhanging by Fay Hankins","height":238});
															thumbnails[8349652] = clik.newPhoto({"id":8349652,"src":"Embankment_Lion_9857EF39-1EC9-DFB6-094F0832D5AA2AA7_thumb.jpg","galleries_id":7099,"server_id":18,"link":"photo_8349652.html","width":130,"caption":"Weeeping Lion:London Embankment by Liz Hankins","height":151});
															thumbnails[8349653] = clik.newPhoto({"id":8349653,"src":"Embankment_Lion_thumb.jpg","galleries_id":7099,"server_id":18,"link":"photo_8349653.html","width":130,"caption":"Detail Weeping Lion by Liz Hankins","height":174});
															thumbnails[8349654] = clik.newPhoto({"id":8349654,"src":"Luminosity_Glass_Pendant_2_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_8349654.html","width":130,"caption":"Dichroic glass pendant by Luminosity Glass","height":125});
															thumbnails[8349655] = clik.newPhoto({"id":8349655,"src":"Luminosity_Glass_Pendant_1_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_8349655.html","width":130,"caption":"Dichroic glass pendant on silver chain by Candice McEntyre","height":118});
															thumbnails[8349656] = clik.newPhoto({"id":8349656,"src":"Puffins-141_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_8349656.html","width":130,"caption":"Puffins by Jackie Summerfield","height":114});
															thumbnails[8349658] = clik.newPhoto({"id":8349658,"src":"Eagles_2_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_8349658.html","width":130,"caption":"Eagle sculpture by Jackie Summerfield","height":91});
															thumbnails[8349659] = clik.newPhoto({"id":8349659,"src":"20100226_161021_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_8349659.html","width":130,"caption":"Ceramic dolphin sculpture by Jackie Summerfield","height":180});
															thumbnails[8349662] = clik.newPhoto({"id":8349662,"src":"091504_Seagulls_00094_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_8349662.html","width":130,"caption":"Ceramic seagulls by Jackie Summerfield","height":118});
															thumbnails[8349672] = clik.newPhoto({"id":8349672,"src":"Louisa_Crispin_-_flourite_heart_drop_earrings_sterling_silver_361_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_8349672.html","width":130,"caption":"Fluorite heart-drop earrings with sterling silver","height":195});
															thumbnails[8349674] = clik.newPhoto({"id":8349674,"src":"Louisa_Crispin_Poppy_sterling_silver_95_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_8349674.html","width":130,"caption":"Sterling silver Poppy necklace by Louisa Crispin","height":113});
															thumbnails[8776593] = clik.newPhoto({"id":8776593,"src":"vg_at_xmas_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_8776593.html","width":130,"caption":"Xmas at Vision Gallery","height":94});
															thumbnails[8896987] = clik.newPhoto({"id":8896987,"src":"amethyst_celtic_pendant_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_8896987.html","width":130,"caption":"Triple knot Moon crescent set with amethyst","height":240});
															thumbnails[8897537] = clik.newPhoto({"id":8897537,"src":"ankhlapis_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_8897537.html","width":120,"caption":"Egyptian Ankh inset with lapis head","height":328});
															thumbnails[79676] = clik.newPhoto({"id":79676,"src":"mantle-avalon-1b_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_79676.html","width":130,"caption":"mantle clock <br>\r\n\"Avalon\" ","height":215});
															thumbnails[79324] = clik.newPhoto({"id":79324,"src":"ok comp_thumb.jpg","galleries_id":7099,"server_id":18,"link":"photo_79324.html","width":130,"caption":"Summer Breeze, Alfriston (Comp Valley)","height":88});
															thumbnails[79674] = clik.newPhoto({"id":79674,"src":"mantle-aluna-1b_thumb.jpg","galleries_id":75791,"server_id":18,"link":"photo_79674.html","width":130,"caption":"mantle clock Design \"Aluna\" ","height":223});
															thumbnails[79322] = clik.newPhoto({"id":79322,"src":"BEYONDTHselect3_thumb.jpg","galleries_id":7099,"server_id":18,"link":"photo_79322.html","width":130,"caption":"Beyond the Church","height":182});
															thumbnails[73426] = clik.newPhoto({"id":73426,"src":"E12_pilgrims_way_thumb.jpg","galleries_id":7099,"server_id":18,"link":"photo_73426.html","width":130,"caption":"Pilgrims Way","height":189});
															thumbnails[79323] = clik.newPhoto({"id":79323,"src":"OLDHEATH_thumb.jpg","galleries_id":7099,"server_id":18,"link":"photo_79323.html","width":130,"caption":"Old Heathfield","height":190});
															thumbnails[73427] = clik.newPhoto({"id":73427,"src":"A11_dorndenhouse_thumb.jpg","galleries_id":7099,"server_id":18,"link":"photo_73427.html","width":130,"caption":"Dornden House","height":166});
															thumbnails[73428] = clik.newPhoto({"id":73428,"src":"A19_kenwood_house_thumb.jpg","galleries_id":7099,"server_id":18,"link":"photo_73428.html","width":130,"caption":"Kenwood House ","height":82});
															thumbnails[3077486] = clik.newPhoto({"id":3077486,"src":"lamp_Red_Ethel_thumb.jpg","galleries_id":275572,"server_id":18,"link":"photo_3077486.html","width":130,"caption":"Bloomsbury set style furnishings at the Vision Gallery","height":175});
															thumbnails[2491577] = clik.newPhoto({"id":2491577,"src":"madaleleine table lamp shade detail_thumb.jpg","galleries_id":275572,"server_id":18,"link":"photo_2491577.html","width":130,"caption":"shade by Madeleine Bradbury","height":98});
															thumbnails[2491562] = clik.newPhoto({"id":2491562,"src":"madaleleine table lamp blue_thumb.jpg","galleries_id":275572,"server_id":18,"link":"photo_2491562.html","width":130,"caption":"Lamp base and shade by Madeleine Bradbury ","height":173});
															thumbnails[2491567] = clik.newPhoto({"id":2491567,"src":"madaleleine table lamp rose_thumb.jpg","galleries_id":275572,"server_id":18,"link":"photo_2491567.html","width":130,"caption":"Lamp base and shade by Madeleine Bradbury","height":173});
															thumbnails[2491572] = clik.newPhoto({"id":2491572,"src":"madaleleine table lamp shade detail rose_thumb.jpg","galleries_id":275572,"server_id":18,"link":"photo_2491572.html","width":130,"caption":"Shade detail by Madeleine Bradbury","height":98});
															thumbnails[3081971] = clik.newPhoto({"id":3081971,"src":"tadek 1970 exhibition_thumb.jpg","galleries_id":188417,"server_id":18,"link":"photo_3081971.html","width":130,"caption":"Show guide for 1970 Exhibition","height":94});
															thumbnails[3081973] = clik.newPhoto({"id":3081973,"src":"tadek 1970 list of works_thumb.jpg","galleries_id":188417,"server_id":18,"link":"photo_3081973.html","width":130,"caption":"List of 1970 works","height":95});
															thumbnails[3458822] = clik.newPhoto({"id":3458822,"src":"Beutlich hanging (website)_thumb.jpg","galleries_id":188417,"server_id":18,"link":"photo_3458822.html","width":130,"caption":"Wall hanging by Tadek Beutlich 1160mmx1320mm high","height":116});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[75791] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Currently available at Vision Gallery","link":"gallery_75791.html","maxRecords":0.0,"photoIDs":[191303.0,279981.0,517648.0,1012765.0,3674578.0,4228062.0,4228080.0,4228094.0,4287557.0,4287567.0,4287577.0,4287589.0,4287597.0,4287631.0,5104216.0,5104219.0,5104427.0,5104463.0,5191207.0,5191243.0,5191246.0,5191257.0,5191278.0,5191291.0,5191301.0,5191312.0,5191465.0,5206138.0,6240157.0,6266900.0,6267524.0,6267611.0,6362123.0,6362134.0,6362147.0,6362157.0,6362172.0,6362264.0,6362269.0,6362275.0,6362380.0,6362381.0,6362383.0,7332495.0,7332504.0,8349118.0,8349222.0,8349226.0,8349331.0,8349333.0,8349401.0,8349563.0,8349628.0,8349649.0,8349650.0,8349654.0,8349655.0,8349656.0,8349658.0,8349659.0,8349662.0,8349672.0,8349674.0,8776593.0,8896987.0,8897537.0,79676.0,79674.0],"skipIndex":0,"section_code":"gallery","featured_images":279981.0,"id":75791,"singleSection":false});				  						galleries[438694] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"HOUSE PORTRAITS by LIZ HANKINS","link":"gallery_438694.html","maxRecords":0.0,"photoIDs":[8231132.0,8231134.0,8231135.0,8231160.0,8231162.0,8231168.0,8231174.0,8231177.0,8231182.0,8231184.0,8231186.0,8231190.0,8231192.0,8231196.0,8231197.0],"skipIndex":0,"section_code":"gallery","featured_images":"8231197,8231196,8231192,8231190,8231186,8231184,8231182,8231177,8231174,8231168","id":438694,"singleSection":false});				  						galleries[275572] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Past exhibitors ","link":"gallery_275572.html","maxRecords":0.0,"photoIDs":[1598310.0,3674539.0,3674550.0,3674555.0,5104326.0,5104366.0,5104389.0,5104425.0,5104467.0,5191238.0,5191461.0,5200476.0,5205531.0,5205543.0,5205553.0,5205597.0,5205658.0,5205660.0,5205665.0,5205668.0,5205675.0,5205836.0,3077486.0,2491577.0,2491562.0,2491567.0,2491572.0],"skipIndex":0,"section_code":"gallery","featured_images":"5205836,5205675,5205668,5205665,5205660,5205658,5205597,5205553,5205543,5205531","id":275572,"singleSection":false});				  						galleries[188417] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"TADEK BEUTLICH","link":"section233142.html","maxRecords":0.0,"photoIDs":[3081971.0,3081973.0,3458822.0],"skipIndex":0,"section_code":"section233142","featured_images":"3458822,3081973,3081971","id":188417,"singleSection":true});				  						galleries[7099] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Liz Hankins","link":"gallery_7099.html","maxRecords":0.0,"photoIDs":[73425.0,79325.0,79326.0,191413.0,389734.0,389738.0,389740.0,389742.0,389745.0,517641.0,517644.0,517645.0,517646.0,517649.0,517654.0,517655.0,517657.0,1012743.0,3031289.0,3031318.0,3031344.0,3674650.0,4825577.0,5104237.0,5104242.0,5104259.0,8349652.0,8349653.0,79324.0,79322.0,73426.0,79323.0,73427.0,73428.0],"skipIndex":0,"section_code":"gallery","featured_images":73426.0,"id":7099,"singleSection":false});				  						galleries[7100] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Robin Earl","link":"gallery_7100.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"","id":7100,"singleSection":false});				  						galleries[7102] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Fay Hankins","link":"gallery_7102.html","maxRecords":0.0,"photoIDs":[80150.0,594017.0,594020.0,1012681.0,1012747.0,1075862.0,3674603.0],"skipIndex":0,"section_code":"gallery","featured_images":"3674603,1075862,1012747,1012681,594020,594017,80150","id":7102,"singleSection":false});				  						galleries[7098] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"The Vision Gallery","link":"gallery_7098.html","maxRecords":0.0,"photoIDs":[73424.0,79670.0,80149.0,196921.0,887133.0,887205.0,1172524.0,1201321.0,1201327.0,7316624.0],"skipIndex":0,"section_code":"gallery","featured_images":"7316624,1201327,1201321,1172524,887205,887133,196921,80149,79670,73424","id":7098,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '8776593,7332504,6362383,6362381,6362380,6362275,6362269,6362264,6362172,6362157,6362147,6362134,6267611,6267524,6266900,6240157,5206138';
imageSets[2] = '279981,73426';
imageSets[3] = '7332504,6362383,6362381,6362380,6362275,6362269,6362264,6362172,6362157,6362147,6362134,6267611,6267524,6266900,6240157,5206138';
imageSets[238931] = '8776593,7316624,73424';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/speedy/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/speedy/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/speedy/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/speedy/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/speedy/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/speedy/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/speedy/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/speedy/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/speedy/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/speedy/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/speedy/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/speedy/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/speedy/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/speedy/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/speedy/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/speedy/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/speedy/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/speedy/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/speedy/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/speedy/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/speedy/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/speedy/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/speedy/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/speedy/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/speedy/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/speedy/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/speedy/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 = 'Vision Gallery: ' + photoCaption;
			    }
        if (op.$detail.length > 0) {
      	temp = op.nextPhoto.fnGetImageDetails();
	    op.$detail.fadeGalleryDetails(temp, op.speed, function(){
			if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
				toggleAddToCartConfirm(backgrounds, op.$detail);
			} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
				toggleAddToCartConfirm(photos, op.$detail);
			}
			$('body').trigger('clikUpdate.popup');
	    });
    }
        $(op.$detailContainer).find('.replaceable[class*=replaceable_photo-]').each(function(){
    	var field = clik.getPrefixedClass(this.className, 'replaceable_photo-');
    	if (field in op.nextPhoto) {
    		$(this).fadeGalleryDetails(op.nextPhoto[field], op.speed);
    	}
    }).end().find('.replaceable.photoPayment').fadeGalleryDetails(op.nextPhoto.fnGetPaymentInfo(), op.speed, function(){
		if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
			toggleAddToCartConfirm(backgrounds, op.$detailContainer);
		} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
			toggleAddToCartConfirm(photos, op.$detailContainer);
		}
		$('body').trigger('clikUpdate.popup');
	});
		if (op.$photo.length > 0) {
		html = $('<img/>',{
			'class': 'mainphoto photo',
			src: photoSrc,
			id: 'mainPic',
			name: 'mainPic',
			width: op.nextPhoto.width,
			height: op.nextPhoto.height,
			alt: photoCaption,
			css: op.css || {}
		});
		if (op.href) {
			if (op.href.match(/<a/)) {
				html = $(op.href).append(html);
			} else {
				html = $('<a/>', {
					href: op.href,
					title: photoCaption
				}).append(html);
			}
		} else {
			html = $('<a/>', {
				title: photoCaption
			}).append(html);
		}
		if (op.speed == 0) {			op.$photo.html(html);			if (op.onBefore) {			  	op.onBefore.apply(op.$photo);			}			if (op.onAfter) {			  	op.onAfter.apply(op.$photo);			}		} else {			op.$photo.stop(true,true).fadeReplaceWith(html,op.speed,'',function(){  				if (op.onAfter) {				  	op.onAfter.apply(this);				}				clik.doColumnResize(false, $(this).add(op.$detail).add(op.$title));			}, op.onBefore);
		}	}
    if (op.field) {
		op.field.value = photoId;
	} else {
		op.$photo.data('image_id', photoId);
    }
        if (!op.speed) {
      	clik.doColumnResize(false, op.$photo.add(op.$detail).add(op.$title));
    }
        
    return html;
	}

/***************************************************************************
* Toggle add to cart confirmation element and set up the click event for   *
* the 'Add to cart' button.                                                *
***************************************************************************/
function toggleAddToCartConfirm(array, root){
	if (typeof(array) !== 'object' || array === null) {
	  	array = photos;
	}
	if (!$(root).length) {		root = $('body');	}	if($('#paymentConfirm', root).length > 0){
		$('#paymentConfirm', root).hide();
		$('#paymentAddButton', root)
		.unbind()
		.click(function(){
						form = $('#paymentForm', root)[0];
			option_id = 0;
			if(form.item_option.value){
				option_id = form.item_option.value;
			}
			if(addItemToBasket(form.item_number.value,array,form.site.value,parseInt(form.quantity.value, 10),option_id)){
				if($.browser.msie){$('#paymentConfirm', root).text('Item added to cart').show();}
				else{
					$('#paymentConfirm', root).text('Item added to cart').fadeIn();
					dspOrderDetails(form.site.value);
				}
			}
			else{
				$('#paymentConfirm', root).text('Item not added - check cookies are enabled in your browser.').fadeIn();
			}
		});
	}
}

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetImageDetails = function(){
	var temp = '';
	if (this.description != '') {
		temp +=  '<div id="imageDescription">' + this.description + '</div>';
	}
		if (this.photo_ref != '') {
		temp += '<div class="imageinfo" id="imageRef"><strong>Ref: </strong>' + this.photo_ref + '</div>';
	}
		if (this.takendate != '') {
		
		temp += '<div class="imageinfo" id="imageDate"><strong>Date: </strong>' + this.takendate + '</div>';
	}
	
	if (this.location != '') {
		
		temp += '<div class="imageinfo" id="imageLocation"><strong>Location: </strong>' +  this.location + '</div>';
	}
	
	if (this.photographer != '') {
		
		temp += '<div class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>' + this.photographer + '</div>';
	}
				
	temp += this.fnGetPaymentInfo();
				if (temp != '') {
		temp += '<div class="spacer"></div>';
	}
	return temp;
};

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetPaymentInfo = function(){
	var temp = '';
	if (this.item_price !== '') {
																		temp += '<p>Buy now using PayPal:</p>';
				temp += '<div class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> &pound;' + (this.item_price).toFixed(2) + '</div>';
		var item_name  = this.purchase_instruction;
		var amount = (this.item_price).toFixed(2);
		var item_option  = 0;
	}
		else if (this.payment_groups_id !== '') {
		temp += '<p>Buy this piece online</p>';
				temp += '<form id="paymentOptions" style="margin:0px;border:0px;" name="paymentOptions">';
											temp += '<select class="paymentlink" name="payment_options_id" onchange="updateItemValues($(this.form).next(\'#paymentForm\')[0],this.form.payment_options_id.options[this.form.payment_options_id.options.selectedIndex].value);">';
		
		temp += getPaymentOptions(this.payment_groups_id);
		temp += '</select>';
		temp += '</form>';
				var item_option  = paymentGroups[this.payment_groups_id].options[0];
		if(paymentOptions[item_option]){
			var item_name  = paymentOptions[item_option].payment_option;
			var amount =  paymentOptions[item_option].price;
		}
			}
		else {
		
	}
	if (this.item_price !== '' || this.payment_groups_id !== '') {
																		temp += '<form id="paymentForm" style="margin:0px;border:0px;" name="paymentForm" target="_blank" action="https://www.paypal.com/cgi-bin/webscr" method="post">';
			temp += '<input type="hidden" name="item_name" value="'+item_name+'">';
			ref = '';
			if(this.photo_ref != ''){
				ref = this.photo_ref+' - '+this.caption;
			}
			else{
				ref = this.id+' - '+this.caption;
			}
			price = amount;								temp += '<input type="hidden" name="cmd" value="_cart">';
					temp += '<input type="hidden" name="business" value="vision_gallery@yahoo.co.uk">';
					temp += '<input type="hidden" name="currency_code" value="GBP">';
					temp += '<input type="hidden" name="add" value="1">';
													temp += '<input type="hidden" name="amount" value="'+amount+'">';
					temp += '<input type="hidden" name="item_number" value="'+ref+'">';
													temp += '<input type=\"Submit\" value=\"Add to cart\" id=\"paymentAddButton\" class=\"button\" onmouseover=\"this.className=\'buttonHi\';\" onmouseout=\"this.className=\'button\';\">';
										temp += '</form>';
										temp += '<form id="paymentCartForm" style="margin:0px;" name="paymentCartForm" target="_blank" action="https://www.paypal.com/cgi-bin/webscr" method="post">';
				temp += '<input type="hidden" name="cmd" value="_cart">';
				temp += '<input type="hidden" name="business" value="vision_gallery@yahoo.co.uk">';
				temp += '<input type="hidden" name="display" value="1">';
				temp += '<input type=\"Submit\" value=\"View cart\" id=\"paymentViewButton\" class=\"button\" onmouseover=\"this.className=\'buttonHi\';\" onmouseout=\"this.className=\'button\';\">';
				temp += '</form>';
						temp += '<div class="clearing">&nbsp;</div>';
	}
	return temp;};

/***************************************************************************
* Pick a photo at random from the featured images of a gallery.            *
* Gallery_id = id of gallery to choose,                                    *
* img = reference to html image in                                         *
* which to show image                                                      *
***************************************************************************/
function showGalleryImage(gallery_id, img, updateLink) {
	
	if(img){
		if (location.hash.match('galleries_id=' + gallery_id) && (imageID = location.hash.match('.*photos_id=(.+)$'))) {
		  	imageID = imageID[1];
		} else {
		  	imageID = randomListVal(galleries[gallery_id].featured_images);
		}
		
		if (imageID != 0) {
			img.src = thumbnails[imageID].src;
			img.width = thumbnails[imageID].width;
			img.height = thumbnails[imageID].height;
			img.alt = galleries[gallery_id].title;
			if (updateLink) {
				$(img).parent().attr({					title: galleries[gallery_id].title				}).filter(function(){return this.href;}).attr({					href: thumbnails[imageID].fnGalleryLink(gallery_id)				});
			}
		}
	}
}

/***************************************************************************
* If we have dynamic HTML, replace the galleries link with a list that     *
* doesn't include thecurrent gallery                                       *
***************************************************************************/
function showGalleries(gallery_id) {
		
	
	if (!basic) {
		temp = '';
		for (i = 0; i < galleries.length; i++) {
						
			
			if (galleries[i].id != gallery_id) {
								
				if (temp != '') {
					temp += ' | ';
				}
								temp += '<a href="' + galleries[i].section_code + '_' + galleries[i].id + '.html">' + galleries[i].title + '</a>';
							}
		}
		document.all.galleryLinks.innerHTML = 'Other galleries: ' + temp;
	}
}

			

