window.thumbnails = {};
															thumbnails[1910073] = clik.newPhoto({"id":1910073,"src":"Sikh wedding_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"","height":85});
															thumbnails[9060239] = clik.newPhoto({"id":9060239,"src":"Paul_Doyle_LEB-author_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"","height":173});
															thumbnails[334776] = clik.newPhoto({"id":334776,"src":"Arabic dancing Beirut_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Arabic dancing Piccadilly Theatre Beirut Lebanon","height":85});
															thumbnails[1915498] = clik.newPhoto({"id":1915498,"src":"children 2_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"","height":87});
															thumbnails[1919909] = clik.newPhoto({"id":1919909,"src":"Health_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"","height":194});
															thumbnails[334815] = clik.newPhoto({"id":334815,"src":"After School Club1_thumb.jpg","galleries_id":234252,"server_id":1,"link":"photo_334815.html","width":130,"caption":"","height":87});
															thumbnails[1910495] = clik.newPhoto({"id":1910495,"src":"Tripoli [Libya] 163_thumb.jpg","galleries_id":128150,"server_id":1,"link":"photo_1910495.html","width":130,"caption":"Copper souq, Tripoli, Libya","height":87});
															thumbnails[3855105] = clik.newPhoto({"id":3855105,"src":"Press__PR-01_thumb.jpg","galleries_id":234253,"server_id":1,"link":"photo_3855105.html","width":130,"caption":"","height":87});
															thumbnails[3855572] = clik.newPhoto({"id":3855572,"src":"Performing_Arts-01_thumb.jpg","galleries_id":234255,"server_id":1,"link":"photo_3855572.html","width":130,"caption":"The Last Confession","height":87});
															thumbnails[336040] = clik.newPhoto({"id":336040,"src":"Bukhara 27_thumb.jpg","galleries_id":128150,"server_id":1,"link":"photo_336040.html","width":130,"caption":"Bukhara Uzbekistan","height":102});
															thumbnails[718288] = clik.newPhoto({"id":718288,"src":"Tashkent 13_thumb.jpg","galleries_id":128150,"server_id":1,"link":"photo_718288.html","width":130,"caption":"Tashkent, Uzbekistan","height":85});
															thumbnails[933418] = clik.newPhoto({"id":933418,"src":"Editorial 3_thumb.jpg","galleries_id":234252,"server_id":1,"link":"photo_933418.html","width":130,"caption":"","height":87});
															thumbnails[1919881] = clik.newPhoto({"id":1919881,"src":"Ennio Morricone_thumb.jpg","galleries_id":234255,"server_id":1,"link":"photo_1919881.html","width":130,"caption":"Italian film composer Ennio Morricone ","height":87});
															thumbnails[3855107] = clik.newPhoto({"id":3855107,"src":"Press__PR-02_thumb.jpg","galleries_id":234253,"server_id":1,"link":"photo_3855107.html","width":130,"caption":"","height":87});
															thumbnails[335907] = clik.newPhoto({"id":335907,"src":"Cairo_thumb.jpg","galleries_id":128150,"server_id":1,"link":"photo_335907.html","width":130,"caption":"Cairo, Egypt","height":85});
															thumbnails[1910075] = clik.newPhoto({"id":1910075,"src":"Autism 1_1_thumb.jpg","galleries_id":234252,"server_id":1,"link":"photo_1910075.html","width":130,"caption":"","height":85});
															thumbnails[3855128] = clik.newPhoto({"id":3855128,"src":"Press__PR-03_thumb.jpg","galleries_id":234253,"server_id":1,"link":"photo_3855128.html","width":130,"caption":"","height":87});
															thumbnails[3855595] = clik.newPhoto({"id":3855595,"src":"Performing_Arts-03_thumb.jpg","galleries_id":234255,"server_id":1,"link":"photo_3855595.html","width":130,"caption":"The Government Inspector ","height":87});
															thumbnails[334820] = clik.newPhoto({"id":334820,"src":"Elderly 6_thumb.jpg","galleries_id":234252,"server_id":1,"link":"photo_334820.html","width":130,"caption":"","height":85});
															thumbnails[334824] = clik.newPhoto({"id":334824,"src":"Beirut_thumb.jpg","galleries_id":128150,"server_id":1,"link":"photo_334824.html","width":130,"caption":"Beirut, Lebanon","height":86});
															thumbnails[3855134] = clik.newPhoto({"id":3855134,"src":"Press__PR-04_thumb.jpg","galleries_id":234253,"server_id":1,"link":"photo_3855134.html","width":130,"caption":"","height":87});
															thumbnails[3855625] = clik.newPhoto({"id":3855625,"src":"Performing_Arts-04_thumb.jpg","galleries_id":234255,"server_id":1,"link":"photo_3855625.html","width":130,"caption":"Ocean World","height":91});
															thumbnails[335911] = clik.newPhoto({"id":335911,"src":"Alex3_thumb.jpg","galleries_id":128150,"server_id":1,"link":"photo_335911.html","width":130,"caption":"Alexandria, Egypt","height":84});
															thumbnails[335914] = clik.newPhoto({"id":335914,"src":"Alex4_thumb.jpg","galleries_id":128150,"server_id":1,"link":"photo_335914.html","width":130,"caption":"Alexandria, Egypt","height":85});
															thumbnails[3855138] = clik.newPhoto({"id":3855138,"src":"Press__PR-05_thumb.jpg","galleries_id":234253,"server_id":1,"link":"photo_3855138.html","width":130,"caption":"","height":86});
															thumbnails[3855648] = clik.newPhoto({"id":3855648,"src":"Performing_Arts-05_thumb.jpg","galleries_id":234255,"server_id":1,"link":"photo_3855648.html","width":130,"caption":"Pascal Roge","height":87});
															thumbnails[3858880] = clik.newPhoto({"id":3858880,"src":"People-05_thumb.jpg","galleries_id":234252,"server_id":1,"link":"photo_3858880.html","width":130,"caption":"","height":87});
															thumbnails[335715] = clik.newPhoto({"id":335715,"src":"Police_thumb.jpg","galleries_id":234252,"server_id":1,"link":"photo_335715.html","width":130,"caption":"","height":84});
															thumbnails[336333] = clik.newPhoto({"id":336333,"src":"Israel2_thumb.jpg","galleries_id":128150,"server_id":1,"link":"photo_336333.html","width":130,"caption":"Old City, Jerusalem, Israel","height":84});
															thumbnails[3855154] = clik.newPhoto({"id":3855154,"src":"Press__PR-061_thumb.jpg","galleries_id":234253,"server_id":1,"link":"photo_3855154.html","width":130,"caption":"","height":73});
															thumbnails[3855681] = clik.newPhoto({"id":3855681,"src":"Performing_Arts-06_thumb.jpg","galleries_id":234255,"server_id":1,"link":"photo_3855681.html","width":130,"caption":"Waltz of the Toreadors ","height":87});
															thumbnails[9057835] = clik.newPhoto({"id":9057835,"src":"Scan-01_thumb.jpg","galleries_id":234252,"server_id":1,"link":"photo_9057835.html","width":130,"caption":"","height":85});
															thumbnails[334828] = clik.newPhoto({"id":334828,"src":"Beirut 2_thumb.jpg","galleries_id":128150,"server_id":1,"link":"photo_334828.html","width":130,"caption":"Corniche, Beirut, Lebanon","height":82});
															thumbnails[1946971] = clik.newPhoto({"id":1946971,"src":"School7_thumb.jpg","galleries_id":234252,"server_id":1,"link":"photo_1946971.html","width":130,"caption":"","height":87});
															thumbnails[3855144] = clik.newPhoto({"id":3855144,"src":"Press__PR-07_thumb.jpg","galleries_id":234253,"server_id":1,"link":"photo_3855144.html","width":130,"caption":"","height":87});
															thumbnails[3855692] = clik.newPhoto({"id":3855692,"src":"Performing_Arts-07_thumb.jpg","galleries_id":234255,"server_id":1,"link":"photo_3855692.html","width":130,"caption":"The Scarlet Letter","height":87});
															thumbnails[336028] = clik.newPhoto({"id":336028,"src":"Tashkent_thumb.jpg","galleries_id":128150,"server_id":1,"link":"photo_336028.html","width":130,"caption":"Tashkent, Uzbekistan","height":85});
															thumbnails[1910610] = clik.newPhoto({"id":1910610,"src":"Tripoli [Libya]_thumb.jpg","galleries_id":128150,"server_id":1,"link":"photo_1910610.html","width":130,"caption":"Gurgi Mosque, Tripoli, Libya","height":93});
															thumbnails[1915262] = clik.newPhoto({"id":1915262,"src":"Elderly 11_thumb.jpg","galleries_id":234252,"server_id":1,"link":"photo_1915262.html","width":130,"caption":"","height":86});
															thumbnails[3855159] = clik.newPhoto({"id":3855159,"src":"Press__PR-08_thumb.jpg","galleries_id":234253,"server_id":1,"link":"photo_3855159.html","width":130,"caption":"","height":83});
															thumbnails[3855701] = clik.newPhoto({"id":3855701,"src":"Performing_Arts-08_thumb.jpg","galleries_id":234255,"server_id":1,"link":"photo_3855701.html","width":130,"caption":"Toyah Willcox","height":87});
															thumbnails[1910720] = clik.newPhoto({"id":1910720,"src":"Health 03_thumb.jpg","galleries_id":234252,"server_id":1,"link":"photo_1910720.html","width":130,"caption":"","height":87});
															thumbnails[3855161] = clik.newPhoto({"id":3855161,"src":"Press__PR-09_thumb.jpg","galleries_id":234253,"server_id":1,"link":"photo_3855161.html","width":130,"caption":"","height":90});
															thumbnails[3855715] = clik.newPhoto({"id":3855715,"src":"Performing_Arts-09_thumb.jpg","galleries_id":234255,"server_id":1,"link":"photo_3855715.html","width":130,"caption":"Flamenco","height":200});
															thumbnails[334822] = clik.newPhoto({"id":334822,"src":"Elderly day centre_thumb.jpg","galleries_id":234252,"server_id":1,"link":"photo_334822.html","width":130,"caption":"","height":85});
															thumbnails[336019] = clik.newPhoto({"id":336019,"src":"Tel Aviv_thumb.jpg","galleries_id":128150,"server_id":1,"link":"photo_336019.html","width":130,"caption":"Tel Aviv, Israel","height":84});
															thumbnails[3855164] = clik.newPhoto({"id":3855164,"src":"Press__PR-10_thumb.jpg","galleries_id":234253,"server_id":1,"link":"photo_3855164.html","width":130,"caption":"","height":96});
															thumbnails[3855723] = clik.newPhoto({"id":3855723,"src":"Performing_Arts-10_thumb.jpg","galleries_id":234255,"server_id":1,"link":"photo_3855723.html","width":130,"caption":"Youth theatre ","height":194});
															thumbnails[722900] = clik.newPhoto({"id":722900,"src":"Fisherman,Byblos, Lebanon_thumb.jpg","galleries_id":128150,"server_id":1,"link":"photo_722900.html","width":130,"caption":"Byblos, Lebanon","height":85});
															thumbnails[3855168] = clik.newPhoto({"id":3855168,"src":"Press__PR-11_thumb.jpg","galleries_id":234253,"server_id":1,"link":"photo_3855168.html","width":130,"caption":"","height":87});
															thumbnails[3855733] = clik.newPhoto({"id":3855733,"src":"Performing_Arts-11_thumb.jpg","galleries_id":234255,"server_id":1,"link":"photo_3855733.html","width":130,"caption":"Funny Girl","height":183});
															thumbnails[722915] = clik.newPhoto({"id":722915,"src":"Syria 1_thumb.jpg","galleries_id":128150,"server_id":1,"link":"photo_722915.html","width":130,"caption":"Tetrapylon, Palmyra, Syria","height":85});
															thumbnails[1910755] = clik.newPhoto({"id":1910755,"src":"Conf 01_thumb.jpg","galleries_id":234252,"server_id":1,"link":"photo_1910755.html","width":130,"caption":"","height":86});
															thumbnails[3855174] = clik.newPhoto({"id":3855174,"src":"Press__PR-12_thumb.jpg","galleries_id":234253,"server_id":1,"link":"photo_3855174.html","width":130,"caption":"","height":86});
															thumbnails[3855741] = clik.newPhoto({"id":3855741,"src":"Performing_Arts-12_thumb.jpg","galleries_id":234255,"server_id":1,"link":"photo_3855741.html","width":130,"caption":"Sophie Ellis Bextor","height":194});
															thumbnails[1911163] = clik.newPhoto({"id":1911163,"src":"Disability 02_thumb.jpg","galleries_id":234252,"server_id":1,"link":"photo_1911163.html","width":130,"caption":"","height":89});
															thumbnails[1917355] = clik.newPhoto({"id":1917355,"src":"Amman Jordan_thumb.jpg","galleries_id":128150,"server_id":1,"link":"photo_1917355.html","width":130,"caption":"Temple of Hercules, Amman, Jordan","height":86});
															thumbnails[3855177] = clik.newPhoto({"id":3855177,"src":"Press__PR-13_thumb.jpg","galleries_id":234253,"server_id":1,"link":"photo_3855177.html","width":130,"caption":"","height":174});
															thumbnails[3855747] = clik.newPhoto({"id":3855747,"src":"Performing_Arts-13_thumb.jpg","galleries_id":234255,"server_id":1,"link":"photo_3855747.html","width":130,"caption":"Six Pictures of Lee Miller","height":195});
															thumbnails[722913] = clik.newPhoto({"id":722913,"src":"Harbour, Byblos, LEBANON copy_thumb.jpg","galleries_id":128150,"server_id":1,"link":"photo_722913.html","width":130,"caption":"Byblos, Lebanon","height":84});
															thumbnails[3851826] = clik.newPhoto({"id":3851826,"src":"People-01_thumb.jpg","galleries_id":234252,"server_id":1,"link":"photo_3851826.html","width":130,"caption":"","height":194});
															thumbnails[3855180] = clik.newPhoto({"id":3855180,"src":"Press__PR-14_thumb.jpg","galleries_id":234253,"server_id":1,"link":"photo_3855180.html","width":130,"caption":"","height":194});
															thumbnails[3855750] = clik.newPhoto({"id":3855750,"src":"Performing_Arts-14_thumb.jpg","galleries_id":234255,"server_id":1,"link":"photo_3855750.html","width":130,"caption":"Billie Piper","height":191});
															thumbnails[334819] = clik.newPhoto({"id":334819,"src":"Nursery kids art class_thumb.jpg","galleries_id":234252,"server_id":1,"link":"photo_334819.html","width":130,"caption":"","height":197});
															thumbnails[335879] = clik.newPhoto({"id":335879,"src":"Beirut 5_thumb.jpg","galleries_id":128150,"server_id":1,"link":"photo_335879.html","width":130,"caption":"Street bread vendor, Beirut, Lebanon","height":196});
															thumbnails[3855228] = clik.newPhoto({"id":3855228,"src":"Press__PR-15_thumb.jpg","galleries_id":234253,"server_id":1,"link":"photo_3855228.html","width":130,"caption":"","height":194});
															thumbnails[3855755] = clik.newPhoto({"id":3855755,"src":"Performing_Arts-15_thumb.jpg","galleries_id":234255,"server_id":1,"link":"photo_3855755.html","width":130,"caption":"Hay Fever","height":194});
															thumbnails[335867] = clik.newPhoto({"id":335867,"src":" BEIRUT_thumb.jpg","galleries_id":128150,"server_id":1,"link":"photo_335867.html","width":130,"caption":"Beirut, Lebanon","height":200});
															thumbnails[935467] = clik.newPhoto({"id":935467,"src":"Tea dance for elderly_thumb.jpg","galleries_id":234252,"server_id":1,"link":"photo_935467.html","width":130,"caption":"","height":194});
															thumbnails[3855229] = clik.newPhoto({"id":3855229,"src":"Press__PR-16_thumb.jpg","galleries_id":234253,"server_id":1,"link":"photo_3855229.html","width":130,"caption":"","height":194});
															thumbnails[3855761] = clik.newPhoto({"id":3855761,"src":"Performing_Arts-16_thumb.jpg","galleries_id":234255,"server_id":1,"link":"photo_3855761.html","width":130,"caption":"Carousel ","height":175});
															thumbnails[336276] = clik.newPhoto({"id":336276,"src":"Georgia1_thumb.jpg","galleries_id":128150,"server_id":1,"link":"photo_336276.html","width":130,"caption":"Tbilisi, Georgia ","height":199});
															thumbnails[1919762] = clik.newPhoto({"id":1919762,"src":"7 July rally_1_thumb.jpg","galleries_id":234252,"server_id":1,"link":"photo_1919762.html","width":130,"caption":"","height":186});
															thumbnails[3855231] = clik.newPhoto({"id":3855231,"src":"Press__PR-17_thumb.jpg","galleries_id":234253,"server_id":1,"link":"photo_3855231.html","width":130,"caption":"","height":212});
															thumbnails[336278] = clik.newPhoto({"id":336278,"src":"Georgia3_thumb.jpg","galleries_id":128150,"server_id":1,"link":"photo_336278.html","width":130,"caption":"Tbilisi, Georgia ","height":195});
															thumbnails[1915216] = clik.newPhoto({"id":1915216,"src":"Bukhara 14_thumb.jpg","galleries_id":128150,"server_id":1,"link":"photo_1915216.html","width":130,"caption":"Bukhara, Uzbekistan","height":199});
															thumbnails[1919710] = clik.newPhoto({"id":1919710,"src":"Climate Change_thumb.jpg","galleries_id":234252,"server_id":1,"link":"photo_1919710.html","width":130,"caption":"","height":207});
															thumbnails[3855233] = clik.newPhoto({"id":3855233,"src":"Press__PR-18_thumb.jpg","galleries_id":234253,"server_id":1,"link":"photo_3855233.html","width":130,"caption":"","height":194});
															thumbnails[1915241] = clik.newPhoto({"id":1915241,"src":"Ghadames [Libya]_thumb.jpg","galleries_id":128150,"server_id":1,"link":"photo_1915241.html","width":130,"caption":"Ghadames, Libya","height":194});
															thumbnails[1917645] = clik.newPhoto({"id":1917645,"src":"Health 06_thumb.jpg","galleries_id":234252,"server_id":1,"link":"photo_1917645.html","width":130,"caption":"","height":192});
															thumbnails[3855234] = clik.newPhoto({"id":3855234,"src":"Press__PR-19_thumb.jpg","galleries_id":234253,"server_id":1,"link":"photo_3855234.html","width":130,"caption":"","height":194});
															thumbnails[1919752] = clik.newPhoto({"id":1919752,"src":" Syria_thumb.jpg","galleries_id":128150,"server_id":2,"link":"photo_1919752.html","width":130,"caption":"Damascus, Syria","height":190});
															thumbnails[1920709] = clik.newPhoto({"id":1920709,"src":"Elderly 07_thumb.jpg","galleries_id":234252,"server_id":1,"link":"photo_1920709.html","width":130,"caption":"","height":194});
															thumbnails[3878051] = clik.newPhoto({"id":3878051,"src":"Press-20_thumb.jpg","galleries_id":234253,"server_id":1,"link":"photo_3878051.html","width":130,"caption":"","height":194});
															thumbnails[1917619] = clik.newPhoto({"id":1917619,"src":"Education 081_thumb.jpg","galleries_id":234252,"server_id":1,"link":"photo_1917619.html","width":130,"caption":"","height":194});
															thumbnails[1917509] = clik.newPhoto({"id":1917509,"src":"Education 08_thumb.jpg","galleries_id":234252,"server_id":1,"link":"photo_1917509.html","width":130,"caption":"","height":194});
															thumbnails[3851845] = clik.newPhoto({"id":3851845,"src":"Cadiar_Spain_thumb.jpg","galleries_id":128150,"server_id":1,"link":"photo_3851845.html","width":130,"caption":"Cadiar, Alpujarra, Spain ","height":194});
															thumbnails[1910688] = clik.newPhoto({"id":1910688,"src":"Health 01_thumb.jpg","galleries_id":234252,"server_id":1,"link":"photo_1910688.html","width":130,"caption":"","height":193});
															thumbnails[9033759] = clik.newPhoto({"id":9033759,"src":"Beirut_A0286258-24E8-5EC4-4FB2D880BC79978D_thumb.jpg","galleries_id":128150,"server_id":1,"link":"photo_9033759.html","width":130,"caption":"Muhammad al-Amine mosque, Beirut, Lebanon","height":194});
															thumbnails[1920634] = clik.newPhoto({"id":1920634,"src":"Elderly 08_thumb.jpg","galleries_id":234252,"server_id":1,"link":"photo_1920634.html","width":130,"caption":"","height":201});
															thumbnails[9068634] = clik.newPhoto({"id":9068634,"src":"Tripoli-32_thumb.jpg","galleries_id":128150,"server_id":1,"link":"photo_9068634.html","width":130,"caption":"Metalworker, Souk, Tripoli, northern Lebanon","height":194});
															thumbnails[1910881] = clik.newPhoto({"id":1910881,"src":"Conf 05_thumb.jpg","galleries_id":234252,"server_id":1,"link":"photo_1910881.html","width":130,"caption":"","height":194});
															thumbnails[9068659] = clik.newPhoto({"id":9068659,"src":"Beirut-19_thumb.jpg","galleries_id":128150,"server_id":1,"link":"photo_9068659.html","width":130,"caption":"Muhammad al-Amine mosque, Beirut, Lebanon","height":194});
															thumbnails[9068786] = clik.newPhoto({"id":9068786,"src":"Tashkent_7_thumb.jpg","galleries_id":128150,"server_id":1,"link":"photo_9068786.html","width":130,"caption":"Pottery vendor, Tashkent, Uzbekistan","height":200});
															thumbnails[8211716] = clik.newPhoto({"id":8211716,"src":"Lebanon_141_copy_thumb.jpg","galleries_id":28376,"server_id":1,"link":"photo_8211716.html","width":130,"caption":"Bradt's 2012 travel guide to Lebanon written by Paul Doyle","height":208});
															thumbnails[340642] = clik.newPhoto({"id":340642,"src":"LP Guide-Lebanon_thumb.jpg","galleries_id":28376,"server_id":1,"link":"photo_340642.html","width":130,"caption":"Lonely Planet guide book - Lebanon","height":188});
															thumbnails[1807453] = clik.newPhoto({"id":1807453,"src":"Carers UK mag_thumb.jpg","galleries_id":234889,"server_id":1,"link":"photo_1807453.html","width":130,"caption":"Carers UK","height":185});
															thumbnails[1807466] = clik.newPhoto({"id":1807466,"src":"Georgia guide_thumb.jpg","galleries_id":28376,"server_id":1,"link":"photo_1807466.html","width":130,"caption":"Bradt guide to Georgia","height":211});
															thumbnails[334789] = clik.newPhoto({"id":334789,"src":"ALG-London Bulletin_thumb.jpg","galleries_id":234889,"server_id":1,"link":"photo_334789.html","width":130,"caption":"Association of London Government - London Bulletin magazine","height":184});
															thumbnails[334792] = clik.newPhoto({"id":334792,"src":"Promoting Independence_thumb.jpg","galleries_id":234889,"server_id":1,"link":"photo_334792.html","width":130,"caption":"Promoting Independence - Heinemann publishing","height":176});
															thumbnails[334897] = clik.newPhoto({"id":334897,"src":"NACRO_thumb.jpg","galleries_id":234889,"server_id":1,"link":"photo_334897.html","width":130,"caption":"NACRO - Safer Society magazine","height":186});
															thumbnails[340640] = clik.newPhoto({"id":340640,"src":"Community Care mag_thumb.jpg","galleries_id":234889,"server_id":1,"link":"photo_340640.html","width":130,"caption":"Community Care magazine","height":184});
															thumbnails[337155] = clik.newPhoto({"id":337155,"src":"sociology1_thumb.jpg","galleries_id":234889,"server_id":1,"link":"photo_337155.html","width":130,"caption":"Sociology Review magazine","height":174});
															thumbnails[337518] = clik.newPhoto({"id":337518,"src":"Help the Aged_thumb.jpg","galleries_id":234889,"server_id":1,"link":"photo_337518.html","width":130,"caption":"Help the Aged","height":187});
															thumbnails[334877] = clik.newPhoto({"id":334877,"src":"Guide Dogs for the Blind 2_thumb.jpg","galleries_id":234889,"server_id":1,"link":"photo_334877.html","width":130,"caption":"Guide Dogs for the Blind - Forward magazine","height":180});
															thumbnails[334935] = clik.newPhoto({"id":334935,"src":"Waverley School_thumb.jpg","galleries_id":234889,"server_id":1,"link":"photo_334935.html","width":130,"caption":"Waverley School for Girls - Prospectus","height":185});
															thumbnails[334925] = clik.newPhoto({"id":334925,"src":"Kids' Clubs Network_thumb.jpg","galleries_id":234889,"server_id":1,"link":"photo_334925.html","width":130,"caption":"Prima magazine promotion for Kids' Clubs Network after school clubs","height":185});
															thumbnails[1210514] = clik.newPhoto({"id":1210514,"src":"HP2_thumb.jpg","galleries_id":234889,"server_id":1,"link":"photo_1210514.html","width":130,"caption":"Hounslow Council - Fostering Campaign","height":184});
															thumbnails[1210540] = clik.newPhoto({"id":1210540,"src":"HP 3_thumb.jpg","galleries_id":234889,"server_id":1,"link":"photo_1210540.html","width":130,"caption":"Hounslow Council - Fostering Campaign","height":181});
															thumbnails[334794] = clik.newPhoto({"id":334794,"src":"GDBA_thumb.jpg","galleries_id":234889,"server_id":1,"link":"photo_334794.html","width":130,"caption":"Guide Dogs for the Blind","height":183});
															thumbnails[334892] = clik.newPhoto({"id":334892,"src":"Working Families_thumb.jpg","galleries_id":234889,"server_id":1,"link":"photo_334892.html","width":130,"caption":"Working Families - Annual Report","height":185});
															thumbnails[337542] = clik.newPhoto({"id":337542,"src":"Special Children_thumb.jpg","galleries_id":234889,"server_id":1,"link":"photo_337542.html","width":130,"caption":"Special Children magazine","height":183});
															thumbnails[334795] = clik.newPhoto({"id":334795,"src":"Southwark Life 2_thumb.jpg","galleries_id":234889,"server_id":1,"link":"photo_334795.html","width":130,"caption":"Southwark Council's residents' magazine Southwark Life","height":184});
															thumbnails[334875] = clik.newPhoto({"id":334875,"src":"Guide Dogs Calendar_thumb.jpg","galleries_id":234889,"server_id":1,"link":"photo_334875.html","width":130,"caption":"Guide Dogs for the Blind - 2004 Calendar","height":158});
															thumbnails[334903] = clik.newPhoto({"id":334903,"src":"Bulletin_thumb.jpg","galleries_id":234889,"server_id":1,"link":"photo_334903.html","width":130,"caption":"Royal College of Speech and Language Therapists - Bulletin magazine","height":183});
															thumbnails[334924] = clik.newPhoto({"id":334924,"src":"British Mediterranean Airways_thumb.jpg","galleries_id":234889,"server_id":1,"link":"photo_334924.html","width":130,"caption":"British Mediterranean Airways - Corporate Uniform Guide","height":186});
															thumbnails[334889] = clik.newPhoto({"id":334889,"src":"My Sikh Year_thumb.jpg","galleries_id":234889,"server_id":1,"link":"photo_334889.html","width":130,"caption":"My Sikh Year - Wayland publishing","height":163});
															thumbnails[334851] = clik.newPhoto({"id":334851,"src":"TNT Magazine_thumb.jpg","galleries_id":28376,"server_id":1,"link":"photo_334851.html","width":130,"caption":"Dome of the Rock - TNT magazine","height":185});
															thumbnails[337526] = clik.newPhoto({"id":337526,"src":"ME Mag_thumb.jpg","galleries_id":28376,"server_id":1,"link":"photo_337526.html","width":130,"caption":"The Middle East magazine","height":168});
															thumbnails[337525] = clik.newPhoto({"id":337525,"src":"Malev Airlines_thumb.jpg","galleries_id":28376,"server_id":1,"link":"photo_337525.html","width":130,"caption":"Malev Airlines inflight magazine - Horizon ","height":174});
															thumbnails[337529] = clik.newPhoto({"id":337529,"src":"Observer_thumb.jpg","galleries_id":28376,"server_id":1,"link":"photo_337529.html","width":130,"caption":"The Observer newspaper - Travel section","height":170});
															thumbnails[337537] = clik.newPhoto({"id":337537,"src":"Wayland Pub_thumb.jpg","galleries_id":28376,"server_id":1,"link":"photo_337537.html","width":130,"caption":"Wayland Publishing - Moses and Judaism","height":181});
															thumbnails[1910283] = clik.newPhoto({"id":1910283,"src":"ME mag 2_thumb.jpg","galleries_id":28376,"server_id":1,"link":"photo_1910283.html","width":130,"caption":"The Middle East magazine","height":171});
															thumbnails[1910682] = clik.newPhoto({"id":1910682,"src":"Peace sculpture_thumb.jpg","galleries_id":28376,"server_id":1,"link":"photo_1910682.html","width":130,"caption":"","height":171});
															thumbnails[9060142] = clik.newPhoto({"id":9060142,"src":"0022_thumb.jpg","galleries_id":28376,"server_id":1,"link":"photo_9060142.html","width":130,"caption":"Georgia (former USSR) - TNT magazine","height":187});
															thumbnails[9060148] = clik.newPhoto({"id":9060148,"src":"0028_thumb.jpg","galleries_id":28376,"server_id":1,"link":"photo_9060148.html","width":130,"caption":"Beirut - TNT magazine","height":188});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[234889] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Editorial","link":"section47103_234889.html","maxRecords":0.0,"photoIDs":[1807453.0,334789.0,334792.0,334897.0,340640.0,337155.0,337518.0,334877.0,334935.0,334925.0,1210514.0,1210540.0,334794.0,334892.0,337542.0,334795.0,334875.0,334903.0,334924.0,334889.0],"skipIndex":0,"section_code":"section47103","featured_images":1807453.0,"id":234889,"singleSection":false});				  						galleries[234252] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"People & social issues","link":"gallery_234252.html","maxRecords":0.0,"photoIDs":[334815.0,933418.0,1910075.0,334820.0,3858880.0,335715.0,9057835.0,1946971.0,1915262.0,1910720.0,334822.0,1910755.0,1911163.0,3851826.0,334819.0,935467.0,1919762.0,1919710.0,1917645.0,1920709.0,1917619.0,1917509.0,1910688.0,1920634.0,1910881.0],"skipIndex":0,"section_code":"gallery","featured_images":3858880.0,"id":234252,"singleSection":false});				  						galleries[234253] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Press \/ PR","link":"gallery_234253.html","maxRecords":0.0,"photoIDs":[3855105.0,3855107.0,3855128.0,3855134.0,3855138.0,3855154.0,3855144.0,3855159.0,3855161.0,3855164.0,3855168.0,3855174.0,3855177.0,3855180.0,3855228.0,3855229.0,3855231.0,3855233.0,3855234.0,3878051.0],"skipIndex":0,"section_code":"gallery","featured_images":3855128.0,"id":234253,"singleSection":false});				  						galleries[28376] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Journeys","link":"section47103_28376.html","maxRecords":0.0,"photoIDs":[8211716.0,340642.0,1807466.0,334851.0,337526.0,337525.0,337529.0,337537.0,1910283.0,1910682.0,9060142.0,9060148.0],"skipIndex":0,"section_code":"section47103","featured_images":"9060148,9060142,8211716,1910682,1910283,1807466,340642,337537,337529,337526","id":28376,"singleSection":false});				  						galleries[234255] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Performing Arts","link":"gallery_234255.html","maxRecords":0.0,"photoIDs":[3855572.0,1919881.0,3855595.0,3855625.0,3855648.0,3855681.0,3855692.0,3855701.0,3855715.0,3855723.0,3855733.0,3855741.0,3855747.0,3855750.0,3855755.0,3855761.0],"skipIndex":0,"section_code":"gallery","featured_images":1919881.0,"id":234255,"singleSection":false});				  						galleries[128150] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Journeys","link":"gallery_128150.html","maxRecords":0.0,"photoIDs":[1910495.0,336040.0,718288.0,335907.0,334824.0,335911.0,335914.0,336333.0,334828.0,336028.0,1910610.0,336019.0,722900.0,722915.0,1917355.0,722913.0,335879.0,335867.0,336276.0,336278.0,1915216.0,1915241.0,1919752.0,3851845.0,9033759.0,9068634.0,9068659.0,9068786.0],"skipIndex":0,"section_code":"gallery","featured_images":1910495.0,"id":128150,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '1910073,1910075,3858880,334776,9057835,1915498,335867,3855231';
imageSets[2] = '1910495,1807453,1919881,3855128,3858880';
imageSets[3] = '9068786,9068659,9068634,9060239,9060148,9060142,9057835,9033759,8211716,3878051,3858880,3855761,3855755,3855750,3855747,3855741,3855733,3855723,3855715,3855701,3855692,3855681,3855648,3855625,3855595,3855572,3855234,3855233,3855231,3855229,3855228,3855180,3855177,3855174,3855168,3855164,3855161,3855159,3855154,3855144,3855138,3855134,3855128,3855107,3855105,3851845,3851826,1946971,1920709,1920634';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/SocTravsite/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/SocTravsite/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/SocTravsite/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/SocTravsite/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/SocTravsite/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/SocTravsite/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/SocTravsite/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/SocTravsite/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/SocTravsite/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/SocTravsite/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/SocTravsite/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/SocTravsite/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/SocTravsite/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/SocTravsite/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/SocTravsite/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/SocTravsite/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/SocTravsite/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/SocTravsite/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/SocTravsite/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/SocTravsite/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/SocTravsite/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/SocTravsite/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/SocTravsite/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/SocTravsite/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/SocTravsite/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/SocTravsite/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/SocTravsite/images';
		break;
	}
		return val;
}

/***************************************************************************
* img = reference to image object in which to show image                   *
***************************************************************************/
function showHomeImage(img) {
	imageID = randomListVal('');
	if (!basic) {
		img.src = photos[imageID].src;
		img.width = photos[imageID].width;
		img.height = photos[imageID].height;
		img.parentNode.title = img.alt = photos[imageID].caption;
	} else {
		newImage = new Image(photos[imageID].width,photos[imageID].height);
		newImage.src = photos[imageID].src;
		document.images[img.name] = newImage;
		
	}
}

function getHomeImageLink(imageID) {
  	var href='', photo = (backgrounds || photos || {})[imageID];
	if(photo){
		if (photo && photo.galleries_id != '') {
  			href = photo.fnGalleryLink();
  		}
  		  		else {
  				href += 'gallery.html';
  	  		}
	}
    return href;
}

/***************************************************************************
* Show a random image on home page from featured images                    *
***************************************************************************/
function showHomeImageInline(el, image_sets_id, href) {
	
	var css = {}, imageID,
	    imageSetsId = 1;
	if(image_sets_id){
		imageSetsId = image_sets_id;
	}
	imageID = randomListVal(imageSets[imageSetsId]);
	if (href == null && 'gallery' != '') {
					href = getHomeImageLink(imageID);
	}
	
	updateImage({nextPhoto: backgrounds[imageID], img:el.find('img')[0],
                $photo:el, $title:$('#homeimageTitleContainer'), $detail:$('#homeimageDetailsContainer'),                speed:0, href:href, css:css, onAfter: function(){                  this.closest('.contentsection').doManualAlign({				    inner: 'img',				    crop: 'a'				  });                }              });
}

/***************************************************************************
* Set 'img' to be a new image given its photo() object                     *
***************************************************************************/
function updateImage (options) {
	var defaults = {nextPhoto:'',field:'',img:'',$photo:'',$title:'',$detail:'',$detailContainer:'',
                    updateDocumentTitle:false,speed:0,href:false,css:false,updateHash:false,onAfter:null,onBefore:null},
		op = $.extend({},defaults,options),
		html = '', temp = '',
		photoId = op.nextPhoto.id,
		photoCaption = ''+op.nextPhoto.caption,
		photoSrc = op.nextPhoto.src;
	
	if (op.updateHash && clik.getIDInUrl(location.href,'photo') != op.nextPhoto.id) {
		clik.changeHash('photos_id=' + op.nextPhoto.id, true);
	}
		
	    if (op.$title.length > 0) {
  		op.$title.fadeGalleryDetails(photoCaption, op.speed);
    }
        if (op.updateDocumentTitle) {
						  document.title = 'Paul Doyle Photography: ' + photoCaption;
			    }
        if (op.$detail.length > 0) {
      	temp = op.nextPhoto.fnGetImageDetails();
	    op.$detail.fadeGalleryDetails(temp, op.speed, function(){
			if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
				toggleAddToCartConfirm(backgrounds, op.$detail);
			} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
				toggleAddToCartConfirm(photos, op.$detail);
			}
			$('body').trigger('clikUpdate.popup');
	    });
    }
        $(op.$detailContainer).find('.replaceable[class*=replaceable_photo-]').each(function(){
    	var field = clik.getPrefixedClass(this.className, 'replaceable_photo-');
    	if (field in op.nextPhoto) {
    		$(this).fadeGalleryDetails(op.nextPhoto[field], op.speed);
    	}
    }).end().find('.replaceable.photoPayment').fadeGalleryDetails(op.nextPhoto.fnGetPaymentInfo(), op.speed, function(){
		if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
			toggleAddToCartConfirm(backgrounds, op.$detailContainer);
		} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
			toggleAddToCartConfirm(photos, op.$detailContainer);
		}
		$('body').trigger('clikUpdate.popup');
	});
		if (op.$photo.length > 0) {
		html = $('<img/>',{
			'class': 'mainphoto photo',
			src: photoSrc,
			id: 'mainPic',
			name: 'mainPic',
			width: op.nextPhoto.width,
			height: op.nextPhoto.height,
			alt: photoCaption,
			css: op.css || {}
		});
		if (op.href) {
			if (op.href.match(/<a/)) {
				html = $(op.href).append(html);
			} else {
				html = $('<a/>', {
					href: op.href,
					title: photoCaption
				}).append(html);
			}
		} else {
			html = $('<a/>', {
				title: photoCaption
			}).append(html);
		}
		if (op.speed == 0) {			op.$photo.html(html);			if (op.onBefore) {			  	op.onBefore.apply(op.$photo);			}			if (op.onAfter) {			  	op.onAfter.apply(op.$photo);			}		} else {			op.$photo.stop(true,true).fadeReplaceWith(html,op.speed,'',function(){  				if (op.onAfter) {				  	op.onAfter.apply(this);				}				clik.doColumnResize(false, $(this).add(op.$detail).add(op.$title));			}, op.onBefore);
		}	}
    if (op.field) {
		op.field.value = photoId;
	} else {
		op.$photo.data('image_id', photoId);
    }
        if (!op.speed) {
      	clik.doColumnResize(false, op.$photo.add(op.$detail).add(op.$title));
    }
        
    return html;
	}

