window.thumbnails = {};
															thumbnails[6908833] = clik.newPhoto({"id":6908833,"src":"bramber21_thumb.jpg","galleries_id":115111,"server_id":18,"link":"photo_6908833.html","width":130,"caption":"Bramber village West Sussex","height":87});
															thumbnails[8799063] = clik.newPhoto({"id":8799063,"src":"dover11_thumb.jpg","galleries_id":374029,"server_id":18,"link":"photo_8799063.html","width":130,"caption":"Dover harbour","height":87});
															thumbnails[2846158] = clik.newPhoto({"id":2846158,"src":"frozenleaves_thumb.jpg","galleries_id":115113,"server_id":18,"link":"photo_2846158.html","width":130,"caption":"Frozen leaves","height":85});
															thumbnails[8799069] = clik.newPhoto({"id":8799069,"src":"st_margarets_20_thumb.jpg","galleries_id":374029,"server_id":18,"link":"photo_8799069.html","width":130,"caption":"St Margarets on the Kent coast","height":87});
															thumbnails[5543995] = clik.newPhoto({"id":5543995,"src":"winchestercathedral_thumb.jpg","galleries_id":115111,"server_id":18,"link":"photo_5543995.html","width":63,"caption":"Winchester cathedral","height":100});
															thumbnails[5544079] = clik.newPhoto({"id":5544079,"src":"washingtonandlee_thumb.jpg","galleries_id":115112,"server_id":18,"link":"photo_5544079.html","width":67,"caption":"Washington and Lee university","height":100});
															thumbnails[2846160] = clik.newPhoto({"id":2846160,"src":"orangepetals_thumb.jpg","galleries_id":115113,"server_id":18,"link":"photo_2846160.html","width":130,"caption":"Orange petals","height":86});
															thumbnails[8799073] = clik.newPhoto({"id":8799073,"src":"kingsdown1_thumb.jpg","galleries_id":374029,"server_id":18,"link":"photo_8799073.html","width":130,"caption":"Kingsdown beach hut","height":87});
															thumbnails[6903675] = clik.newPhoto({"id":6903675,"src":"morecambe24_thumb.jpg","galleries_id":115111,"server_id":18,"link":"photo_6903675.html","width":67,"caption":"Morecambe Lancashire","height":100});
															thumbnails[8799075] = clik.newPhoto({"id":8799075,"src":"deal4_thumb.jpg","galleries_id":374029,"server_id":18,"link":"photo_8799075.html","width":67,"caption":"Deal on the Kent coast","height":100});
															thumbnails[5544054] = clik.newPhoto({"id":5544054,"src":"bluelake__thumb.jpg","galleries_id":115111,"server_id":18,"link":"photo_5544054.html","width":68,"caption":"Frencham Great Pond in Surrey","height":100});
															thumbnails[5544073] = clik.newPhoto({"id":5544073,"src":"ardfertcathedral_thumb.jpg","galleries_id":115112,"server_id":18,"link":"photo_5544073.html","width":67,"caption":"Ardfert Cathedral","height":100});
															thumbnails[8798764] = clik.newPhoto({"id":8798764,"src":"autumn_impression_thumb.jpg","galleries_id":115113,"server_id":18,"link":"photo_8798764.html","width":130,"caption":" Autumn","height":87});
															thumbnails[5558378] = clik.newPhoto({"id":5558378,"src":"westonsupermare2_thumb.jpg","galleries_id":374027,"server_id":18,"link":"photo_5558378.html","width":130,"caption":"Weston super Mare","height":78});
															thumbnails[5544087] = clik.newPhoto({"id":5544087,"src":"newyork_thumb.jpg","galleries_id":115112,"server_id":18,"link":"photo_5544087.html","width":63,"caption":"Chrysler building New York city","height":100});
															thumbnails[6013621] = clik.newPhoto({"id":6013621,"src":"countisbury_church2_thumb.jpg","galleries_id":115111,"server_id":18,"link":"photo_6013621.html","width":130,"caption":"Countisbury Church","height":71});
															thumbnails[7357813] = clik.newPhoto({"id":7357813,"src":"burnham6_thumb.jpg","galleries_id":374027,"server_id":18,"link":"photo_7357813.html","width":130,"caption":"Burnham on sea","height":87});
															thumbnails[1713131] = clik.newPhoto({"id":1713131,"src":"iimpressionistyellow_thumb.jpg","galleries_id":115113,"server_id":18,"link":"photo_1713131.html","width":130,"caption":"Autumn colour","height":86});
															thumbnails[6903743] = clik.newPhoto({"id":6903743,"src":"whitehaven2_thumb.jpg","galleries_id":374026,"server_id":18,"link":"photo_6903743.html","width":130,"caption":"Whitehaven Cumbria","height":87});
															thumbnails[8149105] = clik.newPhoto({"id":8149105,"src":"spernhead10_thumb.jpg","galleries_id":374030,"server_id":18,"link":"photo_8149105.html","width":130,"caption":"Spurn Head","height":87});
															thumbnails[7357869] = clik.newPhoto({"id":7357869,"src":"kilve4_thumb.jpg","galleries_id":374027,"server_id":18,"link":"photo_7357869.html","width":130,"caption":"Kilve ","height":87});
															thumbnails[5544112] = clik.newPhoto({"id":5544112,"src":"sydneyoperahousesteps_thumb.jpg","galleries_id":115112,"server_id":18,"link":"photo_5544112.html","width":67,"caption":"Sydney Opera house","height":100});
															thumbnails[5140758] = clik.newPhoto({"id":5140758,"src":"margate_steps_thumb.jpg","galleries_id":374029,"server_id":18,"link":"photo_5140758.html","width":130,"caption":"Margate","height":89});
															thumbnails[5544134] = clik.newPhoto({"id":5544134,"src":"chicagoskyscraper__thumb.jpg","galleries_id":115112,"server_id":18,"link":"photo_5544134.html","width":64,"caption":"Chicago skyscraper","height":100});
															thumbnails[1714246] = clik.newPhoto({"id":1714246,"src":"fork _thumb.jpg","galleries_id":115224,"server_id":18,"link":"photo_1714246.html","width":130,"caption":"Fork","height":85});
															thumbnails[5543588] = clik.newPhoto({"id":5543588,"src":"lynmouth11_thumb.jpg","galleries_id":374027,"server_id":18,"link":"photo_5543588.html","width":130,"caption":"Lynmouth harbour entrance","height":86});
															thumbnails[6026140] = clik.newPhoto({"id":6026140,"src":"herne_bay_6_thumb.jpg","galleries_id":374029,"server_id":18,"link":"photo_6026140.html","width":130,"caption":"Herne Bay  Kent  ","height":81});
															thumbnails[6908597] = clik.newPhoto({"id":6908597,"src":"southampton7_thumb.jpg","galleries_id":374028,"server_id":18,"link":"photo_6908597.html","width":73,"caption":"Southampton Hampshire","height":100});
															thumbnails[8149087] = clik.newPhoto({"id":8149087,"src":"skipsea1_thumb.jpg","galleries_id":374030,"server_id":18,"link":"photo_8149087.html","width":130,"caption":"Skipsea","height":87});
															thumbnails[1713152] = clik.newPhoto({"id":1713152,"src":"canadiancanoes_thumb.jpg","galleries_id":115112,"server_id":18,"link":"photo_1713152.html","width":130,"caption":"Canadian canoes","height":91});
															thumbnails[8610762] = clik.newPhoto({"id":8610762,"src":"queensborough14_thumb.jpg","galleries_id":374029,"server_id":18,"link":"photo_8610762.html","width":130,"caption":"Queenborough","height":87});
															thumbnails[2846179] = clik.newPhoto({"id":2846179,"src":"canvetislandsunrise_thumb.jpg","galleries_id":374029,"server_id":18,"link":"photo_2846179.html","width":130,"caption":"Sunrise over Canvey Island","height":86});
															thumbnails[4231586] = clik.newPhoto({"id":4231586,"src":"shanghaiyugardens2_thumb.jpg","galleries_id":115112,"server_id":18,"link":"photo_4231586.html","width":130,"caption":"Shanghai Yu gardens","height":83});
															thumbnails[8607907] = clik.newPhoto({"id":8607907,"src":"lowerhalstowedithmay5_thumb.jpg","galleries_id":374029,"server_id":18,"link":"photo_8607907.html","width":130,"caption":"Lower Halstead","height":87});
															thumbnails[7598147] = clik.newPhoto({"id":7598147,"src":"chatham10_thumb.jpg","galleries_id":374029,"server_id":18,"link":"photo_7598147.html","width":130,"caption":"Chatham Marina","height":93});
															thumbnails[1713133] = clik.newPhoto({"id":1713133,"src":"pinkgerbera _thumb.jpg","galleries_id":115113,"server_id":18,"link":"photo_1713133.html","width":130,"caption":"Pink Gerbera","height":86});
															thumbnails[2846210] = clik.newPhoto({"id":2846210,"src":"threeboats_thumb.jpg","galleries_id":115112,"server_id":18,"link":"photo_2846210.html","width":130,"caption":"Three boats","height":75});
															thumbnails[5543970] = clik.newPhoto({"id":5543970,"src":"spinaker_tower15_thumb.jpg","galleries_id":374028,"server_id":18,"link":"photo_5543970.html","width":69,"caption":"Spinnaker Tower","height":100});
															thumbnails[6903685] = clik.newPhoto({"id":6903685,"src":"seascale11_thumb.jpg","galleries_id":374026,"server_id":18,"link":"photo_6903685.html","width":130,"caption":"Seascale Cumbria","height":87});
															thumbnails[7598152] = clik.newPhoto({"id":7598152,"src":"gravesendcontainership1_thumb.jpg","galleries_id":374029,"server_id":18,"link":"photo_7598152.html","width":130,"caption":"container ship on the Thames","height":87});
															thumbnails[1713147] = clik.newPhoto({"id":1713147,"src":"achillislandCoMayo_thumb.jpg","galleries_id":115112,"server_id":18,"link":"photo_1713147.html","width":130,"caption":"Achill Island","height":87});
															thumbnails[6903649] = clik.newPhoto({"id":6903649,"src":"haverigg8_thumb.jpg","galleries_id":374026,"server_id":18,"link":"photo_6903649.html","width":130,"caption":"Haverigg Cumbria","height":85});
															thumbnails[2224653] = clik.newPhoto({"id":2224653,"src":"bognorregis _thumb.jpg","galleries_id":374028,"server_id":18,"link":"photo_2224653.html","width":130,"caption":"The pier at Bognor Regis","height":95});
															thumbnails[6903668] = clik.newPhoto({"id":6903668,"src":"millomandduddonsands2_thumb.jpg","galleries_id":374026,"server_id":18,"link":"photo_6903668.html","width":130,"caption":"Millom and Duddon sands Cumbria","height":87});
															thumbnails[8148983] = clik.newPhoto({"id":8148983,"src":"southlanding3_thumb.jpg","galleries_id":374030,"server_id":18,"link":"photo_8148983.html","width":130,"caption":"South Landing","height":87});
															thumbnails[1713157] = clik.newPhoto({"id":1713157,"src":"lakemoraine _thumb.jpg","galleries_id":115112,"server_id":18,"link":"photo_1713157.html","width":130,"caption":"Lake Moraine","height":81});
															thumbnails[3644872] = clik.newPhoto({"id":3644872,"src":"ashdownforest_thumb.jpg","galleries_id":115111,"server_id":18,"link":"photo_3644872.html","width":130,"caption":"Winter in the Ashdown Forest","height":87});
															thumbnails[1713118] = clik.newPhoto({"id":1713118,"src":"abstractpurpleflowers_thumb.jpg","galleries_id":115113,"server_id":18,"link":"photo_1713118.html","width":130,"caption":"Abstract Flower","height":86});
															thumbnails[1714252] = clik.newPhoto({"id":1714252,"src":"rustedbolt _thumb.jpg","galleries_id":115224,"server_id":18,"link":"photo_1714252.html","width":130,"caption":"Rusted Bolt","height":86});
															thumbnails[2846166] = clik.newPhoto({"id":2846166,"src":"ditchlingsheep_thumb.jpg","galleries_id":115111,"server_id":18,"link":"photo_2846166.html","width":130,"caption":"Sheep on Ditchling common","height":75});
															thumbnails[5543574] = clik.newPhoto({"id":5543574,"src":"combe_martin_31_thumb.jpg","galleries_id":374027,"server_id":18,"link":"photo_5543574.html","width":130,"caption":"Combe Martin","height":83});
															thumbnails[6903729] = clik.newPhoto({"id":6903729,"src":"walneyisland14_thumb.jpg","galleries_id":374026,"server_id":18,"link":"photo_6903729.html","width":130,"caption":"Walney Island Cumbria","height":87});
															thumbnails[8148974] = clik.newPhoto({"id":8148974,"src":"flamboroughhead4_thumb.jpg","galleries_id":374030,"server_id":18,"link":"photo_8148974.html","width":130,"caption":"Flamborough Head","height":87});
															thumbnails[4620919] = clik.newPhoto({"id":4620919,"src":"angmeringbeach_thumb.jpg","galleries_id":374028,"server_id":18,"link":"photo_4620919.html","width":130,"caption":"Angmering beach","height":87});
															thumbnails[8610633] = clik.newPhoto({"id":8610633,"src":"rockislandlinesayre4_thumb.jpg","galleries_id":115112,"server_id":18,"link":"photo_8610633.html","width":130,"caption":"Old disused grain elevators","height":87});
															thumbnails[1714254] = clik.newPhoto({"id":1714254,"src":"shorham _thumb.jpg","galleries_id":374028,"server_id":18,"link":"photo_1714254.html","width":130,"caption":"Shoreham harbour","height":86});
															thumbnails[8148961] = clik.newPhoto({"id":8148961,"src":"northlanding2_thumb.jpg","galleries_id":374030,"server_id":18,"link":"photo_8148961.html","width":70,"caption":"North Landing","height":100});
															thumbnails[6903679] = clik.newPhoto({"id":6903679,"src":"rampsidelighthouse1_thumb.jpg","galleries_id":374026,"server_id":18,"link":"photo_6903679.html","width":130,"caption":"Rampside Lighthouse Cumbria","height":84});
															thumbnails[7208225] = clik.newPhoto({"id":7208225,"src":"sauntonbraunton3_thumb.jpg","galleries_id":374027,"server_id":18,"link":"photo_7208225.html","width":130,"caption":"Braunton Burrows","height":87});
															thumbnails[8610640] = clik.newPhoto({"id":8610640,"src":"roundbarnarcadia4_thumb.jpg","galleries_id":115112,"server_id":18,"link":"photo_8610640.html","width":130,"caption":"Round Barn","height":87});
															thumbnails[1713155] = clik.newPhoto({"id":1713155,"src":"firstlightinhassocks _thumb.jpg","galleries_id":115111,"server_id":18,"link":"photo_1713155.html","width":130,"caption":"First light at Hassocks","height":83});
															thumbnails[5543592] = clik.newPhoto({"id":5543592,"src":"westward_ho_81_thumb.jpg","galleries_id":374027,"server_id":18,"link":"photo_5543592.html","width":130,"caption":"Westward Ho","height":87});
															thumbnails[5543605] = clik.newPhoto({"id":5543605,"src":"abstract_flower_ab680_thumb.jpg","galleries_id":115113,"server_id":18,"link":"photo_5543605.html","width":130,"caption":"Abstract flower","height":85});
															thumbnails[8148939] = clik.newPhoto({"id":8148939,"src":"fileydonkeys2_thumb.jpg","galleries_id":374030,"server_id":18,"link":"photo_8148939.html","width":130,"caption":"Filey","height":87});
															thumbnails[8610645] = clik.newPhoto({"id":8610645,"src":"route66automuseum12_thumb.jpg","galleries_id":115112,"server_id":18,"link":"photo_8610645.html","width":130,"caption":"Route 66 Auto Museum","height":87});
															thumbnails[7597992] = clik.newPhoto({"id":7597992,"src":"aftonstation__thumb.jpg","galleries_id":115112,"server_id":18,"link":"photo_7597992.html","width":130,"caption":"route 66 service station","height":87});
															thumbnails[8148670] = clik.newPhoto({"id":8148670,"src":"robinhoodsbay6_thumb.jpg","galleries_id":374030,"server_id":18,"link":"photo_8148670.html","width":130,"caption":"Robin Hood's Bay","height":87});
															thumbnails[8148918] = clik.newPhoto({"id":8148918,"src":"scarborough10_thumb.jpg","galleries_id":374030,"server_id":18,"link":"photo_8148918.html","width":130,"caption":"Scarborough","height":87});
															thumbnails[5543609] = clik.newPhoto({"id":5543609,"src":"south_downs_snow_20_thumb.jpg","galleries_id":115111,"server_id":18,"link":"photo_5543609.html","width":130,"caption":"South downs snow","height":87});
															thumbnails[6903638] = clik.newPhoto({"id":6903638,"src":"grangeoversands5_thumb.jpg","galleries_id":374026,"server_id":18,"link":"photo_6903638.html","width":130,"caption":"Grange over Sands Cumbria","height":85});
															thumbnails[6013599] = clik.newPhoto({"id":6013599,"src":"bluebell_railway_23_thumb.jpg","galleries_id":115111,"server_id":18,"link":"photo_6013599.html","width":126,"caption":"Santa Express on the Bluebell Railway","height":100});
															thumbnails[6909049] = clik.newPhoto({"id":6909049,"src":"winslowarizona1_thumb.jpg","galleries_id":115112,"server_id":18,"link":"photo_6909049.html","width":130,"caption":"Winslow Arizona","height":78});
															thumbnails[1714247] = clik.newPhoto({"id":1714247,"src":"nastursun_thumb.jpg","galleries_id":115113,"server_id":18,"link":"photo_1714247.html","width":130,"caption":"Nasturtium","height":92});
															thumbnails[6903550] = clik.newPhoto({"id":6903550,"src":"arnsidemorecambebaykentviaduct2_thumb.jpg","galleries_id":374026,"server_id":18,"link":"photo_6903550.html","width":130,"caption":"Arnside on Morecambe bay","height":85});
															thumbnails[7357984] = clik.newPhoto({"id":7357984,"src":"beachhutsbude2_thumb.jpg","galleries_id":374027,"server_id":18,"link":"photo_7357984.html","width":130,"caption":"Bude on the north Cornwall coast","height":87});
															thumbnails[8148523] = clik.newPhoto({"id":8148523,"src":"whitby8_thumb.jpg","galleries_id":374030,"server_id":18,"link":"photo_8148523.html","width":130,"caption":"Whitby","height":87});
															thumbnails[8610334] = clik.newPhoto({"id":8610334,"src":"groomcross1_thumb.jpg","galleries_id":115112,"server_id":18,"link":"photo_8610334.html","width":130,"caption":"Giant cross at Groom","height":87});
															thumbnails[1714097] = clik.newPhoto({"id":1714097,"src":"wheatfields _thumb.jpg","galleries_id":115111,"server_id":18,"link":"photo_1714097.html","width":130,"caption":"Wheat fields and a gathering storm","height":87});
															thumbnails[8148618] = clik.newPhoto({"id":8148618,"src":"sandsend2_thumb.jpg","galleries_id":374030,"server_id":18,"link":"photo_8148618.html","width":130,"caption":"Sandsend","height":87});
															thumbnails[7358091] = clik.newPhoto({"id":7358091,"src":"widemouthbay1_thumb.jpg","galleries_id":374027,"server_id":18,"link":"photo_7358091.html","width":130,"caption":"Widemouth bay North cornwall","height":87});
															thumbnails[1713156] = clik.newPhoto({"id":1713156,"src":"haybales _thumb.jpg","galleries_id":115111,"server_id":18,"link":"photo_1713156.html","width":130,"caption":"Hay bales","height":81});
															thumbnails[6909021] = clik.newPhoto({"id":6909021,"src":"flagstaff8_thumb.jpg","galleries_id":115112,"server_id":18,"link":"photo_6909021.html","width":130,"caption":"Flagstaff Arizona","height":87});
															thumbnails[8148598] = clik.newPhoto({"id":8148598,"src":"rundswickbay12_thumb.jpg","galleries_id":374030,"server_id":18,"link":"photo_8148598.html","width":130,"caption":"Runswick Bay","height":87});
															thumbnails[7598054] = clik.newPhoto({"id":7598054,"src":"oklahomaroute66museum4_thumb.jpg","galleries_id":115112,"server_id":18,"link":"photo_7598054.html","width":130,"caption":"route 66 auto museum","height":87});
															thumbnails[8148563] = clik.newPhoto({"id":8148563,"src":"staithes16_thumb.jpg","galleries_id":374030,"server_id":18,"link":"photo_8148563.html","width":130,"caption":"Staithes","height":87});
															thumbnails[1713160] = clik.newPhoto({"id":1713160,"src":"newforestautumnleaves _thumb.jpg","galleries_id":115111,"server_id":18,"link":"photo_1713160.html","width":130,"caption":"New Forest","height":86});
															thumbnails[5544485] = clik.newPhoto({"id":5544485,"src":"purple_and_yellow_ab_695_thumb.jpg","galleries_id":115113,"server_id":18,"link":"photo_5544485.html","width":130,"caption":"Purple and yellow","height":85});
															thumbnails[7100360] = clik.newPhoto({"id":7100360,"src":"saltburn_thumb.jpg","galleries_id":374030,"server_id":18,"link":"photo_7100360.html","width":130,"caption":"Saltburn by the sea","height":83});
															thumbnails[1879789] = clik.newPhoto({"id":1879789,"src":"deer_thumb.jpg","galleries_id":115111,"server_id":18,"link":"photo_1879789.html","width":130,"caption":"Lone deer","height":80});
															thumbnails[6903671] = clik.newPhoto({"id":6903671,"src":"morecambe6_thumb.jpg","galleries_id":374026,"server_id":18,"link":"photo_6903671.html","width":130,"caption":"Morecambe Lancashire","height":69});
															thumbnails[7598008] = clik.newPhoto({"id":7598008,"src":"devilsropemuseum2_thumb.jpg","galleries_id":115112,"server_id":18,"link":"photo_7598008.html","width":130,"caption":"Devils Rope museum","height":94});
															thumbnails[7398030] = clik.newPhoto({"id":7398030,"src":"boscastle4_thumb.jpg","galleries_id":374027,"server_id":18,"link":"photo_7398030.html","width":130,"caption":"Boscastle","height":88});
															thumbnails[7598043] = clik.newPhoto({"id":7598043,"src":"holbrook18_thumb.jpg","galleries_id":115112,"server_id":18,"link":"photo_7598043.html","width":130,"caption":"Joe and Aggies cafe","height":87});
															thumbnails[7598069] = clik.newPhoto({"id":7598069,"src":"birkriggpark1_thumb.jpg","galleries_id":115111,"server_id":18,"link":"photo_7598069.html","width":130,"caption":"Birk Rigg park","height":83});
															thumbnails[1713141] = clik.newPhoto({"id":1713141,"src":"tulipprofile _thumb.jpg","galleries_id":115113,"server_id":18,"link":"photo_1713141.html","width":130,"caption":"Tulip profile","height":86});
															thumbnails[2846182] = clik.newPhoto({"id":2846182,"src":"peggyscove2_thumb.jpg","galleries_id":115112,"server_id":18,"link":"photo_2846182.html","width":130,"caption":"Peggy's Cove Nova Scotia","height":87});
															thumbnails[3405177] = clik.newPhoto({"id":3405177,"src":"brightonseafront_thumb.jpg","galleries_id":374028,"server_id":18,"link":"photo_3405177.html","width":130,"caption":"Brighton seafront","height":87});
															thumbnails[7398089] = clik.newPhoto({"id":7398089,"src":"fishboxesport_issac_thumb.jpg","galleries_id":374027,"server_id":18,"link":"photo_7398089.html","width":130,"caption":"Port Issac","height":87});
															thumbnails[8610332] = clik.newPhoto({"id":8610332,"src":"dartford_college_hannover_gamma_delta_chi_thumb.jpg","galleries_id":115112,"server_id":18,"link":"photo_8610332.html","width":130,"caption":"Dartmouth college New Hampshire","height":91});
															thumbnails[8610807] = clik.newPhoto({"id":8610807,"src":"loughriggtarn2_thumb.jpg","galleries_id":115111,"server_id":18,"link":"photo_8610807.html","width":130,"caption":"Lough Rigg Tarn","height":80});
															thumbnails[7398120] = clik.newPhoto({"id":7398120,"src":"trebarwithstrand3_thumb.jpg","galleries_id":374027,"server_id":18,"link":"photo_7398120.html","width":130,"caption":"Trebarwith Strand","height":75});
															thumbnails[7598141] = clik.newPhoto({"id":7598141,"src":"peacehaven2_thumb.jpg","galleries_id":374028,"server_id":18,"link":"photo_7598141.html","width":65,"caption":"Peacehaven","height":100});
															thumbnails[4231571] = clik.newPhoto({"id":4231571,"src":"seafordbeachbuts_thumb.jpg","galleries_id":374028,"server_id":18,"link":"photo_4231571.html","width":130,"caption":"Seaford beach huts","height":91});
															thumbnails[7100348] = clik.newPhoto({"id":7100348,"src":"redcar_thumb.jpg","galleries_id":374030,"server_id":18,"link":"photo_7100348.html","width":130,"caption":"Redcar","height":83});
															thumbnails[8798877] = clik.newPhoto({"id":8798877,"src":"mount_washington5_thumb.jpg","galleries_id":115112,"server_id":18,"link":"photo_8798877.html","width":130,"caption":"Mount Washington ","height":87});
															thumbnails[7398122] = clik.newPhoto({"id":7398122,"src":"portquin10_thumb.jpg","galleries_id":374027,"server_id":18,"link":"photo_7398122.html","width":130,"caption":"Port Quin","height":87});
															thumbnails[7598133] = clik.newPhoto({"id":7598133,"src":"hangglider5_thumb.jpg","galleries_id":115111,"server_id":18,"link":"photo_7598133.html","width":130,"caption":"Hang Gliders","height":87});
															thumbnails[8610341] = clik.newPhoto({"id":8610341,"src":"hancock_shaker_village7_thumb.jpg","galleries_id":115112,"server_id":18,"link":"photo_8610341.html","width":130,"caption":"Shaker village at Hancock ","height":87});
															thumbnails[7398124] = clik.newPhoto({"id":7398124,"src":"polzeath6_thumb.jpg","galleries_id":374027,"server_id":18,"link":"photo_7398124.html","width":130,"caption":"Polzeath beach","height":87});
															thumbnails[1713140] = clik.newPhoto({"id":1713140,"src":"poppy 1_thumb.jpg","galleries_id":115113,"server_id":18,"link":"photo_1713140.html","width":130,"caption":"Poppies","height":88});
															thumbnails[6903682] = clik.newPhoto({"id":6903682,"src":"riverlunelighthouse1_thumb.jpg","galleries_id":374026,"server_id":18,"link":"photo_6903682.html","width":130,"caption":"Black cone lighthouse Lancashire","height":87});
															thumbnails[7100344] = clik.newPhoto({"id":7100344,"src":"middlesborough_thumb.jpg","galleries_id":374030,"server_id":18,"link":"photo_7100344.html","width":130,"caption":"The Transporter Bridge","height":81});
															thumbnails[1714084] = clik.newPhoto({"id":1714084,"src":"southdownshut _thumb.jpg","galleries_id":115111,"server_id":18,"link":"photo_1714084.html","width":130,"caption":"South Downs barn","height":85});
															thumbnails[8799036] = clik.newPhoto({"id":8799036,"src":"padstow_harbour6_thumb.jpg","galleries_id":374027,"server_id":18,"link":"photo_8799036.html","width":130,"caption":"Padstow Harbour","height":87});
															thumbnails[1879814] = clik.newPhoto({"id":1879814,"src":"redleaves_thumb.jpg","galleries_id":115113,"server_id":18,"link":"photo_1879814.html","width":130,"caption":"Red leaves","height":77});
															thumbnails[6013631] = clik.newPhoto({"id":6013631,"src":"countisbury_common_6_thumb.jpg","galleries_id":115111,"server_id":18,"link":"photo_6013631.html","width":130,"caption":"Countisbury Common","height":81});
															thumbnails[6903583] = clik.newPhoto({"id":6903583,"src":"cockersandabbey4_thumb.jpg","galleries_id":374026,"server_id":18,"link":"photo_6903583.html","width":130,"caption":"Cockersand Abbey Lancashire","height":87});
															thumbnails[8799034] = clik.newPhoto({"id":8799034,"src":"harlyn_bay3_thumb.jpg","galleries_id":374027,"server_id":18,"link":"photo_8799034.html","width":130,"caption":"Harlyn Bay","height":85});
															thumbnails[5558382] = clik.newPhoto({"id":5558382,"src":"whitburn5_thumb.jpg","galleries_id":374030,"server_id":18,"link":"photo_5558382.html","width":130,"caption":"Whitburn","height":70});
															thumbnails[8610343] = clik.newPhoto({"id":8610343,"src":"lititz3_thumb.jpg","galleries_id":115112,"server_id":18,"link":"photo_8610343.html","width":130,"caption":"The Wilbur Chocolate Company","height":87});
															thumbnails[1713332] = clik.newPhoto({"id":1713332,"src":"neworleans _thumb.jpg","galleries_id":115112,"server_id":18,"link":"photo_1713332.html","width":130,"caption":"New Orleans","height":86});
															thumbnails[5544475] = clik.newPhoto({"id":5544475,"src":"tulips__thumb.jpg","galleries_id":115113,"server_id":18,"link":"photo_5544475.html","width":62,"caption":"Tall Tulips","height":100});
															thumbnails[6903619] = clik.newPhoto({"id":6903619,"src":"fleetwood2_thumb.jpg","galleries_id":374026,"server_id":18,"link":"photo_6903619.html","width":67,"caption":"Fleetwood Lancashire","height":100});
															thumbnails[6908862] = clik.newPhoto({"id":6908862,"src":"wreagreen6_thumb.jpg","galleries_id":115111,"server_id":18,"link":"photo_6908862.html","width":130,"caption":"Wrea Green Lancashire","height":87});
															thumbnails[8799056] = clik.newPhoto({"id":8799056,"src":"constantyne_bay4_thumb.jpg","galleries_id":374027,"server_id":18,"link":"photo_8799056.html","width":130,"caption":"Constantine Bay","height":87});
															thumbnails[8610655] = clik.newPhoto({"id":8610655,"src":"sunstudiosmemphis2_thumb.jpg","galleries_id":115112,"server_id":18,"link":"photo_8610655.html","width":130,"caption":"Sun Studios Memphis","height":87});
															thumbnails[8799041] = clik.newPhoto({"id":8799041,"src":"treyarnon_3_thumb.jpg","galleries_id":374027,"server_id":18,"link":"photo_8799041.html","width":130,"caption":"Treyarnon Cornwall","height":87});
															thumbnails[6908495] = clik.newPhoto({"id":6908495,"src":"whitleybay1_thumb.jpg","galleries_id":374030,"server_id":18,"link":"photo_6908495.html","width":130,"caption":"Whitley Bay","height":77});
															thumbnails[8798882] = clik.newPhoto({"id":8798882,"src":"12humberston1_thumb.jpg","galleries_id":115111,"server_id":18,"link":"photo_8798882.html","width":130,"caption":"Humberstone","height":87});
															thumbnails[6903554] = clik.newPhoto({"id":6903554,"src":"blackpool30_thumb.jpg","galleries_id":374026,"server_id":18,"link":"photo_6903554.html","width":130,"caption":"Blackpool tower","height":81});
															thumbnails[8799037] = clik.newPhoto({"id":8799037,"src":"porthcothan4_thumb.jpg","galleries_id":374027,"server_id":18,"link":"photo_8799037.html","width":130,"caption":"Porthcothan Cornwall","height":87});
															thumbnails[4231560] = clik.newPhoto({"id":4231560,"src":"martinlutherking_thumb.jpg","galleries_id":115112,"server_id":18,"link":"photo_4231560.html","width":130,"caption":"Civil Rights memorial","height":88});
															thumbnails[6903553] = clik.newPhoto({"id":6903553,"src":"blackpool21_thumb.jpg","galleries_id":374026,"server_id":18,"link":"photo_6903553.html","width":130,"caption":"Blackpool Lancashire ","height":87});
															thumbnails[7208229] = clik.newPhoto({"id":7208229,"src":"eastbournebeach2_thumb.jpg","galleries_id":374028,"server_id":18,"link":"photo_7208229.html","width":130,"caption":"Eastbourne","height":87});
															thumbnails[6908498] = clik.newPhoto({"id":6908498,"src":"seatonsluice13_thumb.jpg","galleries_id":374030,"server_id":18,"link":"photo_6908498.html","width":130,"caption":"Seaton Sluice Northumberland","height":85});
															thumbnails[7598002] = clik.newPhoto({"id":7598002,"src":"civilrightsmemphis1_thumb.jpg","galleries_id":115112,"server_id":18,"link":"photo_7598002.html","width":96,"caption":"Civil Rights museum","height":100});
															thumbnails[8798884] = clik.newPhoto({"id":8798884,"src":"40fenside1_thumb.jpg","galleries_id":115111,"server_id":18,"link":"photo_8798884.html","width":130,"caption":"Fenside","height":87});
															thumbnails[1879747] = clik.newPhoto({"id":1879747,"src":"arlington _thumb.jpg","galleries_id":115112,"server_id":18,"link":"photo_1879747.html","width":130,"caption":"Arlington, Washington DC","height":87});
															thumbnails[1714094] = clik.newPhoto({"id":1714094,"src":"washington _thumb.jpg","galleries_id":115112,"server_id":18,"link":"photo_1714094.html","width":130,"caption":"Washington DC","height":87});
															thumbnails[8798886] = clik.newPhoto({"id":8798886,"src":"battle_of_britain_memorial4_thumb.jpg","galleries_id":115111,"server_id":18,"link":"photo_8798886.html","width":67,"caption":"Battle of Britain Memorial","height":100});
															thumbnails[5544479] = clik.newPhoto({"id":5544479,"src":"autumnredleaves__thumb.jpg","galleries_id":115113,"server_id":18,"link":"photo_5544479.html","width":68,"caption":"Autumn colours","height":100});
															thumbnails[8610659] = clik.newPhoto({"id":8610659,"src":"wehrs_bridge_4_thumb.jpg","galleries_id":115112,"server_id":18,"link":"photo_8610659.html","width":130,"caption":"Wehr's Covered Bridge","height":87});
															thumbnails[1714098] = clik.newPhoto({"id":1714098,"src":"walldoor_thumb.jpg","galleries_id":115112,"server_id":18,"link":"photo_1714098.html","width":130,"caption":"Old door in Lisbon","height":98});
															thumbnails[6903543] = clik.newPhoto({"id":6903543,"src":"amble20_thumb.jpg","galleries_id":374030,"server_id":18,"link":"photo_6903543.html","width":130,"caption":"Amble  Northumberland  ","height":88});
															thumbnails[6903663] = clik.newPhoto({"id":6903663,"src":"lytham20_thumb.jpg","galleries_id":374026,"server_id":18,"link":"photo_6903663.html","width":130,"caption":"Lytham Windmill","height":87});
															thumbnails[7398157] = clik.newPhoto({"id":7398157,"src":"beachlands1_thumb.jpg","galleries_id":374028,"server_id":18,"link":"photo_7398157.html","width":130,"caption":"Beachlands on the Sussex coast","height":87});
															thumbnails[8149343] = clik.newPhoto({"id":8149343,"src":"burghisland4_thumb.jpg","galleries_id":374027,"server_id":18,"link":"photo_8149343.html","width":130,"caption":"Burgh Island","height":86});
															thumbnails[1714100] = clik.newPhoto({"id":1714100,"src":"sunsetovervenice_thumb.jpg","galleries_id":115112,"server_id":18,"link":"photo_1714100.html","width":130,"caption":"Sunset over Venice","height":86});
															thumbnails[6908522] = clik.newPhoto({"id":6908522,"src":"craster2_thumb.jpg","galleries_id":374030,"server_id":18,"link":"photo_6908522.html","width":130,"caption":"Craster harbour Northumberland","height":87});
															thumbnails[8607851] = clik.newPhoto({"id":8607851,"src":"skegness31_thumb.jpg","galleries_id":374029,"server_id":18,"link":"photo_8607851.html","width":130,"caption":"Skegness","height":86});
															thumbnails[3644943] = clik.newPhoto({"id":3644943,"src":"giantscauseway_thumb.jpg","galleries_id":115112,"server_id":18,"link":"photo_3644943.html","width":130,"caption":"Giant's Causeway Northern Ireland","height":85});
															thumbnails[7398160] = clik.newPhoto({"id":7398160,"src":"normansbay2_thumb.jpg","galleries_id":374028,"server_id":18,"link":"photo_7398160.html","width":130,"caption":"Beach huts","height":87});
															thumbnails[6903691] = clik.newPhoto({"id":6903691,"src":"southport15_thumb.jpg","galleries_id":374026,"server_id":18,"link":"photo_6903691.html","width":130,"caption":"Southport Lancashire","height":87});
															thumbnails[8607861] = clik.newPhoto({"id":8607861,"src":"fantasy_island_1_thumb.jpg","galleries_id":374029,"server_id":18,"link":"photo_8607861.html","width":130,"caption":"Fantasy Island Lincolnshire","height":87});
															thumbnails[5544462] = clik.newPhoto({"id":5544462,"src":"bluebells__thumb.jpg","galleries_id":115113,"server_id":18,"link":"photo_5544462.html","width":65,"caption":"Bluebells","height":100});
															thumbnails[7398162] = clik.newPhoto({"id":7398162,"src":"bexhill24_thumb.jpg","galleries_id":374028,"server_id":18,"link":"photo_7398162.html","width":130,"caption":"Bexhill on sea","height":79});
															thumbnails[8149422] = clik.newPhoto({"id":8149422,"src":"salcombe13_thumb.jpg","galleries_id":374027,"server_id":18,"link":"photo_8149422.html","width":130,"caption":"Salcombe","height":87});
															thumbnails[4621261] = clik.newPhoto({"id":4621261,"src":"suttononsea_thumb.jpg","galleries_id":374029,"server_id":18,"link":"photo_4621261.html","width":130,"caption":"Sutton on sea Lincolnshire","height":87});
															thumbnails[6908505] = clik.newPhoto({"id":6908505,"src":"lownewtonbythesea5_thumb.jpg","galleries_id":374030,"server_id":18,"link":"photo_6908505.html","width":130,"caption":"Low Newton by the sea Northumberland","height":82});
															thumbnails[8607125] = clik.newPhoto({"id":8607125,"src":"birkenhead3_thumb.jpg","galleries_id":374026,"server_id":18,"link":"photo_8607125.html","width":130,"caption":"Liverpool seafront and the Liver Building","height":87});
															thumbnails[1714090] = clik.newPhoto({"id":1714090,"src":"sydneyharbourbridge_thumb.jpg","galleries_id":115112,"server_id":18,"link":"photo_1714090.html","width":130,"caption":"Postcard from Sydney","height":88});
															thumbnails[5140699] = clik.newPhoto({"id":5140699,"src":"cleethorpes26_thumb.jpg","galleries_id":374029,"server_id":18,"link":"photo_5140699.html","width":130,"caption":"Cleethorpes Lincolnshire","height":80});
															thumbnails[6908532] = clik.newPhoto({"id":6908532,"src":"beadnellharbour17_thumb.jpg","galleries_id":374030,"server_id":18,"link":"photo_6908532.html","width":130,"caption":"Beadnell harbour Northumberland","height":87});
															thumbnails[7100310] = clik.newPhoto({"id":7100310,"src":"holes_thumb.jpg","galleries_id":115224,"server_id":18,"link":"photo_7100310.html","width":130,"caption":"Holes","height":93});
															thumbnails[8149359] = clik.newPhoto({"id":8149359,"src":"torquay_thumb.jpg","galleries_id":374027,"server_id":18,"link":"photo_8149359.html","width":130,"caption":"Torquay","height":87});
															thumbnails[8607132] = clik.newPhoto({"id":8607132,"src":"birkenhead17_thumb.jpg","galleries_id":374026,"server_id":18,"link":"photo_8607132.html","width":130,"caption":"Mersey ferry","height":85});
															thumbnails[7100311] = clik.newPhoto({"id":7100311,"src":"theblade_thumb.jpg","galleries_id":115224,"server_id":18,"link":"photo_7100311.html","width":130,"caption":"A close up image of a knife","height":87});
															thumbnails[8149348] = clik.newPhoto({"id":8149348,"src":"oddicombelandslip4_thumb.jpg","galleries_id":374027,"server_id":18,"link":"photo_8149348.html","width":67,"caption":"Oddicombe","height":100});
															thumbnails[6013640] = clik.newPhoto({"id":6013640,"src":"dymchurch_construction_project_20_thumb.jpg","galleries_id":374028,"server_id":18,"link":"photo_6013640.html","width":130,"caption":"Dymchurch Kent  ","height":87});
															thumbnails[6908502] = clik.newPhoto({"id":6908502,"src":"seahouses4_thumb.jpg","galleries_id":374030,"server_id":18,"link":"photo_6908502.html","width":130,"caption":"Seahouses harbour Northumberland","height":87});
															thumbnails[7100376] = clik.newPhoto({"id":7100376,"src":"thescoop_thumb.jpg","galleries_id":115224,"server_id":18,"link":"photo_7100376.html","width":130,"caption":"The ice cream scoop","height":87});
															thumbnails[4231582] = clik.newPhoto({"id":4231582,"src":"shanghaibotanicgarden_thumb.jpg","galleries_id":115112,"server_id":18,"link":"photo_4231582.html","width":130,"caption":"Botanic gardens in Shanghai","height":87});
															thumbnails[8607135] = clik.newPhoto({"id":8607135,"src":"new_brighton16_thumb.jpg","galleries_id":374026,"server_id":18,"link":"photo_8607135.html","width":130,"caption":"New Brighton Lighthouse","height":87});
															thumbnails[3405221] = clik.newPhoto({"id":3405221,"src":"singaporeappartments_thumb.jpg","galleries_id":115112,"server_id":18,"link":"photo_3405221.html","width":130,"caption":"Singapore appartments","height":87});
															thumbnails[3405229] = clik.newPhoto({"id":3405229,"src":"srimariamman_thumb.jpg","galleries_id":115112,"server_id":18,"link":"photo_3405229.html","width":130,"caption":"Sri Mariamman temple","height":85});
															thumbnails[6908736] = clik.newPhoto({"id":6908736,"src":"ravenglass14_thumb.jpg","galleries_id":115111,"server_id":18,"link":"photo_6908736.html","width":130,"caption":"Ravensglass Cumbria","height":86});
															thumbnails[7598154] = clik.newPhoto({"id":7598154,"src":"leonardshastings4_thumb.jpg","galleries_id":374028,"server_id":18,"link":"photo_7598154.html","width":130,"caption":"St Leonards","height":93});
															thumbnails[8149473] = clik.newPhoto({"id":8149473,"src":"immingham1_thumb.jpg","galleries_id":374029,"server_id":18,"link":"photo_8149473.html","width":130,"caption":"Immingham","height":88});
															thumbnails[6908504] = clik.newPhoto({"id":6908504,"src":"rossbacksands7_thumb.jpg","galleries_id":374030,"server_id":18,"link":"photo_6908504.html","width":130,"caption":"Ross Back Sands Northumberland","height":87});
															thumbnails[8610652] = clik.newPhoto({"id":8610652,"src":"st_peters_square12_thumb.jpg","galleries_id":115112,"server_id":18,"link":"photo_8610652.html","width":130,"caption":"St Peters Square","height":87});
															thumbnails[5543953] = clik.newPhoto({"id":5543953,"src":"humber_bridge4_thumb.jpg","galleries_id":374029,"server_id":18,"link":"photo_5543953.html","width":63,"caption":"The Humber bridge","height":100});
															thumbnails[6908846] = clik.newPhoto({"id":6908846,"src":"busshelter2_thumb.jpg","galleries_id":115111,"server_id":18,"link":"photo_6908846.html","width":130,"caption":"A bus shelter","height":84});
															thumbnails[7598140] = clik.newPhoto({"id":7598140,"src":"hastings33_thumb.jpg","galleries_id":374028,"server_id":18,"link":"photo_7598140.html","width":130,"caption":"Hastings","height":81});
															thumbnails[8610649] = clik.newPhoto({"id":8610649,"src":"spanish_steps10_thumb.jpg","galleries_id":115112,"server_id":18,"link":"photo_8610649.html","width":67,"caption":"Spanish Steps Rome","height":100});
															thumbnails[8798751] = clik.newPhoto({"id":8798751,"src":"allotment_cabbage2_thumb.jpg","galleries_id":115224,"server_id":18,"link":"photo_8798751.html","width":130,"caption":"Allotment cabbage","height":87});
															thumbnails[5544070] = clik.newPhoto({"id":5544070,"src":"brisbane_thumb.jpg","galleries_id":115112,"server_id":18,"link":"photo_5544070.html","width":67,"caption":"South park walkway","height":100});
															thumbnails[8798757] = clik.newPhoto({"id":8798757,"src":"digging_leeks_4_thumb.jpg","galleries_id":115224,"server_id":18,"link":"photo_8798757.html","width":67,"caption":"On the allotment","height":100});
															thumbnails[6908511] = clik.newPhoto({"id":6908511,"src":"holyisland8_thumb.jpg","galleries_id":374030,"server_id":18,"link":"photo_6908511.html","width":130,"caption":"Holy Island off the Northumberland coast","height":87});
															thumbnails[6908524] = clik.newPhoto({"id":6908524,"src":"cheswicklindisfarne2_thumb.jpg","galleries_id":374030,"server_id":18,"link":"photo_6908524.html","width":130,"caption":"Cheswick Northumberland","height":87});
															thumbnails[5544471] = clik.newPhoto({"id":5544471,"src":"dandilion_thumb.jpg","galleries_id":115113,"server_id":18,"link":"photo_5544471.html","width":69,"caption":"Dandilion seed head","height":100});
															thumbnails[6908708] = clik.newPhoto({"id":6908708,"src":"bristolfloatingharbour4_thumb.jpg","galleries_id":115111,"server_id":18,"link":"photo_6908708.html","width":130,"caption":"Bristol floating harbour","height":87});
															thumbnails[5544119] = clik.newPhoto({"id":5544119,"src":"sydneyoperahouse_thumb.jpg","galleries_id":115112,"server_id":18,"link":"photo_5544119.html","width":67,"caption":"Sydney Opera house 2","height":100});
															thumbnails[6908530] = clik.newPhoto({"id":6908530,"src":"berwickontweedramparts5_thumb.jpg","galleries_id":374030,"server_id":18,"link":"photo_6908530.html","width":130,"caption":"Berwick on Tweed","height":87});
															thumbnails[6908850] = clik.newPhoto({"id":6908850,"src":"furnessabbey7_thumb.jpg","galleries_id":115111,"server_id":18,"link":"photo_6908850.html","width":130,"caption":"Furness Abbey ruins","height":87});
															thumbnails[7597997] = clik.newPhoto({"id":7597997,"src":"bluewhalecatoosa3_thumb.jpg","galleries_id":115112,"server_id":18,"link":"photo_7597997.html","width":67,"caption":"the Blue Whale","height":100});
															thumbnails[8610627] = clik.newPhoto({"id":8610627,"src":"popstoparcadia1_thumb.jpg","galleries_id":115112,"server_id":18,"link":"photo_8610627.html","width":62,"caption":"Popstop","height":100});
															thumbnails[8798895] = clik.newPhoto({"id":8798895,"src":"o2_arena2_thumb.jpg","galleries_id":115111,"server_id":18,"link":"photo_8798895.html","width":130,"caption":"O2 Arena","height":87});
															thumbnails[2846213] = clik.newPhoto({"id":2846213,"src":"warped_thumb.jpg","galleries_id":115111,"server_id":18,"link":"photo_2846213.html","width":130,"caption":"Crawley office building","height":84});
															thumbnails[7598011] = clik.newPhoto({"id":7598011,"src":"fedexforummemphis11_thumb.jpg","galleries_id":115112,"server_id":18,"link":"photo_7598011.html","width":76,"caption":"Fedex Forum Memphis","height":100});
															thumbnails[7100333] = clik.newPhoto({"id":7100333,"src":"scottishborder2_thumb.jpg","galleries_id":374030,"server_id":18,"link":"photo_7100333.html","width":130,"caption":"The Scottish border","height":87});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[374025] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"The coastline of England","link":"gallery_374025.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"8799075,8799073,8799069,8799063,8799056,8799041,8799037,8799036,8799034,8610762","id":374025,"singleSection":false});				  						galleries[374026] = clik.newGallery({"parentGallery":374025,"usePopups":false,"title":"The north west coast","link":"gallery_374026.html","maxRecords":0.0,"photoIDs":[6903743.0,6903685.0,6903649.0,6903668.0,6903729.0,6903679.0,6903638.0,6903550.0,6903671.0,6903682.0,6903583.0,6903619.0,6903554.0,6903553.0,6903663.0,6903691.0,8607125.0,8607132.0,8607135.0],"skipIndex":0,"section_code":"gallery","featured_images":"8607135,8607132,8607125,6903743,6903729,6903691,6903685,6903682,6903679,6903671","id":374026,"singleSection":false});				  						galleries[115111] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"around the UK","link":"gallery_115111.html","maxRecords":0.0,"photoIDs":[6908833.0,5543995.0,6903675.0,5544054.0,6013621.0,3644872.0,2846166.0,1713155.0,5543609.0,6013599.0,1714097.0,1713156.0,1713160.0,1879789.0,7598069.0,8610807.0,7598133.0,1714084.0,6013631.0,6908862.0,8798882.0,8798884.0,8798886.0,6908736.0,6908846.0,6908708.0,6908850.0,8798895.0,2846213.0],"skipIndex":0,"section_code":"gallery","featured_images":"8798895,8798886,8798884,8798882,8610807,7598133,7598069,6908862,6908850,6908846","id":115111,"singleSection":false});				  						galleries[374027] = clik.newGallery({"parentGallery":374025,"usePopups":false,"title":"The south west coast","link":"gallery_374027.html","maxRecords":0.0,"photoIDs":[5558378.0,7357813.0,7357869.0,5543588.0,5543574.0,7208225.0,5543592.0,7357984.0,7358091.0,7398030.0,7398089.0,7398120.0,7398122.0,7398124.0,8799036.0,8799034.0,8799056.0,8799041.0,8799037.0,8149343.0,8149422.0,8149359.0,8149348.0],"skipIndex":0,"section_code":"gallery","featured_images":"8799056,8799041,8799037,8799036,8799034,8149422,8149359,8149348,8149343,7398124","id":374027,"singleSection":false});				  						galleries[115112] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"around the world","link":"gallery_115112.html","maxRecords":0.0,"photoIDs":[5544079.0,5544073.0,5544087.0,5544112.0,5544134.0,1713152.0,4231586.0,2846210.0,1713147.0,1713157.0,8610633.0,8610640.0,8610645.0,7597992.0,6909049.0,8610334.0,6909021.0,7598054.0,7598008.0,7598043.0,2846182.0,8610332.0,8798877.0,8610341.0,8610343.0,1713332.0,8610655.0,4231560.0,7598002.0,1879747.0,1714094.0,8610659.0,1714098.0,1714100.0,3644943.0,1714090.0,4231582.0,3405221.0,3405229.0,8610652.0,8610649.0,5544070.0,5544119.0,7597997.0,8610627.0,7598011.0],"skipIndex":0,"section_code":"gallery","featured_images":"8798877,8610659,8610655,8610652,8610649,8610645,8610640,8610633,8610627,8610343","id":115112,"singleSection":false});				  						galleries[374028] = clik.newGallery({"parentGallery":374025,"usePopups":false,"title":"The south coast","link":"gallery_374028.html","maxRecords":0.0,"photoIDs":[6908597.0,5543970.0,2224653.0,4620919.0,1714254.0,3405177.0,7598141.0,4231571.0,7208229.0,7398157.0,7398160.0,7398162.0,6013640.0,7598154.0,7598140.0],"skipIndex":0,"section_code":"gallery","featured_images":"7598154,7598141,7598140,7398162,7398160,7398157,7208229,6908597,6013640,5543970","id":374028,"singleSection":false});				  						galleries[115113] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"flowers and trees","link":"gallery_115113.html","maxRecords":0.0,"photoIDs":[2846158.0,2846160.0,8798764.0,1713131.0,1713133.0,1713118.0,5543605.0,1714247.0,5544485.0,1713141.0,1713140.0,1879814.0,5544475.0,5544479.0,5544462.0,5544471.0],"skipIndex":0,"section_code":"gallery","featured_images":"8798764,5544485,5544479,5544475,5544471,5544462,5543605,2846160,2846158,1879814","id":115113,"singleSection":false});				  						galleries[374029] = clik.newGallery({"parentGallery":374025,"usePopups":false,"title":"The east coast","link":"gallery_374029.html","maxRecords":0.0,"photoIDs":[8799063.0,8799069.0,8799073.0,8799075.0,5140758.0,6026140.0,8610762.0,2846179.0,8607907.0,7598147.0,7598152.0,8607851.0,8607861.0,4621261.0,5140699.0,8149473.0,5543953.0],"skipIndex":0,"section_code":"gallery","featured_images":"8799075,8799073,8799069,8799063,8610762,8607907,8607861,8607851,8149473,7598152","id":374029,"singleSection":false});				  						galleries[115224] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"miscelleaneous","link":"gallery_115224.html","maxRecords":0.0,"photoIDs":[1714246.0,1714252.0,7100310.0,7100311.0,7100376.0,8798751.0,8798757.0],"skipIndex":0,"section_code":"gallery","featured_images":"8798757,8798751,7100376,7100311,7100310,1714252,1714246","id":115224,"singleSection":false});				  						galleries[374030] = clik.newGallery({"parentGallery":374025,"usePopups":false,"title":"The north east coast","link":"gallery_374030.html","maxRecords":0.0,"photoIDs":[8149105.0,8149087.0,8148983.0,8148974.0,8148961.0,8148939.0,8148670.0,8148918.0,8148523.0,8148618.0,8148598.0,8148563.0,7100360.0,7100348.0,7100344.0,5558382.0,6908495.0,6908498.0,6903543.0,6908522.0,6908505.0,6908532.0,6908502.0,6908504.0,6908511.0,6908524.0,6908530.0,7100333.0],"skipIndex":0,"section_code":"gallery","featured_images":"8149105,8149087,8148983,8148974,8148961,8148939,8148918,8148670,8148618,8148598","id":374030,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '8799069,8799073,8798764,6013621,2846166,8610633,8148961,5543605,5543592,1713155,7597992,6903638,5543609,6909049,8610334,7357984,6903550,1714097,1713156,7100360,7598008,6903671,1879789,8610807,3405177,7598141,7398120,8798877,8610341,7598133,6903682,6903583,6013631,5558382,8799056,6908862,1713332,8798882,8799037,6903553,4231560,6908498,8798886,6903663,6903543,6908522,1714100,3644943,8607861,6903691,5544462,8149422,7398162,8607132,5140699,7100311,6908502,6013640,7100376,8607135,3405221,8610652,8798751,7598140,6908846,5543953,6908511,6908524,5544471,6908530,5544119,8798895,8610627,2846213';
imageSets[3] = '8799075,8799073,8799069,8799063,8799056,8799041,8799037,8799036,8799034,8798895,8798886,8798884,8798882,8798877,8798764,8798757,8798751,8610807,8610762,8610659,8610655,8610652,8610649,8610645,8610640,8610633,8610627,8610343,8610341,8610334,8610332,8607907,8607861,8607851,8607135,8607132,8607125,8149473,8149422,8149359,8149348,8149343,8149105,8149087,8148983,8148974,8148961,8148939,8148918,8148670';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/davideastley/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/davideastley/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/davideastley/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/davideastley/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/davideastley/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/davideastley/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/davideastley/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/davideastley/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/davideastley/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/davideastley/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/davideastley/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/davideastley/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/davideastley/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/davideastley/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/davideastley/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/davideastley/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/davideastley/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/davideastley/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/davideastley/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/davideastley/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/davideastley/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/davideastley/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/davideastley/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/davideastley/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/davideastley/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/davideastley/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/davideastley/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 = 'David Eastley 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> </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="DAVIDEASTLEY">';
			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;
	}
}

			

