window.thumbnails = {};
															thumbnails[1352393] = clik.newPhoto({"id":1352393,"src":"Black-1_thumb.gif","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"","height":173});
															thumbnails[3696333] = clik.newPhoto({"id":3696333,"src":"F904__thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"","height":98});
															thumbnails[3696339] = clik.newPhoto({"id":3696339,"src":"G758__thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"","height":173});
															thumbnails[3696341] = clik.newPhoto({"id":3696341,"src":"G767__thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"","height":98});
															thumbnails[3696344] = clik.newPhoto({"id":3696344,"src":"G773__thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"","height":173});
															thumbnails[3696350] = clik.newPhoto({"id":3696350,"src":"M1359__thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"","height":98});
															thumbnails[3696352] = clik.newPhoto({"id":3696352,"src":"N998_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"","height":98});
															thumbnails[3696354] = clik.newPhoto({"id":3696354,"src":"N1027__thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"","height":173});
															thumbnails[861386] = clik.newPhoto({"id":861386,"src":"wedding car 2_thumb.jpg","galleries_id":65859,"server_id":18,"link":"photo_861386.html","width":130,"caption":"","height":87});
															thumbnails[861390] = clik.newPhoto({"id":861390,"src":"J29_thumb.jpg","galleries_id":65859,"server_id":18,"link":"photo_861390.html","width":130,"caption":"","height":87});
															thumbnails[861392] = clik.newPhoto({"id":861392,"src":"sign1_thumb.jpg","galleries_id":65859,"server_id":18,"link":"photo_861392.html","width":130,"caption":"","height":87});
															thumbnails[861393] = clik.newPhoto({"id":861393,"src":"bride 1 _thumb.jpg","galleries_id":65859,"server_id":18,"link":"photo_861393.html","width":130,"caption":"","height":195});
															thumbnails[861589] = clik.newPhoto({"id":861589,"src":"Chair _thumb.jpg","galleries_id":66319,"server_id":18,"link":"photo_861589.html","width":130,"caption":"","height":195});
															thumbnails[861591] = clik.newPhoto({"id":861591,"src":"chair black_thumb.jpg","galleries_id":66319,"server_id":18,"link":"photo_861591.html","width":130,"caption":"","height":87});
															thumbnails[861665] = clik.newPhoto({"id":861665,"src":"steve_thumb.jpg","galleries_id":66320,"server_id":18,"link":"photo_861665.html","width":130,"caption":"","height":195});
															thumbnails[861703] = clik.newPhoto({"id":861703,"src":"Lisa_thumb.jpg","galleries_id":66320,"server_id":18,"link":"photo_861703.html","width":130,"caption":"","height":87});
															thumbnails[866649] = clik.newPhoto({"id":866649,"src":"wed course 1_thumb.jpg","galleries_id":65859,"server_id":18,"link":"photo_866649.html","width":130,"caption":"","height":195});
															thumbnails[866651] = clik.newPhoto({"id":866651,"src":"turks b _thumb.jpg","galleries_id":65859,"server_id":18,"link":"photo_866651.html","width":130,"caption":"","height":87});
															thumbnails[866653] = clik.newPhoto({"id":866653,"src":"stairs_thumb.jpg","galleries_id":65859,"server_id":18,"link":"photo_866653.html","width":130,"caption":"","height":195});
															thumbnails[866662] = clik.newPhoto({"id":866662,"src":"ring_thumb.jpg","galleries_id":65859,"server_id":18,"link":"photo_866662.html","width":130,"caption":"","height":87});
															thumbnails[866714] = clik.newPhoto({"id":866714,"src":"blue _thumb.jpg","galleries_id":66319,"server_id":18,"link":"photo_866714.html","width":130,"caption":"","height":87});
															thumbnails[866733] = clik.newPhoto({"id":866733,"src":"dance _thumb.jpg","galleries_id":65859,"server_id":18,"link":"photo_866733.html","width":130,"caption":"","height":195});
															thumbnails[866735] = clik.newPhoto({"id":866735,"src":"000000_thumb.jpg","galleries_id":66319,"server_id":18,"link":"photo_866735.html","width":130,"caption":"","height":87});
															thumbnails[866739] = clik.newPhoto({"id":866739,"src":"IMG_4287_thumb.jpg","galleries_id":66319,"server_id":18,"link":"photo_866739.html","width":130,"caption":"","height":195});
															thumbnails[877469] = clik.newPhoto({"id":877469,"src":"J41_thumb.jpg      q.jpg","galleries_id":65859,"server_id":18,"link":"photo_877469.html","width":130,"caption":"","height":195});
															thumbnails[877471] = clik.newPhoto({"id":877471,"src":"for feather_thumb.jpg      q.jpg","galleries_id":65859,"server_id":18,"link":"photo_877471.html","width":130,"caption":"","height":195});
															thumbnails[877477] = clik.newPhoto({"id":877477,"src":"34_thumb.jpg      q.jpg","galleries_id":65859,"server_id":18,"link":"photo_877477.html","width":130,"caption":"","height":195});
															thumbnails[877493] = clik.newPhoto({"id":877493,"src":"Turks4_thumb.jpg      q.jpg","galleries_id":65859,"server_id":18,"link":"photo_877493.html","width":130,"caption":"","height":195});
															thumbnails[877497] = clik.newPhoto({"id":877497,"src":"wed course 2 _thumb.jpg      q.jpg","galleries_id":65859,"server_id":18,"link":"photo_877497.html","width":130,"caption":"","height":195});
															thumbnails[877599] = clik.newPhoto({"id":877599,"src":"IMG_2744_thumb.jpg","galleries_id":65859,"server_id":18,"link":"photo_877599.html","width":130,"caption":"","height":130});
															thumbnails[877603] = clik.newPhoto({"id":877603,"src":"IMG_2716_thumb.jpg","galleries_id":65859,"server_id":18,"link":"photo_877603.html","width":130,"caption":"","height":87});
															thumbnails[877605] = clik.newPhoto({"id":877605,"src":"CRW_3079_thumb.jpg","galleries_id":66320,"server_id":18,"link":"photo_877605.html","width":130,"caption":"","height":195});
															thumbnails[877606] = clik.newPhoto({"id":877606,"src":"alfie 1_thumb.jpg","galleries_id":66320,"server_id":18,"link":"photo_877606.html","width":130,"caption":"","height":130});
															thumbnails[986941] = clik.newPhoto({"id":986941,"src":"4 hug 8x6_thumb.jpg","galleries_id":74099,"server_id":18,"link":"photo_986941.html","width":130,"caption":"WKA4","height":195});
															thumbnails[987944] = clik.newPhoto({"id":987944,"src":"17 conf 8x6 10D _thumb.jpg","galleries_id":74099,"server_id":18,"link":"photo_987944.html","width":130,"caption":"WKA17","height":173});
															thumbnails[987946] = clik.newPhoto({"id":987946,"src":"24 house 8x6 _thumb.jpg","galleries_id":74099,"server_id":18,"link":"photo_987946.html","width":130,"caption":"WKA24","height":98});
															thumbnails[987947] = clik.newPhoto({"id":987947,"src":"25 house 8x6 _thumb.jpg","galleries_id":74099,"server_id":18,"link":"photo_987947.html","width":130,"caption":"WKA25","height":173});
															thumbnails[987950] = clik.newPhoto({"id":987950,"src":"27a house 8x6 _thumb.jpg","galleries_id":74099,"server_id":18,"link":"photo_987950.html","width":130,"caption":"WKA27a","height":173});
															thumbnails[987951] = clik.newPhoto({"id":987951,"src":"28 house 8x6 _thumb.jpg","galleries_id":74099,"server_id":18,"link":"photo_987951.html","width":130,"caption":"WKA28","height":173});
															thumbnails[987952] = clik.newPhoto({"id":987952,"src":"29a house 8x6 _thumb.jpg","galleries_id":74099,"server_id":18,"link":"photo_987952.html","width":130,"caption":"WKA29a","height":98});
															thumbnails[987959] = clik.newPhoto({"id":987959,"src":"34 B-maids on rd 8x6  copy_thumb.jpg","galleries_id":74099,"server_id":18,"link":"photo_987959.html","width":130,"caption":"WKA34","height":173});
															thumbnails[987964] = clik.newPhoto({"id":987964,"src":"40 up to chur 8x6 _thumb.jpg","galleries_id":74099,"server_id":18,"link":"photo_987964.html","width":130,"caption":"WKA40","height":98});
															thumbnails[987967] = clik.newPhoto({"id":987967,"src":"42a ex rings 8x6 _thumb.jpg","galleries_id":74099,"server_id":18,"link":"photo_987967.html","width":130,"caption":"WKA42a","height":173});
															thumbnails[987972] = clik.newPhoto({"id":987972,"src":"47 reg 8x6 _thumb.jpg","galleries_id":74099,"server_id":18,"link":"photo_987972.html","width":130,"caption":"WKA47","height":98});
															thumbnails[987978] = clik.newPhoto({"id":987978,"src":"53 end 8x6 _thumb.jpg","galleries_id":74099,"server_id":18,"link":"photo_987978.html","width":130,"caption":"WKA53","height":173});
															thumbnails[987981] = clik.newPhoto({"id":987981,"src":"55 end jpg 8x6_thumb.jpg","galleries_id":74099,"server_id":18,"link":"photo_987981.html","width":130,"caption":"WKA55","height":98});
															thumbnails[990476] = clik.newPhoto({"id":990476,"src":"62_thumb.gif","galleries_id":74099,"server_id":18,"link":"photo_990476.html","width":130,"caption":"WKA62","height":98});
															thumbnails[990484] = clik.newPhoto({"id":990484,"src":"68_thumb.gif","galleries_id":74099,"server_id":18,"link":"photo_990484.html","width":130,"caption":"WKA68","height":98});
															thumbnails[990487] = clik.newPhoto({"id":990487,"src":"74_thumb.gif","galleries_id":74099,"server_id":18,"link":"photo_990487.html","width":130,"caption":"WKA74","height":98});
															thumbnails[990514] = clik.newPhoto({"id":990514,"src":"93_thumb.gif","galleries_id":74099,"server_id":18,"link":"photo_990514.html","width":130,"caption":"WKA93","height":98});
															thumbnails[990553] = clik.newPhoto({"id":990553,"src":"4b-hug-8x6-_thumb.gif","galleries_id":74099,"server_id":18,"link":"photo_990553.html","width":130,"caption":"WKA4b","height":98});
															thumbnails[990558] = clik.newPhoto({"id":990558,"src":"1-Church-12_thumb.5x8.gif","galleries_id":74099,"server_id":18,"link":"photo_990558.html","width":130,"caption":"WKA1","height":87});
															thumbnails[1352405] = clik.newPhoto({"id":1352405,"src":"Black-2_thumb.gif","galleries_id":66319,"server_id":18,"link":"photo_1352405.html","width":130,"caption":"","height":173});
															thumbnails[1352406] = clik.newPhoto({"id":1352406,"src":"km1_thumb.gif","galleries_id":66319,"server_id":18,"link":"photo_1352406.html","width":130,"caption":"","height":98});
															thumbnails[1352410] = clik.newPhoto({"id":1352410,"src":"km2_thumb.gif","galleries_id":66319,"server_id":18,"link":"photo_1352410.html","width":130,"caption":"","height":98});
															thumbnails[1352411] = clik.newPhoto({"id":1352411,"src":"km3_thumb.gif","galleries_id":66319,"server_id":18,"link":"photo_1352411.html","width":130,"caption":"","height":98});
															thumbnails[1352413] = clik.newPhoto({"id":1352413,"src":"km5_thumb.gif","galleries_id":66319,"server_id":18,"link":"photo_1352413.html","width":130,"caption":"","height":98});
															thumbnails[1352414] = clik.newPhoto({"id":1352414,"src":"km6_thumb.gif","galleries_id":66319,"server_id":18,"link":"photo_1352414.html","width":130,"caption":"","height":98});
															thumbnails[1352416] = clik.newPhoto({"id":1352416,"src":"km7_thumb.gif","galleries_id":66319,"server_id":18,"link":"photo_1352416.html","width":130,"caption":"","height":173});
															thumbnails[1352417] = clik.newPhoto({"id":1352417,"src":"km8_thumb.gif","galleries_id":66319,"server_id":18,"link":"photo_1352417.html","width":130,"caption":"","height":173});
															thumbnails[1352420] = clik.newPhoto({"id":1352420,"src":"km10_thumb.gif","galleries_id":66319,"server_id":18,"link":"photo_1352420.html","width":130,"caption":"","height":98});
															thumbnails[1352421] = clik.newPhoto({"id":1352421,"src":"km11_thumb.gif","galleries_id":66319,"server_id":18,"link":"photo_1352421.html","width":130,"caption":"","height":98});
															thumbnails[1352423] = clik.newPhoto({"id":1352423,"src":"km12_thumb.gif","galleries_id":66319,"server_id":18,"link":"photo_1352423.html","width":130,"caption":"","height":98});
															thumbnails[1352424] = clik.newPhoto({"id":1352424,"src":"km13_thumb.gif","galleries_id":66319,"server_id":18,"link":"photo_1352424.html","width":130,"caption":"","height":98});
															thumbnails[1352431] = clik.newPhoto({"id":1352431,"src":"km17_thumb.gif","galleries_id":66319,"server_id":18,"link":"photo_1352431.html","width":130,"caption":"","height":173});
															thumbnails[1352433] = clik.newPhoto({"id":1352433,"src":"km18_thumb.gif","galleries_id":66319,"server_id":18,"link":"photo_1352433.html","width":130,"caption":"","height":98});
															thumbnails[2743250] = clik.newPhoto({"id":2743250,"src":"IMG_4446_thumb.jpg","galleries_id":65859,"server_id":18,"link":"photo_2743250.html","width":130,"caption":"","height":98});
															thumbnails[2743254] = clik.newPhoto({"id":2743254,"src":"IMG_4449_thumb.jpg","galleries_id":65859,"server_id":18,"link":"photo_2743254.html","width":130,"caption":"","height":98});
															thumbnails[2743256] = clik.newPhoto({"id":2743256,"src":"IMG_6604_thumb.jpg","galleries_id":66319,"server_id":18,"link":"photo_2743256.html","width":130,"caption":"","height":93});
															thumbnails[2743258] = clik.newPhoto({"id":2743258,"src":"IMG_6615_thumb.jpg","galleries_id":66319,"server_id":18,"link":"photo_2743258.html","width":130,"caption":"","height":93});
															thumbnails[2743263] = clik.newPhoto({"id":2743263,"src":"IMG_4573_thumb.jpg","galleries_id":65859,"server_id":18,"link":"photo_2743263.html","width":130,"caption":"","height":98});
															thumbnails[2743267] = clik.newPhoto({"id":2743267,"src":"IMG_5224 curves_thumb.jpg","galleries_id":65859,"server_id":18,"link":"photo_2743267.html","width":130,"caption":"","height":87});
															thumbnails[2743270] = clik.newPhoto({"id":2743270,"src":"IMG_5614_thumb.jpg","galleries_id":65859,"server_id":18,"link":"photo_2743270.html","width":130,"caption":"","height":98});
															thumbnails[2743273] = clik.newPhoto({"id":2743273,"src":"IMG_5626_thumb.jpg","galleries_id":65859,"server_id":18,"link":"photo_2743273.html","width":130,"caption":"","height":98});
															thumbnails[2743275] = clik.newPhoto({"id":2743275,"src":"IMG_6058_thumb.jpg","galleries_id":65859,"server_id":18,"link":"photo_2743275.html","width":130,"caption":"","height":98});
															thumbnails[2743279] = clik.newPhoto({"id":2743279,"src":"IMG_6074_thumb.jpg","galleries_id":65859,"server_id":18,"link":"photo_2743279.html","width":130,"caption":"","height":173});
															thumbnails[2743281] = clik.newPhoto({"id":2743281,"src":"IMG_6111_thumb.jpg","galleries_id":65859,"server_id":18,"link":"photo_2743281.html","width":130,"caption":"","height":98});
															thumbnails[2743318] = clik.newPhoto({"id":2743318,"src":"IMG_6151 8x10_thumb.jpg","galleries_id":65859,"server_id":18,"link":"photo_2743318.html","width":130,"caption":"","height":163});
															thumbnails[2743321] = clik.newPhoto({"id":2743321,"src":"IMG_6328_thumb.jpg","galleries_id":65859,"server_id":18,"link":"photo_2743321.html","width":130,"caption":"","height":98});
															thumbnails[2743324] = clik.newPhoto({"id":2743324,"src":"IMG_60858x6_thumb.jpg","galleries_id":65859,"server_id":18,"link":"photo_2743324.html","width":130,"caption":"","height":98});
															thumbnails[3696309] = clik.newPhoto({"id":3696309,"src":"IMG__390_thumb.jpg","galleries_id":225859,"server_id":18,"link":"photo_3696309.html","width":130,"caption":"","height":173});
															thumbnails[3696311] = clik.newPhoto({"id":3696311,"src":"IMG__394_thumb.jpg","galleries_id":225859,"server_id":18,"link":"photo_3696311.html","width":130,"caption":"","height":130});
															thumbnails[3696312] = clik.newPhoto({"id":3696312,"src":"IMG__400_thumb.jpg","galleries_id":225859,"server_id":18,"link":"photo_3696312.html","width":130,"caption":"","height":173});
															thumbnails[3696314] = clik.newPhoto({"id":3696314,"src":"IMG__401_thumb.jpg","galleries_id":225859,"server_id":18,"link":"photo_3696314.html","width":130,"caption":"","height":173});
															thumbnails[3696317] = clik.newPhoto({"id":3696317,"src":"IMG__405_thumb.jpg","galleries_id":225859,"server_id":18,"link":"photo_3696317.html","width":130,"caption":"","height":98});
															thumbnails[3696318] = clik.newPhoto({"id":3696318,"src":"IMG__407_thumb.jpg","galleries_id":225859,"server_id":18,"link":"photo_3696318.html","width":130,"caption":"","height":130});
															thumbnails[3696319] = clik.newPhoto({"id":3696319,"src":"IMG__413_thumb.jpg","galleries_id":225859,"server_id":18,"link":"photo_3696319.html","width":130,"caption":"","height":98});
															thumbnails[3696320] = clik.newPhoto({"id":3696320,"src":"IMG__427_thumb.jpg","galleries_id":225859,"server_id":18,"link":"photo_3696320.html","width":130,"caption":"","height":98});
															thumbnails[3696323] = clik.newPhoto({"id":3696323,"src":"IMG__435_thumb.jpg","galleries_id":225859,"server_id":18,"link":"photo_3696323.html","width":130,"caption":"","height":130});
															thumbnails[3696325] = clik.newPhoto({"id":3696325,"src":"IMG__454_thumb.jpg","galleries_id":225859,"server_id":18,"link":"photo_3696325.html","width":130,"caption":"","height":98});
															thumbnails[4454618] = clik.newPhoto({"id":4454618,"src":"IMG_8146_thumb.jpg","galleries_id":65859,"server_id":18,"link":"photo_4454618.html","width":130,"caption":"","height":98});
															thumbnails[4454628] = clik.newPhoto({"id":4454628,"src":"IMG_8404_thumb.jpg","galleries_id":260377,"server_id":18,"link":"photo_4454628.html","width":130,"caption":"","height":98});
															thumbnails[4454629] = clik.newPhoto({"id":4454629,"src":"IMG_8415_thumb.jpg","galleries_id":260377,"server_id":18,"link":"photo_4454629.html","width":130,"caption":"","height":98});
															thumbnails[4454631] = clik.newPhoto({"id":4454631,"src":"IMG_8450_thumb.jpg","galleries_id":260377,"server_id":18,"link":"photo_4454631.html","width":130,"caption":"","height":98});
															thumbnails[4454634] = clik.newPhoto({"id":4454634,"src":"IMG_8454_thumb.jpg","galleries_id":260377,"server_id":18,"link":"photo_4454634.html","width":130,"caption":"","height":98});
															thumbnails[4454639] = clik.newPhoto({"id":4454639,"src":"IMG_8477_thumb.jpg","galleries_id":260377,"server_id":18,"link":"photo_4454639.html","width":130,"caption":"","height":98});
															thumbnails[4454640] = clik.newPhoto({"id":4454640,"src":"IMG_8485_thumb.jpg","galleries_id":260377,"server_id":18,"link":"photo_4454640.html","width":130,"caption":"","height":173});
															thumbnails[4454643] = clik.newPhoto({"id":4454643,"src":"IMG_8494_thumb.jpg","galleries_id":260377,"server_id":18,"link":"photo_4454643.html","width":130,"caption":"","height":130});
															thumbnails[4454645] = clik.newPhoto({"id":4454645,"src":"IMG_8500_thumb.jpg","galleries_id":260377,"server_id":18,"link":"photo_4454645.html","width":130,"caption":"","height":98});
															thumbnails[4454647] = clik.newPhoto({"id":4454647,"src":"IMG_8536_thumb.jpg","galleries_id":260377,"server_id":18,"link":"photo_4454647.html","width":130,"caption":"","height":98});
															thumbnails[4454648] = clik.newPhoto({"id":4454648,"src":"IMG_8570_thumb.jpg","galleries_id":260377,"server_id":18,"link":"photo_4454648.html","width":130,"caption":"","height":130});
															thumbnails[4454650] = clik.newPhoto({"id":4454650,"src":"IMG_8604_thumb.jpg","galleries_id":260377,"server_id":18,"link":"photo_4454650.html","width":130,"caption":"","height":98});
															thumbnails[4454653] = clik.newPhoto({"id":4454653,"src":"IMG_8626_thumb.jpg","galleries_id":260377,"server_id":18,"link":"photo_4454653.html","width":130,"caption":"","height":173});
															thumbnails[4454655] = clik.newPhoto({"id":4454655,"src":"IMG_8645_thumb.jpg","galleries_id":260377,"server_id":18,"link":"photo_4454655.html","width":130,"caption":"","height":173});
															thumbnails[4454663] = clik.newPhoto({"id":4454663,"src":"IMG_7808_thumb.jpg","galleries_id":260377,"server_id":18,"link":"photo_4454663.html","width":130,"caption":"","height":130});
															thumbnails[4454666] = clik.newPhoto({"id":4454666,"src":"IMG_8224___8x8_thumb.jpg","galleries_id":65859,"server_id":18,"link":"photo_4454666.html","width":130,"caption":"","height":130});
															thumbnails[4454668] = clik.newPhoto({"id":4454668,"src":"IMG_8235_thumb.jpg","galleries_id":65859,"server_id":18,"link":"photo_4454668.html","width":130,"caption":"","height":130});
															thumbnails[4454670] = clik.newPhoto({"id":4454670,"src":"IMG_8313_thumb.jpg","galleries_id":65859,"server_id":18,"link":"photo_4454670.html","width":130,"caption":"","height":173});
															thumbnails[5328322] = clik.newPhoto({"id":5328322,"src":"IMG_0267_thumb.jpg","galleries_id":299933,"server_id":18,"link":"photo_5328322.html","width":130,"caption":"","height":98});
															thumbnails[5328334] = clik.newPhoto({"id":5328334,"src":"345_thumb.jpg","galleries_id":299933,"server_id":18,"link":"photo_5328334.html","width":130,"caption":"","height":98});
															thumbnails[5328337] = clik.newPhoto({"id":5328337,"src":"344_thumb.jpg","galleries_id":299933,"server_id":18,"link":"photo_5328337.html","width":130,"caption":"","height":130});
															thumbnails[5328341] = clik.newPhoto({"id":5328341,"src":"342_thumb.jpg","galleries_id":299933,"server_id":18,"link":"photo_5328341.html","width":130,"caption":"","height":98});
															thumbnails[5328348] = clik.newPhoto({"id":5328348,"src":"322a_thumb.jpg","galleries_id":299933,"server_id":18,"link":"photo_5328348.html","width":130,"caption":"","height":98});
															thumbnails[5328352] = clik.newPhoto({"id":5328352,"src":"316_thumb.jpg","galleries_id":299933,"server_id":18,"link":"photo_5328352.html","width":130,"caption":"","height":130});
															thumbnails[5328355] = clik.newPhoto({"id":5328355,"src":"313_thumb.jpg","galleries_id":299933,"server_id":18,"link":"photo_5328355.html","width":130,"caption":"","height":130});
															thumbnails[5328358] = clik.newPhoto({"id":5328358,"src":"305_thumb.jpg","galleries_id":299933,"server_id":18,"link":"photo_5328358.html","width":130,"caption":"","height":173});
															thumbnails[5328361] = clik.newPhoto({"id":5328361,"src":"303_thumb.jpg","galleries_id":299933,"server_id":18,"link":"photo_5328361.html","width":130,"caption":"","height":130});
															thumbnails[5328364] = clik.newPhoto({"id":5328364,"src":"287_thumb.jpg","galleries_id":299933,"server_id":18,"link":"photo_5328364.html","width":130,"caption":"","height":173});
															thumbnails[5328370] = clik.newPhoto({"id":5328370,"src":"277c_thumb.jpg","galleries_id":299933,"server_id":18,"link":"photo_5328370.html","width":130,"caption":"","height":98});
															thumbnails[5328372] = clik.newPhoto({"id":5328372,"src":"277a_thumb.jpg","galleries_id":299933,"server_id":18,"link":"photo_5328372.html","width":130,"caption":"","height":130});
															thumbnails[5328376] = clik.newPhoto({"id":5328376,"src":"261_thumb.jpg","galleries_id":299933,"server_id":18,"link":"photo_5328376.html","width":130,"caption":"","height":173});
															thumbnails[5328381] = clik.newPhoto({"id":5328381,"src":"260_thumb.jpg","galleries_id":299933,"server_id":18,"link":"photo_5328381.html","width":130,"caption":"","height":98});
															thumbnails[5328387] = clik.newPhoto({"id":5328387,"src":"244_thumb.jpg","galleries_id":299933,"server_id":18,"link":"photo_5328387.html","width":130,"caption":"","height":98});
															thumbnails[5328390] = clik.newPhoto({"id":5328390,"src":"238_thumb.jpg","galleries_id":299933,"server_id":18,"link":"photo_5328390.html","width":130,"caption":"","height":98});
															thumbnails[5328393] = clik.newPhoto({"id":5328393,"src":"129_thumb.jpg","galleries_id":299933,"server_id":18,"link":"photo_5328393.html","width":130,"caption":"","height":98});
															thumbnails[5328399] = clik.newPhoto({"id":5328399,"src":"113_thumb.jpg","galleries_id":299933,"server_id":18,"link":"photo_5328399.html","width":130,"caption":"","height":130});
															thumbnails[5328503] = clik.newPhoto({"id":5328503,"src":"166_thumb.jpg","galleries_id":299953,"server_id":18,"link":"photo_5328503.html","width":130,"caption":"","height":98});
															thumbnails[5328508] = clik.newPhoto({"id":5328508,"src":"A143_thumb.jpg","galleries_id":299953,"server_id":18,"link":"photo_5328508.html","width":130,"caption":"","height":98});
															thumbnails[5328510] = clik.newPhoto({"id":5328510,"src":"B172_thumb.jpg","galleries_id":299953,"server_id":18,"link":"photo_5328510.html","width":130,"caption":"","height":173});
															thumbnails[5328511] = clik.newPhoto({"id":5328511,"src":"B205_thumb.jpg","galleries_id":299953,"server_id":18,"link":"photo_5328511.html","width":130,"caption":"","height":98});
															thumbnails[5328514] = clik.newPhoto({"id":5328514,"src":"C328_thumb.jpg","galleries_id":299953,"server_id":18,"link":"photo_5328514.html","width":130,"caption":"","height":173});
															thumbnails[5328518] = clik.newPhoto({"id":5328518,"src":"C415_thumb.jpg","galleries_id":299953,"server_id":18,"link":"photo_5328518.html","width":130,"caption":"","height":98});
															thumbnails[5328519] = clik.newPhoto({"id":5328519,"src":"C420_thumb.jpg","galleries_id":299953,"server_id":18,"link":"photo_5328519.html","width":130,"caption":"","height":130});
															thumbnails[5328521] = clik.newPhoto({"id":5328521,"src":"C450_thumb.jpg","galleries_id":299953,"server_id":18,"link":"photo_5328521.html","width":130,"caption":"","height":173});
															thumbnails[5328529] = clik.newPhoto({"id":5328529,"src":"C473_thumb.jpg","galleries_id":299953,"server_id":18,"link":"photo_5328529.html","width":130,"caption":"","height":98});
															thumbnails[5328537] = clik.newPhoto({"id":5328537,"src":"C4521_thumb.jpg","galleries_id":299953,"server_id":18,"link":"photo_5328537.html","width":130,"caption":"","height":173});
															thumbnails[5328541] = clik.newPhoto({"id":5328541,"src":"C4731_thumb.jpg","galleries_id":299953,"server_id":18,"link":"photo_5328541.html","width":130,"caption":"","height":98});
															thumbnails[5328542] = clik.newPhoto({"id":5328542,"src":"C476_thumb.jpg","galleries_id":299953,"server_id":18,"link":"photo_5328542.html","width":130,"caption":"","height":98});
															thumbnails[5328546] = clik.newPhoto({"id":5328546,"src":"IMG_8598_thumb.jpg","galleries_id":299953,"server_id":18,"link":"photo_5328546.html","width":130,"caption":"","height":98});
															thumbnails[5328549] = clik.newPhoto({"id":5328549,"src":"418_thumb.jpg","galleries_id":65859,"server_id":18,"link":"photo_5328549.html","width":130,"caption":"","height":173});
															thumbnails[5731482] = clik.newPhoto({"id":5731482,"src":"IMG_0052a_thumb.jpg","galleries_id":324740,"server_id":18,"link":"photo_5731482.html","width":130,"caption":"","height":130});
															thumbnails[5731486] = clik.newPhoto({"id":5731486,"src":"IMG_0083_thumb.jpg","galleries_id":324740,"server_id":18,"link":"photo_5731486.html","width":130,"caption":"","height":98});
															thumbnails[5731488] = clik.newPhoto({"id":5731488,"src":"IMG_0097_thumb.jpg","galleries_id":324740,"server_id":18,"link":"photo_5731488.html","width":130,"caption":"","height":98});
															thumbnails[5731489] = clik.newPhoto({"id":5731489,"src":"IMG_0104a_thumb.jpg","galleries_id":324740,"server_id":18,"link":"photo_5731489.html","width":130,"caption":"","height":98});
															thumbnails[5731490] = clik.newPhoto({"id":5731490,"src":"IMG_0178_thumb.jpg","galleries_id":324740,"server_id":18,"link":"photo_5731490.html","width":130,"caption":"","height":87});
															thumbnails[5731493] = clik.newPhoto({"id":5731493,"src":"IMG_0182a_thumb.jpg","galleries_id":324740,"server_id":18,"link":"photo_5731493.html","width":130,"caption":"","height":87});
															thumbnails[5731494] = clik.newPhoto({"id":5731494,"src":"IMG_0197a_thumb.jpg","galleries_id":324740,"server_id":18,"link":"photo_5731494.html","width":130,"caption":"","height":98});
															thumbnails[5731498] = clik.newPhoto({"id":5731498,"src":"IMG_0204a_Spot_thumb.jpg","galleries_id":324740,"server_id":18,"link":"photo_5731498.html","width":130,"caption":"","height":130});
															thumbnails[5731499] = clik.newPhoto({"id":5731499,"src":"IMG_0208a_B-W-C_copy_thumb.jpg","galleries_id":324740,"server_id":18,"link":"photo_5731499.html","width":130,"caption":"","height":130});
															thumbnails[5731500] = clik.newPhoto({"id":5731500,"src":"IMG_0216_thumb.jpg","galleries_id":324740,"server_id":18,"link":"photo_5731500.html","width":130,"caption":"","height":173});
															thumbnails[5731501] = clik.newPhoto({"id":5731501,"src":"IMG_0247_thumb.jpg","galleries_id":324740,"server_id":18,"link":"photo_5731501.html","width":130,"caption":"","height":98});
															thumbnails[5731502] = clik.newPhoto({"id":5731502,"src":"IMG_0263_thumb.jpg","galleries_id":324740,"server_id":18,"link":"photo_5731502.html","width":130,"caption":"","height":98});
															thumbnails[5731503] = clik.newPhoto({"id":5731503,"src":"IMG_0268_thumb.jpg","galleries_id":324740,"server_id":18,"link":"photo_5731503.html","width":130,"caption":"","height":98});
															thumbnails[5731504] = clik.newPhoto({"id":5731504,"src":"IMG_0344_thumb.jpg","galleries_id":324740,"server_id":18,"link":"photo_5731504.html","width":130,"caption":"","height":173});
															thumbnails[6682237] = clik.newPhoto({"id":6682237,"src":"011_thumb.JPG","galleries_id":365007,"server_id":18,"link":"photo_6682237.html","width":130,"caption":"","height":98});
															thumbnails[6682242] = clik.newPhoto({"id":6682242,"src":"001_thumb.JPG","galleries_id":365007,"server_id":18,"link":"photo_6682242.html","width":130,"caption":"","height":173});
															thumbnails[6682246] = clik.newPhoto({"id":6682246,"src":"002_thumb.JPG","galleries_id":365007,"server_id":18,"link":"photo_6682246.html","width":130,"caption":"","height":98});
															thumbnails[6682261] = clik.newPhoto({"id":6682261,"src":"003_thumb.JPG","galleries_id":365007,"server_id":18,"link":"photo_6682261.html","width":130,"caption":"","height":98});
															thumbnails[6682265] = clik.newPhoto({"id":6682265,"src":"004_thumb.JPG","galleries_id":365007,"server_id":18,"link":"photo_6682265.html","width":130,"caption":"","height":98});
															thumbnails[6682268] = clik.newPhoto({"id":6682268,"src":"005_thumb.JPG","galleries_id":365007,"server_id":18,"link":"photo_6682268.html","width":130,"caption":"","height":98});
															thumbnails[6682270] = clik.newPhoto({"id":6682270,"src":"006_thumb.JPG","galleries_id":365007,"server_id":18,"link":"photo_6682270.html","width":130,"caption":"","height":98});
															thumbnails[6682271] = clik.newPhoto({"id":6682271,"src":"007_thumb.JPG","galleries_id":365007,"server_id":18,"link":"photo_6682271.html","width":130,"caption":"","height":98});
															thumbnails[6682273] = clik.newPhoto({"id":6682273,"src":"008_thumb.JPG","galleries_id":365007,"server_id":18,"link":"photo_6682273.html","width":130,"caption":"","height":98});
															thumbnails[6682274] = clik.newPhoto({"id":6682274,"src":"009_thumb.JPG","galleries_id":365007,"server_id":18,"link":"photo_6682274.html","width":130,"caption":"","height":98});
															thumbnails[6682276] = clik.newPhoto({"id":6682276,"src":"010_thumb.JPG","galleries_id":365007,"server_id":18,"link":"photo_6682276.html","width":130,"caption":"","height":98});
															thumbnails[6682277] = clik.newPhoto({"id":6682277,"src":"012_thumb.JPG","galleries_id":365007,"server_id":18,"link":"photo_6682277.html","width":130,"caption":"","height":98});
															thumbnails[6682435] = clik.newPhoto({"id":6682435,"src":"117_copy_thumb.JPG","galleries_id":365015,"server_id":18,"link":"photo_6682435.html","width":130,"caption":"","height":98});
															thumbnails[6682437] = clik.newPhoto({"id":6682437,"src":"135_copy_thumb.JPG","galleries_id":365015,"server_id":18,"link":"photo_6682437.html","width":130,"caption":"","height":98});
															thumbnails[6682438] = clik.newPhoto({"id":6682438,"src":"141_copy_thumb.JPG","galleries_id":365015,"server_id":18,"link":"photo_6682438.html","width":130,"caption":"","height":98});
															thumbnails[6682440] = clik.newPhoto({"id":6682440,"src":"169_copy_thumb.JPG","galleries_id":365015,"server_id":18,"link":"photo_6682440.html","width":130,"caption":"","height":98});
															thumbnails[6682442] = clik.newPhoto({"id":6682442,"src":"178_copy_thumb.JPG","galleries_id":365015,"server_id":18,"link":"photo_6682442.html","width":130,"caption":"","height":98});
															thumbnails[6682444] = clik.newPhoto({"id":6682444,"src":"236_copy_thumb.JPG","galleries_id":365015,"server_id":18,"link":"photo_6682444.html","width":130,"caption":"","height":98});
															thumbnails[6682445] = clik.newPhoto({"id":6682445,"src":"357_copy_thumb.JPG","galleries_id":365015,"server_id":18,"link":"photo_6682445.html","width":130,"caption":"","height":98});
															thumbnails[6682448] = clik.newPhoto({"id":6682448,"src":"360_copy_thumb.JPG","galleries_id":365015,"server_id":18,"link":"photo_6682448.html","width":130,"caption":"","height":98});
															thumbnails[6682495] = clik.newPhoto({"id":6682495,"src":"405_copy_thumb.JPG","galleries_id":365015,"server_id":18,"link":"photo_6682495.html","width":130,"caption":"","height":98});
															thumbnails[6682549] = clik.newPhoto({"id":6682549,"src":"406_copy_thumb.JPG","galleries_id":365015,"server_id":18,"link":"photo_6682549.html","width":130,"caption":"","height":98});
															thumbnails[6682650] = clik.newPhoto({"id":6682650,"src":"IMG_0049_copy_thumb.JPG","galleries_id":365019,"server_id":18,"link":"photo_6682650.html","width":130,"caption":"","height":130});
															thumbnails[6682651] = clik.newPhoto({"id":6682651,"src":"IMG_0058_copy_thumb.JPG","galleries_id":365019,"server_id":18,"link":"photo_6682651.html","width":130,"caption":"","height":130});
															thumbnails[6682653] = clik.newPhoto({"id":6682653,"src":"IMG_0202_copy_thumb.JPG","galleries_id":365019,"server_id":18,"link":"photo_6682653.html","width":130,"caption":"","height":98});
															thumbnails[6682654] = clik.newPhoto({"id":6682654,"src":"IMG_0202_copy1_thumb.JPG","galleries_id":365019,"server_id":18,"link":"photo_6682654.html","width":130,"caption":"","height":98});
															thumbnails[6682656] = clik.newPhoto({"id":6682656,"src":"IMG_0252_copy_thumb.JPG","galleries_id":365019,"server_id":18,"link":"photo_6682656.html","width":130,"caption":"","height":98});
															thumbnails[6682683] = clik.newPhoto({"id":6682683,"src":"IMG_0400_copy_thumb.JPG","galleries_id":365019,"server_id":18,"link":"photo_6682683.html","width":130,"caption":"","height":98});
															thumbnails[8691999] = clik.newPhoto({"id":8691999,"src":"426_thumb.JPG","galleries_id":458641,"server_id":18,"link":"photo_8691999.html","width":130,"caption":"","height":97});
															thumbnails[8692006] = clik.newPhoto({"id":8692006,"src":"429_thumb.JPG","galleries_id":458641,"server_id":18,"link":"photo_8692006.html","width":130,"caption":"","height":97});
															thumbnails[8692009] = clik.newPhoto({"id":8692009,"src":"555_thumb.JPG","galleries_id":458641,"server_id":18,"link":"photo_8692009.html","width":130,"caption":"","height":87});
															thumbnails[8692013] = clik.newPhoto({"id":8692013,"src":"564_thumb.JPG","galleries_id":458641,"server_id":18,"link":"photo_8692013.html","width":130,"caption":"","height":175});
															thumbnails[8692017] = clik.newPhoto({"id":8692017,"src":"583_thumb.JPG","galleries_id":458641,"server_id":18,"link":"photo_8692017.html","width":130,"caption":"","height":97});
															thumbnails[8692020] = clik.newPhoto({"id":8692020,"src":"585_thumb.JPG","galleries_id":458641,"server_id":18,"link":"photo_8692020.html","width":130,"caption":"","height":175});
															thumbnails[8692025] = clik.newPhoto({"id":8692025,"src":"599_thumb.JPG","galleries_id":458641,"server_id":18,"link":"photo_8692025.html","width":130,"caption":"","height":97});
															thumbnails[8692031] = clik.newPhoto({"id":8692031,"src":"612_thumb.JPG","galleries_id":458641,"server_id":18,"link":"photo_8692031.html","width":130,"caption":"","height":97});
															thumbnails[8692033] = clik.newPhoto({"id":8692033,"src":"666_thumb.JPG","galleries_id":458641,"server_id":18,"link":"photo_8692033.html","width":130,"caption":"","height":97});
															thumbnails[8692036] = clik.newPhoto({"id":8692036,"src":"901_thumb.JPG","galleries_id":458640,"server_id":18,"link":"photo_8692036.html","width":130,"caption":"","height":183});
															thumbnails[8692039] = clik.newPhoto({"id":8692039,"src":"446_thumb.JPG","galleries_id":458640,"server_id":18,"link":"photo_8692039.html","width":130,"caption":"","height":175});
															thumbnails[8692060] = clik.newPhoto({"id":8692060,"src":"451_thumb.JPG","galleries_id":458640,"server_id":18,"link":"photo_8692060.html","width":130,"caption":"","height":97});
															thumbnails[8692076] = clik.newPhoto({"id":8692076,"src":"463_thumb.JPG","galleries_id":458640,"server_id":18,"link":"photo_8692076.html","width":130,"caption":"","height":87});
															thumbnails[8692079] = clik.newPhoto({"id":8692079,"src":"465_thumb.JPG","galleries_id":458640,"server_id":18,"link":"photo_8692079.html","width":130,"caption":"","height":175});
															thumbnails[8692080] = clik.newPhoto({"id":8692080,"src":"469_thumb.JPG","galleries_id":458640,"server_id":18,"link":"photo_8692080.html","width":130,"caption":"","height":130});
															thumbnails[8692082] = clik.newPhoto({"id":8692082,"src":"526_thumb.JPG","galleries_id":458640,"server_id":18,"link":"photo_8692082.html","width":130,"caption":"","height":130});
															thumbnails[8692088] = clik.newPhoto({"id":8692088,"src":"532_thumb.JPG","galleries_id":458640,"server_id":18,"link":"photo_8692088.html","width":130,"caption":"","height":102});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[458641] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Adam & Emma","link":"gallery_458641.html","maxRecords":0.0,"photoIDs":[8691999.0,8692006.0,8692009.0,8692013.0,8692017.0,8692020.0,8692025.0,8692031.0,8692033.0],"skipIndex":0,"section_code":"gallery","featured_images":"8692031,8692025,8692020,8692017,8692013,8692009,8692006,8691999","id":458641,"singleSection":false});				  						galleries[458640] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Adam & Kate","link":"gallery_458640.html","maxRecords":0.0,"photoIDs":[8692036.0,8692039.0,8692060.0,8692076.0,8692079.0,8692080.0,8692082.0,8692088.0],"skipIndex":0,"section_code":"gallery","featured_images":"8692088,8692082,8692080,8692076,8692060,8692039,8692036","id":458640,"singleSection":false});				  						galleries[365019] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Emma & Oliver","link":"gallery_365019.html","maxRecords":0.0,"photoIDs":[6682650.0,6682651.0,6682653.0,6682654.0,6682656.0,6682683.0],"skipIndex":0,"section_code":"gallery","featured_images":"6682683,6682656,6682654,6682653,6682651,6682650","id":365019,"singleSection":false});				  						galleries[299933] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"In the snow","link":"gallery_299933.html","maxRecords":0.0,"photoIDs":[5328322.0,5328334.0,5328337.0,5328341.0,5328348.0,5328352.0,5328355.0,5328358.0,5328361.0,5328364.0,5328370.0,5328372.0,5328376.0,5328381.0,5328387.0,5328390.0,5328393.0,5328399.0],"skipIndex":0,"section_code":"gallery","featured_images":"5328399,5328393,5328390,5328387,5328381,5328376,5328372,5328370,5328364,5328361","id":299933,"singleSection":false});				  						galleries[74099] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Kate & Anton","link":"gallery_74099.html","maxRecords":0.0,"photoIDs":[986941.0,987944.0,987946.0,987947.0,987950.0,987951.0,987952.0,987959.0,987964.0,987967.0,987972.0,987978.0,987981.0,990476.0,990484.0,990487.0,990514.0,990553.0,990558.0],"skipIndex":0,"section_code":"gallery","featured_images":"990558,990553,990514,990487,990484,990476,987981,987978,987972,987967","id":74099,"singleSection":false});				  						galleries[225859] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"L\/A wedding","link":"gallery_225859.html","maxRecords":0.0,"photoIDs":[3696309.0,3696311.0,3696312.0,3696314.0,3696317.0,3696318.0,3696319.0,3696320.0,3696323.0,3696325.0],"skipIndex":0,"section_code":"gallery","featured_images":"3696325,3696323,3696320,3696319,3696318,3696317,3696314,3696312,3696311,3696309","id":225859,"singleSection":false});				  						galleries[299953] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"L\/K Wedding","link":"gallery_299953.html","maxRecords":0.0,"photoIDs":[5328503.0,5328508.0,5328510.0,5328511.0,5328514.0,5328518.0,5328519.0,5328521.0,5328529.0,5328537.0,5328541.0,5328542.0,5328546.0],"skipIndex":0,"section_code":"gallery","featured_images":"5328546,5328542,5328541,5328537,5328529,5328521,5328519,5328518,5328514,5328511","id":299953,"singleSection":false});				  						galleries[365015] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Pippa & Guy","link":"gallery_365015.html","maxRecords":0.0,"photoIDs":[6682435.0,6682437.0,6682438.0,6682440.0,6682442.0,6682444.0,6682445.0,6682448.0,6682495.0,6682549.0],"skipIndex":0,"section_code":"gallery","featured_images":"6682549,6682495,6682448,6682445,6682444,6682442,6682440,6682438,6682437,6682435","id":365015,"singleSection":false});				  						galleries[66320] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Portraits","link":"gallery_66320.html","maxRecords":0.0,"photoIDs":[861665.0,861703.0,877605.0,877606.0],"skipIndex":0,"section_code":"gallery","featured_images":"877606,877605,861703,861665","id":66320,"singleSection":false});				  						galleries[365007] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Sam & gavin","link":"gallery_365007.html","maxRecords":0.0,"photoIDs":[6682237.0,6682242.0,6682246.0,6682261.0,6682265.0,6682268.0,6682270.0,6682271.0,6682273.0,6682274.0,6682276.0,6682277.0],"skipIndex":0,"section_code":"gallery","featured_images":"6682277,6682276,6682274,6682273,6682271,6682270,6682268,6682265,6682261,6682246","id":365007,"singleSection":false});				  						galleries[324740] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Suzi & Graham","link":"gallery_324740.html","maxRecords":0.0,"photoIDs":[5731482.0,5731486.0,5731488.0,5731489.0,5731490.0,5731493.0,5731494.0,5731498.0,5731499.0,5731500.0,5731501.0,5731502.0,5731503.0,5731504.0],"skipIndex":0,"section_code":"gallery","featured_images":"5731504,5731503,5731502,5731501,5731500,5731499,5731498,5731494,5731493,5731490","id":324740,"singleSection":false});				  						galleries[66319] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Venue Decorating  Chair cover hire","link":"gallery_66319.html","maxRecords":0.0,"photoIDs":[861589.0,861591.0,866714.0,866735.0,866739.0,1352405.0,1352406.0,1352410.0,1352411.0,1352413.0,1352414.0,1352416.0,1352417.0,1352420.0,1352421.0,1352423.0,1352424.0,1352431.0,1352433.0,2743256.0,2743258.0],"skipIndex":0,"section_code":"gallery","featured_images":"2743258,2743256,1352433,1352431,1352424,1352423,1352421,1352420,1352417,1352416","id":66319,"singleSection":false});				  						galleries[260377] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Zoe and Matt","link":"gallery_260377.html","maxRecords":0.0,"photoIDs":[4454628.0,4454629.0,4454631.0,4454634.0,4454639.0,4454640.0,4454643.0,4454645.0,4454647.0,4454648.0,4454650.0,4454653.0,4454655.0,4454663.0],"skipIndex":0,"section_code":"gallery","featured_images":"4454663,4454655,4454653,4454650,4454648,4454647,4454645,4454643,4454640,4454639","id":260377,"singleSection":false});				  						galleries[65859] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Wedding Photography","link":"gallery_65859.html","maxRecords":0.0,"photoIDs":[861386.0,861390.0,861392.0,861393.0,866649.0,866651.0,866653.0,866662.0,866733.0,877469.0,877471.0,877477.0,877493.0,877497.0,877599.0,877603.0,2743250.0,2743254.0,2743263.0,2743267.0,2743270.0,2743273.0,2743275.0,2743279.0,2743281.0,2743318.0,2743321.0,2743324.0,4454618.0,4454666.0,4454668.0,4454670.0,5328549.0],"skipIndex":0,"section_code":"gallery","featured_images":"5328549,4454670,4454668,4454666,4454618,2743324,2743321,2743318,2743281,2743279","id":65859,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '8692088,8692076,8692060,8692039,8692036,8692031,8692020,8692017,8692013,8692009,8692006,8691999,5731504,5731501,5731500,5731499,5328549,5328546,5328537,5328519,5328514,5328503,5328387,5328376,5328361,5328352,5328341,5328337,5328322,4454670,4454655,4454640,3696339,3696317,3696314,3696309,2743321,2743270,877606,877497,877493,866653';
imageSets[2] = '8692088,8692082,8692080,8692076,8692060,8692039,8692036,8692031,8692025,8692020,8692017,8692013,8692009,8692006,8691999';
imageSets[3] = '8692088,8692082,8692080,8692079,8692076,8692060,8692039,8692036,8692033,8692031,8692025,8692020,8692017,8692013,8692009,8692006,8691999,6682683,6682656,6682654,6682653,6682651,6682650,6682549,6682495,6682448,6682445,6682444,6682442,6682440,6682438,6682437,6682435,6682277,6682276,6682274,6682273,6682271,6682270,6682268,6682265,6682261,6682246,6682242,6682237,5731504,5731503,5731502,5731501,5731500';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'www12.clikpic.com/kenmarche/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/kenmarche/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/kenmarche/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/kenmarche/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/kenmarche/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/kenmarche/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/kenmarche/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/kenmarche/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/kenmarche/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/kenmarche/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/kenmarche/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/kenmarche/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/kenmarche/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/kenmarche/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/kenmarche/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/kenmarche/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/kenmarche/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/kenmarche/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/kenmarche/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/kenmarche/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/kenmarche/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/kenmarche/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/kenmarche/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/kenmarche/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/kenmarche/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 = 'Kenmarché 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.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> &pound;' + (this.item_price).toFixed(2) + '</div>';
		var item_name  = this.purchase_instruction;
		var amount = (this.item_price).toFixed(2);
		var item_option  = 0;
	}
	else if (this.payment_groups_id !== '') {
		temp += '<p>Buy this 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 += '<form id="paymentForm" style="margin:0px;border:0px;" name="paymentForm" target="_blank" action="https://www.paypal.com/cgi-bin/webscr" method="post">';
			temp += '<input type="hidden" name="item_name" value="'+item_name+'">';
			ref = '';
			if(this.photo_ref != ''){
				ref = this.photo_ref+' - '+this.caption;
			}
			else{
				ref = this.id+' - '+this.caption;
			}
			price = amount;								temp += '<input type="hidden" name="cmd" value="_cart">';
					temp += '<input type="hidden" name="business" value="">';
					temp += '<input type="hidden" name="currency_code" value="GBP">';
					temp += '<input type="hidden" name="add" value="1">';
													temp += '<input type="hidden" name="amount" value="'+amount+'">';
					temp += '<input type="hidden" name="item_number" value="'+ref+'">';
													temp += '<input type=\"Submit\" value=\"Add to cart\" id=\"paymentAddButton\" class=\"button\" onmouseover=\"this.className=\'buttonHi\';\" onmouseout=\"this.className=\'button\';\">';
										temp += '</form>';
										temp += '<form id="paymentCartForm" style="margin:0px;" name="paymentCartForm" target="_blank" action="https://www.paypal.com/cgi-bin/webscr" method="post">';
				temp += '<input type="hidden" name="cmd" value="_cart">';
				temp += '<input type="hidden" name="business" value="">';
				temp += '<input type="hidden" name="display" value="1">';
				temp += '<input type=\"Submit\" value=\"View cart\" id=\"paymentViewButton\" class=\"button\" onmouseover=\"this.className=\'buttonHi\';\" onmouseout=\"this.className=\'button\';\">';
				temp += '</form>';
						temp += '<div class="clearing">&nbsp;</div>';
	}
	return temp;};

