window.thumbnails = {};
															thumbnails[1029436] = clik.newPhoto({"id":1029436,"src":"Water-Wall_Web1_thumb.jpg","galleries_id":435784,"server_id":1,"link":"photo_1029436.html","width":130,"caption":"<Strong>Water Wall<\/Strong>","height":83});
															thumbnails[5577193] = clik.newPhoto({"id":5577193,"src":"Rio-dei-Servi_02_Web_thumb.jpg","galleries_id":435785,"server_id":1,"link":"photo_5577193.html","width":100,"caption":"<strong>Venetian Reflections<\/strong>","height":130});
															thumbnails[7205527] = clik.newPhoto({"id":7205527,"src":"Plantation_Web_thumb.jpg","galleries_id":384514,"server_id":1,"link":"photo_7205527.html","width":130,"caption":"","height":130});
															thumbnails[9060748] = clik.newPhoto({"id":9060748,"src":"Splash-Of-Sunlight_Web_thumb.jpg","galleries_id":477718,"server_id":1,"link":"photo_9060748.html","width":130,"caption":"<strong>Splash Of Sunlight<\/strong>","height":73});
															thumbnails[5558494] = clik.newPhoto({"id":5558494,"src":"Spiral_Web_thumb.jpg","galleries_id":435784,"server_id":1,"link":"photo_5558494.html","width":130,"caption":"<strong>Spiral<\/strong>","height":69});
															thumbnails[7108166] = clik.newPhoto({"id":7108166,"src":"Woodland-Impressions_Web_thumb.jpg","galleries_id":384514,"server_id":1,"link":"photo_7108166.html","width":130,"caption":"","height":130});
															thumbnails[7473329] = clik.newPhoto({"id":7473329,"src":"HM-Girl_Web_72EB5DBD-1E4F-37DC-71922C57EED201D6_thumb.jpg","galleries_id":435785,"server_id":1,"link":"photo_7473329.html","width":130,"caption":"<strong>Rush Hour<\/strong>","height":96});
															thumbnails[5746111] = clik.newPhoto({"id":5746111,"src":"Easy-Rider_Web_thumb.jpg","galleries_id":435784,"server_id":1,"link":"photo_5746111.html","width":130,"caption":"<strong>Easy Rider<\/strong>","height":94});
															thumbnails[7205523] = clik.newPhoto({"id":7205523,"src":"Dominance_Web_thumb.jpg","galleries_id":384514,"server_id":1,"link":"photo_7205523.html","width":130,"caption":"","height":130});
															thumbnails[7473347] = clik.newPhoto({"id":7473347,"src":"Newsvendor_Web_72EFFCC2-1E4F-37DC-7116C321ECB853D8_thumb.jpg","galleries_id":435785,"server_id":1,"link":"photo_7473347.html","width":128,"caption":"<strong>The Newsvendor<\/strong>","height":130});
															thumbnails[3246785] = clik.newPhoto({"id":3246785,"src":"Jewel_Web_thumb.jpg","galleries_id":435784,"server_id":1,"link":"photo_3246785.html","width":130,"caption":"<strong>Nature's Jewel<\/strong>","height":76});
															thumbnails[7205520] = clik.newPhoto({"id":7205520,"src":"Bracken_Web_thumb.jpg","galleries_id":384514,"server_id":1,"link":"photo_7205520.html","width":130,"caption":"","height":130});
															thumbnails[7473360] = clik.newPhoto({"id":7473360,"src":"Bus-Stop_02_Web_72F374F4-1E4F-37DC-7180346C49DD6718_thumb.jpg","galleries_id":435785,"server_id":1,"link":"photo_7473360.html","width":130,"caption":"<strong>Bus Stop<\/strong>","height":98});
															thumbnails[5994368] = clik.newPhoto({"id":5994368,"src":"Top-Cobbler_Web1_thumb.jpg","galleries_id":435784,"server_id":1,"link":"photo_5994368.html","width":130,"caption":"<strong>Top Cobbler<\/strong>","height":101});
															thumbnails[7205525] = clik.newPhoto({"id":7205525,"src":"Through-The-Leaves_Web_thumb.jpg","galleries_id":384514,"server_id":1,"link":"photo_7205525.html","width":130,"caption":"","height":130});
															thumbnails[7473381] = clik.newPhoto({"id":7473381,"src":"Underpass_Web_72F613FD-1E4F-37DC-71956311918A2754_thumb.jpg","galleries_id":435785,"server_id":1,"link":"photo_7473381.html","width":130,"caption":"<strong>Subway<\/strong>","height":91});
															thumbnails[5994369] = clik.newPhoto({"id":5994369,"src":"Waterfront_Web_thumb.jpg","galleries_id":435784,"server_id":1,"link":"photo_5994369.html","width":130,"caption":"<strong>Waterfront<\/strong>","height":86});
															thumbnails[7108168] = clik.newPhoto({"id":7108168,"src":"Trunks_Web_thumb.jpg","galleries_id":384514,"server_id":1,"link":"photo_7108168.html","width":130,"caption":"","height":130});
															thumbnails[7548906] = clik.newPhoto({"id":7548906,"src":"Gnarled_02_Web_D423D815-1E4F-37DC-719AA3C5F1E0C49E_thumb.jpg","galleries_id":435785,"server_id":1,"link":"photo_7548906.html","width":130,"caption":"<strong>Gnarled<\/strong>","height":130});
															thumbnails[5554574] = clik.newPhoto({"id":5554574,"src":"Latrobe-Reading-Room_Web_thumb.jpg","galleries_id":435784,"server_id":1,"link":"photo_5554574.html","width":130,"caption":"<strong>La Trobe Reading Room<\/strong>","height":86});
															thumbnails[7211029] = clik.newPhoto({"id":7211029,"src":"Gnarled_02_Web_thumb.jpg","galleries_id":384514,"server_id":1,"link":"photo_7211029.html","width":130,"caption":"","height":130});
															thumbnails[7539080] = clik.newPhoto({"id":7539080,"src":"The-Dog-Walkers_Web_C46CC046-1E4F-37DC-71AAB4C41761EAD3_thumb.jpg","galleries_id":435785,"server_id":1,"link":"photo_7539080.html","width":114,"caption":"<strong>Dog walkers<\/strong>","height":130});
															thumbnails[2546499] = clik.newPhoto({"id":2546499,"src":"Marsden-Clough_02_Web_thumb.jpg","galleries_id":435784,"server_id":1,"link":"photo_2546499.html","width":130,"caption":"<strong>Marsden Clough<\/strong>","height":87});
															thumbnails[7520789] = clik.newPhoto({"id":7520789,"src":"Summer-Days_Web_thumb.jpg","galleries_id":435785,"server_id":1,"link":"photo_7520789.html","width":111,"caption":"<strong>Summer Days<\/strong>","height":130});
															thumbnails[7520821] = clik.newPhoto({"id":7520821,"src":"Autumn-Birch_web_thumb.jpg","galleries_id":384514,"server_id":1,"link":"photo_7520821.html","width":130,"caption":"","height":130});
															thumbnails[5577247] = clik.newPhoto({"id":5577247,"src":"Lines--Curves_Web_thumb.jpg","galleries_id":41377,"server_id":1,"link":"photo_5577247.html","width":90,"caption":"<strong>Lines & Curves<\/strong>","height":130});
															thumbnails[5746203] = clik.newPhoto({"id":5746203,"src":"Coles-Bay_Web_thumb.jpg","galleries_id":435784,"server_id":1,"link":"photo_5746203.html","width":93,"caption":"<strong>Coles Bay<\/strong>","height":130});
															thumbnails[7520638] = clik.newPhoto({"id":7520638,"src":"A-Walk-On-The-Beach_Web_thumb.jpg","galleries_id":435785,"server_id":1,"link":"photo_7520638.html","width":130,"caption":"<strong>A Walk On The Beach<\/strong>","height":73});
															thumbnails[7520823] = clik.newPhoto({"id":7520823,"src":"Automn-Glow_Web_thumb.jpg","galleries_id":384514,"server_id":1,"link":"photo_7520823.html","width":130,"caption":"","height":130});
															thumbnails[5554935] = clik.newPhoto({"id":5554935,"src":"Freycinet-Peninsula_02_Web_thumb.jpg","galleries_id":435785,"server_id":1,"link":"photo_5554935.html","width":130,"caption":"<strong>Freycinet, Tasmania<\/strong>","height":92});
															thumbnails[5991181] = clik.newPhoto({"id":5991181,"src":"The-Flower-Seller_Web_thumb.jpg","galleries_id":444878,"server_id":1,"link":"photo_5991181.html","width":130,"caption":"<strong>The Flower Seller<\/strong>","height":87});
															thumbnails[5991193] = clik.newPhoto({"id":5991193,"src":"What-Do-They-Put-In-These_Web_thumb.jpg","galleries_id":444864,"server_id":1,"link":"photo_5991193.html","width":130,"caption":"<strong>What Do They Put In These?<\/strong>","height":92});
															thumbnails[6858741] = clik.newPhoto({"id":6858741,"src":"Tawny-Owl_Web_thumb.jpg","galleries_id":435784,"server_id":1,"link":"photo_6858741.html","width":87,"caption":"<strong>Tawny Owl #01<\/strong>","height":130});
															thumbnails[7520824] = clik.newPhoto({"id":7520824,"src":"Autumn-Glory_Web_thumb.jpg","galleries_id":384514,"server_id":1,"link":"photo_7520824.html","width":130,"caption":"","height":130});
															thumbnails[6858635] = clik.newPhoto({"id":6858635,"src":"Eagle-Owl_01_thumb.jpg","galleries_id":435784,"server_id":1,"link":"photo_6858635.html","width":130,"caption":"<strong>Eagle Owl #01<\/strong>","height":93});
															thumbnails[7520630] = clik.newPhoto({"id":7520630,"src":"Fleeting-Moment_02_Web_thumb.jpg","galleries_id":435785,"server_id":1,"link":"photo_7520630.html","width":130,"caption":"<strong>Fleeting Moment 02<\/strong>","height":130});
															thumbnails[3246940] = clik.newPhoto({"id":3246940,"src":"Peregrine-Falcon_02_Web_thumb.jpg","galleries_id":435784,"server_id":1,"link":"photo_3246940.html","width":130,"caption":"<strong>Peregrine Falcon<\/strong>","height":90});
															thumbnails[7844823] = clik.newPhoto({"id":7844823,"src":"Bracken_Web_1D0F98A7-1E4F-37DC-71A5284BE12EB7F3_thumb.jpg","galleries_id":435785,"server_id":1,"link":"photo_7844823.html","width":130,"caption":"<strong>Bracken<\/strong>","height":130});
															thumbnails[7236219] = clik.newPhoto({"id":7236219,"src":"Wall-of-Death_Web_thumb.jpg","galleries_id":435784,"server_id":1,"link":"photo_7236219.html","width":130,"caption":"<strong>Wall Of Death<\/strong>","height":99});
															thumbnails[7887607] = clik.newPhoto({"id":7887607,"src":"Stepping-Out_Web_thumb.jpg","galleries_id":435785,"server_id":1,"link":"photo_7887607.html","width":130,"caption":"<Strong>Stepping Out<\/strong>","height":97});
															thumbnails[5991261] = clik.newPhoto({"id":5991261,"src":"Dreaming-of-Far-Away-Shores_Web_thumb.jpg","galleries_id":435784,"server_id":1,"link":"photo_5991261.html","width":130,"caption":"<strong>Daydreaming<\/strong>","height":106});
															thumbnails[7887471] = clik.newPhoto({"id":7887471,"src":"Stairwell_Web_thumb.jpg","galleries_id":435785,"server_id":1,"link":"photo_7887471.html","width":130,"caption":"<strong>Stairwell<\/strong>","height":87});
															thumbnails[7236269] = clik.newPhoto({"id":7236269,"src":"Texting_Web_FBA8FF8A-1EC9-DFB6-0916CF1A2EB858E1_thumb.jpg","galleries_id":435784,"server_id":1,"link":"photo_7236269.html","width":130,"caption":"<strong>Texting<\/strong>","height":128});
															thumbnails[7887674] = clik.newPhoto({"id":7887674,"src":"Heads_Web_thumb.jpg","galleries_id":435785,"server_id":1,"link":"photo_7887674.html","width":75,"caption":"<strong>Heads<\/strong>","height":130});
															thumbnails[7236291] = clik.newPhoto({"id":7236291,"src":"Martindale_Web_thumb.jpg","galleries_id":435784,"server_id":1,"link":"photo_7236291.html","width":130,"caption":"<strong>Martindale<\/strong>","height":76});
															thumbnails[8564139] = clik.newPhoto({"id":8564139,"src":"So-Bored_Web_CD1A1A93-24E8-5EC4-4F285E340ED830E8_thumb.jpg","galleries_id":435785,"server_id":1,"link":"photo_8564139.html","width":130,"caption":"<strong>So Bored<\/strong>","height":108});
															thumbnails[7317066] = clik.newPhoto({"id":7317066,"src":"Fleeting-Moment_01_Web_thumb.jpg","galleries_id":435784,"server_id":1,"link":"photo_7317066.html","width":130,"caption":"<strong>Fleeting Moment #01<\/strong>","height":130});
															thumbnails[8564138] = clik.newPhoto({"id":8564138,"src":"That-Starbucks-Moment_Web_CD16FB6F-24E8-5EC4-4FC37D8C8CA90BAA_thumb.jpg","galleries_id":435785,"server_id":1,"link":"photo_8564138.html","width":97,"caption":"<strong>That Starbucks Moment<\/strong>","height":130});
															thumbnails[7317069] = clik.newPhoto({"id":7317069,"src":"Fleeting-Moment_03_Web_thumb.jpg","galleries_id":435784,"server_id":1,"link":"photo_7317069.html","width":130,"caption":"<strong>Fleeting Moment #03<strong>","height":130});
															thumbnails[8600909] = clik.newPhoto({"id":8600909,"src":"Al-Fresco_Web_thumb.jpg","galleries_id":435785,"server_id":1,"link":"photo_8600909.html","width":130,"caption":"<strong>Al Fresco<\/strong>","height":98});
															thumbnails[7890589] = clik.newPhoto({"id":7890589,"src":"Serenity_Web_thumb.jpg","galleries_id":435785,"server_id":1,"link":"photo_7890589.html","width":130,"caption":"Serenity","height":104});
															thumbnails[7107717] = clik.newPhoto({"id":7107717,"src":"The-Dog-Walkers_Web_thumb.jpg","galleries_id":444864,"server_id":1,"link":"photo_7107717.html","width":114,"caption":"<strong>Dog walkers<\/strong>","height":130});
															thumbnails[7890578] = clik.newPhoto({"id":7890578,"src":"Ripon-Cathedral_Web_thumb.jpg","galleries_id":435785,"server_id":1,"link":"photo_7890578.html","width":87,"caption":"<strong>Cathedral<\/strong>","height":130});
															thumbnails[7890592] = clik.newPhoto({"id":7890592,"src":"Big-Issue-Man_Web_thumb.jpg","galleries_id":444878,"server_id":1,"link":"photo_7890592.html","width":130,"caption":"<strong>Big Issue Man<\/strong>","height":130});
															thumbnails[8679007] = clik.newPhoto({"id":8679007,"src":"Lawrence_Web_thumb.jpg","galleries_id":435785,"server_id":1,"link":"photo_8679007.html","width":87,"caption":"<strong>Lawrence<\/strong>","height":130});
															thumbnails[5554767] = clik.newPhoto({"id":5554767,"src":"Arlo_Web_thumb.jpg","galleries_id":435785,"server_id":1,"link":"photo_5554767.html","width":130,"caption":"<strong>Arlo<\/strong>","height":87});
															thumbnails[8702370] = clik.newPhoto({"id":8702370,"src":"Walkways_Web_thumb.jpg","galleries_id":435785,"server_id":1,"link":"photo_8702370.html","width":104,"caption":"<strong>Walkways<\/strong>","height":130});
															thumbnails[8013696] = clik.newPhoto({"id":8013696,"src":"Malcesine_Web_thumb.jpg","galleries_id":435785,"server_id":1,"link":"photo_8013696.html","width":130,"caption":"<strong>Malcesine<\/strong>","height":72});
															thumbnails[7890590] = clik.newPhoto({"id":7890590,"src":"Making-A-Point_Web_thumb.jpg","galleries_id":435785,"server_id":1,"link":"photo_7890590.html","width":130,"caption":"<strong>Making A Point<\/strong>","height":81});
															thumbnails[8938742] = clik.newPhoto({"id":8938742,"src":"Messaging-02_Web_thumb.jpg","galleries_id":435785,"server_id":1,"link":"photo_8938742.html","width":130,"caption":"<strong>Messaging<\/strong>","height":104});
															thumbnails[8940272] = clik.newPhoto({"id":8940272,"src":"Roofscape_Web_thumb.jpg","galleries_id":435785,"server_id":1,"link":"photo_8940272.html","width":130,"caption":"<strong>Roofscape<\/strong>","height":104});
															thumbnails[6543708] = clik.newPhoto({"id":6543708,"src":"Newsvendor_Web_thumb.jpg","galleries_id":444878,"server_id":1,"link":"photo_6543708.html","width":128,"caption":"<strong>Newsvendor<\/strong>","height":130});
															thumbnails[7107725] = clik.newPhoto({"id":7107725,"src":"Queens_WEb_thumb.jpg","galleries_id":444864,"server_id":1,"link":"photo_7107725.html","width":95,"caption":"<strong>Queens<\/strong>","height":130});
															thumbnails[7107744] = clik.newPhoto({"id":7107744,"src":"That-Starbucks-Moment_Web_thumb.jpg","galleries_id":444864,"server_id":1,"link":"photo_7107744.html","width":97,"caption":"<strong>That Starbuck's Moment<\/strong>","height":130});
															thumbnails[7473465] = clik.newPhoto({"id":7473465,"src":"Top-Cobbler_Web_7312DC9A-1E4F-37DC-71B5B4C165EE1F7E_thumb.jpg","galleries_id":444878,"server_id":1,"link":"photo_7473465.html","width":130,"caption":"<strong>Top Cobbler<\/strong>","height":101});
															thumbnails[7107751] = clik.newPhoto({"id":7107751,"src":"schuh_WEb_thumb.jpg","galleries_id":444864,"server_id":1,"link":"photo_7107751.html","width":130,"caption":"<strong>schuh<\/strong>","height":118});
															thumbnails[7520581] = clik.newPhoto({"id":7520581,"src":"Grey-Heron_Web_thumb.jpg","galleries_id":41373,"server_id":1,"link":"photo_7520581.html","width":130,"caption":"<strong>Grey Heron<\/strong>","height":100});
															thumbnails[8389396] = clik.newPhoto({"id":8389396,"src":"Breaktime_02_Web_2058145B-1EC9-D45B-1C2F7C4C8BFB19FC_thumb.jpg","galleries_id":444878,"server_id":1,"link":"photo_8389396.html","width":130,"caption":"<strong>Break Time<\/strong>","height":127});
															thumbnails[9016810] = clik.newPhoto({"id":9016810,"src":"So-Bored_Web_057F58E6-1EC9-DFB6-0993C8C66CD050AD_thumb.jpg","galleries_id":475221,"server_id":1,"link":"photo_9016810.html","width":130,"caption":"<strong>So Bored<\/strong>","height":108});
															thumbnails[8388732] = clik.newPhoto({"id":8388732,"src":"Cafe-Society_Layers_thumb.jpg","galleries_id":444864,"server_id":1,"link":"photo_8388732.html","width":130,"caption":"<strong>Cafe Society<\/strong>","height":91});
															thumbnails[8389431] = clik.newPhoto({"id":8389431,"src":"Freshly-Made_Web_205C860B-1EC9-D45B-1C3297186D2248EE_thumb.jpg","galleries_id":444878,"server_id":1,"link":"photo_8389431.html","width":130,"caption":"<strong>Freshly Made<\/strong>","height":102});
															thumbnails[7887716] = clik.newPhoto({"id":7887716,"src":"Mr-Whippy_Web_thumb.jpg","galleries_id":444864,"server_id":1,"link":"photo_7887716.html","width":130,"caption":"<strong>Mr Whippy<\/strong>","height":92});
															thumbnails[5991246] = clik.newPhoto({"id":5991246,"src":"Back-Street-Girl_Web_thumb.jpg","galleries_id":76811,"server_id":1,"link":"photo_5991246.html","width":130,"caption":"<strong>Back Street Girl<\/strong>","height":105});
															thumbnails[7520595] = clik.newPhoto({"id":7520595,"src":"Damsel-Fly-In-Flight_Web_thumb.jpg","galleries_id":41373,"server_id":1,"link":"photo_7520595.html","width":130,"caption":"<strong>Damsel Fly in Flight<\/strong>","height":95});
															thumbnails[7890594] = clik.newPhoto({"id":7890594,"src":"So-Bored_Web_thumb.jpg","galleries_id":444864,"server_id":1,"link":"photo_7890594.html","width":130,"caption":"<strong>So Bored<\/strong>","height":108});
															thumbnails[7520665] = clik.newPhoto({"id":7520665,"src":"Just-Eat_Web_thumb.jpg","galleries_id":444864,"server_id":1,"link":"photo_7520665.html","width":130,"caption":"<strong>Just Eat<\/strong>","height":80});
															thumbnails[5577295] = clik.newPhoto({"id":5577295,"src":"Urban-Gypsy_Web_1B4EA914-24E8-5EC4-4F29CCECA40A9664_thumb.jpg","galleries_id":76811,"server_id":1,"link":"photo_5577295.html","width":130,"caption":"<strong>Urban Gypsy<\/strong>","height":103});
															thumbnails[6543500] = clik.newPhoto({"id":6543500,"src":"HM-Girl_Web_thumb.jpg","galleries_id":481252,"server_id":1,"link":"photo_6543500.html","width":130,"caption":"<strong>Rush Hour<\/strong>","height":96});
															thumbnails[6857892] = clik.newPhoto({"id":6857892,"src":"Street-Trader_Web_thumb.jpg","galleries_id":359097,"server_id":1,"link":"photo_6857892.html","width":130,"caption":"<strong>Street Trader<\/strong>","height":128});
															thumbnails[7107279] = clik.newPhoto({"id":7107279,"src":"Breaktime_02_Web_thumb.jpg","galleries_id":444864,"server_id":1,"link":"photo_7107279.html","width":130,"caption":"<strong>Breaktime<\/strong>","height":127});
															thumbnails[7107323] = clik.newPhoto({"id":7107323,"src":"Father--Son_Web_thumb.jpg","galleries_id":475221,"server_id":1,"link":"photo_7107323.html","width":130,"caption":"<strong>Father & Son<\/strong>","height":106});
															thumbnails[7107711] = clik.newPhoto({"id":7107711,"src":"Quiet-Smoke_Web_thumb.jpg","galleries_id":480357,"server_id":1,"link":"photo_7107711.html","width":93,"caption":"<strong>A Quiet Smoke<\/strong>","height":130});
															thumbnails[9030281] = clik.newPhoto({"id":9030281,"src":"Lawrence_Web1_thumb.jpg","galleries_id":475805,"server_id":1,"link":"photo_9030281.html","width":87,"caption":"<strong>Lawrence<\/strong>","height":130});
															thumbnails[8388849] = clik.newPhoto({"id":8388849,"src":"Relax_Web_thumb.jpg","galleries_id":444864,"server_id":1,"link":"photo_8388849.html","width":130,"caption":"<strong>Relax<\/strong>","height":99});
															thumbnails[5991279] = clik.newPhoto({"id":5991279,"src":"Freshly-Made_Web_thumb.jpg","galleries_id":444864,"server_id":1,"link":"photo_5991279.html","width":130,"caption":"<strong>Freshly Made<\/strong>","height":102});
															thumbnails[7892509] = clik.newPhoto({"id":7892509,"src":"Lunchtime_Web_thumb.jpg","galleries_id":444864,"server_id":1,"link":"photo_7892509.html","width":48,"caption":"<strong>Lunch Break<\/strong>","height":130});
															thumbnails[7520757] = clik.newPhoto({"id":7520757,"src":"Welcome-to-Sheffield_Web_thumb.jpg","galleries_id":444864,"server_id":1,"link":"photo_7520757.html","width":130,"caption":"<strong>Welcome To Sheffield<\/strong>","height":130});
															thumbnails[534710] = clik.newPhoto({"id":534710,"src":"Water-Mill_Web_thumb.jpg","galleries_id":41372,"server_id":1,"link":"photo_534710.html","width":130,"caption":"<strong>Water Mill, Dunham Massey<\/strong>","height":97});
															thumbnails[7107299] = clik.newPhoto({"id":7107299,"src":"Underpass_Web_thumb.jpg","galleries_id":359097,"server_id":1,"link":"photo_7107299.html","width":130,"caption":"<strong>Subway<\/strong>","height":91});
															thumbnails[7887694] = clik.newPhoto({"id":7887694,"src":"Party-Girls_Web_thumb.jpg","galleries_id":475221,"server_id":1,"link":"photo_7887694.html","width":85,"caption":"<strong>Party Girls<\/strong>","height":130});
															thumbnails[7473456] = clik.newPhoto({"id":7473456,"src":"Waterfront_Web_730FE0DE-1E4F-37DC-711C9033C18B6D91_thumb.jpg","galleries_id":359097,"server_id":1,"link":"photo_7473456.html","width":130,"caption":"<strong>Waterfront<\/strong>","height":86});
															thumbnails[5994367] = clik.newPhoto({"id":5994367,"src":"Top-Cobbler_Web_thumb.jpg","galleries_id":41377,"server_id":1,"link":"photo_5994367.html","width":130,"caption":"<strong>Top Cobbler<\/strong>","height":101});
															thumbnails[534674] = clik.newPhoto({"id":534674,"src":"Pink_2_Web_thumb.jpg","galleries_id":41373,"server_id":1,"link":"photo_534674.html","width":130,"caption":"<strong>Pink<\/strong>","height":110});
															thumbnails[5558371] = clik.newPhoto({"id":5558371,"src":"Cradle-Mountain_Web_thumb.jpg","galleries_id":41372,"server_id":1,"link":"photo_5558371.html","width":130,"caption":"<strong>Cradle Mountain<\/strong>","height":87});
															thumbnails[7107313] = clik.newPhoto({"id":7107313,"src":"The-Patriarch_Web_thumb.jpg","galleries_id":359097,"server_id":1,"link":"photo_7107313.html","width":130,"caption":"<strong>The Patriarch<\/strong>","height":87});
															thumbnails[7520674] = clik.newPhoto({"id":7520674,"src":"The-Watcher_Web_thumb.jpg","galleries_id":475805,"server_id":1,"link":"photo_7520674.html","width":130,"caption":"<strong>The Watcher<\/strong>","height":130});
															thumbnails[9016820] = clik.newPhoto({"id":9016820,"src":"The-Dog-Walkers_Web_05C8D76C-1EC9-DFB6-099778A124E3339D_thumb.jpg","galleries_id":475221,"server_id":1,"link":"photo_9016820.html","width":114,"caption":"<strong>The Dog Walkers<\/strong>","height":130});
															thumbnails[9102313] = clik.newPhoto({"id":9102313,"src":"Lawrence_Web2_1_thumb.jpg","galleries_id":480357,"server_id":1,"link":"photo_9102313.html","width":87,"caption":"<strong>Lawrence<\/strong>","height":130});
															thumbnails[9118604] = clik.newPhoto({"id":9118604,"src":"Headlock_Web_1_thumb.jpg","galleries_id":481252,"server_id":1,"link":"photo_9118604.html","width":92,"caption":"<strong>Head Lock<\/strong>","height":130});
															thumbnails[5994370] = clik.newPhoto({"id":5994370,"src":"Waterfront_Web1_thumb.jpg","galleries_id":76811,"server_id":1,"link":"photo_5994370.html","width":130,"caption":"<strong>Waterfront<\/strong>","height":86});
															thumbnails[6857900] = clik.newPhoto({"id":6857900,"src":"Bycycle-Made-For-Two_Web_thumb.jpg","galleries_id":359097,"server_id":1,"link":"photo_6857900.html","width":130,"caption":"<strong>Bicycle Made For Two<\/strong>","height":87});
															thumbnails[554537] = clik.newPhoto({"id":554537,"src":"Roddlesworth-Woods_Web_thumb.jpg","galleries_id":41372,"server_id":1,"link":"photo_554537.html","width":130,"caption":"<strong>Roddlesworth Woods<\/strong>","height":106});
															thumbnails[4335381] = clik.newPhoto({"id":4335381,"src":"Wessenden_03_V02_Web_thumb.jpg","galleries_id":41372,"server_id":1,"link":"photo_4335381.html","width":130,"caption":"<strong>Storm Clouds Over Wessenden<\/strong>","height":87});
															thumbnails[5554834] = clik.newPhoto({"id":5554834,"src":"Bram_02_Web_thumb.jpg","galleries_id":318494,"server_id":1,"link":"photo_5554834.html","width":130,"caption":"<strong>Bram Taylor - Folk Singer<\/strong>","height":95});
															thumbnails[7892397] = clik.newPhoto({"id":7892397,"src":"You-Lookin-At-Me_Web_thumb.jpg","galleries_id":475221,"server_id":1,"link":"photo_7892397.html","width":130,"caption":"<strong>You Lookin' At Me?<\/strong>","height":100});
															thumbnails[1029445] = clik.newPhoto({"id":1029445,"src":"Steam-Man_Mono_Web_thumb.jpg","galleries_id":76811,"server_id":1,"link":"photo_1029445.html","width":93,"caption":"<Strong>Steam Man<\/Strong>","height":130});
															thumbnails[4834252] = clik.newPhoto({"id":4834252,"src":"Lago-di-Garda_Web_thumb.jpg","galleries_id":41372,"server_id":1,"link":"photo_4834252.html","width":130,"caption":"<strong>Lago di Garda<\/strong>","height":63});
															thumbnails[5991209] = clik.newPhoto({"id":5991209,"src":"Blue-on-Blue_Web_thumb.jpg","galleries_id":41377,"server_id":1,"link":"photo_5991209.html","width":89,"caption":"<strong>Blue On Blue<\/strong>","height":130});
															thumbnails[7887629] = clik.newPhoto({"id":7887629,"src":"Girl-Talk_Web_thumb.jpg","galleries_id":480357,"server_id":1,"link":"photo_7887629.html","width":130,"caption":"<strong>Girl Talk<\/strong>","height":130});
															thumbnails[9016827] = clik.newPhoto({"id":9016827,"src":"What-Do-They-Put-In-These_Web_060E177C-1EC9-DFB6-09A5BD5A0D930C6F_thumb.jpg","galleries_id":475221,"server_id":1,"link":"photo_9016827.html","width":130,"caption":"<strong>What Do They Put In These<\/strong>","height":92});
															thumbnails[9030316] = clik.newPhoto({"id":9030316,"src":"Bus-Stop_02_Web_782E42E5-24E8-5EC4-4F923CC446C0E3C2_thumb.jpg","galleries_id":475805,"server_id":1,"link":"photo_9030316.html","width":130,"caption":"<strong>Bus Stop<\/strong>","height":98});
															thumbnails[9118623] = clik.newPhoto({"id":9118623,"src":"The-Watcher_Web_1_thumb.jpg","galleries_id":481252,"server_id":1,"link":"photo_9118623.html","width":130,"caption":"<strong>The Watcher<\/strong>","height":130});
															thumbnails[5991229] = clik.newPhoto({"id":5991229,"src":"Watching_Web_thumb.jpg","galleries_id":76811,"server_id":1,"link":"photo_5991229.html","width":63,"caption":"<strong>Watching<\/strong>","height":130});
															thumbnails[5577158] = clik.newPhoto({"id":5577158,"src":"Wash-Day_Web_thumb.jpg","galleries_id":41377,"server_id":1,"link":"photo_5577158.html","width":90,"caption":"<strong>Wash Day<\/strong>","height":130});
															thumbnails[5991270] = clik.newPhoto({"id":5991270,"src":"The-Juggler_Web_thumb.jpg","galleries_id":76811,"server_id":1,"link":"photo_5991270.html","width":76,"caption":"<strong>The Juggler<\/strong>","height":130});
															thumbnails[6857915] = clik.newPhoto({"id":6857915,"src":"Concentration_Web_thumb.jpg","galleries_id":359097,"server_id":1,"link":"photo_6857915.html","width":130,"caption":"<strong>Concentration<\/Strong>","height":106});
															thumbnails[7892411] = clik.newPhoto({"id":7892411,"src":"The-Kiss_Web_thumb.jpg","galleries_id":475221,"server_id":1,"link":"photo_7892411.html","width":78,"caption":"<strong>The Kiss<\/strong>","height":130});
															thumbnails[5994371] = clik.newPhoto({"id":5994371,"src":"Alone-in-the-City_Web_thumb.jpg","galleries_id":76811,"server_id":1,"link":"photo_5994371.html","width":71,"caption":"<strong>Alone in the City<\/strong>","height":130});
															thumbnails[7107331] = clik.newPhoto({"id":7107331,"src":"Day-Out_Web_thumb.jpg","galleries_id":359097,"server_id":1,"link":"photo_7107331.html","width":130,"caption":"<strong>Day Out<\/strong>","height":81});
															thumbnails[5746093] = clik.newPhoto({"id":5746093,"src":"The-Enthusiast_Web_thumb.jpg","galleries_id":76811,"server_id":1,"link":"photo_5746093.html","width":92,"caption":"<strong>The Engineer<\/strong>","height":130});
															thumbnails[5994375] = clik.newPhoto({"id":5994375,"src":"Reading-In-Hong-Kong-Park_Web_thumb.jpg","galleries_id":76811,"server_id":1,"link":"photo_5994375.html","width":86,"caption":"<strong>Reading in Hong Kong Park<\/strong>","height":130});
															thumbnails[6749637] = clik.newPhoto({"id":6749637,"src":"Texting_Web_thumb.jpg","galleries_id":481252,"server_id":1,"link":"photo_6749637.html","width":130,"caption":"<strong>Texting<\/strong>","height":128});
															thumbnails[9016839] = clik.newPhoto({"id":9016839,"src":"Headlock_Web_thumb.jpg","galleries_id":475221,"server_id":1,"link":"photo_9016839.html","width":92,"caption":"<strong>Head Lock<\/strong>","height":130});
															thumbnails[9030332] = clik.newPhoto({"id":9030332,"src":"So-Bored_Web_78475A6F-24E8-5EC4-4F00774FCE70D97E_thumb.jpg","galleries_id":475805,"server_id":1,"link":"photo_9030332.html","width":130,"caption":"<strong>So Bored<\/strong>","height":108});
															thumbnails[9102347] = clik.newPhoto({"id":9102347,"src":"Breaktime_02_Web_1_thumb.jpg","galleries_id":480357,"server_id":1,"link":"photo_9102347.html","width":130,"caption":"<strong>Break Time<\/strong>","height":127});
															thumbnails[5994379] = clik.newPhoto({"id":5994379,"src":"Towersin-the-Sky_Web_thumb.jpg","galleries_id":41377,"server_id":1,"link":"photo_5994379.html","width":82,"caption":"<strong>Towers In The Sky<\/strong>","height":130});
															thumbnails[7107668] = clik.newPhoto({"id":7107668,"src":"Three-Girls_Web_thumb.jpg","galleries_id":359097,"server_id":1,"link":"photo_7107668.html","width":130,"caption":"<strong>Three Girls<\/strong>","height":91});
															thumbnails[5577199] = clik.newPhoto({"id":5577199,"src":"Monoliths_Web_thumb.jpg","galleries_id":318494,"server_id":1,"link":"photo_5577199.html","width":87,"caption":"<strong>Monoliths<\/strong>","height":130});
															thumbnails[5994380] = clik.newPhoto({"id":5994380,"src":"Warrior_01_Web_thumb.jpg","galleries_id":76811,"server_id":1,"link":"photo_5994380.html","width":95,"caption":"<strong>Warrior 01<\/strong>","height":130});
															thumbnails[7107671] = clik.newPhoto({"id":7107671,"src":"Pick--Mix_Web_thumb.jpg","galleries_id":359097,"server_id":1,"link":"photo_7107671.html","width":130,"caption":"<strong>Pick & Mix<\/strong>","height":121});
															thumbnails[9016845] = clik.newPhoto({"id":9016845,"src":"Making-A-Point_Web_0679F190-1EC9-DFB6-0943914C6BD19EA9_thumb.jpg","galleries_id":475221,"server_id":1,"link":"photo_9016845.html","width":130,"caption":"<strong>Making A Point<\/strong>","height":81});
															thumbnails[5994385] = clik.newPhoto({"id":5994385,"src":"Warrior_02_Web_thumb.jpg","galleries_id":76811,"server_id":1,"link":"photo_5994385.html","width":89,"caption":"<strong>Warrior 02<\/strong>","height":130});
															thumbnails[7107678] = clik.newPhoto({"id":7107678,"src":"Girls-In-Their-Summer-Clothes_Web_thumb.jpg","galleries_id":359097,"server_id":1,"link":"photo_7107678.html","width":130,"caption":"<strong>Girls In Their Summer Clothes<\/strong>","height":98});
															thumbnails[704896] = clik.newPhoto({"id":704896,"src":"Earnsdale-Reservoir_Web_thumb.jpg","galleries_id":41372,"server_id":1,"link":"photo_704896.html","width":130,"caption":"<strong>Earnsdale Reservoir<\/strong>","height":86});
															thumbnails[5558443] = clik.newPhoto({"id":5558443,"src":"Yellow-Dung-Fly_Web_thumb.jpg","galleries_id":41373,"server_id":1,"link":"photo_5558443.html","width":130,"caption":"<strong>Yellow Dung Fly<\/strong>","height":105});
															thumbnails[5995724] = clik.newPhoto({"id":5995724,"src":"Dragon_Web_thumb.jpg","galleries_id":76811,"server_id":1,"link":"photo_5995724.html","width":86,"caption":"<strong>Dragon<\/strong>","height":130});
															thumbnails[6543596] = clik.newPhoto({"id":6543596,"src":"Happiness-Is_Web_thumb.jpg","galleries_id":480357,"server_id":1,"link":"photo_6543596.html","width":78,"caption":"<strong>Happiness Is.....<\/strong>","height":130});
															thumbnails[6543689] = clik.newPhoto({"id":6543689,"src":"Mobile-Man_Web_thumb.jpg","galleries_id":481252,"server_id":1,"link":"photo_6543689.html","width":68,"caption":"<strong>Mobile Man<\/strong>","height":130});
															thumbnails[6857949] = clik.newPhoto({"id":6857949,"src":"Bus-Stop_02_Web_thumb.jpg","galleries_id":359097,"server_id":1,"link":"photo_6857949.html","width":130,"caption":"<strong>Bus Stop<\/strong>","height":98});
															thumbnails[7107291] = clik.newPhoto({"id":7107291,"src":"Middle-Class-Obsessions_Web_thumb.jpg","galleries_id":475221,"server_id":1,"link":"photo_7107291.html","width":130,"caption":"<strong>Money, Travel - Middle-Class Obsessions<\/strong>","height":82});
															thumbnails[9030361] = clik.newPhoto({"id":9030361,"src":"Texting_Web_78637D09-24E8-5EC4-4FCC9FF987D36C2A_thumb.jpg","galleries_id":475805,"server_id":1,"link":"photo_9030361.html","width":130,"caption":"<strong>Texting<\/strong>","height":128});
															thumbnails[3246805] = clik.newPhoto({"id":3246805,"src":"Lock_02_Web_thumb.jpg","galleries_id":318494,"server_id":1,"link":"photo_3246805.html","width":111,"caption":"<strong>Rusty Lock<\/strong>","height":130});
															thumbnails[5554913] = clik.newPhoto({"id":5554913,"src":"Cascade_Web_thumb.jpg","galleries_id":41377,"server_id":1,"link":"photo_5554913.html","width":93,"caption":"<strong>Carlton Gardens, Melbourne<\/strong>","height":130});
															thumbnails[7107691] = clik.newPhoto({"id":7107691,"src":"Man-In-A-Hurry_Web_thumb.jpg","galleries_id":359097,"server_id":1,"link":"photo_7107691.html","width":130,"caption":"<strong>Man In A Hurry<\/strong>","height":71});
															thumbnails[7520606] = clik.newPhoto({"id":7520606,"src":"Wild-Pyramidal-Orchid_Web_thumb.jpg","galleries_id":41373,"server_id":1,"link":"photo_7520606.html","width":87,"caption":"<strong>Wild Pyramidal Orchid<\/strong>","height":130});
															thumbnails[9016849] = clik.newPhoto({"id":9016849,"src":"A-World-of-Their-Own_Web_thumb.jpg","galleries_id":475221,"server_id":1,"link":"photo_9016849.html","width":104,"caption":"<strong>A World Of Their Own<\/strong>","height":130});
															thumbnails[6543063] = clik.newPhoto({"id":6543063,"src":"River-Colne-Slaithwaite_Web_thumb.jpg","galleries_id":41377,"server_id":1,"link":"photo_6543063.html","width":130,"caption":"<strong>River Colne, Slaithwaite<\/strong>","height":86});
															thumbnails[6543251] = clik.newPhoto({"id":6543251,"src":"Globe-Mill_Web_thumb.jpg","galleries_id":41377,"server_id":1,"link":"photo_6543251.html","width":86,"caption":"<strong>Globe Mill, Slaithwaite<\/strong>","height":130});
															thumbnails[6858624] = clik.newPhoto({"id":6858624,"src":"Barn-Owl_Web_thumb.jpg","galleries_id":41373,"server_id":1,"link":"photo_6858624.html","width":87,"caption":"<strong>Barn Owl<\/strong>","height":130});
															thumbnails[7520733] = clik.newPhoto({"id":7520733,"src":"On-Message_Web_thumb.jpg","galleries_id":481252,"server_id":1,"link":"photo_7520733.html","width":130,"caption":"<strong>On Message<\/strong>","height":77});
															thumbnails[7887598] = clik.newPhoto({"id":7887598,"src":"A-Man-And-His-Dog_Web_thumb.jpg","galleries_id":41372,"server_id":1,"link":"photo_7887598.html","width":130,"caption":"<strong>A Man And His Dog<\/strong>","height":59});
															thumbnails[7892523] = clik.newPhoto({"id":7892523,"src":"Duncan-Lounge-Boys_Web_thumb.jpg","galleries_id":480357,"server_id":1,"link":"photo_7892523.html","width":76,"caption":"<strong>Duncan Lounge Boys<\/strong>","height":130});
															thumbnails[9016861] = clik.newPhoto({"id":9016861,"src":"Starbucks-Time_Web_thumb.jpg","galleries_id":475221,"server_id":1,"link":"photo_9016861.html","width":87,"caption":"<strong>Starbucks Time<\/strong>","height":130});
															thumbnails[9030375] = clik.newPhoto({"id":9030375,"src":"That-Starbucks-Moment_Web_787B1241-24E8-5EC4-4FE3449D7B23C5B8_thumb.jpg","galleries_id":475805,"server_id":1,"link":"photo_9030375.html","width":97,"caption":"<strong>That Starbucks Moment<\/strong>","height":130});
															thumbnails[7107683] = clik.newPhoto({"id":7107683,"src":"Superman--Friend_Web_thumb.jpg","galleries_id":475221,"server_id":1,"link":"photo_7107683.html","width":130,"caption":"<strong>Superman & Friend<\/strong>","height":109});
															thumbnails[7890584] = clik.newPhoto({"id":7890584,"src":"Ripon-Cathedral_Web1_thumb.jpg","galleries_id":41377,"server_id":1,"link":"photo_7890584.html","width":89,"caption":"<strong>Ripon Cathedral Detail<\/strong>","height":130});
															thumbnails[5554692] = clik.newPhoto({"id":5554692,"src":"Great-Oyster-Bay_Web_thumb.jpg","galleries_id":318494,"server_id":1,"link":"photo_5554692.html","width":130,"caption":"<strong>Great Oyster Bay<\/strong>","height":47});
															thumbnails[6543465] = clik.newPhoto({"id":6543465,"src":"Lock-22E_Web_thumb.jpg","galleries_id":41377,"server_id":1,"link":"photo_6543465.html","width":79,"caption":"<strong>Lock 22E, Huddersfield Narrow Canal<\/strong>","height":130});
															thumbnails[7107702] = clik.newPhoto({"id":7107702,"src":"Mobile-Girl_Web_thumb.jpg","galleries_id":481252,"server_id":1,"link":"photo_7107702.html","width":84,"caption":"<strong>Mobile Girl<\/strong>","height":130});
															thumbnails[9016877] = clik.newPhoto({"id":9016877,"src":"Queens_WEb_072303ED-1EC9-DFB6-099563B79C34CA08_thumb.jpg","galleries_id":475221,"server_id":1,"link":"photo_9016877.html","width":95,"caption":"<strong>Queens<\/strong>","height":130});
															thumbnails[9030397] = clik.newPhoto({"id":9030397,"src":"Lunchtime_Web_78B6EA33-24E8-5EC4-4F987EBCCED19F73_thumb.jpg","galleries_id":475805,"server_id":1,"link":"photo_9030397.html","width":48,"caption":"<strong>Lunch Break<\/strong>","height":130});
															thumbnails[9102370] = clik.newPhoto({"id":9102370,"src":"Mr-Whippy_Web_1_thumb.jpg","galleries_id":480357,"server_id":1,"link":"photo_9102370.html","width":130,"caption":"<strong>Mr Whippy<\/strong>","height":92});
															thumbnails[6858642] = clik.newPhoto({"id":6858642,"src":"Eagle-Owl_02_Web_thumb.jpg","galleries_id":41373,"server_id":1,"link":"photo_6858642.html","width":130,"caption":"<strong>Eagle Owl #02<\/strong>","height":91});
															thumbnails[7520701] = clik.newPhoto({"id":7520701,"src":"Shopping_Web_thumb.jpg","galleries_id":475221,"server_id":1,"link":"photo_7520701.html","width":130,"caption":"<strong>Shopping<\/strong>","height":77});
															thumbnails[6543491] = clik.newPhoto({"id":6543491,"src":"Huddrsfield-Narrow-Canal---Slaithwaite_Web_thumb.jpg","galleries_id":41377,"server_id":1,"link":"photo_6543491.html","width":104,"caption":"<strong>Huddersfield Narrow Canal, Slaithwaite<\/strong>","height":130});
															thumbnails[6858657] = clik.newPhoto({"id":6858657,"src":"Goshawk_01_Web_thumb.jpg","galleries_id":41373,"server_id":1,"link":"photo_6858657.html","width":99,"caption":"<strong>Goshawk #01<\/strong>","height":130});
															thumbnails[7887666] = clik.newPhoto({"id":7887666,"src":"Lipstick_Web_thumb.jpg","galleries_id":481252,"server_id":1,"link":"photo_7887666.html","width":73,"caption":"<strong>Lipstick<\/strong>","height":130});
															thumbnails[7892514] = clik.newPhoto({"id":7892514,"src":"High-Court_Web_thumb.jpg","galleries_id":480357,"server_id":1,"link":"photo_7892514.html","width":130,"caption":"<strong>High Court<\/strong>","height":120});
															thumbnails[9030420] = clik.newPhoto({"id":9030420,"src":"Relax_Web_78ED63AF-24E8-5EC4-4FD6BA76AE301121_thumb.jpg","galleries_id":475805,"server_id":1,"link":"photo_9030420.html","width":130,"caption":"<strong>Relax<\/strong>","height":99});
															thumbnails[6858678] = clik.newPhoto({"id":6858678,"src":"Goshawk_02_Web_thumb.jpg","galleries_id":41373,"server_id":1,"link":"photo_6858678.html","width":130,"caption":"<strong>Goshawk #02<\/strong>","height":102});
															thumbnails[7520775] = clik.newPhoto({"id":7520775,"src":"Bargain-Hunter_Web_thumb.jpg","galleries_id":475805,"server_id":1,"link":"photo_7520775.html","width":127,"caption":"<strong>Bargain Hunter<\/strong>","height":130});
															thumbnails[7523101] = clik.newPhoto({"id":7523101,"src":"Globe-Worsted_Web_thumb.jpg","galleries_id":41377,"server_id":1,"link":"photo_7523101.html","width":130,"caption":"<strong>Globe Worsted Co. Limited<\/strong>","height":76});
															thumbnails[7892518] = clik.newPhoto({"id":7892518,"src":"Everything-Must-Go_Web_thumb.jpg","galleries_id":480357,"server_id":1,"link":"photo_7892518.html","width":130,"caption":"<strong>Everything Must Go<\/strong>","height":108});
															thumbnails[7892528] = clik.newPhoto({"id":7892528,"src":"Buy-Gold_Web_thumb.jpg","galleries_id":481252,"server_id":1,"link":"photo_7892528.html","width":130,"caption":"<strong>Buy Gold<\/strong>","height":130});
															thumbnails[5304754] = clik.newPhoto({"id":5304754,"src":"Pulleys-_V3_Web_thumb.jpg","galleries_id":318494,"server_id":1,"link":"photo_5304754.html","width":130,"caption":"<strong>Pulleys<\/strong>","height":109});
															thumbnails[6858700] = clik.newPhoto({"id":6858700,"src":"Goshawk_03_Web_thumb.jpg","galleries_id":41373,"server_id":1,"link":"photo_6858700.html","width":93,"caption":"<strong>Goshawk #03<\/strong>","height":130});
															thumbnails[7107721] = clik.newPhoto({"id":7107721,"src":"Last-Few-Days_Web_thumb.jpg","galleries_id":481252,"server_id":1,"link":"photo_7107721.html","width":63,"caption":"<strong>Last Few Days<\/strong>","height":130});
															thumbnails[7523120] = clik.newPhoto({"id":7523120,"src":"Globe-Mill_02_Web_thumb.jpg","galleries_id":41377,"server_id":1,"link":"photo_7523120.html","width":93,"caption":"<strong>Globe Mill, Slaithwaite - 02<\/strong>","height":130});
															thumbnails[9030475] = clik.newPhoto({"id":9030475,"src":"A-World-of-Their-Own_Web_791AC00B-24E8-5EC4-4F1A558D11CECAB7_thumb.jpg","galleries_id":475805,"server_id":1,"link":"photo_9030475.html","width":104,"caption":"<strong>A World Of Their Own<\/strong>","height":130});
															thumbnails[6543766] = clik.newPhoto({"id":6543766,"src":"Old-Man_Web_thumb.jpg","galleries_id":359097,"server_id":1,"link":"photo_6543766.html","width":76,"caption":"<strong>Old Man<\/strong>","height":130});
															thumbnails[7523134] = clik.newPhoto({"id":7523134,"src":"Huddersfield-Narrow-Canal_Web_thumb.jpg","galleries_id":41377,"server_id":1,"link":"photo_7523134.html","width":87,"caption":"<strong>Huddersfield Narrow Canal, Slaithwaite - 02<\/strong>","height":130});
															thumbnails[9030538] = clik.newPhoto({"id":9030538,"src":"Middle-Class-Obsessions_Web_793D5B73-24E8-5EC4-4FD45B7511775D74_thumb.jpg","galleries_id":475805,"server_id":1,"link":"photo_9030538.html","width":130,"caption":"<strong>Money, Travel - Middle-Class Obsessions<\/strong>","height":82});
															thumbnails[7523141] = clik.newPhoto({"id":7523141,"src":"Spa-Mill_Web_thumb.jpg","galleries_id":41377,"server_id":1,"link":"photo_7523141.html","width":130,"caption":"<strong>Spa Mill<\/strong>","height":99});
															thumbnails[9030569] = clik.newPhoto({"id":9030569,"src":"Sleeping_Web_thumb.jpg","galleries_id":475805,"server_id":1,"link":"photo_9030569.html","width":104,"caption":"<strong>Sleeping<\/strong>","height":130});
															thumbnails[7107735] = clik.newPhoto({"id":7107735,"src":"Fashionista_Web_thumb.jpg","galleries_id":359097,"server_id":1,"link":"photo_7107735.html","width":72,"caption":"<strong>Fashionista<\/strong>","height":130});
															thumbnails[6857931] = clik.newPhoto({"id":6857931,"src":"Reading_Web_thumb.jpg","galleries_id":475805,"server_id":1,"link":"photo_6857931.html","width":130,"caption":"<strong>Reading<\/strong>","height":84});
															thumbnails[6858768] = clik.newPhoto({"id":6858768,"src":"Tawny-Owl_03_Web_thumb.jpg","galleries_id":41373,"server_id":1,"link":"photo_6858768.html","width":81,"caption":"<strong>Tawny Owl #03<\/strong>","height":130});
															thumbnails[7890586] = clik.newPhoto({"id":7890586,"src":"Necropolis_Web_thumb.jpg","galleries_id":41377,"server_id":1,"link":"photo_7890586.html","width":130,"caption":"<strong>Necropolis<\/strong>","height":87});
															thumbnails[7107968] = clik.newPhoto({"id":7107968,"src":"fcuk_Web_thumb.jpg","galleries_id":359097,"server_id":1,"link":"photo_7107968.html","width":66,"caption":"<strong>fcuk<\/strong>","height":130});
															thumbnails[2810812] = clik.newPhoto({"id":2810812,"src":"Rhubarb-And-Custard_Web_thumb.jpg","galleries_id":318494,"server_id":1,"link":"photo_2810812.html","width":130,"caption":"<strong>Rhubarb & Custard<\/strong>","height":101});
															thumbnails[7520705] = clik.newPhoto({"id":7520705,"src":"Hoodie_Web_thumb.jpg","galleries_id":359097,"server_id":1,"link":"photo_7520705.html","width":130,"caption":"<strong>Hoodie<\/strong>","height":77});
															thumbnails[7520724] = clik.newPhoto({"id":7520724,"src":"Striding-Out_Web_thumb.jpg","galleries_id":359097,"server_id":1,"link":"photo_7520724.html","width":130,"caption":"<strong>Striding Out<\/strong>","height":77});
															thumbnails[7520767] = clik.newPhoto({"id":7520767,"src":"Platform_Web_thumb.jpg","galleries_id":359097,"server_id":1,"link":"photo_7520767.html","width":130,"caption":"<strong>Platform<\/strong>","height":72});
															thumbnails[7887614] = clik.newPhoto({"id":7887614,"src":"To-The-Top_Web_thumb.jpg","galleries_id":359097,"server_id":1,"link":"photo_7887614.html","width":81,"caption":"<strong>To The Top<\/strong>","height":130});
															thumbnails[6858758] = clik.newPhoto({"id":6858758,"src":"Tawny-Owl_02_Web_thumb.jpg","galleries_id":41373,"server_id":1,"link":"photo_6858758.html","width":72,"caption":"<strong>Tawny Owl #02<\/strong>","height":130});
															thumbnails[5577356] = clik.newPhoto({"id":5577356,"src":"Urban-Gypsy_Mono_02_Web_thumb.jpg","galleries_id":318494,"server_id":1,"link":"photo_5577356.html","width":130,"caption":"<strong>Urban Gypsy<\/strong>","height":103});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[435784] = clik.newGallery({"parentGallery":435775,"usePopups":true,"title":2010.0,"link":"gallery_435784.html","maxRecords":0.0,"photoIDs":[1029436.0,5558494.0,5746111.0,3246785.0,5994368.0,5994369.0,5554574.0,2546499.0,5746203.0,6858741.0,6858635.0,3246940.0,7236219.0,5991261.0,7236269.0,7236291.0,7317066.0,7317069.0],"skipIndex":0,"section_code":"gallery","featured_images":"7317069,7317066,7236291,7236269,7236219,6858741,6858635,5994369,5994368,5991261,5746203,5746111,5558494,5554574,3246940,3246785,2546499,1029436","id":435784,"singleSection":false});				  						galleries[435785] = clik.newGallery({"parentGallery":435775,"usePopups":true,"title":2011.0,"link":"gallery_435785.html","maxRecords":0.0,"photoIDs":[5577193.0,7473329.0,7473347.0,7473360.0,7473381.0,7548906.0,7539080.0,7520789.0,7520638.0,5554935.0,7520630.0,7844823.0,7887607.0,7887471.0,7887674.0,8564139.0,8564138.0,8600909.0,7890589.0,7890578.0,8679007.0,5554767.0,8702370.0,8013696.0,7890590.0,8938742.0,8940272.0],"skipIndex":0,"section_code":"gallery","featured_images":"8940272,8938742,8702370,8679007,8600909,8564139,8564138,8013696,7890590,7890589,7890578,7887674,7887607,7887471,7844823,7548906,7539080,7520789,7520638,7520630,7473381,7473360,7473347,7473329,5577193,5554935,5554767","id":435785,"singleSection":false});				  						galleries[477718] = clik.newGallery({"parentGallery":435775,"usePopups":true,"title":2012.0,"link":"gallery_477718.html","maxRecords":0.0,"photoIDs":[9060748.0],"skipIndex":0,"section_code":"gallery","featured_images":9060748.0,"id":477718,"singleSection":false});				  						galleries[435775] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Exhibitions & Awards","link":"gallery_435775.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"9060748,8940272,8938742,8702370,8679007,8600909,8564139,8564138,8013696,7890590,7890589,7890578,7887674,7887607,7887471,7844823,7548906,7539080,7520789,7520638,7520630,7473381,7473360,7473347,7473329,7317069,7317066,7236291,7236269,7236219,6858741,6858635,5994369,5994368,5991261,5746203,5746111,5577356,5577199,5577193,5558494,5554935,5554834,5554767,5554692,5554574,5304754,3246940,3246805,3246785,2810812,2546499,1029436","id":435775,"singleSection":false});				  						galleries[318494] = clik.newGallery({"parentGallery":435775,"usePopups":true,"title":"Miscellany","link":"gallery_318494.html","maxRecords":0.0,"photoIDs":[5554834.0,5577199.0,3246805.0,5554692.0,5304754.0,2810812.0,5577356.0],"skipIndex":0,"section_code":"gallery","featured_images":"5577356,5577199,5554834,5554692,5304754,3246805,2810812","id":318494,"singleSection":false});				  						galleries[444859] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Ordinary People","link":"gallery_444859.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"9118623,9118604,9102370,9102347,9102313,9030569,9030538,9030475,9030420,9030397,9030375,9030361,9030332,9030316,9030281,9016877,9016861,9016849,9016845,9016839,9016827,9016820,9016810,8389431,8389396,8388849,8388732,7892528,7892523,7892518,7892514,7892509,7892411,7892397,7890594,7890592,7887716,7887694,7887666,7887629,7887614,7520775,7520767,7520757,7520733,7520724,7520705,7520701,7520674,7520665,7473465,7473456,7107968,7107751,7107744,7107735,7107725,7107721,7107717,7107711,7107691,7107683,7107678,7107671,7107668,7107331,7107323,7107313,7107299,7107291,7107279,6857949,6857931,6857915,6857900,6857892,6749637,6543766,6543708,6543689,6543596,6543500,5991279,5991193,5991181","id":444859,"singleSection":false});				  						galleries[384514] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Wither Wood","link":"gallery_384514.html","maxRecords":0.0,"photoIDs":[7205527.0,7108166.0,7205523.0,7205520.0,7205525.0,7108168.0,7211029.0,7520821.0,7520823.0,7520824.0],"skipIndex":0,"section_code":"gallery","featured_images":"7520824,7520823,7520821,7211029,7205527,7205525,7205520,7108168,7108166","id":384514,"singleSection":false});				  						galleries[41372] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Gallery 1","link":"gallery_41372.html","maxRecords":0.0,"photoIDs":[534710.0,5558371.0,554537.0,4335381.0,4834252.0,704896.0,7887598.0],"skipIndex":0,"section_code":"gallery","featured_images":"7887598,5558371,4834252,4335381,704896,554537,534710","id":41372,"singleSection":false});				  						galleries[481252] = clik.newGallery({"parentGallery":444859,"usePopups":true,"title":"Mobile Phones","link":"gallery_481252.html","maxRecords":0.0,"photoIDs":[6543500.0,9118604.0,9118623.0,6749637.0,6543689.0,7520733.0,7107702.0,7887666.0,7892528.0,7107721.0],"skipIndex":0,"section_code":"gallery","featured_images":"9118623,9118604,7892528,7887666,7520733,7107721,6749637,6543689,6543500","id":481252,"singleSection":false});				  						galleries[444864] = clik.newGallery({"parentGallery":444859,"usePopups":true,"title":"Food & Drink","link":"gallery_444864.html","maxRecords":0.0,"photoIDs":[5991193.0,7107717.0,7107725.0,7107744.0,7107751.0,8388732.0,7887716.0,7890594.0,7520665.0,7107279.0,8388849.0,5991279.0,7892509.0,7520757.0],"skipIndex":0,"section_code":"gallery","featured_images":"8388849,8388732,7892509,7890594,7887716,7520757,7520665,7107751,7107744,7107725,7107717,7107279,5991279,5991193","id":444864,"singleSection":false});				  						galleries[41373] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Gallery 2","link":"gallery_41373.html","maxRecords":0.0,"photoIDs":[7520581.0,7520595.0,534674.0,5558443.0,7520606.0,6858624.0,6858642.0,6858657.0,6858678.0,6858700.0,6858768.0,6858758.0],"skipIndex":0,"section_code":"gallery","featured_images":"7520606,7520595,7520581,6858768,6858758,6858700,6858678,6858657,6858642,6858624,5558443,534674","id":41373,"singleSection":false});				  						galleries[41377] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Gallery 3","link":"gallery_41377.html","maxRecords":0.0,"photoIDs":[5577247.0,5994367.0,5991209.0,5577158.0,5994379.0,5554913.0,6543063.0,6543251.0,7890584.0,6543465.0,6543491.0,7523101.0,7523120.0,7523134.0,7523141.0,7890586.0],"skipIndex":0,"section_code":"gallery","featured_images":"7890586,7890584,7523141,7523134,7523120,7523101,6543491,6543465,6543251,6543063,5994379,5994367,5991209,5577247,5577158,5554913","id":41377,"singleSection":false});				  						galleries[480357] = clik.newGallery({"parentGallery":444859,"usePopups":true,"title":"<strong>Smokers<\/strong>","link":"gallery_480357.html","maxRecords":0.0,"photoIDs":[7107711.0,9102313.0,7887629.0,9102347.0,6543596.0,7892523.0,9102370.0,7892514.0,7892518.0],"skipIndex":0,"section_code":"gallery","featured_images":"9102370,9102347,9102313,7892523,7892518,7892514,7887629,7107711,6543596","id":480357,"singleSection":false});				  						galleries[76811] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Gallery 4","link":"gallery_76811.html","maxRecords":0.0,"photoIDs":[5991246.0,5577295.0,5994370.0,1029445.0,5991229.0,5991270.0,5994371.0,5746093.0,5994375.0,5994380.0,5994385.0,5995724.0],"skipIndex":0,"section_code":"gallery","featured_images":"5995724,5994385,5994380,5994375,5994371,5994370,5991270,5991246,5991229,5746093,5577295,1029445","id":76811,"singleSection":false});				  						galleries[475805] = clik.newGallery({"parentGallery":444859,"usePopups":true,"title":"Bench Life","link":"gallery_475805.html","maxRecords":0.0,"photoIDs":[9030281.0,7520674.0,9030316.0,9030332.0,9030361.0,9030375.0,9030397.0,9030420.0,7520775.0,9030475.0,9030538.0,9030569.0,6857931.0],"skipIndex":0,"section_code":"gallery","featured_images":"9030569,9030538,9030475,9030420,9030397,9030375,9030361,9030332,9030316,9030281,7520775,7520674,6857931","id":475805,"singleSection":false});				  						galleries[475221] = clik.newGallery({"parentGallery":444859,"usePopups":true,"title":"Couples","link":"gallery_475221.html","maxRecords":0.0,"photoIDs":[9016810.0,7107323.0,7887694.0,9016820.0,7892397.0,9016827.0,7892411.0,9016839.0,9016845.0,7107291.0,9016849.0,9016861.0,7107683.0,9016877.0,7520701.0],"skipIndex":0,"section_code":"gallery","featured_images":"9016877,9016861,9016849,9016845,9016839,9016827,9016820,9016810,7892411,7892397,7887694,7520701,7107683,7107323,7107291","id":475221,"singleSection":false});				  						galleries[444878] = clik.newGallery({"parentGallery":444859,"usePopups":true,"title":"Work","link":"gallery_444878.html","maxRecords":0.0,"photoIDs":[5991181.0,7890592.0,6543708.0,7473465.0,8389396.0,8389431.0],"skipIndex":0,"section_code":"gallery","featured_images":"8389431,8389396,7890592,7473465,6543708,5991181","id":444878,"singleSection":false});				  						galleries[359097] = clik.newGallery({"parentGallery":444859,"usePopups":true,"title":"Image Pool","link":"gallery_359097.html","maxRecords":0.0,"photoIDs":[6857892.0,7107299.0,7473456.0,7107313.0,6857900.0,6857915.0,7107331.0,7107668.0,7107671.0,7107678.0,6857949.0,7107691.0,6543766.0,7107735.0,7107968.0,7520705.0,7520724.0,7520767.0,7887614.0],"skipIndex":0,"section_code":"gallery","featured_images":"7887614,7520767,7520724,7520705,7473456,7107968,7107735,7107691,7107678,7107671,7107668,7107331,7107313,7107299,6857949,6857915,6857900,6857892,6543766","id":359097,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '9060748,5577193,1029436,7473329,5558494,7473347,5746111,7473360,7205520,3246785,7473381,7205525,5994368,7548906,5994369,7539080,7211029,5554574,7520821,7520789,2546499,7520823,7520638,5746203,7520824,6858741,5991193,5991181,5554935,7520630,6858635,7844823,3246940,7887607,7887471,5991261,7887674,7236269,8564139,7236291,8564138,7317066,8600909,7317069,7890589,7890592,7890578,7107717,8679007,8702370,5554767,8013696,7890590,8938742,8940272,7107725,6543708,7473465,7107744,9016810,8389396,7520581,7107751,8389431,8388732,7887716,7520595,5991246,7890594,7520665,9030281,7107711,7107323,7107279,6857892,6543500,5577295,8388849,5991279,7892509,7520757,7887694,7107299,534710,7473456,5994367,9118604,9102313,9016820,7520674,7107313,5558371,534674,5994370,6857900,7892397,5554834,4335381,554537,9118623,9030316,9016827,7887629,5991209,4834252,7892411,6857915,7107331,9102347,9030332,9016839,6749637,7107668,9016845,7107671,5577199,7107678,9030361,7107291,6857949,6543689,6543596,5558443,704896,9016849,7520606,7107691,5554913,3246805,6543063,9030375,9016861,7892523,7887598,7520733,7890584,7107683,9102370,9030397,9016877,7107702,5554692,7520701,6858642,9030420,7892514,7887666,7892528,7892518,7523101,7520775,6858678,9030475,7523120,7107721,5304754,9030538,7523134,9030569,7523141,7890586,6857931,2810812,7520705,7520724,7520767,7887614,5577356';
