window.thumbnails = {};
															thumbnails[1761342] = clik.newPhoto({"id":1761342,"src":"Sandfoot1_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Sandfoot, Riumar, Sapin 2007","height":87});
															thumbnails[1951074] = clik.newPhoto({"id":1951074,"src":"Duffy00_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Duffy plays support for Duke Special I","height":195});
															thumbnails[1951075] = clik.newPhoto({"id":1951075,"src":"Duffy03_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Duffy plays support for Duke Special II","height":195});
															thumbnails[1951077] = clik.newPhoto({"id":1951077,"src":"Duffy11_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Duffy plays support for Duke Special III","height":195});
															thumbnails[1951082] = clik.newPhoto({"id":1951082,"src":"Duffy05_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Duffy plays support for Duke Special IV","height":195});
															thumbnails[1951083] = clik.newPhoto({"id":1951083,"src":"Duffy07_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Duffy plays support for Duke Special V","height":87});
															thumbnails[1951196] = clik.newPhoto({"id":1951196,"src":"Duffy211_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Duffy plays support for Duke Special VII","height":87});
															thumbnails[1951198] = clik.newPhoto({"id":1951198,"src":"Duffy16_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Duffy plays support for Duke Special VIII","height":87});
															thumbnails[1965309] = clik.newPhoto({"id":1965309,"src":"Duke Special06_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Duke Special","height":195});
															thumbnails[1965319] = clik.newPhoto({"id":1965319,"src":"Duke Special30_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Duke Special","height":195});
															thumbnails[1965344] = clik.newPhoto({"id":1965344,"src":"Duke Special27_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Duke Special","height":195});
															thumbnails[1965351] = clik.newPhoto({"id":1965351,"src":"Duke Special23_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Duke Special","height":195});
															thumbnails[1965400] = clik.newPhoto({"id":1965400,"src":"Duke Special33_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Duke Special","height":195});
															thumbnails[1965408] = clik.newPhoto({"id":1965408,"src":"Duke Special36_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Duke Special","height":195});
															thumbnails[1965422] = clik.newPhoto({"id":1965422,"src":"Duke Special03_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Duke Special","height":87});
															thumbnails[1965439] = clik.newPhoto({"id":1965439,"src":"Duke Special15_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Duke Special","height":87});
															thumbnails[1965486] = clik.newPhoto({"id":1965486,"src":"Duke Special31_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Duke Special","height":87});
															thumbnails[5266408] = clik.newPhoto({"id":5266408,"src":"ecuadorlandscapes00141_thumb.JPG","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Riobamba Devils Nose Train Ride","height":87});
															thumbnails[5266411] = clik.newPhoto({"id":5266411,"src":"ecuadorlandscapes0128_thumb.JPG","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Riobamba Devils Nose Train Ride","height":87});
															thumbnails[5279667] = clik.newPhoto({"id":5279667,"src":"Teialandscapess00041_thumb.JPG","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Mountain Climb","height":87});
															thumbnails[5279673] = clik.newPhoto({"id":5279673,"src":"Teialandscapess0015_thumb.JPG","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Mountain Climb","height":87});
															thumbnails[5279682] = clik.newPhoto({"id":5279682,"src":"Teialandscapess0030_thumb.JPG","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Mountain Climb","height":87});
															thumbnails[5279685] = clik.newPhoto({"id":5279685,"src":"Teialandscapess0046_thumb.JPG","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Mountain Climb","height":87});
															thumbnails[5279691] = clik.newPhoto({"id":5279691,"src":"Teialandscapess00191_thumb.JPG","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Mountain Climb","height":195});
															thumbnails[5279694] = clik.newPhoto({"id":5279694,"src":"Teialandscapess0048_thumb.JPG","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Mountain Climb","height":195});
															thumbnails[5279701] = clik.newPhoto({"id":5279701,"src":"Teialandscapess0070_thumb.JPG","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Above Teia","height":195});
															thumbnails[5279711] = clik.newPhoto({"id":5279711,"src":"Teialandscapess0074_thumb.JPG","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Above Teia","height":87});
															thumbnails[5279713] = clik.newPhoto({"id":5279713,"src":"Teialandscapess0075_thumb.JPG","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Above Teia","height":87});
															thumbnails[5279722] = clik.newPhoto({"id":5279722,"src":"Teialandscapess0083_thumb.JPG","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Above Teia","height":87});
															thumbnails[5279725] = clik.newPhoto({"id":5279725,"src":"Teialandscapess0084_thumb.JPG","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Above Teia","height":87});
															thumbnails[6885898] = clik.newPhoto({"id":6885898,"src":"amullerSorryweareclosed0001_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"","height":87});
															thumbnails[6885906] = clik.newPhoto({"id":6885906,"src":"amullerGhostEstates1001_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"","height":87});
															thumbnails[6885914] = clik.newPhoto({"id":6885914,"src":"amullerSorryweareclosed1001_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"","height":87});
															thumbnails[6886033] = clik.newPhoto({"id":6886033,"src":"amullerGhostEstates00011_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"","height":87});
															thumbnails[8855648] = clik.newPhoto({"id":8855648,"src":"295524_102540933183002_100002812875547_13632_1289692_n_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"","height":194});
															thumbnails[3884181] = clik.newPhoto({"id":3884181,"src":"twisterimages002_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"","height":87});
															thumbnails[3884211] = clik.newPhoto({"id":3884211,"src":"twisterimages003_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"","height":87});
															thumbnails[3884325] = clik.newPhoto({"id":3884325,"src":"twisterimages005_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"","height":87});
															thumbnails[3884244] = clik.newPhoto({"id":3884244,"src":"twisterimages004_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"","height":87});
															thumbnails[3884391] = clik.newPhoto({"id":3884391,"src":"twisterimages013_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"","height":87});
															thumbnails[3884375] = clik.newPhoto({"id":3884375,"src":"twisterimages010_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"","height":87});
															thumbnails[3884367] = clik.newPhoto({"id":3884367,"src":"twisterimages009_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"","height":87});
															thumbnails[3884359] = clik.newPhoto({"id":3884359,"src":"twisterimages008_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"","height":87});
															thumbnails[3884387] = clik.newPhoto({"id":3884387,"src":"twisterimages012_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"","height":87});
															thumbnails[3884346] = clik.newPhoto({"id":3884346,"src":"twisterimages007_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"","height":87});
															thumbnails[3885139] = clik.newPhoto({"id":3885139,"src":"8thmay09amsocials1001_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"","height":87});
															thumbnails[3885134] = clik.newPhoto({"id":3885134,"src":"8thmay09amsocials7001_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"","height":87});
															thumbnails[1585842] = clik.newPhoto({"id":1585842,"src":"Mirror Nature, Puddle 2_thumb.JPG","galleries_id":108422,"server_id":18,"link":"photo_1585842.html","width":130,"caption":"Mirror Nature Puddle 2","height":195});
															thumbnails[1585862] = clik.newPhoto({"id":1585862,"src":"Mirror Nature, Lough Ennell 3_thumb.JPG","galleries_id":108422,"server_id":18,"link":"photo_1585862.html","width":130,"caption":"Mirror Nature Lough Ennell 1","height":195});
															thumbnails[1585865] = clik.newPhoto({"id":1585865,"src":"Mirror Nature, Lough Ennell 4_thumb.JPG","galleries_id":108422,"server_id":18,"link":"photo_1585865.html","width":130,"caption":"Mirror Nature Lough Ennell 2","height":195});
															thumbnails[1585868] = clik.newPhoto({"id":1585868,"src":"Mirror Nature, Lough Ennell 5_thumb.JPG","galleries_id":108422,"server_id":18,"link":"photo_1585868.html","width":130,"caption":"Mirror Nature Lough Ennell 3","height":195});
															thumbnails[1585884] = clik.newPhoto({"id":1585884,"src":"MirrorNatureBrosna1_thumb.JPG","galleries_id":108422,"server_id":18,"link":"photo_1585884.html","width":130,"caption":"Mirror Nature Brosna","height":195});
															thumbnails[1585886] = clik.newPhoto({"id":1585886,"src":"Mirror Nature, Royal Canal 6_thumb.JPG","galleries_id":108422,"server_id":18,"link":"photo_1585886.html","width":130,"caption":"Mirror Nature Royal Canal 6 ","height":195});
															thumbnails[1585888] = clik.newPhoto({"id":1585888,"src":"Mirror Nature, Lough Ennell 6_thumb.JPG","galleries_id":108422,"server_id":18,"link":"photo_1585888.html","width":130,"caption":"Mirror Nature Lough Ennell 6","height":195});
															thumbnails[1585891] = clik.newPhoto({"id":1585891,"src":"Mirror Nature, Lough Ennell 7_thumb.JPG","galleries_id":108422,"server_id":18,"link":"photo_1585891.html","width":130,"caption":"Mirror Nature Lough Ennell 7","height":196});
															thumbnails[1585893] = clik.newPhoto({"id":1585893,"src":"Mirror Nature, Lough Ennell 8_thumb.JPG","galleries_id":108422,"server_id":18,"link":"photo_1585893.html","width":130,"caption":"Mirror Nature Lough Ennell 8","height":196});
															thumbnails[1585910] = clik.newPhoto({"id":1585910,"src":"Mirror Nature, Lough Lene 5_thumb.JPG","galleries_id":108422,"server_id":18,"link":"photo_1585910.html","width":130,"caption":"Mirror Nature Lough Lene 5","height":195});
															thumbnails[1585913] = clik.newPhoto({"id":1585913,"src":"Mirror Nature, Lough Ennell 13_thumb.JPG","galleries_id":108422,"server_id":18,"link":"photo_1585913.html","width":130,"caption":"Mirror Nature Lough Ennell 13","height":196});
															thumbnails[1585917] = clik.newPhoto({"id":1585917,"src":"Mirror Nature, Lough Lene 6_thumb.JPG","galleries_id":108422,"server_id":18,"link":"photo_1585917.html","width":130,"caption":"Mirror Nature Lough Lene 6","height":195});
															thumbnails[1585924] = clik.newPhoto({"id":1585924,"src":"Mirror Nature, Lough Ennell 14_thumb.JPG","galleries_id":108422,"server_id":18,"link":"photo_1585924.html","width":130,"caption":"Mirror Nature Lough Ennell 14","height":196});
															thumbnails[1728834] = clik.newPhoto({"id":1728834,"src":"Mearscourt7_thumb.jpg","galleries_id":116074,"server_id":18,"link":"photo_1728834.html","width":130,"caption":"Mearscourt Reflection II","height":195});
															thumbnails[1728835] = clik.newPhoto({"id":1728835,"src":"Mearscourt2_thumb.jpg","galleries_id":116074,"server_id":18,"link":"photo_1728835.html","width":130,"caption":"Mearscourt Reflection III","height":87});
															thumbnails[1728837] = clik.newPhoto({"id":1728837,"src":"Mearscourt3_thumb.jpg","galleries_id":116074,"server_id":18,"link":"photo_1728837.html","width":130,"caption":"Mearscourt Reflection IV","height":87});
															thumbnails[1728838] = clik.newPhoto({"id":1728838,"src":"Mearscourt4_thumb.jpg","galleries_id":116074,"server_id":18,"link":"photo_1728838.html","width":130,"caption":"Mearscourt Reflection V","height":87});
															thumbnails[1728859] = clik.newPhoto({"id":1728859,"src":"Krka1_thumb.jpg","galleries_id":116076,"server_id":18,"link":"photo_1728859.html","width":130,"caption":"Croatia I","height":195});
															thumbnails[1728862] = clik.newPhoto({"id":1728862,"src":"Krka2_thumb.jpg","galleries_id":116076,"server_id":18,"link":"photo_1728862.html","width":130,"caption":"Croatia II","height":195});
															thumbnails[1728864] = clik.newPhoto({"id":1728864,"src":"Krka11_thumb.jpg","galleries_id":116076,"server_id":18,"link":"photo_1728864.html","width":130,"caption":"Croatia III","height":195});
															thumbnails[1728865] = clik.newPhoto({"id":1728865,"src":"Krka13_thumb.jpg","galleries_id":116076,"server_id":18,"link":"photo_1728865.html","width":130,"caption":"Croatia IV","height":195});
															thumbnails[1728868] = clik.newPhoto({"id":1728868,"src":"Krka12_thumb.jpg","galleries_id":116076,"server_id":18,"link":"photo_1728868.html","width":130,"caption":"Croatia V","height":195});
															thumbnails[1728869] = clik.newPhoto({"id":1728869,"src":"Krka5_thumb.jpg","galleries_id":116076,"server_id":18,"link":"photo_1728869.html","width":130,"caption":"Croatia VI","height":195});
															thumbnails[1728872] = clik.newPhoto({"id":1728872,"src":"Krka7_thumb.jpg","galleries_id":116076,"server_id":18,"link":"photo_1728872.html","width":130,"caption":"Croatia VII","height":195});
															thumbnails[1728873] = clik.newPhoto({"id":1728873,"src":"Krka8_thumb.jpg","galleries_id":116076,"server_id":18,"link":"photo_1728873.html","width":130,"caption":"Croatia VIII","height":195});
															thumbnails[1728874] = clik.newPhoto({"id":1728874,"src":"Krka9_thumb.jpg","galleries_id":116076,"server_id":18,"link":"photo_1728874.html","width":130,"caption":"Croatia IX","height":195});
															thumbnails[1728876] = clik.newPhoto({"id":1728876,"src":"Krka10_thumb.jpg","galleries_id":116076,"server_id":18,"link":"photo_1728876.html","width":130,"caption":"Croatia X","height":195});
															thumbnails[1728877] = clik.newPhoto({"id":1728877,"src":"Krka14_thumb.jpg","galleries_id":116076,"server_id":18,"link":"photo_1728877.html","width":130,"caption":"Croatia XI","height":195});
															thumbnails[1728879] = clik.newPhoto({"id":1728879,"src":"Krka6_thumb.jpg","galleries_id":116076,"server_id":18,"link":"photo_1728879.html","width":130,"caption":"Croatia XII","height":195});
															thumbnails[1728882] = clik.newPhoto({"id":1728882,"src":"Krka61_thumb.jpg","galleries_id":116076,"server_id":18,"link":"photo_1728882.html","width":130,"caption":"Croatia XIII","height":195});
															thumbnails[1728883] = clik.newPhoto({"id":1728883,"src":"Krka3_thumb.jpg","galleries_id":116076,"server_id":18,"link":"photo_1728883.html","width":130,"caption":"Croatia XIV","height":195});
															thumbnails[1761141] = clik.newPhoto({"id":1761141,"src":"Mirror Nature Lough Ennell 4_thumb.jpg","galleries_id":108422,"server_id":18,"link":"photo_1761141.html","width":130,"caption":"Mirror Nature Lough Ennell 4","height":196});
															thumbnails[1761145] = clik.newPhoto({"id":1761145,"src":"Mirror Nature Lough Ennell 5_thumb.jpg","galleries_id":108422,"server_id":18,"link":"photo_1761145.html","width":130,"caption":"Mirror Nature Lough Ennell 5","height":196});
															thumbnails[1805679] = clik.newPhoto({"id":1805679,"src":"AMullerhua and sat 5_thumb.jpg","galleries_id":121407,"server_id":18,"link":"photo_1805679.html","width":130,"caption":"Right Of Way Section - Right of Way","height":182});
															thumbnails[1805688] = clik.newPhoto({"id":1805688,"src":"AMullerhue and sat 4_thumb.jpg","galleries_id":121407,"server_id":18,"link":"photo_1805688.html","width":130,"caption":"Right of Way Section - Traditional Divide","height":182});
															thumbnails[1805698] = clik.newPhoto({"id":1805698,"src":"AMullerhue and sat 7_thumb.jpg","galleries_id":121407,"server_id":18,"link":"photo_1805698.html","width":130,"caption":"Right of Way Section - Turf","height":182});
															thumbnails[1805705] = clik.newPhoto({"id":1805705,"src":"AMullerhue and sat 61_thumb.jpg","galleries_id":121407,"server_id":18,"link":"photo_1805705.html","width":130,"caption":"Right of Way Section - Held Back","height":93});
															thumbnails[1805708] = clik.newPhoto({"id":1805708,"src":"gatefinal_thumb.jpg","galleries_id":121407,"server_id":18,"link":"photo_1805708.html","width":130,"caption":"Right of Way Section - Galvanised Gate","height":93});
															thumbnails[1805712] = clik.newPhoto({"id":1805712,"src":"AMullerhue and sat 21_thumb.jpg","galleries_id":121407,"server_id":18,"link":"photo_1805712.html","width":130,"caption":"Right of Way Section - Indigenous Woodlands","height":93});
															thumbnails[1805721] = clik.newPhoto({"id":1805721,"src":"AMullerhue and sat 31_thumb.jpg","galleries_id":121407,"server_id":18,"link":"photo_1805721.html","width":130,"caption":"Right of Way Section - Right of Way 2006 - Floodlit from dusk till dawn ","height":182});
															thumbnails[3276637] = clik.newPhoto({"id":3276637,"src":"manipulated prints02_thumb.jpg","galleries_id":199790,"server_id":18,"link":"photo_3276637.html","width":130,"caption":"","height":87});
															thumbnails[3276641] = clik.newPhoto({"id":3276641,"src":"manipulated prints04_thumb.jpg","galleries_id":199790,"server_id":18,"link":"photo_3276641.html","width":130,"caption":"","height":80});
															thumbnails[3276642] = clik.newPhoto({"id":3276642,"src":"manipulated prints06_thumb.jpg","galleries_id":199790,"server_id":18,"link":"photo_3276642.html","width":130,"caption":"","height":87});
															thumbnails[3276645] = clik.newPhoto({"id":3276645,"src":"manipulated prints03_thumb.jpg","galleries_id":199790,"server_id":18,"link":"photo_3276645.html","width":130,"caption":"","height":87});
															thumbnails[3276649] = clik.newPhoto({"id":3276649,"src":"manipulated prints05_thumb.jpg","galleries_id":199790,"server_id":18,"link":"photo_3276649.html","width":130,"caption":"","height":87});
															thumbnails[3276650] = clik.newPhoto({"id":3276650,"src":"manipulated prints008_thumb.jpg","galleries_id":199790,"server_id":18,"link":"photo_3276650.html","width":130,"caption":"","height":87});
															thumbnails[3276652] = clik.newPhoto({"id":3276652,"src":"manipulated prints01_thumb.jpg","galleries_id":199790,"server_id":18,"link":"photo_3276652.html","width":130,"caption":"","height":87});
															thumbnails[3276672] = clik.newPhoto({"id":3276672,"src":"manipulated prints07_thumb.jpg","galleries_id":199790,"server_id":18,"link":"photo_3276672.html","width":130,"caption":"","height":87});
															thumbnails[3276674] = clik.newPhoto({"id":3276674,"src":"manipulated prints0041_thumb.jpg","galleries_id":199790,"server_id":18,"link":"photo_3276674.html","width":130,"caption":"","height":195});
															thumbnails[3276676] = clik.newPhoto({"id":3276676,"src":"manipulated prints0031_thumb.jpg","galleries_id":199790,"server_id":18,"link":"photo_3276676.html","width":130,"caption":"","height":195});
															thumbnails[3276678] = clik.newPhoto({"id":3276678,"src":"manipulated prints0051_thumb.jpg","galleries_id":199790,"server_id":18,"link":"photo_3276678.html","width":130,"caption":"","height":192});
															thumbnails[5266307] = clik.newPhoto({"id":5266307,"src":"ecuadorlandscapes0003_thumb.JPG","galleries_id":374325,"server_id":18,"link":"photo_5266307.html","width":130,"caption":"Quilotoa view","height":87});
															thumbnails[5266318] = clik.newPhoto({"id":5266318,"src":"ecuadorlandscapes0061_thumb.JPG","galleries_id":374325,"server_id":18,"link":"photo_5266318.html","width":130,"caption":"Quilotoa Crater","height":87});
															thumbnails[5266319] = clik.newPhoto({"id":5266319,"src":"ecuadorlandscapes0073_thumb.JPG","galleries_id":374325,"server_id":18,"link":"photo_5266319.html","width":130,"caption":"Quilotoa Crater","height":87});
															thumbnails[5266322] = clik.newPhoto({"id":5266322,"src":"ecuadorlandscapes0078_thumb.JPG","galleries_id":374325,"server_id":18,"link":"photo_5266322.html","width":130,"caption":"Quilotoa Crater","height":87});
															thumbnails[5266330] = clik.newPhoto({"id":5266330,"src":"ecuadorlandscapes0070_thumb.JPG","galleries_id":374325,"server_id":18,"link":"photo_5266330.html","width":130,"caption":"Quilotoa ","height":87});
															thumbnails[5266350] = clik.newPhoto({"id":5266350,"src":"ecuadorlandscapes0101_thumb.JPG","galleries_id":374325,"server_id":18,"link":"photo_5266350.html","width":130,"caption":"Cotopaxi","height":87});
															thumbnails[5266352] = clik.newPhoto({"id":5266352,"src":"ecuadorlandscapes0105_thumb.JPG","galleries_id":374325,"server_id":18,"link":"photo_5266352.html","width":130,"caption":"Cotopaxi","height":87});
															thumbnails[5266355] = clik.newPhoto({"id":5266355,"src":"ecuadorlandscapes0111_thumb.JPG","galleries_id":374325,"server_id":18,"link":"photo_5266355.html","width":130,"caption":"Cotopaxi","height":87});
															thumbnails[5266397] = clik.newPhoto({"id":5266397,"src":"ecuadorlandscapes0127_thumb.JPG","galleries_id":374325,"server_id":18,"link":"photo_5266397.html","width":130,"caption":"Riobamba Devils Nose Train Ride","height":195});
															thumbnails[5266399] = clik.newPhoto({"id":5266399,"src":"ecuadorlandscapes0131_thumb.JPG","galleries_id":374325,"server_id":18,"link":"photo_5266399.html","width":130,"caption":"Riobamba Devils Nose Train Ride","height":195});
															thumbnails[5266423] = clik.newPhoto({"id":5266423,"src":"ecuadorlandscapes0024_thumb.JPG","galleries_id":374325,"server_id":18,"link":"photo_5266423.html","width":130,"caption":"On the Road","height":87});
															thumbnails[5266434] = clik.newPhoto({"id":5266434,"src":"ecuadorlandscapes0048_thumb.JPG","galleries_id":374325,"server_id":18,"link":"photo_5266434.html","width":130,"caption":"On the Road","height":87});
															thumbnails[5266440] = clik.newPhoto({"id":5266440,"src":"ecuadorlandscapes0117_thumb.JPG","galleries_id":374325,"server_id":18,"link":"photo_5266440.html","width":130,"caption":"On the Road  ","height":87});
															thumbnails[5266444] = clik.newPhoto({"id":5266444,"src":"ecuadorlandscapes0141_thumb.JPG","galleries_id":374325,"server_id":18,"link":"photo_5266444.html","width":130,"caption":"Jungle Sunset","height":87});
															thumbnails[5266450] = clik.newPhoto({"id":5266450,"src":"ecuadorlandscapes0086_thumb.JPG","galleries_id":374325,"server_id":18,"link":"photo_5266450.html","width":130,"caption":"Chuchilan Sunset","height":87});
															thumbnails[5266453] = clik.newPhoto({"id":5266453,"src":"ecuadorlandscapes0087_thumb.JPG","galleries_id":374325,"server_id":18,"link":"photo_5266453.html","width":130,"caption":"Chuchilan Sunset","height":87});
															thumbnails[5678758] = clik.newPhoto({"id":5678758,"src":"worldsocialforum000_thumb.JPG","galleries_id":321669,"server_id":18,"link":"photo_5678758.html","width":130,"caption":"","height":87});
															thumbnails[5678772] = clik.newPhoto({"id":5678772,"src":"worldsocialforum001_thumb.JPG","galleries_id":321669,"server_id":18,"link":"photo_5678772.html","width":130,"caption":"","height":87});
															thumbnails[5678783] = clik.newPhoto({"id":5678783,"src":"worldsocialforum002_thumb.JPG","galleries_id":321669,"server_id":18,"link":"photo_5678783.html","width":130,"caption":"","height":87});
															thumbnails[5678791] = clik.newPhoto({"id":5678791,"src":"worldsocialforum003_thumb.JPG","galleries_id":321669,"server_id":18,"link":"photo_5678791.html","width":130,"caption":"","height":87});
															thumbnails[5678799] = clik.newPhoto({"id":5678799,"src":"worldsocialforum004_thumb.JPG","galleries_id":321669,"server_id":18,"link":"photo_5678799.html","width":130,"caption":"","height":195});
															thumbnails[5678814] = clik.newPhoto({"id":5678814,"src":"worldsocialforum005_thumb.JPG","galleries_id":321669,"server_id":18,"link":"photo_5678814.html","width":130,"caption":"","height":195});
															thumbnails[5678834] = clik.newPhoto({"id":5678834,"src":"worldsocialforum006_thumb.JPG","galleries_id":321669,"server_id":18,"link":"photo_5678834.html","width":130,"caption":"","height":87});
															thumbnails[5678852] = clik.newPhoto({"id":5678852,"src":"worldsocialforum007_thumb.JPG","galleries_id":321669,"server_id":18,"link":"photo_5678852.html","width":130,"caption":"","height":195});
															thumbnails[5678859] = clik.newPhoto({"id":5678859,"src":"worldsocialforum008_thumb.JPG","galleries_id":321669,"server_id":18,"link":"photo_5678859.html","width":130,"caption":"","height":195});
															thumbnails[5678864] = clik.newPhoto({"id":5678864,"src":"worldsocialforum009_thumb.JPG","galleries_id":321669,"server_id":18,"link":"photo_5678864.html","width":130,"caption":"","height":195});
															thumbnails[5678871] = clik.newPhoto({"id":5678871,"src":"worldsocialforum010_thumb.JPG","galleries_id":321669,"server_id":18,"link":"photo_5678871.html","width":130,"caption":"","height":195});
															thumbnails[5682841] = clik.newPhoto({"id":5682841,"src":"worldsocialforum011_thumb.JPG","galleries_id":321669,"server_id":18,"link":"photo_5682841.html","width":130,"caption":"","height":195});
															thumbnails[5682845] = clik.newPhoto({"id":5682845,"src":"worldsocialforum012_thumb.JPG","galleries_id":321669,"server_id":18,"link":"photo_5682845.html","width":130,"caption":"","height":195});
															thumbnails[5682848] = clik.newPhoto({"id":5682848,"src":"worldsocialforum013_thumb.JPG","galleries_id":321669,"server_id":18,"link":"photo_5682848.html","width":130,"caption":"","height":87});
															thumbnails[5682849] = clik.newPhoto({"id":5682849,"src":"worldsocialforum014_thumb.JPG","galleries_id":321669,"server_id":18,"link":"photo_5682849.html","width":130,"caption":"","height":87});
															thumbnails[5682851] = clik.newPhoto({"id":5682851,"src":"worldsocialforum015_thumb.JPG","galleries_id":321669,"server_id":18,"link":"photo_5682851.html","width":130,"caption":"","height":195});
															thumbnails[5682860] = clik.newPhoto({"id":5682860,"src":"worldsocialforum016_thumb.JPG","galleries_id":321669,"server_id":18,"link":"photo_5682860.html","width":130,"caption":"","height":87});
															thumbnails[5682863] = clik.newPhoto({"id":5682863,"src":"worldsocialforum017_thumb.JPG","galleries_id":321669,"server_id":18,"link":"photo_5682863.html","width":130,"caption":"","height":87});
															thumbnails[5682865] = clik.newPhoto({"id":5682865,"src":"worldsocialforum018_thumb.JPG","galleries_id":321669,"server_id":18,"link":"photo_5682865.html","width":130,"caption":"","height":195});
															thumbnails[5682866] = clik.newPhoto({"id":5682866,"src":"worldsocialforum019_thumb.JPG","galleries_id":321669,"server_id":18,"link":"photo_5682866.html","width":130,"caption":"","height":87});
															thumbnails[5682867] = clik.newPhoto({"id":5682867,"src":"worldsocialforum020_thumb.JPG","galleries_id":321669,"server_id":18,"link":"photo_5682867.html","width":130,"caption":"","height":87});
															thumbnails[5682868] = clik.newPhoto({"id":5682868,"src":"worldsocialforum021_thumb.JPG","galleries_id":321669,"server_id":18,"link":"photo_5682868.html","width":130,"caption":"","height":195});
															thumbnails[5682869] = clik.newPhoto({"id":5682869,"src":"worldsocialforum022_thumb.JPG","galleries_id":321669,"server_id":18,"link":"photo_5682869.html","width":130,"caption":"","height":195});
															thumbnails[5682871] = clik.newPhoto({"id":5682871,"src":"worldsocialforum023_thumb.JPG","galleries_id":321669,"server_id":18,"link":"photo_5682871.html","width":130,"caption":"","height":87});
															thumbnails[5682874] = clik.newPhoto({"id":5682874,"src":"worldsocialforum024_thumb.JPG","galleries_id":321669,"server_id":18,"link":"photo_5682874.html","width":130,"caption":"","height":87});
															thumbnails[5682877] = clik.newPhoto({"id":5682877,"src":"worldsocialforum025_thumb.JPG","galleries_id":321669,"server_id":18,"link":"photo_5682877.html","width":130,"caption":"","height":87});
															thumbnails[5682878] = clik.newPhoto({"id":5682878,"src":"worldsocialforum026_thumb.JPG","galleries_id":321669,"server_id":18,"link":"photo_5682878.html","width":130,"caption":"","height":195});
															thumbnails[5682880] = clik.newPhoto({"id":5682880,"src":"worldsocialforum027_thumb.JPG","galleries_id":321669,"server_id":18,"link":"photo_5682880.html","width":130,"caption":"","height":87});
															thumbnails[5682881] = clik.newPhoto({"id":5682881,"src":"worldsocialforum028_thumb.JPG","galleries_id":321669,"server_id":18,"link":"photo_5682881.html","width":130,"caption":"","height":87});
															thumbnails[5682884] = clik.newPhoto({"id":5682884,"src":"worldsocialforum029_thumb.JPG","galleries_id":321669,"server_id":18,"link":"photo_5682884.html","width":130,"caption":"","height":87});
															thumbnails[5682885] = clik.newPhoto({"id":5682885,"src":"worldsocialforum030_thumb.JPG","galleries_id":321669,"server_id":18,"link":"photo_5682885.html","width":130,"caption":"","height":87});
															thumbnails[5682888] = clik.newPhoto({"id":5682888,"src":"worldsocialforum031_thumb.JPG","galleries_id":321669,"server_id":18,"link":"photo_5682888.html","width":130,"caption":"","height":87});
															thumbnails[5682890] = clik.newPhoto({"id":5682890,"src":"worldsocialforum032_thumb.JPG","galleries_id":321669,"server_id":18,"link":"photo_5682890.html","width":130,"caption":"","height":87});
															thumbnails[5682892] = clik.newPhoto({"id":5682892,"src":"worldsocialforum033_thumb.JPG","galleries_id":321669,"server_id":18,"link":"photo_5682892.html","width":130,"caption":"","height":195});
															thumbnails[6885318] = clik.newPhoto({"id":6885318,"src":"cambodia701001_thumb_94FB17B9-24E8-5EC4-4F62FE4AB0028010.jpg","galleries_id":472714,"server_id":18,"link":"photo_6885318.html","width":130,"caption":"","height":87});
															thumbnails[6886037] = clik.newPhoto({"id":6886037,"src":"cambodia704001_thumb.jpg","galleries_id":472714,"server_id":18,"link":"photo_6886037.html","width":130,"caption":"","height":87});
															thumbnails[6886042] = clik.newPhoto({"id":6886042,"src":"cambodia120001_thumb.jpg","galleries_id":472714,"server_id":18,"link":"photo_6886042.html","width":130,"caption":"","height":87});
															thumbnails[6886050] = clik.newPhoto({"id":6886050,"src":"cambodia02001_thumb.jpg","galleries_id":472714,"server_id":18,"link":"photo_6886050.html","width":130,"caption":"","height":87});
															thumbnails[6886054] = clik.newPhoto({"id":6886054,"src":"cambodia04001_thumb.jpg","galleries_id":472714,"server_id":18,"link":"photo_6886054.html","width":130,"caption":"","height":87});
															thumbnails[6886057] = clik.newPhoto({"id":6886057,"src":"cambodia560001_thumb.jpg","galleries_id":472714,"server_id":18,"link":"photo_6886057.html","width":130,"caption":"","height":87});
															thumbnails[6886060] = clik.newPhoto({"id":6886060,"src":"cambodia561001_thumb.jpg","galleries_id":472714,"server_id":18,"link":"photo_6886060.html","width":130,"caption":"","height":87});
															thumbnails[6886067] = clik.newPhoto({"id":6886067,"src":"cambodia563001_thumb.jpg","galleries_id":472714,"server_id":18,"link":"photo_6886067.html","width":130,"caption":"","height":87});
															thumbnails[6886068] = clik.newPhoto({"id":6886068,"src":"cambodia600001_thumb.jpg","galleries_id":472714,"server_id":18,"link":"photo_6886068.html","width":130,"caption":"","height":87});
															thumbnails[6886069] = clik.newPhoto({"id":6886069,"src":"cambodia629001_thumb.jpg","galleries_id":472714,"server_id":18,"link":"photo_6886069.html","width":130,"caption":"","height":87});
															thumbnails[6886070] = clik.newPhoto({"id":6886070,"src":"cambodia605001_thumb.jpg","galleries_id":472714,"server_id":18,"link":"photo_6886070.html","width":130,"caption":"","height":87});
															thumbnails[6886073] = clik.newPhoto({"id":6886073,"src":"cambodia602001_thumb.jpg","galleries_id":472714,"server_id":18,"link":"photo_6886073.html","width":130,"caption":"","height":87});
															thumbnails[6886085] = clik.newPhoto({"id":6886085,"src":"cambodia785001_thumb.jpg","galleries_id":472714,"server_id":18,"link":"photo_6886085.html","width":130,"caption":"","height":87});
															thumbnails[6886088] = clik.newPhoto({"id":6886088,"src":"cambodia788001_thumb.jpg","galleries_id":472714,"server_id":18,"link":"photo_6886088.html","width":130,"caption":"","height":87});
															thumbnails[6886142] = clik.newPhoto({"id":6886142,"src":"cambodia627001_thumb.jpg","galleries_id":472714,"server_id":18,"link":"photo_6886142.html","width":130,"caption":"","height":87});
															thumbnails[6886146] = clik.newPhoto({"id":6886146,"src":"cambodia540001_thumb.jpg","galleries_id":472714,"server_id":18,"link":"photo_6886146.html","width":130,"caption":"","height":87});
															thumbnails[6886149] = clik.newPhoto({"id":6886149,"src":"cambodia624001_thumb.jpg","galleries_id":472714,"server_id":18,"link":"photo_6886149.html","width":130,"caption":"","height":87});
															thumbnails[6886152] = clik.newPhoto({"id":6886152,"src":"cambodia322_thumb.JPG","galleries_id":472714,"server_id":18,"link":"photo_6886152.html","width":130,"caption":"","height":195});
															thumbnails[6886175] = clik.newPhoto({"id":6886175,"src":"cambodia604001_thumb.jpg","galleries_id":472714,"server_id":18,"link":"photo_6886175.html","width":130,"caption":"","height":195});
															thumbnails[6886178] = clik.newPhoto({"id":6886178,"src":"cambodia685_thumb.JPG","galleries_id":472714,"server_id":18,"link":"photo_6886178.html","width":130,"caption":"","height":195});
															thumbnails[6886180] = clik.newPhoto({"id":6886180,"src":"cambodia05_thumb.JPG","galleries_id":472714,"server_id":18,"link":"photo_6886180.html","width":130,"caption":"","height":195});
															thumbnails[6886183] = clik.newPhoto({"id":6886183,"src":"cambodia583_thumb.JPG","galleries_id":472714,"server_id":18,"link":"photo_6886183.html","width":130,"caption":"","height":195});
															thumbnails[6893048] = clik.newPhoto({"id":6893048,"src":"Transit000001_thumb.jpg","galleries_id":374071,"server_id":18,"link":"photo_6893048.html","width":130,"caption":"","height":87});
															thumbnails[6895601] = clik.newPhoto({"id":6895601,"src":"Transit005001_thumb.jpg","galleries_id":374071,"server_id":18,"link":"photo_6895601.html","width":130,"caption":"","height":87});
															thumbnails[6895605] = clik.newPhoto({"id":6895605,"src":"Transit009001_thumb.jpg","galleries_id":374071,"server_id":18,"link":"photo_6895605.html","width":130,"caption":"","height":87});
															thumbnails[6897689] = clik.newPhoto({"id":6897689,"src":"Transit2001_thumb.jpg","galleries_id":374071,"server_id":18,"link":"photo_6897689.html","width":130,"caption":"","height":87});
															thumbnails[6897690] = clik.newPhoto({"id":6897690,"src":"Transit1001_thumb.jpg","galleries_id":374071,"server_id":18,"link":"photo_6897690.html","width":130,"caption":"","height":87});
															thumbnails[6897692] = clik.newPhoto({"id":6897692,"src":"Transit0001_thumb.jpg","galleries_id":374071,"server_id":18,"link":"photo_6897692.html","width":130,"caption":"","height":87});
															thumbnails[6897775] = clik.newPhoto({"id":6897775,"src":"Ecuador05_thumb.JPG","galleries_id":374325,"server_id":18,"link":"photo_6897775.html","width":130,"caption":"","height":87});
															thumbnails[6897784] = clik.newPhoto({"id":6897784,"src":"Ecuador06_thumb.JPG","galleries_id":374325,"server_id":18,"link":"photo_6897784.html","width":130,"caption":"","height":87});
															thumbnails[6897790] = clik.newPhoto({"id":6897790,"src":"Ecuador04_thumb.JPG","galleries_id":374325,"server_id":18,"link":"photo_6897790.html","width":130,"caption":"","height":87});
															thumbnails[6897829] = clik.newPhoto({"id":6897829,"src":"Ecuador00_thumb.JPG","galleries_id":374325,"server_id":18,"link":"photo_6897829.html","width":130,"caption":"","height":87});
															thumbnails[6897875] = clik.newPhoto({"id":6897875,"src":"Ecuador11_thumb.JPG","galleries_id":374325,"server_id":18,"link":"photo_6897875.html","width":130,"caption":"","height":87});
															thumbnails[6897878] = clik.newPhoto({"id":6897878,"src":"Ecuador09_thumb.JPG","galleries_id":374325,"server_id":18,"link":"photo_6897878.html","width":130,"caption":"","height":87});
															thumbnails[6897880] = clik.newPhoto({"id":6897880,"src":"Ecuador10_thumb.JPG","galleries_id":374325,"server_id":18,"link":"photo_6897880.html","width":130,"caption":"","height":87});
															thumbnails[6897881] = clik.newPhoto({"id":6897881,"src":"Ecuador08_thumb.JPG","galleries_id":374325,"server_id":18,"link":"photo_6897881.html","width":130,"caption":"","height":87});
															thumbnails[6897884] = clik.newPhoto({"id":6897884,"src":"Ecuador07_thumb.JPG","galleries_id":374325,"server_id":18,"link":"photo_6897884.html","width":130,"caption":"","height":195});
															thumbnails[6897904] = clik.newPhoto({"id":6897904,"src":"Ecuador02_thumb.JPG","galleries_id":374325,"server_id":18,"link":"photo_6897904.html","width":130,"caption":"","height":195});
															thumbnails[6897913] = clik.newPhoto({"id":6897913,"src":"Ecuador03_thumb.JPG","galleries_id":374325,"server_id":18,"link":"photo_6897913.html","width":130,"caption":"","height":195});
															thumbnails[8663324] = clik.newPhoto({"id":8663324,"src":"L1002196_thumb.jpg","galleries_id":201045,"server_id":18,"link":"photo_8663324.html","width":130,"caption":"Seedpod Picture","height":92});
															thumbnails[8663354] = clik.newPhoto({"id":8663354,"src":"L1002212_thumb.jpg","galleries_id":201045,"server_id":18,"link":"photo_8663354.html","width":130,"caption":"Seedpod Picture","height":75});
															thumbnails[1585838] = clik.newPhoto({"id":1585838,"src":"Mirror Nature, Puddle 1_thumb.JPG","galleries_id":108422,"server_id":18,"link":"photo_1585838.html","width":130,"caption":"Mirror Nature Puddle 1","height":87});
															thumbnails[3297817] = clik.newPhoto({"id":3297817,"src":"paintings&drawings0003_thumb.jpg","galleries_id":201045,"server_id":18,"link":"photo_3297817.html","width":130,"caption":"Charcoal on card","height":195});
															thumbnails[5672299] = clik.newPhoto({"id":5672299,"src":"magnumbarcelona003_thumb.JPG","galleries_id":321363,"server_id":18,"link":"photo_5672299.html","width":130,"caption":"","height":195});
															thumbnails[8967721] = clik.newPhoto({"id":8967721,"src":"muller_a_1_thumb.JPG","galleries_id":373564,"server_id":18,"link":"photo_8967721.html","width":130,"caption":"","height":195});
															thumbnails[1585899] = clik.newPhoto({"id":1585899,"src":"Mirror Nature, Puddle 3_thumb.JPG","galleries_id":108422,"server_id":18,"link":"photo_1585899.html","width":130,"caption":"Mirror Nature Puddle 3","height":87});
															thumbnails[3297818] = clik.newPhoto({"id":3297818,"src":"paintings&drawings0007_thumb.jpg","galleries_id":201045,"server_id":18,"link":"photo_3297818.html","width":130,"caption":"Marker on paper","height":197});
															thumbnails[5672303] = clik.newPhoto({"id":5672303,"src":"magnumbarcelona001_thumb.JPG","galleries_id":321363,"server_id":18,"link":"photo_5672303.html","width":130,"caption":"","height":87});
															thumbnails[8967724] = clik.newPhoto({"id":8967724,"src":"muller_a_2_thumb.JPG","galleries_id":373564,"server_id":18,"link":"photo_8967724.html","width":130,"caption":"","height":87});
															thumbnails[1585844] = clik.newPhoto({"id":1585844,"src":"Mirror Nature, Royal Canal 1_thumb.JPG","galleries_id":108422,"server_id":18,"link":"photo_1585844.html","width":130,"caption":"Mirror Nature Royal Canal 1","height":87});
															thumbnails[3297819] = clik.newPhoto({"id":3297819,"src":"paintings&drawings0004_thumb.jpg","galleries_id":201045,"server_id":18,"link":"photo_3297819.html","width":130,"caption":"oil on card","height":195});
															thumbnails[5672306] = clik.newPhoto({"id":5672306,"src":"magnumbarcelona002_thumb.JPG","galleries_id":321363,"server_id":18,"link":"photo_5672306.html","width":130,"caption":"","height":87});
															thumbnails[6886143] = clik.newPhoto({"id":6886143,"src":"cambodia430001_thumb.jpg","galleries_id":373564,"server_id":18,"link":"photo_6886143.html","width":130,"caption":"","height":87});
															thumbnails[1585846] = clik.newPhoto({"id":1585846,"src":"Mirror Nature, Royal Canal 3_thumb.JPG","galleries_id":108422,"server_id":18,"link":"photo_1585846.html","width":130,"caption":"Mirror Nature Royal Canal 3","height":87});
															thumbnails[5672309] = clik.newPhoto({"id":5672309,"src":"magnumbarcelona004_thumb.JPG","galleries_id":321363,"server_id":18,"link":"photo_5672309.html","width":130,"caption":"","height":87});
															thumbnails[6886168] = clik.newPhoto({"id":6886168,"src":"cambodia622_thumb.JPG","galleries_id":373564,"server_id":18,"link":"photo_6886168.html","width":130,"caption":"","height":195});
															thumbnails[1585850] = clik.newPhoto({"id":1585850,"src":"Mirror Nature, Royal Canal 4_thumb.JPG","galleries_id":108422,"server_id":18,"link":"photo_1585850.html","width":130,"caption":"Mirror Nature Royal Canal 4","height":87});
															thumbnails[3297826] = clik.newPhoto({"id":3297826,"src":"paintings&drawings0014_thumb.jpg","galleries_id":201045,"server_id":18,"link":"photo_3297826.html","width":130,"caption":"oil on board","height":195});
															thumbnails[5672313] = clik.newPhoto({"id":5672313,"src":"magnumbarcelona000_thumb.JPG","galleries_id":321363,"server_id":18,"link":"photo_5672313.html","width":130,"caption":"","height":87});
															thumbnails[6886173] = clik.newPhoto({"id":6886173,"src":"cambodia535_thumb.JPG","galleries_id":373564,"server_id":18,"link":"photo_6886173.html","width":130,"caption":"","height":195});
															thumbnails[1585853] = clik.newPhoto({"id":1585853,"src":"Mirror Nature, Royal Canal 5_thumb.JPG","galleries_id":108422,"server_id":18,"link":"photo_1585853.html","width":130,"caption":"Mirror Nature Royal Canal 5","height":87});
															thumbnails[6886174] = clik.newPhoto({"id":6886174,"src":"cambodia323_thumb.JPG","galleries_id":373564,"server_id":18,"link":"photo_6886174.html","width":130,"caption":"","height":195});
															thumbnails[1585845] = clik.newPhoto({"id":1585845,"src":"Mirror Nature, Royal Canal 2_thumb.jpg","galleries_id":108422,"server_id":18,"link":"photo_1585845.html","width":130,"caption":"Mirror Nature Royal Canal 2","height":87});
															thumbnails[1585880] = clik.newPhoto({"id":1585880,"src":"Mirror Nature, Lough lene 1_thumb.JPG","galleries_id":108422,"server_id":18,"link":"photo_1585880.html","width":130,"caption":"Mirror Nature Lough Lene 1","height":87});
															thumbnails[6886046] = clik.newPhoto({"id":6886046,"src":"cambodia00001_thumb.jpg","galleries_id":373564,"server_id":18,"link":"photo_6886046.html","width":130,"caption":"","height":87});
															thumbnails[1585883] = clik.newPhoto({"id":1585883,"src":"Mirror Nature, Lough Lene 2_thumb.JPG","galleries_id":108422,"server_id":18,"link":"photo_1585883.html","width":130,"caption":"Mirror Nature Lough Lene 2","height":87});
															thumbnails[6886047] = clik.newPhoto({"id":6886047,"src":"cambodia01001_thumb.jpg","galleries_id":373564,"server_id":18,"link":"photo_6886047.html","width":130,"caption":"","height":87});
															thumbnails[1585902] = clik.newPhoto({"id":1585902,"src":"Mirror nature, Lough Lene 3_thumb.JPG","galleries_id":108422,"server_id":18,"link":"photo_1585902.html","width":130,"caption":"Mirror Nature Lough Lene 3","height":87});
															thumbnails[6886044] = clik.newPhoto({"id":6886044,"src":"cambodia121001_thumb.jpg","galleries_id":373564,"server_id":18,"link":"photo_6886044.html","width":130,"caption":"","height":87});
															thumbnails[1585908] = clik.newPhoto({"id":1585908,"src":"Mirror Nature, Lough Lene 4_thumb.JPG","galleries_id":108422,"server_id":18,"link":"photo_1585908.html","width":130,"caption":"Mirror Nature Lough Lene 4","height":87});
															thumbnails[3297829] = clik.newPhoto({"id":3297829,"src":"paintings&drawings0009_thumb.jpg","galleries_id":201045,"server_id":18,"link":"photo_3297829.html","width":130,"caption":"marker on paper","height":87});
															thumbnails[6886082] = clik.newPhoto({"id":6886082,"src":"cambodia791001_thumb.jpg","galleries_id":373564,"server_id":18,"link":"photo_6886082.html","width":130,"caption":"","height":87});
															thumbnails[9103713] = clik.newPhoto({"id":9103713,"src":"Abandonedhempfactoryedessa_28_of_30_thumb.jpg","galleries_id":480440,"server_id":38,"link":"photo_9103713.html","width":86,"caption":"","height":130});
															thumbnails[1585918] = clik.newPhoto({"id":1585918,"src":"Mirror Nature, Lough Lene 7 _thumb.JPG","galleries_id":108422,"server_id":18,"link":"photo_1585918.html","width":130,"caption":"Mirror Nature Lough Lene 7","height":87});
															thumbnails[3297833] = clik.newPhoto({"id":3297833,"src":"paintings&drawings0011_thumb.jpg","galleries_id":201045,"server_id":18,"link":"photo_3297833.html","width":130,"caption":"oil on board","height":87});
															thumbnails[6886063] = clik.newPhoto({"id":6886063,"src":"cambodia562001_thumb.jpg","galleries_id":373564,"server_id":18,"link":"photo_6886063.html","width":130,"caption":"","height":87});
															thumbnails[1585920] = clik.newPhoto({"id":1585920,"src":"Mirror Nature, Lough Lene 8_thumb.JPG","galleries_id":108422,"server_id":18,"link":"photo_1585920.html","width":130,"caption":"Mirror Nature Lough Lene 8","height":87});
															thumbnails[6886093] = clik.newPhoto({"id":6886093,"src":"cambodia580001_thumb.jpg","galleries_id":373564,"server_id":18,"link":"photo_6886093.html","width":130,"caption":"","height":87});
															thumbnails[1585896] = clik.newPhoto({"id":1585896,"src":"Mirror Nature, Lough Ennell 9_thumb.JPG","galleries_id":108422,"server_id":18,"link":"photo_1585896.html","width":130,"caption":"Mirror Nature Lough Ennell 9","height":87});
															thumbnails[1585897] = clik.newPhoto({"id":1585897,"src":"Mirror Nature, Lough Ennell 10_thumb.JPG","galleries_id":108422,"server_id":18,"link":"photo_1585897.html","width":130,"caption":"Mirror Nature Lough Ennell 10","height":87});
															thumbnails[3297837] = clik.newPhoto({"id":3297837,"src":"paintings&drawings0013_thumb.jpg","galleries_id":201045,"server_id":18,"link":"photo_3297837.html","width":130,"caption":"marker on card","height":87});
															thumbnails[1585904] = clik.newPhoto({"id":1585904,"src":"Mirror Nature, Lough Ennell 11_thumb.jpg","galleries_id":108422,"server_id":18,"link":"photo_1585904.html","width":130,"caption":"Mirror Nature Lough Ennell 11","height":87});
															thumbnails[1585907] = clik.newPhoto({"id":1585907,"src":"Mirror Nature, Lough Ennell 12_thumb.JPG","galleries_id":108422,"server_id":18,"link":"photo_1585907.html","width":130,"caption":"Mirror Nature Lough Ennell 12","height":87});
															thumbnails[3297820] = clik.newPhoto({"id":3297820,"src":"paintings&drawings0005_thumb.jpg","galleries_id":201045,"server_id":18,"link":"photo_3297820.html","width":130,"caption":"oil on card","height":87});
															thumbnails[3297822] = clik.newPhoto({"id":3297822,"src":"paintings&drawings0008_thumb.jpg","galleries_id":201045,"server_id":18,"link":"photo_3297822.html","width":130,"caption":"oil pastel on paper","height":87});
															thumbnails[1805616] = clik.newPhoto({"id":1805616,"src":"AMuller -cliff_thumb.jpg","galleries_id":121407,"server_id":18,"link":"photo_1805616.html","width":130,"caption":"Ways and Means Section - Signed Entry Point","height":93});
															thumbnails[9103714] = clik.newPhoto({"id":9103714,"src":"Abandonedhempfactoryedessa_4_of_30_thumb.jpg","galleries_id":480440,"server_id":38,"link":"photo_9103714.html","width":130,"caption":"","height":86});
															thumbnails[1805619] = clik.newPhoto({"id":1805619,"src":"AMullerrefinery_thumb.jpg","galleries_id":121407,"server_id":18,"link":"photo_1805619.html","width":130,"caption":"Ways and Means Section - Planning ?","height":93});
															thumbnails[1805630] = clik.newPhoto({"id":1805630,"src":"AMullerbender_thumb.jpg","galleries_id":121407,"server_id":18,"link":"photo_1805630.html","width":130,"caption":"Ways and Means Section - Untitled","height":93});
															thumbnails[1805633] = clik.newPhoto({"id":1805633,"src":"AMullertent_thumb.jpg","galleries_id":121407,"server_id":18,"link":"photo_1805633.html","width":130,"caption":"Ways and Means Section - Solidarity","height":93});
															thumbnails[1805635] = clik.newPhoto({"id":1805635,"src":"AMullersignstwo_thumb.jpg","galleries_id":121407,"server_id":18,"link":"photo_1805635.html","width":130,"caption":"Ways and Means Section - Local Outcry","height":93});
															thumbnails[1805636] = clik.newPhoto({"id":1805636,"src":"AMullerpipes_thumb.jpg","galleries_id":121407,"server_id":18,"link":"photo_1805636.html","width":130,"caption":"Ways and Means Section - Laying in Wait","height":93});
															thumbnails[1805641] = clik.newPhoto({"id":1805641,"src":"chruch_thumb.jpg","galleries_id":121407,"server_id":18,"link":"photo_1805641.html","width":130,"caption":"Making Way Section - Church And Rath","height":93});
															thumbnails[9103715] = clik.newPhoto({"id":9103715,"src":"Abandonedhempfactoryedessa_5_of_30_thumb.jpg","galleries_id":480440,"server_id":38,"link":"photo_9103715.html","width":130,"caption":"","height":86});
															thumbnails[1805643] = clik.newPhoto({"id":1805643,"src":"signfinal_thumb.jpg","galleries_id":121407,"server_id":18,"link":"photo_1805643.html","width":130,"caption":"Making Way Section - Road Signage","height":93});
															thumbnails[1805647] = clik.newPhoto({"id":1805647,"src":"hutsfinal_thumb.jpg","galleries_id":121407,"server_id":18,"link":"photo_1805647.html","width":130,"caption":"Making Way Section - Temporary Dwelling","height":93});
															thumbnails[1805657] = clik.newPhoto({"id":1805657,"src":"sitefinal_thumb.jpg","galleries_id":121407,"server_id":18,"link":"photo_1805657.html","width":130,"caption":"Making Way Section - Phase 2","height":93});
															thumbnails[1805661] = clik.newPhoto({"id":1805661,"src":"pegsfinal_thumb.jpg","galleries_id":121407,"server_id":18,"link":"photo_1805661.html","width":130,"caption":"Making Way Section - Grid Markers - Roestown","height":93});
															thumbnails[1805663] = clik.newPhoto({"id":1805663,"src":"arch sitefinal1_thumb.jpg","galleries_id":121407,"server_id":18,"link":"photo_1805663.html","width":130,"caption":"Making Way Section - Dug Out","height":182});
															thumbnails[9103716] = clik.newPhoto({"id":9103716,"src":"Abandonedhempfactoryedessa_22_of_30_thumb.jpg","galleries_id":480440,"server_id":38,"link":"photo_9103716.html","width":130,"caption":"","height":86});
															thumbnails[9103718] = clik.newPhoto({"id":9103718,"src":"Abandonedhempfactoryedessa_3_of_30_thumb.jpg","galleries_id":480440,"server_id":38,"link":"photo_9103718.html","width":130,"caption":"","height":86});
															thumbnails[9103721] = clik.newPhoto({"id":9103721,"src":"Abandonedhempfactoryedessa_6_of_30_thumb.jpg","galleries_id":480440,"server_id":38,"link":"photo_9103721.html","width":130,"caption":"","height":86});
															thumbnails[9103722] = clik.newPhoto({"id":9103722,"src":"Abandonedhempfactoryedessa_14_of_30_thumb.jpg","galleries_id":480440,"server_id":38,"link":"photo_9103722.html","width":86,"caption":"","height":130});
															thumbnails[9103734] = clik.newPhoto({"id":9103734,"src":"Abandonedhempfactoryedessa_9_of_30_thumb.jpg","galleries_id":480440,"server_id":38,"link":"photo_9103734.html","width":86,"caption":"","height":130});
															thumbnails[9103736] = clik.newPhoto({"id":9103736,"src":"Abandonedhempfactoryedessa_17_of_30_thumb.jpg","galleries_id":480440,"server_id":38,"link":"photo_9103736.html","width":86,"caption":"","height":130});
															thumbnails[9103737] = clik.newPhoto({"id":9103737,"src":"Abandonedhempfactoryedessa_7_of_30_thumb.jpg","galleries_id":480440,"server_id":38,"link":"photo_9103737.html","width":130,"caption":"","height":86});
															thumbnails[9103739] = clik.newPhoto({"id":9103739,"src":"Abandonedhempfactoryedessa_24_of_30_thumb.jpg","galleries_id":480440,"server_id":38,"link":"photo_9103739.html","width":130,"caption":"","height":86});
															thumbnails[9103740] = clik.newPhoto({"id":9103740,"src":"Abandonedhempfactoryedessa_15_of_30_thumb.jpg","galleries_id":480440,"server_id":38,"link":"photo_9103740.html","width":86,"caption":"","height":130});
															thumbnails[9103741] = clik.newPhoto({"id":9103741,"src":"Abandonedhempfactoryedessa_23_of_30_thumb.jpg","galleries_id":480440,"server_id":38,"link":"photo_9103741.html","width":86,"caption":"","height":130});
															thumbnails[9103744] = clik.newPhoto({"id":9103744,"src":"Abandonedhempfactoryedessa_25_of_30_thumb.jpg","galleries_id":480440,"server_id":38,"link":"photo_9103744.html","width":86,"caption":"","height":130});
															thumbnails[9103745] = clik.newPhoto({"id":9103745,"src":"Abandonedhempfactoryedessa_2_of_30_thumb.jpg","galleries_id":480440,"server_id":38,"link":"photo_9103745.html","width":130,"caption":"","height":86});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[373564] = clik.newGallery({"parentGallery":465633,"usePopups":true,"title":" View on Cambodia","link":"gallery_373564.html","maxRecords":0.0,"photoIDs":[8967721.0,8967724.0,6886143.0,6886168.0,6886173.0,6886174.0,6886046.0,6886047.0,6886044.0,6886082.0,6886063.0,6886093.0],"skipIndex":0,"section_code":"gallery","featured_images":"6886174,6886173,6886168","id":373564,"singleSection":false});				  						galleries[480440] = clik.newGallery({"parentGallery":465633,"usePopups":true,"title":"Abandoned Hemp Factory Edessa","link":"gallery_480440.html","maxRecords":0.0,"photoIDs":[9103713.0,9103714.0,9103715.0,9103716.0,9103718.0,9103721.0,9103722.0,9103734.0,9103736.0,9103737.0,9103739.0,9103740.0,9103741.0,9103744.0,9103745.0],"skipIndex":0,"section_code":"gallery","featured_images":"9103741,9103722","id":480440,"singleSection":false});				  						galleries[114351] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Abstractions","link":"gallery_114351.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"3297826,3297817,3276676,1728862,1728834","id":114351,"singleSection":false});				  						galleries[472714] = clik.newGallery({"parentGallery":465635,"usePopups":true,"title":"Cambodia","link":"gallery_472714.html","maxRecords":0.0,"photoIDs":[6885318.0,6886037.0,6886042.0,6886050.0,6886054.0,6886057.0,6886060.0,6886067.0,6886068.0,6886069.0,6886070.0,6886073.0,6886085.0,6886088.0,6886142.0,6886146.0,6886149.0,6886152.0,6886175.0,6886178.0,6886180.0,6886183.0],"skipIndex":0,"section_code":"gallery","featured_images":"6886183,6886180,6886178,6886175,6886152,6886149,6886146,6886142,6886088,6886085","id":472714,"singleSection":false});				  						galleries[116076] = clik.newGallery({"parentGallery":114351,"usePopups":true,"title":"Croat Reflections","link":"gallery_116076.html","maxRecords":0.0,"photoIDs":[1728859.0,1728862.0,1728864.0,1728865.0,1728868.0,1728869.0,1728872.0,1728873.0,1728874.0,1728876.0,1728877.0,1728879.0,1728882.0,1728883.0],"skipIndex":0,"section_code":"gallery","featured_images":1728862.0,"id":116076,"singleSection":false});				  						galleries[374325] = clik.newGallery({"parentGallery":465635,"usePopups":true,"title":"Ecuador","link":"gallery_374325.html","maxRecords":0.0,"photoIDs":[5266307.0,5266318.0,5266319.0,5266322.0,5266330.0,5266350.0,5266352.0,5266355.0,5266397.0,5266399.0,5266423.0,5266434.0,5266440.0,5266444.0,5266450.0,5266453.0,6897775.0,6897784.0,6897790.0,6897829.0,6897875.0,6897878.0,6897880.0,6897881.0,6897884.0,6897904.0,6897913.0],"skipIndex":0,"section_code":"gallery","featured_images":5266397.0,"id":374325,"singleSection":false});				  						galleries[199790] = clik.newGallery({"parentGallery":114351,"usePopups":true,"title":"Manipulated Prints","link":"gallery_199790.html","maxRecords":0.0,"photoIDs":[3276637.0,3276641.0,3276642.0,3276645.0,3276649.0,3276650.0,3276652.0,3276672.0,3276674.0,3276676.0,3276678.0],"skipIndex":0,"section_code":"gallery","featured_images":3276676.0,"id":199790,"singleSection":false});				  						galleries[108422] = clik.newGallery({"parentGallery":465633,"usePopups":true,"title":"Mirror Nature","link":"gallery_108422.html","maxRecords":0.0,"photoIDs":[1585842.0,1585862.0,1585865.0,1585868.0,1585884.0,1585886.0,1585888.0,1585891.0,1585893.0,1585910.0,1585913.0,1585917.0,1585924.0,1761141.0,1761145.0,1585838.0,1585899.0,1585844.0,1585846.0,1585850.0,1585853.0,1585845.0,1585880.0,1585883.0,1585902.0,1585908.0,1585918.0,1585920.0,1585896.0,1585897.0,1585904.0,1585907.0],"skipIndex":0,"section_code":"gallery","featured_images":1585910.0,"id":108422,"singleSection":false});				  						galleries[116074] = clik.newGallery({"parentGallery":114351,"usePopups":true,"title":"Pond Reflections","link":"gallery_116074.html","maxRecords":0.0,"photoIDs":[1728834.0,1728835.0,1728837.0,1728838.0],"skipIndex":0,"section_code":"gallery","featured_images":1728834.0,"id":116074,"singleSection":false});				  						galleries[465633] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Projects","link":"gallery_465633.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"9103741,9103722,6886174,6886173,6886168,5672299,1805688,1805663,1585910","id":465633,"singleSection":false});				  						galleries[321363] = clik.newGallery({"parentGallery":465633,"usePopups":true,"title":"Return to Barcelona","link":"gallery_321363.html","maxRecords":0.0,"photoIDs":[5672299.0,5672303.0,5672306.0,5672309.0,5672313.0],"skipIndex":0,"section_code":"gallery","featured_images":5672299.0,"id":321363,"singleSection":false});				  						galleries[121407] = clik.newGallery({"parentGallery":465633,"usePopups":true,"title":"The Way Forward","link":"gallery_121407.html","maxRecords":0.0,"photoIDs":[1805679.0,1805688.0,1805698.0,1805705.0,1805708.0,1805712.0,1805721.0,1805616.0,1805619.0,1805630.0,1805633.0,1805635.0,1805636.0,1805641.0,1805643.0,1805647.0,1805657.0,1805661.0,1805663.0],"skipIndex":0,"section_code":"gallery","featured_images":"1805688,1805663","id":121407,"singleSection":false});				  						galleries[374071] = clik.newGallery({"parentGallery":465635,"usePopups":true,"title":"Transit","link":"gallery_374071.html","maxRecords":0.0,"photoIDs":[6893048.0,6895601.0,6895605.0,6897689.0,6897690.0,6897692.0],"skipIndex":0,"section_code":"gallery","featured_images":"6897692,6897690,6897689,6895605,6895601,6893048","id":374071,"singleSection":false});				  						galleries[465635] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Travel","link":"gallery_465635.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"5682845,5678864,5678859,5678852,5678814,5266397","id":465635,"singleSection":false});				  						galleries[321669] = clik.newGallery({"parentGallery":465635,"usePopups":true,"title":"World Social Forum Belem ","link":"gallery_321669.html","maxRecords":0.0,"photoIDs":[5678758.0,5678772.0,5678783.0,5678791.0,5678799.0,5678814.0,5678834.0,5678852.0,5678859.0,5678864.0,5678871.0,5682841.0,5682845.0,5682848.0,5682849.0,5682851.0,5682860.0,5682863.0,5682865.0,5682866.0,5682867.0,5682868.0,5682869.0,5682871.0,5682874.0,5682877.0,5682878.0,5682880.0,5682881.0,5682884.0,5682885.0,5682888.0,5682890.0,5682892.0],"skipIndex":0,"section_code":"gallery","featured_images":"5682845,5678864,5678859,5678852,5678814","id":321669,"singleSection":false});				  						galleries[201045] = clik.newGallery({"parentGallery":114351,"usePopups":true,"title":"Painting & Drawing","link":"gallery_201045.html","maxRecords":0.0,"photoIDs":[8663324.0,8663354.0,3297817.0,3297818.0,3297819.0,3297826.0,3297829.0,3297833.0,3297837.0,3297820.0,3297822.0],"skipIndex":0,"section_code":"gallery","featured_images":"3297826,3297817","id":201045,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '6886152,6886168,6886173,6886174';
imageSets[2] = '5682845,5678864,5678859,5678852,5678814,5279691,5266397,3276676,1965400,1951082,1805688,1728862,1728834,1585910,5672299,3297817,6886168,6886173,3297826,6886174,1805663,9103722,9103741';
imageSets[3] = '6897880,6897829,6886152,6886173,6886174';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/aishling/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/aishling/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/aishling/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/aishling/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/aishling/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/aishling/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/aishling/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/aishling/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/aishling/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/aishling/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/aishling/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/aishling/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/aishling/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/aishling/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/aishling/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/aishling/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/aishling/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/aishling/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/aishling/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/aishling/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/aishling/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/aishling/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/aishling/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/aishling/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/aishling/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/aishling/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/aishling/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 = 'Aishling Muller : ' + 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> &euro;' + (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 += '<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="aishlingmuller@hotmail.com">';
					temp += '<input type="hidden" name="currency_code" value="EUR">';
					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="aishlingmuller@hotmail.com">';
				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;
	}
}

			

