window.thumbnails = {};
															thumbnails[7992534] = clik.newPhoto({"id":7992534,"src":"Rita_1_of_4_thumb.jpg","galleries_id":372922,"server_id":5,"link":"photo_7992534.html","width":90,"caption":"Photographer","height":117});
															thumbnails[7992539] = clik.newPhoto({"id":7992539,"src":"Rita_2_of_4_thumb.jpg","galleries_id":372922,"server_id":5,"link":"photo_7992539.html","width":90,"caption":"Sword Maiden","height":120});
															thumbnails[7992543] = clik.newPhoto({"id":7992543,"src":"Rita_3_of_4_thumb.jpg","galleries_id":372922,"server_id":5,"link":"photo_7992543.html","width":90,"caption":"Soul Music","height":122});
															thumbnails[7992547] = clik.newPhoto({"id":7992547,"src":"Rita_4_of_4_thumb.jpg","galleries_id":372922,"server_id":5,"link":"photo_7992547.html","width":90,"caption":"Rita","height":128});
															thumbnails[6868884] = clik.newPhoto({"id":6868884,"src":"Raglan-Castle-2_thumb.jpg","galleries_id":372905,"server_id":5,"link":"photo_6868884.html","width":90,"caption":"Raglan Castle (B&W)","height":120});
															thumbnails[6868908] = clik.newPhoto({"id":6868908,"src":"Pembroke-12x12_thumb.jpg","galleries_id":372905,"server_id":5,"link":"photo_6868908.html","width":90,"caption":"Pembroke Castle (B&W)","height":90});
															thumbnails[6868918] = clik.newPhoto({"id":6868918,"src":"Laugharne-BW_thumb.jpg","galleries_id":372905,"server_id":5,"link":"photo_6868918.html","width":90,"caption":"Laugharne Castle (B&W)","height":68});
															thumbnails[6868920] = clik.newPhoto({"id":6868920,"src":"Goodrich-BW_thumb.jpg","galleries_id":372905,"server_id":5,"link":"photo_6868920.html","width":90,"caption":"Goodrich Castle (B&W)","height":120});
															thumbnails[6868923] = clik.newPhoto({"id":6868923,"src":"Conwy-Castle--Boats-BW_thumb.jpg","galleries_id":372905,"server_id":5,"link":"photo_6868923.html","width":90,"caption":"Conwy Castle & Boats (B&W)","height":61});
															thumbnails[6868932] = clik.newPhoto({"id":6868932,"src":"Caerphilly-Castle-BW_thumb.jpg","galleries_id":372905,"server_id":5,"link":"photo_6868932.html","width":90,"caption":"Caerphilly Castle (B&W)","height":68});
															thumbnails[6868948] = clik.newPhoto({"id":6868948,"src":"Castle-Wall-BW_thumb.jpg","galleries_id":372907,"server_id":5,"link":"photo_6868948.html","width":90,"caption":"Castle Wall (B&W)","height":120});
															thumbnails[6868961] = clik.newPhoto({"id":6868961,"src":"Beaumaris-Castle_thumb.jpg","galleries_id":372905,"server_id":5,"link":"photo_6868961.html","width":90,"caption":"Beaumaris Castle","height":48});
															thumbnails[6868970] = clik.newPhoto({"id":6868970,"src":"Berkeley-Castle_thumb.jpg","galleries_id":372905,"server_id":5,"link":"photo_6868970.html","width":90,"caption":"Berkeley Castle","height":63});
															thumbnails[6868975] = clik.newPhoto({"id":6868975,"src":"Caernavon-Castle_thumb.jpg","galleries_id":372905,"server_id":5,"link":"photo_6868975.html","width":90,"caption":"Caernavon Castle","height":60});
															thumbnails[6868988] = clik.newPhoto({"id":6868988,"src":"Caerphilly-Castle-and-Ducks_thumb.jpg","galleries_id":372905,"server_id":5,"link":"photo_6868988.html","width":90,"caption":"Caerphilly Castle","height":66});
															thumbnails[6868997] = clik.newPhoto({"id":6868997,"src":"Castell-Coch_thumb.jpg","galleries_id":372905,"server_id":5,"link":"photo_6868997.html","width":90,"caption":"Castell Coch","height":68});
															thumbnails[6869018] = clik.newPhoto({"id":6869018,"src":"Cennen-small_thumb.jpg","galleries_id":372905,"server_id":5,"link":"photo_6869018.html","width":90,"caption":"Carreg Cennen","height":60});
															thumbnails[6869022] = clik.newPhoto({"id":6869022,"src":"Chepstow-Castle_thumb.jpg","galleries_id":372905,"server_id":5,"link":"photo_6869022.html","width":90,"caption":"Chepstow Castle","height":68});
															thumbnails[6869052] = clik.newPhoto({"id":6869052,"src":"Chirk-Castle-Small_thumb.jpg","galleries_id":372905,"server_id":5,"link":"photo_6869052.html","width":90,"caption":"Chirk Castle","height":67});
															thumbnails[6869363] = clik.newPhoto({"id":6869363,"src":"Dolwyddelan-12x12_thumb.jpg","galleries_id":372905,"server_id":5,"link":"photo_6869363.html","width":90,"caption":"Dolwyddelan Castle","height":90});
															thumbnails[6869365] = clik.newPhoto({"id":6869365,"src":"Dynefwr-Castle-3_thumb.jpg","galleries_id":372905,"server_id":5,"link":"photo_6869365.html","width":90,"caption":"Dinefwr Castle","height":68});
															thumbnails[6869366] = clik.newPhoto({"id":6869366,"src":"Goodrich_thumb.jpg","galleries_id":372905,"server_id":5,"link":"photo_6869366.html","width":90,"caption":"Goodrich Castle","height":68});
															thumbnails[6869368] = clik.newPhoto({"id":6869368,"src":"Herstmonceux-Wide-View_thumb.jpg","galleries_id":372905,"server_id":5,"link":"photo_6869368.html","width":90,"caption":"Herstmonceux Castle","height":60});
															thumbnails[6869369] = clik.newPhoto({"id":6869369,"src":"Kidwelly-Castle-And-River_thumb.jpg","galleries_id":372905,"server_id":5,"link":"photo_6869369.html","width":90,"caption":"Kidwelly Castle","height":68});
															thumbnails[6869370] = clik.newPhoto({"id":6869370,"src":"Kidwelly-Castle-And-River-Sunset_thumb.jpg","galleries_id":372905,"server_id":5,"link":"photo_6869370.html","width":90,"caption":"Kidwelly Sunset","height":60});
															thumbnails[6869371] = clik.newPhoto({"id":6869371,"src":"Kidwelly-Night-3_thumb.jpg","galleries_id":372905,"server_id":5,"link":"photo_6869371.html","width":90,"caption":"Kidwelly By Knight","height":68});
															thumbnails[6869380] = clik.newPhoto({"id":6869380,"src":"Llaugharne-small_thumb.jpg","galleries_id":372905,"server_id":5,"link":"photo_6869380.html","width":90,"caption":"Laugharne Castle","height":68});
															thumbnails[6869384] = clik.newPhoto({"id":6869384,"src":"Pembroke-Castle-View-From-Moat2_thumb.jpg","galleries_id":372905,"server_id":5,"link":"photo_6869384.html","width":90,"caption":"Pembroke Castle","height":68});
															thumbnails[6869388] = clik.newPhoto({"id":6869388,"src":"Raglan-Landscape_thumb.jpg","galleries_id":372905,"server_id":5,"link":"photo_6869388.html","width":90,"caption":"Raglan Castle Landscape","height":39});
															thumbnails[6869397] = clik.newPhoto({"id":6869397,"src":"Raglan-Moat_thumb.jpg","galleries_id":372905,"server_id":5,"link":"photo_6869397.html","width":90,"caption":"Raglan Castle","height":64});
															thumbnails[6869403] = clik.newPhoto({"id":6869403,"src":"Knight-on-Horse_thumb.jpg","galleries_id":372906,"server_id":5,"link":"photo_6869403.html","width":90,"caption":"Victory in the Joust","height":129});
															thumbnails[6869419] = clik.newPhoto({"id":6869419,"src":"Ben-Behaving-Madly_thumb.jpg","galleries_id":372923,"server_id":5,"link":"photo_6869419.html","width":90,"caption":"Ben Behaving Madly","height":115});
															thumbnails[6869433] = clik.newPhoto({"id":6869433,"src":"Grace-Portrait-4_thumb.jpg","galleries_id":372922,"server_id":5,"link":"photo_6869433.html","width":90,"caption":"Grace Portrait","height":124});
															thumbnails[6869437] = clik.newPhoto({"id":6869437,"src":"MMA-1_thumb.jpg","galleries_id":372921,"server_id":5,"link":"photo_6869437.html","width":90,"caption":"Before the Fight","height":119});
															thumbnails[6869442] = clik.newPhoto({"id":6869442,"src":"Ben-Brighouse_thumb.jpg","galleries_id":372923,"server_id":5,"link":"photo_6869442.html","width":90,"caption":"Ben Brighouse","height":135});
															thumbnails[6869554] = clik.newPhoto({"id":6869554,"src":"Fairground-2_thumb.jpg","galleries_id":372930,"server_id":5,"link":"photo_6869554.html","width":90,"caption":"Fairground","height":136});
															thumbnails[6869560] = clik.newPhoto({"id":6869560,"src":"Individuality-Too_thumb.jpg","galleries_id":372931,"server_id":5,"link":"photo_6869560.html","width":90,"caption":"Individuality Too","height":120});
															thumbnails[6869637] = clik.newPhoto({"id":6869637,"src":"Water-Splash_thumb.jpg","galleries_id":372934,"server_id":5,"link":"photo_6869637.html","width":90,"caption":"Water Splash","height":120});
															thumbnails[6869640] = clik.newPhoto({"id":6869640,"src":"Despair-Cone_thumb.jpg","galleries_id":372932,"server_id":5,"link":"photo_6869640.html","width":90,"caption":"Cone of Despair","height":120});
															thumbnails[6869642] = clik.newPhoto({"id":6869642,"src":"Architecture_BW_small_thumb.jpg","galleries_id":372924,"server_id":5,"link":"photo_6869642.html","width":90,"caption":"B&W Architecture","height":122});
															thumbnails[6869647] = clik.newPhoto({"id":6869647,"src":"Docks-at-Sunset_thumb.jpg","galleries_id":372927,"server_id":5,"link":"photo_6869647.html","width":90,"caption":"Dock Cranes","height":120});
															thumbnails[6900251] = clik.newPhoto({"id":6900251,"src":"Aberdulais-Falls-1_thumb.jpg","galleries_id":372928,"server_id":5,"link":"photo_6900251.html","width":90,"caption":"Aberdulais Falls 1","height":120});
															thumbnails[6900254] = clik.newPhoto({"id":6900254,"src":"Aberdulais-Falls-2_thumb.jpg","galleries_id":372928,"server_id":5,"link":"photo_6900254.html","width":90,"caption":"Aberdulais Falls 2","height":120});
															thumbnails[6900259] = clik.newPhoto({"id":6900259,"src":"Aberdulais-Falls-3_thumb.jpg","galleries_id":372928,"server_id":5,"link":"photo_6900259.html","width":90,"caption":"Aberdulais Falls 3","height":68});
															thumbnails[6900263] = clik.newPhoto({"id":6900263,"src":"Arthurs-Stone-1_thumb.jpg","galleries_id":372907,"server_id":5,"link":"photo_6900263.html","width":90,"caption":"Arthur's Stone","height":120});
															thumbnails[6900283] = clik.newPhoto({"id":6900283,"src":"Boat-in-Estuary_thumb.jpg","galleries_id":372926,"server_id":5,"link":"photo_6900283.html","width":90,"caption":"Tides Out","height":60});
															thumbnails[6900286] = clik.newPhoto({"id":6900286,"src":"Burry-Port-Dunes_thumb.jpg","galleries_id":372926,"server_id":5,"link":"photo_6900286.html","width":90,"caption":"View from the Dunes","height":120});
															thumbnails[6900292] = clik.newPhoto({"id":6900292,"src":"Cenarth-Falls-Landscape_thumb.jpg","galleries_id":372928,"server_id":5,"link":"photo_6900292.html","width":90,"caption":"Cenarth Falls (landscape)","height":68});
															thumbnails[6900339] = clik.newPhoto({"id":6900339,"src":"Cenarth-v2_thumb.jpg","galleries_id":372928,"server_id":5,"link":"photo_6900339.html","width":90,"caption":"Cenarth Falls (Portrait)","height":120});
															thumbnails[6900354] = clik.newPhoto({"id":6900354,"src":"Clyne-Gardens-Falls_thumb.jpg","galleries_id":372928,"server_id":5,"link":"photo_6900354.html","width":90,"caption":"Waterfall In Clyne","height":120});
															thumbnails[6900367] = clik.newPhoto({"id":6900367,"src":"Great-Tor-Gower-2_thumb.jpg","galleries_id":372926,"server_id":5,"link":"photo_6900367.html","width":90,"caption":"Gower Reflection","height":120});
															thumbnails[6900466] = clik.newPhoto({"id":6900466,"src":"Snowscape_thumb.jpg","galleries_id":372929,"server_id":5,"link":"photo_6900466.html","width":90,"caption":"Snowy Road","height":59});
															thumbnails[6900471] = clik.newPhoto({"id":6900471,"src":"Snowy-Path_thumb.jpg","galleries_id":372929,"server_id":5,"link":"photo_6900471.html","width":90,"caption":"Snowy Path","height":120});
															thumbnails[6900477] = clik.newPhoto({"id":6900477,"src":"Snowy-Trees-Panorama_thumb.jpg","galleries_id":372929,"server_id":5,"link":"photo_6900477.html","width":90,"caption":"Snowy Landscape","height":35});
															thumbnails[6900480] = clik.newPhoto({"id":6900480,"src":"Tenby_thumb.jpg","galleries_id":372926,"server_id":5,"link":"photo_6900480.html","width":90,"caption":"Tenby","height":60});
															thumbnails[6900484] = clik.newPhoto({"id":6900484,"src":"Tenby-Harbour_thumb.jpg","galleries_id":372926,"server_id":5,"link":"photo_6900484.html","width":90,"caption":"Tenby Harbour","height":55});
															thumbnails[6900494] = clik.newPhoto({"id":6900494,"src":"Beach-Cafe-HDR-small_thumb.jpg","galleries_id":372924,"server_id":5,"link":"photo_6900494.html","width":90,"caption":"A World of Steel and Glass","height":68});
															thumbnails[6900518] = clik.newPhoto({"id":6900518,"src":"Beach-Cafe-small_thumb.jpg","galleries_id":372924,"server_id":5,"link":"photo_6900518.html","width":90,"caption":"Visitor's Centre","height":68});
															thumbnails[6900520] = clik.newPhoto({"id":6900520,"src":"Bristol_thumb.jpg","galleries_id":372924,"server_id":5,"link":"photo_6900520.html","width":90,"caption":"Bristol","height":135});
															thumbnails[6900525] = clik.newPhoto({"id":6900525,"src":"Under_the_bridge_thumb.jpg","galleries_id":372925,"server_id":5,"link":"photo_6900525.html","width":90,"caption":"Under the Bridge","height":60});
															thumbnails[6900530] = clik.newPhoto({"id":6900530,"src":"Lonely-Coast-Edit_thumb.jpg","galleries_id":372926,"server_id":5,"link":"photo_6900530.html","width":90,"caption":"The Lonely Coast","height":46});
															thumbnails[6900573] = clik.newPhoto({"id":6900573,"src":"Horrizon_thumb.jpg","galleries_id":372926,"server_id":5,"link":"photo_6900573.html","width":90,"caption":"Horrizon","height":60});
															thumbnails[6900588] = clik.newPhoto({"id":6900588,"src":"Lighthouse-Pano_thumb.jpg","galleries_id":372926,"server_id":5,"link":"photo_6900588.html","width":90,"caption":"Mumbles Lighthouse","height":36});
															thumbnails[6900599] = clik.newPhoto({"id":6900599,"src":"Devon-Sunset_thumb.jpg","galleries_id":372926,"server_id":5,"link":"photo_6900599.html","width":90,"caption":"Devon Sunset","height":61});
															thumbnails[6900603] = clik.newPhoto({"id":6900603,"src":"What_is_it_thumb.jpg","galleries_id":372926,"server_id":5,"link":"photo_6900603.html","width":90,"caption":"What is it?","height":66});
															thumbnails[6900615] = clik.newPhoto({"id":6900615,"src":"Surf-Coast-BW_thumb.jpg","galleries_id":372921,"server_id":5,"link":"photo_6900615.html","width":90,"caption":"Surf Coast","height":61});
															thumbnails[6900632] = clik.newPhoto({"id":6900632,"src":"Nash-Point-BW-Edit_thumb.jpg","galleries_id":372926,"server_id":5,"link":"photo_6900632.html","width":90,"caption":"Primitive Shores","height":60});
															thumbnails[6900636] = clik.newPhoto({"id":6900636,"src":"Nash-Point-1_thumb.jpg","galleries_id":372926,"server_id":5,"link":"photo_6900636.html","width":90,"caption":"Nash Point","height":48});
															thumbnails[6900660] = clik.newPhoto({"id":6900660,"src":"walking_on_fire_thumb.jpg","galleries_id":372926,"server_id":5,"link":"photo_6900660.html","width":90,"caption":"Walking on Fire","height":30});
															thumbnails[6900666] = clik.newPhoto({"id":6900666,"src":"Dryslyn-Castle-letterbox_thumb.jpg","galleries_id":372929,"server_id":5,"link":"photo_6900666.html","width":90,"caption":"My Carmarthenshire","height":32});
															thumbnails[6900715] = clik.newPhoto({"id":6900715,"src":"Carmarthenshire-Pano_thumb.jpg","galleries_id":372929,"server_id":5,"link":"photo_6900715.html","width":90,"caption":"The River Tywi","height":37});
															thumbnails[6900734] = clik.newPhoto({"id":6900734,"src":"Great_Belt_Bridge_thumb.jpg","galleries_id":372925,"server_id":5,"link":"photo_6900734.html","width":90,"caption":"Storebæltsforbindelsen","height":40});
															thumbnails[6900763] = clik.newPhoto({"id":6900763,"src":"Millenium-Bridge_thumb.jpg","galleries_id":372925,"server_id":5,"link":"photo_6900763.html","width":90,"caption":"Reach for the Sky","height":120});
															thumbnails[6900775] = clik.newPhoto({"id":6900775,"src":"Sail-Bridge-2-small_thumb.jpg","galleries_id":372925,"server_id":5,"link":"photo_6900775.html","width":90,"caption":"SA1L Bridge","height":120});
															thumbnails[6900795] = clik.newPhoto({"id":6900795,"src":"Sail-Bridge-1-small_thumb.jpg","galleries_id":372925,"server_id":5,"link":"photo_6900795.html","width":90,"caption":"Bridge to SA1","height":43});
															thumbnails[6900812] = clik.newPhoto({"id":6900812,"src":"Church-on-Hillside-small_thumb.jpg","galleries_id":372907,"server_id":5,"link":"photo_6900812.html","width":90,"caption":"Hillside Church","height":60});
															thumbnails[6900833] = clik.newPhoto({"id":6900833,"src":"Clifton-Suspension-Bridge-small_thumb.jpg","galleries_id":372930,"server_id":5,"link":"photo_6900833.html","width":90,"caption":"Bridge by Brunel","height":60});
															thumbnails[6900844] = clik.newPhoto({"id":6900844,"src":"Clifton-Pano-large-Edit_thumb.jpg","galleries_id":372925,"server_id":5,"link":"photo_6900844.html","width":90,"caption":"Clifton Panorama","height":38});
															thumbnails[6900999] = clik.newPhoto({"id":6900999,"src":"Dynefwr-House-1-small_thumb.jpg","galleries_id":372907,"server_id":5,"link":"photo_6900999.html","width":90,"caption":"Dinefwyr House","height":68});
															thumbnails[6901008] = clik.newPhoto({"id":6901008,"src":"Leisure-Center_thumb.jpg","galleries_id":372930,"server_id":5,"link":"photo_6901008.html","width":90,"caption":"Leisure Centre","height":68});
															thumbnails[6901013] = clik.newPhoto({"id":6901013,"src":"Menai-Bridge-small_thumb.jpg","galleries_id":372925,"server_id":5,"link":"photo_6901013.html","width":90,"caption":"Menai Bridge","height":68});
															thumbnails[6901020] = clik.newPhoto({"id":6901020,"src":"Millenium-Center-2_thumb.jpg","galleries_id":372930,"server_id":5,"link":"photo_6901020.html","width":90,"caption":"Millenium","height":38});
															thumbnails[6901028] = clik.newPhoto({"id":6901028,"src":"Mirrored-Reflection_thumb.jpg","galleries_id":372927,"server_id":5,"link":"photo_6901028.html","width":90,"caption":"Bay Reflection","height":58});
															thumbnails[6901035] = clik.newPhoto({"id":6901035,"src":"Modern-Church_thumb.jpg","galleries_id":372927,"server_id":5,"link":"photo_6901035.html","width":90,"caption":"Modern Church","height":120});
															thumbnails[6901042] = clik.newPhoto({"id":6901042,"src":"Monnow-Gate-Bridge-small_thumb.jpg","galleries_id":372925,"server_id":5,"link":"photo_6901042.html","width":90,"caption":"Monnow Gate Bridge","height":68});
															thumbnails[6901140] = clik.newPhoto({"id":6901140,"src":"Mumbles-Pier-Entrance-small_thumb.jpg","galleries_id":372927,"server_id":5,"link":"photo_6901140.html","width":90,"caption":"Pier Entrance","height":120});
															thumbnails[6901147] = clik.newPhoto({"id":6901147,"src":"Nash-Point-Lighthouse_thumb.jpg","galleries_id":372927,"server_id":5,"link":"photo_6901147.html","width":90,"caption":"Storm Brewing","height":46});
															thumbnails[6901154] = clik.newPhoto({"id":6901154,"src":"Paxtons-Tower-Letterbox_thumb.jpg","galleries_id":372907,"server_id":5,"link":"photo_6901154.html","width":90,"caption":"Paxton's Tower","height":42});
															thumbnails[6901159] = clik.newPhoto({"id":6901159,"src":"Tin-mIne-2_thumb.jpg","galleries_id":372907,"server_id":5,"link":"photo_6901159.html","width":90,"caption":"Tin Mine","height":66});
															thumbnails[6901168] = clik.newPhoto({"id":6901168,"src":"Tintern-1-small_thumb.jpg","galleries_id":372907,"server_id":5,"link":"photo_6901168.html","width":90,"caption":"Tintern Abbey","height":120});
															thumbnails[6903143] = clik.newPhoto({"id":6903143,"src":"Itsy-Bitsy_thumb.jpg","galleries_id":374564,"server_id":5,"link":"photo_6903143.html","width":90,"caption":"Itsy-Bitsy Spider","height":129});
															thumbnails[6903144] = clik.newPhoto({"id":6903144,"src":"Butterfly1_thumb.jpg","galleries_id":374564,"server_id":5,"link":"photo_6903144.html","width":90,"caption":"Butterfly 1","height":75});
															thumbnails[6903145] = clik.newPhoto({"id":6903145,"src":"Butterfly2_thumb.jpg","galleries_id":374564,"server_id":5,"link":"photo_6903145.html","width":90,"caption":"Butterfly 2","height":75});
															thumbnails[6903146] = clik.newPhoto({"id":6903146,"src":"Butterfly3_thumb.jpg","galleries_id":374564,"server_id":5,"link":"photo_6903146.html","width":90,"caption":"Butterfly 3","height":75});
															thumbnails[6903147] = clik.newPhoto({"id":6903147,"src":"Fly-on-Flower-Edit_thumb.jpg","galleries_id":374564,"server_id":5,"link":"photo_6903147.html","width":90,"caption":"Fly on Flower","height":61});
															thumbnails[6903148] = clik.newPhoto({"id":6903148,"src":"Fly-on-Flower-Edit2_thumb.jpg","galleries_id":374564,"server_id":5,"link":"photo_6903148.html","width":90,"caption":"Fly on Flower 2","height":61});
															thumbnails[6903149] = clik.newPhoto({"id":6903149,"src":"Grass_thumb.jpg","galleries_id":374565,"server_id":5,"link":"photo_6903149.html","width":90,"caption":"Singular","height":120});
															thumbnails[6903150] = clik.newPhoto({"id":6903150,"src":"Dandelion2_thumb.jpg","galleries_id":374565,"server_id":5,"link":"photo_6903150.html","width":90,"caption":"Gone with the Wind","height":68});
															thumbnails[6903151] = clik.newPhoto({"id":6903151,"src":"Flower-Abstract_thumb.jpg","galleries_id":374565,"server_id":5,"link":"photo_6903151.html","width":90,"caption":"Yellow","height":68});
															thumbnails[6903152] = clik.newPhoto({"id":6903152,"src":"White-Flowers_thumb.jpg","galleries_id":374565,"server_id":5,"link":"photo_6903152.html","width":90,"caption":"White Flowers","height":120});
															thumbnails[6903153] = clik.newPhoto({"id":6903153,"src":"Robin_thumb.jpg","galleries_id":374563,"server_id":5,"link":"photo_6903153.html","width":90,"caption":"Inquisitive Robin","height":114});
															thumbnails[6903154] = clik.newPhoto({"id":6903154,"src":"Harris-Hawk_thumb.jpg","galleries_id":374563,"server_id":5,"link":"photo_6903154.html","width":90,"caption":"Harris Hawk","height":70});
															thumbnails[6903155] = clik.newPhoto({"id":6903155,"src":"Bird-on-Plate1_thumb.jpg","galleries_id":374563,"server_id":5,"link":"photo_6903155.html","width":90,"caption":"Hungry Bird","height":68});
															thumbnails[6903156] = clik.newPhoto({"id":6903156,"src":"Bird-on-Plate2_thumb.jpg","galleries_id":374563,"server_id":5,"link":"photo_6903156.html","width":90,"caption":"Too Close","height":68});
															thumbnails[6903175] = clik.newPhoto({"id":6903175,"src":"Meerkat_thumb.jpg","galleries_id":374563,"server_id":5,"link":"photo_6903175.html","width":90,"caption":"Merely a Meerkat","height":68});
															thumbnails[6903207] = clik.newPhoto({"id":6903207,"src":"Praerie-Dog_thumb.jpg","galleries_id":374563,"server_id":5,"link":"photo_6903207.html","width":90,"caption":"Praerie Dog","height":75});
															thumbnails[6903227] = clik.newPhoto({"id":6903227,"src":"White-Cows_thumb.jpg","galleries_id":374563,"server_id":5,"link":"photo_6903227.html","width":90,"caption":"Scary Cows","height":60});
															thumbnails[6903252] = clik.newPhoto({"id":6903252,"src":"Squirrel_thumb.jpg","galleries_id":374563,"server_id":5,"link":"photo_6903252.html","width":90,"caption":"Squirrel","height":108});
															thumbnails[6903258] = clik.newPhoto({"id":6903258,"src":"Arthurs_Stone_BW_small_thumb.jpg","galleries_id":372907,"server_id":5,"link":"photo_6903258.html","width":90,"caption":"Arthur's Stone (B&W)","height":60});
															thumbnails[6903259] = clik.newPhoto({"id":6903259,"src":"Grinds-my-Gears_thumb.jpg","galleries_id":372934,"server_id":5,"link":"photo_6903259.html","width":90,"caption":"Grinds my Gears","height":75});
															thumbnails[6903260] = clik.newPhoto({"id":6903260,"src":"Old_Boats_BW_small_thumb.jpg","galleries_id":372934,"server_id":5,"link":"photo_6903260.html","width":90,"caption":"Old Boats","height":68});
															thumbnails[6903262] = clik.newPhoto({"id":6903262,"src":"Pier_From_Below_Sepia_small_thumb.jpg","galleries_id":372927,"server_id":5,"link":"photo_6903262.html","width":90,"caption":"Mumbles Pier","height":60});
															thumbnails[6903265] = clik.newPhoto({"id":6903265,"src":"Raglan_Shed_small_thumb.jpg","galleries_id":372927,"server_id":5,"link":"photo_6903265.html","width":90,"caption":"Something old, something new?","height":68});
															thumbnails[6903267] = clik.newPhoto({"id":6903267,"src":"Tree_thumb.jpg","galleries_id":374565,"server_id":5,"link":"photo_6903267.html","width":90,"caption":"Tree Silhouette","height":98});
															thumbnails[6903281] = clik.newPhoto({"id":6903281,"src":"Arrows_thumb.jpg","galleries_id":372906,"server_id":5,"link":"photo_6903281.html","width":90,"caption":"Arrows","height":133});
															thumbnails[6903284] = clik.newPhoto({"id":6903284,"src":"Bolt-BW_thumb.jpg","galleries_id":372931,"server_id":5,"link":"photo_6903284.html","width":90,"caption":"Bolt","height":75});
															thumbnails[6903285] = clik.newPhoto({"id":6903285,"src":"Checkmate_thumb.jpg","galleries_id":372934,"server_id":5,"link":"photo_6903285.html","width":90,"caption":"Checkmate!","height":111});
															thumbnails[6903286] = clik.newPhoto({"id":6903286,"src":"Dead-Leaves_thumb.jpg","galleries_id":372934,"server_id":5,"link":"photo_6903286.html","width":90,"caption":"Autumn","height":72});
															thumbnails[6903288] = clik.newPhoto({"id":6903288,"src":"leaf_thumb.jpg","galleries_id":372934,"server_id":5,"link":"photo_6903288.html","width":90,"caption":"Captivity","height":68});
															thumbnails[6903289] = clik.newPhoto({"id":6903289,"src":"Individuality_thumb.jpg","galleries_id":372931,"server_id":5,"link":"photo_6903289.html","width":90,"caption":"Individuality","height":120});
															thumbnails[6903292] = clik.newPhoto({"id":6903292,"src":"Leaf-1_thumb.jpg","galleries_id":372932,"server_id":5,"link":"photo_6903292.html","width":90,"caption":"The colours of time","height":72});
															thumbnails[6903295] = clik.newPhoto({"id":6903295,"src":"leaf_2_thumb.jpg","galleries_id":372932,"server_id":5,"link":"photo_6903295.html","width":90,"caption":"Autumn Leaf","height":64});
															thumbnails[6903298] = clik.newPhoto({"id":6903298,"src":"The-Green-Pebble_thumb.jpg","galleries_id":372932,"server_id":5,"link":"photo_6903298.html","width":90,"caption":"The Green Pebble","height":60});
															thumbnails[6903299] = clik.newPhoto({"id":6903299,"src":"Old-Vice_thumb.jpg","galleries_id":372932,"server_id":5,"link":"photo_6903299.html","width":90,"caption":"Old Vices Die Hard","height":66});
															thumbnails[6903300] = clik.newPhoto({"id":6903300,"src":"The-Phoenix_thumb.jpg","galleries_id":372934,"server_id":5,"link":"photo_6903300.html","width":90,"caption":"The Phoenix Rises","height":54});
															thumbnails[6903301] = clik.newPhoto({"id":6903301,"src":"Worlds-Collide_thumb.jpg","galleries_id":372934,"server_id":5,"link":"photo_6903301.html","width":90,"caption":"Worlds Collide","height":55});
															thumbnails[6903302] = clik.newPhoto({"id":6903302,"src":"Viking_Ship_thumb.jpg","galleries_id":372934,"server_id":5,"link":"photo_6903302.html","width":90,"caption":"Viking Ship","height":126});
															thumbnails[6903303] = clik.newPhoto({"id":6903303,"src":"Potrait-on-warhol_thumb.jpg","galleries_id":372934,"server_id":5,"link":"photo_6903303.html","width":90,"caption":"Portrait on Warhol","height":129});
															thumbnails[6903304] = clik.newPhoto({"id":6903304,"src":"Circuit2_thumb.jpg","galleries_id":372931,"server_id":5,"link":"photo_6903304.html","width":90,"caption":"Circuit","height":90});
															thumbnails[6903305] = clik.newPhoto({"id":6903305,"src":"bikers_thumb.jpg","galleries_id":372921,"server_id":5,"link":"photo_6903305.html","width":90,"caption":"Bikers","height":112});
															thumbnails[6903306] = clik.newPhoto({"id":6903306,"src":"BMX-1_thumb.jpg","galleries_id":372921,"server_id":5,"link":"photo_6903306.html","width":90,"caption":"What is this stunt called?","height":73});
															thumbnails[6903307] = clik.newPhoto({"id":6903307,"src":"Grace-Portrait-2-BW_thumb.jpg","galleries_id":372922,"server_id":5,"link":"photo_6903307.html","width":90,"caption":"Grace B&W","height":124});
															thumbnails[6903308] = clik.newPhoto({"id":6903308,"src":"Grace_Backlit_thumb.jpg","galleries_id":372922,"server_id":5,"link":"photo_6903308.html","width":90,"caption":"Grace 2","height":90});
															thumbnails[6903311] = clik.newPhoto({"id":6903311,"src":"MMA-BW-Portrait_thumb.jpg","galleries_id":372921,"server_id":5,"link":"photo_6903311.html","width":90,"caption":"After the Fight","height":115});
															thumbnails[6903312] = clik.newPhoto({"id":6903312,"src":"Rowing-Stylised-Calendar-Ed-Edit_thumb.jpg","galleries_id":372921,"server_id":5,"link":"photo_6903312.html","width":90,"caption":"Rowing","height":60});
															thumbnails[6903313] = clik.newPhoto({"id":6903313,"src":"mr_popular_thumb.jpg","galleries_id":372923,"server_id":5,"link":"photo_6903313.html","width":90,"caption":"Mr Popular","height":41});
															thumbnails[6903314] = clik.newPhoto({"id":6903314,"src":"the_sea_thumb.jpg","galleries_id":372923,"server_id":5,"link":"photo_6903314.html","width":90,"caption":"The Sea","height":114});
															thumbnails[6903315] = clik.newPhoto({"id":6903315,"src":"The-Joust_thumb.jpg","galleries_id":372906,"server_id":5,"link":"photo_6903315.html","width":90,"caption":"The Joust","height":51});
															thumbnails[6903317] = clik.newPhoto({"id":6903317,"src":"Knights3_thumb.jpg","galleries_id":372906,"server_id":5,"link":"photo_6903317.html","width":90,"caption":"Foot Knight","height":60});
															thumbnails[6903325] = clik.newPhoto({"id":6903325,"src":"Ready-to-Fire_thumb.jpg","galleries_id":372906,"server_id":5,"link":"photo_6903325.html","width":90,"caption":"Ready to Fire","height":90});
															thumbnails[6903329] = clik.newPhoto({"id":6903329,"src":"splash-of-colour_thumb.jpg","galleries_id":372934,"server_id":5,"link":"photo_6903329.html","width":90,"caption":"Splash of Colour","height":59});
															thumbnails[6903330] = clik.newPhoto({"id":6903330,"src":"Painting-With-Light-1_thumb.jpg","galleries_id":372930,"server_id":5,"link":"photo_6903330.html","width":90,"caption":"Painting with Light","height":87});
															thumbnails[6903359] = clik.newPhoto({"id":6903359,"src":"Waterfall_thumb.jpg","galleries_id":372928,"server_id":5,"link":"photo_6903359.html","width":90,"caption":"Melincourt Falls","height":60});
															thumbnails[6903375] = clik.newPhoto({"id":6903375,"src":"Waterfall-Triptych_thumb.jpg","galleries_id":372928,"server_id":5,"link":"photo_6903375.html","width":90,"caption":"Melincourt Falls Tryptych","height":68});
															thumbnails[6903380] = clik.newPhoto({"id":6903380,"src":"Pebbles-Triptych_thumb.jpg","galleries_id":372932,"server_id":5,"link":"photo_6903380.html","width":90,"caption":"Zen Tryptych","height":64});
															thumbnails[6903476] = clik.newPhoto({"id":6903476,"src":"Handstand-in-the-Rain_thumb.jpg","galleries_id":372934,"server_id":5,"link":"photo_6903476.html","width":90,"caption":"Handstand in the Rain","height":90});
															thumbnails[6903478] = clik.newPhoto({"id":6903478,"src":"ben_hockey_thumb.jpg","galleries_id":372921,"server_id":5,"link":"photo_6903478.html","width":90,"caption":"Shoot for Goal","height":45});
															thumbnails[6903484] = clik.newPhoto({"id":6903484,"src":"Ben-Hockey-Portrait_thumb.jpg","galleries_id":372921,"server_id":5,"link":"photo_6903484.html","width":90,"caption":"Ben Green SBHC","height":139});
															thumbnails[6903489] = clik.newPhoto({"id":6903489,"src":"Hockey-SFX_thumb.jpg","galleries_id":372921,"server_id":5,"link":"photo_6903489.html","width":90,"caption":"Motion Blur","height":40});
															thumbnails[7224126] = clik.newPhoto({"id":7224126,"src":"The_Punch_thumb.jpg","galleries_id":372921,"server_id":5,"link":"photo_7224126.html","width":90,"caption":"The Punch","height":122});
															thumbnails[7224130] = clik.newPhoto({"id":7224130,"src":"Gloves_thumb.jpg","galleries_id":372932,"server_id":5,"link":"photo_7224130.html","width":90,"caption":"Waiting for Purpose","height":106});
															thumbnails[7224132] = clik.newPhoto({"id":7224132,"src":"Fighter_thumb.jpg","galleries_id":372921,"server_id":5,"link":"photo_7224132.html","width":90,"caption":"Ready For A Fight","height":115});
															thumbnails[7224145] = clik.newPhoto({"id":7224145,"src":"PHotoSoc_Model_Shoot_1_of_2_thumb.jpg","galleries_id":372922,"server_id":5,"link":"photo_7224145.html","width":90,"caption":"Relaxed Pose","height":79});
															thumbnails[7224146] = clik.newPhoto({"id":7224146,"src":"PHotoSoc_Model_Shoot_2_of_2_thumb.jpg","galleries_id":372922,"server_id":5,"link":"photo_7224146.html","width":90,"caption":"Close Up","height":120});
															thumbnails[7224150] = clik.newPhoto({"id":7224150,"src":"Fireworks_1_of_8_thumb.jpg","galleries_id":372930,"server_id":5,"link":"photo_7224150.html","width":90,"caption":"Fireworks 1","height":117});
															thumbnails[7224152] = clik.newPhoto({"id":7224152,"src":"Fireworks_2_of_8_thumb.jpg","galleries_id":372930,"server_id":5,"link":"photo_7224152.html","width":90,"caption":"Fireworks 2","height":69});
															thumbnails[7224153] = clik.newPhoto({"id":7224153,"src":"Fireworks_3_of_8_thumb.jpg","galleries_id":372930,"server_id":5,"link":"photo_7224153.html","width":90,"caption":"Fireworks 3","height":63});
															thumbnails[7224154] = clik.newPhoto({"id":7224154,"src":"Fireworks_4_of_8_thumb.jpg","galleries_id":372930,"server_id":5,"link":"photo_7224154.html","width":90,"caption":"Fireworks 4","height":61});
															thumbnails[7224157] = clik.newPhoto({"id":7224157,"src":"Fireworks_5_of_8_thumb.jpg","galleries_id":372930,"server_id":5,"link":"photo_7224157.html","width":90,"caption":"Fireworks 5","height":101});
															thumbnails[7224159] = clik.newPhoto({"id":7224159,"src":"Fireworks_6_of_8_thumb.jpg","galleries_id":372930,"server_id":5,"link":"photo_7224159.html","width":90,"caption":"Fireworks 6","height":101});
															thumbnails[7224162] = clik.newPhoto({"id":7224162,"src":"Fireworks_7_of_8_thumb.jpg","galleries_id":372930,"server_id":5,"link":"photo_7224162.html","width":90,"caption":"Fireworks 7","height":64});
															thumbnails[7224169] = clik.newPhoto({"id":7224169,"src":"Fireworks_8_of_8_thumb.jpg","galleries_id":372930,"server_id":5,"link":"photo_7224169.html","width":90,"caption":"Fireworks 8","height":74});
															thumbnails[7224186] = clik.newPhoto({"id":7224186,"src":"Winter_Wonderland_1_of_4_thumb.jpg","galleries_id":372927,"server_id":5,"link":"photo_7224186.html","width":90,"caption":"Spoken For","height":113});
															thumbnails[7224188] = clik.newPhoto({"id":7224188,"src":"Winter_Wonderland_2_of_4_thumb.jpg","galleries_id":372930,"server_id":5,"link":"photo_7224188.html","width":90,"caption":"Through The Wheel","height":67});
															thumbnails[7224189] = clik.newPhoto({"id":7224189,"src":"Winter_Wonderland_3_of_4_thumb.jpg","galleries_id":372930,"server_id":5,"link":"photo_7224189.html","width":90,"caption":"An Odd View","height":143});
															thumbnails[7224190] = clik.newPhoto({"id":7224190,"src":"Winter_Wonderland_4_of_4_thumb.jpg","galleries_id":372923,"server_id":5,"link":"photo_7224190.html","width":90,"caption":"Waiting to Ice Skate","height":123});
															thumbnails[7992590] = clik.newPhoto({"id":7992590,"src":"Web_1_of_3_thumb.jpg","galleries_id":372923,"server_id":5,"link":"photo_7992590.html","width":90,"caption":"Angella","height":143});
															thumbnails[7992591] = clik.newPhoto({"id":7992591,"src":"Web_2_of_3_thumb.jpg","galleries_id":372921,"server_id":5,"link":"photo_7992591.html","width":90,"caption":"Huddle","height":120});
															thumbnails[7992592] = clik.newPhoto({"id":7992592,"src":"Web_3_of_3_thumb.jpg","galleries_id":372921,"server_id":5,"link":"photo_7992592.html","width":90,"caption":"Waiting for the Ball","height":143});
															thumbnails[7992593] = clik.newPhoto({"id":7992593,"src":"untitled_1_of_3_thumb.jpg","galleries_id":372922,"server_id":5,"link":"photo_7992593.html","width":90,"caption":"The Eyes Have It","height":41});
															thumbnails[7992599] = clik.newPhoto({"id":7992599,"src":"untitled_2_of_3_thumb.jpg","galleries_id":372922,"server_id":5,"link":"photo_7992599.html","width":90,"caption":"Contemplation","height":113});
															thumbnails[7992600] = clik.newPhoto({"id":7992600,"src":"untitled_3_of_3_thumb.jpg","galleries_id":372922,"server_id":5,"link":"photo_7992600.html","width":90,"caption":"Close Up","height":161});
															thumbnails[8456356] = clik.newPhoto({"id":8456356,"src":"Punk_Shoot_5_of_21_thumb.jpg","galleries_id":372922,"server_id":5,"link":"photo_8456356.html","width":90,"caption":"Attitude","height":56});
															thumbnails[8456366] = clik.newPhoto({"id":8456366,"src":"Punk_Shoot_10_of_21_thumb.jpg","galleries_id":372922,"server_id":5,"link":"photo_8456366.html","width":90,"caption":"Nadia","height":128});
															thumbnails[8456370] = clik.newPhoto({"id":8456370,"src":"Punk_Shoot_12_of_21_thumb.jpg","galleries_id":372922,"server_id":5,"link":"photo_8456370.html","width":90,"caption":"Nadia 2","height":71});
															thumbnails[8456371] = clik.newPhoto({"id":8456371,"src":"Punk_Shoot_3_of_21_thumb.jpg","galleries_id":372922,"server_id":5,"link":"photo_8456371.html","width":90,"caption":"Attitude 2","height":131});
															thumbnails[8456374] = clik.newPhoto({"id":8456374,"src":"untitled_3_of_12_thumb.jpg","galleries_id":372921,"server_id":5,"link":"photo_8456374.html","width":90,"caption":"Air","height":265});
															thumbnails[8456376] = clik.newPhoto({"id":8456376,"src":"untitled_11_of_12_thumb.jpg","galleries_id":372921,"server_id":5,"link":"photo_8456376.html","width":90,"caption":"Youth of Today","height":122});
															thumbnails[8456379] = clik.newPhoto({"id":8456379,"src":"untitled_8_of_12_thumb.jpg","galleries_id":372921,"server_id":5,"link":"photo_8456379.html","width":90,"caption":"Ride Safely","height":125});
															thumbnails[8456382] = clik.newPhoto({"id":8456382,"src":"Noahs_1_1_of_5_thumb.jpg","galleries_id":372922,"server_id":5,"link":"photo_8456382.html","width":90,"caption":"Jazz","height":158});
															thumbnails[8456384] = clik.newPhoto({"id":8456384,"src":"Hersty_11_10_of_83_thumb.jpg","galleries_id":372906,"server_id":5,"link":"photo_8456384.html","width":90,"caption":"Arrow Search And Rescue","height":60});
															thumbnails[8456403] = clik.newPhoto({"id":8456403,"src":"Llanelli_Beach_thumb.jpg","galleries_id":372926,"server_id":5,"link":"photo_8456403.html","width":90,"caption":"Llanelli Beach","height":36});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[372899] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Architectural","link":"gallery_372899.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"6900775,6900763,6900520,6869647,6869642","id":372899,"singleSection":false});				  						galleries[374563] = clik.newGallery({"parentGallery":372902,"usePopups":false,"title":"Birdies and Fluffy Things","link":"gallery_374563.html","maxRecords":0.0,"photoIDs":[6903153.0,6903154.0,6903155.0,6903156.0,6903175.0,6903207.0,6903227.0,6903252.0],"skipIndex":0,"section_code":"gallery","featured_images":6903153.0,"id":374563,"singleSection":false});				  						galleries[372925] = clik.newGallery({"parentGallery":372899,"usePopups":false,"title":"Bridges","link":"gallery_372925.html","maxRecords":0.0,"photoIDs":[6900525.0,6900734.0,6900763.0,6900775.0,6900795.0,6900844.0,6901013.0,6901042.0],"skipIndex":0,"section_code":"gallery","featured_images":"6900775,6900763","id":372925,"singleSection":false});				  						galleries[372924] = clik.newGallery({"parentGallery":372899,"usePopups":false,"title":"Buildings","link":"gallery_372924.html","maxRecords":0.0,"photoIDs":[6869642.0,6900494.0,6900518.0,6900520.0],"skipIndex":0,"section_code":"gallery","featured_images":"6900520,6869642","id":372924,"singleSection":false});				  						galleries[374564] = clik.newGallery({"parentGallery":372902,"usePopups":false,"title":"Butterflies and Creepy Crawlies","link":"gallery_374564.html","maxRecords":0.0,"photoIDs":[6903143.0,6903144.0,6903145.0,6903146.0,6903147.0,6903148.0],"skipIndex":0,"section_code":"gallery","featured_images":6903143.0,"id":374564,"singleSection":false});				  						galleries[372905] = clik.newGallery({"parentGallery":372898,"usePopups":false,"title":"Castles","link":"gallery_372905.html","maxRecords":0.0,"photoIDs":[6868884.0,6868908.0,6868918.0,6868920.0,6868923.0,6868932.0,6868961.0,6868970.0,6868975.0,6868988.0,6868997.0,6869018.0,6869022.0,6869052.0,6869363.0,6869365.0,6869366.0,6869368.0,6869369.0,6869370.0,6869371.0,6869380.0,6869384.0,6869388.0,6869397.0],"skipIndex":0,"section_code":"gallery","featured_images":6868884.0,"id":372905,"singleSection":false});				  						galleries[372926] = clik.newGallery({"parentGallery":372901,"usePopups":false,"title":"Coastal","link":"gallery_372926.html","maxRecords":0.0,"photoIDs":[6900283.0,6900286.0,6900367.0,6900480.0,6900484.0,6900530.0,6900573.0,6900588.0,6900599.0,6900603.0,6900632.0,6900636.0,6900660.0,8456403.0],"skipIndex":0,"section_code":"gallery","featured_images":"6900367,6900286","id":372926,"singleSection":false});				  						galleries[372902] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Flora & Fauna","link":"gallery_372902.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"6903153,6903152,6903149,6903143","id":372902,"singleSection":false});				  						galleries[374565] = clik.newGallery({"parentGallery":372902,"usePopups":false,"title":"Flowers, Plants & Shrubs","link":"gallery_374565.html","maxRecords":0.0,"photoIDs":[6903149.0,6903150.0,6903151.0,6903152.0,6903267.0],"skipIndex":0,"section_code":"gallery","featured_images":"6903152,6903149","id":374565,"singleSection":false});				  						galleries[372929] = clik.newGallery({"parentGallery":372901,"usePopups":false,"title":"General Landscape","link":"gallery_372929.html","maxRecords":0.0,"photoIDs":[6900466.0,6900471.0,6900477.0,6900666.0,6900715.0],"skipIndex":0,"section_code":"gallery","featured_images":6900471.0,"id":372929,"singleSection":false});				  						galleries[372898] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Historical","link":"gallery_372898.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"6903281,6901168,6900263,6869403,6868884","id":372898,"singleSection":false});				  						galleries[372934] = clik.newGallery({"parentGallery":372904,"usePopups":false,"title":"Just Plain Random","link":"gallery_372934.html","maxRecords":0.0,"photoIDs":[6869637.0,6903259.0,6903260.0,6903285.0,6903286.0,6903288.0,6903300.0,6903301.0,6903302.0,6903303.0,6903329.0,6903476.0],"skipIndex":0,"section_code":"gallery","featured_images":"6903303,6903302,6869637","id":372934,"singleSection":false});				  						galleries[372901] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Landscape","link":"gallery_372901.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"6900471,6900367,6900339,6900286,6900251","id":372901,"singleSection":false});				  						galleries[372931] = clik.newGallery({"parentGallery":372904,"usePopups":false,"title":"Macro","link":"gallery_372931.html","maxRecords":0.0,"photoIDs":[6869560.0,6903284.0,6903289.0,6903304.0],"skipIndex":0,"section_code":"gallery","featured_images":6869560.0,"id":372931,"singleSection":false});				  						galleries[372930] = clik.newGallery({"parentGallery":372904,"usePopups":false,"title":"Night time Shots","link":"gallery_372930.html","maxRecords":0.0,"photoIDs":[6869554.0,6900833.0,6901008.0,6901020.0,6903330.0,7224150.0,7224152.0,7224153.0,7224154.0,7224157.0,7224159.0,7224162.0,7224169.0,7224188.0,7224189.0],"skipIndex":0,"section_code":"gallery","featured_images":6869554.0,"id":372930,"singleSection":false});				  						galleries[372927] = clik.newGallery({"parentGallery":372899,"usePopups":false,"title":"Other architecture","link":"gallery_372927.html","maxRecords":0.0,"photoIDs":[6869647.0,6901028.0,6901035.0,6901140.0,6901147.0,6903262.0,6903265.0,7224186.0],"skipIndex":0,"section_code":"gallery","featured_images":6869647.0,"id":372927,"singleSection":false});				  						galleries[372907] = clik.newGallery({"parentGallery":372898,"usePopups":false,"title":"Other Historical","link":"gallery_372907.html","maxRecords":0.0,"photoIDs":[6868948.0,6900263.0,6900812.0,6900999.0,6901154.0,6901159.0,6901168.0,6903258.0],"skipIndex":0,"section_code":"gallery","featured_images":"6901168,6900263","id":372907,"singleSection":false});				  						galleries[372900] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"People","link":"gallery_372900.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"8456374,8456366,7992591,7992547,7992543,7992534,6903484,6903311,6903307,6869437,6869433,6869419","id":372900,"singleSection":false});				  						galleries[372923] = clik.newGallery({"parentGallery":372900,"usePopups":false,"title":"People I Met","link":"gallery_372923.html","maxRecords":0.0,"photoIDs":[6869419.0,6869442.0,6903313.0,6903314.0,7224190.0,7992590.0],"skipIndex":0,"section_code":"gallery","featured_images":6869419.0,"id":372923,"singleSection":false});				  						galleries[372904] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Random","link":"gallery_372904.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"6903303,6903302,6869640,6869637,6869560,6869554","id":372904,"singleSection":false});				  						galleries[372906] = clik.newGallery({"parentGallery":372898,"usePopups":false,"title":"Re-Enactment","link":"gallery_372906.html","maxRecords":0.0,"photoIDs":[6869403.0,6903281.0,6903315.0,6903317.0,6903325.0,8456384.0],"skipIndex":0,"section_code":"gallery","featured_images":"6903281,6869403","id":372906,"singleSection":false});				  						galleries[372921] = clik.newGallery({"parentGallery":372900,"usePopups":false,"title":"Sports & Sporting Events","link":"gallery_372921.html","maxRecords":0.0,"photoIDs":[6869437.0,6900615.0,6903305.0,6903306.0,6903311.0,6903312.0,6903478.0,6903484.0,6903489.0,7224126.0,7224132.0,7992591.0,7992592.0,8456374.0,8456376.0,8456379.0],"skipIndex":0,"section_code":"gallery","featured_images":"8456374,7992591,6903484,6903311,6869437","id":372921,"singleSection":false});				  						galleries[372932] = clik.newGallery({"parentGallery":372904,"usePopups":false,"title":"Still-Life","link":"gallery_372932.html","maxRecords":0.0,"photoIDs":[6869640.0,6903292.0,6903295.0,6903298.0,6903299.0,6903380.0,7224130.0],"skipIndex":0,"section_code":"gallery","featured_images":6869640.0,"id":372932,"singleSection":false});				  						galleries[372928] = clik.newGallery({"parentGallery":372901,"usePopups":false,"title":"Waterfalls & Rivers","link":"gallery_372928.html","maxRecords":0.0,"photoIDs":[6900251.0,6900254.0,6900259.0,6900292.0,6900339.0,6900354.0,6903359.0,6903375.0],"skipIndex":0,"section_code":"gallery","featured_images":"6900339,6900251","id":372928,"singleSection":false});				  						galleries[372922] = clik.newGallery({"parentGallery":372900,"usePopups":false,"title":"Weddings & Portraits","link":"gallery_372922.html","maxRecords":0.0,"photoIDs":[7992534.0,7992539.0,7992543.0,7992547.0,6869433.0,6903307.0,6903308.0,7224145.0,7224146.0,7992593.0,7992599.0,7992600.0,8456356.0,8456366.0,8456370.0,8456371.0,8456382.0],"skipIndex":0,"section_code":"gallery","featured_images":"8456366,7992547,7992543,7992534,6903307,6869433","id":372922,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '7992593,7992547,7992543,6903298,6903292,6903288,6903262,6903260,6903259,6903154,6903151,6903150,6903147,6903146,6901028,6900632,6900573,6900530,6900525,6869397,6869371,6869368,6868970,6868923';
