window.thumbnails = {};
															thumbnails[2465260] = clik.newPhoto({"id":2465260,"src":"elien-web_thumb.jpg","galleries_id":102036,"server_id":1,"link":"photo_2465260.html","width":130,"caption":"She's got her dad's eyes.","height":103});
															thumbnails[1949755] = clik.newPhoto({"id":1949755,"src":"mandogbw-spNN10x8web_thumb.jpg","galleries_id":175684,"server_id":1,"link":"photo_1949755.html","width":130,"caption":"Mog","height":108});
															thumbnails[3509026] = clik.newPhoto({"id":3509026,"src":"DUNE-SUNSET-0109WEB_thumb.jpg","galleries_id":102712,"server_id":1,"link":"photo_3509026.html","width":130,"caption":"Dune Sunset.","height":94});
															thumbnails[5811532] = clik.newPhoto({"id":5811532,"src":"tiger-portrait-3tears-mono--sp-web_thumb.jpg","galleries_id":175684,"server_id":1,"link":"photo_5811532.html","width":96,"caption":"Crying Tiger","height":130});
															thumbnails[7371462] = clik.newPhoto({"id":7371462,"src":"rainy-day-spweb_thumb.jpg","galleries_id":104287,"server_id":1,"link":"photo_7371462.html","width":160,"caption":"Rainy day","height":107});
															thumbnails[8852129] = clik.newPhoto({"id":8852129,"src":"owe_thumb.jpg","galleries_id":102039,"server_id":1,"link":"photo_8852129.html","width":160,"caption":"Eyes of an Eagle Owl","height":107});
															thumbnails[2810153] = clik.newPhoto({"id":2810153,"src":"arranrippled106spweb_thumb.jpg","galleries_id":102712,"server_id":1,"link":"photo_2810153.html","width":130,"caption":"Rippled pool sunset.","height":90});
															thumbnails[3047984] = clik.newPhoto({"id":3047984,"src":"blackpool-fireworks-spweb_thumb.jpg","galleries_id":104287,"server_id":1,"link":"photo_3047984.html","width":130,"caption":"Blackpool Fireworks.","height":94});
															thumbnails[3888503] = clik.newPhoto({"id":3888503,"src":"wewelsberg-castle-mono-uswe_thumb.jpg","galleries_id":175684,"server_id":1,"link":"photo_3888503.html","width":130,"caption":"Wewelsburg Castle.","height":99});
															thumbnails[4159582] = clik.newPhoto({"id":4159582,"src":"wewelsberg-castle-andbox-mo_thumb.jpg","galleries_id":175684,"server_id":1,"link":"photo_4159582.html","width":130,"caption":"Wewelsburg Castle.(from the sentry box)","height":88});
															thumbnails[5036584] = clik.newPhoto({"id":5036584,"src":"lendalfoot-rock-10x6-spnnwe_thumb.jpg","galleries_id":462689,"server_id":1,"link":"photo_5036584.html","width":160,"caption":"Lendalfoot sunset.","height":108});
															thumbnails[6142934] = clik.newPhoto({"id":6142934,"src":"arran-sunsetrippled-0510a4sp-web_thumb.jpg","galleries_id":102712,"server_id":1,"link":"photo_6142934.html","width":130,"caption":"Apocalypse","height":96});
															thumbnails[8095790] = clik.newPhoto({"id":8095790,"src":"gannet-6-160511-nn-10x6-darkendweb_thumb.jpg","galleries_id":102039,"server_id":1,"link":"photo_8095790.html","width":160,"caption":"Ganett","height":96});
															thumbnails[2111806] = clik.newPhoto({"id":2111806,"src":"snowdaffodil12x6spweb_thumb.jpg","galleries_id":104287,"server_id":1,"link":"photo_2111806.html","width":130,"caption":"An Easter Daffodil.","height":101});
															thumbnails[2266003] = clik.newPhoto({"id":2266003,"src":"silverfrontportraitsptagweb_thumb.jpg","galleries_id":102039,"server_id":1,"link":"photo_2266003.html","width":130,"caption":"Silver.","height":98});
															thumbnails[3137269] = clik.newPhoto({"id":3137269,"src":"lone-boat-spweb_thumb.jpg","galleries_id":462689,"server_id":1,"link":"photo_3137269.html","width":160,"caption":"Anchored in the bay.","height":221});
															thumbnails[3295643] = clik.newPhoto({"id":3295643,"src":"beth-and-apple-spweb_thumb.jpg","galleries_id":102036,"server_id":1,"link":"photo_3295643.html","width":130,"caption":"... and you eat this!","height":94});
															thumbnails[3358544] = clik.newPhoto({"id":3358544,"src":"riga-dudes-sp-monoweb_thumb.jpg","galleries_id":175684,"server_id":1,"link":"photo_3358544.html","width":130,"caption":"waiting for my skin to fall off...","height":104});
															thumbnails[7573407] = clik.newPhoto({"id":7573407,"src":"boat-ripples-at-ardfern-sp-nn-web_thumb.jpg","galleries_id":462689,"server_id":1,"link":"photo_7573407.html","width":160,"caption":"Ardfern sail","height":107});
															thumbnails[2048512] = clik.newPhoto({"id":2048512,"src":"vampire-ellie-spwebcut1_thumb.jpg","galleries_id":102036,"server_id":1,"link":"photo_2048512.html","width":130,"caption":"My wee monster","height":98});
															thumbnails[5036497] = clik.newPhoto({"id":5036497,"src":"pano-rtgc-1st-tee-32x12-cro_thumb.jpg","galleries_id":462686,"server_id":1,"link":"photo_5036497.html","width":160,"caption":"1st championship Tee View.","height":60});
															thumbnails[7068266] = clik.newPhoto({"id":7068266,"src":"ellie-beth-cregan-sunset2-2010a4-spweb_thumb.jpg","galleries_id":102712,"server_id":1,"link":"photo_7068266.html","width":160,"caption":"sisters in the sun","height":216});
															thumbnails[8444940] = clik.newPhoto({"id":8444940,"src":"bamburgh-flower-spa4web_thumb.jpg","galleries_id":104287,"server_id":1,"link":"photo_8444940.html","width":160,"caption":"summer","height":119});
															thumbnails[2164472] = clik.newPhoto({"id":2164472,"src":"beach-bumsa4spweb_thumb.jpg","galleries_id":102036,"server_id":1,"link":"photo_2164472.html","width":130,"caption":"Chips.---FINALIST IN PORTRAIT OF SCOTLAND COMPETITION.","height":103});
															thumbnails[2265979] = clik.newPhoto({"id":2265979,"src":"harrissptagweb_thumb.jpg","galleries_id":102039,"server_id":1,"link":"photo_2265979.html","width":130,"caption":"Harris Hawk.","height":92});
															thumbnails[2810276] = clik.newPhoto({"id":2810276,"src":"newton-arran-sunsetcomposit_thumb.jpg","galleries_id":102712,"server_id":1,"link":"photo_2810276.html","width":130,"caption":"Setting rays of the Sun.","height":95});
															thumbnails[3205067] = clik.newPhoto({"id":3205067,"src":"el-at-shelter-mono-spa4_thumb..jpg","galleries_id":175684,"server_id":1,"link":"photo_3205067.html","width":100,"caption":"Shelter.","height":130});
															thumbnails[8787421] = clik.newPhoto({"id":8787421,"src":"quirang-1011-2--12x8spcurveweb_thumb.jpg","galleries_id":462692,"server_id":1,"link":"photo_8787421.html","width":160,"caption":"View from Quiraing to the Staffin Bay","height":107});
															thumbnails[9023067] = clik.newPhoto({"id":9023067,"src":"maskssp2012shadow_thumb.jpg","galleries_id":200910,"server_id":1,"link":"photo_9023067.html","width":160,"caption":"Who am i today","height":107});
															thumbnails[1524878] = clik.newPhoto({"id":1524878,"src":"even-statues-get-boredaltwe_thumb.jpg","galleries_id":104287,"server_id":1,"link":"photo_1524878.html","width":130,"caption":"Fed up.","height":87});
															thumbnails[2465251] = clik.newPhoto({"id":2465251,"src":"sailing-sunsetarran-106-spw_thumb.jpg","galleries_id":102712,"server_id":1,"link":"photo_2465251.html","width":130,"caption":"Sunset sailing.","height":93});
															thumbnails[3047989] = clik.newPhoto({"id":3047989,"src":"night-clubhouse-spnna4web_thumb.jpg","galleries_id":101759,"server_id":1,"link":"photo_3047989.html","width":160,"caption":"Moon Over Clubhouse.","height":123});
															thumbnails[5036602] = clik.newPhoto({"id":5036602,"src":"sparrow-hawk-ppweb_thumb.jpg","galleries_id":102039,"server_id":1,"link":"photo_5036602.html","width":130,"caption":"Sparrowhawk.","height":95});
															thumbnails[5166464] = clik.newPhoto({"id":5166464,"src":"great-glen-mono-spweb_thumb.jpg","galleries_id":175684,"server_id":1,"link":"photo_5166464.html","width":130,"caption":"Great Glen Shelter.","height":95});
															thumbnails[7050821] = clik.newPhoto({"id":7050821,"src":"clubhouse-npg-in-snow10-spweb_thumb.jpg","galleries_id":101759,"server_id":1,"link":"photo_7050821.html","width":160,"caption":"Medals' cancelled.","height":107});
															thumbnails[7239488] = clik.newPhoto({"id":7239488,"src":"snow-ball-bush-a4-sp-10web_thumb.jpg","galleries_id":104287,"server_id":1,"link":"photo_7239488.html","width":160,"caption":"Snowball bush","height":119});
															thumbnails[7239500] = clik.newPhoto({"id":7239500,"src":"snow-cone-tree-a4-spweb_thumb.jpg","galleries_id":104287,"server_id":1,"link":"photo_7239500.html","width":160,"caption":"Ice cone ","height":216});
															thumbnails[1501809] = clik.newPhoto({"id":1501809,"src":"tigerbackblurred-bgaltweb_thumb.jpg","galleries_id":102039,"server_id":1,"link":"photo_1501809.html","width":130,"caption":"Tigerback","height":98});
															thumbnails[1541425] = clik.newPhoto({"id":1541425,"src":"prayerweb2_thumb.jpg","galleries_id":104287,"server_id":1,"link":"photo_1541425.html","width":104,"caption":"Prayer.","height":130});
															thumbnails[4865014] = clik.newPhoto({"id":4865014,"src":"bird-sunset-spweb_thumb.jpg","galleries_id":102712,"server_id":1,"link":"photo_4865014.html","width":130,"caption":"Floating in the sunset.","height":95});
															thumbnails[1731686] = clik.newPhoto({"id":1731686,"src":"clubhousepg24x12web_thumb.jpg","galleries_id":101759,"server_id":1,"link":"photo_1731686.html","width":130,"caption":"Old Course clubhouse","height":65});
															thumbnails[7068262] = clik.newPhoto({"id":7068262,"src":"castle-stalker-sp-2010-web_thumb.jpg","galleries_id":462689,"server_id":1,"link":"photo_7068262.html","width":160,"caption":"Castle Stalker","height":107});
															thumbnails[1502114] = clik.newPhoto({"id":1502114,"src":"the-cobbleraltframeweb_thumb.jpg","galleries_id":103202,"server_id":1,"link":"photo_1502114.html","width":160,"caption":"The Cobbler","height":133});
															thumbnails[1610031] = clik.newPhoto({"id":1610031,"src":"kelvin-statueweb2_thumb.jpg","galleries_id":104287,"server_id":1,"link":"photo_1610031.html","width":93,"caption":"Modesty","height":130});
															thumbnails[7068252] = clik.newPhoto({"id":7068252,"src":"arran-sunset-reflection-spcrnnweb1_thumb.jpg","galleries_id":102712,"server_id":1,"link":"photo_7068252.html","width":160,"caption":"reflection","height":107});
															thumbnails[9022987] = clik.newPhoto({"id":9022987,"src":"berlin-train-station-dec2011-sp900_thumb.jpg","galleries_id":200910,"server_id":1,"link":"photo_9022987.html","width":160,"caption":"Berlin by train","height":239});
															thumbnails[2002914] = clik.newPhoto({"id":2002914,"src":"decksorted12x8crsptweb_thumb.jpg","galleries_id":102036,"server_id":1,"link":"photo_2002914.html","width":130,"caption":"Sun bathing in October","height":95});
															thumbnails[2164502] = clik.newPhoto({"id":2164502,"src":"beachsilorays10x6spsatweb_thumb.jpg","galleries_id":462689,"server_id":1,"link":"photo_2164502.html","width":160,"caption":"Dog walkers .","height":108});
															thumbnails[5811510] = clik.newPhoto({"id":5811510,"src":"tiger-portrait-sp-cr--web_thumb.jpg","galleries_id":102039,"server_id":1,"link":"photo_5811510.html","width":90,"caption":"Tiger","height":130});
															thumbnails[6409746] = clik.newPhoto({"id":6409746,"src":"midsum10-fire-spweb_thumb.jpg","galleries_id":103202,"server_id":1,"link":"photo_6409746.html","width":130,"caption":"midsummer 2010.1","height":87});
															thumbnails[7805290] = clik.newPhoto({"id":7805290,"src":"kelvingrove-spnn-09web_thumb.jpg","galleries_id":104287,"server_id":1,"link":"photo_7805290.html","width":160,"caption":"Kelvingrove Museum","height":241});
															thumbnails[1911182] = clik.newPhoto({"id":1911182,"src":"suftsunset-web_thumb.jpg","galleries_id":102712,"server_id":1,"link":"photo_1911182.html","width":130,"caption":"Winter sunset","height":92});
															thumbnails[3137278] = clik.newPhoto({"id":3137278,"src":"ben-vein-spcropweb_thumb.jpg","galleries_id":103202,"server_id":1,"link":"photo_3137278.html","width":130,"caption":"Ben Vane.","height":94});
															thumbnails[2810205] = clik.newPhoto({"id":2810205,"src":"AILSA-SHOREspweb_thumb.jpg","galleries_id":462689,"server_id":1,"link":"photo_2810205.html","width":160,"caption":"Ailsa storm.","height":117});
															thumbnails[5811500] = clik.newPhoto({"id":5811500,"src":"red-squirrelweb_thumb.jpg","galleries_id":102039,"server_id":1,"link":"photo_5811500.html","width":130,"caption":"Red squirrel.","height":87});
															thumbnails[1475413] = clik.newPhoto({"id":1475413,"src":"clubhousewithoutshield-A4al_thumb.jpg","galleries_id":101759,"server_id":1,"link":"photo_1475413.html","width":130,"caption":"Royal Troon G.C. Clubhouse","height":99});
															thumbnails[2810295] = clik.newPhoto({"id":2810295,"src":"b17frontweb_thumb.jpg","galleries_id":104287,"server_id":1,"link":"photo_2810295.html","width":130,"caption":"Liberty belle B17 (front ).","height":94});
															thumbnails[3241597] = clik.newPhoto({"id":3241597,"src":"cornish-hill-a4-spweb_thumb.jpg","galleries_id":103202,"server_id":1,"link":"photo_3241597.html","width":130,"caption":"Cornish Hill.","height":100});
															thumbnails[6181063] = clik.newPhoto({"id":6181063,"src":"weasel3-june2010-spweb_thumb.jpg","galleries_id":102039,"server_id":1,"link":"photo_6181063.html","width":130,"caption":"Least Weasel 1(Mustela nivalis)","height":87});
															thumbnails[7371156] = clik.newPhoto({"id":7371156,"src":"beth-portrait-0111-sp-monowebv_thumb.jpg","galleries_id":102036,"server_id":1,"link":"photo_7371156.html","width":160,"caption":"Beth","height":107});
															thumbnails[8095885] = clik.newPhoto({"id":8095885,"src":"bealach-hunter-bridge-0311-2mono-spweb_thumb.jpg","galleries_id":175684,"server_id":1,"link":"photo_8095885.html","width":160,"caption":"Grey bridge","height":107});
															thumbnails[1819884] = clik.newPhoto({"id":1819884,"src":"boys-in-the-spray-monoweb_thumb.jpg","galleries_id":462689,"server_id":1,"link":"photo_1819884.html","width":160,"caption":"Big wave.","height":120});
															thumbnails[2810289] = clik.newPhoto({"id":2810289,"src":"b17-undersideweb_thumb.jpg","galleries_id":104287,"server_id":1,"link":"photo_2810289.html","width":130,"caption":"Liberty Belle.","height":100});
															thumbnails[3047944] = clik.newPhoto({"id":3047944,"src":"ballast-bank-mono-10x6spweb_thumb.jpg","galleries_id":175684,"server_id":1,"link":"photo_3047944.html","width":160,"caption":"Blasted Bank.","height":113});
															thumbnails[6181083] = clik.newPhoto({"id":6181083,"src":"weasel6-june2010-a4spweb_thumb.jpg","galleries_id":102039,"server_id":1,"link":"photo_6181083.html","width":130,"caption":"Least Weasel2 (Mustela nivalis)","height":96});
															thumbnails[7573398] = clik.newPhoto({"id":7573398,"src":"betn-4-hikeymono-a4spweb_thumb.jpg","galleries_id":102036,"server_id":1,"link":"photo_7573398.html","width":160,"caption":"smilier","height":119});
															thumbnails[5299829] = clik.newPhoto({"id":5299829,"src":"resorvoir-mist-a4-spweb_thumb.jpg","galleries_id":462692,"server_id":1,"link":"photo_5299829.html","width":130,"caption":"Mist on the water...","height":98});
															thumbnails[6142972] = clik.newPhoto({"id":6142972,"src":"arran-sunset-seaweed-0510-A-us-web_thumb.jpg","galleries_id":102712,"server_id":1,"link":"photo_6142972.html","width":130,"caption":"Seaweed sunset","height":87});
															thumbnails[7371416] = clik.newPhoto({"id":7371416,"src":"cheeky-euan-mono-a4-sp-10web_thumb.jpg","galleries_id":102036,"server_id":1,"link":"photo_7371416.html","width":160,"caption":"Cheeky boy","height":119});
															thumbnails[4683549] = clik.newPhoto({"id":4683549,"src":"hanover-rathaus-and-garden-_thumb.jpg","galleries_id":104287,"server_id":1,"link":"photo_4683549.html","width":130,"caption":"Hanover Rathaus.","height":89});
															thumbnails[4683559] = clik.newPhoto({"id":4683559,"src":"port-logan-sunset-10x6-spwe_thumb.jpg","galleries_id":102712,"server_id":1,"link":"photo_4683559.html","width":130,"caption":"Port Logan Sunset.","height":89});
															thumbnails[5451900] = clik.newPhoto({"id":5451900,"src":"resorvoir-mist-swim-ring-10_thumb.jpg","galleries_id":462692,"server_id":1,"link":"photo_5451900.html","width":160,"caption":"Mist on the water fire in the sky...","height":108});
															thumbnails[6767058] = clik.newPhoto({"id":6767058,"src":"asian-otter-0810-d-spcr-web_thumb.jpg","galleries_id":102039,"server_id":1,"link":"photo_6767058.html","width":160,"caption":"Asiatic Otter 1 (Aonyx cinerea), ","height":107});
															thumbnails[6767061] = clik.newPhoto({"id":6767061,"src":"asian-otter-0810-b-sp-web_thumb.jpg","galleries_id":102039,"server_id":1,"link":"photo_6767061.html","width":130,"caption":"Asian Otter 2. (Aonyx cinerea), ","height":87});
															thumbnails[7573401] = clik.newPhoto({"id":7573401,"src":"euan-0-mono-highkey-sp3x4r-web_thumb.jpg","galleries_id":102036,"server_id":1,"link":"photo_7573401.html","width":160,"caption":"Fingers","height":107});
															thumbnails[2907407] = clik.newPhoto({"id":2907407,"src":"raspberry-ripple-spa4WEB_thumb.jpg","galleries_id":102712,"server_id":1,"link":"photo_2907407.html","width":130,"caption":"Raspberry Ripple.","height":99});
															thumbnails[5299778] = clik.newPhoto({"id":5299778,"src":"glen-coe-lochan--2sp-web_thumb.jpg","galleries_id":462692,"server_id":1,"link":"photo_5299778.html","width":160,"caption":"Glen Coe Lochan.","height":114});
															thumbnails[6410010] = clik.newPhoto({"id":6410010,"src":"3rd-snow-temp-arran-spweb_thumb.jpg","galleries_id":101759,"server_id":1,"link":"photo_6410010.html","width":130,"caption":"3rd green in the snow","height":87});
															thumbnails[7805125] = clik.newPhoto({"id":7805125,"src":"euan-footin-mouth-mono-spweb1_thumb.jpg","galleries_id":102036,"server_id":1,"link":"photo_7805125.html","width":160,"caption":"tasty feet","height":107});
															thumbnails[3047987] = clik.newPhoto({"id":3047987,"src":"germdeersp10x8web_thumb.jpg","galleries_id":102039,"server_id":1,"link":"photo_3047987.html","width":130,"caption":"Oh Deer.","height":112});
															thumbnails[4022012] = clik.newPhoto({"id":4022012,"src":"maram-under-clouded-sky-cr-_thumb.jpg","galleries_id":462689,"server_id":1,"link":"photo_4022012.html","width":160,"caption":"Dune Maram.","height":119});
															thumbnails[5276306] = clik.newPhoto({"id":5276306,"src":"hanover-rathaus-inside-8x8-_thumb.jpg","galleries_id":104287,"server_id":1,"link":"photo_5276306.html","width":129,"caption":"Hanover Rathaus (inside)","height":130});
															thumbnails[5655928] = clik.newPhoto({"id":5655928,"src":"seal-peir-dornoch-area-spnn_thumb.jpg","galleries_id":462692,"server_id":1,"link":"photo_5655928.html","width":160,"caption":"Rustic pier","height":115});
															thumbnails[7371427] = clik.newPhoto({"id":7371427,"src":"euan-on-mat-260111-crsp-mono-web_thumb.jpg","galleries_id":102036,"server_id":1,"link":"photo_7371427.html","width":160,"caption":"Watching...","height":131});
															thumbnails[8095799] = clik.newPhoto({"id":8095799,"src":"euan-portrait-spa4mono-web_thumb.jpg","galleries_id":102036,"server_id":1,"link":"photo_8095799.html","width":160,"caption":"Happy?","height":119});
															thumbnails[8095969] = clik.newPhoto({"id":8095969,"src":"euan-bumble-mono-spweb_thumb.jpg","galleries_id":102036,"server_id":1,"link":"photo_8095969.html","width":160,"caption":"Humble bumble","height":239});
															thumbnails[1475267] = clik.newPhoto({"id":1475267,"src":"rip-01finishedaltweb_thumb.jpg","galleries_id":102036,"server_id":1,"link":"photo_1475267.html","width":130,"caption":"Was that me?","height":99});
															thumbnails[2465268] = clik.newPhoto({"id":2465268,"src":"stonechatsunsetweb_thumb.jpg","galleries_id":102039,"server_id":1,"link":"photo_2465268.html","width":130,"caption":"Stonechat silhouette.","height":100});
															thumbnails[2465366] = clik.newPhoto({"id":2465366,"src":"blackpool-mono-bench-sp-gra_thumb.jpg","galleries_id":175684,"server_id":1,"link":"photo_2465366.html","width":130,"caption":"A mono view of Blackpool beach.","height":99});
															thumbnails[5036415] = clik.newPhoto({"id":5036415,"src":"connich-loch-with-lone-tree_thumb.jpg","galleries_id":462692,"server_id":1,"link":"photo_5036415.html","width":160,"caption":"Lone tree.","height":122});
															thumbnails[9023041] = clik.newPhoto({"id":9023041,"src":"colditz-chapel-sp-mono-dec2011-900_thumb.jpg","galleries_id":200910,"server_id":1,"link":"photo_9023041.html","width":160,"caption":"Chapel","height":239});
															thumbnails[1666754] = clik.newPhoto({"id":1666754,"src":"5thocaltwebnew-rough-sky_thumb.jpg","galleries_id":101759,"server_id":1,"link":"photo_1666754.html","width":130,"caption":" 5th hole on Old course","height":102});
															thumbnails[3732493] = clik.newPhoto({"id":3732493,"src":"6beths-10x6spweb1_thumb.jpg","galleries_id":102036,"server_id":1,"link":"photo_3732493.html","width":130,"caption":"It only feels like this...","height":89});
															thumbnails[7805026] = clik.newPhoto({"id":7805026,"src":"skye-waterfall-near-sligaghan-sp0311_thumb.jpg","galleries_id":462692,"server_id":1,"link":"photo_7805026.html","width":160,"caption":"Eas a' Bhradain Waterfall","height":239});
															thumbnails[1559956] = clik.newPhoto({"id":1559956,"src":"ellieonthebeachaltweb_thumb.jpg","galleries_id":462689,"server_id":1,"link":"photo_1559956.html","width":160,"caption":"Summer Beach.","height":141});
															thumbnails[7239449] = clik.newPhoto({"id":7239449,"src":"luss-grave-leaf-gate-a4-spweb_thumb.jpg","galleries_id":462692,"server_id":1,"link":"photo_7239449.html","width":160,"caption":"That will keep them out....","height":216});
															thumbnails[8873700] = clik.newPhoto({"id":8873700,"src":"tree-walk-a4sp11web_thumb.jpg","galleries_id":462692,"server_id":1,"link":"photo_8873700.html","width":160,"caption":"Walk in the woods","height":216});
															thumbnails[1666765] = clik.newPhoto({"id":1666765,"src":"more-shoes-01altframeweb_thumb.jpg","galleries_id":462689,"server_id":1,"link":"photo_1666765.html","width":160,"caption":"Shoes","height":116});
															thumbnails[3242201] = clik.newPhoto({"id":3242201,"src":"loopin11th-spa4web_thumb.jpg","galleries_id":104287,"server_id":1,"link":"photo_3242201.html","width":105,"caption":"Foxglove.","height":130});
															thumbnails[3424064] = clik.newPhoto({"id":3424064,"src":"curlew-siloette-spweb1_thumb.jpg","galleries_id":102039,"server_id":1,"link":"photo_3424064.html","width":130,"caption":"Curlew ","height":95});
															thumbnails[7050924] = clik.newPhoto({"id":7050924,"src":"glen-affric-tree-2-2010spweb_thumb.jpg","galleries_id":462692,"server_id":1,"link":"photo_7050924.html","width":160,"caption":"Golden Trees","height":107});
															thumbnails[2002928] = clik.newPhoto({"id":2002928,"src":"sleepingbethweb_thumb.jpg","galleries_id":102036,"server_id":1,"link":"photo_2002928.html","width":122,"caption":"Sleeping.","height":130});
															thumbnails[1531976] = clik.newPhoto({"id":1531976,"src":"beth-sinkingaltweb2_thumb.jpg","galleries_id":102036,"server_id":1,"link":"photo_1531976.html","width":130,"caption":"With a look.","height":104});
															thumbnails[1535834] = clik.newPhoto({"id":1535834,"src":"5thfleg-siloet-01alt2_thumb.jpg","galleries_id":101759,"server_id":1,"link":"photo_1535834.html","width":130,"caption":"Sunset on 5th flag ","height":96});
															thumbnails[7239483] = clik.newPhoto({"id":7239483,"src":"sanda-spweb_thumb.jpg","galleries_id":462689,"server_id":1,"link":"photo_7239483.html","width":160,"caption":"Sanda Island from Keil shore","height":107});
															thumbnails[4022000] = clik.newPhoto({"id":4022000,"src":"fighting-swallows-2--a4-nn-_thumb.jpg","galleries_id":102039,"server_id":1,"link":"photo_4022000.html","width":130,"caption":"Swallow attack.","height":99});
															thumbnails[7573435] = clik.newPhoto({"id":7573435,"src":"glen-affric-3trees-s-io--colour-spcrweb_thumb.jpg","galleries_id":462692,"server_id":1,"link":"photo_7573435.html","width":160,"caption":"Autumn in Affric","height":107});
															thumbnails[8448319] = clik.newPhoto({"id":8448319,"src":"puffin-0711-farne-a4spweb_thumb.jpg","galleries_id":102039,"server_id":1,"link":"photo_8448319.html","width":160,"caption":" landing Clown","height":118});
															thumbnails[1479166] = clik.newPhoto({"id":1479166,"src":"swallow-choir07altweb_thumb.jpg","galleries_id":102039,"server_id":1,"link":"photo_1479166.html","width":130,"caption":"Singing for supper","height":106});
															thumbnails[1541382] = clik.newPhoto({"id":1541382,"src":"6oc-01altweb_thumb.jpg","galleries_id":101759,"server_id":1,"link":"photo_1541382.html","width":130,"caption":"6th green of Old Course","height":100});
															thumbnails[2810317] = clik.newPhoto({"id":2810317,"src":"laide-area-pontoon-2-bwspwe_thumb.jpg","galleries_id":175684,"server_id":1,"link":"photo_2810317.html","width":130,"caption":"pontoon.","height":95});
															thumbnails[9023055] = clik.newPhoto({"id":9023055,"src":"lindisfarne-mono-boathome-sp2011web_thumb.jpg","galleries_id":200910,"server_id":1,"link":"photo_9023055.html","width":160,"caption":"Boat house","height":106});
															thumbnails[7239499] = clik.newPhoto({"id":7239499,"src":"oban-ss-sp-10web_thumb.jpg","galleries_id":102712,"server_id":1,"link":"photo_7239499.html","width":160,"caption":"Oban Sunset1","height":107});
															thumbnails[2967941] = clik.newPhoto({"id":2967941,"src":"frost78altweb_thumb.jpg","galleries_id":101759,"server_id":1,"link":"photo_2967941.html","width":130,"caption":"Frosty.","height":98});
															thumbnails[3295699] = clik.newPhoto({"id":3295699,"src":"cloud-field-10x3.5-spweb_thumb.jpg","galleries_id":462686,"server_id":1,"link":"photo_3295699.html","width":160,"caption":"Summer Cloud.","height":74});
															thumbnails[5421065] = clik.newPhoto({"id":5421065,"src":"ailsa-ss-wind-on-wave-10x6-_thumb.jpg","galleries_id":102712,"server_id":1,"link":"photo_5421065.html","width":130,"caption":"Backlight wave.","height":87});
															thumbnails[1502232] = clik.newPhoto({"id":1502232,"src":"pano-blue-stamp-printaltweb_thumb.jpg","galleries_id":101759,"server_id":1,"link":"photo_1502232.html","width":130,"caption":"The famous \"Postage Stamp\".","height":72});
															thumbnails[1531979] = clik.newPhoto({"id":1531979,"src":"sam1altweb1_thumb.jpg","galleries_id":102036,"server_id":1,"link":"photo_1531979.html","width":130,"caption":"Sam.","height":105});
															thumbnails[1545009] = clik.newPhoto({"id":1545009,"src":"arran-longaltweb_thumb.jpg","galleries_id":462686,"server_id":1,"link":"photo_1545009.html","width":160,"caption":"Arran from Barassie beach (panoramic )","height":58});
															thumbnails[4159546] = clik.newPhoto({"id":4159546,"src":"beach-scoody-portrait-spweb_thumb.jpg","galleries_id":102036,"server_id":1,"link":"photo_4159546.html","width":130,"caption":"His majesty .","height":98});
															thumbnails[7239445] = clik.newPhoto({"id":7239445,"src":"corryverechan-1-sp10x610web_thumb.jpg","galleries_id":462689,"server_id":1,"link":"photo_7239445.html","width":160,"caption":"Corryvreckan 1","height":96});
															thumbnails[2660028] = clik.newPhoto({"id":2660028,"src":"cullins20x7sp_thumb.jpg","galleries_id":462686,"server_id":1,"link":"photo_2660028.html","width":130,"caption":"Sunsetting on the Cullins.","height":57});
															thumbnails[7239457] = clik.newPhoto({"id":7239457,"src":"seriesof-waves-land2-sp10x6web_thumb.jpg","galleries_id":102712,"server_id":1,"link":"photo_7239457.html","width":160,"caption":"waves1","height":96});
															thumbnails[1541426] = clik.newPhoto({"id":1541426,"src":"THE-FINAL-20X16-POSTAGE-STA1_thumb.jpg","galleries_id":101759,"server_id":1,"link":"photo_1541426.html","width":130,"caption":"Postage Stamp (Inc.Distance)","height":108});
															thumbnails[2385153] = clik.newPhoto({"id":2385153,"src":"scooby5thgreenspweb_thumb.jpg","galleries_id":102036,"server_id":1,"link":"photo_2385153.html","width":103,"caption":"Scooby.","height":130});
															thumbnails[7239479] = clik.newPhoto({"id":7239479,"src":"seriesof-waves-land-spa4web_thumb.jpg","galleries_id":462689,"server_id":1,"link":"photo_7239479.html","width":160,"caption":"waves 2","height":107});
															thumbnails[8874056] = clik.newPhoto({"id":8874056,"src":"lan-lochan0208-spweb_thumb.jpg","galleries_id":103202,"server_id":1,"link":"photo_8874056.html","width":160,"caption":"Nan Lochan view","height":107});
															thumbnails[3732612] = clik.newPhoto({"id":3732612,"src":"wing-walker-not-sharpeneda4_thumb.jpg","galleries_id":102036,"server_id":1,"link":"photo_3732612.html","width":99,"caption":"£1 a flight.","height":130});
															thumbnails[7573413] = clik.newPhoto({"id":7573413,"src":"ripples-at-ardfern-2-sp-web1_thumb.jpg","galleries_id":462689,"server_id":1,"link":"photo_7573413.html","width":160,"caption":"Blue","height":107});
															thumbnails[7573425] = clik.newPhoto({"id":7573425,"src":"sunset150311this-one-spcrweb_thumb.jpg","galleries_id":102712,"server_id":1,"link":"photo_7573425.html","width":160,"caption":"Hint of spring","height":107});
															thumbnails[7573432] = clik.newPhoto({"id":7573432,"src":"sunset150311h-spnncrweb_thumb.jpg","galleries_id":102712,"server_id":1,"link":"photo_7573432.html","width":160,"caption":"","height":106});
															thumbnails[1519242] = clik.newPhoto({"id":1519242,"src":"powsunsetailsa2-01altframew_thumb.jpg","galleries_id":102712,"server_id":1,"link":"photo_1519242.html","width":130,"caption":"Winter sunset","height":83});
															thumbnails[1949772] = clik.newPhoto({"id":1949772,"src":"PAP-PANO2008EDT-NNweb_thumb.jpg","galleries_id":462686,"server_id":1,"link":"photo_1949772.html","width":160,"caption":"From the Pap ","height":58});
															thumbnails[1819633] = clik.newPhoto({"id":1819633,"src":"skyecastleclouds-01altweb_thumb.jpg","galleries_id":462689,"server_id":1,"link":"photo_1819633.html","width":160,"caption":"Lenticular clouds","height":126});
															thumbnails[2266074] = clik.newPhoto({"id":2266074,"src":"peregrin-flight6x4spportweb_thumb.jpg","galleries_id":102039,"server_id":1,"link":"photo_2266074.html","width":102,"caption":"Quicksilver.","height":130});
															thumbnails[1541400] = clik.newPhoto({"id":1541400,"src":"applecross-peninsulaaltweb_thumb.jpg","galleries_id":462689,"server_id":1,"link":"photo_1541400.html","width":160,"caption":"Applecross Peninsula.","height":107});
															thumbnails[7805307] = clik.newPhoto({"id":7805307,"src":"arransunset-0511sp_thumb.jpg","galleries_id":102712,"server_id":1,"link":"photo_7805307.html","width":160,"caption":"May sunset","height":107});
															thumbnails[8095934] = clik.newPhoto({"id":8095934,"src":"bealach-tree0311-mono-spweb_thumb.jpg","galleries_id":175684,"server_id":1,"link":"photo_8095934.html","width":160,"caption":"Mono Fall","height":239});
															thumbnails[9023105] = clik.newPhoto({"id":9023105,"src":"boat-launch-2010-mono-10x6spweb_thumb.jpg","galleries_id":200910,"server_id":1,"link":"photo_9023105.html","width":160,"caption":"Old boat launch","height":96});
															thumbnails[2266111] = clik.newPhoto({"id":2266111,"src":"owlsptagweb_thumb.jpg","galleries_id":102039,"server_id":1,"link":"photo_2266111.html","width":98,"caption":"Whisper.","height":130});
															thumbnails[1544999] = clik.newPhoto({"id":1544999,"src":"frogaltweb_thumb.jpg","galleries_id":102039,"server_id":1,"link":"photo_1544999.html","width":130,"caption":"Pond Life.","height":96});
															thumbnails[1866489] = clik.newPhoto({"id":1866489,"src":"kings-houseweb_thumb.jpg","galleries_id":462686,"server_id":1,"link":"photo_1866489.html","width":160,"caption":"King's House panoramic","height":57});
															thumbnails[2385294] = clik.newPhoto({"id":2385294,"src":"sunrise7thfrom12spweb_thumb.jpg","galleries_id":101759,"server_id":1,"link":"photo_2385294.html","width":130,"caption":"Sunrise on Tel-El- Kebir.","height":92});
															thumbnails[1545005] = clik.newPhoto({"id":1545005,"src":"loch-carron-pano-from-south_thumb.jpg","galleries_id":462686,"server_id":1,"link":"photo_1545005.html","width":160,"caption":"Loch Carron(panoramic)","height":77});
															thumbnails[3261819] = clik.newPhoto({"id":3261819,"src":"frosty-11th10x6-spweb_thumb.jpg","galleries_id":101759,"server_id":1,"link":"photo_3261819.html","width":130,"caption":"Frosty 11th.","height":89});
															thumbnails[8874089] = clik.newPhoto({"id":8874089,"src":"eialan-donan-0311-sppano-web_thumb.jpg","galleries_id":462686,"server_id":1,"link":"photo_8874089.html","width":160,"caption":"Eilean Donan.","height":57});
															thumbnails[1584244] = clik.newPhoto({"id":1584244,"src":"12oc-02altframeweb_thumb.jpg","galleries_id":101759,"server_id":1,"link":"photo_1584244.html","width":130,"caption":"12th hole,\"The Fox\".","height":88});
															thumbnails[3423278] = clik.newPhoto({"id":3423278,"src":"benn-eighe-sp-75x25web_thumb.jpg","galleries_id":462686,"server_id":1,"link":"photo_3423278.html","width":160,"caption":"What a place to fish.","height":65});
															thumbnails[3795457] = clik.newPhoto({"id":3795457,"src":"scooby-in-the-mistcrop2web1_thumb.jpg","galleries_id":102036,"server_id":1,"link":"photo_3795457.html","width":130,"caption":"Early morning run.","height":95});
															thumbnails[9023125] = clik.newPhoto({"id":9023125,"src":"sand-trailor12x8sp-line-out-web_thumb.jpg","galleries_id":200910,"server_id":1,"link":"photo_9023125.html","width":160,"caption":"Left to rust","height":107});
															thumbnails[1702965] = clik.newPhoto({"id":1702965,"src":"EAST-VIEW-FROM-THE-BUACHAIL_thumb.jpg","galleries_id":462686,"server_id":1,"link":"photo_1702965.html","width":160,"caption":"Stob Dearg ","height":84});
															thumbnails[1702979] = clik.newPhoto({"id":1702979,"src":"best-insect-jmalt_thumb.jpg","galleries_id":102039,"server_id":1,"link":"photo_1702979.html","width":130,"caption":"Yellow insect","height":98});
															thumbnails[2739394] = clik.newPhoto({"id":2739394,"src":"13th-mastercard-spa4web1_thumb.jpg","galleries_id":101759,"server_id":1,"link":"photo_2739394.html","width":130,"caption":"sunset at Seniors .","height":86});
															thumbnails[8101403] = clik.newPhoto({"id":8101403,"src":"_OEO1018web_thumb.jpg","galleries_id":447042,"server_id":1,"link":"photo_8101403.html","width":160,"caption":"Tommy Hill","height":119});
															thumbnails[5166699] = clik.newPhoto({"id":5166699,"src":"ptarmagan-ridge-killin-2-10_thumb.jpg","galleries_id":103202,"server_id":1,"link":"photo_5166699.html","width":130,"caption":"Meall nan Tarmachan","height":89});
															thumbnails[5299807] = clik.newPhoto({"id":5299807,"src":"river-coe-1-10x6-spweb_thumb.jpg","galleries_id":462692,"server_id":1,"link":"photo_5299807.html","width":160,"caption":"River Coe .","height":110});
															thumbnails[2048506] = clik.newPhoto({"id":2048506,"src":"bauchaille-reflection-A4spw_thumb.jpg","galleries_id":103202,"server_id":1,"link":"photo_2048506.html","width":130,"caption":"Buachaille Etive Mor reflection","height":99});
															thumbnails[3358720] = clik.newPhoto({"id":3358720,"src":"GCOE1LAND-01-spweb_thumb.jpg","galleries_id":103202,"server_id":1,"link":"photo_3358720.html","width":130,"caption":"Glen Coe (above the pass)","height":96});
															thumbnails[3047977] = clik.newPhoto({"id":3047977,"src":"ben-challom-sp-cropweb_thumb.jpg","galleries_id":103202,"server_id":1,"link":"photo_3047977.html","width":130,"caption":"Ben Challum.","height":93});
															thumbnails[1555931] = clik.newPhoto({"id":1555931,"src":"bealachsweep-spweb_thumb.jpg","galleries_id":103202,"server_id":1,"link":"photo_1555931.html","width":130,"caption":"Bealach-Na-Ba","height":97});
															thumbnails[1535822] = clik.newPhoto({"id":1535822,"src":"lochdoonaltweb_thumb.jpg","galleries_id":462692,"server_id":1,"link":"photo_1535822.html","width":160,"caption":"Loch Doon","height":112});
															thumbnails[2660033] = clik.newPhoto({"id":2660033,"src":"ailsa-fieldcolour-spweb_thumb.jpg","galleries_id":462692,"server_id":1,"link":"photo_2660033.html","width":160,"caption":"Ailsa Craig.","height":122});
															thumbnails[8101646] = clik.newPhoto({"id":8101646,"src":"_OEO1050web_thumb.jpg","galleries_id":447042,"server_id":1,"link":"photo_8101646.html","width":160,"caption":"Shane Byrne","height":119});
															thumbnails[2659983] = clik.newPhoto({"id":2659983,"src":"13thgreenstorm-spweb_thumb.jpg","galleries_id":101759,"server_id":1,"link":"photo_2659983.html","width":130,"caption":"13th before the storm.","height":95});
															thumbnails[4361180] = clik.newPhoto({"id":4361180,"src":"ben-verakie-dawn--sheep-sp0_thumb.jpg","galleries_id":103202,"server_id":1,"link":"photo_4361180.html","width":130,"caption":"Longest day dawn 2","height":96});
															thumbnails[4361209] = clik.newPhoto({"id":4361209,"src":"ben-verakie-valley-light-10_thumb.jpg","galleries_id":103202,"server_id":1,"link":"photo_4361209.html","width":130,"caption":"Longest day dawn 3.","height":89});
															thumbnails[8096248] = clik.newPhoto({"id":8096248,"src":"wilson-v-seeley-bsb-11-spnnweb_thumb.jpg","galleries_id":447042,"server_id":1,"link":"photo_8096248.html","width":160,"caption":"Wilson v's Seeley","height":107});
															thumbnails[1525486] = clik.newPhoto({"id":1525486,"src":"beth-with-foot-in-mouthweb2_thumb.jpg","galleries_id":102036,"server_id":1,"link":"photo_1525486.html","width":130,"caption":"I'm hungry.","height":87});
															thumbnails[2967961] = clik.newPhoto({"id":2967961,"src":"logan-beachnoisemonospweb_thumb.jpg","galleries_id":175684,"server_id":1,"link":"photo_2967961.html","width":130,"caption":"Port Logan beach.","height":78});
															thumbnails[8448292] = clik.newPhoto({"id":8448292,"src":"14thlowsun-sp10x6web_thumb.jpg","galleries_id":101759,"server_id":1,"link":"photo_8448292.html","width":160,"caption":"14th by sunset","height":96});
															thumbnails[6409771] = clik.newPhoto({"id":6409771,"src":"midsum10-pap-dawn-sp10x6-web_thumb.jpg","galleries_id":103202,"server_id":1,"link":"photo_6409771.html","width":130,"caption":"midsummer dawn 2010.","height":78});
															thumbnails[1728411] = clik.newPhoto({"id":1728411,"src":"lomond-steep-slopealtweb_thumb.jpg","galleries_id":103202,"server_id":1,"link":"photo_1728411.html","width":130,"caption":"Finger nails & a prayer","height":101});
															thumbnails[1535827] = clik.newPhoto({"id":1535827,"src":"summit-01altweb_thumb.jpg","galleries_id":103202,"server_id":1,"link":"photo_1535827.html","width":130,"caption":"Summit of Ben Dorain","height":96});
															thumbnails[8095984] = clik.newPhoto({"id":8095984,"src":"lee-johnston-nnsp-crweb_thumb.jpg","galleries_id":447042,"server_id":1,"link":"photo_8095984.html","width":160,"caption":"Lee Johnson","height":107});
															thumbnails[3509019] = clik.newPhoto({"id":3509019,"src":"17th-snow-usweb_thumb.jpg","galleries_id":101759,"server_id":1,"link":"photo_3509019.html","width":130,"caption":"17th in winter","height":89});
															thumbnails[2215088] = clik.newPhoto({"id":2215088,"src":"dolphin-house1spa4web_thumb.jpg","galleries_id":462689,"server_id":1,"link":"photo_2215088.html","width":160,"caption":"Dolphin house.","height":113});
															thumbnails[8096255] = clik.newPhoto({"id":8096255,"src":"idon-bsb11-usweb_thumb.jpg","galleries_id":447042,"server_id":1,"link":"photo_8096255.html","width":160,"caption":"Christian Iddon","height":119});
															thumbnails[5957266] = clik.newPhoto({"id":5957266,"src":"anchor-ss-us10-web_thumb.jpg","galleries_id":102712,"server_id":1,"link":"photo_5957266.html","width":130,"caption":"Anchor","height":88});
															thumbnails[5811536] = clik.newPhoto({"id":5811536,"src":"resorvoir-mist--sun-tree-sp_thumb.jpg","galleries_id":462692,"server_id":1,"link":"photo_5811536.html","width":160,"caption":"Watery sunset","height":116});
															thumbnails[1584253] = clik.newPhoto({"id":1584253,"src":"18th-ocaltOPENaltweb_thumb.jpg","galleries_id":101759,"server_id":1,"link":"photo_1584253.html","width":130,"caption":"18th Hole, \"Craigend\" ","height":102});
															thumbnails[2660029] = clik.newPhoto({"id":2660029,"src":"bwwindsurf-106-spweb_thumb.jpg","galleries_id":175684,"server_id":1,"link":"photo_2660029.html","width":130,"caption":"Windsurfer.","height":93});
															thumbnails[5957264] = clik.newPhoto({"id":5957264,"src":"house-sp-web_thumb.jpg","galleries_id":175684,"server_id":1,"link":"photo_5957264.html","width":130,"caption":"Holiday home ","height":87});
															thumbnails[3888634] = clik.newPhoto({"id":3888634,"src":"Ben-Aana4spweb_thumb.jpg","galleries_id":103202,"server_id":1,"link":"photo_3888634.html","width":130,"caption":"Ben A'an","height":98});
															thumbnails[5160254] = clik.newPhoto({"id":5160254,"src":"plodda-falls-landscapea4spw_thumb.jpg","galleries_id":462692,"server_id":1,"link":"photo_5160254.html","width":160,"caption":"Plodda Falls.","height":122});
															thumbnails[5166450] = clik.newPhoto({"id":5166450,"src":"fir-tree-a4spweb_thumb.jpg","galleries_id":462692,"server_id":1,"link":"photo_5166450.html","width":160,"caption":"Caledonian Forest.","height":210});
															thumbnails[1777805] = clik.newPhoto({"id":1777805,"src":"plocton-from-boat-bwweb_thumb.jpg","galleries_id":175684,"server_id":1,"link":"photo_1777805.html","width":130,"caption":"Callum's Boat","height":91});
															thumbnails[3627454] = clik.newPhoto({"id":3627454,"src":"portland18th-misty-10x6-spn_thumb.jpg","galleries_id":101759,"server_id":1,"link":"photo_3627454.html","width":130,"caption":"Golf in the mist.","height":89});
															thumbnails[1779622] = clik.newPhoto({"id":1779622,"src":"barbwirebeachbwweb_thumb.jpg","galleries_id":175684,"server_id":1,"link":"photo_1779622.html","width":130,"caption":"Barb wire beach","height":97});
															thumbnails[5421084] = clik.newPhoto({"id":5421084,"src":"tree-ivy-mono-spweb_thumb.jpg","galleries_id":175684,"server_id":1,"link":"photo_5421084.html","width":95,"caption":"Walk in the woods.","height":130});
															thumbnails[2967960] = clik.newPhoto({"id":2967960,"src":"headsa4spweb_thumb.jpg","galleries_id":175684,"server_id":1,"link":"photo_2967960.html","width":100,"caption":"Haw heid.","height":130});
															thumbnails[7371619] = clik.newPhoto({"id":7371619,"src":"1st-pc-sp-106web_thumb.jpg","galleries_id":101759,"server_id":1,"link":"photo_7371619.html","width":160,"caption":"1st of Portland","height":114});
															thumbnails[6409717] = clik.newPhoto({"id":6409717,"src":"beth-by-the-fountain-crsp--web_thumb.jpg","galleries_id":175684,"server_id":1,"link":"photo_6409717.html","width":87,"caption":"lone child.","height":130});
															thumbnails[7805098] = clik.newPhoto({"id":7805098,"src":"1st-green-arran-sunset-port-sp_thumb.jpg","galleries_id":101759,"server_id":1,"link":"photo_7805098.html","width":160,"caption":"Sunset golf","height":239});
															thumbnails[6767122] = clik.newPhoto({"id":6767122,"src":"shaz-euan-looka4-spdg-web_thumb.jpg","galleries_id":102036,"server_id":1,"link":"photo_6767122.html","width":96,"caption":"Mother and son","height":130});
															thumbnails[6767115] = clik.newPhoto({"id":6767115,"src":"moon-clouding-sp-web_thumb.jpg","galleries_id":175684,"server_id":1,"link":"photo_6767115.html","width":130,"caption":"Moonlight going 2","height":130});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[200910] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"- Latest-17\/01\/12","link":"gallery_200910.html","maxRecords":0.0,"photoIDs":[9023067.0,9022987.0,9023041.0,9023055.0,9023105.0,9023125.0],"skipIndex":0,"section_code":"gallery","featured_images":9023067.0,"id":200910,"singleSection":false});				  						galleries[101759] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"- Golf Courses ","link":"gallery_101759.html","maxRecords":0.0,"photoIDs":[3047989.0,7050821.0,1731686.0,1475413.0,6410010.0,1666754.0,1535834.0,1541382.0,2967941.0,1502232.0,1541426.0,2385294.0,3261819.0,1584244.0,2739394.0,2659983.0,8448292.0,3509019.0,1584253.0,3627454.0,7371619.0,7805098.0],"skipIndex":0,"section_code":"gallery","featured_images":3047989.0,"id":101759,"singleSection":false});				  						galleries[175684] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"- mono gallery","link":"gallery_175684.html","maxRecords":0.0,"photoIDs":[1949755.0,5811532.0,3888503.0,4159582.0,3358544.0,3205067.0,5166464.0,8095885.0,3047944.0,2465366.0,2810317.0,8095934.0,2967961.0,2660029.0,5957264.0,1777805.0,1779622.0,5421084.0,2967960.0,6409717.0,6767115.0],"skipIndex":0,"section_code":"gallery","featured_images":"3888503,3358544,1949755","id":175684,"singleSection":false});				  						galleries[462686] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"- Panoramic Gallery","link":"gallery_462686.html","maxRecords":0.0,"photoIDs":[5036497.0,3295699.0,1545009.0,2660028.0,1949772.0,1866489.0,1545005.0,8874089.0,3423278.0,1702965.0],"skipIndex":0,"section_code":"gallery","featured_images":2660028.0,"id":462686,"singleSection":false});				  						galleries[102712] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"- Sunrises & Sunsets ","link":"gallery_102712.html","maxRecords":0.0,"photoIDs":[3509026.0,2810153.0,6142934.0,7068266.0,2810276.0,2465251.0,4865014.0,7068252.0,1911182.0,6142972.0,4683559.0,2907407.0,7239499.0,5421065.0,7239457.0,7573425.0,7573432.0,1519242.0,7805307.0,5957266.0],"skipIndex":0,"section_code":"gallery","featured_images":"7805307,7573425,6142934,3509026","id":102712,"singleSection":false});				  						galleries[462689] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"- Seascapes","link":"gallery_462689.html","maxRecords":0.0,"photoIDs":[5036584.0,3137269.0,7573407.0,7068262.0,2164502.0,2810205.0,1819884.0,4022012.0,1559956.0,1666765.0,7239483.0,7239445.0,7239479.0,7573413.0,1819633.0,1541400.0,2215088.0],"skipIndex":0,"section_code":"gallery","featured_images":"7573407,7239445","id":462689,"singleSection":false});				  						galleries[462692] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"- Landscapes ","link":"gallery_462692.html","maxRecords":0.0,"photoIDs":[8787421.0,5299829.0,5451900.0,5299778.0,5655928.0,5036415.0,7805026.0,7239449.0,8873700.0,7050924.0,7573435.0,5299807.0,1535822.0,2660033.0,5811536.0,5160254.0,5166450.0],"skipIndex":0,"section_code":"gallery","featured_images":"8787421,5299829,5299778,5160254,5036415","id":462692,"singleSection":false});				  						galleries[103202] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"- Mountains ","link":"gallery_103202.html","maxRecords":0.0,"photoIDs":[1502114.0,6409746.0,3137278.0,3241597.0,8874056.0,5166699.0,2048506.0,3358720.0,3047977.0,1555931.0,4361180.0,4361209.0,6409771.0,1728411.0,1535827.0,3888634.0],"skipIndex":0,"section_code":"gallery","featured_images":"6409771,1502114","id":103202,"singleSection":false});				  						galleries[102039] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"- Fur, Feather & skin","link":"gallery_102039.html","maxRecords":0.0,"photoIDs":[8852129.0,8095790.0,2266003.0,2265979.0,5036602.0,1501809.0,5811510.0,5811500.0,6181063.0,6181083.0,6767058.0,6767061.0,3047987.0,2465268.0,3424064.0,4022000.0,8448319.0,1479166.0,2266074.0,2266111.0,1544999.0,1702979.0],"skipIndex":0,"section_code":"gallery","featured_images":"8095790,6767058,5811500,3424064,2266003","id":102039,"singleSection":false});				  						galleries[102036] = clik.newGallery({"parentGallery":"","usePopups":true,"title":" -\"Weans & Dugs\" ","link":"gallery_102036.html","maxRecords":0.0,"photoIDs":[2465260.0,3295643.0,2048512.0,2164472.0,2002914.0,7371156.0,7573398.0,7371416.0,7573401.0,7805125.0,7371427.0,8095799.0,8095969.0,1475267.0,3732493.0,2002928.0,1531976.0,1531979.0,4159546.0,2385153.0,3732612.0,3795457.0,1525486.0,6767122.0],"skipIndex":0,"section_code":"gallery","featured_images":"4159546,2164472","id":102036,"singleSection":false});				  						galleries[104287] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"- Various","link":"gallery_104287.html","maxRecords":0.0,"photoIDs":[7371462.0,3047984.0,2111806.0,8444940.0,1524878.0,7239488.0,7239500.0,1541425.0,1610031.0,7805290.0,2810295.0,2810289.0,4683549.0,5276306.0,3242201.0],"skipIndex":0,"section_code":"gallery","featured_images":"8444940,7371462,3047984,2111806","id":104287,"singleSection":false});				  						galleries[447042] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"- Motorcycle racing","link":"gallery_447042.html","maxRecords":0.0,"photoIDs":[8101403.0,8101646.0,8096248.0,8095984.0,8096255.0],"skipIndex":0,"section_code":"gallery","featured_images":8096248.0,"id":447042,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '8095790,8444940,8787421,3047989,7068252,1502114,7371156,3047944,6767058,7239479,1866489,8101403';
