window.thumbnails = {};
															thumbnails[1910842] = clik.newPhoto({"id":1910842,"src":"sirpeterblake_thumb.jpg","galleries_id":432786,"server_id":1,"link":"photo_1910842.html","width":130,"caption":"sir peter blake","height":195});
															thumbnails[8079977] = clik.newPhoto({"id":8079977,"src":"apples_thumb.jpg","galleries_id":465576,"server_id":1,"link":"photo_8079977.html","width":130,"caption":"","height":101});
															thumbnails[8079979] = clik.newPhoto({"id":8079979,"src":"bed_thumb.jpg","galleries_id":465576,"server_id":1,"link":"photo_8079979.html","width":130,"caption":"","height":101});
															thumbnails[8079981] = clik.newPhoto({"id":8079981,"src":"big_dolls_thumb.jpg","galleries_id":465576,"server_id":1,"link":"photo_8079981.html","width":130,"caption":"","height":100});
															thumbnails[8079982] = clik.newPhoto({"id":8079982,"src":"boystoys_thumb.jpg","galleries_id":465576,"server_id":1,"link":"photo_8079982.html","width":130,"caption":"","height":102});
															thumbnails[8079984] = clik.newPhoto({"id":8079984,"src":"can_we_dog1_thumb.jpg","galleries_id":465576,"server_id":1,"link":"photo_8079984.html","width":130,"caption":"","height":102});
															thumbnails[8079986] = clik.newPhoto({"id":8079986,"src":"cows_milk_thumb.jpg","galleries_id":465576,"server_id":1,"link":"photo_8079986.html","width":130,"caption":"","height":100});
															thumbnails[8079987] = clik.newPhoto({"id":8079987,"src":"danger_sweets_thumb.jpg","galleries_id":465576,"server_id":1,"link":"photo_8079987.html","width":130,"caption":"","height":100});
															thumbnails[8079988] = clik.newPhoto({"id":8079988,"src":"dont_put_me_down_thumb.jpg","galleries_id":465576,"server_id":1,"link":"photo_8079988.html","width":130,"caption":"","height":100});
															thumbnails[8079989] = clik.newPhoto({"id":8079989,"src":"eggs_thumb.jpg","galleries_id":465576,"server_id":1,"link":"photo_8079989.html","width":130,"caption":"","height":100});
															thumbnails[8079990] = clik.newPhoto({"id":8079990,"src":"farm_games_thumb.jpg","galleries_id":465576,"server_id":1,"link":"photo_8079990.html","width":130,"caption":"","height":100});
															thumbnails[8079991] = clik.newPhoto({"id":8079991,"src":"fire_thumb.jpg","galleries_id":465576,"server_id":1,"link":"photo_8079991.html","width":130,"caption":"","height":100});
															thumbnails[8079992] = clik.newPhoto({"id":8079992,"src":"fun_boys_thumb.jpg","galleries_id":465576,"server_id":1,"link":"photo_8079992.html","width":130,"caption":"","height":101});
															thumbnails[8079993] = clik.newPhoto({"id":8079993,"src":"fun_girls_thumb.jpg","galleries_id":465576,"server_id":1,"link":"photo_8079993.html","width":130,"caption":"","height":101});
															thumbnails[8079994] = clik.newPhoto({"id":8079994,"src":"games_thumb.jpg","galleries_id":465576,"server_id":1,"link":"photo_8079994.html","width":130,"caption":"","height":101});
															thumbnails[8079998] = clik.newPhoto({"id":8079998,"src":"go_down_on_me_thumb.jpg","galleries_id":465576,"server_id":1,"link":"photo_8079998.html","width":130,"caption":"","height":101});
															thumbnails[8080000] = clik.newPhoto({"id":8080000,"src":"green_thumb.jpg","galleries_id":465576,"server_id":1,"link":"photo_8080000.html","width":130,"caption":"","height":100});
															thumbnails[8080002] = clik.newPhoto({"id":8080002,"src":"hot_cows_thumb.jpg","galleries_id":465576,"server_id":1,"link":"photo_8080002.html","width":130,"caption":"","height":100});
															thumbnails[8080003] = clik.newPhoto({"id":8080003,"src":"i_love_you2_thumb.jpg","galleries_id":465576,"server_id":1,"link":"photo_8080003.html","width":130,"caption":"","height":87});
															thumbnails[8080006] = clik.newPhoto({"id":8080006,"src":"i_want_a_pat_thumb.jpg","galleries_id":465576,"server_id":1,"link":"photo_8080006.html","width":130,"caption":"","height":100});
															thumbnails[8080008] = clik.newPhoto({"id":8080008,"src":"lets_go_to_bed_thumb.jpg","galleries_id":465576,"server_id":1,"link":"photo_8080008.html","width":130,"caption":"","height":101});
															thumbnails[8080009] = clik.newPhoto({"id":8080009,"src":"lets_go_to_beddy_thumb.jpg","galleries_id":465576,"server_id":1,"link":"photo_8080009.html","width":130,"caption":"","height":100});
															thumbnails[8080010] = clik.newPhoto({"id":8080010,"src":"make_it_go_up_thumb.jpg","galleries_id":465576,"server_id":1,"link":"photo_8080010.html","width":130,"caption":"","height":102});
															thumbnails[8080011] = clik.newPhoto({"id":8080011,"src":"make_love_thumb.jpg","galleries_id":465576,"server_id":1,"link":"photo_8080011.html","width":130,"caption":"","height":101});
															thumbnails[8080028] = clik.newPhoto({"id":8080028,"src":"man_milk_thumb.jpg","galleries_id":465576,"server_id":1,"link":"photo_8080028.html","width":130,"caption":"","height":101});
															thumbnails[8080078] = clik.newPhoto({"id":8080078,"src":"milky_thumb.jpg","galleries_id":465576,"server_id":1,"link":"photo_8080078.html","width":130,"caption":"","height":100});
															thumbnails[8080095] = clik.newPhoto({"id":8080095,"src":"not_walk_thumb.jpg","galleries_id":465576,"server_id":1,"link":"photo_8080095.html","width":130,"caption":"","height":100});
															thumbnails[8080097] = clik.newPhoto({"id":8080097,"src":"off_horse_thumb.jpg","galleries_id":465576,"server_id":1,"link":"photo_8080097.html","width":130,"caption":"","height":100});
															thumbnails[8080099] = clik.newPhoto({"id":8080099,"src":"police_thumb.jpg","galleries_id":465576,"server_id":1,"link":"photo_8080099.html","width":130,"caption":"","height":101});
															thumbnails[8080103] = clik.newPhoto({"id":8080103,"src":"rabbits_thumb.jpg","galleries_id":465576,"server_id":1,"link":"photo_8080103.html","width":130,"caption":"","height":100});
															thumbnails[8080105] = clik.newPhoto({"id":8080105,"src":"runs_thumb.jpg","galleries_id":465576,"server_id":1,"link":"photo_8080105.html","width":130,"caption":"","height":100});
															thumbnails[8080106] = clik.newPhoto({"id":8080106,"src":"takes_flowers_thumb.jpg","galleries_id":465576,"server_id":1,"link":"photo_8080106.html","width":130,"caption":"","height":101});
															thumbnails[8080107] = clik.newPhoto({"id":8080107,"src":"topdog_thumb.jpg","galleries_id":465576,"server_id":1,"link":"photo_8080107.html","width":130,"caption":"","height":100});
															thumbnails[8080110] = clik.newPhoto({"id":8080110,"src":"train_thumb.jpg","galleries_id":465576,"server_id":1,"link":"photo_8080110.html","width":130,"caption":"","height":101});
															thumbnails[8080111] = clik.newPhoto({"id":8080111,"src":"walk_thumb.jpg","galleries_id":465576,"server_id":1,"link":"photo_8080111.html","width":130,"caption":"","height":100});
															thumbnails[8080114] = clik.newPhoto({"id":8080114,"src":"water2_thumb.jpg","galleries_id":465576,"server_id":1,"link":"photo_8080114.html","width":130,"caption":"","height":101});
															thumbnails[8080116] = clik.newPhoto({"id":8080116,"src":"water_thumb.jpg","galleries_id":465576,"server_id":1,"link":"photo_8080116.html","width":130,"caption":"","height":100});
															thumbnails[8080119] = clik.newPhoto({"id":8080119,"src":"wet2_thumb.jpg","galleries_id":465576,"server_id":1,"link":"photo_8080119.html","width":130,"caption":"","height":100});
															thumbnails[8080121] = clik.newPhoto({"id":8080121,"src":"wet3_thumb.jpg","galleries_id":465576,"server_id":1,"link":"photo_8080121.html","width":130,"caption":"","height":101});
															thumbnails[8080122] = clik.newPhoto({"id":8080122,"src":"wetye_thumb.jpg","galleries_id":465576,"server_id":1,"link":"photo_8080122.html","width":130,"caption":"","height":101});
															thumbnails[8080124] = clik.newPhoto({"id":8080124,"src":"where_thumb.jpg","galleries_id":465576,"server_id":1,"link":"photo_8080124.html","width":130,"caption":"","height":103});
															thumbnails[8080127] = clik.newPhoto({"id":8080127,"src":"nice_01_thumb.jpg","galleries_id":465577,"server_id":1,"link":"photo_8080127.html","width":130,"caption":"","height":230});
															thumbnails[8080128] = clik.newPhoto({"id":8080128,"src":"nice_02_thumb.jpg","galleries_id":465577,"server_id":1,"link":"photo_8080128.html","width":130,"caption":"","height":191});
															thumbnails[8080129] = clik.newPhoto({"id":8080129,"src":"nice006_thumb.jpg","galleries_id":465574,"server_id":1,"link":"photo_8080129.html","width":130,"caption":"","height":186});
															thumbnails[8080130] = clik.newPhoto({"id":8080130,"src":"nice007_thumb.jpg","galleries_id":465574,"server_id":1,"link":"photo_8080130.html","width":130,"caption":"","height":183});
															thumbnails[8080133] = clik.newPhoto({"id":8080133,"src":"nice008_thumb.jpg","galleries_id":465574,"server_id":1,"link":"photo_8080133.html","width":130,"caption":"","height":188});
															thumbnails[8080135] = clik.newPhoto({"id":8080135,"src":"nice009_thumb.jpg","galleries_id":465574,"server_id":1,"link":"photo_8080135.html","width":130,"caption":"","height":178});
															thumbnails[8080137] = clik.newPhoto({"id":8080137,"src":"nice010_thumb.jpg","galleries_id":465574,"server_id":1,"link":"photo_8080137.html","width":130,"caption":"","height":190});
															thumbnails[8853693] = clik.newPhoto({"id":8853693,"src":"cow020_thumb.jpg","galleries_id":465579,"server_id":1,"link":"photo_8853693.html","width":130,"caption":"","height":148});
															thumbnails[8853747] = clik.newPhoto({"id":8853747,"src":"cow014_thumb.jpg","galleries_id":465579,"server_id":1,"link":"photo_8853747.html","width":130,"caption":"","height":173});
															thumbnails[8853753] = clik.newPhoto({"id":8853753,"src":"cow015_thumb.jpg","galleries_id":465579,"server_id":1,"link":"photo_8853753.html","width":130,"caption":"","height":163});
															thumbnails[8853760] = clik.newPhoto({"id":8853760,"src":"cow019_thumb.jpg","galleries_id":465579,"server_id":1,"link":"photo_8853760.html","width":130,"caption":"","height":158});
															thumbnails[8853761] = clik.newPhoto({"id":8853761,"src":"cow24_thumb.jpg","galleries_id":465579,"server_id":1,"link":"photo_8853761.html","width":130,"caption":"","height":168});
															thumbnails[8853764] = clik.newPhoto({"id":8853764,"src":"cow023_thumb.jpg","galleries_id":465579,"server_id":1,"link":"photo_8853764.html","width":130,"caption":"","height":140});
															thumbnails[8853765] = clik.newPhoto({"id":8853765,"src":"cow021_thumb.jpg","galleries_id":465579,"server_id":1,"link":"photo_8853765.html","width":130,"caption":"","height":153});
															thumbnails[8853769] = clik.newPhoto({"id":8853769,"src":"cow017_thumb.jpg","galleries_id":465579,"server_id":1,"link":"photo_8853769.html","width":130,"caption":"","height":153});
															thumbnails[8853770] = clik.newPhoto({"id":8853770,"src":"cow016_thumb.jpg","galleries_id":465579,"server_id":1,"link":"photo_8853770.html","width":130,"caption":"","height":142});
															thumbnails[8853772] = clik.newPhoto({"id":8853772,"src":"cow025_thumb.jpg","galleries_id":465579,"server_id":1,"link":"photo_8853772.html","width":130,"caption":"","height":167});
															thumbnails[8853774] = clik.newPhoto({"id":8853774,"src":"cow022_thumb.jpg","galleries_id":465579,"server_id":1,"link":"photo_8853774.html","width":130,"caption":"","height":154});
															thumbnails[8853775] = clik.newPhoto({"id":8853775,"src":"cow018_thumb.jpg","galleries_id":465579,"server_id":1,"link":"photo_8853775.html","width":130,"caption":"","height":157});
															thumbnails[8853780] = clik.newPhoto({"id":8853780,"src":"bk009_thumb.jpg","galleries_id":465575,"server_id":1,"link":"photo_8853780.html","width":130,"caption":"","height":191});
															thumbnails[8853784] = clik.newPhoto({"id":8853784,"src":"bk020_thumb.jpg","galleries_id":465575,"server_id":1,"link":"photo_8853784.html","width":130,"caption":"","height":179});
															thumbnails[8853792] = clik.newPhoto({"id":8853792,"src":"bk005_thumb.jpg","galleries_id":465575,"server_id":1,"link":"photo_8853792.html","width":130,"caption":"","height":181});
															thumbnails[8853793] = clik.newPhoto({"id":8853793,"src":"bk007_thumb.jpg","galleries_id":465575,"server_id":1,"link":"photo_8853793.html","width":130,"caption":"","height":131});
															thumbnails[8853796] = clik.newPhoto({"id":8853796,"src":"bk008_thumb.jpg","galleries_id":465575,"server_id":1,"link":"photo_8853796.html","width":130,"caption":"","height":181});
															thumbnails[8853798] = clik.newPhoto({"id":8853798,"src":"bk010_thumb.jpg","galleries_id":465575,"server_id":1,"link":"photo_8853798.html","width":130,"caption":"","height":185});
															thumbnails[8853799] = clik.newPhoto({"id":8853799,"src":"bk011_thumb.jpg","galleries_id":465575,"server_id":1,"link":"photo_8853799.html","width":130,"caption":"","height":184});
															thumbnails[8853800] = clik.newPhoto({"id":8853800,"src":"bk012_thumb.jpg","galleries_id":465575,"server_id":1,"link":"photo_8853800.html","width":130,"caption":"","height":185});
															thumbnails[8853801] = clik.newPhoto({"id":8853801,"src":"bk013_thumb.jpg","galleries_id":465575,"server_id":1,"link":"photo_8853801.html","width":130,"caption":"","height":181});
															thumbnails[8853802] = clik.newPhoto({"id":8853802,"src":"bk014_thumb.jpg","galleries_id":465575,"server_id":1,"link":"photo_8853802.html","width":130,"caption":"","height":94});
															thumbnails[8853804] = clik.newPhoto({"id":8853804,"src":"bk015_thumb.jpg","galleries_id":465575,"server_id":1,"link":"photo_8853804.html","width":130,"caption":"","height":188});
															thumbnails[8853805] = clik.newPhoto({"id":8853805,"src":"bk016_thumb.jpg","galleries_id":465575,"server_id":1,"link":"photo_8853805.html","width":130,"caption":"","height":179});
															thumbnails[8853806] = clik.newPhoto({"id":8853806,"src":"bk021_thumb.jpg","galleries_id":465575,"server_id":1,"link":"photo_8853806.html","width":130,"caption":"","height":186});
															thumbnails[8853808] = clik.newPhoto({"id":8853808,"src":"bk022_thumb.jpg","galleries_id":465575,"server_id":1,"link":"photo_8853808.html","width":130,"caption":"","height":182});
															thumbnails[8853810] = clik.newPhoto({"id":8853810,"src":"bk023_thumb.jpg","galleries_id":465575,"server_id":1,"link":"photo_8853810.html","width":130,"caption":"","height":183});
															thumbnails[8853812] = clik.newPhoto({"id":8853812,"src":"bk027_thumb.jpg","galleries_id":465575,"server_id":1,"link":"photo_8853812.html","width":130,"caption":"","height":193});
															thumbnails[8853813] = clik.newPhoto({"id":8853813,"src":"bk028_thumb.jpg","galleries_id":465575,"server_id":1,"link":"photo_8853813.html","width":130,"caption":"","height":178});
															thumbnails[8853836] = clik.newPhoto({"id":8853836,"src":"n1_thumb.JPG","galleries_id":465574,"server_id":1,"link":"photo_8853836.html","width":130,"caption":"","height":178});
															thumbnails[8853838] = clik.newPhoto({"id":8853838,"src":"n2_thumb.JPG","galleries_id":465574,"server_id":1,"link":"photo_8853838.html","width":130,"caption":"","height":174});
															thumbnails[8853840] = clik.newPhoto({"id":8853840,"src":"n3_thumb.JPG","galleries_id":465574,"server_id":1,"link":"photo_8853840.html","width":130,"caption":"","height":176});
															thumbnails[8853842] = clik.newPhoto({"id":8853842,"src":"n4_thumb.JPG","galleries_id":465574,"server_id":1,"link":"photo_8853842.html","width":130,"caption":"","height":171});
															thumbnails[8853843] = clik.newPhoto({"id":8853843,"src":"n5_thumb.JPG","galleries_id":465574,"server_id":1,"link":"photo_8853843.html","width":130,"caption":"","height":176});
															thumbnails[8853845] = clik.newPhoto({"id":8853845,"src":"n6_thumb.JPG","galleries_id":465574,"server_id":1,"link":"photo_8853845.html","width":130,"caption":"","height":178});
															thumbnails[8853846] = clik.newPhoto({"id":8853846,"src":"n7_thumb.JPG","galleries_id":465574,"server_id":1,"link":"photo_8853846.html","width":130,"caption":"","height":177});
															thumbnails[8853848] = clik.newPhoto({"id":8853848,"src":"n8_thumb.jpg","galleries_id":465574,"server_id":1,"link":"photo_8853848.html","width":130,"caption":"","height":180});
															thumbnails[8853850] = clik.newPhoto({"id":8853850,"src":"n9_thumb.jpg","galleries_id":465574,"server_id":1,"link":"photo_8853850.html","width":130,"caption":"","height":183});
															thumbnails[1901686] = clik.newPhoto({"id":1901686,"src":"intersect_thumb.jpg","galleries_id":126845,"server_id":1,"link":"photo_1901686.html","width":130,"caption":"intersect","height":118});
															thumbnails[1901752] = clik.newPhoto({"id":1901752,"src":"dissipate_thumb.jpg","galleries_id":126845,"server_id":1,"link":"photo_1901752.html","width":130,"caption":"dissipate","height":94});
															thumbnails[1901761] = clik.newPhoto({"id":1901761,"src":"site_thumb.jpg","galleries_id":126845,"server_id":1,"link":"photo_1901761.html","width":130,"caption":"site","height":104});
															thumbnails[1901763] = clik.newPhoto({"id":1901763,"src":"veiling02-03_thumb.JPG","galleries_id":126845,"server_id":1,"link":"photo_1901763.html","width":130,"caption":"vieling","height":95});
															thumbnails[1908600] = clik.newPhoto({"id":1908600,"src":"Endgame_thumb.JPG","galleries_id":127488,"server_id":1,"link":"photo_1908600.html","width":130,"caption":"endgame - SOLD","height":87});
															thumbnails[1908613] = clik.newPhoto({"id":1908613,"src":"ThirdPoliceman_thumb.JPG","galleries_id":127488,"server_id":1,"link":"photo_1908613.html","width":130,"caption":"third policeman","height":114});
															thumbnails[1908617] = clik.newPhoto({"id":1908617,"src":"Valve_thumb.JPG","galleries_id":127488,"server_id":1,"link":"photo_1908617.html","width":130,"caption":"valve","height":161});
															thumbnails[1908874] = clik.newPhoto({"id":1908874,"src":"BlueGuitar_thumb.jpg","galleries_id":127479,"server_id":1,"link":"photo_1908874.html","width":130,"caption":"blue guitar","height":183});
															thumbnails[1908879] = clik.newPhoto({"id":1908879,"src":"kingag_thumb.jpg","galleries_id":127479,"server_id":1,"link":"photo_1908879.html","width":130,"caption":"king agamemnon's clarion call","height":190});
															thumbnails[1908888] = clik.newPhoto({"id":1908888,"src":"OdyseustheResourceful_thumb.jpg","galleries_id":127479,"server_id":1,"link":"photo_1908888.html","width":130,"caption":"odyseus the resourceful","height":183});
															thumbnails[1908897] = clik.newPhoto({"id":1908897,"src":"ThePloughman_thumb.jpg","galleries_id":127479,"server_id":1,"link":"photo_1908897.html","width":130,"caption":"the ploughman","height":188});
															thumbnails[1908908] = clik.newPhoto({"id":1908908,"src":"1_thumb.JPG","galleries_id":127487,"server_id":1,"link":"photo_1908908.html","width":130,"caption":"ship of fools","height":135});
															thumbnails[1910825] = clik.newPhoto({"id":1910825,"src":"clarejohnson_thumb.jpg","galleries_id":284731,"server_id":1,"link":"photo_1910825.html","width":130,"caption":"clare johnson","height":117});
															thumbnails[1910837] = clik.newPhoto({"id":1910837,"src":"mattsellars_thumb.JPG","galleries_id":127480,"server_id":1,"link":"photo_1910837.html","width":130,"caption":"matt sellars","height":87});
															thumbnails[1910838] = clik.newPhoto({"id":1910838,"src":"paulmcneill_thumb.jpg","galleries_id":127480,"server_id":1,"link":"photo_1910838.html","width":130,"caption":"paul mcneill","height":103});
															thumbnails[1910840] = clik.newPhoto({"id":1910840,"src":"simoncarter_thumb.JPG","galleries_id":127480,"server_id":1,"link":"photo_1910840.html","width":130,"caption":"simon carter","height":108});
															thumbnails[1910841] = clik.newPhoto({"id":1910841,"src":"simonmsmith_thumb.JPG","galleries_id":127480,"server_id":1,"link":"photo_1910841.html","width":130,"caption":"simon m smith","height":163});
															thumbnails[1910863] = clik.newPhoto({"id":1910863,"src":"BlueBlackFlowers_thumb.jpg","galleries_id":127481,"server_id":1,"link":"photo_1910863.html","width":130,"caption":"blue black flowers - SOLD","height":221});
															thumbnails[1910865] = clik.newPhoto({"id":1910865,"src":"BlueMan_thumb.jpg","galleries_id":127481,"server_id":1,"link":"photo_1910865.html","width":130,"caption":"blue man - SOLD","height":157});
															thumbnails[1910867] = clik.newPhoto({"id":1910867,"src":"CrazySpot_thumb.jpg","galleries_id":127481,"server_id":1,"link":"photo_1910867.html","width":130,"caption":"crazy spot - SOLD","height":124});
															thumbnails[1910869] = clik.newPhoto({"id":1910869,"src":"firstsquareflowers_thumb.jpg","galleries_id":127481,"server_id":1,"link":"photo_1910869.html","width":130,"caption":"first square flowers - SOLD","height":128});
															thumbnails[1910872] = clik.newPhoto({"id":1910872,"src":"conspicuousconsumption120x100aonc_thumb.jpg","galleries_id":127482,"server_id":1,"link":"photo_1910872.html","width":130,"caption":"conspicuous consumption","height":90});
															thumbnails[1910873] = clik.newPhoto({"id":1910873,"src":"pedalpower120x100aonc_thumb.jpg","galleries_id":127482,"server_id":1,"link":"photo_1910873.html","width":130,"caption":"pedal power","height":107});
															thumbnails[1910874] = clik.newPhoto({"id":1910874,"src":"retirementbythesea120x100aonc_thumb.jpg","galleries_id":127482,"server_id":1,"link":"photo_1910874.html","width":130,"caption":"retirement by the sea","height":97});
															thumbnails[1910878] = clik.newPhoto({"id":1910878,"src":"tatetrees120x100aonc_thumb.jpg","galleries_id":127482,"server_id":1,"link":"photo_1910878.html","width":130,"caption":"tate trees","height":109});
															thumbnails[1910887] = clik.newPhoto({"id":1910887,"src":"beachhuts2004_thumb.jpg","galleries_id":127478,"server_id":1,"link":"photo_1910887.html","width":130,"caption":"beach huts","height":122});
															thumbnails[1910891] = clik.newPhoto({"id":1910891,"src":"FirandWillow,2005_thumb.Acryliconpaper,90x100cm.jpg","galleries_id":127478,"server_id":1,"link":"photo_1910891.html","width":130,"caption":"fire and willow","height":115});
															thumbnails[1910893] = clik.newPhoto({"id":1910893,"src":"sandyhook2005_thumb.JPG","galleries_id":127478,"server_id":1,"link":"photo_1910893.html","width":130,"caption":"sandy hook","height":110});
															thumbnails[1910897] = clik.newPhoto({"id":1910897,"src":"trawler2006_thumb.JPG","galleries_id":127478,"server_id":1,"link":"photo_1910897.html","width":130,"caption":"trawler","height":124});
															thumbnails[1910904] = clik.newPhoto({"id":1910904,"src":"Brownno8_thumb.jpg","galleries_id":127483,"server_id":1,"link":"photo_1910904.html","width":130,"caption":"april storm","height":98});
															thumbnails[1910905] = clik.newPhoto({"id":1910905,"src":"IMG_1433_thumb.jpg","galleries_id":127483,"server_id":1,"link":"photo_1910905.html","width":130,"caption":"blue eden","height":82});
															thumbnails[1910906] = clik.newPhoto({"id":1910906,"src":"IMG_1437_thumb.jpg","galleries_id":127483,"server_id":1,"link":"photo_1910906.html","width":130,"caption":"earth made of chaos and old night","height":48});
															thumbnails[1910908] = clik.newPhoto({"id":1910908,"src":"IMG_1493_thumb.jpg","galleries_id":127483,"server_id":1,"link":"photo_1910908.html","width":130,"caption":"forgotten land","height":108});
															thumbnails[1910913] = clik.newPhoto({"id":1910913,"src":"6_thumb.JPG","galleries_id":127487,"server_id":1,"link":"photo_1910913.html","width":130,"caption":"boxted oak","height":176});
															thumbnails[1910916] = clik.newPhoto({"id":1910916,"src":"16_thumb.JPG","galleries_id":127487,"server_id":1,"link":"photo_1910916.html","width":130,"caption":"hollywood bowl","height":129});
															thumbnails[1910917] = clik.newPhoto({"id":1910917,"src":"20_thumb.JPG","galleries_id":127487,"server_id":1,"link":"photo_1910917.html","width":130,"caption":"sacre coeur","height":175});
															thumbnails[1912098] = clik.newPhoto({"id":1912098,"src":"This is not a toy_thumb.jpg","galleries_id":127969,"server_id":1,"link":"photo_1912098.html","width":130,"caption":"this is not a toy","height":200});
															thumbnails[1914088] = clik.newPhoto({"id":1914088,"src":"03 thinking out loud a_thumb.jpg","galleries_id":127488,"server_id":1,"link":"photo_1914088.html","width":130,"caption":"thinking out loud","height":79});
															thumbnails[1915215] = clik.newPhoto({"id":1915215,"src":"hh1256_thumb.jpg","galleries_id":126844,"server_id":1,"link":"photo_1915215.html","width":130,"caption":"rame, cornwall","height":101});
															thumbnails[1923210] = clik.newPhoto({"id":1923210,"src":"Before the Turn_thumb.jpg","galleries_id":126844,"server_id":1,"link":"photo_1923210.html","width":130,"caption":"before the turn","height":104});
															thumbnails[1923211] = clik.newPhoto({"id":1923211,"src":"flatland_thumb.jpg","galleries_id":126844,"server_id":1,"link":"photo_1923211.html","width":130,"caption":"flatland","height":97});
															thumbnails[1923212] = clik.newPhoto({"id":1923212,"src":"then and zen_thumb.jpg","galleries_id":126844,"server_id":1,"link":"photo_1923212.html","width":130,"caption":"then and zen","height":65});
															thumbnails[1992945] = clik.newPhoto({"id":1992945,"src":"deck chairs_thumb.jpg","galleries_id":127972,"server_id":1,"link":"photo_1992945.html","width":130,"caption":"deck chairs. cole","height":100});
															thumbnails[1998065] = clik.newPhoto({"id":1998065,"src":"richard with machine gun 1920a_thumb.jpg","galleries_id":284731,"server_id":1,"link":"photo_1998065.html","width":130,"caption":"jonathan anderson","height":130});
															thumbnails[2045918] = clik.newPhoto({"id":2045918,"src":"Firm pressure from the centre(103x67cm)_thumb.jpg","galleries_id":127969,"server_id":1,"link":"photo_2045918.html","width":130,"caption":"firm pressure from the centre","height":87});
															thumbnails[2045919] = clik.newPhoto({"id":2045919,"src":"Head right to the bottom(68x104cm)_thumb.jpg","galleries_id":127969,"server_id":1,"link":"photo_2045919.html","width":130,"caption":"head right to the bottom","height":197});
															thumbnails[2045932] = clik.newPhoto({"id":2045932,"src":"The Tony Blair years (Girls fighting)(60x66cm)_thumb.jpg","galleries_id":127969,"server_id":1,"link":"photo_2045932.html","width":130,"caption":"the tony blair years (girls fighting)","height":141});
															thumbnails[2130222] = clik.newPhoto({"id":2130222,"src":"primary destination A11_thumb.jpg","galleries_id":127972,"server_id":1,"link":"photo_2130222.html","width":130,"caption":"primary destination A11. cole","height":99});
															thumbnails[2130228] = clik.newPhoto({"id":2130228,"src":"rain on the marshes_thumb.jpg","galleries_id":127972,"server_id":1,"link":"photo_2130228.html","width":130,"caption":"rain on the marshes. carter","height":130});
															thumbnails[2130309] = clik.newPhoto({"id":2130309,"src":"after constable VI_thumb.jpg","galleries_id":127972,"server_id":1,"link":"photo_2130309.html","width":130,"caption":"after constable VI. carter","height":108});
															thumbnails[2151730] = clik.newPhoto({"id":2151730,"src":"busy number_thumb.JPG","galleries_id":127975,"server_id":1,"link":"photo_2151730.html","width":130,"caption":"busy number","height":113});
															thumbnails[2151738] = clik.newPhoto({"id":2151738,"src":"holkham_thumb.JPG","galleries_id":127975,"server_id":1,"link":"photo_2151738.html","width":130,"caption":"holkham","height":105});
															thumbnails[2151773] = clik.newPhoto({"id":2151773,"src":"yeah_thumb.JPG","galleries_id":127975,"server_id":1,"link":"photo_2151773.html","width":130,"caption":"yeah","height":111});
															thumbnails[2151775] = clik.newPhoto({"id":2151775,"src":"you dont know_thumb.JPG","galleries_id":127975,"server_id":1,"link":"photo_2151775.html","width":130,"caption":"you don't know","height":129});
															thumbnails[2293771] = clik.newPhoto({"id":2293771,"src":"A Nicer Place_thumb.JPG","galleries_id":128597,"server_id":1,"link":"photo_2293771.html","width":130,"caption":"a nicer place 100x140cm","height":87});
															thumbnails[2294247] = clik.newPhoto({"id":2294247,"src":"cader_thumb.jpg","galleries_id":128597,"server_id":1,"link":"photo_2294247.html","width":130,"caption":"cader 70x100cm","height":90});
															thumbnails[2305568] = clik.newPhoto({"id":2305568,"src":"Simon-Wright-3_thumb.jpg","galleries_id":128243,"server_id":1,"link":"photo_2305568.html","width":130,"caption":"white chair - wright","height":174});
															thumbnails[2308980] = clik.newPhoto({"id":2308980,"src":"path of neptune_thumb.JPG","galleries_id":128597,"server_id":1,"link":"photo_2308980.html","width":130,"caption":"path of neptune 30x30cm","height":130});
															thumbnails[2308981] = clik.newPhoto({"id":2308981,"src":"norf location study_thumb.JPG","galleries_id":128597,"server_id":1,"link":"photo_2308981.html","width":130,"caption":"norfolk location study 20x20cm","height":131});
															thumbnails[2430791] = clik.newPhoto({"id":2430791,"src":"Img0020_thumb.jpg","galleries_id":127976,"server_id":1,"link":"photo_2430791.html","width":130,"caption":"a suitor giving a bouquet of flowers","height":203});
															thumbnails[2430904] = clik.newPhoto({"id":2430904,"src":"DSC_0008_thumb.JPG","galleries_id":127976,"server_id":1,"link":"photo_2430904.html","width":130,"caption":"a clown with a caramel","height":219});
															thumbnails[2430928] = clik.newPhoto({"id":2430928,"src":"DSC_0014_thumb.JPG","galleries_id":127976,"server_id":1,"link":"photo_2430928.html","width":130,"caption":"norwich notes no.10<br>\r\nst martin's at palace church, from the bishop's palace, night-rain","height":95});
															thumbnails[2431003] = clik.newPhoto({"id":2431003,"src":"Img0012_thumb.jpg","galleries_id":127976,"server_id":1,"link":"photo_2431003.html","width":130,"caption":"owl in the moonlight","height":177});
															thumbnails[2431015] = clik.newPhoto({"id":2431015,"src":"me and you web_thumb.jpg","galleries_id":127987,"server_id":1,"link":"photo_2431015.html","width":130,"caption":"me and you","height":161});
															thumbnails[2431016] = clik.newPhoto({"id":2431016,"src":"other half web_thumb.jpg","galleries_id":127987,"server_id":1,"link":"photo_2431016.html","width":130,"caption":"other half","height":39});
															thumbnails[2431055] = clik.newPhoto({"id":2431055,"src":"tree web1_thumb.jpg","galleries_id":127987,"server_id":1,"link":"photo_2431055.html","width":130,"caption":"tree time","height":183});
															thumbnails[2432422] = clik.newPhoto({"id":2432422,"src":"tree 2 web_thumb.jpg","galleries_id":127987,"server_id":1,"link":"photo_2432422.html","width":130,"caption":"tree","height":174});
															thumbnails[2689304] = clik.newPhoto({"id":2689304,"src":"Insidefrontside 2 (2008)_thumb.JPG","galleries_id":128243,"server_id":1,"link":"photo_2689304.html","width":130,"caption":"insidefrontside 2 - shearer","height":132});
															thumbnails[2695564] = clik.newPhoto({"id":2695564,"src":"'Machine_For_Living_In'_2008_Oil_on_Linen_(61x61cm)_thumb.jpg","galleries_id":128243,"server_id":1,"link":"photo_2695564.html","width":130,"caption":"machine for living in - wright","height":131});
															thumbnails[2876133] = clik.newPhoto({"id":2876133,"src":"Contemplating Eternity_thumb.jpg","galleries_id":127991,"server_id":1,"link":"photo_2876133.html","width":129,"caption":"contemplating eternity","height":151});
															thumbnails[2876134] = clik.newPhoto({"id":2876134,"src":"Beatific Nude_thumb.jpg","galleries_id":127991,"server_id":1,"link":"photo_2876134.html","width":129,"caption":"beatific nude","height":79});
															thumbnails[2876136] = clik.newPhoto({"id":2876136,"src":"Mum_thumb.jpg","galleries_id":127991,"server_id":1,"link":"photo_2876136.html","width":130,"caption":"mum","height":171});
															thumbnails[2876137] = clik.newPhoto({"id":2876137,"src":"Falling Nude_thumb.jpg","galleries_id":127991,"server_id":1,"link":"photo_2876137.html","width":129,"caption":"falling nude","height":119});
															thumbnails[3103548] = clik.newPhoto({"id":3103548,"src":"Zugzwang_thumb.JPG","galleries_id":128243,"server_id":1,"link":"photo_3103548.html","width":130,"caption":"zugzwang - shearer","height":188});
															thumbnails[3103690] = clik.newPhoto({"id":3103690,"src":"DSC_0044_thumb.JPG","galleries_id":284731,"server_id":1,"link":"photo_3103690.html","width":130,"caption":"natalie orme","height":186});
															thumbnails[3103692] = clik.newPhoto({"id":3103692,"src":"DSC_0015_thumb.JPG","galleries_id":127989,"server_id":1,"link":"photo_3103692.html","width":130,"caption":"keith webber","height":91});
															thumbnails[3103694] = clik.newPhoto({"id":3103694,"src":"DSC_0005_thumb.JPG","galleries_id":127989,"server_id":1,"link":"photo_3103694.html","width":130,"caption":"paul mcneill","height":102});
															thumbnails[3103726] = clik.newPhoto({"id":3103726,"src":"right wall_thumb.jpg","galleries_id":127989,"server_id":1,"link":"photo_3103726.html","width":130,"caption":"","height":87});
															thumbnails[3103728] = clik.newPhoto({"id":3103728,"src":"DSC_0055_thumb.JPG","galleries_id":127989,"server_id":1,"link":"photo_3103728.html","width":130,"caption":"","height":87});
															thumbnails[3614429] = clik.newPhoto({"id":3614429,"src":"jk01_thumb.jpg","galleries_id":221153,"server_id":1,"link":"photo_3614429.html","width":130,"caption":"Dancers with Coloured Checkerboard","height":144});
															thumbnails[3614433] = clik.newPhoto({"id":3614433,"src":"jk03_thumb.jpg","galleries_id":221153,"server_id":1,"link":"photo_3614433.html","width":130,"caption":"Dancer with a Boy on a Pedestal","height":138});
															thumbnails[3760661] = clik.newPhoto({"id":3760661,"src":"jkGirl_with_White_Horse1_thumb.jpg","galleries_id":221153,"server_id":1,"link":"photo_3760661.html","width":130,"caption":"Girl with White Horse","height":129});
															thumbnails[3760672] = clik.newPhoto({"id":3760672,"src":"jkPlayful_Mind_thumb.jpg","galleries_id":221153,"server_id":1,"link":"photo_3760672.html","width":130,"caption":"Playful Mind","height":156});
															thumbnails[5109339] = clik.newPhoto({"id":5109339,"src":"hugh_thumb.jpg","galleries_id":284731,"server_id":1,"link":"photo_5109339.html","width":130,"caption":"Hugh Knaggs","height":148});
															thumbnails[5187461] = clik.newPhoto({"id":5187461,"src":"gunn_thumb.jpg","galleries_id":284731,"server_id":1,"link":"photo_5187461.html","width":130,"caption":"susan gunn","height":164});
															thumbnails[6954754] = clik.newPhoto({"id":6954754,"src":"Fickling-JetRibbondet_thumb.jpg","galleries_id":374573,"server_id":1,"link":"photo_6954754.html","width":130,"caption":"fickling - Jet Ribbon, 2009, 145 X 291 cm, acrylic on canvas with painted wood construction (detail) <br>\r\n","height":130});
															thumbnails[6954767] = clik.newPhoto({"id":6954767,"src":"Fickling-SecondofSix_thumb.jpg","galleries_id":374573,"server_id":1,"link":"photo_6954767.html","width":130,"caption":"fickling - Second of Six, 2010, 76 X 76 cm, acrylic and marker pen on canvas<br>\r\n","height":130});
															thumbnails[6954808] = clik.newPhoto({"id":6954808,"src":"MDavey-RimmerandStool_thumb.jpg","galleries_id":374573,"server_id":1,"link":"photo_6954808.html","width":130,"caption":"davey - Rimmer and Stool, 2010","height":130});
															thumbnails[6954810] = clik.newPhoto({"id":6954810,"src":"MDavey-Rimming2_thumb.jpg","galleries_id":374573,"server_id":1,"link":"photo_6954810.html","width":130,"caption":"davey - Rimming Machine 2, 2010 ","height":123});
															thumbnails[7111883] = clik.newPhoto({"id":7111883,"src":"DAVEYweb_thumb.jpg","galleries_id":374573,"server_id":1,"link":"photo_7111883.html","width":130,"caption":"davey - limited edition (20) giclee print","height":92});
															thumbnails[7111886] = clik.newPhoto({"id":7111886,"src":"FICKLINGweb_thumb.jpg","galleries_id":374573,"server_id":1,"link":"photo_7111886.html","width":130,"caption":"fickling - limited edition (20) giclee print","height":92});
															thumbnails[2305216] = clik.newPhoto({"id":2305216,"src":"hans-barlocher_thumb.jpg","galleries_id":150837,"server_id":1,"link":"photo_2305216.html","width":130,"caption":"","height":132});
															thumbnails[2305217] = clik.newPhoto({"id":2305217,"src":"ludo_thumb.jpg","galleries_id":150837,"server_id":1,"link":"photo_2305217.html","width":130,"caption":"","height":126});
															thumbnails[2305219] = clik.newPhoto({"id":2305219,"src":"P1020020_thumb.jpg","galleries_id":150837,"server_id":1,"link":"photo_2305219.html","width":130,"caption":"","height":131});
															thumbnails[2305222] = clik.newPhoto({"id":2305222,"src":"the-harben-boys_thumb.jpg","galleries_id":150837,"server_id":1,"link":"photo_2305222.html","width":130,"caption":"","height":130});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[150837] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"portraits by jason butler","link":"section193009.html","maxRecords":0.0,"photoIDs":[2305216.0,2305217.0,2305219.0,2305222.0],"skipIndex":0,"section_code":"section193009","featured_images":"2305222,2305219,2305217,2305216","id":150837,"singleSection":true});				  						galleries[465579] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Cowboys","link":"section563676_465579.html","maxRecords":0.0,"photoIDs":[8853693.0,8853747.0,8853753.0,8853760.0,8853761.0,8853764.0,8853765.0,8853769.0,8853770.0,8853772.0,8853774.0,8853775.0],"skipIndex":0,"section_code":"section563676","featured_images":"8853775,8853774,8853772,8853770,8853769,8853765,8853764,8853761,8853760,8853753","id":465579,"singleSection":false});				  						galleries[465574] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Flowered Footballers","link":"section563676_465574.html","maxRecords":0.0,"photoIDs":[8080129.0,8080130.0,8080133.0,8080135.0,8080137.0,8853836.0,8853838.0,8853840.0,8853842.0,8853843.0,8853845.0,8853846.0,8853848.0,8853850.0],"skipIndex":0,"section_code":"section563676","featured_images":"8853850,8853848,8853846,8853845,8853843,8853842,8853840,8853838,8853836,8080137","id":465574,"singleSection":false});				  						galleries[465576] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Flashcard Ladybird Suite","link":"section563676_465576.html","maxRecords":0.0,"photoIDs":[8079977.0,8079979.0,8079981.0,8079982.0,8079984.0,8079986.0,8079987.0,8079988.0,8079989.0,8079990.0,8079991.0,8079992.0,8079993.0,8079994.0,8079998.0,8080000.0,8080002.0,8080003.0,8080006.0,8080008.0,8080009.0,8080010.0,8080011.0,8080028.0,8080078.0,8080095.0,8080097.0,8080099.0,8080103.0,8080105.0,8080106.0,8080107.0,8080110.0,8080111.0,8080114.0,8080116.0,8080119.0,8080121.0,8080122.0,8080124.0],"skipIndex":0,"section_code":"section563676","featured_images":"8080124,8080122,8080121,8080119,8080116,8080114,8080111,8080110,8080107,8080106","id":465576,"singleSection":false});				  						galleries[465577] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Nice Cocks","link":"section563676_465577.html","maxRecords":0.0,"photoIDs":[8080127.0,8080128.0],"skipIndex":0,"section_code":"section563676","featured_images":"8080128,8080127","id":465577,"singleSection":false});				  						galleries[465575] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Collages by Becca Smith & Keith Webber","link":"section563676_465575.html","maxRecords":0.0,"photoIDs":[8853780.0,8853784.0,8853792.0,8853793.0,8853796.0,8853798.0,8853799.0,8853800.0,8853801.0,8853802.0,8853804.0,8853805.0,8853806.0,8853808.0,8853810.0,8853812.0,8853813.0],"skipIndex":0,"section_code":"section563676","featured_images":"8853813,8853812,8853810,8853808,8853806,8853805,8853804,8853802,8853801,8853800","id":465575,"singleSection":false});				  						galleries[432786] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Sir Peter Blake","link":"section563676_432786.html","maxRecords":0.0,"photoIDs":[1910842.0],"skipIndex":0,"section_code":"section563676","featured_images":1910842.0,"id":432786,"singleSection":false});				  						galleries[374573] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"nov & dec 2010 fickling davey show","link":"gallery_374573.html","maxRecords":0.0,"photoIDs":[6954754.0,6954767.0,6954808.0,6954810.0,7111883.0,7111886.0],"skipIndex":0,"section_code":"gallery","featured_images":"7111886,7111883,6954810,6954808,6954767,6954754","id":374573,"singleSection":false});				  						galleries[284731] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"nov & dec 09 xmas show","link":"gallery_284731.html","maxRecords":0.0,"photoIDs":[1910825.0,1998065.0,3103690.0,5109339.0,5187461.0],"skipIndex":0,"section_code":"gallery","featured_images":"5187461,5109339,3103690,1998065,1910825","id":284731,"singleSection":false});				  						galleries[221153] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"april & may 09 john kiki","link":"gallery_221153.html","maxRecords":0.0,"photoIDs":[3614429.0,3614433.0,3760661.0,3760672.0],"skipIndex":0,"section_code":"gallery","featured_images":3614429.0,"id":221153,"singleSection":false});				  						galleries[127989] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"nov & dec 08 xmas show","link":"gallery_127989.html","maxRecords":0.0,"photoIDs":[3103692.0,3103694.0,3103726.0,3103728.0],"skipIndex":0,"section_code":"gallery","featured_images":"3103728,3103726,3103694,3103692","id":127989,"singleSection":false});				  						galleries[127991] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"oct 08 bruer tidman","link":"gallery_127991.html","maxRecords":0.0,"photoIDs":[2876133.0,2876134.0,2876136.0,2876137.0],"skipIndex":0,"section_code":"gallery","featured_images":"2876137,2876136,2876134,2876133","id":127991,"singleSection":false});				  						galleries[128243] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"sept 08 s. wright & s. shearer","link":"gallery_128243.html","maxRecords":0.0,"photoIDs":[2305568.0,2689304.0,2695564.0,3103548.0],"skipIndex":0,"section_code":"gallery","featured_images":2305568.0,"id":128243,"singleSection":false});				  						galleries[127987] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"aug 08 devi singh","link":"gallery_127987.html","maxRecords":0.0,"photoIDs":[2431015.0,2431016.0,2431055.0,2432422.0],"skipIndex":0,"section_code":"gallery","featured_images":2431055.0,"id":127987,"singleSection":false});				  						galleries[127976] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"july 08 colin self","link":"gallery_127976.html","maxRecords":0.0,"photoIDs":[2430791.0,2430904.0,2430928.0,2431003.0],"skipIndex":0,"section_code":"gallery","featured_images":"2431003,2430928,2430904,2430791","id":127976,"singleSection":false});				  						galleries[128597] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"june 08 garry raymond-pereira","link":"gallery_128597.html","maxRecords":0.0,"photoIDs":[2293771.0,2294247.0,2308980.0,2308981.0],"skipIndex":0,"section_code":"gallery","featured_images":"2308981,2308980,2294247,2293771","id":128597,"singleSection":false});				  						galleries[127975] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"june 08 derek woolston","link":"gallery_127975.html","maxRecords":0.0,"photoIDs":[2151730.0,2151738.0,2151773.0,2151775.0],"skipIndex":0,"section_code":"gallery","featured_images":2151773.0,"id":127975,"singleSection":false});				  						galleries[127972] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"may 08 cole & carter","link":"gallery_127972.html","maxRecords":0.0,"photoIDs":[1992945.0,2130222.0,2130228.0,2130309.0],"skipIndex":0,"section_code":"gallery","featured_images":"2130309,2130228,2130222,1992945","id":127972,"singleSection":false});				  						galleries[127969] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"april 08 scott poulson","link":"gallery_127969.html","maxRecords":0.0,"photoIDs":[1912098.0,2045918.0,2045919.0,2045932.0],"skipIndex":0,"section_code":"gallery","featured_images":"2045932,2045919,2045918,1912098","id":127969,"singleSection":false});				  						galleries[127488] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"march 08 jack crampton","link":"gallery_127488.html","maxRecords":0.0,"photoIDs":[1908600.0,1908613.0,1908617.0,1914088.0],"skipIndex":0,"section_code":"gallery","featured_images":1908600.0,"id":127488,"singleSection":false});				  						galleries[127482] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"feb 08 rosie greenhalgh","link":"gallery_127482.html","maxRecords":0.0,"photoIDs":[1910872.0,1910873.0,1910874.0,1910878.0],"skipIndex":0,"section_code":"gallery","featured_images":1910874.0,"id":127482,"singleSection":false});				  						galleries[127481] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"jan 08 oliver shaw","link":"gallery_127481.html","maxRecords":0.0,"photoIDs":[1910863.0,1910865.0,1910867.0,1910869.0],"skipIndex":0,"section_code":"gallery","featured_images":1910865.0,"id":127481,"singleSection":false});				  						galleries[127480] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"dec 07 mixed show","link":"gallery_127480.html","maxRecords":0.0,"photoIDs":[1910837.0,1910838.0,1910840.0,1910841.0],"skipIndex":0,"section_code":"gallery","featured_images":"1910841,1910840,1910838,1910837","id":127480,"singleSection":false});				  						galleries[127479] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"oct 07 colin self ","link":"gallery_127479.html","maxRecords":0.0,"photoIDs":[1908874.0,1908879.0,1908888.0,1908897.0],"skipIndex":0,"section_code":"gallery","featured_images":1908879.0,"id":127479,"singleSection":false});				  						galleries[127478] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"sept 07 simon carter ","link":"gallery_127478.html","maxRecords":0.0,"photoIDs":[1910887.0,1910891.0,1910893.0,1910897.0],"skipIndex":0,"section_code":"gallery","featured_images":"1910897,1910893,1910891,1910887","id":127478,"singleSection":false});				  						galleries[127483] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"aug 07 katy brown","link":"gallery_127483.html","maxRecords":0.0,"photoIDs":[1910904.0,1910905.0,1910906.0,1910908.0],"skipIndex":0,"section_code":"gallery","featured_images":1910908.0,"id":127483,"singleSection":false});				  						galleries[127487] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"july 07 david trenow","link":"gallery_127487.html","maxRecords":0.0,"photoIDs":[1908908.0,1910913.0,1910916.0,1910917.0],"skipIndex":0,"section_code":"gallery","featured_images":1908908.0,"id":127487,"singleSection":false});				  						galleries[126845] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"june 07 andrew vass","link":"gallery_126845.html","maxRecords":0.0,"photoIDs":[1901686.0,1901752.0,1901761.0,1901763.0],"skipIndex":0,"section_code":"gallery","featured_images":1901686.0,"id":126845,"singleSection":false});				  						galleries[126844] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"may 07 heath hearn","link":"gallery_126844.html","maxRecords":0.0,"photoIDs":[1915215.0,1923210.0,1923211.0,1923212.0],"skipIndex":0,"section_code":"gallery","featured_images":1923211.0,"id":126844,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '8853850,8853848,8853846,8853845,8853842,8853840,8853838,8853836,8853775,8853774,8853772,8853770,8853769,8853765,8853764,8853761,8853760,8853753,8853747,8853693,8080137,8080135,8080133,8080130,8080129,8080128,8080127,8080124,8080122,8080121,8080119,8080116,8080114,8080111,8080110,8080107,8080105,8080103,8080097,8080095,8080078,8080011,8080010,8080009,8080008,8080006,8080003,8080002,8080000,8079998,8079994,8079991,8079990,8079989,8079988,8079987,8079986,8079984,8079982,8079979,6954754';
