window.thumbnails = {};
															thumbnails[5582184] = clik.newPhoto({"id":5582184,"src":"MPI_16_thumb.jpg","galleries_id":98794,"server_id":18,"link":"photo_5582184.html","width":130,"caption":"","height":87});
															thumbnails[7006439] = clik.newPhoto({"id":7006439,"src":"CIF_01_web_thumb.jpg","galleries_id":203765,"server_id":18,"link":"photo_7006439.html","width":130,"caption":"","height":194});
															thumbnails[7617748] = clik.newPhoto({"id":7617748,"src":"PL_01_web_thumb.jpg","galleries_id":157814,"server_id":18,"link":"photo_7617748.html","width":130,"caption":"","height":87});
															thumbnails[7617823] = clik.newPhoto({"id":7617823,"src":"ND_01_web_thumb.jpg","galleries_id":203759,"server_id":18,"link":"photo_7617823.html","width":130,"caption":"","height":87});
															thumbnails[7617858] = clik.newPhoto({"id":7617858,"src":"CJ_01_web_thumb.jpg","galleries_id":241500,"server_id":18,"link":"photo_7617858.html","width":130,"caption":"","height":87});
															thumbnails[7621681] = clik.newPhoto({"id":7621681,"src":"PL_18_web1_thumb.jpg","galleries_id":98724,"server_id":18,"link":"photo_7621681.html","width":130,"caption":"","height":87});
															thumbnails[5393273] = clik.newPhoto({"id":5393273,"src":"DE_15_thumb.jpg","galleries_id":98724,"server_id":18,"link":"photo_5393273.html","width":130,"caption":"","height":87});
															thumbnails[6084642] = clik.newPhoto({"id":6084642,"src":"KF_2010_03_web_thumb.jpg","galleries_id":98794,"server_id":18,"link":"photo_6084642.html","width":130,"caption":"","height":87});
															thumbnails[7006440] = clik.newPhoto({"id":7006440,"src":"CIF_02_web_thumb.jpg","galleries_id":203765,"server_id":18,"link":"photo_7006440.html","width":130,"caption":"","height":194});
															thumbnails[7617750] = clik.newPhoto({"id":7617750,"src":"PL_02_web_thumb.jpg","galleries_id":157814,"server_id":18,"link":"photo_7617750.html","width":130,"caption":"","height":87});
															thumbnails[7617825] = clik.newPhoto({"id":7617825,"src":"ND_02_web_thumb.jpg","galleries_id":203759,"server_id":18,"link":"photo_7617825.html","width":130,"caption":"","height":87});
															thumbnails[7617860] = clik.newPhoto({"id":7617860,"src":"CJ_02_web_thumb.jpg","galleries_id":241500,"server_id":18,"link":"photo_7617860.html","width":130,"caption":"","height":87});
															thumbnails[2869881] = clik.newPhoto({"id":2869881,"src":"KG_01_web1_thumb.jpg","galleries_id":98794,"server_id":18,"link":"photo_2869881.html","width":129,"caption":"","height":87});
															thumbnails[4891144] = clik.newPhoto({"id":4891144,"src":"GI_06_thumb.jpg","galleries_id":98724,"server_id":18,"link":"photo_4891144.html","width":130,"caption":"","height":87});
															thumbnails[7006441] = clik.newPhoto({"id":7006441,"src":"CIF_03_web_thumb.jpg","galleries_id":203765,"server_id":18,"link":"photo_7006441.html","width":130,"caption":"","height":194});
															thumbnails[7617752] = clik.newPhoto({"id":7617752,"src":"PL_03_web_thumb.jpg","galleries_id":157814,"server_id":18,"link":"photo_7617752.html","width":130,"caption":"","height":87});
															thumbnails[7617827] = clik.newPhoto({"id":7617827,"src":"ND_03_web_thumb.jpg","galleries_id":203759,"server_id":18,"link":"photo_7617827.html","width":130,"caption":"","height":87});
															thumbnails[7617863] = clik.newPhoto({"id":7617863,"src":"CJ_03_web_thumb.jpg","galleries_id":241500,"server_id":18,"link":"photo_7617863.html","width":130,"caption":"","height":87});
															thumbnails[3753354] = clik.newPhoto({"id":3753354,"src":"KF_02_web_thumb.jpg","galleries_id":98794,"server_id":18,"link":"photo_3753354.html","width":130,"caption":"","height":87});
															thumbnails[7006442] = clik.newPhoto({"id":7006442,"src":"CIF_04_web_thumb.jpg","galleries_id":203765,"server_id":18,"link":"photo_7006442.html","width":130,"caption":"","height":194});
															thumbnails[7617753] = clik.newPhoto({"id":7617753,"src":"PL_04_web_thumb.jpg","galleries_id":157814,"server_id":18,"link":"photo_7617753.html","width":130,"caption":"","height":87});
															thumbnails[7617828] = clik.newPhoto({"id":7617828,"src":"ND_04_web_thumb.jpg","galleries_id":203759,"server_id":18,"link":"photo_7617828.html","width":130,"caption":"","height":87});
															thumbnails[7617864] = clik.newPhoto({"id":7617864,"src":"CJ_04_web_thumb.jpg","galleries_id":241500,"server_id":18,"link":"photo_7617864.html","width":130,"caption":"","height":87});
															thumbnails[7621677] = clik.newPhoto({"id":7621677,"src":"ND_23_web1_thumb.jpg","galleries_id":98724,"server_id":18,"link":"photo_7621677.html","width":130,"caption":"","height":87});
															thumbnails[4683407] = clik.newPhoto({"id":4683407,"src":"AJJ_06_thumb.jpg","galleries_id":98794,"server_id":18,"link":"photo_4683407.html","width":130,"caption":"","height":87});
															thumbnails[6966430] = clik.newPhoto({"id":6966430,"src":"HN_15_web_thumb.jpg","galleries_id":98724,"server_id":18,"link":"photo_6966430.html","width":130,"caption":"","height":87});
															thumbnails[7006443] = clik.newPhoto({"id":7006443,"src":"CIF_05_web_thumb.jpg","galleries_id":203765,"server_id":18,"link":"photo_7006443.html","width":130,"caption":"","height":194});
															thumbnails[7617755] = clik.newPhoto({"id":7617755,"src":"PL_05_web_thumb.jpg","galleries_id":157814,"server_id":18,"link":"photo_7617755.html","width":130,"caption":"","height":87});
															thumbnails[7617830] = clik.newPhoto({"id":7617830,"src":"ND_05_web_thumb.jpg","galleries_id":203759,"server_id":18,"link":"photo_7617830.html","width":130,"caption":"","height":87});
															thumbnails[7617865] = clik.newPhoto({"id":7617865,"src":"CJ_05_web_thumb.jpg","galleries_id":241500,"server_id":18,"link":"photo_7617865.html","width":130,"caption":"","height":87});
															thumbnails[4095385] = clik.newPhoto({"id":4095385,"src":"SJF_12_thumb.jpg","galleries_id":98794,"server_id":18,"link":"photo_4095385.html","width":130,"caption":"","height":194});
															thumbnails[6933358] = clik.newPhoto({"id":6933358,"src":"CD_06_web_thumb.jpg","galleries_id":98724,"server_id":18,"link":"photo_6933358.html","width":130,"caption":"","height":87});
															thumbnails[7006444] = clik.newPhoto({"id":7006444,"src":"CIF_06_web_thumb.jpg","galleries_id":203765,"server_id":18,"link":"photo_7006444.html","width":130,"caption":"","height":87});
															thumbnails[7617756] = clik.newPhoto({"id":7617756,"src":"PL_06_web_thumb.jpg","galleries_id":157814,"server_id":18,"link":"photo_7617756.html","width":130,"caption":"","height":87});
															thumbnails[7617833] = clik.newPhoto({"id":7617833,"src":"ND_06_web_thumb.jpg","galleries_id":203759,"server_id":18,"link":"photo_7617833.html","width":130,"caption":"","height":87});
															thumbnails[7617867] = clik.newPhoto({"id":7617867,"src":"CJ_06_web_thumb.jpg","galleries_id":241500,"server_id":18,"link":"photo_7617867.html","width":130,"caption":"","height":194});
															thumbnails[2869883] = clik.newPhoto({"id":2869883,"src":"KG_12_web1_thumb.jpg","galleries_id":98794,"server_id":18,"link":"photo_2869883.html","width":130,"caption":"","height":194});
															thumbnails[7006446] = clik.newPhoto({"id":7006446,"src":"CIF_07_web_thumb.jpg","galleries_id":203765,"server_id":18,"link":"photo_7006446.html","width":130,"caption":"","height":87});
															thumbnails[7617758] = clik.newPhoto({"id":7617758,"src":"PL_07_web_thumb.jpg","galleries_id":157814,"server_id":18,"link":"photo_7617758.html","width":130,"caption":"","height":87});
															thumbnails[7617834] = clik.newPhoto({"id":7617834,"src":"ND_07_web_thumb.jpg","galleries_id":203759,"server_id":18,"link":"photo_7617834.html","width":130,"caption":"","height":87});
															thumbnails[7617868] = clik.newPhoto({"id":7617868,"src":"CJ_07_web_thumb.jpg","galleries_id":241500,"server_id":18,"link":"photo_7617868.html","width":130,"caption":"","height":194});
															thumbnails[7621673] = clik.newPhoto({"id":7621673,"src":"LT_206_web_thumb.jpg","galleries_id":98724,"server_id":18,"link":"photo_7621673.html","width":130,"caption":"","height":87});
															thumbnails[2015265] = clik.newPhoto({"id":2015265,"src":"amelia_laugh1_thumb.jpg","galleries_id":98794,"server_id":18,"link":"photo_2015265.html","width":130,"caption":"","height":194});
															thumbnails[4082488] = clik.newPhoto({"id":4082488,"src":"SD_110_thumb.jpg","galleries_id":98724,"server_id":18,"link":"photo_4082488.html","width":130,"caption":"","height":87});
															thumbnails[7006447] = clik.newPhoto({"id":7006447,"src":"CIF_08_web_thumb.jpg","galleries_id":203765,"server_id":18,"link":"photo_7006447.html","width":130,"caption":"","height":87});
															thumbnails[7617760] = clik.newPhoto({"id":7617760,"src":"PL_08_web_thumb.jpg","galleries_id":157814,"server_id":18,"link":"photo_7617760.html","width":130,"caption":"","height":87});
															thumbnails[7617835] = clik.newPhoto({"id":7617835,"src":"ND_08_web_thumb.jpg","galleries_id":203759,"server_id":18,"link":"photo_7617835.html","width":130,"caption":"","height":87});
															thumbnails[7617871] = clik.newPhoto({"id":7617871,"src":"CJ_08_web_thumb.jpg","galleries_id":241500,"server_id":18,"link":"photo_7617871.html","width":130,"caption":"","height":194});
															thumbnails[5589766] = clik.newPhoto({"id":5589766,"src":"SRIJ_07_thumb.jpg","galleries_id":98794,"server_id":18,"link":"photo_5589766.html","width":130,"caption":"","height":194});
															thumbnails[7006449] = clik.newPhoto({"id":7006449,"src":"CIF_09_web_thumb.jpg","galleries_id":203765,"server_id":18,"link":"photo_7006449.html","width":130,"caption":"","height":87});
															thumbnails[7617762] = clik.newPhoto({"id":7617762,"src":"PL_09_web_thumb.jpg","galleries_id":157814,"server_id":18,"link":"photo_7617762.html","width":130,"caption":"","height":87});
															thumbnails[7617836] = clik.newPhoto({"id":7617836,"src":"ND_09_web_thumb.jpg","galleries_id":203759,"server_id":18,"link":"photo_7617836.html","width":130,"caption":"","height":87});
															thumbnails[7617873] = clik.newPhoto({"id":7617873,"src":"CJ_09_web_thumb.jpg","galleries_id":241500,"server_id":18,"link":"photo_7617873.html","width":130,"caption":"","height":194});
															thumbnails[7621684] = clik.newPhoto({"id":7621684,"src":"PL_25_web1_thumb.jpg","galleries_id":98724,"server_id":18,"link":"photo_7621684.html","width":130,"caption":"","height":87});
															thumbnails[3340002] = clik.newPhoto({"id":3340002,"src":"AC_20_thumb.jpg","galleries_id":98794,"server_id":18,"link":"photo_3340002.html","width":130,"caption":"","height":194});
															thumbnails[7006450] = clik.newPhoto({"id":7006450,"src":"CIF_10_web_thumb.jpg","galleries_id":203765,"server_id":18,"link":"photo_7006450.html","width":130,"caption":"","height":87});
															thumbnails[7617768] = clik.newPhoto({"id":7617768,"src":"PL_10_web_thumb.jpg","galleries_id":157814,"server_id":18,"link":"photo_7617768.html","width":130,"caption":"","height":87});
															thumbnails[7617837] = clik.newPhoto({"id":7617837,"src":"ND_10_web_thumb.jpg","galleries_id":203759,"server_id":18,"link":"photo_7617837.html","width":130,"caption":"","height":87});
															thumbnails[7617875] = clik.newPhoto({"id":7617875,"src":"CJ_10_web_thumb.jpg","galleries_id":241500,"server_id":18,"link":"photo_7617875.html","width":130,"caption":"","height":194});
															thumbnails[7621659] = clik.newPhoto({"id":7621659,"src":"CJ_13_web1_thumb.jpg","galleries_id":98724,"server_id":18,"link":"photo_7621659.html","width":130,"caption":"","height":87});
															thumbnails[1519523] = clik.newPhoto({"id":1519523,"src":"ch_millie3_thumb.jpg","galleries_id":98794,"server_id":18,"link":"photo_1519523.html","width":130,"caption":"","height":87});
															thumbnails[4548486] = clik.newPhoto({"id":4548486,"src":"KS_3_web_thumb.jpg","galleries_id":98724,"server_id":18,"link":"photo_4548486.html","width":130,"caption":"","height":194});
															thumbnails[7006453] = clik.newPhoto({"id":7006453,"src":"CIF_11_web_thumb.jpg","galleries_id":203765,"server_id":18,"link":"photo_7006453.html","width":130,"caption":"","height":87});
															thumbnails[7617776] = clik.newPhoto({"id":7617776,"src":"PL_11_web_thumb.jpg","galleries_id":157814,"server_id":18,"link":"photo_7617776.html","width":130,"caption":"","height":194});
															thumbnails[7617838] = clik.newPhoto({"id":7617838,"src":"ND_11_web_thumb.jpg","galleries_id":203759,"server_id":18,"link":"photo_7617838.html","width":130,"caption":"","height":194});
															thumbnails[7617876] = clik.newPhoto({"id":7617876,"src":"CJ_11_web_thumb.jpg","galleries_id":241500,"server_id":18,"link":"photo_7617876.html","width":130,"caption":"","height":87});
															thumbnails[2158413] = clik.newPhoto({"id":2158413,"src":"JSOJ_0317_2_thumb.jpg","galleries_id":98794,"server_id":18,"link":"photo_2158413.html","width":130,"caption":"","height":87});
															thumbnails[6383232] = clik.newPhoto({"id":6383232,"src":"AK_07_web_thumb.jpg","galleries_id":98724,"server_id":18,"link":"photo_6383232.html","width":130,"caption":"","height":194});
															thumbnails[7006454] = clik.newPhoto({"id":7006454,"src":"CIF_12_web_thumb.jpg","galleries_id":203765,"server_id":18,"link":"photo_7006454.html","width":130,"caption":"","height":87});
															thumbnails[7617787] = clik.newPhoto({"id":7617787,"src":"PL_12_web_thumb.jpg","galleries_id":157814,"server_id":18,"link":"photo_7617787.html","width":130,"caption":"","height":194});
															thumbnails[7617840] = clik.newPhoto({"id":7617840,"src":"ND_12_web_thumb.jpg","galleries_id":203759,"server_id":18,"link":"photo_7617840.html","width":130,"caption":"","height":194});
															thumbnails[7617877] = clik.newPhoto({"id":7617877,"src":"CJ_12_web_thumb.jpg","galleries_id":241500,"server_id":18,"link":"photo_7617877.html","width":130,"caption":"","height":87});
															thumbnails[2158428] = clik.newPhoto({"id":2158428,"src":"ch_la_0296b_thumb.jpg","galleries_id":98794,"server_id":18,"link":"photo_2158428.html","width":130,"caption":"","height":87});
															thumbnails[6933359] = clik.newPhoto({"id":6933359,"src":"CD_07_web_thumb.jpg","galleries_id":98724,"server_id":18,"link":"photo_6933359.html","width":130,"caption":"","height":194});
															thumbnails[7006456] = clik.newPhoto({"id":7006456,"src":"CIF_13_web_thumb.jpg","galleries_id":203765,"server_id":18,"link":"photo_7006456.html","width":130,"caption":"","height":87});
															thumbnails[7617788] = clik.newPhoto({"id":7617788,"src":"PL_13_web_thumb.jpg","galleries_id":157814,"server_id":18,"link":"photo_7617788.html","width":130,"caption":"","height":194});
															thumbnails[7617842] = clik.newPhoto({"id":7617842,"src":"ND_13_web_thumb.jpg","galleries_id":203759,"server_id":18,"link":"photo_7617842.html","width":130,"caption":"","height":194});
															thumbnails[7617879] = clik.newPhoto({"id":7617879,"src":"CJ_13_web_thumb.jpg","galleries_id":241500,"server_id":18,"link":"photo_7617879.html","width":130,"caption":"","height":87});
															thumbnails[3753407] = clik.newPhoto({"id":3753407,"src":"KF_19_web_thumb.jpg","galleries_id":98794,"server_id":18,"link":"photo_3753407.html","width":130,"caption":"","height":87});
															thumbnails[4548519] = clik.newPhoto({"id":4548519,"src":"KS_7_web_thumb.jpg","galleries_id":98724,"server_id":18,"link":"photo_4548519.html","width":130,"caption":"","height":194});
															thumbnails[7006457] = clik.newPhoto({"id":7006457,"src":"CIF_14_web_thumb.jpg","galleries_id":203765,"server_id":18,"link":"photo_7006457.html","width":130,"caption":"","height":87});
															thumbnails[7617790] = clik.newPhoto({"id":7617790,"src":"PL_14_web_thumb.jpg","galleries_id":157814,"server_id":18,"link":"photo_7617790.html","width":130,"caption":"","height":194});
															thumbnails[7617843] = clik.newPhoto({"id":7617843,"src":"ND_14_web_thumb.jpg","galleries_id":203759,"server_id":18,"link":"photo_7617843.html","width":130,"caption":"","height":194});
															thumbnails[7617880] = clik.newPhoto({"id":7617880,"src":"CJ_14_web_thumb.jpg","galleries_id":241500,"server_id":18,"link":"photo_7617880.html","width":130,"caption":"","height":87});
															thumbnails[1470832] = clik.newPhoto({"id":1470832,"src":"ch_la_0230b_thumb.jpg","galleries_id":98794,"server_id":18,"link":"photo_1470832.html","width":130,"caption":"","height":87});
															thumbnails[5253195] = clik.newPhoto({"id":5253195,"src":"LT_05_web_thumb.jpg","galleries_id":98724,"server_id":18,"link":"photo_5253195.html","width":130,"caption":"","height":194});
															thumbnails[7006459] = clik.newPhoto({"id":7006459,"src":"CIF_15_web_thumb.jpg","galleries_id":203765,"server_id":18,"link":"photo_7006459.html","width":130,"caption":"","height":87});
															thumbnails[7617792] = clik.newPhoto({"id":7617792,"src":"PL_15_web_thumb.jpg","galleries_id":157814,"server_id":18,"link":"photo_7617792.html","width":130,"caption":"","height":194});
															thumbnails[7617844] = clik.newPhoto({"id":7617844,"src":"ND_15_web_thumb.jpg","galleries_id":203759,"server_id":18,"link":"photo_7617844.html","width":130,"caption":"","height":194});
															thumbnails[7617882] = clik.newPhoto({"id":7617882,"src":"CJ_15_web_thumb.jpg","galleries_id":241500,"server_id":18,"link":"photo_7617882.html","width":130,"caption":"","height":87});
															thumbnails[2158417] = clik.newPhoto({"id":2158417,"src":"JSOJ_0312_2_thumb.jpg","galleries_id":98794,"server_id":18,"link":"photo_2158417.html","width":130,"caption":"","height":194});
															thumbnails[6383236] = clik.newPhoto({"id":6383236,"src":"AK_09_web_thumb.jpg","galleries_id":98724,"server_id":18,"link":"photo_6383236.html","width":130,"caption":"","height":194});
															thumbnails[7006461] = clik.newPhoto({"id":7006461,"src":"CIF_16_web_thumb.jpg","galleries_id":203765,"server_id":18,"link":"photo_7006461.html","width":130,"caption":"","height":194});
															thumbnails[7617794] = clik.newPhoto({"id":7617794,"src":"PL_16_web_thumb.jpg","galleries_id":157814,"server_id":18,"link":"photo_7617794.html","width":130,"caption":"","height":87});
															thumbnails[7617845] = clik.newPhoto({"id":7617845,"src":"ND_16_web_thumb.jpg","galleries_id":203759,"server_id":18,"link":"photo_7617845.html","width":130,"caption":"","height":87});
															thumbnails[7617884] = clik.newPhoto({"id":7617884,"src":"CJ_16_web_thumb.jpg","galleries_id":241500,"server_id":18,"link":"photo_7617884.html","width":130,"caption":"","height":87});
															thumbnails[1431579] = clik.newPhoto({"id":1431579,"src":"ch_laugh_thumb.jpg","galleries_id":98794,"server_id":18,"link":"photo_1431579.html","width":130,"caption":"","height":194});
															thumbnails[4891154] = clik.newPhoto({"id":4891154,"src":"GI_15_thumb.jpg","galleries_id":98724,"server_id":18,"link":"photo_4891154.html","width":130,"caption":"","height":194});
															thumbnails[7006462] = clik.newPhoto({"id":7006462,"src":"CIF_17_web_thumb.jpg","galleries_id":203765,"server_id":18,"link":"photo_7006462.html","width":130,"caption":"","height":194});
															thumbnails[7617798] = clik.newPhoto({"id":7617798,"src":"PL_17_web_thumb.jpg","galleries_id":157814,"server_id":18,"link":"photo_7617798.html","width":130,"caption":"","height":87});
															thumbnails[7617846] = clik.newPhoto({"id":7617846,"src":"ND_17_web_thumb.jpg","galleries_id":203759,"server_id":18,"link":"photo_7617846.html","width":130,"caption":"","height":87});
															thumbnails[7617885] = clik.newPhoto({"id":7617885,"src":"CJ_17_web_thumb.jpg","galleries_id":241500,"server_id":18,"link":"photo_7617885.html","width":130,"caption":"","height":87});
															thumbnails[2158419] = clik.newPhoto({"id":2158419,"src":"hdt_0045_web_thumb.jpg","galleries_id":98794,"server_id":18,"link":"photo_2158419.html","width":130,"caption":"","height":194});
															thumbnails[6966422] = clik.newPhoto({"id":6966422,"src":"HN_09_web_thumb.jpg","galleries_id":98724,"server_id":18,"link":"photo_6966422.html","width":130,"caption":"","height":194});
															thumbnails[7006464] = clik.newPhoto({"id":7006464,"src":"CIF_18_web_thumb.jpg","galleries_id":203765,"server_id":18,"link":"photo_7006464.html","width":130,"caption":"","height":194});
															thumbnails[7617801] = clik.newPhoto({"id":7617801,"src":"PL_18_web_thumb.jpg","galleries_id":157814,"server_id":18,"link":"photo_7617801.html","width":130,"caption":"","height":87});
															thumbnails[7617847] = clik.newPhoto({"id":7617847,"src":"ND_18_web_thumb.jpg","galleries_id":203759,"server_id":18,"link":"photo_7617847.html","width":130,"caption":"","height":87});
															thumbnails[7617888] = clik.newPhoto({"id":7617888,"src":"CJ_18_web_thumb.jpg","galleries_id":241500,"server_id":18,"link":"photo_7617888.html","width":130,"caption":"","height":87});
															thumbnails[4683414] = clik.newPhoto({"id":4683414,"src":"AJJ_12_thumb.jpg","galleries_id":98794,"server_id":18,"link":"photo_4683414.html","width":130,"caption":"","height":194});
															thumbnails[7006466] = clik.newPhoto({"id":7006466,"src":"CIF_19_web_thumb.jpg","galleries_id":203765,"server_id":18,"link":"photo_7006466.html","width":130,"caption":"","height":194});
															thumbnails[7617802] = clik.newPhoto({"id":7617802,"src":"PL_19_web_thumb.jpg","galleries_id":157814,"server_id":18,"link":"photo_7617802.html","width":130,"caption":"","height":87});
															thumbnails[7617848] = clik.newPhoto({"id":7617848,"src":"ND_19_web_thumb.jpg","galleries_id":203759,"server_id":18,"link":"photo_7617848.html","width":130,"caption":"","height":87});
															thumbnails[7617889] = clik.newPhoto({"id":7617889,"src":"CJ_19_web_thumb.jpg","galleries_id":241500,"server_id":18,"link":"photo_7617889.html","width":130,"caption":"","height":87});
															thumbnails[7621644] = clik.newPhoto({"id":7621644,"src":"CJ_09_web1_thumb.jpg","galleries_id":98724,"server_id":18,"link":"photo_7621644.html","width":130,"caption":"","height":194});
															thumbnails[2863925] = clik.newPhoto({"id":2863925,"src":"JG_017_web1_thumb.jpg","galleries_id":98724,"server_id":18,"link":"photo_2863925.html","width":130,"caption":"","height":194});
															thumbnails[3753393] = clik.newPhoto({"id":3753393,"src":"KF_15_web_thumb.jpg","galleries_id":98794,"server_id":18,"link":"photo_3753393.html","width":130,"caption":"","height":194});
															thumbnails[7006467] = clik.newPhoto({"id":7006467,"src":"CIF_20_web_thumb.jpg","galleries_id":203765,"server_id":18,"link":"photo_7006467.html","width":130,"caption":"","height":194});
															thumbnails[7617803] = clik.newPhoto({"id":7617803,"src":"PL_20_web_thumb.jpg","galleries_id":157814,"server_id":18,"link":"photo_7617803.html","width":130,"caption":"","height":87});
															thumbnails[7617849] = clik.newPhoto({"id":7617849,"src":"ND_20_web_thumb.jpg","galleries_id":203759,"server_id":18,"link":"photo_7617849.html","width":130,"caption":"","height":87});
															thumbnails[7617890] = clik.newPhoto({"id":7617890,"src":"CJ_20_web_thumb.jpg","galleries_id":241500,"server_id":18,"link":"photo_7617890.html","width":130,"caption":"","height":87});
															thumbnails[5589782] = clik.newPhoto({"id":5589782,"src":"SRIJ_19_thumb.jpg","galleries_id":98794,"server_id":18,"link":"photo_5589782.html","width":130,"caption":"","height":87});
															thumbnails[7006468] = clik.newPhoto({"id":7006468,"src":"CIF_21_web_thumb.jpg","galleries_id":203765,"server_id":18,"link":"photo_7006468.html","width":130,"caption":"","height":87});
															thumbnails[7617804] = clik.newPhoto({"id":7617804,"src":"PL_21_web_2647729B-24E8-5EC4-4F0E2E4D66BCDA60_thumb.jpg","galleries_id":157814,"server_id":18,"link":"photo_7617804.html","width":130,"caption":"","height":87});
															thumbnails[7617850] = clik.newPhoto({"id":7617850,"src":"ND_21_web_thumb.jpg","galleries_id":203759,"server_id":18,"link":"photo_7617850.html","width":130,"caption":"","height":87});
															thumbnails[7617891] = clik.newPhoto({"id":7617891,"src":"CJ_21_web_thumb.jpg","galleries_id":241500,"server_id":18,"link":"photo_7617891.html","width":130,"caption":"","height":194});
															thumbnails[7621666] = clik.newPhoto({"id":7621666,"src":"GD_14_thumb.jpg","galleries_id":98724,"server_id":18,"link":"photo_7621666.html","width":130,"caption":"","height":87});
															thumbnails[6381481] = clik.newPhoto({"id":6381481,"src":"HANB_04_thumb.jpg","galleries_id":98794,"server_id":18,"link":"photo_6381481.html","width":130,"caption":"","height":87});
															thumbnails[6966425] = clik.newPhoto({"id":6966425,"src":"HN_12_web_thumb.jpg","galleries_id":98724,"server_id":18,"link":"photo_6966425.html","width":130,"caption":"","height":87});
															thumbnails[7006469] = clik.newPhoto({"id":7006469,"src":"CIF_22_web_thumb.jpg","galleries_id":203765,"server_id":18,"link":"photo_7006469.html","width":130,"caption":"","height":87});
															thumbnails[7617808] = clik.newPhoto({"id":7617808,"src":"PL_22_web_thumb.jpg","galleries_id":157814,"server_id":18,"link":"photo_7617808.html","width":130,"caption":"","height":87});
															thumbnails[7617851] = clik.newPhoto({"id":7617851,"src":"ND_22_web_thumb.jpg","galleries_id":203759,"server_id":18,"link":"photo_7617851.html","width":130,"caption":"","height":87});
															thumbnails[7617893] = clik.newPhoto({"id":7617893,"src":"CJ_22_web_thumb.jpg","galleries_id":241500,"server_id":18,"link":"photo_7617893.html","width":130,"caption":"","height":194});
															thumbnails[2158422] = clik.newPhoto({"id":2158422,"src":"JSOJ_0251b_2_thumb.jpg","galleries_id":98794,"server_id":18,"link":"photo_2158422.html","width":130,"caption":"","height":87});
															thumbnails[7006470] = clik.newPhoto({"id":7006470,"src":"CIF_23_web_thumb.jpg","galleries_id":203765,"server_id":18,"link":"photo_7006470.html","width":130,"caption":"","height":87});
															thumbnails[7617809] = clik.newPhoto({"id":7617809,"src":"PL_23_web_thumb.jpg","galleries_id":157814,"server_id":18,"link":"photo_7617809.html","width":130,"caption":"","height":87});
															thumbnails[7617853] = clik.newPhoto({"id":7617853,"src":"ND_23_web_thumb.jpg","galleries_id":203759,"server_id":18,"link":"photo_7617853.html","width":130,"caption":"","height":87});
															thumbnails[7617894] = clik.newPhoto({"id":7617894,"src":"CJ_23_web_thumb.jpg","galleries_id":241500,"server_id":18,"link":"photo_7617894.html","width":130,"caption":"","height":194});
															thumbnails[7621671] = clik.newPhoto({"id":7621671,"src":"LT_132_web_thumb.jpg","galleries_id":98724,"server_id":18,"link":"photo_7621671.html","width":130,"caption":"","height":87});
															thumbnails[3339952] = clik.newPhoto({"id":3339952,"src":"AC_04_thumb.jpg","galleries_id":98794,"server_id":18,"link":"photo_3339952.html","width":130,"caption":"","height":87});
															thumbnails[7006471] = clik.newPhoto({"id":7006471,"src":"CIF_24_web_thumb.jpg","galleries_id":203765,"server_id":18,"link":"photo_7006471.html","width":130,"caption":"","height":87});
															thumbnails[7617810] = clik.newPhoto({"id":7617810,"src":"PL_24_web_thumb.jpg","galleries_id":157814,"server_id":18,"link":"photo_7617810.html","width":130,"caption":"","height":87});
															thumbnails[7617854] = clik.newPhoto({"id":7617854,"src":"ND_24_web_thumb.jpg","galleries_id":203759,"server_id":18,"link":"photo_7617854.html","width":130,"caption":"","height":87});
															thumbnails[7617896] = clik.newPhoto({"id":7617896,"src":"CJ_24_web_thumb.jpg","galleries_id":241500,"server_id":18,"link":"photo_7617896.html","width":130,"caption":"","height":87});
															thumbnails[7621674] = clik.newPhoto({"id":7621674,"src":"ND_10_web1_thumb.jpg","galleries_id":98724,"server_id":18,"link":"photo_7621674.html","width":130,"caption":"","height":87});
															thumbnails[4683402] = clik.newPhoto({"id":4683402,"src":"AJJ_02_thumb.jpg","galleries_id":98794,"server_id":18,"link":"photo_4683402.html","width":130,"caption":"","height":87});
															thumbnails[7006473] = clik.newPhoto({"id":7006473,"src":"CIF_25_web_thumb.jpg","galleries_id":203765,"server_id":18,"link":"photo_7006473.html","width":130,"caption":"","height":87});
															thumbnails[7129209] = clik.newPhoto({"id":7129209,"src":"CM_17_web_thumb.jpg","galleries_id":98724,"server_id":18,"link":"photo_7129209.html","width":130,"caption":"","height":87});
															thumbnails[7617811] = clik.newPhoto({"id":7617811,"src":"PL_25_web_thumb.jpg","galleries_id":157814,"server_id":18,"link":"photo_7617811.html","width":130,"caption":"","height":87});
															thumbnails[7617855] = clik.newPhoto({"id":7617855,"src":"ND_25_web_thumb.jpg","galleries_id":203759,"server_id":18,"link":"photo_7617855.html","width":130,"caption":"","height":87});
															thumbnails[7617897] = clik.newPhoto({"id":7617897,"src":"CJ_25_web_thumb.jpg","galleries_id":241500,"server_id":18,"link":"photo_7617897.html","width":130,"caption":"","height":87});
															thumbnails[3421845] = clik.newPhoto({"id":3421845,"src":"PCHP_10_web_thumb.jpg","galleries_id":98794,"server_id":18,"link":"photo_3421845.html","width":130,"caption":"","height":194});
															thumbnails[7617814] = clik.newPhoto({"id":7617814,"src":"PL_26_web_thumb.jpg","galleries_id":157814,"server_id":18,"link":"photo_7617814.html","width":130,"caption":"","height":87});
															thumbnails[7621661] = clik.newPhoto({"id":7621661,"src":"DC_07_web_thumb.jpg","galleries_id":98724,"server_id":18,"link":"photo_7621661.html","width":130,"caption":"","height":87});
															thumbnails[1431585] = clik.newPhoto({"id":1431585,"src":"ch_sonny_thumb.jpg","galleries_id":98794,"server_id":18,"link":"photo_1431585.html","width":130,"caption":"","height":194});
															thumbnails[6383263] = clik.newPhoto({"id":6383263,"src":"AK_21_web_thumb.jpg","galleries_id":98724,"server_id":18,"link":"photo_6383263.html","width":130,"caption":"","height":87});
															thumbnails[7617816] = clik.newPhoto({"id":7617816,"src":"PL_27_web_thumb.jpg","galleries_id":157814,"server_id":18,"link":"photo_7617816.html","width":130,"caption":"","height":87});
															thumbnails[1965741] = clik.newPhoto({"id":1965741,"src":"otto_hand1_thumb.jpg","galleries_id":98794,"server_id":18,"link":"photo_1965741.html","width":130,"caption":"","height":194});
															thumbnails[4082495] = clik.newPhoto({"id":4082495,"src":"SD_171_thumb.jpg","galleries_id":98724,"server_id":18,"link":"photo_4082495.html","width":130,"caption":"","height":87});
															thumbnails[7617817] = clik.newPhoto({"id":7617817,"src":"PL_28_web_thumb.jpg","galleries_id":157814,"server_id":18,"link":"photo_7617817.html","width":130,"caption":"","height":87});
															thumbnails[3340000] = clik.newPhoto({"id":3340000,"src":"AC_19_thumb.jpg","galleries_id":98794,"server_id":18,"link":"photo_3340000.html","width":130,"caption":"","height":194});
															thumbnails[5258152] = clik.newPhoto({"id":5258152,"src":"DC_08_web_thumb.jpg","galleries_id":98724,"server_id":18,"link":"photo_5258152.html","width":130,"caption":"","height":87});
															thumbnails[7617818] = clik.newPhoto({"id":7617818,"src":"PL_29_web_thumb.jpg","galleries_id":157814,"server_id":18,"link":"photo_7617818.html","width":130,"caption":"","height":87});
															thumbnails[6084651] = clik.newPhoto({"id":6084651,"src":"KF_2010_11_web_thumb.jpg","galleries_id":98794,"server_id":18,"link":"photo_6084651.html","width":130,"caption":"","height":194});
															thumbnails[7617819] = clik.newPhoto({"id":7617819,"src":"PL_30_web_thumb.jpg","galleries_id":157814,"server_id":18,"link":"photo_7617819.html","width":130,"caption":"","height":87});
															thumbnails[7621658] = clik.newPhoto({"id":7621658,"src":"CJ_12_web1_thumb.jpg","galleries_id":98724,"server_id":18,"link":"photo_7621658.html","width":130,"caption":"","height":87});
															thumbnails[6381483] = clik.newPhoto({"id":6381483,"src":"HANB_05_thumb.jpg","galleries_id":98794,"server_id":18,"link":"photo_6381483.html","width":130,"caption":"","height":87});
															thumbnails[6966429] = clik.newPhoto({"id":6966429,"src":"HN_14_web_thumb.jpg","galleries_id":98724,"server_id":18,"link":"photo_6966429.html","width":130,"caption":"","height":87});
															thumbnails[4683400] = clik.newPhoto({"id":4683400,"src":"AJJ_01_thumb.jpg","galleries_id":98794,"server_id":18,"link":"photo_4683400.html","width":130,"caption":"","height":87});
															thumbnails[5253228] = clik.newPhoto({"id":5253228,"src":"LT_19_web_thumb.jpg","galleries_id":98724,"server_id":18,"link":"photo_5253228.html","width":130,"caption":"","height":87});
															thumbnails[3339937] = clik.newPhoto({"id":3339937,"src":"AC_01_thumb.jpg","galleries_id":98794,"server_id":18,"link":"photo_3339937.html","width":130,"caption":"","height":87});
															thumbnails[7129217] = clik.newPhoto({"id":7129217,"src":"CM_19_web_thumb.jpg","galleries_id":98724,"server_id":18,"link":"photo_7129217.html","width":130,"caption":"","height":87});
															thumbnails[6381507] = clik.newPhoto({"id":6381507,"src":"HANB_20_thumb.jpg","galleries_id":98794,"server_id":18,"link":"photo_6381507.html","width":130,"caption":"","height":87});
															thumbnails[7621667] = clik.newPhoto({"id":7621667,"src":"HN_22_web_thumb.jpg","galleries_id":98724,"server_id":18,"link":"photo_7621667.html","width":130,"caption":"","height":87});
															thumbnails[5393271] = clik.newPhoto({"id":5393271,"src":"DE_13_thumb.jpg","galleries_id":98724,"server_id":18,"link":"photo_5393271.html","width":130,"caption":"","height":87});
															thumbnails[6084644] = clik.newPhoto({"id":6084644,"src":"KF_2010_05_web_thumb.jpg","galleries_id":98794,"server_id":18,"link":"photo_6084644.html","width":130,"caption":"","height":87});
															thumbnails[7621641] = clik.newPhoto({"id":7621641,"src":"AK_16_web1_thumb.jpg","galleries_id":98724,"server_id":18,"link":"photo_7621641.html","width":130,"caption":"","height":194});
															thumbnails[5393281] = clik.newPhoto({"id":5393281,"src":"DE_18_thumb.jpg","galleries_id":98724,"server_id":18,"link":"photo_5393281.html","width":130,"caption":"","height":194});
															thumbnails[3993676] = clik.newPhoto({"id":3993676,"src":"SH_19_thumb.jpg","galleries_id":98724,"server_id":18,"link":"photo_3993676.html","width":130,"caption":"","height":194});
															thumbnails[6933364] = clik.newPhoto({"id":6933364,"src":"CD_11_web_thumb.jpg","galleries_id":98724,"server_id":18,"link":"photo_6933364.html","width":130,"caption":"","height":194});
															thumbnails[7621646] = clik.newPhoto({"id":7621646,"src":"HN_11_web_thumb.jpg","galleries_id":98724,"server_id":18,"link":"photo_7621646.html","width":130,"caption":"","height":194});
															thumbnails[4891155] = clik.newPhoto({"id":4891155,"src":"GI_16_thumb.jpg","galleries_id":98724,"server_id":18,"link":"photo_4891155.html","width":130,"caption":"","height":194});
															thumbnails[7621653] = clik.newPhoto({"id":7621653,"src":"PL_15_web1_thumb.jpg","galleries_id":98724,"server_id":18,"link":"photo_7621653.html","width":130,"caption":"","height":194});
															thumbnails[2447977] = clik.newPhoto({"id":2447977,"src":"rec_wed_131_thumb.jpg","galleries_id":98724,"server_id":18,"link":"photo_2447977.html","width":130,"caption":"","height":194});
															thumbnails[7621647] = clik.newPhoto({"id":7621647,"src":"LT_292_D_thumb.jpg","galleries_id":98724,"server_id":18,"link":"photo_7621647.html","width":130,"caption":"","height":194});
															thumbnails[6966431] = clik.newPhoto({"id":6966431,"src":"HN_16_web_thumb.jpg","galleries_id":98724,"server_id":18,"link":"photo_6966431.html","width":130,"caption":"","height":194});
															thumbnails[3638605] = clik.newPhoto({"id":3638605,"src":"TI_23_thumb.JPG","galleries_id":98724,"server_id":18,"link":"photo_3638605.html","width":130,"caption":"","height":87});
															thumbnails[7621656] = clik.newPhoto({"id":7621656,"src":"CD_12_web_thumb.jpg","galleries_id":98724,"server_id":18,"link":"photo_7621656.html","width":130,"caption":"","height":87});
															thumbnails[7621687] = clik.newPhoto({"id":7621687,"src":"PT_0653_RT_web_thumb.jpg","galleries_id":98724,"server_id":18,"link":"photo_7621687.html","width":130,"caption":"","height":87});
															thumbnails[7621688] = clik.newPhoto({"id":7621688,"src":"ST_270_web_thumb.jpg","galleries_id":98724,"server_id":18,"link":"photo_7621688.html","width":130,"caption":"","height":87});
															thumbnails[6966445] = clik.newPhoto({"id":6966445,"src":"HN_23_web_thumb.jpg","galleries_id":98724,"server_id":18,"link":"photo_6966445.html","width":130,"caption":"","height":87});
															thumbnails[7621660] = clik.newPhoto({"id":7621660,"src":"CJ_25_web1_thumb.jpg","galleries_id":98724,"server_id":18,"link":"photo_7621660.html","width":130,"caption":"","height":87});
															thumbnails[7621663] = clik.newPhoto({"id":7621663,"src":"DE_11_thumb.jpg","galleries_id":98724,"server_id":18,"link":"photo_7621663.html","width":130,"caption":"","height":87});
															thumbnails[7129248] = clik.newPhoto({"id":7129248,"src":"CM_29_web_thumb.jpg","galleries_id":98724,"server_id":18,"link":"photo_7129248.html","width":130,"caption":"","height":87});
															thumbnails[7621668] = clik.newPhoto({"id":7621668,"src":"KS_0798_B_web_thumb.jpg","galleries_id":98724,"server_id":18,"link":"photo_7621668.html","width":130,"caption":"","height":87});
															thumbnails[6933376] = clik.newPhoto({"id":6933376,"src":"CD_20_web_thumb.jpg","galleries_id":98724,"server_id":18,"link":"photo_6933376.html","width":130,"caption":"","height":87});
															thumbnails[7621689] = clik.newPhoto({"id":7621689,"src":"ST_288_D_thumb.jpg","galleries_id":98724,"server_id":18,"link":"photo_7621689.html","width":130,"caption":"","height":87});
															thumbnails[7621679] = clik.newPhoto({"id":7621679,"src":"ND_25_web1_thumb.jpg","galleries_id":98724,"server_id":18,"link":"photo_7621679.html","width":130,"caption":"","height":87});
															thumbnails[7621685] = clik.newPhoto({"id":7621685,"src":"PT_0604_B_web_thumb.jpg","galleries_id":98724,"server_id":18,"link":"photo_7621685.html","width":130,"caption":"","height":87});
															thumbnails[6933383] = clik.newPhoto({"id":6933383,"src":"CD_25_web_thumb.jpg","galleries_id":98724,"server_id":18,"link":"photo_6933383.html","width":130,"caption":"","height":87});
															thumbnails[5253238] = clik.newPhoto({"id":5253238,"src":"LT_23_web_thumb.jpg","galleries_id":98724,"server_id":18,"link":"photo_5253238.html","width":130,"caption":"","height":87});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[98724] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"weddings","link":"gallery_98724.html","maxRecords":0.0,"photoIDs":[7621681.0,5393273.0,4891144.0,7621677.0,6966430.0,6933358.0,7621673.0,4082488.0,7621684.0,7621659.0,4548486.0,6383232.0,6933359.0,4548519.0,5253195.0,6383236.0,4891154.0,6966422.0,7621644.0,2863925.0,7621666.0,6966425.0,7621671.0,7621674.0,7129209.0,7621661.0,6383263.0,4082495.0,5258152.0,7621658.0,6966429.0,5253228.0,7129217.0,7621667.0,5393271.0,7621641.0,5393281.0,3993676.0,6933364.0,7621646.0,4891155.0,7621653.0,2447977.0,7621647.0,6966431.0,3638605.0,7621656.0,7621687.0,7621688.0,6966445.0,7621660.0,7621663.0,7129248.0,7621668.0,6933376.0,7621689.0,7621679.0,7621685.0,6933383.0,5253238.0],"skipIndex":0,"section_code":"gallery","featured_images":5393281.0,"id":98724,"singleSection":false});				  						galleries[157814] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"recent wedding 1","link":"gallery_157814.html","maxRecords":0.0,"photoIDs":[7617748.0,7617750.0,7617752.0,7617753.0,7617755.0,7617756.0,7617758.0,7617760.0,7617762.0,7617768.0,7617776.0,7617787.0,7617788.0,7617790.0,7617792.0,7617794.0,7617798.0,7617801.0,7617802.0,7617803.0,7617804.0,7617808.0,7617809.0,7617810.0,7617811.0,7617814.0,7617816.0,7617817.0,7617818.0,7617819.0],"skipIndex":0,"section_code":"gallery","featured_images":7617792.0,"id":157814,"singleSection":false});				  						galleries[203759] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"recent wedding 2","link":"gallery_203759.html","maxRecords":0.0,"photoIDs":[7617823.0,7617825.0,7617827.0,7617828.0,7617830.0,7617833.0,7617834.0,7617835.0,7617836.0,7617837.0,7617838.0,7617840.0,7617842.0,7617843.0,7617844.0,7617845.0,7617846.0,7617847.0,7617848.0,7617849.0,7617850.0,7617851.0,7617853.0,7617854.0,7617855.0],"skipIndex":0,"section_code":"gallery","featured_images":7617842.0,"id":203759,"singleSection":false});				  						galleries[241500] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"recent wedding 3","link":"gallery_241500.html","maxRecords":0.0,"photoIDs":[7617858.0,7617860.0,7617863.0,7617864.0,7617865.0,7617867.0,7617868.0,7617871.0,7617873.0,7617875.0,7617876.0,7617877.0,7617879.0,7617880.0,7617882.0,7617884.0,7617885.0,7617888.0,7617889.0,7617890.0,7617891.0,7617893.0,7617894.0,7617896.0,7617897.0],"skipIndex":0,"section_code":"gallery","featured_images":7617873.0,"id":241500,"singleSection":false});				  						galleries[98794] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"children & families","link":"gallery_98794.html","maxRecords":0.0,"photoIDs":[5582184.0,6084642.0,2869881.0,3753354.0,4683407.0,4095385.0,2869883.0,2015265.0,5589766.0,3340002.0,1519523.0,2158413.0,2158428.0,3753407.0,1470832.0,2158417.0,1431579.0,2158419.0,4683414.0,3753393.0,5589782.0,6381481.0,2158422.0,3339952.0,4683402.0,3421845.0,1431585.0,1965741.0,3340000.0,6084651.0,6381483.0,4683400.0,3339937.0,6381507.0,6084644.0],"skipIndex":0,"section_code":"gallery","featured_images":4095385.0,"id":98794,"singleSection":false});				  						galleries[203765] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"corporate events","link":"gallery_203765.html","maxRecords":0.0,"photoIDs":[7006439.0,7006440.0,7006441.0,7006442.0,7006443.0,7006444.0,7006446.0,7006447.0,7006449.0,7006450.0,7006453.0,7006454.0,7006456.0,7006457.0,7006459.0,7006461.0,7006462.0,7006464.0,7006466.0,7006467.0,7006468.0,7006469.0,7006470.0,7006471.0,7006473.0],"skipIndex":0,"section_code":"gallery","featured_images":7006462.0,"id":203765,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '7621681,5393273,7621677,7617864,7617865,6966430,4082488,7621684,7621659,7006453,7617794,7617798,7617848,7617849,7621666,6966425,7621674,7617811,7129209,7621661,6383263,4082495,5258152,7621658,6966429,5253228,7129217,7621667,5393271,3638605,7621687,7621688,6966445,7621663,7129248,7621668,6933376,7621689,7621679,7621685,6933383,5253238';
