window.thumbnails = {};
															thumbnails[8885190] = clik.newPhoto({"id":8885190,"src":"DPP_14019_thumb.jpg","galleries_id":301424,"server_id":1,"link":"photo_8885190.html","width":130,"caption":"","height":135});
															thumbnails[8885194] = clik.newPhoto({"id":8885194,"src":"DPP_17618-copy_thumb.jpg","galleries_id":301424,"server_id":1,"link":"photo_8885194.html","width":130,"caption":"","height":79});
															thumbnails[8885197] = clik.newPhoto({"id":8885197,"src":"IMG_9096.jpg-cc_thumb.jpg","galleries_id":301424,"server_id":1,"link":"photo_8885197.html","width":130,"caption":"","height":93});
															thumbnails[8885199] = clik.newPhoto({"id":8885199,"src":"DPP_28426-copy-copy_thumb.jpg","galleries_id":301424,"server_id":1,"link":"photo_8885199.html","width":130,"caption":"","height":206});
															thumbnails[8885208] = clik.newPhoto({"id":8885208,"src":"DPP_17644_CC20DF7E-24E8-5EC4-4FFED938509257A1_thumb.jpg","galleries_id":301424,"server_id":1,"link":"photo_8885208.html","width":130,"caption":"","height":165});
															thumbnails[8885210] = clik.newPhoto({"id":8885210,"src":"IMG_0097_thumb.jpg","galleries_id":301424,"server_id":1,"link":"photo_8885210.html","width":130,"caption":"","height":87});
															thumbnails[8885211] = clik.newPhoto({"id":8885211,"src":"IMG_0346_thumb.jpg","galleries_id":301424,"server_id":1,"link":"photo_8885211.html","width":130,"caption":"","height":195});
															thumbnails[8885213] = clik.newPhoto({"id":8885213,"src":"IMG_2836_thumb.jpg","galleries_id":301424,"server_id":1,"link":"photo_8885213.html","width":130,"caption":"","height":87});
															thumbnails[8857617] = clik.newPhoto({"id":8857617,"src":"IMG_0228_thumb.jpg","galleries_id":301424,"server_id":1,"link":"photo_8857617.html","width":130,"caption":"FINISHED WITH","height":87});
															thumbnails[8857626] = clik.newPhoto({"id":8857626,"src":"IMG_1044_thumb.jpg","galleries_id":301424,"server_id":1,"link":"photo_8857626.html","width":130,"caption":"The Storm ","height":89});
															thumbnails[8857657] = clik.newPhoto({"id":8857657,"src":"IMG_6020-mod_thumb.jpg","galleries_id":301424,"server_id":1,"link":"photo_8857657.html","width":130,"caption":"This old house","height":68});
															thumbnails[8857659] = clik.newPhoto({"id":8857659,"src":"SHOWING_OFF_by_Shane_Worton_thumb.jpg","galleries_id":301424,"server_id":1,"link":"photo_8857659.html","width":130,"caption":"Show off","height":166});
															thumbnails[8857670] = clik.newPhoto({"id":8857670,"src":"IMG_1066_thumb.jpg","galleries_id":301424,"server_id":1,"link":"photo_8857670.html","width":130,"caption":"Still standing ","height":82});
															thumbnails[8857673] = clik.newPhoto({"id":8857673,"src":"IMG_1097_thumb.jpg","galleries_id":301424,"server_id":1,"link":"photo_8857673.html","width":130,"caption":"The cross","height":93});
															thumbnails[8857674] = clik.newPhoto({"id":8857674,"src":"IMG_6273-mod_thumb.jpg","galleries_id":301424,"server_id":1,"link":"photo_8857674.html","width":130,"caption":"Giving it some ","height":122});
															thumbnails[8857689] = clik.newPhoto({"id":8857689,"src":"IMG_6605_thumb.jpg","galleries_id":301424,"server_id":1,"link":"photo_8857689.html","width":130,"caption":"Hitting the power","height":166});
															thumbnails[8857735] = clik.newPhoto({"id":8857735,"src":"IMG_1112_thumb.jpg","galleries_id":301424,"server_id":1,"link":"photo_8857735.html","width":130,"caption":"Kent coast","height":66});
															thumbnails[8857738] = clik.newPhoto({"id":8857738,"src":"IMG_3303_93391B98-1EC9-DFB6-09881E6F3EDF5A3E_thumb.jpg","galleries_id":301424,"server_id":1,"link":"photo_8857738.html","width":130,"caption":"Winter time ","height":77});
															thumbnails[8857741] = clik.newPhoto({"id":8857741,"src":"Raw00242_thumb.jpg","galleries_id":301424,"server_id":1,"link":"photo_8857741.html","width":130,"caption":"Leaves in winter ","height":96});
															thumbnails[8857793] = clik.newPhoto({"id":8857793,"src":"IMG_8364_thumb.jpg","galleries_id":301424,"server_id":1,"link":"photo_8857793.html","width":130,"caption":"BSB ","height":87});
															thumbnails[8857814] = clik.newPhoto({"id":8857814,"src":"IMG_9404_thumb.jpg","galleries_id":301424,"server_id":1,"link":"photo_8857814.html","width":130,"caption":"A close run thing ","height":85});
															thumbnails[8160779] = clik.newPhoto({"id":8160779,"src":"DPP_25306d-copy_thumb.jpg","galleries_id":301424,"server_id":1,"link":"photo_8160779.html","width":130,"caption":"Standing the test of time ","height":87});
															thumbnails[8160792] = clik.newPhoto({"id":8160792,"src":"DPP_25171_thumb.jpg","galleries_id":301424,"server_id":1,"link":"photo_8160792.html","width":130,"caption":"Simple","height":195});
															thumbnails[8160799] = clik.newPhoto({"id":8160799,"src":"fen_thumb.jpg","galleries_id":301424,"server_id":1,"link":"photo_8160799.html","width":130,"caption":"Before the storm","height":87});
															thumbnails[8160808] = clik.newPhoto({"id":8160808,"src":"DPP_151801_thumb.jpg","galleries_id":301424,"server_id":1,"link":"photo_8160808.html","width":130,"caption":"B+W Cheetha","height":91});
															thumbnails[8160833] = clik.newPhoto({"id":8160833,"src":"d_thumb.jpg","galleries_id":301424,"server_id":1,"link":"photo_8160833.html","width":130,"caption":"Beached","height":81});
															thumbnails[8160836] = clik.newPhoto({"id":8160836,"src":"IMG_1525_thumb.jpg","galleries_id":301424,"server_id":1,"link":"photo_8160836.html","width":130,"caption":"Standing firm","height":195});
															thumbnails[8145532] = clik.newPhoto({"id":8145532,"src":"s_thumb.jpg","galleries_id":301424,"server_id":1,"link":"photo_8145532.html","width":130,"caption":"Keep it simple","height":195});
															thumbnails[8145534] = clik.newPhoto({"id":8145534,"src":"IMG_1846_thumb.jpg","galleries_id":301424,"server_id":1,"link":"photo_8145534.html","width":130,"caption":"","height":115});
															thumbnails[8145537] = clik.newPhoto({"id":8145537,"src":"DPP_25182_thumb.jpg","galleries_id":301424,"server_id":1,"link":"photo_8145537.html","width":130,"caption":"Left to dry","height":90});
															thumbnails[8145538] = clik.newPhoto({"id":8145538,"src":"IMG_6257_thumb.jpg","galleries_id":301424,"server_id":1,"link":"photo_8145538.html","width":130,"caption":"what to do next! ","height":104});
															thumbnails[8145542] = clik.newPhoto({"id":8145542,"src":"DPP_5614-copy_thumb.jpg","galleries_id":301424,"server_id":1,"link":"photo_8145542.html","width":130,"caption":"Beast","height":195});
															thumbnails[8145547] = clik.newPhoto({"id":8145547,"src":"DPP_14723-copy_D5B902C1-1EC9-DFB6-09AE1F2688B1C0D5_thumb.jpg","galleries_id":301424,"server_id":1,"link":"photo_8145547.html","width":130,"caption":"Just looking","height":108});
															thumbnails[7983400] = clik.newPhoto({"id":7983400,"src":"IMG_8147_thumb.jpg","galleries_id":301424,"server_id":1,"link":"photo_7983400.html","width":130,"caption":"Looking for Mum","height":109});
															thumbnails[7983403] = clik.newPhoto({"id":7983403,"src":"IMG_1425_thumb.jpg","galleries_id":301424,"server_id":1,"link":"photo_7983403.html","width":130,"caption":"","height":153});
															thumbnails[7983413] = clik.newPhoto({"id":7983413,"src":"IMG_5280-copyaa_thumb.jpg","galleries_id":301424,"server_id":1,"link":"photo_7983413.html","width":130,"caption":"","height":106});
															thumbnails[7983452] = clik.newPhoto({"id":7983452,"src":"IMG_8118_thumb.jpg","galleries_id":301424,"server_id":1,"link":"photo_7983452.html","width":130,"caption":"","height":172});
															thumbnails[7983458] = clik.newPhoto({"id":7983458,"src":"IMG_8972_thumb.jpg","galleries_id":301424,"server_id":1,"link":"photo_7983458.html","width":130,"caption":"","height":91});
															thumbnails[7983461] = clik.newPhoto({"id":7983461,"src":"IMG_9089-copy_thumb.jpg","galleries_id":301424,"server_id":1,"link":"photo_7983461.html","width":130,"caption":"","height":159});
															thumbnails[6793883] = clik.newPhoto({"id":6793883,"src":"DPP_5867_thumb.jpg","galleries_id":7425,"server_id":1,"link":"photo_6793883.html","width":130,"caption":"Getting ready","height":109});
															thumbnails[7168466] = clik.newPhoto({"id":7168466,"src":"IMG_3449_thumb.jpg","galleries_id":9004,"server_id":1,"link":"photo_7168466.html","width":130,"caption":"Preening","height":162});
															thumbnails[7168488] = clik.newPhoto({"id":7168488,"src":"IMG_3303_thumb.jpg","galleries_id":46890,"server_id":1,"link":"photo_7168488.html","width":130,"caption":"The Abby","height":77});
															thumbnails[7169192] = clik.newPhoto({"id":7169192,"src":"IMG_3442a_thumb.jpg","galleries_id":301424,"server_id":1,"link":"photo_7169192.html","width":130,"caption":"Detailed Swan","height":157});
															thumbnails[7168462] = clik.newPhoto({"id":7168462,"src":"IMG_3266_thumb.jpg","galleries_id":46890,"server_id":1,"link":"photo_7168462.html","width":130,"caption":"Snowy tree at the Abby","height":78});
															thumbnails[7168470] = clik.newPhoto({"id":7168470,"src":"IMG_3451_thumb.jpg","galleries_id":9004,"server_id":1,"link":"photo_7168470.html","width":130,"caption":"Sleeping Swan","height":73});
															thumbnails[7159065] = clik.newPhoto({"id":7159065,"src":"IMG_3456_thumb.jpg","galleries_id":9004,"server_id":1,"link":"photo_7159065.html","width":130,"caption":"Snow Swan","height":203});
															thumbnails[7124125] = clik.newPhoto({"id":7124125,"src":"_MG_7812-01-copy_thumb.jpg","galleries_id":9004,"server_id":1,"link":"photo_7124125.html","width":130,"caption":"Swan reflection","height":87});
															thumbnails[7124131] = clik.newPhoto({"id":7124131,"src":"DPP_14723-copy_thumb.jpg","galleries_id":7425,"server_id":1,"link":"photo_7124131.html","width":130,"caption":"Mr Nias","height":105});
															thumbnails[7124085] = clik.newPhoto({"id":7124085,"src":"_MG_2140_thumb.jpg","galleries_id":301424,"server_id":1,"link":"photo_7124085.html","width":130,"caption":"Reflecting","height":140});
															thumbnails[7124115] = clik.newPhoto({"id":7124115,"src":"DPP_23798-copy_thumb.jpg","galleries_id":9004,"server_id":1,"link":"photo_7124115.html","width":130,"caption":"Feeding Swan","height":234});
															thumbnails[6840215] = clik.newPhoto({"id":6840215,"src":"DPP_14689-copy_thumb.jpg","galleries_id":7425,"server_id":1,"link":"photo_6840215.html","width":130,"caption":"Good looking","height":170});
															thumbnails[6773357] = clik.newPhoto({"id":6773357,"src":"_MG_0443_thumb.jpg","galleries_id":45833,"server_id":1,"link":"photo_6773357.html","width":130,"caption":"Mini Rally X ","height":111});
															thumbnails[6749042] = clik.newPhoto({"id":6749042,"src":"DPP_15129_thumb.jpg","galleries_id":7425,"server_id":1,"link":"photo_6749042.html","width":130,"caption":"Puma fishing","height":98});
															thumbnails[6749057] = clik.newPhoto({"id":6749057,"src":"_MG_0741-copy_thumb.jpg","galleries_id":9824,"server_id":1,"link":"photo_6749057.html","width":130,"caption":"My Good side","height":197});
															thumbnails[6749058] = clik.newPhoto({"id":6749058,"src":"_MG_1128_thumb.jpg","galleries_id":9824,"server_id":1,"link":"photo_6749058.html","width":130,"caption":"Sleeping Otters","height":100});
															thumbnails[6749064] = clik.newPhoto({"id":6749064,"src":"_MG_1520-copy_thumb.jpg","galleries_id":7425,"server_id":1,"link":"photo_6749064.html","width":130,"caption":"Mr Jaguar","height":110});
															thumbnails[6737327] = clik.newPhoto({"id":6737327,"src":"_MG_0745_thumb.jpg","galleries_id":9824,"server_id":1,"link":"photo_6737327.html","width":130,"caption":"Who's watching who..","height":130});
															thumbnails[6737380] = clik.newPhoto({"id":6737380,"src":"_MG_0750-copy_thumb.jpg","galleries_id":9824,"server_id":1,"link":"photo_6737380.html","width":130,"caption":"The Thinker","height":186});
															thumbnails[6737424] = clik.newPhoto({"id":6737424,"src":"_MG_0872a_thumb.jpg","galleries_id":7425,"server_id":1,"link":"photo_6737424.html","width":130,"caption":"New Born","height":89});
															thumbnails[6280522] = clik.newPhoto({"id":6280522,"src":"DPP_25259_thumb.jpg","galleries_id":108498,"server_id":1,"link":"photo_6280522.html","width":130,"caption":"Before the rain","height":87});
															thumbnails[6280559] = clik.newPhoto({"id":6280559,"src":"DPP_25261_thumb.jpg","galleries_id":108498,"server_id":1,"link":"photo_6280559.html","width":130,"caption":"Up the reds","height":175});
															thumbnails[6094140] = clik.newPhoto({"id":6094140,"src":"DPP_22160_thumb.jpg","galleries_id":108498,"server_id":1,"link":"photo_6094140.html","width":130,"caption":"Tulip water drops","height":195});
															thumbnails[6094153] = clik.newPhoto({"id":6094153,"src":"DPP_22541_thumb.jpg","galleries_id":9004,"server_id":1,"link":"photo_6094153.html","width":130,"caption":"Female Kestral","height":106});
															thumbnails[6094167] = clik.newPhoto({"id":6094167,"src":"DPP_22078_thumb.jpg","galleries_id":108498,"server_id":1,"link":"photo_6094167.html","width":130,"caption":"Blue bell","height":185});
															thumbnails[6094303] = clik.newPhoto({"id":6094303,"src":"_MG_9113_thumb.jpg","galleries_id":46890,"server_id":1,"link":"photo_6094303.html","width":130,"caption":"Sailed the seven seas","height":89});
															thumbnails[6094989] = clik.newPhoto({"id":6094989,"src":"_MG_8451-01a_thumb.jpg","galleries_id":108498,"server_id":1,"link":"photo_6094989.html","width":130,"caption":"Wet petals","height":87});
															thumbnails[6095045] = clik.newPhoto({"id":6095045,"src":"DPP_20136-copy_thumb.jpg","galleries_id":9824,"server_id":1,"link":"photo_6095045.html","width":130,"caption":"Foxy lady","height":160});
															thumbnails[5805243] = clik.newPhoto({"id":5805243,"src":"DPP_15177_thumb.jpg","galleries_id":7425,"server_id":1,"link":"photo_5805243.html","width":130,"caption":"Bright eyed Cheetah","height":119});
															thumbnails[5622079] = clik.newPhoto({"id":5622079,"src":"DPP_20205_thumb.jpg","galleries_id":9824,"server_id":1,"link":"photo_5622079.html","width":130,"caption":"Foxy","height":94});
															thumbnails[5622106] = clik.newPhoto({"id":5622106,"src":"DPP_18914_thumb.jpg","galleries_id":47065,"server_id":1,"link":"photo_5622106.html","width":130,"caption":"Another morning","height":87});
															thumbnails[5583692] = clik.newPhoto({"id":5583692,"src":"DPP_15054_thumb.jpg","galleries_id":7425,"server_id":1,"link":"photo_5583692.html","width":130,"caption":"Just the two of us","height":147});
															thumbnails[5583705] = clik.newPhoto({"id":5583705,"src":"DPP_14832-copya_thumb.jpg","galleries_id":7425,"server_id":1,"link":"photo_5583705.html","width":130,"caption":"Coming at you","height":83});
															thumbnails[5413739] = clik.newPhoto({"id":5413739,"src":"DPP_17644_thumb.jpg","galleries_id":46890,"server_id":1,"link":"photo_5413739.html","width":130,"caption":"Footprints in the snow","height":165});
															thumbnails[5413851] = clik.newPhoto({"id":5413851,"src":"DPP_15556_thumb.jpg","galleries_id":45833,"server_id":1,"link":"photo_5413851.html","width":130,"caption":"Lydden Racing","height":93});
															thumbnails[6773378] = clik.newPhoto({"id":6773378,"src":"DPP_9072-copy_thumb.jpg","galleries_id":9004,"server_id":1,"link":"photo_6773378.html","width":130,"caption":"Waiting for the right moment","height":124});
															thumbnails[5352485] = clik.newPhoto({"id":5352485,"src":"DPP_17645_thumb.jpg","galleries_id":46890,"server_id":1,"link":"photo_5352485.html","width":130,"caption":"Dover Castle at Sunset","height":92});
															thumbnails[5352596] = clik.newPhoto({"id":5352596,"src":"DPP_17635_thumb.jpg","galleries_id":46890,"server_id":1,"link":"photo_5352596.html","width":130,"caption":"Dover Castle in Winter","height":77});
															thumbnails[5075872] = clik.newPhoto({"id":5075872,"src":"DPP_15256-a_thumb.jpg","galleries_id":46890,"server_id":1,"link":"photo_5075872.html","width":130,"caption":"Misty Morning(canvas now ready)","height":43});
															thumbnails[5076073] = clik.newPhoto({"id":5076073,"src":"DPP_15488_thumb.jpg","galleries_id":45833,"server_id":1,"link":"photo_5076073.html","width":130,"caption":"Number 5","height":102});
															thumbnails[5003252] = clik.newPhoto({"id":5003252,"src":"DPP_14973-copy_thumb.jpg","galleries_id":7425,"server_id":1,"link":"photo_5003252.html","width":130,"caption":"Amur Leopard","height":93});
															thumbnails[4467493] = clik.newPhoto({"id":4467493,"src":"DPP_12367_thumb.jpg","galleries_id":9004,"server_id":1,"link":"photo_4467493.html","width":130,"caption":"Bald Eagle in Flight","height":79});
															thumbnails[4603869] = clik.newPhoto({"id":4603869,"src":"DPP_13191_thumb.jpg","galleries_id":301424,"server_id":1,"link":"photo_4603869.html","width":130,"caption":"Mr And MRS...","height":176});
															thumbnails[4407278] = clik.newPhoto({"id":4407278,"src":"DPP_10404-copy_thumb.jpg","galleries_id":108498,"server_id":1,"link":"photo_4407278.html","width":130,"caption":"Lilly","height":118});
															thumbnails[4103760] = clik.newPhoto({"id":4103760,"src":"DPP_8510-copya_thumb.jpg","galleries_id":9004,"server_id":1,"link":"photo_4103760.html","width":130,"caption":"Young Eagle","height":110});
															thumbnails[3988144] = clik.newPhoto({"id":3988144,"src":"DPP_7907-copy_thumb.jpg","galleries_id":9004,"server_id":1,"link":"photo_3988144.html","width":130,"caption":"Red Kite","height":91});
															thumbnails[3923145] = clik.newPhoto({"id":3923145,"src":"DPP_7835f_thumb.jpg","galleries_id":108498,"server_id":1,"link":"photo_3923145.html","width":130,"caption":"Water fall","height":85});
															thumbnails[3917627] = clik.newPhoto({"id":3917627,"src":"DPP_7668_thumb.jpg","galleries_id":349189,"server_id":1,"link":"photo_3917627.html","width":130,"caption":"Under the bridge","height":87});
															thumbnails[3819712] = clik.newPhoto({"id":3819712,"src":"bald-eagle-1a_thumb.jpg","galleries_id":9004,"server_id":1,"link":"photo_3819712.html","width":130,"caption":"Bald Eagle","height":75});
															thumbnails[3819720] = clik.newPhoto({"id":3819720,"src":"DPP_5376_thumb.jpg","galleries_id":108498,"server_id":1,"link":"photo_3819720.html","width":130,"caption":"Follow Me","height":157});
															thumbnails[3819722] = clik.newPhoto({"id":3819722,"src":"kent_thumb.jpg","galleries_id":108498,"server_id":1,"link":"photo_3819722.html","width":130,"caption":"Kent in April","height":91});
															thumbnails[3819771] = clik.newPhoto({"id":3819771,"src":"DPP_5004_thumb.jpg","galleries_id":9004,"server_id":1,"link":"photo_3819771.html","width":130,"caption":"Poser","height":196});
															thumbnails[3819834] = clik.newPhoto({"id":3819834,"src":"DPP_3307_thumb.jpg","galleries_id":7425,"server_id":1,"link":"photo_3819834.html","width":130,"caption":"Just relaxing","height":97});
															thumbnails[3819870] = clik.newPhoto({"id":3819870,"src":"snow-leopard_thumb.jpg","galleries_id":7425,"server_id":1,"link":"photo_3819870.html","width":130,"caption":"Time for a snooze","height":146});
															thumbnails[3819876] = clik.newPhoto({"id":3819876,"src":"DPP_5358_thumb.jpg","galleries_id":108498,"server_id":1,"link":"photo_3819876.html","width":130,"caption":"The blues","height":89});
															thumbnails[3819921] = clik.newPhoto({"id":3819921,"src":"Zebra-patter-2A_thumb.jpg","galleries_id":9824,"server_id":1,"link":"photo_3819921.html","width":130,"caption":"Two become one","height":80});
															thumbnails[3790925] = clik.newPhoto({"id":3790925,"src":"DPP_5402a_thumb.jpg","galleries_id":108498,"server_id":1,"link":"photo_3790925.html","width":130,"caption":"Follow the path","height":93});
															thumbnails[3757876] = clik.newPhoto({"id":3757876,"src":"DPP_5614_thumb.jpg","galleries_id":7425,"server_id":1,"link":"photo_3757876.html","width":130,"caption":"Handsome","height":188});
															thumbnails[3681808] = clik.newPhoto({"id":3681808,"src":"WINDOW_DISPLAYBy_Shane_Wortonjpg3_thumb.jpg","galleries_id":349189,"server_id":1,"link":"photo_3681808.html","width":130,"caption":"The window display","height":156});
															thumbnails[3602987] = clik.newPhoto({"id":3602987,"src":"DPP_3709_thumb.jpg","galleries_id":7425,"server_id":1,"link":"photo_3602987.html","width":130,"caption":"Close crop...","height":255});
															thumbnails[3557871] = clik.newPhoto({"id":3557871,"src":"DPP_3717_thumb.jpg","galleries_id":9004,"server_id":1,"link":"photo_3557871.html","width":130,"caption":"Eye contact","height":68});
															thumbnails[3508865] = clik.newPhoto({"id":3508865,"src":"DPP_34211_thumb.jpg","galleries_id":7425,"server_id":1,"link":"photo_3508865.html","width":130,"caption":"Amur Leopard Cub. Limited edtion of 50","height":112});
															thumbnails[3508880] = clik.newPhoto({"id":3508880,"src":"DPP_3428-copy_thumb.jpg","galleries_id":7425,"server_id":1,"link":"photo_3508880.html","width":130,"caption":"Amur Leopard cub. Limited edtion of 50","height":88});
															thumbnails[3508887] = clik.newPhoto({"id":3508887,"src":"DPP_3340A_thumb.jpg","galleries_id":7425,"server_id":1,"link":"photo_3508887.html","width":130,"caption":"Time to play...","height":59});
															thumbnails[3508906] = clik.newPhoto({"id":3508906,"src":"DPP_3418-copy_thumb.jpg","galleries_id":7425,"server_id":1,"link":"photo_3508906.html","width":130,"caption":"Amur Leopard Cub. Limited edtion of 50","height":105});
															thumbnails[3508925] = clik.newPhoto({"id":3508925,"src":"DPP_3437A_thumb.jpg","galleries_id":7425,"server_id":1,"link":"photo_3508925.html","width":130,"caption":"Afternoon nap B+W","height":90});
															thumbnails[3491243] = clik.newPhoto({"id":3491243,"src":"DPP_3133_thumb.jpg","galleries_id":7425,"server_id":1,"link":"photo_3491243.html","width":130,"caption":"Standing proud","height":257});
															thumbnails[3491318] = clik.newPhoto({"id":3491318,"src":"DPP_3585_thumb.jpg","galleries_id":7425,"server_id":1,"link":"photo_3491318.html","width":130,"caption":"Puma on the hunt","height":81});
															thumbnails[3491649] = clik.newPhoto({"id":3491649,"src":"DPP_3161_thumb.jpg","galleries_id":7425,"server_id":1,"link":"photo_3491649.html","width":130,"caption":"Whiskers","height":99});
															thumbnails[3491679] = clik.newPhoto({"id":3491679,"src":"DPP_3421_thumb.jpg","galleries_id":7425,"server_id":1,"link":"photo_3491679.html","width":130,"caption":"So cute","height":95});
															thumbnails[3491876] = clik.newPhoto({"id":3491876,"src":"DPP_3176_thumb.jpg","galleries_id":7425,"server_id":1,"link":"photo_3491876.html","width":130,"caption":"Come and play...","height":55});
															thumbnails[3433264] = clik.newPhoto({"id":3433264,"src":"DPP_2870-copyA_thumb.jpg","galleries_id":47065,"server_id":1,"link":"photo_3433264.html","width":130,"caption":"End of the day","height":80});
															thumbnails[3433313] = clik.newPhoto({"id":3433313,"src":"DPP_2636_thumb.jpg","galleries_id":9824,"server_id":1,"link":"photo_3433313.html","width":130,"caption":"Coming through..","height":84});
															thumbnails[3433872] = clik.newPhoto({"id":3433872,"src":"DPP_1011_thumb.jpg","galleries_id":9824,"server_id":1,"link":"photo_3433872.html","width":130,"caption":"All alone","height":195});
															thumbnails[3433954] = clik.newPhoto({"id":3433954,"src":"DPP_2986_thumb.jpg","galleries_id":9824,"server_id":1,"link":"photo_3433954.html","width":130,"caption":"The 3 of us","height":76});
															thumbnails[3434196] = clik.newPhoto({"id":3434196,"src":"DPP_1188A_thumb.jpg","galleries_id":7425,"server_id":1,"link":"photo_3434196.html","width":130,"caption":"The Little Fella","height":79});
															thumbnails[3178183] = clik.newPhoto({"id":3178183,"src":"DPP_13919A_thumb.jpg","galleries_id":7425,"server_id":1,"link":"photo_3178183.html","width":130,"caption":"It's a boy","height":168});
															thumbnails[3178416] = clik.newPhoto({"id":3178416,"src":"DPP_13894A_thumb.jpg","galleries_id":7425,"server_id":1,"link":"photo_3178416.html","width":130,"caption":"New arrival","height":111});
															thumbnails[3021608] = clik.newPhoto({"id":3021608,"src":"DPP_13270A_thumb.jpg","galleries_id":46890,"server_id":1,"link":"photo_3021608.html","width":130,"caption":"Leeds Castle. (Kent)","height":77});
															thumbnails[2438967] = clik.newPhoto({"id":2438967,"src":"DPP_9139_thumb.jpg","galleries_id":9004,"server_id":1,"link":"photo_2438967.html","width":130,"caption":"Little Egret","height":153});
															thumbnails[2438975] = clik.newPhoto({"id":2438975,"src":"DPP_9091_thumb.jpg","galleries_id":9004,"server_id":1,"link":"photo_2438975.html","width":130,"caption":"Male Kingfisher","height":93});
															thumbnails[2438999] = clik.newPhoto({"id":2438999,"src":"DPP_3809_thumb.jpg","galleries_id":9004,"server_id":1,"link":"photo_2438999.html","width":130,"caption":"Bee Eater","height":94});
															thumbnails[2439088] = clik.newPhoto({"id":2439088,"src":"Picture-539sw_thumb.jpg","galleries_id":7425,"server_id":1,"link":"photo_2439088.html","width":130,"caption":"Indy at rest","height":187});
															thumbnails[2439209] = clik.newPhoto({"id":2439209,"src":"Picture-131sw_thumb.jpg","galleries_id":7425,"server_id":1,"link":"photo_2439209.html","width":130,"caption":"The sharp end","height":91});
															thumbnails[2331546] = clik.newPhoto({"id":2331546,"src":"DPP_1082-A_thumb.jpg","galleries_id":9004,"server_id":1,"link":"photo_2331546.html","width":130,"caption":"Male Kingfisher","height":182});
															thumbnails[2331616] = clik.newPhoto({"id":2331616,"src":"DPP_7389A_thumb.jpg","galleries_id":9004,"server_id":1,"link":"photo_2331616.html","width":130,"caption":"Lunch Time ","height":133});
															thumbnails[2331630] = clik.newPhoto({"id":2331630,"src":"DPP_7380A_thumb.jpg","galleries_id":9004,"server_id":1,"link":"photo_2331630.html","width":130,"caption":"Catch of the day","height":137});
															thumbnails[2331851] = clik.newPhoto({"id":2331851,"src":"DPP_3451_thumb.jpg","galleries_id":7425,"server_id":1,"link":"photo_2331851.html","width":130,"caption":"Walk about","height":90});
															thumbnails[2189446] = clik.newPhoto({"id":2189446,"src":"serval-a_thumb.jpg","galleries_id":7425,"server_id":1,"link":"photo_2189446.html","width":130,"caption":"Cheeky....","height":186});
															thumbnails[2187572] = clik.newPhoto({"id":2187572,"src":"WHAT'S-UP-THEIR-by-Shane-Worton-a_thumb.jpg","galleries_id":7425,"server_id":1,"link":"photo_2187572.html","width":130,"caption":"What's up there....","height":104});
															thumbnails[2176978] = clik.newPhoto({"id":2176978,"src":"DPP_5885_thumb.jpg","galleries_id":7425,"server_id":1,"link":"photo_2176978.html","width":130,"caption":"Miss Puna","height":146});
															thumbnails[2130700] = clik.newPhoto({"id":2130700,"src":"On-the-prowl_thumb.jpg","galleries_id":7425,"server_id":1,"link":"photo_2130700.html","width":130,"caption":"On the Prowl.<br>\r\nThis is a Limited edition of 250","height":100});
															thumbnails[2130708] = clik.newPhoto({"id":2130708,"src":"On-Guard_thumb.jpg","galleries_id":7425,"server_id":1,"link":"photo_2130708.html","width":130,"caption":"On Guard","height":159});
															thumbnails[2130732] = clik.newPhoto({"id":2130732,"src":"Waiting-for-the-return-1_thumb.jpg","galleries_id":7425,"server_id":1,"link":"photo_2130732.html","width":130,"caption":"Waiting the return","height":94});
															thumbnails[2130745] = clik.newPhoto({"id":2130745,"src":"MISTY-MORNING-copy1_thumb.jpg","galleries_id":46890,"server_id":1,"link":"photo_2130745.html","width":130,"caption":"Misty Morning","height":95});
															thumbnails[2115642] = clik.newPhoto({"id":2115642,"src":"_mg_7411A_thumb.jpg","galleries_id":7425,"server_id":1,"link":"photo_2115642.html","width":130,"caption":"Brother and Sister.<br>\r\nThese are LTD edition of 250 ","height":160});
															thumbnails[2007983] = clik.newPhoto({"id":2007983,"src":"DPP_0043a_thumb.jpg","galleries_id":9004,"server_id":1,"link":"photo_2007983.html","width":130,"caption":"Take off","height":67});
															thumbnails[2008011] = clik.newPhoto({"id":2008011,"src":"LITTLE-OWL-By-Shane-Worton-jpega_thumb.jpg","galleries_id":9004,"server_id":1,"link":"photo_2008011.html","width":130,"caption":"Little Owl","height":216});
															thumbnails[2008155] = clik.newPhoto({"id":2008155,"src":"STOAT-By-Shane-Worton-jpega_thumb.jpg","galleries_id":9824,"server_id":1,"link":"photo_2008155.html","width":130,"caption":"Hide and Seek<br>\r\n","height":150});
															thumbnails[2008191] = clik.newPhoto({"id":2008191,"src":"DPP_0415a_thumb.jpg","galleries_id":9824,"server_id":1,"link":"photo_2008191.html","width":130,"caption":"Mr Fox","height":88});
															thumbnails[1959475] = clik.newPhoto({"id":1959475,"src":"Caught-my-eye_thumb.jpg","galleries_id":9824,"server_id":1,"link":"photo_1959475.html","width":130,"caption":"Fox on the hunt","height":89});
															thumbnails[1959492] = clik.newPhoto({"id":1959492,"src":"wild-cat_thumb.jpg","galleries_id":9824,"server_id":1,"link":"photo_1959492.html","width":130,"caption":"Wild Cat","height":89});
															thumbnails[1906720] = clik.newPhoto({"id":1906720,"src":"Picture-530--aa_thumb.jpg","galleries_id":7425,"server_id":1,"link":"photo_1906720.html","width":130,"caption":"Keeping watch","height":97});
															thumbnails[1907305] = clik.newPhoto({"id":1907305,"src":"Picture-466_thumb.jpg","galleries_id":7425,"server_id":1,"link":"photo_1907305.html","width":130,"caption":"Indy close up","height":147});
															thumbnails[1907308] = clik.newPhoto({"id":1907308,"src":"Picture-537_thumb.jpg","galleries_id":7425,"server_id":1,"link":"photo_1907308.html","width":130,"caption":"Sleepy Head","height":163});
															thumbnails[1884347] = clik.newPhoto({"id":1884347,"src":"Baby_thumb.jpg","galleries_id":9824,"server_id":1,"link":"photo_1884347.html","width":130,"caption":"Little Big Man","height":95});
															thumbnails[1586748] = clik.newPhoto({"id":1586748,"src":"Indy-15-1A_thumb.jpg","galleries_id":7425,"server_id":1,"link":"photo_1586748.html","width":130,"caption":"Indy 2","height":108});
															thumbnails[1586583] = clik.newPhoto({"id":1586583,"src":"Robin-2_thumb.jpg","galleries_id":9004,"server_id":1,"link":"photo_1586583.html","width":130,"caption":"Christmas Robin","height":91});
															thumbnails[1586653] = clik.newPhoto({"id":1586653,"src":"soldier_thumb.jpg","galleries_id":349189,"server_id":1,"link":"photo_1586653.html","width":130,"caption":"Move out!","height":117});
															thumbnails[1446583] = clik.newPhoto({"id":1446583,"src":"_mg_1277-01-copyA_thumb.jpg","galleries_id":45833,"server_id":1,"link":"photo_1446583.html","width":130,"caption":"Number 27","height":91});
															thumbnails[1446588] = clik.newPhoto({"id":1446588,"src":"_mg_8124-01A_thumb.jpg","galleries_id":349189,"server_id":1,"link":"photo_1446588.html","width":130,"caption":"Pebbles on the beach.","height":187});
															thumbnails[1446590] = clik.newPhoto({"id":1446590,"src":"_mg_8330-01A_thumb.jpg","galleries_id":46890,"server_id":1,"link":"photo_1446590.html","width":130,"caption":"Warbarrow Bay, Dorset.<br>\r\n Limited edition of 100 prints.","height":91});
															thumbnails[1446593] = clik.newPhoto({"id":1446593,"src":"_mg_8782-01A_thumb.jpg","galleries_id":9004,"server_id":1,"link":"photo_1446593.html","width":130,"caption":"Mute Swan(Cygnus olor)","height":94});
															thumbnails[1446594] = clik.newPhoto({"id":1446594,"src":"DPP_1912A_thumb.jpg","galleries_id":46890,"server_id":1,"link":"photo_1446594.html","width":130,"caption":"Reflection","height":185});
															thumbnails[1446596] = clik.newPhoto({"id":1446596,"src":"IMG_5090-01A_thumb.jpg","galleries_id":349189,"server_id":1,"link":"photo_1446596.html","width":130,"caption":"Saxon Doorway","height":177});
															thumbnails[1446598] = clik.newPhoto({"id":1446598,"src":"Picture-009AA_thumb.jpg","galleries_id":46890,"server_id":1,"link":"photo_1446598.html","width":130,"caption":"Church Windows","height":91});
															thumbnails[1446623] = clik.newPhoto({"id":1446623,"src":"_mg_9715a_thumb.jpg","galleries_id":108498,"server_id":1,"link":"photo_1446623.html","width":130,"caption":"A Sea of Poppies.<br>\r\nHave this framed ready to sale. ","height":62});
															thumbnails[1446628] = clik.newPhoto({"id":1446628,"src":"Orange-sunset-A_thumb.jpg","galleries_id":47065,"server_id":1,"link":"photo_1446628.html","width":130,"caption":"Corfu Sunset","height":87});
															thumbnails[1447887] = clik.newPhoto({"id":1447887,"src":"DPP_1248A_thumb.jpg","galleries_id":9004,"server_id":1,"link":"photo_1447887.html","width":130,"caption":"Tawny Eagle ","height":91});
															thumbnails[838695] = clik.newPhoto({"id":838695,"src":"Picture-080_thumb.jpg","galleries_id":45835,"server_id":1,"link":"photo_838695.html","width":130,"caption":"Gone Green","height":172});
															thumbnails[790385] = clik.newPhoto({"id":790385,"src":"_MG_8218-01_thumb.jpg","galleries_id":9824,"server_id":1,"link":"photo_790385.html","width":130,"caption":"Short Clawed Otter","height":195});
															thumbnails[639288] = clik.newPhoto({"id":639288,"src":"Osprey-30A_thumb.jpg","galleries_id":9004,"server_id":1,"link":"photo_639288.html","width":130,"caption":"Juvenile Osprey (Pandion Haliaetus)","height":180});
															thumbnails[639302] = clik.newPhoto({"id":639302,"src":"Nias-9_thumb.jpg","galleries_id":7425,"server_id":1,"link":"photo_639302.html","width":130,"caption":"Sumatran Tiger(Panthera tigris sumatran) ","height":195});
															thumbnails[639234] = clik.newPhoto({"id":639234,"src":"Dover-Castle-A_thumb.jpg","galleries_id":46890,"server_id":1,"link":"photo_639234.html","width":130,"caption":"Winter wonder Land.<br>\r\n This is a Limited edition of 250. Also available  are greeting cards of this image.","height":90});
															thumbnails[613590] = clik.newPhoto({"id":613590,"src":"CRW_8025_thumb.jpg","galleries_id":46890,"server_id":1,"link":"photo_613590.html","width":130,"caption":"The Band Stand","height":87});
															thumbnails[613593] = clik.newPhoto({"id":613593,"src":"Picture-502_thumb.jpg","galleries_id":47065,"server_id":1,"link":"photo_613593.html","width":130,"caption":"Sunrise over the Marsh","height":87});
															thumbnails[613649] = clik.newPhoto({"id":613649,"src":"Treetops-2_thumb.jpg","galleries_id":47065,"server_id":1,"link":"photo_613649.html","width":130,"caption":"Tree Tops in Kenya","height":195});
															thumbnails[613664] = clik.newPhoto({"id":613664,"src":"Picture-012_thumb.jpg","galleries_id":7425,"server_id":1,"link":"photo_613664.html","width":130,"caption":"How Cute?","height":153});
															thumbnails[613669] = clik.newPhoto({"id":613669,"src":"Indy-15A_thumb.jpg","galleries_id":7425,"server_id":1,"link":"photo_613669.html","width":130,"caption":"Indy","height":158});
															thumbnails[611386] = clik.newPhoto({"id":611386,"src":"_MG_7782-01_thumb.jpg","galleries_id":46890,"server_id":1,"link":"photo_611386.html","width":130,"caption":"Dover Castle ","height":87});
															thumbnails[611388] = clik.newPhoto({"id":611388,"src":"_MG_7783-01_thumb.jpg","galleries_id":46890,"server_id":1,"link":"photo_611388.html","width":130,"caption":"Dover Castle 2<br>\r\n Limited edition of 250","height":87});
															thumbnails[611408] = clik.newPhoto({"id":611408,"src":"b_thumb.jpg","galleries_id":9824,"server_id":1,"link":"photo_611408.html","width":130,"caption":"Brown Bear","height":87});
															thumbnails[602743] = clik.newPhoto({"id":602743,"src":"Wolf-1_thumb.jpg","galleries_id":9824,"server_id":1,"link":"photo_602743.html","width":130,"caption":"Timberland Wolf","height":87});
															thumbnails[602873] = clik.newPhoto({"id":602873,"src":"worton-12_thumb.jpg","galleries_id":45835,"server_id":1,"link":"photo_602873.html","width":130,"caption":"Butterfly","height":113});
															thumbnails[596585] = clik.newPhoto({"id":596585,"src":"THE-WINNER-by-Shane-Worton_thumb.jpg","galleries_id":45833,"server_id":1,"link":"photo_596585.html","width":130,"caption":"The winner","height":98});
															thumbnails[596942] = clik.newPhoto({"id":596942,"src":"Picture-091_thumb.jpg","galleries_id":7425,"server_id":1,"link":"photo_596942.html","width":130,"caption":"African Lion (Panthera leo)","height":86});
															thumbnails[2115650] = clik.newPhoto({"id":2115650,"src":"_mg_7561_thumb.jpg","galleries_id":7425,"server_id":1,"link":"photo_2115650.html","width":130,"caption":"The look out.<br>\r\n This is a Limited edition of 250","height":190});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[349189] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Black and white","link":"gallery_349189.html","maxRecords":0.0,"photoIDs":[3917627.0,3681808.0,1586653.0,1446588.0,1446596.0],"skipIndex":0,"section_code":"gallery","featured_images":"3917627,3681808,1586653,1446596,1446588","id":349189,"singleSection":false});				  						galleries[45835] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Butterflies and Bugs","link":"gallery_45835.html","maxRecords":0.0,"photoIDs":[838695.0,602873.0],"skipIndex":0,"section_code":"gallery","featured_images":"838695,602873","id":45835,"singleSection":false});				  						galleries[108498] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Flowers\/Blue bells\/other work","link":"gallery_108498.html","maxRecords":0.0,"photoIDs":[6280522.0,6280559.0,6094140.0,6094167.0,6094989.0,4407278.0,3923145.0,3819720.0,3819722.0,3819876.0,3790925.0,1446623.0],"skipIndex":0,"section_code":"gallery","featured_images":"6280559,6280522,6094989,6094167,6094140,4407278,3923145,3819876,3819722,3819720","id":108498,"singleSection":false});				  						galleries[208715] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Kenya 2009","link":"gallery_208715.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"","id":208715,"singleSection":false});				  						galleries[45833] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Motor Sports","link":"gallery_45833.html","maxRecords":0.0,"photoIDs":[6773357.0,5413851.0,5076073.0,1446583.0,596585.0],"skipIndex":0,"section_code":"gallery","featured_images":"6773357,5413851,5076073,1446583,596585","id":45833,"singleSection":false});				  						galleries[301424] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"New Work\/Commissions","link":"gallery_301424.html","maxRecords":0.0,"photoIDs":[8885190.0,8885194.0,8885197.0,8885199.0,8885208.0,8885210.0,8885211.0,8885213.0,8857617.0,8857626.0,8857657.0,8857659.0,8857670.0,8857673.0,8857674.0,8857689.0,8857735.0,8857738.0,8857741.0,8857793.0,8857814.0,8160779.0,8160792.0,8160799.0,8160808.0,8160833.0,8160836.0,8145532.0,8145534.0,8145537.0,8145538.0,8145542.0,8145547.0,7983400.0,7983403.0,7983413.0,7983452.0,7983458.0,7983461.0,7169192.0,7124085.0,4603869.0],"skipIndex":0,"section_code":"gallery","featured_images":"8885213,8885211,8885210,8885208,8885199,8885197,8885194,8885190,8857814,8857793","id":301424,"singleSection":false});				  						galleries[46890] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Places\/Buildlings","link":"gallery_46890.html","maxRecords":0.0,"photoIDs":[7168488.0,7168462.0,6094303.0,5413739.0,5352485.0,5352596.0,5075872.0,3021608.0,2130745.0,1446590.0,1446594.0,1446598.0,639234.0,613590.0,611386.0,611388.0],"skipIndex":0,"section_code":"gallery","featured_images":"7168488,7168462,6094303,5413739,5352596,5352485,5075872,3021608,2130745,1446598","id":46890,"singleSection":false});				  						galleries[47065] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Sunsets\/Sunrises","link":"gallery_47065.html","maxRecords":0.0,"photoIDs":[5622106.0,3433264.0,1446628.0,613593.0,613649.0],"skipIndex":0,"section_code":"gallery","featured_images":"5622106,3433264,1446628,613649,613593","id":47065,"singleSection":false});				  						galleries[9824] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Wildlife","link":"gallery_9824.html","maxRecords":0.0,"photoIDs":[6749057.0,6749058.0,6737327.0,6737380.0,6095045.0,5622079.0,3819921.0,3433313.0,3433872.0,3433954.0,2008155.0,2008191.0,1959475.0,1959492.0,1884347.0,790385.0,611408.0,602743.0],"skipIndex":0,"section_code":"gallery","featured_images":"6749058,6749057,6737380,6737327,6095045,5622079,3819921,3433954,3433872,3433313","id":9824,"singleSection":false});				  						galleries[7425] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Big Cats ","link":"gallery_7425.html","maxRecords":0.0,"photoIDs":[6793883.0,7124131.0,6840215.0,6749042.0,6749064.0,6737424.0,5805243.0,5583692.0,5583705.0,5003252.0,3819834.0,3819870.0,3757876.0,3602987.0,3508865.0,3508880.0,3508887.0,3508906.0,3508925.0,3491243.0,3491318.0,3491649.0,3491679.0,3491876.0,3434196.0,3178183.0,3178416.0,2439088.0,2439209.0,2331851.0,2189446.0,2187572.0,2176978.0,2130700.0,2130708.0,2130732.0,2115642.0,1906720.0,1907305.0,1907308.0,1586748.0,639302.0,613664.0,613669.0,596942.0,2115650.0],"skipIndex":0,"section_code":"gallery","featured_images":"7124131,6840215,6793883,6749064,6749042,6737424,5805243,5583705,5583692,5003252","id":7425,"singleSection":false});				  						galleries[9004] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Birds","link":"gallery_9004.html","maxRecords":0.0,"photoIDs":[7168466.0,7168470.0,7159065.0,7124125.0,7124115.0,6094153.0,6773378.0,4467493.0,4103760.0,3988144.0,3819712.0,3819771.0,3557871.0,2438967.0,2438975.0,2438999.0,2331546.0,2331616.0,2331630.0,2007983.0,2008011.0,1586583.0,1446593.0,1447887.0,639288.0],"skipIndex":0,"section_code":"gallery","featured_images":"7168470,7168466,7159065,7124125,7124115,6773378,6094153,4467493,4103760,3988144","id":9004,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '4103760,3988144,3923145,3917627,3819921,3819876,3819870,3819834,3819771,3819722,3819720,3819712,3790925,3757876,3681808,3602987,3557871,3508925,3508906,3508887,3508880,3508865,3491876,3491679,3491649,3491318,3491243,3434196,3433954,3433872,3433313,3433264,3178416,3178183,3021608,2439209,2439088,2438999,2438975,2438967,2331851,2331630,2331616,2331546,2189446,2187572,2176978,2130745,2130732,2130708,2130700,2115650,2115642,2008191,2008155,2008011,2007983,1959492,1959475,1907308,1907305,1906720,1884347,1586748,1586653,1586583,1447887,1446628,1446623,1446598,1446596,1446594,1446593,1446590,1446588,1446583,838695,790385,639302,639288,639234,613669,613664,613649,613593,613590,611408,611388,611386,602873,602743,596942,596585';
