window.thumbnails = {};
															thumbnails[28226] = clik.newPhoto({"id":28226,"src":"Hotel-Lounge-Bar_05D_1028a_thumb.jpg","galleries_id":3176,"server_id":18,"link":"photo_28226.html","width":130,"caption":"Hotel Lounge Bar","height":86});
															thumbnails[28233] = clik.newPhoto({"id":28233,"src":"05D_0232a_thumb.jpg","galleries_id":3180,"server_id":18,"link":"photo_28233.html","width":130,"caption":"Duck Walk","height":86});
															thumbnails[28241] = clik.newPhoto({"id":28241,"src":"05D_0122a1_thumb.jpg","galleries_id":3179,"server_id":18,"link":"photo_28241.html","width":130,"caption":"Marsden Rock","height":86});
															thumbnails[28249] = clik.newPhoto({"id":28249,"src":"05D_0118a_thumb.jpg","galleries_id":22549,"server_id":18,"link":"photo_28249.html","width":130,"caption":"Sunrise Walk","height":86});
															thumbnails[28252] = clik.newPhoto({"id":28252,"src":"05D_0723a_thumb.jpg","galleries_id":3983,"server_id":18,"link":"photo_28252.html","width":130,"caption":"Saintly Sunrise","height":86});
															thumbnails[28259] = clik.newPhoto({"id":28259,"src":"05D_0016a_thumb.jpg","galleries_id":3177,"server_id":18,"link":"photo_28259.html","width":130,"caption":"Raw Power","height":86});
															thumbnails[28276] = clik.newPhoto({"id":28276,"src":"05D_0699a_thumb.jpg","galleries_id":3178,"server_id":18,"link":"photo_28276.html","width":130,"caption":"Wave Power","height":86});
															thumbnails[38334] = clik.newPhoto({"id":38334,"src":"05D_1933_thumb.jpg","galleries_id":3986,"server_id":18,"link":"photo_38334.html","width":130,"caption":"Sea and Sand","height":86});
															thumbnails[66903] = clik.newPhoto({"id":66903,"src":"05D_3835B_thumb.jpg","galleries_id":6497,"server_id":18,"link":"photo_66903.html","width":130,"caption":"The Characteristic Image of Egypt","height":86});
															thumbnails[249009] = clik.newPhoto({"id":249009,"src":"Genie in Bottle_thumb.jpg","galleries_id":22552,"server_id":18,"link":"photo_249009.html","width":130,"caption":"Genie in a Bottle","height":196});
															thumbnails[920222] = clik.newPhoto({"id":920222,"src":"07D_7310_thumb.jpg","galleries_id":70032,"server_id":18,"link":"photo_920222.html","width":130,"caption":"Just starting","height":184});
															thumbnails[3227935] = clik.newPhoto({"id":3227935,"src":"08D_8342_thumb.jpg","galleries_id":191618,"server_id":18,"link":"photo_3227935.html","width":130,"caption":"Peaceful Lake","height":87});
															thumbnails[3227945] = clik.newPhoto({"id":3227945,"src":"08D_8672_thumb.jpg","galleries_id":191624,"server_id":18,"link":"photo_3227945.html","width":130,"caption":"Misty Boat House on the Lake","height":87});
															thumbnails[3972635] = clik.newPhoto({"id":3972635,"src":"08D_10007_thumb.jpg","galleries_id":240554,"server_id":18,"link":"photo_3972635.html","width":130,"caption":"Flooded Field","height":86});
															thumbnails[28227] = clik.newPhoto({"id":28227,"src":"Italian-Restaurant_05D_1046a_thumb.jpg","galleries_id":3176,"server_id":18,"link":"photo_28227.html","width":130,"caption":"Italian Restaurant","height":86});
															thumbnails[28234] = clik.newPhoto({"id":28234,"src":"05D_0268a_thumb.jpg","galleries_id":3180,"server_id":18,"link":"photo_28234.html","width":130,"caption":"Not So Sheepish","height":86});
															thumbnails[28242] = clik.newPhoto({"id":28242,"src":"05D_0129_thumb.jpg","galleries_id":3179,"server_id":18,"link":"photo_28242.html","width":130,"caption":"Misty Morn","height":86});
															thumbnails[28250] = clik.newPhoto({"id":28250,"src":"05D_0235_thumb.jpg","galleries_id":22549,"server_id":18,"link":"photo_28250.html","width":130,"caption":"Buttermere","height":86});
															thumbnails[28255] = clik.newPhoto({"id":28255,"src":"05D_0851b_thumb.jpg","galleries_id":3983,"server_id":18,"link":"photo_28255.html","width":130,"caption":"Lighthouse Walk","height":195});
															thumbnails[28260] = clik.newPhoto({"id":28260,"src":"05D_0029_thumb.jpg","galleries_id":3177,"server_id":18,"link":"photo_28260.html","width":130,"caption":"Silvery Morning","height":86});
															thumbnails[28278] = clik.newPhoto({"id":28278,"src":"05D_1348a_thumb.jpg","galleries_id":3178,"server_id":18,"link":"photo_28278.html","width":130,"caption":"Heavenly Skies","height":86});
															thumbnails[38339] = clik.newPhoto({"id":38339,"src":"05D_1843_thumb.jpg","galleries_id":3986,"server_id":18,"link":"photo_38339.html","width":130,"caption":"Only Sand","height":86});
															thumbnails[72353] = clik.newPhoto({"id":72353,"src":"05D_3014Composite_thumb.jpg","galleries_id":6497,"server_id":18,"link":"photo_72353.html","width":130,"caption":"Temple of Isis, Philae Sound & Light","height":86});
															thumbnails[249018] = clik.newPhoto({"id":249018,"src":"Kali in Clouds MB_thumb.jpg","galleries_id":22552,"server_id":18,"link":"photo_249018.html","width":130,"caption":"Avenging Lady","height":80});
															thumbnails[920225] = clik.newPhoto({"id":920225,"src":"07D_7315M_thumb.jpg","galleries_id":70032,"server_id":18,"link":"photo_920225.html","width":130,"caption":"Old Time Yachting","height":194});
															thumbnails[3227941] = clik.newPhoto({"id":3227941,"src":"08D_8350_thumb.jpg","galleries_id":191618,"server_id":18,"link":"photo_3227941.html","width":130,"caption":"Winter Morning at the Lake","height":87});
															thumbnails[3227946] = clik.newPhoto({"id":3227946,"src":"08D_8677_thumb.jpg","galleries_id":191624,"server_id":18,"link":"photo_3227946.html","width":130,"caption":"Clear Morning Over Ullswater","height":87});
															thumbnails[3972639] = clik.newPhoto({"id":3972639,"src":"08D_10012_thumb.jpg","galleries_id":240554,"server_id":18,"link":"photo_3972639.html","width":130,"caption":"River Bursts it's Banks","height":74});
															thumbnails[28228] = clik.newPhoto({"id":28228,"src":"Something-Fishy_05D_1208a_thumb.jpg","galleries_id":3176,"server_id":18,"link":"photo_28228.html","width":130,"caption":"Something Fishy","height":86});
															thumbnails[28235] = clik.newPhoto({"id":28235,"src":"05D_0815a_thumb.jpg","galleries_id":3180,"server_id":18,"link":"photo_28235.html","width":130,"caption":"A Tired Foal","height":86});
															thumbnails[28243] = clik.newPhoto({"id":28243,"src":"05D_0663_thumb.jpg","galleries_id":3179,"server_id":18,"link":"photo_28243.html","width":130,"caption":"Early Monrning Marsden","height":86});
															thumbnails[28251] = clik.newPhoto({"id":28251,"src":"05D_0259_thumb.jpg","galleries_id":22549,"server_id":18,"link":"photo_28251.html","width":130,"caption":"Forest Walk","height":86});
															thumbnails[28256] = clik.newPhoto({"id":28256,"src":"05D_0853b_thumb.jpg","galleries_id":3983,"server_id":18,"link":"photo_28256.html","width":130,"caption":"Tide's Out","height":86});
															thumbnails[28261] = clik.newPhoto({"id":28261,"src":"05D_0141a_thumb.jpg","galleries_id":3177,"server_id":18,"link":"photo_28261.html","width":130,"caption":"Walking the Dog","height":86});
															thumbnails[28279] = clik.newPhoto({"id":28279,"src":"05D_1352a_thumb.jpg","galleries_id":3178,"server_id":18,"link":"photo_28279.html","width":130,"caption":"Solitary Boat","height":86});
															thumbnails[38340] = clik.newPhoto({"id":38340,"src":"05D_1898_thumb.jpg","galleries_id":3986,"server_id":18,"link":"photo_38340.html","width":130,"caption":"Stormy Skies","height":86});
															thumbnails[72375] = clik.newPhoto({"id":72375,"src":"05D_3025A_thumb.jpg","galleries_id":6497,"server_id":18,"link":"photo_72375.html","width":130,"caption":"Temple of Isis, Philae from the Nile","height":86});
															thumbnails[250469] = clik.newPhoto({"id":250469,"src":"06D_5593_thumb.jpg","galleries_id":22551,"server_id":18,"link":"photo_250469.html","width":130,"caption":"Avenging Beauty","height":196});
															thumbnails[920226] = clik.newPhoto({"id":920226,"src":"07D_7328_thumb.jpg","galleries_id":70032,"server_id":18,"link":"photo_920226.html","width":130,"caption":"Hey this is Good","height":87});
															thumbnails[3227943] = clik.newPhoto({"id":3227943,"src":"08D_8529_thumb.jpg","galleries_id":191618,"server_id":18,"link":"photo_3227943.html","width":130,"caption":"Sunny Morning at Haweswater","height":87});
															thumbnails[3227948] = clik.newPhoto({"id":3227948,"src":"08D_8680_thumb.jpg","galleries_id":191624,"server_id":18,"link":"photo_3227948.html","width":130,"caption":"Misty Morning at Ullswater","height":87});
															thumbnails[3972661] = clik.newPhoto({"id":3972661,"src":"08D_10014_thumb.jpg","galleries_id":240554,"server_id":18,"link":"photo_3972661.html","width":130,"caption":"Flood Water in Field","height":87});
															thumbnails[50281] = clik.newPhoto({"id":50281,"src":"05D_0146a_thumb.jpg","galleries_id":3177,"server_id":18,"link":"photo_50281.html","width":130,"caption":"Sunrise","height":86});
															thumbnails[50282] = clik.newPhoto({"id":50282,"src":"05D_0155a_thumb.jpg","galleries_id":3177,"server_id":18,"link":"photo_50282.html","width":130,"caption":"Stormy Seas","height":86});
															thumbnails[28229] = clik.newPhoto({"id":28229,"src":"Spectacular-Desert_05D_1240a_thumb.jpg","galleries_id":3176,"server_id":18,"link":"photo_28229.html","width":130,"caption":"Spectacular Desert","height":86});
															thumbnails[28236] = clik.newPhoto({"id":28236,"src":"05D_0916a_thumb.jpg","galleries_id":3180,"server_id":18,"link":"photo_28236.html","width":130,"caption":"Sentry Seagull","height":86});
															thumbnails[28244] = clik.newPhoto({"id":28244,"src":"05D_0831a_thumb.jpg","galleries_id":3179,"server_id":18,"link":"photo_28244.html","width":130,"caption":"Peaceful Marsden","height":86});
															thumbnails[28257] = clik.newPhoto({"id":28257,"src":"05D_0854a_thumb.jpg","galleries_id":3983,"server_id":18,"link":"photo_28257.html","width":130,"caption":"Tide's Out","height":86});
															thumbnails[28262] = clik.newPhoto({"id":28262,"src":"05D_0156a_thumb.jpg","galleries_id":3177,"server_id":18,"link":"photo_28262.html","width":130,"caption":"Lashing Waves","height":86});
															thumbnails[28280] = clik.newPhoto({"id":28280,"src":"05D_1794a_thumb.jpg","galleries_id":3178,"server_id":18,"link":"photo_28280.html","width":130,"caption":"Big Brother's Watching","height":86});
															thumbnails[38341] = clik.newPhoto({"id":38341,"src":"05D_1844_thumb.jpg","galleries_id":3986,"server_id":18,"link":"photo_38341.html","width":130,"caption":"Morning Jog","height":86});
															thumbnails[38345] = clik.newPhoto({"id":38345,"src":"05D_2020_thumb.jpg","galleries_id":22549,"server_id":18,"link":"photo_38345.html","width":130,"caption":"Wall Growth","height":86});
															thumbnails[72383] = clik.newPhoto({"id":72383,"src":"05D_3035A_thumb.jpg","galleries_id":6497,"server_id":18,"link":"photo_72383.html","width":130,"caption":"Temple at Philae, Hathor Image","height":86});
															thumbnails[250471] = clik.newPhoto({"id":250471,"src":"06D_5559_thumb.jpg","galleries_id":22551,"server_id":18,"link":"photo_250471.html","width":130,"caption":"Youth and Beauty","height":196});
															thumbnails[920227] = clik.newPhoto({"id":920227,"src":"07D_7339_thumb.jpg","galleries_id":70032,"server_id":18,"link":"photo_920227.html","width":130,"caption":"Who's Going to Win","height":92});
															thumbnails[3227944] = clik.newPhoto({"id":3227944,"src":"08D_8718_thumb.jpg","galleries_id":191618,"server_id":18,"link":"photo_3227944.html","width":130,"caption":"The Lake in the Valley","height":87});
															thumbnails[3227954] = clik.newPhoto({"id":3227954,"src":"08D_9338_thumb.jpg","galleries_id":191624,"server_id":18,"link":"photo_3227954.html","width":130,"caption":"Dull Day Over Ullswater","height":87});
															thumbnails[3972665] = clik.newPhoto({"id":3972665,"src":"08D_10197_thumb.jpg","galleries_id":240554,"server_id":18,"link":"photo_3972665.html","width":130,"caption":"Misty Snowy Morning","height":87});
															thumbnails[28230] = clik.newPhoto({"id":28230,"src":"Contemporary-Comfort_05D_1527a_thumb.jpg","galleries_id":3176,"server_id":18,"link":"photo_28230.html","width":130,"caption":"Contemporary Comfort","height":86});
															thumbnails[28237] = clik.newPhoto({"id":28237,"src":"05D_0918a_thumb.jpg","galleries_id":3180,"server_id":18,"link":"photo_28237.html","width":130,"caption":"Seagull Landing","height":86});
															thumbnails[28245] = clik.newPhoto({"id":28245,"src":"05D_0880a_thumb.jpg","galleries_id":3179,"server_id":18,"link":"photo_28245.html","width":130,"caption":"Stirring Up","height":86});
															thumbnails[28253] = clik.newPhoto({"id":28253,"src":"05D_0796a_thumb.jpg","galleries_id":22549,"server_id":18,"link":"photo_28253.html","width":130,"caption":"Rapeseed Field","height":86});
															thumbnails[28258] = clik.newPhoto({"id":28258,"src":"05D_0868a_thumb.jpg","galleries_id":3983,"server_id":18,"link":"photo_28258.html","width":130,"caption":"Tranquil Morning","height":86});
															thumbnails[28263] = clik.newPhoto({"id":28263,"src":"05D_0162a_thumb.jpg","galleries_id":3177,"server_id":18,"link":"photo_28263.html","width":130,"caption":"Waves-a-Plenty","height":86});
															thumbnails[28281] = clik.newPhoto({"id":28281,"src":"05D_1796a_thumb.jpg","galleries_id":3178,"server_id":18,"link":"photo_28281.html","width":130,"caption":"The Fleet","height":86});
															thumbnails[38342] = clik.newPhoto({"id":38342,"src":"05D_1902_thumb.jpg","galleries_id":3986,"server_id":18,"link":"photo_38342.html","width":130,"caption":"Protection from the Past","height":86});
															thumbnails[83071] = clik.newPhoto({"id":83071,"src":"05D_2414_thumb.jpg","galleries_id":6497,"server_id":18,"link":"photo_83071.html","width":130,"caption":"Berthed on the Nile","height":86});
															thumbnails[250472] = clik.newPhoto({"id":250472,"src":"06D_5416_thumb.jpg","galleries_id":22551,"server_id":18,"link":"photo_250472.html","width":130,"caption":"Hidden","height":196});
															thumbnails[920228] = clik.newPhoto({"id":920228,"src":"07D_7341_thumb.jpg","galleries_id":70032,"server_id":18,"link":"photo_920228.html","width":130,"caption":"Nudging Ahead","height":87});
															thumbnails[3972600] = clik.newPhoto({"id":3972600,"src":"08D_9983_thumb.jpg","galleries_id":191624,"server_id":18,"link":"photo_3972600.html","width":130,"caption":"Southern End of Lake Ullswater","height":87});
															thumbnails[3972671] = clik.newPhoto({"id":3972671,"src":"08D_10203_thumb.jpg","galleries_id":240554,"server_id":18,"link":"photo_3972671.html","width":130,"caption":"Misty Winter Fields","height":65});
															thumbnails[5585694] = clik.newPhoto({"id":5585694,"src":"09D_10430_thumb.jpg","galleries_id":191618,"server_id":18,"link":"photo_5585694.html","width":130,"caption":"Beautiful Haweswater","height":86});
															thumbnails[50283] = clik.newPhoto({"id":50283,"src":"05D_0188a_thumb.jpg","galleries_id":3177,"server_id":18,"link":"photo_50283.html","width":130,"caption":"Pre-Dawn Sky 1","height":86});
															thumbnails[28231] = clik.newPhoto({"id":28231,"src":"Fresh-Coffee_05D_1557a_thumb.jpg","galleries_id":3176,"server_id":18,"link":"photo_28231.html","width":130,"caption":"Fresh Coffee","height":86});
															thumbnails[28238] = clik.newPhoto({"id":28238,"src":"05D_0928a_thumb.jpg","galleries_id":3180,"server_id":18,"link":"photo_28238.html","width":130,"caption":"Seagulls","height":86});
															thumbnails[28246] = clik.newPhoto({"id":28246,"src":"05D_0897a_thumb.jpg","galleries_id":3179,"server_id":18,"link":"photo_28246.html","width":130,"caption":"Marsden Waves","height":86});
															thumbnails[28254] = clik.newPhoto({"id":28254,"src":"05D_0802a_thumb.jpg","galleries_id":22549,"server_id":18,"link":"photo_28254.html","width":130,"caption":"Rapeseed Flowers","height":86});
															thumbnails[28265] = clik.newPhoto({"id":28265,"src":"05D_0191_thumb.jpg","galleries_id":3177,"server_id":18,"link":"photo_28265.html","width":130,"caption":"Pre-Dawn Sky 2","height":86});
															thumbnails[38320] = clik.newPhoto({"id":38320,"src":"05D_0870_thumb.jpg","galleries_id":3983,"server_id":18,"link":"photo_38320.html","width":130,"caption":"Tranquil Morning","height":86});
															thumbnails[83074] = clik.newPhoto({"id":83074,"src":"05D_2415_thumb.jpg","galleries_id":6497,"server_id":18,"link":"photo_83074.html","width":130,"caption":"Berthed on the Nile","height":86});
															thumbnails[250475] = clik.newPhoto({"id":250475,"src":"05D_2934_thumb.jpg","galleries_id":22551,"server_id":18,"link":"photo_250475.html","width":130,"caption":"Life's Good","height":86});
															thumbnails[920229] = clik.newPhoto({"id":920229,"src":"07D_7348_thumb.jpg","galleries_id":70032,"server_id":18,"link":"photo_920229.html","width":130,"caption":"I've Done My Bit","height":87});
															thumbnails[3972607] = clik.newPhoto({"id":3972607,"src":"08D_9987_thumb.jpg","galleries_id":191624,"server_id":18,"link":"photo_3972607.html","width":130,"caption":"Southern End of Ullswater","height":87});
															thumbnails[5533032] = clik.newPhoto({"id":5533032,"src":"09D_10381_thumb.jpg","galleries_id":240554,"server_id":18,"link":"photo_5533032.html","width":130,"caption":"The English countryside","height":86});
															thumbnails[5585697] = clik.newPhoto({"id":5585697,"src":"09D_10435_thumb.jpg","galleries_id":191618,"server_id":18,"link":"photo_5585697.html","width":130,"caption":"View down Haweswater","height":86});
															thumbnails[28232] = clik.newPhoto({"id":28232,"src":"05D_1580a_thumb.jpg","galleries_id":3176,"server_id":18,"link":"photo_28232.html","width":130,"caption":"Historic Dining","height":86});
															thumbnails[28239] = clik.newPhoto({"id":28239,"src":"05D_1483a_thumb.jpg","galleries_id":3180,"server_id":18,"link":"photo_28239.html","width":130,"caption":"Swan in the Morning","height":86});
															thumbnails[28247] = clik.newPhoto({"id":28247,"src":"05D_1391_thumb.jpg","galleries_id":3179,"server_id":18,"link":"photo_28247.html","width":130,"caption":"Marsden, the Sentinel","height":86});
															thumbnails[28267] = clik.newPhoto({"id":28267,"src":"05D_0207_thumb.jpg","galleries_id":3177,"server_id":18,"link":"photo_28267.html","width":130,"caption":"Pre-Dawn Sky 3","height":86});
															thumbnails[38333] = clik.newPhoto({"id":38333,"src":"05D_0871a_thumb.jpg","galleries_id":3983,"server_id":18,"link":"photo_38333.html","width":130,"caption":"Silent Helper","height":86});
															thumbnails[38343] = clik.newPhoto({"id":38343,"src":"05D_0714_thumb.jpg","galleries_id":22549,"server_id":18,"link":"photo_38343.html","width":130,"caption":"Frosty Morning","height":86});
															thumbnails[83075] = clik.newPhoto({"id":83075,"src":"05D_2419_thumb.jpg","galleries_id":6497,"server_id":18,"link":"photo_83075.html","width":130,"caption":"Across the Nile","height":86});
															thumbnails[250476] = clik.newPhoto({"id":250476,"src":"05D_3116_thumb.jpg","galleries_id":22551,"server_id":18,"link":"photo_250476.html","width":130,"caption":"Nubian Man","height":196});
															thumbnails[920230] = clik.newPhoto({"id":920230,"src":"07D_7353_thumb.jpg","galleries_id":70032,"server_id":18,"link":"photo_920230.html","width":130,"caption":"Catching the Wind","height":184});
															thumbnails[3972615] = clik.newPhoto({"id":3972615,"src":"08D_9989_thumb.jpg","galleries_id":191624,"server_id":18,"link":"photo_3972615.html","width":130,"caption":"Hills Near Glenridding","height":87});
															thumbnails[5532936] = clik.newPhoto({"id":5532936,"src":"Ornamental-Brass-Sphere_09D_10710CVD_thumb.jpg","galleries_id":3176,"server_id":18,"link":"photo_5532936.html","width":130,"caption":"Ornamental brass sphere","height":130});
															thumbnails[5533046] = clik.newPhoto({"id":5533046,"src":"09D_10399_thumb.jpg","galleries_id":240554,"server_id":18,"link":"photo_5533046.html","width":130,"caption":"A country parish church","height":195});
															thumbnails[28240] = clik.newPhoto({"id":28240,"src":"05D_1505_thumb.jpg","galleries_id":3180,"server_id":18,"link":"photo_28240.html","width":130,"caption":"Graceful Swan","height":86});
															thumbnails[28248] = clik.newPhoto({"id":28248,"src":"05D_1406_thumb.jpg","galleries_id":3179,"server_id":18,"link":"photo_28248.html","width":130,"caption":"Camel Island","height":86});
															thumbnails[28268] = clik.newPhoto({"id":28268,"src":"05D_0284_thumb.jpg","galleries_id":3177,"server_id":18,"link":"photo_28268.html","width":130,"caption":"Roker Lighthouse","height":195});
															thumbnails[38344] = clik.newPhoto({"id":38344,"src":"05D_1981_thumb.jpg","galleries_id":22550,"server_id":18,"link":"photo_38344.html","width":130,"caption":"Wooden Statue","height":86});
															thumbnails[83077] = clik.newPhoto({"id":83077,"src":"05D_2420_thumb.jpg","galleries_id":6497,"server_id":18,"link":"photo_83077.html","width":130,"caption":"Nile West Bank","height":86});
															thumbnails[250479] = clik.newPhoto({"id":250479,"src":"05D_4232_thumb.jpg","galleries_id":22551,"server_id":18,"link":"photo_250479.html","width":130,"caption":"Nubian Musicians","height":86});
															thumbnails[920231] = clik.newPhoto({"id":920231,"src":"07D_7363_thumb.jpg","galleries_id":70032,"server_id":18,"link":"photo_920231.html","width":130,"caption":"Sky's a Changing","height":194});
															thumbnails[3972621] = clik.newPhoto({"id":3972621,"src":"08D_9991_thumb.jpg","galleries_id":191624,"server_id":18,"link":"photo_3972621.html","width":130,"caption":"Lanty's Tarn","height":87});
															thumbnails[5532959] = clik.newPhoto({"id":5532959,"src":"Ornamental-Brass-Orbs_09D_10711P_thumb.jpg","galleries_id":3176,"server_id":18,"link":"photo_5532959.html","width":130,"caption":"Ornamental brass orbs","height":87});
															thumbnails[5533053] = clik.newPhoto({"id":5533053,"src":"09D_10406_thumb.jpg","galleries_id":240554,"server_id":18,"link":"photo_5533053.html","width":130,"caption":"A countryside church","height":86});
															thumbnails[38348] = clik.newPhoto({"id":38348,"src":"05D_1813_thumb.jpg","galleries_id":3180,"server_id":18,"link":"photo_38348.html","width":130,"caption":"Hiding Away","height":86});
															thumbnails[28270] = clik.newPhoto({"id":28270,"src":"05D_0616a_thumb.jpg","galleries_id":3177,"server_id":18,"link":"photo_28270.html","width":130,"caption":"Chilly Waves","height":66});
															thumbnails[38346] = clik.newPhoto({"id":38346,"src":"05D_2059_thumb.jpg","galleries_id":22549,"server_id":18,"link":"photo_38346.html","width":130,"caption":"Storms-a-Coming","height":196});
															thumbnails[38349] = clik.newPhoto({"id":38349,"src":"05D_1818_thumb.jpg","galleries_id":3180,"server_id":18,"link":"photo_38349.html","width":130,"caption":"Time to Warm Up","height":86});
															thumbnails[38354] = clik.newPhoto({"id":38354,"src":"05D_0316_thumb.jpg","galleries_id":3179,"server_id":18,"link":"photo_38354.html","width":130,"caption":"Marsden Morning","height":86});
															thumbnails[83080] = clik.newPhoto({"id":83080,"src":"05D_2421_thumb.jpg","galleries_id":6497,"server_id":18,"link":"photo_83080.html","width":130,"caption":"Luxor West Bank","height":86});
															thumbnails[250480] = clik.newPhoto({"id":250480,"src":"05D_4319_thumb.jpg","galleries_id":22551,"server_id":18,"link":"photo_250480.html","width":130,"caption":"Whirling Dervish","height":86});
															thumbnails[920232] = clik.newPhoto({"id":920232,"src":"07D_7385_thumb.jpg","galleries_id":70032,"server_id":18,"link":"photo_920232.html","width":130,"caption":"Speedy Craft","height":87});
															thumbnails[5532965] = clik.newPhoto({"id":5532965,"src":"Old-World-Feel-Room_09D_10723SB01_thumb.jpg","galleries_id":3176,"server_id":18,"link":"photo_5532965.html","width":130,"caption":"Old world feel room","height":92});
															thumbnails[5533121] = clik.newPhoto({"id":5533121,"src":"09D_10412_thumb.jpg","galleries_id":240554,"server_id":18,"link":"photo_5533121.html","width":130,"caption":"A country churchyard","height":195});
															thumbnails[5616440] = clik.newPhoto({"id":5616440,"src":"09D_10252_thumb.jpg","galleries_id":191624,"server_id":18,"link":"photo_5616440.html","width":130,"caption":"Snowy road by Ullswater","height":87});
															thumbnails[28271] = clik.newPhoto({"id":28271,"src":"05D_0632a_thumb.jpg","galleries_id":22551,"server_id":18,"link":"photo_28271.html","width":130,"caption":"Surfing","height":85});
															thumbnails[38347] = clik.newPhoto({"id":38347,"src":"05D_2060_thumb.jpg","galleries_id":22549,"server_id":18,"link":"photo_38347.html","width":130,"caption":"Heavenly Clouds","height":86});
															thumbnails[38350] = clik.newPhoto({"id":38350,"src":"05D_1820_thumb.jpg","galleries_id":3180,"server_id":18,"link":"photo_38350.html","width":130,"caption":"Keeping an Eye Out","height":86});
															thumbnails[38355] = clik.newPhoto({"id":38355,"src":"05D_0323_thumb.jpg","galleries_id":3179,"server_id":18,"link":"photo_38355.html","width":130,"caption":"Lonely Sentinel","height":195});
															thumbnails[83081] = clik.newPhoto({"id":83081,"src":"05D_2428_thumb.jpg","galleries_id":6497,"server_id":18,"link":"photo_83081.html","width":130,"caption":"Colossi of Memnon","height":196});
															thumbnails[920233] = clik.newPhoto({"id":920233,"src":"07D_7392_thumb.jpg","galleries_id":70032,"server_id":18,"link":"photo_920233.html","width":130,"caption":"Catch the Wind","height":186});
															thumbnails[5533131] = clik.newPhoto({"id":5533131,"src":"09D_10415_thumb.jpg","galleries_id":240554,"server_id":18,"link":"photo_5533131.html","width":130,"caption":"A churchyard sundial","height":195});
															thumbnails[5616443] = clik.newPhoto({"id":5616443,"src":"09D_10259C_thumb.jpg","galleries_id":191624,"server_id":18,"link":"photo_5616443.html","width":130,"caption":"Snow on the hills at Ullswater","height":60});
															thumbnails[8510088] = clik.newPhoto({"id":8510088,"src":"Bar-Room-Clock_11D_12750_thumb.jpg","galleries_id":3176,"server_id":18,"link":"photo_8510088.html","width":130,"caption":"Bar Room Clock","height":125});
															thumbnails[137584] = clik.newPhoto({"id":137584,"src":"05D_5072C_thumb.jpg","galleries_id":22551,"server_id":18,"link":"photo_137584.html","width":130,"caption":"Walking the Dog","height":182});
															thumbnails[28273] = clik.newPhoto({"id":28273,"src":"05D_0777a_thumb.jpg","galleries_id":3177,"server_id":18,"link":"photo_28273.html","width":130,"caption":"Morning Glory","height":86});
															thumbnails[38351] = clik.newPhoto({"id":38351,"src":"05D_1819_thumb.jpg","galleries_id":3180,"server_id":18,"link":"photo_38351.html","width":130,"caption":"\"Who's that\"","height":86});
															thumbnails[38356] = clik.newPhoto({"id":38356,"src":"05D_0471_thumb.jpg","galleries_id":3179,"server_id":18,"link":"photo_38356.html","width":130,"caption":"Marsden Sunrise","height":86});
															thumbnails[50286] = clik.newPhoto({"id":50286,"src":"05D_0225a_thumb.jpg","galleries_id":22549,"server_id":18,"link":"photo_50286.html","width":130,"caption":"Peaceful Lake","height":86});
															thumbnails[83197] = clik.newPhoto({"id":83197,"src":"05D_2432_thumb.jpg","galleries_id":6497,"server_id":18,"link":"photo_83197.html","width":130,"caption":"Colossus Close-up","height":196});
															thumbnails[920235] = clik.newPhoto({"id":920235,"src":"07D_7402_thumb.jpg","galleries_id":70032,"server_id":18,"link":"photo_920235.html","width":130,"caption":"Doing Well","height":186});
															thumbnails[5616446] = clik.newPhoto({"id":5616446,"src":"09D_10281_thumb.jpg","galleries_id":191624,"server_id":18,"link":"photo_5616446.html","width":130,"caption":"Misty morning at Glenridding","height":169});
															thumbnails[7662262] = clik.newPhoto({"id":7662262,"src":"09D_10851Enh_thumb.jpg","galleries_id":240554,"server_id":18,"link":"photo_7662262.html","width":130,"caption":"Flooded Banks of the Eden","height":87});
															thumbnails[8510089] = clik.newPhoto({"id":8510089,"src":"Clock-Face-Detail_11D_12751_thumb.jpg","galleries_id":3176,"server_id":18,"link":"photo_8510089.html","width":130,"caption":"Clock Face Detail","height":89});
															thumbnails[28274] = clik.newPhoto({"id":28274,"src":"05D_1731_thumb.jpg","galleries_id":3177,"server_id":18,"link":"photo_28274.html","width":130,"caption":"Blue Skies","height":196});
															thumbnails[38352] = clik.newPhoto({"id":38352,"src":"05D_1821_thumb.jpg","galleries_id":3180,"server_id":18,"link":"photo_38352.html","width":130,"caption":"\"Where's the bath water?\"","height":86});
															thumbnails[38357] = clik.newPhoto({"id":38357,"src":"05D_0764_thumb.jpg","galleries_id":3179,"server_id":18,"link":"photo_38357.html","width":130,"caption":"Lonely Marsden","height":86});
															thumbnails[83200] = clik.newPhoto({"id":83200,"src":"05D_2447_thumb.jpg","galleries_id":6497,"server_id":18,"link":"photo_83200.html","width":130,"caption":"Valley View","height":196});
															thumbnails[582757] = clik.newPhoto({"id":582757,"src":"_G2D1294-01_thumb.jpg","galleries_id":22551,"server_id":18,"link":"photo_582757.html","width":130,"caption":"A Moment of Quiet","height":194});
															thumbnails[5616447] = clik.newPhoto({"id":5616447,"src":"09D_10366S_thumb.jpg","galleries_id":191624,"server_id":18,"link":"photo_5616447.html","width":130,"caption":"Brooding Ullswater","height":59});
															thumbnails[6300468] = clik.newPhoto({"id":6300468,"src":"10D_11136_thumb.jpg","galleries_id":240554,"server_id":18,"link":"photo_6300468.html","width":130,"caption":"Village bridge","height":87});
															thumbnails[8510094] = clik.newPhoto({"id":8510094,"src":"Clock-Face-Detail-BW_11D_12751_thumb.jpg","galleries_id":3176,"server_id":18,"link":"photo_8510094.html","width":130,"caption":"Clock Face Detail in Monochrome","height":89});
															thumbnails[38353] = clik.newPhoto({"id":38353,"src":"05D_1865_thumb.jpg","galleries_id":3180,"server_id":18,"link":"photo_38353.html","width":130,"caption":"Just Visiting","height":86});
															thumbnails[38358] = clik.newPhoto({"id":38358,"src":"05D_13911_thumb.jpg","galleries_id":3179,"server_id":18,"link":"photo_38358.html","width":130,"caption":"Tide's Out","height":86});
															thumbnails[50284] = clik.newPhoto({"id":50284,"src":"05D_0286a_thumb.jpg","galleries_id":3177,"server_id":18,"link":"photo_50284.html","width":130,"caption":"Misty Morning","height":86});
															thumbnails[83199] = clik.newPhoto({"id":83199,"src":"05D_2433_thumb.jpg","galleries_id":6497,"server_id":18,"link":"photo_83199.html","width":130,"caption":"Colossi in Context","height":86});
															thumbnails[582772] = clik.newPhoto({"id":582772,"src":"_G2D1295-01_thumb.jpg","galleries_id":22551,"server_id":18,"link":"photo_582772.html","width":130,"caption":"A Happy Couple","height":87});
															thumbnails[5616525] = clik.newPhoto({"id":5616525,"src":"09D_10585_thumb.jpg","galleries_id":191624,"server_id":18,"link":"photo_5616525.html","width":130,"caption":"Cloudy sunrise at Ullswater","height":87});
															thumbnails[6300475] = clik.newPhoto({"id":6300475,"src":"10D_11138_thumb.jpg","galleries_id":240554,"server_id":18,"link":"photo_6300475.html","width":130,"caption":"Bridge over river at Lazonby","height":87});
															thumbnails[8510096] = clik.newPhoto({"id":8510096,"src":"Clock-Thermometer_11D_12752_thumb.jpg","galleries_id":3176,"server_id":18,"link":"photo_8510096.html","width":130,"caption":"Thermometer dial on clock face","height":89});
															thumbnails[38359] = clik.newPhoto({"id":38359,"src":"05D_1788_thumb.jpg","galleries_id":3179,"server_id":18,"link":"photo_38359.html","width":130,"caption":"Marsden Bay","height":86});
															thumbnails[50280] = clik.newPhoto({"id":50280,"src":"05D_0139a_thumb.jpg","galleries_id":3177,"server_id":18,"link":"photo_50280.html","width":130,"caption":"Dawn's Early Light","height":86});
															thumbnails[50291] = clik.newPhoto({"id":50291,"src":"05D_0260a_thumb.jpg","galleries_id":22549,"server_id":18,"link":"photo_50291.html","width":130,"caption":"Nature's Detail","height":86});
															thumbnails[50295] = clik.newPhoto({"id":50295,"src":"05D_1479a_thumb.jpg","galleries_id":3180,"server_id":18,"link":"photo_50295.html","width":130,"caption":"Swan in the Park","height":86});
															thumbnails[83201] = clik.newPhoto({"id":83201,"src":"05D_2453_thumb.jpg","galleries_id":6497,"server_id":18,"link":"photo_83201.html","width":130,"caption":"Valley of the Kings","height":86});
															thumbnails[5616528] = clik.newPhoto({"id":5616528,"src":"09D_10592_thumb.jpg","galleries_id":191624,"server_id":18,"link":"photo_5616528.html","width":130,"caption":"Cloudy morning at Ullswater","height":87});
															thumbnails[50292] = clik.newPhoto({"id":50292,"src":"05D_0279a_thumb.jpg","galleries_id":22549,"server_id":18,"link":"photo_50292.html","width":130,"caption":"Lake View","height":86});
															thumbnails[50296] = clik.newPhoto({"id":50296,"src":"05D_0657_thumb.jpg","galleries_id":3179,"server_id":18,"link":"photo_50296.html","width":130,"caption":"Misty Morning Shore","height":86});
															thumbnails[83202] = clik.newPhoto({"id":83202,"src":"05D_2473_thumb.jpg","galleries_id":6497,"server_id":18,"link":"photo_83202.html","width":130,"caption":"Temple of Hatshepsut","height":86});
															thumbnails[810589] = clik.newPhoto({"id":810589,"src":"07D_7234crop_G2D1501-01_thumb.jpg","galleries_id":3180,"server_id":18,"link":"photo_810589.html","width":130,"caption":"Seagull in Flight","height":92});
															thumbnails[5616653] = clik.newPhoto({"id":5616653,"src":"09D_10676_thumb.jpg","galleries_id":191624,"server_id":18,"link":"photo_5616653.html","width":130,"caption":"Modern art on Ullswater","height":87});
															thumbnails[50293] = clik.newPhoto({"id":50293,"src":"05D_2219a_thumb.jpg","galleries_id":22549,"server_id":18,"link":"photo_50293.html","width":130,"caption":"Stormy Morning Skies","height":86});
															thumbnails[50297] = clik.newPhoto({"id":50297,"src":"05D_1420a_thumb.jpg","galleries_id":3179,"server_id":18,"link":"photo_50297.html","width":130,"caption":"Marsden Rock in the Morning","height":86});
															thumbnails[83204] = clik.newPhoto({"id":83204,"src":"05D_2482_thumb.jpg","galleries_id":6497,"server_id":18,"link":"photo_83204.html","width":130,"caption":"Temple of Hatshepsut","height":86});
															thumbnails[117390] = clik.newPhoto({"id":117390,"src":"05D_4900_thumb.jpg","galleries_id":3177,"server_id":18,"link":"photo_117390.html","width":130,"caption":"Perfect Sunrise","height":86});
															thumbnails[810601] = clik.newPhoto({"id":810601,"src":"07D_7237crop_G2D1506-01_thumb.jpg","galleries_id":3180,"server_id":18,"link":"photo_810601.html","width":130,"caption":"Bird in Flight","height":92});
															thumbnails[5616661] = clik.newPhoto({"id":5616661,"src":"09D_10677_thumb.jpg","galleries_id":191624,"server_id":18,"link":"photo_5616661.html","width":130,"caption":"Modern art on Ullswater","height":87});
															thumbnails[137568] = clik.newPhoto({"id":137568,"src":"05D_5036_thumb.jpg","galleries_id":22550,"server_id":18,"link":"photo_137568.html","width":130,"caption":"Hylton Castle Grounds","height":92});
															thumbnails[50298] = clik.newPhoto({"id":50298,"src":"05D_2186a_thumb.jpg","galleries_id":3179,"server_id":18,"link":"photo_50298.html","width":130,"caption":"Misty Marsden","height":86});
															thumbnails[83206] = clik.newPhoto({"id":83206,"src":"05D_2484_thumb.jpg","galleries_id":6497,"server_id":18,"link":"photo_83206.html","width":130,"caption":"Steps to Hatshepsut","height":196});
															thumbnails[770892] = clik.newPhoto({"id":770892,"src":"06D_7075 _G2D0800_thumb.jpg","galleries_id":3177,"server_id":18,"link":"photo_770892.html","width":130,"caption":"Clouds Over Marina","height":87});
															thumbnails[810606] = clik.newPhoto({"id":810606,"src":"07D_7240crop_G2D1510-01_thumb.jpg","galleries_id":3180,"server_id":18,"link":"photo_810606.html","width":130,"caption":"Flying above the waves","height":92});
															thumbnails[5616667] = clik.newPhoto({"id":5616667,"src":"09D_10678_thumb.jpg","galleries_id":191624,"server_id":18,"link":"photo_5616667.html","width":130,"caption":"Modern art on misty Ullswater","height":87});
															thumbnails[137571] = clik.newPhoto({"id":137571,"src":"05D_5047_thumb.jpg","galleries_id":22550,"server_id":18,"link":"photo_137571.html","width":130,"caption":"Hylton Castle in Winter<br>\r\n<br>\r\n","height":196});
															thumbnails[50299] = clik.newPhoto({"id":50299,"src":"05D_2189a_thumb.jpg","galleries_id":3179,"server_id":18,"link":"photo_50299.html","width":130,"caption":"Camel Island in the Mist","height":86});
															thumbnails[83207] = clik.newPhoto({"id":83207,"src":"05D_2487_thumb.jpg","galleries_id":6497,"server_id":18,"link":"photo_83207.html","width":130,"caption":"Hatshepsut's Statue","height":86});
															thumbnails[810611] = clik.newPhoto({"id":810611,"src":"07D_7242_G2D1512-01_thumb.jpg","galleries_id":3180,"server_id":18,"link":"photo_810611.html","width":130,"caption":"Soaring above","height":87});
															thumbnails[810621] = clik.newPhoto({"id":810621,"src":"07D_7253_G2D1525-01_thumb.jpg","galleries_id":3177,"server_id":18,"link":"photo_810621.html","width":130,"caption":"Sunrise walking the dog","height":87});
															thumbnails[5616670] = clik.newPhoto({"id":5616670,"src":"09D_10757_thumb.jpg","galleries_id":191624,"server_id":18,"link":"photo_5616670.html","width":130,"caption":"Purple sunrise over Ullswater","height":87});
															thumbnails[137576] = clik.newPhoto({"id":137576,"src":"05D_5054_thumb.jpg","galleries_id":22549,"server_id":18,"link":"photo_137576.html","width":130,"caption":"Steaming Sea","height":86});
															thumbnails[83210] = clik.newPhoto({"id":83210,"src":"05D_2488_thumb.jpg","galleries_id":6497,"server_id":18,"link":"photo_83210.html","width":130,"caption":"Hatshepsut Inner Courtyard","height":86});
															thumbnails[810617] = clik.newPhoto({"id":810617,"src":"07D_7244crop_G2D1514-01_thumb.jpg","galleries_id":3180,"server_id":18,"link":"photo_810617.html","width":130,"caption":"Looking for food","height":92});
															thumbnails[5616672] = clik.newPhoto({"id":5616672,"src":"09D_10799_thumb.jpg","galleries_id":191624,"server_id":18,"link":"photo_5616672.html","width":130,"caption":"Calm sunrise at Ullswater","height":87});
															thumbnails[137578] = clik.newPhoto({"id":137578,"src":"05D_5059_thumb.jpg","galleries_id":22549,"server_id":18,"link":"photo_137578.html","width":130,"caption":"Steaming Sea in Winter","height":86});
															thumbnails[83211] = clik.newPhoto({"id":83211,"src":"05D_2551_thumb.jpg","galleries_id":6497,"server_id":18,"link":"photo_83211.html","width":130,"caption":"Evening on the Nile","height":86});
															thumbnails[5616789] = clik.newPhoto({"id":5616789,"src":"09D_10806_thumb.jpg","galleries_id":191624,"server_id":18,"link":"photo_5616789.html","width":130,"caption":"Peaceful sunrise","height":87});
															thumbnails[137583] = clik.newPhoto({"id":137583,"src":"05D_5060_thumb.jpg","galleries_id":22549,"server_id":18,"link":"photo_137583.html","width":130,"caption":"Bronzed Dawn","height":86});
															thumbnails[83213] = clik.newPhoto({"id":83213,"src":"05D_2552_thumb.jpg","galleries_id":6497,"server_id":18,"link":"photo_83213.html","width":130,"caption":"Evening Sky on the Nile","height":86});
															thumbnails[5616832] = clik.newPhoto({"id":5616832,"src":"09D_10812_thumb.jpg","galleries_id":191624,"server_id":18,"link":"photo_5616832.html","width":130,"caption":"Tranquil morning","height":87});
															thumbnails[83216] = clik.newPhoto({"id":83216,"src":"05D_2559_thumb.jpg","galleries_id":6497,"server_id":18,"link":"photo_83216.html","width":130,"caption":"Edfu Pylon","height":86});
															thumbnails[183821] = clik.newPhoto({"id":183821,"src":"06D_5223_thumb.jpg","galleries_id":22549,"server_id":18,"link":"photo_183821.html","width":130,"caption":"Morning Glow","height":86});
															thumbnails[5616910] = clik.newPhoto({"id":5616910,"src":"09D_10816C_thumb.jpg","galleries_id":191624,"server_id":18,"link":"photo_5616910.html","width":130,"caption":"Misty morning sunrise","height":63});
															thumbnails[83220] = clik.newPhoto({"id":83220,"src":"05D_2566_thumb.jpg","galleries_id":6497,"server_id":18,"link":"photo_83220.html","width":130,"caption":"Ankh, Symbol of Life","height":86});
															thumbnails[183827] = clik.newPhoto({"id":183827,"src":"06D_5231_thumb.jpg","galleries_id":22549,"server_id":18,"link":"photo_183827.html","width":130,"caption":"Morning Tide","height":86});
															thumbnails[6416187] = clik.newPhoto({"id":6416187,"src":"09D_10747_thumb.jpg","galleries_id":191624,"server_id":18,"link":"photo_6416187.html","width":130,"caption":"Morning at Ullswater Lake","height":184});
															thumbnails[183846] = clik.newPhoto({"id":183846,"src":"06D_5238_thumb.jpg","galleries_id":22549,"server_id":18,"link":"photo_183846.html","width":130,"caption":"Rising Spray","height":86});
															thumbnails[191994] = clik.newPhoto({"id":191994,"src":"SphinxDPBorder05Sepia_thumb.jpg","galleries_id":6497,"server_id":18,"link":"photo_191994.html","width":130,"caption":"Timeless Sphinx","height":169});
															thumbnails[6416189] = clik.newPhoto({"id":6416189,"src":"09D_10748_thumb.jpg","galleries_id":191624,"server_id":18,"link":"photo_6416189.html","width":130,"caption":"Hills of Lake Ullswater","height":87});
															thumbnails[183853] = clik.newPhoto({"id":183853,"src":"06D_5242_thumb.jpg","galleries_id":22549,"server_id":18,"link":"photo_183853.html","width":130,"caption":"Descending Spray","height":86});
															thumbnails[191998] = clik.newPhoto({"id":191998,"src":"SphinxPyramidDPBorder05Sepia_thumb.jpg","galleries_id":6497,"server_id":18,"link":"photo_191998.html","width":130,"caption":"Sphinx & Pyramid of Kafre","height":184});
															thumbnails[6416193] = clik.newPhoto({"id":6416193,"src":"09D_10758_thumb.jpg","galleries_id":191624,"server_id":18,"link":"photo_6416193.html","width":130,"caption":"Red skies at Lake Ullswater","height":87});
															thumbnails[183861] = clik.newPhoto({"id":183861,"src":"06D_5258_thumb.jpg","galleries_id":22549,"server_id":18,"link":"photo_183861.html","width":130,"caption":"Seaburn Seafront","height":86});
															thumbnails[725180] = clik.newPhoto({"id":725180,"src":"06D_6909_thumb.jpg","galleries_id":6497,"server_id":18,"link":"photo_725180.html","width":130,"caption":"Invitation to Swim","height":87});
															thumbnails[6416196] = clik.newPhoto({"id":6416196,"src":"09D_10760_thumb.jpg","galleries_id":191624,"server_id":18,"link":"photo_6416196.html","width":130,"caption":"Red skies over Lake Ullswater","height":87});
															thumbnails[5585724] = clik.newPhoto({"id":5585724,"src":"09D_10231C_thumb.jpg","galleries_id":22549,"server_id":18,"link":"photo_5585724.html","width":130,"caption":"Frosty leaves","height":103});
															thumbnails[6416199] = clik.newPhoto({"id":6416199,"src":"10D_11100_thumb.jpg","galleries_id":191624,"server_id":18,"link":"photo_6416199.html","width":130,"caption":"Boathouse by Lake Ullswater","height":87});
															thumbnails[5585734] = clik.newPhoto({"id":5585734,"src":"09D_10336_thumb.jpg","galleries_id":22549,"server_id":18,"link":"photo_5585734.html","width":130,"caption":"Spring daffodils","height":160});
															thumbnails[7654928] = clik.newPhoto({"id":7654928,"src":"09D_10683Crop_thumb.jpg","galleries_id":191624,"server_id":18,"link":"photo_7654928.html","width":130,"caption":"Rowing to beat the mist","height":69});
															thumbnails[725192] = clik.newPhoto({"id":725192,"src":"06D_6977C_thumb.jpg","galleries_id":22551,"server_id":18,"link":"photo_725192.html","width":130,"caption":"Happy Face","height":92});
															thumbnails[5585742] = clik.newPhoto({"id":5585742,"src":"09D_10449_thumb.jpg","galleries_id":22549,"server_id":18,"link":"photo_5585742.html","width":130,"caption":"Zoomed flowers","height":194});
															thumbnails[7654937] = clik.newPhoto({"id":7654937,"src":"09D_10692Vign_thumb.jpg","galleries_id":191624,"server_id":18,"link":"photo_7654937.html","width":130,"caption":"Rowing in the mist","height":87});
															thumbnails[725193] = clik.newPhoto({"id":725193,"src":"06D_6989_thumb.jpg","galleries_id":6497,"server_id":18,"link":"photo_725193.html","width":130,"caption":"Another Sunset","height":87});
															thumbnails[7654980] = clik.newPhoto({"id":7654980,"src":"09D_10697_thumb.jpg","galleries_id":191624,"server_id":18,"link":"photo_7654980.html","width":130,"caption":"\"Which way now mum?\"","height":87});
															thumbnails[7662367] = clik.newPhoto({"id":7662367,"src":"09D_10767_thumb.jpg","galleries_id":22549,"server_id":18,"link":"photo_7662367.html","width":130,"caption":"Drystone Shelter","height":99});
															thumbnails[5585664] = clik.newPhoto({"id":5585664,"src":"05D_2852C_thumb.jpg","galleries_id":6497,"server_id":18,"link":"photo_5585664.html","width":130,"caption":"The cliff tempes of Abu Simbel","height":56});
															thumbnails[7662242] = clik.newPhoto({"id":7662242,"src":"09D_10798_thumb.jpg","galleries_id":191624,"server_id":18,"link":"photo_7662242.html","width":130,"caption":"Moody Morning at Ullswater","height":87});
															thumbnails[5585669] = clik.newPhoto({"id":5585669,"src":"05D_2855C_thumb.jpg","galleries_id":6497,"server_id":18,"link":"photo_5585669.html","width":130,"caption":"Temple of Nefertari at Abu Simbel","height":65});
															thumbnails[7662247] = clik.newPhoto({"id":7662247,"src":"09D_10812Crop_thumb.jpg","galleries_id":191624,"server_id":18,"link":"photo_7662247.html","width":130,"caption":"Mist and Sunrise at Ullswater","height":64});
															thumbnails[5585676] = clik.newPhoto({"id":5585676,"src":"05D_2864C_thumb.jpg","galleries_id":6497,"server_id":18,"link":"photo_5585676.html","width":130,"caption":"The famous rock cut temple of Abu Simbel","height":73});
															thumbnails[6300586] = clik.newPhoto({"id":6300586,"src":"06D_6494_thumb.jpg","galleries_id":6497,"server_id":18,"link":"photo_6300586.html","width":130,"caption":"Ram headed sphinx","height":87});
															thumbnails[6300591] = clik.newPhoto({"id":6300591,"src":"06D_6531_thumb.jpg","galleries_id":6497,"server_id":18,"link":"photo_6300591.html","width":130,"caption":"Luxor temple hypostyle hall","height":194});
															thumbnails[6300597] = clik.newPhoto({"id":6300597,"src":"06D_6536_thumb.jpg","galleries_id":6497,"server_id":18,"link":"photo_6300597.html","width":130,"caption":"Statue of Rameses the Great","height":194});
															thumbnails[6300607] = clik.newPhoto({"id":6300607,"src":"06D_6543C_thumb.jpg","galleries_id":6497,"server_id":18,"link":"photo_6300607.html","width":130,"caption":"Statue of Tutankhamun and Ankhesenamun","height":184});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[3176] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Commercial","link":"gallery_3176.html","maxRecords":0.0,"photoIDs":[28226.0,28227.0,28228.0,28229.0,28230.0,28231.0,28232.0,5532936.0,5532959.0,5532965.0,8510088.0,8510089.0,8510094.0,8510096.0],"skipIndex":0,"section_code":"gallery","featured_images":"8510094,8510089,8510088,5532965,5532959,5532936,28229,28228,28227,28226","id":3176,"singleSection":false});				  						galleries[191608] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Cumbria","link":"gallery_191608.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"7654980,7654937,7654928,6416199,6416196,6416193,6416189,6416187,6300475,6300468,5616910,5616832,5616789,5616672,5616670,5616667,5616661,5616653,5616528,5616525,5616447,5616446,5616443,5616440,5585697,5585694,5533131,5533121,5533053,5533046,5533032,3972671,3972665,3972661,3972639,3972635,3972621,3972615,3972607,3972600,3227954,3227948,3227946,3227945,3227944,3227943,3227941,3227935","id":191608,"singleSection":false});				  						galleries[3177] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Roker","link":"gallery_3177.html","maxRecords":0.0,"photoIDs":[28259.0,28260.0,28261.0,50281.0,50282.0,28262.0,28263.0,50283.0,28265.0,28267.0,28268.0,28270.0,28273.0,28274.0,50284.0,50280.0,117390.0,770892.0,810621.0],"skipIndex":0,"section_code":"gallery","featured_images":"810621,770892,117390,50284,50283,50282,50281,50280,28273,28270,28267,28265,28263,28262,28261,28260,28259","id":3177,"singleSection":false});				  						galleries[3178] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Whitburn","link":"gallery_3178.html","maxRecords":0.0,"photoIDs":[28276.0,28278.0,28279.0,28280.0,28281.0],"skipIndex":0,"section_code":"gallery","featured_images":"28279,28278,28276","id":3178,"singleSection":false});				  						galleries[3179] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Marsden","link":"gallery_3179.html","maxRecords":0.0,"photoIDs":[28241.0,28242.0,28243.0,28244.0,28245.0,28246.0,28247.0,28248.0,38354.0,38355.0,38356.0,38357.0,38358.0,38359.0,50296.0,50297.0,50298.0,50299.0],"skipIndex":0,"section_code":"gallery","featured_images":"50299,50298,50297,50296,38359,38358,38356,38355,38354,28245,28243,28242,28241","id":3179,"singleSection":false});				  						galleries[3986] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"South Shields","link":"gallery_3986.html","maxRecords":0.0,"photoIDs":[38334.0,38339.0,38340.0,38341.0,38342.0],"skipIndex":0,"section_code":"gallery","featured_images":"38342,38341,38340,38339,38334","id":3986,"singleSection":false});				  						galleries[3983] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"St Mary's Island","link":"gallery_3983.html","maxRecords":0.0,"photoIDs":[28252.0,28255.0,28256.0,28257.0,28258.0,38320.0,38333.0],"skipIndex":0,"section_code":"gallery","featured_images":"38333,28258,28257,28255,28252","id":3983,"singleSection":false});				  						galleries[3180] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Fauna","link":"gallery_3180.html","maxRecords":0.0,"photoIDs":[28233.0,28234.0,28235.0,28236.0,28237.0,28238.0,28239.0,28240.0,38348.0,38349.0,38350.0,38351.0,38352.0,38353.0,50295.0,810589.0,810601.0,810606.0,810611.0,810617.0],"skipIndex":0,"section_code":"gallery","featured_images":"810617,810611,810606,810601,810589,50295,38348,28240,28239,28238,28237,28236,28235,28234,28233","id":3180,"singleSection":false});				  						galleries[6497] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Egypt","link":"gallery_6497.html","maxRecords":0.0,"photoIDs":[66903.0,72353.0,72375.0,72383.0,83071.0,83074.0,83075.0,83077.0,83080.0,83081.0,83197.0,83200.0,83199.0,83201.0,83202.0,83204.0,83206.0,83207.0,83210.0,83211.0,83213.0,83216.0,83220.0,191994.0,191998.0,725180.0,725193.0,5585664.0,5585669.0,5585676.0,6300586.0,6300591.0,6300597.0,6300607.0],"skipIndex":0,"section_code":"gallery","featured_images":"6300607,6300597,6300591,6300586,5585676,5585669,5585664,725193,725180,191998,191994,83220,83216,83213,83211,83210,83207,83206,83204,83202,83201,83200,83199,83197,83081,83080,83077,83075,83074,83071,72383,72375,72353,66903","id":6497,"singleSection":false});				  						galleries[3181] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Miscellaneous","link":"gallery_3181.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"5585742,5585734,5585724,725192,582772,582757,250480,250479,250476,250475,250472,250471,250469,249018,249009,183861,183853,183846,183827,183821,137584,137583,137578,137576,137571,137568,50293,50292,50291,50286,38347,38346,38345,38344,28271,28254,28253,28251,28250,28249","id":3181,"singleSection":false});				  						galleries[22549] = clik.newGallery({"parentGallery":3181,"usePopups":false,"title":"Nature","link":"gallery_22549.html","maxRecords":0.0,"photoIDs":[28249.0,28250.0,28251.0,38345.0,28253.0,28254.0,38343.0,38346.0,38347.0,50286.0,50291.0,50292.0,50293.0,137576.0,137578.0,137583.0,183821.0,183827.0,183846.0,183853.0,183861.0,5585724.0,5585734.0,5585742.0,7662367.0],"skipIndex":0,"section_code":"gallery","featured_images":"5585742,5585734,5585724,183861,183853,183846,183827,183821,137583,137578,137576,50293,50292,50291,50286,38347,38346,38345,28254,28253,28251,28250,28249","id":22549,"singleSection":false});				  						galleries[22550] = clik.newGallery({"parentGallery":3181,"usePopups":false,"title":"Historic","link":"gallery_22550.html","maxRecords":0.0,"photoIDs":[38344.0,137568.0,137571.0],"skipIndex":0,"section_code":"gallery","featured_images":"137571,137568,38344","id":22550,"singleSection":false});				  						galleries[22551] = clik.newGallery({"parentGallery":3181,"usePopups":false,"title":"People","link":"gallery_22551.html","maxRecords":0.0,"photoIDs":[250469.0,250471.0,250472.0,250475.0,250476.0,250479.0,250480.0,28271.0,137584.0,582757.0,582772.0,725192.0],"skipIndex":0,"section_code":"gallery","featured_images":"725192,582772,582757,250480,250479,250476,250475,250472,250471,250469,137584,28271","id":22551,"singleSection":false});				  						galleries[22552] = clik.newGallery({"parentGallery":3181,"usePopups":false,"title":"Specials","link":"gallery_22552.html","maxRecords":0.0,"photoIDs":[249009.0,249018.0],"skipIndex":0,"section_code":"gallery","featured_images":"249018,249009","id":22552,"singleSection":false});				  						galleries[70031] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Corporate","link":"gallery_70031.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"920235,920233,920232,920231,920230,920229,920228,920227,920226,920225,920222","id":70031,"singleSection":false});				  						galleries[70032] = clik.newGallery({"parentGallery":70031,"usePopups":false,"title":"Sailing","link":"gallery_70032.html","maxRecords":0.0,"photoIDs":[920222.0,920225.0,920226.0,920227.0,920228.0,920229.0,920230.0,920231.0,920232.0,920233.0,920235.0],"skipIndex":0,"section_code":"gallery","featured_images":"920235,920233,920232,920231,920230,920229,920228,920227,920226,920225,920222","id":70032,"singleSection":false});				  						galleries[191618] = clik.newGallery({"parentGallery":191608,"usePopups":false,"title":"Haweswater","link":"gallery_191618.html","maxRecords":0.0,"photoIDs":[3227935.0,3227941.0,3227943.0,3227944.0,5585694.0,5585697.0],"skipIndex":0,"section_code":"gallery","featured_images":"5585697,5585694,3227944,3227943,3227941,3227935","id":191618,"singleSection":false});				  						galleries[191624] = clik.newGallery({"parentGallery":191608,"usePopups":false,"title":"Ullswater","link":"gallery_191624.html","maxRecords":0.0,"photoIDs":[3227945.0,3227946.0,3227948.0,3227954.0,3972600.0,3972607.0,3972615.0,3972621.0,5616440.0,5616443.0,5616446.0,5616447.0,5616525.0,5616528.0,5616653.0,5616661.0,5616667.0,5616670.0,5616672.0,5616789.0,5616832.0,5616910.0,6416187.0,6416189.0,6416193.0,6416196.0,6416199.0,7654928.0,7654937.0,7654980.0,7662242.0,7662247.0],"skipIndex":0,"section_code":"gallery","featured_images":"7654980,7654937,7654928,6416199,6416196,6416193,6416189,6416187,5616910,5616832,5616789,5616672,5616670,5616667,5616661,5616653,5616528,5616525,5616447,5616446,5616443,5616440,3972621,3972615,3972607,3972600,3227954,3227948,3227946,3227945","id":191624,"singleSection":false});				  						galleries[240554] = clik.newGallery({"parentGallery":191608,"usePopups":false,"title":"Cumbria General","link":"gallery_240554.html","maxRecords":0.0,"photoIDs":[3972635.0,3972639.0,3972661.0,3972665.0,3972671.0,5533032.0,5533046.0,5533053.0,5533121.0,5533131.0,7662262.0,6300468.0,6300475.0],"skipIndex":0,"section_code":"gallery","featured_images":"6300475,6300468,5533131,5533121,5533053,5533046,5533032,3972671,3972665,3972661,3972639,3972635","id":240554,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[17682] = '28259,28255,28227,72375,50282,5585694,28263,28245,5585697,5533032,28265,5533046,5533053,5616440,5533121,5532965,5616443,5533131,5616446,6300468,5616447,6300475,5616525,5616528,5616653,5616661,5616667,5616670,5616672,5616789,5616832,5616910,6416187,6416189,6416193,6416196,6416199,5585724,7654928,5585734,7654937,5585742,7654980,5585664,5585669,5585676,6300586,6300591,6300597,6300607';
imageSets[1] = '3227945,3227935,920222,66903,38334,28276,28259,28249,28241,28226,3972639,3227946,3227941,920225,72353,38339,28278,28255,28250,28242,3972661,3227948,3227943,920226,250469,72375,38340,28279,28261,28256,28251,28243,28228,50281,50282,3972665,3227954,3227944,920227,250471,72383,28262,28244,28236,5585694,3972671,3972600,920228,250472,83071,28263,28258,28253,28245,28237,50283,5585697,5533032,3972607,920229,250475,83074,28265,28254,28246,28238,5533046,3972615,920230,250476,83075,38333,28267,5533053,3972621,920231,250479,83077,38344,5616440,5533121,5532965,920232,250480,83080,38346,28270,5616443,5533131,920233,83081,38355,38347,28271,5616446,920235,137584,83197,50286,28273,6300468,5616447,582757,83200,6300475,5616525,582772,83199,50284,5616528,83201,50291,50280,5616653,810589,83202,50296,50292,5616661,810601,117390,83204,50293,5616667,810606,770892,137568,83206,50298,5616670,810621,810611,137571,83207,50299,5616672,810617,137576,83210,5616789,137578,83211,5616832,137583,83213,5616910,183821,83216,6416187,183827,83220,6416189,191994,183846,6416193,191998,183853,6416196,725180,183861,6416199,5585724,7654928,5585734,7654937,5585742,725192,7654980,725193,5585664,5585669,5585676,6300586,6300591,6300597,6300607';
imageSets[2] = '3972635,3227945,3227935,920222,249009,66903,38334,28276,28259,28252,28249,28241,28233,28226,3972639,3227946,3227941,920225,249018,72353,38339,28278,28260,28255,28250,28242,28234,28227,3972661,3227948,3227943,920226,250469,72375,38340,28279,28261,28251,28243,28235,28228,50281,50282,3972665,3227954,3227944,920227,250471,72383,38345,38341,28262,28257,28236,28229,5585694,3972671,3972600,920228,250472,83071,38342,28263,28258,28253,28245,28237,50283,5585697,5533032,3972607,920229,250475,83074,28265,28254,28238,5533046,5532936,3972615,920230,250476,83075,38333,28267,28239,5533053,5532959,3972621,920231,250479,83077,38344,28240,38348,5616440,5533121,5532965,920232,250480,83080,38354,38346,28270,8510088,5616443,5533131,920233,83081,38355,38347,28271,8510089,5616446,920235,137584,83197,50286,38356,28273,8510094,6300468,5616447,582757,83200,6300475,5616525,582772,83199,50284,38358,5616528,83201,50295,50291,50280,38359,5616653,810589,83202,50296,50292,5616661,810601,117390,83204,50297,50293,5616667,810606,770892,137568,83206,50298,5616670,810621,810611,137571,83207,50299,5616672,810617,137576,83210,5616789,137578,83211,5616832,137583,83213,5616910,183821,83216,6416187,183827,83220,6416189,191994,183846,6416193,191998,183853,6416196,725180,183861,6416199,5585724,7654928,5585734,7654937,5585742,725192,7654980,725193,5585664,5585669,5585676,6300586,6300591,6300597,6300607';
imageSets[3] = '8510096,8510094,8510089,8510088,7662367,7662262,7662247,7662242,7654980,7654937,7654928,6416199,6416196,6416193,6416189,6416187,6300607,6300597,6300591,6300586,6300475,6300468,5616910,5616832,5616789,5616672,5616670,5616667,5616661,5616653,5616528,5616525,5616447,5616446,5616443,5616440,5585742,5585734,5585724,5585697,5585694,5585676,5585669,5585664,5533131,5533121,5533053,5533046,5533032,5532965';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'www12.clikpic.com/image001/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/image001/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/image001/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/image001/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/image001/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/image001/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/image001/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/image001/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/image001/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/image001/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/image001/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/image001/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/image001/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/image001/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/image001/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/image001/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/image001/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/image001/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/image001/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/image001/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/image001/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/image001/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/image001/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/image001/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 && backgrounds[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 = 'Gardiner Photography: ' + photoCaption;
			    }
        if (op.$detail.length > 0) {
      	temp = op.nextPhoto.fnGetImageDetails();
	    op.$detail.fadeGalleryDetails(temp, op.speed, function(){
			if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
				toggleAddToCartConfirm(backgrounds, op.$detail);
			} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
				toggleAddToCartConfirm(photos, op.$detail);
			}
			$('body').trigger('clikUpdate.popup');
	    });
    }
        $(op.$detailContainer).find('.replaceable[class*=replaceable_photo-]').each(function(){
    	var field = clik.getPrefixedClass(this.className, 'replaceable_photo-');
    	if (field in op.nextPhoto) {
    		$(this).fadeGalleryDetails(op.nextPhoto[field], op.speed);
    	}
    }).end().find('.replaceable.photoPayment').fadeGalleryDetails(op.nextPhoto.fnGetPaymentInfo(), op.speed, function(){
		if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
			toggleAddToCartConfirm(backgrounds, op.$detailContainer);
		} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
			toggleAddToCartConfirm(photos, op.$detailContainer);
		}
		$('body').trigger('clikUpdate.popup');
	});
		if (op.$photo.length > 0) {
		html = $('<img/>',{
			'class': 'mainphoto photo',
			src: photoSrc,
			id: 'mainPic',
			name: 'mainPic',
			width: op.nextPhoto.width,
			height: op.nextPhoto.height,
			alt: photoCaption,
			css: op.css || {}
		});
		if (op.href) {
			if (op.href.match(/<a/)) {
				html = $(op.href).append(html);
			} else {
				html = $('<a/>', {
					href: op.href,
					title: photoCaption
				}).append(html);
			}
		} else {
			html = $('<a/>', {
				title: photoCaption
			}).append(html);
		}
		if (op.speed == 0) {			op.$photo.html(html);			if (op.onBefore) {			  	op.onBefore.apply(op.$photo);			}			if (op.onAfter) {			  	op.onAfter.apply(op.$photo);			}		} else {			op.$photo.stop(true,true).fadeReplaceWith(html,op.speed,'',function(){  				if (op.onAfter) {				  	op.onAfter.apply(this);				}				clik.doColumnResize(false, $(this).add(op.$detail).add(op.$title));			}, op.onBefore);
		}	}
    if (op.field) {
		op.field.value = photoId;
	} else {
		op.$photo.data('image_id', photoId);
    }
        if (!op.speed) {
      	clik.doColumnResize(false, op.$photo.add(op.$detail).add(op.$title));
    }
        
    return html;
	}

