window.thumbnails = {};
															thumbnails[5285318] = clik.newPhoto({"id":5285318,"src":"mav_thumb.jpg","galleries_id":297296,"server_id":18,"link":"photo_5285318.html","width":130,"caption":"","height":194});
															thumbnails[5288724] = clik.newPhoto({"id":5288724,"src":"w8_thumb.jpg","galleries_id":297296,"server_id":18,"link":"photo_5288724.html","width":130,"caption":"","height":194});
															thumbnails[5288730] = clik.newPhoto({"id":5288730,"src":"w2_thumb.jpg","galleries_id":297296,"server_id":18,"link":"photo_5288730.html","width":130,"caption":"","height":194});
															thumbnails[5288733] = clik.newPhoto({"id":5288733,"src":"w10_thumb.jpg","galleries_id":297296,"server_id":18,"link":"photo_5288733.html","width":130,"caption":"","height":194});
															thumbnails[5291404] = clik.newPhoto({"id":5291404,"src":"11254_thumb.jpg","galleries_id":297296,"server_id":18,"link":"photo_5291404.html","width":130,"caption":"","height":194});
															thumbnails[5347788] = clik.newPhoto({"id":5347788,"src":"puffin_thumb.jpg","galleries_id":284765,"server_id":18,"link":"photo_5347788.html","width":130,"caption":"","height":87});
															thumbnails[5379971] = clik.newPhoto({"id":5379971,"src":"raw_jpeg_1_of_1-295_thumb.jpg","galleries_id":284765,"server_id":18,"link":"photo_5379971.html","width":130,"caption":"","height":77});
															thumbnails[6278064] = clik.newPhoto({"id":6278064,"src":"rev4_thumb.jpg","galleries_id":284401,"server_id":18,"link":"photo_6278064.html","width":130,"caption":"","height":187});
															thumbnails[6278066] = clik.newPhoto({"id":6278066,"src":"rev5_thumb.jpg","galleries_id":284401,"server_id":18,"link":"photo_6278066.html","width":130,"caption":"","height":187});
															thumbnails[6278067] = clik.newPhoto({"id":6278067,"src":"rev6_thumb.jpg","galleries_id":284401,"server_id":18,"link":"photo_6278067.html","width":130,"caption":"","height":187});
															thumbnails[6278070] = clik.newPhoto({"id":6278070,"src":"rev8_thumb.jpg","galleries_id":284401,"server_id":18,"link":"photo_6278070.html","width":130,"caption":"","height":187});
															thumbnails[6278073] = clik.newPhoto({"id":6278073,"src":"rev9_thumb.jpg","galleries_id":284401,"server_id":18,"link":"photo_6278073.html","width":130,"caption":"","height":187});
															thumbnails[6278074] = clik.newPhoto({"id":6278074,"src":"rev10_thumb.jpg","galleries_id":284401,"server_id":18,"link":"photo_6278074.html","width":130,"caption":"","height":187});
															thumbnails[6278077] = clik.newPhoto({"id":6278077,"src":"rev11_thumb.jpg","galleries_id":284401,"server_id":18,"link":"photo_6278077.html","width":130,"caption":"","height":187});
															thumbnails[6278080] = clik.newPhoto({"id":6278080,"src":"rev13_thumb.jpg","galleries_id":284401,"server_id":18,"link":"photo_6278080.html","width":130,"caption":"","height":187});
															thumbnails[6278083] = clik.newPhoto({"id":6278083,"src":"rev14_thumb.jpg","galleries_id":284401,"server_id":18,"link":"photo_6278083.html","width":130,"caption":"","height":187});
															thumbnails[6278086] = clik.newPhoto({"id":6278086,"src":"rev15_thumb.jpg","galleries_id":284401,"server_id":18,"link":"photo_6278086.html","width":130,"caption":"","height":187});
															thumbnails[6278087] = clik.newPhoto({"id":6278087,"src":"rev16_thumb.jpg","galleries_id":284401,"server_id":18,"link":"photo_6278087.html","width":130,"caption":"","height":187});
															thumbnails[6278088] = clik.newPhoto({"id":6278088,"src":"rev17_thumb.jpg","galleries_id":353964,"server_id":18,"link":"photo_6278088.html","width":130,"caption":"","height":187});
															thumbnails[6278091] = clik.newPhoto({"id":6278091,"src":"rev18_thumb.jpg","galleries_id":284401,"server_id":18,"link":"photo_6278091.html","width":130,"caption":"","height":187});
															thumbnails[6278093] = clik.newPhoto({"id":6278093,"src":"rev19_thumb.jpg","galleries_id":284401,"server_id":18,"link":"photo_6278093.html","width":130,"caption":"","height":187});
															thumbnails[6278094] = clik.newPhoto({"id":6278094,"src":"rev20_thumb.jpg","galleries_id":284401,"server_id":18,"link":"photo_6278094.html","width":130,"caption":"","height":187});
															thumbnails[6278095] = clik.newPhoto({"id":6278095,"src":"rev21_thumb.jpg","galleries_id":284401,"server_id":18,"link":"photo_6278095.html","width":130,"caption":"","height":187});
															thumbnails[6315432] = clik.newPhoto({"id":6315432,"src":"rev23_thumb.jpg","galleries_id":297296,"server_id":18,"link":"photo_6315432.html","width":130,"caption":"","height":187});
															thumbnails[6315434] = clik.newPhoto({"id":6315434,"src":"rev24_thumb.jpg","galleries_id":297296,"server_id":18,"link":"photo_6315434.html","width":130,"caption":"","height":187});
															thumbnails[6315435] = clik.newPhoto({"id":6315435,"src":"rev25_thumb.jpg","galleries_id":297296,"server_id":18,"link":"photo_6315435.html","width":130,"caption":"","height":187});
															thumbnails[6315436] = clik.newPhoto({"id":6315436,"src":"rev26_thumb.jpg","galleries_id":297296,"server_id":18,"link":"photo_6315436.html","width":130,"caption":"","height":187});
															thumbnails[6315437] = clik.newPhoto({"id":6315437,"src":"rev27_thumb.jpg","galleries_id":297296,"server_id":18,"link":"photo_6315437.html","width":130,"caption":"","height":90});
															thumbnails[6315438] = clik.newPhoto({"id":6315438,"src":"rev28_thumb.jpg","galleries_id":297296,"server_id":18,"link":"photo_6315438.html","width":130,"caption":"","height":90});
															thumbnails[6319634] = clik.newPhoto({"id":6319634,"src":"rev37_thumb.jpg","galleries_id":353964,"server_id":18,"link":"photo_6319634.html","width":130,"caption":"","height":187});
															thumbnails[6319676] = clik.newPhoto({"id":6319676,"src":"rev41_thumb.jpg","galleries_id":284755,"server_id":18,"link":"photo_6319676.html","width":130,"caption":"","height":187});
															thumbnails[6401240] = clik.newPhoto({"id":6401240,"src":"proof-1_thumb.jpg","galleries_id":284765,"server_id":18,"link":"photo_6401240.html","width":130,"caption":"","height":90});
															thumbnails[6401252] = clik.newPhoto({"id":6401252,"src":"raw_jpeg_1_of_1-12_thumb.jpg","galleries_id":353964,"server_id":18,"link":"photo_6401252.html","width":130,"caption":"","height":187});
															thumbnails[6401254] = clik.newPhoto({"id":6401254,"src":"raw_jpeg_1_of_1-15_thumb.jpg","galleries_id":353964,"server_id":18,"link":"photo_6401254.html","width":130,"caption":"","height":187});
															thumbnails[6405987] = clik.newPhoto({"id":6405987,"src":"raw_jpeg_1_of_1-2_thumb.jpg","galleries_id":353964,"server_id":18,"link":"photo_6405987.html","width":130,"caption":"","height":187});
															thumbnails[6406026] = clik.newPhoto({"id":6406026,"src":"raw_jpeg_1_of_1-31_thumb.jpg","galleries_id":353964,"server_id":18,"link":"photo_6406026.html","width":130,"caption":"","height":187});
															thumbnails[6406109] = clik.newPhoto({"id":6406109,"src":"raw_jpeg_1_of_12_thumb.jpg","galleries_id":353964,"server_id":18,"link":"photo_6406109.html","width":130,"caption":"","height":187});
															thumbnails[6406111] = clik.newPhoto({"id":6406111,"src":"raw_jpeg_1_of_1-141_thumb.jpg","galleries_id":353964,"server_id":18,"link":"photo_6406111.html","width":130,"caption":"","height":187});
															thumbnails[6451127] = clik.newPhoto({"id":6451127,"src":"raw_jpeg_1_of_1-39_thumb.jpg","galleries_id":353964,"server_id":18,"link":"photo_6451127.html","width":130,"caption":"","height":187});
															thumbnails[6451164] = clik.newPhoto({"id":6451164,"src":"a1_thumb.jpg","galleries_id":284401,"server_id":18,"link":"photo_6451164.html","width":130,"caption":"","height":187});
															thumbnails[6903621] = clik.newPhoto({"id":6903621,"src":"b1_thumb.jpg","galleries_id":284404,"server_id":18,"link":"photo_6903621.html","width":130,"caption":"","height":187});
															thumbnails[6903629] = clik.newPhoto({"id":6903629,"src":"b4_thumb.jpg","galleries_id":284404,"server_id":18,"link":"photo_6903629.html","width":130,"caption":"","height":187});
															thumbnails[6903647] = clik.newPhoto({"id":6903647,"src":"baby2_thumb.jpg","galleries_id":353964,"server_id":18,"link":"photo_6903647.html","width":130,"caption":"","height":187});
															thumbnails[6903657] = clik.newPhoto({"id":6903657,"src":"child1_thumb.jpg","galleries_id":284401,"server_id":18,"link":"photo_6903657.html","width":130,"caption":"","height":187});
															thumbnails[6903661] = clik.newPhoto({"id":6903661,"src":"child2_thumb.jpg","galleries_id":284401,"server_id":18,"link":"photo_6903661.html","width":130,"caption":"","height":187});
															thumbnails[6903666] = clik.newPhoto({"id":6903666,"src":"child3_thumb.jpg","galleries_id":284401,"server_id":18,"link":"photo_6903666.html","width":130,"caption":"","height":187});
															thumbnails[6903667] = clik.newPhoto({"id":6903667,"src":"child4_thumb.jpg","galleries_id":284401,"server_id":18,"link":"photo_6903667.html","width":130,"caption":"","height":187});
															thumbnails[6903672] = clik.newPhoto({"id":6903672,"src":"wedding1_thumb.jpg","galleries_id":374592,"server_id":18,"link":"photo_6903672.html","width":130,"caption":"","height":187});
															thumbnails[6903674] = clik.newPhoto({"id":6903674,"src":"wedding2_thumb.jpg","galleries_id":374592,"server_id":18,"link":"photo_6903674.html","width":130,"caption":"","height":187});
															thumbnails[6903676] = clik.newPhoto({"id":6903676,"src":"wedding3_thumb.jpg","galleries_id":374592,"server_id":18,"link":"photo_6903676.html","width":130,"caption":"","height":187});
															thumbnails[6903684] = clik.newPhoto({"id":6903684,"src":"wedding5_thumb.jpg","galleries_id":374592,"server_id":18,"link":"photo_6903684.html","width":130,"caption":"","height":187});
															thumbnails[6983622] = clik.newPhoto({"id":6983622,"src":"fc2_thumb.jpg","galleries_id":353964,"server_id":18,"link":"photo_6983622.html","width":130,"caption":"","height":187});
															thumbnails[7115145] = clik.newPhoto({"id":7115145,"src":"bride3_thumb.jpg","galleries_id":374592,"server_id":18,"link":"photo_7115145.html","width":130,"caption":"","height":187});
															thumbnails[7178342] = clik.newPhoto({"id":7178342,"src":"r12_thumb.jpg","galleries_id":284402,"server_id":18,"link":"photo_7178342.html","width":130,"caption":"","height":187});
															thumbnails[7179763] = clik.newPhoto({"id":7179763,"src":"p31_thumb.jpg","galleries_id":284402,"server_id":18,"link":"photo_7179763.html","width":130,"caption":"","height":187});
															thumbnails[7179764] = clik.newPhoto({"id":7179764,"src":"p4_thumb.jpg","galleries_id":284402,"server_id":18,"link":"photo_7179764.html","width":130,"caption":"","height":187});
															thumbnails[7179765] = clik.newPhoto({"id":7179765,"src":"p5_thumb.jpg","galleries_id":284402,"server_id":18,"link":"photo_7179765.html","width":130,"caption":"","height":187});
															thumbnails[7179766] = clik.newPhoto({"id":7179766,"src":"p9_thumb.jpg","galleries_id":284402,"server_id":18,"link":"photo_7179766.html","width":130,"caption":"","height":187});
															thumbnails[7179767] = clik.newPhoto({"id":7179767,"src":"p6_thumb.jpg","galleries_id":284755,"server_id":18,"link":"photo_7179767.html","width":130,"caption":"","height":187});
															thumbnails[7208516] = clik.newPhoto({"id":7208516,"src":"mn2_thumb.jpg","galleries_id":284755,"server_id":18,"link":"photo_7208516.html","width":130,"caption":"","height":187});
															thumbnails[7208517] = clik.newPhoto({"id":7208517,"src":"mn1_thumb.jpg","galleries_id":284755,"server_id":18,"link":"photo_7208517.html","width":130,"caption":"","height":90});
															thumbnails[7208519] = clik.newPhoto({"id":7208519,"src":"mn3_thumb.jpg","galleries_id":284755,"server_id":18,"link":"photo_7208519.html","width":130,"caption":"","height":187});
															thumbnails[7208525] = clik.newPhoto({"id":7208525,"src":"ch2_thumb.jpg","galleries_id":284401,"server_id":18,"link":"photo_7208525.html","width":130,"caption":"","height":187});
															thumbnails[7368578] = clik.newPhoto({"id":7368578,"src":"gt_thumb.jpg","galleries_id":284765,"server_id":18,"link":"photo_7368578.html","width":130,"caption":"","height":87});
															thumbnails[7368581] = clik.newPhoto({"id":7368581,"src":"gt1_thumb.jpg","galleries_id":284765,"server_id":18,"link":"photo_7368581.html","width":130,"caption":"","height":87});
															thumbnails[7436248] = clik.newPhoto({"id":7436248,"src":"raw_jpeg_1_of_1-15_4839BB42-1EC9-D45B-1C7E20975519D270_thumb.jpg","galleries_id":284402,"server_id":18,"link":"photo_7436248.html","width":130,"caption":"","height":187});
															thumbnails[7436252] = clik.newPhoto({"id":7436252,"src":"d6_thumb.jpg","galleries_id":284401,"server_id":18,"link":"photo_7436252.html","width":130,"caption":"","height":187});
															thumbnails[7452288] = clik.newPhoto({"id":7452288,"src":"raw_jpeg_1_of_1-22_thumb.jpg","galleries_id":353964,"server_id":18,"link":"photo_7452288.html","width":130,"caption":"","height":90});
															thumbnails[7452290] = clik.newPhoto({"id":7452290,"src":"raw_jpeg_1_of_1-33_thumb.jpg","galleries_id":353964,"server_id":18,"link":"photo_7452290.html","width":130,"caption":"","height":187});
															thumbnails[7452291] = clik.newPhoto({"id":7452291,"src":"raw_jpeg_1_of_1_1_thumb.jpg","galleries_id":353964,"server_id":18,"link":"photo_7452291.html","width":130,"caption":"","height":187});
															thumbnails[7484125] = clik.newPhoto({"id":7484125,"src":"fin-new_thumb.jpg","galleries_id":353964,"server_id":18,"link":"photo_7484125.html","width":130,"caption":"","height":90});
															thumbnails[7583011] = clik.newPhoto({"id":7583011,"src":"james_FD14E5F7-24E8-5EC4-4FC49C57D81593FB_thumb.jpg","galleries_id":353964,"server_id":18,"link":"photo_7583011.html","width":130,"caption":"","height":187});
															thumbnails[7583016] = clik.newPhoto({"id":7583016,"src":"james-3_thumb.jpg","galleries_id":353964,"server_id":18,"link":"photo_7583016.html","width":130,"caption":"","height":187});
															thumbnails[7583021] = clik.newPhoto({"id":7583021,"src":"james-5_thumb.jpg","galleries_id":284402,"server_id":18,"link":"photo_7583021.html","width":130,"caption":"","height":187});
															thumbnails[7588167] = clik.newPhoto({"id":7588167,"src":"1-james_thumb.jpg","galleries_id":353964,"server_id":18,"link":"photo_7588167.html","width":130,"caption":"","height":187});
															thumbnails[7625634] = clik.newPhoto({"id":7625634,"src":"raw_jpeg_1_of_1-50_301BAC94-1E4F-37DC-719DB1F27CDF5D2A_thumb.jpg","galleries_id":284401,"server_id":18,"link":"photo_7625634.html","width":130,"caption":"","height":187});
															thumbnails[7625636] = clik.newPhoto({"id":7625636,"src":"s1_thumb.jpg","galleries_id":284401,"server_id":18,"link":"photo_7625636.html","width":130,"caption":"","height":187});
															thumbnails[7625640] = clik.newPhoto({"id":7625640,"src":"raw_jpeg_1_of_1-28_thumb.jpg","galleries_id":284401,"server_id":18,"link":"photo_7625640.html","width":130,"caption":"","height":187});
															thumbnails[7625641] = clik.newPhoto({"id":7625641,"src":"raw_jpeg_1_of_1-8_thumb.jpg","galleries_id":284401,"server_id":18,"link":"photo_7625641.html","width":130,"caption":"","height":187});
															thumbnails[7625645] = clik.newPhoto({"id":7625645,"src":"raw_jpeg_1_of_1-32_301E242E-1E4F-37DC-71DD403F258AB6CF_thumb.jpg","galleries_id":284401,"server_id":18,"link":"photo_7625645.html","width":130,"caption":"","height":187});
															thumbnails[7668192] = clik.newPhoto({"id":7668192,"src":"sub1_thumb.jpg","galleries_id":284402,"server_id":18,"link":"photo_7668192.html","width":130,"caption":"","height":187});
															thumbnails[7668195] = clik.newPhoto({"id":7668195,"src":"sub2_thumb.jpg","galleries_id":284402,"server_id":18,"link":"photo_7668195.html","width":130,"caption":"","height":187});
															thumbnails[7668196] = clik.newPhoto({"id":7668196,"src":"sub3_thumb.jpg","galleries_id":284402,"server_id":18,"link":"photo_7668196.html","width":130,"caption":"","height":187});
															thumbnails[7668198] = clik.newPhoto({"id":7668198,"src":"sub4_thumb.jpg","galleries_id":284402,"server_id":18,"link":"photo_7668198.html","width":130,"caption":"","height":187});
															thumbnails[7668200] = clik.newPhoto({"id":7668200,"src":"sub5_thumb.jpg","galleries_id":284402,"server_id":18,"link":"photo_7668200.html","width":130,"caption":"","height":187});
															thumbnails[7668201] = clik.newPhoto({"id":7668201,"src":"sub6_thumb.jpg","galleries_id":284402,"server_id":18,"link":"photo_7668201.html","width":130,"caption":"","height":187});
															thumbnails[7668205] = clik.newPhoto({"id":7668205,"src":"sub7_thumb.jpg","galleries_id":284402,"server_id":18,"link":"photo_7668205.html","width":130,"caption":"","height":187});
															thumbnails[7668206] = clik.newPhoto({"id":7668206,"src":"sub8_thumb.jpg","galleries_id":284402,"server_id":18,"link":"photo_7668206.html","width":130,"caption":"","height":187});
															thumbnails[7823619] = clik.newPhoto({"id":7823619,"src":"raw_jpeg_1_of_1-17_thumb.jpg","galleries_id":353964,"server_id":18,"link":"photo_7823619.html","width":130,"caption":"","height":187});
															thumbnails[7823621] = clik.newPhoto({"id":7823621,"src":"w1_thumb.jpg","galleries_id":353964,"server_id":18,"link":"photo_7823621.html","width":130,"caption":"","height":187});
															thumbnails[7823624] = clik.newPhoto({"id":7823624,"src":"w2_03B29F88-24E8-5EC4-4FF1A20FD56BB8E9_thumb.jpg","galleries_id":353964,"server_id":18,"link":"photo_7823624.html","width":130,"caption":"","height":187});
															thumbnails[7823632] = clik.newPhoto({"id":7823632,"src":"isla-1_thumb.jpg","galleries_id":353964,"server_id":18,"link":"photo_7823632.html","width":130,"caption":"","height":187});
															thumbnails[7823639] = clik.newPhoto({"id":7823639,"src":"w6_03B3524F-24E8-5EC4-4F26D76AF52C5CA2_thumb.jpg","galleries_id":353964,"server_id":18,"link":"photo_7823639.html","width":130,"caption":"","height":187});
															thumbnails[7823640] = clik.newPhoto({"id":7823640,"src":"w11_thumb.jpg","galleries_id":353964,"server_id":18,"link":"photo_7823640.html","width":130,"caption":"","height":187});
															thumbnails[7823643] = clik.newPhoto({"id":7823643,"src":"raw_jpeg_1_of_1-44_03B532AA-24E8-5EC4-4F95137FA3D61B67_thumb.jpg","galleries_id":284401,"server_id":18,"link":"photo_7823643.html","width":130,"caption":"","height":187});
															thumbnails[8058419] = clik.newPhoto({"id":8058419,"src":"f2_thumb.jpg","galleries_id":353964,"server_id":18,"link":"photo_8058419.html","width":130,"caption":"","height":187});
															thumbnails[8058428] = clik.newPhoto({"id":8058428,"src":"f1_thumb.jpg","galleries_id":353964,"server_id":18,"link":"photo_8058428.html","width":130,"caption":"","height":187});
															thumbnails[8058429] = clik.newPhoto({"id":8058429,"src":"f4_thumb.jpg","galleries_id":284401,"server_id":18,"link":"photo_8058429.html","width":130,"caption":"","height":187});
															thumbnails[8058430] = clik.newPhoto({"id":8058430,"src":"f7_thumb.jpg","galleries_id":297296,"server_id":18,"link":"photo_8058430.html","width":130,"caption":"","height":187});
															thumbnails[8058431] = clik.newPhoto({"id":8058431,"src":"ma2_thumb.jpg","galleries_id":297296,"server_id":18,"link":"photo_8058431.html","width":130,"caption":"","height":187});
															thumbnails[8065646] = clik.newPhoto({"id":8065646,"src":"mar2_thumb.jpg","galleries_id":284402,"server_id":18,"link":"photo_8065646.html","width":130,"caption":"","height":187});
															thumbnails[8065658] = clik.newPhoto({"id":8065658,"src":"mar5_thumb.jpg","galleries_id":284402,"server_id":18,"link":"photo_8065658.html","width":130,"caption":"","height":187});
															thumbnails[8272139] = clik.newPhoto({"id":8272139,"src":"rich_thumb.jpg","galleries_id":284402,"server_id":18,"link":"photo_8272139.html","width":130,"caption":"","height":180});
															thumbnails[8272317] = clik.newPhoto({"id":8272317,"src":"p1_thumb.jpg","galleries_id":284402,"server_id":18,"link":"photo_8272317.html","width":130,"caption":"","height":194});
															thumbnails[8272318] = clik.newPhoto({"id":8272318,"src":"p2_thumb.jpg","galleries_id":284402,"server_id":18,"link":"photo_8272318.html","width":130,"caption":"","height":194});
															thumbnails[8272319] = clik.newPhoto({"id":8272319,"src":"p3_thumb.jpg","galleries_id":284402,"server_id":18,"link":"photo_8272319.html","width":130,"caption":"","height":194});
															thumbnails[8272320] = clik.newPhoto({"id":8272320,"src":"p4_AE619EE0-24E8-5EC4-4F7929AA0113C2A6_thumb.jpg","galleries_id":284402,"server_id":18,"link":"photo_8272320.html","width":130,"caption":"","height":191});
															thumbnails[8272321] = clik.newPhoto({"id":8272321,"src":"p5_AE61E261-24E8-5EC4-4F9C83B73B6FED08_thumb.jpg","galleries_id":284402,"server_id":18,"link":"photo_8272321.html","width":130,"caption":"","height":194});
															thumbnails[8272322] = clik.newPhoto({"id":8272322,"src":"p6_AE621D67-24E8-5EC4-4FA7C2EF1BE7FD37_thumb.jpg","galleries_id":284402,"server_id":18,"link":"photo_8272322.html","width":130,"caption":"","height":194});
															thumbnails[8272323] = clik.newPhoto({"id":8272323,"src":"p7_thumb.jpg","galleries_id":284402,"server_id":18,"link":"photo_8272323.html","width":130,"caption":"","height":194});
															thumbnails[8272329] = clik.newPhoto({"id":8272329,"src":"xander3_thumb.jpg","galleries_id":284401,"server_id":18,"link":"photo_8272329.html","width":130,"caption":"","height":194});
															thumbnails[8278840] = clik.newPhoto({"id":8278840,"src":"su5_thumb.jpg","galleries_id":284403,"server_id":18,"link":"photo_8278840.html","width":130,"caption":"","height":187});
															thumbnails[8278946] = clik.newPhoto({"id":8278946,"src":"fa3_thumb.jpg","galleries_id":440674,"server_id":18,"link":"photo_8278946.html","width":130,"caption":"","height":194});
															thumbnails[8278958] = clik.newPhoto({"id":8278958,"src":"fa5_thumb.jpg","galleries_id":440674,"server_id":18,"link":"photo_8278958.html","width":130,"caption":"","height":194});
															thumbnails[8278960] = clik.newPhoto({"id":8278960,"src":"fa6_thumb.jpg","galleries_id":440674,"server_id":18,"link":"photo_8278960.html","width":130,"caption":"","height":194});
															thumbnails[8278961] = clik.newPhoto({"id":8278961,"src":"fa11_thumb.jpg","galleries_id":440674,"server_id":18,"link":"photo_8278961.html","width":130,"caption":"","height":194});
															thumbnails[8278963] = clik.newPhoto({"id":8278963,"src":"fa14_thumb.jpg","galleries_id":440674,"server_id":18,"link":"photo_8278963.html","width":130,"caption":"","height":194});
															thumbnails[8278987] = clik.newPhoto({"id":8278987,"src":"su8_thumb.jpg","galleries_id":440674,"server_id":18,"link":"photo_8278987.html","width":130,"caption":"","height":187});
															thumbnails[8278989] = clik.newPhoto({"id":8278989,"src":"su7_thumb.jpg","galleries_id":440674,"server_id":18,"link":"photo_8278989.html","width":130,"caption":"","height":187});
															thumbnails[8279291] = clik.newPhoto({"id":8279291,"src":"g1_thumb.jpg","galleries_id":440674,"server_id":18,"link":"photo_8279291.html","width":130,"caption":"","height":194});
															thumbnails[8279455] = clik.newPhoto({"id":8279455,"src":"fa12_thumb.jpg","galleries_id":284403,"server_id":18,"link":"photo_8279455.html","width":130,"caption":"","height":87});
															thumbnails[8289784] = clik.newPhoto({"id":8289784,"src":"mod1_thumb.jpg","galleries_id":440674,"server_id":18,"link":"photo_8289784.html","width":130,"caption":"","height":194});
															thumbnails[8289785] = clik.newPhoto({"id":8289785,"src":"mod2_thumb.jpg","galleries_id":440674,"server_id":18,"link":"photo_8289785.html","width":130,"caption":"","height":196});
															thumbnails[8292754] = clik.newPhoto({"id":8292754,"src":"gl1_thumb.jpg","galleries_id":440674,"server_id":18,"link":"photo_8292754.html","width":130,"caption":"","height":194});
															thumbnails[8292755] = clik.newPhoto({"id":8292755,"src":"gl2_thumb.jpg","galleries_id":440674,"server_id":18,"link":"photo_8292755.html","width":130,"caption":"","height":194});
															thumbnails[8292756] = clik.newPhoto({"id":8292756,"src":"gl3_thumb.jpg","galleries_id":440674,"server_id":18,"link":"photo_8292756.html","width":130,"caption":"","height":194});
															thumbnails[8485987] = clik.newPhoto({"id":8485987,"src":"Ron-1_thumb.jpg","galleries_id":297296,"server_id":18,"link":"photo_8485987.html","width":130,"caption":"","height":187});
															thumbnails[8485991] = clik.newPhoto({"id":8485991,"src":"c1_thumb.jpg","galleries_id":374592,"server_id":18,"link":"photo_8485991.html","width":130,"caption":"","height":187});
															thumbnails[8691879] = clik.newPhoto({"id":8691879,"src":"spider_thumb.jpg","galleries_id":284765,"server_id":18,"link":"photo_8691879.html","width":130,"caption":"","height":90});
															thumbnails[8691881] = clik.newPhoto({"id":8691881,"src":"clikpic2_thumb.jpg","galleries_id":284765,"server_id":18,"link":"photo_8691881.html","width":130,"caption":"","height":88});
															thumbnails[8691884] = clik.newPhoto({"id":8691884,"src":"clikpic3_thumb.jpg","galleries_id":284765,"server_id":18,"link":"photo_8691884.html","width":130,"caption":"","height":88});
															thumbnails[8706740] = clik.newPhoto({"id":8706740,"src":"arch1_thumb.jpg","galleries_id":353964,"server_id":18,"link":"photo_8706740.html","width":130,"caption":"","height":187});
															thumbnails[8706742] = clik.newPhoto({"id":8706742,"src":"arch2_thumb.jpg","galleries_id":353964,"server_id":18,"link":"photo_8706742.html","width":130,"caption":"","height":187});
															thumbnails[8706743] = clik.newPhoto({"id":8706743,"src":"arch3_thumb.jpg","galleries_id":353964,"server_id":18,"link":"photo_8706743.html","width":130,"caption":"","height":187});
															thumbnails[8828111] = clik.newPhoto({"id":8828111,"src":"corp1_thumb.jpg","galleries_id":284402,"server_id":18,"link":"photo_8828111.html","width":130,"caption":"","height":187});
															thumbnails[8828113] = clik.newPhoto({"id":8828113,"src":"DSC_3912_edited-1_thumb.jpg","galleries_id":353964,"server_id":18,"link":"photo_8828113.html","width":130,"caption":"","height":187});
															thumbnails[8828168] = clik.newPhoto({"id":8828168,"src":"jud1_thumb.jpg","galleries_id":284402,"server_id":18,"link":"photo_8828168.html","width":130,"caption":"","height":187});
															thumbnails[8828176] = clik.newPhoto({"id":8828176,"src":"g2_thumb.jpg","galleries_id":440674,"server_id":18,"link":"photo_8828176.html","width":130,"caption":"","height":194});
															thumbnails[8828318] = clik.newPhoto({"id":8828318,"src":"c2_thumb.jpg","galleries_id":374592,"server_id":18,"link":"photo_8828318.html","width":130,"caption":"","height":187});
															thumbnails[8828320] = clik.newPhoto({"id":8828320,"src":"product_thumb.jpg","galleries_id":284403,"server_id":18,"link":"photo_8828320.html","width":130,"caption":"","height":90});
															thumbnails[9084375] = clik.newPhoto({"id":9084375,"src":"kelly-1_thumb.jpg","galleries_id":440674,"server_id":18,"link":"photo_9084375.html","width":130,"caption":"","height":187});
															thumbnails[9084376] = clik.newPhoto({"id":9084376,"src":"kelly-2_thumb.jpg","galleries_id":440674,"server_id":18,"link":"photo_9084376.html","width":130,"caption":"","height":187});
															thumbnails[9084377] = clik.newPhoto({"id":9084377,"src":"kelly-3_thumb.jpg","galleries_id":440674,"server_id":18,"link":"photo_9084377.html","width":130,"caption":"","height":187});
															thumbnails[9084378] = clik.newPhoto({"id":9084378,"src":"kelly-4_thumb.jpg","galleries_id":440674,"server_id":18,"link":"photo_9084378.html","width":130,"caption":"","height":187});
															thumbnails[9085370] = clik.newPhoto({"id":9085370,"src":"h3_1_thumb.jpg","galleries_id":479189,"server_id":18,"link":"photo_9085370.html","width":130,"caption":"","height":187});
															thumbnails[9085384] = clik.newPhoto({"id":9085384,"src":"h1_1_thumb.jpg","galleries_id":479189,"server_id":18,"link":"photo_9085384.html","width":130,"caption":"","height":187});
															thumbnails[9087921] = clik.newPhoto({"id":9087921,"src":"h5_1_thumb.jpg","galleries_id":479189,"server_id":18,"link":"photo_9087921.html","width":130,"caption":"","height":187});
															thumbnails[9087922] = clik.newPhoto({"id":9087922,"src":"h6_1_thumb.jpg","galleries_id":479189,"server_id":18,"link":"photo_9087922.html","width":130,"caption":"","height":187});
															thumbnails[9087923] = clik.newPhoto({"id":9087923,"src":"h7_1_thumb.jpg","galleries_id":479189,"server_id":18,"link":"photo_9087923.html","width":130,"caption":"","height":187});
															thumbnails[9087924] = clik.newPhoto({"id":9087924,"src":"h4_1_thumb.jpg","galleries_id":479189,"server_id":18,"link":"photo_9087924.html","width":130,"caption":"","height":187});
															thumbnails[9087925] = clik.newPhoto({"id":9087925,"src":"C3_1_thumb.jpg","galleries_id":479189,"server_id":18,"link":"photo_9087925.html","width":130,"caption":"","height":164});
															thumbnails[9087926] = clik.newPhoto({"id":9087926,"src":"c4_1_thumb.jpg","galleries_id":479189,"server_id":18,"link":"photo_9087926.html","width":130,"caption":"","height":187});
															thumbnails[9087928] = clik.newPhoto({"id":9087928,"src":"c2_1_thumb.jpg","galleries_id":479189,"server_id":18,"link":"photo_9087928.html","width":130,"caption":"","height":90});
															thumbnails[9087929] = clik.newPhoto({"id":9087929,"src":"c1_1_thumb.jpg","galleries_id":479189,"server_id":18,"link":"photo_9087929.html","width":130,"caption":"","height":90});
															thumbnails[9087931] = clik.newPhoto({"id":9087931,"src":"h9_1_thumb.jpg","galleries_id":479189,"server_id":18,"link":"photo_9087931.html","width":130,"caption":"","height":90});
															thumbnails[9087932] = clik.newPhoto({"id":9087932,"src":"h19_1_thumb.jpg","galleries_id":479189,"server_id":18,"link":"photo_9087932.html","width":130,"caption":"","height":90});
															thumbnails[9087933] = clik.newPhoto({"id":9087933,"src":"h8_1_thumb.jpg","galleries_id":479189,"server_id":18,"link":"photo_9087933.html","width":130,"caption":"","height":90});
															thumbnails[9087934] = clik.newPhoto({"id":9087934,"src":"h11_1_thumb.jpg","galleries_id":479189,"server_id":18,"link":"photo_9087934.html","width":130,"caption":"","height":187});
															thumbnails[9087936] = clik.newPhoto({"id":9087936,"src":"h10_1_thumb.jpg","galleries_id":479189,"server_id":18,"link":"photo_9087936.html","width":130,"caption":"","height":187});
															thumbnails[6626613] = clik.newPhoto({"id":6626613,"src":"port8_thumb.jpg","galleries_id":284402,"server_id":18,"link":"photo_6626613.html","width":130,"caption":"","height":171});
															thumbnails[5018899] = clik.newPhoto({"id":5018899,"src":"baby-stork-fam_thumb.jpg","galleries_id":353964,"server_id":18,"link":"photo_5018899.html","width":130,"caption":"","height":85});
															thumbnails[6319633] = clik.newPhoto({"id":6319633,"src":"rev361_thumb.jpg","galleries_id":374592,"server_id":18,"link":"photo_6319633.html","width":130,"caption":"","height":187});
															thumbnails[8828115] = clik.newPhoto({"id":8828115,"src":"france1_thumb.jpg","galleries_id":284402,"server_id":18,"link":"photo_8828115.html","width":130,"caption":"","height":87});
															thumbnails[5018904] = clik.newPhoto({"id":5018904,"src":"couple_thumb.jpg","galleries_id":374592,"server_id":18,"link":"photo_5018904.html","width":130,"caption":"Wedding","height":199});
															thumbnails[5066961] = clik.newPhoto({"id":5066961,"src":"flask_thumb.jpg","galleries_id":284403,"server_id":18,"link":"photo_5066961.html","width":130,"caption":"","height":85});
															thumbnails[8218046] = clik.newPhoto({"id":8218046,"src":"a1_752E4F3A-24E8-5EC4-4FDFC7A80BCE3625_thumb.jpg","galleries_id":284402,"server_id":18,"link":"photo_8218046.html","width":130,"caption":"","height":90});
															thumbnails[5066970] = clik.newPhoto({"id":5066970,"src":"page_thumb.jpg","galleries_id":374592,"server_id":18,"link":"photo_5066970.html","width":130,"caption":"Wedding- page boy","height":199});
															thumbnails[5291408] = clik.newPhoto({"id":5291408,"src":"j-m_thumb.jpg","galleries_id":297296,"server_id":18,"link":"photo_5291408.html","width":130,"caption":"","height":87});
															thumbnails[6626603] = clik.newPhoto({"id":6626603,"src":"port3_thumb.jpg","galleries_id":284402,"server_id":18,"link":"photo_6626603.html","width":130,"caption":"","height":175});
															thumbnails[5027808] = clik.newPhoto({"id":5027808,"src":"band_thumb.jpg","galleries_id":284755,"server_id":18,"link":"photo_5027808.html","width":130,"caption":"","height":199});
															thumbnails[5027914] = clik.newPhoto({"id":5027914,"src":"group2-160_thumb.jpg","galleries_id":284755,"server_id":18,"link":"photo_5027914.html","width":130,"caption":"","height":199});
															thumbnails[6626605] = clik.newPhoto({"id":6626605,"src":"port4_thumb.jpg","galleries_id":284402,"server_id":18,"link":"photo_6626605.html","width":130,"caption":"","height":187});
															thumbnails[5027917] = clik.newPhoto({"id":5027917,"src":"group-2-1_thumb.jpg","galleries_id":284755,"server_id":18,"link":"photo_5027917.html","width":130,"caption":"","height":199});
															thumbnails[5066978] = clik.newPhoto({"id":5066978,"src":"raw_jpeg_1_of_1-50_thumb.jpg","galleries_id":374592,"server_id":18,"link":"photo_5066978.html","width":130,"caption":"wedding- bridesmaid during service","height":85});
															thumbnails[5027927] = clik.newPhoto({"id":5027927,"src":"james_thumb.jpg","galleries_id":284755,"server_id":18,"link":"photo_5027927.html","width":130,"caption":"Sleep Walker ","height":199});
															thumbnails[5066966] = clik.newPhoto({"id":5066966,"src":"insect-two_thumb.jpg","galleries_id":284403,"server_id":18,"link":"photo_5066966.html","width":130,"caption":"","height":85});
															thumbnails[6626609] = clik.newPhoto({"id":6626609,"src":"port6_thumb.jpg","galleries_id":284402,"server_id":18,"link":"photo_6626609.html","width":130,"caption":"","height":183});
															thumbnails[5027919] = clik.newPhoto({"id":5027919,"src":"group-1_thumb.jpg","galleries_id":284755,"server_id":18,"link":"photo_5027919.html","width":130,"caption":"","height":199});
															thumbnails[5066968] = clik.newPhoto({"id":5066968,"src":"joels--mum_thumb.jpg","galleries_id":284404,"server_id":18,"link":"photo_5066968.html","width":130,"caption":"Birthday party celebrations","height":85});
															thumbnails[6626611] = clik.newPhoto({"id":6626611,"src":"port7_thumb.jpg","galleries_id":284402,"server_id":18,"link":"photo_6626611.html","width":130,"caption":"","height":187});
															thumbnails[8485994] = clik.newPhoto({"id":8485994,"src":"ag3_thumb.jpg","galleries_id":374592,"server_id":18,"link":"photo_8485994.html","width":130,"caption":"","height":88});
															thumbnails[8828112] = clik.newPhoto({"id":8828112,"src":"DSC_4646_thumb.jpg","galleries_id":284401,"server_id":18,"link":"photo_8828112.html","width":130,"caption":"","height":90});
															thumbnails[5027930] = clik.newPhoto({"id":5027930,"src":"sleep-159_thumb.jpg","galleries_id":284755,"server_id":18,"link":"photo_5027930.html","width":130,"caption":"","height":199});
															thumbnails[7208530] = clik.newPhoto({"id":7208530,"src":"d1_thumb.jpg","galleries_id":284401,"server_id":18,"link":"photo_7208530.html","width":130,"caption":"","height":90});
															thumbnails[7749457] = clik.newPhoto({"id":7749457,"src":"k3_thumb.jpg","galleries_id":374592,"server_id":18,"link":"photo_7749457.html","width":130,"caption":"","height":90});
															thumbnails[5288738] = clik.newPhoto({"id":5288738,"src":"w6_thumb.jpg","galleries_id":284755,"server_id":18,"link":"photo_5288738.html","width":130,"caption":"","height":194});
															thumbnails[5018901] = clik.newPhoto({"id":5018901,"src":"bev-wedd6_thumb.jpg","galleries_id":374592,"server_id":18,"link":"photo_5018901.html","width":130,"caption":"Wedding -bride & bridesmaid","height":85});
															thumbnails[5067044] = clik.newPhoto({"id":5067044,"src":"5876_thumb.jpg","galleries_id":284404,"server_id":18,"link":"photo_5067044.html","width":130,"caption":"Christening celebrations","height":85});
															thumbnails[6626617] = clik.newPhoto({"id":6626617,"src":"port9_thumb.jpg","galleries_id":284402,"server_id":18,"link":"photo_6626617.html","width":130,"caption":"","height":187});
															thumbnails[6983645] = clik.newPhoto({"id":6983645,"src":"ba2_thumb.jpg","galleries_id":353964,"server_id":18,"link":"photo_6983645.html","width":130,"caption":"","height":90});
															thumbnails[7208537] = clik.newPhoto({"id":7208537,"src":"d2_thumb.jpg","galleries_id":284401,"server_id":18,"link":"photo_7208537.html","width":130,"caption":"","height":90});
															thumbnails[5067046] = clik.newPhoto({"id":5067046,"src":"5879_thumb.jpg","galleries_id":284404,"server_id":18,"link":"photo_5067046.html","width":130,"caption":"Baby christening","height":191});
															thumbnails[5604671] = clik.newPhoto({"id":5604671,"src":"raw_jpeg_1_of_1-288_thumb.jpg","galleries_id":374592,"server_id":18,"link":"photo_5604671.html","width":130,"caption":"just married-husband & wife","height":87});
															thumbnails[6903642] = clik.newPhoto({"id":6903642,"src":"baby4_thumb.jpg","galleries_id":353964,"server_id":18,"link":"photo_6903642.html","width":130,"caption":"","height":90});
															thumbnails[5027933] = clik.newPhoto({"id":5027933,"src":"raw_jpeg_1_of_1-171_thumb.jpg","galleries_id":284755,"server_id":18,"link":"photo_5027933.html","width":130,"caption":"","height":199});
															thumbnails[5066958] = clik.newPhoto({"id":5066958,"src":"DSC_0085_thumb.jpg","galleries_id":284404,"server_id":18,"link":"photo_5066958.html","width":130,"caption":"Birthday celebration","height":199});
															thumbnails[6626622] = clik.newPhoto({"id":6626622,"src":"port11_thumb.jpg","galleries_id":284402,"server_id":18,"link":"photo_6626622.html","width":130,"caption":"","height":187});
															thumbnails[5066964] = clik.newPhoto({"id":5066964,"src":"herly_thumb.jpg","galleries_id":284404,"server_id":18,"link":"photo_5066964.html","width":130,"caption":"","height":199});
															thumbnails[5283671] = clik.newPhoto({"id":5283671,"src":"p11_thumb.jpg","galleries_id":284755,"server_id":18,"link":"photo_5283671.html","width":130,"caption":"","height":194});
															thumbnails[6626624] = clik.newPhoto({"id":6626624,"src":"port12_thumb.jpg","galleries_id":284402,"server_id":18,"link":"photo_6626624.html","width":130,"caption":"","height":187});
															thumbnails[6626627] = clik.newPhoto({"id":6626627,"src":"port13_thumb.jpg","galleries_id":284402,"server_id":18,"link":"photo_6626627.html","width":130,"caption":"","height":187});
															thumbnails[5379986] = clik.newPhoto({"id":5379986,"src":"raw_jpeg_1_of_1-231_3D38369E-2219-B5B5-4C80B93D2D2AA6A0_thumb.jpg","galleries_id":284403,"server_id":18,"link":"photo_5379986.html","width":130,"caption":"","height":194});
															thumbnails[5347690] = clik.newPhoto({"id":5347690,"src":"234-yr_thumb.jpg","galleries_id":284403,"server_id":18,"link":"photo_5347690.html","width":130,"caption":"","height":194});
															thumbnails[6626649] = clik.newPhoto({"id":6626649,"src":"raw_jpeg_1_of_1-105_sharpe_thumb.jpg","galleries_id":284402,"server_id":18,"link":"photo_6626649.html","width":130,"caption":"","height":187});
															thumbnails[5347691] = clik.newPhoto({"id":5347691,"src":"pnk_thumb.jpg","galleries_id":284403,"server_id":18,"link":"photo_5347691.html","width":130,"caption":"","height":194});
															thumbnails[6626633] = clik.newPhoto({"id":6626633,"src":"port16_thumb.jpg","galleries_id":284402,"server_id":18,"link":"photo_6626633.html","width":130,"caption":"","height":187});
															thumbnails[5347697] = clik.newPhoto({"id":5347697,"src":"joop_thumb.jpg","galleries_id":284403,"server_id":18,"link":"photo_5347697.html","width":130,"caption":"","height":194});
															thumbnails[6626637] = clik.newPhoto({"id":6626637,"src":"port18_thumb.jpg","galleries_id":284402,"server_id":18,"link":"photo_6626637.html","width":130,"caption":"","height":187});
															thumbnails[6626639] = clik.newPhoto({"id":6626639,"src":"port21_thumb.jpg","galleries_id":284402,"server_id":18,"link":"photo_6626639.html","width":130,"caption":"","height":187});
															thumbnails[5136156] = clik.newPhoto({"id":5136156,"src":"vasse_edited-1_thumb.jpg","galleries_id":284403,"server_id":18,"link":"photo_5136156.html","width":130,"caption":"","height":181});
															thumbnails[5027818] = clik.newPhoto({"id":5027818,"src":"band75_thumb.jpg","galleries_id":284755,"server_id":18,"link":"photo_5027818.html","width":130,"caption":"","height":85});
															thumbnails[5028094] = clik.newPhoto({"id":5028094,"src":"vase_thumb.jpg","galleries_id":284403,"server_id":18,"link":"photo_5028094.html","width":130,"caption":"","height":199});
															thumbnails[5066952] = clik.newPhoto({"id":5066952,"src":"Daves-cup_thumb.jpg","galleries_id":284403,"server_id":18,"link":"photo_5066952.html","width":130,"caption":"","height":199});
															thumbnails[5283610] = clik.newPhoto({"id":5283610,"src":"end-1-8_thumb.jpg","galleries_id":284755,"server_id":18,"link":"photo_5283610.html","width":130,"caption":"","height":85});
															thumbnails[5066945] = clik.newPhoto({"id":5066945,"src":"bottle1_thumb.jpg","galleries_id":284403,"server_id":18,"link":"photo_5066945.html","width":130,"caption":"","height":199});
															thumbnails[5066948] = clik.newPhoto({"id":5066948,"src":"bottle2_thumb.jpg","galleries_id":284403,"server_id":18,"link":"photo_5066948.html","width":130,"caption":"","height":199});
															thumbnails[5066960] = clik.newPhoto({"id":5066960,"src":"egg_thumb.jpg","galleries_id":284403,"server_id":18,"link":"photo_5066960.html","width":130,"caption":"","height":199});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[440674] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Fashion \/ Glamour","link":"gallery_440674.html","maxRecords":0.0,"photoIDs":[8278946.0,8278958.0,8278960.0,8278961.0,8278963.0,8278987.0,8278989.0,8279291.0,8289784.0,8289785.0,8292754.0,8292755.0,8292756.0,8828176.0,9084375.0,9084376.0,9084377.0,9084378.0],"skipIndex":0,"section_code":"gallery","featured_images":"9084378,9084377,9084376,9084375,8828176,8292756,8292755,8292754,8289785,8289784","id":440674,"singleSection":false});				  						galleries[353964] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Baby","link":"gallery_353964.html","maxRecords":0.0,"photoIDs":[6278088.0,6319634.0,6401252.0,6401254.0,6405987.0,6406026.0,6406109.0,6406111.0,6451127.0,6903647.0,6983622.0,7452288.0,7452290.0,7452291.0,7484125.0,7583011.0,7583016.0,7588167.0,7823619.0,7823621.0,7823624.0,7823632.0,7823639.0,7823640.0,8058419.0,8058428.0,8706740.0,8706742.0,8706743.0,8828113.0,5018899.0,6983645.0,6903642.0],"skipIndex":0,"section_code":"gallery","featured_images":"8828113,8706743,8706742,8706740,8058428,8058419,7823640,7823639,7823632,7823624","id":353964,"singleSection":false});				  						galleries[393416] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Blog photos","link":"gallery_393416.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"","id":393416,"singleSection":false});				  						galleries[284401] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Children \/ Nursery time","link":"gallery_284401.html","maxRecords":0.0,"photoIDs":[6278064.0,6278066.0,6278067.0,6278070.0,6278073.0,6278074.0,6278077.0,6278080.0,6278083.0,6278086.0,6278087.0,6278091.0,6278093.0,6278094.0,6278095.0,6451164.0,6903657.0,6903661.0,6903666.0,6903667.0,7208525.0,7436252.0,7625634.0,7625636.0,7625640.0,7625641.0,7625645.0,7823643.0,8058429.0,8272329.0,8828112.0,7208530.0,7208537.0],"skipIndex":0,"section_code":"gallery","featured_images":"8828112,8272329,8058429,7823643,7625645,7625641,7625640,7625636,7625634,7436252","id":284401,"singleSection":false});				  						galleries[284755] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Music and Arts","link":"gallery_284755.html","maxRecords":0.0,"photoIDs":[6319676.0,7179767.0,7208516.0,7208517.0,7208519.0,5027808.0,5027914.0,5027917.0,5027927.0,5027919.0,5027930.0,5288738.0,5027933.0,5283671.0,5027818.0,5283610.0],"skipIndex":0,"section_code":"gallery","featured_images":"7208519,7208517,7208516,7179767,6319676,5288738,5283671,5283610,5027933,5027930","id":284755,"singleSection":false});				  						galleries[479189] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Horses & Pets","link":"gallery_479189.html","maxRecords":0.0,"photoIDs":[9085370.0,9085384.0,9087921.0,9087922.0,9087923.0,9087924.0,9087925.0,9087926.0,9087928.0,9087929.0,9087931.0,9087932.0,9087933.0,9087934.0,9087936.0],"skipIndex":0,"section_code":"gallery","featured_images":"9087936,9087934,9087933,9087932,9087931,9087929,9087928,9087926,9087925,9087924","id":479189,"singleSection":false});				  						galleries[284765] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Photos for sale","link":"gallery_284765.html","maxRecords":0.0,"photoIDs":[5347788.0,5379971.0,6401240.0,7368578.0,7368581.0,8691879.0,8691881.0,8691884.0],"skipIndex":0,"section_code":"gallery","featured_images":"8691884,8691881,8691879,7368581,7368578,6401240,5379971,5347788","id":284765,"singleSection":false});				  						galleries[284402] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Portraits","link":"gallery_284402.html","maxRecords":0.0,"photoIDs":[7178342.0,7179763.0,7179764.0,7179765.0,7179766.0,7436248.0,7583021.0,7668192.0,7668195.0,7668196.0,7668198.0,7668200.0,7668201.0,7668205.0,7668206.0,8065646.0,8065658.0,8272139.0,8272317.0,8272318.0,8272319.0,8272320.0,8272321.0,8272322.0,8272323.0,8828111.0,8828168.0,6626613.0,8828115.0,8218046.0,6626603.0,6626605.0,6626609.0,6626611.0,6626617.0,6626622.0,6626624.0,6626627.0,6626649.0,6626633.0,6626637.0,6626639.0],"skipIndex":0,"section_code":"gallery","featured_images":"8828168,8828115,8828111,8272323,8272322,8272321,8272320,8272319,8272318,8272317","id":284402,"singleSection":false});				  						galleries[297296] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Portraits- over 55s","link":"gallery_297296.html","maxRecords":0.0,"photoIDs":[5285318.0,5288724.0,5288730.0,5288733.0,5291404.0,6315432.0,6315434.0,6315435.0,6315436.0,6315437.0,6315438.0,8058430.0,8058431.0,8485987.0,5291408.0],"skipIndex":0,"section_code":"gallery","featured_images":"8485987,8058431,8058430,6315438,6315437,6315436,6315435,6315434,6315432,5291408","id":297296,"singleSection":false});				  						galleries[284403] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Product","link":"gallery_284403.html","maxRecords":0.0,"photoIDs":[8278840.0,8279455.0,8828320.0,5066961.0,5066966.0,5379986.0,5347690.0,5347691.0,5347697.0,5136156.0,5028094.0,5066952.0,5066945.0,5066948.0,5066960.0],"skipIndex":0,"section_code":"gallery","featured_images":"8828320,8279455,8278840,5379986,5347697,5347691,5347690,5136156,5066966,5066961","id":284403,"singleSection":false});				  						galleries[284404] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Special occasions","link":"gallery_284404.html","maxRecords":0.0,"photoIDs":[6903621.0,6903629.0,5066968.0,5067044.0,5067046.0,5066958.0,5066964.0],"skipIndex":0,"section_code":"gallery","featured_images":"6903629,6903621,5067046,5067044,5066968,5066964,5066958","id":284404,"singleSection":false});				  						galleries[374592] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Wedding Photography","link":"gallery_374592.html","maxRecords":0.0,"photoIDs":[6903672.0,6903674.0,6903676.0,6903684.0,7115145.0,8485991.0,8828318.0,6319633.0,5018904.0,5066970.0,5066978.0,8485994.0,7749457.0,5018901.0,5604671.0],"skipIndex":0,"section_code":"gallery","featured_images":"8828318,8485994,8485991,7749457,7115145,6903684,6903676,6903674,6903672,6319633","id":374592,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '8292756,8272319,8058419,7823639,7823621,7668198,7115145,6401252,6319633,8218046,5291408,8828112,7208537';