/***************************************************************************
* Pick a photo at random from the featured images of a gallery.            *
* Gallery_id = id of gallery to choose,                                    *
* img = reference to html image in                                         *
* which to show image                                                      *
***************************************************************************/
function showGalleryImage(gallery_id, img, updateLink) {
	
	if(img){
		if (location.hash.match('galleries_id=' + gallery_id) && (imageID = location.hash.match('.*photos_id=(.+)$'))) {
		  	imageID = imageID[1];
		} else {
		  	imageID = randomListVal(galleries[gallery_id].featured_images);
		}
		
		if (imageID != 0) {
			img.src = thumbnails[imageID].src;
			img.width = thumbnails[imageID].width;
			img.height = thumbnails[imageID].height;
			img.alt = galleries[gallery_id].title;
			if (updateLink) {
				$(img).parent().attr({					title: galleries[gallery_id].title				}).filter(function(){return this.href;}).attr({					href: thumbnails[imageID].fnGalleryLink(gallery_id)				});
			}
		}
	}
}

/***************************************************************************
* If we have dynamic HTML, replace the galleries link with a list that     *
* doesn't include thecurrent gallery                                       *
***************************************************************************/
function showGalleries(gallery_id) {
		
	
	if (!basic) {
		temp = '';
		for (i = 0; i < galleries.length; i++) {
						
			
			if (galleries[i].id != gallery_id) {
								
				if (temp != '') {
					temp += ' | ';
				}
								temp += '<a href="' + galleries[i].section_code + '_' + galleries[i].id + '.html">' + galleries[i].title + '</a>';
							}
		}
		document.all.galleryLinks.innerHTML = 'Other galleries: ' + temp;
	}
}

			

