window.thumbnails = {};
															thumbnails[9069769] = clik.newPhoto({"id":9069769,"src":"3564263790_eb2606b7dd_o_thumb.jpg","galleries_id":418908,"server_id":15,"link":"photo_9069769.html","width":130,"caption":"Puffin Love","height":145});
															thumbnails[9069650] = clik.newPhoto({"id":9069650,"src":"_MG_6206_tonemapped_thumb.jpg","galleries_id":285448,"server_id":15,"link":"photo_9069650.html","width":130,"caption":"Doing The Lambeth Walk","height":202});
															thumbnails[9069656] = clik.newPhoto({"id":9069656,"src":"_MG_6239_thumb.jpg","galleries_id":285448,"server_id":15,"link":"photo_9069656.html","width":130,"caption":"Big Ben","height":215});
															thumbnails[9069807] = clik.newPhoto({"id":9069807,"src":"_MG_6171_thumb.jpg","galleries_id":285448,"server_id":15,"link":"photo_9069807.html","width":130,"caption":"St Pauls in reflection","height":195});
															thumbnails[9069808] = clik.newPhoto({"id":9069808,"src":"_MG_6174_thumb.jpg","galleries_id":285448,"server_id":15,"link":"photo_9069808.html","width":130,"caption":"Looking back to St Pauls","height":205});
															thumbnails[9069646] = clik.newPhoto({"id":9069646,"src":"_MG_6198_tonemapped_thumb.jpg","galleries_id":285448,"server_id":15,"link":"photo_9069646.html","width":130,"caption":"Falling light at HP","height":87});
															thumbnails[9069786] = clik.newPhoto({"id":9069786,"src":"_MG_5948_tonemapped_thumb.jpg","galleries_id":204197,"server_id":15,"link":"photo_9069786.html","width":130,"caption":"Autumn Trees","height":87});
															thumbnails[9069796] = clik.newPhoto({"id":9069796,"src":"_MG_5709_thumb.jpg","galleries_id":405473,"server_id":15,"link":"photo_9069796.html","width":130,"caption":"Shadows and Light","height":195});
															thumbnails[8776548] = clik.newPhoto({"id":8776548,"src":"_MG_5509_thumb.jpg","galleries_id":436534,"server_id":15,"link":"photo_8776548.html","width":130,"caption":"Behind the veil of water","height":195});
															thumbnails[9069794] = clik.newPhoto({"id":9069794,"src":"_MG_5497_5_6_tonemapped_thumb.jpg","galleries_id":436534,"server_id":15,"link":"photo_9069794.html","width":130,"caption":"Sgwd Y Eira Waterfall Revisit","height":86});
															thumbnails[8173364] = clik.newPhoto({"id":8173364,"src":"_MG_5468_thumb.jpg","galleries_id":436534,"server_id":15,"link":"photo_8173364.html","width":130,"caption":"Glowering Sunset, Southerndown Beach","height":195});
															thumbnails[8173378] = clik.newPhoto({"id":8173378,"src":"_MG_5471_69_70_tonemapped_thumb.jpg","galleries_id":436534,"server_id":15,"link":"photo_8173378.html","width":130,"caption":"Glowering Sunset, Southerndown Beach II","height":195});
															thumbnails[8173389] = clik.newPhoto({"id":8173389,"src":"_MG_5485_thumb.jpg","galleries_id":436534,"server_id":15,"link":"photo_8173389.html","width":130,"caption":"Glowering Sunset, Southerndown Beach III","height":82});
															thumbnails[7906303] = clik.newPhoto({"id":7906303,"src":"_MG_5316_thumb.jpg","galleries_id":436534,"server_id":15,"link":"photo_7906303.html","width":130,"caption":"Southerndown Beach, Sunset June 2011","height":195});
															thumbnails[7906313] = clik.newPhoto({"id":7906313,"src":"WAG-Panorama_thumb.jpg","galleries_id":436534,"server_id":15,"link":"photo_7906313.html","width":130,"caption":"Wales Millenium Centre, Cardiff Bay","height":54});
															thumbnails[7816683] = clik.newPhoto({"id":7816683,"src":"_MG_5141_BW_thumb.jpg","galleries_id":285448,"server_id":15,"link":"photo_7816683.html","width":130,"caption":"The Courtyard, British Museum","height":195});
															thumbnails[7826489] = clik.newPhoto({"id":7826489,"src":"_MG_5045_thumb.jpg","galleries_id":223665,"server_id":15,"link":"photo_7826489.html","width":130,"caption":"Great balls of colour...","height":87});
															thumbnails[7826501] = clik.newPhoto({"id":7826501,"src":"_MG_5080_thumb.jpg","galleries_id":205304,"server_id":15,"link":"photo_7826501.html","width":130,"caption":"Nearly Deserted Market","height":181});
															thumbnails[7751676] = clik.newPhoto({"id":7751676,"src":"_MG_4895_3_4_tonemapped_thumb.jpg","galleries_id":285448,"server_id":15,"link":"photo_7751676.html","width":130,"caption":"Landseer Lion","height":174});
															thumbnails[7751682] = clik.newPhoto({"id":7751682,"src":"_MG_4958_thumb.jpg","galleries_id":223665,"server_id":15,"link":"photo_7751682.html","width":130,"caption":"Hawthorn Blossom","height":195});
															thumbnails[7761187] = clik.newPhoto({"id":7761187,"src":"_MG_4903_frame_thumb.jpg","galleries_id":285448,"server_id":15,"link":"photo_7761187.html","width":130,"caption":"On Guard","height":195});
															thumbnails[7761531] = clik.newPhoto({"id":7761531,"src":"_MG_4936_thumb.jpg","galleries_id":285448,"server_id":15,"link":"photo_7761531.html","width":130,"caption":"Horse Guard in command","height":190});
															thumbnails[7761568] = clik.newPhoto({"id":7761568,"src":"_MG_4947_thumb.jpg","galleries_id":285448,"server_id":15,"link":"photo_7761568.html","width":130,"caption":"Underground, Overground","height":174});
															thumbnails[7761572] = clik.newPhoto({"id":7761572,"src":"_MG_4951_thumb.jpg","galleries_id":223665,"server_id":15,"link":"photo_7761572.html","width":130,"caption":"Horse Chesnut Flowers","height":195});
															thumbnails[7747255] = clik.newPhoto({"id":7747255,"src":"_MG_4808_thumb.jpg","galleries_id":204197,"server_id":15,"link":"photo_7747255.html","width":130,"caption":"Sycamore in Meadow","height":195});
															thumbnails[7747277] = clik.newPhoto({"id":7747277,"src":"_MG_4851_0_tonemapped_thumb.jpg","galleries_id":204197,"server_id":15,"link":"photo_7747277.html","width":130,"caption":"Weeping Willow","height":190});
															thumbnails[7703899] = clik.newPhoto({"id":7703899,"src":"_MG_4639_thumb.jpg","galleries_id":223665,"server_id":15,"link":"photo_7703899.html","width":130,"caption":"Sussex Bluebells","height":112});
															thumbnails[7703920] = clik.newPhoto({"id":7703920,"src":"_MG_4664_Crop_thumb.jpg","galleries_id":240140,"server_id":15,"link":"photo_7703920.html","width":130,"caption":"Stone Farm Outcrops","height":79});
															thumbnails[7679637] = clik.newPhoto({"id":7679637,"src":"_MG_4541_thumb.jpg","galleries_id":418908,"server_id":15,"link":"photo_7679637.html","width":130,"caption":"Group Huddle","height":87});
															thumbnails[7679693] = clik.newPhoto({"id":7679693,"src":"_MG_4526_thumb.jpg","galleries_id":418908,"server_id":15,"link":"photo_7679693.html","width":130,"caption":"Inca Tern Portrait","height":87});
															thumbnails[7679699] = clik.newPhoto({"id":7679699,"src":"_MG_4572_thumb.jpg","galleries_id":418908,"server_id":15,"link":"photo_7679699.html","width":130,"caption":"Proud Mum","height":87});
															thumbnails[7679764] = clik.newPhoto({"id":7679764,"src":"_MG_4589_thumb.jpg","galleries_id":418908,"server_id":15,"link":"photo_7679764.html","width":130,"caption":"Big Daddy","height":96});
															thumbnails[7679806] = clik.newPhoto({"id":7679806,"src":"_MG_4578_thumb.jpg","galleries_id":418908,"server_id":15,"link":"photo_7679806.html","width":130,"caption":"Bonny Wee Lion","height":87});
															thumbnails[7680645] = clik.newPhoto({"id":7680645,"src":"_MG_3671_69_70_tonemapped_thumb.jpg","galleries_id":405473,"server_id":15,"link":"photo_7680645.html","width":130,"caption":"Looking over Tràigh Mangurstadh","height":86});
															thumbnails[8836938] = clik.newPhoto({"id":8836938,"src":"_MG_3609_9BC2EF84-24E8-5EC4-4F502C565F783C4C_thumb.jpg","galleries_id":462104,"server_id":15,"link":"photo_8836938.html","width":130,"caption":"Lichen abundance","height":87});
															thumbnails[7458304] = clik.newPhoto({"id":7458304,"src":"_MG_3201_thumb.jpg","galleries_id":223665,"server_id":15,"link":"photo_7458304.html","width":130,"caption":"The Passing of Sorrow","height":87});
															thumbnails[7452965] = clik.newPhoto({"id":7452965,"src":"_MG_3159_thumb.jpg","galleries_id":240140,"server_id":15,"link":"photo_7452965.html","width":130,"caption":"Jack and Jill on the Hill, Clayton, East Sussex","height":87});
															thumbnails[7262137] = clik.newPhoto({"id":7262137,"src":"_MG_2762_3_tonemapped_thumb.jpg","galleries_id":215763,"server_id":15,"link":"photo_7262137.html","width":130,"caption":"A Winter's Sunset, 2010","height":175});
															thumbnails[7262132] = clik.newPhoto({"id":7262132,"src":"_MG_2540_39_tonemapped_thumb.jpg","galleries_id":215763,"server_id":15,"link":"photo_7262132.html","width":130,"caption":"Haw Frost, Ashdown Forest","height":198});
															thumbnails[7158554] = clik.newPhoto({"id":7158554,"src":"_MG_2421_tonemapped_thumb.jpg","galleries_id":215763,"server_id":15,"link":"photo_7158554.html","width":130,"caption":"East Millbrook Clump in early snow","height":169});
															thumbnails[7158568] = clik.newPhoto({"id":7158568,"src":"_MG_2437_tonemapped_thumb.jpg","galleries_id":215763,"server_id":15,"link":"photo_7158568.html","width":130,"caption":"Winter's Snowy Grip, Ashdown Forest","height":87});
															thumbnails[7138626] = clik.newPhoto({"id":7138626,"src":"_MG_2297_thumb.jpg","galleries_id":204197,"server_id":15,"link":"photo_7138626.html","width":130,"caption":"Golden Fungi","height":87});
															thumbnails[7138629] = clik.newPhoto({"id":7138629,"src":"_MG_2301_0_tonemapped_thumb.jpg","galleries_id":215763,"server_id":15,"link":"photo_7138629.html","width":130,"caption":"Mist over the Weald, Ashdown Forest","height":72});
															thumbnails[9069780] = clik.newPhoto({"id":9069780,"src":"_MG_5648_small_812181D8-1EC9-D45B-1C3780312911762A_thumb.jpg","galleries_id":223665,"server_id":15,"link":"photo_9069780.html","width":130,"caption":"Anenome Japonica ","height":87});
															thumbnails[7459101] = clik.newPhoto({"id":7459101,"src":"4946739098_4c45f1fee1_o_thumb.jpg","galleries_id":204196,"server_id":15,"link":"photo_7459101.html","width":130,"caption":"Dancing to the Light","height":84});
															thumbnails[7110952] = clik.newPhoto({"id":7110952,"src":"_MG_0794_thumb.jpg","galleries_id":223665,"server_id":15,"link":"photo_7110952.html","width":130,"caption":"Two heads...","height":195});
															thumbnails[5799220] = clik.newPhoto({"id":5799220,"src":"_MG_9867_thumb.jpg","galleries_id":223665,"server_id":15,"link":"photo_5799220.html","width":130,"caption":"A Life of Beauty, Camelia Flower","height":87});
															thumbnails[5631967] = clik.newPhoto({"id":5631967,"src":"Blue_Iris_thumb.jpg","galleries_id":223665,"server_id":15,"link":"photo_5631967.html","width":130,"caption":"Signs of Spring - Blue","height":130});
															thumbnails[5522058] = clik.newPhoto({"id":5522058,"src":"_MG_9564_2_3_noframe_thumb.jpg","galleries_id":215763,"server_id":15,"link":"photo_5522058.html","width":130,"caption":"Misty morning at the old mill stream","height":86});
															thumbnails[5521728] = clik.newPhoto({"id":5521728,"src":"_MG_9389_thumb.jpg","galleries_id":418908,"server_id":15,"link":"photo_5521728.html","width":130,"caption":"Who are you looking at?","height":87});
															thumbnails[5648679] = clik.newPhoto({"id":5648679,"src":"_MG_9248_6_7_Square_thumb.jpg","galleries_id":215763,"server_id":15,"link":"photo_5648679.html","width":130,"caption":"Misty Saturday in Winter, Ashdown Forest","height":135});
															thumbnails[5431154] = clik.newPhoto({"id":5431154,"src":"Cuckmere_Haven2_thumb.jpg","galleries_id":240140,"server_id":15,"link":"photo_5431154.html","width":130,"caption":"Sunset over Cuckmere Haven, Sussex","height":84});
															thumbnails[5453544] = clik.newPhoto({"id":5453544,"src":"Seven_sis1_9339221C-2219-B5B5-4C4E9249A6EEF6CC_thumb.jpg","galleries_id":240140,"server_id":15,"link":"photo_5453544.html","width":130,"caption":"First of the Seven Sisters","height":86});
															thumbnails[5334349] = clik.newPhoto({"id":5334349,"src":"_MG_8711_09_10_tonemapped_thumb.jpg","galleries_id":215763,"server_id":15,"link":"photo_5334349.html","width":130,"caption":"Snow over Kings Standing, Ashdown Forest, Sussex","height":86});
															thumbnails[5334364] = clik.newPhoto({"id":5334364,"src":"_MG_8743_2_crop_thumb.jpg","galleries_id":215763,"server_id":15,"link":"photo_5334364.html","width":130,"caption":"Locals huddle in the snow, Ashdown Forest, Sussex","height":81});
															thumbnails[5202719] = clik.newPhoto({"id":5202719,"src":"Frozen_Rose_thumb.jpg","galleries_id":223665,"server_id":15,"link":"photo_5202719.html","width":130,"caption":"The last rose of summer","height":87});
															thumbnails[5202727] = clik.newPhoto({"id":5202727,"src":"Sedum_Seed_thumb.jpg","galleries_id":223665,"server_id":15,"link":"photo_5202727.html","width":130,"caption":"Sedum Seedhead, Wakehurst Place, Sussex","height":87});
															thumbnails[5334476] = clik.newPhoto({"id":5334476,"src":"Jelly_Fungi_thumb.jpg","galleries_id":204197,"server_id":15,"link":"photo_5334476.html","width":130,"caption":"Orange Jelly Fungi, Ashdown Forest, East Sussex","height":91});
															thumbnails[5334453] = clik.newPhoto({"id":5334453,"src":"_MG_8411_nof_thumb.jpg","galleries_id":204197,"server_id":15,"link":"photo_5334453.html","width":130,"caption":"Mushrooms and dew, Fairwarp, Sussex","height":87});
															thumbnails[5044285] = clik.newPhoto({"id":5044285,"src":"_MG_8239_thumb.jpg","galleries_id":285448,"server_id":15,"link":"photo_5044285.html","width":130,"caption":"London Eye","height":124});
															thumbnails[5044293] = clik.newPhoto({"id":5044293,"src":"_MG_8172_thumb.jpg","galleries_id":285448,"server_id":15,"link":"photo_5044293.html","width":130,"caption":"Walking across the Millenium Bridge","height":114});
															thumbnails[5044326] = clik.newPhoto({"id":5044326,"src":"_MG_8175_6_7_thumb.jpg","galleries_id":285448,"server_id":15,"link":"photo_5044326.html","width":130,"caption":"The Millenium Bridge, London","height":130});
															thumbnails[5044339] = clik.newPhoto({"id":5044339,"src":"_MG_8204_2_3_thumb.jpg","galleries_id":285448,"server_id":15,"link":"photo_5044339.html","width":130,"caption":"Autumn Leaves on South Bank, London","height":148});
															thumbnails[5044342] = clik.newPhoto({"id":5044342,"src":"_MG_8218_19_20_thumb.jpg","galleries_id":285448,"server_id":15,"link":"photo_5044342.html","width":130,"caption":"Art or Anger?","height":111});
															thumbnails[5003224] = clik.newPhoto({"id":5003224,"src":"_MG_8058_6_7_Frame_thumb.jpg","galleries_id":215763,"server_id":15,"link":"photo_5003224.html","width":130,"caption":"Autumn Skies at Ridgeway","height":115});
															thumbnails[5003239] = clik.newPhoto({"id":5003239,"src":"_MG_7953_1_2_Frame_thumb.jpg","galleries_id":215763,"server_id":15,"link":"photo_5003239.html","width":130,"caption":"Autumn in Five Hundred Acre Wood","height":130});
															thumbnails[5334418] = clik.newPhoto({"id":5334418,"src":"Shaggy_inkcap_thumb.jpg","galleries_id":204197,"server_id":15,"link":"photo_5334418.html","width":130,"caption":"Shaggy Ink Cap Mushroom","height":87});
															thumbnails[4218782] = clik.newPhoto({"id":4218782,"src":"Normanston_Church_thumb.jpg","galleries_id":204196,"server_id":15,"link":"photo_4218782.html","width":130,"caption":"Normanston Church, Rutland Water","height":87});
															thumbnails[4153176] = clik.newPhoto({"id":4153176,"src":"Path_Poppies_thumb.jpg","galleries_id":240140,"server_id":15,"link":"photo_4153176.html","width":130,"caption":"Path to Firle Beacon","height":128});
															thumbnails[4134547] = clik.newPhoto({"id":4134547,"src":"Hastings_Pier_thumb.jpg","galleries_id":240140,"server_id":15,"link":"photo_4134547.html","width":130,"caption":"Under the Pier, Hastings, Sussex","height":130});
															thumbnails[4084222] = clik.newPhoto({"id":4084222,"src":"Ox_eye2_thumb.jpg","galleries_id":223665,"server_id":15,"link":"photo_4084222.html","width":130,"caption":"Oxeye Daisy in Sunshine","height":156});
															thumbnails[4084228] = clik.newPhoto({"id":4084228,"src":"Beachy_head_7Sister_thumb.jpg","galleries_id":240140,"server_id":15,"link":"photo_4084228.html","width":130,"caption":"Beachy Head from a Seven Sister","height":138});
															thumbnails[4220085] = clik.newPhoto({"id":4220085,"src":"Eastbourne_Pier_thumb.jpg","galleries_id":240140,"server_id":15,"link":"photo_4220085.html","width":130,"caption":"Pier at Sunset, Eastbourne, Sussex","height":86});
															thumbnails[4066500] = clik.newPhoto({"id":4066500,"src":"Field_Chives_thumb.jpg","galleries_id":223665,"server_id":15,"link":"photo_4066500.html","width":130,"caption":"Field of Chives, Sussex","height":87});
															thumbnails[4008558] = clik.newPhoto({"id":4008558,"src":"Sandhurst_Windmill1_thumb.jpg","galleries_id":240140,"server_id":15,"link":"photo_4008558.html","width":130,"caption":"Windmill, Sandhurst, Kent","height":87});
															thumbnails[3957983] = clik.newPhoto({"id":3957983,"src":"Beachy_Head_light_thumb.jpg","galleries_id":240140,"server_id":15,"link":"photo_3957983.html","width":130,"caption":"Early Morning, Beachy Head Lighthouse, Sussex","height":83});
															thumbnails[3958011] = clik.newPhoto({"id":3958011,"src":"Cuckmere_Haven_thumb.jpg","galleries_id":240140,"server_id":15,"link":"photo_3958011.html","width":130,"caption":"Dusk Cuckmere Haven, Seven Sisters, Sussex","height":87});
															thumbnails[3914884] = clik.newPhoto({"id":3914884,"src":"Puffin3_thumb.jpg","galleries_id":418908,"server_id":15,"link":"photo_3914884.html","width":130,"caption":"Puffin portrait","height":87});
															thumbnails[3914890] = clik.newPhoto({"id":3914890,"src":"Shag3_thumb.jpg","galleries_id":418908,"server_id":15,"link":"photo_3914890.html","width":130,"caption":"Shag nesting on Farne","height":87});
															thumbnails[3920151] = clik.newPhoto({"id":3920151,"src":"Dunstanb_Castle21_thumb.jpg","galleries_id":237659,"server_id":15,"link":"photo_3920151.html","width":130,"caption":"Early May morning at Dunstanburgh Castle","height":87});
															thumbnails[7829486] = clik.newPhoto({"id":7829486,"src":"Artic_tern2_0A8D93B8-1E4F-37DC-716D582B950F755D_thumb.jpg","galleries_id":418908,"server_id":15,"link":"photo_7829486.html","width":130,"caption":"Artic Tern in Flight","height":86});
															thumbnails[3936607] = clik.newPhoto({"id":3936607,"src":"Beadnell_Harbour_thumb.jpg","galleries_id":237659,"server_id":15,"link":"photo_3936607.html","width":130,"caption":"Reflections, Beadnell Harbour, Northumberland","height":126});
															thumbnails[3797114] = clik.newPhoto({"id":3797114,"src":"Sgwd_Y_Eira_thumb.jpg","galleries_id":436534,"server_id":15,"link":"photo_3797114.html","width":130,"caption":"Sgwd Y Eira Waterfall","height":87});
															thumbnails[3662151] = clik.newPhoto({"id":3662151,"src":"_MG_8173_thumb.jpg","galleries_id":223665,"server_id":15,"link":"photo_3662151.html","width":130,"caption":"Hellebore","height":87});
															thumbnails[3662418] = clik.newPhoto({"id":3662418,"src":"_MG_8261_thumb.jpg","galleries_id":223665,"server_id":15,"link":"photo_3662418.html","width":130,"caption":"Hellobore #2","height":87});
															thumbnails[3525848] = clik.newPhoto({"id":3525848,"src":"Nutley_Windmill_thumb.jpg","galleries_id":215763,"server_id":15,"link":"photo_3525848.html","width":130,"caption":"Nutley Windmill Early March Ashdown Forest","height":87});
															thumbnails[3361720] = clik.newPhoto({"id":3361720,"src":"rose_topp2_thumb.jpg","galleries_id":404062,"server_id":15,"link":"photo_3361720.html","width":130,"caption":"Early Morning at Roseberry Topping","height":87});
															thumbnails[3366641] = clik.newPhoto({"id":3366641,"src":"Sheff_Park1_thumb.jpg","galleries_id":240140,"server_id":15,"link":"photo_3366641.html","width":130,"caption":"Autumn Shines","height":87});
															thumbnails[3641966] = clik.newPhoto({"id":3641966,"src":"Pooh_Bridge_1_thumb.jpg","galleries_id":215763,"server_id":15,"link":"photo_3641966.html","width":130,"caption":"Early Morning at Pooh Bridge ","height":95});
															thumbnails[5453383] = clik.newPhoto({"id":5453383,"src":"Bodiam2_thumb.jpg","galleries_id":240140,"server_id":15,"link":"photo_5453383.html","width":130,"caption":"Cross the bridge to castle","height":88});
															thumbnails[3361673] = clik.newPhoto({"id":3361673,"src":"whitby1_May08_thumb.jpg","galleries_id":404062,"server_id":15,"link":"photo_3361673.html","width":130,"caption":"Whitby May Morning","height":87});
															thumbnails[3361861] = clik.newPhoto({"id":3361861,"src":"Bamb_Castle1_thumb.jpg","galleries_id":237659,"server_id":15,"link":"photo_3361861.html","width":130,"caption":"Just before the storm. ","height":72});
															thumbnails[9069754] = clik.newPhoto({"id":9069754,"src":"Puffin1_thumb.jpg","galleries_id":418908,"server_id":15,"link":"photo_9069754.html","width":130,"caption":"Puffin portrait","height":95});
															thumbnails[3452938] = clik.newPhoto({"id":3452938,"src":"Dunstanb_Castle2_thumb.jpg","galleries_id":237659,"server_id":15,"link":"photo_3452938.html","width":130,"caption":"Dunstanburgh Castle from the bay","height":83});
															thumbnails[9069699] = clik.newPhoto({"id":9069699,"src":"CRW_32461_thumb.jpg","galleries_id":418908,"server_id":15,"link":"photo_9069699.html","width":130,"caption":"Shag on Farne","height":87});
															thumbnails[3392319] = clik.newPhoto({"id":3392319,"src":"IMG_5567_thumb.jpg","galleries_id":418908,"server_id":15,"link":"photo_3392319.html","width":130,"caption":"Two Love Birds","height":87});
															thumbnails[3366835] = clik.newPhoto({"id":3366835,"src":"Middlebridge_thumb.jpg","galleries_id":404062,"server_id":15,"link":"photo_3366835.html","width":130,"caption":"Late night bridge","height":87});
															thumbnails[3662753] = clik.newPhoto({"id":3662753,"src":"Opening_Astrantia_thumb.jpg","galleries_id":223665,"server_id":15,"link":"photo_3662753.html","width":130,"caption":"Astrantia Major - opening time","height":136});
															thumbnails[4008569] = clik.newPhoto({"id":4008569,"src":"Run_Beach_thumb.jpg","galleries_id":204196,"server_id":15,"link":"photo_4008569.html","width":130,"caption":"Running along the beach","height":75});
															thumbnails[4065944] = clik.newPhoto({"id":4065944,"src":"Herstmonceaux_Castle_thumb.jpg","galleries_id":240140,"server_id":15,"link":"photo_4065944.html","width":130,"caption":"Reflections in the mote at Herstmonceux Castle, Sussex","height":87});
															thumbnails[4725551] = clik.newPhoto({"id":4725551,"src":"Globe_Artichoke_thumb.jpg","galleries_id":223665,"server_id":15,"link":"photo_4725551.html","width":130,"caption":"Hairs standing on end","height":85});
															thumbnails[4725751] = clik.newPhoto({"id":4725751,"src":"Firle_Poppies_thumb.jpg","galleries_id":240140,"server_id":15,"link":"photo_4725751.html","width":130,"caption":"The Best of Summer","height":84});
															thumbnails[4725758] = clik.newPhoto({"id":4725758,"src":"Croyde_Beach1_thumb.jpg","galleries_id":204196,"server_id":15,"link":"photo_4725758.html","width":130,"caption":"Last of the Summer Surfing","height":87});
															thumbnails[4725769] = clik.newPhoto({"id":4725769,"src":"Horse_Portrait_thumb.jpg","galleries_id":418908,"server_id":15,"link":"photo_4725769.html","width":130,"caption":"White Horse, Ashdown Forest, Sussex","height":194});
															thumbnails[4725790] = clik.newPhoto({"id":4725790,"src":"Croyde_Beach2_thumb.jpg","galleries_id":204196,"server_id":15,"link":"photo_4725790.html","width":130,"caption":"On finding the sea","height":193});
															thumbnails[4725798] = clik.newPhoto({"id":4725798,"src":"Michealmas_Daisy_thumb.jpg","galleries_id":223665,"server_id":15,"link":"photo_4725798.html","width":130,"caption":"Michaelmas Daisy","height":84});
															thumbnails[4725827] = clik.newPhoto({"id":4725827,"src":"sandsend_thumb.jpg","galleries_id":404062,"server_id":15,"link":"photo_4725827.html","width":130,"caption":"Sandsend Beach, Nr Whitby, North Yorkshire","height":197});
															thumbnails[5003336] = clik.newPhoto({"id":5003336,"src":"_MG_8024_9CE8A472-1D09-001F-99DF470001AE49D0_thumb.jpg","galleries_id":215763,"server_id":15,"link":"photo_5003336.html","width":130,"caption":"The Enchanted Place","height":195});
															thumbnails[5194021] = clik.newPhoto({"id":5194021,"src":"_MG_7942_3_4_Sq_thumb.jpg","galleries_id":215763,"server_id":15,"link":"photo_5194021.html","width":130,"caption":"Path to 500 Hundred Acre Wood","height":126});
															thumbnails[5631998] = clik.newPhoto({"id":5631998,"src":"High_Force_thumb.jpg","galleries_id":204196,"server_id":15,"link":"photo_5631998.html","width":130,"caption":"High Force Waterfall, River Tees, County Durham","height":83});
															thumbnails[5826031] = clik.newPhoto({"id":5826031,"src":"Cherry_Blossom_thumb.jpg","galleries_id":204197,"server_id":15,"link":"photo_5826031.html","width":130,"caption":"In the cherry blossom's shade","height":87});
															thumbnails[7110871] = clik.newPhoto({"id":7110871,"src":"_MG_1558_thumb.jpg","galleries_id":418908,"server_id":15,"link":"photo_7110871.html","width":130,"caption":"Barn Owl Siblings","height":93});
															thumbnails[7110873] = clik.newPhoto({"id":7110873,"src":"_MG_2270_thumb.jpg","galleries_id":204197,"server_id":15,"link":"photo_7110873.html","width":130,"caption":"Winter's First Frost","height":87});
															thumbnails[7110928] = clik.newPhoto({"id":7110928,"src":"_MG_2095_3_4_vsmall_thumb.jpg","galleries_id":215763,"server_id":15,"link":"photo_7110928.html","width":130,"caption":"Looking North from the Ridgeway","height":86});
															thumbnails[7111058] = clik.newPhoto({"id":7111058,"src":"_MG_0677_thumb.jpg","galleries_id":240140,"server_id":15,"link":"photo_7111058.html","width":130,"caption":"Reflections, Scotney Castle, Kent","height":87});
															thumbnails[7158583] = clik.newPhoto({"id":7158583,"src":"_MG_7228_6_7_thumb.jpg","galleries_id":404062,"server_id":15,"link":"photo_7158583.html","width":130,"caption":"Exploring the beach at Sandsend, North Yorkshire","height":84});
															thumbnails[7158624] = clik.newPhoto({"id":7158624,"src":"_MG_7274_thumb.jpg","galleries_id":215763,"server_id":15,"link":"photo_7158624.html","width":130,"caption":"Winter Afternoon, Garden of Eden, Ashdown Forest","height":87});
															thumbnails[7458311] = clik.newPhoto({"id":7458311,"src":"4014290339_1837605d0d_o_thumb.jpg","galleries_id":240140,"server_id":15,"link":"photo_7458311.html","width":130,"caption":"Reflections of a Palace, Brighton","height":202});
															thumbnails[7458979] = clik.newPhoto({"id":7458979,"src":"_MG_6276_thumb.jpg","galleries_id":240140,"server_id":15,"link":"photo_7458979.html","width":130,"caption":"Groyne, Eastbourne, Sussex","height":198});
															thumbnails[7459049] = clik.newPhoto({"id":7459049,"src":"4370919169_8bbb8fd02b_b_thumb.jpg","galleries_id":215763,"server_id":15,"link":"photo_7459049.html","width":130,"caption":"The Water Trap","height":200});
															thumbnails[7459885] = clik.newPhoto({"id":7459885,"src":"4044016085_a7aa5e5e6d_o_thumb.jpg","galleries_id":240140,"server_id":15,"link":"photo_7459885.html","width":130,"caption":"Autumn Falls on Westwood Lake","height":136});
															thumbnails[7483210] = clik.newPhoto({"id":7483210,"src":"_MG_5836_BW_thumb.jpg","galleries_id":405473,"server_id":15,"link":"photo_7483210.html","width":130,"caption":"Gatehouse of Battle Abbey","height":117});
															thumbnails[7483216] = clik.newPhoto({"id":7483216,"src":"_MG_8859_BW_thumb.jpg","galleries_id":405473,"server_id":15,"link":"photo_7483216.html","width":130,"caption":"Fishing Net Huts, The Stade","height":167});
															thumbnails[7483276] = clik.newPhoto({"id":7483276,"src":"_MG_32211_thumb.jpg","galleries_id":405689,"server_id":15,"link":"photo_7483276.html","width":130,"caption":"Wedding Rings on Red Damask","height":87});
															thumbnails[7483296] = clik.newPhoto({"id":7483296,"src":"_MG_3216_thumb.jpg","galleries_id":405689,"server_id":15,"link":"photo_7483296.html","width":130,"caption":"MacDonald Tartan and Macrae Pin","height":87});
															thumbnails[7533109] = clik.newPhoto({"id":7533109,"src":"IMG_6045_Small_thumb.jpg","galleries_id":285448,"server_id":15,"link":"photo_7533109.html","width":130,"caption":"O2 Arena Abstract","height":87});
															thumbnails[7541027] = clik.newPhoto({"id":7541027,"src":"_MG_7094_thumb.jpg","galleries_id":215763,"server_id":15,"link":"photo_7541027.html","width":130,"caption":"Winter Sunset over the Forest","height":55});
															thumbnails[7541032] = clik.newPhoto({"id":7541032,"src":"CRW_5267_thumb.jpg","galleries_id":404062,"server_id":15,"link":"photo_7541032.html","width":130,"caption":"Whorlton Castle, North York Moors","height":87});
															thumbnails[7670890] = clik.newPhoto({"id":7670890,"src":"_MG_7998_frame_thumb.jpg","galleries_id":205304,"server_id":15,"link":"photo_7670890.html","width":130,"caption":"Autumn Tumbles","height":86});
															thumbnails[7670931] = clik.newPhoto({"id":7670931,"src":"_MG_3175_thumb.jpg","galleries_id":240140,"server_id":15,"link":"photo_7670931.html","width":130,"caption":"Jill Close Up","height":87});
															thumbnails[7680651] = clik.newPhoto({"id":7680651,"src":"SandDune_Fence_BW_thumb.jpg","galleries_id":405473,"server_id":15,"link":"photo_7680651.html","width":130,"caption":"Monster? ","height":87});
															thumbnails[7680679] = clik.newPhoto({"id":7680679,"src":"IMG_6270_BW_thumb.jpg","galleries_id":405473,"server_id":15,"link":"photo_7680679.html","width":130,"caption":"Bodiam Castle","height":88});
															thumbnails[7644497] = clik.newPhoto({"id":7644497,"src":"_MG_3427_bw_thumb.jpg","galleries_id":414102,"server_id":15,"link":"photo_7644497.html","width":130,"caption":"Callanish Stone Circle - 2","height":102});
															thumbnails[7647725] = clik.newPhoto({"id":7647725,"src":"_MG_4254_5_Cropped_thumb.jpg","galleries_id":414102,"server_id":15,"link":"photo_7647725.html","width":130,"caption":"Callanish Stone Circle","height":96});
															thumbnails[7671681] = clik.newPhoto({"id":7671681,"src":"_MG_4449_thumb.jpg","galleries_id":205304,"server_id":15,"link":"photo_7671681.html","width":130,"caption":"This way....","height":87});
															thumbnails[7636829] = clik.newPhoto({"id":7636829,"src":"_MG_3413_thumb.jpg","galleries_id":414102,"server_id":15,"link":"photo_7636829.html","width":130,"caption":"Rain moves in at Dail Mor Beach","height":83});
															thumbnails[8776400] = clik.newPhoto({"id":8776400,"src":"_MG_3408_thumb.jpg","galleries_id":462104,"server_id":15,"link":"photo_8776400.html","width":130,"caption":"Patina of nature","height":87});
															thumbnails[4065965] = clik.newPhoto({"id":4065965,"src":"Old_Boat_Dungeness_thumb.jpg","galleries_id":240140,"server_id":15,"link":"photo_4065965.html","width":130,"caption":"Old Boat at Rest, Dungeness Beach, Kent","height":195});
															thumbnails[3840440] = clik.newPhoto({"id":3840440,"src":"Bluebell_Newbridge_thumb.jpg","galleries_id":215763,"server_id":15,"link":"photo_3840440.html","width":130,"caption":"Bluebells at Newbridge, Ashdown Forest","height":195});
															thumbnails[3628164] = clik.newPhoto({"id":3628164,"src":"Forest_Path_thumb.jpg","galleries_id":215763,"server_id":15,"link":"photo_3628164.html","width":130,"caption":"A Forest Path, Chelwood Gate, Ashdown Forest","height":131});
															thumbnails[7478782] = clik.newPhoto({"id":7478782,"src":"_MG_0083_BW_thumb.jpg","galleries_id":405473,"server_id":15,"link":"photo_7478782.html","width":130,"caption":"Standing Still, The Stade, Hastings","height":87});
															thumbnails[3361645] = clik.newPhoto({"id":3361645,"src":"rose_topp1_thumb.jpg","galleries_id":404062,"server_id":15,"link":"photo_3361645.html","width":130,"caption":"Roseberry Topping - December's Morn","height":149});
															thumbnails[5334504] = clik.newPhoto({"id":5334504,"src":"_MG_8772_thumb.jpg","galleries_id":205304,"server_id":15,"link":"photo_5334504.html","width":130,"caption":"Winter Bough, Cherry Tree wighed down with snow","height":87});
															thumbnails[3362715] = clik.newPhoto({"id":3362715,"src":"seven_sis1_thumb.jpg","galleries_id":240140,"server_id":15,"link":"photo_3362715.html","width":130,"caption":"Seven Sisters at Birling Gap","height":195});
															thumbnails[7643684] = clik.newPhoto({"id":7643684,"src":"_MG_3727_thumb.jpg","galleries_id":414102,"server_id":15,"link":"photo_7643684.html","width":130,"caption":"Waterfalls and Faces, Lewis, Hebrides","height":153});
															thumbnails[3366458] = clik.newPhoto({"id":3366458,"src":"Sheff_P_Leaves_thumb.jpg","galleries_id":205304,"server_id":15,"link":"photo_3366458.html","width":130,"caption":"Autumn Leaves","height":87});
															thumbnails[7671039] = clik.newPhoto({"id":7671039,"src":"_MG_6286_thumb.jpg","galleries_id":205304,"server_id":15,"link":"photo_7671039.html","width":130,"caption":"Deck Chairs on...","height":78});
															thumbnails[8776441] = clik.newPhoto({"id":8776441,"src":"_MG_3410_02D813E1-1EC9-D45B-1CFF9694DB7B830B_thumb.jpg","galleries_id":462104,"server_id":15,"link":"photo_8776441.html","width":130,"caption":"Patina of nature 2","height":87});
															thumbnails[3984674] = clik.newPhoto({"id":3984674,"src":"LM_Wilmington2_thumb.jpg","galleries_id":240140,"server_id":15,"link":"photo_3984674.html","width":130,"caption":"The path to the Long Man, Wilmington, Sussex","height":163});
															thumbnails[3914931] = clik.newPhoto({"id":3914931,"src":"Alnwick_Gdn_door_thumb.jpg","galleries_id":237659,"server_id":15,"link":"photo_3914931.html","width":130,"caption":"Door and Dovecote at Alnwick Garden","height":195});
															thumbnails[3364853] = clik.newPhoto({"id":3364853,"src":"Sleepers_thumb.jpg","galleries_id":205304,"server_id":15,"link":"photo_3364853.html","width":130,"caption":"Painted Sleepers","height":87});
															thumbnails[4066467] = clik.newPhoto({"id":4066467,"src":"Beach_Fence_thumb.jpg","galleries_id":205304,"server_id":15,"link":"photo_4066467.html","width":130,"caption":"An old dinosaur?","height":87});
															thumbnails[7644414] = clik.newPhoto({"id":7644414,"src":"_MG_4198_Frame_thumb.jpg","galleries_id":414102,"server_id":15,"link":"photo_7644414.html","width":130,"caption":"Wood rot or Art?","height":87});
															thumbnails[3914967] = clik.newPhoto({"id":3914967,"src":"Alnwick_Gdn_fountain_thumb.jpg","galleries_id":237659,"server_id":15,"link":"photo_3914967.html","width":130,"caption":"Main Cascade of fountains","height":197});
															thumbnails[7541005] = clik.newPhoto({"id":7541005,"src":"IMG_5176_Small_thumb.jpg","galleries_id":205304,"server_id":15,"link":"photo_7541005.html","width":130,"caption":"Ducks going quackers","height":73});
															thumbnails[7544032] = clik.newPhoto({"id":7544032,"src":"_MG_7515_Frame_thumb.jpg","galleries_id":205304,"server_id":15,"link":"photo_7544032.html","width":130,"caption":"Cockle Doodle Do....","height":87});
															thumbnails[8776462] = clik.newPhoto({"id":8776462,"src":"_MG_4024_0314BCB9-1EC9-D45B-1C334A6DA2A10A3C_thumb.jpg","galleries_id":462104,"server_id":15,"link":"photo_8776462.html","width":130,"caption":"Plaque to Alexander Maclean","height":87});
															thumbnails[7644431] = clik.newPhoto({"id":7644431,"src":"_MG_3762_thumb.jpg","galleries_id":414102,"server_id":15,"link":"photo_7644431.html","width":130,"caption":"Marram Grass on the beach","height":87});
															thumbnails[3936134] = clik.newPhoto({"id":3936134,"src":"Bamb_Castle21_thumb.jpg","galleries_id":237659,"server_id":15,"link":"photo_3936134.html","width":130,"caption":"Early morning, Bamburgh Castle, Northumberland","height":194});
															thumbnails[7110949] = clik.newPhoto({"id":7110949,"src":"_MG_1874_thumb.jpg","galleries_id":205304,"server_id":15,"link":"photo_7110949.html","width":130,"caption":"Round and Round we go...","height":84});
															thumbnails[3367404] = clik.newPhoto({"id":3367404,"src":"Whitby2_May08_thumb.jpg","galleries_id":404062,"server_id":15,"link":"photo_3367404.html","width":130,"caption":"Whitby early May morning","height":195});
															thumbnails[7644454] = clik.newPhoto({"id":7644454,"src":"_MG_3291_thumb.jpg","galleries_id":414102,"server_id":15,"link":"photo_7644454.html","width":130,"caption":"Lichen and Moss ","height":87});
															thumbnails[7644609] = clik.newPhoto({"id":7644609,"src":"_MG_3955_thumb.jpg","galleries_id":414102,"server_id":15,"link":"photo_7644609.html","width":130,"caption":"Colours of Nature","height":87});
															thumbnails[7644622] = clik.newPhoto({"id":7644622,"src":"_MG_4024_thumb.jpg","galleries_id":414102,"server_id":15,"link":"photo_7644622.html","width":130,"caption":"Carved lettering","height":87});
															thumbnails[7643664] = clik.newPhoto({"id":7643664,"src":"_MG_4114_thumb.jpg","galleries_id":414102,"server_id":15,"link":"photo_7643664.html","width":130,"caption":"Roof Details - Blackhouse, Lewis, Scotland","height":92});
															thumbnails[3920140] = clik.newPhoto({"id":3920140,"src":"Beadnell_Harbour_sunset_thumb.jpg","galleries_id":237659,"server_id":15,"link":"photo_3920140.html","width":130,"caption":"Beadnell Harbour at Sunset","height":195});
															thumbnails[3839920] = clik.newPhoto({"id":3839920,"src":"Fish_Huts_thumb.jpg","galleries_id":240140,"server_id":15,"link":"photo_3839920.html","width":130,"caption":"Fishing Net Huts at the Stade, Hastings","height":166});
															thumbnails[3662372] = clik.newPhoto({"id":3662372,"src":"_MG_8209_thumb.jpg","galleries_id":223665,"server_id":15,"link":"photo_3662372.html","width":130,"caption":"Trio of Frittalaria Flowers","height":195});
															thumbnails[3362566] = clik.newPhoto({"id":3362566,"src":"Lindis_cast2_thumb.jpg","galleries_id":237659,"server_id":15,"link":"photo_3362566.html","width":130,"caption":"Afternoon at Lindisfarne","height":195});
															thumbnails[7644480] = clik.newPhoto({"id":7644480,"src":"_MG_3407_thumb.jpg","galleries_id":414102,"server_id":15,"link":"photo_7644480.html","width":130,"caption":"Space and Rock details ","height":87});
															thumbnails[4085234] = clik.newPhoto({"id":4085234,"src":"Fritallaria_2_thumb.jpg","galleries_id":223665,"server_id":15,"link":"photo_4085234.html","width":130,"caption":"Pink Frittalaria","height":195});
															thumbnails[7644491] = clik.newPhoto({"id":7644491,"src":"_MG_3410_thumb.jpg","galleries_id":414102,"server_id":15,"link":"photo_7644491.html","width":130,"caption":"Wooden Railing Details - 1","height":87});
															thumbnails[3361779] = clik.newPhoto({"id":3361779,"src":"Lindis_cast1_thumb.jpg","galleries_id":237659,"server_id":15,"link":"photo_3361779.html","width":130,"caption":"Early am at Lindisfarne","height":195});
															thumbnails[7644957] = clik.newPhoto({"id":7644957,"src":"_MG_4088_thumb.jpg","galleries_id":414102,"server_id":15,"link":"photo_7644957.html","width":130,"caption":"Harris Tweed - chaos to order","height":87});
															thumbnails[4220283] = clik.newPhoto({"id":4220283,"src":"Eastbourne_Pier_Lights_thumb.jpg","galleries_id":240140,"server_id":15,"link":"photo_4220283.html","width":130,"caption":"Lights on the Pier, Eastbourne, Sussex","height":202});
															thumbnails[7694583] = clik.newPhoto({"id":7694583,"src":"_MG_4210_08_Cropped_thumb.jpg","galleries_id":414102,"server_id":15,"link":"photo_7694583.html","width":130,"caption":"Across the Loch","height":65});
															thumbnails[3525833] = clik.newPhoto({"id":3525833,"src":"Pine_Trees_GLap_thumb.jpg","galleries_id":215763,"server_id":15,"link":"photo_3525833.html","width":130,"caption":"Pine Trees late afternoon Ashdown Forest","height":164});
															thumbnails[3920136] = clik.newPhoto({"id":3920136,"src":"Sculpture_embleton_thumb.jpg","galleries_id":205304,"server_id":15,"link":"photo_3920136.html","width":130,"caption":"Beach Sculture Embleton Bay","height":195});
															thumbnails[7671327] = clik.newPhoto({"id":7671327,"src":"_MG_9122_Frame_thumb.jpg","galleries_id":205304,"server_id":15,"link":"photo_7671327.html","width":130,"caption":"Icicles are Nicelcles","height":204});
															thumbnails[7641057] = clik.newPhoto({"id":7641057,"src":"_MG_4289_Small_thumb.jpg","galleries_id":414102,"server_id":15,"link":"photo_7641057.html","width":130,"caption":"Standing Stone at Callinish","height":195});
															thumbnails[7459978] = clik.newPhoto({"id":7459978,"src":"4711297252_7d24dfc6ce_o_thumb.jpg","galleries_id":205304,"server_id":15,"link":"photo_7459978.html","width":130,"caption":"Abstract Water Fountain","height":182});
															thumbnails[7703418] = clik.newPhoto({"id":7703418,"src":"_MG_4277_BW_thumb.jpg","galleries_id":414102,"server_id":15,"link":"photo_7703418.html","width":130,"caption":"Stone Giants Talk","height":211});
															thumbnails[7636835] = clik.newPhoto({"id":7636835,"src":"_MG_3964_thumb.jpg","galleries_id":414102,"server_id":15,"link":"photo_7636835.html","width":130,"caption":"Lewisian Gneiss Rock Collection","height":195});
															thumbnails[7540985] = clik.newPhoto({"id":7540985,"src":"IMG_1344_Small_thumb.jpg","galleries_id":205304,"server_id":15,"link":"photo_7540985.html","width":130,"caption":"Lights, reflections and cleanliness","height":195});
															thumbnails[7644637] = clik.newPhoto({"id":7644637,"src":"_MG_4026_thumb.jpg","galleries_id":414102,"server_id":15,"link":"photo_7644637.html","width":130,"caption":"Bishop and Skull","height":195});
															thumbnails[7462423] = clik.newPhoto({"id":7462423,"src":"IMG_1470_thumb.jpg","galleries_id":205304,"server_id":15,"link":"photo_7462423.html","width":130,"caption":"King and Queeen at rest","height":195});
															thumbnails[7636840] = clik.newPhoto({"id":7636840,"src":"_MG_4012_thumb.jpg","galleries_id":414102,"server_id":15,"link":"photo_7636840.html","width":130,"caption":"Fields of Gold, Isle of Harris","height":195});
															thumbnails[7647687] = clik.newPhoto({"id":7647687,"src":"_MG_3837_thumb.jpg","galleries_id":414102,"server_id":15,"link":"photo_7647687.html","width":130,"caption":"Sunset, Gearrannan, Isle of Lewis","height":195});
															thumbnails[7644639] = clik.newPhoto({"id":7644639,"src":"_MG_4032_thumb.jpg","galleries_id":414102,"server_id":15,"link":"photo_7644639.html","width":130,"caption":"Tomb of Alexander Macleod","height":195});
															thumbnails[7644643] = clik.newPhoto({"id":7644643,"src":"_MG_4071_thumb.jpg","galleries_id":414102,"server_id":15,"link":"photo_7644643.html","width":130,"caption":"Desolation Window","height":195});
															thumbnails[7644905] = clik.newPhoto({"id":7644905,"src":"_MG_3802_thumb.jpg","galleries_id":414102,"server_id":15,"link":"photo_7644905.html","width":130,"caption":"Beauty of Abandonment","height":185});
															thumbnails[7644947] = clik.newPhoto({"id":7644947,"src":"_MG_4103_thumb.jpg","galleries_id":414102,"server_id":15,"link":"photo_7644947.html","width":130,"caption":"Window of the Past","height":173});
															thumbnails[7643347] = clik.newPhoto({"id":7643347,"src":"_MG_3605_tonemapped_thumb.jpg","galleries_id":414102,"server_id":15,"link":"photo_7643347.html","width":130,"caption":"Dun Carloway broch, Lewis, Scotland","height":195});
															thumbnails[7643512] = clik.newPhoto({"id":7643512,"src":"_MG_3388_7_tonemapped_thumb.jpg","galleries_id":414102,"server_id":15,"link":"photo_7643512.html","width":130,"caption":"Dail Mor Beach, Isle of Lewis, Hebrides, Scotland","height":157});
															thumbnails[7643502] = clik.newPhoto({"id":7643502,"src":"_MG_4085_thumb.jpg","galleries_id":414102,"server_id":15,"link":"photo_7643502.html","width":130,"caption":"Cables for Harris Tweed","height":177});
															thumbnails[7644395] = clik.newPhoto({"id":7644395,"src":"_MG_3656_thumb.jpg","galleries_id":414102,"server_id":15,"link":"photo_7644395.html","width":130,"caption":"Is it swarm of snakes?","height":190});
															thumbnails[7644461] = clik.newPhoto({"id":7644461,"src":"_MG_3448_thumb.jpg","galleries_id":414102,"server_id":15,"link":"photo_7644461.html","width":130,"caption":"Invasion of the Stones","height":195});
															thumbnails[7641050] = clik.newPhoto({"id":7641050,"src":"_MG_3307_thumb.jpg","galleries_id":414102,"server_id":15,"link":"photo_7641050.html","width":130,"caption":"Not Mor but Less (Beag)","height":200});
															thumbnails[7644617] = clik.newPhoto({"id":7644617,"src":"_MG_3992_bw_thumb.jpg","galleries_id":414102,"server_id":15,"link":"photo_7644617.html","width":130,"caption":"Shapes in the flats","height":170});
															thumbnails[7695750] = clik.newPhoto({"id":7695750,"src":"_MG_3986_thumb.jpg","galleries_id":414102,"server_id":15,"link":"photo_7695750.html","width":130,"caption":"Sheep on Salt Flats","height":195});
															thumbnails[7679841] = clik.newPhoto({"id":7679841,"src":"_MG_3328_Frame_thumb.jpg","galleries_id":414102,"server_id":15,"link":"photo_7679841.html","width":130,"caption":"Gneiss Rocks on Dail Beg beach","height":195});
															thumbnails[7679947] = clik.newPhoto({"id":7679947,"src":"_MG_4017_thumb.jpg","galleries_id":414102,"server_id":15,"link":"photo_7679947.html","width":130,"caption":"Grave slowly disappearing","height":195});
															thumbnails[8776630] = clik.newPhoto({"id":8776630,"src":"_MG_2437_tonemapped_0574A1CB-1EC9-D45B-1C2001FD0C6329D8_thumb.jpg","galleries_id":213928,"server_id":15,"link":"photo_8776630.html","width":130,"caption":"Forest Gate in Snow, Ashdown Forest","height":87});
															thumbnails[8805892] = clik.newPhoto({"id":8805892,"src":"Calendar_Cover_thumb.jpg","galleries_id":213928,"server_id":15,"link":"photo_8805892.html","width":130,"caption":"2011 Limited Edition Calendar","height":93});
															thumbnails[8776651] = clik.newPhoto({"id":8776651,"src":"5923500129_a04a9b8946_o_thumb.jpg","galleries_id":213928,"server_id":15,"link":"photo_8776651.html","width":130,"caption":"Book: Caught In A Moment","height":123});
															thumbnails[5685988] = clik.newPhoto({"id":5685988,"src":"Front_Cover_thumb.jpg","galleries_id":213928,"server_id":15,"link":"photo_5685988.html","width":130,"caption":"Book: Glimpses of the Forest","height":108});
															thumbnails[4981642] = clik.newPhoto({"id":4981642,"src":"FC_Snow_thumb.jpg","galleries_id":213928,"server_id":15,"link":"photo_4981642.html","width":130,"caption":"Christmas Greeting Card","height":87});
															thumbnails[5341060] = clik.newPhoto({"id":5341060,"src":"_MG_9044_thumb.jpg","galleries_id":213928,"server_id":15,"link":"photo_5341060.html","width":130,"caption":"Golden Light of Winter","height":154});
															thumbnails[5341261] = clik.newPhoto({"id":5341261,"src":"_MG_9050_thumb.jpg","galleries_id":213928,"server_id":15,"link":"photo_5341261.html","width":130,"caption":"Christ Church Fairwarp bathed in golden light","height":87});
															thumbnails[3497342] = clik.newPhoto({"id":3497342,"src":"Ellisons_Pond_2_thumb.jpg","galleries_id":213928,"server_id":15,"link":"photo_3497342.html","width":130,"caption":"Greetings Card: Ellison's Pond Late Afternoon, Ashdown Forest","height":87});
															thumbnails[6297257] = clik.newPhoto({"id":6297257,"src":"_MG_9248_6_7_Square_A90C9AF4-24E8-5EC4-4F08B7750AAA22AC_thumb.jpg","galleries_id":213928,"server_id":15,"link":"photo_6297257.html","width":130,"caption":"Misty Afternoon over \"The Garden of Eden\"","height":135});
															thumbnails[6297383] = clik.newPhoto({"id":6297383,"src":"_MG_9389_A924EDC2-24E8-5EC4-4FFE72D2577387CE_thumb.jpg","galleries_id":213928,"server_id":15,"link":"photo_6297383.html","width":130,"caption":"Fallow Deer at Nutley, near the Marlpits","height":87});
															thumbnails[6297435] = clik.newPhoto({"id":6297435,"src":"_MG_9564_2_3_noframe_A92DD2D7-24E8-5EC4-4F9C7BB99CE313FC_thumb.jpg","galleries_id":213928,"server_id":15,"link":"photo_6297435.html","width":130,"caption":"A Special Light at The Mill Stream, Crowbrough Warren","height":86});
															thumbnails[6297222] = clik.newPhoto({"id":6297222,"src":"_MG_7942_3_4_Sq_A906787D-24E8-5EC4-4F5DFE93DCE70D80_thumb.jpg","galleries_id":213928,"server_id":15,"link":"photo_6297222.html","width":130,"caption":"Climbing up from the North Pole","height":126});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[213928] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Cards, Books and Calendars","link":"section262952.html","maxRecords":0.0,"photoIDs":[8776630.0,8805892.0,8776651.0,5685988.0,4981642.0,5341060.0,5341261.0,3497342.0,6297257.0,6297383.0,6297435.0,6297222.0],"skipIndex":0,"section_code":"section262952","featured_images":3497342.0,"id":213928,"singleSection":true});				  						galleries[462104] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Ever Changing World","link":"gallery_462104.html","maxRecords":0.0,"photoIDs":[8836938.0,8776400.0,8776441.0,8776462.0],"skipIndex":0,"section_code":"gallery","featured_images":"8836938,8776400","id":462104,"singleSection":false});				  						galleries[405689] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Wedding Photography","link":"gallery_405689.html","maxRecords":0.0,"photoIDs":[7483276.0,7483296.0],"skipIndex":0,"section_code":"gallery","featured_images":"7483296,7483276","id":405689,"singleSection":false});				  						galleries[414102] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Outer Hebrides","link":"gallery_414102.html","maxRecords":0.0,"photoIDs":[7644497.0,7647725.0,7636829.0,7643684.0,7644414.0,7644431.0,7644454.0,7644609.0,7644622.0,7643664.0,7644480.0,7644491.0,7644957.0,7694583.0,7641057.0,7703418.0,7636835.0,7644637.0,7636840.0,7647687.0,7644639.0,7644643.0,7644905.0,7644947.0,7643347.0,7643512.0,7643502.0,7644395.0,7644461.0,7641050.0,7644617.0,7695750.0,7679841.0,7679947.0],"skipIndex":0,"section_code":"gallery","featured_images":"7647687,7644497,7636835,7636829","id":414102,"singleSection":false});				  						galleries[404062] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"North Yorkshire","link":"gallery_404062.html","maxRecords":0.0,"photoIDs":[3361720.0,3361673.0,3366835.0,4725827.0,7158583.0,7541032.0,3361645.0,3367404.0],"skipIndex":0,"section_code":"gallery","featured_images":"7541032,4725827,3361720,3361673","id":404062,"singleSection":false});				  						galleries[204196] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Other Places","link":"gallery_204196.html","maxRecords":0.0,"photoIDs":[7459101.0,4218782.0,4008569.0,4725758.0,4725790.0,5631998.0],"skipIndex":0,"section_code":"gallery","featured_images":4008569.0,"id":204196,"singleSection":false});				  						galleries[285448] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"London","link":"gallery_285448.html","maxRecords":0.0,"photoIDs":[9069650.0,9069656.0,9069807.0,9069808.0,9069646.0,7816683.0,7751676.0,7761187.0,7761531.0,7761568.0,5044285.0,5044293.0,5044326.0,5044339.0,5044342.0,7533109.0],"skipIndex":0,"section_code":"gallery","featured_images":"9069656,9069646,7816683,7761568,7761531,7761187","id":285448,"singleSection":false});				  						galleries[204197] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Flora and Fauna","link":"gallery_204197.html","maxRecords":0.0,"photoIDs":[9069786.0,7747255.0,7747277.0,7138626.0,5334476.0,5334453.0,5334418.0,5826031.0,7110873.0],"skipIndex":0,"section_code":"gallery","featured_images":"9069786,7747277,7747255","id":204197,"singleSection":false});				  						galleries[240140] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Sussex and Kent","link":"gallery_240140.html","maxRecords":0.0,"photoIDs":[7703920.0,7452965.0,5431154.0,5453544.0,4153176.0,4134547.0,4084228.0,4220085.0,4008558.0,3957983.0,3958011.0,3366641.0,5453383.0,4065944.0,4725751.0,7111058.0,7458311.0,7458979.0,7459885.0,7670931.0,4065965.0,3362715.0,3984674.0,3839920.0,4220283.0],"skipIndex":0,"section_code":"gallery","featured_images":"7458311,7452965,4725751,4084228","id":240140,"singleSection":false});				  						galleries[215763] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Ashdown Forest","link":"gallery_215763.html","maxRecords":0.0,"photoIDs":[7262137.0,7262132.0,7158554.0,7158568.0,7138629.0,5522058.0,5648679.0,5334349.0,5334364.0,5003224.0,5003239.0,3525848.0,3641966.0,5003336.0,5194021.0,7110928.0,7158624.0,7459049.0,7541027.0,3840440.0,3628164.0,3525833.0],"skipIndex":0,"section_code":"gallery","featured_images":"7158554,3628164","id":215763,"singleSection":false});				  						galleries[237659] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Northumberland","link":"gallery_237659.html","maxRecords":0.0,"photoIDs":[3920151.0,3936607.0,3361861.0,3452938.0,3914931.0,3914967.0,3936134.0,3920140.0,3362566.0,3361779.0],"skipIndex":0,"section_code":"gallery","featured_images":"3920151,3361861","id":237659,"singleSection":false});				  						galleries[436534] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Wales","link":"gallery_436534.html","maxRecords":0.0,"photoIDs":[8776548.0,9069794.0,8173364.0,8173378.0,8173389.0,7906303.0,7906313.0,3797114.0],"skipIndex":0,"section_code":"gallery","featured_images":"8173364,7906313,7906303,3797114","id":436534,"singleSection":false});				  						galleries[405473] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Black and White","link":"gallery_405473.html","maxRecords":0.0,"photoIDs":[9069796.0,7680645.0,7483210.0,7483216.0,7680651.0,7680679.0,7478782.0],"skipIndex":0,"section_code":"gallery","featured_images":"7680651,7680645,7478782","id":405473,"singleSection":false});				  						galleries[223665] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Wild and Garden Flowers","link":"gallery_223665.html","maxRecords":0.0,"photoIDs":[7826489.0,7751682.0,7761572.0,7703899.0,7458304.0,9069780.0,7110952.0,5799220.0,5631967.0,5202719.0,5202727.0,4084222.0,4066500.0,3662151.0,3662418.0,3662753.0,4725551.0,4725798.0,3662372.0,4085234.0],"skipIndex":0,"section_code":"gallery","featured_images":"9069780,7826489,7751682,7703899,4725551,4084222","id":223665,"singleSection":false});				  						galleries[418908] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Animals and Birds","link":"gallery_418908.html","maxRecords":0.0,"photoIDs":[9069769.0,7679637.0,7679693.0,7679699.0,7679764.0,7679806.0,5521728.0,3914884.0,3914890.0,7829486.0,9069754.0,9069699.0,3392319.0,4725769.0,7110871.0],"skipIndex":0,"section_code":"gallery","featured_images":"9069754,9069699,7829486,7679806,7679764,7110871","id":418908,"singleSection":false});				  						galleries[205304] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Miscellaneous","link":"gallery_205304.html","maxRecords":0.0,"photoIDs":[7826501.0,7670890.0,7671681.0,5334504.0,3366458.0,7671039.0,3364853.0,4066467.0,7541005.0,7544032.0,7110949.0,3920136.0,7671327.0,7459978.0,7540985.0,7462423.0],"skipIndex":0,"section_code":"gallery","featured_images":"7670890,4066467,3920136","id":205304,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '9069808,9069786,9069780,9069754,9069646,7158583,5453544,3920151,3361861,8776400,7636829,8776441,6297222,7636840,7647687';
