window.thumbnails = {};
															thumbnails[3801679] = clik.newPhoto({"id":3801679,"src":"FDOS_2_copy_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":102});
															thumbnails[3801757] = clik.newPhoto({"id":3801757,"src":"FDOS_1_copy_grain__levels_copy_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":101});
															thumbnails[3801771] = clik.newPhoto({"id":3801771,"src":"FDOS_5_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":103});
															thumbnails[4111673] = clik.newPhoto({"id":4111673,"src":"DSC_0245_copy_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":87});
															thumbnails[5049108] = clik.newPhoto({"id":5049108,"src":"scent_1_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":87});
															thumbnails[5225116] = clik.newPhoto({"id":5225116,"src":"thomas-1-72dpi_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":86});
															thumbnails[5225166] = clik.newPhoto({"id":5225166,"src":"thomas-2-72-dpi_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":86});
															thumbnails[5225840] = clik.newPhoto({"id":5225840,"src":"thomas-3-72-dpi_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":86});
															thumbnails[5225173] = clik.newPhoto({"id":5225173,"src":"thomas-3-09-copy_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":105});
															thumbnails[5225037] = clik.newPhoto({"id":5225037,"src":"thomas-5-72-dpi_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":103});
															thumbnails[5369553] = clik.newPhoto({"id":5369553,"src":"thomas-9-09-copy_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":162});
															thumbnails[5369727] = clik.newPhoto({"id":5369727,"src":"black-edge2_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":129});
															thumbnails[5369714] = clik.newPhoto({"id":5369714,"src":"black-edge-1_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":129});
															thumbnails[5647164] = clik.newPhoto({"id":5647164,"src":"new-yello-face_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":129});
															thumbnails[5394751] = clik.newPhoto({"id":5394751,"src":"lg-film-09-1_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":131});
															thumbnails[5635285] = clik.newPhoto({"id":5635285,"src":"toothless-beach-1_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":130});
															thumbnails[5635292] = clik.newPhoto({"id":5635292,"src":"toothless-beach-2_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":130});
															thumbnails[5635302] = clik.newPhoto({"id":5635302,"src":"toothless-beach-6_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":130});
															thumbnails[5635310] = clik.newPhoto({"id":5635310,"src":"toothless-house-3_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":130});
															thumbnails[5649960] = clik.newPhoto({"id":5649960,"src":"pree-shoot-5_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":130});
															thumbnails[5649962] = clik.newPhoto({"id":5649962,"src":"pre-shoot-6_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":130});
															thumbnails[5649967] = clik.newPhoto({"id":5649967,"src":"Ailema-at-green-board_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":130});
															thumbnails[6222471] = clik.newPhoto({"id":6222471,"src":"Ida-R-24-Square_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":130});
															thumbnails[6222491] = clik.newPhoto({"id":6222491,"src":"Ida-R-bw-E_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":130});
															thumbnails[6222520] = clik.newPhoto({"id":6222520,"src":"Ida-R-bw-M_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":130});
															thumbnails[6222566] = clik.newPhoto({"id":6222566,"src":"Ida_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":130});
															thumbnails[6222696] = clik.newPhoto({"id":6222696,"src":"Ida-R-50_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":86});
															thumbnails[6222701] = clik.newPhoto({"id":6222701,"src":"Ida-R-60_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":86});
															thumbnails[3589152] = clik.newPhoto({"id":3589152,"src":"rafalfie_thumb.jpg","galleries_id":202317,"server_id":15,"link":"photo_3589152.html","width":130,"caption":"","height":132});
															thumbnails[3589202] = clik.newPhoto({"id":3589202,"src":"ducks_copy1_thumb.jpg","galleries_id":202317,"server_id":15,"link":"photo_3589202.html","width":130,"caption":"","height":130});
															thumbnails[3589272] = clik.newPhoto({"id":3589272,"src":"tar_thumb.jpg","galleries_id":202317,"server_id":15,"link":"photo_3589272.html","width":130,"caption":"","height":130});
															thumbnails[3589275] = clik.newPhoto({"id":3589275,"src":"bent_fish_thumb.jpg","galleries_id":202317,"server_id":15,"link":"photo_3589275.html","width":130,"caption":"","height":131});
															thumbnails[3619084] = clik.newPhoto({"id":3619084,"src":"life_in_page_1_thumb.jpg","galleries_id":219347,"server_id":15,"link":"photo_3619084.html","width":130,"caption":"","height":98});
															thumbnails[3619317] = clik.newPhoto({"id":3619317,"src":"life_inpage2_thumb.jpg","galleries_id":219347,"server_id":15,"link":"photo_3619317.html","width":130,"caption":"","height":98});
															thumbnails[3619742] = clik.newPhoto({"id":3619742,"src":"web_thumb.jpg","galleries_id":219347,"server_id":15,"link":"photo_3619742.html","width":130,"caption":"","height":98});
															thumbnails[3619754] = clik.newPhoto({"id":3619754,"src":"ooo_thumb.jpg","galleries_id":219347,"server_id":15,"link":"photo_3619754.html","width":130,"caption":"","height":98});
															thumbnails[3619871] = clik.newPhoto({"id":3619871,"src":"one-quincepage1_thumb.jpg","galleries_id":219347,"server_id":15,"link":"photo_3619871.html","width":130,"caption":"","height":98});
															thumbnails[3620008] = clik.newPhoto({"id":3620008,"src":"one-quincepage2_thumb.jpg","galleries_id":219347,"server_id":15,"link":"photo_3620008.html","width":130,"caption":"","height":98});
															thumbnails[3620029] = clik.newPhoto({"id":3620029,"src":"one-quincepage3_thumb.jpg","galleries_id":219347,"server_id":15,"link":"photo_3620029.html","width":130,"caption":"","height":98});
															thumbnails[3620040] = clik.newPhoto({"id":3620040,"src":"one-quincepage4_thumb.jpg","galleries_id":219347,"server_id":15,"link":"photo_3620040.html","width":130,"caption":"","height":98});
															thumbnails[3808692] = clik.newPhoto({"id":3808692,"src":"augusta_akerman_10_thumb.jpg","galleries_id":202317,"server_id":15,"link":"photo_3808692.html","width":130,"caption":"","height":123});
															thumbnails[3878959] = clik.newPhoto({"id":3878959,"src":"IMG_2486_thumb.jpg","galleries_id":235647,"server_id":15,"link":"photo_3878959.html","width":130,"caption":"","height":173});
															thumbnails[3879934] = clik.newPhoto({"id":3879934,"src":"ange1_thumb.jpg","galleries_id":202317,"server_id":15,"link":"photo_3879934.html","width":130,"caption":"","height":131});
															thumbnails[3879937] = clik.newPhoto({"id":3879937,"src":"1_thumb.jpg","galleries_id":202317,"server_id":15,"link":"photo_3879937.html","width":130,"caption":"","height":133});
															thumbnails[3879953] = clik.newPhoto({"id":3879953,"src":"golden_pheasent1_thumb.jpg","galleries_id":202317,"server_id":15,"link":"photo_3879953.html","width":130,"caption":"","height":163});
															thumbnails[3879968] = clik.newPhoto({"id":3879968,"src":"seagull_copysmall_thumb.jpg","galleries_id":202317,"server_id":15,"link":"photo_3879968.html","width":130,"caption":"","height":134});
															thumbnails[3879973] = clik.newPhoto({"id":3879973,"src":"sarahsophie_copy_thumb.jpg","galleries_id":202317,"server_id":15,"link":"photo_3879973.html","width":130,"caption":"","height":129});
															thumbnails[3879992] = clik.newPhoto({"id":3879992,"src":"rupert_the_bear_field_copy_thumb.jpg","galleries_id":202317,"server_id":15,"link":"photo_3879992.html","width":130,"caption":"","height":130});
															thumbnails[3880013] = clik.newPhoto({"id":3880013,"src":"_small1_thumb.jpg","galleries_id":202317,"server_id":15,"link":"photo_3880013.html","width":130,"caption":"","height":133});
															thumbnails[3880133] = clik.newPhoto({"id":3880133,"src":"gus_thumb.jpg","galleries_id":202317,"server_id":15,"link":"photo_3880133.html","width":130,"caption":"","height":128});
															thumbnails[3885611] = clik.newPhoto({"id":3885611,"src":"goldtrig1_thumb.jpg","galleries_id":235647,"server_id":15,"link":"photo_3885611.html","width":130,"caption":"","height":173});
															thumbnails[3885619] = clik.newPhoto({"id":3885619,"src":"horse_thumb.jpg","galleries_id":235647,"server_id":15,"link":"photo_3885619.html","width":130,"caption":"","height":98});
															thumbnails[3929415] = clik.newPhoto({"id":3929415,"src":"IMG_2321_thumb.jpg","galleries_id":219347,"server_id":15,"link":"photo_3929415.html","width":130,"caption":"","height":98});
															thumbnails[3929424] = clik.newPhoto({"id":3929424,"src":"IMG_2324_thumb.jpg","galleries_id":219347,"server_id":15,"link":"photo_3929424.html","width":130,"caption":"","height":98});
															thumbnails[3929428] = clik.newPhoto({"id":3929428,"src":"IMG_2340_thumb.jpg","galleries_id":219347,"server_id":15,"link":"photo_3929428.html","width":130,"caption":"","height":98});
															thumbnails[3929440] = clik.newPhoto({"id":3929440,"src":"IMG_2344_thumb.jpg","galleries_id":219347,"server_id":15,"link":"photo_3929440.html","width":130,"caption":"","height":98});
															thumbnails[3929444] = clik.newPhoto({"id":3929444,"src":"IMG_2345_thumb.jpg","galleries_id":219347,"server_id":15,"link":"photo_3929444.html","width":130,"caption":"","height":98});
															thumbnails[3930057] = clik.newPhoto({"id":3930057,"src":"IMG_3101_thumb.jpg","galleries_id":219347,"server_id":15,"link":"photo_3930057.html","width":130,"caption":"","height":98});
															thumbnails[3930070] = clik.newPhoto({"id":3930070,"src":"IMG_3096_thumb.jpg","galleries_id":235647,"server_id":15,"link":"photo_3930070.html","width":130,"caption":"","height":98});
															thumbnails[3930704] = clik.newPhoto({"id":3930704,"src":"IMG_3103_thumb.jpg","galleries_id":219347,"server_id":15,"link":"photo_3930704.html","width":130,"caption":"","height":98});
															thumbnails[3930707] = clik.newPhoto({"id":3930707,"src":"IMG_3108_thumb.jpg","galleries_id":219347,"server_id":15,"link":"photo_3930707.html","width":130,"caption":"","height":98});
															thumbnails[4218855] = clik.newPhoto({"id":4218855,"src":"carolyn_oxford_3_09_copy_thumb.jpg","galleries_id":202318,"server_id":15,"link":"photo_4218855.html","width":130,"caption":"","height":130});
															thumbnails[4218872] = clik.newPhoto({"id":4218872,"src":"mum_on_lawn_copy1_thumb.jpg","galleries_id":202317,"server_id":15,"link":"photo_4218872.html","width":130,"caption":"","height":128});
															thumbnails[4218888] = clik.newPhoto({"id":4218888,"src":"cat_on_lead_copy_thumb.jpg","galleries_id":202317,"server_id":15,"link":"photo_4218888.html","width":130,"caption":"","height":128});
															thumbnails[4218907] = clik.newPhoto({"id":4218907,"src":"curtain_thumb.jpg","galleries_id":202317,"server_id":15,"link":"photo_4218907.html","width":130,"caption":"","height":130});
															thumbnails[4575648] = clik.newPhoto({"id":4575648,"src":"bw_L_with_towel1_thumb.jpg","galleries_id":202318,"server_id":15,"link":"photo_4575648.html","width":130,"caption":"","height":98});
															thumbnails[4585597] = clik.newPhoto({"id":4585597,"src":"cornwall_09_bw_2_thumb.jpg","galleries_id":235647,"server_id":15,"link":"photo_4585597.html","width":130,"caption":"","height":130});
															thumbnails[4621613] = clik.newPhoto({"id":4621613,"src":"cornwall_09_C_4_thumb.jpg","galleries_id":235647,"server_id":15,"link":"photo_4621613.html","width":130,"caption":"","height":130});
															thumbnails[4622894] = clik.newPhoto({"id":4622894,"src":"oxford_0901_thumb.jpg","galleries_id":202318,"server_id":15,"link":"photo_4622894.html","width":130,"caption":"","height":130});
															thumbnails[4622962] = clik.newPhoto({"id":4622962,"src":"cornwall_09_bw_11_thumb.jpg","galleries_id":202318,"server_id":15,"link":"photo_4622962.html","width":130,"caption":"","height":130});
															thumbnails[4623318] = clik.newPhoto({"id":4623318,"src":"cornwall_09_C_6_thumb.jpg","galleries_id":202318,"server_id":15,"link":"photo_4623318.html","width":130,"caption":"","height":130});
															thumbnails[4623510] = clik.newPhoto({"id":4623510,"src":"cornwall_09_C_23_thumb.jpg","galleries_id":202318,"server_id":15,"link":"photo_4623510.html","width":130,"caption":"","height":130});
															thumbnails[4716954] = clik.newPhoto({"id":4716954,"src":"bust_thumb.jpg","galleries_id":219347,"server_id":15,"link":"photo_4716954.html","width":130,"caption":"","height":98});
															thumbnails[4716965] = clik.newPhoto({"id":4716965,"src":"islandshouses_thumb.jpg","galleries_id":219347,"server_id":15,"link":"photo_4716965.html","width":130,"caption":"","height":98});
															thumbnails[4716972] = clik.newPhoto({"id":4716972,"src":"marygold_turban_thumb.jpg","galleries_id":219347,"server_id":15,"link":"photo_4716972.html","width":130,"caption":"","height":98});
															thumbnails[4717032] = clik.newPhoto({"id":4717032,"src":"russian_church_thumb.jpg","galleries_id":235647,"server_id":15,"link":"photo_4717032.html","width":130,"caption":"","height":98});
															thumbnails[4717042] = clik.newPhoto({"id":4717042,"src":"tudor_paintings_thumb.jpg","galleries_id":235647,"server_id":15,"link":"photo_4717042.html","width":130,"caption":"","height":98});
															thumbnails[5213768] = clik.newPhoto({"id":5213768,"src":"DSC_0062_copy_thumb.jpg","galleries_id":202318,"server_id":15,"link":"photo_5213768.html","width":130,"caption":"","height":86});
															thumbnails[5213779] = clik.newPhoto({"id":5213779,"src":"carolyn_halloween_copy_thumb.jpg","galleries_id":202318,"server_id":15,"link":"photo_5213779.html","width":130,"caption":"","height":105});
															thumbnails[5213852] = clik.newPhoto({"id":5213852,"src":"henry_hassel_72_dpi_thumb.jpg","galleries_id":202318,"server_id":15,"link":"photo_5213852.html","width":130,"caption":"","height":130});
															thumbnails[5225995] = clik.newPhoto({"id":5225995,"src":"paper-squrill_thumb.jpg","galleries_id":235647,"server_id":15,"link":"photo_5225995.html","width":130,"caption":"","height":98});
															thumbnails[5226027] = clik.newPhoto({"id":5226027,"src":"paper-pigions_thumb.jpg","galleries_id":235647,"server_id":15,"link":"photo_5226027.html","width":130,"caption":"","height":98});
															thumbnails[5369792] = clik.newPhoto({"id":5369792,"src":"lg-film-09-3-72dpi_thumb.jpg","galleries_id":202318,"server_id":15,"link":"photo_5369792.html","width":130,"caption":"","height":127});
															thumbnails[5483750] = clik.newPhoto({"id":5483750,"src":"IMG_3969_thumb.jpg","galleries_id":219347,"server_id":15,"link":"photo_5483750.html","width":130,"caption":"","height":98});
															thumbnails[5483751] = clik.newPhoto({"id":5483751,"src":"IMG_3962_thumb.jpg","galleries_id":219347,"server_id":15,"link":"photo_5483751.html","width":130,"caption":"","height":98});
															thumbnails[5483772] = clik.newPhoto({"id":5483772,"src":"IMG_3990_thumb.jpg","galleries_id":219347,"server_id":15,"link":"photo_5483772.html","width":130,"caption":"","height":98});
															thumbnails[5483832] = clik.newPhoto({"id":5483832,"src":"IMG_5343_thumb.jpg","galleries_id":219347,"server_id":15,"link":"photo_5483832.html","width":130,"caption":"","height":98});
															thumbnails[5483839] = clik.newPhoto({"id":5483839,"src":"IMG_5346_thumb.jpg","galleries_id":219347,"server_id":15,"link":"photo_5483839.html","width":130,"caption":"","height":98});
															thumbnails[5483846] = clik.newPhoto({"id":5483846,"src":"IMG_5352_thumb.jpg","galleries_id":219347,"server_id":15,"link":"photo_5483846.html","width":130,"caption":"","height":98});
															thumbnails[5483850] = clik.newPhoto({"id":5483850,"src":"IMG_5357_thumb.jpg","galleries_id":219347,"server_id":15,"link":"photo_5483850.html","width":130,"caption":"","height":98});
															thumbnails[5483881] = clik.newPhoto({"id":5483881,"src":"IMG_5365_thumb.jpg","galleries_id":219347,"server_id":15,"link":"photo_5483881.html","width":130,"caption":"","height":98});
															thumbnails[5483897] = clik.newPhoto({"id":5483897,"src":"IMG_5360_thumb.jpg","galleries_id":219347,"server_id":15,"link":"photo_5483897.html","width":130,"caption":"","height":98});
															thumbnails[5500320] = clik.newPhoto({"id":5500320,"src":"pugs-a-300dpi-copy_thumb.jpg","galleries_id":311416,"server_id":15,"link":"photo_5500320.html","width":130,"caption":"","height":129});
															thumbnails[5515871] = clik.newPhoto({"id":5515871,"src":"AAkerman1_thumb.jpg","galleries_id":311416,"server_id":15,"link":"photo_5515871.html","width":130,"caption":"","height":129});
															thumbnails[5515873] = clik.newPhoto({"id":5515873,"src":"AAkerman3_thumb.jpg","galleries_id":311416,"server_id":15,"link":"photo_5515873.html","width":130,"caption":"","height":132});
															thumbnails[5516068] = clik.newPhoto({"id":5516068,"src":"air-beach_thumb.jpg","galleries_id":311416,"server_id":15,"link":"photo_5516068.html","width":130,"caption":"","height":128});
															thumbnails[5516087] = clik.newPhoto({"id":5516087,"src":"falls-of-clyde11_thumb.jpg","galleries_id":311416,"server_id":15,"link":"photo_5516087.html","width":130,"caption":"","height":127});
															thumbnails[5649639] = clik.newPhoto({"id":5649639,"src":"laurieblack-edge1_thumb.jpg","galleries_id":202318,"server_id":15,"link":"photo_5649639.html","width":130,"caption":"","height":129});
															thumbnails[5819985] = clik.newPhoto({"id":5819985,"src":"rose-walk_thumb.jpg","galleries_id":311416,"server_id":15,"link":"photo_5819985.html","width":130,"caption":"","height":130});
															thumbnails[5824154] = clik.newPhoto({"id":5824154,"src":"national-trust-13-copy_thumb.jpg","galleries_id":311416,"server_id":15,"link":"photo_5824154.html","width":130,"caption":"","height":104});
															thumbnails[5898014] = clik.newPhoto({"id":5898014,"src":"IMG_5744_thumb.jpg","galleries_id":219347,"server_id":15,"link":"photo_5898014.html","width":130,"caption":"","height":98});
															thumbnails[5898019] = clik.newPhoto({"id":5898019,"src":"IMG_5752_thumb.jpg","galleries_id":219347,"server_id":15,"link":"photo_5898019.html","width":130,"caption":"","height":98});
															thumbnails[5898043] = clik.newPhoto({"id":5898043,"src":"IMG_5741_thumb.jpg","galleries_id":219347,"server_id":15,"link":"photo_5898043.html","width":130,"caption":"","height":98});
															thumbnails[5898050] = clik.newPhoto({"id":5898050,"src":"IMG_5739_thumb.jpg","galleries_id":235647,"server_id":15,"link":"photo_5898050.html","width":130,"caption":"","height":98});
															thumbnails[6154909] = clik.newPhoto({"id":6154909,"src":"Rain-1_thumb.jpg","galleries_id":335739,"server_id":15,"link":"photo_6154909.html","width":130,"caption":"","height":130});
															thumbnails[6154911] = clik.newPhoto({"id":6154911,"src":"Rain2_thumb.jpg","galleries_id":335739,"server_id":15,"link":"photo_6154911.html","width":130,"caption":"","height":130});
															thumbnails[6154914] = clik.newPhoto({"id":6154914,"src":"Rain-3_thumb.jpg","galleries_id":335739,"server_id":15,"link":"photo_6154914.html","width":130,"caption":"","height":130});
															thumbnails[6154916] = clik.newPhoto({"id":6154916,"src":"Rain-4_thumb.jpg","galleries_id":335739,"server_id":15,"link":"photo_6154916.html","width":130,"caption":"","height":130});
															thumbnails[6521264] = clik.newPhoto({"id":6521264,"src":"Carolyn-behind-glass_thumb.jpg","galleries_id":311416,"server_id":15,"link":"photo_6521264.html","width":130,"caption":"","height":130});
															thumbnails[6521552] = clik.newPhoto({"id":6521552,"src":"White-dog-1_thumb.jpg","galleries_id":311416,"server_id":15,"link":"photo_6521552.html","width":130,"caption":"","height":130});
															thumbnails[6929505] = clik.newPhoto({"id":6929505,"src":"Ashton-Valley-restaurant-copy_thumb.jpg","galleries_id":311416,"server_id":15,"link":"photo_6929505.html","width":130,"caption":"","height":130});
															thumbnails[6929776] = clik.newPhoto({"id":6929776,"src":"cornwall-09-C-3_thumb.jpg","galleries_id":311416,"server_id":15,"link":"photo_6929776.html","width":130,"caption":"","height":130});
															thumbnails[6929780] = clik.newPhoto({"id":6929780,"src":"Izo-yellow-3_thumb.jpg","galleries_id":311416,"server_id":15,"link":"photo_6929780.html","width":130,"caption":"","height":130});
															thumbnails[6932622] = clik.newPhoto({"id":6932622,"src":"cornwall-09-bw-6-copy1_thumb.jpg","galleries_id":311416,"server_id":15,"link":"photo_6932622.html","width":130,"caption":"","height":100});
															thumbnails[7314686] = clik.newPhoto({"id":7314686,"src":"IMG_0750_thumb.jpg","galleries_id":395662,"server_id":15,"link":"photo_7314686.html","width":130,"caption":"","height":97});
															thumbnails[7314689] = clik.newPhoto({"id":7314689,"src":"IMG_07341_thumb.jpg","galleries_id":395662,"server_id":15,"link":"photo_7314689.html","width":130,"caption":"","height":174});
															thumbnails[7339187] = clik.newPhoto({"id":7339187,"src":"welsh-tradition059_thumb.jpg","galleries_id":219347,"server_id":15,"link":"photo_7339187.html","width":130,"caption":"","height":177});
															thumbnails[7339228] = clik.newPhoto({"id":7339228,"src":"DSC_0013_thumb.jpg","galleries_id":335716,"server_id":15,"link":"photo_7339228.html","width":130,"caption":"","height":130});
															thumbnails[7368337] = clik.newPhoto({"id":7368337,"src":"pencil-illustration-1-copy_thumb.jpg","galleries_id":219347,"server_id":15,"link":"photo_7368337.html","width":130,"caption":"","height":98});
															thumbnails[7368346] = clik.newPhoto({"id":7368346,"src":"pencil-illustartion-2-copy_thumb.jpg","galleries_id":219347,"server_id":15,"link":"photo_7368346.html","width":130,"caption":"","height":98});
															thumbnails[7627494] = clik.newPhoto({"id":7627494,"src":"breakwater-copy_thumb.jpg","galleries_id":413600,"server_id":15,"link":"photo_7627494.html","width":130,"caption":"","height":103});
															thumbnails[8167740] = clik.newPhoto({"id":8167740,"src":"nike2_thumb.jpg","galleries_id":395662,"server_id":15,"link":"photo_8167740.html","width":130,"caption":"","height":84});
															thumbnails[8167743] = clik.newPhoto({"id":8167743,"src":"nike3_thumb.jpg","galleries_id":395662,"server_id":15,"link":"photo_8167743.html","width":130,"caption":"","height":84});
															thumbnails[8167748] = clik.newPhoto({"id":8167748,"src":"Picture29_thumb.jpg","galleries_id":395662,"server_id":15,"link":"photo_8167748.html","width":130,"caption":"","height":84});
															thumbnails[8167795] = clik.newPhoto({"id":8167795,"src":"gillette1_thumb.jpg","galleries_id":436308,"server_id":15,"link":"photo_8167795.html","width":130,"caption":"","height":84});
															thumbnails[8167808] = clik.newPhoto({"id":8167808,"src":"scent1_thumb.jpg","galleries_id":436312,"server_id":15,"link":"photo_8167808.html","width":130,"caption":"","height":84});
															thumbnails[8167810] = clik.newPhoto({"id":8167810,"src":"scent3_thumb.jpg","galleries_id":436312,"server_id":15,"link":"photo_8167810.html","width":130,"caption":"","height":84});
															thumbnails[8167812] = clik.newPhoto({"id":8167812,"src":"scent5_thumb.jpg","galleries_id":436312,"server_id":15,"link":"photo_8167812.html","width":130,"caption":"","height":84});
															thumbnails[8167818] = clik.newPhoto({"id":8167818,"src":"cebion1_thumb.jpg","galleries_id":436314,"server_id":15,"link":"photo_8167818.html","width":130,"caption":"","height":84});
															thumbnails[8167824] = clik.newPhoto({"id":8167824,"src":"firstdays1_thumb.jpg","galleries_id":436317,"server_id":15,"link":"photo_8167824.html","width":130,"caption":"","height":84});
															thumbnails[8167825] = clik.newPhoto({"id":8167825,"src":"firstdays5_thumb.jpg","galleries_id":436317,"server_id":15,"link":"photo_8167825.html","width":130,"caption":"","height":84});
															thumbnails[8167830] = clik.newPhoto({"id":8167830,"src":"thomas1_thumb.jpg","galleries_id":436319,"server_id":15,"link":"photo_8167830.html","width":130,"caption":"","height":84});
															thumbnails[8167831] = clik.newPhoto({"id":8167831,"src":"thomas5_thumb.jpg","galleries_id":436319,"server_id":15,"link":"photo_8167831.html","width":130,"caption":"","height":84});
															thumbnails[8167832] = clik.newPhoto({"id":8167832,"src":"thomas7_thumb.jpg","galleries_id":436319,"server_id":15,"link":"photo_8167832.html","width":130,"caption":"","height":84});
															thumbnails[8167840] = clik.newPhoto({"id":8167840,"src":"blacksite1_thumb.jpg","galleries_id":436320,"server_id":15,"link":"photo_8167840.html","width":130,"caption":"","height":84});
															thumbnails[8167842] = clik.newPhoto({"id":8167842,"src":"blacksite3_thumb.jpg","galleries_id":436320,"server_id":15,"link":"photo_8167842.html","width":130,"caption":"","height":84});
															thumbnails[8167843] = clik.newPhoto({"id":8167843,"src":"blacksite2_thumb.jpg","galleries_id":436320,"server_id":15,"link":"photo_8167843.html","width":130,"caption":"","height":84});
															thumbnails[8167849] = clik.newPhoto({"id":8167849,"src":"Picture_31_thumb.png","galleries_id":436325,"server_id":15,"link":"photo_8167849.html","width":130,"caption":"","height":103});
															thumbnails[8167850] = clik.newPhoto({"id":8167850,"src":"Picture_29_thumb.png","galleries_id":436325,"server_id":15,"link":"photo_8167850.html","width":130,"caption":"","height":102});
															thumbnails[8167851] = clik.newPhoto({"id":8167851,"src":"Picture_32_thumb.png","galleries_id":436325,"server_id":15,"link":"photo_8167851.html","width":130,"caption":"","height":99});
															thumbnails[8167864] = clik.newPhoto({"id":8167864,"src":"Picture36_thumb.jpg","galleries_id":436328,"server_id":15,"link":"photo_8167864.html","width":130,"caption":"","height":71});
															thumbnails[8167865] = clik.newPhoto({"id":8167865,"src":"Picture35_thumb.jpg","galleries_id":436328,"server_id":15,"link":"photo_8167865.html","width":130,"caption":"","height":71});
															thumbnails[8167867] = clik.newPhoto({"id":8167867,"src":"Picture_33_thumb.jpg","galleries_id":436328,"server_id":15,"link":"photo_8167867.html","width":130,"caption":"","height":71});
															thumbnails[8167888] = clik.newPhoto({"id":8167888,"src":"mccain_thumb.jpg","galleries_id":436330,"server_id":15,"link":"photo_8167888.html","width":130,"caption":"","height":74});
															thumbnails[8171426] = clik.newPhoto({"id":8171426,"src":"Picture_31_thumb.jpg","galleries_id":436446,"server_id":15,"link":"photo_8171426.html","width":130,"caption":"","height":74});
															thumbnails[8171427] = clik.newPhoto({"id":8171427,"src":"Picture_32_thumb.jpg","galleries_id":436446,"server_id":15,"link":"photo_8171427.html","width":130,"caption":"","height":73});
															thumbnails[8171428] = clik.newPhoto({"id":8171428,"src":"Picture_33_475B34A0-24E8-5EC4-4FCBCF7471739399_thumb.jpg","galleries_id":436446,"server_id":15,"link":"photo_8171428.html","width":130,"caption":"","height":73});
															thumbnails[8171430] = clik.newPhoto({"id":8171430,"src":"Picture_34_thumb.jpg","galleries_id":436446,"server_id":15,"link":"photo_8171430.html","width":130,"caption":"","height":72});
															thumbnails[8171519] = clik.newPhoto({"id":8171519,"src":"adultery5_thumb.jpg","galleries_id":436453,"server_id":15,"link":"photo_8171519.html","width":130,"caption":"","height":84});
															thumbnails[8171520] = clik.newPhoto({"id":8171520,"src":"adultery2_thumb.jpg","galleries_id":436453,"server_id":15,"link":"photo_8171520.html","width":130,"caption":"","height":84});
															thumbnails[8171522] = clik.newPhoto({"id":8171522,"src":"adultery3_thumb.jpg","galleries_id":436453,"server_id":15,"link":"photo_8171522.html","width":130,"caption":"","height":84});
															thumbnails[8171904] = clik.newPhoto({"id":8171904,"src":"borrowedtime_thumb.jpg","galleries_id":436467,"server_id":15,"link":"photo_8171904.html","width":130,"caption":"","height":97});
															thumbnails[9028329] = clik.newPhoto({"id":9028329,"src":"children-in-need-5_thumb.jpg","galleries_id":475731,"server_id":15,"link":"photo_9028329.html","width":130,"caption":"","height":70});
															thumbnails[9028344] = clik.newPhoto({"id":9028344,"src":"children-in-need-6_thumb.jpg","galleries_id":475731,"server_id":15,"link":"photo_9028344.html","width":130,"caption":"","height":70});
															thumbnails[9028349] = clik.newPhoto({"id":9028349,"src":"children-in-need-7_thumb.jpg","galleries_id":475731,"server_id":15,"link":"photo_9028349.html","width":130,"caption":"","height":70});
															thumbnails[9028552] = clik.newPhoto({"id":9028552,"src":"children-in-need-1_thumb.jpg","galleries_id":475743,"server_id":15,"link":"photo_9028552.html","width":130,"caption":"","height":70});
															thumbnails[9028570] = clik.newPhoto({"id":9028570,"src":"children-in-need-2_thumb.jpg","galleries_id":475743,"server_id":15,"link":"photo_9028570.html","width":130,"caption":"","height":70});
															thumbnails[9028703] = clik.newPhoto({"id":9028703,"src":"children-in-need-4_thumb.jpg","galleries_id":475745,"server_id":15,"link":"photo_9028703.html","width":130,"caption":"","height":70});
															thumbnails[9028760] = clik.newPhoto({"id":9028760,"src":"children-in-need-8_thumb.jpg","galleries_id":475745,"server_id":15,"link":"photo_9028760.html","width":130,"caption":"","height":70});
															thumbnails[9028861] = clik.newPhoto({"id":9028861,"src":"coma-39-3_thumb.jpg","galleries_id":475751,"server_id":15,"link":"photo_9028861.html","width":130,"caption":"","height":77});
															thumbnails[9028866] = clik.newPhoto({"id":9028866,"src":"coma-39-1_thumb.jpg","galleries_id":475751,"server_id":15,"link":"photo_9028866.html","width":130,"caption":"","height":77});
															thumbnails[9028869] = clik.newPhoto({"id":9028869,"src":"coma-39-2_thumb.jpg","galleries_id":475751,"server_id":15,"link":"photo_9028869.html","width":130,"caption":"","height":76});
															thumbnails[9028925] = clik.newPhoto({"id":9028925,"src":"nanny-state-1_thumb.jpg","galleries_id":475753,"server_id":15,"link":"photo_9028925.html","width":130,"caption":"","height":130});
															thumbnails[9029110] = clik.newPhoto({"id":9029110,"src":"leisure-soc-4_thumb.jpg","galleries_id":475763,"server_id":15,"link":"photo_9029110.html","width":130,"caption":"","height":70});
															thumbnails[9029114] = clik.newPhoto({"id":9029114,"src":"leisure-soc-3_thumb.jpg","galleries_id":475763,"server_id":15,"link":"photo_9029114.html","width":130,"caption":"","height":70});
															thumbnails[9029116] = clik.newPhoto({"id":9029116,"src":"leisure-soc-2_thumb.jpg","galleries_id":475763,"server_id":15,"link":"photo_9029116.html","width":130,"caption":"","height":70});
															thumbnails[3808687] = clik.newPhoto({"id":3808687,"src":"6_copy_thumb.jpg","galleries_id":202318,"server_id":15,"link":"photo_3808687.html","width":130,"caption":"","height":106});
															thumbnails[5215378] = clik.newPhoto({"id":5215378,"src":"paper_jungle_14_thumb.jpg","galleries_id":475767,"server_id":15,"link":"photo_5215378.html","width":130,"caption":"","height":133});
															thumbnails[5225215] = clik.newPhoto({"id":5225215,"src":"polka-copy_thumb.jpg","galleries_id":248442,"server_id":15,"link":"photo_5225215.html","width":130,"caption":"","height":99});
															thumbnails[5395056] = clik.newPhoto({"id":5395056,"src":"simon-hen_thumb.jpg","galleries_id":248442,"server_id":15,"link":"photo_5395056.html","width":130,"caption":"","height":164});
															thumbnails[4720137] = clik.newPhoto({"id":4720137,"src":"raf_guns_thumb.jpg","galleries_id":248442,"server_id":15,"link":"photo_4720137.html","width":130,"caption":"","height":101});
															thumbnails[5215738] = clik.newPhoto({"id":5215738,"src":"paper_jungle_72_dpi_thumb.jpg","galleries_id":475767,"server_id":15,"link":"photo_5215738.html","width":130,"caption":"","height":130});
															thumbnails[5949479] = clik.newPhoto({"id":5949479,"src":"aliema-art-dir-2_thumb.jpg","galleries_id":335716,"server_id":15,"link":"photo_5949479.html","width":130,"caption":"","height":86});
															thumbnails[3879822] = clik.newPhoto({"id":3879822,"src":"50_copy_212_thumb.jpg","galleries_id":202318,"server_id":15,"link":"photo_3879822.html","width":130,"caption":"","height":104});
															thumbnails[3929033] = clik.newPhoto({"id":3929033,"src":"paper_jungle_6_copy_thumb.jpg","galleries_id":475767,"server_id":15,"link":"photo_3929033.html","width":130,"caption":"","height":134});
															thumbnails[4719764] = clik.newPhoto({"id":4719764,"src":"falconers01_thumb.jpg","galleries_id":248442,"server_id":15,"link":"photo_4719764.html","width":130,"caption":"","height":101});
															thumbnails[5949526] = clik.newPhoto({"id":5949526,"src":"aliema-7_thumb.jpg","galleries_id":335716,"server_id":15,"link":"photo_5949526.html","width":130,"caption":"","height":86});
															thumbnails[3929856] = clik.newPhoto({"id":3929856,"src":"5002_thumb.jpg","galleries_id":202318,"server_id":15,"link":"photo_3929856.html","width":130,"caption":"","height":104});
															thumbnails[4719392] = clik.newPhoto({"id":4719392,"src":"underwater_pc16_thumb.jpg","galleries_id":248442,"server_id":15,"link":"photo_4719392.html","width":130,"caption":"","height":84});
															thumbnails[5949495] = clik.newPhoto({"id":5949495,"src":"aliema-art-dir-4_thumb.jpg","galleries_id":335716,"server_id":15,"link":"photo_5949495.html","width":130,"caption":"","height":86});
															thumbnails[4720312] = clik.newPhoto({"id":4720312,"src":"underwater_pc02_thumb.jpg","galleries_id":248442,"server_id":15,"link":"photo_4720312.html","width":130,"caption":"","height":82});
															thumbnails[5949506] = clik.newPhoto({"id":5949506,"src":"aliema-art-dir-6_thumb.jpg","galleries_id":335716,"server_id":15,"link":"photo_5949506.html","width":130,"caption":"","height":86});
															thumbnails[3929878] = clik.newPhoto({"id":3929878,"src":"3702_thumb.jpg","galleries_id":202318,"server_id":15,"link":"photo_3929878.html","width":130,"caption":"","height":104});
															thumbnails[5370023] = clik.newPhoto({"id":5370023,"src":"pigeon-fancier-a-72dpi_thumb.jpg","galleries_id":248442,"server_id":15,"link":"photo_5370023.html","width":130,"caption":"","height":191});
															thumbnails[5949579] = clik.newPhoto({"id":5949579,"src":"aliema-8_thumb.jpg","galleries_id":335716,"server_id":15,"link":"photo_5949579.html","width":130,"caption":"","height":86});
															thumbnails[5370159] = clik.newPhoto({"id":5370159,"src":"wish_thumb.jpg","galleries_id":248442,"server_id":15,"link":"photo_5370159.html","width":130,"caption":"","height":134});
															thumbnails[5394002] = clik.newPhoto({"id":5394002,"src":"gus-bubble_thumb.jpg","galleries_id":248442,"server_id":15,"link":"photo_5394002.html","width":130,"caption":"","height":153});
															thumbnails[3929812] = clik.newPhoto({"id":3929812,"src":"DSC_0030_thumb.jpg","galleries_id":202318,"server_id":15,"link":"photo_3929812.html","width":130,"caption":"","height":86});
															thumbnails[5394893] = clik.newPhoto({"id":5394893,"src":"neil_thumb.jpg","galleries_id":248442,"server_id":15,"link":"photo_5394893.html","width":130,"caption":"","height":186});
															thumbnails[3929802] = clik.newPhoto({"id":3929802,"src":"47_thumb.jpg","galleries_id":202318,"server_id":15,"link":"photo_3929802.html","width":130,"caption":"","height":129});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[335716] = clik.newGallery({"parentGallery":335702,"usePopups":false,"title":"'AilemA' ","link":"gallery_335716.html","maxRecords":0.0,"photoIDs":[7339228.0,5949479.0,5949526.0,5949495.0,5949506.0,5949579.0],"skipIndex":0,"section_code":"gallery","featured_images":"7339228,5949579,5949526,5949506,5949495,5949479","id":335716,"singleSection":false});				  						galleries[436328] = clik.newGallery({"parentGallery":335702,"usePopups":false,"title":"'bbc radio 1's big weekend'","link":"gallery_436328.html","maxRecords":0.0,"photoIDs":[8167864.0,8167865.0,8167867.0],"skipIndex":0,"section_code":"gallery","featured_images":"8167867,8167865,8167864","id":436328,"singleSection":false});				  						galleries[436446] = clik.newGallery({"parentGallery":335702,"usePopups":false,"title":"'born short film festival trailer'","link":"gallery_436446.html","maxRecords":0.0,"photoIDs":[8171426.0,8171427.0,8171428.0,8171430.0],"skipIndex":0,"section_code":"gallery","featured_images":"8171430,8171428,8171427,8171426","id":436446,"singleSection":false});				  						galleries[436467] = clik.newGallery({"parentGallery":335702,"usePopups":false,"title":"'borrowed time'","link":"gallery_436467.html","maxRecords":0.0,"photoIDs":[8171904.0],"skipIndex":0,"section_code":"gallery","featured_images":8171904.0,"id":436467,"singleSection":false});				  						galleries[436314] = clik.newGallery({"parentGallery":335702,"usePopups":false,"title":"'cebion umbrella'","link":"gallery_436314.html","maxRecords":0.0,"photoIDs":[8167818.0],"skipIndex":0,"section_code":"gallery","featured_images":8167818.0,"id":436314,"singleSection":false});				  						galleries[475745] = clik.newGallery({"parentGallery":335702,"usePopups":false,"title":"'Children In Need Show Your Spots, at work'","link":"gallery_475745.html","maxRecords":0.0,"photoIDs":[9028703.0,9028760.0],"skipIndex":0,"section_code":"gallery","featured_images":"9028760,9028703","id":475745,"singleSection":false});				  						galleries[475743] = clik.newGallery({"parentGallery":335702,"usePopups":false,"title":"'Children In Need Show Your Spots, Beans'","link":"gallery_475743.html","maxRecords":0.0,"photoIDs":[9028552.0,9028570.0],"skipIndex":0,"section_code":"gallery","featured_images":"9028570,9028552","id":475743,"singleSection":false});				  						galleries[475731] = clik.newGallery({"parentGallery":335702,"usePopups":false,"title":"'Children In Need Show Your Spots, Lady Gaga'","link":"gallery_475731.html","maxRecords":0.0,"photoIDs":[9028329.0,9028344.0,9028349.0],"skipIndex":0,"section_code":"gallery","featured_images":"9028349,9028344,9028329","id":475731,"singleSection":false});				  						galleries[475751] = clik.newGallery({"parentGallery":335702,"usePopups":false,"title":"'Comma 39'","link":"gallery_475751.html","maxRecords":0.0,"photoIDs":[9028861.0,9028866.0,9028869.0],"skipIndex":0,"section_code":"gallery","featured_images":"9028869,9028866,9028861","id":475751,"singleSection":false});				  						galleries[436308] = clik.newGallery({"parentGallery":335702,"usePopups":false,"title":"'gillette invasion'","link":"gallery_436308.html","maxRecords":0.0,"photoIDs":[8167795.0],"skipIndex":0,"section_code":"gallery","featured_images":8167795.0,"id":436308,"singleSection":false});				  						galleries[436330] = clik.newGallery({"parentGallery":335702,"usePopups":false,"title":"'mcCain pride its all good'","link":"gallery_436330.html","maxRecords":0.0,"photoIDs":[8167888.0],"skipIndex":0,"section_code":"gallery","featured_images":8167888.0,"id":436330,"singleSection":false});				  						galleries[395662] = clik.newGallery({"parentGallery":335702,"usePopups":false,"title":"'Nike 78'","link":"gallery_395662.html","maxRecords":0.0,"photoIDs":[7314686.0,7314689.0,8167740.0,8167743.0,8167748.0],"skipIndex":0,"section_code":"gallery","featured_images":"8167748,8167743,8167740,7314689,7314686","id":395662,"singleSection":false});				  						galleries[335739] = clik.newGallery({"parentGallery":335702,"usePopups":false,"title":"'Rain'","link":"gallery_335739.html","maxRecords":0.0,"photoIDs":[6154909.0,6154911.0,6154914.0,6154916.0],"skipIndex":0,"section_code":"gallery","featured_images":"6154916,6154914,6154911,6154909","id":335739,"singleSection":false});				  						galleries[436325] = clik.newGallery({"parentGallery":335702,"usePopups":false,"title":"'rouge amour'","link":"gallery_436325.html","maxRecords":0.0,"photoIDs":[8167849.0,8167850.0,8167851.0],"skipIndex":0,"section_code":"gallery","featured_images":"8167851,8167850,8167849","id":436325,"singleSection":false});				  						galleries[436312] = clik.newGallery({"parentGallery":335702,"usePopups":false,"title":"'scent'","link":"gallery_436312.html","maxRecords":0.0,"photoIDs":[8167808.0,8167810.0,8167812.0],"skipIndex":0,"section_code":"gallery","featured_images":"8167812,8167810,8167808","id":436312,"singleSection":false});				  						galleries[436320] = clik.newGallery({"parentGallery":335702,"usePopups":false,"title":"'the black site'","link":"gallery_436320.html","maxRecords":0.0,"photoIDs":[8167840.0,8167842.0,8167843.0],"skipIndex":0,"section_code":"gallery","featured_images":"8167843,8167842,8167840","id":436320,"singleSection":false});				  						galleries[436317] = clik.newGallery({"parentGallery":335702,"usePopups":false,"title":"'the first days of spring'","link":"gallery_436317.html","maxRecords":0.0,"photoIDs":[8167824.0,8167825.0],"skipIndex":0,"section_code":"gallery","featured_images":"8167825,8167824","id":436317,"singleSection":false});				  						galleries[475753] = clik.newGallery({"parentGallery":335702,"usePopups":false,"title":"'the Nanny State'","link":"gallery_475753.html","maxRecords":0.0,"photoIDs":[9028925.0],"skipIndex":0,"section_code":"gallery","featured_images":9028925.0,"id":475753,"singleSection":false});				  						galleries[436319] = clik.newGallery({"parentGallery":335702,"usePopups":false,"title":"'thomas'","link":"gallery_436319.html","maxRecords":0.0,"photoIDs":[8167830.0,8167831.0,8167832.0],"skipIndex":0,"section_code":"gallery","featured_images":"8167832,8167831,8167830","id":436319,"singleSection":false});				  						galleries[475767] = clik.newGallery({"parentGallery":335702,"usePopups":false,"title":"Emiliana Torrini: 'Jungle Drum' Promo","link":"gallery_475767.html","maxRecords":0.0,"photoIDs":[5215378.0,5215738.0,3929033.0],"skipIndex":0,"section_code":"gallery","featured_images":"5215738,5215378,3929033","id":475767,"singleSection":false});				  						galleries[436453] = clik.newGallery({"parentGallery":335702,"usePopups":false,"title":"Little Comets: 'Adultery' Promo","link":"gallery_436453.html","maxRecords":0.0,"photoIDs":[8171519.0,8171520.0,8171522.0],"skipIndex":0,"section_code":"gallery","featured_images":"8171522,8171520,8171519","id":436453,"singleSection":false});				  						galleries[475763] = clik.newGallery({"parentGallery":335702,"usePopups":false,"title":"The Leisure Society: 'This Phantom Life' Promo","link":"gallery_475763.html","maxRecords":0.0,"photoIDs":[9029110.0,9029114.0,9029116.0],"skipIndex":0,"section_code":"gallery","featured_images":"9029116,9029114,9029110","id":475763,"singleSection":false});				  						galleries[335702] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"film and advertising work","link":"gallery_335702.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"9029116,9029114,9029110,9028925,9028869,9028866,9028861,9028760,9028703,9028570","id":335702,"singleSection":false});				  						galleries[248442] = clik.newGallery({"parentGallery":430487,"usePopups":false,"title":"one","link":"gallery_248442.html","maxRecords":0.0,"photoIDs":[5225215.0,5395056.0,4720137.0,4719764.0,4719392.0,4720312.0,5370023.0,5370159.0,5394002.0,5394893.0],"skipIndex":0,"section_code":"gallery","featured_images":"5395056,5394893,5394002,5370159,5370023,5225215,4720312,4720137,4719764,4719392","id":248442,"singleSection":false});				  						galleries[202317] = clik.newGallery({"parentGallery":430487,"usePopups":false,"title":"two","link":"gallery_202317.html","maxRecords":0.0,"photoIDs":[3589152.0,3589202.0,3589272.0,3589275.0,3808692.0,3879934.0,3879937.0,3879953.0,3879968.0,3879973.0,3879992.0,3880013.0,3880133.0,4218872.0,4218888.0,4218907.0],"skipIndex":0,"section_code":"gallery","featured_images":"4218907,4218888,4218872,3880133,3880013,3879992,3879973,3879968,3879953,3879937","id":202317,"singleSection":false});				  						galleries[430487] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"personal photographic work","link":"gallery_430487.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"7627494,6932622,6929780,6929776,6929505,6521552,6521264,5824154,5819985,5649639","id":430487,"singleSection":false});				  						galleries[202318] = clik.newGallery({"parentGallery":430487,"usePopups":false,"title":"three","link":"gallery_202318.html","maxRecords":0.0,"photoIDs":[4218855.0,4575648.0,4622894.0,4622962.0,4623318.0,4623510.0,5213768.0,5213779.0,5213852.0,5369792.0,5649639.0,3808687.0,3879822.0,3929856.0,3929878.0,3929812.0,3929802.0],"skipIndex":0,"section_code":"gallery","featured_images":"5649639,5369792,5213852,5213779,5213768,4623510,4623318,4622962,4622894,4575648","id":202318,"singleSection":false});				  						galleries[311416] = clik.newGallery({"parentGallery":430487,"usePopups":false,"title":"four","link":"gallery_311416.html","maxRecords":0.0,"photoIDs":[5500320.0,5515871.0,5515873.0,5516068.0,5516087.0,5819985.0,5824154.0,6521264.0,6521552.0,6929505.0,6929776.0,6929780.0,6932622.0],"skipIndex":0,"section_code":"gallery","featured_images":"6932622,6929780,6929776,6929505,6521552,6521264,5824154,5819985,5516087,5516068","id":311416,"singleSection":false});				  						galleries[413600] = clik.newGallery({"parentGallery":430487,"usePopups":false,"title":"five","link":"gallery_413600.html","maxRecords":0.0,"photoIDs":[7627494.0],"skipIndex":0,"section_code":"gallery","featured_images":7627494.0,"id":413600,"singleSection":false});				  						galleries[219347] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"illustration","link":"gallery_219347.html","maxRecords":0.0,"photoIDs":[3619084.0,3619317.0,3619742.0,3619754.0,3619871.0,3620008.0,3620029.0,3620040.0,3929415.0,3929424.0,3929428.0,3929440.0,3929444.0,3930057.0,3930704.0,3930707.0,4716954.0,4716965.0,4716972.0,5483750.0,5483751.0,5483772.0,5483832.0,5483839.0,5483846.0,5483850.0,5483881.0,5483897.0,5898014.0,5898019.0,5898043.0,7339187.0,7368337.0,7368346.0],"skipIndex":0,"section_code":"gallery","featured_images":"7368346,7368337,7339187,5898043,5898019,5898014,5483897,5483881,5483850,5483846","id":219347,"singleSection":false});				  						galleries[235647] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"miscellaneous","link":"gallery_235647.html","maxRecords":0.0,"photoIDs":[3878959.0,3885611.0,3885619.0,3930070.0,4585597.0,4621613.0,4717032.0,4717042.0,5225995.0,5226027.0,5898050.0],"skipIndex":0,"section_code":"gallery","featured_images":"5898050,5226027,5225995,4717042,4717032,4621613,4585597,3930070,3885619,3885611","id":235647,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '9029116,9029114,9029110,9028925,9028869,9028866,9028861,9028760,9028703,9028570,9028552,9028349,9028344,9028329,8171904,8171522,8171520,8171519,8171430,8171428,8171427,8171426,8167888,8167867,8167865,8167864,8167851,8167850,8167849,8167843,8167842,8167840,8167832,8167831,8167830,8167825,8167824,8167818,8167812,8167810,8167808,8167795,8167748,8167743,8167740,7627494,7368346,7368337,7339228,7339187';
