window.thumbnails = {};
															thumbnails[2724228] = clik.newPhoto({"id":2724228,"src":"084a_thumb.jpg","galleries_id":124727,"server_id":1,"link":"photo_2724228.html","width":130,"caption":"","height":182});
															thumbnails[6035668] = clik.newPhoto({"id":6035668,"src":"048_thumb.jpg","galleries_id":124727,"server_id":1,"link":"photo_6035668.html","width":130,"caption":"","height":182});
															thumbnails[6035671] = clik.newPhoto({"id":6035671,"src":"DSC_4577_thumb.jpg","galleries_id":124727,"server_id":1,"link":"photo_6035671.html","width":130,"caption":"","height":178});
															thumbnails[6035672] = clik.newPhoto({"id":6035672,"src":"005_thumb.jpg","galleries_id":124727,"server_id":1,"link":"photo_6035672.html","width":130,"caption":"","height":182});
															thumbnails[6035677] = clik.newPhoto({"id":6035677,"src":"134_thumb.jpg","galleries_id":124727,"server_id":1,"link":"photo_6035677.html","width":130,"caption":"","height":182});
															thumbnails[6035708] = clik.newPhoto({"id":6035708,"src":"006monobw_thumb.jpg","galleries_id":124727,"server_id":1,"link":"photo_6035708.html","width":130,"caption":"","height":182});
															thumbnails[6035764] = clik.newPhoto({"id":6035764,"src":"069_thumb.jpg","galleries_id":124727,"server_id":1,"link":"photo_6035764.html","width":130,"caption":"","height":93});
															thumbnails[6035781] = clik.newPhoto({"id":6035781,"src":"012mono_thumb.jpg","galleries_id":124727,"server_id":1,"link":"photo_6035781.html","width":130,"caption":"","height":130});
															thumbnails[6035838] = clik.newPhoto({"id":6035838,"src":"139_thumb.jpg","galleries_id":124727,"server_id":1,"link":"photo_6035838.html","width":130,"caption":"","height":182});
															thumbnails[6035892] = clik.newPhoto({"id":6035892,"src":"178_thumb.jpg","galleries_id":124727,"server_id":1,"link":"photo_6035892.html","width":130,"caption":"","height":93});
															thumbnails[6035901] = clik.newPhoto({"id":6035901,"src":"DSC_5843fb_thumb.jpg","galleries_id":124727,"server_id":1,"link":"photo_6035901.html","width":130,"caption":"","height":65});
															thumbnails[6035903] = clik.newPhoto({"id":6035903,"src":"181_thumb.jpg","galleries_id":124727,"server_id":1,"link":"photo_6035903.html","width":130,"caption":"","height":182});
															thumbnails[6036043] = clik.newPhoto({"id":6036043,"src":"089_thumb.jpg","galleries_id":124727,"server_id":1,"link":"photo_6036043.html","width":130,"caption":"","height":182});
															thumbnails[6036197] = clik.newPhoto({"id":6036197,"src":"064MONO_thumb.jpg","galleries_id":124727,"server_id":1,"link":"photo_6036197.html","width":130,"caption":"","height":182});
															thumbnails[6036204] = clik.newPhoto({"id":6036204,"src":"041MONO_thumb.jpg","galleries_id":124727,"server_id":1,"link":"photo_6036204.html","width":130,"caption":"","height":93});
															thumbnails[6036211] = clik.newPhoto({"id":6036211,"src":"031_thumb.jpg","galleries_id":124727,"server_id":1,"link":"photo_6036211.html","width":130,"caption":"","height":98});
															thumbnails[6036215] = clik.newPhoto({"id":6036215,"src":"060MONO_thumb.jpg","galleries_id":124727,"server_id":1,"link":"photo_6036215.html","width":130,"caption":"","height":86});
															thumbnails[6036217] = clik.newPhoto({"id":6036217,"src":"008_thumb.jpg","galleries_id":124727,"server_id":1,"link":"photo_6036217.html","width":130,"caption":"","height":182});
															thumbnails[6166778] = clik.newPhoto({"id":6166778,"src":"175_thumb.jpg","galleries_id":124798,"server_id":1,"link":"photo_6166778.html","width":130,"caption":"","height":182});
															thumbnails[6166792] = clik.newPhoto({"id":6166792,"src":"105_thumb.jpg","galleries_id":124798,"server_id":1,"link":"photo_6166792.html","width":130,"caption":"","height":85});
															thumbnails[6166802] = clik.newPhoto({"id":6166802,"src":"153_thumb.jpg","galleries_id":124798,"server_id":1,"link":"photo_6166802.html","width":130,"caption":"","height":182});
															thumbnails[6166978] = clik.newPhoto({"id":6166978,"src":"1fb_thumb.jpg","galleries_id":124797,"server_id":1,"link":"photo_6166978.html","width":130,"caption":"The fishing boat.","height":182});
															thumbnails[6167295] = clik.newPhoto({"id":6167295,"src":"corfefb_thumb.jpg","galleries_id":124797,"server_id":1,"link":"photo_6167295.html","width":130,"caption":"Across the fields to Corfe","height":182});
															thumbnails[6167297] = clik.newPhoto({"id":6167297,"src":"DSC_6825fb_thumb.jpg","galleries_id":124797,"server_id":1,"link":"photo_6167297.html","width":130,"caption":"The Pedigree Bull","height":182});
															thumbnails[6167299] = clik.newPhoto({"id":6167299,"src":"spinefbedit_thumb.jpg","galleries_id":124797,"server_id":1,"link":"photo_6167299.html","width":130,"caption":"Spine","height":132});
															thumbnails[6167302] = clik.newPhoto({"id":6167302,"src":"DSC_6694fbcrop_thumb.jpg","galleries_id":124797,"server_id":1,"link":"photo_6167302.html","width":130,"caption":"Beach-hut Sorbet","height":117});
															thumbnails[6167305] = clik.newPhoto({"id":6167305,"src":"007fb_thumb.jpg","galleries_id":124797,"server_id":1,"link":"photo_6167305.html","width":130,"caption":"Beyond","height":65});
															thumbnails[6167310] = clik.newPhoto({"id":6167310,"src":"100afb_thumb.jpg","galleries_id":124797,"server_id":1,"link":"photo_6167310.html","width":130,"caption":"The Hideaway","height":86});
															thumbnails[6167327] = clik.newPhoto({"id":6167327,"src":"441mono_thumb.jpg","galleries_id":124797,"server_id":1,"link":"photo_6167327.html","width":130,"caption":"All the fun of the fair...","height":182});
															thumbnails[6167332] = clik.newPhoto({"id":6167332,"src":"DSC_7438_thumb.jpg","galleries_id":124797,"server_id":1,"link":"photo_6167332.html","width":130,"caption":"Classic Twilight","height":182});
															thumbnails[6167335] = clik.newPhoto({"id":6167335,"src":"393mono_thumb.jpg","galleries_id":124797,"server_id":1,"link":"photo_6167335.html","width":130,"caption":"Sundowner...","height":182});
															thumbnails[6167336] = clik.newPhoto({"id":6167336,"src":"DSC_7398_thumb.jpg","galleries_id":124797,"server_id":1,"link":"photo_6167336.html","width":130,"caption":"Mousetrap","height":93});
															thumbnails[6167340] = clik.newPhoto({"id":6167340,"src":"450mono_thumb.jpg","galleries_id":124797,"server_id":1,"link":"photo_6167340.html","width":130,"caption":"Dizzy","height":93});
															thumbnails[6167344] = clik.newPhoto({"id":6167344,"src":"DSC_7241_thumb.jpg","galleries_id":124797,"server_id":1,"link":"photo_6167344.html","width":130,"caption":"Harking back to days gone before","height":65});
															thumbnails[6167349] = clik.newPhoto({"id":6167349,"src":"110_thumb.jpg","galleries_id":124798,"server_id":1,"link":"photo_6167349.html","width":130,"caption":"","height":147});
															thumbnails[6167351] = clik.newPhoto({"id":6167351,"src":"116_thumb.jpg","galleries_id":124798,"server_id":1,"link":"photo_6167351.html","width":130,"caption":"","height":139});
															thumbnails[6167355] = clik.newPhoto({"id":6167355,"src":"135_thumb.jpg","galleries_id":124798,"server_id":1,"link":"photo_6167355.html","width":130,"caption":"","height":130});
															thumbnails[6167357] = clik.newPhoto({"id":6167357,"src":"201_thumb.jpg","galleries_id":124798,"server_id":1,"link":"photo_6167357.html","width":130,"caption":"","height":173});
															thumbnails[6167359] = clik.newPhoto({"id":6167359,"src":"121_thumb.jpg","galleries_id":124798,"server_id":1,"link":"photo_6167359.html","width":130,"caption":"","height":130});
															thumbnails[6167365] = clik.newPhoto({"id":6167365,"src":"134_41AF373B-1EC9-D45B-1CCCCD07853C3460_thumb.jpg","galleries_id":124798,"server_id":1,"link":"photo_6167365.html","width":130,"caption":"","height":93});
															thumbnails[6167368] = clik.newPhoto({"id":6167368,"src":"198_thumb.jpg","galleries_id":124798,"server_id":1,"link":"photo_6167368.html","width":130,"caption":"","height":93});
															thumbnails[6167374] = clik.newPhoto({"id":6167374,"src":"156_thumb.jpg","galleries_id":124798,"server_id":1,"link":"photo_6167374.html","width":130,"caption":"","height":104});
															thumbnails[6167376] = clik.newPhoto({"id":6167376,"src":"161_thumb.jpg","galleries_id":124798,"server_id":1,"link":"photo_6167376.html","width":130,"caption":"","height":97});
															thumbnails[6167382] = clik.newPhoto({"id":6167382,"src":"181_41B262E0-1EC9-D45B-1CB259C61F142A71_thumb.jpg","galleries_id":124798,"server_id":1,"link":"photo_6167382.html","width":130,"caption":"","height":123});
															thumbnails[6167385] = clik.newPhoto({"id":6167385,"src":"177_thumb.jpg","galleries_id":124798,"server_id":1,"link":"photo_6167385.html","width":130,"caption":"","height":83});
															thumbnails[6167391] = clik.newPhoto({"id":6167391,"src":"179_41B47B22-1EC9-D45B-1CB44EEA39B9E56B_thumb.jpg","galleries_id":124798,"server_id":1,"link":"photo_6167391.html","width":130,"caption":"","height":86});
															thumbnails[6961664] = clik.newPhoto({"id":6961664,"src":"0113_thumb.jpg","galleries_id":124727,"server_id":1,"link":"photo_6961664.html","width":130,"caption":"","height":65});
															thumbnails[8236392] = clik.newPhoto({"id":8236392,"src":"100fb0_thumb.jpg","galleries_id":124795,"server_id":35,"link":"photo_8236392.html","width":130,"caption":"","height":182});
															thumbnails[8236393] = clik.newPhoto({"id":8236393,"src":"0182fb_thumb.jpg","galleries_id":124795,"server_id":35,"link":"photo_8236393.html","width":130,"caption":"","height":182});
															thumbnails[8236394] = clik.newPhoto({"id":8236394,"src":"DSC_184sepiafb9_thumb.jpg","galleries_id":124795,"server_id":35,"link":"photo_8236394.html","width":130,"caption":"","height":182});
															thumbnails[8236396] = clik.newPhoto({"id":8236396,"src":"DSC_1859fb_thumb.jpg","galleries_id":124795,"server_id":35,"link":"photo_8236396.html","width":130,"caption":"","height":93});
															thumbnails[8236399] = clik.newPhoto({"id":8236399,"src":"0003_thumb.jpg","galleries_id":124795,"server_id":35,"link":"photo_8236399.html","width":130,"caption":"","height":130});
															thumbnails[8236401] = clik.newPhoto({"id":8236401,"src":"0009_thumb.jpg","galleries_id":124795,"server_id":35,"link":"photo_8236401.html","width":130,"caption":"","height":92});
															thumbnails[8236405] = clik.newPhoto({"id":8236405,"src":"044fb2_thumb.jpg","galleries_id":124795,"server_id":35,"link":"photo_8236405.html","width":130,"caption":"","height":182});
															thumbnails[8236504] = clik.newPhoto({"id":8236504,"src":"web1_thumb.jpg","galleries_id":124795,"server_id":35,"link":"photo_8236504.html","width":130,"caption":"","height":191});
															thumbnails[8236511] = clik.newPhoto({"id":8236511,"src":"web2_thumb.jpg","galleries_id":124795,"server_id":35,"link":"photo_8236511.html","width":130,"caption":"","height":87});
															thumbnails[8244215] = clik.newPhoto({"id":8244215,"src":"1049_thumb.jpg","galleries_id":124795,"server_id":19,"link":"photo_8244215.html","width":130,"caption":"","height":93});
															thumbnails[4732779] = clik.newPhoto({"id":4732779,"src":"anticipation_thumb.jpg","galleries_id":124795,"server_id":1,"link":"photo_4732779.html","width":130,"caption":"","height":201});
															thumbnails[7997721] = clik.newPhoto({"id":7997721,"src":"0032_thumb.jpg","galleries_id":124795,"server_id":1,"link":"photo_7997721.html","width":130,"caption":"","height":195});
															thumbnails[6034635] = clik.newPhoto({"id":6034635,"src":"islamickiss_thumb.jpg","galleries_id":124795,"server_id":1,"link":"photo_6034635.html","width":130,"caption":"","height":182});
															thumbnails[7985884] = clik.newPhoto({"id":7985884,"src":"262029_10150206860375868_36188055867_7465427_6527213_n_thumb.jpg","galleries_id":124795,"server_id":1,"link":"photo_7985884.html","width":130,"caption":"","height":78});
															thumbnails[7997822] = clik.newPhoto({"id":7997822,"src":"0043_thumb.jpg","galleries_id":124795,"server_id":1,"link":"photo_7997822.html","width":130,"caption":"","height":87});
															thumbnails[7845787] = clik.newPhoto({"id":7845787,"src":"0829cp_thumb.jpg","galleries_id":124795,"server_id":1,"link":"photo_7845787.html","width":130,"caption":"","height":195});
															thumbnails[7997829] = clik.newPhoto({"id":7997829,"src":"01871_thumb.jpg","galleries_id":124795,"server_id":1,"link":"photo_7997829.html","width":130,"caption":"","height":182});
															thumbnails[7997762] = clik.newPhoto({"id":7997762,"src":"0182_thumb.jpg","galleries_id":124795,"server_id":1,"link":"photo_7997762.html","width":130,"caption":"","height":93});
															thumbnails[7997801] = clik.newPhoto({"id":7997801,"src":"0143_thumb.jpg","galleries_id":124795,"server_id":1,"link":"photo_7997801.html","width":130,"caption":"","height":182});
															thumbnails[7997823] = clik.newPhoto({"id":7997823,"src":"0172_thumb.jpg","galleries_id":124795,"server_id":1,"link":"photo_7997823.html","width":130,"caption":"","height":87});
															thumbnails[6034491] = clik.newPhoto({"id":6034491,"src":"090_2_thumb.jpg","galleries_id":124795,"server_id":1,"link":"photo_6034491.html","width":130,"caption":"","height":86});
															thumbnails[7997725] = clik.newPhoto({"id":7997725,"src":"0103_thumb.jpg","galleries_id":124795,"server_id":1,"link":"photo_7997725.html","width":130,"caption":"","height":182});
															thumbnails[7997820] = clik.newPhoto({"id":7997820,"src":"0156_thumb.jpg","galleries_id":124795,"server_id":1,"link":"photo_7997820.html","width":130,"caption":"","height":182});
															thumbnails[6034633] = clik.newPhoto({"id":6034633,"src":"DSC_7914_thumb.jpg","galleries_id":124795,"server_id":1,"link":"photo_6034633.html","width":130,"caption":"","height":72});
															thumbnails[7997826] = clik.newPhoto({"id":7997826,"src":"0151_thumb.jpg","galleries_id":124795,"server_id":1,"link":"photo_7997826.html","width":130,"caption":"","height":93});
															thumbnails[8006368] = clik.newPhoto({"id":8006368,"src":"0178_thumb.jpg","galleries_id":124795,"server_id":1,"link":"photo_8006368.html","width":130,"caption":"","height":58});
															thumbnails[7997720] = clik.newPhoto({"id":7997720,"src":"0053_thumb.jpg","galleries_id":124795,"server_id":1,"link":"photo_7997720.html","width":130,"caption":"","height":93});
															thumbnails[1855050] = clik.newPhoto({"id":1855050,"src":"KATIE2bw1_thumb.jpg","galleries_id":124727,"server_id":1,"link":"photo_1855050.html","width":130,"caption":"","height":194});
															thumbnails[6034629] = clik.newPhoto({"id":6034629,"src":"DSC_4606_D5A81B4A-1EC9-D45B-1C261706A471D789_thumb.jpg","galleries_id":124795,"server_id":1,"link":"photo_6034629.html","width":130,"caption":"","height":182});
															thumbnails[6247361] = clik.newPhoto({"id":6247361,"src":"090_thumb.jpg","galleries_id":124727,"server_id":1,"link":"photo_6247361.html","width":130,"caption":"","height":195});
															thumbnails[6035936] = clik.newPhoto({"id":6035936,"src":"253_thumb.jpg","galleries_id":124795,"server_id":1,"link":"photo_6035936.html","width":130,"caption":"","height":65});
															thumbnails[7997724] = clik.newPhoto({"id":7997724,"src":"0154_thumb.jpg","galleries_id":124795,"server_id":1,"link":"photo_7997724.html","width":130,"caption":"","height":182});
															thumbnails[6034508] = clik.newPhoto({"id":6034508,"src":"200_thumb.jpg","galleries_id":124795,"server_id":1,"link":"photo_6034508.html","width":130,"caption":"","height":182});
															thumbnails[6034900] = clik.newPhoto({"id":6034900,"src":"164MONO_thumb.jpg","galleries_id":124795,"server_id":1,"link":"photo_6034900.html","width":130,"caption":"","height":93});
															thumbnails[8006370] = clik.newPhoto({"id":8006370,"src":"0169_thumb.jpg","galleries_id":124795,"server_id":1,"link":"photo_8006370.html","width":130,"caption":"","height":195});
															thumbnails[6034519] = clik.newPhoto({"id":6034519,"src":"322_thumb.jpg","galleries_id":124795,"server_id":1,"link":"photo_6034519.html","width":130,"caption":"","height":182});
															thumbnails[6034522] = clik.newPhoto({"id":6034522,"src":"547_thumb.jpg","galleries_id":124795,"server_id":1,"link":"photo_6034522.html","width":130,"caption":"","height":93});
															thumbnails[6034846] = clik.newPhoto({"id":6034846,"src":"1031_thumb.jpg","galleries_id":124795,"server_id":1,"link":"photo_6034846.html","width":130,"caption":"","height":65});
															thumbnails[6034591] = clik.newPhoto({"id":6034591,"src":"DSC_3250_thumb.jpg","galleries_id":124795,"server_id":1,"link":"photo_6034591.html","width":130,"caption":"","height":173});
															thumbnails[6035247] = clik.newPhoto({"id":6035247,"src":"235_2_thumb.jpg","galleries_id":124795,"server_id":1,"link":"photo_6035247.html","width":130,"caption":"","height":182});
															thumbnails[6034517] = clik.newPhoto({"id":6034517,"src":"283_thumb.jpg","galleries_id":124795,"server_id":1,"link":"photo_6034517.html","width":130,"caption":"","height":65});
															thumbnails[7997719] = clik.newPhoto({"id":7997719,"src":"0050_thumb.jpg","galleries_id":124795,"server_id":1,"link":"photo_7997719.html","width":130,"caption":"","height":95});
															thumbnails[6035939] = clik.newPhoto({"id":6035939,"src":"274mono_thumb.jpg","galleries_id":124795,"server_id":1,"link":"photo_6035939.html","width":130,"caption":"","height":130});
															thumbnails[6243805] = clik.newPhoto({"id":6243805,"src":"593_thumb.jpg","galleries_id":124795,"server_id":1,"link":"photo_6243805.html","width":130,"caption":"","height":130});
															thumbnails[7997824] = clik.newPhoto({"id":7997824,"src":"0173_thumb.jpg","galleries_id":124795,"server_id":1,"link":"photo_7997824.html","width":130,"caption":"","height":65});
															thumbnails[6035234] = clik.newPhoto({"id":6035234,"src":"179_thumb.jpg","galleries_id":124795,"server_id":1,"link":"photo_6035234.html","width":130,"caption":"","height":182});
															thumbnails[6855897] = clik.newPhoto({"id":6855897,"src":"1520_thumb.jpg","galleries_id":124795,"server_id":1,"link":"photo_6855897.html","width":130,"caption":"","height":65});
															thumbnails[8006366] = clik.newPhoto({"id":8006366,"src":"0057_thumb.jpg","galleries_id":124795,"server_id":1,"link":"photo_8006366.html","width":130,"caption":"","height":65});
															thumbnails[6034510] = clik.newPhoto({"id":6034510,"src":"273mono_thumb.jpg","galleries_id":124795,"server_id":1,"link":"photo_6034510.html","width":130,"caption":"","height":182});
															thumbnails[4100399] = clik.newPhoto({"id":4100399,"src":"gallery_front_page_weda1_thumb.jpg","galleries_id":124795,"server_id":1,"link":"photo_4100399.html","width":130,"caption":"","height":195});
															thumbnails[6035262] = clik.newPhoto({"id":6035262,"src":"259_2_thumb.jpg","galleries_id":124795,"server_id":1,"link":"photo_6035262.html","width":130,"caption":"","height":130});
															thumbnails[6034906] = clik.newPhoto({"id":6034906,"src":"185mono_thumb.jpg","galleries_id":124795,"server_id":1,"link":"photo_6034906.html","width":130,"caption":"","height":93});
															thumbnails[6739644] = clik.newPhoto({"id":6739644,"src":"0593vintagefb_thumb.jpg","galleries_id":124795,"server_id":1,"link":"photo_6739644.html","width":130,"caption":"","height":130});
															thumbnails[6034886] = clik.newPhoto({"id":6034886,"src":"3_thumb.jpg","galleries_id":124795,"server_id":1,"link":"photo_6034886.html","width":130,"caption":"","height":65});
															thumbnails[6739641] = clik.newPhoto({"id":6739641,"src":"0586fbsepia_thumb.jpg","galleries_id":124795,"server_id":1,"link":"photo_6739641.html","width":130,"caption":"","height":87});
															thumbnails[6034628] = clik.newPhoto({"id":6034628,"src":"DSC_4546_D5A7AF23-1EC9-D45B-1CB1AB3328D26827_thumb.jpg","galleries_id":124795,"server_id":1,"link":"photo_6034628.html","width":130,"caption":"","height":93});
															thumbnails[4732777] = clik.newPhoto({"id":4732777,"src":"jump1_thumb.jpg","galleries_id":124795,"server_id":1,"link":"photo_4732777.html","width":130,"caption":"","height":182});
															thumbnails[6035231] = clik.newPhoto({"id":6035231,"src":"190mono_thumb.jpg","galleries_id":124795,"server_id":1,"link":"photo_6035231.html","width":130,"caption":"","height":93});
															thumbnails[6035244] = clik.newPhoto({"id":6035244,"src":"201mono_thumb.jpg","galleries_id":124795,"server_id":1,"link":"photo_6035244.html","width":130,"caption":"","height":93});
															thumbnails[1877180] = clik.newPhoto({"id":1877180,"src":"LP23_thumb.jpg","galleries_id":124795,"server_id":1,"link":"photo_1877180.html","width":130,"caption":"","height":124});
															thumbnails[7997821] = clik.newPhoto({"id":7997821,"src":"0023_thumb.jpg","galleries_id":124795,"server_id":1,"link":"photo_7997821.html","width":130,"caption":"","height":195});
															thumbnails[6035253] = clik.newPhoto({"id":6035253,"src":"237_thumb.jpg","galleries_id":124795,"server_id":1,"link":"photo_6035253.html","width":130,"caption":"","height":93});
															thumbnails[6920339] = clik.newPhoto({"id":6920339,"src":"0328_thumb.jpg","galleries_id":124795,"server_id":1,"link":"photo_6920339.html","width":130,"caption":"","height":130});
															thumbnails[6035267] = clik.newPhoto({"id":6035267,"src":"386mono_thumb.jpg","galleries_id":124795,"server_id":1,"link":"photo_6035267.html","width":130,"caption":"","height":65});
															thumbnails[7997728] = clik.newPhoto({"id":7997728,"src":"0187_thumb.jpg","galleries_id":124795,"server_id":1,"link":"photo_7997728.html","width":130,"caption":"","height":182});
															thumbnails[7997727] = clik.newPhoto({"id":7997727,"src":"0157_thumb.jpg","galleries_id":124795,"server_id":1,"link":"photo_7997727.html","width":130,"caption":"","height":93});
															thumbnails[6855896] = clik.newPhoto({"id":6855896,"src":"1546_thumb.jpg","galleries_id":124795,"server_id":1,"link":"photo_6855896.html","width":130,"caption":"","height":182});
															thumbnails[7535566] = clik.newPhoto({"id":7535566,"src":"0737_2sm_thumb.jpg","galleries_id":124795,"server_id":1,"link":"photo_7535566.html","width":130,"caption":"","height":195});
															thumbnails[1855084] = clik.newPhoto({"id":1855084,"src":"7s 2007 10_thumb.jpg","galleries_id":124799,"server_id":1,"link":"photo_1855084.html","width":130,"caption":"","height":188});
															thumbnails[1855085] = clik.newPhoto({"id":1855085,"src":"sport1_thumb.jpg","galleries_id":124799,"server_id":1,"link":"photo_1855085.html","width":130,"caption":"","height":42});
															thumbnails[1855086] = clik.newPhoto({"id":1855086,"src":"sport2_thumb.jpg","galleries_id":124799,"server_id":1,"link":"photo_1855086.html","width":130,"caption":"","height":40});
															thumbnails[1871438] = clik.newPhoto({"id":1871438,"src":"sp1_thumb.jpg","galleries_id":124799,"server_id":1,"link":"photo_1871438.html","width":130,"caption":"","height":73});
															thumbnails[1871450] = clik.newPhoto({"id":1871450,"src":"sp2_thumb.jpg","galleries_id":124799,"server_id":1,"link":"photo_1871450.html","width":130,"caption":"","height":107});
															thumbnails[1871460] = clik.newPhoto({"id":1871460,"src":"sp3_thumb.jpg","galleries_id":124799,"server_id":1,"link":"photo_1871460.html","width":130,"caption":"","height":96});
															thumbnails[1871469] = clik.newPhoto({"id":1871469,"src":"sp4_thumb.jpg","galleries_id":124799,"server_id":1,"link":"photo_1871469.html","width":130,"caption":"","height":114});
															thumbnails[1871506] = clik.newPhoto({"id":1871506,"src":"sp5_thumb.jpg","galleries_id":124799,"server_id":1,"link":"photo_1871506.html","width":130,"caption":"","height":196});
															thumbnails[2086758] = clik.newPhoto({"id":2086758,"src":"Lawrence1_thumb.jpg","galleries_id":124799,"server_id":1,"link":"photo_2086758.html","width":130,"caption":"","height":130});
															thumbnails[2138973] = clik.newPhoto({"id":2138973,"src":"062_1_thumb.jpg","galleries_id":124799,"server_id":1,"link":"photo_2138973.html","width":130,"caption":"","height":182});
															thumbnails[1880051] = clik.newPhoto({"id":1880051,"src":"frontpagesportsat_thumb.jpg","galleries_id":124799,"server_id":1,"link":"photo_1880051.html","width":130,"caption":"","height":195});
															thumbnails[1940112] = clik.newPhoto({"id":1940112,"src":"Rugby2_thumb.jpg","galleries_id":124799,"server_id":1,"link":"photo_1940112.html","width":130,"caption":"","height":129});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[124795] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Weddings","link":"gallery_124795.html","maxRecords":0.0,"photoIDs":[8236392.0,8236393.0,8236394.0,8236396.0,8236399.0,8236401.0,8236405.0,8236504.0,8236511.0,8244215.0,4732779.0,7997721.0,6034635.0,7985884.0,7997822.0,7845787.0,7997829.0,7997762.0,7997801.0,7997823.0,6034491.0,7997725.0,7997820.0,6034633.0,7997826.0,8006368.0,7997720.0,6034629.0,6035936.0,7997724.0,6034508.0,6034900.0,8006370.0,6034519.0,6034522.0,6034846.0,6034591.0,6035247.0,6034517.0,7997719.0,6035939.0,6243805.0,7997824.0,6035234.0,6855897.0,8006366.0,6034510.0,4100399.0,6035262.0,6034906.0,6739644.0,6034886.0,6739641.0,6034628.0,4732777.0,6035231.0,6035244.0,1877180.0,7997821.0,6035253.0,6920339.0,6035267.0,7997728.0,7997727.0,6855896.0,7535566.0],"skipIndex":0,"section_code":"gallery","featured_images":6035234.0,"id":124795,"singleSection":false});				  						galleries[124727] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Portraits and Lifestyle","link":"gallery_124727.html","maxRecords":0.0,"photoIDs":[2724228.0,6035668.0,6035671.0,6035672.0,6035677.0,6035708.0,6035764.0,6035781.0,6035838.0,6035892.0,6035901.0,6035903.0,6036043.0,6036197.0,6036204.0,6036211.0,6036215.0,6036217.0,6961664.0,1855050.0,6247361.0],"skipIndex":0,"section_code":"gallery","featured_images":6035903.0,"id":124727,"singleSection":false});				  						galleries[124798] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Commercial\/Portfolio","link":"gallery_124798.html","maxRecords":0.0,"photoIDs":[6166778.0,6166792.0,6166802.0,6167349.0,6167351.0,6167355.0,6167357.0,6167359.0,6167365.0,6167368.0,6167374.0,6167376.0,6167382.0,6167385.0,6167391.0],"skipIndex":0,"section_code":"gallery","featured_images":6166802.0,"id":124798,"singleSection":false});				  						galleries[124799] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Portfolio\/performing artists","link":"section164310.html","maxRecords":0.0,"photoIDs":[1855084.0,1855085.0,1855086.0,1871438.0,1871450.0,1871460.0,1871469.0,1871506.0,2086758.0,2138973.0,1880051.0,1940112.0],"skipIndex":0,"section_code":"section164310","featured_images":1880051.0,"id":124799,"singleSection":true});				  						galleries[124797] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Art prints","link":"gallery_124797.html","maxRecords":0.0,"photoIDs":[6166978.0,6167295.0,6167297.0,6167299.0,6167302.0,6167305.0,6167310.0,6167327.0,6167332.0,6167335.0,6167336.0,6167340.0,6167344.0],"skipIndex":0,"section_code":"gallery","featured_images":6166978.0,"id":124797,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '8236504';