imageSets[2] = '9069786,9069780,9069754,9069699,9069656,9069646,8836938,8173364,7906313,7906303,7829486,7826489,7816683,7761568,7761531,7761187,7751682,7747277,7747255,7703899,7680651,7680645,7679806,7679764,7670890,7541032,7483296,7483276,7458311,7452965,7158554,7110871,4725827,4725751,4725551,4084228,4084222,4008569,3920151,3797114,3361861,3361720,3361673,7644497,8776400,7636829,7478782,3628164,4066467,3497342,3920136,7636835,7647687';
imageSets[3] = '6297222';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/cgwmvr/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/cgwmvr/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/cgwmvr/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/cgwmvr/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/cgwmvr/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/cgwmvr/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/cgwmvr/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/cgwmvr/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/cgwmvr/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/cgwmvr/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/cgwmvr/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/cgwmvr/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/cgwmvr/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/cgwmvr/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/cgwmvr/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/cgwmvr/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/cgwmvr/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/cgwmvr/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/cgwmvr/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/cgwmvr/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/cgwmvr/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/cgwmvr/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/cgwmvr/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/cgwmvr/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/cgwmvr/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/cgwmvr/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/cgwmvr/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 = 'Craig G Williams Photography: ' + photoCaption;
			    }
        if (op.$detail.length > 0) {
      	temp = op.nextPhoto.fnGetImageDetails();
	    op.$detail.fadeGalleryDetails(temp, op.speed, function(){
			if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
				toggleAddToCartConfirm(backgrounds, op.$detail);
			} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
				toggleAddToCartConfirm(photos, op.$detail);
			}
			$('body').trigger('clikUpdate.popup');
	    });
    }
        $(op.$detailContainer).find('.replaceable[class*=replaceable_photo-]').each(function(){
    	var field = clik.getPrefixedClass(this.className, 'replaceable_photo-');
    	if (field in op.nextPhoto) {
    		$(this).fadeGalleryDetails(op.nextPhoto[field], op.speed);
    	}
    }).end().find('.replaceable.photoPayment').fadeGalleryDetails(op.nextPhoto.fnGetPaymentInfo(), op.speed, function(){
		if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
			toggleAddToCartConfirm(backgrounds, op.$detailContainer);
		} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
			toggleAddToCartConfirm(photos, op.$detailContainer);
		}
		$('body').trigger('clikUpdate.popup');
	});
		if (op.$photo.length > 0) {
		html = $('<img/>',{
			'class': 'mainphoto photo',
			src: photoSrc,
			id: 'mainPic',
			name: 'mainPic',
			width: op.nextPhoto.width,
			height: op.nextPhoto.height,
			alt: photoCaption,
			css: op.css || {}
		});
		if (op.href) {
			if (op.href.match(/<a/)) {
				html = $(op.href).append(html);
			} else {
				html = $('<a/>', {
					href: op.href,
					title: photoCaption
				}).append(html);
			}
		} else {
			html = $('<a/>', {
				title: photoCaption
			}).append(html);
		}
		if (op.speed == 0) {			op.$photo.html(html);			if (op.onBefore) {			  	op.onBefore.apply(op.$photo);			}			if (op.onAfter) {			  	op.onAfter.apply(op.$photo);			}		} else {			op.$photo.stop(true,true).fadeReplaceWith(html,op.speed,'',function(){  				if (op.onAfter) {				  	op.onAfter.apply(this);				}				clik.doColumnResize(false, $(this).add(op.$detail).add(op.$title));			}, op.onBefore);
		}	}
    if (op.field) {
		op.field.value = photoId;
	} else {
		op.$photo.data('image_id', photoId);
    }
        if (!op.speed) {
      	clik.doColumnResize(false, op.$photo.add(op.$detail).add(op.$title));
    }
        
    return html;
	}

