window.thumbnails = {};
															thumbnails[2134940] = clik.newPhoto({"id":2134940,"src":"RST with camera1_thumb.jpg","galleries_id":"","server_id":32,"link":"#","width":130,"caption":"","height":111});
															thumbnails[2138131] = clik.newPhoto({"id":2138131,"src":"RST with camera 3_thumb.jpg","galleries_id":"","server_id":32,"link":"#","width":130,"caption":"","height":107});
															thumbnails[5754964] = clik.newPhoto({"id":5754964,"src":"Nuthatch_thumb.jpg","galleries_id":"","server_id":32,"link":"#","width":130,"caption":"Nuthatch","height":98});
															thumbnails[5829466] = clik.newPhoto({"id":5829466,"src":"Red_Kite_glide_thumb.jpg","galleries_id":"","server_id":32,"link":"#","width":130,"caption":"Red Kite gliding","height":87});
															thumbnails[5851500] = clik.newPhoto({"id":5851500,"src":"Goat_reclining_thumb.jpg","galleries_id":"","server_id":32,"link":"#","width":130,"caption":"Wild Kashmir goat on the Great Orme, Llandudno","height":87});
															thumbnails[6020426] = clik.newPhoto({"id":6020426,"src":"Chaffinch_in_flight_m_thumb.jpg","galleries_id":"","server_id":32,"link":"#","width":130,"caption":"Male Chaffinch in flight","height":173});
															thumbnails[6075732] = clik.newPhoto({"id":6075732,"src":"Richard_with_camera_tripod_thumb.jpg","galleries_id":"","server_id":32,"link":"#","width":130,"caption":"RST with camera and tripod","height":173});
															thumbnails[6304386] = clik.newPhoto({"id":6304386,"src":"Barn_Owl_Chick_Tyto_Alba_thumb.jpg","galleries_id":"","server_id":32,"link":"#","width":130,"caption":"Barn Owl Chick Tyto Albacontrolled conditions","height":98});
															thumbnails[6306723] = clik.newPhoto({"id":6306723,"src":"Marsh_Frog_thumb.jpg","galleries_id":"","server_id":32,"link":"#","width":130,"caption":"Marsh Frog","height":98});
															thumbnails[6668484] = clik.newPhoto({"id":6668484,"src":"Puffin_flight_10_thumb.jpg","galleries_id":"","server_id":32,"link":"#","width":130,"caption":"Puffin in flight with eels","height":98});
															thumbnails[7202797] = clik.newPhoto({"id":7202797,"src":"Jay_-_web_thumb.jpg","galleries_id":"","server_id":32,"link":"#","width":160,"caption":"Jay - headshot","height":240});
															thumbnails[3410252] = clik.newPhoto({"id":3410252,"src":"View from the Lodge_MG_4470_thumb.jpg","galleries_id":"","server_id":32,"link":"#","width":130,"caption":"Crater view from Lodge","height":87});
															thumbnails[7482180] = clik.newPhoto({"id":7482180,"src":"Golden_Eagle_with_fox_snow_storm1234_thumb.jpg","galleries_id":"","server_id":32,"link":"#","width":160,"caption":"","height":107});
															thumbnails[3747906] = clik.newPhoto({"id":3747906,"src":"Gt_Spotted_Woodpecker_MG_8068_copy_thumb.jpg","galleries_id":154673,"server_id":32,"link":"photo_3747906.html","width":130,"caption":"Great Spotted Woodpecker","height":195});
															thumbnails[2945616] = clik.newPhoto({"id":2945616,"src":"White tailed Sea Eagle comp_thumb.jpg","galleries_id":140424,"server_id":32,"link":"photo_2945616.html","width":130,"caption":"White Tailed Sea Eagle","height":162});
															thumbnails[2950554] = clik.newPhoto({"id":2950554,"src":"Red Grouse _thumb.jpg","galleries_id":140424,"server_id":32,"link":"photo_2950554.html","width":130,"caption":"Red Grouse","height":98});
															thumbnails[2950557] = clik.newPhoto({"id":2950557,"src":"Red Grouse close up_thumb.jpg","galleries_id":140424,"server_id":32,"link":"photo_2950557.html","width":130,"caption":"Red Grouse","height":173});
															thumbnails[3098717] = clik.newPhoto({"id":3098717,"src":"Sunset in the Dolomites_thumb.jpg","galleries_id":140641,"server_id":32,"link":"photo_3098717.html","width":130,"caption":"Sunset over the Dolomites","height":98});
															thumbnails[3098719] = clik.newPhoto({"id":3098719,"src":"From 6000 feet in the Dolomites_thumb.jpg","galleries_id":140641,"server_id":32,"link":"photo_3098719.html","width":130,"caption":"The Dolomites from 6000 feet","height":98});
															thumbnails[3179059] = clik.newPhoto({"id":3179059,"src":"IMG_0014LR_thumb.jpg","galleries_id":140639,"server_id":32,"link":"photo_3179059.html","width":130,"caption":"Grey Seals","height":87});
															thumbnails[3179081] = clik.newPhoto({"id":3179081,"src":"IMG_0008LR_thumb.jpg","galleries_id":140639,"server_id":32,"link":"photo_3179081.html","width":130,"caption":"Grey Seals","height":163});
															thumbnails[3179084] = clik.newPhoto({"id":3179084,"src":"IMG_0011LR_thumb.jpg","galleries_id":140639,"server_id":32,"link":"photo_3179084.html","width":130,"caption":"Grey Seals","height":87});
															thumbnails[3179086] = clik.newPhoto({"id":3179086,"src":"IMG_0012LR_thumb.jpg","galleries_id":140639,"server_id":32,"link":"photo_3179086.html","width":130,"caption":"Grey Seals","height":87});
															thumbnails[3235910] = clik.newPhoto({"id":3235910,"src":"Grey Seals 9 LR_thumb.jpg","galleries_id":140639,"server_id":32,"link":"photo_3235910.html","width":130,"caption":"Grey Seals","height":81});
															thumbnails[3656270] = clik.newPhoto({"id":3656270,"src":"Mute_Swan_2LR_copy_thumb.jpg","galleries_id":154673,"server_id":32,"link":"photo_3656270.html","width":130,"caption":"Mute Swan","height":195});
															thumbnails[3677956] = clik.newPhoto({"id":3677956,"src":"Bullfinch2_MG_7101_copy_thumb.jpg","galleries_id":154673,"server_id":32,"link":"photo_3677956.html","width":130,"caption":"Bullfinch","height":87});
															thumbnails[3677968] = clik.newPhoto({"id":3677968,"src":"Oyster_Catcher_MG_7241_thumb.jpg","galleries_id":154673,"server_id":32,"link":"photo_3677968.html","width":130,"caption":"Oyster Catcher","height":87});
															thumbnails[3703846] = clik.newPhoto({"id":3703846,"src":"Blue_Tit_MG_5410_copy_thumb.jpg","galleries_id":154673,"server_id":32,"link":"photo_3703846.html","width":130,"caption":"Blue Tit","height":195});
															thumbnails[3718293] = clik.newPhoto({"id":3718293,"src":"Jay2_thumb.jpg","galleries_id":154673,"server_id":32,"link":"photo_3718293.html","width":130,"caption":"Jay","height":195});
															thumbnails[3718296] = clik.newPhoto({"id":3718296,"src":"Gt_Spotted_Woodepecker1_thumb.jpg","galleries_id":154673,"server_id":32,"link":"photo_3718296.html","width":130,"caption":"Great Spotted Woodpecker","height":195});
															thumbnails[3939261] = clik.newPhoto({"id":3939261,"src":"Cheetah_MG_3144_copy_thumb.jpg","galleries_id":206602,"server_id":32,"link":"photo_3939261.html","width":130,"caption":"Cheetah","height":195});
															thumbnails[3984172] = clik.newPhoto({"id":3984172,"src":"Gt_Crested_Grebe_MG_0250_copy_thumb.jpg","galleries_id":154673,"server_id":32,"link":"photo_3984172.html","width":130,"caption":"Great Crested Grebe","height":87});
															thumbnails[4234535] = clik.newPhoto({"id":4234535,"src":"Sunflower_field_IMG_1449_thumb.jpg","galleries_id":140640,"server_id":32,"link":"photo_4234535.html","width":130,"caption":"Sunflower Field","height":98});
															thumbnails[4416554] = clik.newPhoto({"id":4416554,"src":"Cheetah_poised2_MG_1758_copy_thumb.jpg","galleries_id":206602,"server_id":32,"link":"photo_4416554.html","width":130,"caption":"Cheetah ","height":163});
															thumbnails[4428008] = clik.newPhoto({"id":4428008,"src":"Cormorant1_MG_1810_thumb.jpg","galleries_id":272484,"server_id":32,"link":"photo_4428008.html","width":130,"caption":"Juvenile Cormorant","height":163});
															thumbnails[4428016] = clik.newPhoto({"id":4428016,"src":"K000_MG_1805_thumb.jpg","galleries_id":272484,"server_id":32,"link":"photo_4428016.html","width":130,"caption":"Kingfisher Pair","height":104});
															thumbnails[4600294] = clik.newPhoto({"id":4600294,"src":"Red_Grouse_IMG_7152_copy_thumb.jpg","galleries_id":272484,"server_id":32,"link":"photo_4600294.html","width":130,"caption":"Red Grouse","height":163});
															thumbnails[4611864] = clik.newPhoto({"id":4611864,"src":"Red_Grouse_close_up_thumb.jpg","galleries_id":272484,"server_id":32,"link":"photo_4611864.html","width":130,"caption":"Red Grouse","height":173});
															thumbnails[4699167] = clik.newPhoto({"id":4699167,"src":"Cheetah_on_the_move_MG_248212_thumb.jpg","galleries_id":206602,"server_id":32,"link":"photo_4699167.html","width":130,"caption":"Cheetah on the move","height":195});
															thumbnails[4723816] = clik.newPhoto({"id":4723816,"src":"Angry_Cub_MG_1051_copy_thumb.jpg","galleries_id":206602,"server_id":32,"link":"photo_4723816.html","width":130,"caption":"Cheetah Cub","height":104});
															thumbnails[4752185] = clik.newPhoto({"id":4752185,"src":"Sea_Eagle_2_MG_2818_thumb.jpg","galleries_id":154673,"server_id":32,"link":"photo_4752185.html","width":130,"caption":"White tailed Sea Eagle","height":87});
															thumbnails[5299845] = clik.newPhoto({"id":5299845,"src":"Mute_Swan_thumb.jpg","galleries_id":297143,"server_id":32,"link":"photo_5299845.html","width":130,"caption":"Mute Swan at dawn in December","height":195});
															thumbnails[5355673] = clik.newPhoto({"id":5355673,"src":"Robin_close_up_thumb.jpg","galleries_id":297143,"server_id":32,"link":"photo_5355673.html","width":130,"caption":"Robin in snow","height":195});
															thumbnails[5363819] = clik.newPhoto({"id":5363819,"src":"Cheetah_Cub_thumb.jpg","galleries_id":206602,"server_id":32,"link":"photo_5363819.html","width":130,"caption":"Cheetah Cub","height":195});
															thumbnails[5446711] = clik.newPhoto({"id":5446711,"src":"Mute_Swan_on_icy_blue_water_thumb.jpg","galleries_id":297143,"server_id":32,"link":"photo_5446711.html","width":130,"caption":"Mute Swan on icy blue water","height":173});
															thumbnails[5528341] = clik.newPhoto({"id":5528341,"src":"Petes_feeder_thumb.jpg","galleries_id":278607,"server_id":32,"link":"photo_5528341.html","width":130,"caption":"Red Squirrel ingenuity","height":87});
															thumbnails[6293467] = clik.newPhoto({"id":6293467,"src":"Arctic_Tern_hovering_thumb.jpg","galleries_id":348711,"server_id":32,"link":"photo_6293467.html","width":130,"caption":"Arctic Tern hovering","height":98});
															thumbnails[6293469] = clik.newPhoto({"id":6293469,"src":"Puffin1_thumb.jpg","galleries_id":348711,"server_id":32,"link":"photo_6293469.html","width":130,"caption":"Puffin","height":173});
															thumbnails[6293477] = clik.newPhoto({"id":6293477,"src":"Puffin_flight_2_thumb.jpg","galleries_id":348711,"server_id":32,"link":"photo_6293477.html","width":130,"caption":"Puffin in flight","height":98});
															thumbnails[6293478] = clik.newPhoto({"id":6293478,"src":"Puffin_with_sea_eels_thumb.jpg","galleries_id":348711,"server_id":32,"link":"photo_6293478.html","width":130,"caption":"Puffin with sand eels","height":173});
															thumbnails[6293480] = clik.newPhoto({"id":6293480,"src":"Puffin_MG_7599_copy_thumb.jpg","galleries_id":348711,"server_id":32,"link":"photo_6293480.html","width":130,"caption":"Puffin","height":173});
															thumbnails[6295461] = clik.newPhoto({"id":6295461,"src":"Puffin_wings_spread_thumb.jpg","galleries_id":348711,"server_id":32,"link":"photo_6295461.html","width":130,"caption":"Puffin with wings spread","height":87});
															thumbnails[6295497] = clik.newPhoto({"id":6295497,"src":"Atlantic_Grey_Seals_thumb.jpg","galleries_id":348711,"server_id":32,"link":"photo_6295497.html","width":130,"caption":"Atlantic Grey Seals on the rocks","height":98});
															thumbnails[6315327] = clik.newPhoto({"id":6315327,"src":"Litttle_Grebe_LR_thumb.jpg","galleries_id":154673,"server_id":32,"link":"photo_6315327.html","width":130,"caption":"Little Grebe","height":98});
															thumbnails[6480335] = clik.newPhoto({"id":6480335,"src":"Dog_Fox_1_thumb.jpg","galleries_id":154673,"server_id":32,"link":"photo_6480335.html","width":130,"caption":"Dog Fox (controlled conditions)","height":87});
															thumbnails[6480360] = clik.newPhoto({"id":6480360,"src":"Dog_Otter_1_thumb.jpg","galleries_id":154673,"server_id":32,"link":"photo_6480360.html","width":130,"caption":"Otter (controlled conditions)","height":173});
															thumbnails[6480404] = clik.newPhoto({"id":6480404,"src":"Little_Owl_3_1_thumb.jpg","galleries_id":154673,"server_id":32,"link":"photo_6480404.html","width":130,"caption":"Little Owl (controlled conditions)","height":98});
															thumbnails[6480415] = clik.newPhoto({"id":6480415,"src":"Scottish_Wildcat_1_thumb.jpg","galleries_id":154673,"server_id":32,"link":"photo_6480415.html","width":130,"caption":"Scottish Wildcat (controlled conditions)","height":98});
															thumbnails[6480439] = clik.newPhoto({"id":6480439,"src":"Polecat_1_thumb.jpg","galleries_id":154673,"server_id":32,"link":"photo_6480439.html","width":130,"caption":"Polecat (controlled conditions)","height":98});
															thumbnails[6480458] = clik.newPhoto({"id":6480458,"src":"Badger_cub_1_thumb.jpg","galleries_id":154673,"server_id":32,"link":"photo_6480458.html","width":130,"caption":"Badger cub (controlled conditions)","height":98});
															thumbnails[6668468] = clik.newPhoto({"id":6668468,"src":"Blue_Tit_101_thumb.jpg","galleries_id":154673,"server_id":32,"link":"photo_6668468.html","width":130,"caption":"Blue Tit on berries","height":195});
															thumbnails[7048048] = clik.newPhoto({"id":7048048,"src":"Bank_Vole_thumb.jpg","galleries_id":146539,"server_id":32,"link":"photo_7048048.html","width":160,"caption":"Timid bank vole","height":240});
															thumbnails[7048058] = clik.newPhoto({"id":7048058,"src":"Grey_Squirrel_thumb.jpg","galleries_id":154673,"server_id":32,"link":"photo_7048058.html","width":160,"caption":"Grey Squirrel","height":107});
															thumbnails[7048062] = clik.newPhoto({"id":7048062,"src":"Kingfisher_thumb.jpg","galleries_id":146539,"server_id":32,"link":"photo_7048062.html","width":160,"caption":"Kingfisher","height":240});
															thumbnails[7345931] = clik.newPhoto({"id":7345931,"src":"White_tailed_Sea_Eagle_Hshot_LR_thumb.jpg","galleries_id":146539,"server_id":32,"link":"photo_7345931.html","width":160,"caption":"White tailed Sea Eagle","height":107});
															thumbnails[8038966] = clik.newPhoto({"id":8038966,"src":"Reed_Warbler__thumb.jpg","galleries_id":421094,"server_id":32,"link":"photo_8038966.html","width":160,"caption":"Reed Warbler","height":240});
															thumbnails[8038969] = clik.newPhoto({"id":8038969,"src":"Reed_Warbler_2__thumb.jpg","galleries_id":421094,"server_id":32,"link":"photo_8038969.html","width":160,"caption":"Reed Warbler","height":240});
															thumbnails[8038971] = clik.newPhoto({"id":8038971,"src":"Grey_Heron_fishing_thumb.jpg","galleries_id":421094,"server_id":32,"link":"photo_8038971.html","width":160,"caption":"Grey Heron fishing","height":107});
															thumbnails[8038976] = clik.newPhoto({"id":8038976,"src":"Female_Marsh_Harrier_LR_thumb.jpg","galleries_id":421094,"server_id":32,"link":"photo_8038976.html","width":160,"caption":"Female Marsh Harrier","height":107});
															thumbnails[8038981] = clik.newPhoto({"id":8038981,"src":"Gt_Crested_Grebe_thumb.jpg","galleries_id":421094,"server_id":32,"link":"photo_8038981.html","width":160,"caption":"Great Crested Grebe","height":107});
															thumbnails[8150588] = clik.newPhoto({"id":8150588,"src":"Lioness_thumb.jpg","galleries_id":421094,"server_id":32,"link":"photo_8150588.html","width":160,"caption":"Lioness stalking","height":107});
															thumbnails[8442876] = clik.newPhoto({"id":8442876,"src":"Aquatic_Warbler_LR_thumb.jpg","galleries_id":146539,"server_id":32,"link":"photo_8442876.html","width":160,"caption":"Aquatic Warbler","height":240});
															thumbnails[8656090] = clik.newPhoto({"id":8656090,"src":"Chaffinch_Fem12_thumb.jpg","galleries_id":146539,"server_id":32,"link":"photo_8656090.html","width":160,"caption":"Female Chaffinch","height":107});
															thumbnails[8656094] = clik.newPhoto({"id":8656094,"src":"Dunnock_LR12_thumb.jpg","galleries_id":146539,"server_id":32,"link":"photo_8656094.html","width":160,"caption":"Dunnock","height":107});
															thumbnails[8656097] = clik.newPhoto({"id":8656097,"src":"Gt_Spotted_Woodpecker_LR12_thumb.jpg","galleries_id":146539,"server_id":32,"link":"photo_8656097.html","width":160,"caption":"Great Spotted Woodpecker","height":240});
															thumbnails[8656098] = clik.newPhoto({"id":8656098,"src":"Mallard_bathing_212_thumb.jpg","galleries_id":146539,"server_id":32,"link":"photo_8656098.html","width":160,"caption":"Mallard bathing","height":120});
															thumbnails[8656100] = clik.newPhoto({"id":8656100,"src":"Red_Squirrel_upside_down12_thumb.jpg","galleries_id":146539,"server_id":32,"link":"photo_8656100.html","width":160,"caption":"Cheeky Red Squirrel","height":213});
															thumbnails[8656102] = clik.newPhoto({"id":8656102,"src":"Robin_LR12_thumb.jpg","galleries_id":146539,"server_id":32,"link":"photo_8656102.html","width":160,"caption":"Robin","height":107});
															thumbnails[8656104] = clik.newPhoto({"id":8656104,"src":"Sparrow_feeding_chick12_thumb.jpg","galleries_id":146539,"server_id":32,"link":"photo_8656104.html","width":160,"caption":"House sparrow feeding young","height":107});
															thumbnails[8656887] = clik.newPhoto({"id":8656887,"src":"Afriacn_Bull_Elephant2_MG_0668_thumb.jpg","galleries_id":206602,"server_id":32,"link":"photo_8656887.html","width":160,"caption":"African Bull Elephant","height":133});
															thumbnails[8657042] = clik.newPhoto({"id":8657042,"src":"Kingfisher_perched_MG_2063_copy_thumb.jpg","galleries_id":146539,"server_id":32,"link":"photo_8657042.html","width":160,"caption":"Kingfisher","height":200});
															thumbnails[8657327] = clik.newPhoto({"id":8657327,"src":"Last_poppy_among_the_stubble_thumb.jpg","galleries_id":140640,"server_id":32,"link":"photo_8657327.html","width":160,"caption":"Last Poppy of summer","height":70});
															thumbnails[8662942] = clik.newPhoto({"id":8662942,"src":"Bald_Eagle_thumb.jpg","galleries_id":140424,"server_id":32,"link":"photo_8662942.html","width":160,"caption":"Bald Eagle","height":240});
															thumbnails[8662944] = clik.newPhoto({"id":8662944,"src":"Martial_Eagle_thumb.jpg","galleries_id":140424,"server_id":32,"link":"photo_8662944.html","width":160,"caption":"Humourless Martial Eagle","height":240});
															thumbnails[8662956] = clik.newPhoto({"id":8662956,"src":"Barn_Owl_screeching1_thumb.jpg","galleries_id":140424,"server_id":32,"link":"photo_8662956.html","width":160,"caption":"Barn Owl screeching","height":107});
															thumbnails[8684185] = clik.newPhoto({"id":8684185,"src":"Eagle_LR_thumb.jpg","galleries_id":403217,"server_id":32,"link":"photo_8684185.html","width":160,"caption":"Golden Eagle with deer prey","height":240});
															thumbnails[8730928] = clik.newPhoto({"id":8730928,"src":"Goldfinch_thumb.jpg","galleries_id":458698,"server_id":32,"link":"photo_8730928.html","width":160,"caption":"Goldfinch","height":240});
															thumbnails[8731013] = clik.newPhoto({"id":8731013,"src":"Greenshank_LR_thumb.jpg","galleries_id":458698,"server_id":32,"link":"photo_8731013.html","width":160,"caption":"Greenshank on the mudflats","height":107});
															thumbnails[8759964] = clik.newPhoto({"id":8759964,"src":"Rad_3_LR_thumb.jpg","galleries_id":458698,"server_id":32,"link":"photo_8759964.html","width":160,"caption":"Border Collie Puppy","height":107});
															thumbnails[8781241] = clik.newPhoto({"id":8781241,"src":"1st_time_out_thumb.jpg","galleries_id":458698,"server_id":32,"link":"photo_8781241.html","width":160,"caption":"Radcliffe's first time outside after her jabs","height":107});
															thumbnails[8841135] = clik.newPhoto({"id":8841135,"src":"RK6_high_CCF0510E-1E4F-37DC-71CE6447224D4165_thumb.jpg","galleries_id":458698,"server_id":32,"link":"photo_8841135.html","width":160,"caption":"Red Kite","height":107});
															thumbnails[8848610] = clik.newPhoto({"id":8848610,"src":"RK4HR_thumb.jpg","galleries_id":458698,"server_id":32,"link":"photo_8848610.html","width":160,"caption":"Red Kite","height":107});
															thumbnails[8849510] = clik.newPhoto({"id":8849510,"src":"Web_red1_thumb.jpg","galleries_id":458698,"server_id":32,"link":"photo_8849510.html","width":260,"caption":"Spider web in misty November","height":390});
															thumbnails[8849514] = clik.newPhoto({"id":8849514,"src":"Web_clear1_thumb.jpg","galleries_id":458698,"server_id":32,"link":"photo_8849514.html","width":260,"caption":"Spider web in misty November","height":390});
															thumbnails[9067113] = clik.newPhoto({"id":9067113,"src":"Moose_thumb.jpg","galleries_id":478190,"server_id":32,"link":"photo_9067113.html","width":260,"caption":"Moose","height":173});
															thumbnails[3681420] = clik.newPhoto({"id":3681420,"src":"Spring_Flowers_MG_7443_copy_thumb.jpg","galleries_id":140640,"server_id":32,"link":"photo_3681420.html","width":130,"caption":"Spring Flowers","height":87});
															thumbnails[3384514] = clik.newPhoto({"id":3384514,"src":"Cheetah hunting_MG_3171_thumb.jpg","galleries_id":206602,"server_id":32,"link":"photo_3384514.html","width":130,"caption":"Cheetah Hunting (female)","height":87});
															thumbnails[4886324] = clik.newPhoto({"id":4886324,"src":"Red_S_MG_3246_cover_thumb.jpg","galleries_id":278607,"server_id":32,"link":"photo_4886324.html","width":130,"caption":"Red Squirrel","height":156});
															thumbnails[6052945] = clik.newPhoto({"id":6052945,"src":"Capercaillie1_thumb.jpg","galleries_id":340065,"server_id":32,"link":"photo_6052945.html","width":130,"caption":"Capercaillie","height":87});
															thumbnails[7481483] = clik.newPhoto({"id":7481483,"src":"Golden_Eagle_1_thumb.jpg","galleries_id":403217,"server_id":32,"link":"photo_7481483.html","width":160,"caption":"Golden Eagle on Red Fox carcass in snow","height":107});
															thumbnails[7795779] = clik.newPhoto({"id":7795779,"src":"Gannet_flight_LR_thumb.jpg","galleries_id":421094,"server_id":32,"link":"photo_7795779.html","width":160,"caption":"","height":107});
															thumbnails[8442781] = clik.newPhoto({"id":8442781,"src":"Kestrel_LR_thumb.jpg","galleries_id":146539,"server_id":32,"link":"photo_8442781.html","width":160,"caption":"Kestrel","height":107});
															thumbnails[8619023] = clik.newPhoto({"id":8619023,"src":"White_Tailed_Sea_Eagle_landing_thumb.jpg","galleries_id":403217,"server_id":32,"link":"photo_8619023.html","width":160,"caption":"White tailed Sea Eagle","height":107});
															thumbnails[8979987] = clik.newPhoto({"id":8979987,"src":"SEO_in_the_evening_thumb.jpg","galleries_id":468408,"server_id":32,"link":"photo_8979987.html","width":260,"caption":"Short Eared Owl","height":173});
															thumbnails[9066284] = clik.newPhoto({"id":9066284,"src":"_MG_0907_thumb.jpg","galleries_id":478132,"server_id":32,"link":"photo_9066284.html","width":260,"caption":"Aurora Borealis","height":173});
															thumbnails[9067091] = clik.newPhoto({"id":9067091,"src":"Reindeer_foraging_in_snow_thumb.jpg","galleries_id":478190,"server_id":32,"link":"photo_9067091.html","width":260,"caption":"Reindeer foraging in snow","height":173});
															thumbnails[3384706] = clik.newPhoto({"id":3384706,"src":"Long Tailed [Fiscal] Shrike  IMG_9611_thumb.jpg","galleries_id":206603,"server_id":32,"link":"photo_3384706.html","width":130,"caption":"Long-tailed Shrike","height":195});
															thumbnails[4885766] = clik.newPhoto({"id":4885766,"src":"Red_S_MG_3069_thumb.jpg","galleries_id":278607,"server_id":32,"link":"photo_4885766.html","width":130,"caption":"Red Squirrel","height":104});
															thumbnails[5171773] = clik.newPhoto({"id":5171773,"src":"Jay_thumb.jpg","galleries_id":154673,"server_id":32,"link":"photo_5171773.html","width":130,"caption":"Jay","height":108});
															thumbnails[7795783] = clik.newPhoto({"id":7795783,"src":"Gannet_Head_LR_thumb.jpg","galleries_id":421094,"server_id":32,"link":"photo_7795783.html","width":160,"caption":"Gannet Headshot","height":107});
															thumbnails[8979991] = clik.newPhoto({"id":8979991,"src":"SEO_11_thumb.jpg","galleries_id":468408,"server_id":32,"link":"photo_8979991.html","width":260,"caption":"Short Eared Owl at dusk","height":173});
															thumbnails[9066288] = clik.newPhoto({"id":9066288,"src":"_MG_0906_thumb.jpg","galleries_id":478132,"server_id":32,"link":"photo_9066288.html","width":260,"caption":"Northern Lights","height":390});
															thumbnails[9067095] = clik.newPhoto({"id":9067095,"src":"Reindeer_headshot_thumb.jpg","galleries_id":478190,"server_id":32,"link":"photo_9067095.html","width":260,"caption":"Reindeer Headshot","height":173});
															thumbnails[6052803] = clik.newPhoto({"id":6052803,"src":"Capercaillie_2_thumb.jpg","galleries_id":340065,"server_id":32,"link":"photo_6052803.html","width":130,"caption":"Capecaillie headshot","height":173});
															thumbnails[7481656] = clik.newPhoto({"id":7481656,"src":"Golden_Eagle_4_thumb.jpg","galleries_id":403217,"server_id":32,"link":"photo_7481656.html","width":160,"caption":"Golden Eagle alighting on deer carcass","height":107});
															thumbnails[7795787] = clik.newPhoto({"id":7795787,"src":"KittiwakeLR_thumb.jpg","galleries_id":421094,"server_id":32,"link":"photo_7795787.html","width":160,"caption":"","height":107});
															thumbnails[8980008] = clik.newPhoto({"id":8980008,"src":"SEO_20_thumb.jpg","galleries_id":468408,"server_id":32,"link":"photo_8980008.html","width":260,"caption":"Short Eared Owl on fence post","height":390});
															thumbnails[9066290] = clik.newPhoto({"id":9066290,"src":"_MG_0999_thumb.jpg","galleries_id":478132,"server_id":32,"link":"photo_9066290.html","width":260,"caption":"Northern Lights","height":390});
															thumbnails[9066293] = clik.newPhoto({"id":9066293,"src":"_MG_1057_thumb.jpg","galleries_id":478132,"server_id":32,"link":"photo_9066293.html","width":260,"caption":"Northern Lights","height":390});
															thumbnails[9067099] = clik.newPhoto({"id":9067099,"src":"Reindeer_in_woodland_2_thumb.jpg","galleries_id":478190,"server_id":32,"link":"photo_9067099.html","width":260,"caption":"Reindeer in woodland","height":390});
															thumbnails[2113153] = clik.newPhoto({"id":2113153,"src":"Great Grey Owl2_thumb.jpg","galleries_id":140424,"server_id":32,"link":"photo_2113153.html","width":130,"caption":"Great Grey Owl","height":87});
															thumbnails[2172845] = clik.newPhoto({"id":2172845,"src":"BluebellKirkheaton0115IMG_1964_thumb.jpg","galleries_id":140640,"server_id":32,"link":"photo_2172845.html","width":130,"caption":"Bluebell","height":124});
															thumbnails[6052808] = clik.newPhoto({"id":6052808,"src":"Chaffinch_flight_2_thumb.jpg","galleries_id":340065,"server_id":32,"link":"photo_6052808.html","width":130,"caption":"Chaffinch in flight","height":195});
															thumbnails[7437252] = clik.newPhoto({"id":7437252,"src":"Golden_Eagle_21_thumb.jpg","galleries_id":403217,"server_id":32,"link":"photo_7437252.html","width":160,"caption":"Golden Eagle with grouse","height":213});
															thumbnails[7481660] = clik.newPhoto({"id":7481660,"src":"Red_Fox_thumb.jpg","galleries_id":403217,"server_id":32,"link":"photo_7481660.html","width":160,"caption":"Red Fox in snow","height":107});
															thumbnails[7795788] = clik.newPhoto({"id":7795788,"src":"Tree_Sparrow_LR_thumb.jpg","galleries_id":421094,"server_id":32,"link":"photo_7795788.html","width":160,"caption":"","height":107});
															thumbnails[9066297] = clik.newPhoto({"id":9066297,"src":"_MG_0876_thumb.jpg","galleries_id":478132,"server_id":32,"link":"photo_9066297.html","width":260,"caption":"Northern Lights","height":390});
															thumbnails[9067106] = clik.newPhoto({"id":9067106,"src":"Reindeer_in_woodland_thumb.jpg","galleries_id":478190,"server_id":32,"link":"photo_9067106.html","width":260,"caption":"Reindeer in woodland","height":390});
															thumbnails[9066299] = clik.newPhoto({"id":9066299,"src":"_MG_0989_thumb.jpg","galleries_id":478132,"server_id":32,"link":"photo_9066299.html","width":260,"caption":"Northern Lights","height":173});
															thumbnails[9067109] = clik.newPhoto({"id":9067109,"src":"Road_Hazard_thumb.jpg","galleries_id":478190,"server_id":32,"link":"photo_9067109.html","width":260,"caption":"Reindeer road hazard","height":173});
															thumbnails[2539897] = clik.newPhoto({"id":2539897,"src":"Common Darter_thumb.jpg","galleries_id":140642,"server_id":32,"link":"photo_2539897.html","width":129,"caption":"Common Darter","height":181});
															thumbnails[2776945] = clik.newPhoto({"id":2776945,"src":"Grey Heron Flight OM11_thumb.jpg","galleries_id":140424,"server_id":32,"link":"photo_2776945.html","width":130,"caption":"Grey Heron in flight","height":87});
															thumbnails[3384699] = clik.newPhoto({"id":3384699,"src":"Common Drongo_MG_0712_thumb.jpg","galleries_id":206603,"server_id":32,"link":"photo_3384699.html","width":130,"caption":"Common Drongo","height":195});
															thumbnails[6052812] = clik.newPhoto({"id":6052812,"src":"Chaffinch_in_Flight_1_thumb.jpg","galleries_id":340065,"server_id":32,"link":"photo_6052812.html","width":130,"caption":"Chaffinch in flight","height":173});
															thumbnails[7481665] = clik.newPhoto({"id":7481665,"src":"Sea_Eagle_2_thumb.jpg","galleries_id":403217,"server_id":32,"link":"photo_7481665.html","width":160,"caption":"Sea Eagle feeding on Roe Deer","height":107});
															thumbnails[9066301] = clik.newPhoto({"id":9066301,"src":"_MG_1013_thumb.jpg","galleries_id":478132,"server_id":32,"link":"photo_9066301.html","width":260,"caption":"Northern Lights","height":173});
															thumbnails[3436661] = clik.newPhoto({"id":3436661,"src":"New born Grant's gazelle_thumb.jpg","galleries_id":206602,"server_id":32,"link":"photo_3436661.html","width":130,"caption":"Newly born Grant's Gazelle","height":195});
															thumbnails[7668194] = clik.newPhoto({"id":7668194,"src":"Sea_Eagle_over_Hooded_crow_processed_thumb.jpg","galleries_id":403217,"server_id":32,"link":"photo_7668194.html","width":160,"caption":"Sea Eagle overshadows hooded crow","height":107});
															thumbnails[9066302] = clik.newPhoto({"id":9066302,"src":"_MG_1011_thumb.jpg","galleries_id":478132,"server_id":32,"link":"photo_9066302.html","width":260,"caption":"Northern Lights","height":173});
															thumbnails[9067111] = clik.newPhoto({"id":9067111,"src":"Walking_Away_thumb.jpg","galleries_id":478190,"server_id":32,"link":"photo_9067111.html","width":260,"caption":"Reindeer walking away","height":390});
															thumbnails[9066308] = clik.newPhoto({"id":9066308,"src":"_MG_1162_thumb.jpg","galleries_id":478132,"server_id":32,"link":"photo_9066308.html","width":260,"caption":"Northern Lights","height":173});
															thumbnails[9067115] = clik.newPhoto({"id":9067115,"src":"Moose_misbehaving_thumb.jpg","galleries_id":478190,"server_id":32,"link":"photo_9067115.html","width":260,"caption":"Two male Moose!","height":173});
															thumbnails[2113154] = clik.newPhoto({"id":2113154,"src":"Golden Eagle in flightWILDSHOTS0025IMG_96911_thumb.jpg","galleries_id":140424,"server_id":32,"link":"photo_2113154.html","width":130,"caption":"Golden Eagle","height":95});
															thumbnails[2113184] = clik.newPhoto({"id":2113184,"src":"Red Deer 1_thumb.jpg","galleries_id":140639,"server_id":32,"link":"photo_2113184.html","width":130,"caption":"Red Deer","height":87});
															thumbnails[2538143] = clik.newPhoto({"id":2538143,"src":"Woodland impressionPotteric Carr_thumb.JPG","galleries_id":140643,"server_id":32,"link":"photo_2538143.html","width":130,"caption":"Woodland Impressions","height":87});
															thumbnails[6292977] = clik.newPhoto({"id":6292977,"src":"Arctic_Tern_thumb.jpg","galleries_id":348711,"server_id":32,"link":"photo_6292977.html","width":130,"caption":"Arctic Tern","height":98});
															thumbnails[9066310] = clik.newPhoto({"id":9066310,"src":"_MG_1197_thumb.jpg","galleries_id":478132,"server_id":32,"link":"photo_9066310.html","width":260,"caption":"Northern Lights","height":173});
															thumbnails[7481686] = clik.newPhoto({"id":7481686,"src":"Wolf_thumb.jpg","galleries_id":403217,"server_id":32,"link":"photo_7481686.html","width":160,"caption":"Wolf in forest snow","height":107});
															thumbnails[9066311] = clik.newPhoto({"id":9066311,"src":"_MG_1156_thumb.jpg","galleries_id":478132,"server_id":32,"link":"photo_9066311.html","width":260,"caption":"Northern Lights","height":173});
															thumbnails[7481688] = clik.newPhoto({"id":7481688,"src":"Wolf_1_thumb.jpg","galleries_id":403217,"server_id":32,"link":"photo_7481688.html","width":160,"caption":"Wolf","height":120});
															thumbnails[9066317] = clik.newPhoto({"id":9066317,"src":"_MG_0877_thumb.jpg","galleries_id":478132,"server_id":32,"link":"photo_9066317.html","width":260,"caption":"Northern Lights","height":390});
															thumbnails[9069425] = clik.newPhoto({"id":9069425,"src":"Lapland_snow_scene_thumb.jpg","galleries_id":478132,"server_id":32,"link":"photo_9069425.html","width":260,"caption":"Finnish Lapland Road scene","height":173});
															thumbnails[7481694] = clik.newPhoto({"id":7481694,"src":"Arctic_Fox_thumb.jpg","galleries_id":403217,"server_id":32,"link":"photo_7481694.html","width":160,"caption":"Arctic Fox","height":107});
															thumbnails[3384559] = clik.newPhoto({"id":3384559,"src":"Leopard in tree with kill_MG_2071_thumb.jpg","galleries_id":206602,"server_id":32,"link":"photo_3384559.html","width":130,"caption":"Leopard in tree with kill","height":87});
															thumbnails[7481701] = clik.newPhoto({"id":7481701,"src":"Elk_1_thumb.jpg","galleries_id":403217,"server_id":32,"link":"photo_7481701.html","width":160,"caption":"Elk","height":107});
															thumbnails[2127301] = clik.newPhoto({"id":2127301,"src":"Golden Eagle Head_thumb.jpg","galleries_id":140424,"server_id":32,"link":"photo_2127301.html","width":130,"caption":"Golden Eagle <br>\r\n","height":87});
															thumbnails[2615489] = clik.newPhoto({"id":2615489,"src":"Speckled Wood small 2SL_thumb.jpg","galleries_id":140642,"server_id":32,"link":"photo_2615489.html","width":130,"caption":"Speckled Wood","height":94});
															thumbnails[4885193] = clik.newPhoto({"id":4885193,"src":"Red_S_MG_4297_thumb.jpg","galleries_id":278607,"server_id":32,"link":"photo_4885193.html","width":130,"caption":"Red Squirrel","height":87});
															thumbnails[7481703] = clik.newPhoto({"id":7481703,"src":"Elk_3_thumb.jpg","galleries_id":403217,"server_id":32,"link":"photo_7481703.html","width":160,"caption":"Elk","height":107});
															thumbnails[7481706] = clik.newPhoto({"id":7481706,"src":"Lynx_2_thumb.jpg","galleries_id":403217,"server_id":32,"link":"photo_7481706.html","width":160,"caption":"Lynx in forest snow","height":240});
															thumbnails[7481709] = clik.newPhoto({"id":7481709,"src":"Lynx_5_thumb.jpg","galleries_id":403217,"server_id":32,"link":"photo_7481709.html","width":160,"caption":"Lynx close up headshot","height":107});
															thumbnails[2148803] = clik.newPhoto({"id":2148803,"src":"Stag Calling_thumb.jpg","galleries_id":140639,"server_id":32,"link":"photo_2148803.html","width":130,"caption":"Stag Calling","height":163});
															thumbnails[4885201] = clik.newPhoto({"id":4885201,"src":"Coal_Tit_MG_4310_thumb.jpg","galleries_id":278607,"server_id":32,"link":"photo_4885201.html","width":130,"caption":"Coal Tit","height":163});
															thumbnails[7481716] = clik.newPhoto({"id":7481716,"src":"Flight_of_Eider1_thumb.jpg","galleries_id":403217,"server_id":32,"link":"photo_7481716.html","width":160,"caption":"Flight of Eider Duck","height":107});
															thumbnails[7481724] = clik.newPhoto({"id":7481724,"src":"Eider_Duck_thumb.jpg","galleries_id":403217,"server_id":32,"link":"photo_7481724.html","width":160,"caption":"Eider Duck in sub zero weather","height":107});
															thumbnails[7481728] = clik.newPhoto({"id":7481728,"src":"King_Eider_thumb.jpg","galleries_id":403217,"server_id":32,"link":"photo_7481728.html","width":160,"caption":"King Eider in flight","height":120});
															thumbnails[2131785] = clik.newPhoto({"id":2131785,"src":"Snowy Owl 2_thumb.jpg","galleries_id":140424,"server_id":32,"link":"photo_2131785.html","width":130,"caption":"Snowy Owl","height":88});
															thumbnails[2132066] = clik.newPhoto({"id":2132066,"src":"Red Deer Silhouttte1_thumb.jpg","galleries_id":140639,"server_id":32,"link":"photo_2132066.html","width":130,"caption":"Red Deer Silhouette","height":141});
															thumbnails[4885245] = clik.newPhoto({"id":4885245,"src":"RT_MG_3983_Crestie_thumb.jpg","galleries_id":278607,"server_id":32,"link":"photo_4885245.html","width":130,"caption":"Crested Tit","height":163});
															thumbnails[8694168] = clik.newPhoto({"id":8694168,"src":"Young_Rabbit_LR_thumb.jpg","galleries_id":458698,"server_id":32,"link":"photo_8694168.html","width":160,"caption":"Young Rabbit in low Autumn sun","height":240});
															thumbnails[6052848] = clik.newPhoto({"id":6052848,"src":"Lapwing_Portrait_thumb.jpg","galleries_id":340065,"server_id":32,"link":"photo_6052848.html","width":130,"caption":"Lapwing portrait","height":195});
															thumbnails[7481734] = clik.newPhoto({"id":7481734,"src":"Red_Squirrel_2_thumb.jpg","galleries_id":403217,"server_id":32,"link":"photo_7481734.html","width":160,"caption":"Red Squirrel feeding","height":240});
															thumbnails[7481737] = clik.newPhoto({"id":7481737,"src":"Greenfinch_thumb.jpg","galleries_id":403217,"server_id":32,"link":"photo_7481737.html","width":160,"caption":"Greenfinch","height":107});
															thumbnails[2138115] = clik.newPhoto({"id":2138115,"src":"Butterfly group_thumb.jpg","galleries_id":140642,"server_id":32,"link":"photo_2138115.html","width":130,"caption":"Peacock & Small Copper","height":91});
															thumbnails[6052854] = clik.newPhoto({"id":6052854,"src":"Moose_in_water_thumb.jpg","galleries_id":340065,"server_id":32,"link":"photo_6052854.html","width":130,"caption":"European Elk (Moose) fording stream","height":87});
															thumbnails[7481739] = clik.newPhoto({"id":7481739,"src":"Bullfinch_Male_thumb.jpg","galleries_id":403217,"server_id":32,"link":"photo_7481739.html","width":160,"caption":"Bullfinch -male","height":107});
															thumbnails[6052864] = clik.newPhoto({"id":6052864,"src":"Song_Thrush_bathing_thumb.jpg","galleries_id":340065,"server_id":32,"link":"photo_6052864.html","width":130,"caption":"Song Thrush bathing","height":87});
															thumbnails[8698016] = clik.newPhoto({"id":8698016,"src":"Pied_Wagtail_reflection_thumb.jpg","galleries_id":458698,"server_id":32,"link":"photo_8698016.html","width":160,"caption":"Pied Wagtail and reflection","height":107});
															thumbnails[6052869] = clik.newPhoto({"id":6052869,"src":"Swallow_at_pond_thumb.jpg","galleries_id":340065,"server_id":32,"link":"photo_6052869.html","width":130,"caption":"Swallow collecting nest material","height":98});
															thumbnails[7481853] = clik.newPhoto({"id":7481853,"src":"Crested_Tit1_thumb.jpg","galleries_id":403217,"server_id":32,"link":"photo_7481853.html","width":160,"caption":"Crested Tit","height":107});
															thumbnails[7481857] = clik.newPhoto({"id":7481857,"src":"Hooded_Crow1_thumb.jpg","galleries_id":403217,"server_id":32,"link":"photo_7481857.html","width":160,"caption":"Hooded Crow","height":107});
															thumbnails[3384610] = clik.newPhoto({"id":3384610,"src":"Young Ostriches_MG_0832_thumb.jpg","galleries_id":206603,"server_id":32,"link":"photo_3384610.html","width":130,"caption":"Young Ostriches","height":87});
															thumbnails[7481859] = clik.newPhoto({"id":7481859,"src":"Jay_7CA658D9-1EC9-D45B-1C314D1AAFAAADDD_thumb.jpg","galleries_id":403217,"server_id":32,"link":"photo_7481859.html","width":160,"caption":"Jay","height":107});
															thumbnails[2132078] = clik.newPhoto({"id":2132078,"src":"Red Admiral_thumb.jpg","galleries_id":140642,"server_id":32,"link":"photo_2132078.html","width":130,"caption":"Red Admiral","height":95});
															thumbnails[2381015] = clik.newPhoto({"id":2381015,"src":"Spoonbill 3_thumb.jpg","galleries_id":140424,"server_id":32,"link":"photo_2381015.html","width":130,"caption":"Spoonbill","height":169});
															thumbnails[6052872] = clik.newPhoto({"id":6052872,"src":"Willow_Warbler_thumb.jpg","galleries_id":340065,"server_id":32,"link":"photo_6052872.html","width":130,"caption":"Willow Warbler bathing","height":98});
															thumbnails[7481865] = clik.newPhoto({"id":7481865,"src":"Raven_in_flight12_thumb.jpg","galleries_id":403217,"server_id":32,"link":"photo_7481865.html","width":160,"caption":"Raven in flight","height":107});
															thumbnails[7482119] = clik.newPhoto({"id":7482119,"src":"Eagle_with_prey_close_up1_thumb.jpg","galleries_id":403217,"server_id":32,"link":"photo_7482119.html","width":160,"caption":"Wild eyed Golden Eagle ","height":240});
															thumbnails[7482133] = clik.newPhoto({"id":7482133,"src":"Red_Squirrel_in_tree_thumb.jpg","galleries_id":403217,"server_id":32,"link":"photo_7482133.html","width":160,"caption":"","height":107});
															thumbnails[7484853] = clik.newPhoto({"id":7484853,"src":"Roe_Deer_in_snow_thumb.jpg","galleries_id":403217,"server_id":32,"link":"photo_7484853.html","width":160,"caption":"Roe Deer in Norway snow","height":107});
															thumbnails[4079287] = clik.newPhoto({"id":4079287,"src":"Ewe_and_Lamb_MG_0438_copy_thumb.jpg","galleries_id":272484,"server_id":32,"link":"photo_4079287.html","width":130,"caption":"Ewe & Lamb","height":87});
															thumbnails[4752186] = clik.newPhoto({"id":4752186,"src":"Sea_Eagle_3_MG_2689__thumb.jpg","galleries_id":154673,"server_id":32,"link":"photo_4752186.html","width":130,"caption":"White tailed Sea Eagle","height":104});
															thumbnails[2132072] = clik.newPhoto({"id":2132072,"src":"Rabbit_thumb.jpg","galleries_id":140639,"server_id":32,"link":"photo_2132072.html","width":130,"caption":"Rabbit","height":104});
															thumbnails[2148377] = clik.newPhoto({"id":2148377,"src":"Cowslips_thumb.jpg","galleries_id":140640,"server_id":32,"link":"photo_2148377.html","width":130,"caption":"Cowslips","height":157});
															thumbnails[2517038] = clik.newPhoto({"id":2517038,"src":"Comma2_thumb.jpg","galleries_id":140642,"server_id":32,"link":"photo_2517038.html","width":130,"caption":"Comma","height":87});
															thumbnails[2929937] = clik.newPhoto({"id":2929937,"src":"Sea Eagle3_thumb.jpg","galleries_id":140424,"server_id":32,"link":"photo_2929937.html","width":130,"caption":"White Tailed Sea Eagle","height":91});
															thumbnails[3386242] = clik.newPhoto({"id":3386242,"src":"Lion King_MG_5280_thumb.jpg","galleries_id":206602,"server_id":32,"link":"photo_3386242.html","width":130,"caption":"Lion [male]","height":195});
															thumbnails[3386235] = clik.newPhoto({"id":3386235,"src":"Grey Crowned Crane_MG_4551_thumb.jpg","galleries_id":206603,"server_id":32,"link":"photo_3386235.html","width":130,"caption":"Grey Crowned Crane","height":87});
															thumbnails[4763021] = clik.newPhoto({"id":4763021,"src":"European_Buzzard_thumb.jpg","galleries_id":154673,"server_id":32,"link":"photo_4763021.html","width":130,"caption":"European Buzzard","height":163});
															thumbnails[2113380] = clik.newPhoto({"id":2113380,"src":"Fiery evening sky_thumb.jpg","galleries_id":140643,"server_id":32,"link":"photo_2113380.html","width":130,"caption":"Fiery Evening Sky","height":87});
															thumbnails[2127536] = clik.newPhoto({"id":2127536,"src":"Granada, Spain_thumb.jpg","galleries_id":140641,"server_id":32,"link":"photo_2127536.html","width":130,"caption":"Alhambra Palace, Granada","height":87});
															thumbnails[2173942] = clik.newPhoto({"id":2173942,"src":"Poppy Field_thumb.jpg","galleries_id":140640,"server_id":32,"link":"photo_2173942.html","width":130,"caption":"Poppy Field","height":87});
															thumbnails[4752178] = clik.newPhoto({"id":4752178,"src":"Bald_Eagle_MG_2451_copy_thumb.jpg","galleries_id":154673,"server_id":32,"link":"photo_4752178.html","width":130,"caption":"Bald Eagle","height":195});
															thumbnails[3410098] = clik.newPhoto({"id":3410098,"src":"Male Ostrich sees off intruders_MG_1870_thumb.jpg","galleries_id":206603,"server_id":32,"link":"photo_3410098.html","width":130,"caption":"Male Ostrich sees off intruders","height":98});
															thumbnails[3410110] = clik.newPhoto({"id":3410110,"src":"Blacksmiths Plover_MG_4012_thumb.jpg","galleries_id":206603,"server_id":32,"link":"photo_3410110.html","width":130,"caption":"Blacksmith's Plover","height":195});
															thumbnails[3410186] = clik.newPhoto({"id":3410186,"src":"Crowned Plover_MG_3907_thumb.jpg","galleries_id":206603,"server_id":32,"link":"photo_3410186.html","width":130,"caption":"Crowned Plover","height":195});
															thumbnails[2127538] = clik.newPhoto({"id":2127538,"src":"Mesquita, Cordoba_thumb.jpg","galleries_id":140641,"server_id":32,"link":"photo_2127538.html","width":130,"caption":"Mesquita, Cordoba","height":87});
															thumbnails[3410197] = clik.newPhoto({"id":3410197,"src":"Kori Bustard Displaying_MG_4808_thumb.jpg","galleries_id":206603,"server_id":32,"link":"photo_3410197.html","width":130,"caption":"Kori Bustard Displaying","height":195});
															thumbnails[3410201] = clik.newPhoto({"id":3410201,"src":"Lesser Grey Shrike IMG_9925_thumb.jpg","galleries_id":206603,"server_id":32,"link":"photo_3410201.html","width":130,"caption":"Lesser Grey Shrike","height":195});
															thumbnails[2127539] = clik.newPhoto({"id":2127539,"src":"Seven Mile Bridge_thumb.jpg","galleries_id":140641,"server_id":32,"link":"photo_2127539.html","width":130,"caption":"Severn Mile Bridge, Florida Keys","height":87});
															thumbnails[2275391] = clik.newPhoto({"id":2275391,"src":"Poppy2SL_thumb.jpg","galleries_id":140640,"server_id":32,"link":"photo_2275391.html","width":130,"caption":"Poppy","height":87});
															thumbnails[2407787] = clik.newPhoto({"id":2407787,"src":"Early evening from on high_thumb.jpg","galleries_id":140643,"server_id":32,"link":"photo_2407787.html","width":130,"caption":"Early evening from on high","height":98});
															thumbnails[3410202] = clik.newPhoto({"id":3410202,"src":"Lilac-breasted Roller_MG_4021_thumb.jpg","galleries_id":206603,"server_id":32,"link":"photo_3410202.html","width":130,"caption":"Lilac breasted Roller","height":195});
															thumbnails[3410400] = clik.newPhoto({"id":3410400,"src":"Lark_MG_4724_thumb.jpg","galleries_id":206603,"server_id":32,"link":"photo_3410400.html","width":130,"caption":"Crested Lark","height":195});
															thumbnails[2173720] = clik.newPhoto({"id":2173720,"src":"Emley Moor_thumb.jpg","galleries_id":140643,"server_id":32,"link":"photo_2173720.html","width":130,"caption":"Evening at Emley Moor","height":87});
															thumbnails[2275392] = clik.newPhoto({"id":2275392,"src":"Iris2SL_thumb.jpg","galleries_id":140640,"server_id":32,"link":"photo_2275392.html","width":130,"caption":"Iris","height":195});
															thumbnails[2349108] = clik.newPhoto({"id":2349108,"src":"Ronda valley_thumb.jpg","galleries_id":140641,"server_id":32,"link":"photo_2349108.html","width":130,"caption":"Ronda, Malaga Province, Spain","height":195});
															thumbnails[2131391] = clik.newPhoto({"id":2131391,"src":"Grey Heron_thumb.jpg","galleries_id":140424,"server_id":32,"link":"photo_2131391.html","width":130,"caption":"Grey Heron","height":116});
															thumbnails[2154837] = clik.newPhoto({"id":2154837,"src":"Heron with fish_thumb.jpg","galleries_id":140424,"server_id":32,"link":"photo_2154837.html","width":130,"caption":"Grey Heron with fish","height":141});
															thumbnails[2328141] = clik.newPhoto({"id":2328141,"src":"Northern Marsh OrchidBempton0143IMG_3778_thumb.jpg","galleries_id":140640,"server_id":32,"link":"photo_2328141.html","width":130,"caption":"Northern Marsh Orchid","height":87});
															thumbnails[2328144] = clik.newPhoto({"id":2328144,"src":"Red CampionBempton0147IMG_3780_thumb.jpg","galleries_id":140640,"server_id":32,"link":"photo_2328144.html","width":130,"caption":"Red Campion","height":87});
															thumbnails[3410446] = clik.newPhoto({"id":3410446,"src":"Hyeana hunting_MG_4599_thumb.jpg","galleries_id":206602,"server_id":32,"link":"photo_3410446.html","width":130,"caption":"Hyena hunting","height":87});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[478132] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Aurora Borealis in Lapland January 2012","link":"gallery_478132.html","maxRecords":0.0,"photoIDs":[9066284.0,9066288.0,9066290.0,9066293.0,9066297.0,9066299.0,9066301.0,9066302.0,9066308.0,9066310.0,9066311.0,9066317.0,9069425.0],"skipIndex":0,"section_code":"gallery","featured_images":"9069425,9066317,9066311,9066310,9066308,9066302,9066301,9066299,9066297,9066293","id":478132,"singleSection":false});				  						galleries[478190] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Lapland Wildlife 2012","link":"gallery_478190.html","maxRecords":0.0,"photoIDs":[9067113.0,9067091.0,9067095.0,9067099.0,9067106.0,9067109.0,9067111.0,9067115.0],"skipIndex":0,"section_code":"gallery","featured_images":"9067115,9067113,9067111,9067109,9067106,9067099,9067095,9067091","id":478190,"singleSection":false});				  						galleries[468408] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Winter 2011-12","link":"gallery_468408.html","maxRecords":0.0,"photoIDs":[8979987.0,8979991.0,8980008.0],"skipIndex":0,"section_code":"gallery","featured_images":"8980008,8979991,8979987","id":468408,"singleSection":false});				  						galleries[403217] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Norway January 2011","link":"gallery_403217.html","maxRecords":0.0,"photoIDs":[8684185.0,7481483.0,8619023.0,7481656.0,7437252.0,7481660.0,7481665.0,7668194.0,7481686.0,7481688.0,7481694.0,7481701.0,7481703.0,7481706.0,7481709.0,7481716.0,7481724.0,7481728.0,7481734.0,7481737.0,7481739.0,7481853.0,7481857.0,7481859.0,7481865.0,7482119.0,7482133.0,7484853.0],"skipIndex":0,"section_code":"gallery","featured_images":"8684185,8619023,7668194,7484853,7482133,7482119,7481865,7481859,7481857,7481853","id":403217,"singleSection":false});				  						galleries[146539] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Latest Images","link":"gallery_146539.html","maxRecords":0.0,"photoIDs":[7048048.0,7048062.0,7345931.0,8442876.0,8656090.0,8656094.0,8656097.0,8656098.0,8656100.0,8656102.0,8656104.0,8657042.0,8442781.0],"skipIndex":0,"section_code":"gallery","featured_images":"8657042,8656104,8656102,8656100,8656098,8656097,8656094,8656090,8442876,8442781","id":146539,"singleSection":false});				  						galleries[348711] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Farne Islands 2010","link":"gallery_348711.html","maxRecords":0.0,"photoIDs":[6293467.0,6293469.0,6293477.0,6293478.0,6293480.0,6295461.0,6295497.0,6292977.0],"skipIndex":0,"section_code":"gallery","featured_images":"6295497,6295461,6293480,6293478,6293477,6293469,6293467,6292977","id":348711,"singleSection":false});				  						galleries[340065] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Scottish Highlands 2010","link":"gallery_340065.html","maxRecords":0.0,"photoIDs":[6052945.0,6052803.0,6052808.0,6052812.0,6052848.0,6052854.0,6052864.0,6052869.0,6052872.0],"skipIndex":0,"section_code":"gallery","featured_images":"6052945,6052872,6052869,6052864,6052854,6052848,6052812,6052808,6052803","id":340065,"singleSection":false});				  						galleries[458698] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Autumn 2011","link":"gallery_458698.html","maxRecords":0.0,"photoIDs":[8730928.0,8731013.0,8759964.0,8781241.0,8841135.0,8848610.0,8849510.0,8849514.0,8694168.0,8698016.0],"skipIndex":0,"section_code":"gallery","featured_images":"8849514,8849510,8848610,8841135,8781241,8759964,8731013,8730928,8698016,8694168","id":458698,"singleSection":false});				  						galleries[421094] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Spring 2011","link":"gallery_421094.html","maxRecords":0.0,"photoIDs":[8038966.0,8038969.0,8038971.0,8038976.0,8038981.0,8150588.0,7795779.0,7795783.0,7795787.0,7795788.0],"skipIndex":0,"section_code":"gallery","featured_images":"8150588,8038981,8038976,8038971,8038969,8038966,7795788,7795787,7795783,7795779","id":421094,"singleSection":false});				  						galleries[297143] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Winter 2009\/10","link":"gallery_297143.html","maxRecords":0.0,"photoIDs":[5299845.0,5355673.0,5446711.0],"skipIndex":0,"section_code":"gallery","featured_images":"5446711,5355673,5299845","id":297143,"singleSection":false});				  						galleries[206602] = clik.newGallery({"parentGallery":206601,"usePopups":false,"title":"Africa Mammals & Reptiles","link":"gallery_206602.html","maxRecords":0.0,"photoIDs":[3939261.0,4416554.0,4699167.0,4723816.0,5363819.0,8656887.0,3384514.0,3436661.0,3384559.0,3386242.0,3410446.0],"skipIndex":0,"section_code":"gallery","featured_images":"8656887,5363819,4723816,4699167,4416554,3939261,3436661,3410446,3386242,3384559","id":206602,"singleSection":false});				  						galleries[206603] = clik.newGallery({"parentGallery":206601,"usePopups":false,"title":"Africa Birds & Insects","link":"gallery_206603.html","maxRecords":0.0,"photoIDs":[3384706.0,3384699.0,3384610.0,3386235.0,3410098.0,3410110.0,3410186.0,3410197.0,3410201.0,3410202.0,3410400.0],"skipIndex":0,"section_code":"gallery","featured_images":"3410400,3410202,3410201,3410197,3410186,3410110,3410098,3386235,3384706,3384699","id":206603,"singleSection":false});				  						galleries[154673] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Earlier Images","link":"gallery_154673.html","maxRecords":0.0,"photoIDs":[3747906.0,3656270.0,3677956.0,3677968.0,3703846.0,3718293.0,3718296.0,3984172.0,4752185.0,6315327.0,6480335.0,6480360.0,6480404.0,6480415.0,6480439.0,6480458.0,6668468.0,7048058.0,5171773.0,4752186.0,4763021.0,4752178.0],"skipIndex":0,"section_code":"gallery","featured_images":"7048058,6668468,6480458,6480439,6480415,6480404,6480360,6480335,6315327,5171773","id":154673,"singleSection":false});				  						galleries[206601] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Tanzania 2009","link":"gallery_206601.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"8656887,5363819,4723816,4699167,4416554,3939261,3436661,3410446,3410400,3410202","id":206601,"singleSection":false});				  						galleries[278607] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Cairngorms Oct 2009","link":"gallery_278607.html","maxRecords":0.0,"photoIDs":[5528341.0,4886324.0,4885766.0,4885193.0,4885201.0,4885245.0],"skipIndex":0,"section_code":"gallery","featured_images":"5528341,4886324,4885766,4885245,4885201,4885193","id":278607,"singleSection":false});				  						galleries[272484] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Summer 2009","link":"gallery_272484.html","maxRecords":0.0,"photoIDs":[4428008.0,4428016.0,4600294.0,4611864.0,4079287.0],"skipIndex":0,"section_code":"gallery","featured_images":"4611864,4600294,4428016,4428008,4079287","id":272484,"singleSection":false});				  						galleries[140424] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Birds","link":"gallery_140424.html","maxRecords":0.0,"photoIDs":[2945616.0,2950554.0,2950557.0,8662942.0,8662944.0,8662956.0,2113153.0,2776945.0,2113154.0,2127301.0,2131785.0,2381015.0,2929937.0,2131391.0,2154837.0],"skipIndex":0,"section_code":"gallery","featured_images":"8662956,8662944,8662942,2950557,2950554,2945616,2929937,2776945,2381015,2154837","id":140424,"singleSection":false});				  						galleries[140639] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Mammals","link":"gallery_140639.html","maxRecords":0.0,"photoIDs":[3179059.0,3179081.0,3179084.0,3179086.0,3235910.0,2113184.0,2148803.0,2132066.0,2132072.0],"skipIndex":0,"section_code":"gallery","featured_images":"3235910,3179086,3179084,3179081,3179059,2148803,2132072,2132066,2113184","id":140639,"singleSection":false});				  						galleries[140640] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Plant & Flowers","link":"gallery_140640.html","maxRecords":0.0,"photoIDs":[4234535.0,8657327.0,3681420.0,2172845.0,2148377.0,2173942.0,2275391.0,2275392.0,2328141.0,2328144.0],"skipIndex":0,"section_code":"gallery","featured_images":"8657327,4234535,3681420,2328144,2328141,2275392,2275391,2173942,2172845,2148377","id":140640,"singleSection":false});				  						galleries[140641] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Landscapes","link":"gallery_140641.html","maxRecords":0.0,"photoIDs":[3098717.0,3098719.0,2127536.0,2127538.0,2127539.0,2349108.0],"skipIndex":0,"section_code":"gallery","featured_images":"3098719,3098717,2349108,2127539,2127538,2127536","id":140641,"singleSection":false});				  						galleries[140642] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Insects","link":"gallery_140642.html","maxRecords":0.0,"photoIDs":[2539897.0,2615489.0,2138115.0,2132078.0,2517038.0],"skipIndex":0,"section_code":"gallery","featured_images":"2615489,2539897,2517038,2138115,2132078","id":140642,"singleSection":false});				  						galleries[140643] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Miscellaneous","link":"gallery_140643.html","maxRecords":0.0,"photoIDs":[2538143.0,2113380.0,2407787.0,2173720.0],"skipIndex":0,"section_code":"gallery","featured_images":"2538143,2407787,2173720,2113380","id":140643,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '8657042';
