window.thumbnails = {};
thumbnails[9137966] = clik.newPhoto({"link":"photo_9137966.html","caption":"Boy that's Cold!","height":100,"id":9137966,"server_id":31,"src":"Grey_Heron_A_1_thumb.jpg","galleries_id":416106,"width":150});
thumbnails[9137899] = clik.newPhoto({"link":"photo_9137899.html","caption":"Teals in Flight","height":73,"id":9137899,"server_id":31,"src":"Teals_in_Flight_1_thumb.jpg","galleries_id":416106,"width":150});
thumbnails[9137894] = clik.newPhoto({"link":"photo_9137894.html","caption":"Little Grebe ","height":100,"id":9137894,"server_id":31,"src":"Little_Grebe_B_1_thumb.jpg","galleries_id":416106,"width":150});
thumbnails[9113520] = clik.newPhoto({"link":"photo_9113520.html","caption":"Frozen Eastwick Mead","height":100,"id":9113520,"server_id":31,"src":"Eastwick_Mead_3_thumb1_1.jpg","galleries_id":416106,"width":150});
thumbnails[9113515] = clik.newPhoto({"link":"photo_9113515.html","caption":"Aythorpe Roding","height":150,"id":9113515,"server_id":31,"src":"Aythorpe_Roding_Winter_Windmill_2_thumb1_1.jpg","galleries_id":416106,"width":100});
thumbnails[9070778] = clik.newPhoto({"link":"photo_9070778.html","caption":"RX435","height":150,"id":9070778,"server_id":31,"src":"RX435_thumb.jpg","galleries_id":416106,"width":100});
thumbnails[9058452] = clik.newPhoto({"link":"photo_9058452.html","caption":"Dungeness Wreck","height":150,"id":9058452,"server_id":31,"src":"Dungeness_Wreck_thumb.jpg","galleries_id":416106,"width":100});
thumbnails[9053905] = clik.newPhoto({"link":"photo_9053905.html","caption":"St. Thomas-a-Becket Church","height":100,"id":9053905,"server_id":31,"src":"Fairfield_Church_thumb.jpg","galleries_id":416106,"width":150});
thumbnails[8966557] = clik.newPhoto({"link":"photo_8966557.html","caption":"Thames Barrier","height":100,"id":8966557,"server_id":31,"src":"Thames_Barrier_A_thumb.jpg","galleries_id":431726,"width":150});
thumbnails[8848287] = clik.newPhoto({"link":"photo_8848287.html","caption":"Westminster Reflections","height":150,"id":8848287,"server_id":31,"src":"Westminster_Reflections_thumb.jpg","galleries_id":431726,"width":100});
thumbnails[8848281] = clik.newPhoto({"link":"photo_8848281.html","caption":"The Shard","height":150,"id":8848281,"server_id":31,"src":"Shard_A_thumb.jpg","galleries_id":431726,"width":100});
thumbnails[8848270] = clik.newPhoto({"link":"photo_8848270.html","caption":"Westminster's Eye","height":150,"id":8848270,"server_id":31,"src":"Westminster_Bridge__Eye_9D74CFE4-1EC9-D45B-1C75EBC0EF544101_thumb_9D783D86-1EC9-D45B-1CDB615872D53908.jpg","galleries_id":431726,"width":100});
thumbnails[8728052] = clik.newPhoto({"link":"photo_8728052.html","caption":"Upper Pool","height":100,"id":8728052,"server_id":31,"src":"Upper_Pool_B_thumb.jpg","galleries_id":431726,"width":150});
thumbnails[8678162] = clik.newPhoto({"link":"photo_8678162.html","caption":"Evening Rush Two","height":100,"id":8678162,"server_id":31,"src":"Evening_Rush_2a_thumb.jpg","galleries_id":431726,"width":150});
thumbnails[8055638] = clik.newPhoto({"link":"photo_8055638.html","caption":"Putney Bridge","height":150,"id":8055638,"server_id":31,"src":"Putney_Bridge_A_thumb.jpg","galleries_id":431726,"width":100});
thumbnails[8073962] = clik.newPhoto({"link":"photo_8073962.html","caption":"Royal Courts of Justice","height":150,"id":8073962,"server_id":31,"src":"High_Courts_thumb.jpg","galleries_id":431726,"width":95});
thumbnails[8073952] = clik.newPhoto({"link":"photo_8073952.html","caption":"Westminster Abbey","height":150,"id":8073952,"server_id":31,"src":"Westminster_Abbey_thumb.jpg","galleries_id":431726,"width":106});
thumbnails[8073926] = clik.newPhoto({"link":"photo_8073926.html","caption":"Whitehall","height":150,"id":8073926,"server_id":31,"src":"Whitehall_thumb.jpg","galleries_id":431726,"width":150});
thumbnails[8049909] = clik.newPhoto({"link":"photo_8049909.html","caption":"Wintry Westminster","height":106,"id":8049909,"server_id":31,"src":"Wintry_Westminster_Bridge_thumb.jpg","galleries_id":431726,"width":150});
thumbnails[8073913] = clik.newPhoto({"link":"photo_8073913.html","caption":"Primrose Hill","height":106,"id":8073913,"server_id":31,"src":"Primrose_Hill_thumb.jpg","galleries_id":431726,"width":150});
thumbnails[8073896] = clik.newPhoto({"link":"photo_8073896.html","caption":"Great Gatehouse","height":106,"id":8073896,"server_id":31,"src":"Gatehouse_thumb.jpg","galleries_id":431726,"width":150});
thumbnails[8073883] = clik.newPhoto({"link":"photo_8073883.html","caption":"Evening Rush","height":106,"id":8073883,"server_id":31,"src":"Evening_Rush_thumb.jpg","galleries_id":431726,"width":150});
thumbnails[8073849] = clik.newPhoto({"link":"photo_8073849.html","caption":"The Martyr King","height":150,"id":8073849,"server_id":31,"src":"Charles_I_thumb.jpg","galleries_id":431726,"width":106});
thumbnails[8073824] = clik.newPhoto({"link":"photo_8073824.html","caption":"Admiralty Arch","height":106,"id":8073824,"server_id":31,"src":"Admiralty_Arch_thumb.jpg","galleries_id":431726,"width":150});
thumbnails[8049417] = clik.newPhoto({"link":"photo_8049417.html","caption":"Westminster Bridge","height":106,"id":8049417,"server_id":31,"src":"Westminster_Bridge_thumb.jpg","galleries_id":431726,"width":150});
thumbnails[8062391] = clik.newPhoto({"link":"photo_8062391.html","caption":"Temple Kiosk","height":106,"id":8062391,"server_id":31,"src":"Telephone_Kiosk_thumb.jpg","galleries_id":431726,"width":150});
thumbnails[8073690] = clik.newPhoto({"link":"photo_8073690.html","caption":"Victoria Embankment","height":100,"id":8073690,"server_id":31,"src":"Victoria_Embankment_thumb.jpg","galleries_id":431726,"width":150});
thumbnails[8073665] = clik.newPhoto({"link":"photo_8073665.html","caption":"Butlers Wharf","height":100,"id":8073665,"server_id":31,"src":"Butlers_Wharf_thumb.jpg","galleries_id":431726,"width":150});
thumbnails[8062400] = clik.newPhoto({"link":"photo_8062400.html","caption":"City Hall","height":100,"id":8062400,"server_id":31,"src":"More_London_B_thumb.jpg","galleries_id":431726,"width":150});
thumbnails[8073629] = clik.newPhoto({"link":"photo_8073629.html","caption":"City Hall","height":100,"id":8073629,"server_id":31,"src":"More_London_A_thumb.jpg","galleries_id":431726,"width":150});
thumbnails[8073623] = clik.newPhoto({"link":"photo_8073623.html","caption":"Trafalgar Square","height":106,"id":8073623,"server_id":31,"src":"Trafalgar_thumb.jpg","galleries_id":431726,"width":150});
thumbnails[8073611] = clik.newPhoto({"link":"photo_8073611.html","caption":"Wintry Green Park","height":150,"id":8073611,"server_id":31,"src":"Green_Park_thumb.jpg","galleries_id":431726,"width":106});
thumbnails[8073608] = clik.newPhoto({"link":"photo_8073608.html","caption":"Wintry Green Park","height":106,"id":8073608,"server_id":31,"src":"Wintry_Green_Park_thumb.jpg","galleries_id":431726,"width":150});
thumbnails[8062396] = clik.newPhoto({"link":"photo_8062396.html","caption":"Millenium Bridge","height":106,"id":8062396,"server_id":31,"src":"Upper_Pool_thumb.jpg","galleries_id":431726,"width":150});
thumbnails[8073599] = clik.newPhoto({"link":"photo_8073599.html","caption":"Wellington Arch","height":106,"id":8073599,"server_id":31,"src":"Wellington_Arch_thumb.jpg","galleries_id":431726,"width":150});
thumbnails[8073506] = clik.newPhoto({"link":"photo_8073506.html","caption":"Warming Embrace","height":150,"id":8073506,"server_id":31,"src":"Warming_Embrace_thumb.jpg","galleries_id":431726,"width":150});
thumbnails[8073465] = clik.newPhoto({"link":"photo_8073465.html","caption":"Buckingham","height":106,"id":8073465,"server_id":31,"src":"Buckingham_thumb.jpg","galleries_id":431726,"width":150});
thumbnails[8073439] = clik.newPhoto({"link":"photo_8073439.html","caption":"Thames Barrier","height":106,"id":8073439,"server_id":31,"src":"Thames_Barrier_thumb.jpg","galleries_id":431726,"width":150});
thumbnails[8073424] = clik.newPhoto({"link":"photo_8073424.html","caption":"St. Paul's Cathedral","height":106,"id":8073424,"server_id":31,"src":"St_Pauls_Cathedral_thumb.jpg","galleries_id":431726,"width":150});
thumbnails[8073386] = clik.newPhoto({"link":"photo_8073386.html","caption":"King's Reach","height":106,"id":8073386,"server_id":31,"src":"Kings_Reach_thumb.jpg","galleries_id":431726,"width":150});
thumbnails[8073350] = clik.newPhoto({"link":"photo_8073350.html","caption":"London Eye","height":106,"id":8073350,"server_id":31,"src":"London_Eye_thumb.jpg","galleries_id":431726,"width":150});
thumbnails[8073321] = clik.newPhoto({"link":"photo_8073321.html","caption":"London Wall","height":106,"id":8073321,"server_id":31,"src":"London_Wall_thumb.jpg","galleries_id":431726,"width":150});
thumbnails[8073252] = clik.newPhoto({"link":"photo_8073252.html","caption":"Grass Roller","height":106,"id":8073252,"server_id":31,"src":"Grass_Roller_thumb.jpg","galleries_id":431726,"width":150});
thumbnails[8984828] = clik.newPhoto({"link":"photo_8984828.html","caption":"Southwold Pier","height":100,"id":8984828,"server_id":31,"src":"Southwold_A_9921F3B3-1EC9-DFB6-0997977B66BDC436_thumb.jpg","galleries_id":416104,"width":150});
thumbnails[8966547] = clik.newPhoto({"link":"photo_8966547.html","caption":"Hadleigh Castle","height":150,"id":8966547,"server_id":31,"src":"Hadleigh_Castle_D_9B8C9B19-1EC9-D45B-1CEA9445BE4ADC46_thumb_9B8D585C-1EC9-D45B-1C679347E900D3A0.jpg","galleries_id":416104,"width":100});
thumbnails[8381597] = clik.newPhoto({"link":"photo_8381597.html","caption":"Beachy Head Lighthouse","height":100,"id":8381597,"server_id":31,"src":"Beachy_Head_Lighthouse_thumb.jpg","galleries_id":416104,"width":150});
thumbnails[8276205] = clik.newPhoto({"link":"photo_8276205.html","caption":"Redrick's Lane Poppy Field","height":99,"id":8276205,"server_id":31,"src":"Redricks_Poppy_Field_thumb.jpg","galleries_id":416104,"width":150});
thumbnails[8049784] = clik.newPhoto({"link":"photo_8049784.html","caption":"Hadleigh Castle Dawn","height":100,"id":8049784,"server_id":31,"src":"Hadleigh_Castle_Q_thumb.jpg","galleries_id":416104,"width":150});
thumbnails[8091233] = clik.newPhoto({"link":"photo_8091233.html","caption":"White Hut","height":99,"id":8091233,"server_id":31,"src":"White_Hut_thumb.jpg","galleries_id":416104,"width":150});
thumbnails[8091083] = clik.newPhoto({"link":"photo_8091083.html","caption":"Melting Hearth","height":150,"id":8091083,"server_id":31,"src":"Melting_Hearth_thumb.jpg","galleries_id":416104,"width":100});
thumbnails[8090921] = clik.newPhoto({"link":"photo_8090921.html","caption":"Foggy Tollesbury","height":150,"id":8090921,"server_id":31,"src":"Foggy_Tollesbury_thumb.jpg","galleries_id":416104,"width":100});
thumbnails[8055646] = clik.newPhoto({"link":"photo_8055646.html","caption":"Crag Rock","height":150,"id":8055646,"server_id":31,"src":"Crag_Wood_thumb.jpg","galleries_id":416104,"width":100});
thumbnails[8062423] = clik.newPhoto({"link":"photo_8062423.html","caption":"Buttermere","height":91,"id":8062423,"server_id":31,"src":"Buttermere_thumb.jpg","galleries_id":416104,"width":150});
thumbnails[8090892] = clik.newPhoto({"link":"photo_8090892.html","caption":"Lobster Pots","height":150,"id":8090892,"server_id":31,"src":"Staithes_Lobster_Pots_thumb.jpg","galleries_id":416104,"width":106});
thumbnails[8062411] = clik.newPhoto({"link":"photo_8062411.html","caption":"St. Chad's","height":150,"id":8062411,"server_id":31,"src":"Hutton_Le_Hole_Church_thumb.jpg","galleries_id":416104,"width":106});
thumbnails[8090803] = clik.newPhoto({"link":"photo_8090803.html","caption":"Galleyhill Pond","height":150,"id":8090803,"server_id":31,"src":"Galleyhill_Pond_thumb.jpg","galleries_id":416104,"width":106});
thumbnails[8090764] = clik.newPhoto({"link":"photo_8090764.html","caption":"Silver Forest","height":100,"id":8090764,"server_id":31,"src":"Silver_Forest_thumb.jpg","galleries_id":416104,"width":150});
thumbnails[8090677] = clik.newPhoto({"link":"photo_8090677.html","caption":"Tollesbury Boat Hut","height":150,"id":8090677,"server_id":31,"src":"Tollesbury_Sailing_Hut_thumb.jpg","galleries_id":416104,"width":106});
thumbnails[8090656] = clik.newPhoto({"link":"photo_8090656.html","caption":"Tollesbury Lightship","height":150,"id":8090656,"server_id":31,"src":"Tollesbury_Lightship_thumb.jpg","galleries_id":416104,"width":106});
thumbnails[8090523] = clik.newPhoto({"link":"photo_8090523.html","caption":"Warlies Temple","height":100,"id":8090523,"server_id":31,"src":"Warlies_Temple_thumb.jpg","galleries_id":416104,"width":150});
thumbnails[8049424] = clik.newPhoto({"link":"photo_8049424.html","caption":"Aythorpe Roding Windmill","height":106,"id":8049424,"server_id":31,"src":"Aythorpe_Roding__Wheat1_thumb.jpg","galleries_id":416104,"width":150});
thumbnails[8090510] = clik.newPhoto({"link":"photo_8090510.html","caption":"Queen Elizabeth II Bridge","height":100,"id":8090510,"server_id":31,"src":"Queen_Elizabeth_Bridge_thumb.jpg","galleries_id":416104,"width":150});
thumbnails[8090352] = clik.newPhoto({"link":"photo_8090352.html","caption":"Thaxted Windmill","height":106,"id":8090352,"server_id":31,"src":"Thaxted_Windmill_thumb.jpg","galleries_id":416104,"width":150});
thumbnails[8090240] = clik.newPhoto({"link":"photo_8090240.html","caption":"Herringfleet Windpump","height":106,"id":8090240,"server_id":31,"src":"Herringfleet_Windmill_thumb.jpg","galleries_id":416104,"width":150});
thumbnails[8090225] = clik.newPhoto({"link":"photo_8090225.html","caption":"December Aythorpe Roding","height":150,"id":8090225,"server_id":31,"src":"Aythorpe_Roding_Dawn_thumb.jpg","galleries_id":416104,"width":106});
thumbnails[8090122] = clik.newPhoto({"link":"photo_8090122.html","caption":"Autumnal Gernon Bushes","height":106,"id":8090122,"server_id":31,"src":"Autumnal_Gernon_thumb.jpg","galleries_id":416104,"width":150});
thumbnails[8089713] = clik.newPhoto({"link":"photo_8089713.html","caption":"Bovinger Cottage","height":106,"id":8089713,"server_id":31,"src":"Bovinger_Cottage_thumb.jpg","galleries_id":416104,"width":150});
thumbnails[8089696] = clik.newPhoto({"link":"photo_8089696.html","caption":"Fisherman's Cottage","height":106,"id":8089696,"server_id":31,"src":"Dungeness_Fishing_Cottage_thumb.jpg","galleries_id":416104,"width":150});
thumbnails[8049932] = clik.newPhoto({"link":"photo_8049932.html","caption":"Gold Forest","height":106,"id":8049932,"server_id":31,"src":"Gold_Forest_thumb.jpg","galleries_id":416104,"width":150});
thumbnails[8089420] = clik.newPhoto({"link":"photo_8089420.html","caption":"Hula of Clennon","height":106,"id":8089420,"server_id":31,"src":"Hula_of_Clennon_thumb.jpg","galleries_id":416104,"width":150});
thumbnails[8049432] = clik.newPhoto({"link":"photo_8049432.html","caption":"Blackrock Cottage & Stob Dearg","height":106,"id":8049432,"server_id":31,"src":"Black_Rock_Cottage_thumb.jpg","galleries_id":416098,"width":150});
thumbnails[8055703] = clik.newPhoto({"link":"photo_8055703.html","caption":"Stob Dearg","height":100,"id":8055703,"server_id":31,"src":"Stob_Dearg_B_thumb.jpg","galleries_id":416098,"width":150});
thumbnails[8055707] = clik.newPhoto({"link":"photo_8055707.html","caption":"Stob Dearg","height":150,"id":8055707,"server_id":31,"src":"Stob_Dearg_A_thumb.jpg","galleries_id":416098,"width":100});
thumbnails[8062523] = clik.newPhoto({"link":"photo_8062523.html","caption":"Loch Scavaig","height":100,"id":8062523,"server_id":31,"src":"Elgol_thumb.jpg","galleries_id":416098,"width":150});
thumbnails[8083403] = clik.newPhoto({"link":"photo_8083403.html","caption":"Stac Pollaidh","height":150,"id":8083403,"server_id":31,"src":"Stac_Pollaidh_thumb.jpg","galleries_id":416098,"width":100});
thumbnails[8083387] = clik.newPhoto({"link":"photo_8083387.html","caption":"Loch Bad a' Ghaill","height":100,"id":8083387,"server_id":31,"src":"Loch_Bad_a_Ghaill_thumb.jpg","galleries_id":416098,"width":150});
thumbnails[8083216] = clik.newPhoto({"link":"photo_8083216.html","caption":"Kylesku Bridge","height":150,"id":8083216,"server_id":31,"src":"Kylesku_Bridge_thumb.jpg","galleries_id":416098,"width":100});
thumbnails[8083263] = clik.newPhoto({"link":"photo_8083263.html","caption":"Quinag","height":150,"id":8083263,"server_id":31,"src":"Quinag_thumb.jpg","galleries_id":416098,"width":100});
thumbnails[8083189] = clik.newPhoto({"link":"photo_8083189.html","caption":"Balnakeil Bay","height":150,"id":8083189,"server_id":31,"src":"Balnakeil_Bay_thumb.jpg","galleries_id":416098,"width":100});
thumbnails[8083149] = clik.newPhoto({"link":"photo_8083149.html","caption":"Stoer Lighthouse","height":150,"id":8083149,"server_id":31,"src":"Stoer_Lighthouse_thumb.jpg","galleries_id":416098,"width":106});
thumbnails[8083118] = clik.newPhoto({"link":"photo_8083118.html","caption":"Ardveck Castle","height":100,"id":8083118,"server_id":31,"src":"Ardveck_thumb.jpg","galleries_id":416098,"width":150});
thumbnails[8083094] = clik.newPhoto({"link":"photo_8083094.html","caption":"Loch Stack Cottage","height":100,"id":8083094,"server_id":31,"src":"Loch_Stack_thumb.jpg","galleries_id":416098,"width":150});
thumbnails[8062551] = clik.newPhoto({"link":"photo_8062551.html","caption":"Ben Lomond","height":106,"id":8062551,"server_id":31,"src":"Ben_Laomainn_Landscape_thumb.jpg","galleries_id":416098,"width":150});
thumbnails[8082967] = clik.newPhoto({"link":"photo_8082967.html","caption":"Ben Lomond","height":150,"id":8082967,"server_id":31,"src":"Ben_Laomainn_thumb.jpg","galleries_id":416098,"width":106});
thumbnails[8082890] = clik.newPhoto({"link":"photo_8082890.html","caption":"Black Rock Cottage","height":106,"id":8082890,"server_id":31,"src":"Black_Mountain_Croft_thumb.jpg","galleries_id":416098,"width":150});
thumbnails[8082826] = clik.newPhoto({"link":"photo_8082826.html","caption":"Eilean Donan","height":100,"id":8082826,"server_id":31,"src":"Eilean_Donan_thumb.jpg","galleries_id":416098,"width":150});
thumbnails[8062640] = clik.newPhoto({"link":"photo_8062640.html","caption":"Ffos Noddum","height":150,"id":8062640,"server_id":31,"src":"Fairy_Glen_thumb.jpg","galleries_id":431711,"width":100});
thumbnails[8055727] = clik.newPhoto({"link":"photo_8055727.html","caption":"Twr Mawr","height":150,"id":8055727,"server_id":31,"src":"Twr_Mawr_thumb.jpg","galleries_id":431711,"width":100});
thumbnails[8049510] = clik.newPhoto({"link":"photo_8049510.html","caption":"St. Baglan's Church","height":106,"id":8049510,"server_id":31,"src":"St_Baglans_Church_Landscape1_thumb.jpg","galleries_id":431711,"width":150});
thumbnails[8072585] = clik.newPhoto({"link":"photo_8072585.html","caption":"St. Baglan's Church","height":150,"id":8072585,"server_id":31,"src":"St_Baglans_Church_thumb.jpg","galleries_id":431711,"width":106});
thumbnails[8062578] = clik.newPhoto({"link":"photo_8062578.html","caption":"Ynys Fawr","height":150,"id":8062578,"server_id":31,"src":"Ynys_Fawr_Dusk_thumb.jpg","galleries_id":431711,"width":106});
thumbnails[8072869] = clik.newPhoto({"link":"photo_8072869.html","caption":"Ynys Fawr","height":150,"id":8072869,"server_id":31,"src":"Ynys_Fawr_thumb.jpg","galleries_id":431711,"width":106});
thumbnails[8413980] = clik.newPhoto({"link":"photo_8413980.html","caption":"Blue Globe Thistle","height":100,"id":8413980,"server_id":31,"src":"Blue_Globe_Thistle_thumb.jpg","galleries_id":416015,"width":150});
thumbnails[8848056] = clik.newPhoto({"link":"photo_8848056.html","caption":"Red Campion","height":150,"id":8848056,"server_id":31,"src":"Red_Campion_thumb.jpg","galleries_id":416015,"width":100});
thumbnails[8428955] = clik.newPhoto({"link":"photo_8428955.html","caption":"Slovenian Orchid","height":100,"id":8428955,"server_id":31,"src":"Slovenian_Orchid_A_thumb.jpg","galleries_id":416015,"width":150});
thumbnails[8264185] = clik.newPhoto({"link":"photo_8264185.html","caption":"Bluebells","height":100,"id":8264185,"server_id":31,"src":"Bluebell_B_thumb.jpg","galleries_id":416015,"width":150});
thumbnails[8264231] = clik.newPhoto({"link":"photo_8264231.html","caption":"Cuckoo Flower","height":150,"id":8264231,"server_id":31,"src":"Cuckoo_Flower_A_thumb.jpg","galleries_id":416015,"width":100});
thumbnails[8264158] = clik.newPhoto({"link":"photo_8264158.html","caption":"Early Purple Orchid","height":150,"id":8264158,"server_id":31,"src":"Early_Purple_Orchid_B_thumb.jpg","galleries_id":416015,"width":100});
thumbnails[8251206] = clik.newPhoto({"link":"photo_8251206.html","caption":"Early Purple Orchid","height":100,"id":8251206,"server_id":31,"src":"Early_Purple_Orchid_thumb.jpg","galleries_id":416015,"width":150});
thumbnails[8208035] = clik.newPhoto({"link":"photo_8208035.html","caption":"Bluebell","height":150,"id":8208035,"server_id":31,"src":"Bluebell_A_thumb.jpg","galleries_id":416015,"width":100});
thumbnails[8242120] = clik.newPhoto({"link":"photo_8242120.html","caption":"Ribwort Plantains","height":100,"id":8242120,"server_id":31,"src":"Ribwort_Plantain_B_thumb.jpg","galleries_id":416015,"width":150});
thumbnails[8242107] = clik.newPhoto({"link":"photo_8242107.html","caption":"Ribwort Plantain","height":150,"id":8242107,"server_id":31,"src":"Ribwort_Plantain_A_thumb.jpg","galleries_id":416015,"width":100});
thumbnails[8242086] = clik.newPhoto({"link":"photo_8242086.html","caption":"Snake's Head Fritillary","height":100,"id":8242086,"server_id":31,"src":"Snakeshead_Fritillary_D_thumb.jpg","galleries_id":416015,"width":150});
thumbnails[8242027] = clik.newPhoto({"link":"photo_8242027.html","caption":"Snake's Head Fritillary","height":150,"id":8242027,"server_id":31,"src":"Snakeshead_Fritillary_C_thumb.jpg","galleries_id":416015,"width":100});
thumbnails[8049557] = clik.newPhoto({"link":"photo_8049557.html","caption":"Snake's Head Fritillary","height":100,"id":8049557,"server_id":31,"src":"White_Fritillary_thumb.jpg","galleries_id":416015,"width":150});
thumbnails[8074279] = clik.newPhoto({"link":"photo_8074279.html","caption":"Snake's Head Fritillary","height":150,"id":8074279,"server_id":31,"src":"White_Fritillary_A_thumb.jpg","galleries_id":416015,"width":100});
thumbnails[8074232] = clik.newPhoto({"link":"photo_8074232.html","caption":"Paigle","height":100,"id":8074232,"server_id":31,"src":"Paigle_A_thumb.jpg","galleries_id":416015,"width":150});
thumbnails[8055734] = clik.newPhoto({"link":"photo_8055734.html","caption":"Snake's Head Fritillary","height":150,"id":8055734,"server_id":31,"src":"Snakeshead_Fritillary_P_thumb.jpg","galleries_id":416015,"width":100});
thumbnails[8074204] = clik.newPhoto({"link":"photo_8074204.html","caption":"Woundwart","height":150,"id":8074204,"server_id":31,"src":"Woundwort_thumb.jpg","galleries_id":416015,"width":106});
thumbnails[8062814] = clik.newPhoto({"link":"photo_8062814.html","caption":"Paigle","height":106,"id":8062814,"server_id":31,"src":"Paigle_thumb.jpg","galleries_id":416015,"width":150});
thumbnails[8063007] = clik.newPhoto({"link":"photo_8063007.html","caption":"Dalamatian Poppies","height":100,"id":8063007,"server_id":31,"src":"Hrvatska_Poppies_thumb.jpg","galleries_id":416015,"width":150});
thumbnails[8074197] = clik.newPhoto({"link":"photo_8074197.html","caption":"Wood Sorrel","height":150,"id":8074197,"server_id":31,"src":"Wood_Sorrel_thumb.jpg","galleries_id":416015,"width":150});
thumbnails[8074052] = clik.newPhoto({"link":"photo_8074052.html","caption":"Poopy & Wheat","height":106,"id":8074052,"server_id":31,"src":"Poppy__Wheat_thumb.jpg","galleries_id":416015,"width":150});
thumbnails[8962007] = clik.newPhoto({"link":"photo_8962007.html","caption":"Magpie Inkcap","height":100,"id":8962007,"server_id":31,"src":"Magpie_Inkcap_B_thumb.jpg","galleries_id":416097,"width":150});
thumbnails[8961968] = clik.newPhoto({"link":"photo_8961968.html","caption":"Bloodred Webcap","height":100,"id":8961968,"server_id":31,"src":"Bloodred_Webcap_thumb.jpg","galleries_id":416097,"width":150});
thumbnails[8961947] = clik.newPhoto({"link":"photo_8961947.html","caption":"Porcelain Fungus","height":100,"id":8961947,"server_id":31,"src":"Porcelain_Fungus_D_thumb.jpg","galleries_id":416097,"width":150});
thumbnails[8961925] = clik.newPhoto({"link":"photo_8961925.html","caption":"Porcelain Fungus","height":150,"id":8961925,"server_id":31,"src":"Porcelain_Fungus_A_thumb.jpg","galleries_id":416097,"width":100});
thumbnails[8848257] = clik.newPhoto({"link":"photo_8848257.html","caption":"Panther Cap","height":100,"id":8848257,"server_id":31,"src":"Panther_Cap_thumb.jpg","galleries_id":416097,"width":150});
thumbnails[8961851] = clik.newPhoto({"link":"photo_8961851.html","caption":"Amethyst Deciever","height":150,"id":8961851,"server_id":31,"src":"Amethyst_Deceiver_B_thumb.jpg","galleries_id":416097,"width":100});
thumbnails[8961844] = clik.newPhoto({"link":"photo_8961844.html","caption":"Shaggy Parasol","height":150,"id":8961844,"server_id":31,"src":"Shaggy_Parasol_thumb.jpg","galleries_id":416097,"width":100});
thumbnails[8848247] = clik.newPhoto({"link":"photo_8848247.html","caption":"Shaggy Inkcap","height":150,"id":8848247,"server_id":31,"src":"Shaggy_Ink_Cap_A_thumb.jpg","galleries_id":416097,"width":100});
thumbnails[8848220] = clik.newPhoto({"link":"photo_8848220.html","caption":"Saffron-Drop Bonnet","height":150,"id":8848220,"server_id":31,"src":"Saffrondrop_Bonnet_thumb.jpg","galleries_id":416097,"width":100});
thumbnails[8961810] = clik.newPhoto({"link":"photo_8961810.html","caption":"Fly Agaric Couple","height":100,"id":8961810,"server_id":31,"src":"Fly_Agaric_D_thumb.jpg","galleries_id":416097,"width":150});
thumbnails[8848233] = clik.newPhoto({"link":"photo_8848233.html","caption":"Orange Fly Agaric","height":100,"id":8848233,"server_id":31,"src":"Fly_Agaric_B_thumb.jpg","galleries_id":416097,"width":150});
thumbnails[8848207] = clik.newPhoto({"link":"photo_8848207.html","caption":"Fly Agaric","height":150,"id":8848207,"server_id":31,"src":"Fly_Agaric_C_thumb.jpg","galleries_id":416097,"width":100});
thumbnails[8848203] = clik.newPhoto({"link":"photo_8848203.html","caption":"Lilac Bonnet Twins","height":150,"id":8848203,"server_id":31,"src":"Violet_C_thumb.jpg","galleries_id":416097,"width":100});
thumbnails[8848202] = clik.newPhoto({"link":"photo_8848202.html","caption":"Lilac Bonnet","height":100,"id":8848202,"server_id":31,"src":"Violet_A_thumb.jpg","galleries_id":416097,"width":150});
thumbnails[8848194] = clik.newPhoto({"link":"photo_8848194.html","caption":"Candle Snuff","height":100,"id":8848194,"server_id":31,"src":"Candle_Snuff_B_thumb.jpg","galleries_id":416097,"width":150});
thumbnails[8776277] = clik.newPhoto({"link":"photo_8776277.html","caption":"False Deathcap","height":100,"id":8776277,"server_id":31,"src":"False_Deathcap_A_thumb.jpg","galleries_id":416097,"width":150});
thumbnails[8728073] = clik.newPhoto({"link":"photo_8728073.html","caption":"Clouded Funnel","height":100,"id":8728073,"server_id":31,"src":"Clouded_Funnel_thumb.jpg","galleries_id":416097,"width":150});
thumbnails[8728066] = clik.newPhoto({"link":"photo_8728066.html","caption":"Shaggy Inkcap","height":100,"id":8728066,"server_id":31,"src":"Shaggy_Inkcap_B_thumb.jpg","galleries_id":416097,"width":150});
thumbnails[8728062] = clik.newPhoto({"link":"photo_8728062.html","caption":"Shaggy Inkcap","height":150,"id":8728062,"server_id":31,"src":"Shaggy_Inkcap_A_thumb.jpg","galleries_id":416097,"width":100});
thumbnails[8728057] = clik.newPhoto({"link":"photo_8728057.html","caption":"Yellow Stag Antler","height":150,"id":8728057,"server_id":31,"src":"Yellow_Stag_Antler_thumb.jpg","galleries_id":416097,"width":100});
thumbnails[8654598] = clik.newPhoto({"link":"photo_8654598.html","caption":"Beef Steak Fungus","height":100,"id":8654598,"server_id":31,"src":"Beef_Steak_Fungus_thumb.jpg","galleries_id":416097,"width":150});
thumbnails[8631512] = clik.newPhoto({"link":"photo_8631512.html","caption":"Clustered Bonnets","height":150,"id":8631512,"server_id":31,"src":"Clustered_Bonnet_A_thumb.jpg","galleries_id":416097,"width":100});
thumbnails[8631508] = clik.newPhoto({"link":"photo_8631508.html","caption":"Red Foot Bolete","height":100,"id":8631508,"server_id":31,"src":"Red_Foot_Bolete_A_thumb.jpg","galleries_id":416097,"width":150});
thumbnails[8631461] = clik.newPhoto({"link":"photo_8631461.html","caption":"Wood Hedgehog","height":100,"id":8631461,"server_id":31,"src":"Wood_Hedgehog_thumb.jpg","galleries_id":416097,"width":150});
thumbnails[8577254] = clik.newPhoto({"link":"photo_8577254.html","caption":"Butter Waxcap","height":150,"id":8577254,"server_id":31,"src":"Butter_Waxcap_thumb.jpg","galleries_id":416097,"width":100});
thumbnails[8539746] = clik.newPhoto({"link":"photo_8539746.html","caption":"Wood Funnel Cap","height":150,"id":8539746,"server_id":31,"src":"Chanterelle_thumb.jpg","galleries_id":416097,"width":100});
thumbnails[8539666] = clik.newPhoto({"link":"photo_8539666.html","caption":"Elfin Saddle","height":150,"id":8539666,"server_id":31,"src":"Elfin_Saddle_C_thumb.jpg","galleries_id":416097,"width":100});
thumbnails[8539696] = clik.newPhoto({"link":"photo_8539696.html","caption":"Elfin Saddle","height":100,"id":8539696,"server_id":31,"src":"Elfin_Saddle_A_thumb.jpg","galleries_id":416097,"width":150});
thumbnails[8539658] = clik.newPhoto({"link":"photo_8539658.html","caption":"Dog Stinkhorn","height":150,"id":8539658,"server_id":31,"src":"Dog_Stinkhorn_thumb.jpg","galleries_id":416097,"width":100});
thumbnails[8539699] = clik.newPhoto({"link":"photo_8539699.html","caption":"Lion Shield","height":150,"id":8539699,"server_id":31,"src":"Lion_Shield_B_thumb.jpg","galleries_id":416097,"width":100});
thumbnails[8603346] = clik.newPhoto({"link":"photo_8603346.html","caption":"Clustered Bonnet","height":150,"id":8603346,"server_id":31,"src":"Mycena_A_thumb.jpg","galleries_id":416097,"width":100});
thumbnails[8533808] = clik.newPhoto({"link":"photo_8533808.html","caption":"Clustered Bonnet","height":100,"id":8533808,"server_id":31,"src":"Mycena_B_thumb.jpg","galleries_id":416097,"width":150});
thumbnails[8527453] = clik.newPhoto({"link":"photo_8527453.html","caption":"Common Puffball","height":100,"id":8527453,"server_id":31,"src":"Common_Puffball_thumb.jpg","galleries_id":416097,"width":150});
thumbnails[8533826] = clik.newPhoto({"link":"photo_8533826.html","caption":"Common Puffball","height":150,"id":8533826,"server_id":31,"src":"Common_Puffball_A_thumb.jpg","galleries_id":416097,"width":100});
thumbnails[8496703] = clik.newPhoto({"link":"photo_8496703.html","caption":"Fly Agaric","height":100,"id":8496703,"server_id":31,"src":"Fly_Agaric_A_thumb.jpg","galleries_id":416097,"width":150});
thumbnails[8508390] = clik.newPhoto({"link":"photo_8508390.html","caption":"Glistening Inkcap","height":100,"id":8508390,"server_id":31,"src":"Glistening_Inkcap_thumb.jpg","galleries_id":416097,"width":150});
thumbnails[8539647] = clik.newPhoto({"link":"photo_8539647.html","caption":"New Brackets","height":150,"id":8539647,"server_id":31,"src":"New_Brackets_thumb.jpg","galleries_id":416097,"width":100});
thumbnails[8539464] = clik.newPhoto({"link":"photo_8539464.html","caption":"Amethyst Deceiver","height":150,"id":8539464,"server_id":31,"src":"Amethyst_Deceiver_A_thumb.jpg","galleries_id":416097,"width":100});
thumbnails[8508484] = clik.newPhoto({"link":"photo_8508484.html","caption":"Cep","height":100,"id":8508484,"server_id":31,"src":"Cep_thumb.jpg","galleries_id":416097,"width":150});
thumbnails[8074766] = clik.newPhoto({"link":"photo_8074766.html","caption":"Golden Scalycap","height":100,"id":8074766,"server_id":31,"src":"Golden_Scalycap_Gills_thumb.jpg","galleries_id":416097,"width":150});
thumbnails[8074754] = clik.newPhoto({"link":"photo_8074754.html","caption":"Porcelain Fungus","height":150,"id":8074754,"server_id":31,"src":"Porcelain_Fungus_thumb.jpg","galleries_id":416097,"width":100});
thumbnails[8063084] = clik.newPhoto({"link":"photo_8063084.html","caption":"Sickener","height":100,"id":8063084,"server_id":31,"src":"Sickener_thumb.jpg","galleries_id":416097,"width":150});
thumbnails[8074745] = clik.newPhoto({"link":"photo_8074745.html","caption":"Candle Snuff","height":150,"id":8074745,"server_id":31,"src":"Candle_Snuff_A_thumb.jpg","galleries_id":416097,"width":100});
thumbnails[8074741] = clik.newPhoto({"link":"photo_8074741.html","caption":"Birch Boletes","height":100,"id":8074741,"server_id":31,"src":"Birch_Boletes_thumb.jpg","galleries_id":416097,"width":150});
thumbnails[8055629] = clik.newPhoto({"link":"photo_8055629.html","caption":"Amethyst Deceivers","height":150,"id":8055629,"server_id":31,"src":"Amethyst_Deceiver_Cluster_thumb.jpg","galleries_id":416097,"width":100});
thumbnails[8074733] = clik.newPhoto({"link":"photo_8074733.html","caption":"Bay Bolete","height":150,"id":8074733,"server_id":31,"src":"Bay_Bolete_thumb.jpg","galleries_id":416097,"width":100});
thumbnails[8074725] = clik.newPhoto({"link":"photo_8074725.html","caption":"Stinkhorn","height":100,"id":8074725,"server_id":31,"src":"Stinkhorn_A_thumb.jpg","galleries_id":416097,"width":150});
thumbnails[8063070] = clik.newPhoto({"link":"photo_8063070.html","caption":"Candle Snuff","height":150,"id":8063070,"server_id":31,"src":"Candle_Snuff_thumb.jpg","galleries_id":416097,"width":100});
thumbnails[8049585] = clik.newPhoto({"link":"photo_8049585.html","caption":"Fragile Brittlegill","height":100,"id":8049585,"server_id":31,"src":"Fragile_Brittlegill_thumb.jpg","galleries_id":416097,"width":150});
thumbnails[8063012] = clik.newPhoto({"link":"photo_8063012.html","caption":"Birch Bolete","height":100,"id":8063012,"server_id":31,"src":"Birch_Bolete_thumb.jpg","galleries_id":416097,"width":150});
thumbnails[8074295] = clik.newPhoto({"link":"photo_8074295.html","caption":"Fly Agarics","height":100,"id":8074295,"server_id":31,"src":"Fly_Agaric_thumb.jpg","galleries_id":416097,"width":150});
thumbnails[8984839] = clik.newPhoto({"link":"photo_8984839.html","caption":"Lapwing Mudscrape","height":150,"id":8984839,"server_id":31,"src":"Lapwings_thumb.jpg","galleries_id":416100,"width":100});
thumbnails[8382393] = clik.newPhoto({"link":"photo_8382393.html","caption":"Stilt","height":100,"id":8382393,"server_id":31,"src":"Stilt_B_thumb.jpg","galleries_id":416100,"width":150});
thumbnails[8342820] = clik.newPhoto({"link":"photo_8342820.html","caption":"Stilt","height":150,"id":8342820,"server_id":31,"src":"Stilt_A_thumb.jpg","galleries_id":416100,"width":100});
thumbnails[8276431] = clik.newPhoto({"link":"photo_8276431.html","caption":"Guillemot","height":150,"id":8276431,"server_id":31,"src":"Guillemot_A_thumb.jpg","galleries_id":416100,"width":100});
thumbnails[8276436] = clik.newPhoto({"link":"photo_8276436.html","caption":"Skomer Island Puffin","height":100,"id":8276436,"server_id":31,"src":"Skomer_Puffin_B_thumb.jpg","galleries_id":416100,"width":150});
thumbnails[8276373] = clik.newPhoto({"link":"photo_8276373.html","caption":"Skomer Puffin","height":150,"id":8276373,"server_id":31,"src":"Skomer_Puffin_A_thumb.jpg","galleries_id":416100,"width":100});
thumbnails[8063116] = clik.newPhoto({"link":"photo_8063116.html","caption":"Mallard","height":100,"id":8063116,"server_id":31,"src":"Mallard_thumb.jpg","galleries_id":416100,"width":150});
thumbnails[8097804] = clik.newPhoto({"link":"photo_8097804.html","caption":"Gannet","height":150,"id":8097804,"server_id":31,"src":"Gannet_Ledge_thumb.jpg","galleries_id":416100,"width":150});
thumbnails[8097797] = clik.newPhoto({"link":"photo_8097797.html","caption":"Squabbling Gannets","height":100,"id":8097797,"server_id":31,"src":"Gannet_Squabble_thumb.jpg","galleries_id":416100,"width":150});
thumbnails[8063106] = clik.newPhoto({"link":"photo_8063106.html","caption":"Handa Puffin","height":100,"id":8063106,"server_id":31,"src":"Handa_Puffin_B_thumb.jpg","galleries_id":416100,"width":150});
thumbnails[8063101] = clik.newPhoto({"link":"photo_8063101.html","caption":"Handa Puffin","height":100,"id":8063101,"server_id":31,"src":"Handa_Puffin_A_thumb.jpg","galleries_id":416100,"width":150});
thumbnails[8097778] = clik.newPhoto({"link":"photo_8097778.html","caption":"Great Skua","height":100,"id":8097778,"server_id":31,"src":"Great_Skua_A_thumb.jpg","galleries_id":416100,"width":150});
thumbnails[8097774] = clik.newPhoto({"link":"photo_8097774.html","caption":"Hunting Skua","height":100,"id":8097774,"server_id":31,"src":"Skua_Hunting_thumb.jpg","galleries_id":416100,"width":150});
thumbnails[8097767] = clik.newPhoto({"link":"photo_8097767.html","caption":"Skua Raid","height":99,"id":8097767,"server_id":31,"src":"Skua_Raid_thumb.jpg","galleries_id":416100,"width":150});
thumbnails[8097751] = clik.newPhoto({"link":"photo_8097751.html","caption":"Egret","height":106,"id":8097751,"server_id":31,"src":"Egret_in_Flight_thumb.jpg","galleries_id":416100,"width":150});
thumbnails[8055754] = clik.newPhoto({"link":"photo_8055754.html","caption":"Common Tern","height":106,"id":8055754,"server_id":31,"src":"Common_Tern_thumb.jpg","galleries_id":416100,"width":150});
thumbnails[8097745] = clik.newPhoto({"link":"photo_8097745.html","caption":"Razorbill","height":100,"id":8097745,"server_id":31,"src":"Razorbill_A_thumb.jpg","galleries_id":416100,"width":150});
thumbnails[8097716] = clik.newPhoto({"link":"photo_8097716.html","caption":"Linnet","height":106,"id":8097716,"server_id":31,"src":"Linnet_thumb.jpg","galleries_id":416100,"width":150});
thumbnails[8063095] = clik.newPhoto({"link":"photo_8063095.html","caption":"Whitethroat","height":106,"id":8063095,"server_id":31,"src":"Whitethroat_thumb.jpg","galleries_id":416100,"width":150});
thumbnails[8097677] = clik.newPhoto({"link":"photo_8097677.html","caption":"Whitethroat","height":150,"id":8097677,"server_id":31,"src":"Whitethroat_A_thumb.jpg","galleries_id":416100,"width":106});
thumbnails[8097659] = clik.newPhoto({"link":"photo_8097659.html","caption":"Red Grouse","height":150,"id":8097659,"server_id":31,"src":"Red_Grouse_C_thumb.jpg","galleries_id":416100,"width":106});
thumbnails[8097648] = clik.newPhoto({"link":"photo_8097648.html","caption":"Red Grouse","height":150,"id":8097648,"server_id":31,"src":"Red_Grouse_B_thumb.jpg","galleries_id":416100,"width":106});
thumbnails[8097642] = clik.newPhoto({"link":"photo_8097642.html","caption":"Red Grouse","height":106,"id":8097642,"server_id":31,"src":"Red_Grouse_A_thumb.jpg","galleries_id":416100,"width":150});
thumbnails[8049744] = clik.newPhoto({"link":"photo_8049744.html","caption":"Gannet with Grass","height":106,"id":8049744,"server_id":31,"src":"Gannet_With_Grass_thumb.jpg","galleries_id":416100,"width":150});
thumbnails[8097624] = clik.newPhoto({"link":"photo_8097624.html","caption":"Gannet with Grass","height":106,"id":8097624,"server_id":31,"src":"Gannet__Grass_in_Flight_thumb.jpg","galleries_id":416100,"width":150});
thumbnails[8097604] = clik.newPhoto({"link":"photo_8097604.html","caption":"Courting Gannets","height":100,"id":8097604,"server_id":31,"src":"Courting_Gannets_thumb.jpg","galleries_id":416100,"width":150});
thumbnails[8097591] = clik.newPhoto({"link":"photo_8097591.html","caption":"Reed Bunting","height":100,"id":8097591,"server_id":31,"src":"Reed_Bunting_thumb.jpg","galleries_id":416100,"width":150});
thumbnails[8097578] = clik.newPhoto({"link":"photo_8097578.html","caption":"Grey Heron","height":150,"id":8097578,"server_id":31,"src":"Heron_thumb.jpg","galleries_id":416100,"width":100});
thumbnails[8097432] = clik.newPhoto({"link":"photo_8097432.html","caption":"Curlew","height":100,"id":8097432,"server_id":31,"src":"Curlew_thumb.jpg","galleries_id":416100,"width":150});
thumbnails[8097404] = clik.newPhoto({"link":"photo_8097404.html","caption":"Egret","height":100,"id":8097404,"server_id":31,"src":"Little_Egret_A_thumb.jpg","galleries_id":416100,"width":150});
thumbnails[8097394] = clik.newPhoto({"link":"photo_8097394.html","caption":"Kestrel","height":100,"id":8097394,"server_id":31,"src":"Kestrel_A_thumb.jpg","galleries_id":416100,"width":150});
thumbnails[8853053] = clik.newPhoto({"link":"photo_8853053.html","caption":"Kestrel","height":100,"id":8853053,"server_id":31,"src":"Kestrel_C_thumb.jpg","galleries_id":416100,"width":150});
thumbnails[8097371] = clik.newPhoto({"link":"photo_8097371.html","caption":"Puffin","height":100,"id":8097371,"server_id":31,"src":"Bempton_Puffin_thumb.jpg","galleries_id":416100,"width":150});
thumbnails[8097357] = clik.newPhoto({"link":"photo_8097357.html","caption":"Razorbill","height":100,"id":8097357,"server_id":31,"src":"Razorbill_B_thumb.jpg","galleries_id":416100,"width":150});
thumbnails[9017749] = clik.newPhoto({"link":"photo_9017749.html","caption":"Red Fox","height":150,"id":9017749,"server_id":31,"src":"Fox_B_thumb.jpg","galleries_id":416101,"width":100});
thumbnails[9017800] = clik.newPhoto({"link":"photo_9017800.html","caption":"Peacock & Echinacea","height":100,"id":9017800,"server_id":31,"src":"Tortoise_Shell_thumb.jpg","galleries_id":416101,"width":150});
thumbnails[8264104] = clik.newPhoto({"link":"photo_8264104.html","caption":"Four Spotted Chaser at Rest","height":100,"id":8264104,"server_id":31,"src":"Four_Spotted_Chaser_at_Rest_thumb.jpg","galleries_id":416101,"width":150});
thumbnails[8202153] = clik.newPhoto({"link":"photo_8202153.html","caption":"Marsh Frog","height":100,"id":8202153,"server_id":31,"src":"Marsh_Frog_A_thumb.jpg","galleries_id":416101,"width":150});
thumbnails[8055773] = clik.newPhoto({"link":"photo_8055773.html","caption":"Fourteen-Spotted Ladybirds","height":150,"id":8055773,"server_id":31,"src":"Tytthaspis_thumb.jpg","galleries_id":416101,"width":150});
thumbnails[8049769] = clik.newPhoto({"link":"photo_8049769.html","caption":"Common Seal Splashback","height":106,"id":8049769,"server_id":31,"src":"Grey_Seal_A_thumb.jpg","galleries_id":416101,"width":150});
thumbnails[8063137] = clik.newPhoto({"link":"photo_8063137.html","caption":"Common Seal","height":100,"id":8063137,"server_id":31,"src":"Grey_Seal_B_thumb.jpg","galleries_id":416101,"width":150});
thumbnails[8063123] = clik.newPhoto({"link":"photo_8063123.html","caption":"Large Skipper","height":106,"id":8063123,"server_id":31,"src":"Large_Skipper_thumb.jpg","galleries_id":416101,"width":150});
thumbnails[8063131] = clik.newPhoto({"link":"photo_8063131.html","caption":"Common Blue","height":106,"id":8063131,"server_id":31,"src":"Common_Blue_A_thumb.jpg","galleries_id":416101,"width":150});
thumbnails[8063129] = clik.newPhoto({"link":"photo_8063129.html","caption":"Common Blue","height":150,"id":8063129,"server_id":31,"src":"Common_Blue_B_thumb.jpg","galleries_id":416101,"width":150});
thumbnails[8342724] = clik.newPhoto({"link":"photo_8342724.html","caption":"Julian Alps","height":100,"id":8342724,"server_id":31,"src":"Julian_Alps_Q_thumb.jpg","galleries_id":442205,"width":150});
thumbnails[8379099] = clik.newPhoto({"link":"photo_8379099.html","caption":"Jereka","height":100,"id":8379099,"server_id":31,"src":"Jereka_Q_thumb.jpg","galleries_id":442205,"width":150});
thumbnails[8333641] = clik.newPhoto({"link":"photo_8333641.html","caption":"Lake Bled Gondolas","height":150,"id":8333641,"server_id":31,"src":"Lake_Bled_Gondolas_Q_thumb.jpg","galleries_id":442205,"width":100});
thumbnails[8343953] = clik.newPhoto({"link":"photo_8343953.html","caption":"Lake Bled Gondolas","height":100,"id":8343953,"server_id":31,"src":"Lake_Bled_Gondolas_C_Q_thumb.jpg","galleries_id":442205,"width":150});
thumbnails[8343268] = clik.newPhoto({"link":"photo_8343268.html","caption":"Podjelje","height":100,"id":8343268,"server_id":31,"src":"Podjelje_Q_thumb.jpg","galleries_id":442205,"width":150});
thumbnails[8342958] = clik.newPhoto({"link":"photo_8342958.html","caption":"Lake Bohinj Canoes","height":100,"id":8342958,"server_id":31,"src":"Lake_Bohinj_Canoes_B_Q_thumb.jpg","galleries_id":442205,"width":150});
thumbnails[8343719] = clik.newPhoto({"link":"photo_8343719.html","caption":"Lake Bohinj Canoes","height":150,"id":8343719,"server_id":31,"src":"Lake_Bohinj_Canoes_A_Q_thumb.jpg","galleries_id":442205,"width":100});
thumbnails[8314508] = clik.newPhoto({"link":"photo_8314508.html","caption":"The Church of St. John","height":100,"id":8314508,"server_id":31,"src":"Ribcev_Laz_Q_thumb.jpg","galleries_id":442205,"width":150});
thumbnails[8320498] = clik.newPhoto({"link":"photo_8320498.html","caption":"Slovenian Church","height":150,"id":8320498,"server_id":31,"src":"Slovenian_Gothic_Q_thumb.jpg","galleries_id":442205,"width":100});
thumbnails[8342861] = clik.newPhoto({"link":"photo_8342861.html","caption":"Sava Bohinjka","height":100,"id":8342861,"server_id":31,"src":"Slap_Savica_Q_thumb.jpg","galleries_id":442205,"width":150});
thumbnails[8848058] = clik.newPhoto({"link":"photo_8848058.html","caption":"Sava Bohinjka","height":150,"id":8848058,"server_id":31,"src":"Slap_Savica_A_thumb.jpg","galleries_id":442205,"width":100});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
galleries[416106] = clik.newGallery({"photoIDs":[9137966,9137899,9137894,9113520,9113515,9070778,9058452,9053905],"link":"gallery_416106.html","skipIndex":0,"section_code":"gallery","id":416106,"parentGallery":"","featured_images":"9137966,9137899,9137894,9113520,9113515,9070778,9058452,9053905","maxRecords":0,"usePopups":true,"singleSection":false,"title":"Latest Work"});galleries[416014] = clik.newGallery({"photoIDs":[],"link":"gallery_416014.html","skipIndex":0,"section_code":"gallery","id":416014,"parentGallery":"","featured_images":"8984828,8966557,8966547,8848287,8848281,8848270,8848058,8728052,8678162,8381597","maxRecords":0,"usePopups":true,"singleSection":false,"title":"Landscapes"});galleries[431726] = clik.newGallery({"photoIDs":[8966557,8848287,8848281,8848270,8728052,8678162,8055638,8073962,8073952,8073926,8049909,8073913,8073896,8073883,8073849,8073824,8049417,8062391,8073690,8073665,8062400,8073629,8073623,8073611,8073608,8062396,8073599,8073506,8073465,8073439,8073424,8073386,8073350,8073321,8073252],"link":"gallery_431726.html","skipIndex":0,"section_code":"gallery","id":431726,"parentGallery":416014,"featured_images":"8966557,8848287,8848281,8848270,8728052,8678162,8073962,8073952,8073926,8073913","maxRecords":0,"usePopups":true,"singleSection":false,"title":"London"});galleries[416104] = clik.newGallery({"photoIDs":[8984828,8966547,8381597,8276205,8049784,8091233,8091083,8090921,8055646,8062423,8090892,8062411,8090803,8090764,8090677,8090656,8090523,8049424,8090510,8090352,8090240,8090225,8090122,8089713,8089696,8049932,8089420],"link":"gallery_416104.html","skipIndex":0,"section_code":"gallery","id":416104,"parentGallery":416014,"featured_images":"8984828,8966547,8381597,8276205,8091233,8091083,8090921,8090892,8090803,8090764","maxRecords":0,"usePopups":true,"singleSection":false,"title":"England"});galleries[416098] = clik.newGallery({"photoIDs":[8049432,8055703,8055707,8062523,8083403,8083387,8083216,8083263,8083189,8083149,8083118,8083094,8062551,8082967,8082890,8082826],"link":"gallery_416098.html","skipIndex":0,"section_code":"gallery","id":416098,"parentGallery":416014,"featured_images":"8083403,8083387,8083263,8083216,8083189,8083149,8083118,8083094,8082967,8082890","maxRecords":0,"usePopups":true,"singleSection":false,"title":"Scotland"});galleries[431711] = clik.newGallery({"photoIDs":[8062640,8055727,8049510,8072585,8062578,8072869],"link":"gallery_431711.html","skipIndex":0,"section_code":"gallery","id":431711,"parentGallery":416014,"featured_images":"8072869,8072585,8062640,8062578,8055727,8049510","maxRecords":0,"usePopups":true,"singleSection":false,"title":"Wales"});galleries[442205] = clik.newGallery({"photoIDs":[8342724,8379099,8333641,8343953,8343268,8342958,8343719,8314508,8320498,8342861,8848058],"link":"gallery_442205.html","skipIndex":0,"section_code":"gallery","id":442205,"parentGallery":416014,"featured_images":"8848058,8379099,8343953,8343719,8343268,8342958,8342861,8342724,8333641,8320498","maxRecords":0,"usePopups":true,"singleSection":false,"title":"Elsewhere"});galleries[416015] = clik.newGallery({"photoIDs":[8413980,8848056,8428955,8264185,8264231,8264158,8251206,8208035,8242120,8242107,8242086,8242027,8049557,8074279,8074232,8055734,8074204,8062814,8063007,8074197,8074052],"link":"gallery_416015.html","skipIndex":0,"section_code":"gallery","id":416015,"parentGallery":"","featured_images":"8848056,8428955,8413980,8264231,8264185,8264158,8251206,8242120,8242107,8242086","maxRecords":0,"usePopups":true,"singleSection":false,"title":"Flora"});galleries[416022] = clik.newGallery({"photoIDs":[],"link":"gallery_416022.html","skipIndex":0,"section_code":"gallery","id":416022,"parentGallery":"","featured_images":"9017800,9017749,8984839,8853053,8382393,8342820,8276436,8276431,8276373,8264104","maxRecords":0,"usePopups":true,"singleSection":false,"title":"Fauna"});galleries[416100] = clik.newGallery({"photoIDs":[8984839,8382393,8342820,8276431,8276436,8276373,8063116,8097804,8097797,8063106,8063101,8097778,8097774,8097767,8097751,8055754,8097745,8097716,8063095,8097677,8097659,8097648,8097642,8049744,8097624,8097604,8097591,8097578,8097432,8097404,8097394,8853053,8097371,8097357],"link":"gallery_416100.html","skipIndex":0,"section_code":"gallery","id":416100,"parentGallery":416022,"featured_images":"8984839,8853053,8382393,8342820,8276436,8276431,8276373,8097804,8097797,8097778","maxRecords":0,"usePopups":true,"singleSection":false,"title":"Birds"});galleries[416101] = clik.newGallery({"photoIDs":[9017749,9017800,8264104,8202153,8055773,8049769,8063137,8063123,8063131,8063129],"link":"gallery_416101.html","skipIndex":0,"section_code":"gallery","id":416101,"parentGallery":416022,"featured_images":"9017800,9017749,8264104,8202153,8063137,8063131,8063129,8063123,8055773,8049769","maxRecords":0,"usePopups":true,"singleSection":false,"title":"Wildlife"});galleries[416097] = clik.newGallery({"photoIDs":[8962007,8961968,8961947,8961925,8848257,8961851,8961844,8848247,8848220,8961810,8848233,8848207,8848203,8848202,8848194,8776277,8728073,8728066,8728062,8728057,8654598,8631512,8631508,8631461,8577254,8539746,8539666,8539696,8539658,8539699,8603346,8533808,8527453,8533826,8496703,8508390,8539647,8539464,8508484,8074766,8074754,8063084,8074745,8074741,8055629,8074733,8074725,8063070,8049585,8063012,8074295],"link":"gallery_416097.html","skipIndex":0,"section_code":"gallery","id":416097,"parentGallery":"","featured_images":"8962007,8961968,8961947,8961925,8961851,8961844,8961810,8848257,8848247,8848233","maxRecords":0,"usePopups":true,"singleSection":false,"title":"Fungi"});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[3] = '9137966,9137899,9137894,9113520,9113515,9070778,9058452,9053905,9017800,9017749,8984839,8984828,8966557,8966547,8962007,8961968,8961947,8961925,8961851,8961844,8961810,8853053,8848287,8848281,8848270,8848257,8848247,8848233,8848220,8848207,8848203,8848202,8848194,8848058,8848056,8776277,8728073,8728066,8728062,8728057,8728052,8678162,8654598,8631512,8631508,8631461,8603346,8577254,8539746,8539699';
imageSets[1] = '9137966,9113520,9053905,8966557,8728052,8678162,8049909,8073896,8073883,8073824,8049417,8062391,8073690,8073665,8062400,8073629,8073623,8073608,8062396,8073599,8073386,8073350,8073252,8984828,8381597,8276205,8091233,8062423,8090764,8090523,8049424,8090240,8090122,8089713,8089696,8049932,8089420,8049432,8055703,8062523,8083387,8083094,8062551,8082890,8082826,8049510,8413980,8428955,8264185,8251206,8242120,8242086,8049557,8074232,8063007,8074052,8962007,8961947,8848257,8961810,8848233,8848202,8848194,8728066,8654598,8631508,8631461,8539696,8533808,8527453,8496703,8508390,8508484,8074741,8049585,8063012,8074295,8382393,8276436,8063116,8097797,8063106,8063101,8097778,8097767,8055754,8063095,8049744,8097624,8097604,8097591,8097394,8853053,8097371,9017800,8264104,8202153,8049769,8063137,8063123,8063131,8379099,8343953,8343268,8342958,8314508';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/iainproudfoot/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/iainproudfoot/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/iainproudfoot/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/iainproudfoot/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/iainproudfoot/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/iainproudfoot/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/iainproudfoot/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/iainproudfoot/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/iainproudfoot/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/iainproudfoot/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/iainproudfoot/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/iainproudfoot/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/iainproudfoot/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/iainproudfoot/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/iainproudfoot/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/iainproudfoot/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/iainproudfoot/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/iainproudfoot/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/iainproudfoot/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/iainproudfoot/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/iainproudfoot/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/iainproudfoot/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/iainproudfoot/images';
		break;
	}
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/iainproudfoot/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/iainproudfoot/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/iainproudfoot/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/iainproudfoot/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 = 'The Photography of Iain Proudfoot: ' + 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="updateCartValue($(this.form).next(\'#paymentForm\')[0],this.form.payment_options_id.options[this.form.payment_options_id.options.selectedIndex].value); if(divShowing(\'paymentConfirm\')){fadeOut(\'paymentConfirm\', 3)};">';
		
		temp += getPaymentOptions(this.payment_groups_id);
		temp += '</select>';
		temp += '</form>';
				var item_option  = paymentGroups[this.payment_groups_id].options[0];
		if(paymentOptions[item_option]){
			var item_name  = paymentOptions[item_option].payment_option;
			var amount =  paymentOptions[item_option].price;
		}
			}
		else {
		
	}
	if (this.item_price !== '' || this.payment_groups_id !== '') {
					temp += '<form id="paymentForm" style="margin:0px;border:0px;" name="paymentForm">';
			temp += '	<input type="hidden" name="item_option" value="' + item_option + '">';
			temp += '	<input type="hidden" name="site" value="IAINPROUDFOOT">';
			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;
	}
}

		