imageSets[2] = '6166978,6166802,6035903,6035234,1880051';
imageSets[3] = '6247361';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/andreaburridge/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/andreaburridge/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/andreaburridge/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/andreaburridge/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/andreaburridge/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/andreaburridge/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/andreaburridge/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/andreaburridge/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/andreaburridge/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/andreaburridge/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/andreaburridge/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/andreaburridge/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/andreaburridge/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/andreaburridge/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/andreaburridge/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/andreaburridge/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://admin2.clikpic.com/andreaburridge/images';
		break;
	}
		switch (server_id) {
		case 33:
		val = 'http://www8.clikpic.com/andreaburridge/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/andreaburridge/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/andreaburridge/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/andreaburridge/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/andreaburridge/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/andreaburridge/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/andreaburridge/images';
		break;
	}
		return val;
}

/***************************************************************************
* img = reference to image object in which to show image                   *
***************************************************************************/
function showHomeImage(img) {
	imageID = randomListVal('');
	if (!basic) {
		img.src = photos[imageID].src;
		img.width = photos[imageID].width;
		img.height = photos[imageID].height;
		img.parentNode.title = img.alt = photos[imageID].caption;
	} else {
		newImage = new Image(photos[imageID].width,photos[imageID].height);
		newImage.src = photos[imageID].src;
		document.images[img.name] = newImage;
		
	}
}