imageSets[3] = '9087936,9087934,9087933,9087932,9087931,9087929,9087928,9087926,9087925,9087924,9087923,9087922,9087921,9085384,9085370,9084378,9084377,9084376,9084375,8828320,8828318,8828176,8828168,8828115,8828113,8828112,8828111,8706743,8706742,8706740,8691884,8691881,8691879,8485994,8485991,8485987,8292756,8292755,8292754,8289785,8289784,8279455,8279291,8278989,8278987,8278963,8278961,8278960,8278958,8278946';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/ashbeer/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/ashbeer/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/ashbeer/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/ashbeer/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/ashbeer/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/ashbeer/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/ashbeer/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/ashbeer/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/ashbeer/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/ashbeer/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/ashbeer/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/ashbeer/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/ashbeer/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/ashbeer/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/ashbeer/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/ashbeer/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/ashbeer/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/ashbeer/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/ashbeer/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/ashbeer/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/ashbeer/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/ashbeer/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/ashbeer/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/ashbeer/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/ashbeer/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/ashbeer/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/ashbeer/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 = '               Norton Lees Photography (Sheffield): ' + 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>Richard Ashbee </strong>' + this.photographer + '</div>';
	}
				
	temp += this.fnGetPaymentInfo();
				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>Buy now using PayPal:</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="updateCartValue($(this.form).next(\'#paymentForm\')[0],this.form.payment_options_id.options[this.form.payment_options_id.options.selectedIndex].value); if(divShowing(\'paymentConfirm\')){fadeOut(\'paymentConfirm\', 3)};">';
		
		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">';
			temp += '	<input type="hidden" name="item_option" value="' + item_option + '">';
			temp += '	<input type="hidden" name="site" value="ASHBEER">';
			temp += '	<input type="hidden" name="item_number" value="'+ this.id +'">';
			temp += '	<input type="hidden" name="quantity" value="1">';
						temp += '	<input value="Add to cart" id="paymentAddButton" class="button" onmouseover="this.className=\'buttonHi\'\;" onmouseout="this.className=\'button\'\;" type="Button">';
							temp += '	<input value="View cart" id="paymentViewButton" class="button" onmouseover="this.className=\'buttonHi\';" onmouseout="this.className=\'button\';" type="Button" onclick="javascript:window.location=\'cart.html\'">';
			temp += '</form>';
						temp += '<div class="clearing">&nbsp;</div>';
			temp += '<div id="confirmContainer">';
			temp += '<div id="paymentConfirm">Item added to cart</div>';
			temp += '</div>';
			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;
	}
}

			