imageSets[2] = '4095385,7617873,7617842,7617792,7006462,5393281';
imageSets[3] = '7621681,7617858,7617860,7617863,7621677,7617864,7617865,7617867,7621673,7617868,7617871,7621659,7617875,7617876,7617877,7617879,7617880,7617882';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/phocus/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/phocus/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/phocus/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/phocus/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/phocus/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/phocus/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/phocus/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/phocus/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/phocus/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/phocus/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/phocus/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/phocus/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/phocus/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/phocus/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/phocus/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/phocus/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/phocus/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/phocus/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/phocus/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/phocus/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/phocus/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/phocus/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/phocus/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/phocus/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/phocus/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/phocus/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/phocus/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 = 'phocus - images that capture the moment: ' + photoCaption;
			    }
        if (op.$detail.length > 0) {
      	temp = op.nextPhoto.fnGetImageDetails();
	    op.$detail.fadeGalleryDetails(temp, op.speed, function(){
			if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
				toggleAddToCartConfirm(backgrounds, op.$detail);
			} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
				toggleAddToCartConfirm(photos, op.$detail);
			}
			$('body').trigger('clikUpdate.popup');
	    });
    }
        $(op.$detailContainer).find('.replaceable[class*=replaceable_photo-]').each(function(){
    	var field = clik.getPrefixedClass(this.className, 'replaceable_photo-');
    	if (field in op.nextPhoto) {
    		$(this).fadeGalleryDetails(op.nextPhoto[field], op.speed);
    	}
    }).end().find('.replaceable.photoPayment').fadeGalleryDetails(op.nextPhoto.fnGetPaymentInfo(), op.speed, function(){
		if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
			toggleAddToCartConfirm(backgrounds, op.$detailContainer);
		} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
			toggleAddToCartConfirm(photos, op.$detailContainer);
		}
		$('body').trigger('clikUpdate.popup');
	});
		if (op.$photo.length > 0) {
		html = $('<img/>',{
			'class': 'mainphoto photo',
			src: photoSrc,
			id: 'mainPic',
			name: 'mainPic',
			width: op.nextPhoto.width,
			height: op.nextPhoto.height,
			alt: photoCaption,
			css: op.css || {}
		});
		if (op.href) {
			if (op.href.match(/<a/)) {
				html = $(op.href).append(html);
			} else {
				html = $('<a/>', {
					href: op.href,
					title: photoCaption
				}).append(html);
			}
		} else {
			html = $('<a/>', {
				title: photoCaption
			}).append(html);
		}
		if (op.speed == 0) {			op.$photo.html(html);			if (op.onBefore) {			  	op.onBefore.apply(op.$photo);			}			if (op.onAfter) {			  	op.onAfter.apply(op.$photo);			}		} else {			op.$photo.stop(true,true).fadeReplaceWith(html,op.speed,'',function(){  				if (op.onAfter) {				  	op.onAfter.apply(this);				}				clik.doColumnResize(false, $(this).add(op.$detail).add(op.$title));			}, op.onBefore);
		}	}
    if (op.field) {
		op.field.value = photoId;
	} else {
		op.$photo.data('image_id', photoId);
    }
        if (!op.speed) {
      	clik.doColumnResize(false, op.$photo.add(op.$detail).add(op.$title));
    }
        
    return html;
	}

