window.thumbnails = {};
															thumbnails[7858236] = clik.newPhoto({"id":7858236,"src":"IMG_1980_thumb.JPG","galleries_id":239047,"server_id":15,"link":"photo_7858236.html","width":100,"caption":"","height":59});
															thumbnails[4035141] = clik.newPhoto({"id":4035141,"src":"baby2_thumb.jpg","galleries_id":239047,"server_id":15,"link":"photo_4035141.html","width":100,"caption":"","height":100});
															thumbnails[4042940] = clik.newPhoto({"id":4042940,"src":"IMG_2199_thumb.JPG","galleries_id":239047,"server_id":15,"link":"photo_4042940.html","width":130,"caption":"","height":187});
															thumbnails[4043073] = clik.newPhoto({"id":4043073,"src":"IMG_2439_thumb.JPG","galleries_id":239047,"server_id":15,"link":"photo_4043073.html","width":130,"caption":"","height":175});
															thumbnails[4043251] = clik.newPhoto({"id":4043251,"src":"IMG_2509_thumb.JPG","galleries_id":239047,"server_id":15,"link":"photo_4043251.html","width":130,"caption":"","height":195});
															thumbnails[4043429] = clik.newPhoto({"id":4043429,"src":"IMG_09342_thumb.JPG","galleries_id":239047,"server_id":15,"link":"photo_4043429.html","width":130,"caption":"","height":195});
															thumbnails[4043518] = clik.newPhoto({"id":4043518,"src":"Picture_0501_thumb.jpg","galleries_id":239047,"server_id":15,"link":"photo_4043518.html","width":130,"caption":"","height":170});
															thumbnails[4043577] = clik.newPhoto({"id":4043577,"src":"Picture_117_thumb.jpg","galleries_id":239047,"server_id":15,"link":"photo_4043577.html","width":130,"caption":"Our oldest son with the grandchildren.","height":174});
															thumbnails[4043582] = clik.newPhoto({"id":4043582,"src":"Picture_097_thumb.jpg","galleries_id":239047,"server_id":15,"link":"photo_4043582.html","width":130,"caption":"Andrew <br>\r\nand Murphy","height":161});
															thumbnails[4107644] = clik.newPhoto({"id":4107644,"src":"P1020034_thumb.JPG","galleries_id":254859,"server_id":15,"link":"photo_4107644.html","width":130,"caption":"","height":195});
															thumbnails[4107648] = clik.newPhoto({"id":4107648,"src":"P1020036_thumb.JPG","galleries_id":254859,"server_id":15,"link":"photo_4107648.html","width":130,"caption":"","height":195});
															thumbnails[4107669] = clik.newPhoto({"id":4107669,"src":"P1020064_thumb.JPG","galleries_id":254859,"server_id":15,"link":"photo_4107669.html","width":130,"caption":"","height":195});
															thumbnails[4227664] = clik.newPhoto({"id":4227664,"src":"P1020183_thumb.JPG","galleries_id":254859,"server_id":15,"link":"photo_4227664.html","width":130,"caption":"The White's Wedding","height":195});
															thumbnails[4540459] = clik.newPhoto({"id":4540459,"src":"IMG_2930_thumb.jpg","galleries_id":254859,"server_id":15,"link":"photo_4540459.html","width":67,"caption":"Toni and Tom","height":100});
															thumbnails[4540474] = clik.newPhoto({"id":4540474,"src":"IMG_3445_thumb.jpg","galleries_id":262509,"server_id":15,"link":"photo_4540474.html","width":100,"caption":"","height":85});
															thumbnails[4540487] = clik.newPhoto({"id":4540487,"src":"IMG_3825_thumb.jpg","galleries_id":239047,"server_id":15,"link":"photo_4540487.html","width":100,"caption":"Triple portrait","height":63});
															thumbnails[4547822] = clik.newPhoto({"id":4547822,"src":"IMG_3978_thumb.JPG","galleries_id":262510,"server_id":15,"link":"photo_4547822.html","width":100,"caption":"Nets and boats","height":67});
															thumbnails[4547829] = clik.newPhoto({"id":4547829,"src":"IMG_3986_thumb.JPG","galleries_id":262510,"server_id":15,"link":"photo_4547829.html","width":100,"caption":"Fishing boat","height":67});
															thumbnails[4550451] = clik.newPhoto({"id":4550451,"src":"20090807_137_thumb.JPG","galleries_id":262511,"server_id":15,"link":"photo_4550451.html","width":67,"caption":"A peacock butterfly","height":100});
															thumbnails[4550455] = clik.newPhoto({"id":4550455,"src":"IMG_4007_thumb.JPG","galleries_id":239047,"server_id":15,"link":"photo_4550455.html","width":67,"caption":"","height":100});
															thumbnails[4550720] = clik.newPhoto({"id":4550720,"src":"IMG_3651_thumb.JPG","galleries_id":239047,"server_id":15,"link":"photo_4550720.html","width":100,"caption":"","height":67});
															thumbnails[4618081] = clik.newPhoto({"id":4618081,"src":"P1070149_thumb.JPG","galleries_id":239047,"server_id":15,"link":"photo_4618081.html","width":67,"caption":"Sue and Josh","height":100});
															thumbnails[4618673] = clik.newPhoto({"id":4618673,"src":"P1070346_thumb.JPG","galleries_id":262510,"server_id":15,"link":"photo_4618673.html","width":100,"caption":"","height":67});
															thumbnails[4618682] = clik.newPhoto({"id":4618682,"src":"P1070354_thumb.JPG","galleries_id":262510,"server_id":15,"link":"photo_4618682.html","width":100,"caption":"","height":67});
															thumbnails[4618684] = clik.newPhoto({"id":4618684,"src":"P1070357_thumb.JPG","galleries_id":262510,"server_id":15,"link":"photo_4618684.html","width":100,"caption":"","height":67});
															thumbnails[4618687] = clik.newPhoto({"id":4618687,"src":"P1070361_thumb.JPG","galleries_id":262510,"server_id":15,"link":"photo_4618687.html","width":100,"caption":"","height":67});
															thumbnails[4618690] = clik.newPhoto({"id":4618690,"src":"P1070366_thumb.JPG","galleries_id":262510,"server_id":15,"link":"photo_4618690.html","width":100,"caption":"","height":67});
															thumbnails[4618697] = clik.newPhoto({"id":4618697,"src":"P1070400_thumb.JPG","galleries_id":239047,"server_id":15,"link":"photo_4618697.html","width":100,"caption":"Four Chicks!","height":67});
															thumbnails[4618710] = clik.newPhoto({"id":4618710,"src":"IMG_3714_thumb.JPG","galleries_id":262509,"server_id":15,"link":"photo_4618710.html","width":75,"caption":"","height":100});
															thumbnails[4618744] = clik.newPhoto({"id":4618744,"src":"20090807_1-1_thumb.JPG","galleries_id":262512,"server_id":15,"link":"photo_4618744.html","width":66,"caption":"","height":100});
															thumbnails[4626505] = clik.newPhoto({"id":4626505,"src":"P1060982_thumb.JPG","galleries_id":262510,"server_id":15,"link":"photo_4626505.html","width":100,"caption":"","height":67});
															thumbnails[5037512] = clik.newPhoto({"id":5037512,"src":"IMG_4391_thumb.JPG","galleries_id":262511,"server_id":15,"link":"photo_5037512.html","width":67,"caption":"","height":100});
															thumbnails[5037534] = clik.newPhoto({"id":5037534,"src":"P1080224_thumb.JPG","galleries_id":262511,"server_id":15,"link":"photo_5037534.html","width":67,"caption":"","height":100});
															thumbnails[5037811] = clik.newPhoto({"id":5037811,"src":"P1070801_thumb.JPG","galleries_id":239047,"server_id":15,"link":"photo_5037811.html","width":67,"caption":"","height":100});
															thumbnails[5037823] = clik.newPhoto({"id":5037823,"src":"P1030796_thumb.JPG","galleries_id":262511,"server_id":15,"link":"photo_5037823.html","width":100,"caption":"","height":67});
															thumbnails[5037898] = clik.newPhoto({"id":5037898,"src":"IMG_39781_thumb.JPG","galleries_id":262510,"server_id":15,"link":"photo_5037898.html","width":100,"caption":"","height":67});
															thumbnails[5280126] = clik.newPhoto({"id":5280126,"src":"P1090171_thumb.JPG","galleries_id":239047,"server_id":15,"link":"photo_5280126.html","width":75,"caption":"","height":100});
															thumbnails[5280133] = clik.newPhoto({"id":5280133,"src":"P1090271_thumb.JPG","galleries_id":239047,"server_id":15,"link":"photo_5280133.html","width":100,"caption":"A family outing","height":75});
															thumbnails[5280136] = clik.newPhoto({"id":5280136,"src":"P1080786_thumb.JPG","galleries_id":262511,"server_id":15,"link":"photo_5280136.html","width":100,"caption":"","height":67});
															thumbnails[5280138] = clik.newPhoto({"id":5280138,"src":"P1090274_thumb.JPG","galleries_id":262512,"server_id":15,"link":"photo_5280138.html","width":100,"caption":"","height":75});
															thumbnails[5280625] = clik.newPhoto({"id":5280625,"src":"P1090199_thumb.JPG","galleries_id":262512,"server_id":15,"link":"photo_5280625.html","width":75,"caption":"Snow in boots","height":100});
															thumbnails[5280647] = clik.newPhoto({"id":5280647,"src":"IMG_5127_thumb.JPG","galleries_id":239047,"server_id":15,"link":"photo_5280647.html","width":67,"caption":"","height":100});
															thumbnails[5280649] = clik.newPhoto({"id":5280649,"src":"IMG_5149_thumb.JPG","galleries_id":239047,"server_id":15,"link":"photo_5280649.html","width":67,"caption":"","height":100});
															thumbnails[5280655] = clik.newPhoto({"id":5280655,"src":"IMG_51501_thumb.JPG","galleries_id":303543,"server_id":15,"link":"photo_5280655.html","width":67,"caption":"","height":100});
															thumbnails[5280656] = clik.newPhoto({"id":5280656,"src":"IMG_5151_thumb.JPG","galleries_id":239047,"server_id":15,"link":"photo_5280656.html","width":100,"caption":"","height":67});
															thumbnails[5280671] = clik.newPhoto({"id":5280671,"src":"P1080418_thumb.JPG","galleries_id":239047,"server_id":15,"link":"photo_5280671.html","width":67,"caption":"","height":100});
															thumbnails[5440195] = clik.newPhoto({"id":5440195,"src":"P1090954_thumb.JPG","galleries_id":262509,"server_id":15,"link":"photo_5440195.html","width":75,"caption":"","height":100});
															thumbnails[5500813] = clik.newPhoto({"id":5500813,"src":"P1100097_thumb.JPG","galleries_id":262509,"server_id":15,"link":"photo_5500813.html","width":67,"caption":"","height":100});
															thumbnails[5500816] = clik.newPhoto({"id":5500816,"src":"P1100195_thumb.JPG","galleries_id":262509,"server_id":15,"link":"photo_5500816.html","width":72,"caption":"","height":100});
															thumbnails[5500821] = clik.newPhoto({"id":5500821,"src":"P1100064_thumb.JPG","galleries_id":262509,"server_id":15,"link":"photo_5500821.html","width":100,"caption":"","height":67});
															thumbnails[5500825] = clik.newPhoto({"id":5500825,"src":"P1090880_thumb.JPG","galleries_id":262509,"server_id":15,"link":"photo_5500825.html","width":67,"caption":"","height":100});
															thumbnails[5500826] = clik.newPhoto({"id":5500826,"src":"P1090920_thumb.JPG","galleries_id":262509,"server_id":15,"link":"photo_5500826.html","width":69,"caption":"","height":100});
															thumbnails[5500827] = clik.newPhoto({"id":5500827,"src":"P1090998_thumb.JPG","galleries_id":262509,"server_id":15,"link":"photo_5500827.html","width":67,"caption":"","height":100});
															thumbnails[5500830] = clik.newPhoto({"id":5500830,"src":"P1100013_thumb.JPG","galleries_id":262509,"server_id":15,"link":"photo_5500830.html","width":67,"caption":"","height":100});
															thumbnails[5500831] = clik.newPhoto({"id":5500831,"src":"P1100022_thumb.JPG","galleries_id":262509,"server_id":15,"link":"photo_5500831.html","width":53,"caption":"","height":100});
															thumbnails[5551376] = clik.newPhoto({"id":5551376,"src":"P1110517_thumb.JPG","galleries_id":262510,"server_id":15,"link":"photo_5551376.html","width":100,"caption":"Amstel River, Amsterdam.","height":67});
															thumbnails[5578394] = clik.newPhoto({"id":5578394,"src":"P1100913_thumb.JPG","galleries_id":239047,"server_id":15,"link":"photo_5578394.html","width":100,"caption":"","height":86});
															thumbnails[5578473] = clik.newPhoto({"id":5578473,"src":"P11009051_thumb.JPG","galleries_id":239047,"server_id":15,"link":"photo_5578473.html","width":100,"caption":"","height":77});
															thumbnails[5578479] = clik.newPhoto({"id":5578479,"src":"P1110044_thumb.JPG","galleries_id":262509,"server_id":15,"link":"photo_5578479.html","width":66,"caption":"","height":100});
															thumbnails[5695496] = clik.newPhoto({"id":5695496,"src":"P1120827_thumb.JPG","galleries_id":322543,"server_id":15,"link":"photo_5695496.html","width":63,"caption":"","height":100});
															thumbnails[5695511] = clik.newPhoto({"id":5695511,"src":"P11208271_thumb.JPG","galleries_id":262509,"server_id":15,"link":"photo_5695511.html","width":63,"caption":"","height":100});
															thumbnails[5695513] = clik.newPhoto({"id":5695513,"src":"P1120828_thumb.JPG","galleries_id":322543,"server_id":15,"link":"photo_5695513.html","width":82,"caption":"","height":100});
															thumbnails[5695548] = clik.newPhoto({"id":5695548,"src":"P1120113_thumb.JPG","galleries_id":239047,"server_id":15,"link":"photo_5695548.html","width":75,"caption":"Mother and Baby","height":100});
															thumbnails[5695826] = clik.newPhoto({"id":5695826,"src":"P1120322_thumb.JPG","galleries_id":239047,"server_id":15,"link":"photo_5695826.html","width":76,"caption":"","height":100});
															thumbnails[5695830] = clik.newPhoto({"id":5695830,"src":"P1120063_thumb.JPG","galleries_id":239047,"server_id":15,"link":"photo_5695830.html","width":77,"caption":"","height":100});
															thumbnails[5695834] = clik.newPhoto({"id":5695834,"src":"P1120387_thumb.JPG","galleries_id":322543,"server_id":15,"link":"photo_5695834.html","width":100,"caption":"","height":77});
															thumbnails[5799380] = clik.newPhoto({"id":5799380,"src":"P1140116_thumb.JPG","galleries_id":262509,"server_id":15,"link":"photo_5799380.html","width":75,"caption":"","height":100});
															thumbnails[5799403] = clik.newPhoto({"id":5799403,"src":"P1130713_thumb.JPG","galleries_id":262509,"server_id":15,"link":"photo_5799403.html","width":100,"caption":"","height":82});
															thumbnails[6676983] = clik.newPhoto({"id":6676983,"src":"IMG_3602_E3C80E65-1D09-001F-993E4ACA2EB212E2_thumb.JPG","galleries_id":262509,"server_id":15,"link":"photo_6676983.html","width":61,"caption":"","height":100});
															thumbnails[6677001] = clik.newPhoto({"id":6677001,"src":"P1100842_thumb.JPG","galleries_id":262509,"server_id":15,"link":"photo_6677001.html","width":67,"caption":"","height":100});
															thumbnails[6677038] = clik.newPhoto({"id":6677038,"src":"P1100954_thumb.JPG","galleries_id":262509,"server_id":15,"link":"photo_6677038.html","width":72,"caption":"","height":100});
															thumbnails[6677046] = clik.newPhoto({"id":6677046,"src":"P11008581_thumb.JPG","galleries_id":262509,"server_id":15,"link":"photo_6677046.html","width":67,"caption":"","height":100});
															thumbnails[7079134] = clik.newPhoto({"id":7079134,"src":"P1210610_thumb.JPG","galleries_id":262512,"server_id":15,"link":"photo_7079134.html","width":100,"caption":"Going Potty","height":75});
															thumbnails[7079138] = clik.newPhoto({"id":7079138,"src":"IMG_6624_thumb.JPG","galleries_id":239047,"server_id":15,"link":"photo_7079138.html","width":67,"caption":"","height":100});
															thumbnails[7079140] = clik.newPhoto({"id":7079140,"src":"P1190127_thumb.JPG","galleries_id":239047,"server_id":15,"link":"photo_7079140.html","width":67,"caption":"","height":100});
															thumbnails[7079142] = clik.newPhoto({"id":7079142,"src":"P1190153_thumb.JPG","galleries_id":239047,"server_id":15,"link":"photo_7079142.html","width":75,"caption":"","height":100});
															thumbnails[7079146] = clik.newPhoto({"id":7079146,"src":"gooderstone_17th_may_0307_thumb.JPG","galleries_id":239047,"server_id":15,"link":"photo_7079146.html","width":75,"caption":"","height":100});
															thumbnails[7079158] = clik.newPhoto({"id":7079158,"src":"P1060694_thumb.JPG","galleries_id":239047,"server_id":15,"link":"photo_7079158.html","width":71,"caption":"","height":100});
															thumbnails[7079161] = clik.newPhoto({"id":7079161,"src":"P1210930_thumb.JPG","galleries_id":239047,"server_id":15,"link":"photo_7079161.html","width":60,"caption":"","height":100});
															thumbnails[7079163] = clik.newPhoto({"id":7079163,"src":"P1220033_thumb.JPG","galleries_id":239047,"server_id":15,"link":"photo_7079163.html","width":67,"caption":"","height":100});
															thumbnails[7079165] = clik.newPhoto({"id":7079165,"src":"P1190611_thumb.JPG","galleries_id":239047,"server_id":15,"link":"photo_7079165.html","width":100,"caption":"","height":75});
															thumbnails[7079168] = clik.newPhoto({"id":7079168,"src":"P1230503_thumb.JPG","galleries_id":239047,"server_id":15,"link":"photo_7079168.html","width":100,"caption":"","height":75});
															thumbnails[7079170] = clik.newPhoto({"id":7079170,"src":"P1210295_thumb.JPG","galleries_id":262510,"server_id":15,"link":"photo_7079170.html","width":100,"caption":"","height":75});
															thumbnails[7079206] = clik.newPhoto({"id":7079206,"src":"P1200144_thumb.JPG","galleries_id":239047,"server_id":15,"link":"photo_7079206.html","width":100,"caption":"plastic surgery?","height":67});
															thumbnails[7079209] = clik.newPhoto({"id":7079209,"src":"P1210245_thumb.JPG","galleries_id":262510,"server_id":15,"link":"photo_7079209.html","width":100,"caption":"Humber Bridge","height":75});
															thumbnails[7079212] = clik.newPhoto({"id":7079212,"src":"P1050191-1_thumb.JPG","galleries_id":322543,"server_id":15,"link":"photo_7079212.html","width":100,"caption":"","height":67});
															thumbnails[7079223] = clik.newPhoto({"id":7079223,"src":"P1040891_thumb.JPG","galleries_id":239047,"server_id":15,"link":"photo_7079223.html","width":68,"caption":"","height":100});
															thumbnails[7079662] = clik.newPhoto({"id":7079662,"src":"IMG_7877_thumb.JPG","galleries_id":262512,"server_id":15,"link":"photo_7079662.html","width":100,"caption":"Drums on the Dunes","height":67});
															thumbnails[7079667] = clik.newPhoto({"id":7079667,"src":"IMG_7890_thumb.JPG","galleries_id":262512,"server_id":15,"link":"photo_7079667.html","width":100,"caption":"","height":67});
															thumbnails[7079671] = clik.newPhoto({"id":7079671,"src":"IMG_7881_thumb.JPG","galleries_id":424532,"server_id":15,"link":"photo_7079671.html","width":100,"caption":"Music on the beach","height":67});
															thumbnails[7079682] = clik.newPhoto({"id":7079682,"src":"IMG_7882_thumb.JPG","galleries_id":239047,"server_id":15,"link":"photo_7079682.html","width":100,"caption":"","height":67});
															thumbnails[7079684] = clik.newPhoto({"id":7079684,"src":"IMG_2930_66035D98-1EC9-D45B-1C733B716BFD0292_thumb.JPG","galleries_id":239047,"server_id":15,"link":"photo_7079684.html","width":67,"caption":"","height":100});
															thumbnails[7079758] = clik.newPhoto({"id":7079758,"src":"IMG_8053_thumb.JPG","galleries_id":262510,"server_id":15,"link":"photo_7079758.html","width":100,"caption":"Holkham","height":67});
															thumbnails[7079798] = clik.newPhoto({"id":7079798,"src":"P1210203_thumb.JPG","galleries_id":262512,"server_id":15,"link":"photo_7079798.html","width":75,"caption":"Jelly Fish at The Deep","height":100});
															thumbnails[7079879] = clik.newPhoto({"id":7079879,"src":"IMG_7696_thumb.JPG","galleries_id":345207,"server_id":15,"link":"photo_7079879.html","width":100,"caption":"","height":67});
															thumbnails[7079881] = clik.newPhoto({"id":7079881,"src":"IMG_7736_thumb.JPG","galleries_id":345207,"server_id":15,"link":"photo_7079881.html","width":100,"caption":"","height":67});
															thumbnails[7109685] = clik.newPhoto({"id":7109685,"src":"P1210365_thumb.JPG","galleries_id":239047,"server_id":15,"link":"photo_7109685.html","width":100,"caption":"","height":67});
															thumbnails[7109704] = clik.newPhoto({"id":7109704,"src":"P1180462_thumb.JPG","galleries_id":239047,"server_id":15,"link":"photo_7109704.html","width":75,"caption":"","height":100});
															thumbnails[7109707] = clik.newPhoto({"id":7109707,"src":"IMG_3111_thumb.JPG","galleries_id":239047,"server_id":15,"link":"photo_7109707.html","width":66,"caption":"","height":100});
															thumbnails[7109710] = clik.newPhoto({"id":7109710,"src":"IMG_3095_thumb.JPG","galleries_id":239047,"server_id":15,"link":"photo_7109710.html","width":63,"caption":"","height":100});
															thumbnails[7109714] = clik.newPhoto({"id":7109714,"src":"IMG_3106_thumb.JPG","galleries_id":239047,"server_id":15,"link":"photo_7109714.html","width":82,"caption":"","height":100});
															thumbnails[7109722] = clik.newPhoto({"id":7109722,"src":"IMG_7506_thumb.JPG","galleries_id":262512,"server_id":15,"link":"photo_7109722.html","width":67,"caption":"","height":100});
															thumbnails[7109723] = clik.newPhoto({"id":7109723,"src":"Reece1_thumb.jpg","galleries_id":345207,"server_id":15,"link":"photo_7109723.html","width":100,"caption":"","height":88});
															thumbnails[7109740] = clik.newPhoto({"id":7109740,"src":"20090807_1-1_7FF7C129-24E8-5EC4-4F652ABD2F74FB1B_thumb.JPG","galleries_id":262511,"server_id":15,"link":"photo_7109740.html","width":66,"caption":"","height":100});
															thumbnails[7283421] = clik.newPhoto({"id":7283421,"src":"IMG_8269_thumb.JPG","galleries_id":239047,"server_id":15,"link":"photo_7283421.html","width":66,"caption":"","height":100});
															thumbnails[7283437] = clik.newPhoto({"id":7283437,"src":"IMG_8288-1_thumb.JPG","galleries_id":239047,"server_id":15,"link":"photo_7283437.html","width":86,"caption":"","height":100});
															thumbnails[7283444] = clik.newPhoto({"id":7283444,"src":"P1160732_thumb.JPG","galleries_id":262511,"server_id":15,"link":"photo_7283444.html","width":66,"caption":"","height":100});
															thumbnails[7283467] = clik.newPhoto({"id":7283467,"src":"P1180462_2_thumb.JPG","galleries_id":239047,"server_id":15,"link":"photo_7283467.html","width":75,"caption":"","height":100});
															thumbnails[7858273] = clik.newPhoto({"id":7858273,"src":"P1270248_thumb.JPG","galleries_id":262512,"server_id":15,"link":"photo_7858273.html","width":100,"caption":"","height":92});
															thumbnails[7858286] = clik.newPhoto({"id":7858286,"src":"IMG_0286_thumb.JPG","galleries_id":262512,"server_id":15,"link":"photo_7858286.html","width":100,"caption":"","height":67});
															thumbnails[7858303] = clik.newPhoto({"id":7858303,"src":"IMG_6852_thumb.JPG","galleries_id":262512,"server_id":15,"link":"photo_7858303.html","width":100,"caption":"","height":67});
															thumbnails[7867046] = clik.newPhoto({"id":7867046,"src":"IMG_19801_thumb.JPG","galleries_id":424532,"server_id":15,"link":"photo_7867046.html","width":100,"caption":"","height":59});
															thumbnails[7867053] = clik.newPhoto({"id":7867053,"src":"IMG_19631_thumb.JPG","galleries_id":424532,"server_id":15,"link":"photo_7867053.html","width":100,"caption":"","height":67});
															thumbnails[7987821] = clik.newPhoto({"id":7987821,"src":"IMG_1998_thumb.JPG","galleries_id":424532,"server_id":15,"link":"photo_7987821.html","width":100,"caption":"","height":60});
															thumbnails[7987831] = clik.newPhoto({"id":7987831,"src":"P1210246_thumb.JPG","galleries_id":262510,"server_id":15,"link":"photo_7987831.html","width":100,"caption":"Humber Bridge, Yorkshire.","height":67});
															thumbnails[7987835] = clik.newPhoto({"id":7987835,"src":"P1250618_thumb.JPG","galleries_id":262510,"server_id":15,"link":"photo_7987835.html","width":100,"caption":"The Lug Wormer","height":59});
															thumbnails[7987845] = clik.newPhoto({"id":7987845,"src":"IMG_2040_thumb.JPG","galleries_id":424532,"server_id":15,"link":"photo_7987845.html","width":100,"caption":"Hunstanton After The Crowds.","height":46});
															thumbnails[7987852] = clik.newPhoto({"id":7987852,"src":"IMG_2051_thumb.JPG","galleries_id":424532,"server_id":15,"link":"photo_7987852.html","width":100,"caption":"","height":49});
															thumbnails[7987858] = clik.newPhoto({"id":7987858,"src":"CHELSEA_1_thumb.jpg","galleries_id":239047,"server_id":15,"link":"photo_7987858.html","width":100,"caption":"","height":80});
															thumbnails[7987861] = clik.newPhoto({"id":7987861,"src":"IMG_2793_thumb.JPG","galleries_id":239047,"server_id":15,"link":"photo_7987861.html","width":80,"caption":"","height":100});
															thumbnails[7987865] = clik.newPhoto({"id":7987865,"src":"P1300422_thumb.JPG","galleries_id":239047,"server_id":15,"link":"photo_7987865.html","width":75,"caption":"","height":100});
															thumbnails[7987867] = clik.newPhoto({"id":7987867,"src":"P1300452-1_thumb.JPG","galleries_id":239047,"server_id":15,"link":"photo_7987867.html","width":75,"caption":"","height":100});
															thumbnails[7987870] = clik.newPhoto({"id":7987870,"src":"Alex5_thumb.jpg","galleries_id":239047,"server_id":15,"link":"photo_7987870.html","width":75,"caption":"","height":100});
															thumbnails[7987874] = clik.newPhoto({"id":7987874,"src":"P1290368_thumb.JPG","galleries_id":345207,"server_id":15,"link":"photo_7987874.html","width":75,"caption":"","height":100});
															thumbnails[8020045] = clik.newPhoto({"id":8020045,"src":"IMG_8753_thumb.JPG","galleries_id":254859,"server_id":15,"link":"photo_8020045.html","width":100,"caption":"","height":67});
															thumbnails[8020056] = clik.newPhoto({"id":8020056,"src":"P1250748_thumb.JPG","galleries_id":254859,"server_id":15,"link":"photo_8020056.html","width":100,"caption":"","height":75});
															thumbnails[8028921] = clik.newPhoto({"id":8028921,"src":"IMG_27931_thumb.JPG","galleries_id":239047,"server_id":15,"link":"photo_8028921.html","width":80,"caption":"","height":100});
															thumbnails[8028926] = clik.newPhoto({"id":8028926,"src":"CHELSEA_11_thumb.jpg","galleries_id":239047,"server_id":15,"link":"photo_8028926.html","width":100,"caption":"","height":80});
															thumbnails[8028931] = clik.newPhoto({"id":8028931,"src":"IMG_2816_thumb.JPG","galleries_id":239047,"server_id":15,"link":"photo_8028931.html","width":67,"caption":"","height":100});
															thumbnails[8028933] = clik.newPhoto({"id":8028933,"src":"P1300489_thumb.JPG","galleries_id":345207,"server_id":15,"link":"photo_8028933.html","width":100,"caption":"","height":70});
															thumbnails[8028940] = clik.newPhoto({"id":8028940,"src":"Sammy1_thumb.jpg","galleries_id":239047,"server_id":15,"link":"photo_8028940.html","width":75,"caption":"","height":100});
															thumbnails[8028943] = clik.newPhoto({"id":8028943,"src":"Pat_Morton21_thumb.jpg","galleries_id":239047,"server_id":15,"link":"photo_8028943.html","width":71,"caption":"","height":100});
															thumbnails[8028950] = clik.newPhoto({"id":8028950,"src":"Alex_and_Sammy6_thumb.jpg","galleries_id":239047,"server_id":15,"link":"photo_8028950.html","width":75,"caption":"","height":100});
															thumbnails[8028962] = clik.newPhoto({"id":8028962,"src":"P1290481_thumb.JPG","galleries_id":239047,"server_id":15,"link":"photo_8028962.html","width":75,"caption":"","height":100});
															thumbnails[8028965] = clik.newPhoto({"id":8028965,"src":"Sammy3_thumb.jpg","galleries_id":239047,"server_id":15,"link":"photo_8028965.html","width":75,"caption":"","height":100});
															thumbnails[8028997] = clik.newPhoto({"id":8028997,"src":"P1290929_thumb.JPG","galleries_id":239047,"server_id":15,"link":"photo_8028997.html","width":66,"caption":"","height":100});
															thumbnails[8028999] = clik.newPhoto({"id":8028999,"src":"P1290965_thumb.JPG","galleries_id":239047,"server_id":15,"link":"photo_8028999.html","width":100,"caption":"","height":75});
															thumbnails[8029001] = clik.newPhoto({"id":8029001,"src":"P1300023_thumb.JPG","galleries_id":239047,"server_id":15,"link":"photo_8029001.html","width":75,"caption":"","height":100});
															thumbnails[8029004] = clik.newPhoto({"id":8029004,"src":"P1300046_thumb.JPG","galleries_id":239047,"server_id":15,"link":"photo_8029004.html","width":75,"caption":"","height":100});
															thumbnails[8029006] = clik.newPhoto({"id":8029006,"src":"P1300106_thumb.JPG","galleries_id":239047,"server_id":15,"link":"photo_8029006.html","width":75,"caption":"","height":100});
															thumbnails[8029009] = clik.newPhoto({"id":8029009,"src":"P1300138_thumb.JPG","galleries_id":239047,"server_id":15,"link":"photo_8029009.html","width":98,"caption":"","height":100});
															thumbnails[8029010] = clik.newPhoto({"id":8029010,"src":"P1300146_thumb.JPG","galleries_id":239047,"server_id":15,"link":"photo_8029010.html","width":85,"caption":"","height":100});
															thumbnails[8029014] = clik.newPhoto({"id":8029014,"src":"IMG_8341_thumb.JPG","galleries_id":254859,"server_id":15,"link":"photo_8029014.html","width":100,"caption":"","height":67});
															thumbnails[8029025] = clik.newPhoto({"id":8029025,"src":"IMG_8379_thumb.JPG","galleries_id":254859,"server_id":15,"link":"photo_8029025.html","width":100,"caption":"","height":67});
															thumbnails[8029028] = clik.newPhoto({"id":8029028,"src":"IMG_8393_thumb.JPG","galleries_id":239047,"server_id":15,"link":"photo_8029028.html","width":100,"caption":"","height":67});
															thumbnails[8029040] = clik.newPhoto({"id":8029040,"src":"Amy1_thumb.jpg","galleries_id":239047,"server_id":15,"link":"photo_8029040.html","width":67,"caption":"","height":100});
															thumbnails[8029068] = clik.newPhoto({"id":8029068,"src":"IMG_9461_thumb.JPG","galleries_id":345207,"server_id":15,"link":"photo_8029068.html","width":67,"caption":"","height":100});
															thumbnails[8029075] = clik.newPhoto({"id":8029075,"src":"IMG_9494_thumb.JPG","galleries_id":345207,"server_id":15,"link":"photo_8029075.html","width":63,"caption":"","height":100});
															thumbnails[8029081] = clik.newPhoto({"id":8029081,"src":"IMG_9478_thumb.JPG","galleries_id":345207,"server_id":15,"link":"photo_8029081.html","width":67,"caption":"","height":100});
															thumbnails[8029091] = clik.newPhoto({"id":8029091,"src":"IMG_3733_thumb.JPG","galleries_id":239047,"server_id":15,"link":"photo_8029091.html","width":100,"caption":"","height":67});
															thumbnails[8029093] = clik.newPhoto({"id":8029093,"src":"IMG_3960_C8DA434D-1EC9-D45B-1CD5569FA13211E9_thumb.JPG","galleries_id":239047,"server_id":15,"link":"photo_8029093.html","width":66,"caption":"","height":100});
															thumbnails[8029108] = clik.newPhoto({"id":8029108,"src":"P1250966_thumb.JPG","galleries_id":254859,"server_id":15,"link":"photo_8029108.html","width":100,"caption":"","height":75});
															thumbnails[8029109] = clik.newPhoto({"id":8029109,"src":"P1250836_thumb.JPG","galleries_id":254859,"server_id":15,"link":"photo_8029109.html","width":66,"caption":"","height":100});
															thumbnails[8029142] = clik.newPhoto({"id":8029142,"src":"IMG_3832_thumb.JPG","galleries_id":254859,"server_id":15,"link":"photo_8029142.html","width":67,"caption":"","height":100});
															thumbnails[8029144] = clik.newPhoto({"id":8029144,"src":"IMG_3708_thumb.JPG","galleries_id":254859,"server_id":15,"link":"photo_8029144.html","width":66,"caption":"","height":100});
															thumbnails[8029146] = clik.newPhoto({"id":8029146,"src":"IMG_3730_thumb.JPG","galleries_id":254859,"server_id":15,"link":"photo_8029146.html","width":67,"caption":"","height":100});
															thumbnails[8029149] = clik.newPhoto({"id":8029149,"src":"IMG_3746_thumb.JPG","galleries_id":254859,"server_id":15,"link":"photo_8029149.html","width":67,"caption":"","height":100});
															thumbnails[8041504] = clik.newPhoto({"id":8041504,"src":"P1130905_thumb.JPG","galleries_id":262509,"server_id":15,"link":"photo_8041504.html","width":100,"caption":"","height":87});
															thumbnails[8041513] = clik.newPhoto({"id":8041513,"src":"P1170875_thumb.JPG","galleries_id":345207,"server_id":15,"link":"photo_8041513.html","width":67,"caption":"","height":100});
															thumbnails[8123003] = clik.newPhoto({"id":8123003,"src":"P1330204_thumb.JPG","galleries_id":345207,"server_id":15,"link":"photo_8123003.html","width":75,"caption":"","height":100});
															thumbnails[8156080] = clik.newPhoto({"id":8156080,"src":"IMG_4846_thumb.JPG","galleries_id":345207,"server_id":15,"link":"photo_8156080.html","width":65,"caption":"","height":100});
															thumbnails[8156082] = clik.newPhoto({"id":8156082,"src":"P1330204_392A232D-24E8-5EC4-4F0D07E09B5DB2A1_thumb.JPG","galleries_id":345207,"server_id":15,"link":"photo_8156082.html","width":75,"caption":"","height":100});
															thumbnails[8156083] = clik.newPhoto({"id":8156083,"src":"IMG_5620_thumb.JPG","galleries_id":424532,"server_id":15,"link":"photo_8156083.html","width":100,"caption":"","height":65});
															thumbnails[8156088] = clik.newPhoto({"id":8156088,"src":"IMG_5582_thumb.JPG","galleries_id":424532,"server_id":15,"link":"photo_8156088.html","width":100,"caption":"","height":67});
															thumbnails[8156090] = clik.newPhoto({"id":8156090,"src":"IMG_5626_thumb.JPG","galleries_id":424532,"server_id":15,"link":"photo_8156090.html","width":100,"caption":"","height":58});
															thumbnails[8156093] = clik.newPhoto({"id":8156093,"src":"IMG_5627-1_thumb.JPG","galleries_id":424532,"server_id":15,"link":"photo_8156093.html","width":100,"caption":"","height":62});
															thumbnails[8156153] = clik.newPhoto({"id":8156153,"src":"IMG_5592-1_thumb.JPG","galleries_id":424532,"server_id":15,"link":"photo_8156153.html","width":100,"caption":"","height":57});
															thumbnails[8156162] = clik.newPhoto({"id":8156162,"src":"IMG_5612_thumb.JPG","galleries_id":424532,"server_id":15,"link":"photo_8156162.html","width":100,"caption":"","height":85});
															thumbnails[8156168] = clik.newPhoto({"id":8156168,"src":"IMG_5622-1_thumb.JPG","galleries_id":424532,"server_id":15,"link":"photo_8156168.html","width":100,"caption":"","height":64});
															thumbnails[8156172] = clik.newPhoto({"id":8156172,"src":"IMG_5677-1_thumb.JPG","galleries_id":424532,"server_id":15,"link":"photo_8156172.html","width":100,"caption":"","height":67});
															thumbnails[8156177] = clik.newPhoto({"id":8156177,"src":"IMG_5667_thumb.JPG","galleries_id":424532,"server_id":15,"link":"photo_8156177.html","width":100,"caption":"","height":67});
															thumbnails[8156183] = clik.newPhoto({"id":8156183,"src":"IMG_5626-1_thumb.JPG","galleries_id":424532,"server_id":15,"link":"photo_8156183.html","width":100,"caption":"","height":65});
															thumbnails[8156195] = clik.newPhoto({"id":8156195,"src":"IMG_5673_thumb.JPG","galleries_id":424532,"server_id":15,"link":"photo_8156195.html","width":100,"caption":"","height":67});
															thumbnails[8156197] = clik.newPhoto({"id":8156197,"src":"IMG_5573-1_best1_thumb.jpg","galleries_id":424532,"server_id":15,"link":"photo_8156197.html","width":100,"caption":"","height":72});
															thumbnails[8156256] = clik.newPhoto({"id":8156256,"src":"IMG_5627-11_thumb.JPG","galleries_id":424532,"server_id":15,"link":"photo_8156256.html","width":100,"caption":"","height":62});
															thumbnails[8156262] = clik.newPhoto({"id":8156262,"src":"IMG_5648-1_thumb.JPG","galleries_id":424532,"server_id":15,"link":"photo_8156262.html","width":100,"caption":"","height":56});
															thumbnails[8156600] = clik.newPhoto({"id":8156600,"src":"IMG_2093_thumb.JPG","galleries_id":435891,"server_id":15,"link":"photo_8156600.html","width":100,"caption":"","height":67});
															thumbnails[8156669] = clik.newPhoto({"id":8156669,"src":"extra_owl_edited-2_thumb.jpg","galleries_id":435891,"server_id":15,"link":"photo_8156669.html","width":89,"caption":"","height":100});
															thumbnails[8156703] = clik.newPhoto({"id":8156703,"src":"20090807_1-1_edited-1_thumb.JPG","galleries_id":435891,"server_id":15,"link":"photo_8156703.html","width":80,"caption":"","height":100});
															thumbnails[8156705] = clik.newPhoto({"id":8156705,"src":"P1160732_395977ED-24E8-5EC4-4F6F2484EC39A0D9_thumb.JPG","galleries_id":435891,"server_id":15,"link":"photo_8156705.html","width":66,"caption":"","height":100});
															thumbnails[8156721] = clik.newPhoto({"id":8156721,"src":"IMG_5413_thumb.JPG","galleries_id":435891,"server_id":15,"link":"photo_8156721.html","width":100,"caption":"","height":65});
															thumbnails[8156766] = clik.newPhoto({"id":8156766,"src":"IMG_5420_thumb.JPG","galleries_id":435891,"server_id":15,"link":"photo_8156766.html","width":67,"caption":"","height":100});
															thumbnails[8156807] = clik.newPhoto({"id":8156807,"src":"P1340053_thumb.JPG","galleries_id":435891,"server_id":15,"link":"photo_8156807.html","width":100,"caption":"","height":75});
															thumbnails[8156809] = clik.newPhoto({"id":8156809,"src":"IMG_5433_thumb.JPG","galleries_id":435891,"server_id":15,"link":"photo_8156809.html","width":100,"caption":"","height":71});
															thumbnails[8157013] = clik.newPhoto({"id":8157013,"src":"IMG_4956_thumb.JPG","galleries_id":254859,"server_id":15,"link":"photo_8157013.html","width":67,"caption":"","height":100});
															thumbnails[8157017] = clik.newPhoto({"id":8157017,"src":"IMG_4967_thumb.JPG","galleries_id":254859,"server_id":15,"link":"photo_8157017.html","width":67,"caption":"","height":100});
															thumbnails[8157018] = clik.newPhoto({"id":8157018,"src":"IMG_4974_thumb.JPG","galleries_id":254859,"server_id":15,"link":"photo_8157018.html","width":67,"caption":"","height":100});
															thumbnails[8157020] = clik.newPhoto({"id":8157020,"src":"IMG_5003_thumb.JPG","galleries_id":254859,"server_id":15,"link":"photo_8157020.html","width":67,"caption":"","height":100});
															thumbnails[8157024] = clik.newPhoto({"id":8157024,"src":"IMG_5039_thumb.JPG","galleries_id":254859,"server_id":15,"link":"photo_8157024.html","width":67,"caption":"","height":100});
															thumbnails[8157036] = clik.newPhoto({"id":8157036,"src":"IMG_4946_thumb.JPG","galleries_id":239047,"server_id":15,"link":"photo_8157036.html","width":67,"caption":"","height":100});
															thumbnails[8157043] = clik.newPhoto({"id":8157043,"src":"IMG_4482_thumb.JPG","galleries_id":254859,"server_id":15,"link":"photo_8157043.html","width":67,"caption":"","height":100});
															thumbnails[8157044] = clik.newPhoto({"id":8157044,"src":"IMG_4588_thumb.JPG","galleries_id":254859,"server_id":15,"link":"photo_8157044.html","width":100,"caption":"","height":67});
															thumbnails[8157046] = clik.newPhoto({"id":8157046,"src":"P1320995_thumb.JPG","galleries_id":254859,"server_id":15,"link":"photo_8157046.html","width":100,"caption":"","height":75});
															thumbnails[8157049] = clik.newPhoto({"id":8157049,"src":"IMG_4572_thumb.JPG","galleries_id":254859,"server_id":15,"link":"photo_8157049.html","width":100,"caption":"","height":67});
															thumbnails[8157052] = clik.newPhoto({"id":8157052,"src":"P1320583_thumb.JPG","galleries_id":254859,"server_id":15,"link":"photo_8157052.html","width":100,"caption":"","height":75});
															thumbnails[8157056] = clik.newPhoto({"id":8157056,"src":"P1320585_thumb.JPG","galleries_id":254859,"server_id":15,"link":"photo_8157056.html","width":75,"caption":"","height":100});
															thumbnails[8157066] = clik.newPhoto({"id":8157066,"src":"IMG_5032_thumb.JPG","galleries_id":239047,"server_id":15,"link":"photo_8157066.html","width":67,"caption":"","height":100});
															thumbnails[8157151] = clik.newPhoto({"id":8157151,"src":"P1310186_thumb.JPG","galleries_id":254859,"server_id":15,"link":"photo_8157151.html","width":75,"caption":"","height":100});
															thumbnails[8157158] = clik.newPhoto({"id":8157158,"src":"P1310022_thumb.JPG","galleries_id":254859,"server_id":15,"link":"photo_8157158.html","width":75,"caption":"","height":100});
															thumbnails[8157165] = clik.newPhoto({"id":8157165,"src":"P1310192_thumb.JPG","galleries_id":254859,"server_id":15,"link":"photo_8157165.html","width":75,"caption":"","height":100});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[424532] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Beach Life","link":"gallery_424532.html","maxRecords":0.0,"photoIDs":[7079671.0,7867046.0,7867053.0,7987821.0,7987845.0,7987852.0,8156083.0,8156088.0,8156090.0,8156093.0,8156153.0,8156162.0,8156168.0,8156172.0,8156177.0,8156183.0,8156195.0,8156197.0,8156256.0,8156262.0],"skipIndex":0,"section_code":"gallery","featured_images":"8156262,8156256,8156197,8156195,8156183,8156177,8156172,8156168,8156162,8156153","id":424532,"singleSection":false});				  						galleries[435891] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Birds Of A Feather","link":"gallery_435891.html","maxRecords":0.0,"photoIDs":[8156600.0,8156669.0,8156703.0,8156705.0,8156721.0,8156766.0,8156807.0,8156809.0],"skipIndex":0,"section_code":"gallery","featured_images":"8156809,8156807,8156766,8156721,8156705,8156703,8156669,8156600","id":435891,"singleSection":false});				  						galleries[303543] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Dawn, Dusk and Nightime","link":"gallery_303543.html","maxRecords":0.0,"photoIDs":[5280655.0],"skipIndex":0,"section_code":"gallery","featured_images":5280655.0,"id":303543,"singleSection":false});				  						galleries[345207] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"The Expectant Mum & Little People","link":"gallery_345207.html","maxRecords":0.0,"photoIDs":[7079879.0,7079881.0,7109723.0,7987874.0,8028933.0,8029068.0,8029075.0,8029081.0,8041513.0,8123003.0,8156080.0,8156082.0],"skipIndex":0,"section_code":"gallery","featured_images":"8156082,8156080,8123003,8041513,8029081,8029075,8029068,8028933,7987874,7109723","id":345207,"singleSection":false});				  						galleries[322543] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Wedding Fairs and Events","link":"gallery_322543.html","maxRecords":0.0,"photoIDs":[5695496.0,5695513.0,5695834.0,7079212.0],"skipIndex":0,"section_code":"gallery","featured_images":"7079212,5695834,5695513,5695496","id":322543,"singleSection":false});				  						galleries[239047] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Posie People","link":"gallery_239047.html","maxRecords":0.0,"photoIDs":[7858236.0,4035141.0,4042940.0,4043073.0,4043251.0,4043429.0,4043518.0,4043577.0,4043582.0,4540487.0,4550455.0,4550720.0,4618081.0,4618697.0,5037811.0,5280126.0,5280133.0,5280647.0,5280649.0,5280656.0,5280671.0,5578394.0,5578473.0,5695548.0,5695826.0,5695830.0,7079138.0,7079140.0,7079142.0,7079146.0,7079158.0,7079161.0,7079163.0,7079165.0,7079168.0,7079206.0,7079223.0,7079682.0,7079684.0,7109685.0,7109704.0,7109707.0,7109710.0,7109714.0,7283421.0,7283437.0,7283467.0,7987858.0,7987861.0,7987865.0,7987867.0,7987870.0,8028921.0,8028926.0,8028931.0,8028940.0,8028943.0,8028950.0,8028962.0,8028965.0,8028997.0,8028999.0,8029001.0,8029004.0,8029006.0,8029009.0,8029010.0,8029028.0,8029040.0,8029091.0,8029093.0,8157036.0,8157066.0],"skipIndex":0,"section_code":"gallery","featured_images":"8157066,8157036,8029093,8029091,8029040,8029028,8029010,8029009,8029006,8029004","id":239047,"singleSection":false});				  						galleries[262509] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Posie People Extra","link":"gallery_262509.html","maxRecords":0.0,"photoIDs":[4540474.0,4618710.0,5440195.0,5500813.0,5500816.0,5500821.0,5500825.0,5500826.0,5500827.0,5500830.0,5500831.0,5578479.0,5695511.0,5799380.0,5799403.0,6676983.0,6677001.0,6677038.0,6677046.0,8041504.0],"skipIndex":0,"section_code":"gallery","featured_images":"8041504,6677046,6677038,6677001,6676983,5799403,5799380,5695511,5578479,5500831","id":262509,"singleSection":false});				  						galleries[254859] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Weddings, proms & celebrations","link":"gallery_254859.html","maxRecords":0.0,"photoIDs":[4107644.0,4107648.0,4107669.0,4227664.0,4540459.0,8020045.0,8020056.0,8029014.0,8029025.0,8029108.0,8029109.0,8029142.0,8029144.0,8029146.0,8029149.0,8157013.0,8157017.0,8157018.0,8157020.0,8157024.0,8157043.0,8157044.0,8157046.0,8157049.0,8157052.0,8157056.0,8157151.0,8157158.0,8157165.0],"skipIndex":0,"section_code":"gallery","featured_images":"8157165,8157158,8157151,8157056,8157052,8157049,8157046,8157044,8157043,8157024","id":254859,"singleSection":false});				  						galleries[262510] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Boats, Barges & Bridges","link":"gallery_262510.html","maxRecords":0.0,"photoIDs":[4547822.0,4547829.0,4618673.0,4618682.0,4618684.0,4618687.0,4618690.0,4626505.0,5037898.0,5551376.0,7079170.0,7079209.0,7079758.0,7987831.0,7987835.0],"skipIndex":0,"section_code":"gallery","featured_images":"7987835,7987831,7079758,7079209,7079170,5551376,5037898,4626505,4618690,4618687","id":262510,"singleSection":false});				  						galleries[262511] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"An English country garden","link":"gallery_262511.html","maxRecords":0.0,"photoIDs":[4550451.0,5037512.0,5037534.0,5037823.0,5280136.0,7109740.0,7283444.0],"skipIndex":0,"section_code":"gallery","featured_images":"7283444,7109740,5280136,5037823,5037534,5037512,4550451","id":262511,"singleSection":false});				  						galleries[262512] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Assorted photography","link":"gallery_262512.html","maxRecords":0.0,"photoIDs":[4618744.0,5280138.0,5280625.0,7079134.0,7079662.0,7079667.0,7079798.0,7109722.0,7858273.0,7858286.0,7858303.0],"skipIndex":0,"section_code":"gallery","featured_images":"7858303,7858286,7858273,7109722,7079798,7079667,7079662,7079134,5280625,5280138","id":262512,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '8157165,8157024,8157017,8156669,8156256,8156197,8156183,8156093,8029028,8029025,8029014,8028926,8028921,8020045,7987874,7987867,7987865,7987861,7987858,7987845,7858303,7858273,7283437,7109723,7079879,7079140,6676983,5799380,5578473,5280133,5280126,4618673,4550451,4547829,4043582';