function getHomeImageLink(imageID) {
  	var href='', photo = backgrounds && backgrounds[imageID];
	if(photo){
		if (photo && photo.galleries_id != '') {
  			href = photo.fnGalleryLink();
  		}
  		  		else {
  				href += 'gallery.html';
  	  		}
	}
    return href;
}

/***************************************************************************
* Show a random image on home page from featured images                    *
***************************************************************************/
function showHomeImageInline(el, image_sets_id, href) {
	
	var css = {}, imageID,
	    imageSetsId = 1;
	if(image_sets_id){
		imageSetsId = image_sets_id;
	}
	imageID = randomListVal(imageSets[imageSetsId]);
	if (href == null && 'gallery' != '') {
					href = getHomeImageLink(imageID);
	}
	
	updateImage({nextPhoto: backgrounds[imageID], img:el.find('img')[0],
                $photo:el, $title:$('#homeimageTitleContainer'), $detail:$('#homeimageDetailsContainer'),                speed:0, href:href, css:css, onAfter: function(){                  this.closest('.contentsection').doManualAlign({				    inner: 'img',				    crop: 'a'				  });                }              });
}

/***************************************************************************
* Set 'img' to be a new image given its photo() object                     *
***************************************************************************/
function updateImage (options) {
	var defaults = {nextPhoto:'',field:'',img:'',$photo:'',$title:'',$detail:'',$detailContainer:'',
                    updateDocumentTitle:false,speed:0,href:false,css:false,updateHash:false,onAfter:null,onBefore:null},
		op = $.extend({},defaults,options),
		html = '', temp = '',
		photoId = op.nextPhoto.id,
		photoCaption = ''+op.nextPhoto.caption,
		photoSrc = op.nextPhoto.src;
	
	if (op.updateHash && clik.getIDInUrl(location.href,'photo') != op.nextPhoto.id) {
		clik.changeHash('photos_id=' + op.nextPhoto.id, true);
	}
		
	    if (op.$title.length > 0) {
  		op.$title.fadeGalleryDetails(photoCaption, op.speed);
    }
        if (op.updateDocumentTitle) {
						  document.title = 'ANDREA BURRIDGE PHOTOGRAPHY: ' + 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.takendate != '') {
		
		temp += '<div class="imageinfo" id="imageDate"><strong>Date: </strong>' + this.takendate + '</div>';
	}
	
	if (this.location != '') {
		
		temp += '<div class="imageinfo" id="imageLocation"><strong>Location: </strong>' +  this.location + '</div>';
	}
	
	if (this.photographer != '') {
		
		temp += '<div class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>' + this.photographer + '</div>';
	}
				
				if (temp != '') {
		temp += '<div class="spacer"></div>';
	}
	return temp;
};

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetPaymentInfo = function(){
	var temp = '';
	if (this.item_price !== '') {
				temp += '<p>Order this print:</p>';
				temp += '<div class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> ' + (this.item_price).toFixed(2) + '</div>';
		var item_name  = this.purchase_instruction;
		var amount = (this.item_price).toFixed(2);
		var item_option  = 0;
	}
	else if (this.payment_groups_id !== '') {
		temp += '<p>Buy this print online:</p>';
				temp += '<form id="paymentOptions" style="margin:0px;border:0px;" name="paymentOptions">';
											temp += '<select class="paymentlink" name="payment_options_id" onchange="updateItemValues($(this.form).next(\'#paymentForm\')[0],this.form.payment_options_id.options[this.form.payment_options_id.options.selectedIndex].value);">';
		
		temp += getPaymentOptions(this.payment_groups_id);
		temp += '</select>';
		temp += '</form>';
				var item_option  = paymentGroups[this.payment_groups_id].options[0];
		if(paymentOptions[item_option]){
			var item_name  = paymentOptions[item_option].payment_option;
			var amount =  paymentOptions[item_option].price;
		}
			}
	else {
		
	}
	if (this.item_price !== '' || this.payment_groups_id !== '') {
			temp += '<div class="clearing">&nbsp;</div>';
	}
	return temp;};

/***************************************************************************
* Pick a photo at random from the featured images of a gallery.            *
* Gallery_id = id of gallery to choose,                                    *
* img = reference to html image in                                         *
* which to show image                                                      *
***************************************************************************/
function showGalleryImage(gallery_id, img, updateLink) {
	
	if(img){
		if (location.hash.match('galleries_id=' + gallery_id) && (imageID = location.hash.match('.*photos_id=(.+)$'))) {
		  	imageID = imageID[1];
		} else {
		  	imageID = randomListVal(galleries[gallery_id].featured_images);
		}
		
		if (imageID != 0) {
			img.src = thumbnails[imageID].src;
			img.width = thumbnails[imageID].width;
			img.height = thumbnails[imageID].height;
			img.alt = galleries[gallery_id].title;
			if (updateLink) {
				$(img).parent().attr({					href: thumbnails[imageID].fnGalleryLink(gallery_id),					title: galleries[gallery_id].title				});
			}
		}
	}
}

/***************************************************************************
* 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;
	}
}

			