/***************************************************************************
* Toggle add to cart confirmation element and set up the click event for   *
* the 'Add to cart' button.                                                *
***************************************************************************/
function toggleAddToCartConfirm(array, root){
	if (typeof(array) !== 'object' || array === null) {
	  	array = photos;
	}
	if (!$(root).length) {		root = $('body');	}	if($('#paymentConfirm', root).length > 0){
		$('#paymentConfirm', root).hide();
		$('#paymentAddButton', root)
		.unbind()
		.click(function(){
						form = $('#paymentForm', root)[0];
			option_id = 0;
			if(form.item_option.value){
				option_id = form.item_option.value;
			}
			if(addItemToBasket(form.item_number.value,array,form.site.value,parseInt(form.quantity.value, 10),option_id)){
				if($.browser.msie){$('#paymentConfirm', root).text('Item added to cart').show();}
				else{
					$('#paymentConfirm', root).text('Item added to cart').fadeIn();
					dspOrderDetails(form.site.value);
				}
			}
			else{
				$('#paymentConfirm', root).text('Item not added - check cookies are enabled in your browser.').fadeIn();
			}
		});
	}
}

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetImageDetails = function(){
	var temp = '';
	if (this.description != '') {
		temp +=  '<div id="imageDescription">' + this.description + '</div>';
	}
		if (this.takendate != '') {
		
		temp += '<div class="imageinfo" id="imageDate"><strong>Date: </strong>' + this.takendate + '</div>';
	}
	
	if (this.location != '') {
		
		temp += '<div class="imageinfo" id="imageLocation"><strong>Location: </strong>' +  this.location + '</div>';
	}
	
	if (this.photographer != '') {
		
		temp += '<div class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>' + this.photographer + '</div>';
	}
				
				if (temp != '') {
		temp += '<div class="spacer"></div>';
	}
	return temp;
};

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetPaymentInfo = function(){
	var temp = '';
	if (this.item_price !== '') {
				temp += '<p>Order this print:</p>';
				temp += '<div class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> ' + (this.item_price).toFixed(2) + '</div>';
		var item_name  = this.purchase_instruction;
		var amount = (this.item_price).toFixed(2);
		var item_option  = 0;
	}
		else {
		
	}
	if (this.item_price !== '') {
			temp += '<div class="clearing">&nbsp;</div>';
	}
	return temp;};