imageSets[2] = '3614429,2431055,2305568,2151773,1923211,1910908,1910874,1910865,1908908,1908879,1908600,1901686';
imageSets[3] = '8853850,8853848,8853846,8853845,8853843,8853842,8853840,8853838,8853836,8853813,8853812,8853810,8853808,8853806,8853805,8853804,8853802,8853801,8853800,8853799,8853798,8853796,8853793,8853792,8853784,8853780,8853775,8853774,8853772,8853770,8853769,8853765,8853764,8853761,8853760,8853753,8853747,8853693,8080137,8080135,8080133,8080130,8080129,8080128,8080127,8080124,8080122,8080121,8080119,8080116';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/horaceblue/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/horaceblue/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/horaceblue/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/horaceblue/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/horaceblue/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/horaceblue/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/horaceblue/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/horaceblue/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/horaceblue/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/horaceblue/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/horaceblue/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/horaceblue/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/horaceblue/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/horaceblue/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/horaceblue/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/horaceblue/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/horaceblue/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/horaceblue/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/horaceblue/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/horaceblue/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/horaceblue/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/horaceblue/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/horaceblue/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/horaceblue/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/horaceblue/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/horaceblue/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/horaceblue/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 += 'section563676.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 && 'section563676' != '') {
					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 = 'horace blue : ' + photoCaption;
			    }
        if (op.$detail.length > 0) {
      	temp = op.nextPhoto.fnGetImageDetails();
	    op.$detail.fadeGalleryDetails(temp, op.speed, function(){
			if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
				toggleAddToCartConfirm(backgrounds, op.$detail);
			} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
				toggleAddToCartConfirm(photos, op.$detail);
			}
			$('body').trigger('clikUpdate.popup');
	    });
    }
        $(op.$detailContainer).find('.replaceable[class*=replaceable_photo-]').each(function(){
    	var field = clik.getPrefixedClass(this.className, 'replaceable_photo-');
    	if (field in op.nextPhoto) {
    		$(this).fadeGalleryDetails(op.nextPhoto[field], op.speed);
    	}
    }).end().find('.replaceable.photoPayment').fadeGalleryDetails(op.nextPhoto.fnGetPaymentInfo(), op.speed, function(){
		if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
			toggleAddToCartConfirm(backgrounds, op.$detailContainer);
		} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
			toggleAddToCartConfirm(photos, op.$detailContainer);
		}
		$('body').trigger('clikUpdate.popup');
	});
		if (op.$photo.length > 0) {
		html = $('<img/>',{
			'class': 'mainphoto photo',
			src: photoSrc,
			id: 'mainPic',
			name: 'mainPic',
			width: op.nextPhoto.width,
			height: op.nextPhoto.height,
			alt: photoCaption,
			css: op.css || {}
		});
		if (op.href) {
			if (op.href.match(/<a/)) {
				html = $(op.href).append(html);
			} else {
				html = $('<a/>', {
					href: op.href,
					title: photoCaption
				}).append(html);
			}
		} else {
			html = $('<a/>', {
				title: photoCaption
			}).append(html);
		}
		if (op.speed == 0) {			op.$photo.html(html);			if (op.onBefore) {			  	op.onBefore.apply(op.$photo);			}			if (op.onAfter) {			  	op.onAfter.apply(op.$photo);			}		} else {			op.$photo.stop(true,true).fadeReplaceWith(html,op.speed,'',function(){  				if (op.onAfter) {				  	op.onAfter.apply(this);				}				clik.doColumnResize(false, $(this).add(op.$detail).add(op.$title));			}, op.onBefore);
		}	}
    if (op.field) {
		op.field.value = photoId;
	} else {
		op.$photo.data('image_id', photoId);
    }
        if (!op.speed) {
      	clik.doColumnResize(false, op.$photo.add(op.$detail).add(op.$title));
    }
        
    return html;
	}