/***************************************************************************
* Toggle add to cart confirmation element and set up the click event for   *
* the 'Add to cart' button.                                                *
***************************************************************************/
function toggleAddToCartConfirm(array, root){
	if (typeof(array) !== 'object' || array === null) {
	  	array = photos;
	}
	if (!$(root).length) {		root = $('body');	}	if($('#paymentConfirm', root).length > 0){
		$('#paymentConfirm', root).hide();
		$('#paymentAddButton', root)
		.unbind()
		.click(function(){
						form = $('#paymentForm', root)[0];
			option_id = 0;
			if(form.item_option.value){
				option_id = form.item_option.value;
			}
			if(addItemToBasket(form.item_number.value,array,form.site.value,parseInt(form.quantity.value, 10),option_id)){
				if($.browser.msie){$('#paymentConfirm', root).text('Item added to cart').show();}
				else{
					$('#paymentConfirm', root).text('Item added to cart').fadeIn();
					dspOrderDetails(form.site.value);
				}
			}
			else{
				$('#paymentConfirm', root).text('Item not added - check cookies are enabled in your browser.').fadeIn();
			}
		});
	}
}

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetImageDetails = function(){
	var temp = '';
	if (this.description != '') {
		temp +=  '<div id="imageDescription">' + this.description + '</div>';
	}
		if (this.photo_ref != '') {
		temp += '<div class="imageinfo" id="imageRef"><strong>Ref: </strong>' + this.photo_ref + '</div>';
	}
		if (this.takendate != '') {
		
		temp += '<div class="imageinfo" id="imageDate"><strong>Date: </strong>' + this.takendate + '</div>';
	}
	
	if (this.location != '') {
		
		temp += '<div class="imageinfo" id="imageLocation"><strong>Location: </strong>' +  this.location + '</div>';
	}
	
	if (this.photographer != '') {
		
		temp += '<div class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>' + this.photographer + '</div>';
	}
				
	temp += this.fnGetPaymentInfo();
				if (temp != '') {
		temp += '<div class="spacer"></div>';
	}
	return temp;
};

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetPaymentInfo = function(){
	var temp = '';
	if (this.item_price !== '') {
																		temp += '<p>Buy now using PayPal:</p>';
				temp += '<div class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> &pound;' + (this.item_price).toFixed(2) + '</div>';
		var item_name  = this.purchase_instruction;
		var amount = (this.item_price).toFixed(2);
		var item_option  = 0;
	}
		else if (this.payment_groups_id !== '') {
		temp += '<p>Buy this print online:</p>';
				temp += '<form id="paymentOptions" style="margin:0px;border:0px;" name="paymentOptions">';
		 									temp += '<select class="paymentlink" name="payment_options_id" onchange="updateCartValue($(this.form).next(\'#paymentForm\')[0],this.form.payment_options_id.options[this.form.payment_options_id.options.selectedIndex].value); if(divShowing(\'paymentConfirm\')){fadeOut(\'paymentConfirm\', 3)};">';
		
		temp += getPaymentOptions(this.payment_groups_id);
		temp += '</select>';
		temp += '</form>';
				var item_option  = paymentGroups[this.payment_groups_id].options[0];
		if(paymentOptions[item_option]){
			var item_name  = paymentOptions[item_option].payment_option;
			var amount =  paymentOptions[item_option].price;
		}
			}
		else {
		
	}
	if (this.item_price !== '' || this.payment_groups_id !== '') {
											temp += '<form id="paymentForm" style="margin:0px;border:0px;" name="paymentForm">';
			temp += '	<input type="hidden" name="item_option" value="' + item_option + '">';
			temp += '	<input type="hidden" name="site" value="CGWMVR">';
			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;
	}
}

			

