window.thumbnails = {};
															thumbnails[6900905] = clik.newPhoto({"id":6900905,"src":"IMG_0068_thumb.jpg","galleries_id":374189,"server_id":32,"link":"photo_6900905.html","width":160,"caption":"Mammoth Hot Springs Upper Terrace","height":87});
															thumbnails[6900909] = clik.newPhoto({"id":6900909,"src":"IMG_0074_thumb.jpg","galleries_id":374189,"server_id":32,"link":"photo_6900909.html","width":160,"caption":"Mammoth Hot Springs Upper Terrace","height":100});
															thumbnails[6900914] = clik.newPhoto({"id":6900914,"src":"IMG_0107_thumb.jpg","galleries_id":374189,"server_id":32,"link":"photo_6900914.html","width":160,"caption":"Upper Terrace Mammoth Hot Springs","height":107});
															thumbnails[6902749] = clik.newPhoto({"id":6902749,"src":"IMG_7894_thumb.jpg","galleries_id":374448,"server_id":32,"link":"photo_6902749.html","width":160,"caption":"Mount Moran from Oxbow Bend Early Morning 6.52am","height":107});
															thumbnails[6902750] = clik.newPhoto({"id":6902750,"src":"IMG_7908_thumb.jpg","galleries_id":374448,"server_id":32,"link":"photo_6902750.html","width":160,"caption":"Mount Moran from Oxbow Bend Early Morning 7.04am","height":107});
															thumbnails[6902752] = clik.newPhoto({"id":6902752,"src":"IMG_7914_thumb.jpg","galleries_id":374448,"server_id":32,"link":"photo_6902752.html","width":160,"caption":"Mount Moran from Oxbow Bend Early Morning 7.10am","height":103});
															thumbnails[6902753] = clik.newPhoto({"id":6902753,"src":"IMG_7922_thumb.jpg","galleries_id":374448,"server_id":32,"link":"photo_6902753.html","width":160,"caption":"Mount Moran from Oxbow Bend Early Morning 7.20am","height":91});
															thumbnails[6902754] = clik.newPhoto({"id":6902754,"src":"IMG_7941_thumb.jpg","galleries_id":374448,"server_id":32,"link":"photo_6902754.html","width":160,"caption":"Tetons from Jackson Lake Dam 8.10am","height":66});
															thumbnails[6902755] = clik.newPhoto({"id":6902755,"src":"IMG_7970_thumb.jpg","galleries_id":374448,"server_id":32,"link":"photo_6902755.html","width":160,"caption":"Tetons from Schwabacher's Road 7.04am","height":73});
															thumbnails[6902756] = clik.newPhoto({"id":6902756,"src":"IMG_7972_thumb.jpg","galleries_id":374448,"server_id":32,"link":"photo_6902756.html","width":160,"caption":"Tetons from Schwabacher's Road 7.07am","height":69});
															thumbnails[6902757] = clik.newPhoto({"id":6902757,"src":"IMG_7987_thumb.jpg","galleries_id":374448,"server_id":32,"link":"photo_6902757.html","width":160,"caption":"Tetons from Schwabacher's Road 7.17am","height":72});
															thumbnails[6902758] = clik.newPhoto({"id":6902758,"src":"IMG_7999_thumb.jpg","galleries_id":374448,"server_id":32,"link":"photo_6902758.html","width":160,"caption":"Tetons from Schwabacher's Road 7.28am","height":76});
															thumbnails[6902759] = clik.newPhoto({"id":6902759,"src":"IMG_8010_thumb.jpg","galleries_id":374448,"server_id":32,"link":"photo_6902759.html","width":160,"caption":"Tetons and Mormon Barn from Gros Ventre Rd. ","height":119});
															thumbnails[6902760] = clik.newPhoto({"id":6902760,"src":"IMG_8013_thumb.jpg","galleries_id":374448,"server_id":32,"link":"photo_6902760.html","width":160,"caption":"Tetons from Gros Ventre Rd. and Mormon Barn","height":68});
															thumbnails[6902761] = clik.newPhoto({"id":6902761,"src":"IMG_8018_thumb.jpg","galleries_id":374448,"server_id":32,"link":"photo_6902761.html","width":160,"caption":"Tetons from Gros Ventre Rd. and Mormon Barn","height":102});
															thumbnails[6902763] = clik.newPhoto({"id":6902763,"src":"IMG_8022_thumb.jpg","galleries_id":374448,"server_id":32,"link":"photo_6902763.html","width":160,"caption":"Tetons and Barn from Mormon Row ","height":76});
															thumbnails[6903027] = clik.newPhoto({"id":6903027,"src":"IMG_0124_thumb.jpg","galleries_id":374189,"server_id":32,"link":"photo_6903027.html","width":160,"caption":"Mammoth Hot Springs Upper Terrace","height":107});
															thumbnails[6903028] = clik.newPhoto({"id":6903028,"src":"IMG_0128_thumb.jpg","galleries_id":374189,"server_id":32,"link":"photo_6903028.html","width":160,"caption":"Upper Terraces Mammoth Hot Springs","height":130});
															thumbnails[6903030] = clik.newPhoto({"id":6903030,"src":"IMG_0191_thumb.jpg","galleries_id":374189,"server_id":32,"link":"photo_6903030.html","width":160,"caption":"Mammoth Hot Springs Lower Terrace","height":107});
															thumbnails[6903035] = clik.newPhoto({"id":6903035,"src":"IMG_4860_thumb.jpg","galleries_id":374189,"server_id":32,"link":"photo_6903035.html","width":160,"caption":"Below Mount Washburn","height":102});
															thumbnails[6903036] = clik.newPhoto({"id":6903036,"src":"IMG_4918_thumb.jpg","galleries_id":374189,"server_id":32,"link":"photo_6903036.html","width":160,"caption":"Bison Yellowstone River Hayden Valley","height":98});
															thumbnails[6903037] = clik.newPhoto({"id":6903037,"src":"IMG_4979_thumb.jpg","galleries_id":374189,"server_id":32,"link":"photo_6903037.html","width":160,"caption":"Fishing Bridge Early Morning","height":83});
															thumbnails[6903114] = clik.newPhoto({"id":6903114,"src":"IMG_9846_thumb.jpg","galleries_id":374189,"server_id":32,"link":"photo_6903114.html","width":160,"caption":"Tree at Fountain Paint Pots","height":107});
															thumbnails[6934705] = clik.newPhoto({"id":6934705,"src":"IMG_0227_thumb.jpg","galleries_id":376092,"server_id":32,"link":"photo_6934705.html","width":160,"caption":"","height":107});
															thumbnails[6934707] = clik.newPhoto({"id":6934707,"src":"IMG_0246_thumb.jpg","galleries_id":376092,"server_id":32,"link":"photo_6934707.html","width":160,"caption":"","height":93});
															thumbnails[6934711] = clik.newPhoto({"id":6934711,"src":"IMG_0340_thumb.jpg","galleries_id":376092,"server_id":32,"link":"photo_6934711.html","width":160,"caption":"","height":120});
															thumbnails[6934714] = clik.newPhoto({"id":6934714,"src":"IMG_0343_thumb.jpg","galleries_id":376092,"server_id":32,"link":"photo_6934714.html","width":160,"caption":"","height":105});
															thumbnails[6934717] = clik.newPhoto({"id":6934717,"src":"IMG_0355_thumb.jpg","galleries_id":376092,"server_id":32,"link":"photo_6934717.html","width":160,"caption":"","height":110});
															thumbnails[6934719] = clik.newPhoto({"id":6934719,"src":"IMG_0361_thumb.jpg","galleries_id":376092,"server_id":32,"link":"photo_6934719.html","width":160,"caption":"","height":90});
															thumbnails[6934720] = clik.newPhoto({"id":6934720,"src":"IMG_0372_thumb.jpg","galleries_id":376092,"server_id":32,"link":"photo_6934720.html","width":160,"caption":"","height":98});
															thumbnails[6934721] = clik.newPhoto({"id":6934721,"src":"IMG_0375_thumb.jpg","galleries_id":376092,"server_id":32,"link":"photo_6934721.html","width":160,"caption":"","height":120});
															thumbnails[6934722] = clik.newPhoto({"id":6934722,"src":"IMG_0388_thumb.jpg","galleries_id":376092,"server_id":32,"link":"photo_6934722.html","width":160,"caption":"","height":107});
															thumbnails[6934724] = clik.newPhoto({"id":6934724,"src":"IMG_0402_thumb.jpg","galleries_id":376092,"server_id":32,"link":"photo_6934724.html","width":160,"caption":"","height":102});
															thumbnails[6934725] = clik.newPhoto({"id":6934725,"src":"IMG_9303_thumb.jpg","galleries_id":376092,"server_id":32,"link":"photo_6934725.html","width":160,"caption":"","height":118});
															thumbnails[6934758] = clik.newPhoto({"id":6934758,"src":"IMG_9325_thumb.jpg","galleries_id":376092,"server_id":32,"link":"photo_6934758.html","width":160,"caption":"Fire Fighting Plane","height":105});
															thumbnails[6934760] = clik.newPhoto({"id":6934760,"src":"IMG_9338_thumb.jpg","galleries_id":376092,"server_id":32,"link":"photo_6934760.html","width":160,"caption":"Fire Fighting Plane spreading retardent","height":70});
															thumbnails[6934761] = clik.newPhoto({"id":6934761,"src":"IMG_9351_thumb.jpg","galleries_id":376092,"server_id":32,"link":"photo_6934761.html","width":160,"caption":"","height":71});
															thumbnails[6934762] = clik.newPhoto({"id":6934762,"src":"IMG_9357_thumb.jpg","galleries_id":376092,"server_id":32,"link":"photo_6934762.html","width":160,"caption":"","height":92});
															thumbnails[6934764] = clik.newPhoto({"id":6934764,"src":"IMG_9358_thumb.jpg","galleries_id":376092,"server_id":32,"link":"photo_6934764.html","width":160,"caption":"","height":116});
															thumbnails[6934765] = clik.newPhoto({"id":6934765,"src":"IMG_9442_thumb.jpg","galleries_id":376092,"server_id":32,"link":"photo_6934765.html","width":160,"caption":"Smoke against the setting sun","height":190});
															thumbnails[6934766] = clik.newPhoto({"id":6934766,"src":"IMG_9443_thumb.jpg","galleries_id":376092,"server_id":32,"link":"photo_6934766.html","width":160,"caption":"Reflection in the Lamar River","height":173});
															thumbnails[6934767] = clik.newPhoto({"id":6934767,"src":"IMG_9467_thumb.jpg","galleries_id":376092,"server_id":32,"link":"photo_6934767.html","width":160,"caption":"The sky from Lamar Valley","height":107});
															thumbnails[7053836] = clik.newPhoto({"id":7053836,"src":"female_chaser1_thumb.jpg","galleries_id":381847,"server_id":32,"link":"photo_7053836.html","width":160,"caption":"F Broad-bodied Chaser","height":120});
															thumbnails[7053841] = clik.newPhoto({"id":7053841,"src":"male_chaser_thumb.jpg","galleries_id":381847,"server_id":32,"link":"photo_7053841.html","width":160,"caption":"M Broad-bodied Chaser","height":116});
															thumbnails[7053861] = clik.newPhoto({"id":7053861,"src":"IMG_2788_dog_eddie_thumb.jpg","galleries_id":381847,"server_id":32,"link":"photo_7053861.html","width":160,"caption":"Labradoodle","height":106});
															thumbnails[7053870] = clik.newPhoto({"id":7053870,"src":"Me__My_Shadow21_thumb.jpg","galleries_id":381847,"server_id":32,"link":"photo_7053870.html","width":160,"caption":"Me And My Shadow","height":129});
															thumbnails[7056348] = clik.newPhoto({"id":7056348,"src":"Sunset_Pushkar1_thumb.jpg","galleries_id":381847,"server_id":32,"link":"photo_7056348.html","width":160,"caption":"Sunset Pushkar","height":94});
															thumbnails[7508597] = clik.newPhoto({"id":7508597,"src":"_MG_0767a_thumb.jpg","galleries_id":374190,"server_id":32,"link":"photo_7508597.html","width":160,"caption":"Holy Man Pushkar","height":127});
															thumbnails[7508664] = clik.newPhoto({"id":7508664,"src":"Behind_Thorns_thumb.jpg","galleries_id":374190,"server_id":32,"link":"photo_7508664.html","width":160,"caption":"Behind Thorns","height":130});
															thumbnails[7508736] = clik.newPhoto({"id":7508736,"src":"Camel_Trader_thumb.jpg","galleries_id":374190,"server_id":32,"link":"photo_7508736.html","width":160,"caption":"Camel Trader Pushkar","height":107});
															thumbnails[7508759] = clik.newPhoto({"id":7508759,"src":"Early_Morning_Call_thumb.jpg","galleries_id":381847,"server_id":32,"link":"photo_7508759.html","width":160,"caption":"Early Morning Call","height":216});
															thumbnails[7508765] = clik.newPhoto({"id":7508765,"src":"Early_Morning_Call_blur_thumb.jpg","galleries_id":381847,"server_id":32,"link":"photo_7508765.html","width":160,"caption":"Early Morning Call 2","height":216});
															thumbnails[7508839] = clik.newPhoto({"id":7508839,"src":"collier-t-7917-A4_thumb.jpg","galleries_id":381847,"server_id":32,"link":"photo_7508839.html","width":160,"caption":"Mist At Biscuit Basin","height":109});
															thumbnails[7572118] = clik.newPhoto({"id":7572118,"src":"Misty_Morning_thumb.jpg","galleries_id":381847,"server_id":32,"link":"photo_7572118.html","width":160,"caption":"Misty Morning","height":204});
															thumbnails[7572126] = clik.newPhoto({"id":7572126,"src":"IMG_9648elkno_tree_thumb.jpg","galleries_id":381847,"server_id":32,"link":"photo_7572126.html","width":160,"caption":"Misty Dawn","height":106});
															thumbnails[7572202] = clik.newPhoto({"id":7572202,"src":"Dawn_Dual_thumb.jpg","galleries_id":381847,"server_id":32,"link":"photo_7572202.html","width":160,"caption":"Dawn Duel","height":107});
															thumbnails[7572216] = clik.newPhoto({"id":7572216,"src":"Dawn_Dual_blur_crop_thumb.jpg","galleries_id":381847,"server_id":32,"link":"photo_7572216.html","width":160,"caption":"Dawn Duel 2","height":120});
															thumbnails[7572221] = clik.newPhoto({"id":7572221,"src":"Out_Of_The_Mist_thumb.jpg","galleries_id":381847,"server_id":32,"link":"photo_7572221.html","width":160,"caption":"Out Of The Mist","height":207});
															thumbnails[7573405] = clik.newPhoto({"id":7573405,"src":"Musical_Movement_thumb.jpg","galleries_id":381847,"server_id":32,"link":"photo_7573405.html","width":160,"caption":"Musical Movement","height":95});
															thumbnails[7573408] = clik.newPhoto({"id":7573408,"src":"Taj_thumb.jpg","galleries_id":374190,"server_id":32,"link":"photo_7573408.html","width":160,"caption":"","height":120});
															thumbnails[7573409] = clik.newPhoto({"id":7573409,"src":"Nit_Picking_thumb.jpg","galleries_id":374190,"server_id":32,"link":"photo_7573409.html","width":160,"caption":"Nit Picking","height":120});
															thumbnails[7574409] = clik.newPhoto({"id":7574409,"src":"The_Offering_thumb.jpg","galleries_id":374190,"server_id":32,"link":"photo_7574409.html","width":160,"caption":"Pilgrims Alms","height":119});
															thumbnails[7673012] = clik.newPhoto({"id":7673012,"src":"bwsisters_thumb.jpg","galleries_id":374190,"server_id":32,"link":"photo_7673012.html","width":160,"caption":"Sisters","height":100});
															thumbnails[7677131] = clik.newPhoto({"id":7677131,"src":"Early_Evening_Pushkar_thumb.jpg","galleries_id":381847,"server_id":32,"link":"photo_7677131.html","width":160,"caption":"Early Evening Pushkar","height":81});
															thumbnails[7946486] = clik.newPhoto({"id":7946486,"src":"IMG_2971a_thumb.jpg","galleries_id":427995,"server_id":32,"link":"photo_7946486.html","width":160,"caption":"","height":100});
															thumbnails[7946489] = clik.newPhoto({"id":7946489,"src":"IMG_2967a_thumb.jpg","galleries_id":427995,"server_id":32,"link":"photo_7946489.html","width":160,"caption":"","height":120});
															thumbnails[7946504] = clik.newPhoto({"id":7946504,"src":"IMG_3042_thumb.jpg","galleries_id":427995,"server_id":32,"link":"photo_7946504.html","width":160,"caption":"","height":120});
															thumbnails[7946506] = clik.newPhoto({"id":7946506,"src":"IMG_3137a_thumb.jpg","galleries_id":427995,"server_id":32,"link":"photo_7946506.html","width":160,"caption":"","height":107});
															thumbnails[7946508] = clik.newPhoto({"id":7946508,"src":"IMG_3158_thumb.jpg","galleries_id":427995,"server_id":32,"link":"photo_7946508.html","width":160,"caption":"","height":112});
															thumbnails[7946510] = clik.newPhoto({"id":7946510,"src":"IMG_3175_thumb.jpg","galleries_id":427995,"server_id":32,"link":"photo_7946510.html","width":160,"caption":"","height":120});
															thumbnails[7946511] = clik.newPhoto({"id":7946511,"src":"IMG_3276_thumb.jpg","galleries_id":427995,"server_id":32,"link":"photo_7946511.html","width":160,"caption":"","height":111});
															thumbnails[7946512] = clik.newPhoto({"id":7946512,"src":"IMG_3467_thumb.jpg","galleries_id":427995,"server_id":32,"link":"photo_7946512.html","width":160,"caption":"","height":102});
															thumbnails[7946513] = clik.newPhoto({"id":7946513,"src":"Kite_Surfer_thumb.jpg","galleries_id":381847,"server_id":32,"link":"photo_7946513.html","width":160,"caption":"Kite Surfer","height":94});
															thumbnails[7946515] = clik.newPhoto({"id":7946515,"src":"Riders_of_The_Storm_thumb.jpg","galleries_id":381847,"server_id":32,"link":"photo_7946515.html","width":160,"caption":"Riders Of The Storm","height":95});
															thumbnails[7946542] = clik.newPhoto({"id":7946542,"src":"Riding_The_Surf_thumb.jpg","galleries_id":381847,"server_id":32,"link":"photo_7946542.html","width":160,"caption":"Sea Horse","height":120});
															thumbnails[7946544] = clik.newPhoto({"id":7946544,"src":"Riding_The_Waves_thumb.jpg","galleries_id":381847,"server_id":32,"link":"photo_7946544.html","width":160,"caption":"Riding The Waves","height":113});
															thumbnails[8858388] = clik.newPhoto({"id":8858388,"src":"1_Splash_Down800_thumb.jpg","galleries_id":427995,"server_id":32,"link":"photo_8858388.html","width":160,"caption":"Splash Down","height":116});
															thumbnails[6895704] = clik.newPhoto({"id":6895704,"src":"001_thumb.jpg","galleries_id":374188,"server_id":32,"link":"photo_6895704.html","width":160,"caption":"Fighting Terns","height":120});
															thumbnails[6903067] = clik.newPhoto({"id":6903067,"src":"IMG_9459_thumb.jpg","galleries_id":374189,"server_id":32,"link":"photo_6903067.html","width":160,"caption":"Whitebark Trees in Evening Light. Lamar Valley","height":98});
															thumbnails[6903324] = clik.newPhoto({"id":6903324,"src":"6_Camelman_Pushkar_thumb.jpg","galleries_id":374190,"server_id":32,"link":"photo_6903324.html","width":160,"caption":"Camelman Pushkar","height":122});
															thumbnails[7178999] = clik.newPhoto({"id":7178999,"src":"IMG_1394_thumb.jpg","galleries_id":374191,"server_id":32,"link":"photo_7178999.html","width":160,"caption":"Fighting Bull Grey Seals","height":120});
															thumbnails[6903326] = clik.newPhoto({"id":6903326,"src":"Woman_Pushkar_thumb.jpg","galleries_id":374190,"server_id":32,"link":"photo_6903326.html","width":160,"caption":"Woman Pushkar","height":94});
															thumbnails[7178997] = clik.newPhoto({"id":7178997,"src":"IMG_1374_thumb.jpg","galleries_id":374191,"server_id":32,"link":"photo_7178997.html","width":160,"caption":"Fighting Grey Seal Bulls","height":117});
															thumbnails[6903328] = clik.newPhoto({"id":6903328,"src":"_MG_0610_thumb.jpg","galleries_id":374190,"server_id":32,"link":"photo_6903328.html","width":160,"caption":"Rajesthani Woman","height":100});
															thumbnails[7178984] = clik.newPhoto({"id":7178984,"src":"IMG_1844_thumb.jpg","galleries_id":374191,"server_id":32,"link":"photo_7178984.html","width":160,"caption":"Grey Seal Cow With Pup","height":70});
															thumbnails[7053620] = clik.newPhoto({"id":7053620,"src":"_Tern_Airal_Display_thumb.jpg","galleries_id":374188,"server_id":32,"link":"photo_7053620.html","width":160,"caption":"Tern Arial Display","height":159});
															thumbnails[6903337] = clik.newPhoto({"id":6903337,"src":"5_Old_Man_Johdpur_England_thumb.jpg","galleries_id":374190,"server_id":32,"link":"photo_6903337.html","width":160,"caption":"Old Man Jodhpur","height":90});
															thumbnails[7178973] = clik.newPhoto({"id":7178973,"src":"IMG_1653_thumb.jpg","galleries_id":374191,"server_id":32,"link":"photo_7178973.html","width":160,"caption":"Grey Seal Pup","height":133});
															thumbnails[6903341] = clik.newPhoto({"id":6903341,"src":"_MG_0399a_thumb.jpg","galleries_id":374190,"server_id":32,"link":"photo_6903341.html","width":160,"caption":"Shopkeeper Bikaner","height":127});
															thumbnails[7178970] = clik.newPhoto({"id":7178970,"src":"IMG_1563_thumb.jpg","galleries_id":374191,"server_id":32,"link":"photo_7178970.html","width":160,"caption":"Grey Seal Pup","height":143});
															thumbnails[6899216] = clik.newPhoto({"id":6899216,"src":"Elk_Bugling_thumb.jpg","galleries_id":374191,"server_id":32,"link":"photo_6899216.html","width":160,"caption":"Bull Elk Bugling","height":105});
															thumbnails[7053755] = clik.newPhoto({"id":7053755,"src":"4_Arctic_Tern_Mobbing_Herring_Gull_thumb.jpg","galleries_id":374188,"server_id":32,"link":"photo_7053755.html","width":160,"caption":"Arctic Tern Mobbing Gull","height":112});
															thumbnails[6903110] = clik.newPhoto({"id":6903110,"src":"IMG_9802_thumb.jpg","galleries_id":374189,"server_id":32,"link":"photo_6903110.html","width":160,"caption":"Firehole River","height":109});
															thumbnails[6899221] = clik.newPhoto({"id":6899221,"src":"Elk_thumb.jpg","galleries_id":374191,"server_id":32,"link":"photo_6899221.html","width":160,"caption":"Bull Elk with Cow","height":145});
															thumbnails[6903109] = clik.newPhoto({"id":6903109,"src":"IMG_9790_thumb.jpg","galleries_id":374189,"server_id":32,"link":"photo_6903109.html","width":160,"caption":"Castle Geyser","height":93});
															thumbnails[7053884] = clik.newPhoto({"id":7053884,"src":"Goat_Man_thumb.jpg","galleries_id":374190,"server_id":32,"link":"photo_7053884.html","width":160,"caption":"Goatman","height":114});
															thumbnails[6903106] = clik.newPhoto({"id":6903106,"src":"IMG_9782_thumb.jpg","galleries_id":374189,"server_id":32,"link":"photo_6903106.html","width":160,"caption":"Castle Geyser, Old Faithful Yellowstone","height":107});
															thumbnails[6903102] = clik.newPhoto({"id":6903102,"src":"IMG_9764_thumb.jpg","galleries_id":374189,"server_id":32,"link":"photo_6903102.html","width":160,"caption":"Dead Trees and Castle Geyser","height":121});
															thumbnails[6903100] = clik.newPhoto({"id":6903100,"src":"IMG_9759_thumb.jpg","galleries_id":374189,"server_id":32,"link":"photo_6903100.html","width":160,"caption":"Reflection at Old Faithful","height":107});
															thumbnails[6903812] = clik.newPhoto({"id":6903812,"src":"IMG_9919_thumb.jpg","galleries_id":374191,"server_id":32,"link":"photo_6903812.html","width":160,"caption":"Elk Cow","height":114});
															thumbnails[6903097] = clik.newPhoto({"id":6903097,"src":"IMG_9750_thumb.jpg","galleries_id":374189,"server_id":32,"link":"photo_6903097.html","width":160,"caption":"Towards Castle Geyser","height":107});
															thumbnails[6903096] = clik.newPhoto({"id":6903096,"src":"IMG_9740_thumb.jpg","galleries_id":374189,"server_id":32,"link":"photo_6903096.html","width":160,"caption":"Heart Spring Upper Geyser Basin","height":93});
															thumbnails[7053925] = clik.newPhoto({"id":7053925,"src":"IMG_7739_thumb.jpg","galleries_id":374191,"server_id":32,"link":"photo_7053925.html","width":160,"caption":"Elk Cows fleeing predator","height":75});
															thumbnails[6899198] = clik.newPhoto({"id":6899198,"src":"Elk_In_Morning_Light_thumb.jpg","galleries_id":374191,"server_id":32,"link":"photo_6899198.html","width":160,"caption":"Elk in Early Morning Light","height":120});
															thumbnails[6903093] = clik.newPhoto({"id":6903093,"src":"IMG_9693_thumb.jpg","galleries_id":374189,"server_id":32,"link":"photo_6903093.html","width":160,"caption":"Old Faithful Yellowstone","height":118});
															thumbnails[6903092] = clik.newPhoto({"id":6903092,"src":"IMG_9660_thumb.jpg","galleries_id":374189,"server_id":32,"link":"photo_6903092.html","width":160,"caption":"Firehole River","height":91});
															thumbnails[7053771] = clik.newPhoto({"id":7053771,"src":"4_Lesser_Blackback_Gull_Dispute_thumb.jpg","galleries_id":374188,"server_id":32,"link":"photo_7053771.html","width":160,"caption":"Lesser Black-backed Gulls","height":131});
															thumbnails[7053880] = clik.newPhoto({"id":7053880,"src":"Friends1_thumb.jpg","galleries_id":374190,"server_id":32,"link":"photo_7053880.html","width":160,"caption":"Friends","height":107});
															thumbnails[7053930] = clik.newPhoto({"id":7053930,"src":"IMG_7776_thumb.jpg","galleries_id":374191,"server_id":32,"link":"photo_7053930.html","width":160,"caption":"Mule Deer","height":118});
															thumbnails[6899230] = clik.newPhoto({"id":6899230,"src":"Pronghorn_thumb.jpg","galleries_id":374191,"server_id":32,"link":"photo_6899230.html","width":160,"caption":"Pronghorn","height":120});
															thumbnails[6903353] = clik.newPhoto({"id":6903353,"src":"Child_in_THe_Gutter_no_noise_thumb.jpg","galleries_id":374190,"server_id":32,"link":"photo_6903353.html","width":160,"caption":"Life On The Line","height":114});
															thumbnails[6903083] = clik.newPhoto({"id":6903083,"src":"mist_at_biscuit1_thumb.jpg","galleries_id":374189,"server_id":32,"link":"photo_6903083.html","width":160,"caption":"Bison In The Mist At Biscuit Basin","height":110});
															thumbnails[6903352] = clik.newPhoto({"id":6903352,"src":"3_Back_Street_Kids_Bikaner_thumb.jpg","galleries_id":374190,"server_id":32,"link":"photo_6903352.html","width":160,"caption":"Back Street Kids Bikaner","height":114});
															thumbnails[6903081] = clik.newPhoto({"id":6903081,"src":"IMG_9574_thumb.jpg","galleries_id":374189,"server_id":32,"link":"photo_6903081.html","width":160,"caption":"Saphire Pool Biscuit Basin","height":107});
															thumbnails[6899236] = clik.newPhoto({"id":6899236,"src":"Rocky_Mountain_Goats_thumb.jpg","galleries_id":374191,"server_id":32,"link":"photo_6899236.html","width":160,"caption":"Rocky Mountain Goats","height":120});
															thumbnails[6903079] = clik.newPhoto({"id":6903079,"src":"IMG_9529_thumb.jpg","galleries_id":374189,"server_id":32,"link":"photo_6903079.html","width":160,"caption":"Midway Geyser Basin","height":76});
															thumbnails[6903351] = clik.newPhoto({"id":6903351,"src":"1_Streetlife_monodarker_thumb.jpg","galleries_id":374190,"server_id":32,"link":"photo_6903351.html","width":160,"caption":"Street Kids Delhi","height":114});
															thumbnails[6903078] = clik.newPhoto({"id":6903078,"src":"IMG_9518_thumb.jpg","galleries_id":374189,"server_id":32,"link":"photo_6903078.html","width":160,"caption":"Grand Prismatic Spring, Midway Geyser Basin","height":107});
															thumbnails[6903076] = clik.newPhoto({"id":6903076,"src":"IMG_9514_thumb.jpg","galleries_id":374189,"server_id":32,"link":"photo_6903076.html","width":160,"caption":"Grand Prismatic Spring Midway Geyser Basin","height":107});
															thumbnails[6899168] = clik.newPhoto({"id":6899168,"src":"Bull_Moose_Browsing_thumb.jpg","galleries_id":374191,"server_id":32,"link":"photo_6899168.html","width":160,"caption":"Bull Moose Browsing on Willow","height":138});
															thumbnails[6903074] = clik.newPhoto({"id":6903074,"src":"IMG_9506_thumb.jpg","galleries_id":374189,"server_id":32,"link":"photo_6903074.html","width":160,"caption":"Grand Prismatic Spring Midway Geyser Basin","height":107});
															thumbnails[7053643] = clik.newPhoto({"id":7053643,"src":"_MG_8486_thumb.jpg","galleries_id":374190,"server_id":32,"link":"photo_7053643.html","width":160,"caption":"Communal Shower","height":223});
															thumbnails[7053667] = clik.newPhoto({"id":7053667,"src":"1_Gannet_Colony_thumb.jpg","galleries_id":374188,"server_id":32,"link":"photo_7053667.html","width":160,"caption":"Gannet Colony","height":112});
															thumbnails[6903349] = clik.newPhoto({"id":6903349,"src":"_MG_0509bw_thumb.jpg","galleries_id":374190,"server_id":32,"link":"photo_6903349.html","width":160,"caption":"Camelman Pushkar 2","height":178});
															thumbnails[7053663] = clik.newPhoto({"id":7053663,"src":"_MG_8847puffin_thumb.jpg","galleries_id":374188,"server_id":32,"link":"photo_7053663.html","width":160,"caption":"Puffin with Sandeels","height":128});
															thumbnails[6895998] = clik.newPhoto({"id":6895998,"src":"020_thumb.jpg","galleries_id":374188,"server_id":32,"link":"photo_6895998.html","width":160,"caption":"Puffin In Flight","height":102});
															thumbnails[6899183] = clik.newPhoto({"id":6899183,"src":"Bull_Moose_thumb.jpg","galleries_id":374191,"server_id":32,"link":"photo_6899183.html","width":160,"caption":"Bull Moose","height":116});
															thumbnails[6903348] = clik.newPhoto({"id":6903348,"src":"Bringing_Them_Home_ab_thumb.jpg","galleries_id":374190,"server_id":32,"link":"photo_6903348.html","width":160,"caption":"Shepherd Rajesthan","height":234});
															thumbnails[6903069] = clik.newPhoto({"id":6903069,"src":"IMG_9495_thumb.jpg","galleries_id":374189,"server_id":32,"link":"photo_6903069.html","width":160,"caption":"Excelsior Geyser Crater, Midway Geysey Basin","height":109});
															thumbnails[6903068] = clik.newPhoto({"id":6903068,"src":"IMG_9489_thumb.jpg","galleries_id":374189,"server_id":32,"link":"photo_6903068.html","width":160,"caption":"Excelsior Geyser Crater Midway Geyser Basin","height":107});
															thumbnails[6903057] = clik.newPhoto({"id":6903057,"src":"IMG_9137_thumb.jpg","galleries_id":374189,"server_id":32,"link":"photo_6903057.html","width":160,"caption":"West Thumb Geyser Basin","height":107});
															thumbnails[6903056] = clik.newPhoto({"id":6903056,"src":"IMG_9127_thumb.jpg","galleries_id":374189,"server_id":32,"link":"photo_6903056.html","width":160,"caption":"West Thumb Geyser Basin","height":103});
															thumbnails[6903054] = clik.newPhoto({"id":6903054,"src":"IMG_9126_thumb.jpg","galleries_id":374189,"server_id":32,"link":"photo_6903054.html","width":160,"caption":"Blue Funnel Spring West Thumb Geyser Basin","height":107});
															thumbnails[6895799] = clik.newPhoto({"id":6895799,"src":"IMG_9461_thumb.jpg","galleries_id":374188,"server_id":32,"link":"photo_6895799.html","width":160,"caption":"Great Blue Heron","height":120});
															thumbnails[6903048] = clik.newPhoto({"id":6903048,"src":"IMG_9065_thumb.jpg","galleries_id":374189,"server_id":32,"link":"photo_6903048.html","width":160,"caption":"West Thumb Geyser Basin","height":107});
															thumbnails[7053801] = clik.newPhoto({"id":7053801,"src":"Darter_thumb.jpg","galleries_id":374188,"server_id":32,"link":"photo_7053801.html","width":160,"caption":"Indian Darter","height":123});
															thumbnails[7053897] = clik.newPhoto({"id":7053897,"src":"Bison_Bull_thumb.jpg","galleries_id":374191,"server_id":32,"link":"photo_7053897.html","width":160,"caption":"Bull Bison","height":107});
															thumbnails[6903046] = clik.newPhoto({"id":6903046,"src":"IMG_9063_thumb.jpg","galleries_id":374189,"server_id":32,"link":"photo_6903046.html","width":160,"caption":"West Thumb Geyser Basin","height":110});
															thumbnails[6895972] = clik.newPhoto({"id":6895972,"src":"IMG_0830crop_thumb.jpg","galleries_id":374188,"server_id":32,"link":"photo_6895972.html","width":160,"caption":"Grey Heron with Jack Pike","height":120});
															thumbnails[6899134] = clik.newPhoto({"id":6899134,"src":"Bison__Cayotes_thumb.jpg","galleries_id":374191,"server_id":32,"link":"photo_6899134.html","width":160,"caption":"Bull Bison & Coyotes","height":121});
															thumbnails[6903044] = clik.newPhoto({"id":6903044,"src":"IMG_9018_thumb.jpg","galleries_id":374189,"server_id":32,"link":"photo_6903044.html","width":160,"caption":"West Thumb Geyser Basin","height":107});
															thumbnails[6895807] = clik.newPhoto({"id":6895807,"src":"015_thumb.jpg","galleries_id":374188,"server_id":32,"link":"photo_6895807.html","width":160,"caption":"Grey Heron with Twig.","height":120});
															thumbnails[6903043] = clik.newPhoto({"id":6903043,"src":"IMG_8955_thumb.jpg","galleries_id":374189,"server_id":32,"link":"photo_6903043.html","width":160,"caption":"Daybreak West Thumb Yellowstone","height":107});
															thumbnails[6895980] = clik.newPhoto({"id":6895980,"src":"9_MG_1758_thumb.jpg","galleries_id":374188,"server_id":32,"link":"photo_6895980.html","width":160,"caption":"Painted Stork","height":134});
															thumbnails[6899141] = clik.newPhoto({"id":6899141,"src":"Bison__Cayote_thumb.jpg","galleries_id":374191,"server_id":32,"link":"photo_6899141.html","width":160,"caption":"Bull Bison Taking a Dust Bath watched on by a Coyote","height":97});
															thumbnails[6903042] = clik.newPhoto({"id":6903042,"src":"IMG_8949_thumb.jpg","galleries_id":374189,"server_id":32,"link":"photo_6903042.html","width":160,"caption":"Daybreak West Thumb Yellowstone","height":107});
															thumbnails[6899156] = clik.newPhoto({"id":6899156,"src":"Bisons_Fighting_1_thumb.jpg","galleries_id":374191,"server_id":32,"link":"photo_6899156.html","width":160,"caption":"Bull Bisons Fighting","height":107});
															thumbnails[6895705] = clik.newPhoto({"id":6895705,"src":"002_thumb.jpg","galleries_id":374188,"server_id":32,"link":"photo_6895705.html","width":160,"caption":"Avocet Calling","height":120});
															thumbnails[6899188] = clik.newPhoto({"id":6899188,"src":"Cayote_thumb.jpg","galleries_id":374191,"server_id":32,"link":"photo_6899188.html","width":160,"caption":"Coyote","height":120});
															thumbnails[6895706] = clik.newPhoto({"id":6895706,"src":"003_thumb.jpg","galleries_id":374188,"server_id":32,"link":"photo_6895706.html","width":160,"caption":"Avocet","height":120});
															thumbnails[6895712] = clik.newPhoto({"id":6895712,"src":"006_thumb.jpg","galleries_id":374188,"server_id":32,"link":"photo_6895712.html","width":160,"caption":"Avocet Bathing","height":116});
															thumbnails[6899192] = clik.newPhoto({"id":6899192,"src":"Cayotes_on_Carcass_thumb.jpg","galleries_id":374191,"server_id":32,"link":"photo_6899192.html","width":160,"caption":"Coyotes on Bison Carcass","height":120});
															thumbnails[6895708] = clik.newPhoto({"id":6895708,"src":"004_thumb.jpg","galleries_id":374188,"server_id":32,"link":"photo_6895708.html","width":160,"caption":"Avocets Mating","height":120});
															thumbnails[6895710] = clik.newPhoto({"id":6895710,"src":"005_thumb.jpg","galleries_id":374188,"server_id":32,"link":"photo_6895710.html","width":160,"caption":"Avocets After Mating","height":120});
															thumbnails[6899243] = clik.newPhoto({"id":6899243,"src":"Wolf_On_Kill_thumb.jpg","galleries_id":374191,"server_id":32,"link":"photo_6899243.html","width":160,"caption":"Wolf on Carcass","height":107});
															thumbnails[6895716] = clik.newPhoto({"id":6895716,"src":"007_thumb.jpg","galleries_id":374188,"server_id":32,"link":"photo_6895716.html","width":160,"caption":"Black Tailed Godwit","height":120});
															thumbnails[6899160] = clik.newPhoto({"id":6899160,"src":"Black_Bear_thumb.jpg","galleries_id":374191,"server_id":32,"link":"photo_6899160.html","width":160,"caption":"Black Bear","height":120});
															thumbnails[7053888] = clik.newPhoto({"id":7053888,"src":"grebe_with_feather_thumb.jpg","galleries_id":374188,"server_id":32,"link":"photo_7053888.html","width":160,"caption":"Grebe With Feather","height":78});
															thumbnails[6895974] = clik.newPhoto({"id":6895974,"src":"007a_thumb.jpg","galleries_id":374188,"server_id":32,"link":"photo_6895974.html","width":160,"caption":"Great Crested Grebes with Fish","height":110});
															thumbnails[6899162] = clik.newPhoto({"id":6899162,"src":"Grizzly_thumb.jpg","galleries_id":374191,"server_id":32,"link":"photo_6899162.html","width":160,"caption":"Grizzly Bear","height":109});
															thumbnails[6895795] = clik.newPhoto({"id":6895795,"src":"016_thumb.jpg","galleries_id":374188,"server_id":32,"link":"photo_6895795.html","width":160,"caption":"Little Grebe aka Dabchick","height":122});
															thumbnails[6895958] = clik.newPhoto({"id":6895958,"src":"015a_thumb.jpg","galleries_id":374188,"server_id":32,"link":"photo_6895958.html","width":160,"caption":"White Pelican","height":120});
															thumbnails[6899229] = clik.newPhoto({"id":6899229,"src":"Otter_Bliss_thumb.jpg","galleries_id":374191,"server_id":32,"link":"photo_6899229.html","width":160,"caption":"Otter Bliss","height":120});
															thumbnails[6903108] = clik.newPhoto({"id":6903108,"src":"IMG_9789_thumb.jpg","galleries_id":374189,"server_id":32,"link":"photo_6903108.html","width":160,"caption":"Dead Trees Upper Geyser Basin","height":219});
															thumbnails[6895921] = clik.newPhoto({"id":6895921,"src":"IMG_6747_thumb.jpg","galleries_id":374188,"server_id":32,"link":"photo_6895921.html","width":160,"caption":"Oyster Catcher in surf","height":120});
															thumbnails[6903104] = clik.newPhoto({"id":6903104,"src":"IMG_9780_thumb.jpg","galleries_id":374189,"server_id":32,"link":"photo_6903104.html","width":160,"caption":"Dead Trees Upper Geyser Basin","height":237});
															thumbnails[6899226] = clik.newPhoto({"id":6899226,"src":"Otter_with_Fish_thumb.jpg","galleries_id":374191,"server_id":32,"link":"photo_6899226.html","width":160,"caption":"Otter with Fish","height":92});
															thumbnails[6903103] = clik.newPhoto({"id":6903103,"src":"IMG_9777_thumb.jpg","galleries_id":374189,"server_id":32,"link":"photo_6903103.html","width":160,"caption":"Dead Trees Upper Geyser Basin","height":236});
															thumbnails[6903094] = clik.newPhoto({"id":6903094,"src":"IMG_9714_thumb.jpg","galleries_id":374189,"server_id":32,"link":"photo_6903094.html","width":160,"caption":"Upper Geyser Basin","height":240});
															thumbnails[6903090] = clik.newPhoto({"id":6903090,"src":"IMG_9652_thumb.jpg","galleries_id":374189,"server_id":32,"link":"photo_6903090.html","width":160,"caption":"Trees and Mist Fountain Paint Pots Geyser Basin","height":240});
															thumbnails[6903080] = clik.newPhoto({"id":6903080,"src":"IMG_9538_thumb.jpg","galleries_id":374189,"server_id":32,"link":"photo_6903080.html","width":160,"caption":"Saphire Pool Biscuit Basin","height":240});
															thumbnails[6895964] = clik.newPhoto({"id":6895964,"src":"IMG_7911_thumb.jpg","galleries_id":374188,"server_id":32,"link":"photo_6895964.html","width":160,"caption":"Juvenile Osprey At Nest","height":120});
															thumbnails[6899203] = clik.newPhoto({"id":6899203,"src":"Elk_In_Sagebrush_thumb.jpg","galleries_id":374191,"server_id":32,"link":"photo_6899203.html","width":160,"caption":"Bull Elk in Sagebrush","height":214});
															thumbnails[6903073] = clik.newPhoto({"id":6903073,"src":"IMG_9504a_thumb.jpg","galleries_id":374189,"server_id":32,"link":"photo_6903073.html","width":160,"caption":"Tree Clinging To Life","height":213});
															thumbnails[6895986] = clik.newPhoto({"id":6895986,"src":"012a_thumb.jpg","galleries_id":374188,"server_id":32,"link":"photo_6895986.html","width":160,"caption":"Red Kite","height":163});
															thumbnails[6895992] = clik.newPhoto({"id":6895992,"src":"009a_thumb.jpg","galleries_id":374188,"server_id":32,"link":"photo_6895992.html","width":160,"caption":"Common Buzzard In Flight","height":113});
															thumbnails[6903062] = clik.newPhoto({"id":6903062,"src":"IMG_9265_thumb.jpg","galleries_id":374189,"server_id":32,"link":"photo_6903062.html","width":160,"caption":"Old Faithful","height":240});
															thumbnails[6903060] = clik.newPhoto({"id":6903060,"src":"IMG_9141_thumb.jpg","galleries_id":374189,"server_id":32,"link":"photo_6903060.html","width":160,"caption":"West Thumb Geyser Basin","height":229});
															thumbnails[6903052] = clik.newPhoto({"id":6903052,"src":"IMG_9122_thumb.jpg","galleries_id":374189,"server_id":32,"link":"photo_6903052.html","width":160,"caption":"Perforated Pool","height":219});
															thumbnails[6896001] = clik.newPhoto({"id":6896001,"src":"021_thumb.jpg","galleries_id":374188,"server_id":32,"link":"photo_6896001.html","width":160,"caption":"Raven In Flight","height":98});
															thumbnails[7053895] = clik.newPhoto({"id":7053895,"src":"IMG_1172_thumb.jpg","galleries_id":374188,"server_id":32,"link":"photo_7053895.html","width":160,"caption":"Nuthatch","height":110});
															thumbnails[6903116] = clik.newPhoto({"id":6903116,"src":"IMG_9886_thumb.jpg","galleries_id":374189,"server_id":32,"link":"photo_6903116.html","width":160,"caption":"Dead Trees","height":240});
															thumbnails[6903112] = clik.newPhoto({"id":6903112,"src":"IMG_9829_thumb.jpg","galleries_id":374189,"server_id":32,"link":"photo_6903112.html","width":160,"caption":"Trees And Reflection Upper Geyser Basin","height":219});
															thumbnails[6903039] = clik.newPhoto({"id":6903039,"src":"IMG_7581_thumb.jpg","galleries_id":374189,"server_id":32,"link":"photo_6903039.html","width":160,"caption":"Trees and Storm Clouds","height":240});
															thumbnails[6903034] = clik.newPhoto({"id":6903034,"src":"IMG_4859_thumb.jpg","galleries_id":374189,"server_id":32,"link":"photo_6903034.html","width":160,"caption":"Trees and a Touch of Snow","height":240});
															thumbnails[6973422] = clik.newPhoto({"id":6973422,"src":"IMG_1143a_thumb.jpg","galleries_id":374188,"server_id":32,"link":"photo_6973422.html","width":160,"caption":"Bearded Tits","height":120});
															thumbnails[6903033] = clik.newPhoto({"id":6903033,"src":"IMG_4858_thumb.jpg","galleries_id":374189,"server_id":32,"link":"photo_6903033.html","width":160,"caption":"Trees and Clouds","height":240});
															thumbnails[6903032] = clik.newPhoto({"id":6903032,"src":"IMG_0213_thumb.jpg","galleries_id":374189,"server_id":32,"link":"photo_6903032.html","width":160,"caption":"Early Morning Mist","height":206});
															thumbnails[7053614] = clik.newPhoto({"id":7053614,"src":"_MG_7542_thumb.jpg","galleries_id":374188,"server_id":32,"link":"photo_7053614.html","width":160,"caption":"Cock European Stonechat","height":129});
															thumbnails[6903031] = clik.newPhoto({"id":6903031,"src":"IMG_0206bird_thumb.jpg","galleries_id":374189,"server_id":32,"link":"photo_6903031.html","width":160,"caption":"Early Riser","height":226});
															thumbnails[7053612] = clik.newPhoto({"id":7053612,"src":"_MG_7521a_thumb.jpg","galleries_id":374188,"server_id":32,"link":"photo_7053612.html","width":160,"caption":"Hen European Stonechat","height":137});
															thumbnails[6895773] = clik.newPhoto({"id":6895773,"src":"008_thumb.jpg","galleries_id":374188,"server_id":32,"link":"photo_6895773.html","width":160,"caption":"Clark's Nutcracker","height":103});
															thumbnails[6903029] = clik.newPhoto({"id":6903029,"src":"IMG_0129_thumb.jpg","galleries_id":374189,"server_id":32,"link":"photo_6903029.html","width":160,"caption":"Mammoth Hot Springs Upper Terrace","height":211});
															thumbnails[6895995] = clik.newPhoto({"id":6895995,"src":"013a_thumb.jpg","galleries_id":374188,"server_id":32,"link":"photo_6895995.html","width":160,"caption":"Great Spotted Woodpecker at Nest","height":197});
															thumbnails[6903026] = clik.newPhoto({"id":6903026,"src":"IMG_0109_thumb.jpg","galleries_id":374189,"server_id":32,"link":"photo_6903026.html","width":160,"caption":"Upper Terrace Mammoth Hot Springs","height":226});
															thumbnails[6895994] = clik.newPhoto({"id":6895994,"src":"IMG_5743_thumb.jpg","galleries_id":374188,"server_id":32,"link":"photo_6895994.html","width":160,"caption":"Common Buzzard","height":204});
															thumbnails[6900911] = clik.newPhoto({"id":6900911,"src":"IMG_0076_thumb.jpg","galleries_id":374189,"server_id":32,"link":"photo_6900911.html","width":160,"caption":"Mammoth Hot Springs Lower Terrace","height":202});
															thumbnails[6900899] = clik.newPhoto({"id":6900899,"src":"IMG_0038_thumb.jpg","galleries_id":374189,"server_id":32,"link":"photo_6900899.html","width":160,"caption":"Mammoth Hot Springs Upper Terrace","height":215});
															thumbnails[6895996] = clik.newPhoto({"id":6895996,"src":"016a_thumb.jpg","galleries_id":374188,"server_id":32,"link":"photo_6895996.html","width":160,"caption":"Lapwing Calling","height":232});
															thumbnails[7053893] = clik.newPhoto({"id":7053893,"src":"gull_on_nestt_thumb.jpg","galleries_id":374188,"server_id":32,"link":"photo_7053893.html","width":160,"caption":"Lesser Black-Backed Gull At Nest","height":187});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[374188] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Birds","link":"gallery_374188.html","maxRecords":0.0,"photoIDs":[6895704.0,7053620.0,7053755.0,7053771.0,7053667.0,7053663.0,6895998.0,6895799.0,7053801.0,6895972.0,6895807.0,6895980.0,6895705.0,6895706.0,6895712.0,6895708.0,6895710.0,6895716.0,7053888.0,6895974.0,6895795.0,6895958.0,6895921.0,6895964.0,6895986.0,6895992.0,6896001.0,7053895.0,6973422.0,7053614.0,7053612.0,6895773.0,6895995.0,6895994.0,6895996.0,7053893.0],"skipIndex":0,"section_code":"gallery","featured_images":6895704.0,"id":374188,"singleSection":false});				  						galleries[374191] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Mammals","link":"gallery_374191.html","maxRecords":0.0,"photoIDs":[7178999.0,7178997.0,7178984.0,7178973.0,7178970.0,6899216.0,6899221.0,6903812.0,7053925.0,6899198.0,7053930.0,6899230.0,6899236.0,6899168.0,6899183.0,7053897.0,6899134.0,6899141.0,6899156.0,6899188.0,6899192.0,6899243.0,6899160.0,6899162.0,6899229.0,6899226.0,6899203.0],"skipIndex":0,"section_code":"gallery","featured_images":6899216.0,"id":374191,"singleSection":false});				  						galleries[374189] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Yellowstone","link":"gallery_374189.html","maxRecords":0.0,"photoIDs":[6900905.0,6900909.0,6900914.0,6903027.0,6903028.0,6903030.0,6903035.0,6903036.0,6903037.0,6903114.0,6903067.0,6903110.0,6903109.0,6903106.0,6903102.0,6903100.0,6903097.0,6903096.0,6903093.0,6903092.0,6903083.0,6903081.0,6903079.0,6903078.0,6903076.0,6903074.0,6903069.0,6903068.0,6903057.0,6903056.0,6903054.0,6903048.0,6903046.0,6903044.0,6903043.0,6903042.0,6903108.0,6903104.0,6903103.0,6903094.0,6903090.0,6903080.0,6903073.0,6903062.0,6903060.0,6903052.0,6903116.0,6903112.0,6903039.0,6903034.0,6903033.0,6903032.0,6903031.0,6903029.0,6903026.0,6900911.0,6900899.0],"skipIndex":0,"section_code":"gallery","featured_images":6903093.0,"id":374189,"singleSection":false});				  						galleries[376092] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Yellowstone Fire","link":"gallery_376092.html","maxRecords":0.0,"photoIDs":[6934705.0,6934707.0,6934711.0,6934714.0,6934717.0,6934719.0,6934720.0,6934721.0,6934722.0,6934724.0,6934725.0,6934758.0,6934760.0,6934761.0,6934762.0,6934764.0,6934765.0,6934766.0,6934767.0],"skipIndex":0,"section_code":"gallery","featured_images":6934711.0,"id":376092,"singleSection":false});				  						galleries[374448] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Grand Teton","link":"gallery_374448.html","maxRecords":0.0,"photoIDs":[6902749.0,6902750.0,6902752.0,6902753.0,6902754.0,6902755.0,6902756.0,6902757.0,6902758.0,6902759.0,6902760.0,6902761.0,6902763.0],"skipIndex":0,"section_code":"gallery","featured_images":6902749.0,"id":374448,"singleSection":false});				  						galleries[374190] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"People of India","link":"gallery_374190.html","maxRecords":0.0,"photoIDs":[7508597.0,7508664.0,7508736.0,7573408.0,7573409.0,7574409.0,7673012.0,6903324.0,6903326.0,6903328.0,6903337.0,6903341.0,7053884.0,7053880.0,6903353.0,6903352.0,6903351.0,7053643.0,6903349.0,6903348.0],"skipIndex":0,"section_code":"gallery","featured_images":6903324.0,"id":374190,"singleSection":false});				  						galleries[427995] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Appleby Horse Fair","link":"gallery_427995.html","maxRecords":0.0,"photoIDs":[7946486.0,7946489.0,7946504.0,7946506.0,7946508.0,7946510.0,7946511.0,7946512.0,8858388.0],"skipIndex":0,"section_code":"gallery","featured_images":"8858388,7946512,7946511,7946510,7946508,7946506,7946504,7946489,7946486","id":427995,"singleSection":false});				  						galleries[381847] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Miscellaneous","link":"gallery_381847.html","maxRecords":0.0,"photoIDs":[7053836.0,7053841.0,7053861.0,7053870.0,7056348.0,7508759.0,7508765.0,7508839.0,7572118.0,7572126.0,7572202.0,7572216.0,7572221.0,7573405.0,7677131.0,7946513.0,7946515.0,7946542.0,7946544.0],"skipIndex":0,"section_code":"gallery","featured_images":"7946544,7946542,7946515,7946513,7677131,7573405,7572221,7572216,7572202,7572126","id":381847,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '6895704';
