window.thumbnails = {};
															thumbnails[3085028] = clik.newPhoto({"id":3085028,"src":"CheetahCubs_thumb.jpg","galleries_id":188325,"server_id":32,"link":"photo_3085028.html","width":130,"caption":"Protect and Defend<br>\r\n","height":181});
															thumbnails[3085031] = clik.newPhoto({"id":3085031,"src":"Kilimanjaro_thumb.jpg","galleries_id":188326,"server_id":32,"link":"photo_3085031.html","width":130,"caption":"Snows of Kilimanjaro","height":87});
															thumbnails[3085032] = clik.newPhoto({"id":3085032,"src":"Lioncubmum_thumb.jpg","galleries_id":188325,"server_id":32,"link":"photo_3085032.html","width":130,"caption":"Love is ... hugging Mum","height":195});
															thumbnails[3085035] = clik.newPhoto({"id":3085035,"src":"Lioncubs2_thumb.jpg","galleries_id":188325,"server_id":32,"link":"photo_3085035.html","width":130,"caption":"Lion Cubs","height":195});
															thumbnails[3085037] = clik.newPhoto({"id":3085037,"src":"LionMouth_thumb.jpg","galleries_id":188325,"server_id":32,"link":"photo_3085037.html","width":130,"caption":"Straight from the Lion's Mouth","height":195});
															thumbnails[3093536] = clik.newPhoto({"id":3093536,"src":"BloodLion11_thumb.jpg","galleries_id":188325,"server_id":32,"link":"photo_3093536.html","width":130,"caption":"Jambo Bwana","height":195});
															thumbnails[3093557] = clik.newPhoto({"id":3093557,"src":"Cheetahcomp1_thumb.jpg","galleries_id":188325,"server_id":32,"link":"photo_3093557.html","width":130,"caption":"Call of the Wild","height":96});
															thumbnails[3093589] = clik.newPhoto({"id":3093589,"src":"MaleLions1_thumb.jpg","galleries_id":188325,"server_id":32,"link":"photo_3093589.html","width":130,"caption":"Oh Brother","height":195});
															thumbnails[3093629] = clik.newPhoto({"id":3093629,"src":"MaraPlunge21_thumb.jpg","galleries_id":188325,"server_id":32,"link":"photo_3093629.html","width":130,"caption":"Leap of Faith","height":85});
															thumbnails[3093651] = clik.newPhoto({"id":3093651,"src":"Ostrich1_thumb.jpg","galleries_id":188325,"server_id":32,"link":"photo_3093651.html","width":130,"caption":"In the Pink","height":87});
															thumbnails[3099086] = clik.newPhoto({"id":3099086,"src":"CheetahCubsWalk tone_thumb.jpg","galleries_id":188325,"server_id":32,"link":"photo_3099086.html","width":130,"caption":"Cat Walk","height":87});
															thumbnails[3099094] = clik.newPhoto({"id":3099094,"src":"leptone_thumb.jpg","galleries_id":188325,"server_id":32,"link":"photo_3099094.html","width":130,"caption":"Eye of the Leopard","height":87});
															thumbnails[3099113] = clik.newPhoto({"id":3099113,"src":"Lion hunting_thumb.jpg","galleries_id":188326,"server_id":32,"link":"photo_3099113.html","width":130,"caption":"Lion in Wait","height":87});
															thumbnails[3099119] = clik.newPhoto({"id":3099119,"src":"LionDrink1_thumb.jpg","galleries_id":188326,"server_id":32,"link":"photo_3099119.html","width":130,"caption":"Lap of Luxury","height":115});
															thumbnails[3099126] = clik.newPhoto({"id":3099126,"src":"TuftedEagle_thumb.jpg","galleries_id":188326,"server_id":32,"link":"photo_3099126.html","width":130,"caption":"Tufted Eagle","height":195});
															thumbnails[3099142] = clik.newPhoto({"id":3099142,"src":"VultureTree2_thumb.jpg","galleries_id":188326,"server_id":32,"link":"photo_3099142.html","width":130,"caption":"Vulture Tree","height":90});
															thumbnails[3099145] = clik.newPhoto({"id":3099145,"src":"WildeTree silouette_thumb.jpg","galleries_id":188326,"server_id":32,"link":"photo_3099145.html","width":130,"caption":"Sundowner","height":74});
															thumbnails[3099148] = clik.newPhoto({"id":3099148,"src":"Z Mara Good20080920-004_thumb.jpg","galleries_id":188326,"server_id":32,"link":"photo_3099148.html","width":130,"caption":"Greatest Show on Earth","height":90});
															thumbnails[3102515] = clik.newPhoto({"id":3102515,"src":"Battling Egrets_thumb.jpg","galleries_id":190311,"server_id":32,"link":"photo_3102515.html","width":130,"caption":"Battling Egrets","height":173});
															thumbnails[3102559] = clik.newPhoto({"id":3102559,"src":"Double Plover_thumb.jpg","galleries_id":190311,"server_id":32,"link":"photo_3102559.html","width":130,"caption":"Double Plover","height":195});
															thumbnails[3102569] = clik.newPhoto({"id":3102569,"src":"Elephant dust_thumb.jpg","galleries_id":190311,"server_id":32,"link":"photo_3102569.html","width":130,"caption":"Heat and Dust","height":68});
															thumbnails[3102578] = clik.newPhoto({"id":3102578,"src":"Follow the Leader_thumb.jpg","galleries_id":190311,"server_id":32,"link":"photo_3102578.html","width":130,"caption":"Follow My Leader","height":79});
															thumbnails[3102582] = clik.newPhoto({"id":3102582,"src":"Giraffe Run_thumb.jpg","galleries_id":190311,"server_id":32,"link":"photo_3102582.html","width":130,"caption":"Giraffe Run","height":87});
															thumbnails[3102584] = clik.newPhoto({"id":3102584,"src":"Lion Licks_thumb.jpg","galleries_id":190311,"server_id":32,"link":"photo_3102584.html","width":130,"caption":"Lion's Bathtime","height":195});
															thumbnails[3102588] = clik.newPhoto({"id":3102588,"src":"Maasai warrior_thumb.jpg","galleries_id":190311,"server_id":32,"link":"photo_3102588.html","width":130,"caption":"Massai Warrior","height":195});
															thumbnails[3102591] = clik.newPhoto({"id":3102591,"src":"Zebra Kiss_thumb.jpg","galleries_id":190311,"server_id":32,"link":"photo_3102591.html","width":130,"caption":"Kiss Kiss","height":87});
															thumbnails[3103047] = clik.newPhoto({"id":3103047,"src":"Airbus380_thumb.jpg","galleries_id":190385,"server_id":32,"link":"photo_3103047.html","width":130,"caption":"Airbus A-380","height":123});
															thumbnails[3103050] = clik.newPhoto({"id":3103050,"src":"Arrow starburst_thumb.jpg","galleries_id":190385,"server_id":32,"link":"photo_3103050.html","width":130,"caption":"Red Arrow Starburst","height":87});
															thumbnails[3103055] = clik.newPhoto({"id":3103055,"src":"ArrowTakeoff_thumb.jpg","galleries_id":190385,"server_id":32,"link":"photo_3103055.html","width":130,"caption":"Red Arrow Takeoff","height":87});
															thumbnails[3103060] = clik.newPhoto({"id":3103060,"src":"Catalina_thumb.jpg","galleries_id":190385,"server_id":32,"link":"photo_3103060.html","width":130,"caption":"Consolidated Catalina","height":87});
															thumbnails[3103067] = clik.newPhoto({"id":3103067,"src":"Eurofighter_thumb.jpg","galleries_id":190385,"server_id":32,"link":"photo_3103067.html","width":130,"caption":"Eurofighter Typhoon","height":80});
															thumbnails[3103073] = clik.newPhoto({"id":3103073,"src":"GraceSpitfire_thumb.jpg","galleries_id":190385,"server_id":32,"link":"photo_3103073.html","width":130,"caption":"Carolyn Grace Spitfire IXT","height":87});
															thumbnails[3103079] = clik.newPhoto({"id":3103079,"src":"RedDevil_thumb.jpg","galleries_id":190385,"server_id":32,"link":"photo_3103079.html","width":130,"caption":"Red Devils Parachutist","height":87});
															thumbnails[3103091] = clik.newPhoto({"id":3103091,"src":"RN Panther_thumb.jpg","galleries_id":190385,"server_id":32,"link":"photo_3103091.html","width":130,"caption":"Royal Navy Black Panther helicopter","height":87});
															thumbnails[3103108] = clik.newPhoto({"id":3103108,"src":"RR Spitfire_thumb.jpg","galleries_id":190385,"server_id":32,"link":"photo_3103108.html","width":130,"caption":"Rolls Royce Supermarine Spitfire XIX PR","height":87});
															thumbnails[3103117] = clik.newPhoto({"id":3103117,"src":"TiltRotor_thumb.jpg","galleries_id":190385,"server_id":32,"link":"photo_3103117.html","width":130,"caption":"Bell\/Agusta BA-609 Tilt Rotor","height":87});
															thumbnails[3103122] = clik.newPhoto({"id":3103122,"src":"Vulcan Bomber_thumb.jpg","galleries_id":190385,"server_id":32,"link":"photo_3103122.html","width":130,"caption":"Avro Vulcan B-2","height":87});
															thumbnails[3103127] = clik.newPhoto({"id":3103127,"src":"VulcanPoster_thumb.jpg","galleries_id":190385,"server_id":32,"link":"photo_3103127.html","width":130,"caption":"Classics of the Air","height":91});
															thumbnails[3103141] = clik.newPhoto({"id":3103141,"src":"FirstWorldWar_thumb.jpg","galleries_id":190385,"server_id":32,"link":"photo_3103141.html","width":130,"caption":"Aircraft of the First World War poster","height":91});
															thumbnails[3103149] = clik.newPhoto({"id":3103149,"src":"Red Arrow Poster_thumb.jpg","galleries_id":190385,"server_id":32,"link":"photo_3103149.html","width":130,"caption":"Red Arrows in Action poster","height":91});
															thumbnails[3106109] = clik.newPhoto({"id":3106109,"src":"Graham Love RPS Dragonfly_thumb.jpg","galleries_id":190607,"server_id":32,"link":"photo_3106109.html","width":130,"caption":"Broad Bodied Chaser","height":195});
															thumbnails[3106112] = clik.newPhoto({"id":3106112,"src":"Graham Love RPS Les Girls_thumb.jpg","galleries_id":190607,"server_id":32,"link":"photo_3106112.html","width":130,"caption":"Les Girls","height":92});
															thumbnails[3106583] = clik.newPhoto({"id":3106583,"src":"chriszebra_thumb.jpg","galleries_id":190311,"server_id":32,"link":"photo_3106583.html","width":130,"caption":"Burchell's Zebra","height":175});
															thumbnails[3106619] = clik.newPhoto({"id":3106619,"src":"Red Lechwe Okavango_thumb.jpg","galleries_id":190691,"server_id":32,"link":"photo_3106619.html","width":130,"caption":"Red Lechwe in the Okavango","height":87});
															thumbnails[3106638] = clik.newPhoto({"id":3106638,"src":"Zebra sunset_thumb.jpg","galleries_id":190691,"server_id":32,"link":"photo_3106638.html","width":130,"caption":"Zebra Sunset","height":83});
															thumbnails[3125550] = clik.newPhoto({"id":3125550,"src":"African Fish Eagle_thumb.jpg","galleries_id":190691,"server_id":32,"link":"photo_3125550.html","width":130,"caption":"African Fish Eagle","height":87});
															thumbnails[3125562] = clik.newPhoto({"id":3125562,"src":"Green snake_thumb.jpg","galleries_id":190691,"server_id":32,"link":"photo_3125562.html","width":130,"caption":"African Green Snake","height":87});
															thumbnails[3125570] = clik.newPhoto({"id":3125570,"src":"Grey Heron_thumb.jpg","galleries_id":190691,"server_id":32,"link":"photo_3125570.html","width":130,"caption":"African Grey Heron","height":87});
															thumbnails[3125583] = clik.newPhoto({"id":3125583,"src":"Hippo Pond_thumb.jpg","galleries_id":190691,"server_id":32,"link":"photo_3125583.html","width":130,"caption":"Family Gathering","height":87});
															thumbnails[3125605] = clik.newPhoto({"id":3125605,"src":"Impala_thumb.jpg","galleries_id":190691,"server_id":32,"link":"photo_3125605.html","width":130,"caption":"Impala","height":87});
															thumbnails[3125612] = clik.newPhoto({"id":3125612,"src":"Impala heads_thumb.jpg","galleries_id":190691,"server_id":32,"link":"photo_3125612.html","width":130,"caption":"Impala Heads","height":87});
															thumbnails[3125623] = clik.newPhoto({"id":3125623,"src":"Saddlebill stork_thumb.jpg","galleries_id":190691,"server_id":32,"link":"photo_3125623.html","width":130,"caption":"Saddle-Billed Stork","height":86});
															thumbnails[3163139] = clik.newPhoto({"id":3163139,"src":"Night fountain Paris_thumb.jpg","galleries_id":193717,"server_id":32,"link":"photo_3163139.html","width":130,"caption":"Night Fountain, Paris","height":193});
															thumbnails[3163140] = clik.newPhoto({"id":3163140,"src":"Notre Dame paris_thumb.jpg","galleries_id":193717,"server_id":32,"link":"photo_3163140.html","width":130,"caption":"Notre Dame, Paris","height":195});
															thumbnails[3163144] = clik.newPhoto({"id":3163144,"src":"Paris Needle_thumb.jpg","galleries_id":193717,"server_id":32,"link":"photo_3163144.html","width":130,"caption":"Obelisk, Place de la Concorde, Paris","height":195});
															thumbnails[3163179] = clik.newPhoto({"id":3163179,"src":"St Paul1_thumb.jpg","galleries_id":193717,"server_id":32,"link":"photo_3163179.html","width":130,"caption":"St Paul's Cathedral from Tate Modern","height":197});
															thumbnails[3163188] = clik.newPhoto({"id":3163188,"src":"St Pauls2_thumb.jpg","galleries_id":193717,"server_id":32,"link":"photo_3163188.html","width":130,"caption":"St Paul's Cathedral, London","height":163});
															thumbnails[4827565] = clik.newPhoto({"id":4827565,"src":"Birth_thumb.jpg","galleries_id":275731,"server_id":32,"link":"photo_4827565.html","width":130,"caption":"A Lamb is Born","height":87});
															thumbnails[4827569] = clik.newPhoto({"id":4827569,"src":"Rescue_thumb.jpg","galleries_id":275731,"server_id":32,"link":"photo_4827569.html","width":130,"caption":"The farmer clears the lamb's airways","height":87});
															thumbnails[4827572] = clik.newPhoto({"id":4827572,"src":"First_Step_thumb.jpg","galleries_id":275731,"server_id":32,"link":"photo_4827572.html","width":130,"caption":"After 10 minutes the lamb takes her first step","height":87});
															thumbnails[4827574] = clik.newPhoto({"id":4827574,"src":"Moving_thumb.jpg","galleries_id":275731,"server_id":32,"link":"photo_4827574.html","width":130,"caption":"Mum follows as the lamb is carried to a new pen","height":87});
															thumbnails[4827576] = clik.newPhoto({"id":4827576,"src":"FreeLamb_thumb.jpg","galleries_id":275731,"server_id":32,"link":"photo_4827576.html","width":130,"caption":"I am not a number, I'm a free lamb","height":87});
															thumbnails[4827578] = clik.newPhoto({"id":4827578,"src":"Death_thumb.jpg","galleries_id":275731,"server_id":32,"link":"photo_4827578.html","width":130,"caption":"Death of a Lamb","height":87});
															thumbnails[4827773] = clik.newPhoto({"id":4827773,"src":"Farrier_thumb.jpg","galleries_id":190311,"server_id":32,"link":"photo_4827773.html","width":130,"caption":"Hot Shoe","height":195});
															thumbnails[4849336] = clik.newPhoto({"id":4849336,"src":"FarrierWeb_thumb.jpg","galleries_id":276799,"server_id":32,"link":"photo_4849336.html","width":130,"caption":"Hot Shoe","height":195});
															thumbnails[4849351] = clik.newPhoto({"id":4849351,"src":"GoudhurstNags_thumb.jpg","galleries_id":276799,"server_id":32,"link":"photo_4849351.html","width":130,"caption":"Best Friends","height":98});
															thumbnails[4850031] = clik.newPhoto({"id":4850031,"src":"Comma_web_thumb.jpg","galleries_id":276842,"server_id":32,"link":"photo_4850031.html","width":130,"caption":"Comma","height":195});
															thumbnails[4850036] = clik.newPhoto({"id":4850036,"src":"CommonBlue_web_thumb.jpg","galleries_id":276842,"server_id":32,"link":"photo_4850036.html","width":130,"caption":"Common Blue","height":195});
															thumbnails[4850057] = clik.newPhoto({"id":4850057,"src":"Meadow_Brown_web_thumb.jpg","galleries_id":276842,"server_id":32,"link":"photo_4850057.html","width":130,"caption":"Meadow Brown","height":195});
															thumbnails[4850064] = clik.newPhoto({"id":4850064,"src":"PaintedLady_web_thumb.jpg","galleries_id":276842,"server_id":32,"link":"photo_4850064.html","width":130,"caption":"Painted Lady","height":195});
															thumbnails[4850066] = clik.newPhoto({"id":4850066,"src":"Peacock_web_thumb.jpg","galleries_id":276842,"server_id":32,"link":"photo_4850066.html","width":130,"caption":"Peacock","height":87});
															thumbnails[4850069] = clik.newPhoto({"id":4850069,"src":"PotterWasp_web_thumb.jpg","galleries_id":276842,"server_id":32,"link":"photo_4850069.html","width":130,"caption":"Mason (or Potter) wasp","height":87});
															thumbnails[6555958] = clik.newPhoto({"id":6555958,"src":"Blueafterrainweb_thumb.jpg","galleries_id":276842,"server_id":32,"link":"photo_6555958.html","width":130,"caption":"","height":87});
															thumbnails[6555961] = clik.newPhoto({"id":6555961,"src":"Bluemates2web_thumb.jpg","galleries_id":276842,"server_id":32,"link":"photo_6555961.html","width":130,"caption":"","height":87});
															thumbnails[6555966] = clik.newPhoto({"id":6555966,"src":"matingBluesweb_thumb.jpg","galleries_id":276842,"server_id":32,"link":"photo_6555966.html","width":130,"caption":"","height":195});
															thumbnails[6555979] = clik.newPhoto({"id":6555979,"src":"EchiHeath_thumb.jpg","galleries_id":276842,"server_id":32,"link":"photo_6555979.html","width":130,"caption":"","height":87});
															thumbnails[6555980] = clik.newPhoto({"id":6555980,"src":"twoBluesweb_thumb.jpg","galleries_id":276842,"server_id":32,"link":"photo_6555980.html","width":130,"caption":"","height":195});
															thumbnails[6556302] = clik.newPhoto({"id":6556302,"src":"CrabSpiderweb_thumb.jpg","galleries_id":359855,"server_id":32,"link":"photo_6556302.html","width":130,"caption":"","height":98});
															thumbnails[6556303] = clik.newPhoto({"id":6556303,"src":"Flyweb_thumb.jpg","galleries_id":359855,"server_id":32,"link":"photo_6556303.html","width":130,"caption":"","height":87});
															thumbnails[6556306] = clik.newPhoto({"id":6556306,"src":"Flyyellowweb_thumb.jpg","galleries_id":359855,"server_id":32,"link":"photo_6556306.html","width":130,"caption":"","height":87});
															thumbnails[6556307] = clik.newPhoto({"id":6556307,"src":"Hoverpurpleweb_thumb.jpg","galleries_id":359855,"server_id":32,"link":"photo_6556307.html","width":130,"caption":"","height":163});
															thumbnails[6556308] = clik.newPhoto({"id":6556308,"src":"Hovertailupweb_thumb.jpg","galleries_id":359855,"server_id":32,"link":"photo_6556308.html","width":130,"caption":"","height":195});
															thumbnails[6556309] = clik.newPhoto({"id":6556309,"src":"Hoverweeflower2_thumb.jpg","galleries_id":359855,"server_id":32,"link":"photo_6556309.html","width":130,"caption":"","height":87});
															thumbnails[6556310] = clik.newPhoto({"id":6556310,"src":"HoverYellowweb_thumb.jpg","galleries_id":359855,"server_id":32,"link":"photo_6556310.html","width":130,"caption":"","height":202});
															thumbnails[6556312] = clik.newPhoto({"id":6556312,"src":"Hummer1web_thumb.jpg","galleries_id":359855,"server_id":32,"link":"photo_6556312.html","width":130,"caption":"","height":195});
															thumbnails[6556313] = clik.newPhoto({"id":6556313,"src":"Hummer2web_thumb.jpg","galleries_id":359855,"server_id":32,"link":"photo_6556313.html","width":130,"caption":"","height":87});
															thumbnails[6556314] = clik.newPhoto({"id":6556314,"src":"Ladybird1web_thumb.jpg","galleries_id":359855,"server_id":32,"link":"photo_6556314.html","width":130,"caption":"","height":87});
															thumbnails[6556316] = clik.newPhoto({"id":6556316,"src":"Longhornbeetleweb_thumb.jpg","galleries_id":359855,"server_id":32,"link":"photo_6556316.html","width":130,"caption":"","height":87});
															thumbnails[6556355] = clik.newPhoto({"id":6556355,"src":"SweetPeaHoverweb_thumb.jpg","galleries_id":359855,"server_id":32,"link":"photo_6556355.html","width":130,"caption":"","height":87});
															thumbnails[6556668] = clik.newPhoto({"id":6556668,"src":"Bananabikeweb_thumb.jpg","galleries_id":359871,"server_id":32,"link":"photo_6556668.html","width":130,"caption":"","height":92});
															thumbnails[6556670] = clik.newPhoto({"id":6556670,"src":"Bikeladyweb_thumb.jpg","galleries_id":359871,"server_id":32,"link":"photo_6556670.html","width":130,"caption":"","height":99});
															thumbnails[6556672] = clik.newPhoto({"id":6556672,"src":"CreeperBikeweb_thumb.jpg","galleries_id":359871,"server_id":32,"link":"photo_6556672.html","width":130,"caption":"","height":81});
															thumbnails[6556674] = clik.newPhoto({"id":6556674,"src":"Donkeywomanweb_thumb.jpg","galleries_id":359871,"server_id":32,"link":"photo_6556674.html","width":130,"caption":"","height":87});
															thumbnails[6556676] = clik.newPhoto({"id":6556676,"src":"RoadtoArushaweb_thumb.jpg","galleries_id":359871,"server_id":32,"link":"photo_6556676.html","width":130,"caption":"","height":87});
															thumbnails[6556680] = clik.newPhoto({"id":6556680,"src":"Masaiboysweb_thumb.jpg","galleries_id":359871,"server_id":32,"link":"photo_6556680.html","width":130,"caption":"","height":148});
															thumbnails[6556681] = clik.newPhoto({"id":6556681,"src":"BlueMonkeyweb_thumb.jpg","galleries_id":359871,"server_id":32,"link":"photo_6556681.html","width":130,"caption":"","height":195});
															thumbnails[6556684] = clik.newPhoto({"id":6556684,"src":"BirdTree1web_thumb.jpg","galleries_id":359871,"server_id":32,"link":"photo_6556684.html","width":130,"caption":"","height":87});
															thumbnails[6556687] = clik.newPhoto({"id":6556687,"src":"BirdTree2web_thumb.jpg","galleries_id":359871,"server_id":32,"link":"photo_6556687.html","width":130,"caption":"","height":87});
															thumbnails[6556688] = clik.newPhoto({"id":6556688,"src":"CraneLandingweb_thumb.jpg","galleries_id":359871,"server_id":32,"link":"photo_6556688.html","width":130,"caption":"","height":87});
															thumbnails[6556690] = clik.newPhoto({"id":6556690,"src":"Cheetah1web_thumb.jpg","galleries_id":359871,"server_id":32,"link":"photo_6556690.html","width":130,"caption":"","height":87});
															thumbnails[6556692] = clik.newPhoto({"id":6556692,"src":"Cheetah2web_thumb.jpg","galleries_id":359871,"server_id":32,"link":"photo_6556692.html","width":130,"caption":"","height":87});
															thumbnails[6556699] = clik.newPhoto({"id":6556699,"src":"Cheetah3brothersweb_thumb.jpg","galleries_id":359871,"server_id":32,"link":"photo_6556699.html","width":130,"caption":"","height":87});
															thumbnails[6556703] = clik.newPhoto({"id":6556703,"src":"Cheetahnestweb_thumb.jpg","galleries_id":359871,"server_id":32,"link":"photo_6556703.html","width":130,"caption":"","height":87});
															thumbnails[6556705] = clik.newPhoto({"id":6556705,"src":"Cheetahsthreeweb_thumb.jpg","galleries_id":359871,"server_id":32,"link":"photo_6556705.html","width":130,"caption":"","height":87});
															thumbnails[6556710] = clik.newPhoto({"id":6556710,"src":"Cheetahtwoweb_thumb.jpg","galleries_id":359871,"server_id":32,"link":"photo_6556710.html","width":130,"caption":"","height":67});
															thumbnails[6556711] = clik.newPhoto({"id":6556711,"src":"Chick1web_thumb.jpg","galleries_id":359871,"server_id":32,"link":"photo_6556711.html","width":130,"caption":"","height":171});
															thumbnails[6556716] = clik.newPhoto({"id":6556716,"src":"Cranesoloweb_thumb.jpg","galleries_id":359871,"server_id":32,"link":"photo_6556716.html","width":130,"caption":"","height":87});
															thumbnails[6556717] = clik.newPhoto({"id":6556717,"src":"Eagle1web_thumb.jpg","galleries_id":359871,"server_id":32,"link":"photo_6556717.html","width":130,"caption":"","height":87});
															thumbnails[6556721] = clik.newPhoto({"id":6556721,"src":"Eagle2web_thumb.jpg","galleries_id":359871,"server_id":32,"link":"photo_6556721.html","width":130,"caption":"","height":195});
															thumbnails[6556723] = clik.newPhoto({"id":6556723,"src":"Leopardcubweb_thumb.jpg","galleries_id":359871,"server_id":32,"link":"photo_6556723.html","width":130,"caption":"","height":87});
															thumbnails[6556725] = clik.newPhoto({"id":6556725,"src":"Rollerweb_thumb.jpg","galleries_id":359871,"server_id":32,"link":"photo_6556725.html","width":130,"caption":"","height":69});
															thumbnails[6561307] = clik.newPhoto({"id":6561307,"src":"Mombassaroadweb_thumb.jpg","galleries_id":188325,"server_id":32,"link":"photo_6561307.html","width":130,"caption":"Rush Hour Nairobi","height":77});
															thumbnails[6561362] = clik.newPhoto({"id":6561362,"src":"ButterflyZan1web_thumb.jpg","galleries_id":276842,"server_id":32,"link":"photo_6561362.html","width":130,"caption":"","height":87});
															thumbnails[6561370] = clik.newPhoto({"id":6561370,"src":"ButterflyZan2web_thumb.jpg","galleries_id":276842,"server_id":32,"link":"photo_6561370.html","width":130,"caption":"","height":87});
															thumbnails[6561373] = clik.newPhoto({"id":6561373,"src":"ButterflyZan3web_thumb.jpg","galleries_id":276842,"server_id":32,"link":"photo_6561373.html","width":130,"caption":"","height":87});
															thumbnails[6561380] = clik.newPhoto({"id":6561380,"src":"ButterflyZan5web_thumb.jpg","galleries_id":276842,"server_id":32,"link":"photo_6561380.html","width":130,"caption":"","height":87});
															thumbnails[6561542] = clik.newPhoto({"id":6561542,"src":"Orangebflyfingerweb_thumb.jpg","galleries_id":276842,"server_id":32,"link":"photo_6561542.html","width":130,"caption":"","height":87});
															thumbnails[6561913] = clik.newPhoto({"id":6561913,"src":"CraterElephantsweb_thumb.jpg","galleries_id":359871,"server_id":32,"link":"photo_6561913.html","width":130,"caption":"Crater Elephants","height":87});
															thumbnails[6561917] = clik.newPhoto({"id":6561917,"src":"Flock1web_thumb.jpg","galleries_id":359871,"server_id":32,"link":"photo_6561917.html","width":130,"caption":"","height":44});
															thumbnails[6561922] = clik.newPhoto({"id":6561922,"src":"GiraffeZebraweb_thumb.jpg","galleries_id":359871,"server_id":32,"link":"photo_6561922.html","width":130,"caption":"Heads Up","height":87});
															thumbnails[6561923] = clik.newPhoto({"id":6561923,"src":"Jackelweb_thumb.jpg","galleries_id":359871,"server_id":32,"link":"photo_6561923.html","width":130,"caption":"Black-backed Jackal","height":87});
															thumbnails[6561925] = clik.newPhoto({"id":6561925,"src":"Litttleanteweb_thumb.jpg","galleries_id":359871,"server_id":32,"link":"photo_6561925.html","width":130,"caption":"Bambi","height":195});
															thumbnails[6561927] = clik.newPhoto({"id":6561927,"src":"Lovebirdsweb_thumb.jpg","galleries_id":359871,"server_id":32,"link":"photo_6561927.html","width":130,"caption":"Love Birds","height":195});
															thumbnails[6561936] = clik.newPhoto({"id":6561936,"src":"TreeLandscapeweb_thumb.jpg","galleries_id":359871,"server_id":32,"link":"photo_6561936.html","width":130,"caption":"Ngorongoro Hills","height":87});
															thumbnails[6561938] = clik.newPhoto({"id":6561938,"src":"Wilderiver1web_thumb.jpg","galleries_id":359871,"server_id":32,"link":"photo_6561938.html","width":130,"caption":"Wildebeest River","height":58});
															thumbnails[6561939] = clik.newPhoto({"id":6561939,"src":"Youngele2web_thumb.jpg","galleries_id":359871,"server_id":32,"link":"photo_6561939.html","width":130,"caption":"Tight Squeeze","height":87});
															thumbnails[6561942] = clik.newPhoto({"id":6561942,"src":"Youngeleweb_thumb.jpg","galleries_id":359871,"server_id":32,"link":"photo_6561942.html","width":130,"caption":"The Young One","height":128});
															thumbnails[6561946] = clik.newPhoto({"id":6561946,"src":"Youngzebra2web_thumb.jpg","galleries_id":359871,"server_id":32,"link":"photo_6561946.html","width":130,"caption":"Mother and Daughter","height":87});
															thumbnails[6561949] = clik.newPhoto({"id":6561949,"src":"Youngzebra3web_thumb.jpg","galleries_id":359871,"server_id":32,"link":"photo_6561949.html","width":130,"caption":"Born Free","height":87});
															thumbnails[6561950] = clik.newPhoto({"id":6561950,"src":"Youngzebraweb_thumb.jpg","galleries_id":359871,"server_id":32,"link":"photo_6561950.html","width":130,"caption":"Family Gathering","height":62});
															thumbnails[6561952] = clik.newPhoto({"id":6561952,"src":"ZebraWildePanaweb_thumb.jpg","galleries_id":359871,"server_id":32,"link":"photo_6561952.html","width":130,"caption":"Zebra Crossing","height":56});
															thumbnails[6562058] = clik.newPhoto({"id":6562058,"src":"Boatmenweb_thumb.jpg","galleries_id":360155,"server_id":32,"link":"photo_6562058.html","width":130,"caption":"Gone Fishin'","height":98});
															thumbnails[6562060] = clik.newPhoto({"id":6562060,"src":"Henwomanweb_thumb.jpg","galleries_id":360155,"server_id":32,"link":"photo_6562060.html","width":130,"caption":"Pickin' a Chicken","height":87});
															thumbnails[6562064] = clik.newPhoto({"id":6562064,"src":"MuseumdoorCroppedweb_thumb.jpg","galleries_id":360155,"server_id":32,"link":"photo_6562064.html","width":130,"caption":"House of Wonders","height":96});
															thumbnails[6562073] = clik.newPhoto({"id":6562073,"src":"Potheadwomenweb_thumb.jpg","galleries_id":360155,"server_id":32,"link":"photo_6562073.html","width":130,"caption":"Pot Heads","height":87});
															thumbnails[6562077] = clik.newPhoto({"id":6562077,"src":"RedMonkey1web_thumb.jpg","galleries_id":360155,"server_id":32,"link":"photo_6562077.html","width":130,"caption":"Bright Eyes: Red Colobus Monkeys","height":195});
															thumbnails[6562078] = clik.newPhoto({"id":6562078,"src":"Cranes2web_thumb.jpg","galleries_id":359871,"server_id":32,"link":"photo_6562078.html","width":130,"caption":"Gray Crowned Cranes","height":87});
															thumbnails[6562079] = clik.newPhoto({"id":6562079,"src":"LionLoneweb_thumb.jpg","galleries_id":359871,"server_id":32,"link":"photo_6562079.html","width":130,"caption":"Lion Chase","height":87});
															thumbnails[6562082] = clik.newPhoto({"id":6562082,"src":"Marketwomenweb_thumb.jpg","galleries_id":359871,"server_id":32,"link":"photo_6562082.html","width":130,"caption":"Going to Market","height":87});
															thumbnails[6565836] = clik.newPhoto({"id":6565836,"src":"Alleygirlsweb_thumb.jpg","galleries_id":360155,"server_id":32,"link":"photo_6565836.html","width":130,"caption":"Stone Town alley","height":195});
															thumbnails[6565842] = clik.newPhoto({"id":6565842,"src":"Boat1web_thumb.jpg","galleries_id":360155,"server_id":32,"link":"photo_6565842.html","width":130,"caption":"Tide's Out","height":98});
															thumbnails[6565844] = clik.newPhoto({"id":6565844,"src":"Breadcartweb_thumb.jpg","galleries_id":360155,"server_id":32,"link":"photo_6565844.html","width":130,"caption":"Fresh Bread Delivery","height":107});
															thumbnails[6565849] = clik.newPhoto({"id":6565849,"src":"ChurchPictureweb_thumb.jpg","galleries_id":360155,"server_id":32,"link":"photo_6565849.html","width":130,"caption":"Easter Sunday","height":87});
															thumbnails[6565853] = clik.newPhoto({"id":6565853,"src":"Cobblerweb_thumb.jpg","galleries_id":360155,"server_id":32,"link":"photo_6565853.html","width":130,"caption":"Cobbler","height":87});
															thumbnails[6565854] = clik.newPhoto({"id":6565854,"src":"Deep_Blueweb_thumb.jpg","galleries_id":360155,"server_id":32,"link":"photo_6565854.html","width":130,"caption":"Deep Blue","height":87});
															thumbnails[6565898] = clik.newPhoto({"id":6565898,"src":"Fisherwomenweb_thumb.jpg","galleries_id":360155,"server_id":32,"link":"photo_6565898.html","width":130,"caption":"Fisherwomen","height":98});
															thumbnails[6565908] = clik.newPhoto({"id":6565908,"src":"Fishmarketweb_thumb.jpg","galleries_id":360155,"server_id":32,"link":"photo_6565908.html","width":130,"caption":"Fish Market","height":87});
															thumbnails[6565911] = clik.newPhoto({"id":6565911,"src":"Gramophoneweb_thumb.jpg","galleries_id":360155,"server_id":32,"link":"photo_6565911.html","width":130,"caption":"Melody Maker","height":195});
															thumbnails[6565913] = clik.newPhoto({"id":6565913,"src":"Hendoorweb_thumb.jpg","galleries_id":360155,"server_id":32,"link":"photo_6565913.html","width":130,"caption":"Let Me In","height":195});
															thumbnails[6565915] = clik.newPhoto({"id":6565915,"src":"Meat2web_thumb.jpg","galleries_id":360155,"server_id":32,"link":"photo_6565915.html","width":130,"caption":"Meat Market","height":87});
															thumbnails[6565917] = clik.newPhoto({"id":6565917,"src":"Mumbabyweb_thumb.jpg","galleries_id":360155,"server_id":32,"link":"photo_6565917.html","width":130,"caption":"Mother and Child","height":87});
															thumbnails[6565920] = clik.newPhoto({"id":6565920,"src":"MuseumInteriorwweb_thumb.jpg","galleries_id":360155,"server_id":32,"link":"photo_6565920.html","width":130,"caption":"A Day at the Museum","height":195});
															thumbnails[6565928] = clik.newPhoto({"id":6565928,"src":"PalmWomanweb_thumb.jpg","galleries_id":360155,"server_id":32,"link":"photo_6565928.html","width":130,"caption":"Sunday Rest","height":87});
															thumbnails[6565930] = clik.newPhoto({"id":6565930,"src":"RedMonkey2web_thumb.jpg","galleries_id":360155,"server_id":32,"link":"photo_6565930.html","width":130,"caption":"Feeding Time: Red Colobus Monkeys","height":195});
															thumbnails[6565931] = clik.newPhoto({"id":6565931,"src":"SlaveMarketweb_thumb.jpg","galleries_id":360155,"server_id":32,"link":"photo_6565931.html","width":130,"caption":"Slave Market","height":195});
															thumbnails[6565932] = clik.newPhoto({"id":6565932,"src":"Stickwomen2web_thumb.jpg","galleries_id":360155,"server_id":32,"link":"photo_6565932.html","width":130,"caption":"Beach Girls","height":87});
															thumbnails[6565934] = clik.newPhoto({"id":6565934,"src":"Stickwomenweb_thumb.jpg","galleries_id":360155,"server_id":32,"link":"photo_6565934.html","width":130,"caption":"Firewood Gatherers","height":87});
															thumbnails[6578962] = clik.newPhoto({"id":6578962,"src":"DoorRedgirlweb_thumb.jpg","galleries_id":360155,"server_id":32,"link":"photo_6578962.html","width":130,"caption":"Studs Study","height":195});
															thumbnails[6578969] = clik.newPhoto({"id":6578969,"src":"DramaKiddoor2web_thumb.jpg","galleries_id":360155,"server_id":32,"link":"photo_6578969.html","width":130,"caption":"Just Waiting","height":195});
															thumbnails[6578972] = clik.newPhoto({"id":6578972,"src":"Hencrossingweb_thumb.jpg","galleries_id":360155,"server_id":32,"link":"photo_6578972.html","width":130,"caption":"Strolling","height":195});
															thumbnails[6578976] = clik.newPhoto({"id":6578976,"src":"RCchurchdoorweb_thumb.jpg","galleries_id":360155,"server_id":32,"link":"photo_6578976.html","width":130,"caption":"Church Door","height":195});
															thumbnails[6578980] = clik.newPhoto({"id":6578980,"src":"DramaBoyDoorweb_thumb.jpg","galleries_id":360155,"server_id":32,"link":"photo_6578980.html","width":130,"caption":"The Visitor","height":107});
															thumbnails[6578985] = clik.newPhoto({"id":6578985,"src":"Feastivalwallweb_thumb.jpg","galleries_id":360155,"server_id":32,"link":"photo_6578985.html","width":130,"caption":"Poster Girl","height":87});
															thumbnails[6578986] = clik.newPhoto({"id":6578986,"src":"JawsCornerweb_thumb.jpg","galleries_id":360155,"server_id":32,"link":"photo_6578986.html","width":130,"caption":"Jaws Corner","height":119});
															thumbnails[6578987] = clik.newPhoto({"id":6578987,"src":"Twoboysweb_thumb.jpg","galleries_id":360155,"server_id":32,"link":"photo_6578987.html","width":130,"caption":"Going Home","height":87});
															thumbnails[6578988] = clik.newPhoto({"id":6578988,"src":"ZanziSeascapeweb_thumb.jpg","galleries_id":360155,"server_id":32,"link":"photo_6578988.html","width":130,"caption":"Grey Day","height":78});
															thumbnails[6737390] = clik.newPhoto({"id":6737390,"src":"MoonMoth_grahamlove_thumb.jpg","galleries_id":276842,"server_id":32,"link":"photo_6737390.html","width":130,"caption":"Moon Moth","height":195});
															thumbnails[6787246] = clik.newPhoto({"id":6787246,"src":"Bluespot_grahamlove_thumb.jpg","galleries_id":276842,"server_id":32,"link":"photo_6787246.html","width":130,"caption":"","height":87});
															thumbnails[6787250] = clik.newPhoto({"id":6787250,"src":"BrownEye_grahamlove_thumb.jpg","galleries_id":276842,"server_id":32,"link":"photo_6787250.html","width":130,"caption":"","height":87});
															thumbnails[6787299] = clik.newPhoto({"id":6787299,"src":"Houseswallowtail_grahamlovejpg_thumb.jpg","galleries_id":276842,"server_id":32,"link":"photo_6787299.html","width":130,"caption":"","height":87});
															thumbnails[6787302] = clik.newPhoto({"id":6787302,"src":"Orange_grahamlove_thumb.jpg","galleries_id":276842,"server_id":32,"link":"photo_6787302.html","width":130,"caption":"","height":87});
															thumbnails[6787304] = clik.newPhoto({"id":6787304,"src":"Red_grahamlove_thumb.jpg","galleries_id":276842,"server_id":32,"link":"photo_6787304.html","width":130,"caption":"","height":87});
															thumbnails[6787306] = clik.newPhoto({"id":6787306,"src":"Ringer_grahamlove_thumb.jpg","galleries_id":276842,"server_id":32,"link":"photo_6787306.html","width":130,"caption":"","height":87});
															thumbnails[6787310] = clik.newPhoto({"id":6787310,"src":"Tigerfly-grahamlove_thumb.jpg","galleries_id":276842,"server_id":32,"link":"photo_6787310.html","width":130,"caption":"","height":87});
															thumbnails[6787312] = clik.newPhoto({"id":6787312,"src":"White_dots_grahamlove_thumb.jpg","galleries_id":276842,"server_id":32,"link":"photo_6787312.html","width":130,"caption":"","height":87});
															thumbnails[6787313] = clik.newPhoto({"id":6787313,"src":"Yellowspots_grahamlove_thumb.jpg","galleries_id":276842,"server_id":32,"link":"photo_6787313.html","width":130,"caption":"","height":87});
															thumbnails[6787314] = clik.newPhoto({"id":6787314,"src":"Zebrafly_grahamlove_thumb.jpg","galleries_id":276842,"server_id":32,"link":"photo_6787314.html","width":130,"caption":"","height":87});
															thumbnails[4827770] = clik.newPhoto({"id":4827770,"src":"AgilityDog_thumb.jpg","galleries_id":190311,"server_id":32,"link":"photo_4827770.html","width":130,"caption":"Run Boy Run","height":94});
															thumbnails[4827775] = clik.newPhoto({"id":4827775,"src":"Lovey_Dovey_thumb.jpg","galleries_id":190311,"server_id":32,"link":"photo_4827775.html","width":130,"caption":"Lovely Dovey","height":87});
															thumbnails[4827779] = clik.newPhoto({"id":4827779,"src":"OwlKentjpg_thumb.jpg","galleries_id":190311,"server_id":32,"link":"photo_4827779.html","width":130,"caption":"Happy Landing","height":87});
															thumbnails[3151549] = clik.newPhoto({"id":3151549,"src":"Birds WEBPOSTER_thumb.jpg","galleries_id":190607,"server_id":32,"link":"photo_3151549.html","width":130,"caption":"Birds of Kenya","height":89});
															thumbnails[3151556] = clik.newPhoto({"id":3151556,"src":"MasaiMara WEBPOSTER_thumb.jpg","galleries_id":190607,"server_id":32,"link":"photo_3151556.html","width":130,"caption":"Animals of the Mara","height":89});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[276842] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Butterflies","link":"gallery_276842.html","maxRecords":0.0,"photoIDs":[4850031.0,4850036.0,4850057.0,4850064.0,4850066.0,4850069.0,6555958.0,6555961.0,6555966.0,6555979.0,6555980.0,6561362.0,6561370.0,6561373.0,6561380.0,6561542.0,6737390.0,6787246.0,6787250.0,6787299.0,6787302.0,6787304.0,6787306.0,6787310.0,6787312.0,6787313.0,6787314.0],"skipIndex":0,"section_code":"gallery","featured_images":"6787314,6787313,6787312,6787310,6787306,6787304,6787302,6787299,6787250,6787246","id":276842,"singleSection":false});				  						galleries[275731] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Gold Award","link":"gallery_275731.html","maxRecords":0.0,"photoIDs":[4827565.0,4827569.0,4827572.0,4827574.0,4827576.0,4827578.0],"skipIndex":0,"section_code":"gallery","featured_images":"4827578,4827576,4827574,4827572,4827569,4827565","id":275731,"singleSection":false});				  						galleries[276799] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Horse Sense","link":"gallery_276799.html","maxRecords":0.0,"photoIDs":[4849336.0,4849351.0],"skipIndex":0,"section_code":"gallery","featured_images":"4849351,4849336","id":276799,"singleSection":false});				  						galleries[359855] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Macro Insects","link":"gallery_359855.html","maxRecords":0.0,"photoIDs":[6556302.0,6556303.0,6556306.0,6556307.0,6556308.0,6556309.0,6556310.0,6556312.0,6556313.0,6556314.0,6556316.0,6556355.0],"skipIndex":0,"section_code":"gallery","featured_images":"6556355,6556316,6556314,6556313,6556312,6556310,6556309,6556308,6556307,6556306","id":359855,"singleSection":false});				  						galleries[359871] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Serengeti","link":"gallery_359871.html","maxRecords":0.0,"photoIDs":[6556668.0,6556670.0,6556672.0,6556674.0,6556676.0,6556680.0,6556681.0,6556684.0,6556687.0,6556688.0,6556690.0,6556692.0,6556699.0,6556703.0,6556705.0,6556710.0,6556711.0,6556716.0,6556717.0,6556721.0,6556723.0,6556725.0,6561913.0,6561917.0,6561922.0,6561923.0,6561925.0,6561927.0,6561936.0,6561938.0,6561939.0,6561942.0,6561946.0,6561949.0,6561950.0,6561952.0,6562078.0,6562079.0,6562082.0],"skipIndex":0,"section_code":"gallery","featured_images":"6562082,6562079,6562078,6561952,6561950,6561949,6561946,6561942,6561939,6561938","id":359871,"singleSection":false});				  						galleries[360155] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Zanzibar","link":"gallery_360155.html","maxRecords":0.0,"photoIDs":[6562058.0,6562060.0,6562064.0,6562073.0,6562077.0,6565836.0,6565842.0,6565844.0,6565849.0,6565853.0,6565854.0,6565898.0,6565908.0,6565911.0,6565913.0,6565915.0,6565917.0,6565920.0,6565928.0,6565930.0,6565931.0,6565932.0,6565934.0,6578962.0,6578969.0,6578972.0,6578976.0,6578980.0,6578985.0,6578986.0,6578987.0,6578988.0],"skipIndex":0,"section_code":"gallery","featured_images":"6578988,6578987,6578986,6578985,6578980,6578976,6578972,6578969,6578962,6565934","id":360155,"singleSection":false});				  						galleries[190311] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Black and White","link":"gallery_190311.html","maxRecords":0.0,"photoIDs":[3102515.0,3102559.0,3102569.0,3102578.0,3102582.0,3102584.0,3102588.0,3102591.0,3106583.0,4827773.0,4827770.0,4827775.0,4827779.0],"skipIndex":0,"section_code":"gallery","featured_images":3102591.0,"id":190311,"singleSection":false});				  						galleries[188325] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Kenya 1","link":"gallery_188325.html","maxRecords":0.0,"photoIDs":[3085028.0,3085032.0,3085035.0,3085037.0,3093536.0,3093557.0,3093589.0,3093629.0,3093651.0,3099086.0,3099094.0,6561307.0],"skipIndex":0,"section_code":"gallery","featured_images":3099094.0,"id":188325,"singleSection":false});				  						galleries[188326] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Kenya 2","link":"gallery_188326.html","maxRecords":0.0,"photoIDs":[3085031.0,3099113.0,3099119.0,3099126.0,3099142.0,3099145.0,3099148.0],"skipIndex":0,"section_code":"gallery","featured_images":3085031.0,"id":188326,"singleSection":false});				  						galleries[190691] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Botswana","link":"gallery_190691.html","maxRecords":0.0,"photoIDs":[3106619.0,3106638.0,3125550.0,3125562.0,3125570.0,3125583.0,3125605.0,3125612.0,3125623.0],"skipIndex":0,"section_code":"gallery","featured_images":"3125623,3125612,3125605,3125583,3125570,3125562,3125550,3106638,3106619","id":190691,"singleSection":false});				  						galleries[190385] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Farnborough Airshow","link":"gallery_190385.html","maxRecords":0.0,"photoIDs":[3103047.0,3103050.0,3103055.0,3103060.0,3103067.0,3103073.0,3103079.0,3103091.0,3103108.0,3103117.0,3103122.0,3103127.0,3103141.0,3103149.0],"skipIndex":0,"section_code":"gallery","featured_images":"3103149,3103141,3103127,3103122,3103117,3103108,3103091,3103079,3103073,3103067","id":190385,"singleSection":false});				  						galleries[190607] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Posters","link":"gallery_190607.html","maxRecords":0.0,"photoIDs":[3106109.0,3106112.0,3151549.0,3151556.0],"skipIndex":0,"section_code":"gallery","featured_images":"3151556,3151549,3106112,3106109","id":190607,"singleSection":false});				  						galleries[193717] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Cities","link":"gallery_193717.html","maxRecords":0.0,"photoIDs":[3163139.0,3163140.0,3163144.0,3163179.0,3163188.0],"skipIndex":0,"section_code":"gallery","featured_images":"3163188,3163179,3163144,3163140,3163139","id":193717,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '3085032,3085028';