imageSets[3] = '9029116,9029114,9029110,9028925,9028869,9028866,9028861,9028760,9028703,9028570,9028552,9028349,9028344,9028329,8171904,8171522,8171520,8171519,8171430,8171428,8171427,8171426,8167888,8167867,8167865,8167864,8167851,8167850,8167849,8167843,8167842,8167840,8167832,8167831,8167830,8167825,8167824,8167818,8167812,8167810,8167808,8167795,8167748,8167743,8167740,7627494,7368346,7368337,7339228,7339187';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/augustaakerman/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/augustaakerman/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/augustaakerman/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/augustaakerman/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/augustaakerman/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/augustaakerman/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/augustaakerman/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/augustaakerman/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/augustaakerman/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/augustaakerman/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/augustaakerman/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/augustaakerman/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/augustaakerman/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/augustaakerman/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/augustaakerman/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/augustaakerman/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/augustaakerman/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/augustaakerman/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/augustaakerman/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/augustaakerman/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/augustaakerman/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/augustaakerman/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/augustaakerman/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/augustaakerman/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/augustaakerman/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/augustaakerman/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/augustaakerman/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 += 'section473021.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 && 'section473021' != '') {
					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 = 'AUGUSTA AKERMAN: ' + photoCaption;
			    }
        if (op.$detail.length > 0) {
      	temp = op.nextPhoto.fnGetImageDetails();
	    op.$detail.fadeGalleryDetails(temp, op.speed, function(){
			if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
				toggleAddToCartConfirm(backgrounds, op.$detail);
			} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
				toggleAddToCartConfirm(photos, op.$detail);
			}
			$('body').trigger('clikUpdate.popup');
	    });
    }
        $(op.$detailContainer).find('.replaceable[class*=replaceable_photo-]').each(function(){
    	var field = clik.getPrefixedClass(this.className, 'replaceable_photo-');
    	if (field in op.nextPhoto) {
    		$(this).fadeGalleryDetails(op.nextPhoto[field], op.speed);
    	}
    }).end().find('.replaceable.photoPayment').fadeGalleryDetails(op.nextPhoto.fnGetPaymentInfo(), op.speed, function(){
		if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
			toggleAddToCartConfirm(backgrounds, op.$detailContainer);
		} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
			toggleAddToCartConfirm(photos, op.$detailContainer);
		}
		$('body').trigger('clikUpdate.popup');
	});
		if (op.$photo.length > 0) {
		html = $('<img/>',{
			'class': 'mainphoto photo',
			src: photoSrc,
			id: 'mainPic',
			name: 'mainPic',
			width: op.nextPhoto.width,
			height: op.nextPhoto.height,
			alt: photoCaption,
			css: op.css || {}
		});
		if (op.href) {
			if (op.href.match(/<a/)) {
				html = $(op.href).append(html);
			} else {
				html = $('<a/>', {
					href: op.href,
					title: photoCaption
				}).append(html);
			}
		} else {
			html = $('<a/>', {
				title: photoCaption
			}).append(html);
		}
		if (op.speed == 0) {			op.$photo.html(html);			if (op.onBefore) {			  	op.onBefore.apply(op.$photo);			}			if (op.onAfter) {			  	op.onAfter.apply(op.$photo);			}		} else {			op.$photo.stop(true,true).fadeReplaceWith(html,op.speed,'',function(){  				if (op.onAfter) {				  	op.onAfter.apply(this);				}				clik.doColumnResize(false, $(this).add(op.$detail).add(op.$title));			}, op.onBefore);
		}	}
    if (op.field) {
		op.field.value = photoId;
	} else {
		op.$photo.data('image_id', photoId);
    }
        if (!op.speed) {
      	clik.doColumnResize(false, op.$photo.add(op.$detail).add(op.$title));
    }
        
    return html;
	}

