window.thumbnails = {};
															thumbnails[531471] = clik.newPhoto({"id":531471,"src":"misbehavin1_thumb.jpg","galleries_id":40953,"server_id":1,"link":"photo_531471.html","width":130,"caption":"","height":90});
															thumbnails[531474] = clik.newPhoto({"id":531474,"src":"ndconfetti1_thumb.jpg","galleries_id":40953,"server_id":1,"link":"photo_531474.html","width":130,"caption":"","height":179});
															thumbnails[561230] = clik.newPhoto({"id":561230,"src":"sambmaids_thumb.jpg","galleries_id":40953,"server_id":1,"link":"photo_561230.html","width":90,"caption":"","height":130});
															thumbnails[561247] = clik.newPhoto({"id":561247,"src":"terrysam_thumb.jpg","galleries_id":40953,"server_id":1,"link":"photo_561247.html","width":95,"caption":"","height":130});
															thumbnails[561306] = clik.newPhoto({"id":561306,"src":"ddoobbqr_thumb.jpg","galleries_id":40951,"server_id":1,"link":"photo_561306.html","width":130,"caption":"Durdle Door Dorset","height":80});
															thumbnails[561380] = clik.newPhoto({"id":561380,"src":"nickden_thumb.jpg","galleries_id":40953,"server_id":1,"link":"photo_561380.html","width":90,"caption":"","height":130});
															thumbnails[561384] = clik.newPhoto({"id":561384,"src":"randmwedd_thumb.jpg","galleries_id":40953,"server_id":1,"link":"photo_561384.html","width":98,"caption":"","height":130});
															thumbnails[568632] = clik.newPhoto({"id":568632,"src":"felixship_thumb.jpg","galleries_id":40951,"server_id":1,"link":"photo_568632.html","width":130,"caption":"Felixtowe Suffolk","height":87});
															thumbnails[1532660] = clik.newPhoto({"id":1532660,"src":"gcourthorse600_thumb.jpg","galleries_id":40956,"server_id":1,"link":"photo_1532660.html","width":130,"caption":"Great Court British Museum","height":91});
															thumbnails[1532740] = clik.newPhoto({"id":1532740,"src":"leadenhalst_thumb.jpg","galleries_id":40956,"server_id":1,"link":"photo_1532740.html","width":91,"caption":"Leadenhall street","height":130});
															thumbnails[1532743] = clik.newPhoto({"id":1532743,"src":"fountaintbridge_thumb.jpg","galleries_id":40956,"server_id":1,"link":"photo_1532743.html","width":87,"caption":"St Katherines Dock","height":130});
															thumbnails[1612571] = clik.newPhoto({"id":1612571,"src":"janelay_thumb.jpg","galleries_id":40932,"server_id":1,"link":"photo_1612571.html","width":90,"caption":"","height":130});
															thumbnails[1866613] = clik.newPhoto({"id":1866613,"src":"langaurdsundown6001_thumb.jpg","galleries_id":40951,"server_id":1,"link":"photo_1866613.html","width":130,"caption":"Langaurd Point Felixtowe","height":84});
															thumbnails[1866619] = clik.newPhoto({"id":1866619,"src":"stoursunrisehdr600_thumb.jpg","galleries_id":40947,"server_id":1,"link":"photo_1866619.html","width":130,"caption":"Misty Sunrise on the River Stour","height":90});
															thumbnails[2240504] = clik.newPhoto({"id":2240504,"src":"mehonisterpass_thumb.jpg","galleries_id":40971,"server_id":1,"link":"photo_2240504.html","width":130,"caption":"Me at Honister Pass","height":90});
															thumbnails[2240507] = clik.newPhoto({"id":2240507,"src":"poboxlangdales_thumb.jpg","galleries_id":40971,"server_id":1,"link":"photo_2240507.html","width":130,"caption":"Post Box in the Langdales","height":90});
															thumbnails[2240509] = clik.newPhoto({"id":2240509,"src":"scalebridge_thumb.jpg","galleries_id":40971,"server_id":1,"link":"photo_2240509.html","width":130,"caption":"Scale Bridge Buttermere","height":90});
															thumbnails[2240519] = clik.newPhoto({"id":2240519,"src":"spraywindermere_thumb.jpg","galleries_id":40971,"server_id":1,"link":"photo_2240519.html","width":90,"caption":"Hire Rowing boat at Windermere","height":130});
															thumbnails[2240522] = clik.newPhoto({"id":2240522,"src":"ullswaterboat_thumb.jpg","galleries_id":40971,"server_id":1,"link":"photo_2240522.html","width":130,"caption":"Ullswater","height":90});
															thumbnails[2363955] = clik.newPhoto({"id":2363955,"src":"karlmantra_thumb.jpg","galleries_id":40932,"server_id":1,"link":"photo_2363955.html","width":90,"caption":"","height":130});
															thumbnails[2655949] = clik.newPhoto({"id":2655949,"src":"bleatarn1_thumb.jpg","galleries_id":40971,"server_id":1,"link":"photo_2655949.html","width":90,"caption":"Blea Tarn","height":130});
															thumbnails[2732772] = clik.newPhoto({"id":2732772,"src":"beaconoflight_thumb.jpg","galleries_id":40951,"server_id":1,"link":"photo_2732772.html","width":130,"caption":"Portland Bill","height":91});
															thumbnails[2868273] = clik.newPhoto({"id":2868273,"src":"saltwckshipwreck_thumb.jpg","galleries_id":40951,"server_id":1,"link":"photo_2868273.html","width":130,"caption":"Saltwick Bay","height":89});
															thumbnails[2868292] = clik.newPhoto({"id":2868292,"src":"whitbysunrise_thumb.jpg","galleries_id":40951,"server_id":1,"link":"photo_2868292.html","width":130,"caption":"Whitby Sunrise","height":88});
															thumbnails[2940662] = clik.newPhoto({"id":2940662,"src":"saltwicksea1_thumb.jpg","galleries_id":40951,"server_id":1,"link":"photo_2940662.html","width":130,"caption":"Saltwick Bay","height":90});
															thumbnails[2951630] = clik.newPhoto({"id":2951630,"src":"jamie_thumb.jpg","galleries_id":40932,"server_id":1,"link":"photo_2951630.html","width":130,"caption":"","height":87});
															thumbnails[3081441] = clik.newPhoto({"id":3081441,"src":"kimbirds_thumb.jpg","galleries_id":40951,"server_id":1,"link":"photo_3081441.html","width":89,"caption":"Kimmeridge Bay","height":130});
															thumbnails[3081443] = clik.newPhoto({"id":3081443,"src":"saltwickblues_thumb.jpg","galleries_id":40951,"server_id":1,"link":"photo_3081443.html","width":130,"caption":"Saltwick Bay","height":90});
															thumbnails[3081446] = clik.newPhoto({"id":3081446,"src":"saltsunrise_thumb.jpg","galleries_id":40951,"server_id":1,"link":"photo_3081446.html","width":130,"caption":"Black Nab Saltwick Bay","height":90});
															thumbnails[3081451] = clik.newPhoto({"id":3081451,"src":"kimstorm_thumb.jpg","galleries_id":40951,"server_id":1,"link":"photo_3081451.html","width":90,"caption":"Kimmeridge Bay","height":130});
															thumbnails[3081453] = clik.newPhoto({"id":3081453,"src":"staithes_thumb.jpg","galleries_id":40951,"server_id":1,"link":"photo_3081453.html","width":86,"caption":"Staithes","height":130});
															thumbnails[3081461] = clik.newPhoto({"id":3081461,"src":"whitbypuddlerise_thumb.jpg","galleries_id":40951,"server_id":1,"link":"photo_3081461.html","width":89,"caption":"Whitby Pier Sunrise","height":130});
															thumbnails[3081475] = clik.newPhoto({"id":3081475,"src":"dcourtdawn_thumb.jpg","galleries_id":40951,"server_id":1,"link":"photo_3081475.html","width":130,"caption":"Dovercourt Dawn","height":87});
															thumbnails[3081630] = clik.newPhoto({"id":3081630,"src":"ammoniteview1_thumb.jpg","galleries_id":40951,"server_id":1,"link":"photo_3081630.html","width":90,"caption":"Kimmeridge bay","height":130});
															thumbnails[3081657] = clik.newPhoto({"id":3081657,"src":"saltwckgeology_thumb.jpg","galleries_id":40951,"server_id":1,"link":"photo_3081657.html","width":91,"caption":"Saltwick Bay","height":130});
															thumbnails[3087850] = clik.newPhoto({"id":3087850,"src":"cityhall_thumb.jpg","galleries_id":40956,"server_id":1,"link":"photo_3087850.html","width":130,"caption":"London City Hall","height":81});
															thumbnails[3131539] = clik.newPhoto({"id":3131539,"src":"southbank_thumb.jpg","galleries_id":40956,"server_id":1,"link":"photo_3131539.html","width":130,"caption":"London city hall","height":89});
															thumbnails[3131658] = clik.newPhoto({"id":3131658,"src":"autumncityvig_thumb.jpg","galleries_id":40956,"server_id":1,"link":"photo_3131658.html","width":90,"caption":"St Pauls Reflected ","height":130});
															thumbnails[3148581] = clik.newPhoto({"id":3148581,"src":"eviehikeycolvig_thumb.jpg","galleries_id":40932,"server_id":1,"link":"photo_3148581.html","width":89,"caption":"","height":130});
															thumbnails[3264062] = clik.newPhoto({"id":3264062,"src":"199steps_thumb.jpg","galleries_id":40951,"server_id":1,"link":"photo_3264062.html","width":96,"caption":"Whitby`s 199 Steps","height":130});
															thumbnails[3264432] = clik.newPhoto({"id":3264432,"src":"bigbengate_thumb.jpg","galleries_id":40956,"server_id":1,"link":"photo_3264432.html","width":87,"caption":"Big Ben","height":130});
															thumbnails[3264438] = clik.newPhoto({"id":3264438,"src":"camelbuickinterior_thumb.jpg","galleries_id":199107,"server_id":1,"link":"photo_3264438.html","width":90,"caption":"Buick interior","height":130});
															thumbnails[3264439] = clik.newPhoto({"id":3264439,"src":"enfieldgoggs_thumb.jpg","galleries_id":199107,"server_id":1,"link":"photo_3264439.html","width":90,"caption":"Royal Enfield Bullet","height":130});
															thumbnails[3264441] = clik.newPhoto({"id":3264441,"src":"freedom_thumb.jpg","galleries_id":199107,"server_id":1,"link":"photo_3264441.html","width":130,"caption":"Custom Harley Davidson","height":90});
															thumbnails[3264445] = clik.newPhoto({"id":3264445,"src":"hotrodheaven_thumb.jpg","galleries_id":199107,"server_id":1,"link":"photo_3264445.html","width":90,"caption":"1932 Ford Hotrod","height":130});
															thumbnails[3264448] = clik.newPhoto({"id":3264448,"src":"rodinterior_thumb.jpg","galleries_id":199107,"server_id":1,"link":"photo_3264448.html","width":90,"caption":"Hot Rod interior","height":130});
															thumbnails[3264459] = clik.newPhoto({"id":3264459,"src":"silverod_thumb.jpg","galleries_id":199107,"server_id":1,"link":"photo_3264459.html","width":93,"caption":"Ford Hotrod","height":130});
															thumbnails[3264468] = clik.newPhoto({"id":3264468,"src":"yellatruck_thumb.jpg","galleries_id":199107,"server_id":1,"link":"photo_3264468.html","width":94,"caption":"Truck Reflection","height":130});
															thumbnails[3264470] = clik.newPhoto({"id":3264470,"src":"yellastude_thumb.jpg","galleries_id":199107,"server_id":1,"link":"photo_3264470.html","width":130,"caption":"Studebaker Taxi","height":90});
															thumbnails[3268638] = clik.newPhoto({"id":3268638,"src":"wierpoolbridgebirds_thumb.jpg","galleries_id":40947,"server_id":1,"link":"photo_3268638.html","width":89,"caption":"Sudbury Meadows","height":130});
															thumbnails[3268639] = clik.newPhoto({"id":3268639,"src":"frostfencetree_thumb.jpg","galleries_id":40947,"server_id":1,"link":"photo_3268639.html","width":90,"caption":"Sudbury Meadows","height":130});
															thumbnails[3274197] = clik.newPhoto({"id":3274197,"src":"mistymorn_thumb.jpg","galleries_id":40947,"server_id":1,"link":"photo_3274197.html","width":95,"caption":"Friars Meadow Sudbury","height":130});
															thumbnails[3455340] = clik.newPhoto({"id":3455340,"src":"friarsswans_thumb.jpg","galleries_id":40947,"server_id":1,"link":"photo_3455340.html","width":130,"caption":"Swans at Sunrise","height":94});
															thumbnails[3455344] = clik.newPhoto({"id":3455344,"src":"brundon_thumb.jpg","galleries_id":40947,"server_id":1,"link":"photo_3455344.html","width":130,"caption":"Brundon towards sudbury","height":90});
															thumbnails[3527121] = clik.newPhoto({"id":3527121,"src":"356back_thumb.jpg","galleries_id":199107,"server_id":1,"link":"photo_3527121.html","width":130,"caption":"Porsche 356s","height":90});
															thumbnails[3812809] = clik.newPhoto({"id":3812809,"src":"bmwr51_thumb.jpg","galleries_id":199107,"server_id":1,"link":"photo_3812809.html","width":87,"caption":"1952 BMW R51\/3","height":130});
															thumbnails[3812822] = clik.newPhoto({"id":3812822,"src":"weirpoolmillcotts_thumb.jpg","galleries_id":40947,"server_id":1,"link":"photo_3812822.html","width":130,"caption":"Sudbury Meadows Weirpool","height":89});
															thumbnails[3850889] = clik.newPhoto({"id":3850889,"src":"oldbathplace_thumb.jpg","galleries_id":40947,"server_id":1,"link":"photo_3850889.html","width":130,"caption":"The Old Bathing Place","height":90});
															thumbnails[4042939] = clik.newPhoto({"id":4042939,"src":"brancaster_thumb.jpg","galleries_id":40951,"server_id":1,"link":"photo_4042939.html","width":90,"caption":"Brancaster Staithe","height":130});
															thumbnails[4043235] = clik.newPhoto({"id":4043235,"src":"beachhut_thumb.jpg","galleries_id":40951,"server_id":1,"link":"photo_4043235.html","width":130,"caption":"Wells next the sea","height":83});
															thumbnails[4043250] = clik.newPhoto({"id":4043250,"src":"brancasterrowboat_thumb.jpg","galleries_id":40951,"server_id":1,"link":"photo_4043250.html","width":90,"caption":"Brancaster Staithe","height":130});
															thumbnails[4304897] = clik.newPhoto({"id":4304897,"src":"fireskybrds_thumb.jpg","galleries_id":40947,"server_id":1,"link":"photo_4304897.html","width":130,"caption":"Sudbury meadows","height":87});
															thumbnails[4304909] = clik.newPhoto({"id":4304909,"src":"churchtreesballing_thumb.jpg","galleries_id":40947,"server_id":1,"link":"photo_4304909.html","width":130,"caption":"Sudbury meadows nr ballingdon Bridge","height":83});
															thumbnails[4454316] = clik.newPhoto({"id":4454316,"src":"rory_thumb.jpg","galleries_id":40932,"server_id":1,"link":"photo_4454316.html","width":100,"caption":"","height":130});
															thumbnails[4454329] = clik.newPhoto({"id":4454329,"src":"scaleberforce_thumb.jpg","galleries_id":260367,"server_id":1,"link":"photo_4454329.html","width":90,"caption":"Scaleber Force","height":130});
															thumbnails[4454336] = clik.newPhoto({"id":4454336,"src":"whitescar_thumb.jpg","galleries_id":260367,"server_id":1,"link":"photo_4454336.html","width":130,"caption":"White Scar","height":89});
															thumbnails[4454346] = clik.newPhoto({"id":4454346,"src":"windinthedales_thumb.jpg","galleries_id":260367,"server_id":1,"link":"photo_4454346.html","width":130,"caption":"Twistleton Scar","height":89});
															thumbnails[4575986] = clik.newPhoto({"id":4575986,"src":"bugattiblues_thumb.jpg","galleries_id":199107,"server_id":1,"link":"photo_4575986.html","width":94,"caption":"Bugatti","height":130});
															thumbnails[4857697] = clik.newPhoto({"id":4857697,"src":"surrealsunrise_thumb.jpg","galleries_id":40951,"server_id":1,"link":"photo_4857697.html","width":93,"caption":"Mersea Island","height":130});
															thumbnails[4867047] = clik.newPhoto({"id":4867047,"src":"whitbycrestcreels_thumb.jpg","galleries_id":40951,"server_id":1,"link":"photo_4867047.html","width":130,"caption":"Brancaster Staithe","height":90});
															thumbnails[4889993] = clik.newPhoto({"id":4889993,"src":"weirpoolswans_thumb.jpg","galleries_id":40947,"server_id":1,"link":"photo_4889993.html","width":90,"caption":"The Weir Pool<br>\r\nSudbury Meadows","height":130});
															thumbnails[4890023] = clik.newPhoto({"id":4890023,"src":"weirpoolbridgechurch_thumb.jpg","galleries_id":40947,"server_id":1,"link":"photo_4890023.html","width":130,"caption":"The Weir Pool <br>\r\n","height":90});
															thumbnails[4897966] = clik.newPhoto({"id":4897966,"src":"homewardbound1_thumb.jpg","galleries_id":40947,"server_id":1,"link":"photo_4897966.html","width":130,"caption":"Sunset on the Stour","height":87});
															thumbnails[5438694] = clik.newPhoto({"id":5438694,"src":"frozensuffok_thumb.jpg","galleries_id":40947,"server_id":1,"link":"photo_5438694.html","width":130,"caption":"Frozen Stour","height":88});
															thumbnails[5438706] = clik.newPhoto({"id":5438706,"src":"frozensuffokport_thumb.jpg","galleries_id":40947,"server_id":1,"link":"photo_5438706.html","width":90,"caption":"Frozen Stour","height":130});
															thumbnails[5438733] = clik.newPhoto({"id":5438733,"src":"treechurchsunrise_thumb.jpg","galleries_id":40947,"server_id":1,"link":"photo_5438733.html","width":89,"caption":"November sunrise","height":130});
															thumbnails[5438775] = clik.newPhoto({"id":5438775,"src":"samonjump_thumb.jpg","galleries_id":40947,"server_id":1,"link":"photo_5438775.html","width":130,"caption":"Sunrise at the salmon leap","height":93});
															thumbnails[5438818] = clik.newPhoto({"id":5438818,"src":"treeline_thumb.jpg","galleries_id":40947,"server_id":1,"link":"photo_5438818.html","width":90,"caption":"Trees in Morning mist","height":130});
															thumbnails[5438880] = clik.newPhoto({"id":5438880,"src":"jokielwedd_thumb.jpg","galleries_id":40953,"server_id":1,"link":"photo_5438880.html","width":96,"caption":"","height":130});
															thumbnails[5438882] = clik.newPhoto({"id":5438882,"src":"eviebmaid_thumb.jpg","galleries_id":40953,"server_id":1,"link":"photo_5438882.html","width":90,"caption":"","height":130});
															thumbnails[5438883] = clik.newPhoto({"id":5438883,"src":"eviehands1_thumb.jpg","galleries_id":40932,"server_id":1,"link":"photo_5438883.html","width":95,"caption":"","height":130});
															thumbnails[5438896] = clik.newPhoto({"id":5438896,"src":"desertgirl1_thumb.jpg","galleries_id":40932,"server_id":1,"link":"photo_5438896.html","width":130,"caption":"","height":86});
															thumbnails[5438924] = clik.newPhoto({"id":5438924,"src":"dovercorutsunrise_thumb.jpg","galleries_id":40951,"server_id":1,"link":"photo_5438924.html","width":89,"caption":"Dovercourt Sunrise","height":130});
															thumbnails[5438971] = clik.newPhoto({"id":5438971,"src":"jokielwedburycath_thumb.jpg","galleries_id":40953,"server_id":1,"link":"photo_5438971.html","width":90,"caption":"","height":130});
															thumbnails[5438997] = clik.newPhoto({"id":5438997,"src":"newton_thumb.jpg","galleries_id":189229,"server_id":1,"link":"photo_5438997.html","width":130,"caption":"Newton Church","height":94});
															thumbnails[5439002] = clik.newPhoto({"id":5439002,"src":"lavchurchsnow_thumb.jpg","galleries_id":189229,"server_id":1,"link":"photo_5439002.html","width":130,"caption":"Lavenham Church","height":89});
															thumbnails[5439008] = clik.newPhoto({"id":5439008,"src":"lavchurchsnow21_thumb.jpg","galleries_id":189229,"server_id":1,"link":"photo_5439008.html","width":130,"caption":"Lavenham Church","height":90});
															thumbnails[5439018] = clik.newPhoto({"id":5439018,"src":"gtwaldchurchbeams_thumb.jpg","galleries_id":189229,"server_id":1,"link":"photo_5439018.html","width":89,"caption":"Gt Waldingfield Church","height":130});
															thumbnails[5439027] = clik.newPhoto({"id":5439027,"src":"ladychapellight_thumb.jpg","galleries_id":189229,"server_id":1,"link":"photo_5439027.html","width":88,"caption":"Lady chapel Lavenham ","height":130});
															thumbnails[5439039] = clik.newPhoto({"id":5439039,"src":"standrews_thumb.jpg","galleries_id":189229,"server_id":1,"link":"photo_5439039.html","width":130,"caption":"Gt Cornard","height":90});
															thumbnails[5439075] = clik.newPhoto({"id":5439075,"src":"flamed_thumb.jpg","galleries_id":199107,"server_id":1,"link":"photo_5439075.html","width":130,"caption":"49 Chevy","height":90});
															thumbnails[5451880] = clik.newPhoto({"id":5451880,"src":"eveninglight_thumb.jpg","galleries_id":40947,"server_id":1,"link":"photo_5451880.html","width":130,"caption":"Evening light at the old bathing place","height":90});
															thumbnails[5603551] = clik.newPhoto({"id":5603551,"src":"halfpennypier_thumb.jpg","galleries_id":40951,"server_id":1,"link":"photo_5603551.html","width":90,"caption":"Halfpenny Pier Harwich","height":130});
															thumbnails[5603821] = clik.newPhoto({"id":5603821,"src":"sentinel_thumb.jpg","galleries_id":40951,"server_id":1,"link":"photo_5603821.html","width":90,"caption":"Dovercourt Lower Light","height":130});
															thumbnails[5604042] = clik.newPhoto({"id":5604042,"src":"limelight_thumb.jpg","galleries_id":260367,"server_id":1,"link":"photo_5604042.html","width":90,"caption":"Ingleton","height":130});
															thumbnails[6490481] = clik.newPhoto({"id":6490481,"src":"walkingintheclouds_thumb.jpg","galleries_id":357487,"server_id":1,"link":"photo_6490481.html","width":130,"caption":"Curbar Edge","height":89});
															thumbnails[6490486] = clik.newPhoto({"id":6490486,"src":"Padleygorge_thumb.jpg","galleries_id":357487,"server_id":1,"link":"photo_6490486.html","width":90,"caption":"Padley Gorge","height":130});
															thumbnails[6490495] = clik.newPhoto({"id":6490495,"src":"stanagemill_thumb.jpg","galleries_id":357487,"server_id":1,"link":"photo_6490495.html","width":89,"caption":"Stanage Mill Stones","height":130});
															thumbnails[6490515] = clik.newPhoto({"id":6490515,"src":"swancruise_thumb.jpg","galleries_id":40947,"server_id":1,"link":"photo_6490515.html","width":130,"caption":"Misty May Dawn","height":90});
															thumbnails[6490523] = clik.newPhoto({"id":6490523,"src":"moosinthemist_thumb.jpg","galleries_id":40947,"server_id":1,"link":"photo_6490523.html","width":130,"caption":"Cattle at Sunrise ","height":90});
															thumbnails[6490540] = clik.newPhoto({"id":6490540,"src":"rhossili_thumb.jpg","galleries_id":40951,"server_id":1,"link":"photo_6490540.html","width":130,"caption":"Rhossili ","height":90});
															thumbnails[6490545] = clik.newPhoto({"id":6490545,"src":"starfish_thumb.jpg","galleries_id":40951,"server_id":1,"link":"photo_6490545.html","width":86,"caption":"Starfish","height":130});
															thumbnails[6490551] = clik.newPhoto({"id":6490551,"src":"spaniardscove_thumb.jpg","galleries_id":40951,"server_id":1,"link":"photo_6490551.html","width":130,"caption":"Spaniards Cove","height":90});
															thumbnails[6490555] = clik.newPhoto({"id":6490555,"src":"swirlwormshead_thumb.jpg","galleries_id":40951,"server_id":1,"link":"photo_6490555.html","width":86,"caption":"Swirl","height":130});
															thumbnails[6490560] = clik.newPhoto({"id":6490560,"src":"llangennith_thumb.jpg","galleries_id":40951,"server_id":1,"link":"photo_6490560.html","width":90,"caption":"LLangennith","height":130});
															thumbnails[6490634] = clik.newPhoto({"id":6490634,"src":"bakewellriverview_thumb.jpg","galleries_id":357487,"server_id":1,"link":"photo_6490634.html","width":90,"caption":"Bakewell ","height":130});
															thumbnails[6490640] = clik.newPhoto({"id":6490640,"src":"curbarmillstone_thumb.jpg","galleries_id":357487,"server_id":1,"link":"photo_6490640.html","width":130,"caption":"Curbar Millstones","height":90});
															thumbnails[6490651] = clik.newPhoto({"id":6490651,"src":"curbarclimber_thumb.jpg","galleries_id":357487,"server_id":1,"link":"photo_6490651.html","width":130,"caption":"Reaching the Pinnacle","height":90});
															thumbnails[6490658] = clik.newPhoto({"id":6490658,"src":"curbarclearview_thumb.jpg","galleries_id":357487,"server_id":1,"link":"photo_6490658.html","width":130,"caption":"Curbar View","height":87});
															thumbnails[6490762] = clik.newPhoto({"id":6490762,"src":"millmoos_thumb.jpg","galleries_id":40947,"server_id":1,"link":"photo_6490762.html","width":130,"caption":"The mill Hotel","height":90});
															thumbnails[6664138] = clik.newPhoto({"id":6664138,"src":"samonjumpswansurise_thumb.jpg","galleries_id":40947,"server_id":1,"link":"photo_6664138.html","width":130,"caption":"Dawn at the salmon leap","height":89});
															thumbnails[6758295] = clik.newPhoto({"id":6758295,"src":"shipsandshells_thumb.jpg","galleries_id":40951,"server_id":1,"link":"photo_6758295.html","width":90,"caption":"Ships and Shells","height":130});
															thumbnails[6843564] = clik.newPhoto({"id":6843564,"src":"aaftog_thumb.jpg","galleries_id":371604,"server_id":1,"link":"photo_6843564.html","width":90,"caption":"","height":130});
															thumbnails[6843565] = clik.newPhoto({"id":6843565,"src":"b17crew_thumb.jpg","galleries_id":371604,"server_id":1,"link":"photo_6843565.html","width":130,"caption":"","height":89});
															thumbnails[6843600] = clik.newPhoto({"id":6843600,"src":"b17salb_thumb.jpg","galleries_id":371604,"server_id":1,"link":"photo_6843600.html","width":130,"caption":"","height":89});
															thumbnails[6843712] = clik.newPhoto({"id":6843712,"src":"b17doc1_thumb.jpg","galleries_id":371604,"server_id":1,"link":"photo_6843712.html","width":87,"caption":"","height":130});
															thumbnails[6843762] = clik.newPhoto({"id":6843762,"src":"bobspithurri1_thumb.jpg","galleries_id":371604,"server_id":1,"link":"photo_6843762.html","width":130,"caption":"","height":90});
															thumbnails[6843767] = clik.newPhoto({"id":6843767,"src":"dispersalraf1940_thumb.jpg","galleries_id":371604,"server_id":1,"link":"photo_6843767.html","width":130,"caption":"","height":86});
															thumbnails[6843771] = clik.newPhoto({"id":6843771,"src":"halftrackp511_thumb.jpg","galleries_id":371604,"server_id":1,"link":"photo_6843771.html","width":130,"caption":"","height":90});
															thumbnails[6843776] = clik.newPhoto({"id":6843776,"src":"harleydispach1_thumb.jpg","galleries_id":371604,"server_id":1,"link":"photo_6843776.html","width":130,"caption":"","height":90});
															thumbnails[6843781] = clik.newPhoto({"id":6843781,"src":"harleymp1_thumb.jpg","galleries_id":371604,"server_id":1,"link":"photo_6843781.html","width":89,"caption":"","height":130});
															thumbnails[6843787] = clik.newPhoto({"id":6843787,"src":"jeepsmoke1_thumb.jpg","galleries_id":371604,"server_id":1,"link":"photo_6843787.html","width":130,"caption":"","height":90});
															thumbnails[6843790] = clik.newPhoto({"id":6843790,"src":"libelle1_thumb.jpg","galleries_id":371604,"server_id":1,"link":"photo_6843790.html","width":91,"caption":"","height":130});
															thumbnails[6843792] = clik.newPhoto({"id":6843792,"src":"mpp511_thumb.jpg","galleries_id":371604,"server_id":1,"link":"photo_6843792.html","width":130,"caption":"","height":89});
															thumbnails[6843796] = clik.newPhoto({"id":6843796,"src":"rafpilotchat1_thumb.jpg","galleries_id":371604,"server_id":1,"link":"photo_6843796.html","width":130,"caption":"","height":90});
															thumbnails[6843801] = clik.newPhoto({"id":6843801,"src":"pitchercarrie1_thumb.jpg","galleries_id":371604,"server_id":1,"link":"photo_6843801.html","width":130,"caption":"","height":78});
															thumbnails[6843804] = clik.newPhoto({"id":6843804,"src":"sarahjeep1_thumb.jpg","galleries_id":371604,"server_id":1,"link":"photo_6843804.html","width":106,"caption":"","height":130});
															thumbnails[6843850] = clik.newPhoto({"id":6843850,"src":"smokejeep1_thumb.jpg","galleries_id":371604,"server_id":1,"link":"photo_6843850.html","width":130,"caption":"","height":90});
															thumbnails[6843862] = clik.newPhoto({"id":6843862,"src":"timemag1_thumb.jpg","galleries_id":371604,"server_id":1,"link":"photo_6843862.html","width":89,"caption":"","height":130});
															thumbnails[6843865] = clik.newPhoto({"id":6843865,"src":"tugcrew1_thumb.jpg","galleries_id":371604,"server_id":1,"link":"photo_6843865.html","width":130,"caption":"","height":87});
															thumbnails[6843936] = clik.newPhoto({"id":6843936,"src":"waafs1_thumb.jpg","galleries_id":371604,"server_id":1,"link":"photo_6843936.html","width":130,"caption":"","height":95});
															thumbnails[6843938] = clik.newPhoto({"id":6843938,"src":"yankshdr1_thumb.jpg","galleries_id":371604,"server_id":1,"link":"photo_6843938.html","width":130,"caption":"","height":92});
															thumbnails[6844017] = clik.newPhoto({"id":6844017,"src":"rafaafchat_thumb.jpg","galleries_id":371604,"server_id":1,"link":"photo_6844017.html","width":130,"caption":"","height":89});
															thumbnails[6844021] = clik.newPhoto({"id":6844021,"src":"libelleb17_thumb.jpg","galleries_id":371604,"server_id":1,"link":"photo_6844021.html","width":130,"caption":"","height":89});
															thumbnails[6844025] = clik.newPhoto({"id":6844025,"src":"libbelle_thumb.jpg","galleries_id":371604,"server_id":1,"link":"photo_6844025.html","width":130,"caption":"","height":89});
															thumbnails[6844031] = clik.newPhoto({"id":6844031,"src":"IMG_4614bw_thumb.jpg","galleries_id":371604,"server_id":1,"link":"photo_6844031.html","width":130,"caption":"","height":89});
															thumbnails[6876921] = clik.newPhoto({"id":6876921,"src":"ffrankipilot_thumb.jpg","galleries_id":371604,"server_id":1,"link":"photo_6876921.html","width":90,"caption":"","height":130});
															thumbnails[6891053] = clik.newPhoto({"id":6891053,"src":"p51mappilot_thumb.jpg","galleries_id":371604,"server_id":1,"link":"photo_6891053.html","width":130,"caption":"","height":90});
															thumbnails[6891055] = clik.newPhoto({"id":6891055,"src":"pappylee_thumb.jpg","galleries_id":371604,"server_id":1,"link":"photo_6891055.html","width":130,"caption":"","height":90});
															thumbnails[6891058] = clik.newPhoto({"id":6891058,"src":"b17chat_thumb.jpg","galleries_id":371604,"server_id":1,"link":"photo_6891058.html","width":130,"caption":"","height":90});
															thumbnails[6891084] = clik.newPhoto({"id":6891084,"src":"crewsmiles_thumb.jpg","galleries_id":371604,"server_id":1,"link":"photo_6891084.html","width":130,"caption":"","height":90});
															thumbnails[6891088] = clik.newPhoto({"id":6891088,"src":"crewchatport_thumb.jpg","galleries_id":371604,"server_id":1,"link":"photo_6891088.html","width":90,"caption":"","height":130});
															thumbnails[6891092] = clik.newPhoto({"id":6891092,"src":"maskgoggles_thumb.jpg","galleries_id":371604,"server_id":1,"link":"photo_6891092.html","width":93,"caption":"","height":130});
															thumbnails[6891099] = clik.newPhoto({"id":6891099,"src":"threecrew_thumb.jpg","galleries_id":371604,"server_id":1,"link":"photo_6891099.html","width":130,"caption":"","height":87});
															thumbnails[6907154] = clik.newPhoto({"id":6907154,"src":"dalestree_thumb.jpg","galleries_id":260367,"server_id":1,"link":"photo_6907154.html","width":130,"caption":"Twistleton Scar","height":90});
															thumbnails[7783507] = clik.newPhoto({"id":7783507,"src":"brownietime_thumb.jpg","galleries_id":420492,"server_id":1,"link":"photo_7783507.html","width":90,"caption":"Brownie Time","height":130});
															thumbnails[7783521] = clik.newPhoto({"id":7783521,"src":"familycollage_thumb.jpg","galleries_id":420492,"server_id":1,"link":"photo_7783521.html","width":130,"caption":"Moments in Time","height":90});
															thumbnails[7783529] = clik.newPhoto({"id":7783529,"src":"timeisthekey_thumb.jpg","galleries_id":420492,"server_id":1,"link":"photo_7783529.html","width":130,"caption":"Time is the key","height":90});
															thumbnails[7783542] = clik.newPhoto({"id":7783542,"src":"loveringshadow_thumb.jpg","galleries_id":420492,"server_id":1,"link":"photo_7783542.html","width":130,"caption":"Love","height":90});
															thumbnails[7783558] = clik.newPhoto({"id":7783558,"src":"fullingpitdawn_thumb.jpg","galleries_id":40947,"server_id":1,"link":"photo_7783558.html","width":130,"caption":"Fullingpit meadow dawn","height":89});
															thumbnails[7783566] = clik.newPhoto({"id":7783566,"src":"fullingpitweiirswan_thumb.jpg","galleries_id":40947,"server_id":1,"link":"photo_7783566.html","width":130,"caption":"Fullingpit weir sunrise","height":90});
															thumbnails[7783799] = clik.newPhoto({"id":7783799,"src":"calalilly_thumb.jpg","galleries_id":420509,"server_id":1,"link":"photo_7783799.html","width":100,"caption":"Cala Lilly","height":130});
															thumbnails[7783805] = clik.newPhoto({"id":7783805,"src":"gerbera_thumb.jpg","galleries_id":420509,"server_id":1,"link":"photo_7783805.html","width":130,"caption":"Gerbera","height":100});
															thumbnails[7783811] = clik.newPhoto({"id":7783811,"src":"gerberapair_thumb.jpg","galleries_id":420509,"server_id":1,"link":"photo_7783811.html","width":130,"caption":"Gerbera pair","height":76});
															thumbnails[7783815] = clik.newPhoto({"id":7783815,"src":"orangeonblack_thumb.jpg","galleries_id":420509,"server_id":1,"link":"photo_7783815.html","width":100,"caption":"","height":130});
															thumbnails[7783823] = clik.newPhoto({"id":7783823,"src":"poppy_thumb.jpg","galleries_id":420509,"server_id":1,"link":"photo_7783823.html","width":100,"caption":"","height":130});
															thumbnails[7783906] = clik.newPhoto({"id":7783906,"src":"restlessdawn_thumb.jpg","galleries_id":40951,"server_id":1,"link":"photo_7783906.html","width":130,"caption":"Southwold","height":90});
															thumbnails[7783920] = clik.newPhoto({"id":7783920,"src":"nazedawn_thumb.jpg","galleries_id":40951,"server_id":1,"link":"photo_7783920.html","width":90,"caption":"The Naze","height":130});
															thumbnails[7789591] = clik.newPhoto({"id":7789591,"src":"radiodays_thumb.jpg","galleries_id":420492,"server_id":1,"link":"photo_7789591.html","width":130,"caption":"Radio Days","height":91});
															thumbnails[7819883] = clik.newPhoto({"id":7819883,"src":"goodnightsweetheart1_thumb.jpg","galleries_id":420492,"server_id":1,"link":"photo_7819883.html","width":100,"caption":"Goodnight Sweetheart","height":130});
															thumbnails[7819888] = clik.newPhoto({"id":7819888,"src":"thosewerethedays_thumb.jpg","galleries_id":420492,"server_id":1,"link":"photo_7819888.html","width":130,"caption":"Those were the days","height":90});
															thumbnails[7820081] = clik.newPhoto({"id":7820081,"src":"dandymultiseed3ver2selcol_thumb.jpg","galleries_id":420509,"server_id":1,"link":"photo_7820081.html","width":130,"caption":"Wish upon the wind","height":67});
															thumbnails[7827246] = clik.newPhoto({"id":7827246,"src":"nortontank_thumb.jpg","galleries_id":422462,"server_id":1,"link":"photo_7827246.html","width":130,"caption":"Norton cafe racer","height":89});
															thumbnails[7827251] = clik.newPhoto({"id":7827251,"src":"vinbullet_thumb.jpg","galleries_id":422462,"server_id":1,"link":"photo_7827251.html","width":90,"caption":"Royal Enfield Bullet","height":130});
															thumbnails[7827254] = clik.newPhoto({"id":7827254,"src":"vinmascot_thumb.jpg","galleries_id":422462,"server_id":1,"link":"photo_7827254.html","width":92,"caption":"Buick 8 Mascot","height":130});
															thumbnails[7827256] = clik.newPhoto({"id":7827256,"src":"mk2jagmascot_thumb.jpg","galleries_id":422462,"server_id":1,"link":"photo_7827256.html","width":130,"caption":"Jaguar Mk 2 ","height":90});
															thumbnails[7827268] = clik.newPhoto({"id":7827268,"src":"wellshutzgrunge_thumb.jpg","galleries_id":422462,"server_id":1,"link":"photo_7827268.html","width":90,"caption":"wells-next-the-sea","height":130});
															thumbnails[7853162] = clik.newPhoto({"id":7853162,"src":"swanfam_thumb.jpg","galleries_id":40947,"server_id":1,"link":"photo_7853162.html","width":130,"caption":"Mute Swan family","height":90});
															thumbnails[7853205] = clik.newPhoto({"id":7853205,"src":"multicolcott_thumb.jpg","galleries_id":40947,"server_id":1,"link":"photo_7853205.html","width":130,"caption":"multi colour cottages ","height":89});
															thumbnails[8023420] = clik.newPhoto({"id":8023420,"src":"vintagepoppies_thumb.jpg","galleries_id":422462,"server_id":1,"link":"photo_8023420.html","width":90,"caption":"Vintage Dreams","height":130});
															thumbnails[8026625] = clik.newPhoto({"id":8026625,"src":"memoriesofsummertxt_thumb.jpg","galleries_id":422462,"server_id":1,"link":"photo_8026625.html","width":90,"caption":"Memories of Summer","height":130});
															thumbnails[8129687] = clik.newPhoto({"id":8129687,"src":"rafbuddies_thumb.jpg","galleries_id":371604,"server_id":1,"link":"photo_8129687.html","width":90,"caption":"","height":130});
															thumbnails[8129694] = clik.newPhoto({"id":8129694,"src":"thundrboltchat_thumb.jpg","galleries_id":371604,"server_id":1,"link":"photo_8129694.html","width":90,"caption":"","height":130});
															thumbnails[8206438] = clik.newPhoto({"id":8206438,"src":"IMG_4461editmonovig550_thumb.jpg","galleries_id":40953,"server_id":1,"link":"photo_8206438.html","width":130,"caption":"","height":107});
															thumbnails[8206444] = clik.newPhoto({"id":8206444,"src":"IMG_4596monofrm550_thumb.jpg","galleries_id":40953,"server_id":1,"link":"photo_8206444.html","width":90,"caption":"","height":130});
															thumbnails[8206456] = clik.newPhoto({"id":8206456,"src":"phipvikkiwalk550_thumb.jpg","galleries_id":40953,"server_id":1,"link":"photo_8206456.html","width":90,"caption":"","height":130});
															thumbnails[8285664] = clik.newPhoto({"id":8285664,"src":"50cal_thumb.jpg","galleries_id":371604,"server_id":1,"link":"photo_8285664.html","width":89,"caption":"","height":130});
															thumbnails[8285672] = clik.newPhoto({"id":8285672,"src":"watchinb17_thumb.jpg","galleries_id":371604,"server_id":1,"link":"photo_8285672.html","width":89,"caption":"","height":130});
															thumbnails[8285673] = clik.newPhoto({"id":8285673,"src":"grasmerefoxgloves_thumb.jpg","galleries_id":40971,"server_id":1,"link":"photo_8285673.html","width":130,"caption":"Foxgloves above Grasmere","height":90});
															thumbnails[8285678] = clik.newPhoto({"id":8285678,"src":"derwentkeswicksunset_thumb.jpg","galleries_id":40971,"server_id":1,"link":"photo_8285678.html","width":130,"caption":"Derwent Sunset","height":90});
															thumbnails[8285737] = clik.newPhoto({"id":8285737,"src":"boatsandcatbells_thumb.jpg","galleries_id":40971,"server_id":1,"link":"photo_8285737.html","width":130,"caption":"Keswick hire boats","height":89});
															thumbnails[8285741] = clik.newPhoto({"id":8285741,"src":"herecomessummer_thumb.jpg","galleries_id":422462,"server_id":1,"link":"photo_8285741.html","width":87,"caption":"","height":130});
															thumbnails[8285744] = clik.newPhoto({"id":8285744,"src":"rememberingsomeone_thumb.jpg","galleries_id":422462,"server_id":1,"link":"photo_8285744.html","width":87,"caption":"","height":130});
															thumbnails[8475051] = clik.newPhoto({"id":8475051,"src":"vikkidresss_thumb.jpg","galleries_id":40953,"server_id":1,"link":"photo_8475051.html","width":92,"caption":"","height":130});
															thumbnails[8475160] = clik.newPhoto({"id":8475160,"src":"vikkinevgate_thumb.jpg","galleries_id":40953,"server_id":1,"link":"photo_8475160.html","width":90,"caption":"","height":130});
															thumbnails[8475354] = clik.newPhoto({"id":8475354,"src":"headsinclouds_thumb.jpg","galleries_id":40953,"server_id":1,"link":"photo_8475354.html","width":130,"caption":"","height":90});
															thumbnails[8475362] = clik.newPhoto({"id":8475362,"src":"bluemustang_thumb.jpg","galleries_id":199107,"server_id":1,"link":"photo_8475362.html","width":130,"caption":"Ford Mustang","height":90});
															thumbnails[8475365] = clik.newPhoto({"id":8475365,"src":"hotrodzsepia_thumb.jpg","galleries_id":199107,"server_id":1,"link":"photo_8475365.html","width":130,"caption":"Hot Rods","height":90});
															thumbnails[8494466] = clik.newPhoto({"id":8494466,"src":"vikkinevretro_thumb.jpg","galleries_id":40953,"server_id":1,"link":"photo_8494466.html","width":130,"caption":"","height":90});
															thumbnails[8541094] = clik.newPhoto({"id":8541094,"src":"clactondawn_thumb.jpg","galleries_id":40951,"server_id":1,"link":"photo_8541094.html","width":130,"caption":"Clacton Pier","height":90});
															thumbnails[8541106] = clik.newPhoto({"id":8541106,"src":"sandripples_thumb.jpg","galleries_id":40951,"server_id":1,"link":"photo_8541106.html","width":90,"caption":"Sand Ripples","height":130});
															thumbnails[8560959] = clik.newPhoto({"id":8560959,"src":"shelflifetxt_thumb.jpg","galleries_id":420492,"server_id":1,"link":"photo_8560959.html","width":130,"caption":"Shelf Life","height":90});
															thumbnails[8711784] = clik.newPhoto({"id":8711784,"src":"swanschurchsky_thumb.jpg","galleries_id":40947,"server_id":1,"link":"photo_8711784.html","width":85,"caption":"This England","height":130});
															thumbnails[8840359] = clik.newPhoto({"id":8840359,"src":"holytrinity_C91912DE-1E4F-37DC-71601015ED93832F_thumb.jpg","galleries_id":189229,"server_id":1,"link":"photo_8840359.html","width":130,"caption":"Holy Trinity Long Melford","height":90});
															thumbnails[9083269] = clik.newPhoto({"id":9083269,"src":"westminstersunset_thumb.jpg","galleries_id":40956,"server_id":1,"link":"photo_9083269.html","width":130,"caption":"westminster sunset","height":74});
															thumbnails[3259995] = clik.newPhoto({"id":3259995,"src":"bleatarn2_thumb.jpg","galleries_id":40971,"server_id":1,"link":"photo_3259995.html","width":130,"caption":"Blea Tarn","height":90});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[199107] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Cars & Bikes","link":"gallery_199107.html","maxRecords":0.0,"photoIDs":[3264438.0,3264439.0,3264441.0,3264445.0,3264448.0,3264459.0,3264468.0,3264470.0,3527121.0,3812809.0,4575986.0,5439075.0,8475362.0,8475365.0],"skipIndex":0,"section_code":"gallery","featured_images":"8475365,8475362,5439075,4575986","id":199107,"singleSection":false});				  						galleries[189229] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Churches","link":"gallery_189229.html","maxRecords":0.0,"photoIDs":[5438997.0,5439002.0,5439008.0,5439018.0,5439027.0,5439039.0,8840359.0],"skipIndex":0,"section_code":"gallery","featured_images":"8840359,5439039,5439027,5439018,5439008,5439002,5438997","id":189229,"singleSection":false});				  						galleries[40951] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"coastal","link":"gallery_40951.html","maxRecords":0.0,"photoIDs":[561306.0,568632.0,1866613.0,2732772.0,2868273.0,2868292.0,2940662.0,3081441.0,3081443.0,3081446.0,3081451.0,3081453.0,3081461.0,3081475.0,3081630.0,3081657.0,3264062.0,4042939.0,4043235.0,4043250.0,4857697.0,4867047.0,5438924.0,5603551.0,5603821.0,6490540.0,6490545.0,6490551.0,6490555.0,6490560.0,6758295.0,7783906.0,7783920.0,8541094.0,8541106.0],"skipIndex":0,"section_code":"gallery","featured_images":"8541106,8541094,7783920,6758295,6490560,6490555,6490551,6490545,6490540,5603821,5603551,5438924,4867047,4857697,4043250,4043235,4042939,3081461,3081446,2868273,2732772","id":40951,"singleSection":false});				  						galleries[357487] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Derbyshire Peak District","link":"gallery_357487.html","maxRecords":0.0,"photoIDs":[6490481.0,6490486.0,6490495.0,6490634.0,6490640.0,6490651.0,6490658.0],"skipIndex":0,"section_code":"gallery","featured_images":"6490658,6490651,6490640,6490634,6490495,6490486,6490481","id":357487,"singleSection":false});				  						galleries[420509] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Flowers","link":"gallery_420509.html","maxRecords":0.0,"photoIDs":[7783799.0,7783805.0,7783811.0,7783815.0,7783823.0,7820081.0],"skipIndex":0,"section_code":"gallery","featured_images":"7820081,7783823,7783815,7783811,7783805,7783799","id":420509,"singleSection":false});				  						galleries[420492] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Light Painting","link":"gallery_420492.html","maxRecords":0.0,"photoIDs":[7783507.0,7783521.0,7783529.0,7783542.0,7789591.0,7819883.0,7819888.0,8560959.0],"skipIndex":0,"section_code":"gallery","featured_images":"8560959,7819888,7819883,7789591,7783542,7783521,7783507","id":420492,"singleSection":false});				  						galleries[371604] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Living History","link":"gallery_371604.html","maxRecords":0.0,"photoIDs":[6843564.0,6843565.0,6843600.0,6843712.0,6843762.0,6843767.0,6843771.0,6843776.0,6843781.0,6843787.0,6843790.0,6843792.0,6843796.0,6843801.0,6843804.0,6843850.0,6843862.0,6843865.0,6843936.0,6843938.0,6844017.0,6844021.0,6844025.0,6844031.0,6876921.0,6891053.0,6891055.0,6891058.0,6891084.0,6891088.0,6891092.0,6891099.0,8129687.0,8129694.0,8285664.0,8285672.0],"skipIndex":0,"section_code":"gallery","featured_images":"8285672,8285664,8129694,8129687,6891099,6891092,6891088,6891084,6891058,6891055,6891053,6876921,6844031,6844025,6844021,6844017,6843938,6843936,6843865,6843862,6843850,6843804,6843801,6843796,6843792,6843790,6843787,6843781,6843776,6843771,6843767,6843762,6843712,6843600,6843565,6843564","id":371604,"singleSection":false});				  						galleries[40956] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"london","link":"gallery_40956.html","maxRecords":0.0,"photoIDs":[1532660.0,1532740.0,1532743.0,3087850.0,3131539.0,3131658.0,3264432.0,9083269.0],"skipIndex":0,"section_code":"gallery","featured_images":"9083269,3131658","id":40956,"singleSection":false});				  						galleries[40947] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Sudbury Water Meadows","link":"gallery_40947.html","maxRecords":0.0,"photoIDs":[1866619.0,3268638.0,3268639.0,3274197.0,3455340.0,3455344.0,3812822.0,3850889.0,4304897.0,4304909.0,4889993.0,4890023.0,4897966.0,5438694.0,5438706.0,5438733.0,5438775.0,5438818.0,5451880.0,6490515.0,6490523.0,6490762.0,6664138.0,7783558.0,7783566.0,7853162.0,7853205.0,8711784.0],"skipIndex":0,"section_code":"gallery","featured_images":"8711784,7853205,7853162,7783566,7783558,6664138,6490762,6490523,6490515,5451880,5438818,5438733,5438706,5438694,4897966,4890023,4889993,4304909,4304897,3850889,3455340","id":40947,"singleSection":false});				  						galleries[40971] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"The Lake District","link":"gallery_40971.html","maxRecords":0.0,"photoIDs":[2240504.0,2240507.0,2240509.0,2240519.0,2240522.0,2655949.0,8285673.0,8285678.0,8285737.0,3259995.0],"skipIndex":0,"section_code":"gallery","featured_images":"8285737,8285678,8285673","id":40971,"singleSection":false});				  						galleries[422462] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Vintage","link":"gallery_422462.html","maxRecords":0.0,"photoIDs":[7827246.0,7827251.0,7827254.0,7827256.0,7827268.0,8023420.0,8026625.0,8285741.0,8285744.0],"skipIndex":0,"section_code":"gallery","featured_images":"8285744,8285741,8026625,8023420,7827256,7827254,7827251,7827246","id":422462,"singleSection":false});				  						galleries[40953] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"weddings","link":"gallery_40953.html","maxRecords":0.0,"photoIDs":[531471.0,531474.0,561230.0,561247.0,561380.0,561384.0,5438880.0,5438882.0,5438971.0,8206438.0,8206444.0,8206456.0,8475051.0,8475160.0,8475354.0,8494466.0],"skipIndex":0,"section_code":"gallery","featured_images":"8494466,8475354,8475160,8475051,8206456,8206444,8206438,5438971,5438882,5438880","id":40953,"singleSection":false});				  						galleries[260367] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Yorkshire Dales","link":"gallery_260367.html","maxRecords":0.0,"photoIDs":[4454329.0,4454336.0,4454346.0,5604042.0,6907154.0],"skipIndex":0,"section_code":"gallery","featured_images":"5604042,4454346,4454336,4454329","id":260367,"singleSection":false});				  						galleries[40932] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Portraits","link":"gallery_40932.html","maxRecords":0.0,"photoIDs":[1612571.0,2363955.0,2951630.0,3148581.0,4454316.0,5438883.0,5438896.0],"skipIndex":0,"section_code":"gallery","featured_images":"5438896,5438883,4454316","id":40932,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '9083269,8840359,8711784,8560959,8541106,8541094,8494466,8475365,8475362,8475354,8475160,8475051,8285744,8285741,8285737,8285678,8285673,8285672,8285664,8206456,8206444,8206438,8129694,8129687,8026625,8023420,7853205,7853162,7827256,7827254,7827251,7827246,7820081,7819888,7819883,7789591,7783920,7783823,7783815,7783811,7783805,7783799,7783566,7783558,7783542,7783521,6891099,6891088,6891084,6891058,6891055,6891053,6876921,6844031,6844025,6844021,6844017,6843938,6843936,6843865,6843862,6843850,6843804,6843801,6843796,6843792,6843790,6843787,6843781,6843776,6843771,6843767,6843762,6843712,6843600,6843565,6843564,6758295,6664138,6490762,6490658,6490651,6490640,6490634,6490560,6490555,6490551,6490545,6490540,6490523,6490515,6490495,6490486,6490481,5604042,5603821,5603551,5451880,5439075,5439039,5439027,5439018,5439008,5439002,5438997,5438971,5438924,5438896,5438883,5438882,5438880,5438818,5438733,5438706,4897966,4890023,4889993,4867047,4857697,4575986,4454346,4454336,4454329,4454316,4304909,4304897,4043250,4043235,4042939,3850889,3812809,3527121,3455340,3274197,3264470,3264448,3264445,3264441,3264439,3264438,3264062,3148581,3131658,3131539,3081657,3081630,3081475,3081461,3081453,3081451,3081446,3081443,3081441,2951630,2940662,2868292,2868273,2732772,2655949,2363955,2240522,2240507,2240504,1866619,1866613,1612571,1532743,1532740,1532660,3259995';
