window.thumbnails = {};
															thumbnails[6759650] = clik.newPhoto({"id":6759650,"src":"agaric-0646_thumb.jpg","galleries_id":49899,"server_id":15,"link":"photo_6759650.html","width":130,"caption":"Fly agaric in Slop Bog ","height":174});
															thumbnails[6759659] = clik.newPhoto({"id":6759659,"src":"agaricpair-0648_thumb.jpg","galleries_id":49899,"server_id":15,"link":"photo_6759659.html","width":130,"caption":"Pair of Fly agarics","height":87});
															thumbnails[6759665] = clik.newPhoto({"id":6759665,"src":"fungi-0652_thumb.jpg","galleries_id":49899,"server_id":15,"link":"photo_6759665.html","width":130,"caption":"Brown fungi","height":195});
															thumbnails[2184039] = clik.newPhoto({"id":2184039,"src":"goldenpheasant_thumb.jpg","galleries_id":33562,"server_id":15,"link":"photo_2184039.html","width":130,"caption":"Golden Pheasant at Abbottsbury Sub Tropical Gardens, Dorset, UK","height":69});
															thumbnails[2184047] = clik.newPhoto({"id":2184047,"src":"kookoobura_thumb.jpg","galleries_id":33562,"server_id":15,"link":"photo_2184047.html","width":130,"caption":"Kookaburra","height":109});
															thumbnails[2184054] = clik.newPhoto({"id":2184054,"src":"pheasant_thumb.jpg","galleries_id":33562,"server_id":15,"link":"photo_2184054.html","width":130,"caption":"Pheasant","height":103});
															thumbnails[2184065] = clik.newPhoto({"id":2184065,"src":"greenbamboo_thumb.jpg","galleries_id":32543,"server_id":15,"link":"photo_2184065.html","width":130,"caption":"Green Bamboo","height":195});
															thumbnails[1789440] = clik.newPhoto({"id":1789440,"src":"comma_cp_thumb.jpg","galleries_id":395509,"server_id":15,"link":"photo_1789440.html","width":130,"caption":"Comma butterflies","height":120});
															thumbnails[2184060] = clik.newPhoto({"id":2184060,"src":"bengaltiger_thumb.jpg","galleries_id":33562,"server_id":15,"link":"photo_2184060.html","width":130,"caption":"Bengal Tiger","height":95});
															thumbnails[1234459] = clik.newPhoto({"id":1234459,"src":"cp_Common-Lizard-and-lunch_thumb.jpg","galleries_id":33562,"server_id":15,"link":"photo_1234459.html","width":130,"caption":"Common Lizard - Lacerta vivipara","height":86});
															thumbnails[1234463] = clik.newPhoto({"id":1234463,"src":"toad_lily_pair_1810_thumb.jpg","galleries_id":32543,"server_id":15,"link":"photo_1234463.html","width":130,"caption":"Toad Lily","height":87});
															thumbnails[1234466] = clik.newPhoto({"id":1234466,"src":"Slop-Bog-silver_blue_4220-E_thumb.jpg","galleries_id":395509,"server_id":15,"link":"photo_1234466.html","width":130,"caption":"Silver-studded blue butterfly","height":142});
															thumbnails[1234469] = clik.newPhoto({"id":1234469,"src":"Slop-Bog-silver_blue_4227-E_thumb.jpg","galleries_id":395509,"server_id":15,"link":"photo_1234469.html","width":130,"caption":"Silver-studded blue butterfly","height":160});
															thumbnails[1119812] = clik.newPhoto({"id":1119812,"src":"Jun07_scabiosa_3921_thumb.jpg","galleries_id":32543,"server_id":15,"link":"photo_1119812.html","width":130,"caption":"Scabiosa in detail","height":87});
															thumbnails[1119885] = clik.newPhoto({"id":1119885,"src":"june07_foxglove_3957_thumb.jpg","galleries_id":32543,"server_id":15,"link":"photo_1119885.html","width":130,"caption":"Foxglove","height":195});
															thumbnails[1119890] = clik.newPhoto({"id":1119890,"src":"white_passion_flower_3842_thumb.jpg","galleries_id":32543,"server_id":15,"link":"photo_1119890.html","width":130,"caption":"White passion flower","height":87});
															thumbnails[979608] = clik.newPhoto({"id":979608,"src":"cp_swiss_yellow_flower_3388_thumb.jpg","galleries_id":32543,"server_id":15,"link":"photo_979608.html","width":130,"caption":"Yellow flower","height":87});
															thumbnails[979303] = clik.newPhoto({"id":979303,"src":"cp_swiss_black_tulip_lumix_thumb.jpg","galleries_id":32543,"server_id":15,"link":"photo_979303.html","width":130,"caption":"Black tulips on Lake Geneva","height":98});
															thumbnails[979529] = clik.newPhoto({"id":979529,"src":"cp_swiss_pink_tulip_lumix_1_thumb.jpg","galleries_id":32543,"server_id":15,"link":"photo_979529.html","width":130,"caption":"Pink tulips on the Quai de Fleurs, Montreux, Lake Geneva","height":176});
															thumbnails[897805] = clik.newPhoto({"id":897805,"src":"Cream_Spot_Ladybird0004_thumb.jpg","galleries_id":33561,"server_id":15,"link":"photo_897805.html","width":130,"caption":"Cream spot ladybird","height":101});
															thumbnails[897809] = clik.newPhoto({"id":897809,"src":"Zebragras_thumb.jpg","galleries_id":32543,"server_id":15,"link":"photo_897809.html","width":130,"caption":"Chlorophytum Comosum ocean - Spider plant","height":195});
															thumbnails[897813] = clik.newPhoto({"id":897813,"src":"osteospermum_burgundy_thumb.jpg","galleries_id":32543,"server_id":15,"link":"photo_897813.html","width":130,"caption":"Osteospermum","height":99});
															thumbnails[897816] = clik.newPhoto({"id":897816,"src":"blue_lily_2904_thumb.jpg","galleries_id":32543,"server_id":15,"link":"photo_897816.html","width":130,"caption":"Blue Lily","height":87});
															thumbnails[897817] = clik.newPhoto({"id":897817,"src":"brown_lily_2875_thumb.jpg","galleries_id":32543,"server_id":15,"link":"photo_897817.html","width":130,"caption":"Lily","height":87});
															thumbnails[897819] = clik.newPhoto({"id":897819,"src":"sepia_lily_light_2891_thumb.jpg","galleries_id":32543,"server_id":15,"link":"photo_897819.html","width":130,"caption":"Back lite Lily in sepia","height":101});
															thumbnails[843051] = clik.newPhoto({"id":843051,"src":"clerodendron_ugandense_prof_thumb.jpg","galleries_id":32543,"server_id":15,"link":"photo_843051.html","width":130,"caption":"Clerodendron ugandense","height":184});
															thumbnails[843057] = clik.newPhoto({"id":843057,"src":"clerodendron_ugandense_stam_thumb.jpg","galleries_id":32543,"server_id":15,"link":"photo_843057.html","width":130,"caption":"Clerodendron ugandense","height":184});
															thumbnails[743715] = clik.newPhoto({"id":743715,"src":"camelia_japonica_2596_thumb.jpg","galleries_id":32543,"server_id":15,"link":"photo_743715.html","width":130,"caption":"Camelia Japonica","height":87});
															thumbnails[743728] = clik.newPhoto({"id":743728,"src":"patio_rose_orange_2608_thumb.jpg","galleries_id":32543,"server_id":15,"link":"photo_743728.html","width":130,"caption":"Orange Patio Rose","height":87});
															thumbnails[743729] = clik.newPhoto({"id":743729,"src":"snowdrop_2598_thumb.jpg","galleries_id":32543,"server_id":15,"link":"photo_743729.html","width":130,"caption":"Snowdrop","height":195});
															thumbnails[758777] = clik.newPhoto({"id":758777,"src":"fungus_upright_2561_thumb.jpg","galleries_id":49899,"server_id":15,"link":"photo_758777.html","width":130,"caption":"Cladonia - pixie cup lichen","height":390});
															thumbnails[655868] = clik.newPhoto({"id":655868,"src":"cabbage_fungus_2448_thumb.jpg","galleries_id":49899,"server_id":15,"link":"photo_655868.html","width":130,"caption":"","height":87});
															thumbnails[655870] = clik.newPhoto({"id":655870,"src":"gorse_bud_2456_thumb.jpg","galleries_id":32543,"server_id":15,"link":"photo_655870.html","width":130,"caption":"First of the year","height":110});
															thumbnails[655871] = clik.newPhoto({"id":655871,"src":"green_fungus_2446_thumb.jpg","galleries_id":49899,"server_id":15,"link":"photo_655871.html","width":130,"caption":"","height":87});
															thumbnails[655873] = clik.newPhoto({"id":655873,"src":"pair_fungus_2444_thumb.jpg","galleries_id":49899,"server_id":15,"link":"photo_655873.html","width":130,"caption":"","height":87});
															thumbnails[455916] = clik.newPhoto({"id":455916,"src":"brown_hawker_wings_ps_1920_thumb.jpg","galleries_id":33561,"server_id":15,"link":"photo_455916.html","width":130,"caption":"Brown Hawker Aeshna Grandis<br>\r\n<br>\r\n","height":74});
															thumbnails[455973] = clik.newPhoto({"id":455973,"src":"brown_hawker-side_ps_1918_thumb.jpg","galleries_id":33561,"server_id":15,"link":"photo_455973.html","width":130,"caption":"Aeshna Grandis or Brown Hawker dragonfly","height":70});
															thumbnails[418453] = clik.newPhoto({"id":418453,"src":"Bee red flower2_thumb.jpg","galleries_id":33561,"server_id":15,"link":"photo_418453.html","width":130,"caption":"Bumble Bee, bombus terrestris","height":92});
															thumbnails[418473] = clik.newPhoto({"id":418473,"src":"Brown Argus 1 1175_thumb.jpg","galleries_id":395509,"server_id":15,"link":"photo_418473.html","width":130,"caption":"Brown Argus,aricia agestis, Common Blue, polyommatus icarus or Silver-studded blue, Piebejus argus?","height":184});
															thumbnails[418477] = clik.newPhoto({"id":418477,"src":"Cicindela campestris green tiger beetle PS1_thumb.jpg","galleries_id":33561,"server_id":15,"link":"photo_418477.html","width":130,"caption":"Green Tiger Beetle, cicindela campestris.","height":92});
															thumbnails[418484] = clik.newPhoto({"id":418484,"src":"crab spider red flower_thumb.jpg","galleries_id":33561,"server_id":15,"link":"photo_418484.html","width":130,"caption":"Crab spider, Misumena vatia","height":92});
															thumbnails[418486] = clik.newPhoto({"id":418486,"src":"Enallagina cyathigerum damselfly_thumb.jpg","galleries_id":33561,"server_id":15,"link":"photo_418486.html","width":130,"caption":"Damselflies oviposturing","height":65});
															thumbnails[418520] = clik.newPhoto({"id":418520,"src":"fuchsia portrait_thumb.jpg","galleries_id":32543,"server_id":15,"link":"photo_418520.html","width":130,"caption":"Fuchsia","height":195});
															thumbnails[418521] = clik.newPhoto({"id":418521,"src":"red poppy flower water 1_thumb.jpg","galleries_id":32543,"server_id":15,"link":"photo_418521.html","width":130,"caption":"Red poppy after shower","height":87});
															thumbnails[418522] = clik.newPhoto({"id":418522,"src":"Blue Anemone 0035_thumb.jpg","galleries_id":32543,"server_id":15,"link":"photo_418522.html","width":130,"caption":"Blue Anemone","height":184});
															thumbnails[418523] = clik.newPhoto({"id":418523,"src":"Blackbird singing_thumb.jpg","galleries_id":33562,"server_id":15,"link":"photo_418523.html","width":130,"caption":"Blackbird, Tardus merula, singing in the evening","height":92});
															thumbnails[418524] = clik.newPhoto({"id":418524,"src":"jackdaw2_thumb.jpg","galleries_id":33562,"server_id":15,"link":"photo_418524.html","width":130,"caption":"Jackdaw, Corvus monedula, looking for crumbs","height":184});
															thumbnails[420763] = clik.newPhoto({"id":420763,"src":"fly_in_rudbeckia_1718_thumb.jpg","galleries_id":33561,"server_id":15,"link":"photo_420763.html","width":130,"caption":"Fly on Rudbeckia","height":87});
															thumbnails[420764] = clik.newPhoto({"id":420764,"src":"garden_spider_araneus_diadematus_1731_thumb.jpg","galleries_id":33561,"server_id":15,"link":"photo_420764.html","width":130,"caption":"The common garden spider, araneus diadematus","height":87});
															thumbnails[420766] = clik.newPhoto({"id":420766,"src":"red_leaf_beetle_lilioceris_lilii_1723_thumb.jpg","galleries_id":33561,"server_id":15,"link":"photo_420766.html","width":130,"caption":"red leaf beetle, Liloceris lilii ","height":107});
															thumbnails[420771] = clik.newPhoto({"id":420771,"src":"red_leaf_beetle_lilioceris_lilii_1728_thumb.jpg","galleries_id":33561,"server_id":15,"link":"photo_420771.html","width":130,"caption":"Liloceris lilii, Red Leaf Beetle,  ","height":87});
															thumbnails[420772] = clik.newPhoto({"id":420772,"src":"robin_erithacus_rubecula_1738_thumb.jpg","galleries_id":33562,"server_id":15,"link":"photo_420772.html","width":130,"caption":"Our ever watchful Robin, Erithacus rubecula.","height":127});
															thumbnails[420773] = clik.newPhoto({"id":420773,"src":"robin_erithacus_rubecula_1741_thumb.jpg","galleries_id":33562,"server_id":15,"link":"photo_420773.html","width":130,"caption":"A very wary Robin, erithacus rubecula","height":136});
															thumbnails[643497] = clik.newPhoto({"id":643497,"src":"Kew_POWC_3orchid_2288_thumb.jpg","galleries_id":32543,"server_id":15,"link":"photo_643497.html","width":130,"caption":"Three orchids","height":60});
															thumbnails[643504] = clik.newPhoto({"id":643504,"src":"black_squirrel1_2358_thumb.jpg","galleries_id":33562,"server_id":15,"link":"photo_643504.html","width":130,"caption":"","height":151});
															thumbnails[717197] = clik.newPhoto({"id":717197,"src":"bee_red_flowerS_0248_thumb.jpg","galleries_id":33561,"server_id":15,"link":"photo_717197.html","width":130,"caption":"Bee on red flower","height":87});
															thumbnails[717204] = clik.newPhoto({"id":717204,"src":"clemetis_expensiveS_0412_thumb.jpg","galleries_id":32543,"server_id":15,"link":"photo_717204.html","width":130,"caption":"Clemetis flower","height":87});
															thumbnails[717210] = clik.newPhoto({"id":717210,"src":"poppy_centre_0413_thumb.jpg","galleries_id":32543,"server_id":15,"link":"photo_717210.html","width":130,"caption":"papaver orientalis - pink poppy flower","height":87});
															thumbnails[717217] = clik.newPhoto({"id":717217,"src":"yellow_poppy_0407_thumb.jpg","galleries_id":32543,"server_id":15,"link":"photo_717217.html","width":130,"caption":"Himalayan poppy - yellow poppy flower","height":93});
															thumbnails[2184069] = clik.newPhoto({"id":2184069,"src":"Blueanemonefrost2_thumb.jpg","galleries_id":32543,"server_id":15,"link":"photo_2184069.html","width":130,"caption":"Frozen blue anemone blanda","height":195});
															thumbnails[2184078] = clik.newPhoto({"id":2184078,"src":"redtulip_thumb.jpg","galleries_id":32543,"server_id":15,"link":"photo_2184078.html","width":130,"caption":"Red Tulip","height":195});
															thumbnails[7312308] = clik.newPhoto({"id":7312308,"src":"insect-9661_thumb.jpg","galleries_id":33561,"server_id":15,"link":"photo_7312308.html","width":130,"caption":"Dragonfly","height":87});
															thumbnails[7312312] = clik.newPhoto({"id":7312312,"src":"butterfly-0317_thumb.jpg","galleries_id":395509,"server_id":15,"link":"photo_7312312.html","width":130,"caption":"Peacock Butterfly","height":87});
															thumbnails[7312322] = clik.newPhoto({"id":7312322,"src":"redtulip-2287_thumb.jpg","galleries_id":32543,"server_id":15,"link":"photo_7312322.html","width":130,"caption":"Tulip","height":170});
															thumbnails[7312325] = clik.newPhoto({"id":7312325,"src":"insect-0323_thumb.jpg","galleries_id":395509,"server_id":15,"link":"photo_7312325.html","width":130,"caption":"Butterfly","height":119});
															thumbnails[7312326] = clik.newPhoto({"id":7312326,"src":"insect-0329_thumb.jpg","galleries_id":395509,"server_id":15,"link":"photo_7312326.html","width":130,"caption":"Peacock Butterfly","height":99});
															thumbnails[7312328] = clik.newPhoto({"id":7312328,"src":"insect-1241_thumb.jpg","galleries_id":32543,"server_id":15,"link":"photo_7312328.html","width":130,"caption":"Crocus","height":59});
															thumbnails[8849647] = clik.newPhoto({"id":8849647,"src":"valenca-2271_thumb.jpg","galleries_id":465395,"server_id":15,"link":"photo_8849647.html","width":130,"caption":"Valenca, Portugal","height":191});
															thumbnails[8849649] = clik.newPhoto({"id":8849649,"src":"comma-4157_thumb.jpg","galleries_id":465395,"server_id":15,"link":"photo_8849649.html","width":130,"caption":"Comma Butterfly Polygonia C-album","height":133});
															thumbnails[8850344] = clik.newPhoto({"id":8850344,"src":"bomjesus-2163_3B1B97C5-24E8-5EC4-4F3E46F7BA6FE136_thumb.jpg","galleries_id":465423,"server_id":15,"link":"photo_8850344.html","width":130,"caption":"Bom Jesus, Braga, Portugal","height":195});
															thumbnails[8850345] = clik.newPhoto({"id":8850345,"src":"boscombepier-1837_3B1BEBD4-24E8-5EC4-4F682A40F82B7D44_thumb.jpg","galleries_id":465423,"server_id":15,"link":"photo_8850345.html","width":130,"caption":"boscombepier-1837","height":87});
															thumbnails[8850346] = clik.newPhoto({"id":8850346,"src":"Boscombepier2-2_3B1C483F-24E8-5EC4-4F3B36192A6F8080_thumb.jpg","galleries_id":465423,"server_id":15,"link":"photo_8850346.html","width":130,"caption":"Boscombepier2-2","height":87});
															thumbnails[8850347] = clik.newPhoto({"id":8850347,"src":"camelia-6560_3B1CA448-24E8-5EC4-4FB8FB391398BBE2_thumb.jpg","galleries_id":465423,"server_id":15,"link":"photo_8850347.html","width":130,"caption":"camelia-6560","height":87});
															thumbnails[8850348] = clik.newPhoto({"id":8850348,"src":"candle-2061_3B1D1541-24E8-5EC4-4FD8FE9F7ABF4F42_thumb.jpg","galleries_id":465423,"server_id":15,"link":"photo_8850348.html","width":130,"caption":"candle-2061","height":170});
															thumbnails[8850349] = clik.newPhoto({"id":8850349,"src":"christchurchpriory-3082_3B1D8005-24E8-5EC4-4F39E8AE39665DB7_thumb.jpg","galleries_id":465423,"server_id":15,"link":"photo_8850349.html","width":130,"caption":"christchurchpriory-3082","height":87});
															thumbnails[8850351] = clik.newPhoto({"id":8850351,"src":"clematisseed-5635_3B1DF36E-24E8-5EC4-4F2958E08FDFF95C_thumb.jpg","galleries_id":465423,"server_id":15,"link":"photo_8850351.html","width":130,"caption":"clematisseed-5635","height":114});
															thumbnails[8850352] = clik.newPhoto({"id":8850352,"src":"durlastonlight-2987_3B1E516E-24E8-5EC4-4F75A281B9B15A0E_thumb.jpg","galleries_id":465423,"server_id":15,"link":"photo_8850352.html","width":130,"caption":"durlastonlight-2987","height":87});
															thumbnails[8850353] = clik.newPhoto({"id":8850353,"src":"Ferndownsnow-1294_3B1EA25B-24E8-5EC4-4F8C7EF4E25FF5F5_thumb.jpg","galleries_id":465423,"server_id":15,"link":"photo_8850353.html","width":130,"caption":"Ferndownsnow-1294","height":66});
															thumbnails[8850354] = clik.newPhoto({"id":8850354,"src":"flower-2231_3B1EEB02-24E8-5EC4-4FF6C24CDD96B5A4_thumb.jpg","galleries_id":465423,"server_id":15,"link":"photo_8850354.html","width":130,"caption":"flower-2231","height":87});
															thumbnails[8850355] = clik.newPhoto({"id":8850355,"src":"hengistburybeach-2_3B1F75C9-24E8-5EC4-4FAA9DB86A968334_thumb.jpg","galleries_id":465423,"server_id":15,"link":"photo_8850355.html","width":130,"caption":"hengistburybeach-2","height":87});
															thumbnails[8850356] = clik.newPhoto({"id":8850356,"src":"hengistburybeach2-1887_3B20198F-24E8-5EC4-4FA662ACAD77B0D9_thumb.jpg","galleries_id":465423,"server_id":15,"link":"photo_8850356.html","width":130,"caption":"hengistburybeach2-1887","height":87});
															thumbnails[8850357] = clik.newPhoto({"id":8850357,"src":"hengistburybeach3-1895_3B209A50-24E8-5EC4-4FEC4A579955B22B_thumb.jpg","galleries_id":465423,"server_id":15,"link":"photo_8850357.html","width":130,"caption":"hengistburybeach3-1895","height":65});
															thumbnails[8850358] = clik.newPhoto({"id":8850358,"src":"Kingstonlacy-1952_3B215BFB-24E8-5EC4-4FE4C4449981896B_thumb.jpg","galleries_id":465423,"server_id":15,"link":"photo_8850358.html","width":130,"caption":"Kingstonlacy-1952","height":195});
															thumbnails[8850359] = clik.newPhoto({"id":8850359,"src":"lamp-2066_3B21B251-24E8-5EC4-4F9BB7D9F3A62981_thumb.jpg","galleries_id":465423,"server_id":15,"link":"photo_8850359.html","width":130,"caption":"lamp-2066","height":87});
															thumbnails[8850360] = clik.newPhoto({"id":8850360,"src":"light-6215_3B220835-24E8-5EC4-4F0AE63137763902_thumb.jpg","galleries_id":465423,"server_id":15,"link":"photo_8850360.html","width":130,"caption":"light-6215","height":175});
															thumbnails[8850362] = clik.newPhoto({"id":8850362,"src":"pans-2059_3B227343-24E8-5EC4-4F6B6491DED4C87A_thumb.jpg","galleries_id":465423,"server_id":15,"link":"photo_8850362.html","width":130,"caption":"pans-2059","height":87});
															thumbnails[8850363] = clik.newPhoto({"id":8850363,"src":"poolebay-9728_3B22B4AC-24E8-5EC4-4F19D5FC89CF04FD_thumb.jpg","galleries_id":465423,"server_id":15,"link":"photo_8850363.html","width":130,"caption":"poolebay-9728","height":59});
															thumbnails[8850364] = clik.newPhoto({"id":8850364,"src":"poolebay2-9742_3B22FB94-24E8-5EC4-4F1C17C689800F84_thumb.jpg","galleries_id":465423,"server_id":15,"link":"photo_8850364.html","width":130,"caption":"poolebay2-9742","height":46});
															thumbnails[8850365] = clik.newPhoto({"id":8850365,"src":"pooleharbour1-0411_3B235A16-24E8-5EC4-4F80AA620A9F7EA8_thumb.jpg","galleries_id":465423,"server_id":15,"link":"photo_8850365.html","width":130,"caption":"pooleharbour1-0411","height":88});
															thumbnails[8850366] = clik.newPhoto({"id":8850366,"src":"pooleharbour2-0415_3B23C9C0-24E8-5EC4-4FA4F668D1EC402D_thumb.jpg","galleries_id":465423,"server_id":15,"link":"photo_8850366.html","width":130,"caption":"pooleharbour2-0415","height":87});
															thumbnails[8850367] = clik.newPhoto({"id":8850367,"src":"pooleyacht-0025_3B24230E-24E8-5EC4-4FF597C788BFE97B_thumb.jpg","galleries_id":465423,"server_id":15,"link":"photo_8850367.html","width":130,"caption":"pooleyacht-0025","height":87});
															thumbnails[8850368] = clik.newPhoto({"id":8850368,"src":"poundbury-2006_3B24981F-24E8-5EC4-4F2131950A64B50D_thumb.jpg","galleries_id":465423,"server_id":15,"link":"photo_8850368.html","width":130,"caption":"poundbury-2006","height":154});
															thumbnails[8850371] = clik.newPhoto({"id":8850371,"src":"poundbury-2009_3B25DF17-24E8-5EC4-4FF5649DA4BB6CF9_thumb.jpg","galleries_id":465423,"server_id":15,"link":"photo_8850371.html","width":130,"caption":"poundbury-2009","height":186});
															thumbnails[8850377] = clik.newPhoto({"id":8850377,"src":"romseyabbey-3167_3B27FA8E-24E8-5EC4-4F3F0D15449A9FFC_thumb.jpg","galleries_id":465423,"server_id":15,"link":"photo_8850377.html","width":130,"caption":"romseyabbey-3167","height":82});
															thumbnails[8850378] = clik.newPhoto({"id":8850378,"src":"romseyballs-3172_3B28AA41-24E8-5EC4-4F5980FA787127E2_thumb.jpg","galleries_id":465423,"server_id":15,"link":"photo_8850378.html","width":130,"caption":"romseyballs-3172","height":195});
															thumbnails[8850379] = clik.newPhoto({"id":8850379,"src":"seadhead-1111_3B2929D5-24E8-5EC4-4F71DA2CCD5646D6_thumb.jpg","galleries_id":465423,"server_id":15,"link":"photo_8850379.html","width":130,"caption":"seadhead-1111","height":195});
															thumbnails[8850380] = clik.newPhoto({"id":8850380,"src":"swanagemural-1945_3B2994C9-24E8-5EC4-4FB72B60BFE65246_thumb.jpg","galleries_id":465423,"server_id":15,"link":"photo_8850380.html","width":130,"caption":"swanagemural-1945","height":87});
															thumbnails[8850381] = clik.newPhoto({"id":8850381,"src":"swanagepier-1933_3B2A2333-24E8-5EC4-4FF278ABC642D5FE_thumb.jpg","galleries_id":465423,"server_id":15,"link":"photo_8850381.html","width":130,"caption":"swanagepier-1933","height":189});
															thumbnails[8850382] = clik.newPhoto({"id":8850382,"src":"tulip-2620_3B2A6C66-24E8-5EC4-4F9F49212D08DBEC_thumb.jpg","galleries_id":465423,"server_id":15,"link":"photo_8850382.html","width":130,"caption":"tulip-2620","height":87});
															thumbnails[8850384] = clik.newPhoto({"id":8850384,"src":"valenca2-2280_3B2B46D1-24E8-5EC4-4F4EA89B9528FC9B_thumb.jpg","galleries_id":465423,"server_id":15,"link":"photo_8850384.html","width":130,"caption":"valenca2-2280","height":195});
															thumbnails[8850385] = clik.newPhoto({"id":8850385,"src":"valencachurch-2548_3B2BEEC2-24E8-5EC4-4FAA2C105B59C053_thumb.jpg","galleries_id":465423,"server_id":15,"link":"photo_8850385.html","width":130,"caption":"valencachurch-2548","height":181});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[33562] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Birds, squirrels and reptile","link":"gallery_33562.html","maxRecords":0.0,"photoIDs":[2184039.0,2184047.0,2184054.0,2184060.0,1234459.0,418523.0,418524.0,420772.0,420773.0,643504.0],"skipIndex":0,"section_code":"gallery","featured_images":"2184060,2184054,2184039,1234459,420772,418524,418523","id":33562,"singleSection":false});				  						galleries[395509] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Butterflies","link":"gallery_395509.html","maxRecords":0.0,"photoIDs":[1789440.0,1234466.0,1234469.0,418473.0,7312312.0,7312325.0,7312326.0],"skipIndex":0,"section_code":"gallery","featured_images":"1789440,1234469,1234466,418473","id":395509,"singleSection":false});				  						galleries[465395] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Exhibition Acceptances","link":"gallery_465395.html","maxRecords":0.0,"photoIDs":[8849647.0,8849649.0],"skipIndex":0,"section_code":"gallery","featured_images":8849647.0,"id":465395,"singleSection":false});				  						galleries[33561] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Insects","link":"gallery_33561.html","maxRecords":0.0,"photoIDs":[897805.0,455916.0,455973.0,418453.0,418477.0,418484.0,418486.0,420763.0,420764.0,420766.0,420771.0,717197.0,7312308.0],"skipIndex":0,"section_code":"gallery","featured_images":"897805,717197,455973,455916,418453","id":33561,"singleSection":false});				  						galleries[465423] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Mono","link":"gallery_465423.html","maxRecords":0.0,"photoIDs":[8850344.0,8850345.0,8850346.0,8850347.0,8850348.0,8850349.0,8850351.0,8850352.0,8850353.0,8850354.0,8850355.0,8850356.0,8850357.0,8850358.0,8850359.0,8850360.0,8850362.0,8850363.0,8850364.0,8850365.0,8850366.0,8850367.0,8850368.0,8850371.0,8850377.0,8850378.0,8850379.0,8850380.0,8850381.0,8850382.0,8850384.0,8850385.0],"skipIndex":0,"section_code":"gallery","featured_images":8850344.0,"id":465423,"singleSection":false});				  						galleries[32543] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Flowers","link":"gallery_32543.html","maxRecords":0.0,"photoIDs":[2184065.0,1234463.0,1119812.0,1119885.0,1119890.0,979608.0,979303.0,979529.0,897809.0,897813.0,897816.0,897817.0,897819.0,843051.0,843057.0,743715.0,743728.0,743729.0,655870.0,418520.0,418521.0,418522.0,643497.0,717204.0,717210.0,717217.0,2184069.0,2184078.0,7312322.0,7312328.0],"skipIndex":0,"section_code":"gallery","featured_images":"2184078,2184069,2184065,1234463,1119890,1119885,1119812,979608,979529,979303,897817,897816,897813,843057,843051,743729,743715,717217,717210,717204,655870,643497,418521","id":32543,"singleSection":false});				  						galleries[49899] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Fungi","link":"gallery_49899.html","maxRecords":0.0,"photoIDs":[6759650.0,6759659.0,6759665.0,758777.0,655868.0,655871.0,655873.0],"skipIndex":0,"section_code":"gallery","featured_images":"758777,655873,655871,655868","id":49899,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '2184078,2184069,2184065,2184060,2184054,2184039,1789440,1234469,1234466,1234463,1119890,1119885,1119812,979608,979529,897805,843057,843051,758777,743729,743715,717217,717210,717197,655873,655871,655870,655868,643497,455916,418524,418523,418521,8850344';