imageSets[2] = '7371462,3509026,1949755,8095790,6142934,3888503,3047984,7573407,3358544,2266003,2111806,8444940,9023067,8787421,2164472,3047989,1502114,5811500,5299829,6767058,5299778,5036415,3424064,4159546,7239445,2660028,7573425,7805307,8096248,6409771,5160254';
imageSets[3] = '7573398';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/stargate/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/stargate/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/stargate/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/stargate/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/stargate/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/stargate/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/stargate/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/stargate/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/stargate/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/stargate/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/stargate/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/stargate/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/stargate/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/stargate/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/stargate/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/stargate/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/stargate/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/stargate/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/stargate/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/stargate/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/stargate/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/stargate/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/stargate/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/stargate/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/stargate/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/stargate/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/stargate/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 = 'One Eye Open Photography.: ' + photoCaption;
			    }
        if (op.$detail.length > 0) {
      	temp = op.nextPhoto.fnGetImageDetails();
	    op.$detail.fadeGalleryDetails(temp, op.speed, function(){
			if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
				toggleAddToCartConfirm(backgrounds, op.$detail);
			} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
				toggleAddToCartConfirm(photos, op.$detail);
			}
			$('body').trigger('clikUpdate.popup');
	    });
    }
        $(op.$detailContainer).find('.replaceable[class*=replaceable_photo-]').each(function(){
    	var field = clik.getPrefixedClass(this.className, 'replaceable_photo-');
    	if (field in op.nextPhoto) {
    		$(this).fadeGalleryDetails(op.nextPhoto[field], op.speed);
    	}
    }).end().find('.replaceable.photoPayment').fadeGalleryDetails(op.nextPhoto.fnGetPaymentInfo(), op.speed, function(){
		if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
			toggleAddToCartConfirm(backgrounds, op.$detailContainer);
		} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
			toggleAddToCartConfirm(photos, op.$detailContainer);
		}
		$('body').trigger('clikUpdate.popup');
	});
		if (op.$photo.length > 0) {
		html = $('<img/>',{
			'class': 'mainphoto photo',
			src: photoSrc,
			id: 'mainPic',
			name: 'mainPic',
			width: op.nextPhoto.width,
			height: op.nextPhoto.height,
			alt: photoCaption,
			css: op.css || {}
		});
		if (op.href) {
			if (op.href.match(/<a/)) {
				html = $(op.href).append(html);
			} else {
				html = $('<a/>', {
					href: op.href,
					title: photoCaption
				}).append(html);
			}
		} else {
			html = $('<a/>', {
				title: photoCaption
			}).append(html);
		}
		if (op.speed == 0) {			op.$photo.html(html);			if (op.onBefore) {			  	op.onBefore.apply(op.$photo);			}			if (op.onAfter) {			  	op.onAfter.apply(op.$photo);			}		} else {			op.$photo.stop(true,true).fadeReplaceWith(html,op.speed,'',function(){  				if (op.onAfter) {				  	op.onAfter.apply(this);				}				clik.doColumnResize(false, $(this).add(op.$detail).add(op.$title));			}, op.onBefore);
		}	}
    if (op.field) {
		op.field.value = photoId;
	} else {
		op.$photo.data('image_id', photoId);
    }
        if (!op.speed) {
      	clik.doColumnResize(false, op.$photo.add(op.$detail).add(op.$title));
    }
        
    return html;
	}

