window.thumbnails = {};
															thumbnails[514129] = clik.newPhoto({"id":514129,"src":"live_birdseye_thumb.JPG","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"Interior Liver, Gilead, Germany. ","height":195});
															thumbnails[529387] = clik.newPhoto({"id":529387,"src":"shiply_exh1_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":173});
															thumbnails[529478] = clik.newPhoto({"id":529478,"src":"jjjjan_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":175});
															thumbnails[1921205] = clik.newPhoto({"id":1921205,"src":"Gebaermutter_thumb.JPG","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":95});
															thumbnails[1921206] = clik.newPhoto({"id":1921206,"src":"Gebaermutter1_thumb.JPG","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":95});
															thumbnails[518616] = clik.newPhoto({"id":518616,"src":"relief_thumb.jpg","galleries_id":40169,"server_id":15,"link":"photo_518616.html","width":130,"caption":"","height":95});
															thumbnails[518632] = clik.newPhoto({"id":518632,"src":"crystal_thumb.jpg","galleries_id":40174,"server_id":15,"link":"photo_518632.html","width":130,"caption":"","height":130});
															thumbnails[518647] = clik.newPhoto({"id":518647,"src":"Orbit_ext_thumb.jpg","galleries_id":40177,"server_id":15,"link":"photo_518647.html","width":130,"caption":"","height":93});
															thumbnails[518667] = clik.newPhoto({"id":518667,"src":"crystal_int_thumb.jpg","galleries_id":40174,"server_id":15,"link":"photo_518667.html","width":130,"caption":"","height":130});
															thumbnails[518668] = clik.newPhoto({"id":518668,"src":"hive_making_thumb.jpg","galleries_id":40175,"server_id":15,"link":"photo_518668.html","width":130,"caption":"","height":80});
															thumbnails[518698] = clik.newPhoto({"id":518698,"src":"orbit_int_thumb.jpg","galleries_id":40177,"server_id":15,"link":"photo_518698.html","width":130,"caption":"","height":92});
															thumbnails[518732] = clik.newPhoto({"id":518732,"src":"time_tunnel_thumb.jpg","galleries_id":40186,"server_id":15,"link":"photo_518732.html","width":130,"caption":"","height":75});
															thumbnails[519093] = clik.newPhoto({"id":519093,"src":"hive_ext1_thumb.jpg","galleries_id":40175,"server_id":15,"link":"photo_519093.html","width":130,"caption":"","height":87});
															thumbnails[529066] = clik.newPhoto({"id":529066,"src":"chrysalis_thumb.jpg-web2.jpg","galleries_id":40172,"server_id":15,"link":"photo_529066.html","width":130,"caption":"","height":86});
															thumbnails[529072] = clik.newPhoto({"id":529072,"src":"chysalis_int_thumb.jpg-web.jpg","galleries_id":40172,"server_id":15,"link":"photo_529072.html","width":130,"caption":"","height":129});
															thumbnails[529140] = clik.newPhoto({"id":529140,"src":"shell_ext_thumb.jpg-web.jpg","galleries_id":40178,"server_id":15,"link":"photo_529140.html","width":130,"caption":"","height":87});
															thumbnails[529142] = clik.newPhoto({"id":529142,"src":"shell_Int_thumb.jpg-web.jpg","galleries_id":40178,"server_id":15,"link":"photo_529142.html","width":130,"caption":"","height":186});
															thumbnails[529149] = clik.newPhoto({"id":529149,"src":"hive_interior_thumb.jpg","galleries_id":40175,"server_id":15,"link":"photo_529149.html","width":130,"caption":"","height":133});
															thumbnails[529079] = clik.newPhoto({"id":529079,"src":"labyrinth_thumb.jpg-web.jpg","galleries_id":40176,"server_id":15,"link":"photo_529079.html","width":130,"caption":"","height":77});
															thumbnails[518670] = clik.newPhoto({"id":518670,"src":"labyrinth _marigold_thumb.jpg","galleries_id":40176,"server_id":15,"link":"photo_518670.html","width":130,"caption":"","height":86});
															thumbnails[514228] = clik.newPhoto({"id":514228,"src":"liver_ext_thumb.jpg","galleries_id":39888,"server_id":15,"link":"photo_514228.html","width":130,"caption":"","height":89});
															thumbnails[518615] = clik.newPhoto({"id":518615,"src":"portal_orginal_ext_thumb.jpg","galleries_id":40183,"server_id":15,"link":"photo_518615.html","width":130,"caption":"","height":95});
															thumbnails[518617] = clik.newPhoto({"id":518617,"src":"brain_ext_thumb.jpg","galleries_id":40170,"server_id":15,"link":"photo_518617.html","width":130,"caption":"","height":83});
															thumbnails[518618] = clik.newPhoto({"id":518618,"src":"emorphic_garden_thumb.jpg","galleries_id":40171,"server_id":15,"link":"photo_518618.html","width":130,"caption":"","height":88});
															thumbnails[518644] = clik.newPhoto({"id":518644,"src":"flower_thumb.jpg","galleries_id":40163,"server_id":15,"link":"photo_518644.html","width":130,"caption":"","height":173});
															thumbnails[518653] = clik.newPhoto({"id":518653,"src":"ship_front_thumb.JPG","galleries_id":40179,"server_id":15,"link":"photo_518653.html","width":130,"caption":"","height":98});
															thumbnails[518654] = clik.newPhoto({"id":518654,"src":"small_shell_thumb.jpg","galleries_id":40184,"server_id":15,"link":"photo_518654.html","width":130,"caption":"","height":98});
															thumbnails[518658] = clik.newPhoto({"id":518658,"src":"portal_interior_thumb.jpg","galleries_id":40183,"server_id":15,"link":"photo_518658.html","width":130,"caption":"","height":106});
															thumbnails[518663] = clik.newPhoto({"id":518663,"src":"brain_int_thumb.jpg","galleries_id":40170,"server_id":15,"link":"photo_518663.html","width":130,"caption":"","height":130});
															thumbnails[518664] = clik.newPhoto({"id":518664,"src":"emorphic_garden_detail_thumb.jpg","galleries_id":40171,"server_id":15,"link":"photo_518664.html","width":130,"caption":"","height":169});
															thumbnails[518677] = clik.newPhoto({"id":518677,"src":"LIV_outside_DETAIL_thumb.jpg","galleries_id":39888,"server_id":15,"link":"photo_518677.html","width":130,"caption":"","height":98});
															thumbnails[518688] = clik.newPhoto({"id":518688,"src":"flower_int_thumb.jpg","galleries_id":40163,"server_id":15,"link":"photo_518688.html","width":130,"caption":"","height":173});
															thumbnails[518704] = clik.newPhoto({"id":518704,"src":"ship_exterior_thumb.jpg","galleries_id":40179,"server_id":15,"link":"photo_518704.html","width":130,"caption":"","height":86});
															thumbnails[518715] = clik.newPhoto({"id":518715,"src":"sliper_thumb.jpg","galleries_id":40184,"server_id":15,"link":"photo_518715.html","width":130,"caption":"","height":87});
															thumbnails[518737] = clik.newPhoto({"id":518737,"src":"relief_detail_thumb.JPG","galleries_id":40169,"server_id":15,"link":"photo_518737.html","width":130,"caption":"","height":95});
															thumbnails[518683] = clik.newPhoto({"id":518683,"src":"liver-detail_thumb.jpg","galleries_id":39888,"server_id":15,"link":"photo_518683.html","width":130,"caption":"","height":98});
															thumbnails[518694] = clik.newPhoto({"id":518694,"src":"flower_detail_thumb.JPG","galleries_id":40163,"server_id":15,"link":"photo_518694.html","width":130,"caption":"","height":173});
															thumbnails[518718] = clik.newPhoto({"id":518718,"src":"two_pods_thumb.jpg","galleries_id":40184,"server_id":15,"link":"photo_518718.html","width":130,"caption":"","height":66});
															thumbnails[518738] = clik.newPhoto({"id":518738,"src":"rock_pool_detail_thumb.jpg","galleries_id":40169,"server_id":15,"link":"photo_518738.html","width":130,"caption":"","height":115});
															thumbnails[519110] = clik.newPhoto({"id":519110,"src":"ship_int_thumb.jpg","galleries_id":40179,"server_id":15,"link":"photo_519110.html","width":130,"caption":"","height":87});
															thumbnails[518537] = clik.newPhoto({"id":518537,"src":"liver_end_thumb.jpg","galleries_id":39888,"server_id":15,"link":"photo_518537.html","width":130,"caption":"","height":181});
															thumbnails[518686] = clik.newPhoto({"id":518686,"src":"flower_bk_drop_thumb.jpg","galleries_id":40163,"server_id":15,"link":"photo_518686.html","width":130,"caption":"","height":106});
															thumbnails[518722] = clik.newPhoto({"id":518722,"src":"slip_bk_thumb.jpg","galleries_id":40184,"server_id":15,"link":"photo_518722.html","width":130,"caption":"","height":98});
															thumbnails[518739] = clik.newPhoto({"id":518739,"src":"fruit_thumb.jpg","galleries_id":40169,"server_id":15,"link":"photo_518739.html","width":130,"caption":"","height":98});
															thumbnails[518673] = clik.newPhoto({"id":518673,"src":"leber_cath_int2_thumb.jpg","galleries_id":39888,"server_id":15,"link":"photo_518673.html","width":130,"caption":"","height":195});
															thumbnails[518710] = clik.newPhoto({"id":518710,"src":"ship_detail_thumb.jpg","galleries_id":40179,"server_id":15,"link":"photo_518710.html","width":130,"caption":"","height":195});
															thumbnails[518726] = clik.newPhoto({"id":518726,"src":"tent_thumb.jpg","galleries_id":40184,"server_id":15,"link":"photo_518726.html","width":130,"caption":"","height":98});
															thumbnails[518741] = clik.newPhoto({"id":518741,"src":"fruit_and_origional_thumb.jpg","galleries_id":40169,"server_id":15,"link":"photo_518741.html","width":130,"caption":"","height":87});
															thumbnails[518729] = clik.newPhoto({"id":518729,"src":"tent_int_thumb.jpg","galleries_id":40184,"server_id":15,"link":"photo_518729.html","width":130,"caption":"","height":98});
															thumbnails[518743] = clik.newPhoto({"id":518743,"src":"fruit_detail_thumb.jpg","galleries_id":40169,"server_id":15,"link":"photo_518743.html","width":130,"caption":"","height":177});
															thumbnails[518757] = clik.newPhoto({"id":518757,"src":"inner_landscape_thumb.jpg","galleries_id":40169,"server_id":15,"link":"photo_518757.html","width":130,"caption":"","height":173});
															thumbnails[518796] = clik.newPhoto({"id":518796,"src":"inner_landscape_detail_thumb.jpg","galleries_id":40169,"server_id":15,"link":"photo_518796.html","width":130,"caption":"","height":173});
															thumbnails[529018] = clik.newPhoto({"id":529018,"src":"UniversumTagaufnahme JM_thumb.jpg","galleries_id":40919,"server_id":15,"link":"photo_529018.html","width":130,"caption":"","height":89});
															thumbnails[529025] = clik.newPhoto({"id":529025,"src":"womb_mat1_thumb.jpg","galleries_id":40919,"server_id":15,"link":"photo_529025.html","width":130,"caption":"","height":94});
															thumbnails[1921545] = clik.newPhoto({"id":1921545,"src":"Gebaermutter2_thumb.JPG","galleries_id":40919,"server_id":15,"link":"photo_1921545.html","width":130,"caption":"","height":95});
															thumbnails[1626749] = clik.newPhoto({"id":1626749,"src":"decorating pods_thumb.jpg","galleries_id":110268,"server_id":15,"link":"photo_1626749.html","width":130,"caption":"building pods workshop","height":97});
															thumbnails[3602367] = clik.newPhoto({"id":3602367,"src":"P170309_1318_thumb.JPG","galleries_id":220304,"server_id":15,"link":"photo_3602367.html","width":130,"caption":"","height":98});
															thumbnails[1626765] = clik.newPhoto({"id":1626765,"src":"pods_thumb.jpg","galleries_id":110268,"server_id":15,"link":"photo_1626765.html","width":130,"caption":"","height":98});
															thumbnails[1626757] = clik.newPhoto({"id":1626757,"src":"kids building pods_thumb.jpg","galleries_id":110268,"server_id":15,"link":"photo_1626757.html","width":130,"caption":"","height":97});
															thumbnails[1626790] = clik.newPhoto({"id":1626790,"src":"bulding frame_thumb.jpg","galleries_id":110269,"server_id":15,"link":"photo_1626790.html","width":130,"caption":"","height":87});
															thumbnails[3602429] = clik.newPhoto({"id":3602429,"src":"P170309_141201_thumb.JPG","galleries_id":220304,"server_id":15,"link":"photo_3602429.html","width":130,"caption":"","height":98});
															thumbnails[1626759] = clik.newPhoto({"id":1626759,"src":"maqette display_thumb.jpg","galleries_id":110268,"server_id":15,"link":"photo_1626759.html","width":130,"caption":"","height":97});
															thumbnails[1626791] = clik.newPhoto({"id":1626791,"src":"gaffa tape_thumb.jpg","galleries_id":110269,"server_id":15,"link":"photo_1626791.html","width":130,"caption":"","height":87});
															thumbnails[3602451] = clik.newPhoto({"id":3602451,"src":"P170309_141202_thumb.JPG","galleries_id":220304,"server_id":15,"link":"photo_3602451.html","width":130,"caption":"","height":98});
															thumbnails[1626761] = clik.newPhoto({"id":1626761,"src":"climbing wall_thumb.jpg","galleries_id":110268,"server_id":15,"link":"photo_1626761.html","width":130,"caption":"Maquette of proposed cimbing wall that was not choosen for final selection","height":97});
															thumbnails[1626792] = clik.newPhoto({"id":1626792,"src":"frame_thumb.jpg","galleries_id":110269,"server_id":15,"link":"photo_1626792.html","width":130,"caption":"","height":98});
															thumbnails[3602471] = clik.newPhoto({"id":3602471,"src":"P170309_1446_thumb.JPG","galleries_id":220304,"server_id":15,"link":"photo_3602471.html","width":130,"caption":"","height":98});
															thumbnails[1626764] = clik.newPhoto({"id":1626764,"src":"market barrow_thumb.jpg","galleries_id":110268,"server_id":15,"link":"photo_1626764.html","width":130,"caption":"maquette of proposed barrow -  not selected","height":98});
															thumbnails[1626793] = clik.newPhoto({"id":1626793,"src":"piping daz_thumb.jpg","galleries_id":110269,"server_id":15,"link":"photo_1626793.html","width":130,"caption":"","height":98});
															thumbnails[3602477] = clik.newPhoto({"id":3602477,"src":"P170309_144602_thumb.JPG","galleries_id":220304,"server_id":15,"link":"photo_3602477.html","width":130,"caption":"","height":98});
															thumbnails[1635475] = clik.newPhoto({"id":1635475,"src":"pods 1 jpg_thumb.jpg","galleries_id":110268,"server_id":15,"link":"photo_1635475.html","width":130,"caption":"maqutte of pods and tunnels - selected for final selection","height":97});
															thumbnails[1626770] = clik.newPhoto({"id":1626770,"src":"stepping stone platform_thumb.jpg","galleries_id":110268,"server_id":15,"link":"photo_1626770.html","width":130,"caption":"maquette of stepping stones - chosen for final selection","height":97});
															thumbnails[1626795] = clik.newPhoto({"id":1626795,"src":"bending steel_thumb.jpg","galleries_id":110269,"server_id":15,"link":"photo_1626795.html","width":130,"caption":"","height":195});
															thumbnails[1626773] = clik.newPhoto({"id":1626773,"src":"SNV30638-1_thumb.JPG","galleries_id":110268,"server_id":15,"link":"photo_1626773.html","width":130,"caption":"stepping stone","height":98});
															thumbnails[1626796] = clik.newPhoto({"id":1626796,"src":"stell frame_thumb.jpg","galleries_id":110269,"server_id":15,"link":"photo_1626796.html","width":130,"caption":"","height":87});
															thumbnails[3602504] = clik.newPhoto({"id":3602504,"src":"P170309_1548_thumb.JPG","galleries_id":220304,"server_id":15,"link":"photo_3602504.html","width":130,"caption":"","height":98});
															thumbnails[1626797] = clik.newPhoto({"id":1626797,"src":"welding_thumb.jpg","galleries_id":110269,"server_id":15,"link":"photo_1626797.html","width":130,"caption":"","height":195});
															thumbnails[1916533] = clik.newPhoto({"id":1916533,"src":"SNV30625_thumb.JPG","galleries_id":110268,"server_id":15,"link":"photo_1916533.html","width":130,"caption":"","height":98});
															thumbnails[3602519] = clik.newPhoto({"id":3602519,"src":"P170309_1552_thumb.JPG","galleries_id":220304,"server_id":15,"link":"photo_3602519.html","width":130,"caption":"","height":98});
															thumbnails[1626798] = clik.newPhoto({"id":1626798,"src":"craig_thumb.jpg","galleries_id":110269,"server_id":15,"link":"photo_1626798.html","width":130,"caption":"","height":173});
															thumbnails[3602538] = clik.newPhoto({"id":3602538,"src":"P180309_1344_thumb.JPG","galleries_id":220304,"server_id":15,"link":"photo_3602538.html","width":130,"caption":"","height":98});
															thumbnails[1626848] = clik.newPhoto({"id":1626848,"src":"steel frame_thumb.jpg","galleries_id":110269,"server_id":15,"link":"photo_1626848.html","width":130,"caption":"","height":98});
															thumbnails[3602542] = clik.newPhoto({"id":3602542,"src":"P180309_133401_thumb.JPG","galleries_id":220304,"server_id":15,"link":"photo_3602542.html","width":130,"caption":"","height":98});
															thumbnails[1626867] = clik.newPhoto({"id":1626867,"src":"rain 2_thumb.jpg","galleries_id":110269,"server_id":15,"link":"photo_1626867.html","width":130,"caption":"","height":87});
															thumbnails[1626868] = clik.newPhoto({"id":1626868,"src":"rain1_thumb.jpg","galleries_id":110269,"server_id":15,"link":"photo_1626868.html","width":130,"caption":"","height":87});
															thumbnails[3602554] = clik.newPhoto({"id":3602554,"src":"P170309_1412_thumb.JPG","galleries_id":220304,"server_id":15,"link":"photo_3602554.html","width":130,"caption":"","height":98});
															thumbnails[1626869] = clik.newPhoto({"id":1626869,"src":"opening_thumb.jpg","galleries_id":110269,"server_id":15,"link":"photo_1626869.html","width":130,"caption":"","height":98});
															thumbnails[3602559] = clik.newPhoto({"id":3602559,"src":"P170309_1418_thumb.JPG","galleries_id":220304,"server_id":15,"link":"photo_3602559.html","width":130,"caption":"","height":98});
															thumbnails[1626871] = clik.newPhoto({"id":1626871,"src":"outside with red_thumb.jpg","galleries_id":110269,"server_id":15,"link":"photo_1626871.html","width":130,"caption":"","height":98});
															thumbnails[3602569] = clik.newPhoto({"id":3602569,"src":"P190309_1512_thumb.JPG","galleries_id":220304,"server_id":15,"link":"photo_3602569.html","width":130,"caption":"","height":98});
															thumbnails[1635476] = clik.newPhoto({"id":1635476,"src":"neil inside 2_thumb.jpg","galleries_id":110269,"server_id":15,"link":"photo_1635476.html","width":130,"caption":"","height":173});
															thumbnails[1626872] = clik.newPhoto({"id":1626872,"src":"sonya_thumb.jpg","galleries_id":110269,"server_id":15,"link":"photo_1626872.html","width":130,"caption":"","height":98});
															thumbnails[3602581] = clik.newPhoto({"id":3602581,"src":"P180309_153001_thumb.JPG","galleries_id":220304,"server_id":15,"link":"photo_3602581.html","width":130,"caption":"","height":173});
															thumbnails[1635478] = clik.newPhoto({"id":1635478,"src":"cath inside_thumb.jpg","galleries_id":110269,"server_id":15,"link":"photo_1635478.html","width":130,"caption":"","height":98});
															thumbnails[1626877] = clik.newPhoto({"id":1626877,"src":"cath int_thumb.jpg","galleries_id":110269,"server_id":15,"link":"photo_1626877.html","width":130,"caption":"","height":98});
															thumbnails[3602588] = clik.newPhoto({"id":3602588,"src":"P180309_1429_thumb.JPG","galleries_id":220304,"server_id":15,"link":"photo_3602588.html","width":130,"caption":"","height":98});
															thumbnails[1626788] = clik.newPhoto({"id":1626788,"src":"external cath_thumb.jpg","galleries_id":110269,"server_id":15,"link":"photo_1626788.html","width":130,"caption":"","height":98});
															thumbnails[1703757] = clik.newPhoto({"id":1703757,"src":"don gp inside_thumb.jpg","galleries_id":110269,"server_id":15,"link":"photo_1703757.html","width":130,"caption":"","height":98});
															thumbnails[3602593] = clik.newPhoto({"id":3602593,"src":"P180309_1456_thumb.JPG","galleries_id":220304,"server_id":15,"link":"photo_3602593.html","width":130,"caption":"","height":98});
															thumbnails[1703758] = clik.newPhoto({"id":1703758,"src":"hannah in tunnel_thumb.jpg","galleries_id":110269,"server_id":15,"link":"photo_1703758.html","width":130,"caption":"","height":98});
															thumbnails[3602596] = clik.newPhoto({"id":3602596,"src":"P180309_152901_thumb.JPG","galleries_id":220304,"server_id":15,"link":"photo_3602596.html","width":130,"caption":"","height":98});
															thumbnails[1703759] = clik.newPhoto({"id":1703759,"src":"doncaster close up_thumb.jpg","galleries_id":110269,"server_id":15,"link":"photo_1703759.html","width":130,"caption":"","height":98});
															thumbnails[3602603] = clik.newPhoto({"id":3602603,"src":"P180309_1557_thumb.JPG","galleries_id":220304,"server_id":15,"link":"photo_3602603.html","width":130,"caption":"","height":98});
															thumbnails[1703760] = clik.newPhoto({"id":1703760,"src":"external cath 2_thumb.jpg","galleries_id":110269,"server_id":15,"link":"photo_1703760.html","width":130,"caption":"","height":98});
															thumbnails[3602606] = clik.newPhoto({"id":3602606,"src":"P190309_1459_thumb.JPG","galleries_id":220304,"server_id":15,"link":"photo_3602606.html","width":130,"caption":"","height":98});
															thumbnails[1916493] = clik.newPhoto({"id":1916493,"src":"SNV30581_thumb.JPG","galleries_id":110269,"server_id":15,"link":"photo_1916493.html","width":130,"caption":"","height":98});
															thumbnails[3602609] = clik.newPhoto({"id":3602609,"src":"P190309_151401_thumb.JPG","galleries_id":220304,"server_id":15,"link":"photo_3602609.html","width":130,"caption":"","height":98});
															thumbnails[1916520] = clik.newPhoto({"id":1916520,"src":"SNV30578_thumb.JPG","galleries_id":110269,"server_id":15,"link":"photo_1916520.html","width":130,"caption":"","height":98});
															thumbnails[3602620] = clik.newPhoto({"id":3602620,"src":"P190309_154001_thumb.JPG","galleries_id":220304,"server_id":15,"link":"photo_3602620.html","width":130,"caption":"","height":98});
															thumbnails[1916524] = clik.newPhoto({"id":1916524,"src":"SNV30596_thumb.JPG","galleries_id":110269,"server_id":15,"link":"photo_1916524.html","width":130,"caption":"","height":98});
															thumbnails[3602629] = clik.newPhoto({"id":3602629,"src":"P190309_154002_thumb.JPG","galleries_id":220304,"server_id":15,"link":"photo_3602629.html","width":130,"caption":"","height":173});
															thumbnails[3602634] = clik.newPhoto({"id":3602634,"src":"P190309_154102_thumb.JPG","galleries_id":220304,"server_id":15,"link":"photo_3602634.html","width":130,"caption":"","height":98});
															thumbnails[3602638] = clik.newPhoto({"id":3602638,"src":"P190309_1514_thumb.JPG","galleries_id":220304,"server_id":15,"link":"photo_3602638.html","width":130,"caption":"","height":98});
															thumbnails[3602642] = clik.newPhoto({"id":3602642,"src":"P190309_155701_thumb.JPG","galleries_id":220304,"server_id":15,"link":"photo_3602642.html","width":130,"caption":"","height":98});
															thumbnails[3602648] = clik.newPhoto({"id":3602648,"src":"P190309_163001_thumb.JPG","galleries_id":220304,"server_id":15,"link":"photo_3602648.html","width":130,"caption":"","height":98});
															thumbnails[518948] = clik.newPhoto({"id":518948,"src":"heart_ publicity_thumb.jpg","galleries_id":40202,"server_id":15,"link":"photo_518948.html","width":130,"caption":"","height":179});
															thumbnails[518949] = clik.newPhoto({"id":518949,"src":"eye_publicity_thumb.jpg","galleries_id":40202,"server_id":15,"link":"photo_518949.html","width":130,"caption":"","height":94});
															thumbnails[518950] = clik.newPhoto({"id":518950,"src":"independent_thumb.jpg","galleries_id":40202,"server_id":15,"link":"photo_518950.html","width":130,"caption":"","height":179});
															thumbnails[518951] = clik.newPhoto({"id":518951,"src":"liver_publicity_thumb.jpg","galleries_id":40202,"server_id":15,"link":"photo_518951.html","width":130,"caption":"","height":179});
															thumbnails[518955] = clik.newPhoto({"id":518955,"src":"emerst_in_foam_thumb.jpg","galleries_id":40202,"server_id":15,"link":"photo_518955.html","width":130,"caption":"","height":165});
															thumbnails[529003] = clik.newPhoto({"id":529003,"src":"comments_thumb.jpg","galleries_id":40911,"server_id":15,"link":"photo_529003.html","width":130,"caption":"Durham 2003","height":179});
															thumbnails[529007] = clik.newPhoto({"id":529007,"src":"comments 001_thumb.jpg","galleries_id":40911,"server_id":15,"link":"photo_529007.html","width":130,"caption":"banbury 2006","height":179});
															thumbnails[529015] = clik.newPhoto({"id":529015,"src":"comments 002_thumb.jpg","galleries_id":40911,"server_id":15,"link":"photo_529015.html","width":130,"caption":"Hereford 2004","height":179});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[40202] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Articles","link":"section62139_40202.html","maxRecords":0.0,"photoIDs":[518948.0,518949.0,518950.0,518951.0,518955.0],"skipIndex":0,"section_code":"section62139","featured_images":"518955,518951,518950,518949,518948","id":40202,"singleSection":false});				  						galleries[40911] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Comments","link":"section62139_40911.html","maxRecords":0.0,"photoIDs":[529003.0,529007.0,529015.0],"skipIndex":0,"section_code":"section62139","featured_images":529003.0,"id":40911,"singleSection":false});				  						galleries[220304] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Shapwick School","link":"section144942_220304.html","maxRecords":0.0,"photoIDs":[3602367.0,3602429.0,3602451.0,3602471.0,3602477.0,3602504.0,3602519.0,3602538.0,3602542.0,3602554.0,3602559.0,3602569.0,3602581.0,3602588.0,3602593.0,3602596.0,3602603.0,3602606.0,3602609.0,3602620.0,3602629.0,3602634.0,3602638.0,3602642.0,3602648.0],"skipIndex":0,"section_code":"section144942","featured_images":"3602648,3602642,3602638,3602634,3602629,3602620,3602609,3602606,3602603,3602596","id":220304,"singleSection":false});				  						galleries[39888] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"'liver'","link":"gallery_39888.html","maxRecords":0.0,"photoIDs":[514228.0,518677.0,518683.0,518537.0,518673.0],"skipIndex":0,"section_code":"gallery","featured_images":514228.0,"id":39888,"singleSection":false});				  						galleries[110268] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Shelton School","link":"section144942_110268.html","maxRecords":0.0,"photoIDs":[1626749.0,1626765.0,1626757.0,1626759.0,1626761.0,1626764.0,1635475.0,1626770.0,1626773.0,1916533.0],"skipIndex":0,"section_code":"section144942","featured_images":1626749.0,"id":110268,"singleSection":false});				  						galleries[40179] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"'Shipley Wreck'","link":"gallery_40179.html","maxRecords":0.0,"photoIDs":[518653.0,518704.0,519110.0,518710.0],"skipIndex":0,"section_code":"gallery","featured_images":518653.0,"id":40179,"singleSection":false});				  						galleries[110269] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Opencast","link":"section144942_110269.html","maxRecords":0.0,"photoIDs":[1626790.0,1626791.0,1626792.0,1626793.0,1626795.0,1626796.0,1626797.0,1626798.0,1626848.0,1626867.0,1626868.0,1626869.0,1626871.0,1635476.0,1626872.0,1635478.0,1626877.0,1626788.0,1703757.0,1703758.0,1703759.0,1703760.0,1916493.0,1916520.0,1916524.0],"skipIndex":0,"section_code":"section144942","featured_images":1626788.0,"id":110269,"singleSection":false});				  						galleries[40177] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"'Orbit'","link":"gallery_40177.html","maxRecords":0.0,"photoIDs":[518647.0,518698.0],"skipIndex":0,"section_code":"gallery","featured_images":518647.0,"id":40177,"singleSection":false});				  						galleries[40183] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"'Portal'","link":"gallery_40183.html","maxRecords":0.0,"photoIDs":[518615.0,518658.0],"skipIndex":0,"section_code":"gallery","featured_images":518615.0,"id":40183,"singleSection":false});				  						galleries[40170] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"'Brain'","link":"gallery_40170.html","maxRecords":0.0,"photoIDs":[518617.0,518663.0],"skipIndex":0,"section_code":"gallery","featured_images":518617.0,"id":40170,"singleSection":false});				  						galleries[40171] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"'Emorphic Garden'","link":"gallery_40171.html","maxRecords":0.0,"photoIDs":[518618.0,518664.0],"skipIndex":0,"section_code":"gallery","featured_images":518618.0,"id":40171,"singleSection":false});				  						galleries[40176] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"'Labyrinth'","link":"gallery_40176.html","maxRecords":0.0,"photoIDs":[529079.0,518670.0],"skipIndex":0,"section_code":"gallery","featured_images":529079.0,"id":40176,"singleSection":false});				  						galleries[40186] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"'Time Tunnel'","link":"gallery_40186.html","maxRecords":0.0,"photoIDs":[518732.0],"skipIndex":0,"section_code":"gallery","featured_images":518732.0,"id":40186,"singleSection":false});				  						galleries[40184] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"'Pods'","link":"gallery_40184.html","maxRecords":0.0,"photoIDs":[518654.0,518715.0,518718.0,518722.0,518726.0,518729.0],"skipIndex":0,"section_code":"gallery","featured_images":518654.0,"id":40184,"singleSection":false});				  						galleries[40174] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"'Crystal'","link":"gallery_40174.html","maxRecords":0.0,"photoIDs":[518632.0,518667.0],"skipIndex":0,"section_code":"gallery","featured_images":518632.0,"id":40174,"singleSection":false});				  						galleries[40163] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"'flower'","link":"gallery_40163.html","maxRecords":0.0,"photoIDs":[518644.0,518688.0,518694.0,518686.0],"skipIndex":0,"section_code":"gallery","featured_images":518644.0,"id":40163,"singleSection":false});				  						galleries[40169] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"'Landscape'","link":"gallery_40169.html","maxRecords":0.0,"photoIDs":[518616.0,518737.0,518738.0,518739.0,518741.0,518743.0,518757.0,518796.0],"skipIndex":0,"section_code":"gallery","featured_images":518757.0,"id":40169,"singleSection":false});				  						galleries[40919] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Womb Room","link":"gallery_40919.html","maxRecords":0.0,"photoIDs":[529018.0,529025.0,1921545.0],"skipIndex":0,"section_code":"gallery","featured_images":529018.0,"id":40919,"singleSection":false});				  						galleries[40175] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"'Hive'","link":"gallery_40175.html","maxRecords":0.0,"photoIDs":[518668.0,519093.0,529149.0],"skipIndex":0,"section_code":"gallery","featured_images":519093.0,"id":40175,"singleSection":false});				  						galleries[40178] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"'Shell'","link":"gallery_40178.html","maxRecords":0.0,"photoIDs":[529140.0,529142.0],"skipIndex":0,"section_code":"gallery","featured_images":529140.0,"id":40178,"singleSection":false});				  						galleries[40172] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"'Cyrsalis'","link":"gallery_40172.html","maxRecords":0.0,"photoIDs":[529066.0,529072.0],"skipIndex":0,"section_code":"gallery","featured_images":529066.0,"id":40172,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '514129';