imageSets[2] = '6934711,6902749,6903324,6895704,6899216,6903093';
imageSets[3] = '6903114,6903037,6903036,6903035,6903030,6903028,6903027,6902763,6902761,6902760,6902759,6902758,6902757,6902756,6902755,6902754,6902753,6902752,6902750,6902749,6900914,6900909,6900905,6903324,6903067,6903328,6903337,6899216,6903110,6903109,6899221,6903106,6903102,6903100,6903097,6903096,6903093,6899198,6903092,6903353,6899230,6903083,6903352,6903081,6903351,6903079,6899236,6903078,6903076,6903074,6899168,6903349,6903348,6899183,6895998,6903069,6903068,6903057,6903056,6903054,6903048,6895799,6903046,6903044,6899134,6895972,6903043,6895807,6903042,6899141,6895980,6899156,6899188,6895705,6895706,6899192,6895712,6895708,6899243,6895710,6895716,6899160,6899162,6895974,6895795,6903108,6895958,6903104,6895921,6903103,6899226,6903094,6903090,6903080,6903073,6899203,6895964,6895986,6903062,6895992,6903060,6903052,6896001,6903116,6903112,6903039,6903034,6903033,6903032,6903031,6903029,6895773,6903026,6895995,6900911,6895994,6900899,6895996';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/tcphotos/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/tcphotos/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/tcphotos/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/tcphotos/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/tcphotos/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/tcphotos/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/tcphotos/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/tcphotos/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/tcphotos/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/tcphotos/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/tcphotos/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/tcphotos/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/tcphotos/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/tcphotos/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/tcphotos/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/tcphotos/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/tcphotos/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/tcphotos/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/tcphotos/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/tcphotos/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/tcphotos/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/tcphotos/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/tcphotos/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/tcphotos/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/tcphotos/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/tcphotos/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/tcphotos/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 = 'Tony Collier Photography: ' + photoCaption;
			    }
        if (op.$detail.length > 0) {
      	temp = op.nextPhoto.fnGetImageDetails();
	    op.$detail.fadeGalleryDetails(temp, op.speed, function(){
			if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
				toggleAddToCartConfirm(backgrounds, op.$detail);
			} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
				toggleAddToCartConfirm(photos, op.$detail);
			}
			$('body').trigger('clikUpdate.popup');
	    });
    }
        $(op.$detailContainer).find('.replaceable[class*=replaceable_photo-]').each(function(){
    	var field = clik.getPrefixedClass(this.className, 'replaceable_photo-');
    	if (field in op.nextPhoto) {
    		$(this).fadeGalleryDetails(op.nextPhoto[field], op.speed);
    	}
    }).end().find('.replaceable.photoPayment').fadeGalleryDetails(op.nextPhoto.fnGetPaymentInfo(), op.speed, function(){
		if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
			toggleAddToCartConfirm(backgrounds, op.$detailContainer);
		} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
			toggleAddToCartConfirm(photos, op.$detailContainer);
		}
		$('body').trigger('clikUpdate.popup');
	});
		if (op.$photo.length > 0) {
		html = $('<img/>',{
			'class': 'mainphoto photo',
			src: photoSrc,
			id: 'mainPic',
			name: 'mainPic',
			width: op.nextPhoto.width,
			height: op.nextPhoto.height,
			alt: photoCaption,
			css: op.css || {}
		});
		if (op.href) {
			if (op.href.match(/<a/)) {
				html = $(op.href).append(html);
			} else {
				html = $('<a/>', {
					href: op.href,
					title: photoCaption
				}).append(html);
			}
		} else {
			html = $('<a/>', {
				title: photoCaption
			}).append(html);
		}
		if (op.speed == 0) {			op.$photo.html(html);			if (op.onBefore) {			  	op.onBefore.apply(op.$photo);			}			if (op.onAfter) {			  	op.onAfter.apply(op.$photo);			}		} else {			op.$photo.stop(true,true).fadeReplaceWith(html,op.speed,'',function(){  				if (op.onAfter) {				  	op.onAfter.apply(this);				}				clik.doColumnResize(false, $(this).add(op.$detail).add(op.$title));			}, op.onBefore);
		}	}
    if (op.field) {
		op.field.value = photoId;
	} else {
		op.$photo.data('image_id', photoId);
    }
        if (!op.speed) {
      	clik.doColumnResize(false, op.$photo.add(op.$detail).add(op.$title));
    }
        
    return html;
	}

