window.thumbnails = {};
															thumbnails[627844] = clik.newPhoto({"id":627844,"src":"ama 1_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Mt Ama Dablam","height":72});
															thumbnails[627846] = clik.newPhoto({"id":627846,"src":"ama 2_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Mt Ama Dablam and Monastry","height":81});
															thumbnails[632167] = clik.newPhoto({"id":632167,"src":"doll_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Taken in Glen Doll, Angus during a blizzard","height":88});
															thumbnails[632193] = clik.newPhoto({"id":632193,"src":"I O W_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"South coast of the Isle of Wight","height":87});
															thumbnails[632743] = clik.newPhoto({"id":632743,"src":"kilry_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Sunset at Kilry in Angus","height":77});
															thumbnails[632747] = clik.newPhoto({"id":632747,"src":"khunbu 1_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Four panel image of the Khumbu","height":90});
															thumbnails[700433] = clik.newPhoto({"id":700433,"src":"nite eye_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Nite Eye","height":84});
															thumbnails[1212511] = clik.newPhoto({"id":1212511,"src":"1b_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Lucky white heather!","height":87});
															thumbnails[4841318] = clik.newPhoto({"id":4841318,"src":"DSCF1504_thumb.JPG","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Gone never no more","height":91});
															thumbnails[7035944] = clik.newPhoto({"id":7035944,"src":"smokin_tree_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"smokin tree","height":130});
															thumbnails[623654] = clik.newPhoto({"id":623654,"src":"2_thumb.jpg","galleries_id":47681,"server_id":1,"link":"photo_623654.html","width":130,"caption":"Fountain of Youth","height":89});
															thumbnails[623655] = clik.newPhoto({"id":623655,"src":"3_thumb.jpg","galleries_id":47681,"server_id":1,"link":"photo_623655.html","width":130,"caption":"Fountain Lovers","height":122});
															thumbnails[623665] = clik.newPhoto({"id":623665,"src":"51_thumb.jpg","galleries_id":47681,"server_id":1,"link":"photo_623665.html","width":130,"caption":"Eye Concert","height":194});
															thumbnails[623675] = clik.newPhoto({"id":623675,"src":"71_thumb.jpg","galleries_id":47681,"server_id":1,"link":"photo_623675.html","width":130,"caption":"Digital Nature","height":174});
															thumbnails[623677] = clik.newPhoto({"id":623677,"src":"8_thumb.jpg","galleries_id":47681,"server_id":1,"link":"photo_623677.html","width":130,"caption":"Gower Sunset","height":72});
															thumbnails[623682] = clik.newPhoto({"id":623682,"src":"9d_thumb.jpg","galleries_id":47681,"server_id":1,"link":"photo_623682.html","width":130,"caption":"Gower Moon","height":135});
															thumbnails[623684] = clik.newPhoto({"id":623684,"src":"9e_thumb.jpg","galleries_id":47681,"server_id":1,"link":"photo_623684.html","width":130,"caption":"Oblivious","height":87});
															thumbnails[625396] = clik.newPhoto({"id":625396,"src":"11_thumb.jpg","galleries_id":47681,"server_id":1,"link":"photo_625396.html","width":130,"caption":"Red and Yellow","height":107});
															thumbnails[625566] = clik.newPhoto({"id":625566,"src":"9g1_thumb.jpg","galleries_id":47681,"server_id":1,"link":"photo_625566.html","width":130,"caption":"Not all Gondolas and St Marks","height":71});
															thumbnails[625579] = clik.newPhoto({"id":625579,"src":"9l1_thumb.jpg","galleries_id":47681,"server_id":1,"link":"photo_625579.html","width":130,"caption":"Graffiti Italian style","height":112});
															thumbnails[1759789] = clik.newPhoto({"id":1759789,"src":"1_thumb.jpg","galleries_id":118192,"server_id":1,"link":"photo_1759789.html","width":130,"caption":"Welcome","height":87});
															thumbnails[1759790] = clik.newPhoto({"id":1759790,"src":"1A_1_thumb.jpg","galleries_id":118192,"server_id":1,"link":"photo_1759790.html","width":130,"caption":1.0,"height":86});
															thumbnails[1759792] = clik.newPhoto({"id":1759792,"src":"1x_thumb.jpg","galleries_id":118192,"server_id":1,"link":"photo_1759792.html","width":130,"caption":"Weston","height":87});
															thumbnails[1759795] = clik.newPhoto({"id":1759795,"src":"5a_thumb.jpg","galleries_id":118192,"server_id":1,"link":"photo_1759795.html","width":130,"caption":"Didcot dawn","height":56});
															thumbnails[1759801] = clik.newPhoto({"id":1759801,"src":"6x4  nov 4_thumb.jpg","galleries_id":118192,"server_id":1,"link":"photo_1759801.html","width":130,"caption":"Ypres","height":194});
															thumbnails[1759807] = clik.newPhoto({"id":1759807,"src":"7 sis_thumb.jpg","galleries_id":118192,"server_id":1,"link":"photo_1759807.html","width":130,"caption":"<br>\r\nSeven<br>\r\nSisters","height":66});
															thumbnails[1759813] = clik.newPhoto({"id":1759813,"src":"a_thumb.jpg","galleries_id":118192,"server_id":1,"link":"photo_1759813.html","width":130,"caption":"Blowing in the wind","height":86});
															thumbnails[1759814] = clik.newPhoto({"id":1759814,"src":"am dab 1amm_thumb.jpg","galleries_id":118192,"server_id":1,"link":"photo_1759814.html","width":130,"caption":"Mountain heaven","height":81});
															thumbnails[1759815] = clik.newPhoto({"id":1759815,"src":"am sculler_thumb.jpg","galleries_id":118192,"server_id":1,"link":"photo_1759815.html","width":130,"caption":"December dawn","height":198});
															thumbnails[1759818] = clik.newPhoto({"id":1759818,"src":"amm moon_thumb.jpg","galleries_id":118192,"server_id":1,"link":"photo_1759818.html","width":130,"caption":"Rare manipulation","height":192});
															thumbnails[1759819] = clik.newPhoto({"id":1759819,"src":"backpacking_thumb.jpg","galleries_id":118192,"server_id":1,"link":"photo_1759819.html","width":130,"caption":"Hambledon weir","height":76});
															thumbnails[1759820] = clik.newPhoto({"id":1759820,"src":"BEECH FUNGI_thumb.jpg","galleries_id":118192,"server_id":1,"link":"photo_1759820.html","width":130,"caption":"Hambledon woods","height":194});
															thumbnails[1759821] = clik.newPhoto({"id":1759821,"src":"BLOSSOM BUTTERFLY_thumb.jpg","galleries_id":118192,"server_id":1,"link":"photo_1759821.html","width":130,"caption":"Macro mode","height":171});
															thumbnails[1759822] = clik.newPhoto({"id":1759822,"src":"brighton_1_thumb.jpg","galleries_id":118192,"server_id":1,"link":"photo_1759822.html","width":130,"caption":"Seaside evening","height":46});
															thumbnails[1759823] = clik.newPhoto({"id":1759823,"src":"BUTTERLY_thumb.jpg","galleries_id":118192,"server_id":1,"link":"photo_1759823.html","width":130,"caption":"marco again","height":109});
															thumbnails[1759824] = clik.newPhoto({"id":1759824,"src":"chris_thumb.jpg","galleries_id":118192,"server_id":1,"link":"photo_1759824.html","width":130,"caption":"Rare good portrait","height":118});
															thumbnails[1759828] = clik.newPhoto({"id":1759828,"src":"CLOSE ENCOUNTER_thumb.jpg","galleries_id":118192,"server_id":1,"link":"photo_1759828.html","width":130,"caption":"Local Didcot wildlife","height":89});
															thumbnails[1759841] = clik.newPhoto({"id":1759841,"src":"CURLS_thumb.jpg","galleries_id":118192,"server_id":1,"link":"photo_1759841.html","width":130,"caption":"lookalike","height":72});
															thumbnails[1759846] = clik.newPhoto({"id":1759846,"src":"don_thumb.jpg","galleries_id":118192,"server_id":1,"link":"photo_1759846.html","width":130,"caption":"Hill heaven","height":72});
															thumbnails[1759848] = clik.newPhoto({"id":1759848,"src":"earache_thumb.jpg","galleries_id":118192,"server_id":1,"link":"photo_1759848.html","width":130,"caption":"Give us a tune","height":160});
															thumbnails[1759850] = clik.newPhoto({"id":1759850,"src":"eden falls_thumb.jpg","galleries_id":118192,"server_id":1,"link":"photo_1759850.html","width":130,"caption":"Eden falls","height":208});
															thumbnails[1759857] = clik.newPhoto({"id":1759857,"src":"eye pod 3_thumb.jpg","galleries_id":118192,"server_id":1,"link":"photo_1759857.html","width":130,"caption":"Eye-pod","height":73});
															thumbnails[1759858] = clik.newPhoto({"id":1759858,"src":"face_thumb.jpg","galleries_id":118192,"server_id":1,"link":"photo_1759858.html","width":130,"caption":"Black and white slide film","height":89});
															thumbnails[1759859] = clik.newPhoto({"id":1759859,"src":"FOREIGN PARTS_thumb.jpg","galleries_id":118192,"server_id":1,"link":"photo_1759859.html","width":130,"caption":"Faraway places","height":194});
															thumbnails[1759864] = clik.newPhoto({"id":1759864,"src":"GOWER SUNSET_thumb.jpg","galleries_id":118192,"server_id":1,"link":"photo_1759864.html","width":130,"caption":"Gower sunset","height":64});
															thumbnails[1759868] = clik.newPhoto({"id":1759868,"src":"heli lite_thumb.jpg","galleries_id":118192,"server_id":1,"link":"photo_1759868.html","width":130,"caption":"Lyme rescue","height":89});
															thumbnails[1759870] = clik.newPhoto({"id":1759870,"src":"home from the sea_thumb.jpg","galleries_id":118192,"server_id":1,"link":"photo_1759870.html","width":130,"caption":"Home from the fishin","height":39});
															thumbnails[1759881] = clik.newPhoto({"id":1759881,"src":"IMG0004_thumb.jpg","galleries_id":118192,"server_id":1,"link":"photo_1759881.html","width":130,"caption":"Achiltibue burn","height":196});
															thumbnails[1759884] = clik.newPhoto({"id":1759884,"src":"IMG0047_thumb.jpg","galleries_id":118192,"server_id":1,"link":"photo_1759884.html","width":130,"caption":"Real colors no manipulation","height":92});
															thumbnails[1759886] = clik.newPhoto({"id":1759886,"src":"KHUMBU_1_thumb.jpg","galleries_id":118192,"server_id":1,"link":"photo_1759886.html","width":130,"caption":"Mountain people","height":88});
															thumbnails[1759890] = clik.newPhoto({"id":1759890,"src":"laid back_thumb.jpg","galleries_id":118192,"server_id":1,"link":"photo_1759890.html","width":130,"caption":"<br>\r\nDozing","height":59});
															thumbnails[1759892] = clik.newPhoto({"id":1759892,"src":"lantern_thumb.jpg","galleries_id":118192,"server_id":1,"link":"photo_1759892.html","width":130,"caption":"Frosted glass","height":142});
															thumbnails[1759895] = clik.newPhoto({"id":1759895,"src":"loo 2_thumb.jpg","galleries_id":118192,"server_id":1,"link":"photo_1759895.html","width":130,"caption":"Lowery loo","height":76});
															thumbnails[1759900] = clik.newPhoto({"id":1759900,"src":"lucky! white heather_thumb.jpg","galleries_id":118192,"server_id":1,"link":"photo_1759900.html","width":130,"caption":"Lucky white heather!","height":87});
															thumbnails[1759902] = clik.newPhoto({"id":1759902,"src":"lyme rescue_thumb.jpg","galleries_id":118192,"server_id":1,"link":"photo_1759902.html","width":130,"caption":"Glad you could make it","height":83});
															thumbnails[1759913] = clik.newPhoto({"id":1759913,"src":"puff_thumb.jpg","galleries_id":118192,"server_id":1,"link":"photo_1759913.html","width":130,"caption":"Push me pull me","height":232});
															thumbnails[1759915] = clik.newPhoto({"id":1759915,"src":"sculler border_thumb.jpg","galleries_id":118192,"server_id":1,"link":"photo_1759915.html","width":130,"caption":"First MCC submission","height":78});
															thumbnails[1759917] = clik.newPhoto({"id":1759917,"src":"sellc pier walkers_thumb.jpg","galleries_id":118192,"server_id":1,"link":"photo_1759917.html","width":130,"caption":"Walk on water at Weston","height":46});
															thumbnails[1759921] = clik.newPhoto({"id":1759921,"src":"skye eve_thumb.jpg","galleries_id":118192,"server_id":1,"link":"photo_1759921.html","width":130,"caption":"West highland lite","height":52});
															thumbnails[1759928] = clik.newPhoto({"id":1759928,"src":"skye scot_thumb.jpg","galleries_id":118192,"server_id":1,"link":"photo_1759928.html","width":130,"caption":"Can you guess where?","height":196});
															thumbnails[1759931] = clik.newPhoto({"id":1759931,"src":"STRIPES_thumb.jpg","galleries_id":118192,"server_id":1,"link":"photo_1759931.html","width":130,"caption":"Natural stripes","height":87});
															thumbnails[1759937] = clik.newPhoto({"id":1759937,"src":"thames angler_thumb.jpg","galleries_id":118192,"server_id":1,"link":"photo_1759937.html","width":130,"caption":"Thames angler","height":92});
															thumbnails[1759939] = clik.newPhoto({"id":1759939,"src":"THREE NOV_thumb.jpg","galleries_id":118192,"server_id":1,"link":"photo_1759939.html","width":130,"caption":"Distant memories","height":133});
															thumbnails[1759940] = clik.newPhoto({"id":1759940,"src":"trees1234_thumb.jpg","galleries_id":118192,"server_id":1,"link":"photo_1759940.html","width":130,"caption":"Bizzard! no problem image taken","height":88});
															thumbnails[1759944] = clik.newPhoto({"id":1759944,"src":"tulip_1_thumb.jpg","galleries_id":118192,"server_id":1,"link":"photo_1759944.html","width":130,"caption":"<br>\r\n<br>\r\n<br>\r\n<br>\r\n<br>\r\n<br>\r\n<br>\r\n<br>\r\n<br>\r\nSuperb lite<br>\r\n<br>\r\n","height":194});
															thumbnails[1759946] = clik.newPhoto({"id":1759946,"src":"TUMEL2_thumb.jpg","galleries_id":118192,"server_id":1,"link":"photo_1759946.html","width":130,"caption":"Loch Tummel after many attempts over the years","height":78});
															thumbnails[1759947] = clik.newPhoto({"id":1759947,"src":"VENICE_thumb.jpg","galleries_id":118192,"server_id":1,"link":"photo_1759947.html","width":130,"caption":"Worlds most beautiful city","height":37});
															thumbnails[1759948] = clik.newPhoto({"id":1759948,"src":"wight walkers_thumb.jpg","galleries_id":118192,"server_id":1,"link":"photo_1759948.html","width":130,"caption":"Wight walkers taken in RAW format","height":87});
															thumbnails[1759956] = clik.newPhoto({"id":1759956,"src":"mustang_thumb.jpg","galleries_id":118192,"server_id":1,"link":"photo_1759956.html","width":130,"caption":"Rolls Royce power","height":99});
															thumbnails[1761463] = clik.newPhoto({"id":1761463,"src":"venice reality_thumb.jpg","galleries_id":118192,"server_id":1,"link":"photo_1761463.html","width":130,"caption":"Venice reality","height":150});
															thumbnails[1761478] = clik.newPhoto({"id":1761478,"src":"Z END_thumb.jpg","galleries_id":118192,"server_id":1,"link":"photo_1761478.html","width":130,"caption":"Thank you","height":164});
															thumbnails[2262293] = clik.newPhoto({"id":2262293,"src":"bikes_thumb.jpg","galleries_id":150936,"server_id":1,"link":"photo_2262293.html","width":130,"caption":"bikes","height":42});
															thumbnails[2262307] = clik.newPhoto({"id":2262307,"src":"e mail_thumb.jpg","galleries_id":150936,"server_id":1,"link":"photo_2262307.html","width":130,"caption":"upwards","height":220});
															thumbnails[2262324] = clik.newPhoto({"id":2262324,"src":"docklands bridge_thumb.jpeg","galleries_id":150936,"server_id":1,"link":"photo_2262324.html","width":130,"caption":"Bridge too far","height":226});
															thumbnails[2262414] = clik.newPhoto({"id":2262414,"src":"babyclub_thumb.jpg","galleries_id":150936,"server_id":1,"link":"photo_2262414.html","width":130,"caption":"Parking violation?","height":98});
															thumbnails[2262642] = clik.newPhoto({"id":2262642,"src":"hassocks sign post_thumb.jpg","galleries_id":150936,"server_id":1,"link":"photo_2262642.html","width":130,"caption":"which way?","height":106});
															thumbnails[2262645] = clik.newPhoto({"id":2262645,"src":"oxford window_thumb.jpg","galleries_id":150936,"server_id":1,"link":"photo_2262645.html","width":130,"caption":"blue window","height":153});
															thumbnails[2262650] = clik.newPhoto({"id":2262650,"src":"seven sisters_thumb.jpg","galleries_id":150936,"server_id":1,"link":"photo_2262650.html","width":130,"caption":"seven sisters","height":80});
															thumbnails[2262698] = clik.newPhoto({"id":2262698,"src":"talking heads_thumb.jpg","galleries_id":150936,"server_id":1,"link":"photo_2262698.html","width":130,"caption":"Looking for the 'Doctor'","height":87});
															thumbnails[2306853] = clik.newPhoto({"id":2306853,"src":"vertical_thumb.jpg","galleries_id":150936,"server_id":1,"link":"photo_2306853.html","width":130,"caption":"sky high","height":378});
															thumbnails[2655901] = clik.newPhoto({"id":2655901,"src":"e mail1_thumb.jpg","galleries_id":150936,"server_id":1,"link":"photo_2655901.html","width":130,"caption":"Greenwich Observatory","height":142});
															thumbnails[3202656] = clik.newPhoto({"id":3202656,"src":"airlie vista_thumb.jpg","galleries_id":195773,"server_id":1,"link":"photo_3202656.html","width":130,"caption":"Airlie vista","height":87});
															thumbnails[3202674] = clik.newPhoto({"id":3202674,"src":"winter corrie_thumb.jpg","galleries_id":195773,"server_id":1,"link":"photo_3202674.html","width":130,"caption":"Loking up to Corrie Whirral","height":79});
															thumbnails[3202679] = clik.newPhoto({"id":3202679,"src":"balintore_thumb.jpg","galleries_id":195773,"server_id":1,"link":"photo_3202679.html","width":130,"caption":"Balintore house","height":48});
															thumbnails[3202727] = clik.newPhoto({"id":3202727,"src":"my tribute_thumb.jpg","galleries_id":195773,"server_id":1,"link":"photo_3202727.html","width":130,"caption":"Winter Mountain Remberence","height":194});
															thumbnails[3202798] = clik.newPhoto({"id":3202798,"src":"highland remberence1_thumb.jpg","galleries_id":195773,"server_id":1,"link":"photo_3202798.html","width":130,"caption":"Teuchter memorial","height":87});
															thumbnails[3206891] = clik.newPhoto({"id":3206891,"src":"rainbow_thumb.jpg","galleries_id":196015,"server_id":1,"link":"photo_3206891.html","width":130,"caption":"Rainbow power","height":87});
															thumbnails[3207056] = clik.newPhoto({"id":3207056,"src":"banker blues1_thumb.jpg","galleries_id":196015,"server_id":1,"link":"photo_3207056.html","width":130,"caption":"Banker of despair","height":139});
															thumbnails[3207383] = clik.newPhoto({"id":3207383,"src":"didcot  ss1_thumb.jpg","galleries_id":196015,"server_id":1,"link":"photo_3207383.html","width":130,"caption":"Didcot sunset","height":62});
															thumbnails[3207385] = clik.newPhoto({"id":3207385,"src":"didcot ss 11_thumb.jpg","galleries_id":196015,"server_id":1,"link":"photo_3207385.html","width":130,"caption":"Panoramic sunset","height":34});
															thumbnails[3207389] = clik.newPhoto({"id":3207389,"src":"homeward bound1_thumb.jpg","galleries_id":196015,"server_id":1,"link":"photo_3207389.html","width":130,"caption":"Homeward bound","height":141});
															thumbnails[3207390] = clik.newPhoto({"id":3207390,"src":"oasis of peace1_thumb.jpg","galleries_id":196015,"server_id":1,"link":"photo_3207390.html","width":130,"caption":"Oasis of tranquility","height":98});
															thumbnails[3207391] = clik.newPhoto({"id":3207391,"src":"oxford window2_thumb.jpg","galleries_id":196015,"server_id":1,"link":"photo_3207391.html","width":130,"caption":"Natural frame","height":184});
															thumbnails[4362425] = clik.newPhoto({"id":4362425,"src":"DSCF1429_thumb.JPG","galleries_id":256376,"server_id":1,"link":"photo_4362425.html","width":130,"caption":"Mallaig nite","height":87});
															thumbnails[4363905] = clik.newPhoto({"id":4363905,"src":"DSCF1694_thumb.JPG","galleries_id":256376,"server_id":1,"link":"photo_4363905.html","width":130,"caption":"In tune","height":54});
															thumbnails[4363934] = clik.newPhoto({"id":4363934,"src":"DSCF6905_thumb.JPG","galleries_id":256376,"server_id":1,"link":"photo_4363934.html","width":130,"caption":"Wild island pony","height":84});
															thumbnails[4841290] = clik.newPhoto({"id":4841290,"src":"DSCF1460_thumb.JPG","galleries_id":256376,"server_id":1,"link":"photo_4841290.html","width":130,"caption":"Arriving Misty Isles at Tarbet","height":41});
															thumbnails[4841293] = clik.newPhoto({"id":4841293,"src":"DSCF1464_thumb.JPG","galleries_id":256376,"server_id":1,"link":"photo_4841293.html","width":130,"caption":"Shell sands","height":49});
															thumbnails[4841296] = clik.newPhoto({"id":4841296,"src":"DSCF1477_thumb.JPG","galleries_id":256376,"server_id":1,"link":"photo_4841296.html","width":130,"caption":"McGregors beach","height":62});
															thumbnails[4841298] = clik.newPhoto({"id":4841298,"src":"DSCF1478_thumb.JPG","galleries_id":256376,"server_id":1,"link":"photo_4841298.html","width":130,"caption":"Taransay view","height":54});
															thumbnails[4841299] = clik.newPhoto({"id":4841299,"src":"DSCF1482_thumb.JPG","galleries_id":256376,"server_id":1,"link":"photo_4841299.html","width":130,"caption":"Hirta transport","height":87});
															thumbnails[4841303] = clik.newPhoto({"id":4841303,"src":"DSCF1485_thumb.JPG","galleries_id":256376,"server_id":1,"link":"photo_4841303.html","width":130,"caption":"Mystical welcome","height":69});
															thumbnails[4841306] = clik.newPhoto({"id":4841306,"src":"DSCF1489_thumb.JPG","galleries_id":256376,"server_id":1,"link":"photo_4841306.html","width":130,"caption":"Disappearing into the mists of time","height":85});
															thumbnails[4841314] = clik.newPhoto({"id":4841314,"src":"DSCF1496_thumb.JPG","galleries_id":256376,"server_id":1,"link":"photo_4841314.html","width":130,"caption":"Stepping into mists of time","height":74});
															thumbnails[4841325] = clik.newPhoto({"id":4841325,"src":"DSCF1544_thumb.JPG","galleries_id":256376,"server_id":1,"link":"photo_4841325.html","width":130,"caption":"Safe haven","height":57});
															thumbnails[4841330] = clik.newPhoto({"id":4841330,"src":"DSCF1571_thumb.JPG","galleries_id":256376,"server_id":1,"link":"photo_4841330.html","width":130,"caption":"Leaving a most special place via stacks","height":63});
															thumbnails[4841345] = clik.newPhoto({"id":4841345,"src":"DSCF1585_thumb.JPG","galleries_id":256376,"server_id":1,"link":"photo_4841345.html","width":130,"caption":"Awesome","height":61});
															thumbnails[4841354] = clik.newPhoto({"id":4841354,"src":"DSCF1616_thumb.JPG","galleries_id":256376,"server_id":1,"link":"photo_4841354.html","width":130,"caption":"All here sun sea and sand","height":82});
															thumbnails[4843361] = clik.newPhoto({"id":4843361,"src":"DSCF1630_thumb.JPG","galleries_id":256376,"server_id":1,"link":"photo_4843361.html","width":130,"caption":"Galatic milestone","height":59});
															thumbnails[4843364] = clik.newPhoto({"id":4843364,"src":"DSCF1649_thumb.JPG","galleries_id":256376,"server_id":1,"link":"photo_4843364.html","width":130,"caption":"Callanish","height":43});
															thumbnails[4843368] = clik.newPhoto({"id":4843368,"src":"DSCF1681_thumb.JPG","galleries_id":256376,"server_id":1,"link":"photo_4843368.html","width":130,"caption":"Timeless stones","height":64});
															thumbnails[4843372] = clik.newPhoto({"id":4843372,"src":"DSCF1682_thumb.JPG","galleries_id":256376,"server_id":1,"link":"photo_4843372.html","width":130,"caption":"Like minded travellers","height":39});
															thumbnails[4843689] = clik.newPhoto({"id":4843689,"src":"DSCF1685_thumb.JPG","galleries_id":256376,"server_id":1,"link":"photo_4843689.html","width":130,"caption":"Instant connection of like minds","height":102});
															thumbnails[4843708] = clik.newPhoto({"id":4843708,"src":"DSCF1734_thumb.JPG","galleries_id":256376,"server_id":1,"link":"photo_4843708.html","width":130,"caption":"Sun sea and sky at Solas","height":58});
															thumbnails[4843717] = clik.newPhoto({"id":4843717,"src":"DSCF1741_thumb.JPG","galleries_id":256376,"server_id":1,"link":"photo_4843717.html","width":130,"caption":"Taigh Bhaligh North Uist","height":86});
															thumbnails[4843754] = clik.newPhoto({"id":4843754,"src":"DSCF1756_thumb.JPG","galleries_id":256376,"server_id":1,"link":"photo_4843754.html","width":130,"caption":"Rural viewCreag Ghoraidh","height":66});
															thumbnails[4843773] = clik.newPhoto({"id":4843773,"src":"DSCF1766_thumb.JPG","galleries_id":256376,"server_id":1,"link":"photo_4843773.html","width":130,"caption":"Star with supporting cast","height":52});
															thumbnails[4843805] = clik.newPhoto({"id":4843805,"src":"DSCF1777_thumb.JPG","galleries_id":256376,"server_id":1,"link":"photo_4843805.html","width":130,"caption":"Soulful seal","height":44});
															thumbnails[4844383] = clik.newPhoto({"id":4844383,"src":"DSCF1755_thumb.JPG","galleries_id":256376,"server_id":1,"link":"photo_4844383.html","width":130,"caption":"Island lilies","height":87});
															thumbnails[4844389] = clik.newPhoto({"id":4844389,"src":"DSCF1780_thumb.JPG","galleries_id":256376,"server_id":1,"link":"photo_4844389.html","width":130,"caption":"Local residents","height":43});
															thumbnails[4844395] = clik.newPhoto({"id":4844395,"src":"DSCF1782_thumb.JPG","galleries_id":256376,"server_id":1,"link":"photo_4844395.html","width":130,"caption":"Island connection","height":42});
															thumbnails[4844400] = clik.newPhoto({"id":4844400,"src":"DSCF1783_thumb.JPG","galleries_id":256376,"server_id":1,"link":"photo_4844400.html","width":130,"caption":"Castle Bay Barra","height":59});
															thumbnails[4844410] = clik.newPhoto({"id":4844410,"src":"DSCF6710_thumb.JPG","galleries_id":256376,"server_id":1,"link":"photo_4844410.html","width":130,"caption":"Hirta","height":67});
															thumbnails[4844420] = clik.newPhoto({"id":4844420,"src":"DSCF67181_thumb.JPG","galleries_id":256376,"server_id":1,"link":"photo_4844420.html","width":130,"caption":"Cleits and village","height":87});
															thumbnails[4844431] = clik.newPhoto({"id":4844431,"src":"DSCF6734_thumb.JPG","galleries_id":256376,"server_id":1,"link":"photo_4844431.html","width":130,"caption":"Hirta residents","height":61});
															thumbnails[4844441] = clik.newPhoto({"id":4844441,"src":"DSCF6808_thumb.JPG","galleries_id":256376,"server_id":1,"link":"photo_4844441.html","width":130,"caption":"Friend in contemplation","height":87});
															thumbnails[4844457] = clik.newPhoto({"id":4844457,"src":"DSCF6838_thumb.JPG","galleries_id":256376,"server_id":1,"link":"photo_4844457.html","width":130,"caption":"Tranquility base","height":87});
															thumbnails[4844467] = clik.newPhoto({"id":4844467,"src":"DSCF6856_thumb.JPG","galleries_id":256376,"server_id":1,"link":"photo_4844467.html","width":130,"caption":"Residence!","height":80});
															thumbnails[4844472] = clik.newPhoto({"id":4844472,"src":"DSCF6870_thumb.JPG","galleries_id":256376,"server_id":1,"link":"photo_4844472.html","width":130,"caption":"Isolation","height":61});
															thumbnails[4844479] = clik.newPhoto({"id":4844479,"src":"DSCF6893_thumb.JPG","galleries_id":256376,"server_id":1,"link":"photo_4844479.html","width":130,"caption":"Loch Bi to Thacla and Beinn Mhor","height":60});
															thumbnails[4844490] = clik.newPhoto({"id":4844490,"src":"DSCF6913_thumb.JPG","galleries_id":256376,"server_id":1,"link":"photo_4844490.html","width":130,"caption":"Wild ponies","height":58});
															thumbnails[4844500] = clik.newPhoto({"id":4844500,"src":"DSCF6930_thumb.JPG","galleries_id":256376,"server_id":1,"link":"photo_4844500.html","width":130,"caption":"Croft vista of LochSgiopoirt","height":53});
															thumbnails[4844517] = clik.newPhoto({"id":4844517,"src":"DSCF6954_thumb.JPG","galleries_id":256376,"server_id":1,"link":"photo_4844517.html","width":130,"caption":"Ancient Chapels Tobha Mor","height":184});
															thumbnails[4844549] = clik.newPhoto({"id":4844549,"src":"DSCF6964_thumb.JPG","galleries_id":256376,"server_id":1,"link":"photo_4844549.html","width":130,"caption":"Much worshiping","height":87});
															thumbnails[4870549] = clik.newPhoto({"id":4870549,"src":"DSCF6851_thumb.JPG","galleries_id":256376,"server_id":1,"link":"photo_4870549.html","width":130,"caption":"View from Solas","height":79});
															thumbnails[4964373] = clik.newPhoto({"id":4964373,"src":"12amm_thumb.jpg","galleries_id":282214,"server_id":1,"link":"photo_4964373.html","width":130,"caption":"View from across the pond","height":99});
															thumbnails[4964375] = clik.newPhoto({"id":4964375,"src":"bw1_thumb.jpg","galleries_id":282214,"server_id":1,"link":"photo_4964375.html","width":130,"caption":"shapes","height":98});
															thumbnails[4964377] = clik.newPhoto({"id":4964377,"src":"bw3_thumb.jpg","galleries_id":282214,"server_id":1,"link":"photo_4964377.html","width":130,"caption":"Rooftop","height":98});
															thumbnails[4964380] = clik.newPhoto({"id":4964380,"src":"bw4_thumb.jpg","galleries_id":282214,"server_id":1,"link":"photo_4964380.html","width":130,"caption":"No Entry","height":160});
															thumbnails[4964382] = clik.newPhoto({"id":4964382,"src":"DSCF0708_amm_thumb.jpg","galleries_id":282214,"server_id":1,"link":"photo_4964382.html","width":130,"caption":"Ripples","height":115});
															thumbnails[4964385] = clik.newPhoto({"id":4964385,"src":"DSCF0709amm_thumb.jpg","galleries_id":282214,"server_id":1,"link":"photo_4964385.html","width":130,"caption":"Sharp frame","height":170});
															thumbnails[4964388] = clik.newPhoto({"id":4964388,"src":"DSCF7332_thumb.jpg","galleries_id":282214,"server_id":1,"link":"photo_4964388.html","width":130,"caption":"Shapes","height":195});
															thumbnails[4964399] = clik.newPhoto({"id":4964399,"src":"DSCF7255_thumb.JPG","galleries_id":282214,"server_id":1,"link":"photo_4964399.html","width":130,"caption":"Seating for all","height":61});
															thumbnails[4964401] = clik.newPhoto({"id":4964401,"src":"DSCF1857_amm_thumb.jpg","galleries_id":282214,"server_id":1,"link":"photo_4964401.html","width":130,"caption":"Henley Arches","height":87});
															thumbnails[4964403] = clik.newPhoto({"id":4964403,"src":"DSCF7284_AMM_thumb.jpg","galleries_id":282214,"server_id":1,"link":"photo_4964403.html","width":130,"caption":"Beer was brewed here","height":170});
															thumbnails[4964405] = clik.newPhoto({"id":4964405,"src":"DSCF7306_thumb.JPG","galleries_id":282214,"server_id":1,"link":"photo_4964405.html","width":130,"caption":"Berr sold here","height":87});
															thumbnails[4964412] = clik.newPhoto({"id":4964412,"src":"DSCF72711_thumb.JPG","galleries_id":282214,"server_id":1,"link":"photo_4964412.html","width":130,"caption":"Religion also","height":132});
															thumbnails[4964415] = clik.newPhoto({"id":4964415,"src":"DSCF7295_amm_thumb.jpg","galleries_id":282214,"server_id":1,"link":"photo_4964415.html","width":130,"caption":"Good beer was brewed here","height":91});
															thumbnails[4964467] = clik.newPhoto({"id":4964467,"src":"IMG_0007_1amm_thumb.jpg","galleries_id":282214,"server_id":1,"link":"photo_4964467.html","width":130,"caption":"Hello","height":173});
															thumbnails[4964474] = clik.newPhoto({"id":4964474,"src":"IMG_0014_1amm_thumb.jpg","galleries_id":282214,"server_id":1,"link":"photo_4964474.html","width":130,"caption":"Skywards","height":110});
															thumbnails[5901005] = clik.newPhoto({"id":5901005,"src":"DSCF1985_thumb.JPG","galleries_id":333122,"server_id":1,"link":"photo_5901005.html","width":130,"caption":"Winter woolies","height":62});
															thumbnails[5901085] = clik.newPhoto({"id":5901085,"src":"DSCF1988_thumb.JPG","galleries_id":333122,"server_id":1,"link":"photo_5901085.html","width":130,"caption":"Nite time Goring upon Thames","height":87});
															thumbnails[5901100] = clik.newPhoto({"id":5901100,"src":"DSCF1989_thumb.JPG","galleries_id":333122,"server_id":1,"link":"photo_5901100.html","width":130,"caption":"CliftonHampden","height":86});
															thumbnails[5901449] = clik.newPhoto({"id":5901449,"src":"DSCF7773_thumb.JPG","galleries_id":333122,"server_id":1,"link":"photo_5901449.html","width":130,"caption":"walking in a winter wonderland","height":73});
															thumbnails[5901464] = clik.newPhoto({"id":5901464,"src":"DSCF7797_thumb.JPG","galleries_id":333122,"server_id":1,"link":"photo_5901464.html","width":130,"caption":"Clifton hampden church","height":93});
															thumbnails[5901470] = clik.newPhoto({"id":5901470,"src":"DSCF7801_thumb.JPG","galleries_id":333122,"server_id":1,"link":"photo_5901470.html","width":130,"caption":"From the riverbank","height":82});
															thumbnails[5901524] = clik.newPhoto({"id":5901524,"src":"DSCF7807_thumb.JPG","galleries_id":333122,"server_id":1,"link":"photo_5901524.html","width":130,"caption":"From the rightbank","height":63});
															thumbnails[5901578] = clik.newPhoto({"id":5901578,"src":"DSCF7812_thumb.JPG","galleries_id":333122,"server_id":1,"link":"photo_5901578.html","width":130,"caption":"Pointing heavenwards","height":194});
															thumbnails[5901696] = clik.newPhoto({"id":5901696,"src":"R0012822_thumb.JPG","galleries_id":333122,"server_id":1,"link":"photo_5901696.html","width":130,"caption":"Coldwater ducks","height":72});
															thumbnails[5901704] = clik.newPhoto({"id":5901704,"src":"DSCF7825_thumb.JPG","galleries_id":333122,"server_id":1,"link":"photo_5901704.html","width":130,"caption":"River lights","height":87});
															thumbnails[5901740] = clik.newPhoto({"id":5901740,"src":"DSCF7827_thumb.JPG","galleries_id":333122,"server_id":1,"link":"photo_5901740.html","width":130,"caption":"River lights","height":87});
															thumbnails[5901768] = clik.newPhoto({"id":5901768,"src":"R0012829_thumb.JPG","galleries_id":333122,"server_id":1,"link":"photo_5901768.html","width":130,"caption":"Winter power","height":72});
															thumbnails[6447015] = clik.newPhoto({"id":6447015,"src":"DSCF2033_thumb.JPG","galleries_id":355707,"server_id":1,"link":"photo_6447015.html","width":130,"caption":"A forever view","height":172});
															thumbnails[6447020] = clik.newPhoto({"id":6447020,"src":"DSCF2052_copy_thumb.jpg","galleries_id":355707,"server_id":1,"link":"photo_6447020.html","width":130,"caption":"Ready for sea","height":87});
															thumbnails[6447021] = clik.newPhoto({"id":6447021,"src":"DSCF2058_thumb.JPG","galleries_id":355707,"server_id":1,"link":"photo_6447021.html","width":130,"caption":"Looking to Hirta","height":69});
															thumbnails[6449947] = clik.newPhoto({"id":6449947,"src":"DSCF2103_thumb.JPG","galleries_id":355707,"server_id":1,"link":"photo_6449947.html","width":130,"caption":"Shiants and Skye","height":87});
															thumbnails[6449954] = clik.newPhoto({"id":6449954,"src":"DSCF2104_thumb.JPG","galleries_id":355707,"server_id":1,"link":"photo_6449954.html","width":130,"caption":"3 islands in one","height":69});
															thumbnails[6449957] = clik.newPhoto({"id":6449957,"src":"DSCF2118_thumb.JPG","galleries_id":355707,"server_id":1,"link":"photo_6449957.html","width":130,"caption":"Food forager","height":75});
															thumbnails[6449984] = clik.newPhoto({"id":6449984,"src":"DSCF2286_edited-1_thumb.jpg","galleries_id":355707,"server_id":1,"link":"photo_6449984.html","width":130,"caption":"Coll","height":52});
															thumbnails[6450199] = clik.newPhoto({"id":6450199,"src":"DSCF8378_thumb.JPG","galleries_id":355707,"server_id":1,"link":"photo_6450199.html","width":130,"caption":"BIG cloud view","height":80});
															thumbnails[6767044] = clik.newPhoto({"id":6767044,"src":"DSCF9542_thumb.JPG","galleries_id":368403,"server_id":1,"link":"photo_6767044.html","width":130,"caption":"close friends","height":81});
															thumbnails[6767056] = clik.newPhoto({"id":6767056,"src":"DSCF9530_thumb.JPG","galleries_id":368403,"server_id":1,"link":"photo_6767056.html","width":130,"caption":"Hunting the Hun in the sun","height":51});
															thumbnails[6767494] = clik.newPhoto({"id":6767494,"src":"DSCF9509_thumb.JPG","galleries_id":368403,"server_id":1,"link":"photo_6767494.html","width":130,"caption":"light the way","height":175});
															thumbnails[6767502] = clik.newPhoto({"id":6767502,"src":"DSCF9515_thumb.JPG","galleries_id":368403,"server_id":1,"link":"photo_6767502.html","width":130,"caption":"60s conversation","height":190});
															thumbnails[6767515] = clik.newPhoto({"id":6767515,"src":"DSCF9514_thumb.JPG","galleries_id":368403,"server_id":1,"link":"photo_6767515.html","width":130,"caption":"Leathers","height":107});
															thumbnails[6767523] = clik.newPhoto({"id":6767523,"src":"DSCF9528_thumb.JPG","galleries_id":368403,"server_id":1,"link":"photo_6767523.html","width":130,"caption":"Merlin version","height":87});
															thumbnails[4363950] = clik.newPhoto({"id":4363950,"src":"DSCF1483_thumb.JPG","galleries_id":256376,"server_id":1,"link":"photo_4363950.html","width":130,"caption":"Arrival Hirta","height":56});
															thumbnails[4449638] = clik.newPhoto({"id":4449638,"src":"DSCF1849_thumb.JPG","galleries_id":260136,"server_id":1,"link":"photo_4449638.html","width":130,"caption":"Turville skyline","height":119});
															thumbnails[9018914] = clik.newPhoto({"id":9018914,"src":"Wave_and_we_did_155E516C-24E8-5EC4-4F83F80318042EF2_thumb.jpg","galleries_id":475342,"server_id":1,"link":"photo_9018914.html","width":130,"caption":"Wave and we did","height":71});
															thumbnails[4363960] = clik.newPhoto({"id":4363960,"src":"DSCF1547_thumb.JPG","galleries_id":256376,"server_id":1,"link":"photo_4363960.html","width":130,"caption":"Main street","height":87});
															thumbnails[4449662] = clik.newPhoto({"id":4449662,"src":"DSCF7200_thumb.jpg","galleries_id":260136,"server_id":1,"link":"photo_4449662.html","width":130,"caption":"Different format","height":194});
															thumbnails[4449672] = clik.newPhoto({"id":4449672,"src":"DSCF7201_thumb.jpg","galleries_id":260136,"server_id":1,"link":"photo_4449672.html","width":130,"caption":"Find the Folly","height":78});
															thumbnails[4449679] = clik.newPhoto({"id":4449679,"src":"DSCF7210_thumb.jpg","galleries_id":260136,"server_id":1,"link":"photo_4449679.html","width":130,"caption":"Dramatic sky","height":87});
															thumbnails[4364009] = clik.newPhoto({"id":4364009,"src":"DSCF6718_thumb.JPG","galleries_id":256376,"server_id":1,"link":"photo_4364009.html","width":130,"caption":"Village","height":87});
															thumbnails[4449685] = clik.newPhoto({"id":4449685,"src":"DSCF7217_thumb.jpg","galleries_id":260136,"server_id":1,"link":"photo_4449685.html","width":130,"caption":"Drama","height":158});
															thumbnails[4363943] = clik.newPhoto({"id":4363943,"src":"DSCF6720_thumb.JPG","galleries_id":256376,"server_id":1,"link":"photo_4363943.html","width":130,"caption":"Hirta cemetry","height":83});
															thumbnails[4363901] = clik.newPhoto({"id":4363901,"src":"DSCF1569_thumb.JPG","galleries_id":256376,"server_id":1,"link":"photo_4363901.html","width":130,"caption":"Sea stacks","height":63});
															thumbnails[9018915] = clik.newPhoto({"id":9018915,"src":"1944_perhaps_155F986C-24E8-5EC4-4F3CD5C03BD51071_thumb.jpg","galleries_id":475342,"server_id":1,"link":"photo_9018915.html","width":130,"caption":"1944 perhaps","height":73});
															thumbnails[9018916] = clik.newPhoto({"id":9018916,"src":"Adocates_Close_Edinburgh_156024EC-24E8-5EC4-4FAA08D6CA3496E6_thumb.jpg","galleries_id":475342,"server_id":1,"link":"photo_9018916.html","width":130,"caption":"Adocates Close Edinburgh","height":234});
															thumbnails[9018918] = clik.newPhoto({"id":9018918,"src":"Beacon_Hill_Skyline_1560F2B2-24E8-5EC4-4F960BB9AC4664DB_thumb.jpg","galleries_id":475342,"server_id":1,"link":"photo_9018918.html","width":130,"caption":"Beacon Hill Skyline","height":44});
															thumbnails[9018919] = clik.newPhoto({"id":9018919,"src":"Black_Hunter_156185D0-24E8-5EC4-4F52D5443705C597_thumb.jpg","galleries_id":475342,"server_id":1,"link":"photo_9018919.html","width":130,"caption":"Black Hunter","height":87});
															thumbnails[9018920] = clik.newPhoto({"id":9018920,"src":"Brighton_Pagoda_15623824-24E8-5EC4-4FB62E95E7CF44F1_thumb.jpg","galleries_id":475342,"server_id":1,"link":"photo_9018920.html","width":130,"caption":"Brighton Pagoda","height":124});
															thumbnails[9018922] = clik.newPhoto({"id":9018922,"src":"British_Summer_Pleasures_1562DA44-24E8-5EC4-4FA0F899BCC43C94_thumb.jpg","galleries_id":475342,"server_id":1,"link":"photo_9018922.html","width":130,"caption":"British Summer Pleasures","height":62});
															thumbnails[9018924] = clik.newPhoto({"id":9018924,"src":"Close_in_156385EB-24E8-5EC4-4FE869775C458843_thumb.jpg","galleries_id":475342,"server_id":1,"link":"photo_9018924.html","width":130,"caption":"Close in","height":130});
															thumbnails[9018925] = clik.newPhoto({"id":9018925,"src":"Cloudy_over_Avebury_156429DE-24E8-5EC4-4F58B997FE3BA192_thumb.jpg","galleries_id":475342,"server_id":1,"link":"photo_9018925.html","width":130,"caption":"Cloudy over Avebury","height":218});
															thumbnails[9018926] = clik.newPhoto({"id":9018926,"src":"Downtown_or_Highclere_1564BF65-24E8-5EC4-4F76714346BF4751_thumb.jpg","galleries_id":475342,"server_id":1,"link":"photo_9018926.html","width":130,"caption":"Downtown or Highclere","height":75});
															thumbnails[9018927] = clik.newPhoto({"id":9018927,"src":"Fast_Exit_15655290-24E8-5EC4-4F2BB54E848993E2_thumb.jpg","galleries_id":475342,"server_id":1,"link":"photo_9018927.html","width":130,"caption":"Fast Exit","height":104});
															thumbnails[9018928] = clik.newPhoto({"id":9018928,"src":"Fast_Fury_1565D9E2-24E8-5EC4-4F12CE6B377094A0_thumb.jpg","galleries_id":475342,"server_id":1,"link":"photo_9018928.html","width":130,"caption":"Fast Fury","height":63});
															thumbnails[9018929] = clik.newPhoto({"id":9018929,"src":"Future_Flight_15667D52-24E8-5EC4-4F1F5E38F6FDFCAB_thumb.jpg","galleries_id":475342,"server_id":1,"link":"photo_9018929.html","width":130,"caption":"Future Flight","height":64});
															thumbnails[9018931] = clik.newPhoto({"id":9018931,"src":"Grey_Day_15670F3C-24E8-5EC4-4F4800178EE33D0D_thumb.jpg","galleries_id":475342,"server_id":1,"link":"photo_9018931.html","width":130,"caption":"Grey Day","height":73});
															thumbnails[9018933] = clik.newPhoto({"id":9018933,"src":"Hawkers_both_1567B1FA-24E8-5EC4-4FAEB72E7A5819AD_thumb.jpg","galleries_id":475342,"server_id":1,"link":"photo_9018933.html","width":130,"caption":"Hawkers both","height":87});
															thumbnails[9018934] = clik.newPhoto({"id":9018934,"src":"Hove_Vista_15686791-24E8-5EC4-4F5E4BF36CB09684_thumb.jpg","galleries_id":475342,"server_id":1,"link":"photo_9018934.html","width":130,"caption":"Hove Vista","height":68});
															thumbnails[9018935] = clik.newPhoto({"id":9018935,"src":"Hunter_Pack_156917B3-24E8-5EC4-4F98D8E6962D8A0C_thumb.jpg","galleries_id":475342,"server_id":1,"link":"photo_9018935.html","width":130,"caption":"Hunter Pack","height":87});
															thumbnails[9018936] = clik.newPhoto({"id":9018936,"src":"Hunter_Rainbow_1569D3F5-24E8-5EC4-4F6A9424C5D2BA4B_thumb.jpg","galleries_id":475342,"server_id":1,"link":"photo_9018936.html","width":130,"caption":"Hunter Rainbow","height":194});
															thumbnails[9018937] = clik.newPhoto({"id":9018937,"src":"Hunter_Rainbow_2_156A5CBA-24E8-5EC4-4F09F1AD3E360398_thumb.jpg","galleries_id":475342,"server_id":1,"link":"photo_9018937.html","width":130,"caption":"Hunter Rainbow 2","height":87});
															thumbnails[9018938] = clik.newPhoto({"id":9018938,"src":"Hunting_colors_156B7468-24E8-5EC4-4F4D78E2B588AB0B_thumb.jpg","galleries_id":475342,"server_id":1,"link":"photo_9018938.html","width":130,"caption":"Hunting colors","height":131});
															thumbnails[9018940] = clik.newPhoto({"id":9018940,"src":"Intimidation_156C3DB8-24E8-5EC4-4F1A7536D7FB4BF7_thumb.jpg","galleries_id":475342,"server_id":1,"link":"photo_9018940.html","width":130,"caption":"Intimidation","height":173});
															thumbnails[9018941] = clik.newPhoto({"id":9018941,"src":"Lillies_156CCE6F-24E8-5EC4-4FCAE2551063BD87_thumb.jpg","galleries_id":475342,"server_id":1,"link":"photo_9018941.html","width":130,"caption":"Lillies","height":117});
															thumbnails[9018943] = clik.newPhoto({"id":9018943,"src":"London_Resident_156D8C4F-24E8-5EC4-4F53E04FEE06B1C4_thumb.jpg","galleries_id":475342,"server_id":1,"link":"photo_9018943.html","width":130,"caption":"London Resident","height":107});
															thumbnails[9018944] = clik.newPhoto({"id":9018944,"src":"Londoners_156E350F-24E8-5EC4-4FB96B43F2298E5D_thumb.jpg","galleries_id":475342,"server_id":1,"link":"photo_9018944.html","width":130,"caption":"Londoners","height":85});
															thumbnails[9018948] = clik.newPhoto({"id":9018948,"src":"Moonlight_on_South_Bank_156EEB02-24E8-5EC4-4F90B270F021EB12_thumb.jpg","galleries_id":475342,"server_id":1,"link":"photo_9018948.html","width":130,"caption":"Moonlight on South Bank","height":63});
															thumbnails[9018950] = clik.newPhoto({"id":9018950,"src":"Obstructing_Traffic_156F8637-24E8-5EC4-4F02FE8A7F2D5B02_thumb.jpg","galleries_id":475342,"server_id":1,"link":"photo_9018950.html","width":130,"caption":"Obstructing Traffic","height":91});
															thumbnails[9018952] = clik.newPhoto({"id":9018952,"src":"Organ_of_Hungerford_15702D38-24E8-5EC4-4F892DCEFB6A6698_thumb.jpg","galleries_id":475342,"server_id":1,"link":"photo_9018952.html","width":130,"caption":"Organ of Hungerford","height":64});
															thumbnails[9018954] = clik.newPhoto({"id":9018954,"src":"Protest_1570CADD-24E8-5EC4-4F687EF630EAFB30_thumb.jpg","galleries_id":475342,"server_id":1,"link":"photo_9018954.html","width":130,"caption":"Protest","height":98});
															thumbnails[9018956] = clik.newPhoto({"id":9018956,"src":"roof_rooster_157197C7-24E8-5EC4-4FD5B36ABD4CA25B_thumb.jpg","galleries_id":475342,"server_id":1,"link":"photo_9018956.html","width":130,"caption":"roof rooster","height":98});
															thumbnails[9018960] = clik.newPhoto({"id":9018960,"src":"Simple_Pleasure_15723C13-24E8-5EC4-4F2F2780B9320AD6_thumb.jpg","galleries_id":475342,"server_id":1,"link":"photo_9018960.html","width":130,"caption":"Simple Pleasure","height":241});
															thumbnails[9018963] = clik.newPhoto({"id":9018963,"src":"Smile_Guys_1572EE4E-24E8-5EC4-4F26275B2BC3AD60_thumb.jpg","galleries_id":475342,"server_id":1,"link":"photo_9018963.html","width":130,"caption":"Smile Guys","height":98});
															thumbnails[9018965] = clik.newPhoto({"id":9018965,"src":"Somewhere_Southern_England_1573803F-24E8-5EC4-4F734F7D5BCF74D6_thumb.jpg","galleries_id":475342,"server_id":1,"link":"photo_9018965.html","width":130,"caption":"Somewhere Southern England","height":71});
															thumbnails[9018967] = clik.newPhoto({"id":9018967,"src":"stairway_to_enlightenment_Ashmolean_1574334A-24E8-5EC4-4F4B3B475B4699DB_thumb.jpg","galleries_id":475342,"server_id":1,"link":"photo_9018967.html","width":130,"caption":"stairway to enlightenment Ashmolean","height":326});
															thumbnails[9018969] = clik.newPhoto({"id":9018969,"src":"Venerable__1574C4F5-24E8-5EC4-4F3AE1397EF3D435_thumb.jpg","galleries_id":475342,"server_id":1,"link":"photo_9018969.html","width":130,"caption":"Venerable ","height":77});
															thumbnails[9018972] = clik.newPhoto({"id":9018972,"src":"View_from_Beacon_Hill_15758493-24E8-5EC4-4F0348BA099B13A4_thumb.jpg","galleries_id":475342,"server_id":1,"link":"photo_9018972.html","width":130,"caption":"View from Beacon Hill","height":72});
															thumbnails[9018975] = clik.newPhoto({"id":9018975,"src":"Vulcan_approach_15761F32-24E8-5EC4-4FAAA3ACA5F7C45C_thumb.jpg","galleries_id":475342,"server_id":1,"link":"photo_9018975.html","width":130,"caption":"Vulcan approach","height":67});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[475342] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Images of Travel in 2011","link":"gallery_475342.html","maxRecords":0.0,"photoIDs":[9018914.0,9018915.0,9018916.0,9018918.0,9018919.0,9018920.0,9018922.0,9018924.0,9018925.0,9018926.0,9018927.0,9018928.0,9018929.0,9018931.0,9018933.0,9018934.0,9018935.0,9018936.0,9018937.0,9018938.0,9018940.0,9018941.0,9018943.0,9018944.0,9018948.0,9018950.0,9018952.0,9018954.0,9018956.0,9018960.0,9018963.0,9018965.0,9018967.0,9018969.0,9018972.0,9018975.0],"skipIndex":0,"section_code":"gallery","featured_images":"9018975,9018972,9018969,9018967,9018965,9018963,9018960,9018956,9018954,9018952","id":475342,"singleSection":false});				  						galleries[333122] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Winter 2010","link":"gallery_333122.html","maxRecords":0.0,"photoIDs":[5901005.0,5901085.0,5901100.0,5901449.0,5901464.0,5901470.0,5901524.0,5901578.0,5901696.0,5901704.0,5901740.0,5901768.0],"skipIndex":0,"section_code":"gallery","featured_images":"5901768,5901740,5901704,5901696,5901578,5901524,5901470,5901464,5901449,5901100","id":333122,"singleSection":false});				  						galleries[368403] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Goodwood Revival","link":"gallery_368403.html","maxRecords":0.0,"photoIDs":[6767044.0,6767056.0,6767494.0,6767502.0,6767515.0,6767523.0],"skipIndex":0,"section_code":"gallery","featured_images":"6767523,6767515,6767502,6767494,6767056,6767044","id":368403,"singleSection":false});				  						galleries[282214] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Corporate project","link":"gallery_282214.html","maxRecords":0.0,"photoIDs":[4964373.0,4964375.0,4964377.0,4964380.0,4964382.0,4964385.0,4964388.0,4964399.0,4964401.0,4964403.0,4964405.0,4964412.0,4964415.0,4964467.0,4964474.0],"skipIndex":0,"section_code":"gallery","featured_images":4964373.0,"id":282214,"singleSection":false});				  						galleries[256376] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Hebridean visit","link":"gallery_256376.html","maxRecords":0.0,"photoIDs":[4362425.0,4363905.0,4363934.0,4841290.0,4841293.0,4841296.0,4841298.0,4841299.0,4841303.0,4841306.0,4841314.0,4841325.0,4841330.0,4841345.0,4841354.0,4843361.0,4843364.0,4843368.0,4843372.0,4843689.0,4843708.0,4843717.0,4843754.0,4843773.0,4843805.0,4844383.0,4844389.0,4844395.0,4844400.0,4844410.0,4844420.0,4844431.0,4844441.0,4844457.0,4844467.0,4844472.0,4844479.0,4844490.0,4844500.0,4844517.0,4844549.0,4870549.0,4363950.0,4363960.0,4364009.0,4363943.0,4363901.0],"skipIndex":0,"section_code":"gallery","featured_images":4841345.0,"id":256376,"singleSection":false});				  						galleries[355707] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Hebrides 2010","link":"gallery_355707.html","maxRecords":0.0,"photoIDs":[6447015.0,6447020.0,6447021.0,6449947.0,6449954.0,6449957.0,6449984.0,6450199.0],"skipIndex":0,"section_code":"gallery","featured_images":6449947.0,"id":355707,"singleSection":false});				  						galleries[260136] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Turville black and white","link":"gallery_260136.html","maxRecords":0.0,"photoIDs":[4449638.0,4449662.0,4449672.0,4449679.0,4449685.0],"skipIndex":0,"section_code":"gallery","featured_images":"4449685,4449679,4449672,4449662,4449638","id":260136,"singleSection":false});				  						galleries[196015] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"August to November 08","link":"gallery_196015.html","maxRecords":0.0,"photoIDs":[3206891.0,3207056.0,3207383.0,3207385.0,3207389.0,3207390.0,3207391.0],"skipIndex":0,"section_code":"gallery","featured_images":"3207391,3207390,3207389,3207385,3207383,3207056,3206891","id":196015,"singleSection":false});				  						galleries[47681] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"First Contact","link":"gallery_47681.html","maxRecords":0.0,"photoIDs":[623654.0,623655.0,623665.0,623675.0,623677.0,623682.0,623684.0,625396.0,625566.0,625579.0],"skipIndex":0,"section_code":"gallery","featured_images":"625579,625566,625396,623684,623682,623677,623675,623665,623655,623654","id":47681,"singleSection":false});				  						galleries[118192] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Thankyou Marlow","link":"gallery_118192.html","maxRecords":0.0,"photoIDs":[1759789.0,1759790.0,1759792.0,1759795.0,1759801.0,1759807.0,1759813.0,1759814.0,1759815.0,1759818.0,1759819.0,1759820.0,1759821.0,1759822.0,1759823.0,1759824.0,1759828.0,1759841.0,1759846.0,1759848.0,1759850.0,1759857.0,1759858.0,1759859.0,1759864.0,1759868.0,1759870.0,1759881.0,1759884.0,1759886.0,1759890.0,1759892.0,1759895.0,1759900.0,1759902.0,1759913.0,1759915.0,1759917.0,1759921.0,1759928.0,1759931.0,1759937.0,1759939.0,1759940.0,1759944.0,1759946.0,1759947.0,1759948.0,1759956.0,1761463.0,1761478.0],"skipIndex":0,"section_code":"gallery","featured_images":1759789.0,"id":118192,"singleSection":false});				  						galleries[150936] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"2008 images","link":"gallery_150936.html","maxRecords":0.0,"photoIDs":[2262293.0,2262307.0,2262324.0,2262414.0,2262642.0,2262645.0,2262650.0,2262698.0,2306853.0,2655901.0],"skipIndex":0,"section_code":"gallery","featured_images":2655901.0,"id":150936,"singleSection":false});				  						galleries[195773] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Glen Clova Dec 08","link":"gallery_195773.html","maxRecords":0.0,"photoIDs":[3202656.0,3202674.0,3202679.0,3202727.0,3202798.0],"skipIndex":0,"section_code":"gallery","featured_images":"3202798,3202727,3202679,3202674,3202656","id":195773,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '6449984,6449947,5901740,5901704,4964373,4841345,4841330';