imageSets[2] = '8456374,8456366,7992591,7992547,7992543,7992534,6903484,6903311,6903307,6903303,6903302,6903281,6903153,6903152,6903149,6903143,6901168,6900775,6900763,6900520,6900471,6900367,6900339,6900286,6900263,6900251,6869647,6869642,6869640,6869637,6869560,6869554,6869437,6869433,6869419,6869403,6868884';
imageSets[3] = '8456403,8456384,8456382,8456379,8456376,8456374,8456371,8456370,8456366,8456356,7992600,7992599,7992593,7992592,7992591,7992590,7992547,7992543,7992539,7992534,7224190,7224189,7224188,7224186,7224169,7224162,7224159,7224157,7224154,7224153,7224152,7224150,7224146,7224145,7224132,7224130,7224126,6903489,6903484,6903478,6903476,6903380,6903375,6903359,6903330,6903329,6903325,6903317,6903315,6903314';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'www12.clikpic.com/iluminus/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/iluminus/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/iluminus/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/iluminus/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/iluminus/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/iluminus/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/iluminus/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/iluminus/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/iluminus/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/iluminus/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/iluminus/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/iluminus/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/iluminus/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/iluminus/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/iluminus/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/iluminus/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/iluminus/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/iluminus/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/iluminus/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/iluminus/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/iluminus/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/iluminus/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/iluminus/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/iluminus/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/iluminus/images';
		break;
	}
		return val;
}