/***************************************************************************
* Toggle add to cart confirmation element and set up the click event for   *
* the 'Add to cart' button.                                                *
***************************************************************************/
function toggleAddToCartConfirm(array, root){
	if (typeof(array) !== 'object' || array === null) {
	  	array = photos;
	}
	if (!$(root).length) {		root = $('body');	}	if($('#paymentConfirm', root).length > 0){
		$('#paymentConfirm', root).hide();
		$('#paymentAddButton', root)
		.unbind()
		.click(function(){
						form = $('#paymentForm', root)[0];
			option_id = 0;
			if(form.item_option.value){
				option_id = form.item_option.value;
			}
			if(addItemToBasket(form.item_number.value,array,form.site.value,parseInt(form.quantity.value, 10),option_id)){
				if($.browser.msie){$('#paymentConfirm', root).text('Item added to cart').show();}
				else{
					$('#paymentConfirm', root).text('Item added to cart').fadeIn();
					dspOrderDetails(form.site.value);
				}
			}
			else{
				$('#paymentConfirm', root).text('Item not added - check cookies are enabled in your browser.').fadeIn();
			}
		});
	}
}

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetImageDetails = function(){
	var temp = '';
	if (this.description != '') {
		temp +=  '<div id="imageDescription">' + this.description + '</div>';
	}
		if (this.photo_ref != '') {
		temp += '<div class="imageinfo" id="imageRef"><strong>Ref: </strong>' + this.photo_ref + '</div>';
	}
		if (this.takendate != '') {
		
		temp += '<div class="imageinfo" id="imageDate"><strong>Date: </strong>' + this.takendate + '</div>';
	}
	
	if (this.location != '') {
		
		temp += '<div class="imageinfo" id="imageLocation"><strong>Location: </strong>' +  this.location + '</div>';
	}
	
	if (this.photographer != '') {
		
		temp += '<div class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>' + this.photographer + '</div>';
	}
				
	temp += this.fnGetPaymentInfo();
				if (temp != '') {
		temp += '<div class="spacer"></div>';
	}
	return temp;
};

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetPaymentInfo = function(){
	var temp = '';
	if (this.item_price !== '') {
																		temp += '<p>Buy now using PayPal:</p>';
				temp += '<div class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> &pound;' + (this.item_price).toFixed(2) + '</div>';
		var item_name  = this.purchase_instruction;
		var amount = (this.item_price).toFixed(2);
		var item_option  = 0;
	}
		else if (this.payment_groups_id !== '') {
		temp += '<p>Buy this print online:</p>';
				temp += '<form id="paymentOptions" style="margin:0px;border:0px;" name="paymentOptions">';
											temp += '<select class="paymentlink" name="payment_options_id" onchange="updateItemValues($(this.form).next(\'#paymentForm\')[0],this.form.payment_options_id.options[this.form.payment_options_id.options.selectedIndex].value);">';
		
		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" target="_blank" action="https://www.paypal.com/cgi-bin/webscr" method="post">';
			temp += '<input type="hidden" name="item_name" value="'+item_name+'">';
			ref = '';
			if(this.photo_ref != ''){
				ref = this.photo_ref+' - '+this.caption;
			}
			else{
				ref = this.id+' - '+this.caption;
			}
			price = amount;								temp += '<input type="hidden" name="cmd" value="_cart">';
					temp += '<input type="hidden" name="business" value="info@pauldoylefoto.co.uk">';
					temp += '<input type="hidden" name="currency_code" value="GBP">';
					temp += '<input type="hidden" name="add" value="1">';
													temp += '<input type="hidden" name="amount" value="'+amount+'">';
					temp += '<input type="hidden" name="item_number" value="'+ref+'">';
													temp += '<input type=\"Submit\" value=\"Add to cart\" id=\"paymentAddButton\" class=\"button\" onmouseover=\"this.className=\'buttonHi\';\" onmouseout=\"this.className=\'button\';\">';
										temp += '</form>';
										temp += '<form id="paymentCartForm" style="margin:0px;" name="paymentCartForm" target="_blank" action="https://www.paypal.com/cgi-bin/webscr" method="post">';
				temp += '<input type="hidden" name="cmd" value="_cart">';
				temp += '<input type="hidden" name="business" value="info@pauldoylefoto.co.uk">';
				temp += '<input type="hidden" name="display" value="1">';
				temp += '<input type=\"Submit\" value=\"View cart\" id=\"paymentViewButton\" class=\"button\" onmouseover=\"this.className=\'buttonHi\';\" onmouseout=\"this.className=\'button\';\">';
				temp += '</form>';
						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;
	}
}

			