imageSets[2] = '6449947,4964373,4841345,2655901,1759789';
imageSets[3] = '4841345,3202674,3202656';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/alba1234/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/alba1234/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/alba1234/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/alba1234/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/alba1234/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/alba1234/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/alba1234/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/alba1234/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/alba1234/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/alba1234/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/alba1234/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/alba1234/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/alba1234/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/alba1234/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/alba1234/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/alba1234/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/alba1234/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/alba1234/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/alba1234/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/alba1234/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/alba1234/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/alba1234/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/alba1234/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/alba1234/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/alba1234/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/alba1234/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/alba1234/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 = 'Albafoto.co.uk: ' + photoCaption;
			    }
        if (op.$detail.length > 0) {
      	temp = op.nextPhoto.fnGetImageDetails();
	    op.$detail.fadeGalleryDetails(temp, op.speed, function(){
			if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
				toggleAddToCartConfirm(backgrounds, op.$detail);
			} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
				toggleAddToCartConfirm(photos, op.$detail);
			}
			$('body').trigger('clikUpdate.popup');
	    });
    }
        $(op.$detailContainer).find('.replaceable[class*=replaceable_photo-]').each(function(){
    	var field = clik.getPrefixedClass(this.className, 'replaceable_photo-');
    	if (field in op.nextPhoto) {
    		$(this).fadeGalleryDetails(op.nextPhoto[field], op.speed);
    	}
    }).end().find('.replaceable.photoPayment').fadeGalleryDetails(op.nextPhoto.fnGetPaymentInfo(), op.speed, function(){
		if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
			toggleAddToCartConfirm(backgrounds, op.$detailContainer);
		} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
			toggleAddToCartConfirm(photos, op.$detailContainer);
		}
		$('body').trigger('clikUpdate.popup');
	});
		if (op.$photo.length > 0) {
		html = $('<img/>',{
			'class': 'mainphoto photo',
			src: photoSrc,
			id: 'mainPic',
			name: 'mainPic',
			width: op.nextPhoto.width,
			height: op.nextPhoto.height,
			alt: photoCaption,
			css: op.css || {}
		});
		if (op.href) {
			if (op.href.match(/<a/)) {
				html = $(op.href).append(html);
			} else {
				html = $('<a/>', {
					href: op.href,
					title: photoCaption
				}).append(html);
			}
		} else {
			html = $('<a/>', {
				title: photoCaption
			}).append(html);
		}
		if (op.speed == 0) {			op.$photo.html(html);			if (op.onBefore) {			  	op.onBefore.apply(op.$photo);			}			if (op.onAfter) {			  	op.onAfter.apply(op.$photo);			}		} else {			op.$photo.stop(true,true).fadeReplaceWith(html,op.speed,'',function(){  				if (op.onAfter) {				  	op.onAfter.apply(this);				}				clik.doColumnResize(false, $(this).add(op.$detail).add(op.$title));			}, op.onBefore);
		}	}
    if (op.field) {
		op.field.value = photoId;
	} else {
		op.$photo.data('image_id', photoId);
    }
        if (!op.speed) {
      	clik.doColumnResize(false, op.$photo.add(op.$detail).add(op.$title));
    }
        
    return html;
	}