imageSets[3] = '8885213,8885211,8885210,8885208,8885199,8885197,8885194,8885190,8857814,8857793,8857741,8857738,8857735,8857689,8857674,8857673,8857670,8857659,8857657,8857626,8857617,8160836,8160833,8160808,8160799,8160792,8160779,8145547,8145542,8145538,8145537,8145534,8145532,7983461,7983458,7983452,7983413,7983403,7983400,7169192,7168488,7168470,7168466,7168462,7159065,7124131,7124125,7124115,7124085,6840215';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/ShaneWorton/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/ShaneWorton/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/ShaneWorton/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/ShaneWorton/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/ShaneWorton/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/ShaneWorton/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/ShaneWorton/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/ShaneWorton/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/ShaneWorton/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/ShaneWorton/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/ShaneWorton/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/ShaneWorton/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/ShaneWorton/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/ShaneWorton/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/ShaneWorton/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/ShaneWorton/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/ShaneWorton/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/ShaneWorton/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/ShaneWorton/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/ShaneWorton/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/ShaneWorton/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/ShaneWorton/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/ShaneWorton/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/ShaneWorton/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/ShaneWorton/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/ShaneWorton/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/ShaneWorton/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 = 'Shane Worton CPAGB  Photography: ' + photoCaption;
			    }
        if (op.$detail.length > 0) {
      	temp = op.nextPhoto.fnGetImageDetails();
	    op.$detail.fadeGalleryDetails(temp, op.speed, function(){
			if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
				toggleAddToCartConfirm(backgrounds, op.$detail);
			} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
				toggleAddToCartConfirm(photos, op.$detail);
			}
			$('body').trigger('clikUpdate.popup');
	    });
    }
        $(op.$detailContainer).find('.replaceable[class*=replaceable_photo-]').each(function(){
    	var field = clik.getPrefixedClass(this.className, 'replaceable_photo-');
    	if (field in op.nextPhoto) {
    		$(this).fadeGalleryDetails(op.nextPhoto[field], op.speed);
    	}
    }).end().find('.replaceable.photoPayment').fadeGalleryDetails(op.nextPhoto.fnGetPaymentInfo(), op.speed, function(){
		if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
			toggleAddToCartConfirm(backgrounds, op.$detailContainer);
		} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
			toggleAddToCartConfirm(photos, op.$detailContainer);
		}
		$('body').trigger('clikUpdate.popup');
	});
		if (op.$photo.length > 0) {
		html = $('<img/>',{
			'class': 'mainphoto photo',
			src: photoSrc,
			id: 'mainPic',
			name: 'mainPic',
			width: op.nextPhoto.width,
			height: op.nextPhoto.height,
			alt: photoCaption,
			css: op.css || {}
		});
		if (op.href) {
			if (op.href.match(/<a/)) {
				html = $(op.href).append(html);
			} else {
				html = $('<a/>', {
					href: op.href,
					title: photoCaption
				}).append(html);
			}
		} else {
			html = $('<a/>', {
				title: photoCaption
			}).append(html);
		}
		if (op.speed == 0) {			op.$photo.html(html);			if (op.onBefore) {			  	op.onBefore.apply(op.$photo);			}			if (op.onAfter) {			  	op.onAfter.apply(op.$photo);			}		} else {			op.$photo.stop(true,true).fadeReplaceWith(html,op.speed,'',function(){  				if (op.onAfter) {				  	op.onAfter.apply(this);				}				clik.doColumnResize(false, $(this).add(op.$detail).add(op.$title));			}, op.onBefore);
		}	}
    if (op.field) {
		op.field.value = photoId;
	} else {
		op.$photo.data('image_id', photoId);
    }
        if (!op.speed) {
      	clik.doColumnResize(false, op.$photo.add(op.$detail).add(op.$title));
    }
        
    return html;
	}