/***************************************************************************
* Pick a photo at random from the featured images of a gallery.            *
* Gallery_id = id of gallery to choose,                                    *
* img = reference to html image in                                         *
* which to show image                                                      *
***************************************************************************/
function showGalleryImage(gallery_id, img, updateLink) {
	
	if(img){
		if (location.hash.match('galleries_id=' + gallery_id) && (imageID = location.hash.match('.*photos_id=(.+)$'))) {
		  	imageID = imageID[1];
		} else {
		  	imageID = randomListVal(galleries[gallery_id].featured_images);
		}
		
		if (imageID != 0) {
			img.src = thumbnails[imageID].src;
			img.width = thumbnails[imageID].width;
			img.height = thumbnails[imageID].height;
			img.alt = galleries[gallery_id].title;
			if (updateLink) {
				$(img).parent().attr({					title: galleries[gallery_id].title				}).filter(function(){return this.href;}).attr({					href: thumbnails[imageID].fnGalleryLink(gallery_id)				});
			}
		}
	}
}

/***************************************************************************
* If we have dynamic HTML, replace the galleries link with a list that     *
* doesn't include thecurrent gallery                                       *
***************************************************************************/
function showGalleries(gallery_id) {
		
	
	if (!basic) {
		temp = '';
		for (i = 0; i < galleries.length; i++) {
						
			
			if (galleries[i].id != gallery_id) {
								
				if (temp != '') {
					temp += ' | ';
				}
								temp += '<a href="' + galleries[i].section_code + '_' + galleries[i].id + '.html">' + galleries[i].title + '</a>';
							}
		}
		document.all.galleryLinks.innerHTML = 'Other galleries: ' + temp;
	}
}

			