/***************************************************************************
* Toggle add to cart confirmation element and set up the click event for   *
* the 'Add to cart' button.                                                *
***************************************************************************/
function toggleAddToCartConfirm(array, root){
	if (typeof(array) !== 'object' || array === null) {
	  	array = photos;
	}
	if (!$(root).length) {		root = $('body');	}	if($('#paymentConfirm', root).length > 0){
		$('#paymentConfirm', root).hide();
		$('#paymentAddButton', root)
		.unbind()
		.click(function(){
						form = $('#paymentForm', root)[0];
			option_id = 0;
			if(form.item_option.value){
				option_id = form.item_option.value;
			}
			if(addItemToBasket(form.item_number.value,array,form.site.value,parseInt(form.quantity.value, 10),option_id)){
				if($.browser.msie){$('#paymentConfirm', root).text('Item added to cart').show();}
				else{
					$('#paymentConfirm', root).text('Item added to cart').fadeIn();
					dspOrderDetails(form.site.value);
				}
			}
			else{
				$('#paymentConfirm', root).text('Item not added - check cookies are enabled in your browser.').fadeIn();
			}
		});
	}
}

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetImageDetails = function(){
	var temp = '';
	if (this.description != '') {
		temp +=  '<div id="imageDescription">' + this.description + '</div>';
	}
		if (this.photo_ref != '') {
		temp += '<div class="imageinfo" id="imageRef"><strong>Ref: </strong>' + this.photo_ref + '</div>';
	}
		if (this.takendate != '') {
		
		temp += '<div class="imageinfo" id="imageDate"><strong>Date: </strong>' + this.takendate + '</div>';
	}
	
	if (this.location != '') {
		
		temp += '<div class="imageinfo" id="imageLocation"><strong>Location: </strong>' +  this.location + '</div>';
	}
	
	if (this.photographer != '') {
		
		temp += '<div class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>' + this.photographer + '</div>';
	}
				
				if (temp != '') {
		temp += '<div class="spacer"></div>';
	}
	return temp;
};

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetPaymentInfo = function(){
	var temp = '';
	if (this.item_price !== '') {
				temp += '<p>Order this print:</p>';
				temp += '<div class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> ' + (this.item_price).toFixed(2) + '</div>';
		var item_name  = this.purchase_instruction;
		var amount = (this.item_price).toFixed(2);
		var item_option  = 0;
	}
		else {
		
	}
	if (this.item_price !== '') {
			temp += '<div class="clearing">&nbsp;</div>';
	}
	return temp;};

