window.thumbnails = {};
															thumbnails[5877060] = clik.newPhoto({"id":5877060,"src":"Cocos_4_Star_Edited_and_Raw_101_1595_thumb.jpg","galleries_id":"","server_id":32,"link":"#","width":130,"caption":"","height":195});
															thumbnails[5877074] = clik.newPhoto({"id":5877074,"src":"Cocos_4_Star_Edited_and_Raw_101_1925_thumb.jpg","galleries_id":"","server_id":32,"link":"#","width":130,"caption":"","height":169});
															thumbnails[5877076] = clik.newPhoto({"id":5877076,"src":"Cocos_4_Star_Edited_and_Raw_101_2287_thumb.jpg","galleries_id":"","server_id":32,"link":"#","width":130,"caption":"","height":180});
															thumbnails[5877084] = clik.newPhoto({"id":5877084,"src":"Cocos_4_Star_Edited_and_Raw_IMG_0851_thumb.jpg","galleries_id":"","server_id":32,"link":"#","width":130,"caption":"","height":87});
															thumbnails[5877087] = clik.newPhoto({"id":5877087,"src":"Cocos_4_Star_Edited_and_Raw_IMG_1988_thumb.jpg","galleries_id":"","server_id":32,"link":"#","width":130,"caption":"","height":87});
															thumbnails[7653788] = clik.newPhoto({"id":7653788,"src":"Low_Resolution_Format_Only_High_Resolution_for_Printing_WM_C93R0454_-_Version_312_thumb.jpg","galleries_id":"","server_id":32,"link":"#","width":130,"caption":"","height":195});
															thumbnails[8975390] = clik.newPhoto({"id":8975390,"src":"C93R7935Mod_thumb.jpg","galleries_id":"","server_id":32,"link":"#","width":124,"caption":"","height":160});
															thumbnails[5534948] = clik.newPhoto({"id":5534948,"src":"IMG_0016_-_Version_2_thumb.jpg","galleries_id":314507,"server_id":32,"link":"photo_5534948.html","width":130,"caption":"","height":87});
															thumbnails[5546085] = clik.newPhoto({"id":5546085,"src":"modified_hands123_thumb.JPG","galleries_id":314306,"server_id":32,"link":"photo_5546085.html","width":130,"caption":"","height":192});
															thumbnails[5547292] = clik.newPhoto({"id":5547292,"src":"100_9184_2_thumb.jpg","galleries_id":314306,"server_id":32,"link":"photo_5547292.html","width":130,"caption":"","height":158});
															thumbnails[5547295] = clik.newPhoto({"id":5547295,"src":"100_9185_21_thumb.jpg","galleries_id":314306,"server_id":32,"link":"photo_5547295.html","width":130,"caption":"","height":191});
															thumbnails[5549233] = clik.newPhoto({"id":5549233,"src":"IMG_3698_2_thumb.jpg","galleries_id":314306,"server_id":32,"link":"photo_5549233.html","width":130,"caption":"","height":93});
															thumbnails[5549259] = clik.newPhoto({"id":5549259,"src":"Apprentice_Phot_thumb.JPG","galleries_id":314306,"server_id":32,"link":"photo_5549259.html","width":130,"caption":"","height":182});
															thumbnails[5549307] = clik.newPhoto({"id":5549307,"src":"Adjusted_to_e-mail_-_IMG_7034_-_Version_21_thumb.jpg","galleries_id":314459,"server_id":32,"link":"photo_5549307.html","width":130,"caption":"","height":196});
															thumbnails[5549314] = clik.newPhoto({"id":5549314,"src":"Adjusted_to_e-mail_-_IMG_8788_thumb.jpg","galleries_id":314459,"server_id":32,"link":"photo_5549314.html","width":130,"caption":"","height":196});
															thumbnails[5549523] = clik.newPhoto({"id":5549523,"src":"IG16_thumb.jpg","galleries_id":314497,"server_id":32,"link":"photo_5549523.html","width":130,"caption":"","height":195});
															thumbnails[5549698] = clik.newPhoto({"id":5549698,"src":"IG14_thumb.jpg","galleries_id":314306,"server_id":32,"link":"photo_5549698.html","width":130,"caption":"","height":97});
															thumbnails[5549714] = clik.newPhoto({"id":5549714,"src":"100_6378_thumb.jpg","galleries_id":314507,"server_id":32,"link":"photo_5549714.html","width":130,"caption":"","height":130});
															thumbnails[5549715] = clik.newPhoto({"id":5549715,"src":"100_6654_thumb.jpg","galleries_id":314507,"server_id":32,"link":"photo_5549715.html","width":130,"caption":"","height":130});
															thumbnails[5549717] = clik.newPhoto({"id":5549717,"src":"100_9143_thumb.jpg","galleries_id":314306,"server_id":32,"link":"photo_5549717.html","width":130,"caption":"","height":195});
															thumbnails[5554015] = clik.newPhoto({"id":5554015,"src":"Californian_Fall5_thumb.JPG","galleries_id":314497,"server_id":32,"link":"photo_5554015.html","width":130,"caption":"","height":88});
															thumbnails[5555584] = clik.newPhoto({"id":5555584,"src":"1_thumb.jpg","galleries_id":314306,"server_id":32,"link":"photo_5555584.html","width":130,"caption":"","height":195});
															thumbnails[5555611] = clik.newPhoto({"id":5555611,"src":"Swan1_thumb.JPG","galleries_id":314497,"server_id":32,"link":"photo_5555611.html","width":130,"caption":"","height":173});
															thumbnails[5555664] = clik.newPhoto({"id":5555664,"src":"Soon_thumb.JPG","galleries_id":384489,"server_id":32,"link":"photo_5555664.html","width":130,"caption":"","height":195});
															thumbnails[5555677] = clik.newPhoto({"id":5555677,"src":"F1Jigsaw_thumb.JPG","galleries_id":314318,"server_id":32,"link":"photo_5555677.html","width":130,"caption":"","height":92});
															thumbnails[5555707] = clik.newPhoto({"id":5555707,"src":"F11_thumb.JPG","galleries_id":314318,"server_id":32,"link":"photo_5555707.html","width":130,"caption":"","height":98});
															thumbnails[5581400] = clik.newPhoto({"id":5581400,"src":"Quadair_thumb.JPG","galleries_id":314507,"server_id":32,"link":"photo_5581400.html","width":130,"caption":"","height":86});
															thumbnails[5581408] = clik.newPhoto({"id":5581408,"src":"peacock11_thumb.jpg","galleries_id":314507,"server_id":32,"link":"photo_5581408.html","width":130,"caption":"","height":109});
															thumbnails[5581411] = clik.newPhoto({"id":5581411,"src":"Triptych1_thumb.JPG","galleries_id":314318,"server_id":32,"link":"photo_5581411.html","width":130,"caption":"","height":92});
															thumbnails[5581412] = clik.newPhoto({"id":5581412,"src":"filedofdreams_thumb.JPG","galleries_id":314497,"server_id":32,"link":"photo_5581412.html","width":130,"caption":"","height":87});
															thumbnails[5581419] = clik.newPhoto({"id":5581419,"src":"IG1_thumb.jpg","galleries_id":314306,"server_id":32,"link":"photo_5581419.html","width":130,"caption":"","height":86});
															thumbnails[5581476] = clik.newPhoto({"id":5581476,"src":"IMG5196_thumb.JPG","galleries_id":314459,"server_id":32,"link":"photo_5581476.html","width":130,"caption":"","height":87});
															thumbnails[5581478] = clik.newPhoto({"id":5581478,"src":"IG22_thumb.JPG","galleries_id":314306,"server_id":32,"link":"photo_5581478.html","width":130,"caption":"","height":195});
															thumbnails[5581481] = clik.newPhoto({"id":5581481,"src":"TryptchBolt_thumb.JPG","galleries_id":314318,"server_id":32,"link":"photo_5581481.html","width":130,"caption":"","height":92});
															thumbnails[5581525] = clik.newPhoto({"id":5581525,"src":"SQUASH_thumb.JPG","galleries_id":314497,"server_id":32,"link":"photo_5581525.html","width":130,"caption":"","height":87});
															thumbnails[5581527] = clik.newPhoto({"id":5581527,"src":"DSC00388_thumb.JPG","galleries_id":314497,"server_id":32,"link":"photo_5581527.html","width":130,"caption":"","height":173});
															thumbnails[5581530] = clik.newPhoto({"id":5581530,"src":"matt1COCO_thumb.JPG","galleries_id":314459,"server_id":32,"link":"photo_5581530.html","width":130,"caption":"","height":195});
															thumbnails[5581532] = clik.newPhoto({"id":5581532,"src":"DSC00294_thumb.JPG","galleries_id":314497,"server_id":32,"link":"photo_5581532.html","width":130,"caption":"","height":98});
															thumbnails[5581534] = clik.newPhoto({"id":5581534,"src":"web11_thumb.JPG","galleries_id":314459,"server_id":32,"link":"photo_5581534.html","width":130,"caption":"","height":93});
															thumbnails[5581545] = clik.newPhoto({"id":5581545,"src":"BUBBLE_thumb.JPG","galleries_id":314459,"server_id":32,"link":"photo_5581545.html","width":130,"caption":"","height":173});
															thumbnails[5581561] = clik.newPhoto({"id":5581561,"src":"HandinHand_thumb.JPG","galleries_id":314459,"server_id":32,"link":"photo_5581561.html","width":130,"caption":"","height":173});
															thumbnails[5581564] = clik.newPhoto({"id":5581564,"src":"DSC00003_thumb.JPG","galleries_id":314497,"server_id":32,"link":"photo_5581564.html","width":130,"caption":"","height":173});
															thumbnails[5581573] = clik.newPhoto({"id":5581573,"src":"Tripimage_thumb.JPG","galleries_id":314459,"server_id":32,"link":"photo_5581573.html","width":130,"caption":"","height":92});
															thumbnails[5581575] = clik.newPhoto({"id":5581575,"src":"girlnted_thumb.JPG","galleries_id":314459,"server_id":32,"link":"photo_5581575.html","width":130,"caption":"","height":182});
															thumbnails[5581578] = clik.newPhoto({"id":5581578,"src":"pumkintime_thumb.JPG","galleries_id":314497,"server_id":32,"link":"photo_5581578.html","width":130,"caption":"","height":173});
															thumbnails[5581581] = clik.newPhoto({"id":5581581,"src":"Adjusted_to_e-mail_-_IMG_9069_thumb.jpg","galleries_id":314318,"server_id":32,"link":"photo_5581581.html","width":130,"caption":"","height":196});
															thumbnails[5582466] = clik.newPhoto({"id":5582466,"src":"DSC00036_thumb.JPG","galleries_id":314497,"server_id":32,"link":"photo_5582466.html","width":130,"caption":"","height":98});
															thumbnails[5582476] = clik.newPhoto({"id":5582476,"src":"5855v2_thumb.JPG","galleries_id":314459,"server_id":32,"link":"photo_5582476.html","width":130,"caption":"","height":87});
															thumbnails[5582478] = clik.newPhoto({"id":5582478,"src":"duo6351_thumb.JPG","galleries_id":314459,"server_id":32,"link":"photo_5582478.html","width":130,"caption":"","height":94});
															thumbnails[5582480] = clik.newPhoto({"id":5582480,"src":"cccccc018_thumb.JPG","galleries_id":314507,"server_id":32,"link":"photo_5582480.html","width":130,"caption":"","height":195});
															thumbnails[5582504] = clik.newPhoto({"id":5582504,"src":"IG11_thumb.JPG","galleries_id":314497,"server_id":32,"link":"photo_5582504.html","width":130,"caption":"","height":173});
															thumbnails[5582509] = clik.newPhoto({"id":5582509,"src":"1005654_thumb.JPG","galleries_id":314459,"server_id":32,"link":"photo_5582509.html","width":130,"caption":"","height":195});
															thumbnails[5582798] = clik.newPhoto({"id":5582798,"src":"redbullweb_thumb.JPG","galleries_id":314507,"server_id":32,"link":"photo_5582798.html","width":130,"caption":"","height":157});
															thumbnails[5582804] = clik.newPhoto({"id":5582804,"src":"web2_thumb.jpg","galleries_id":314306,"server_id":32,"link":"photo_5582804.html","width":130,"caption":"","height":163});
															thumbnails[5582883] = clik.newPhoto({"id":5582883,"src":"dukes_drive_mod_thumb.jpg","galleries_id":314497,"server_id":32,"link":"photo_5582883.html","width":130,"caption":"","height":195});
															thumbnails[5582884] = clik.newPhoto({"id":5582884,"src":"CIMG1132_thumb.JPG","galleries_id":314497,"server_id":32,"link":"photo_5582884.html","width":130,"caption":"","height":195});
															thumbnails[5582886] = clik.newPhoto({"id":5582886,"src":"DSC00179_thumb.JPG","galleries_id":314497,"server_id":32,"link":"photo_5582886.html","width":130,"caption":"Some only see a small aspect","height":173});
															thumbnails[5582887] = clik.newPhoto({"id":5582887,"src":"DSC00180_thumb.JPG","galleries_id":314497,"server_id":32,"link":"photo_5582887.html","width":130,"caption":"...whereas some look at the bigger picture!","height":173});
															thumbnails[5582888] = clik.newPhoto({"id":5582888,"src":"alcatraz_thumb.jpg","galleries_id":314497,"server_id":32,"link":"photo_5582888.html","width":130,"caption":"","height":195});
															thumbnails[5582889] = clik.newPhoto({"id":5582889,"src":"DSC00048_thumb.JPG","galleries_id":314497,"server_id":32,"link":"photo_5582889.html","width":130,"caption":"","height":173});
															thumbnails[5582890] = clik.newPhoto({"id":5582890,"src":"Dsc00093_thumb.jpg","galleries_id":314497,"server_id":32,"link":"photo_5582890.html","width":130,"caption":"","height":173});
															thumbnails[5582891] = clik.newPhoto({"id":5582891,"src":"Vulcan_thumb.jpg","galleries_id":314507,"server_id":32,"link":"photo_5582891.html","width":130,"caption":"","height":96});
															thumbnails[5582892] = clik.newPhoto({"id":5582892,"src":"LynxHAS2_thumb.jpg","galleries_id":314507,"server_id":32,"link":"photo_5582892.html","width":130,"caption":"","height":107});
															thumbnails[5582893] = clik.newPhoto({"id":5582893,"src":"DSC00351_thumb.JPG","galleries_id":314497,"server_id":32,"link":"photo_5582893.html","width":130,"caption":"","height":98});
															thumbnails[5582894] = clik.newPhoto({"id":5582894,"src":"DSC00352_thumb.JPG","galleries_id":314497,"server_id":32,"link":"photo_5582894.html","width":130,"caption":"","height":98});
															thumbnails[5587383] = clik.newPhoto({"id":5587383,"src":"Full_size_-_IMG_6066_thumb.jpg","galleries_id":314459,"server_id":32,"link":"photo_5587383.html","width":130,"caption":"","height":184});
															thumbnails[5587385] = clik.newPhoto({"id":5587385,"src":"Full_size_-_IMG_6090_thumb.jpg","galleries_id":314459,"server_id":32,"link":"photo_5587385.html","width":130,"caption":"","height":92});
															thumbnails[5587386] = clik.newPhoto({"id":5587386,"src":"Full_size_-_IMG_7868_thumb.jpg","galleries_id":314459,"server_id":32,"link":"photo_5587386.html","width":130,"caption":"","height":196});
															thumbnails[5587388] = clik.newPhoto({"id":5587388,"src":"Full_size_-_IMG_4772_-_Version_2_thumb.jpg","galleries_id":314306,"server_id":32,"link":"photo_5587388.html","width":130,"caption":"","height":196});
															thumbnails[5587392] = clik.newPhoto({"id":5587392,"src":"Adjusted_full_size_IMG_6140_thumb.jpg","galleries_id":314459,"server_id":32,"link":"photo_5587392.html","width":130,"caption":"","height":87});
															thumbnails[5587396] = clik.newPhoto({"id":5587396,"src":"Full_size_-_IMG_4859_thumb.jpg","galleries_id":314459,"server_id":32,"link":"photo_5587396.html","width":130,"caption":"","height":92});
															thumbnails[5587398] = clik.newPhoto({"id":5587398,"src":"IMG_9270_thumb.jpg","galleries_id":314306,"server_id":32,"link":"photo_5587398.html","width":130,"caption":"","height":104});
															thumbnails[5587404] = clik.newPhoto({"id":5587404,"src":"IMG_9052_thumb.jpg","galleries_id":314459,"server_id":32,"link":"photo_5587404.html","width":130,"caption":"","height":196});
															thumbnails[5587407] = clik.newPhoto({"id":5587407,"src":"Full_size_-_101_0897_thumb.jpg","galleries_id":314459,"server_id":32,"link":"photo_5587407.html","width":130,"caption":"","height":174});
															thumbnails[5587411] = clik.newPhoto({"id":5587411,"src":"100_8344_thumb.jpg","galleries_id":314459,"server_id":32,"link":"photo_5587411.html","width":130,"caption":"","height":104});
															thumbnails[5587412] = clik.newPhoto({"id":5587412,"src":"100_8794_thumb.jpg","galleries_id":314306,"server_id":32,"link":"photo_5587412.html","width":130,"caption":"","height":104});
															thumbnails[5587415] = clik.newPhoto({"id":5587415,"src":"Full_size_-_IMG_7624_thumb.jpg","galleries_id":314306,"server_id":32,"link":"photo_5587415.html","width":130,"caption":"","height":168});
															thumbnails[5587417] = clik.newPhoto({"id":5587417,"src":"100_6853_thumb.jpg","galleries_id":314306,"server_id":32,"link":"photo_5587417.html","width":130,"caption":"","height":163});
															thumbnails[5587418] = clik.newPhoto({"id":5587418,"src":"100_6879_thumb.jpg","galleries_id":314306,"server_id":32,"link":"photo_5587418.html","width":130,"caption":"","height":98});
															thumbnails[5587419] = clik.newPhoto({"id":5587419,"src":"otherduo1_thumb.jpg","galleries_id":314459,"server_id":32,"link":"photo_5587419.html","width":130,"caption":"","height":195});
															thumbnails[5587425] = clik.newPhoto({"id":5587425,"src":"Full_size_-_IMG_4835_-_Version_2_thumb.jpg","galleries_id":314459,"server_id":32,"link":"photo_5587425.html","width":130,"caption":"","height":93});
															thumbnails[5625559] = clik.newPhoto({"id":5625559,"src":"Adjusted_to_e-mail_-_IMG_5405_thumb.jpg","galleries_id":314306,"server_id":32,"link":"photo_5625559.html","width":130,"caption":"","height":93});
															thumbnails[5625560] = clik.newPhoto({"id":5625560,"src":"Adjusted_to_e-mail_-_IMG_5428_thumb.jpg","galleries_id":314306,"server_id":32,"link":"photo_5625560.html","width":130,"caption":"","height":93});
															thumbnails[5823960] = clik.newPhoto({"id":5823960,"src":"Adjusted_full_size_-__IMG_8375_-_Version_212_thumb.jpg","galleries_id":314306,"server_id":32,"link":"photo_5823960.html","width":130,"caption":"","height":95});
															thumbnails[5837568] = clik.newPhoto({"id":5837568,"src":"hand_IMG_0574_-_Version_3_thumb.jpg","galleries_id":314306,"server_id":32,"link":"photo_5837568.html","width":130,"caption":"","height":220});
															thumbnails[5877081] = clik.newPhoto({"id":5877081,"src":"Cocos_4_Star_Edited_and_Raw_101_2307_thumb.jpg","galleries_id":314459,"server_id":32,"link":"photo_5877081.html","width":130,"caption":"","height":182});
															thumbnails[5878260] = clik.newPhoto({"id":5878260,"src":"imagine_thumb.JPG","galleries_id":314497,"server_id":32,"link":"photo_5878260.html","width":130,"caption":"","height":98});
															thumbnails[6052125] = clik.newPhoto({"id":6052125,"src":"Email_Resized_Adjusted_full_size_-_IMG_7936_thumb.jpg","galleries_id":314497,"server_id":32,"link":"photo_6052125.html","width":130,"caption":"","height":195});
															thumbnails[6052127] = clik.newPhoto({"id":6052127,"src":"Email_Resized_DSC00015_thumb.jpg","galleries_id":314497,"server_id":32,"link":"photo_6052127.html","width":130,"caption":"","height":96});
															thumbnails[6052131] = clik.newPhoto({"id":6052131,"src":"Email_Resized_Adjusted_full_size_-__IMG_0002_thumb.jpg","galleries_id":314318,"server_id":32,"link":"photo_6052131.html","width":130,"caption":"","height":97});
															thumbnails[7106867] = clik.newPhoto({"id":7106867,"src":"Adjusted_to_e-mail_-_Popped_Shoes_thumb.jpg","galleries_id":384489,"server_id":32,"link":"photo_7106867.html","width":130,"caption":"","height":167});
															thumbnails[7106895] = clik.newPhoto({"id":7106895,"src":"Adjusted_to_e-mail_-_IMG_9381_-_Version_2_thumb.jpg","galleries_id":384489,"server_id":32,"link":"photo_7106895.html","width":130,"caption":"","height":195});
															thumbnails[7106901] = clik.newPhoto({"id":7106901,"src":"Adjusted_to_e-mail_-_IMG_9383_-_Version_31_thumb.jpg","galleries_id":384489,"server_id":32,"link":"photo_7106901.html","width":130,"caption":"","height":190});
															thumbnails[7106943] = clik.newPhoto({"id":7106943,"src":"Adjusted_to_e-mail_-_IMG_6195_thumb.jpg","galleries_id":384489,"server_id":32,"link":"photo_7106943.html","width":130,"caption":"","height":195});
															thumbnails[7106966] = clik.newPhoto({"id":7106966,"src":"Adjusted_to_e-mail_-_IMG_6344_thumb.jpg","galleries_id":384489,"server_id":32,"link":"photo_7106966.html","width":130,"caption":"","height":87});
															thumbnails[7107453] = clik.newPhoto({"id":7107453,"src":"Adjusted_to_e-mail_-_IMG_1512_thumb.jpg","galleries_id":384489,"server_id":32,"link":"photo_7107453.html","width":130,"caption":"","height":87});
															thumbnails[7107455] = clik.newPhoto({"id":7107455,"src":"Adjusted_to_e-mail_-_IMG_1515_thumb.jpg","galleries_id":384489,"server_id":32,"link":"photo_7107455.html","width":130,"caption":"","height":195});
															thumbnails[7107456] = clik.newPhoto({"id":7107456,"src":"Adjusted_to_e-mail_-_COLCMOD_thumb.jpg","galleries_id":384489,"server_id":32,"link":"photo_7107456.html","width":130,"caption":"","height":92});
															thumbnails[7148628] = clik.newPhoto({"id":7148628,"src":"Adjusted_to_e-mail_-_grand1_thumb.jpg","galleries_id":314497,"server_id":32,"link":"photo_7148628.html","width":130,"caption":"","height":173});
															thumbnails[7303861] = clik.newPhoto({"id":7303861,"src":"Low_Resolution_Format_Only_IMG_0760_thumb.jpg","galleries_id":314497,"server_id":32,"link":"photo_7303861.html","width":130,"caption":"","height":87});
															thumbnails[7303865] = clik.newPhoto({"id":7303865,"src":"Low_Resolution_Format_Only_IMG_2478_thumb.jpg","galleries_id":314318,"server_id":32,"link":"photo_7303865.html","width":130,"caption":"","height":87});
															thumbnails[7303879] = clik.newPhoto({"id":7303879,"src":"Low_Resolution_Format_Only_DSC00098_thumb.jpg","galleries_id":314497,"server_id":32,"link":"photo_7303879.html","width":130,"caption":"","height":98});
															thumbnails[7303883] = clik.newPhoto({"id":7303883,"src":"Low_Resolution_Format_Only_DSC00019_thumb.jpg","galleries_id":314497,"server_id":32,"link":"photo_7303883.html","width":130,"caption":"","height":107});
															thumbnails[7303884] = clik.newPhoto({"id":7303884,"src":"Low_Resolution_Format_Only_IMG_1180_-_Version_2_thumb.jpg","galleries_id":314459,"server_id":32,"link":"photo_7303884.html","width":130,"caption":"","height":159});
															thumbnails[7303885] = clik.newPhoto({"id":7303885,"src":"Low_Resolution_Format_Only_IMG_1182_-_Version_3_thumb.jpg","galleries_id":314459,"server_id":32,"link":"photo_7303885.html","width":130,"caption":"","height":171});
															thumbnails[7303887] = clik.newPhoto({"id":7303887,"src":"Low_Resolution_Format_Only_IMG_7172_-_Version_2_thumb.jpg","galleries_id":314459,"server_id":32,"link":"photo_7303887.html","width":130,"caption":"","height":195});
															thumbnails[7303890] = clik.newPhoto({"id":7303890,"src":"Low_Resolution_Format_Only_IMG_7122_thumb.jpg","galleries_id":314459,"server_id":32,"link":"photo_7303890.html","width":130,"caption":"","height":141});
															thumbnails[7303892] = clik.newPhoto({"id":7303892,"src":"Low_Resolution_Format_Only_IMG_7115_thumb.jpg","galleries_id":314459,"server_id":32,"link":"photo_7303892.html","width":130,"caption":"","height":87});
															thumbnails[7653794] = clik.newPhoto({"id":7653794,"src":"Low_Resolution_Format_Only_High_Resolution_for_Printing_WM_popHigh_Resolution_for_Printing_C93R04031_thumb.jpg","galleries_id":414933,"server_id":32,"link":"photo_7653794.html","width":130,"caption":"","height":87});
															thumbnails[7653796] = clik.newPhoto({"id":7653796,"src":"Low_Resolution_Format_Only_High_Resolution_for_Printing_WM_C93R0473_-_Version_2_thumb.jpg","galleries_id":414933,"server_id":32,"link":"photo_7653796.html","width":130,"caption":"","height":195});
															thumbnails[7653797] = clik.newPhoto({"id":7653797,"src":"Low_Resolution_Format_Only_High_Resolution_for_Printing_wm_C93R1249_copy_thumb.jpg","galleries_id":414933,"server_id":32,"link":"photo_7653797.html","width":130,"caption":"","height":195});
															thumbnails[7653799] = clik.newPhoto({"id":7653799,"src":"Low_Resolution_Format_Only_High_Resolution_for_Printing_WM_POPHigh_Resolution_for_Printing_C93R0457_1_thumb.jpg","galleries_id":414933,"server_id":32,"link":"photo_7653799.html","width":130,"caption":"","height":168});
															thumbnails[7653801] = clik.newPhoto({"id":7653801,"src":"Low_Resolution_Format_Only_High_Resolution_for_Printing_WM_popHigh_Resolution_for_Printing_C93R0618_1_thumb.jpg","galleries_id":414933,"server_id":32,"link":"photo_7653801.html","width":130,"caption":"","height":87});
															thumbnails[7653804] = clik.newPhoto({"id":7653804,"src":"Low_Resolution_Format_Only_High_Resolution_for_Printing_WM_popHigh_Resolution_for_Printing_C93R0631_-_Version_3_thumb.jpg","galleries_id":414933,"server_id":32,"link":"photo_7653804.html","width":130,"caption":"","height":195});
															thumbnails[7653805] = clik.newPhoto({"id":7653805,"src":"Low_Resolution_Format_Only_High_Resolution_for_Printing_WM_POPHigh_Resolution_for_Printing_C93R1244_thumb.jpg","galleries_id":414933,"server_id":32,"link":"photo_7653805.html","width":130,"caption":"","height":87});
															thumbnails[7653825] = clik.newPhoto({"id":7653825,"src":"Low_Resolution_Format_Only_POPHigh_Resolution_for_Printing_wm_C93R0236_thumb.jpg","galleries_id":414933,"server_id":32,"link":"photo_7653825.html","width":130,"caption":"","height":100});
															thumbnails[7653829] = clik.newPhoto({"id":7653829,"src":"Low_Resolution_Format_Only_POPHigh_Resolution_for_Printing_wm_C93R0254_-_Version_2_thumb.jpg","galleries_id":414933,"server_id":32,"link":"photo_7653829.html","width":130,"caption":"","height":195});
															thumbnails[7653831] = clik.newPhoto({"id":7653831,"src":"Low_Resolution_Format_Only_POPHigh_Resolution_for_Printing_wm_C93R0271_thumb.jpg","galleries_id":414933,"server_id":32,"link":"photo_7653831.html","width":130,"caption":"","height":195});
															thumbnails[7653836] = clik.newPhoto({"id":7653836,"src":"Low_Resolution_Format_Only_POPHigh_Resolution_for_Printing_wm_C93R0343_1_thumb.jpg","galleries_id":414933,"server_id":32,"link":"photo_7653836.html","width":130,"caption":"","height":195});
															thumbnails[7653839] = clik.newPhoto({"id":7653839,"src":"Low_Resolution_Format_Only_POPHigh_Resolution_for_Printing_wm_C93R0356_thumb.jpg","galleries_id":414933,"server_id":32,"link":"photo_7653839.html","width":130,"caption":"","height":87});
															thumbnails[7653843] = clik.newPhoto({"id":7653843,"src":"Low_Resolution_Format_Only_POPHigh_Resolution_for_Printing_WM_C93R0454_-_Version_3_thumb.jpg","galleries_id":414933,"server_id":32,"link":"photo_7653843.html","width":130,"caption":"","height":195});
															thumbnails[7653844] = clik.newPhoto({"id":7653844,"src":"Low_Resolution_Format_Only_POPHigh_Resolution_for_Printing_wm_C93R0595_thumb.jpg","galleries_id":414933,"server_id":32,"link":"photo_7653844.html","width":130,"caption":"","height":101});
															thumbnails[7653848] = clik.newPhoto({"id":7653848,"src":"Low_Resolution_Format_Only_POPHigh_Resolution_for_Printing_wm_C93R0924_-_Version_2_copy_thumb.jpg","galleries_id":414933,"server_id":32,"link":"photo_7653848.html","width":130,"caption":"","height":195});
															thumbnails[7653850] = clik.newPhoto({"id":7653850,"src":"Low_Resolution_Format_Only_POPHigh_Resolution_for_Printing_wm_C93R0981_thumb.jpg","galleries_id":414933,"server_id":32,"link":"photo_7653850.html","width":130,"caption":"","height":195});
															thumbnails[7653851] = clik.newPhoto({"id":7653851,"src":"Low_Resolution_Format_Only_POPHigh_Resolution_for_Printing_wm_C93R1008_1_thumb.jpg","galleries_id":414933,"server_id":32,"link":"photo_7653851.html","width":130,"caption":"","height":195});
															thumbnails[7653854] = clik.newPhoto({"id":7653854,"src":"Low_Resolution_Format_Only_POPHigh_Resolution_for_Printing_wm_C93R1009_thumb.jpg","galleries_id":414933,"server_id":32,"link":"photo_7653854.html","width":130,"caption":"","height":100});
															thumbnails[7653856] = clik.newPhoto({"id":7653856,"src":"Low_Resolution_Format_Only_POPHigh_Resolution_for_Printing_wm_C93R1256_thumb.jpg","galleries_id":414933,"server_id":32,"link":"photo_7653856.html","width":130,"caption":"","height":195});
															thumbnails[7653859] = clik.newPhoto({"id":7653859,"src":"Low_Resolution_Format_Only_POPHigh_Resolution_for_Printing_wm_C93R1263_thumb.jpg","galleries_id":414933,"server_id":32,"link":"photo_7653859.html","width":130,"caption":"","height":100});
															thumbnails[7653860] = clik.newPhoto({"id":7653860,"src":"Low_Resolution_Format_Only_POPHigh_Resolution_for_Printing_wm_C93R1266_thumb.jpg","galleries_id":414933,"server_id":32,"link":"photo_7653860.html","width":130,"caption":"","height":195});
															thumbnails[7705589] = clik.newPhoto({"id":7705589,"src":"Low_Resolution_Format_Only_IMG_0589_thumb.jpg","galleries_id":314306,"server_id":32,"link":"photo_7705589.html","width":130,"caption":"","height":172});
															thumbnails[7705762] = clik.newPhoto({"id":7705762,"src":"Low_Resolution_Format_Only_IMG_5396_thumb.jpg","galleries_id":314459,"server_id":32,"link":"photo_7705762.html","width":130,"caption":"","height":195});
															thumbnails[7708963] = clik.newPhoto({"id":7708963,"src":"Low_Resolution_Format_Only_IMG_4816_-_Version_4_thumb.jpg","galleries_id":314459,"server_id":32,"link":"photo_7708963.html","width":130,"caption":"","height":195});
															thumbnails[7920059] = clik.newPhoto({"id":7920059,"src":"Low_Resolution_Format_Only_popHigh_Resolution_for_Printing_C93R0195_thumb.jpg","galleries_id":414933,"server_id":32,"link":"photo_7920059.html","width":130,"caption":"","height":195});
															thumbnails[8461306] = clik.newPhoto({"id":8461306,"src":"Resized_for_Email_C93R5729_thumb.jpg","galleries_id":448997,"server_id":32,"link":"photo_8461306.html","width":130,"caption":"","height":195});
															thumbnails[8461307] = clik.newPhoto({"id":8461307,"src":"Resized_for_Email_C93R5748_thumb.jpg","galleries_id":314459,"server_id":32,"link":"photo_8461307.html","width":130,"caption":"","height":195});
															thumbnails[8461378] = clik.newPhoto({"id":8461378,"src":"Resized_for_Email_C93R5753_thumb.jpg","galleries_id":448997,"server_id":32,"link":"photo_8461378.html","width":130,"caption":"","height":195});
															thumbnails[8493698] = clik.newPhoto({"id":8493698,"src":"Resized_for_Email_C93R5951_-_Version_2_thumb.jpg","galleries_id":448997,"server_id":32,"link":"photo_8493698.html","width":130,"caption":"","height":195});
															thumbnails[8493703] = clik.newPhoto({"id":8493703,"src":"Resized_for_Email_C93R5908_-_Version_2_thumb.jpg","galleries_id":448997,"server_id":32,"link":"photo_8493703.html","width":130,"caption":"","height":116});
															thumbnails[8496557] = clik.newPhoto({"id":8496557,"src":"Anna2_thumb.jpg","galleries_id":448997,"server_id":32,"link":"photo_8496557.html","width":130,"caption":"","height":87});
															thumbnails[8496589] = clik.newPhoto({"id":8496589,"src":"Anna3_thumb.jpg","galleries_id":448997,"server_id":32,"link":"photo_8496589.html","width":130,"caption":"","height":93});
															thumbnails[8496591] = clik.newPhoto({"id":8496591,"src":"Anna5_thumb.jpg","galleries_id":448997,"server_id":32,"link":"photo_8496591.html","width":130,"caption":"","height":195});
															thumbnails[8496593] = clik.newPhoto({"id":8496593,"src":"Anna6_thumb.jpg","galleries_id":448997,"server_id":32,"link":"photo_8496593.html","width":130,"caption":"","height":195});
															thumbnails[8496594] = clik.newPhoto({"id":8496594,"src":"Anna1_thumb.jpg","galleries_id":448997,"server_id":32,"link":"photo_8496594.html","width":130,"caption":"","height":87});
															thumbnails[8500134] = clik.newPhoto({"id":8500134,"src":"John__Clare_Sergi_2Star_2nd_Stage_Edit__024_thumb.jpg","galleries_id":449264,"server_id":32,"link":"photo_8500134.html","width":130,"caption":"","height":87});
															thumbnails[8500142] = clik.newPhoto({"id":8500142,"src":"John__Clare_Sergi_2Star_2nd_Stage_Edit__150_thumb.jpg","galleries_id":449264,"server_id":32,"link":"photo_8500142.html","width":107,"caption":"","height":160});
															thumbnails[8500170] = clik.newPhoto({"id":8500170,"src":"John__Clare_Sergi_2Star_2nd_Stage_Edit__077_thumb.jpg","galleries_id":449264,"server_id":32,"link":"photo_8500170.html","width":107,"caption":"","height":160});
															thumbnails[8500174] = clik.newPhoto({"id":8500174,"src":"John__Clare_Sergi_2Star_2nd_Stage_Edit__211_thumb.jpg","galleries_id":449264,"server_id":32,"link":"photo_8500174.html","width":130,"caption":"","height":87});
															thumbnails[8500184] = clik.newPhoto({"id":8500184,"src":"John__Clare_Sergi_2Star_2nd_Stage_Edit__092_thumb.jpg","galleries_id":449264,"server_id":32,"link":"photo_8500184.html","width":107,"caption":"","height":160});
															thumbnails[8500197] = clik.newPhoto({"id":8500197,"src":"John__Clare_Sergi_2Star_2nd_Stage_Edit__0571_thumb.jpg","galleries_id":449264,"server_id":32,"link":"photo_8500197.html","width":124,"caption":"","height":160});
															thumbnails[8500203] = clik.newPhoto({"id":8500203,"src":"John__Clare_Sergi_2Star_2nd_Stage_Edit__088_thumb.jpg","galleries_id":449264,"server_id":32,"link":"photo_8500203.html","width":124,"caption":"","height":160});
															thumbnails[8500210] = clik.newPhoto({"id":8500210,"src":"John__Clare_Sergi_2Star_2nd_Stage_Edit__048_thumb.jpg","galleries_id":449264,"server_id":32,"link":"photo_8500210.html","width":107,"caption":"","height":160});
															thumbnails[8500213] = clik.newPhoto({"id":8500213,"src":"John__Clare_Sergi_2Star_2nd_Stage_Edit__233_thumb.jpg","galleries_id":449264,"server_id":32,"link":"photo_8500213.html","width":107,"caption":"","height":160});
															thumbnails[8500216] = clik.newPhoto({"id":8500216,"src":"John__Clare_Sergi_2Star_2nd_Stage_Edit__214_thumb.jpg","galleries_id":449264,"server_id":32,"link":"photo_8500216.html","width":107,"caption":"","height":160});
															thumbnails[8500288] = clik.newPhoto({"id":8500288,"src":"John__Clare_Sergi_2Star_2nd_Stage_Edit__295_thumb.jpg","galleries_id":449264,"server_id":32,"link":"photo_8500288.html","width":130,"caption":"","height":101});
															thumbnails[8500290] = clik.newPhoto({"id":8500290,"src":"John__Clare_Sergi_2Star_2nd_Stage_Edit__261_thumb.jpg","galleries_id":449264,"server_id":32,"link":"photo_8500290.html","width":107,"caption":"","height":160});
															thumbnails[8500293] = clik.newPhoto({"id":8500293,"src":"John__Clare_Sergi_2Star_2nd_Stage_Edit__289_thumb.jpg","galleries_id":449264,"server_id":32,"link":"photo_8500293.html","width":130,"caption":"","height":100});
															thumbnails[8500298] = clik.newPhoto({"id":8500298,"src":"John__Clare_Sergi_2Star_2nd_Stage_Edit__468_thumb.jpg","galleries_id":449264,"server_id":32,"link":"photo_8500298.html","width":130,"caption":"","height":100});
															thumbnails[8500300] = clik.newPhoto({"id":8500300,"src":"John__Clare_Sergi_2Star_2nd_Stage_Edit__479_thumb.jpg","galleries_id":449264,"server_id":32,"link":"photo_8500300.html","width":130,"caption":"","height":100});
															thumbnails[8500304] = clik.newPhoto({"id":8500304,"src":"John__Clare_Sergi_2Star_2nd_Stage_Edit__272_thumb.jpg","galleries_id":449264,"server_id":32,"link":"photo_8500304.html","width":130,"caption":"","height":87});
															thumbnails[8500306] = clik.newPhoto({"id":8500306,"src":"John__Clare_Sergi_2Star_2nd_Stage_Edit__556_thumb.jpg","galleries_id":449264,"server_id":32,"link":"photo_8500306.html","width":107,"caption":"","height":160});
															thumbnails[8500328] = clik.newPhoto({"id":8500328,"src":"John__Clare_Sergi_2Star_2nd_Stage_Edit__306_thumb.jpg","galleries_id":449264,"server_id":32,"link":"photo_8500328.html","width":130,"caption":"","height":100});
															thumbnails[8500334] = clik.newPhoto({"id":8500334,"src":"John__Clare_Sergi_2Star_2nd_Stage_Edit__532_thumb.jpg","galleries_id":449264,"server_id":32,"link":"photo_8500334.html","width":107,"caption":"","height":160});
															thumbnails[8500344] = clik.newPhoto({"id":8500344,"src":"John__Clare_Sergi_2Star_2nd_Stage_Edit__067_thumb.jpg","galleries_id":449264,"server_id":32,"link":"photo_8500344.html","width":124,"caption":"","height":160});
															thumbnails[8505980] = clik.newPhoto({"id":8505980,"src":"bino1_thumb.jpg","galleries_id":314306,"server_id":32,"link":"photo_8505980.html","width":130,"caption":"","height":111});
															thumbnails[8505981] = clik.newPhoto({"id":8505981,"src":"RINGS_thumb.JPG","galleries_id":449264,"server_id":32,"link":"photo_8505981.html","width":130,"caption":"","height":87});
															thumbnails[8682782] = clik.newPhoto({"id":8682782,"src":"AH1_thumb.jpg","galleries_id":314459,"server_id":32,"link":"photo_8682782.html","width":107,"caption":"Andrew Hammond- Author; The Gallows Curse","height":160});
															thumbnails[8682785] = clik.newPhoto({"id":8682785,"src":"AH2_thumb.jpg","galleries_id":314459,"server_id":32,"link":"photo_8682785.html","width":107,"caption":"Andrew Hammond- Author; The Gallows Curse","height":160});
															thumbnails[8696033] = clik.newPhoto({"id":8696033,"src":"emma1_thumb.jpg","galleries_id":448997,"server_id":32,"link":"photo_8696033.html","width":107,"caption":"","height":160});
															thumbnails[8696078] = clik.newPhoto({"id":8696078,"src":"emma2_thumb.jpg","galleries_id":448997,"server_id":32,"link":"photo_8696078.html","width":107,"caption":"","height":160});
															thumbnails[8714264] = clik.newPhoto({"id":8714264,"src":"London_River1_thumb.jpg","galleries_id":314497,"server_id":32,"link":"photo_8714264.html","width":130,"caption":"","height":87});
															thumbnails[8743693] = clik.newPhoto({"id":8743693,"src":"Baby1C93R9498_thumb.jpg","galleries_id":314306,"server_id":32,"link":"photo_8743693.html","width":130,"caption":"","height":73});
															thumbnails[8743695] = clik.newPhoto({"id":8743695,"src":"baby2C93R9465_thumb.jpg","galleries_id":314306,"server_id":32,"link":"photo_8743695.html","width":130,"caption":"","height":73});
															thumbnails[8743701] = clik.newPhoto({"id":8743701,"src":"C93R5968_-_Version_2_thumb.jpg","galleries_id":448997,"server_id":32,"link":"photo_8743701.html","width":107,"caption":"","height":160});
															thumbnails[8743702] = clik.newPhoto({"id":8743702,"src":"C93R5920_-_Version_2_thumb.jpg","galleries_id":448997,"server_id":32,"link":"photo_8743702.html","width":124,"caption":"","height":160});
															thumbnails[8790051] = clik.newPhoto({"id":8790051,"src":"Email_Sized_Low_Resolution_Only_C93R0002_thumb.jpg","galleries_id":448997,"server_id":32,"link":"photo_8790051.html","width":130,"caption":"","height":93});
															thumbnails[8790052] = clik.newPhoto({"id":8790052,"src":"Email_Sized_Low_Resolution_Only_C93R0653_-_Version_5_thumb.jpg","galleries_id":448997,"server_id":32,"link":"photo_8790052.html","width":107,"caption":"","height":160});
															thumbnails[8790053] = clik.newPhoto({"id":8790053,"src":"Email_Sized_Low_Resolution_Only_C93R0784_-_Version_2_thumb.jpg","galleries_id":448997,"server_id":32,"link":"photo_8790053.html","width":107,"caption":"","height":160});
															thumbnails[8790054] = clik.newPhoto({"id":8790054,"src":"Email_Sized_Low_Resolution_Only_C93R9907_thumb.jpg","galleries_id":448997,"server_id":32,"link":"photo_8790054.html","width":107,"caption":"","height":160});
															thumbnails[8790077] = clik.newPhoto({"id":8790077,"src":"Email_Sized_Low_Resolution_Only_C93R0653_-_Version_4_thumb.jpg","galleries_id":448997,"server_id":32,"link":"photo_8790077.html","width":107,"caption":"","height":160});
															thumbnails[8965651] = clik.newPhoto({"id":8965651,"src":"The_magnificent_8_-_Version_2_thumb.jpg","galleries_id":314306,"server_id":32,"link":"photo_8965651.html","width":130,"caption":"","height":104});
															thumbnails[8965682] = clik.newPhoto({"id":8965682,"src":"The_magnificent_8_thumb.jpg","galleries_id":314306,"server_id":32,"link":"photo_8965682.html","width":130,"caption":"","height":73});
															thumbnails[5547275] = clik.newPhoto({"id":5547275,"src":"100_9205_3_thumb.jpg","galleries_id":314306,"server_id":32,"link":"photo_5547275.html","width":130,"caption":"","height":85});
															thumbnails[5549706] = clik.newPhoto({"id":5549706,"src":"IG12_thumb.jpg","galleries_id":314507,"server_id":32,"link":"photo_5549706.html","width":130,"caption":"","height":86});
															thumbnails[5581551] = clik.newPhoto({"id":5581551,"src":"JOCOCO1_thumb.JPG","galleries_id":314459,"server_id":32,"link":"photo_5581551.html","width":130,"caption":"","height":195});
															thumbnails[5549724] = clik.newPhoto({"id":5549724,"src":"IG13_thumb.jpg","galleries_id":314507,"server_id":32,"link":"photo_5549724.html","width":130,"caption":"","height":86});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[314306] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Cherished Moments","link":"gallery_314306.html","maxRecords":0.0,"photoIDs":[5546085.0,5547292.0,5547295.0,5549233.0,5549259.0,5549698.0,5549717.0,5555584.0,5581419.0,5581478.0,5582804.0,5587388.0,5587398.0,5587412.0,5587415.0,5587417.0,5587418.0,5625559.0,5625560.0,5823960.0,5837568.0,7705589.0,8505980.0,8743693.0,8743695.0,8965651.0,8965682.0,5547275.0],"skipIndex":0,"section_code":"gallery","featured_images":"8965682,8965651,8743695,8743693,8505980,7705589,5837568,5823960,5625559,5587418,5587417,5587415,5587412,5587398,5587388,5582804,5581478,5581419,5555584,5549717,5549698,5549259,5549233,5547295,5547292,5547275,5546085","id":314306,"singleSection":false});				  						galleries[314507] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Classic","link":"gallery_314507.html","maxRecords":0.0,"photoIDs":[5534948.0,5549714.0,5549715.0,5581400.0,5581408.0,5582480.0,5582798.0,5582891.0,5582892.0,5549706.0,5549724.0],"skipIndex":0,"section_code":"gallery","featured_images":"5582892,5582891,5582798,5582480,5581408,5581400,5549724,5549715,5549706,5534948","id":314507,"singleSection":false});				  						galleries[314318] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Creative","link":"gallery_314318.html","maxRecords":0.0,"photoIDs":[5555677.0,5555707.0,5581411.0,5581481.0,5581581.0,6052131.0,7303865.0],"skipIndex":0,"section_code":"gallery","featured_images":"7303865,6052131,5581581,5581481,5581411,5555707,5555677","id":314318,"singleSection":false});				  						galleries[384489] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Expectations","link":"gallery_384489.html","maxRecords":0.0,"photoIDs":[5555664.0,7106867.0,7106895.0,7106901.0,7106943.0,7106966.0,7107453.0,7107455.0,7107456.0],"skipIndex":0,"section_code":"gallery","featured_images":"7107456,7107455,7107453,7106966,7106943,7106901,7106895,7106867,5555664","id":384489,"singleSection":false});				  						galleries[314459] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"General Portraiture","link":"gallery_314459.html","maxRecords":0.0,"photoIDs":[5549307.0,5549314.0,5581476.0,5581530.0,5581534.0,5581545.0,5581561.0,5581573.0,5581575.0,5582476.0,5582478.0,5582509.0,5587383.0,5587385.0,5587386.0,5587392.0,5587396.0,5587404.0,5587407.0,5587411.0,5587419.0,5587425.0,5877081.0,7303884.0,7303885.0,7303887.0,7303890.0,7303892.0,7705762.0,7708963.0,8461307.0,8682782.0,8682785.0,5581551.0],"skipIndex":0,"section_code":"gallery","featured_images":"8682785,8682782,8461307,7708963,7705762,7303892,7303890,7303887,7303885,7303884,5877081,5587425,5587419,5587411,5587407,5587404,5587396,5587392,5587386,5587385,5587383,5582509,5582478,5582476,5581575,5581573,5581561,5581551,5581545,5581534,5581530,5581476,5549314,5549307","id":314459,"singleSection":false});				  						galleries[314497] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Landscape & Scenery","link":"gallery_314497.html","maxRecords":0.0,"photoIDs":[5549523.0,5554015.0,5555611.0,5581412.0,5581525.0,5581527.0,5581532.0,5581564.0,5581578.0,5582466.0,5582504.0,5582883.0,5582884.0,5582886.0,5582887.0,5582888.0,5582889.0,5582890.0,5582893.0,5582894.0,5878260.0,6052125.0,6052127.0,7148628.0,7303861.0,7303879.0,7303883.0,8714264.0],"skipIndex":0,"section_code":"gallery","featured_images":"8714264,7303883,7303879,7303861,7148628,6052127,6052125,5878260,5582894,5582893,5582890,5582889,5582888,5582887,5582886,5582884,5582883,5582504,5582466,5581578,5581564,5581532,5581527,5581525,5581412,5555611,5554015,5549523","id":314497,"singleSection":false});				  						galleries[414933] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"New York Street Life","link":"gallery_414933.html","maxRecords":0.0,"photoIDs":[7653794.0,7653796.0,7653797.0,7653799.0,7653801.0,7653804.0,7653805.0,7653825.0,7653829.0,7653831.0,7653836.0,7653839.0,7653843.0,7653844.0,7653848.0,7653850.0,7653851.0,7653854.0,7653856.0,7653859.0,7653860.0,7920059.0],"skipIndex":0,"section_code":"gallery","featured_images":"7920059,7653860,7653859,7653856,7653854,7653851,7653850,7653848,7653844,7653843,7653839,7653836,7653831,7653829,7653825,7653805,7653804,7653801,7653799,7653796,7653794","id":414933,"singleSection":false});				  						galleries[448997] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Personal Portfolios","link":"gallery_448997.html","maxRecords":0.0,"photoIDs":[8461306.0,8461378.0,8493698.0,8493703.0,8496557.0,8496589.0,8496591.0,8496593.0,8496594.0,8696033.0,8696078.0,8743701.0,8743702.0,8790051.0,8790052.0,8790053.0,8790054.0,8790077.0],"skipIndex":0,"section_code":"gallery","featured_images":"8790077,8790054,8790053,8790052,8743702,8743701,8696078,8696033,8496594,8496593,8496591,8496589,8496557,8493703,8493698,8461378,8461306","id":448997,"singleSection":false});				  						galleries[449264] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Wedding","link":"gallery_449264.html","maxRecords":0.0,"photoIDs":[8500134.0,8500142.0,8500170.0,8500174.0,8500184.0,8500197.0,8500203.0,8500210.0,8500213.0,8500216.0,8500288.0,8500290.0,8500293.0,8500298.0,8500300.0,8500304.0,8500306.0,8500328.0,8500334.0,8500344.0,8505981.0],"skipIndex":0,"section_code":"gallery","featured_images":"8505981,8500344,8500334,8500328,8500306,8500304,8500300,8500298,8500293,8500288,8500216,8500213,8500210,8500203,8500197,8500184,8500174,8500170,8500142,8500134","id":449264,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '8790051,8743693,8493703,8461306,7653805,7303885,7106901,7106867,5549233,5546085,5534948,5547275';