imageSets[2] = '8849647,2184078,2184069,2184065,2184060,2184054,2184039,1789440,1234469,1234466,1234463,1234459,1119890,1119885,1119812,979608,979529,979303,897817,897816,897813,897805,843057,843051,758777,743729,743715,717217,717210,717204,717197,655873,655871,655870,655868,643497,455973,455916,420772,418524,418523,418521,418473,418453,8850344';
imageSets[3] = '8849647,8850344';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/healan/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/healan/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/healan/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/healan/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/healan/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/healan/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/healan/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/healan/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/healan/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/healan/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/healan/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/healan/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/healan/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/healan/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/healan/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/healan/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/healan/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/healan/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/healan/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/healan/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/healan/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/healan/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/healan/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/healan/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/healan/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/healan/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/healan/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 = 'Mike Walker - photographer: ' + 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>Buy now using PayPal:</p>';
				temp += '<div class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> &pound;' + (this.item_price).toFixed(2) + '</div>';
		var item_name  = this.purchase_instruction;
		var amount = (this.item_price).toFixed(2);
		var item_option  = 0;
	}
		else if (this.payment_groups_id !== '') {
		temp += '<p>Buy this print online:</p>';
				temp += '<form id="paymentOptions" style="margin:0px;border:0px;" name="paymentOptions">';
											temp += '<select class="paymentlink" name="payment_options_id" onchange="updateItemValues($(this.form).next(\'#paymentForm\')[0],this.form.payment_options_id.options[this.form.payment_options_id.options.selectedIndex].value);">';
		
		temp += getPaymentOptions(this.payment_groups_id);
		temp += '</select>';
		temp += '</form>';
				var item_option  = paymentGroups[this.payment_groups_id].options[0];
		if(paymentOptions[item_option]){
			var item_name  = paymentOptions[item_option].payment_option;
			var amount =  paymentOptions[item_option].price;
		}
			}
		else {
		
	}
	if (this.item_price !== '' || this.payment_groups_id !== '') {
																		temp += '<form id="paymentForm" style="margin:0px;border:0px;" name="paymentForm" target="_blank" action="https://www.paypal.com/cgi-bin/webscr" method="post">';
			temp += '<input type="hidden" name="item_name" value="'+item_name+'">';
			ref = '';
			if(this.photo_ref != ''){
				ref = this.photo_ref+' - '+this.caption;
			}
			else{
				ref = this.id+' - '+this.caption;
			}
			price = amount;								temp += '<input type="hidden" name="cmd" value="_cart">';
					temp += '<input type="hidden" name="business" value="mike@mike-walker.org.uk">';
					temp += '<input type="hidden" name="currency_code" value="GBP">';
					temp += '<input type="hidden" name="add" value="1">';
													temp += '<input type="hidden" name="amount" value="'+amount+'">';
					temp += '<input type="hidden" name="item_number" value="'+ref+'">';
													temp += '<input type=\"Submit\" value=\"Add to cart\" id=\"paymentAddButton\" class=\"button\" onmouseover=\"this.className=\'buttonHi\';\" onmouseout=\"this.className=\'button\';\">';
										temp += '</form>';
										temp += '<form id="paymentCartForm" style="margin:0px;" name="paymentCartForm" target="_blank" action="https://www.paypal.com/cgi-bin/webscr" method="post">';
				temp += '<input type="hidden" name="cmd" value="_cart">';
				temp += '<input type="hidden" name="business" value="mike@mike-walker.org.uk">';
				temp += '<input type="hidden" name="display" value="1">';
				temp += '<input type=\"Submit\" value=\"View cart\" id=\"paymentViewButton\" class=\"button\" onmouseover=\"this.className=\'buttonHi\';\" onmouseout=\"this.className=\'button\';\">';
				temp += '</form>';
						temp += '<div class="clearing">&nbsp;</div>';
	}
	return temp;};