imageSets[2] = '9083269,8840359,8711784,8560959,8541106,8541094,8494466,8475365,8475362,8475354,8475160,8475051,8285744,8285741,8285737,8285678,8285673,8285672,8285664,8206456,8206444,8206438,8129694,8129687,8026625,8023420,7853205,7853162,7827256,7827254,7827251,7827246,7820081,7819888,7819883,7789591,7783920,7783823,7783815,7783811,7783805,7783799,7783566,7783558,7783542,7783521,7783507,6891099,6891092,6891088,6891084,6891058,6891055,6891053,6876921,6844031,6844025,6844021,6844017,6843938,6843936,6843865,6843862,6843850,6843804,6843801,6843796,6843792,6843790,6843787,6843781,6843776,6843771,6843767,6843762,6843712,6843600,6843565,6843564,6758295,6664138,6490762,6490658,6490651,6490640,6490634,6490560,6490555,6490551,6490545,6490540,6490523,6490515,6490495,6490486,6490481,5604042,5603821,5603551,5451880,5439075,5439039,5439027,5439018,5439008,5439002,5438997,5438971,5438924,5438896,5438883,5438882,5438880,5438818,5438733,5438706,5438694,4897966,4890023,4889993,4867047,4857697,4575986,4454346,4454336,4454329,4454316,4304909,4304897,4043250,4043235,4042939,3850889,3455340,3131658,3081461,3081446,2868273,2732772';
imageSets[3] = '6891092,5439075,5439039,5439027,5439018,5439008,5439002,5438997,5438971,5438924,5438896,5438883,5438882,5438880,5438818,5438775,5438733,5438706,5438694,4897966,4867047,4857697,4575986,4454336,4454329,4454316,4304909,4304897,4043250';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/antonyburch/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/antonyburch/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/antonyburch/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/antonyburch/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/antonyburch/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/antonyburch/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/antonyburch/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/antonyburch/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/antonyburch/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/antonyburch/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/antonyburch/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/antonyburch/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/antonyburch/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/antonyburch/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/antonyburch/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/antonyburch/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/antonyburch/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/antonyburch/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/antonyburch/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/antonyburch/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/antonyburch/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/antonyburch/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/antonyburch/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/antonyburch/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/antonyburch/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/antonyburch/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/antonyburch/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 = 'ANTONY BURCH PHOTOGRAPHY: ' + photoCaption;
			    }
        if (op.$detail.length > 0) {
      	temp = op.nextPhoto.fnGetImageDetails();
	    op.$detail.fadeGalleryDetails(temp, op.speed, function(){
			if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
				toggleAddToCartConfirm(backgrounds, op.$detail);
			} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
				toggleAddToCartConfirm(photos, op.$detail);
			}
			$('body').trigger('clikUpdate.popup');
	    });
    }
        $(op.$detailContainer).find('.replaceable[class*=replaceable_photo-]').each(function(){
    	var field = clik.getPrefixedClass(this.className, 'replaceable_photo-');
    	if (field in op.nextPhoto) {
    		$(this).fadeGalleryDetails(op.nextPhoto[field], op.speed);
    	}
    }).end().find('.replaceable.photoPayment').fadeGalleryDetails(op.nextPhoto.fnGetPaymentInfo(), op.speed, function(){
		if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
			toggleAddToCartConfirm(backgrounds, op.$detailContainer);
		} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
			toggleAddToCartConfirm(photos, op.$detailContainer);
		}
		$('body').trigger('clikUpdate.popup');
	});
		if (op.$photo.length > 0) {
		html = $('<img/>',{
			'class': 'mainphoto photo',
			src: photoSrc,
			id: 'mainPic',
			name: 'mainPic',
			width: op.nextPhoto.width,
			height: op.nextPhoto.height,
			alt: photoCaption,
			css: op.css || {}
		});
		if (op.href) {
			if (op.href.match(/<a/)) {
				html = $(op.href).append(html);
			} else {
				html = $('<a/>', {
					href: op.href,
					title: photoCaption
				}).append(html);
			}
		} else {
			html = $('<a/>', {
				title: photoCaption
			}).append(html);
		}
		if (op.speed == 0) {			op.$photo.html(html);			if (op.onBefore) {			  	op.onBefore.apply(op.$photo);			}			if (op.onAfter) {			  	op.onAfter.apply(op.$photo);			}		} else {			op.$photo.stop(true,true).fadeReplaceWith(html,op.speed,'',function(){  				if (op.onAfter) {				  	op.onAfter.apply(this);				}				clik.doColumnResize(false, $(this).add(op.$detail).add(op.$title));			}, op.onBefore);
		}	}
    if (op.field) {
		op.field.value = photoId;
	} else {
		op.$photo.data('image_id', photoId);
    }
        if (!op.speed) {
      	clik.doColumnResize(false, op.$photo.add(op.$detail).add(op.$title));
    }
        
    return html;
	}