/***************************************************************************
* Toggle add to cart confirmation element and set up the click event for   *
* the 'Add to cart' button.                                                *
***************************************************************************/
function toggleAddToCartConfirm(array, root){
	if (typeof(array) !== 'object' || array === null) {
	  	array = photos;
	}
	if (!$(root).length) {		root = $('body');	}	if($('#paymentConfirm', root).length > 0){
		$('#paymentConfirm', root).hide();
		$('#paymentAddButton', root)
		.unbind()
		.click(function(){
						form = $('#paymentForm', root)[0];
			option_id = 0;
			if(form.item_option.value){
				option_id = form.item_option.value;
			}
			if(addItemToBasket(form.item_number.value,array,form.site.value,parseInt(form.quantity.value, 10),option_id)){
				if($.browser.msie){$('#paymentConfirm', root).text('Item added to cart').show();}
				else{
					$('#paymentConfirm', root).text('Item added to cart').fadeIn();
					dspOrderDetails(form.site.value);
				}
			}
			else{
				$('#paymentConfirm', root).text('Item not added - check cookies are enabled in your browser.').fadeIn();
			}
		});
	}
}

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetImageDetails = function(){
	var temp = '';
	if (this.description != '') {
		temp +=  '<div id="imageDescription">' + this.description + '</div>';
	}
		if (this.photo_ref != '') {
		temp += '<div class="imageinfo" id="imageRef"><strong>Ref: </strong>' + this.photo_ref + '</div>';
	}
		if (this.takendate != '') {
		
		temp += '<div class="imageinfo" id="imageDate"><strong>Date: </strong>' + this.takendate + '</div>';
	}
	
	if (this.location != '') {
		
		temp += '<div class="imageinfo" id="imageLocation"><strong>Location: </strong>' +  this.location + '</div>';
	}
	
	if (this.photographer != '') {
		
		temp += '<div class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>' + this.photographer + '</div>';
	}
				
	temp += this.fnGetPaymentInfo();
				if (temp != '') {
		temp += '<div class="spacer"></div>';
	}
	return temp;
};

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetPaymentInfo = function(){
	var temp = '';
	if (this.item_price !== '') {
																		temp += '<p>Buy now using PayPal:</p>';
				temp += '<div class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> &pound;' + (this.item_price).toFixed(2) + '</div>';
		var item_name  = this.purchase_instruction;
		var amount = (this.item_price).toFixed(2);
		var item_option  = 0;
	}
	else if (this.payment_groups_id !== '') {
		temp += '<p>Buy this print online:</p>';
				temp += '<form id="paymentOptions" style="margin:0px;border:0px;" name="paymentOptions">';
		 									temp += '<select class="paymentlink" name="payment_options_id" onchange="updateCartValue($(this.form).next(\'#paymentForm\')[0],this.form.payment_options_id.options[this.form.payment_options_id.options.selectedIndex].value); if(divShowing(\'paymentConfirm\')){fadeOut(\'paymentConfirm\', 3)};">';
		
		temp += getPaymentOptions(this.payment_groups_id);
		temp += '</select>';
		temp += '</form>';
				var item_option  = paymentGroups[this.payment_groups_id].options[0];
		if(paymentOptions[item_option]){
			var item_name  = paymentOptions[item_option].payment_option;
			var amount =  paymentOptions[item_option].price;
		}
			}
	else {
		
	}
	if (this.item_price !== '' || this.payment_groups_id !== '') {
											temp += '<form id="paymentForm" style="margin:0px;border:0px;" name="paymentForm">';
			temp += '	<input type="hidden" name="item_option" value="' + item_option + '">';
			temp += '	<input type="hidden" name="site" value="IMAGE001">';
			temp += '	<input type="hidden" name="item_number" value="'+ this.id +'">';
			temp += '	<input type="hidden" name="quantity" value="1">';
						temp += '	<input value="Add to cart" id="paymentAddButton" class="button" onmouseover="this.className=\'buttonHi\'\;" onmouseout="this.className=\'button\'\;" type="Button">';
							temp += '	<input value="View cart" id="paymentViewButton" class="button" onmouseover="this.className=\'buttonHi\';" onmouseout="this.className=\'button\';" type="Button" onclick="javascript:window.location=\'cart.html\'">';
			temp += '</form>';
						temp += '<div class="clearing">&nbsp;</div>';
			temp += '<div id="confirmContainer">';
			temp += '<div id="paymentConfirm">Item added to cart</div>';
			temp += '</div>';
			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;
	}
}

			