imageSets[2] = '9060748,7205527,5577193,1029436,7473329,7108166,5558494,7473347,5746111,7473360,7205520,3246785,7473381,7205525,5994368,7548906,7108168,5994369,7539080,7211029,5554574,7520821,7520789,2546499,7520823,7520638,5746203,5577247,7520824,6858741,5991193,5991181,5554935,7520630,6858635,7844823,3246940,7887607,7236219,7887471,5991261,7887674,7236269,8564139,7236291,8564138,7317066,8600909,7317069,7890589,7890592,7890578,7107717,8679007,8702370,5554767,8013696,7890590,8938742,8940272,7107725,6543708,7473465,7107744,9016810,8389396,7520581,7107751,8389431,8388732,7887716,7520595,5991246,7890594,7520665,9030281,7107711,7107323,7107279,6857892,6543500,5577295,8388849,5991279,7892509,7520757,7887694,7107299,534710,7473456,5994367,9118604,9102313,9016820,7520674,7107313,5558371,534674,5994370,6857900,7892397,5554834,4335381,554537,9118623,9030316,9016827,7887629,5991209,4834252,1029445,5991229,7892411,6857915,5991270,5577158,7107331,5994371,9102347,9030332,9016839,6749637,5994375,5746093,7107668,5994379,9016845,7107671,5994380,5577199,7107678,5994385,9030361,7107291,6857949,6543689,6543596,5995724,5558443,704896,9016849,7520606,7107691,5554913,3246805,6543063,9030375,9016861,7892523,7887598,7520733,6858624,6543251,7890584,7107683,9102370,9030397,9016877,6543465,5554692,7520701,6858642,9030420,7892514,7887666,6858657,6543491,7892528,7892518,7523101,7520775,6858678,9030475,7523120,7107721,6858700,5304754,9030538,7523134,6543766,9030569,7523141,7107735,7890586,6858768,6857931,7107968,2810812,7520705,7520724,7520767,7887614,6858758,5577356';
imageSets[3] = '7205527,7236219,5304754';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/peterbartlett/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/peterbartlett/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/peterbartlett/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/peterbartlett/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/peterbartlett/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/peterbartlett/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/peterbartlett/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/peterbartlett/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/peterbartlett/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/peterbartlett/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/peterbartlett/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/peterbartlett/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/peterbartlett/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/peterbartlett/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/peterbartlett/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/peterbartlett/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/peterbartlett/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/peterbartlett/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/peterbartlett/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/peterbartlett/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/peterbartlett/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/peterbartlett/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/peterbartlett/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/peterbartlett/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/peterbartlett/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/peterbartlett/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/peterbartlett/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 = 'PETER BARTLETT LRPS, CPAGB, BPE1*: ' + 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="peterbartlett78@msn.com">';
					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="peterbartlett78@msn.com">';
				temp += '<input type="hidden" name="display" value="1">';
				temp += '<input type=\"Submit\" value=\"View cart\" id=\"paymentViewButton\" class=\"button\" onmouseover=\"this.className=\'buttonHi\';\" onmouseout=\"this.className=\'button\';\">';
				temp += '</form>';
						temp += '<div class="clearing">&nbsp;</div>';
	}
	return temp;};