/***************************************************************************
* Toggle add to cart confirmation element and set up the click event for   *
* the 'Add to cart' button.                                                *
***************************************************************************/
function toggleAddToCartConfirm(array, root){
	if (typeof(array) !== 'object' || array === null) {
	  	array = photos;
	}
	if (!$(root).length) {		root = $('body');	}	if($('#paymentConfirm', root).length > 0){
		$('#paymentConfirm', root).hide();
		$('#paymentAddButton', root)
		.unbind()
		.click(function(){
						form = $('#paymentForm', root)[0];
			option_id = 0;
			if(form.item_option.value){
				option_id = form.item_option.value;
			}
			if(addItemToBasket(form.item_number.value,array,form.site.value,parseInt(form.quantity.value, 10),option_id)){
				if($.browser.msie){$('#paymentConfirm', root).text('Item added to cart').show();}
				else{
					$('#paymentConfirm', root).text('Item added to cart').fadeIn();
					dspOrderDetails(form.site.value);
				}
			}
			else{
				$('#paymentConfirm', root).text('Item not added - check cookies are enabled in your browser.').fadeIn();
			}
		});
	}
}

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetImageDetails = function(){
	var temp = '';
	if (this.description != '') {
		temp +=  '<div id="imageDescription">' + this.description + '</div>';
	}
		if (this.photo_ref != '') {
		temp += '<div class="imageinfo" id="imageRef"><strong>Ref: </strong>' + this.photo_ref + '</div>';
	}
		if (this.takendate != '') {
		
		temp += '<div class="imageinfo" id="imageDate"><strong>Date: </strong>' + this.takendate + '</div>';
	}
	
	if (this.location != '') {
		
		temp += '<div class="imageinfo" id="imageLocation"><strong>Location: </strong>' +  this.location + '</div>';
	}
	
	if (this.photographer != '') {
		
		temp += '<div class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>' + this.photographer + '</div>';
	}
				
				if (temp != '') {
		temp += '<div class="spacer"></div>';
	}
	return temp;
};

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetPaymentInfo = function(){
	var temp = '';
	if (this.item_price !== '') {
				temp += '<p>Order this print:</p>';
				temp += '<div class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> &pound;' + (this.item_price).toFixed(2) + '</div>';
		var item_name  = this.purchase_instruction;
		var amount = (this.item_price).toFixed(2);
		var item_option  = 0;
	}
		else {
		
	}
	if (this.item_price !== '') {
																		temp += '<form id="paymentForm" style="margin:0px;border:0px;" name="paymentForm" target="_blank" action="https://www.paypal.com/cgi-bin/webscr" method="post">';
			temp += '<input type="hidden" name="item_name" value="'+item_name+'">';
			ref = '';
			if(this.photo_ref != ''){
				ref = this.photo_ref+' - '+this.caption;
			}
			else{
				ref = this.id+' - '+this.caption;
			}
			price = amount;								temp += '<input type="hidden" name="cmd" value="_cart">';
					temp += '<input type="hidden" name="business" value="tony@antonyburch.co.uk">';
					temp += '<input type="hidden" name="currency_code" value="GBP">';
					temp += '<input type="hidden" name="add" value="1">';
													temp += '<input type="hidden" name="amount" value="'+amount+'">';
					temp += '<input type="hidden" name="item_number" value="'+ref+'">';
													temp += '<input type=\"Submit\" value=\"Add to cart\" id=\"paymentAddButton\" class=\"button\" onmouseover=\"this.className=\'buttonHi\';\" onmouseout=\"this.className=\'button\';\">';
										temp += '</form>';
										temp += '<form id="paymentCartForm" style="margin:0px;" name="paymentCartForm" target="_blank" action="https://www.paypal.com/cgi-bin/webscr" method="post">';
				temp += '<input type="hidden" name="cmd" value="_cart">';
				temp += '<input type="hidden" name="business" value="tony@antonyburch.co.uk">';
				temp += '<input type="hidden" name="display" value="1">';
				temp += '<input type=\"Submit\" value=\"View cart\" id=\"paymentViewButton\" class=\"button\" onmouseover=\"this.className=\'buttonHi\';\" onmouseout=\"this.className=\'button\';\">';
				temp += '</form>';
						temp += '<div class="clearing">&nbsp;</div>';
	}
	return temp;};