/***************************************************************************
* Toggle add to cart confirmation element and set up the click event for   *
* the 'Add to cart' button.                                                *
***************************************************************************/
function toggleAddToCartConfirm(array, root){
	if (typeof(array) !== 'object' || array === null) {
	  	array = photos;
	}
	if (!$(root).length) {		root = $('body');	}	if($('#paymentConfirm', root).length > 0){
		$('#paymentConfirm', root).hide();
		$('#paymentAddButton', root)
		.unbind()
		.click(function(){
						form = $('#paymentForm', root)[0];
			option_id = 0;
			if(form.item_option.value){
				option_id = form.item_option.value;
			}
			if(addItemToBasket(form.item_number.value,array,form.site.value,parseInt(form.quantity.value, 10),option_id)){
				if($.browser.msie){$('#paymentConfirm', root).text('Item added to cart').show();}
				else{
					$('#paymentConfirm', root).text('Item added to cart').fadeIn();
					dspOrderDetails(form.site.value);
				}
			}
			else{
				$('#paymentConfirm', root).text('Item not added - check cookies are enabled in your browser.').fadeIn();
			}
		});
	}
}

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetImageDetails = function(){
	var temp = '';
	if (this.description != '') {
		temp +=  '<div id="imageDescription">' + this.description + '</div>';
	}
		if (this.photo_ref != '') {
		temp += '<div class="imageinfo" id="imageRef"><strong>Ref: </strong>' + this.photo_ref + '</div>';
	}
		if (this.takendate != '') {
		
		temp += '<div class="imageinfo" id="imageDate"><strong>Date: </strong>' + this.takendate + '</div>';
	}
	
	if (this.location != '') {
		
		temp += '<div class="imageinfo" id="imageLocation"><strong>Location: </strong>' +  this.location + '</div>';
	}
	
	if (this.photographer != '') {
		
		temp += '<div class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>' + this.photographer + '</div>';
	}
				
				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> &pound;' + (this.item_price).toFixed(2) + '</div>';
		var item_name  = this.purchase_instruction;
		var amount = (this.item_price).toFixed(2);
		var item_option  = 0;
	}
		else {
		
	}
	if (this.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="fuz2@omne.uk.net">';
					temp += '<input type="hidden" name="currency_code" value="GBP">';
					temp += '<input type="hidden" name="add" value="1">';
													temp += '<input type="hidden" name="amount" value="'+amount+'">';
					temp += '<input type="hidden" name="item_number" value="'+ref+'">';
													temp += '<input type=\"Submit\" value=\"Add to cart\" id=\"paymentAddButton\" class=\"button\" onmouseover=\"this.className=\'buttonHi\';\" onmouseout=\"this.className=\'button\';\">';
										temp += '</form>';
										temp += '<form id="paymentCartForm" style="margin:0px;" name="paymentCartForm" target="_blank" action="https://www.paypal.com/cgi-bin/webscr" method="post">';
				temp += '<input type="hidden" name="cmd" value="_cart">';
				temp += '<input type="hidden" name="business" value="fuz2@omne.uk.net">';
				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;
	}
}

			