imageSets[2] = '8965682,8965651,8790077,8790054,8790053,8790052,8743702,8743701,8743695,8743693,8714264,8696078,8696033,8682785,8682782,8505981,8505980,8500344,8500334,8500328,8500306,8500304,8500300,8500298,8500293,8500288,8500216,8500213,8500210,8500203,8500197,8500184,8500174,8500170,8500142,8500134,8496594,8496593,8496591,8496589,8496557,8493703,8493698,8461378,8461307,8461306,7920059,7708963,7705762,7705589,7653860,7653859,7653856,7653854,7653851,7653850,7653848,7653844,7653843,7653839,7653836,7653831,7653829,7653825,7653805,7653804,7653801,7653799,7653796,7653794,7653788,7303892,7303890,7303887,7303885,7303884,7303883,7303879,7303865,7303861,7148628,7107456,7107455,7107453,7106966,7106943,7106901,7106895,7106867,6052131,6052127,6052125,5878260,5877087,5877081,5877076,5877074,5877060,5837568,5823960,5625559,5587425,5587419,5587418,5587417,5587415,5587412,5587411,5587407,5587404,5587398,5587396,5587392,5587388,5587386,5587385,5587383,5582894,5582893,5582892,5582891,5582890,5582889,5582888,5582887,5582886,5582884,5582883,5582804,5582798,5582509,5582504,5582480,5582478,5582476,5582466,5581581,5581578,5581575,5581573,5581564,5581561,5581545,5581534,5581532,5581530,5581527,5581525,5581481,5581478,5581476,5581419,5581412,5581411,5581408,5581400,5555707,5555677,5555664,5555611,5555584,5554015,5549717,5549715,5549698,5549523,5549314,5549307,5549259,5549233,5547295,5547292,5546085,5534948,5581551,5549706,5547275,5549724';
imageSets[3] = '8500290';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/JimDunne/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/JimDunne/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/JimDunne/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/JimDunne/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/JimDunne/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/JimDunne/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/JimDunne/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/JimDunne/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/JimDunne/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/JimDunne/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/JimDunne/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/JimDunne/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/JimDunne/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/JimDunne/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/JimDunne/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/JimDunne/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/JimDunne/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/JimDunne/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/JimDunne/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/JimDunne/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/JimDunne/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/JimDunne/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/JimDunne/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/JimDunne/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/JimDunne/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/JimDunne/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/JimDunne/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 = 'JiTo Photography: ' + photoCaption;
			    }
        if (op.$detail.length > 0) {
      	temp = op.nextPhoto.fnGetImageDetails();
	    op.$detail.fadeGalleryDetails(temp, op.speed, function(){
			if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
				toggleAddToCartConfirm(backgrounds, op.$detail);
			} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
				toggleAddToCartConfirm(photos, op.$detail);
			}
			$('body').trigger('clikUpdate.popup');
	    });
    }
        $(op.$detailContainer).find('.replaceable[class*=replaceable_photo-]').each(function(){
    	var field = clik.getPrefixedClass(this.className, 'replaceable_photo-');
    	if (field in op.nextPhoto) {
    		$(this).fadeGalleryDetails(op.nextPhoto[field], op.speed);
    	}
    }).end().find('.replaceable.photoPayment').fadeGalleryDetails(op.nextPhoto.fnGetPaymentInfo(), op.speed, function(){
		if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
			toggleAddToCartConfirm(backgrounds, op.$detailContainer);
		} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
			toggleAddToCartConfirm(photos, op.$detailContainer);
		}
		$('body').trigger('clikUpdate.popup');
	});
		if (op.$photo.length > 0) {
		html = $('<img/>',{
			'class': 'mainphoto photo',
			src: photoSrc,
			id: 'mainPic',
			name: 'mainPic',
			width: op.nextPhoto.width,
			height: op.nextPhoto.height,
			alt: photoCaption,
			css: op.css || {}
		});
		if (op.href) {
			if (op.href.match(/<a/)) {
				html = $(op.href).append(html);
			} else {
				html = $('<a/>', {
					href: op.href,
					title: photoCaption
				}).append(html);
			}
		} else {
			html = $('<a/>', {
				title: photoCaption
			}).append(html);
		}
		if (op.speed == 0) {			op.$photo.html(html);			if (op.onBefore) {			  	op.onBefore.apply(op.$photo);			}			if (op.onAfter) {			  	op.onAfter.apply(op.$photo);			}		} else {			op.$photo.stop(true,true).fadeReplaceWith(html,op.speed,'',function(){  				if (op.onAfter) {				  	op.onAfter.apply(this);				}				clik.doColumnResize(false, $(this).add(op.$detail).add(op.$title));			}, op.onBefore);
		}	}
    if (op.field) {
		op.field.value = photoId;
	} else {
		op.$photo.data('image_id', photoId);
    }
        if (!op.speed) {
      	clik.doColumnResize(false, op.$photo.add(op.$detail).add(op.$title));
    }
        
    return html;
	}