/***************************************************************************
* Toggle add to cart confirmation element and set up the click event for   *
* the 'Add to cart' button.                                                *
***************************************************************************/
function toggleAddToCartConfirm(array, root){
	if (typeof(array) !== 'object' || array === null) {
	  	array = photos;
	}
	if (!$(root).length) {		root = $('body');	}	if($('#paymentConfirm', root).length > 0){
		$('#paymentConfirm', root).hide();
		$('#paymentAddButton', root)
		.unbind()
		.click(function(){
						form = $('#paymentForm', root)[0];
			option_id = 0;
			if(form.item_option.value){
				option_id = form.item_option.value;
			}
			if(addItemToBasket(form.item_number.value,array,form.site.value,parseInt(form.quantity.value, 10),option_id)){
				if($.browser.msie){$('#paymentConfirm', root).text('Item added to cart').show();}
				else{
					$('#paymentConfirm', root).text('Item added to cart').fadeIn();
					dspOrderDetails(form.site.value);
				}
			}
			else{
				$('#paymentConfirm', root).text('Item not added - check cookies are enabled in your browser.').fadeIn();
			}
		});
	}
}

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetImageDetails = function(){
	var temp = '';
	if (this.description != '') {
		temp +=  '<div id="imageDescription">' + this.description + '</div>';
	}
		if (this.photo_ref != '') {
		temp += '<div class="imageinfo" id="imageRef"><strong>Ref: </strong>' + this.photo_ref + '</div>';
	}
		if (this.takendate != '') {
		
		temp += '<div class="imageinfo" id="imageDate"><strong>Date: </strong>' + this.takendate + '</div>';
	}
	
	if (this.location != '') {
		
		temp += '<div class="imageinfo" id="imageLocation"><strong>Location: </strong>' +  this.location + '</div>';
	}
	
	if (this.photographer != '') {
		
		temp += '<div class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>' + this.photographer + '</div>';
	}
				
	temp += this.fnGetPaymentInfo();
				if (temp != '') {
		temp += '<div class="spacer"></div>';
	}
	return temp;
};

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetPaymentInfo = function(){
	var temp = '';
	if (this.item_price !== '') {
				temp += '<p>Order this print:</p>';
				temp += '<div class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> &pound;' + (this.item_price).toFixed(2) + '</div>';
		var item_name  = this.purchase_instruction;
		var amount = (this.item_price).toFixed(2);
		var item_option  = 0;
	}
		else {
		
	}
	if (this.item_price !== '') {
											temp += '<form id="paymentForm" style="margin:0px;border:0px;" name="paymentForm">';
			temp += '	<input type="hidden" name="item_option" value="' + item_option + '">';
			temp += '	<input type="hidden" name="site" value="SHANEWORTON">';
			temp += '	<input type="hidden" name="item_number" value="'+ this.id +'">';
			temp += '	<input type="hidden" name="quantity" value="1">';
						temp += '	<input value="Add to cart" id="paymentAddButton" class="button" onmouseover="this.className=\'buttonHi\'\;" onmouseout="this.className=\'button\'\;" type="Button">';
							temp += '	<input value="View cart" id="paymentViewButton" class="button" onmouseover="this.className=\'buttonHi\';" onmouseout="this.className=\'button\';" type="Button" onclick="javascript:window.location=\'cart.html\'">';
			temp += '</form>';
						temp += '<div class="clearing">&nbsp;</div>';
			temp += '<div id="confirmContainer">';
			temp += '<div id="paymentConfirm">Item added to cart</div>';
			temp += '</div>';
			temp += '<div class="clearing">&nbsp;</div>';
	}
	return temp;};