/***************************************************************************
* Toggle add to cart confirmation element and set up the click event for   *
* the 'Add to cart' button.                                                *
***************************************************************************/
function toggleAddToCartConfirm(array, root){
	if (typeof(array) !== 'object' || array === null) {
	  	array = photos;
	}
	if (!$(root).length) {		root = $('body');	}	if($('#paymentConfirm', root).length > 0){
		$('#paymentConfirm', root).hide();
		$('#paymentAddButton', root)
		.unbind()
		.click(function(){
						form = $('#paymentForm', root)[0];
			option_id = 0;
			if(form.item_option.value){
				option_id = form.item_option.value;
			}
			if(addItemToBasket(form.item_number.value,array,form.site.value,parseInt(form.quantity.value, 10),option_id)){
				if($.browser.msie){$('#paymentConfirm', root).text('Item added to cart').show();}
				else{
					$('#paymentConfirm', root).text('Item added to cart').fadeIn();
					dspOrderDetails(form.site.value);
				}
			}
			else{
				$('#paymentConfirm', root).text('Item not added - check cookies are enabled in your browser.').fadeIn();
			}
		});
	}
}

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetImageDetails = function(){
	var temp = '';
	if (this.description != '') {
		temp +=  '<div id="imageDescription">' + this.description + '</div>';
	}
		if (this.photo_ref != '') {
		temp += '<div class="imageinfo" id="imageRef"><strong>Ref: </strong>' + this.photo_ref + '</div>';
	}
		if (this.takendate != '') {
		
		temp += '<div class="imageinfo" id="imageDate"><strong>Date: </strong>' + this.takendate + '</div>';
	}
	
	if (this.location != '') {
		
		temp += '<div class="imageinfo" id="imageLocation"><strong>Location: </strong>' +  this.location + '</div>';
	}
	
	if (this.photographer != '') {
		
		temp += '<div class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>' + this.photographer + '</div>';
	}
				
				if (temp != '') {
		temp += '<div class="spacer"></div>';
	}
	return temp;
};

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetPaymentInfo = function(){
	var temp = '';
	if (this.item_price !== '') {
				temp += '<p>Order this print:</p>';
				temp += '<div class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> ' + (this.item_price).toFixed(2) + '</div>';
		var item_name  = this.purchase_instruction;
		var amount = (this.item_price).toFixed(2);
		var item_option  = 0;
	}
		else {
		
	}
	if (this.item_price !== '' || 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;
	}
}

			