imageSets[2] = '1626788,1626749,529140,529079,529066,529018,529003,519093,518757,518654,518653,518647,518644,518632,518618,518617,518615,514228';
imageSets[3] = '3602648,3602642,3602638,3602634,3602629,3602620,3602609,3602606,3602603,3602596,3602593,3602588,3602581,3602569,3602559,3602554,3602542,3602538,3602519,3602504,3602477,3602471,3602451,3602429,3602367,1921545,1921206,1921205,1916533,1916524,1916520,1916493,1703760,1703759,1703758,1703757,1635478,1635476,1635475,1626877,1626872,1626871,1626869,1626868,1626867,1626848,1626798,1626797,1626796,1626795';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/janniedojadlo/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/janniedojadlo/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/janniedojadlo/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/janniedojadlo/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/janniedojadlo/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/janniedojadlo/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/janniedojadlo/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/janniedojadlo/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/janniedojadlo/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/janniedojadlo/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/janniedojadlo/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/janniedojadlo/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/janniedojadlo/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/janniedojadlo/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/janniedojadlo/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/janniedojadlo/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/janniedojadlo/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/janniedojadlo/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/janniedojadlo/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/janniedojadlo/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/janniedojadlo/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/janniedojadlo/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/janniedojadlo/images';
		break;
	}
		return val;
}