/***************************************************************************
* Toggle add to cart confirmation element and set up the click event for   *
* the 'Add to cart' button.                                                *
***************************************************************************/
function toggleAddToCartConfirm(array, root){
	if (typeof(array) !== 'object' || array === null) {
	  	array = photos;
	}
	if (!$(root).length) {		root = $('body');	}	if($('#paymentConfirm', root).length > 0){
		$('#paymentConfirm', root).hide();
		$('#paymentAddButton', root)
		.unbind()
		.click(function(){
						form = $('#paymentForm', root)[0];
			option_id = 0;
			if(form.item_option.value){
				option_id = form.item_option.value;
			}
			if(addItemToBasket(form.item_number.value,array,form.site.value,parseInt(form.quantity.value, 10),option_id)){
				if($.browser.msie){$('#paymentConfirm', root).text('Item added to cart').show();}
				else{
					$('#paymentConfirm', root).text('Item added to cart').fadeIn();
					dspOrderDetails(form.site.value);
				}
			}
			else{
				$('#paymentConfirm', root).text('Item not added - check cookies are enabled in your browser.').fadeIn();
			}
		});
	}
}

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetImageDetails = function(){
	var temp = '';
	if (this.description != '') {
		temp +=  '<div id="imageDescription">' + this.description + '</div>';
	}
		if (this.photo_ref != '') {
		temp += '<div class="imageinfo" id="imageRef"><strong>Ref: </strong>' + this.photo_ref + '</div>';
	}
		if (this.takendate != '') {
		
		temp += '<div class="imageinfo" id="imageDate"><strong>Date: </strong>' + this.takendate + '</div>';
	}
	
	if (this.location != '') {
		
		temp += '<div class="imageinfo" id="imageLocation"><strong>Location: </strong>' +  this.location + '</div>';
	}
	
	if (this.photographer != '') {
		
		temp += '<div class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>' + this.photographer + '</div>';
	}
				
				if (temp != '') {
		temp += '<div class="spacer"></div>';
	}
	return temp;
};

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetPaymentInfo = function(){
	var temp = '';
	if (this.item_price !== '') {
				temp += '<p>Order this print:</p>';
				temp += '<div class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> ' + (this.item_price).toFixed(2) + '</div>';
		var item_name  = this.purchase_instruction;
		var amount = (this.item_price).toFixed(2);
		var item_option  = 0;
	}
		else {
		
	}
	if (this.item_price !== '') {
			temp += '<div class="clearing">&nbsp;</div>';
	}
	return temp;};