/***************************************************************************
* Pick a photo at random from the featured images of a gallery.            *
* Gallery_id = id of gallery to choose,                                    *
* img = reference to html image in                                         *
* which to show image                                                      *
***************************************************************************/
function showGalleryImage(gallery_id, img, updateLink) {
	
	if(img){
		if (location.hash.match('galleries_id=' + gallery_id) && (imageID = location.hash.match('.*photos_id=(.+)$'))) {
		  	imageID = imageID[1];
		} else {
		  	imageID = randomListVal(galleries[gallery_id].featured_images);
		}
		
		if (imageID != 0) {
			img.src = thumbnails[imageID].src;
			img.width = thumbnails[imageID].width;
			img.height = thumbnails[imageID].height;
			img.alt = galleries[gallery_id].title;
			if (updateLink) {
				$(img).parent().attr({					title: galleries[gallery_id].title				}).filter(function(){return this.href;}).attr({					href: thumbnails[imageID].fnGalleryLink(gallery_id)				});
			}
		}
	}
}

/***************************************************************************
* If we have dynamic HTML, replace the galleries link with a list that     *
* doesn't include thecurrent gallery                                       *
***************************************************************************/
function showGalleries(gallery_id) {
		
	
	if (!basic) {
		temp = '';
		for (i = 0; i < galleries.length; i++) {
						
			
			if (galleries[i].id != gallery_id) {
								
				if (temp != '') {
					temp += ' | ';
				}
								temp += '<a href="' + galleries[i].section_code + '_' + galleries[i].id + '.html">' + galleries[i].title + '</a>';
							}
		}
		document.all.galleryLinks.innerHTML = 'Other galleries: ' + temp;
	}
}

			