/***************************************************************************
* img = reference to image object in which to show image                   *
***************************************************************************/
function showHomeImage(img) {
	imageID = randomListVal('');
	if (!basic) {
		img.src = photos[imageID].src;
		img.width = photos[imageID].width;
		img.height = photos[imageID].height;
		img.parentNode.title = img.alt = photos[imageID].caption;
	} else {
		newImage = new Image(photos[imageID].width,photos[imageID].height);
		newImage.src = photos[imageID].src;
		document.images[img.name] = newImage;
		
	}
}

function getHomeImageLink(imageID) {
  	var href='', photo = backgrounds && backgrounds[imageID];
	if(photo){
		if (photo && photo.galleries_id != '') {
  			href = photo.fnGalleryLink();
  		}
  		  		else {
  				href += 'gallery.html';
  	  		}
	}
    return href;
}

/***************************************************************************
* Show a random image on home page from featured images                    *
***************************************************************************/
function showHomeImageInline(el, image_sets_id, href) {
	
	var css = {}, imageID,
	    imageSetsId = 1;
	if(image_sets_id){
		imageSetsId = image_sets_id;
	}
	imageID = randomListVal(imageSets[imageSetsId]);
	if (href == null && 'gallery' != '') {
					href = getHomeImageLink(imageID);
	}
	
	updateImage({nextPhoto: backgrounds[imageID], img:el.find('img')[0],
                $photo:el, $title:$('#homeimageTitleContainer'), $detail:$('#homeimageDetailsContainer'),                speed:0, href:href, css:css, onAfter: function(){                  this.closest('.contentsection').doManualAlign({				    inner: 'img',				    crop: 'a'				  });                }              });
}

/***************************************************************************
* Set 'img' to be a new image given its photo() object                     *
***************************************************************************/
function updateImage (options) {
	var defaults = {nextPhoto:'',field:'',img:'',$photo:'',$title:'',$detail:'',$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 = 'Podules : Jan Niedojadlo: ' + 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.payment_groups_id !== '') {
		temp += '<p>Buy this print online:</p>';
				temp += '<form id="paymentOptions" style="margin:0px;border:0px;" name="paymentOptions">';
											temp += '<select class="paymentlink" name="payment_options_id" onchange="updateItemValues($(this.form).next(\'#paymentForm\')[0],this.form.payment_options_id.options[this.form.payment_options_id.options.selectedIndex].value);">';
		
		temp += getPaymentOptions(this.payment_groups_id);
		temp += '</select>';
		temp += '</form>';
				var item_option  = paymentGroups[this.payment_groups_id].options[0];
		if(paymentOptions[item_option]){
			var item_name  = paymentOptions[item_option].payment_option;
			var amount =  paymentOptions[item_option].price;
		}
			}
	else {
		
	}
	if (this.item_price !== '' || this.payment_groups_id !== '') {
			temp += '<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;
	}
}

			