imageSets[3] = '5695830';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/c12jac/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/c12jac/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/c12jac/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/c12jac/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/c12jac/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/c12jac/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/c12jac/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/c12jac/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/c12jac/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/c12jac/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/c12jac/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/c12jac/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/c12jac/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/c12jac/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/c12jac/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/c12jac/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/c12jac/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/c12jac/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/c12jac/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/c12jac/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/c12jac/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/c12jac/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/c12jac/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/c12jac/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/c12jac/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/c12jac/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/c12jac/images';
		break;
	}
		return val;
}

/***************************************************************************
* img = reference to image object in which to show image                   *
***************************************************************************/
function showHomeImage(img) {
	imageID = randomListVal('');
	if (!basic) {
		img.src = photos[imageID].src;
		img.width = photos[imageID].width;
		img.height = photos[imageID].height;
		img.parentNode.title = img.alt = photos[imageID].caption;
	} else {
		newImage = new Image(photos[imageID].width,photos[imageID].height);
		newImage.src = photos[imageID].src;
		document.images[img.name] = newImage;
		
	}
}

function getHomeImageLink(imageID) {
  	var href='', photo = (backgrounds || photos || {})[imageID];
	if(photo){
		if (photo && photo.galleries_id != '') {
  			href = photo.fnGalleryLink();
  		}
  		  		else {
  				href += '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 = 'Posie Pics | Norfolk photography | Weddings, proms: ' + 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.item_price !== '') {
																		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="jackie.palmer2@btinternet.com">';
					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="jackie.palmer2@btinternet.com">';
				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;
	}
}

			