/***************************************************************************
* Pick a photo at random from the featured images of a gallery.            *
* Gallery_id = id of gallery to choose,                                    *
* img = reference to html image in                                         *
* which to show image                                                      *
***************************************************************************/
function showGalleryImage(gallery_id, img, updateLink) {
	
	if(img){
		if (location.hash.match('galleries_id=' + gallery_id) && (imageID = location.hash.match('.*photos_id=(.+)$'))) {
		  	imageID = imageID[1];
		} else {
		  	imageID = randomListVal(galleries[gallery_id].featured_images);
		}
		
		if (imageID != 0) {
			img.src = thumbnails[imageID].src;
			img.width = thumbnails[imageID].width;
			img.height = thumbnails[imageID].height;
			img.alt = galleries[gallery_id].title;
			if (updateLink) {
				$(img).parent().attr({					title: galleries[gallery_id].title				}).filter(function(){return this.href;}).attr({					href: thumbnails[imageID].fnGalleryLink(gallery_id)				});
			}
		}
	}
}

/***************************************************************************
* If we have dynamic HTML, replace the galleries link with a list that     *
* doesn't include thecurrent gallery                                       *
***************************************************************************/
function showGalleries(gallery_id) {
		
	
	if (!basic) {
		temp = '';
		for (i = 0; i < galleries.length; i++) {
						
			
			if (galleries[i].id != gallery_id) {
								
				if (temp != '') {
					temp += ' | ';
				}
								temp += '<a href="' + galleries[i].section_code + '_' + galleries[i].id + '.html">' + galleries[i].title + '</a>';
							}
		}
		document.all.galleryLinks.innerHTML = 'Other galleries: ' + temp;
	}
}

			