/***************************************************************************
* Pick a photo at random from the featured images of a gallery.            *
* Gallery_id = id of gallery to choose,                                    *
* img = reference to html image in                                         *
* which to show image                                                      *
***************************************************************************/
function showGalleryImage(gallery_id, img, updateLink) {
	
	if(img){
		if (location.hash.match('galleries_id=' + gallery_id) && (imageID = location.hash.match('.*photos_id=(.+)$'))) {
		  	imageID = imageID[1];
		} else {
		  	imageID = randomListVal(galleries[gallery_id].featured_images);
		}
		
		if (imageID != 0) {
			img.src = thumbnails[imageID].src;
			img.width = thumbnails[imageID].width;
			img.height = thumbnails[imageID].height;
			img.alt = galleries[gallery_id].title;
			if (updateLink) {
				$(img).parent().attr({					title: galleries[gallery_id].title				}).filter(function(){return this.href;}).attr({					href: thumbnails[imageID].fnGalleryLink(gallery_id)				});
			}
		}
	}
}

/***************************************************************************
* If we have dynamic HTML, replace the galleries link with a list that     *
* doesn't include thecurrent gallery                                       *
***************************************************************************/
function showGalleries(gallery_id) {
		
	
	if (!basic) {
		temp = '';
		for (i = 0; i < galleries.length; i++) {
						
			
			if (galleries[i].id != gallery_id) {
								
				if (temp != '') {
					temp += ' | ';
				}
								temp += '<a href="' + galleries[i].section_code + '_' + galleries[i].id + '.html">' + galleries[i].title + '</a>';
							}
		}
		document.all.galleryLinks.innerHTML = 'Other galleries: ' + temp;
	}
}

			