/***************************************************************************
* img = reference to image object in which to show image                   *
***************************************************************************/
function showHomeImage(img) {
	imageID = randomListVal('');
	if (!basic) {
		img.src = photos[imageID].src;
		img.width = photos[imageID].width;
		img.height = photos[imageID].height;
		img.parentNode.title = img.alt = photos[imageID].caption;
	} else {
		newImage = new Image(photos[imageID].width,photos[imageID].height);
		newImage.src = photos[imageID].src;
		document.images[img.name] = newImage;
		
	}
}

function getHomeImageLink(imageID) {
  	var href='', photo = backgrounds && backgrounds[imageID];
	if(photo){
		if (photo && photo.galleries_id != '') {
  			href = photo.fnGalleryLink();
  		}
  		  		else {
  				href += 'gallery.html';
  	  		}
	}
    return href;
}

/***************************************************************************
* Show a random image on home page from featured images                    *
***************************************************************************/
function showHomeImageInline(el, image_sets_id, href) {
	
	var css = {}, imageID,
	    imageSetsId = 1;
	if(image_sets_id){
		imageSetsId = image_sets_id;
	}
	imageID = randomListVal(imageSets[imageSetsId]);
	if (href == null && 'gallery' != '') {
					href = getHomeImageLink(imageID);
	}
	
	updateImage({nextPhoto: backgrounds[imageID], img:el.find('img')[0],
                $photo:el, $title:$('#homeimageTitleContainer'), $detail:$('#homeimageDetailsContainer'),                speed:0, href:href, css:css, onAfter: function(){                  this.closest('.contentsection').doManualAlign({				    inner: 'img',				    crop: 'a'				  });                }              });
}