/***************************************************************************
* Toggle add to cart confirmation element and set up the click event for   *
* the 'Add to cart' button.                                                *
***************************************************************************/
function toggleAddToCartConfirm(array, root){
	if (typeof(array) !== 'object' || array === null) {
	  	array = photos;
	}
	if (!$(root).length) {		root = $('body');	}	if($('#paymentConfirm', root).length > 0){
		$('#paymentConfirm', root).hide();
		$('#paymentAddButton', root)
		.unbind()
		.click(function(){
						form = $('#paymentForm', root)[0];
			option_id = 0;
			if(form.item_option.value){
				option_id = form.item_option.value;
			}
			if(addItemToBasket(form.item_number.value,array,form.site.value,parseInt(form.quantity.value, 10),option_id)){
				if($.browser.msie){$('#paymentConfirm', root).text('Item added to cart').show();}
				else{
					$('#paymentConfirm', root).text('Item added to cart').fadeIn();
					dspOrderDetails(form.site.value);
				}
			}
			else{
				$('#paymentConfirm', root).text('Item not added - check cookies are enabled in your browser.').fadeIn();
			}
		});
	}
}

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetImageDetails = function(){
	var temp = '';
	if (this.description != '') {
		temp +=  '<div id="imageDescription">' + this.description + '</div>';
	}
		if (this.photo_ref != '') {
		temp += '<div class="imageinfo" id="imageRef"><strong>Ref: </strong>' + this.photo_ref + '</div>';
	}
		if (this.takendate != '') {
		
		temp += '<div class="imageinfo" id="imageDate"><strong>Date: </strong>' + this.takendate + '</div>';
	}
	
	if (this.location != '') {
		
		temp += '<div class="imageinfo" id="imageLocation"><strong>Location: </strong>' +  this.location + '</div>';
	}
	
	if (this.photographer != '') {
		
		temp += '<div class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>' + this.photographer + '</div>';
	}
				
	temp += this.fnGetPaymentInfo();
				if (temp != '') {
		temp += '<div class="spacer"></div>';
	}
	return temp;
};

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetPaymentInfo = function(){
	var temp = '';
	if (this.item_price !== '') {
																		temp += '<p>Buy now using PayPal:</p>';
				temp += '<div class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> &pound;' + (this.item_price).toFixed(2) + '</div>';
		var item_name  = this.purchase_instruction;
		var amount = (this.item_price).toFixed(2);
		var item_option  = 0;
	}
		else if (this.payment_groups_id !== '') {
		temp += '<p>Buy this print online:</p>';
				temp += '<form id="paymentOptions" style="margin:0px;border:0px;" name="paymentOptions">';
		 									temp += '<select class="paymentlink" name="payment_options_id" onchange="updateCartValue($(this.form).next(\'#paymentForm\')[0],this.form.payment_options_id.options[this.form.payment_options_id.options.selectedIndex].value); if(divShowing(\'paymentConfirm\')){fadeOut(\'paymentConfirm\', 3)};">';
		
		temp += getPaymentOptions(this.payment_groups_id);
		temp += '</select>';
		temp += '</form>';
				var item_option  = paymentGroups[this.payment_groups_id].options[0];
		if(paymentOptions[item_option]){
			var item_name  = paymentOptions[item_option].payment_option;
			var amount =  paymentOptions[item_option].price;
		}
			}
		else {
		
	}
	if (this.item_price !== '' || this.payment_groups_id !== '') {
											temp += '<form id="paymentForm" style="margin:0px;border:0px;" name="paymentForm">';
			temp += '	<input type="hidden" name="item_option" value="' + item_option + '">';
			temp += '	<input type="hidden" name="site" value="TCPHOTOS">';
			temp += '	<input type="hidden" name="item_number" value="'+ this.id +'">';
			temp += '	<input type="hidden" name="quantity" value="1">';
						temp += '	<input value="Add to cart" id="paymentAddButton" class="button" onmouseover="this.className=\'buttonHi\'\;" onmouseout="this.className=\'button\'\;" type="Button">';
							temp += '	<input value="View cart" id="paymentViewButton" class="button" onmouseover="this.className=\'buttonHi\';" onmouseout="this.className=\'button\';" type="Button" onclick="javascript:window.location=\'cart.html\'">';
			temp += '</form>';
						temp += '<div class="clearing">&nbsp;</div>';
			temp += '<div id="confirmContainer">';
			temp += '<div id="paymentConfirm">Item added to cart</div>';
			temp += '</div>';
			temp += '<div class="clearing">&nbsp;</div>';
	}
	return temp;};