/***************************************************************************
* Pick a photo at random from the featured images of a gallery.            *
* Gallery_id = id of gallery to choose,                                    *
* img = reference to html image in                                         *
* which to show image                                                      *
***************************************************************************/
function showGalleryImage(gallery_id, img, updateLink) {
	
	if(img){
		if (location.hash.match('galleries_id=' + gallery_id) && (imageID = location.hash.match('.*photos_id=(.+)$'))) {
		  	imageID = imageID[1];
		} else {
		  	imageID = randomListVal(galleries[gallery_id].featured_images);
		}
		
		if (imageID != 0) {
			img.src = thumbnails[imageID].src;
			img.width = thumbnails[imageID].width;
			img.height = thumbnails[imageID].height;
			img.alt = galleries[gallery_id].title;
			if (updateLink) {
				$(img).parent().attr({					title: galleries[gallery_id].title				}).filter(function(){return this.href;}).attr({					href: thumbnails[imageID].fnGalleryLink(gallery_id)				});
			}
		}
	}
}

/***************************************************************************
* If we have dynamic HTML, replace the galleries link with a list that     *
* doesn't include thecurrent gallery                                       *
***************************************************************************/
function showGalleries(gallery_id) {
		
	
	if (!basic) {
		temp = '';
		for (i = 0; i < galleries.length; i++) {
						
			
			if (galleries[i].id != gallery_id) {
								
				if (temp != '') {
					temp += ' | ';
				}
								temp += '<a href="' + galleries[i].section_code + '_' + galleries[i].id + '.html">' + galleries[i].title + '</a>';
							}
		}
		document.all.galleryLinks.innerHTML = 'Other galleries: ' + temp;
	}
}

			