/***************************************************************************
* Set 'img' to be a new image given its photo() object                     *
***************************************************************************/
function updateImage (options) {
	var defaults = {nextPhoto:'',field:'',img:'',$photo:'',$title:'',$detail:'',$detailContainer:'',
                    updateDocumentTitle:false,speed:0,href:false,css:false,updateHash:false,onAfter:null,onBefore:null},
		op = $.extend({},defaults,options),
		html = '', temp = '',
		photoId = op.nextPhoto.id,
		photoCaption = ''+op.nextPhoto.caption,
		photoSrc = op.nextPhoto.src;
	
	if (op.updateHash && clik.getIDInUrl(location.href,'photo') != op.nextPhoto.id) {
		clik.changeHash('photos_id=' + op.nextPhoto.id, true);
	}
		
	    if (op.$title.length > 0) {
  		op.$title.fadeGalleryDetails(photoCaption, op.speed);
    }
        if (op.updateDocumentTitle) {
						  document.title = 'Kyrell Photography: ' + photoCaption;
			    }
        if (op.$detail.length > 0) {
      	temp = op.nextPhoto.fnGetImageDetails();
	    op.$detail.fadeGalleryDetails(temp, op.speed, function(){
			if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
				toggleAddToCartConfirm(backgrounds, op.$detail);
			} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
				toggleAddToCartConfirm(photos, op.$detail);
			}
			$('body').trigger('clikUpdate.popup');
	    });
    }
        $(op.$detailContainer).find('.replaceable[class*=replaceable_photo-]').each(function(){
    	var field = clik.getPrefixedClass(this.className, 'replaceable_photo-');
    	if (field in op.nextPhoto) {
    		$(this).fadeGalleryDetails(op.nextPhoto[field], op.speed);
    	}
    }).end().find('.replaceable.photoPayment').fadeGalleryDetails(op.nextPhoto.fnGetPaymentInfo(), op.speed, function(){
		if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
			toggleAddToCartConfirm(backgrounds, op.$detailContainer);
		} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
			toggleAddToCartConfirm(photos, op.$detailContainer);
		}
		$('body').trigger('clikUpdate.popup');
	});
		if (op.$photo.length > 0) {
		html = $('<img/>',{
			'class': 'mainphoto photo',
			src: photoSrc,
			id: 'mainPic',
			name: 'mainPic',
			width: op.nextPhoto.width,
			height: op.nextPhoto.height,
			alt: photoCaption,
			css: op.css || {}
		});
		if (op.href) {
			if (op.href.match(/<a/)) {
				html = $(op.href).append(html);
			} else {
				html = $('<a/>', {
					href: op.href,
					title: photoCaption
				}).append(html);
			}
		} else {
			html = $('<a/>', {
				title: photoCaption
			}).append(html);
		}
		if (op.speed == 0) {			op.$photo.html(html);			if (op.onBefore) {			  	op.onBefore.apply(op.$photo);			}			if (op.onAfter) {			  	op.onAfter.apply(op.$photo);			}		} else {			op.$photo.stop(true,true).fadeReplaceWith(html,op.speed,'',function(){  				if (op.onAfter) {				  	op.onAfter.apply(this);				}				clik.doColumnResize(false, $(this).add(op.$detail).add(op.$title));			}, op.onBefore);
		}	}
    if (op.field) {
		op.field.value = photoId;
	} else {
		op.$photo.data('image_id', photoId);
    }
        if (!op.speed) {
      	clik.doColumnResize(false, op.$photo.add(op.$detail).add(op.$title));
    }
        
    return html;
	}