/***************************************************************************
* Pick a photo at random from the featured images of a gallery.            *
* Gallery_id = id of gallery to choose,                                    *
* img = reference to html image in                                         *
* which to show image                                                      *
***************************************************************************/
function showGalleryImage(gallery_id, img, updateLink) {
	
	if(img){
		if (location.hash.match('galleries_id=' + gallery_id) && (imageID = location.hash.match('.*photos_id=(.+)$'))) {
		  	imageID = imageID[1];
		} else {
		  	imageID = randomListVal(galleries[gallery_id].featured_images);
		}
		
		if (imageID != 0) {
			img.src = thumbnails[imageID].src;
			img.width = thumbnails[imageID].width;
			img.height = thumbnails[imageID].height;
			img.alt = galleries[gallery_id].title;
			if (updateLink) {
				$(img).parent().attr({					title: galleries[gallery_id].title				}).filter(function(){return this.href;}).attr({					href: thumbnails[imageID].fnGalleryLink(gallery_id)				});
			}
		}
	}
}

/***************************************************************************
* If we have dynamic HTML, replace the galleries link with a list that     *
* doesn't include thecurrent gallery                                       *
***************************************************************************/
function showGalleries(gallery_id) {
		
	
	if (!basic) {
		temp = '';
		for (i = 0; i < galleries.length; i++) {
						
			
			if (galleries[i].id != gallery_id) {
								
				if (temp != '') {
					temp += ' | ';
				}
								temp += '<a href="' + galleries[i].section_code + '_' + galleries[i].id + '.html">' + galleries[i].title + '</a>';
							}
		}
		document.all.galleryLinks.innerHTML = 'Other galleries: ' + temp;
	}
}

			