imageSets[3] = '9067113,8849514,8849510,8848610,8841135,8781241,8759964,8731013,8730928,8684185,8662956,8662944,8662942,8657327,8657042,8656887,8656104,8656102,8656100,8656098,8656097,8656094,8656090,8442876,8150588,8038981,8038976,8038971,8038969,8038966,7345931,7202797,7048062,7048058,7048048,6668484,6668468,6480458,6480439,6480415,6480404,6480360,6480335,6315327,6306723,6304386,6295497,6295461,6293480,6293478,6293477,6293469,6293467,6020426,5851500,5829466,5754964,5528341,5446711,5363819,5355673,5299845,4752185,4723816,4699167,4611864,4600294,4428016,4428008,4416554,3939261,2945616,2134940,9067091,9066284,8979987,8619023,8442781,7795779,7481483,6052945,4886324,9067095,9066288,8979991,7795783,5171773,4885766,9066290,8980008,7795787,7481656,6052803,9067099,9066293,9067106,9066297,7795788,7481660,7437252,6052808,9067109,9066299,9066301,7481665,6052812,9067111,9066302,7668194,9067115,9066308,9066310,6292977,9066311,7481686,9069425,9066317,7481688,7481694,7481701,7481706,7481703,4885193,7481709,7481716,4885201,7481724,7481728,8694168,4885245,7481734,6052848,7481737,7481739,6052854,8698016,6052864,7481853,6052869,7481857,7481859,7481865,6052872,7482119,7484853,7482180,7482133,4752186,4763021,4752178,3410400,2154837';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/richardtadman/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/richardtadman/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/richardtadman/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/richardtadman/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/richardtadman/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/richardtadman/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/richardtadman/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/richardtadman/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/richardtadman/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/richardtadman/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/richardtadman/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/richardtadman/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/richardtadman/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/richardtadman/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/richardtadman/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/richardtadman/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/richardtadman/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/richardtadman/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/richardtadman/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/richardtadman/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/richardtadman/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/richardtadman/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/richardtadman/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/richardtadman/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/richardtadman/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/richardtadman/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/richardtadman/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 = 'Richard S.Tadman 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;
	}
}

			