/***************************************************************************
* Toggle add to cart confirmation element and set up the click event for   *
* the 'Add to cart' button.                                                *
***************************************************************************/
function toggleAddToCartConfirm(array, root){
	if (typeof(array) !== 'object' || array === null) {
	  	array = photos;
	}
	if (!$(root).length) {		root = $('body');	}	if($('#paymentConfirm', root).length > 0){
		$('#paymentConfirm', root).hide();
		$('#paymentAddButton', root)
		.unbind()
		.click(function(){
						form = $('#paymentForm', root)[0];
			option_id = 0;
			if(form.item_option.value){
				option_id = form.item_option.value;
			}
			if(addItemToBasket(form.item_number.value,array,form.site.value,parseInt(form.quantity.value, 10),option_id)){
				if($.browser.msie){$('#paymentConfirm', root).text('Item added to cart').show();}
				else{
					$('#paymentConfirm', root).text('Item added to cart').fadeIn();
					dspOrderDetails(form.site.value);
				}
			}
			else{
				$('#paymentConfirm', root).text('Item not added - check cookies are enabled in your browser.').fadeIn();
			}
		});
	}
}

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetImageDetails = function(){
	var temp = '';
	if (this.description != '') {
		temp +=  '<div id="imageDescription">' + this.description + '</div>';
	}
		if (this.photo_ref != '') {
		temp += '<div class="imageinfo" id="imageRef"><strong>Ref: </strong>' + this.photo_ref + '</div>';
	}
		if (this.takendate != '') {
		
		temp += '<div class="imageinfo" id="imageDate"><strong>Date: </strong>' + this.takendate + '</div>';
	}
	
	if (this.location != '') {
		
		temp += '<div class="imageinfo" id="imageLocation"><strong>Location: </strong>' +  this.location + '</div>';
	}
	
	if (this.photographer != '') {
		
		temp += '<div class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>' + this.photographer + '</div>';
	}
				
				if (temp != '') {
		temp += '<div class="spacer"></div>';
	}
	return temp;
};

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetPaymentInfo = function(){
	var temp = '';
	if (this.item_price !== '') {
				temp += '<p>Order this print:</p>';
				temp += '<div class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> ' + (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 !== '' || this.payment_groups_id !== '') {
			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;
	}
}

			