imageSets[2] = '3102591,3099094,3085031';
imageSets[3] = '6787314,6787313,6787312,6787310,6787306,6787304,6787302,6787299,6787250,6787246,6737390,6578988,6578987,6578986,6578985,6578980,6578976,6578972,6578969,6578962,6565934,6565932,6565931,6565930,6565928,6565920,6565917,6565915,6565913,6565911,6565908,6565898,6565854,6565853,6565849,6565844,6565842,6565836,6562082,6562079,6562078,6562077,6562073,6562064,6562060,6562058,6561952,6561950,6561949,6561946';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/grahamlove/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/grahamlove/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/grahamlove/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/grahamlove/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/grahamlove/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/grahamlove/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/grahamlove/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/grahamlove/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/grahamlove/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/grahamlove/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/grahamlove/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/grahamlove/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/grahamlove/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/grahamlove/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/grahamlove/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/grahamlove/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://admin2.clikpic.com/grahamlove/images';
		break;
	}
		switch (server_id) {
		case 33:
		val = 'http://www8.clikpic.com/grahamlove/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/grahamlove/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/grahamlove/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/grahamlove/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/grahamlove/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/grahamlove/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/grahamlove/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 && backgrounds[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 = 'Graham Love Images: ' + 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="GRAHAMLOVE">';
			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({					href: thumbnails[imageID].fnGalleryLink(gallery_id),					title: galleries[gallery_id].title				});
			}
		}
	}
}

/***************************************************************************
* 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;
	}
}

			