/***************************************************************************
* Toggle add to cart confirmation element and set up the click event for   *
* the 'Add to cart' button.                                                *
***************************************************************************/
function toggleAddToCartConfirm(array, root){
	if (typeof(array) !== 'object' || array === null) {
	  	array = photos;
	}
	if (!$(root).length) {		root = $('body');	}	if($('#paymentConfirm', root).length > 0){
		$('#paymentConfirm', root).hide();
		$('#paymentAddButton', root)
		.unbind()
		.click(function(){
						form = $('#paymentForm', root)[0];
			option_id = 0;
			if(form.item_option.value){
				option_id = form.item_option.value;
			}
			if(addItemToBasket(form.item_number.value,array,form.site.value,parseInt(form.quantity.value, 10),option_id)){
				if($.browser.msie){$('#paymentConfirm', root).text('Item added to cart').show();}
				else{
					$('#paymentConfirm', root).text('Item added to cart').fadeIn();
					dspOrderDetails(form.site.value);
				}
			}
			else{
				$('#paymentConfirm', root).text('Item not added - check cookies are enabled in your browser.').fadeIn();
			}
		});
	}
}

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetImageDetails = function(){
	var temp = '';
	if (this.description != '') {
		temp +=  '<div id="imageDescription">' + this.description + '</div>';
	}
		if (this.photo_ref != '') {
		temp += '<div class="imageinfo" id="imageRef"><strong>Ref: </strong>' + this.photo_ref + '</div>';
	}
		if (this.takendate != '') {
		
		temp += '<div class="imageinfo" id="imageDate"><strong>Date: </strong>' + this.takendate + '</div>';
	}
	
	if (this.location != '') {
		
		temp += '<div class="imageinfo" id="imageLocation"><strong>Location: </strong>' +  this.location + '</div>';
	}
	
	if (this.photographer != '') {
		
		temp += '<div class="imageinfo" id="imagePhotographer"><strong>JiTo Photography </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;
	}
}

			

