window.thumbnails = {};
															thumbnails[6405897] = clik.newPhoto({"id":6405897,"src":"bluetit2943_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"bluetit2943","height":94});
															thumbnails[6405898] = clik.newPhoto({"id":6405898,"src":"bluetit4057_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"bluetit4057","height":104});
															thumbnails[6406125] = clik.newPhoto({"id":6406125,"src":"goldfinch3557_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"goldfinch3557","height":163});
															thumbnails[6406126] = clik.newPhoto({"id":6406126,"src":"longtailedtit_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"longtailedtit","height":104});
															thumbnails[6406127] = clik.newPhoto({"id":6406127,"src":"marshtit_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"marshtit","height":94});
															thumbnails[6406128] = clik.newPhoto({"id":6406128,"src":"treecreeper_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"treecreeper","height":130});
															thumbnails[6406129] = clik.newPhoto({"id":6406129,"src":"woodpeckerpair_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"woodpeckerpair","height":184});
															thumbnails[6406200] = clik.newPhoto({"id":6406200,"src":"tench84b_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"tench84b","height":87});
															thumbnails[6406219] = clik.newPhoto({"id":6406219,"src":"russ201_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"russ201","height":136});
															thumbnails[679293] = clik.newPhoto({"id":679293,"src":"robin1.jpg","galleries_id":51908,"server_id":1,"link":"photo_679293.html","width":130,"caption":"Robin","height":130});
															thumbnails[679303] = clik.newPhoto({"id":679303,"src":"fledgelings1.jpg","galleries_id":51908,"server_id":1,"link":"photo_679303.html","width":130,"caption":"Long Tailed Tit fledglings","height":130});
															thumbnails[679310] = clik.newPhoto({"id":679310,"src":"puffin11.jpg","galleries_id":51908,"server_id":1,"link":"photo_679310.html","width":130,"caption":"Puffin","height":130});
															thumbnails[679315] = clik.newPhoto({"id":679315,"src":"hares1.jpg","galleries_id":51909,"server_id":1,"link":"photo_679315.html","width":130,"caption":"Brown Hare","height":130});
															thumbnails[679319] = clik.newPhoto({"id":679319,"src":"bluebells1.jpg","galleries_id":51911,"server_id":1,"link":"photo_679319.html","width":130,"caption":"Bluebells","height":211});
															thumbnails[679320] = clik.newPhoto({"id":679320,"src":"bluebells21.jpg","galleries_id":51911,"server_id":1,"link":"photo_679320.html","width":130,"caption":"Bluebells and Stitchwort","height":80});
															thumbnails[679321] = clik.newPhoto({"id":679321,"src":"chaffinch1.jpg","galleries_id":51908,"server_id":1,"link":"photo_679321.html","width":130,"caption":"Chaffinch","height":130});
															thumbnails[679322] = clik.newPhoto({"id":679322,"src":"donkeys1.jpg","galleries_id":51909,"server_id":1,"link":"photo_679322.html","width":130,"caption":"New Forest Donkeys","height":130});
															thumbnails[679323] = clik.newPhoto({"id":679323,"src":"fox1.jpg","galleries_id":51909,"server_id":1,"link":"photo_679323.html","width":130,"caption":"Fox","height":130});
															thumbnails[679324] = clik.newPhoto({"id":679324,"src":"nuthatch1.jpg","galleries_id":51908,"server_id":1,"link":"photo_679324.html","width":130,"caption":"Nuthatch","height":130});
															thumbnails[679325] = clik.newPhoto({"id":679325,"src":"puffin21.jpg","galleries_id":51908,"server_id":1,"link":"photo_679325.html","width":130,"caption":"Puffin","height":130});
															thumbnails[679326] = clik.newPhoto({"id":679326,"src":"puffin31.jpg","galleries_id":51908,"server_id":1,"link":"photo_679326.html","width":130,"caption":"Puffins","height":130});
															thumbnails[679329] = clik.newPhoto({"id":679329,"src":"waxwing1.jpg","galleries_id":51908,"server_id":1,"link":"photo_679329.html","width":130,"caption":"Waxwing","height":130});
															thumbnails[679331] = clik.newPhoto({"id":679331,"src":"wren1.jpg","galleries_id":51908,"server_id":1,"link":"photo_679331.html","width":130,"caption":"Wren","height":130});
															thumbnails[679983] = clik.newPhoto({"id":679983,"src":"barnowl1.jpg","galleries_id":51908,"server_id":1,"link":"photo_679983.html","width":130,"caption":"Barn Owl","height":130});
															thumbnails[684627] = clik.newPhoto({"id":684627,"src":"dartfordwarbler1.jpg","galleries_id":51908,"server_id":1,"link":"photo_684627.html","width":130,"caption":"Dartford Warbler","height":130});
															thumbnails[684629] = clik.newPhoto({"id":684629,"src":"fallowbuck1.jpg","galleries_id":51909,"server_id":1,"link":"photo_684629.html","width":130,"caption":"Fallow Buck","height":130});
															thumbnails[684630] = clik.newPhoto({"id":684630,"src":"foxcub1.jpg","galleries_id":51909,"server_id":1,"link":"photo_684630.html","width":130,"caption":"Fox Cub","height":130});
															thumbnails[684631] = clik.newPhoto({"id":684631,"src":"foxhead1.jpg","galleries_id":51909,"server_id":1,"link":"photo_684631.html","width":130,"caption":"Fox","height":130});
															thumbnails[684637] = clik.newPhoto({"id":684637,"src":"greattit1.jpg","galleries_id":51908,"server_id":1,"link":"photo_684637.html","width":130,"caption":"Great Tit","height":130});
															thumbnails[684638] = clik.newPhoto({"id":684638,"src":"littleowl1.jpg","galleries_id":51908,"server_id":1,"link":"photo_684638.html","width":130,"caption":"Little Owl","height":130});
															thumbnails[684643] = clik.newPhoto({"id":684643,"src":"muteswan1.jpg","galleries_id":51908,"server_id":1,"link":"photo_684643.html","width":130,"caption":"Mute Swan","height":130});
															thumbnails[684646] = clik.newPhoto({"id":684646,"src":"snowdropJPG1.jpg","galleries_id":51911,"server_id":1,"link":"photo_684646.html","width":130,"caption":"Snowdrop","height":195});
															thumbnails[684648] = clik.newPhoto({"id":684648,"src":"snowdrops1.jpg","galleries_id":51911,"server_id":1,"link":"photo_684648.html","width":130,"caption":"Snowdrops","height":80});
															thumbnails[684685] = clik.newPhoto({"id":684685,"src":"redsquirrel1.jpg","galleries_id":51909,"server_id":1,"link":"photo_684685.html","width":130,"caption":"Red Squirrel","height":87});
															thumbnails[684692] = clik.newPhoto({"id":684692,"src":"redsquirrel21.jpg","galleries_id":51909,"server_id":1,"link":"photo_684692.html","width":130,"caption":"Red Squirrel","height":130});
															thumbnails[684694] = clik.newPhoto({"id":684694,"src":"redsquirrel31.jpg","galleries_id":51909,"server_id":1,"link":"photo_684694.html","width":130,"caption":"Red Squirrel","height":211});
															thumbnails[691310] = clik.newPhoto({"id":691310,"src":"avonJPG1.jpg","galleries_id":51912,"server_id":1,"link":"photo_691310.html","width":130,"caption":"Avon Causeway","height":87});
															thumbnails[691311] = clik.newPhoto({"id":691311,"src":"badgercubsJPG1.jpg","galleries_id":51909,"server_id":1,"link":"photo_691311.html","width":130,"caption":"Badger cubs","height":130});
															thumbnails[691314] = clik.newPhoto({"id":691314,"src":"badgerJPG1.jpg","galleries_id":51909,"server_id":1,"link":"photo_691314.html","width":130,"caption":"Badger boar","height":130});
															thumbnails[691315] = clik.newPhoto({"id":691315,"src":"birdsunriseJPG1.jpg","galleries_id":51912,"server_id":1,"link":"photo_691315.html","width":130,"caption":"Sunrise","height":104});
															thumbnails[691317] = clik.newPhoto({"id":691317,"src":"blackwaterJPG1.jpg","galleries_id":51912,"server_id":1,"link":"photo_691317.html","width":130,"caption":"Black Water","height":87});
															thumbnails[691320] = clik.newPhoto({"id":691320,"src":"blackwatersnowJPG1.jpg","galleries_id":51912,"server_id":1,"link":"photo_691320.html","width":130,"caption":"Black Water","height":104});
															thumbnails[691321] = clik.newPhoto({"id":691321,"src":"bluetitJPG1.jpg","galleries_id":51908,"server_id":1,"link":"photo_691321.html","width":130,"caption":"Blue Tit","height":130});
															thumbnails[691322] = clik.newPhoto({"id":691322,"src":"boulderwoodsnowJPG1.jpg","galleries_id":51912,"server_id":1,"link":"photo_691322.html","width":130,"caption":"Near to Bolder Wood, New Forest","height":87});
															thumbnails[691325] = clik.newPhoto({"id":691325,"src":"clematisJPG1.jpg","galleries_id":51911,"server_id":1,"link":"photo_691325.html","width":130,"caption":"Clematis","height":195});
															thumbnails[691327] = clik.newPhoto({"id":691327,"src":"fusciaJPG1.jpg","galleries_id":51911,"server_id":1,"link":"photo_691327.html","width":130,"caption":"Fushcia","height":87});
															thumbnails[691331] = clik.newPhoto({"id":691331,"src":"hare1.jpg","galleries_id":51909,"server_id":1,"link":"photo_691331.html","width":130,"caption":"Brown Hare","height":163});
															thumbnails[691332] = clik.newPhoto({"id":691332,"src":"pheasantJPG1.jpg","galleries_id":51908,"server_id":1,"link":"photo_691332.html","width":130,"caption":"Pheasant","height":130});
															thumbnails[691333] = clik.newPhoto({"id":691333,"src":"pinemartinJPG1.jpg","galleries_id":51909,"server_id":1,"link":"photo_691333.html","width":130,"caption":"Pine Martin","height":130});
															thumbnails[691334] = clik.newPhoto({"id":691334,"src":"portraitsnowJPG1.jpg","galleries_id":51912,"server_id":1,"link":"photo_691334.html","width":130,"caption":"Bolder Wood","height":195});
															thumbnails[691335] = clik.newPhoto({"id":691335,"src":"seafishermanJPG1.jpg","galleries_id":51912,"server_id":1,"link":"photo_691335.html","width":130,"caption":"Sea fisherman","height":87});
															thumbnails[691336] = clik.newPhoto({"id":691336,"src":"spottedorchidJPG1.jpg","galleries_id":51911,"server_id":1,"link":"photo_691336.html","width":130,"caption":"Spotted Orchid","height":211});
															thumbnails[697525] = clik.newPhoto({"id":697525,"src":"heronJPG1.jpg","galleries_id":51908,"server_id":1,"link":"photo_697525.html","width":130,"caption":"Heron","height":130});
															thumbnails[697528] = clik.newPhoto({"id":697528,"src":"itchenJPG1.jpg","galleries_id":51912,"server_id":1,"link":"photo_697528.html","width":130,"caption":"River Itchen","height":130});
															thumbnails[697529] = clik.newPhoto({"id":697529,"src":"otterJPG1.jpg","galleries_id":51909,"server_id":1,"link":"photo_697529.html","width":130,"caption":"European Otter","height":130});
															thumbnails[697530] = clik.newPhoto({"id":697530,"src":"partridgeJPG1.jpg","galleries_id":51908,"server_id":1,"link":"photo_697530.html","width":130,"caption":"Partridge","height":130});
															thumbnails[697532] = clik.newPhoto({"id":697532,"src":"rabbitJPG1.jpg","galleries_id":51909,"server_id":1,"link":"photo_697532.html","width":130,"caption":"Rabbit","height":130});
															thumbnails[697533] = clik.newPhoto({"id":697533,"src":"roebuckJPG1.jpg","galleries_id":51909,"server_id":1,"link":"photo_697533.html","width":130,"caption":"Roe Deer Buck","height":87});
															thumbnails[697535] = clik.newPhoto({"id":697535,"src":"roedeerJPG1.jpg","galleries_id":51909,"server_id":1,"link":"photo_697535.html","width":130,"caption":"Roe Deer Hind","height":130});
															thumbnails[697536] = clik.newPhoto({"id":697536,"src":"swallownestJPG1.jpg","galleries_id":51908,"server_id":1,"link":"photo_697536.html","width":130,"caption":"Swallow nest","height":130});
															thumbnails[697557] = clik.newPhoto({"id":697557,"src":"hummingbeemothJPG1.jpg","galleries_id":53469,"server_id":1,"link":"photo_697557.html","width":130,"caption":"Hummingbird Hawk Moth","height":80});
															thumbnails[719592] = clik.newPhoto({"id":719592,"src":"itchen1.jpg","galleries_id":51912,"server_id":1,"link":"photo_719592.html","width":130,"caption":"River Itchen, near Brambridge","height":93});
															thumbnails[1238532] = clik.newPhoto({"id":1238532,"src":"bald eagle-02-1JPG1.jpg","galleries_id":51194,"server_id":1,"link":"photo_1238532.html","width":130,"caption":"Bald Eagle","height":87});
															thumbnails[1238535] = clik.newPhoto({"id":1238535,"src":"bald eagle-11-1JPG1.jpg","galleries_id":51194,"server_id":1,"link":"photo_1238535.html","width":130,"caption":"Bald Eagle2","height":87});
															thumbnails[1238537] = clik.newPhoto({"id":1238537,"src":"barn owl-01JPG1.jpg","galleries_id":51194,"server_id":1,"link":"photo_1238537.html","width":130,"caption":"Barn Owl","height":87});
															thumbnails[1238562] = clik.newPhoto({"id":1238562,"src":"barn owl-07JPG1.jpg","galleries_id":51194,"server_id":1,"link":"photo_1238562.html","width":130,"caption":"Barn Owl","height":87});
															thumbnails[1238565] = clik.newPhoto({"id":1238565,"src":"great grey owl-01JPG1.jpg","galleries_id":51194,"server_id":1,"link":"photo_1238565.html","width":130,"caption":"Great Grey Owl","height":109});
															thumbnails[1238567] = clik.newPhoto({"id":1238567,"src":"griffin vulture-25JPG1.jpg","galleries_id":51194,"server_id":1,"link":"photo_1238567.html","width":130,"caption":"Griffin Vulture","height":87});
															thumbnails[1238570] = clik.newPhoto({"id":1238570,"src":"harris hawk-25JPG1.jpg","galleries_id":51194,"server_id":1,"link":"photo_1238570.html","width":130,"caption":"Harris Hawk","height":87});
															thumbnails[1238573] = clik.newPhoto({"id":1238573,"src":"juvenile bateleurs eagle-03JPG1.jpg","galleries_id":51194,"server_id":1,"link":"photo_1238573.html","width":130,"caption":"Juvenile Bateleurs Eagle","height":87});
															thumbnails[1238575] = clik.newPhoto({"id":1238575,"src":"little owl-21JPG1.jpg","galleries_id":51194,"server_id":1,"link":"photo_1238575.html","width":130,"caption":"Little Owl","height":87});
															thumbnails[1238578] = clik.newPhoto({"id":1238578,"src":"little owl-42JPG1.jpg","galleries_id":51194,"server_id":1,"link":"photo_1238578.html","width":130,"caption":"Little owl","height":87});
															thumbnails[1238581] = clik.newPhoto({"id":1238581,"src":"magellan owl chick-30JPG1.jpg","galleries_id":51194,"server_id":1,"link":"photo_1238581.html","width":130,"caption":"Magellan Owl Chick","height":195});
															thumbnails[1238583] = clik.newPhoto({"id":1238583,"src":"milky owl-35JPG1.jpg","galleries_id":51194,"server_id":1,"link":"photo_1238583.html","width":130,"caption":"Milky Eagle owl","height":87});
															thumbnails[1238585] = clik.newPhoto({"id":1238585,"src":"milky owl-44JPG1.jpg","galleries_id":51194,"server_id":1,"link":"photo_1238585.html","width":130,"caption":"Milky Eagle owl","height":87});
															thumbnails[1238586] = clik.newPhoto({"id":1238586,"src":"milky owl-54JPG1.jpg","galleries_id":51194,"server_id":1,"link":"photo_1238586.html","width":130,"caption":"Milky Eagle Owl","height":87});
															thumbnails[1238588] = clik.newPhoto({"id":1238588,"src":"peregrine falcon-05-1JPG1.jpg","galleries_id":51194,"server_id":1,"link":"photo_1238588.html","width":130,"caption":"Peregrine Falcon","height":195});
															thumbnails[1238590] = clik.newPhoto({"id":1238590,"src":"tawny owl-23_edited-1JPG1.jpg","galleries_id":51194,"server_id":1,"link":"photo_1238590.html","width":130,"caption":"Tawny Owl","height":104});
															thumbnails[1238592] = clik.newPhoto({"id":1238592,"src":"tawny owl-78JPG1.jpg","galleries_id":51194,"server_id":1,"link":"photo_1238592.html","width":130,"caption":"Tawny Owl","height":87});
															thumbnails[6405899] = clik.newPhoto({"id":6405899,"src":"coal_tit3784_thumb.jpg","galleries_id":51908,"server_id":1,"link":"photo_6405899.html","width":130,"caption":"coal tit3784","height":104});
															thumbnails[1249887] = clik.newPhoto({"id":1249887,"src":"blackbird3730JPG_thumb.jpg","galleries_id":88554,"server_id":1,"link":"photo_1249887.html","width":130,"caption":"Blackbird","height":87});
															thumbnails[1249896] = clik.newPhoto({"id":1249896,"src":"group4019JPG_thumb.jpg","galleries_id":88554,"server_id":1,"link":"photo_1249896.html","width":130,"caption":"Fulmars, razorbills and a puffin","height":87});
															thumbnails[1260542] = clik.newPhoto({"id":1260542,"src":"black rabbitJPG_thumb.jpg","galleries_id":88554,"server_id":1,"link":"photo_1260542.html","width":130,"caption":"Black rabbit","height":87});
															thumbnails[1778519] = clik.newPhoto({"id":1778519,"src":"avon at downtonJPG_thumb.jpg","galleries_id":51912,"server_id":1,"link":"photo_1778519.html","width":130,"caption":"Avon at Downton","height":87});
															thumbnails[3931254] = clik.newPhoto({"id":3931254,"src":"bittern1_thumb.jpg","galleries_id":51908,"server_id":1,"link":"photo_3931254.html","width":130,"caption":"bittern","height":130});
															thumbnails[3935936] = clik.newPhoto({"id":3935936,"src":"greenwoodpecker001_thumb.jpg","galleries_id":51908,"server_id":1,"link":"photo_3935936.html","width":130,"caption":"Green Woodpecker","height":130});
															thumbnails[3935958] = clik.newPhoto({"id":3935958,"src":"redpoll001_thumb.jpg","galleries_id":51908,"server_id":1,"link":"photo_3935958.html","width":130,"caption":"Red Poll","height":130});
															thumbnails[4907018] = clik.newPhoto({"id":4907018,"src":"IMG_9533001_thumb.jpg","galleries_id":51908,"server_id":1,"link":"photo_4907018.html","width":130,"caption":"Kingfisher","height":87});
															thumbnails[5048483] = clik.newPhoto({"id":5048483,"src":"IMG_1235_thumb.jpg","galleries_id":285670,"server_id":1,"link":"photo_5048483.html","width":130,"caption":"crested tit1235","height":130});
															thumbnails[5053201] = clik.newPhoto({"id":5053201,"src":"golden_eagle0852_thumb.jpg","galleries_id":285670,"server_id":1,"link":"photo_5053201.html","width":130,"caption":"golden eagle0852","height":93});
															thumbnails[5048484] = clik.newPhoto({"id":5048484,"src":"IMG_1237_thumb.jpg","galleries_id":285670,"server_id":1,"link":"photo_5048484.html","width":130,"caption":"crested tit1237","height":130});
															thumbnails[5048485] = clik.newPhoto({"id":5048485,"src":"IMG_1244_thumb.jpg","galleries_id":285670,"server_id":1,"link":"photo_5048485.html","width":130,"caption":"crested tit1244","height":130});
															thumbnails[5048486] = clik.newPhoto({"id":5048486,"src":"IMG_1250_thumb.jpg","galleries_id":285670,"server_id":1,"link":"photo_5048486.html","width":130,"caption":"crested tit1250","height":130});
															thumbnails[5048487] = clik.newPhoto({"id":5048487,"src":"IMG_1256_thumb.jpg","galleries_id":285670,"server_id":1,"link":"photo_5048487.html","width":130,"caption":"crested tit1256","height":130});
															thumbnails[1249888] = clik.newPhoto({"id":1249888,"src":"blackbird3738JPG_thumb.jpg","galleries_id":88554,"server_id":1,"link":"photo_1249888.html","width":130,"caption":"Blackbird","height":87});
															thumbnails[1249897] = clik.newPhoto({"id":1249897,"src":"guillemot4217JPG_thumb.jpg","galleries_id":88554,"server_id":1,"link":"photo_1249897.html","width":130,"caption":"Guillemots","height":87});
															thumbnails[1260543] = clik.newPhoto({"id":1260543,"src":"choughJPG_thumb.jpg","galleries_id":88554,"server_id":1,"link":"photo_1260543.html","width":130,"caption":"chough","height":87});
															thumbnails[1778520] = clik.newPhoto({"id":1778520,"src":"beech treeJPG_thumb.jpg","galleries_id":51912,"server_id":1,"link":"photo_1778520.html","width":130,"caption":"beech tree","height":92});
															thumbnails[3931255] = clik.newPhoto({"id":3931255,"src":"blue_tit1_thumb.jpg","galleries_id":51908,"server_id":1,"link":"photo_3931255.html","width":130,"caption":"blue tit","height":130});
															thumbnails[3935937] = clik.newPhoto({"id":3935937,"src":"mandarins001_thumb.jpg","galleries_id":51908,"server_id":1,"link":"photo_3935937.html","width":130,"caption":"Mandarin ducks","height":130});
															thumbnails[3935959] = clik.newPhoto({"id":3935959,"src":"robin001_thumb.jpg","galleries_id":51908,"server_id":1,"link":"photo_3935959.html","width":130,"caption":"Robin","height":130});
															thumbnails[4907019] = clik.newPhoto({"id":4907019,"src":"IMG_9605001_thumb.jpg","galleries_id":51908,"server_id":1,"link":"photo_4907019.html","width":130,"caption":"Kingfisher","height":87});
															thumbnails[5048488] = clik.newPhoto({"id":5048488,"src":"IMG_1267_thumb.jpg","galleries_id":285670,"server_id":1,"link":"photo_5048488.html","width":130,"caption":"crested tit1267","height":130});
															thumbnails[6405896] = clik.newPhoto({"id":6405896,"src":"bluetit2925_thumb.jpg","galleries_id":51908,"server_id":1,"link":"photo_6405896.html","width":130,"caption":"bluetit2925","height":94});
															thumbnails[5048489] = clik.newPhoto({"id":5048489,"src":"IMG_1317_thumb.jpg","galleries_id":285670,"server_id":1,"link":"photo_5048489.html","width":130,"caption":"crested tit1317","height":130});
															thumbnails[5048490] = clik.newPhoto({"id":5048490,"src":"IMG_1333_thumb.jpg","galleries_id":285670,"server_id":1,"link":"photo_5048490.html","width":130,"caption":"crested tit1333","height":130});
															thumbnails[5048491] = clik.newPhoto({"id":5048491,"src":"IMG_1379_thumb.jpg","galleries_id":285670,"server_id":1,"link":"photo_5048491.html","width":130,"caption":"crested tit1379","height":130});
															thumbnails[5048492] = clik.newPhoto({"id":5048492,"src":"IMG_1384_thumb.jpg","galleries_id":285670,"server_id":1,"link":"photo_5048492.html","width":130,"caption":"crested tit1384","height":130});
															thumbnails[1249889] = clik.newPhoto({"id":1249889,"src":"fulmar3968JPG_thumb.jpg","galleries_id":88554,"server_id":1,"link":"photo_1249889.html","width":130,"caption":"Fulmars","height":87});
															thumbnails[1249898] = clik.newPhoto({"id":1249898,"src":"guillemotflight4049JPG_thumb.jpg","galleries_id":88554,"server_id":1,"link":"photo_1249898.html","width":130,"caption":"Guillemot in flight","height":87});
															thumbnails[1260544] = clik.newPhoto({"id":1260544,"src":"exbury1JPG_thumb.jpg","galleries_id":51912,"server_id":1,"link":"photo_1260544.html","width":130,"caption":"exbury","height":163});
															thumbnails[3931256] = clik.newPhoto({"id":3931256,"src":"brambling_thumb.jpg","galleries_id":51908,"server_id":1,"link":"photo_3931256.html","width":130,"caption":"brambling","height":130});
															thumbnails[3935938] = clik.newPhoto({"id":3935938,"src":"marbled_white001_thumb.jpg","galleries_id":53469,"server_id":1,"link":"photo_3935938.html","width":130,"caption":"Marbled White","height":130});
															thumbnails[3935960] = clik.newPhoto({"id":3935960,"src":"siskin001_thumb.jpg","galleries_id":51908,"server_id":1,"link":"photo_3935960.html","width":130,"caption":"Siskin","height":130});
															thumbnails[4907020] = clik.newPhoto({"id":4907020,"src":"IMG_9651001_thumb.jpg","galleries_id":51908,"server_id":1,"link":"photo_4907020.html","width":130,"caption":"Kingfisher","height":87});
															thumbnails[5053203] = clik.newPhoto({"id":5053203,"src":"golden_eagle0862_thumb.jpg","galleries_id":285670,"server_id":1,"link":"photo_5053203.html","width":130,"caption":"golden eagle0862","height":195});
															thumbnails[1249890] = clik.newPhoto({"id":1249890,"src":"fulmarflight4031JPG_thumb.jpg","galleries_id":88554,"server_id":1,"link":"photo_1249890.html","width":130,"caption":"Fulmar in flight","height":87});
															thumbnails[1249899] = clik.newPhoto({"id":1249899,"src":"gullchick3701JPG_thumb.jpg","galleries_id":88554,"server_id":1,"link":"photo_1249899.html","width":130,"caption":"Herring Gull chick","height":87});
															thumbnails[1778521] = clik.newPhoto({"id":1778521,"src":"black water5175JPG_thumb.jpg","galleries_id":51912,"server_id":1,"link":"photo_1778521.html","width":130,"caption":"Black Water","height":92});
															thumbnails[3931257] = clik.newPhoto({"id":3931257,"src":"coal_tit_thumb.jpg","galleries_id":51908,"server_id":1,"link":"photo_3931257.html","width":130,"caption":"coal tit","height":130});
															thumbnails[3935961] = clik.newPhoto({"id":3935961,"src":"water_vole001_thumb.jpg","galleries_id":51909,"server_id":1,"link":"photo_3935961.html","width":130,"caption":"Water Vole","height":130});
															thumbnails[4907021] = clik.newPhoto({"id":4907021,"src":"IMG_9843001_thumb.jpg","galleries_id":51908,"server_id":1,"link":"photo_4907021.html","width":130,"caption":"Kingfisher","height":87});
															thumbnails[1249891] = clik.newPhoto({"id":1249891,"src":"GBBG3792JPG_thumb.jpg","galleries_id":88554,"server_id":1,"link":"photo_1249891.html","width":130,"caption":"Greater Black Backed gull with a puffin chick","height":87});
															thumbnails[1249900] = clik.newPhoto({"id":1249900,"src":"gullchicks3698JPG_thumb.jpg","galleries_id":88554,"server_id":1,"link":"photo_1249900.html","width":130,"caption":"Lesser Black Backed Gull chicks","height":87});
															thumbnails[1260545] = clik.newPhoto({"id":1260545,"src":"meadow pipit2JPG_thumb.jpg","galleries_id":88554,"server_id":1,"link":"photo_1260545.html","width":130,"caption":"Meadow pippit","height":110});
															thumbnails[3931258] = clik.newPhoto({"id":3931258,"src":"goldfinch_thumb.jpg","galleries_id":51908,"server_id":1,"link":"photo_3931258.html","width":130,"caption":"goldfinch","height":130});
															thumbnails[3935940] = clik.newPhoto({"id":3935940,"src":"Paintedlady001_thumb.jpg","galleries_id":53469,"server_id":1,"link":"photo_3935940.html","width":130,"caption":"Painted Lady","height":130});
															thumbnails[3935962] = clik.newPhoto({"id":3935962,"src":"willow_tit001_thumb.jpg","galleries_id":51908,"server_id":1,"link":"photo_3935962.html","width":130,"caption":"Willow Tit","height":130});
															thumbnails[5053205] = clik.newPhoto({"id":5053205,"src":"IMG_0075_thumb.jpg","galleries_id":285670,"server_id":1,"link":"photo_5053205.html","width":130,"caption":"IMG 0075","height":195});
															thumbnails[1249901] = clik.newPhoto({"id":1249901,"src":"gullflight4044JPG_thumb.jpg","galleries_id":88554,"server_id":1,"link":"photo_1249901.html","width":130,"caption":"Gull in flight","height":87});
															thumbnails[1260546] = clik.newPhoto({"id":1260546,"src":"puffin beaksJPG_thumb.jpg","galleries_id":88554,"server_id":1,"link":"photo_1260546.html","width":130,"caption":"puffin beaks","height":163});
															thumbnails[1249902] = clik.newPhoto({"id":1249902,"src":"Gulls3508JPG_thumb.jpg","galleries_id":88554,"server_id":1,"link":"photo_1249902.html","width":130,"caption":"Gulls","height":87});
															thumbnails[1260547] = clik.newPhoto({"id":1260547,"src":"puffin beddingJPG_thumb.jpg","galleries_id":88554,"server_id":1,"link":"photo_1260547.html","width":130,"caption":"Puffin with bedding","height":87});
															thumbnails[1778522] = clik.newPhoto({"id":1778522,"src":"five bridgesJPG_thumb.jpg","galleries_id":51912,"server_id":1,"link":"photo_1778522.html","width":130,"caption":"Five Bridges","height":163});
															thumbnails[5053207] = clik.newPhoto({"id":5053207,"src":"IMG_0272_thumb.jpg","galleries_id":285670,"server_id":1,"link":"photo_5053207.html","width":130,"caption":"IMG 0272","height":195});
															thumbnails[1249903] = clik.newPhoto({"id":1249903,"src":"oystercatcher3684 (2)JPG_thumb.jpg","galleries_id":88554,"server_id":1,"link":"photo_1249903.html","width":130,"caption":"Oystercatchers","height":87});
															thumbnails[1260548] = clik.newPhoto({"id":1260548,"src":"puffin burrowJPG_thumb.jpg","galleries_id":88554,"server_id":1,"link":"photo_1260548.html","width":130,"caption":"Puffin outside burrow","height":87});
															thumbnails[1778523] = clik.newPhoto({"id":1778523,"src":"meon near droxfordJPG_thumb.jpg","galleries_id":51912,"server_id":1,"link":"photo_1778523.html","width":130,"caption":"Tributary of River Meon","height":87});
															thumbnails[5053209] = clik.newPhoto({"id":5053209,"src":"IMG_02721_thumb.jpg","galleries_id":285670,"server_id":1,"link":"photo_5053209.html","width":130,"caption":"IMG 02721","height":195});
															thumbnails[1249904] = clik.newPhoto({"id":1249904,"src":"oystercatcher3684JPG_thumb.jpg","galleries_id":88554,"server_id":1,"link":"photo_1249904.html","width":130,"caption":"Meadow pippit","height":87});
															thumbnails[1260549] = clik.newPhoto({"id":1260549,"src":"razorbill2JPG_thumb.jpg","galleries_id":88554,"server_id":1,"link":"photo_1260549.html","width":130,"caption":"Razorbill2","height":87});
															thumbnails[1778524] = clik.newPhoto({"id":1778524,"src":"river test5231JPG_thumb.jpg","galleries_id":51912,"server_id":1,"link":"photo_1778524.html","width":130,"caption":"River Test","height":87});
															thumbnails[5053210] = clik.newPhoto({"id":5053210,"src":"IMG_0286_thumb.jpg","galleries_id":285670,"server_id":1,"link":"photo_5053210.html","width":130,"caption":"IMG 0286","height":195});
															thumbnails[1260550] = clik.newPhoto({"id":1260550,"src":"razorbillJPG_thumb.jpg","galleries_id":88554,"server_id":1,"link":"photo_1260550.html","width":130,"caption":"Razorbill","height":87});
															thumbnails[1778525] = clik.newPhoto({"id":1778525,"src":"river testJPG_thumb.jpg","galleries_id":51912,"server_id":1,"link":"photo_1778525.html","width":130,"caption":"River Test, Nursling","height":184});
															thumbnails[5053211] = clik.newPhoto({"id":5053211,"src":"IMG_02861_thumb.jpg","galleries_id":285670,"server_id":1,"link":"photo_5053211.html","width":130,"caption":"IMG 02861","height":195});
															thumbnails[1249905] = clik.newPhoto({"id":1249905,"src":"puffin-017JPG_thumb.jpg","galleries_id":88554,"server_id":1,"link":"photo_1249905.html","width":130,"caption":"Puffin with sandeels","height":87});
															thumbnails[1260551] = clik.newPhoto({"id":1260551,"src":"sedge warbler3JPG_thumb.jpg","galleries_id":88554,"server_id":1,"link":"photo_1260551.html","width":130,"caption":"sedge warbler3","height":110});
															thumbnails[1778526] = clik.newPhoto({"id":1778526,"src":"rufus stoneJPG_thumb.jpg","galleries_id":51912,"server_id":1,"link":"photo_1778526.html","width":130,"caption":"Rufus Stone","height":94});
															thumbnails[1249906] = clik.newPhoto({"id":1249906,"src":"puffin-062JPG_thumb.jpg","galleries_id":88554,"server_id":1,"link":"photo_1249906.html","width":130,"caption":"Puffin","height":87});
															thumbnails[1260552] = clik.newPhoto({"id":1260552,"src":"skomer rabbit6JPG_thumb.jpg","galleries_id":88554,"server_id":1,"link":"photo_1260552.html","width":130,"caption":"skomer rabbit6","height":87});
															thumbnails[1778527] = clik.newPhoto({"id":1778527,"src":"sopley commonJPG_thumb.jpg","galleries_id":51912,"server_id":1,"link":"photo_1778527.html","width":130,"caption":"Sopley Common","height":160});
															thumbnails[5053213] = clik.newPhoto({"id":5053213,"src":"IMG_0352_thumb.jpg","galleries_id":285670,"server_id":1,"link":"photo_5053213.html","width":130,"caption":"IMG 0352","height":195});
															thumbnails[1249907] = clik.newPhoto({"id":1249907,"src":"puffin-075JPG_thumb.jpg","galleries_id":88554,"server_id":1,"link":"photo_1249907.html","width":130,"caption":"Puffins","height":87});
															thumbnails[1260553] = clik.newPhoto({"id":1260553,"src":"wagtail juvenileJPG_thumb.jpg","galleries_id":88554,"server_id":1,"link":"photo_1260553.html","width":130,"caption":"Juvenile Pied Wagtail","height":87});
															thumbnails[1778528] = clik.newPhoto({"id":1778528,"src":"tun bridgeJPG_thumb.jpg","galleries_id":51912,"server_id":1,"link":"photo_1778528.html","width":130,"caption":"Tun Bridge","height":104});
															thumbnails[5053214] = clik.newPhoto({"id":5053214,"src":"IMG_0452_thumb.jpg","galleries_id":285670,"server_id":1,"link":"photo_5053214.html","width":130,"caption":"IMG 0452","height":195});
															thumbnails[1249908] = clik.newPhoto({"id":1249908,"src":"puffin-089JPG_thumb.jpg","galleries_id":88554,"server_id":1,"link":"photo_1249908.html","width":130,"caption":"Puffin group","height":87});
															thumbnails[5053215] = clik.newPhoto({"id":5053215,"src":"IMG_0493_thumb.jpg","galleries_id":285670,"server_id":1,"link":"photo_5053215.html","width":130,"caption":"IMG 0493","height":87});
															thumbnails[1249909] = clik.newPhoto({"id":1249909,"src":"puffin-111JPG_thumb.jpg","galleries_id":88554,"server_id":1,"link":"photo_1249909.html","width":130,"caption":"puffin-111JPG","height":87});
															thumbnails[5053216] = clik.newPhoto({"id":5053216,"src":"IMG_1141_thumb.jpg","galleries_id":285670,"server_id":1,"link":"photo_5053216.html","width":130,"caption":"IMG 1141","height":195});
															thumbnails[1249910] = clik.newPhoto({"id":1249910,"src":"puffin3800JPG_thumb.jpg","galleries_id":88554,"server_id":1,"link":"photo_1249910.html","width":130,"caption":"puffin3800JPG","height":87});
															thumbnails[1249911] = clik.newPhoto({"id":1249911,"src":"puffin3914JPG_thumb.jpg","galleries_id":88554,"server_id":1,"link":"photo_1249911.html","width":130,"caption":"Puffin","height":195});
															thumbnails[1249912] = clik.newPhoto({"id":1249912,"src":"puffin4059JPG_thumb.jpg","galleries_id":88554,"server_id":1,"link":"photo_1249912.html","width":130,"caption":"Puffin landing","height":87});
															thumbnails[1249913] = clik.newPhoto({"id":1249913,"src":"puffin4090JPG_thumb.jpg","galleries_id":88554,"server_id":1,"link":"photo_1249913.html","width":130,"caption":"Puffin pair","height":87});
															thumbnails[1249914] = clik.newPhoto({"id":1249914,"src":"puffingull3928JPG_thumb.jpg","galleries_id":88554,"server_id":1,"link":"photo_1249914.html","width":130,"caption":"Puffin and Lesser Black-backed Gull","height":87});
															thumbnails[1249915] = clik.newPhoto({"id":1249915,"src":"puffinJPG_thumb.jpg","galleries_id":88554,"server_id":1,"link":"photo_1249915.html","width":130,"caption":"Puffin","height":87});
															thumbnails[1249916] = clik.newPhoto({"id":1249916,"src":"puffins3447JPG_thumb.jpg","galleries_id":88554,"server_id":1,"link":"photo_1249916.html","width":130,"caption":"Puffins","height":87});
															thumbnails[1249917] = clik.newPhoto({"id":1249917,"src":"puffins3796JPG_thumb.jpg","galleries_id":88554,"server_id":1,"link":"photo_1249917.html","width":130,"caption":"Puffins","height":87});
															thumbnails[1249918] = clik.newPhoto({"id":1249918,"src":"puffins3901JPG_thumb.jpg","galleries_id":88554,"server_id":1,"link":"photo_1249918.html","width":130,"caption":"Puffins","height":87});
															thumbnails[1249919] = clik.newPhoto({"id":1249919,"src":"puffins4223JPG_thumb.jpg","galleries_id":88554,"server_id":1,"link":"photo_1249919.html","width":130,"caption":"Puffins","height":87});
															thumbnails[1249920] = clik.newPhoto({"id":1249920,"src":"rabbit4289JPG_thumb.jpg","galleries_id":88554,"server_id":1,"link":"photo_1249920.html","width":130,"caption":"Rabbit","height":87});
															thumbnails[1249921] = clik.newPhoto({"id":1249921,"src":"razorbills4007JPG_thumb.jpg","galleries_id":88554,"server_id":1,"link":"photo_1249921.html","width":130,"caption":"Razorbills","height":195});
															thumbnails[1249922] = clik.newPhoto({"id":1249922,"src":"seal4139JPG_thumb.jpg","galleries_id":88554,"server_id":1,"link":"photo_1249922.html","width":130,"caption":"Seal","height":87});
															thumbnails[1249923] = clik.newPhoto({"id":1249923,"src":"seals-6JPG_thumb.jpg","galleries_id":88554,"server_id":1,"link":"photo_1249923.html","width":130,"caption":"Seals","height":87});
															thumbnails[1249924] = clik.newPhoto({"id":1249924,"src":"shearwater3893JPG_thumb.jpg","galleries_id":88554,"server_id":1,"link":"photo_1249924.html","width":130,"caption":"Manx Shearwater","height":87});
															thumbnails[1249925] = clik.newPhoto({"id":1249925,"src":"swallow4152JPG_thumb.jpg","galleries_id":88554,"server_id":1,"link":"photo_1249925.html","width":130,"caption":"Swallow","height":87});
															thumbnails[1249926] = clik.newPhoto({"id":1249926,"src":"wheatear4253JPG_thumb.jpg","galleries_id":88554,"server_id":1,"link":"photo_1249926.html","width":130,"caption":"Wheatear","height":87});
															thumbnails[1249927] = clik.newPhoto({"id":1249927,"src":"wheatear4257JPG_thumb.jpg","galleries_id":88554,"server_id":1,"link":"photo_1249927.html","width":130,"caption":"Wheatear","height":87});
															thumbnails[1249928] = clik.newPhoto({"id":1249928,"src":"wren3674JPG_thumb.jpg","galleries_id":88554,"server_id":1,"link":"photo_1249928.html","width":130,"caption":"Wren","height":87});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[51908] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Birds","link":"gallery_51908.html","maxRecords":0.0,"photoIDs":[679293.0,679303.0,679310.0,679321.0,679324.0,679325.0,679326.0,679329.0,679331.0,679983.0,684627.0,684637.0,684638.0,684643.0,691321.0,691332.0,697525.0,697530.0,697536.0,6405899.0,3931254.0,3935936.0,3935958.0,4907018.0,3931255.0,3935937.0,3935959.0,4907019.0,6405896.0,3931256.0,3935960.0,4907020.0,3931257.0,4907021.0,3931258.0,3935962.0],"skipIndex":0,"section_code":"gallery","featured_images":6405899.0,"id":51908,"singleSection":false});				  						galleries[51909] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Mammals","link":"gallery_51909.html","maxRecords":0.0,"photoIDs":[679315.0,679322.0,679323.0,684629.0,684630.0,684631.0,684685.0,684692.0,684694.0,691311.0,691314.0,691331.0,691333.0,697529.0,697532.0,697533.0,697535.0,3935961.0],"skipIndex":0,"section_code":"gallery","featured_images":691331.0,"id":51909,"singleSection":false});				  						galleries[51911] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Flowers","link":"gallery_51911.html","maxRecords":0.0,"photoIDs":[679319.0,679320.0,684646.0,684648.0,691325.0,691327.0,691336.0],"skipIndex":0,"section_code":"gallery","featured_images":684646.0,"id":51911,"singleSection":false});				  						galleries[51912] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Landscapes","link":"gallery_51912.html","maxRecords":0.0,"photoIDs":[691310.0,691315.0,691317.0,691320.0,691322.0,691334.0,691335.0,697528.0,719592.0,1778519.0,1778520.0,1260544.0,1778521.0,1778522.0,1778523.0,1778524.0,1778525.0,1778526.0,1778527.0,1778528.0],"skipIndex":0,"section_code":"gallery","featured_images":691317.0,"id":51912,"singleSection":false});				  						galleries[53469] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Insects","link":"gallery_53469.html","maxRecords":0.0,"photoIDs":[697557.0,3935938.0,3935940.0],"skipIndex":0,"section_code":"gallery","featured_images":"3935940,3935938,697557","id":53469,"singleSection":false});				  						galleries[51194] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"The Hawk Conservancy","link":"gallery_51194.html","maxRecords":0.0,"photoIDs":[1238532.0,1238535.0,1238537.0,1238562.0,1238565.0,1238567.0,1238570.0,1238573.0,1238575.0,1238578.0,1238581.0,1238583.0,1238585.0,1238586.0,1238588.0,1238590.0,1238592.0],"skipIndex":0,"section_code":"gallery","featured_images":1238532.0,"id":51194,"singleSection":false});				  						galleries[88554] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Skokholm","link":"gallery_88554.html","maxRecords":0.0,"photoIDs":[1249887.0,1249896.0,1260542.0,1249888.0,1249897.0,1260543.0,1249889.0,1249898.0,1249890.0,1249899.0,1249891.0,1249900.0,1260545.0,1249901.0,1260546.0,1249902.0,1260547.0,1249903.0,1260548.0,1249904.0,1260549.0,1260550.0,1249905.0,1260551.0,1249906.0,1260552.0,1249907.0,1260553.0,1249908.0,1249909.0,1249910.0,1249911.0,1249912.0,1249913.0,1249914.0,1249915.0,1249916.0,1249917.0,1249918.0,1249919.0,1249920.0,1249921.0,1249922.0,1249923.0,1249924.0,1249925.0,1249926.0,1249927.0,1249928.0],"skipIndex":0,"section_code":"gallery","featured_images":1249913.0,"id":88554,"singleSection":false});				  						galleries[285670] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Scotland","link":"gallery_285670.html","maxRecords":0.0,"photoIDs":[5048483.0,5053201.0,5048484.0,5048485.0,5048486.0,5048487.0,5048488.0,5048489.0,5048490.0,5048491.0,5048492.0,5053203.0,5053205.0,5053207.0,5053209.0,5053210.0,5053211.0,5053213.0,5053214.0,5053215.0,5053216.0],"skipIndex":0,"section_code":"gallery","featured_images":5048489.0,"id":285670,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '679303';
imageSets[2] = '6406125,6405899,1238532,691331,691317,684646,5048489,1249913';
imageSets[3] = '6406219,6406200,6406129,6406128,6406127,6406126,6406125,6405899,6405898,6405897,6405896,5053216,5053215,5053214,5053213,5053211,5053210,5053209,5053207,5053205,5053203,5053201,5048492,5048491,5048490,5048489,5048488,5048487,5048486,5048485,5048484,5048483,4907021,4907020,4907019,4907018,3935962,3935961,3935960,3935959,3935958,3935940,3935938,3935937,3935936,3931258,3931257,3931256,3931255,3931254';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/russhankey/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/russhankey/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/russhankey/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/russhankey/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/russhankey/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/russhankey/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/russhankey/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/russhankey/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/russhankey/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/russhankey/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/russhankey/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/russhankey/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/russhankey/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/russhankey/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/russhankey/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/russhankey/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/russhankey/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/russhankey/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/russhankey/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/russhankey/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/russhankey/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/russhankey/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/russhankey/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/russhankey/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/russhankey/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/russhankey/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/russhankey/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 = 'Russ Hankey Wildlife Photography: ' + photoCaption;
			    }
        if (op.$detail.length > 0) {
      	temp = op.nextPhoto.fnGetImageDetails();
	    op.$detail.fadeGalleryDetails(temp, op.speed, function(){
			if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
				toggleAddToCartConfirm(backgrounds, op.$detail);
			} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
				toggleAddToCartConfirm(photos, op.$detail);
			}
			$('body').trigger('clikUpdate.popup');
	    });
    }
        $(op.$detailContainer).find('.replaceable[class*=replaceable_photo-]').each(function(){
    	var field = clik.getPrefixedClass(this.className, 'replaceable_photo-');
    	if (field in op.nextPhoto) {
    		$(this).fadeGalleryDetails(op.nextPhoto[field], op.speed);
    	}
    }).end().find('.replaceable.photoPayment').fadeGalleryDetails(op.nextPhoto.fnGetPaymentInfo(), op.speed, function(){
		if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
			toggleAddToCartConfirm(backgrounds, op.$detailContainer);
		} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
			toggleAddToCartConfirm(photos, op.$detailContainer);
		}
		$('body').trigger('clikUpdate.popup');
	});
		if (op.$photo.length > 0) {
		html = $('<img/>',{
			'class': 'mainphoto photo',
			src: photoSrc,
			id: 'mainPic',
			name: 'mainPic',
			width: op.nextPhoto.width,
			height: op.nextPhoto.height,
			alt: photoCaption,
			css: op.css || {}
		});
		if (op.href) {
			if (op.href.match(/<a/)) {
				html = $(op.href).append(html);
			} else {
				html = $('<a/>', {
					href: op.href,
					title: photoCaption
				}).append(html);
			}
		} else {
			html = $('<a/>', {
				title: photoCaption
			}).append(html);
		}
		if (op.speed == 0) {			op.$photo.html(html);			if (op.onBefore) {			  	op.onBefore.apply(op.$photo);			}			if (op.onAfter) {			  	op.onAfter.apply(op.$photo);			}		} else {			op.$photo.stop(true,true).fadeReplaceWith(html,op.speed,'',function(){  				if (op.onAfter) {				  	op.onAfter.apply(this);				}				clik.doColumnResize(false, $(this).add(op.$detail).add(op.$title));			}, op.onBefore);
		}	}
    if (op.field) {
		op.field.value = photoId;
	} else {
		op.$photo.data('image_id', photoId);
    }
        if (!op.speed) {
      	clik.doColumnResize(false, op.$photo.add(op.$detail).add(op.$title));
    }
        
    return html;
	}

/***************************************************************************
* Toggle add to cart confirmation element and set up the click event for   *
* the 'Add to cart' button.                                                *
***************************************************************************/
function toggleAddToCartConfirm(array, root){
	if (typeof(array) !== 'object' || array === null) {
	  	array = photos;
	}
	if (!$(root).length) {		root = $('body');	}	if($('#paymentConfirm', root).length > 0){
		$('#paymentConfirm', root).hide();
		$('#paymentAddButton', root)
		.unbind()
		.click(function(){
						form = $('#paymentForm', root)[0];
			option_id = 0;
			if(form.item_option.value){
				option_id = form.item_option.value;
			}
			if(addItemToBasket(form.item_number.value,array,form.site.value,parseInt(form.quantity.value, 10),option_id)){
				if($.browser.msie){$('#paymentConfirm', root).text('Item added to cart').show();}
				else{
					$('#paymentConfirm', root).text('Item added to cart').fadeIn();
					dspOrderDetails(form.site.value);
				}
			}
			else{
				$('#paymentConfirm', root).text('Item not added - check cookies are enabled in your browser.').fadeIn();
			}
		});
	}
}

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetImageDetails = function(){
	var temp = '';
	if (this.description != '') {
		temp +=  '<div id="imageDescription">' + this.description + '</div>';
	}
		if (this.photo_ref != '') {
		temp += '<div class="imageinfo" id="imageRef"><strong>Ref: </strong>' + this.photo_ref + '</div>';
	}
		if (this.takendate != '') {
		
		temp += '<div class="imageinfo" id="imageDate"><strong>Date: </strong>' + this.takendate + '</div>';
	}
	
	if (this.location != '') {
		
		temp += '<div class="imageinfo" id="imageLocation"><strong>Location: </strong>' +  this.location + '</div>';
	}
	
	if (this.photographer != '') {
		
		temp += '<div class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>' + this.photographer + '</div>';
	}
				
				if (temp != '') {
		temp += '<div class="spacer"></div>';
	}
	return temp;
};

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetPaymentInfo = function(){
	var temp = '';
	if (this.item_price !== '') {
				temp += '<p>Order this print:</p>';
				temp += '<div class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> ' + (this.item_price).toFixed(2) + '</div>';
		var item_name  = this.purchase_instruction;
		var amount = (this.item_price).toFixed(2);
		var item_option  = 0;
	}
		else {
		
	}
	if (this.item_price !== '') {
			temp += '<div class="clearing">&nbsp;</div>';
	}
	return temp;};

/***************************************************************************
* Pick a photo at random from the featured images of a gallery.            *
* Gallery_id = id of gallery to choose,                                    *
* img = reference to html image in                                         *
* which to show image                                                      *
***************************************************************************/
function showGalleryImage(gallery_id, img, updateLink) {
	
	if(img){
		if (location.hash.match('galleries_id=' + gallery_id) && (imageID = location.hash.match('.*photos_id=(.+)$'))) {
		  	imageID = imageID[1];
		} else {
		  	imageID = randomListVal(galleries[gallery_id].featured_images);
		}
		
		if (imageID != 0) {
			img.src = thumbnails[imageID].src;
			img.width = thumbnails[imageID].width;
			img.height = thumbnails[imageID].height;
			img.alt = galleries[gallery_id].title;
			if (updateLink) {
				$(img).parent().attr({					title: galleries[gallery_id].title				}).filter(function(){return this.href;}).attr({					href: thumbnails[imageID].fnGalleryLink(gallery_id)				});
			}
		}
	}
}

/***************************************************************************
* If we have dynamic HTML, replace the galleries link with a list that     *
* doesn't include thecurrent gallery                                       *
***************************************************************************/
function showGalleries(gallery_id) {
		
	
	if (!basic) {
		temp = '';
		for (i = 0; i < galleries.length; i++) {
						
			
			if (galleries[i].id != gallery_id) {
								
				if (temp != '') {
					temp += ' | ';
				}
								temp += '<a href="' + galleries[i].section_code + '_' + galleries[i].id + '.html">' + galleries[i].title + '</a>';
							}
		}
		document.all.galleryLinks.innerHTML = 'Other galleries: ' + temp;
	}
}

			