/***************************************************************************
* Pick a photo at random from the featured images of a gallery.            *
* Gallery_id = id of gallery to choose,                                    *
* img = reference to html image in                                         *
* which to show image                                                      *
***************************************************************************/
function showGalleryImage(gallery_id, img, updateLink) {
	
	if(img){
		if (location.hash.match('galleries_id=' + gallery_id) && (imageID = location.hash.match('.*photos_id=(.+)$'))) {
		  	imageID = imageID[1];
		} else {
		  	imageID = randomListVal(galleries[gallery_id].featured_images);
		}
		
		if (imageID != 0) {
			img.src = thumbnails[imageID].src;
			img.width = thumbnails[imageID].width;
			img.height = thumbnails[imageID].height;
			img.alt = galleries[gallery_id].title;
			if (updateLink) {
				$(img).parent().attr({					title: galleries[gallery_id].title				}).filter(function(){return this.href;}).attr({					href: thumbnails[imageID].fnGalleryLink(gallery_id)				});
			}
		}
	}
}

/***************************************************************************
* If we have dynamic HTML, replace the galleries link with a list that     *
* doesn't include thecurrent gallery                                       *
***************************************************************************/
function showGalleries(gallery_id) {
		
	
	if (!basic) {
		temp = '';
		for (i = 0; i < galleries.length; i++) {
						
			
			if (galleries[i].id != gallery_id) {
								
				if (temp != '') {
					temp += ' | ';
				}
								temp += '<a href="' + galleries[i].section_code + '_' + galleries[i].id + '.html">' + galleries[i].title + '</a>';
							}
		}
		document.all.galleryLinks.innerHTML = 'Other galleries: ' + temp;
	}
}

			

