window.thumbnails = {};
															thumbnails[1212856] = clik.newPhoto({"id":1212856,"src":"katehomepage_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Kate and her donkey, Dinkenesh, near the Beshalo River, northern Ethiopian Highlands","height":87});
															thumbnails[1484988] = clik.newPhoto({"id":1484988,"src":"KateJenny_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Kate with Jenny","height":162});
															thumbnails[1524386] = clik.newPhoto({"id":1524386,"src":"katefamily_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Kate's family 2006","height":120});
															thumbnails[1527516] = clik.newPhoto({"id":1527516,"src":"grade1withheadmaster_thumb1.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Empress Mentewab School","height":89});
															thumbnails[1548092] = clik.newPhoto({"id":1548092,"src":"weavingtraining_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"weaving training for blind beneficiaries of the Sponsorship in the Community Project - they were later employed at the Tara Centre to make rugs for sale in the Centre's shop","height":78});
															thumbnails[1548094] = clik.newPhoto({"id":1548094,"src":"mohammed_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"weaving training","height":147});
															thumbnails[1548098] = clik.newPhoto({"id":1548098,"src":"payingoutaid1_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"beneficiary signing for aid","height":86});
															thumbnails[1549291] = clik.newPhoto({"id":1549291,"src":"childwithbook1_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"","height":227});
															thumbnails[1549293] = clik.newPhoto({"id":1549293,"src":"childwithbook2_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"a donated book","height":276});
															thumbnails[2065609] = clik.newPhoto({"id":2065609,"src":"ehetnatweretawfamily_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"beneficiary family","height":189});
															thumbnails[2065773] = clik.newPhoto({"id":2065773,"src":"elderlybeggar_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"elderly beggar","height":171});
															thumbnails[2065774] = clik.newPhoto({"id":2065774,"src":"elderlybeneficary_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Feseha Gebru on the day Kate first met him in 2004","height":183});
															thumbnails[2065779] = clik.newPhoto({"id":2065779,"src":"fasilcastle_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Fasil Castle","height":161});
															thumbnails[2065780] = clik.newPhoto({"id":2065780,"src":"fasilcastleentrance_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Fasil Castle entrance","height":213});
															thumbnails[2065788] = clik.newPhoto({"id":2065788,"src":"katewithmums_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Kate with young mothers in western Ethiopia","height":106});
															thumbnails[3098509] = clik.newPhoto({"id":3098509,"src":"boyincar_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Boy playing with a pedal car","height":107});
															thumbnails[3123078] = clik.newPhoto({"id":3123078,"src":"vetsoperating_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"vets spaying a bitch in Kate's veterinary clinic","height":96});
															thumbnails[3123278] = clik.newPhoto({"id":3123278,"src":"fourdaystoremember_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"single mums with their bags of gifts","height":101});
															thumbnails[4032765] = clik.newPhoto({"id":4032765,"src":"monkeyenclosure_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Adrian, a Canadian volunteer, building the monkey enclosure at the Tara Centre","height":86});
															thumbnails[4032779] = clik.newPhoto({"id":4032779,"src":"Babsbackinthewild_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Babs back in the wild","height":90});
															thumbnails[4032783] = clik.newPhoto({"id":4032783,"src":"patasinzoo_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Patas monkey","height":85});
															thumbnails[4032789] = clik.newPhoto({"id":4032789,"src":"deguandchilfit_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Chilfit and Degu","height":93});
															thumbnails[5353588] = clik.newPhoto({"id":5353588,"src":"feseha_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Feseha Gebru","height":159});
															thumbnails[5353742] = clik.newPhoto({"id":5353742,"src":"chilot_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Chilot","height":111});
															thumbnails[5353847] = clik.newPhoto({"id":5353847,"src":"tariku_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Tariku","height":137});
															thumbnails[5353871] = clik.newPhoto({"id":5353871,"src":"kate_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Kate","height":160});
															thumbnails[5353882] = clik.newPhoto({"id":5353882,"src":"EMS_site_-_view_south-west_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"new school site","height":86});
															thumbnails[5353981] = clik.newPhoto({"id":5353981,"src":"bonk_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Bonk bored","height":212});
															thumbnails[5362085] = clik.newPhoto({"id":5362085,"src":"gedelitu_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Gedelitu and Mari","height":181});
															thumbnails[5362100] = clik.newPhoto({"id":5362100,"src":"gedelituhead_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"blind Gedelitu","height":237});
															thumbnails[5362190] = clik.newPhoto({"id":5362190,"src":"balloons2_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"balloons at the Tara Centre","height":90});
															thumbnails[5362200] = clik.newPhoto({"id":5362200,"src":"playtimeattheTaraCentre_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Tara playtime","height":83});
															thumbnails[5362391] = clik.newPhoto({"id":5362391,"src":"tricycles_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"schoolgirls playing on the tricycles","height":104});
															thumbnails[5362395] = clik.newPhoto({"id":5362395,"src":"bathingtwins_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Tara bathtime","height":199});
															thumbnails[5362434] = clik.newPhoto({"id":5362434,"src":"almazmulualem_247605FF-2219-B5B5-4C425A2CCD67CEC1_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"single mum with child","height":197});
															thumbnails[5362587] = clik.newPhoto({"id":5362587,"src":"twiggywithtwiglet_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"rescued donkeys: Twiglet (left) and Twiggy","height":87});
															thumbnails[5362637] = clik.newPhoto({"id":5362637,"src":"deaddogs_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"city dogs poisoned by Gondar's Public Health Department because of fear of rabies","height":81});
															thumbnails[5362787] = clik.newPhoto({"id":5362787,"src":"taracentre_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Tara offices","height":77});
															thumbnails[5362911] = clik.newPhoto({"id":5362911,"src":"mohammedsnewnose_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"brand new nose","height":128});
															thumbnails[5421064] = clik.newPhoto({"id":5421064,"src":"carryingwood_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"teenagers bring wood","height":85});
															thumbnails[5421179] = clik.newPhoto({"id":5421179,"src":"kateanddrawings_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Kate teaches Art","height":86});
															thumbnails[5430867] = clik.newPhoto({"id":5430867,"src":"mangolakeexcavation_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Kate's son surveys the progress on Mango Lake","height":80});
															thumbnails[5430868] = clik.newPhoto({"id":5430868,"src":"viewsoutheast_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"view south-east from Sebkana Farm","height":85});
															thumbnails[5430877] = clik.newPhoto({"id":5430877,"src":"farmingfamilyneardibbahir_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"a poor farming family near Dib Bahir","height":85});
															thumbnails[5430880] = clik.newPhoto({"id":5430880,"src":"carrots_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"fresh carrots","height":183});
															thumbnails[5430883] = clik.newPhoto({"id":5430883,"src":"escarpment_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"the escarpment (one kilometre high)","height":86});
															thumbnails[5430892] = clik.newPhoto({"id":5430892,"src":"treefelling1_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"tree-felling at Dib Bahir","height":196});
															thumbnails[5430896] = clik.newPhoto({"id":5430896,"src":"tomatoesforsale_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"roadside tomato sellers","height":81});
															thumbnails[5431075] = clik.newPhoto({"id":5431075,"src":"Italianshower_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Italian ruins","height":86});
															thumbnails[5431197] = clik.newPhoto({"id":5431197,"src":"viewnorth_thumb.JPG","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"over-grazed, deforested, eroded - Sebkana Farm in March 2009","height":59});
															thumbnails[5439764] = clik.newPhoto({"id":5439764,"src":"office_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Kate's \"shed\"","height":90});
															thumbnails[5439968] = clik.newPhoto({"id":5439968,"src":"martakatewubit2_thumb.JPG","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"friends: Marta, Kate and Wubit","height":79});
															thumbnails[5440037] = clik.newPhoto({"id":5440037,"src":"escarpmentview_8564DDC5-1D09-001F-99B82017A9B20255_thumb.JPG","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"the escarpment","height":87});
															thumbnails[5440508] = clik.newPhoto({"id":5440508,"src":"farminfants_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"children near Dib Bahir","height":218});
															thumbnails[5594146] = clik.newPhoto({"id":5594146,"src":"oliverfereday_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Oliver Fereday","height":239});
															thumbnails[5594150] = clik.newPhoto({"id":5594150,"src":"p1classroominsidemar10_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Playgroup 1 classroom under construction","height":85});
															thumbnails[5594161] = clik.newPhoto({"id":5594161,"src":"registrationday1_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"registration day","height":156});
															thumbnails[5594166] = clik.newPhoto({"id":5594166,"src":"registrationday2_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"registration day","height":218});
															thumbnails[5594180] = clik.newPhoto({"id":5594180,"src":"registrationday3_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"registration day","height":186});
															thumbnails[5594316] = clik.newPhoto({"id":5594316,"src":"bonkandleoulatkingshotel_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Bonk and Leoul at King's Hotel","height":92});
															thumbnails[5594323] = clik.newPhoto({"id":5594323,"src":"bonkandleoulfree_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Bonk and Leoul free","height":91});
															thumbnails[5594342] = clik.newPhoto({"id":5594342,"src":"bonkfree_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Bonk free","height":139});
															thumbnails[5594351] = clik.newPhoto({"id":5594351,"src":"bonkfreecloseup_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Bonk free","height":115});
															thumbnails[5594370] = clik.newPhoto({"id":5594370,"src":"bonkrelease_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Bonk being released","height":196});
															thumbnails[5633170] = clik.newPhoto({"id":5633170,"src":"Bel_Canto_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"","height":202});
															thumbnails[5633183] = clik.newPhoto({"id":5633183,"src":"Dib_Bahir_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Dib Bahir village, northern Ethiopian Highlands","height":70});
															thumbnails[5955799] = clik.newPhoto({"id":5955799,"src":"measuringfirstclassroom_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"measuring the position of the first classroom","height":92});
															thumbnails[5956129] = clik.newPhoto({"id":5956129,"src":"mrsybreastcancer_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"breast cancer","height":151});
															thumbnails[5978431] = clik.newPhoto({"id":5978431,"src":"girlreading_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"reading at home","height":85});
															thumbnails[6064669] = clik.newPhoto({"id":6064669,"src":"bhutankira_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"kira (detail) - the dress worn by women in Bhutan","height":93});
															thumbnails[6064670] = clik.newPhoto({"id":6064670,"src":"bhutanterraces_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Bhutan terraces","height":152});
															thumbnails[6064672] = clik.newPhoto({"id":6064672,"src":"timpufestival_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Thimphu festival","height":86});
															thumbnails[6064676] = clik.newPhoto({"id":6064676,"src":"fesivalclothes_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Thimphu festival clothes","height":132});
															thumbnails[6064681] = clik.newPhoto({"id":6064681,"src":"boyreading1_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"boy reading","height":85});
															thumbnails[6064682] = clik.newPhoto({"id":6064682,"src":"boyreading2_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"boy reading 'Dusty - the Little Ethiopian Donkey' donated by The Donkey Sanctuary","height":193});
															thumbnails[6064684] = clik.newPhoto({"id":6064684,"src":"girlreading_EF86B90D-1EC9-D45B-1C7D7E7892E5B5A0_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"girl reading","height":85});
															thumbnails[6064796] = clik.newPhoto({"id":6064796,"src":"blindbeggarwithbaby_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"blind beggar helped by Kate","height":186});
															thumbnails[6064803] = clik.newPhoto({"id":6064803,"src":"motherandchild_thumb.JPG","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"mother and child","height":233});
															thumbnails[6064813] = clik.newPhoto({"id":6064813,"src":"rosehouse_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Rose House","height":85});
															thumbnails[6064820] = clik.newPhoto({"id":6064820,"src":"hospitalbook_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"boy recovering from an operation in Gondar Hospital (he lost a thumb and fingers after playing with a hand grenade left over from the civil war) - Kate gave him a book to read","height":92});
															thumbnails[6066129] = clik.newPhoto({"id":6066129,"src":"peterbefore_thumb.JPG","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Peter the day Kate found him","height":183});
															thumbnails[6066146] = clik.newPhoto({"id":6066146,"src":"peteratfrenchembassy_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Twelve years later.... Peter at the French Embassy in Addis Ababa (2010)","height":83});
															thumbnails[6071659] = clik.newPhoto({"id":6071659,"src":"fetlework_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Fetlework with her mother, Mari","height":85});
															thumbnails[6072181] = clik.newPhoto({"id":6072181,"src":"twochildren_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"half-brother and half-sister - amongst the urban poor, siblings with different fathers are common","height":102});
															thumbnails[6072283] = clik.newPhoto({"id":6072283,"src":"melitaandmomar10_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Melita and Mo - two rescued puppies (Mo looks in good shape, having been taken into care two months previously, but Melita is malnourished and her growth stunted)","height":94});
															thumbnails[6086916] = clik.newPhoto({"id":6086916,"src":"lalibelastreetboy_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"sleeping rough","height":127});
															thumbnails[6086994] = clik.newPhoto({"id":6086994,"src":"yetengirt_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Gedelitu with Yetengirt (at eight days old) - Empress Mentewab School (under construction) is in the background","height":86});
															thumbnails[6087052] = clik.newPhoto({"id":6087052,"src":"flowerbedsmay10_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"flowerbeds","height":75});
															thumbnails[6087111] = clik.newPhoto({"id":6087111,"src":"p1classroomandpitlatrinemar10_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"classroom and pit latrine under construction","height":89});
															thumbnails[6087155] = clik.newPhoto({"id":6087155,"src":"drtadesse_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Dr Tadesse at work","height":121});
															thumbnails[6087164] = clik.newPhoto({"id":6087164,"src":"medicalcheckups_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"medical check-ups for the registered schoolchildren and their families","height":90});
															thumbnails[6087310] = clik.newPhoto({"id":6087310,"src":"dibbahirchildren_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"the young children at the front are registered to attend the school from September 2010 (the older children behind are their siblings)","height":94});
															thumbnails[6087329] = clik.newPhoto({"id":6087329,"src":"ruralfamily_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"another poor rural family near Dib Bahir","height":85});
															thumbnails[6087334] = clik.newPhoto({"id":6087334,"src":"doingcollages_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Grade 1 classroom in 2008, when the school was located in Gondar (it is an Art lesson and the children are making collages)","height":85});
															thumbnails[6087656] = clik.newPhoto({"id":6087656,"src":"Megal21_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Megal dying after breaking his femur - note the burn marks where the owner treated Megal using a traditional method (cauterizing with a hot iron)","height":91});
															thumbnails[6087786] = clik.newPhoto({"id":6087786,"src":"dustybefore_thumb.JPG","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Dusty on arrival at Kate's home","height":119});
															thumbnails[6087787] = clik.newPhoto({"id":6087787,"src":"dustyafter_thumb.JPG","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Dusty: beautiful during her pregnancy","height":159});
															thumbnails[6683019] = clik.newPhoto({"id":6683019,"src":"bookshop2_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Grade 2s are shown behind the scenes at a bookshop in Gondar","height":86});
															thumbnails[6683034] = clik.newPhoto({"id":6683034,"src":"girlsatlaketana_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"schoolgirls visit Lake Tana","height":154});
															thumbnails[6823825] = clik.newPhoto({"id":6823825,"src":"KFE-910-3-small_thumb.JPG","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Challey","height":98});
															thumbnails[6823832] = clik.newPhoto({"id":6823832,"src":"KFE-910-6-small_thumb.JPG","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Emebet","height":98});
															thumbnails[6823837] = clik.newPhoto({"id":6823837,"src":"KFE-910-16-small_thumb.JPG","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Aleneh","height":98});
															thumbnails[6823872] = clik.newPhoto({"id":6823872,"src":"KFE-910-17-small1_thumb.JPG","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Biniam","height":173});
															thumbnails[6823895] = clik.newPhoto({"id":6823895,"src":"KFE-910-18-small_thumb.JPG","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Tena","height":173});
															thumbnails[6823950] = clik.newPhoto({"id":6823950,"src":"KFE-910-19-small_thumb.JPG","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Aleneh","height":188});
															thumbnails[6823961] = clik.newPhoto({"id":6823961,"src":"KFE-910-20-small2_thumb.JPG","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Betty","height":173});
															thumbnails[6823967] = clik.newPhoto({"id":6823967,"src":"bobby_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Bobby","height":114});
															thumbnails[6823977] = clik.newPhoto({"id":6823977,"src":"horsetraining_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"horse management training attendees receive plastic buckets","height":84});
															thumbnails[6823986] = clik.newPhoto({"id":6823986,"src":"lulit_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Lulit","height":109});
															thumbnails[6823992] = clik.newPhoto({"id":6823992,"src":"melita_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Melita","height":127});
															thumbnails[6824010] = clik.newPhoto({"id":6824010,"src":"muzay_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Muzey","height":130});
															thumbnails[6824013] = clik.newPhoto({"id":6824013,"src":"saba_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Saba (age 12)","height":78});
															thumbnails[6824020] = clik.newPhoto({"id":6824020,"src":"snowy_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Snowy","height":88});
															thumbnails[6824129] = clik.newPhoto({"id":6824129,"src":"sanctuarylogo_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"","height":132});
															thumbnails[6837849] = clik.newPhoto({"id":6837849,"src":"damagedclassroom_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"storm damage","height":86});
															thumbnails[6837859] = clik.newPhoto({"id":6837859,"src":"mixingmud_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"mixing mud and straw for rendering the walls","height":82});
															thumbnails[6837870] = clik.newPhoto({"id":6837870,"src":"noroof_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"the classroom after the storm","height":77});
															thumbnails[6837879] = clik.newPhoto({"id":6837879,"src":"newbuildings_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"the new buildings","height":81});
															thumbnails[6837885] = clik.newPhoto({"id":6837885,"src":"stableroof2_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"new stable for the donkeys","height":85});
															thumbnails[6837920] = clik.newPhoto({"id":6837920,"src":"stableroof1_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"new stable for the donkeys","height":81});
															thumbnails[6838105] = clik.newPhoto({"id":6838105,"src":"dinklogo_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"","height":143});
															thumbnails[6838488] = clik.newPhoto({"id":6838488,"src":"emaciatedhorse_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"emaciated horse","height":197});
															thumbnails[6838539] = clik.newPhoto({"id":6838539,"src":"dying_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"dying of canine hepatitis","height":150});
															thumbnails[6838706] = clik.newPhoto({"id":6838706,"src":"kitten_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"malnourished and stunted","height":81});
															thumbnails[8797228] = clik.newPhoto({"id":8797228,"src":"KFE-1011-012_thumb.JPG","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Kate and her family 2011","height":98});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '5421179,1212856';
imageSets[3] = '8797228,6838706,6838539,6838488,6838105,6837920,6837885,6837879,6837870,6837859,6837849,6824129,6824020,6824013,6824010,6823992,6823986,6823977,6823967,6823961,6823950,6823895,6823872,6823837,6823832,6823825,6683034,6683019,6087787,6087786,6087656,6087334,6087329,6087310,6087164,6087155,6087111,6087052,6086994,6086916,6072283,6072181,6071659,6066146,6066129,6064820,6064813,6064803,6064796,6064684';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/kateferedayeshete/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/kateferedayeshete/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/kateferedayeshete/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/kateferedayeshete/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/kateferedayeshete/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/kateferedayeshete/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/kateferedayeshete/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/kateferedayeshete/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/kateferedayeshete/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/kateferedayeshete/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/kateferedayeshete/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/kateferedayeshete/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/kateferedayeshete/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/kateferedayeshete/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/kateferedayeshete/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/kateferedayeshete/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/kateferedayeshete/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/kateferedayeshete/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/kateferedayeshete/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/kateferedayeshete/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/kateferedayeshete/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/kateferedayeshete/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/kateferedayeshete/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/kateferedayeshete/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/kateferedayeshete/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/kateferedayeshete/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/kateferedayeshete/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 += '.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 && '' != '') {
					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 = 'KATE FEREDAY ESHETE  inspiring change in Ethiopia: ' + photoCaption;
			    }
        if (op.$detail.length > 0) {
      	temp = op.nextPhoto.fnGetImageDetails();
	    op.$detail.fadeGalleryDetails(temp, op.speed, function(){
			if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
				toggleAddToCartConfirm(backgrounds, op.$detail);
			} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
				toggleAddToCartConfirm(photos, op.$detail);
			}
			$('body').trigger('clikUpdate.popup');
	    });
    }
        $(op.$detailContainer).find('.replaceable[class*=replaceable_photo-]').each(function(){
    	var field = clik.getPrefixedClass(this.className, 'replaceable_photo-');
    	if (field in op.nextPhoto) {
    		$(this).fadeGalleryDetails(op.nextPhoto[field], op.speed);
    	}
    }).end().find('.replaceable.photoPayment').fadeGalleryDetails(op.nextPhoto.fnGetPaymentInfo(), op.speed, function(){
		if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
			toggleAddToCartConfirm(backgrounds, op.$detailContainer);
		} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
			toggleAddToCartConfirm(photos, op.$detailContainer);
		}
		$('body').trigger('clikUpdate.popup');
	});
		if (op.$photo.length > 0) {
		html = $('<img/>',{
			'class': 'mainphoto photo',
			src: photoSrc,
			id: 'mainPic',
			name: 'mainPic',
			width: op.nextPhoto.width,
			height: op.nextPhoto.height,
			alt: photoCaption,
			css: op.css || {}
		});
		if (op.href) {
			if (op.href.match(/<a/)) {
				html = $(op.href).append(html);
			} else {
				html = $('<a/>', {
					href: op.href,
					title: photoCaption
				}).append(html);
			}
		} else {
			html = $('<a/>', {
				title: photoCaption
			}).append(html);
		}
		if (op.speed == 0) {			op.$photo.html(html);			if (op.onBefore) {			  	op.onBefore.apply(op.$photo);			}			if (op.onAfter) {			  	op.onAfter.apply(op.$photo);			}		} else {			op.$photo.stop(true,true).fadeReplaceWith(html,op.speed,'',function(){  				if (op.onAfter) {				  	op.onAfter.apply(this);				}				clik.doColumnResize(false, $(this).add(op.$detail).add(op.$title));			}, op.onBefore);
		}	}
    if (op.field) {
		op.field.value = photoId;
	} else {
		op.$photo.data('image_id', photoId);
    }
        if (!op.speed) {
      	clik.doColumnResize(false, op.$photo.add(op.$detail).add(op.$title));
    }
        
    return html;
	}

/***************************************************************************
* Toggle add to cart confirmation element and set up the click event for   *
* the 'Add to cart' button.                                                *
***************************************************************************/
function toggleAddToCartConfirm(array, root){
	if (typeof(array) !== 'object' || array === null) {
	  	array = photos;
	}
	if (!$(root).length) {		root = $('body');	}	if($('#paymentConfirm', root).length > 0){
		$('#paymentConfirm', root).hide();
		$('#paymentAddButton', root)
		.unbind()
		.click(function(){
						form = $('#paymentForm', root)[0];
			option_id = 0;
			if(form.item_option.value){
				option_id = form.item_option.value;
			}
			if(addItemToBasket(form.item_number.value,array,form.site.value,parseInt(form.quantity.value, 10),option_id)){
				if($.browser.msie){$('#paymentConfirm', root).text('Item added to cart').show();}
				else{
					$('#paymentConfirm', root).text('Item added to cart').fadeIn();
					dspOrderDetails(form.site.value);
				}
			}
			else{
				$('#paymentConfirm', root).text('Item not added - check cookies are enabled in your browser.').fadeIn();
			}
		});
	}
}

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetImageDetails = function(){
	var temp = '';
	if (this.description != '') {
		temp +=  '<div id="imageDescription">' + this.description + '</div>';
	}
		if (this.photo_ref != '') {
		temp += '<div class="imageinfo" id="imageRef"><strong>Ref: </strong>' + this.photo_ref + '</div>';
	}
		if (this.takendate != '') {
		
		temp += '<div class="imageinfo" id="imageDate"><strong>Date: </strong>' + this.takendate + '</div>';
	}
	
	if (this.location != '') {
		
		temp += '<div class="imageinfo" id="imageLocation"><strong>Location: </strong>' +  this.location + '</div>';
	}
	
	if (this.photographer != '') {
		
		temp += '<div class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>' + this.photographer + '</div>';
	}
				
				if (temp != '') {
		temp += '<div class="spacer"></div>';
	}
	return temp;
};

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetPaymentInfo = function(){
	var temp = '';
	if (this.item_price !== '') {
				temp += '<p>Order this print:</p>';
				temp += '<div class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> ' + (this.item_price).toFixed(2) + '</div>';
		var item_name  = this.purchase_instruction;
		var amount = (this.item_price).toFixed(2);
		var item_option  = 0;
	}
		else {
		
	}
	if (this.item_price !== '') {
			temp += '<div class="clearing">&nbsp;</div>';
	}
	return temp;};

/***************************************************************************
* Pick a photo at random from the featured images of a gallery.            *
* Gallery_id = id of gallery to choose,                                    *
* img = reference to html image in                                         *
* which to show image                                                      *
***************************************************************************/
function showGalleryImage(gallery_id, img, updateLink) {
	
	if(img){
		if (location.hash.match('galleries_id=' + gallery_id) && (imageID = location.hash.match('.*photos_id=(.+)$'))) {
		  	imageID = imageID[1];
		} else {
		  	imageID = randomListVal(galleries[gallery_id].featured_images);
		}
		
		if (imageID != 0) {
			img.src = thumbnails[imageID].src;
			img.width = thumbnails[imageID].width;
			img.height = thumbnails[imageID].height;
			img.alt = galleries[gallery_id].title;
			if (updateLink) {
				$(img).parent().attr({					title: galleries[gallery_id].title				}).filter(function(){return this.href;}).attr({					href: thumbnails[imageID].fnGalleryLink(gallery_id)				});
			}
		}
	}
}

/***************************************************************************
* If we have dynamic HTML, replace the galleries link with a list that     *
* doesn't include thecurrent gallery                                       *
***************************************************************************/
function showGalleries(gallery_id) {
		
	
	if (!basic) {
		temp = '';
		for (i = 0; i < galleries.length; i++) {
						
			
			if (galleries[i].id != gallery_id) {
								
				if (temp != '') {
					temp += ' | ';
				}
								temp += '<a href="' + galleries[i].section_code + '_' + galleries[i].id + '.html">' + galleries[i].title + '</a>';
							}
		}
		document.all.galleryLinks.innerHTML = 'Other galleries: ' + temp;
	}
}

			