/***************************************************************************
* Pick a photo at random from the featured images of a gallery.            *
* Gallery_id = id of gallery to choose,                                    *
* img = reference to html image in                                         *
* which to show image                                                      *
***************************************************************************/
function showGalleryImage(gallery_id, img, updateLink) {
	
	if(img){
		if (location.hash.match('galleries_id=' + gallery_id) && (imageID = location.hash.match('.*photos_id=(.+)$'))) {
		  	imageID = imageID[1];
		} else {
		  	imageID = randomListVal(galleries[gallery_id].featured_images);
		}
		
		if (imageID != 0) {
			img.src = thumbnails[imageID].src;
			img.width = thumbnails[imageID].width;
			img.height = thumbnails[imageID].height;
			img.alt = galleries[gallery_id].title;
			if (updateLink) {
				$(img).parent().attr({					title: galleries[gallery_id].title				}).filter(function(){return this.href;}).attr({					href: thumbnails[imageID].fnGalleryLink(gallery_id)				});
			}
		}
	}
}

/***************************************************************************
* If we have dynamic HTML, replace the galleries link with a list that     *
* doesn't include thecurrent gallery                                       *
***************************************************************************/
function showGalleries(gallery_id) {
		
	
	if (!basic) {
		temp = '';
		for (i = 0; i < galleries.length; i++) {
						
			
			if (galleries[i].id != gallery_id) {
								
				if (temp != '') {
					temp += ' | ';
				}
								temp += '<a href="' + galleries[i].section_code + '_' + galleries[i].id + '.html">' + galleries[i].title + '</a>';
							}
		}
		document.all.galleryLinks.innerHTML = 'Other galleries: ' + temp;
	}
}

			

