window.thumbnails = {};
															thumbnails[8829374] = clik.newPhoto({"id":8829374,"src":"Broken-Fence_5BCADDA2-1EC9-DFB6-09A21B077EDB2BB2_thumb.jpg","galleries_id":464553,"server_id":5,"link":"photo_8829374.html","width":130,"caption":"Broken Fence","height":47});
															thumbnails[8829379] = clik.newPhoto({"id":8829379,"src":"Pulpit-Rock_thumb.jpg","galleries_id":464553,"server_id":5,"link":"photo_8829379.html","width":87,"caption":"Pulpit Rock","height":130});
															thumbnails[8829380] = clik.newPhoto({"id":8829380,"src":"Little-Wenlock-Harvest-2_thumb.jpg","galleries_id":464553,"server_id":5,"link":"photo_8829380.html","width":130,"caption":"Little Wenlock Harvest","height":86});
															thumbnails[8829384] = clik.newPhoto({"id":8829384,"src":"Grasses_5BFED48A-1EC9-DFB6-0984E123ECE1495B_thumb.jpg","galleries_id":464553,"server_id":5,"link":"photo_8829384.html","width":93,"caption":"Grasses","height":130});
															thumbnails[8829386] = clik.newPhoto({"id":8829386,"src":"Windblown-Maple-Leaves_thumb.jpg","galleries_id":464553,"server_id":5,"link":"photo_8829386.html","width":130,"caption":"Windblown Maples","height":87});
															thumbnails[8829388] = clik.newPhoto({"id":8829388,"src":"From-Wenlock-Edge_thumb.jpg","galleries_id":464553,"server_id":5,"link":"photo_8829388.html","width":130,"caption":"From Wenlock Edge","height":82});
															thumbnails[8830240] = clik.newPhoto({"id":8830240,"src":"Windswept_thumb.jpg","galleries_id":464553,"server_id":5,"link":"photo_8830240.html","width":87,"caption":"Windswept","height":130});
															thumbnails[8830242] = clik.newPhoto({"id":8830242,"src":"Rydal-Water-Mist_thumb.jpg","galleries_id":464553,"server_id":5,"link":"photo_8830242.html","width":130,"caption":"Rydal Water Mist","height":46});
															thumbnails[8830248] = clik.newPhoto({"id":8830248,"src":"Poppies-and-Yellow-Rapeseed_thumb.jpg","galleries_id":464553,"server_id":5,"link":"photo_8830248.html","width":130,"caption":"Poppies and Yellow Rapeseed","height":52});
															thumbnails[8830251] = clik.newPhoto({"id":8830251,"src":"Limestone-and-Pebbles_thumb.jpg","galleries_id":464553,"server_id":5,"link":"photo_8830251.html","width":104,"caption":"Limestone and Pebbles","height":130});
															thumbnails[8830253] = clik.newPhoto({"id":8830253,"src":"Big-Eye-Daisies_thumb.jpg","galleries_id":464553,"server_id":5,"link":"photo_8830253.html","width":87,"caption":"Big Eye Daisies","height":130});
															thumbnails[8842249] = clik.newPhoto({"id":8842249,"src":"Reflections_D7675D4D-1EC9-D45B-1C2A82A45EE1F30A_thumb.jpg","galleries_id":464553,"server_id":5,"link":"photo_8842249.html","width":87,"caption":"Reflections","height":130});
															thumbnails[8842253] = clik.newPhoto({"id":8842253,"src":"Summer-Flowers_D77BC105-1EC9-D45B-1C56E1B03CED5C29_thumb.jpg","galleries_id":464553,"server_id":5,"link":"photo_8842253.html","width":93,"caption":"Summer Mix","height":130});
															thumbnails[8842256] = clik.newPhoto({"id":8842256,"src":"Big-Eye-Daisy_D7874661-1EC9-D45B-1CD8C7A0B25182A2_thumb.jpg","galleries_id":464553,"server_id":5,"link":"photo_8842256.html","width":87,"caption":"Daisy and Poppies","height":130});
															thumbnails[8843916] = clik.newPhoto({"id":8843916,"src":"Shades-of-Autumn_F36B954E-24E8-5EC4-4F480723B0C7130A_thumb.jpg","galleries_id":464553,"server_id":5,"link":"photo_8843916.html","width":130,"caption":"Shades of Autumn","height":87});
															thumbnails[8843950] = clik.newPhoto({"id":8843950,"src":"Towards-Leighton-Meander_F375D69D-24E8-5EC4-4F2032C0097E66BC_thumb.jpg","galleries_id":464553,"server_id":5,"link":"photo_8843950.html","width":130,"caption":"Towards Leighton Meander","height":86});
															thumbnails[8843952] = clik.newPhoto({"id":8843952,"src":"Autumn-Leaves_F37F755D-24E8-5EC4-4FD9257DA61C4E61_thumb.jpg","galleries_id":464553,"server_id":5,"link":"photo_8843952.html","width":87,"caption":"Autumn Leaves","height":130});
															thumbnails[8843954] = clik.newPhoto({"id":8843954,"src":"Daisies_F3886040-24E8-5EC4-4FE078C76BFA3D5D_thumb.jpg","galleries_id":464553,"server_id":5,"link":"photo_8843954.html","width":130,"caption":"Daisies","height":52});
															thumbnails[8843956] = clik.newPhoto({"id":8843956,"src":"_DSC0014c_F38F2716-24E8-5EC4-4F1FB11B9D86127E_thumb.jpg","galleries_id":464553,"server_id":5,"link":"photo_8843956.html","width":87,"caption":"Tiger Lily","height":130});
															thumbnails[8843960] = clik.newPhoto({"id":8843960,"src":"Forest-Fantasy-2_F3A35FF3-24E8-5EC4-4F2F9DCECC590AD7_thumb.jpg","galleries_id":464553,"server_id":5,"link":"photo_8843960.html","width":130,"caption":"The Forest","height":87});
															thumbnails[8843969] = clik.newPhoto({"id":8843969,"src":"Autumn-Leaf_F3C62BAA-24E8-5EC4-4F0448759895DD38_thumb.jpg","galleries_id":464553,"server_id":5,"link":"photo_8843969.html","width":130,"caption":"Autumn Leaf","height":130});
															thumbnails[8843971] = clik.newPhoto({"id":8843971,"src":"Frosted-Leaf-2_F3CDB361-24E8-5EC4-4F7E3B64C672F909_thumb.jpg","galleries_id":464553,"server_id":5,"link":"photo_8843971.html","width":130,"caption":"Frosted Leaf","height":130});
															thumbnails[8843973] = clik.newPhoto({"id":8843973,"src":"Spring-Fantasy_F3D901B2-24E8-5EC4-4FE2488DD9664F66_thumb.jpg","galleries_id":464553,"server_id":5,"link":"photo_8843973.html","width":130,"caption":"Spring Fantasy","height":87});
															thumbnails[9033062] = clik.newPhoto({"id":9033062,"src":"Whats-Your-Poison_thumb.jpg","galleries_id":464553,"server_id":5,"link":"photo_9033062.html","width":86,"caption":"What's Your Poison","height":130});
															thumbnails[3095028] = clik.newPhoto({"id":3095028,"src":"Barracks (correct)JPG_thumb.jpg","galleries_id":189839,"server_id":5,"link":"photo_3095028.html","width":130,"caption":"The Barracks","height":85});
															thumbnails[3095034] = clik.newPhoto({"id":3095034,"src":"Breaking WaveJPG_thumb.jpg","galleries_id":189839,"server_id":5,"link":"photo_3095034.html","width":130,"caption":"Storm Force","height":86});
															thumbnails[3095456] = clik.newPhoto({"id":3095456,"src":"Cascade_thumb.jpg","galleries_id":189839,"server_id":5,"link":"photo_3095456.html","width":130,"caption":"Cascade","height":87});
															thumbnails[3095461] = clik.newPhoto({"id":3095461,"src":"Trees in the mist (New)JPG_thumb.jpg","galleries_id":189833,"server_id":5,"link":"photo_3095461.html","width":130,"caption":"Trees in the Mist","height":85});
															thumbnails[3095476] = clik.newPhoto({"id":3095476,"src":"New Quay Beach 2 (Print)JPG_thumb.jpg","galleries_id":189839,"server_id":5,"link":"photo_3095476.html","width":130,"caption":"Incoming tide ","height":85});
															thumbnails[3095503] = clik.newPhoto({"id":3095503,"src":"White Cherry Bloom 3 (SS100)JPG_thumb.jpg","galleries_id":189686,"server_id":5,"link":"photo_3095503.html","width":130,"caption":"Cherry Blossom","height":83});
															thumbnails[3095513] = clik.newPhoto({"id":3095513,"src":"White Cherry Bloom 2AAAJPG_thumb.jpg","galleries_id":189686,"server_id":5,"link":"photo_3095513.html","width":130,"caption":"Cherry Blossom #2","height":83});
															thumbnails[3095526] = clik.newPhoto({"id":3095526,"src":"Flower meadow 2JPG_thumb.jpg","galleries_id":189686,"server_id":5,"link":"photo_3095526.html","width":130,"caption":"Wild Flower Meadow","height":130});
															thumbnails[3095815] = clik.newPhoto({"id":3095815,"src":"Frosted-Trees-2_thumb.jpg","galleries_id":189833,"server_id":5,"link":"photo_3095815.html","width":130,"caption":"Frosted Trees","height":85});
															thumbnails[3095827] = clik.newPhoto({"id":3095827,"src":"Snow, Trees, Fence 2JPG_thumb.jpg","galleries_id":189839,"server_id":5,"link":"photo_3095827.html","width":130,"caption":"Fences and Hedges","height":85});
															thumbnails[3096836] = clik.newPhoto({"id":3096836,"src":"Giants of the Night JPG_thumb.jpg","galleries_id":190135,"server_id":5,"link":"photo_3096836.html","width":130,"caption":"Giants of the Night","height":87});
															thumbnails[3096968] = clik.newPhoto({"id":3096968,"src":"Crib Goch (Print)JPG_thumb.jpg","galleries_id":189839,"server_id":5,"link":"photo_3096968.html","width":130,"caption":"Crib Goch","height":85});
															thumbnails[3097058] = clik.newPhoto({"id":3097058,"src":"Narcisi NEWJPG_thumb.jpg","galleries_id":189686,"server_id":5,"link":"photo_3097058.html","width":130,"caption":"Narcisi","height":85});
															thumbnails[3098234] = clik.newPhoto({"id":3098234,"src":"Reeds (Horiz Print) Blue001_thumb.jpg","galleries_id":190135,"server_id":5,"link":"photo_3098234.html","width":130,"caption":"Reflections","height":85});
															thumbnails[3098288] = clik.newPhoto({"id":3098288,"src":"trees in the mist (Duotone)JPG_thumb.jpg","galleries_id":190135,"server_id":5,"link":"photo_3098288.html","width":130,"caption":"Trees in the Mist","height":83});
															thumbnails[3098293] = clik.newPhoto({"id":3098293,"src":"daisies 4 (CROPPED)JPG_thumb.jpg","galleries_id":190135,"server_id":5,"link":"photo_3098293.html","width":130,"caption":"Daisey Impression","height":86});
															thumbnails[3098294] = clik.newPhoto({"id":3098294,"src":"Ferns (Second Version)JPG_thumb.jpg","galleries_id":189833,"server_id":5,"link":"photo_3098294.html","width":130,"caption":"Autumn Glow","height":86});
															thumbnails[3098298] = clik.newPhoto({"id":3098298,"src":"Diffused Flowers (Edges 2)JPG_thumb.jpg","galleries_id":189686,"server_id":5,"link":"photo_3098298.html","width":130,"caption":"Flower Impression","height":65});
															thumbnails[3098300] = clik.newPhoto({"id":3098300,"src":"Morning LightJPG_thumb.jpg","galleries_id":189835,"server_id":5,"link":"photo_3098300.html","width":130,"caption":"Morning Light","height":84});
															thumbnails[3098301] = clik.newPhoto({"id":3098301,"src":"Rydal Tree 2JPG_thumb.jpg","galleries_id":189835,"server_id":5,"link":"photo_3098301.html","width":130,"caption":"Golden Mist","height":86});
															thumbnails[3098302] = clik.newPhoto({"id":3098302,"src":"Rydal Tree 3JPG_thumb.jpg","galleries_id":189835,"server_id":5,"link":"photo_3098302.html","width":130,"caption":"Oak Tree","height":85});
															thumbnails[3098477] = clik.newPhoto({"id":3098477,"src":"Apley Reflections 2JPG_thumb.jpg","galleries_id":190135,"server_id":5,"link":"photo_3098477.html","width":130,"caption":"Reflections","height":87});
															thumbnails[3098484] = clik.newPhoto({"id":3098484,"src":"Apley Single TwigJPG_thumb.jpg","galleries_id":190135,"server_id":5,"link":"photo_3098484.html","width":130,"caption":"Reflections","height":87});
															thumbnails[3098493] = clik.newPhoto({"id":3098493,"src":"Crib Goch across lake 2 (SS100)JPG_thumb.jpg","galleries_id":189839,"server_id":5,"link":"photo_3098493.html","width":130,"caption":"Crib Goch","height":84});
															thumbnails[3098494] = clik.newPhoto({"id":3098494,"src":"Diffused Leaf (Diffused Glow)JPG1_thumb.jpg","galleries_id":189686,"server_id":5,"link":"photo_3098494.html","width":130,"caption":"Cherry Leaves","height":84});
															thumbnails[3098507] = clik.newPhoto({"id":3098507,"src":"Distant Ruin (new)JPG_thumb.jpg","galleries_id":189839,"server_id":5,"link":"photo_3098507.html","width":130,"caption":"Distant Ruin","height":86});
															thumbnails[3098523] = clik.newPhoto({"id":3098523,"src":"Apley Birch 2JPG_thumb.jpg","galleries_id":190135,"server_id":5,"link":"photo_3098523.html","width":130,"caption":"Floating Beech Leaf","height":87});
															thumbnails[3102687] = clik.newPhoto({"id":3102687,"src":"Simply PetalsJPG_thumb.jpg","galleries_id":189686,"server_id":5,"link":"photo_3102687.html","width":130,"caption":"Simply Petals","height":130});
															thumbnails[3102840] = clik.newPhoto({"id":3102840,"src":"Rolling-Mist_thumb.jpg","galleries_id":189833,"server_id":5,"link":"photo_3102840.html","width":130,"caption":"Rolling Mist","height":87});
															thumbnails[3102866] = clik.newPhoto({"id":3102866,"src":"Autumn-Impression_thumb.jpg","galleries_id":190135,"server_id":5,"link":"photo_3102866.html","width":130,"caption":"Autumn Impression","height":87});
															thumbnails[3102875] = clik.newPhoto({"id":3102875,"src":"Stokesay CastleJPG_thumb.jpg","galleries_id":189833,"server_id":5,"link":"photo_3102875.html","width":130,"caption":"Stokesay Castle","height":80});
															thumbnails[3102956] = clik.newPhoto({"id":3102956,"src":"BeechesJPG_thumb.jpg","galleries_id":190135,"server_id":5,"link":"photo_3102956.html","width":130,"caption":"Beech Trees","height":87});
															thumbnails[3102961] = clik.newPhoto({"id":3102961,"src":"Ebb-and-Flow-3_thumb.jpg","galleries_id":190135,"server_id":5,"link":"photo_3102961.html","width":130,"caption":"Cascade","height":85});
															thumbnails[3102968] = clik.newPhoto({"id":3102968,"src":"Rydal-Water-Reflections_thumb.jpg","galleries_id":189835,"server_id":5,"link":"photo_3102968.html","width":130,"caption":"Reflections","height":87});
															thumbnails[3104081] = clik.newPhoto({"id":3104081,"src":"Rydal across lakeJPG_thumb.jpg","galleries_id":189835,"server_id":5,"link":"photo_3104081.html","width":130,"caption":"Rydal Water","height":85});
															thumbnails[3105034] = clik.newPhoto({"id":3105034,"src":"Langdales 2JPG_thumb.jpg","galleries_id":189835,"server_id":5,"link":"photo_3105034.html","width":130,"caption":"Langdales","height":87});
															thumbnails[3105035] = clik.newPhoto({"id":3105035,"src":"Langdales_thumb.jpg","galleries_id":189835,"server_id":5,"link":"photo_3105035.html","width":130,"caption":"Langdale","height":87});
															thumbnails[3122266] = clik.newPhoto({"id":3122266,"src":"OrchidJPG_thumb.jpg","galleries_id":189686,"server_id":5,"link":"photo_3122266.html","width":130,"caption":"Orchid","height":130});
															thumbnails[3122420] = clik.newPhoto({"id":3122420,"src":"Cascade 2JPG_thumb.jpg","galleries_id":190135,"server_id":5,"link":"photo_3122420.html","width":130,"caption":"Foaming Waters","height":87});
															thumbnails[3122451] = clik.newPhoto({"id":3122451,"src":"Tree-in-the-Mist_thumb.jpg","galleries_id":189833,"server_id":5,"link":"photo_3122451.html","width":120,"caption":"Misty Trees","height":130});
															thumbnails[3122454] = clik.newPhoto({"id":3122454,"src":"Stranded-Rock_thumb.jpg","galleries_id":190135,"server_id":5,"link":"photo_3122454.html","width":130,"caption":"Stranded Rock","height":87});
															thumbnails[3122459] = clik.newPhoto({"id":3122459,"src":"Autumn-on-the-Ercall_thumb.jpg","galleries_id":189833,"server_id":5,"link":"photo_3122459.html","width":130,"caption":"Autumn on the Ercall","height":87});
															thumbnails[3122473] = clik.newPhoto({"id":3122473,"src":"Bales-2_thumb.jpg","galleries_id":189833,"server_id":5,"link":"photo_3122473.html","width":130,"caption":"Shropshire Harvest #2","height":85});
															thumbnails[3122579] = clik.newPhoto({"id":3122579,"src":"Dahlia_thumb.jpg","galleries_id":189686,"server_id":5,"link":"photo_3122579.html","width":130,"caption":"Dahlia","height":87});
															thumbnails[3122594] = clik.newPhoto({"id":3122594,"src":"Two-Trees_thumb.jpg","galleries_id":190135,"server_id":5,"link":"photo_3122594.html","width":130,"caption":"Two Trees","height":59});
															thumbnails[3122615] = clik.newPhoto({"id":3122615,"src":"Flower-Impresion_thumb.jpg","galleries_id":189686,"server_id":5,"link":"photo_3122615.html","width":130,"caption":"Flower Impression","height":130});
															thumbnails[3122619] = clik.newPhoto({"id":3122619,"src":"Reflections_thumb.jpg","galleries_id":190135,"server_id":5,"link":"photo_3122619.html","width":130,"caption":"Reflections","height":64});
															thumbnails[3132554] = clik.newPhoto({"id":3132554,"src":"Rydal-Water_thumb.jpg","galleries_id":189835,"server_id":5,"link":"photo_3132554.html","width":130,"caption":"Rydal Water","height":87});
															thumbnails[3132556] = clik.newPhoto({"id":3132556,"src":"Storm-Clouds9_thumb.jpg","galleries_id":190135,"server_id":5,"link":"photo_3132556.html","width":130,"caption":"Storm Clouds","height":87});
															thumbnails[3132560] = clik.newPhoto({"id":3132560,"src":"Wrekin-Reservoir_thumb.jpg","galleries_id":189833,"server_id":5,"link":"photo_3132560.html","width":130,"caption":"Wrekin Reservoir","height":79});
															thumbnails[3132654] = clik.newPhoto({"id":3132654,"src":"Barmouth_thumb.jpg","galleries_id":189839,"server_id":5,"link":"photo_3132654.html","width":130,"caption":"Barmouth Viaduct","height":87});
															thumbnails[3135918] = clik.newPhoto({"id":3135918,"src":"Llyn-Gwynant_thumb.jpg","galleries_id":189839,"server_id":5,"link":"photo_3135918.html","width":130,"caption":"Llyn Gwynant Reflections","height":83});
															thumbnails[3135921] = clik.newPhoto({"id":3135921,"src":"fence-line_thumb.jpg","galleries_id":189839,"server_id":5,"link":"photo_3135921.html","width":130,"caption":"Fence Line","height":86});
															thumbnails[3135923] = clik.newPhoto({"id":3135923,"src":"Cherry-Bloom_thumb.jpg","galleries_id":189686,"server_id":5,"link":"photo_3135923.html","width":130,"caption":"Cherry Blossom","height":84});
															thumbnails[3135940] = clik.newPhoto({"id":3135940,"src":"Beach StrollersJPG_thumb.jpg","galleries_id":189839,"server_id":5,"link":"photo_3135940.html","width":130,"caption":"Beach Strollers","height":87});
															thumbnails[3137031] = clik.newPhoto({"id":3137031,"src":"Rydal-Water-3_thumb.jpg","galleries_id":189835,"server_id":5,"link":"photo_3137031.html","width":130,"caption":"Rydal Water","height":87});
															thumbnails[3137048] = clik.newPhoto({"id":3137048,"src":"The-Poser_thumb.jpg","galleries_id":197792,"server_id":5,"link":"photo_3137048.html","width":130,"caption":"Standing Proud","height":88});
															thumbnails[3137058] = clik.newPhoto({"id":3137058,"src":"Wrekin-Reservoir-22_thumb.jpg","galleries_id":189833,"server_id":5,"link":"photo_3137058.html","width":87,"caption":"Wrekin Reservoir #2","height":130});
															thumbnails[3161048] = clik.newPhoto({"id":3161048,"src":"3-daffs-2_thumb.jpg","galleries_id":190135,"server_id":5,"link":"photo_3161048.html","width":130,"caption":"Spring Impression","height":84});
															thumbnails[3161052] = clik.newPhoto({"id":3161052,"src":"Crib Goch Sunrise (Print 2)JPG_thumb.jpg","galleries_id":189839,"server_id":5,"link":"photo_3161052.html","width":130,"caption":"Crib Goch Sunrise","height":84});
															thumbnails[3241023] = clik.newPhoto({"id":3241023,"src":"Wrekin BalesJPG_thumb.jpg","galleries_id":189833,"server_id":5,"link":"photo_3241023.html","width":130,"caption":"Wrekin Harvest","height":87});
															thumbnails[3241091] = clik.newPhoto({"id":3241091,"src":"Barmouth-Viaduct1_thumb.jpg","galleries_id":189839,"server_id":5,"link":"photo_3241091.html","width":130,"caption":"Barmouth Viaduct","height":70});
															thumbnails[3241129] = clik.newPhoto({"id":3241129,"src":"Cascade 3JPG_thumb.jpg","galleries_id":189839,"server_id":5,"link":"photo_3241129.html","width":130,"caption":"Cascade","height":91});
															thumbnails[3241150] = clik.newPhoto({"id":3241150,"src":"Ebb-and-Flow-2_thumb.jpg","galleries_id":189839,"server_id":5,"link":"photo_3241150.html","width":130,"caption":"Ebb and Flow","height":87});
															thumbnails[3241166] = clik.newPhoto({"id":3241166,"src":"FishermenSalobrenia_thumb.jpg","galleries_id":197792,"server_id":5,"link":"photo_3241166.html","width":130,"caption":"Night Fishermen","height":74});
															thumbnails[3241181] = clik.newPhoto({"id":3241181,"src":"From-Lythe-Hill_thumb.jpg","galleries_id":189833,"server_id":5,"link":"photo_3241181.html","width":130,"caption":"From Lythe Hill","height":78});
															thumbnails[3241206] = clik.newPhoto({"id":3241206,"src":"Alcaidesa Rocks (Mick Jones Print) NewJPG_thumb.jpg","galleries_id":197792,"server_id":5,"link":"photo_3241206.html","width":130,"caption":"Sunrise Alcaidesa","height":85});
															thumbnails[3241218] = clik.newPhoto({"id":3241218,"src":"Alcaidesa Sun & Grasses (DESAT)JPG_thumb.jpg","galleries_id":197792,"server_id":5,"link":"photo_3241218.html","width":130,"caption":"Alcaidesa Sunrise","height":80});
															thumbnails[3241248] = clik.newPhoto({"id":3241248,"src":"Buttermere-Pines_thumb.jpg","galleries_id":189835,"server_id":5,"link":"photo_3241248.html","width":130,"caption":"Buttermere Pines","height":83});
															thumbnails[3241259] = clik.newPhoto({"id":3241259,"src":"Fading LightJPG_thumb.jpg","galleries_id":189835,"server_id":5,"link":"photo_3241259.html","width":130,"caption":"Fading Light","height":85});
															thumbnails[3241275] = clik.newPhoto({"id":3241275,"src":"Barmouth-Harbour_thumb.jpg","galleries_id":189839,"server_id":5,"link":"photo_3241275.html","width":130,"caption":"Golden Light","height":55});
															thumbnails[3241291] = clik.newPhoto({"id":3241291,"src":"Blue Maples (Blue)JPG_thumb.jpg","galleries_id":190135,"server_id":5,"link":"photo_3241291.html","width":130,"caption":"Maple Impression","height":86});
															thumbnails[3241310] = clik.newPhoto({"id":3241310,"src":"Cesares 1AJPG_thumb.jpg","galleries_id":197792,"server_id":5,"link":"photo_3241310.html","width":130,"caption":"Cesares Impression","height":85});
															thumbnails[3241368] = clik.newPhoto({"id":3241368,"src":"Maple-Tree-(Burnt-in)_thumb.jpg","galleries_id":190135,"server_id":5,"link":"photo_3241368.html","width":130,"caption":"Autumn Maple","height":86});
															thumbnails[3241392] = clik.newPhoto({"id":3241392,"src":"Bales001_thumb.jpg","galleries_id":189833,"server_id":5,"link":"photo_3241392.html","width":130,"caption":"Shropshire Harvest","height":87});
															thumbnails[3241404] = clik.newPhoto({"id":3241404,"src":"Bluebells + Grain 2JPG_thumb.jpg","galleries_id":189686,"server_id":5,"link":"photo_3241404.html","width":84,"caption":"Bluebell Impression","height":130});
															thumbnails[3241435] = clik.newPhoto({"id":3241435,"src":"Fence Moel Shabod 2JPG1_thumb.jpg","galleries_id":189839,"server_id":5,"link":"photo_3241435.html","width":130,"caption":"Fence Line","height":85});
															thumbnails[3241465] = clik.newPhoto({"id":3241465,"src":"Ercall Wood TreesJPG_thumb.jpg","galleries_id":189833,"server_id":5,"link":"photo_3241465.html","width":130,"caption":"Wrekin Autumn","height":87});
															thumbnails[3241469] = clik.newPhoto({"id":3241469,"src":"Golden Grasses 2 (New)JPG_thumb.jpg","galleries_id":190135,"server_id":5,"link":"photo_3241469.html","width":130,"caption":"Golden Grasses","height":74});
															thumbnails[3241470] = clik.newPhoto({"id":3241470,"src":"Granada_thumb.jpg","galleries_id":197792,"server_id":5,"link":"photo_3241470.html","width":130,"caption":"Granada & Sierra Nevada","height":87});
															thumbnails[3241474] = clik.newPhoto({"id":3241474,"src":"Grasses (Screen) 3JPG_thumb.jpg","galleries_id":190135,"server_id":5,"link":"photo_3241474.html","width":130,"caption":"Grasses","height":85});
															thumbnails[3241492] = clik.newPhoto({"id":3241492,"src":"Poppies Cornfield (Web)JPG_thumb.jpg","galleries_id":189833,"server_id":5,"link":"photo_3241492.html","width":130,"caption":"Approaching Storm","height":85});
															thumbnails[3241501] = clik.newPhoto({"id":3241501,"src":"reffectionsJPG_thumb.jpg","galleries_id":190135,"server_id":5,"link":"photo_3241501.html","width":130,"caption":"Neon Reflections","height":84});
															thumbnails[3241509] = clik.newPhoto({"id":3241509,"src":"Snowdon-&-Fence-(SS100)_thumb.jpg","galleries_id":189839,"server_id":5,"link":"photo_3241509.html","width":130,"caption":"Fence Line","height":85});
															thumbnails[3241519] = clik.newPhoto({"id":3241519,"src":"Sun-Flowers-(Spotted)_thumb.jpg","galleries_id":190135,"server_id":5,"link":"photo_3241519.html","width":130,"caption":"Sunflowers","height":85});
															thumbnails[3241531] = clik.newPhoto({"id":3241531,"src":"Trees-Nant-Gwynant-(Soft-Li_thumb.jpg","galleries_id":189839,"server_id":5,"link":"photo_3241531.html","width":130,"caption":"Nant Gwynant ","height":85});
															thumbnails[3241539] = clik.newPhoto({"id":3241539,"src":"Vyrnwy-Trees_thumb.jpg","galleries_id":189839,"server_id":5,"link":"photo_3241539.html","width":130,"caption":"Shades of Autumn","height":87});
															thumbnails[3241559] = clik.newPhoto({"id":3241559,"src":"Wrekin-BalesJPG_thumb.jpg","galleries_id":190135,"server_id":5,"link":"photo_3241559.html","width":130,"caption":"Harvest Patterns","height":87});
															thumbnails[3241580] = clik.newPhoto({"id":3241580,"src":"Widermere Boat (cropped ss100)JPG_thumb.jpg","galleries_id":189835,"server_id":5,"link":"photo_3241580.html","width":130,"caption":"Windermere Sunrise","height":52});
															thumbnails[3241628] = clik.newPhoto({"id":3241628,"src":"Salobrenia_thumb.jpg","galleries_id":197792,"server_id":5,"link":"photo_3241628.html","width":130,"caption":"Setting Sun","height":87});
															thumbnails[3742014] = clik.newPhoto({"id":3742014,"src":"Frosty-Trees-on-Wrekin_thumb.jpg","galleries_id":189833,"server_id":5,"link":"photo_3742014.html","width":130,"caption":"Silver Trees","height":72});
															thumbnails[4167935] = clik.newPhoto({"id":4167935,"src":"Bluebell-5_thumb.jpg","galleries_id":189686,"server_id":5,"link":"photo_4167935.html","width":130,"caption":"Bluebells (2)","height":130});
															thumbnails[4167946] = clik.newPhoto({"id":4167946,"src":"Daisies-in-Close-up_thumb.jpg","galleries_id":189686,"server_id":5,"link":"photo_4167946.html","width":130,"caption":"Diffused Petals","height":87});
															thumbnails[4167948] = clik.newPhoto({"id":4167948,"src":"From-the-Wrekin_thumb.jpg","galleries_id":189833,"server_id":5,"link":"photo_4167948.html","width":130,"caption":"Power Station View","height":87});
															thumbnails[4167950] = clik.newPhoto({"id":4167950,"src":"Dale-End-Cherry-Blossom_thumb.jpg","galleries_id":189686,"server_id":5,"link":"photo_4167950.html","width":130,"caption":"Blossom","height":130});
															thumbnails[4167951] = clik.newPhoto({"id":4167951,"src":"Wrekin-Tree--Furrows-S-Fi_thumb.jpg","galleries_id":189833,"server_id":5,"link":"photo_4167951.html","width":130,"caption":"Frost and Furrows","height":55});
															thumbnails[4167953] = clik.newPhoto({"id":4167953,"src":"Wrekin-Tree--Furrows-2_thumb.jpg","galleries_id":189833,"server_id":5,"link":"photo_4167953.html","width":130,"caption":"Clearing Mist","height":87});
															thumbnails[4167957] = clik.newPhoto({"id":4167957,"src":"Tree-in-Grasses_thumb.jpg","galleries_id":189839,"server_id":5,"link":"photo_4167957.html","width":130,"caption":"Winter Grasses","height":87});
															thumbnails[4167958] = clik.newPhoto({"id":4167958,"src":"From-the-Long-Myndd_thumb.jpg","galleries_id":189833,"server_id":5,"link":"photo_4167958.html","width":130,"caption":"Stretton Hills","height":68});
															thumbnails[4167960] = clik.newPhoto({"id":4167960,"src":"Towards-Wrockwardine_thumb.jpg","galleries_id":189833,"server_id":5,"link":"photo_4167960.html","width":130,"caption":"Towards Wrockwardine","height":49});
															thumbnails[4167961] = clik.newPhoto({"id":4167961,"src":"Frosted-Rose-Leaf_thumb.jpg","galleries_id":189686,"server_id":5,"link":"photo_4167961.html","width":130,"caption":"Frosted Rose Leaf","height":130});
															thumbnails[4167963] = clik.newPhoto({"id":4167963,"src":"Grasses_thumb.jpg","galleries_id":190135,"server_id":5,"link":"photo_4167963.html","width":130,"caption":"Grasses","height":130});
															thumbnails[4167966] = clik.newPhoto({"id":4167966,"src":"Mount-Teide-2_thumb.jpg","galleries_id":197792,"server_id":5,"link":"photo_4167966.html","width":130,"caption":"From Mount Teide","height":87});
															thumbnails[4167968] = clik.newPhoto({"id":4167968,"src":"Pink-Blossom_thumb.jpg","galleries_id":189686,"server_id":5,"link":"photo_4167968.html","width":130,"caption":"Cherry Blossom","height":130});
															thumbnails[4167977] = clik.newPhoto({"id":4167977,"src":"Red-Maple-Leaves_thumb.jpg","galleries_id":189686,"server_id":5,"link":"photo_4167977.html","width":130,"caption":"Acer Leaves","height":87});
															thumbnails[4167978] = clik.newPhoto({"id":4167978,"src":"Solitary-Tree_thumb.jpg","galleries_id":189833,"server_id":5,"link":"photo_4167978.html","width":130,"caption":"Solitary Tree","height":87});
															thumbnails[4167979] = clik.newPhoto({"id":4167979,"src":"Thistle--Poppies_thumb.jpg","galleries_id":189686,"server_id":5,"link":"photo_4167979.html","width":130,"caption":"Thistle and Poppies","height":130});
															thumbnails[4167981] = clik.newPhoto({"id":4167981,"src":"Bluebells-3_thumb.jpg","galleries_id":189686,"server_id":5,"link":"photo_4167981.html","width":130,"caption":"Bluebells","height":130});
															thumbnails[4167984] = clik.newPhoto({"id":4167984,"src":"Bluebells-1_thumb.jpg","galleries_id":189686,"server_id":5,"link":"photo_4167984.html","width":130,"caption":"Emerging Bluebells","height":119});
															thumbnails[4167993] = clik.newPhoto({"id":4167993,"src":"Bluebells-4_thumb.jpg","galleries_id":189686,"server_id":5,"link":"photo_4167993.html","width":130,"caption":"Emerging Bluebells #2","height":130});
															thumbnails[4167996] = clik.newPhoto({"id":4167996,"src":"Frosted_Grasses001_thumb.jpg","galleries_id":189686,"server_id":5,"link":"photo_4167996.html","width":130,"caption":"Frosted Grasses","height":87});
															thumbnails[4167999] = clik.newPhoto({"id":4167999,"src":"Priorslee-Balancing-Lake-L_thumb.jpg","galleries_id":189833,"server_id":5,"link":"photo_4167999.html","width":130,"caption":"Frosted Grasses","height":82});
															thumbnails[4168010] = clik.newPhoto({"id":4168010,"src":"BalconyJPG_thumb.jpg","galleries_id":197792,"server_id":5,"link":"photo_4168010.html","width":130,"caption":"Balcony","height":85});
															thumbnails[4168014] = clik.newPhoto({"id":4168014,"src":"Sunlit-Frosty-Trees_thumb.jpg","galleries_id":189833,"server_id":5,"link":"photo_4168014.html","width":130,"caption":"Frosted Trees","height":87});
															thumbnails[4168016] = clik.newPhoto({"id":4168016,"src":"Robin_thumb.jpg","galleries_id":190135,"server_id":5,"link":"photo_4168016.html","width":130,"caption":"Robin","height":89});
															thumbnails[5821212] = clik.newPhoto({"id":5821212,"src":"Frosty-Fence-Wrekin-levels--spot-2_thumb.jpg","galleries_id":189833,"server_id":5,"link":"photo_5821212.html","width":130,"caption":"Fence Line","height":87});
															thumbnails[5825412] = clik.newPhoto({"id":5825412,"src":"Hanging-Birch-Leaves-3aa_thumb.jpg","galleries_id":190135,"server_id":5,"link":"photo_5825412.html","width":87,"caption":"Autumnal Birch Leaves","height":130});
															thumbnails[5825418] = clik.newPhoto({"id":5825418,"src":"Grasses--Poppies-6_thumb.jpg","galleries_id":190135,"server_id":5,"link":"photo_5825418.html","width":130,"caption":"Grasses and Poppies","height":130});
															thumbnails[5825421] = clik.newPhoto({"id":5825421,"src":"Two-Leaves_thumb.jpg","galleries_id":190135,"server_id":5,"link":"photo_5825421.html","width":87,"caption":"Hanging on","height":130});
															thumbnails[5825426] = clik.newPhoto({"id":5825426,"src":"Seashell-3_thumb.jpg","galleries_id":190135,"server_id":5,"link":"photo_5825426.html","width":130,"caption":"Seashells","height":87});
															thumbnails[5825435] = clik.newPhoto({"id":5825435,"src":"Rock--Receding-Wave_thumb.jpg","galleries_id":197792,"server_id":5,"link":"photo_5825435.html","width":130,"caption":"Receding wave","height":130});
															thumbnails[5825438] = clik.newPhoto({"id":5825438,"src":"Ferns-4_thumb.jpg","galleries_id":189686,"server_id":5,"link":"photo_5825438.html","width":130,"caption":"Fern Leaves","height":130});
															thumbnails[5825444] = clik.newPhoto({"id":5825444,"src":"Bluebell-5a_thumb.jpg","galleries_id":190135,"server_id":5,"link":"photo_5825444.html","width":130,"caption":"Bluebell Impression","height":130});
															thumbnails[5825447] = clik.newPhoto({"id":5825447,"src":"Daisies_thumb.jpg","galleries_id":189686,"server_id":5,"link":"photo_5825447.html","width":130,"caption":"","height":130});
															thumbnails[5825452] = clik.newPhoto({"id":5825452,"src":"Leighton-Meander-New_thumb.jpg","galleries_id":189833,"server_id":5,"link":"photo_5825452.html","width":130,"caption":"Leighton Meander","height":87});
															thumbnails[5825461] = clik.newPhoto({"id":5825461,"src":"Iris_thumb.jpg","galleries_id":189686,"server_id":5,"link":"photo_5825461.html","width":130,"caption":"Iris (3)","height":130});
															thumbnails[5825470] = clik.newPhoto({"id":5825470,"src":"Iris-dsc-009_thumb.jpg","galleries_id":189686,"server_id":5,"link":"photo_5825470.html","width":130,"caption":"Iris (2)","height":130});
															thumbnails[5825630] = clik.newPhoto({"id":5825630,"src":"Reflected-Leaves_thumb.jpg","galleries_id":190135,"server_id":5,"link":"photo_5825630.html","width":130,"caption":"Reflections","height":130});
															thumbnails[7148530] = clik.newPhoto({"id":7148530,"src":"Reflections_AC1F8EAA-1EC9-D45B-1C30B36C83C96AE4_thumb.jpg","galleries_id":189839,"server_id":5,"link":"photo_7148530.html","width":130,"caption":"Reflections","height":86});
															thumbnails[7148563] = clik.newPhoto({"id":7148563,"src":"Glowing-Poppies_thumb.jpg","galleries_id":189833,"server_id":5,"link":"photo_7148563.html","width":130,"caption":"Glowing Poppies","height":80});
															thumbnails[7148576] = clik.newPhoto({"id":7148576,"src":"Field-Patterns_thumb.jpg","galleries_id":189833,"server_id":5,"link":"photo_7148576.html","width":86,"caption":"Field Patterns","height":130});
															thumbnails[7148588] = clik.newPhoto({"id":7148588,"src":"Setting-Sun-Barmouth_thumb.jpg","galleries_id":189839,"server_id":5,"link":"photo_7148588.html","width":130,"caption":"Setting Sun Barmouth","height":86});
															thumbnails[7148599] = clik.newPhoto({"id":7148599,"src":"Passing-Clouds_thumb.jpg","galleries_id":189833,"server_id":5,"link":"photo_7148599.html","width":130,"caption":"Passing Clouds","height":86});
															thumbnails[7148611] = clik.newPhoto({"id":7148611,"src":"Leighton-Mist_AC33A3E6-1EC9-D45B-1C28ABC6F599D00B_thumb.jpg","galleries_id":189833,"server_id":5,"link":"photo_7148611.html","width":130,"caption":"Leighton Mist","height":87});
															thumbnails[7148644] = clik.newPhoto({"id":7148644,"src":"Bluebells-on-the-Wrekin_thumb.jpg","galleries_id":189833,"server_id":5,"link":"photo_7148644.html","width":130,"caption":"Bluebells on the Wrekin","height":87});
															thumbnails[7148671] = clik.newPhoto({"id":7148671,"src":"Stiperstones_thumb.jpg","galleries_id":189833,"server_id":5,"link":"photo_7148671.html","width":130,"caption":"Stiperstones","height":86});
															thumbnails[7148787] = clik.newPhoto({"id":7148787,"src":"Ice-and-Golden-Grasses_thumb.jpg","galleries_id":189833,"server_id":5,"link":"photo_7148787.html","width":130,"caption":"Ice and Golden Grasses","height":83});
															thumbnails[7169622] = clik.newPhoto({"id":7169622,"src":"Poppy-Impression_thumb.jpg","galleries_id":190135,"server_id":5,"link":"photo_7169622.html","width":130,"caption":"Poppy Impression","height":86});
															thumbnails[7169626] = clik.newPhoto({"id":7169626,"src":"Winter-Landscape_thumb.jpg","galleries_id":189833,"server_id":5,"link":"photo_7169626.html","width":130,"caption":"Winter Landscape","height":86});
															thumbnails[7169628] = clik.newPhoto({"id":7169628,"src":"Towards-the-Ercall_thumb.jpg","galleries_id":189833,"server_id":5,"link":"photo_7169628.html","width":130,"caption":"Towards the Ercall","height":64});
															thumbnails[7169633] = clik.newPhoto({"id":7169633,"src":"Sunset-Silhouette_thumb.jpg","galleries_id":190135,"server_id":5,"link":"photo_7169633.html","width":86,"caption":"Sunset Silhouette","height":130});
															thumbnails[7169640] = clik.newPhoto({"id":7169640,"src":"Cressage-Morning_thumb.jpg","galleries_id":189833,"server_id":5,"link":"photo_7169640.html","width":130,"caption":"Daybreak Cressage","height":87});
															thumbnails[7169645] = clik.newPhoto({"id":7169645,"src":"Cool-Landscape_thumb.jpg","galleries_id":189833,"server_id":5,"link":"photo_7169645.html","width":130,"caption":"Evening Light","height":64});
															thumbnails[7228821] = clik.newPhoto({"id":7228821,"src":"Autumn-Panorama_thumb.jpg","galleries_id":189833,"server_id":5,"link":"photo_7228821.html","width":130,"caption":"Autumn Panorama","height":43});
															thumbnails[7236552] = clik.newPhoto({"id":7236552,"src":"Frosty_leaf_Close_up001_thumb.jpg","galleries_id":189686,"server_id":5,"link":"photo_7236552.html","width":130,"caption":"Frosted Leaf","height":130});
															thumbnails[7306070] = clik.newPhoto({"id":7306070,"src":"Follow-the-Leader_9604DD4B-1E4F-37DC-71A78F5A45D5F4A6_thumb.jpg","galleries_id":189833,"server_id":5,"link":"photo_7306070.html","width":130,"caption":"Follow The Leader","height":130});
															thumbnails[7306154] = clik.newPhoto({"id":7306154,"src":"Barmouth-Harbour-No2_thumb.jpg","galleries_id":190135,"server_id":5,"link":"photo_7306154.html","width":130,"caption":"Barmouth Harbour No2","height":87});
															thumbnails[7615361] = clik.newPhoto({"id":7615361,"src":"Towards-San-Giorgio-Maggiore_thumb.jpg","galleries_id":413016,"server_id":5,"link":"photo_7615361.html","width":130,"caption":"Towards San Giorgio Maggiore","height":87});
															thumbnails[7615372] = clik.newPhoto({"id":7615372,"src":"Moet-Girl_thumb.jpg","galleries_id":413016,"server_id":5,"link":"photo_7615372.html","width":130,"caption":"Moet Girl","height":87});
															thumbnails[7615373] = clik.newPhoto({"id":7615373,"src":"Venice-Reflections_thumb.jpg","galleries_id":413016,"server_id":5,"link":"photo_7615373.html","width":130,"caption":"Venice Reflections","height":87});
															thumbnails[7615398] = clik.newPhoto({"id":7615398,"src":"Grand-Canal-from-Rialto-Bridge_thumb.jpg","galleries_id":413016,"server_id":5,"link":"photo_7615398.html","width":130,"caption":"Grand Canal from Rialto Bridge","height":87});
															thumbnails[7615407] = clik.newPhoto({"id":7615407,"src":"The-Forgotten-Ones_thumb.jpg","galleries_id":413016,"server_id":5,"link":"photo_7615407.html","width":119,"caption":"The Forgotten Ones","height":130});
															thumbnails[7615423] = clik.newPhoto({"id":7615423,"src":"Gathering-Storm_thumb.jpg","galleries_id":413016,"server_id":5,"link":"photo_7615423.html","width":130,"caption":"Early Morning Light","height":87});
															thumbnails[7615444] = clik.newPhoto({"id":7615444,"src":"St-Marks-Square_thumb.jpg","galleries_id":413016,"server_id":5,"link":"photo_7615444.html","width":130,"caption":"St Mark's Square","height":87});
															thumbnails[7615499] = clik.newPhoto({"id":7615499,"src":"On-the-Canal_thumb.jpg","galleries_id":413016,"server_id":5,"link":"photo_7615499.html","width":130,"caption":"On the Canal","height":87});
															thumbnails[7808615] = clik.newPhoto({"id":7808615,"src":"Backlit-Leaves_thumb.jpg","galleries_id":189686,"server_id":5,"link":"photo_7808615.html","width":86,"caption":"Backlit Leaves","height":130});
															thumbnails[7808627] = clik.newPhoto({"id":7808627,"src":"Tulip_thumb.jpg","galleries_id":189686,"server_id":5,"link":"photo_7808627.html","width":98,"caption":"Tulip","height":130});
															thumbnails[7858239] = clik.newPhoto({"id":7858239,"src":"Grasses-No2_thumb.jpg","galleries_id":189686,"server_id":5,"link":"photo_7858239.html","width":130,"caption":"Grasses and Buttercups","height":93});
															thumbnails[7858257] = clik.newPhoto({"id":7858257,"src":"Blubell-Wood_thumb.jpg","galleries_id":190135,"server_id":5,"link":"photo_7858257.html","width":130,"caption":"Bluebell Wood","height":87});
															thumbnails[7858275] = clik.newPhoto({"id":7858275,"src":"Bluebells_thumb.jpg","galleries_id":189686,"server_id":5,"link":"photo_7858275.html","width":86,"caption":"Bluebells No2","height":130});
															thumbnails[7858337] = clik.newPhoto({"id":7858337,"src":"Grand-Canal_thumb.jpg","galleries_id":413016,"server_id":5,"link":"photo_7858337.html","width":130,"caption":"Grand Canal","height":87});
															thumbnails[7858347] = clik.newPhoto({"id":7858347,"src":"Grand-Canal-N02_thumb.jpg","galleries_id":413016,"server_id":5,"link":"photo_7858347.html","width":130,"caption":"Grand Canal No2","height":87});
															thumbnails[3095425] = clik.newPhoto({"id":3095425,"src":"Iron BridgeJPG_thumb.jpg","galleries_id":189833,"server_id":5,"link":"photo_3095425.html","width":130,"caption":"Iron Bridge","height":86});
															thumbnails[3098531] = clik.newPhoto({"id":3098531,"src":"Wrekin SnowJPG_thumb.jpg","galleries_id":189833,"server_id":5,"link":"photo_3098531.html","width":130,"caption":"Wrekin Snow","height":85});
															thumbnails[3095434] = clik.newPhoto({"id":3095434,"src":"The-Wrekin-from-Wenlock-(Pr1_thumb.jpg","galleries_id":189833,"server_id":5,"link":"photo_3095434.html","width":130,"caption":"The Wrekin from Little Wenlock","height":85});
															thumbnails[3095014] = clik.newPhoto({"id":3095014,"src":"Admaston Church (cloned)001_thumb.jpg","galleries_id":189833,"server_id":5,"link":"photo_3095014.html","width":130,"caption":"Wrockwardine church from the Wrekin","height":46});
															thumbnails[3098306] = clik.newPhoto({"id":3098306,"src":"Mist Sunset (New)JPG_thumb.jpg","galleries_id":189833,"server_id":5,"link":"photo_3098306.html","width":130,"caption":"Misty Sunset","height":60});
															thumbnails[3098407] = clik.newPhoto({"id":3098407,"src":"Trees & Sunset 2JPG_thumb.jpg","galleries_id":189833,"server_id":5,"link":"photo_3098407.html","width":130,"caption":"Misty Sunset","height":60});
															thumbnails[3098229] = clik.newPhoto({"id":3098229,"src":"Trees in Mist (cropped)JPG_thumb.jpg","galleries_id":189833,"server_id":5,"link":"photo_3098229.html","width":130,"caption":"Autumn Glow","height":51});
															thumbnails[3122572] = clik.newPhoto({"id":3122572,"src":"Dungeon-Ghyll_thumb.jpg","galleries_id":189835,"server_id":5,"link":"photo_3122572.html","width":87,"caption":"Dungeon Ghyll","height":130});
															thumbnails[3095104] = clik.newPhoto({"id":3095104,"src":"Castlerigg-(New)_thumb.jpg","galleries_id":189835,"server_id":5,"link":"photo_3095104.html","width":130,"caption":"Castlerigg Stone Circle","height":87});
															thumbnails[3095802] = clik.newPhoto({"id":3095802,"src":"Frosty Leaf (Square Format)JPG_thumb.jpg","galleries_id":189686,"server_id":5,"link":"photo_3095802.html","width":130,"caption":"Frosted Leaf No2","height":130});
															thumbnails[3241110] = clik.newPhoto({"id":3241110,"src":"Blurred-Leaves-2A-(HIGHLIGH_thumb.jpg","galleries_id":190135,"server_id":5,"link":"photo_3241110.html","width":85,"caption":"Leaf Impression","height":130});
															thumbnails[3095024] = clik.newPhoto({"id":3095024,"src":"Apley-Pool_thumb.jpg","galleries_id":189833,"server_id":5,"link":"photo_3095024.html","width":130,"caption":"Apley Pool Sunset","height":84});
															thumbnails[3098216] = clik.newPhoto({"id":3098216,"src":"Refections Reeds (81a)JPG_thumb.jpg","galleries_id":190135,"server_id":5,"link":"photo_3098216.html","width":85,"caption":"Reflected Grasses","height":130});
															thumbnails[3098422] = clik.newPhoto({"id":3098422,"src":"Hogweed  (Screen)JPG_thumb.jpg","galleries_id":190135,"server_id":5,"link":"photo_3098422.html","width":130,"caption":"Setting Sun","height":83});
															thumbnails[3094669] = clik.newPhoto({"id":3094669,"src":"Barmouth 2 (SUNSET)JPG_thumb.jpg","galleries_id":190135,"server_id":5,"link":"photo_3094669.html","width":130,"caption":"Setting Sun","height":85});
															thumbnails[4167956] = clik.newPhoto({"id":4167956,"src":"Virginia-Creper-Leaves_thumb.jpg","galleries_id":190135,"server_id":5,"link":"photo_4167956.html","width":130,"caption":"Ivy Leaves","height":130});
															thumbnails[3095137] = clik.newPhoto({"id":3095137,"src":"Frost Leaf (Painted Mono)JPG_thumb.jpg","galleries_id":190135,"server_id":5,"link":"photo_3095137.html","width":130,"caption":"Frosted Leaf #2","height":130});
															thumbnails[3098284] = clik.newPhoto({"id":3098284,"src":"Leighton Meander 2JPG_thumb.jpg","galleries_id":189833,"server_id":5,"link":"photo_3098284.html","width":130,"caption":"Leighton Meander","height":82});
															thumbnails[3098418] = clik.newPhoto({"id":3098418,"src":"Haughton-Hall_thumb.jpg","galleries_id":189833,"server_id":5,"link":"photo_3098418.html","width":130,"caption":"Haughton Hall","height":84});
															thumbnails[3122428] = clik.newPhoto({"id":3122428,"src":"Cascade-2_thumb.jpg","galleries_id":190135,"server_id":5,"link":"photo_3122428.html","width":130,"caption":"Cascade #2","height":130});
															thumbnails[3098413] = clik.newPhoto({"id":3098413,"src":"Wrekin Rape FieldsJPG_thumb.jpg","galleries_id":189833,"server_id":5,"link":"photo_3098413.html","width":130,"caption":"Approaching Storm","height":87});
															thumbnails[3095038] = clik.newPhoto({"id":3095038,"src":"Broken TreeJPG_thumb.jpg","galleries_id":189833,"server_id":5,"link":"photo_3095038.html","width":130,"caption":"Fallen Oak Bough","height":80});
															thumbnails[3208488] = clik.newPhoto({"id":3208488,"src":"Apley-Twig-Reflections_thumb.jpg","galleries_id":190135,"server_id":5,"link":"photo_3208488.html","width":130,"caption":"Apley Pool Reflections","height":130});
															thumbnails[3095474] = clik.newPhoto({"id":3095474,"src":"Power in the Valley001_thumb.jpg","galleries_id":189833,"server_id":5,"link":"photo_3095474.html","width":87,"caption":"Power in the Mist","height":130});
															thumbnails[3098425] = clik.newPhoto({"id":3098425,"src":"Ironbridge (Cropped)JPG_thumb.jpg","galleries_id":189833,"server_id":5,"link":"photo_3098425.html","width":130,"caption":"Power in the Mist #2","height":58});
															thumbnails[3094641] = clik.newPhoto({"id":3094641,"src":"Autumn Gold (Wrekin) 4JPG_thumb.jpg","galleries_id":189833,"server_id":5,"link":"photo_3094641.html","width":130,"caption":"Wrekin Autumn","height":84});
															thumbnails[3113339] = clik.newPhoto({"id":3113339,"src":"_DSC0048-1_thumb.jpg","galleries_id":189835,"server_id":5,"link":"photo_3113339.html","width":130,"caption":"Autumn Beech","height":87});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[464553] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Latest Work","link":"section562345.html","maxRecords":0.0,"photoIDs":[8829374.0,8829379.0,8829380.0,8829384.0,8829386.0,8829388.0,8830240.0,8830242.0,8830248.0,8830251.0,8830253.0,8842249.0,8842253.0,8842256.0,8843916.0,8843950.0,8843952.0,8843954.0,8843956.0,8843960.0,8843969.0,8843971.0,8843973.0,9033062.0],"skipIndex":0,"section_code":"section562345","featured_images":"8830240,8829386,8829379,8829374","id":464553,"singleSection":true});				  						galleries[189804] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Landscapes","link":"gallery_189804.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"7148671,7148599,7148563,7148530,3132554,3122572,3122451,3113339,3104081,3102968,3102840,3098531,3098507,3098493,3098413,3098407,3098301,3098300,3098294,3098284,3098229,3095815,3095476,3095474,3095461,3095434,3095425,3095038","id":189804,"singleSection":false});				  						galleries[189833] = clik.newGallery({"parentGallery":189804,"usePopups":false,"title":"Shropshire","link":"gallery_189833.html","maxRecords":0.0,"photoIDs":[3095461.0,3095815.0,3098294.0,3102840.0,3102875.0,3122451.0,3122459.0,3122473.0,3132560.0,3137058.0,3241023.0,3241181.0,3241392.0,3241465.0,3241492.0,3742014.0,4167948.0,4167951.0,4167953.0,4167958.0,4167960.0,4167978.0,4167999.0,4168014.0,5821212.0,5825452.0,7148563.0,7148576.0,7148599.0,7148611.0,7148644.0,7148671.0,7148787.0,7169626.0,7169628.0,7169640.0,7169645.0,7228821.0,7306070.0,3095425.0,3098531.0,3095434.0,3095014.0,3098306.0,3098407.0,3098229.0,3095024.0,3098284.0,3098418.0,3098413.0,3095038.0,3095474.0,3098425.0,3094641.0],"skipIndex":0,"section_code":"gallery","featured_images":"7148671,7148599,7148563,3122451,3102840,3098531,3098413,3098407,3098294,3098284,3098229,3095815,3095474,3095461,3095434,3095425,3095038","id":189833,"singleSection":false});				  						galleries[189835] = clik.newGallery({"parentGallery":189804,"usePopups":false,"title":"Lake District","link":"gallery_189835.html","maxRecords":0.0,"photoIDs":[3098300.0,3098301.0,3098302.0,3102968.0,3104081.0,3105034.0,3105035.0,3132554.0,3137031.0,3241248.0,3241259.0,3241580.0,3122572.0,3095104.0,3113339.0],"skipIndex":0,"section_code":"gallery","featured_images":"3132554,3122572,3113339,3104081,3102968,3098301,3098300","id":189835,"singleSection":false});				  						galleries[197792] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Spain","link":"gallery_197792.html","maxRecords":0.0,"photoIDs":[3137048.0,3241166.0,3241206.0,3241218.0,3241310.0,3241470.0,3241628.0,4167966.0,4168010.0,5825435.0],"skipIndex":0,"section_code":"gallery","featured_images":3137048.0,"id":197792,"singleSection":false});				  						galleries[189839] = clik.newGallery({"parentGallery":189804,"usePopups":false,"title":"Wales","link":"gallery_189839.html","maxRecords":0.0,"photoIDs":[3095028.0,3095034.0,3095456.0,3095476.0,3095827.0,3096968.0,3098493.0,3098507.0,3132654.0,3135918.0,3135921.0,3135940.0,3161052.0,3241091.0,3241129.0,3241150.0,3241275.0,3241435.0,3241509.0,3241531.0,3241539.0,4167957.0,7148530.0,7148588.0],"skipIndex":0,"section_code":"gallery","featured_images":"7148530,3098507,3098493,3095476","id":189839,"singleSection":false});				  						galleries[189686] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Flowers & Leaves","link":"gallery_189686.html","maxRecords":0.0,"photoIDs":[3095503.0,3095513.0,3095526.0,3097058.0,3098298.0,3098494.0,3102687.0,3122266.0,3122579.0,3122615.0,3135923.0,3241404.0,4167935.0,4167946.0,4167950.0,4167961.0,4167968.0,4167977.0,4167979.0,4167981.0,4167984.0,4167993.0,4167996.0,5825438.0,5825447.0,5825461.0,5825470.0,7236552.0,7808615.0,7808627.0,7858239.0,7858275.0,3095802.0],"skipIndex":0,"section_code":"gallery","featured_images":"3122579,3102687,3098494,3097058,3095802,3095513,3095503","id":189686,"singleSection":false});				  						galleries[413016] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Venice","link":"gallery_413016.html","maxRecords":0.0,"photoIDs":[7615361.0,7615372.0,7615373.0,7615398.0,7615407.0,7615423.0,7615444.0,7615499.0,7858337.0,7858347.0],"skipIndex":0,"section_code":"gallery","featured_images":"7858347,7615361","id":413016,"singleSection":false});				  						galleries[190135] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Abstract & Creative","link":"gallery_190135.html","maxRecords":0.0,"photoIDs":[3096836.0,3098234.0,3098288.0,3098293.0,3098477.0,3098484.0,3098523.0,3102866.0,3102956.0,3102961.0,3122420.0,3122454.0,3122594.0,3122619.0,3132556.0,3161048.0,3241291.0,3241368.0,3241469.0,3241474.0,3241501.0,3241519.0,3241559.0,4167963.0,4168016.0,5825412.0,5825418.0,5825421.0,5825426.0,5825444.0,5825630.0,7169622.0,7169633.0,7306154.0,7858257.0,3241110.0,3098216.0,3098422.0,3094669.0,4167956.0,3095137.0,3122428.0,3208488.0],"skipIndex":0,"section_code":"gallery","featured_images":"7306154,3122619,3122454,3122420,3102961,3102956,3098523,3098477,3098422,3098293,3098288,3098234,3098216,3096836,3094669","id":190135,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '8830240,8829386,8829379,8829374,7615361,7148671,7148599,7148563,7148530,4168016,4167977,4167968,4167957,4167951,4167935,3742014,3241501,3241492,3122451,3095815,3095503,3095476,3095425,3098407,3095802,4167956,3095038';
imageSets[2] = '8830240,8829386,8829379,8829374,7858347,7615361,7306154,7148671,7148599,7148563,7148530,3137048,3132554,3122619,3122579,3122454,3122451,3122420,3104081,3102968,3102961,3102956,3102840,3102687,3098523,3098507,3098494,3098493,3098477,3098301,3098300,3098294,3098293,3098288,3098234,3097058,3096836,3095815,3095513,3095503,3095476,3095461,3095425,3098531,3095434,3098407,3098229,3122572,3095802,3098422,3098216,3094669,3098284,3098413,3095038,3095474,3113339';
imageSets[3] = '9033062,8843973,8843971,8843969,8843960,8843956,8843954,8843952,8843950,8843916,8842256,8842253,8842249,8830253,8830251,8830248,8830242,8830240,8829388,8829386,8829384,8829380,8829379,8829374,7858347,7858337,7858275,7858257,7858239,7808627,7808615,7615499,7615444,7615423,7615407,7615398,7615373,7615372,7615361,7306154,7306070,7236552,7228821,7169645,7169640,7169633,7169628,7169626,7169622,7148787';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/chrislewis123/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/chrislewis123/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/chrislewis123/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/chrislewis123/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/chrislewis123/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/chrislewis123/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/chrislewis123/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/chrislewis123/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/chrislewis123/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/chrislewis123/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/chrislewis123/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/chrislewis123/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/chrislewis123/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/chrislewis123/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/chrislewis123/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/chrislewis123/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/chrislewis123/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/chrislewis123/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/chrislewis123/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/chrislewis123/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/chrislewis123/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/chrislewis123/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/chrislewis123/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/chrislewis123/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/chrislewis123/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/chrislewis123/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/chrislewis123/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 += 'section562345.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 && 'section562345' != '') {
					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 = 'Chris Lewis 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.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="chris_lewis123@blueyonder.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="chris_lewis123@blueyonder.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;
	}
}

			

