window.thumbnails = {};
															thumbnails[30103] = clik.newPhoto({"id":30103,"src":"Abereiddy_thumb.jpg","galleries_id":216647,"server_id":1,"link":"photo_30103.html","width":130,"caption":"Abereiddy","height":85});
															thumbnails[32244] = clik.newPhoto({"id":32244,"src":"Outgoing Tide2_thumb.jpg","galleries_id":216394,"server_id":1,"link":"photo_32244.html","width":130,"caption":"Outgoing Tide","height":167});
															thumbnails[42839] = clik.newPhoto({"id":42839,"src":"Strumble Head_thumb.jpg","galleries_id":216589,"server_id":1,"link":"photo_42839.html","width":130,"caption":"Strumble Head","height":167});
															thumbnails[50537] = clik.newPhoto({"id":50537,"src":"Peace & Quiet_thumb.jpg","galleries_id":216395,"server_id":1,"link":"photo_50537.html","width":130,"caption":"Peace & Quiet","height":167});
															thumbnails[56490] = clik.newPhoto({"id":56490,"src":"Until_Tomorrow_thumb.jpg","galleries_id":216456,"server_id":1,"link":"photo_56490.html","width":130,"caption":"Until Tomorrow","height":187});
															thumbnails[66284] = clik.newPhoto({"id":66284,"src":"A Ray Of Hope_thumb.jpg","galleries_id":6437,"server_id":1,"link":"photo_66284.html","width":130,"caption":"A Ray Of Hope","height":167});
															thumbnails[80541] = clik.newPhoto({"id":80541,"src":"Final Glow_thumb.jpg","galleries_id":216448,"server_id":1,"link":"photo_80541.html","width":130,"caption":"Final Glow","height":82});
															thumbnails[110246] = clik.newPhoto({"id":110246,"src":"mill_pond_reflections_thumb.jpg","galleries_id":216437,"server_id":1,"link":"photo_110246.html","width":130,"caption":"Mill Pond Reflections","height":164});
															thumbnails[136077] = clik.newPhoto({"id":136077,"src":"Boat House Reflections_thumb.jpg","galleries_id":12510,"server_id":1,"link":"photo_136077.html","width":130,"caption":"Boat House Reflections","height":192});
															thumbnails[150105] = clik.newPhoto({"id":150105,"src":"South Beach Sunset_thumb.jpg","galleries_id":216396,"server_id":1,"link":"photo_150105.html","width":130,"caption":"South Beach Sunset","height":192});
															thumbnails[186159] = clik.newPhoto({"id":186159,"src":"Tranquillity_thumb.jpg","galleries_id":216446,"server_id":1,"link":"photo_186159.html","width":130,"caption":"Tranquillity","height":192});
															thumbnails[203094] = clik.newPhoto({"id":203094,"src":"A Stones Throw_thumb.jpg","galleries_id":3175,"server_id":1,"link":"photo_203094.html","width":130,"caption":"A Stones Throw","height":192});
															thumbnails[296151] = clik.newPhoto({"id":296151,"src":"Lower Town Harbour_thumb.jpg","galleries_id":216591,"server_id":1,"link":"photo_296151.html","width":130,"caption":"Lower Town Harbour","height":72});
															thumbnails[602940] = clik.newPhoto({"id":602940,"src":"Three_Bales12_thumb.jpg","galleries_id":216645,"server_id":1,"link":"photo_602940.html","width":130,"caption":"Three Bales","height":451});
															thumbnails[635952] = clik.newPhoto({"id":635952,"src":"Driftwood_thumb.jpg","galleries_id":216427,"server_id":1,"link":"photo_635952.html","width":130,"caption":"Driftwood","height":192});
															thumbnails[759801] = clik.newPhoto({"id":759801,"src":"Tranquil Waters_thumb.jpg","galleries_id":216442,"server_id":1,"link":"photo_759801.html","width":130,"caption":"Tranquil Waters","height":130});
															thumbnails[759814] = clik.newPhoto({"id":759814,"src":"Manorbier Sunset_thumb.jpg","galleries_id":216410,"server_id":1,"link":"photo_759814.html","width":130,"caption":"Manorbier Sunset","height":130});
															thumbnails[915900] = clik.newPhoto({"id":915900,"src":"Pentre Ifan_thumb.jpg","galleries_id":216627,"server_id":1,"link":"photo_915900.html","width":130,"caption":"Pentre Ifan","height":130});
															thumbnails[1127415] = clik.newPhoto({"id":1127415,"src":"Solitary Moment_thumb.jpg","galleries_id":216463,"server_id":1,"link":"photo_1127415.html","width":130,"caption":"Solitary Moment","height":192});
															thumbnails[1240505] = clik.newPhoto({"id":1240505,"src":"Keeping The Faith_thumb.jpg","galleries_id":216596,"server_id":1,"link":"photo_1240505.html","width":130,"caption":"Keeping The Faith","height":192});
															thumbnails[1348544] = clik.newPhoto({"id":1348544,"src":"Three Pebbles_thumb.jpg","galleries_id":216601,"server_id":1,"link":"photo_1348544.html","width":130,"caption":"Three Pebbles","height":192});
															thumbnails[1365616] = clik.newPhoto({"id":1365616,"src":"Solva_thumb.jpg","galleries_id":216464,"server_id":1,"link":"photo_1365616.html","width":130,"caption":"Solva","height":451});
															thumbnails[1957623] = clik.newPhoto({"id":1957623,"src":"Ceibwr Bay_thumb.jpg","galleries_id":216603,"server_id":1,"link":"photo_1957623.html","width":130,"caption":"Ceibwr Bay","height":130});
															thumbnails[1957761] = clik.newPhoto({"id":1957761,"src":"Rock Of Ages_thumb.jpg","galleries_id":216462,"server_id":1,"link":"photo_1957761.html","width":130,"caption":"Rock Of Ages","height":187});
															thumbnails[1957856] = clik.newPhoto({"id":1957856,"src":"The Boardwalk_thumb.jpg","galleries_id":216604,"server_id":1,"link":"photo_1957856.html","width":130,"caption":"The Boardwalk","height":85});
															thumbnails[3153922] = clik.newPhoto({"id":3153922,"src":"Standing Proud_thumb.jpg","galleries_id":216642,"server_id":1,"link":"photo_3153922.html","width":130,"caption":"Standing Proud","height":37});
															thumbnails[3562272] = clik.newPhoto({"id":3562272,"src":"Morning_Stroll1_thumb.jpg","galleries_id":235696,"server_id":1,"link":"photo_3562272.html","width":130,"caption":"Morning Stroll","height":75});
															thumbnails[3881241] = clik.newPhoto({"id":3881241,"src":"Forsaken_-_Profile_-_trip_thumb.jpg","galleries_id":18941,"server_id":1,"link":"photo_3881241.html","width":130,"caption":"Forsaken","height":40});
															thumbnails[3881482] = clik.newPhoto({"id":3881482,"src":"St_Justinian_-_PROFILE_thumb.jpg","galleries_id":258148,"server_id":1,"link":"photo_3881482.html","width":130,"caption":"St Justinian","height":187});
															thumbnails[4012994] = clik.newPhoto({"id":4012994,"src":"What_Lies_Beneath_-_A_PROFILE_thumb.jpg","galleries_id":216465,"server_id":1,"link":"photo_4012994.html","width":130,"caption":"What Lies Beneath","height":187});
															thumbnails[4404846] = clik.newPhoto({"id":4404846,"src":"Catching_The_Light_thumb.jpg","galleries_id":292663,"server_id":1,"link":"photo_4404846.html","width":130,"caption":"Catching The Light","height":37});
															thumbnails[5182458] = clik.newPhoto({"id":5182458,"src":"The_Nave_profile_thumb.jpg","galleries_id":326197,"server_id":1,"link":"photo_5182458.html","width":130,"caption":"The Nave","height":85});
															thumbnails[5182545] = clik.newPhoto({"id":5182545,"src":"Nash_point_-_profile_thumb.jpg","galleries_id":2637,"server_id":1,"link":"photo_5182545.html","width":130,"caption":"Nash Point","height":85});
															thumbnails[5810992] = clik.newPhoto({"id":5810992,"src":"Barafundle_Bay_thumb.jpg","galleries_id":345719,"server_id":1,"link":"photo_5810992.html","width":130,"caption":"Barafundle Bay","height":85});
															thumbnails[5811217] = clik.newPhoto({"id":5811217,"src":"Leading_Out_To_Sea_thumb.jpg","galleries_id":216395,"server_id":1,"link":"photo_5811217.html","width":130,"caption":"Leading Out To Sea","height":187});
															thumbnails[7287538] = clik.newPhoto({"id":7287538,"src":"love_thumb.jpg","galleries_id":435397,"server_id":1,"link":"photo_7287538.html","width":130,"caption":"Love is.....","height":130});
															thumbnails[7716704] = clik.newPhoto({"id":7716704,"src":"fading_light_-_profile_thumb.jpg","galleries_id":216601,"server_id":1,"link":"photo_7716704.html","width":130,"caption":"Fading Light","height":37});
															thumbnails[7716968] = clik.newPhoto({"id":7716968,"src":"Shades_of_Autumn_thumb.jpg","galleries_id":435392,"server_id":1,"link":"photo_7716968.html","width":130,"caption":"Shades Of Autumn","height":75});
															thumbnails[8143606] = clik.newPhoto({"id":8143606,"src":"Storm_Front_-_profile_thumb.jpg","galleries_id":16260,"server_id":1,"link":"photo_8143606.html","width":130,"caption":"Storm Front","height":66});
															thumbnails[8839690] = clik.newPhoto({"id":8839690,"src":"cariad_C43DA72F-1E4F-37DC-71181F0DBD738E2D_thumb.jpg","galleries_id":16260,"server_id":1,"link":"photo_8839690.html","width":130,"caption":"cariad","height":130});
															thumbnails[8143395] = clik.newPhoto({"id":8143395,"src":"fork_-_profile_sq_thumb.jpg","galleries_id":435397,"server_id":1,"link":"photo_8143395.html","width":130,"caption":"Shadow Play - Fork","height":130});
															thumbnails[20414] = clik.newPhoto({"id":20414,"src":"High & Dry8_thumb.jpg","galleries_id":216395,"server_id":1,"link":"photo_20414.html","width":130,"caption":"High & Dry","height":82});
															thumbnails[66255] = clik.newPhoto({"id":66255,"src":"Shepherd's Delight1_thumb.jpg","galleries_id":216456,"server_id":1,"link":"photo_66255.html","width":130,"caption":"...Shepherd's Delight","height":72});
															thumbnails[110332] = clik.newPhoto({"id":110332,"src":"The Break Of Dawn_thumb.jpg","galleries_id":216396,"server_id":1,"link":"photo_110332.html","width":130,"caption":"The Break Of Dawn","height":72});
															thumbnails[173048] = clik.newPhoto({"id":173048,"src":"A Break In The Clouds_thumb.jpg","galleries_id":216410,"server_id":1,"link":"photo_173048.html","width":130,"caption":"A Break In The Clouds","height":82});
															thumbnails[173093] = clik.newPhoto({"id":173093,"src":"Ashness Launch_thumb.jpg","galleries_id":12510,"server_id":1,"link":"photo_173093.html","width":130,"caption":"Ashness Launch","height":72});
															thumbnails[186174] = clik.newPhoto({"id":186174,"src":"The Edge Of Light_thumb.jpg","galleries_id":216446,"server_id":1,"link":"photo_186174.html","width":130,"caption":"The Edge Of Light","height":72});
															thumbnails[208157] = clik.newPhoto({"id":208157,"src":"Corran Books_thumb.jpg","galleries_id":18941,"server_id":1,"link":"photo_208157.html","width":130,"caption":"Corran Books","height":72});
															thumbnails[264436] = clik.newPhoto({"id":264436,"src":"Taking On Mother Nature_thumb.jpg","galleries_id":216431,"server_id":1,"link":"photo_264436.html","width":130,"caption":"Taking On Mother Nature","height":72});
															thumbnails[405874] = clik.newPhoto({"id":405874,"src":"Reflections Of The Past_thumb.jpg","galleries_id":216437,"server_id":1,"link":"photo_405874.html","width":130,"caption":"Reflections Of The Past","height":37});
															thumbnails[431599] = clik.newPhoto({"id":431599,"src":"Pen-Caer_thumb.jpg","galleries_id":216589,"server_id":1,"link":"photo_431599.html","width":130,"caption":"Pen-Caer","height":37});
															thumbnails[573521] = clik.newPhoto({"id":573521,"src":"Waldos Stone_thumb.jpg","galleries_id":216627,"server_id":1,"link":"photo_573521.html","width":130,"caption":"Waldo's Stone","height":37});
															thumbnails[573543] = clik.newPhoto({"id":573543,"src":"First Light At Amroth_thumb.jpg","galleries_id":216394,"server_id":1,"link":"photo_573543.html","width":130,"caption":"First Light At Amroth","height":72});
															thumbnails[706609] = clik.newPhoto({"id":706609,"src":"Breaking Light_thumb.jpg","galleries_id":216462,"server_id":1,"link":"photo_706609.html","width":130,"caption":"Breaking Light","height":72});
															thumbnails[915872] = clik.newPhoto({"id":915872,"src":"Time To Reflect_thumb.jpg","galleries_id":216442,"server_id":1,"link":"photo_915872.html","width":130,"caption":"Time To Reflect","height":82});
															thumbnails[915915] = clik.newPhoto({"id":915915,"src":"Dunraven Reflections_thumb.jpg","galleries_id":2637,"server_id":1,"link":"photo_915915.html","width":130,"caption":"Dunraven Reflections","height":82});
															thumbnails[1127287] = clik.newPhoto({"id":1127287,"src":"The Spirit Of Chruch Rock PRINT_thumb.jpg","galleries_id":216427,"server_id":1,"link":"photo_1127287.html","width":130,"caption":"The Spirit Of Church Rock","height":41});
															thumbnails[1240478] = clik.newPhoto({"id":1240478,"src":"Cwm-yr-Eglwys_thumb.jpg","galleries_id":216596,"server_id":1,"link":"photo_1240478.html","width":130,"caption":"Cwm-yr-Eglwys","height":72});
															thumbnails[1348430] = clik.newPhoto({"id":1348430,"src":"Apostles_thumb.jpg","galleries_id":216601,"server_id":1,"link":"photo_1348430.html","width":130,"caption":"Apostles","height":82});
															thumbnails[1365595] = clik.newPhoto({"id":1365595,"src":"Sheltered Haven_thumb.jpg","galleries_id":216464,"server_id":1,"link":"photo_1365595.html","width":130,"caption":"Sheltered Haven","height":37});
															thumbnails[3153866] = clik.newPhoto({"id":3153866,"src":"Ricketts View_thumb.jpg","galleries_id":216463,"server_id":1,"link":"photo_3153866.html","width":130,"caption":"Rickets View","height":37});
															thumbnails[4012925] = clik.newPhoto({"id":4012925,"src":"Tidal_Rush_thumb.jpg","galleries_id":216465,"server_id":1,"link":"photo_4012925.html","width":130,"caption":"Tidal Rush","height":85});
															thumbnails[5757855] = clik.newPhoto({"id":5757855,"src":"Autumn_Shores_-_profile_new_thumb.jpg","galleries_id":216463,"server_id":1,"link":"photo_5757855.html","width":130,"caption":"Autumn Shores","height":75});
															thumbnails[5811027] = clik.newPhoto({"id":5811027,"src":"First_Light_At_Barafundle_-_profile_thumb.jpg","galleries_id":345719,"server_id":1,"link":"photo_5811027.html","width":130,"caption":"First Light At Barafundle","height":164});
															thumbnails[6193218] = clik.newPhoto({"id":6193218,"src":"Whitesands_thumb.jpg","galleries_id":216465,"server_id":1,"link":"photo_6193218.html","width":130,"caption":"Whitesands","height":85});
															thumbnails[7716795] = clik.newPhoto({"id":7716795,"src":"winters_delight_thumb.jpg","galleries_id":216601,"server_id":1,"link":"photo_7716795.html","width":130,"caption":"Winters Delight","height":75});
															thumbnails[8143387] = clik.newPhoto({"id":8143387,"src":"Alstroemeria_-_profile_sq_thumb.jpg","galleries_id":435397,"server_id":1,"link":"photo_8143387.html","width":130,"caption":"Alstroemeria (Peruvian Lily)","height":130});
															thumbnails[8143573] = clik.newPhoto({"id":8143573,"src":"Across_the_lake_-_profile_thumb.jpg","galleries_id":16260,"server_id":1,"link":"photo_8143573.html","width":130,"caption":"Across The Lake","height":66});
															thumbnails[7717063] = clik.newPhoto({"id":7717063,"src":"In_Flight_thumb.jpg","galleries_id":326197,"server_id":1,"link":"photo_7717063.html","width":130,"caption":"In Flight","height":85});
															thumbnails[8144503] = clik.newPhoto({"id":8144503,"src":"The_Clouds_Roll_In_-_profile_thumb.jpg","galleries_id":16260,"server_id":1,"link":"photo_8144503.html","width":130,"caption":"The Clouds Roll In ","height":187});
															thumbnails[46694] = clik.newPhoto({"id":46694,"src":"Long Forgotten_thumb1.jpg","galleries_id":18941,"server_id":1,"link":"photo_46694.html","width":130,"caption":"Long Forgotten","height":72});
															thumbnails[80538] = clik.newPhoto({"id":80538,"src":"Golden Shores_thumb.jpg","galleries_id":216462,"server_id":1,"link":"photo_80538.html","width":130,"caption":"Golden Shores","height":192});
															thumbnails[126967] = clik.newPhoto({"id":126967,"src":"Road To Bridgnorth_thumb.jpg","galleries_id":3175,"server_id":1,"link":"photo_126967.html","width":130,"caption":"Road To Bridgnorth","height":72});
															thumbnails[136089] = clik.newPhoto({"id":136089,"src":"Autumn Glow_thumb.jpg","galleries_id":12510,"server_id":1,"link":"photo_136089.html","width":130,"caption":"Autumn Glow","height":82});
															thumbnails[334528] = clik.newPhoto({"id":334528,"src":"Across The Bay_thumb.jpg","galleries_id":216396,"server_id":1,"link":"photo_334528.html","width":130,"caption":"Across The Bay","height":82});
															thumbnails[431600] = clik.newPhoto({"id":431600,"src":"Deep In Thought_thumb.jpg","galleries_id":216446,"server_id":1,"link":"photo_431600.html","width":130,"caption":"Deep In Thought","height":37});
															thumbnails[602874] = clik.newPhoto({"id":602874,"src":"Boundaries_thumb.jpg","galleries_id":216431,"server_id":1,"link":"photo_602874.html","width":130,"caption":"Boundaries","height":82});
															thumbnails[1127327] = clik.newPhoto({"id":1127327,"src":"Beggars Reach_thumb.jpg","galleries_id":216442,"server_id":1,"link":"photo_1127327.html","width":130,"caption":"Beggars Reach","height":72});
															thumbnails[1365484] = clik.newPhoto({"id":1365484,"src":"Newgale Reflections_thumb.jpg","galleries_id":216463,"server_id":1,"link":"photo_1365484.html","width":130,"caption":"Newgale Reflections","height":72});
															thumbnails[1365509] = clik.newPhoto({"id":1365509,"src":"Waiting For The Tide_thumb.jpg","galleries_id":216601,"server_id":1,"link":"photo_1365509.html","width":130,"caption":"Waiting For The Tide","height":82});
															thumbnails[1957692] = clik.newPhoto({"id":1957692,"src":"Natures Tapestry_thumb.jpg","galleries_id":2637,"server_id":1,"link":"photo_1957692.html","width":130,"caption":"Natures Tapestry","height":85});
															thumbnails[4012974] = clik.newPhoto({"id":4012974,"src":"Splash_Of_Gold_thumb.jpg","galleries_id":216465,"server_id":1,"link":"photo_4012974.html","width":130,"caption":"Splash Of Gold","height":75});
															thumbnails[5182624] = clik.newPhoto({"id":5182624,"src":"Penarth_Pier_thumb.jpg","galleries_id":2637,"server_id":1,"link":"photo_5182624.html","width":130,"caption":"Penarth Pier","height":187});
															thumbnails[5811177] = clik.newPhoto({"id":5811177,"src":"Last_Light_At_Amroth_thumb.jpg","galleries_id":216394,"server_id":1,"link":"photo_5811177.html","width":130,"caption":"Last Light At Amroth","height":187});
															thumbnails[6193383] = clik.newPhoto({"id":6193383,"src":"Preseli_Ponies_1_thumb.jpg","galleries_id":216627,"server_id":1,"link":"photo_6193383.html","width":130,"caption":"Preseli Ponies 1","height":85});
															thumbnails[7716914] = clik.newPhoto({"id":7716914,"src":"solo_flight_thumb.jpg","galleries_id":216601,"server_id":1,"link":"photo_7716914.html","width":130,"caption":"Solo Flight","height":37});
															thumbnails[8143396] = clik.newPhoto({"id":8143396,"src":"key_-_profile_thumb.jpg","galleries_id":435397,"server_id":1,"link":"photo_8143396.html","width":130,"caption":"Shadow Play - Key","height":130});
															thumbnails[8143611] = clik.newPhoto({"id":8143611,"src":"Across_the_valley_-_profile_thumb.jpg","galleries_id":16260,"server_id":1,"link":"photo_8143611.html","width":130,"caption":"Across The Valley","height":66});
															thumbnails[136110] = clik.newPhoto({"id":136110,"src":"Surprise View_thumb.jpg","galleries_id":12510,"server_id":1,"link":"photo_136110.html","width":130,"caption":"Surprise View","height":82});
															thumbnails[150124] = clik.newPhoto({"id":150124,"src":"Open Space_thumb.jpg","galleries_id":216431,"server_id":1,"link":"photo_150124.html","width":130,"caption":"Open Space","height":82});
															thumbnails[263357] = clik.newPhoto({"id":263357,"src":"Paxtons Gate_thumb.jpg","galleries_id":18941,"server_id":1,"link":"photo_263357.html","width":130,"caption":"Paxton's Gate","height":82});
															thumbnails[405918] = clik.newPhoto({"id":405918,"src":"Windows To The Past_thumb.jpg","galleries_id":216437,"server_id":1,"link":"photo_405918.html","width":130,"caption":"Windows To The Past","height":37});
															thumbnails[573418] = clik.newPhoto({"id":573418,"src":"Stormy Beach_thumb.jpg","galleries_id":216465,"server_id":1,"link":"photo_573418.html","width":130,"caption":"Stormy Beach","height":37});
															thumbnails[1365635] = clik.newPhoto({"id":1365635,"src":"End Of A Dream_thumb.jpg","galleries_id":216601,"server_id":1,"link":"photo_1365635.html","width":130,"caption":"End Of A Dream","height":72});
															thumbnails[1957712] = clik.newPhoto({"id":1957712,"src":"White Water_thumb.jpg","galleries_id":2637,"server_id":1,"link":"photo_1957712.html","width":130,"caption":"White Water","height":130});
															thumbnails[3153896] = clik.newPhoto({"id":3153896,"src":"Incoming Tide_thumb.jpg","galleries_id":216446,"server_id":1,"link":"photo_3153896.html","width":130,"caption":"Incoming Tide","height":187});
															thumbnails[3562306] = clik.newPhoto({"id":3562306,"src":"Newgale_thumb.jpg","galleries_id":216463,"server_id":1,"link":"photo_3562306.html","width":130,"caption":"Newgale","height":72});
															thumbnails[3881440] = clik.newPhoto({"id":3881440,"src":"Peaceful_Sanctuary_-_PROFILE_thumb.jpg","galleries_id":216396,"server_id":1,"link":"photo_3881440.html","width":130,"caption":"Peaceful Sanctuary","height":75});
															thumbnails[8143399] = clik.newPhoto({"id":8143399,"src":"scissors_-_profile_sq_thumb.jpg","galleries_id":435397,"server_id":1,"link":"photo_8143399.html","width":130,"caption":"Shadow Play - Scissors","height":130});
															thumbnails[42835] = clik.newPhoto({"id":42835,"src":"A_Place_In_The_Country_thumb.jpg","galleries_id":2637,"server_id":1,"link":"photo_42835.html","width":130,"caption":"A Place In The Country","height":85});
															thumbnails[56491] = clik.newPhoto({"id":56491,"src":"Harbour_Reflections_thumb.jpg","galleries_id":216396,"server_id":1,"link":"photo_56491.html","width":130,"caption":"Harbour Reflections","height":164});
															thumbnails[110270] = clik.newPhoto({"id":110270,"src":"Sundown At Carew_thumb.jpg","galleries_id":216437,"server_id":1,"link":"photo_110270.html","width":130,"caption":"Sundown At Carew","height":72});
															thumbnails[136113] = clik.newPhoto({"id":136113,"src":"Derwent Dusk_thumb.jpg","galleries_id":12510,"server_id":1,"link":"photo_136113.html","width":130,"caption":"Derwent Dusk","height":192});
															thumbnails[173091] = clik.newPhoto({"id":173091,"src":"Leave No Tracks_thumb.jpg","galleries_id":3175,"server_id":1,"link":"photo_173091.html","width":130,"caption":"Leave No Tracks","height":192});
															thumbnails[203105] = clik.newPhoto({"id":203105,"src":"Looking Out To Skokholm_thumb.jpg","galleries_id":216446,"server_id":1,"link":"photo_203105.html","width":130,"caption":"Looking Out To Skokholm","height":167});
															thumbnails[635979] = clik.newPhoto({"id":635979,"src":"Towy Valley_thumb.jpg","galleries_id":18941,"server_id":1,"link":"photo_635979.html","width":130,"caption":"Towy Valley","height":37});
															thumbnails[1365584] = clik.newPhoto({"id":1365584,"src":"Neighbours From Hell_thumb.jpg","galleries_id":216431,"server_id":1,"link":"photo_1365584.html","width":130,"caption":"Neighbours From Hell","height":82});
															thumbnails[5811134] = clik.newPhoto({"id":5811134,"src":"Gateway_To_Wales_thumb.jpg","galleries_id":2637,"server_id":1,"link":"photo_5811134.html","width":130,"caption":"Gateway To Wales","height":37});
															thumbnails[6193239] = clik.newPhoto({"id":6193239,"src":"Porth-mawr_thumb.jpg","galleries_id":216465,"server_id":1,"link":"photo_6193239.html","width":130,"caption":"Port-Mawr","height":75});
															thumbnails[8143403] = clik.newPhoto({"id":8143403,"src":"smoke_-_profile_sq_thumb.jpg","galleries_id":435397,"server_id":1,"link":"photo_8143403.html","width":130,"caption":"Smoke","height":130});
															thumbnails[8144467] = clik.newPhoto({"id":8144467,"src":"Low_tide_at_druidston_-_profile_thumb.jpg","galleries_id":16260,"server_id":1,"link":"photo_8144467.html","width":130,"caption":"Low Tide At Druidston","height":187});
															thumbnails[59917] = clik.newPhoto({"id":59917,"src":"Harbour Dawn_thumb.jpg","galleries_id":216396,"server_id":1,"link":"photo_59917.html","width":130,"caption":"Harbour Dawn","height":167});
															thumbnails[66251] = clik.newPhoto({"id":66251,"src":"Riding The Wave_thumb.jpg","galleries_id":216410,"server_id":1,"link":"photo_66251.html","width":130,"caption":"Riding The Wave","height":72});
															thumbnails[136115] = clik.newPhoto({"id":136115,"src":"Golden Lake_thumb.jpg","galleries_id":12510,"server_id":1,"link":"photo_136115.html","width":130,"caption":"Golden Lake","height":167});
															thumbnails[7717117] = clik.newPhoto({"id":7717117,"src":"Find_your_own_branch_thumb.jpg","galleries_id":216396,"server_id":1,"link":"photo_7717117.html","width":130,"caption":"Find Your Own Branch","height":75});
															thumbnails[37696] = clik.newPhoto({"id":37696,"src":"Heavens Above_thumb.jpg","galleries_id":216396,"server_id":1,"link":"photo_37696.html","width":130,"caption":"Heavens Above","height":82});
															thumbnails[80503] = clik.newPhoto({"id":80503,"src":"Fire Escape_thumb.jpg","galleries_id":2637,"server_id":1,"link":"photo_80503.html","width":130,"caption":"Fire Escape","height":82});
															thumbnails[150111] = clik.newPhoto({"id":150111,"src":"Symmetry_thumb.jpg","galleries_id":12510,"server_id":1,"link":"photo_150111.html","width":130,"caption":"Symmetry","height":82});
															thumbnails[3879787] = clik.newPhoto({"id":3879787,"src":"Cwmgors_-_profile_thumb.jpg","galleries_id":2637,"server_id":1,"link":"photo_3879787.html","width":130,"caption":"Cwmgors","height":85});
															thumbnails[136122] = clik.newPhoto({"id":136122,"src":"Blea Tarn-S_thumb.jpg","galleries_id":12510,"server_id":1,"link":"photo_136122.html","width":130,"caption":"Blea Tarn","height":192});
															thumbnails[173089] = clik.newPhoto({"id":173089,"src":"Warren Point_thumb.jpg","galleries_id":3175,"server_id":1,"link":"photo_173089.html","width":130,"caption":"Warren Point","height":82});
															thumbnails[176646] = clik.newPhoto({"id":176646,"src":"Dusk Reflections_thumb.jpg","galleries_id":12510,"server_id":1,"link":"photo_176646.html","width":130,"caption":"Dusk Reflections","height":82});
															thumbnails[136118] = clik.newPhoto({"id":136118,"src":"St Patrick's Well_thumb.jpg","galleries_id":12510,"server_id":1,"link":"photo_136118.html","width":130,"caption":"St Patrick's Well","height":192});
															thumbnails[296140] = clik.newPhoto({"id":296140,"src":"Golden Light_thumb.jpg","galleries_id":216396,"server_id":1,"link":"photo_296140.html","width":130,"caption":"Golden Light","height":167});
															thumbnails[186138] = clik.newPhoto({"id":186138,"src":"Reflections Over Crummock_thumb.jpg","galleries_id":12510,"server_id":1,"link":"photo_186138.html","width":130,"caption":"Reflections Over Crummock","height":167});
															thumbnails[27390] = clik.newPhoto({"id":27390,"src":"The Light Of Dawn_thumb.jpg","galleries_id":216396,"server_id":1,"link":"photo_27390.html","width":130,"caption":"The Light Of Dawn","height":167});
															thumbnails[228813] = clik.newPhoto({"id":228813,"src":"In The Shadow Of Cat Bells_thumb.jpg","galleries_id":12510,"server_id":1,"link":"photo_228813.html","width":130,"caption":"In The Shadow Of Cat Bells","height":72});
															thumbnails[263257] = clik.newPhoto({"id":263257,"src":"The Cold Light Of Dawn_thumb.jpg","galleries_id":12510,"server_id":1,"link":"photo_263257.html","width":130,"caption":"The Cold Light Of Dawn","height":82});
															thumbnails[228807] = clik.newPhoto({"id":228807,"src":"Last Light Over Cat Bells_thumb.jpg","galleries_id":12510,"server_id":1,"link":"photo_228807.html","width":130,"caption":"Last Light Over Cat Bells","height":192});
															thumbnails[296180] = clik.newPhoto({"id":296180,"src":"Ullswater Reflections_thumb.jpg","galleries_id":12510,"server_id":1,"link":"photo_296180.html","width":130,"caption":"Ullswater Reflections","height":167});
															thumbnails[8144518] = clik.newPhoto({"id":8144518,"src":"00_front_cover_thumb.jpg","galleries_id":329391,"server_id":1,"link":"photo_8144518.html","width":130,"caption":"Front Cover","height":92});
															thumbnails[8144528] = clik.newPhoto({"id":8144528,"src":"01_pic_thumb.jpg","galleries_id":329391,"server_id":1,"link":"photo_8144528.html","width":130,"caption":"January 2012","height":184});
															thumbnails[8144533] = clik.newPhoto({"id":8144533,"src":"02_pic_modified_thumb.jpg","galleries_id":329391,"server_id":1,"link":"photo_8144533.html","width":130,"caption":"February 2012","height":92});
															thumbnails[8144535] = clik.newPhoto({"id":8144535,"src":"03_pic_modified_thumb.jpg","galleries_id":329391,"server_id":1,"link":"photo_8144535.html","width":130,"caption":"March 2012","height":92});
															thumbnails[8144542] = clik.newPhoto({"id":8144542,"src":"04_pic_modified_thumb.jpg","galleries_id":329391,"server_id":1,"link":"photo_8144542.html","width":130,"caption":"April 2012","height":92});
															thumbnails[8144556] = clik.newPhoto({"id":8144556,"src":"05_pic_modified_thumb.jpg","galleries_id":329391,"server_id":1,"link":"photo_8144556.html","width":130,"caption":"May 2012","height":92});
															thumbnails[8144558] = clik.newPhoto({"id":8144558,"src":"06_pic_modified_thumb.jpg","galleries_id":329391,"server_id":1,"link":"photo_8144558.html","width":130,"caption":"June 2012","height":92});
															thumbnails[8144561] = clik.newPhoto({"id":8144561,"src":"07_pic_modified_thumb.jpg","galleries_id":329391,"server_id":1,"link":"photo_8144561.html","width":130,"caption":"July 2012","height":92});
															thumbnails[8144569] = clik.newPhoto({"id":8144569,"src":"08_pic_modified_thumb.jpg","galleries_id":329391,"server_id":1,"link":"photo_8144569.html","width":130,"caption":"August 2012","height":92});
															thumbnails[8144571] = clik.newPhoto({"id":8144571,"src":"09_pic_thumb.jpg","galleries_id":329391,"server_id":1,"link":"photo_8144571.html","width":130,"caption":"September 2012","height":92});
															thumbnails[8144572] = clik.newPhoto({"id":8144572,"src":"10_pic_thumb.jpg","galleries_id":329391,"server_id":1,"link":"photo_8144572.html","width":130,"caption":"October 2012","height":92});
															thumbnails[8144573] = clik.newPhoto({"id":8144573,"src":"11_pic_modified_thumb.jpg","galleries_id":329391,"server_id":1,"link":"photo_8144573.html","width":130,"caption":"Novermber 2012","height":92});
															thumbnails[8144575] = clik.newPhoto({"id":8144575,"src":"12_pic_modified_thumb.jpg","galleries_id":329391,"server_id":1,"link":"photo_8144575.html","width":130,"caption":"December 2012","height":92});
															thumbnails[8144582] = clik.newPhoto({"id":8144582,"src":"back_cover_web_thumb.jpg","galleries_id":329391,"server_id":1,"link":"photo_8144582.html","width":130,"caption":"Back cover","height":92});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[332074] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"2012 Calendar ","link":"section394668_332074.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"section394668","featured_images":"8144582,8144575,8144573,8144572,8144571,8144569,8144561,8144558,8144556,8144542","id":332074,"singleSection":true});				  						galleries[216394] = clik.newGallery({"parentGallery":216393,"usePopups":false,"title":"Amroth","link":"gallery_216394.html","maxRecords":0.0,"photoIDs":[32244.0,573543.0,5811177.0],"skipIndex":0,"section_code":"gallery","featured_images":"573543,32244","id":216394,"singleSection":false});				  						galleries[329391] = clik.newGallery({"parentGallery":332074,"usePopups":false,"title":"Calendar","link":"section394668_329391.html","maxRecords":0.0,"photoIDs":[8144518.0,8144528.0,8144533.0,8144535.0,8144542.0,8144556.0,8144558.0,8144561.0,8144569.0,8144571.0,8144572.0,8144573.0,8144575.0,8144582.0],"skipIndex":0,"section_code":"section394668","featured_images":"8144582,8144575,8144573,8144572,8144571,8144569,8144561,8144558,8144556,8144542","id":329391,"singleSection":true});				  						galleries[216442] = clik.newGallery({"parentGallery":216441,"usePopups":false,"title":"Llangwm \/ Port Lion","link":"gallery_216442.html","maxRecords":0.0,"photoIDs":[759801.0,915872.0,1127327.0],"skipIndex":0,"section_code":"gallery","featured_images":"1127327,915872,759801","id":216442,"singleSection":false});				  						galleries[216627] = clik.newGallery({"parentGallery":216625,"usePopups":false,"title":"Preseli's","link":"gallery_216627.html","maxRecords":0.0,"photoIDs":[915900.0,573521.0,6193383.0],"skipIndex":0,"section_code":"gallery","featured_images":"915900,573521","id":216627,"singleSection":false});				  						galleries[216589] = clik.newGallery({"parentGallery":216588,"usePopups":false,"title":"Strumble Head \/ Pen-Caer","link":"gallery_216589.html","maxRecords":0.0,"photoIDs":[42839.0,431599.0],"skipIndex":0,"section_code":"gallery","featured_images":"431599,42839","id":216589,"singleSection":false});				  						galleries[235696] = clik.newGallery({"parentGallery":216393,"usePopups":false,"title":"Wiseman's Bridge","link":"gallery_235696.html","maxRecords":0.0,"photoIDs":[3562272.0],"skipIndex":0,"section_code":"gallery","featured_images":3562272.0,"id":235696,"singleSection":false});				  						galleries[216591] = clik.newGallery({"parentGallery":216588,"usePopups":false,"title":"Fishguard","link":"gallery_216591.html","maxRecords":0.0,"photoIDs":[296151.0],"skipIndex":0,"section_code":"gallery","featured_images":296151.0,"id":216591,"singleSection":false});				  						galleries[216395] = clik.newGallery({"parentGallery":216393,"usePopups":false,"title":"Saundersfoot","link":"gallery_216395.html","maxRecords":0.0,"photoIDs":[50537.0,5811217.0,20414.0],"skipIndex":0,"section_code":"gallery","featured_images":"50537,20414","id":216395,"singleSection":false});				  						galleries[216446] = clik.newGallery({"parentGallery":216441,"usePopups":false,"title":"West Dale Bay","link":"gallery_216446.html","maxRecords":0.0,"photoIDs":[186159.0,186174.0,431600.0,3153896.0,203105.0],"skipIndex":0,"section_code":"gallery","featured_images":"3153896,431600,203105,186174,186159","id":216446,"singleSection":false});				  						galleries[216596] = clik.newGallery({"parentGallery":216588,"usePopups":false,"title":"Cwm-yr-Eglwys","link":"gallery_216596.html","maxRecords":0.0,"photoIDs":[1240505.0,1240478.0],"skipIndex":0,"section_code":"gallery","featured_images":"1240505,1240478","id":216596,"singleSection":false});				  						galleries[216448] = clik.newGallery({"parentGallery":216441,"usePopups":false,"title":"Marloes Sands","link":"gallery_216448.html","maxRecords":0.0,"photoIDs":[80541.0],"skipIndex":0,"section_code":"gallery","featured_images":80541.0,"id":216448,"singleSection":false});				  						galleries[216396] = clik.newGallery({"parentGallery":216393,"usePopups":false,"title":"Tenby","link":"gallery_216396.html","maxRecords":0.0,"photoIDs":[150105.0,110332.0,334528.0,3881440.0,56491.0,59917.0,7717117.0,37696.0,296140.0,27390.0],"skipIndex":0,"section_code":"gallery","featured_images":"3881440,334528,296140,150105,110332,59917,56491,37696,27390","id":216396,"singleSection":false});				  						galleries[216456] = clik.newGallery({"parentGallery":216441,"usePopups":false,"title":"Little Haven \/ Broad Haven","link":"gallery_216456.html","maxRecords":0.0,"photoIDs":[56490.0,66255.0],"skipIndex":0,"section_code":"gallery","featured_images":"66255,56490","id":216456,"singleSection":false});				  						galleries[216410] = clik.newGallery({"parentGallery":216393,"usePopups":false,"title":"Manorbier","link":"gallery_216410.html","maxRecords":0.0,"photoIDs":[759814.0,173048.0,66251.0],"skipIndex":0,"section_code":"gallery","featured_images":"759814,173048,66251","id":216410,"singleSection":false});				  						galleries[216601] = clik.newGallery({"parentGallery":216588,"usePopups":false,"title":"Newport \/ Parrog","link":"gallery_216601.html","maxRecords":0.0,"photoIDs":[1348544.0,7716704.0,1348430.0,7716795.0,1365509.0,7716914.0,1365635.0],"skipIndex":0,"section_code":"gallery","featured_images":"1365635,1365509,1348544,1348430","id":216601,"singleSection":false});				  						galleries[345719] = clik.newGallery({"parentGallery":216393,"usePopups":false,"title":"Barafundle","link":"gallery_345719.html","maxRecords":0.0,"photoIDs":[5810992.0,5811027.0],"skipIndex":0,"section_code":"gallery","featured_images":"5811027,5810992","id":345719,"singleSection":false});				  						galleries[435392] = clik.newGallery({"parentGallery":216393,"usePopups":false,"title":"Bosherston","link":"gallery_435392.html","maxRecords":0.0,"photoIDs":[7716968.0],"skipIndex":0,"section_code":"gallery","featured_images":7716968.0,"id":435392,"singleSection":false});				  						galleries[216427] = clik.newGallery({"parentGallery":216393,"usePopups":false,"title":"Broad Haven South","link":"gallery_216427.html","maxRecords":0.0,"photoIDs":[635952.0,1127287.0],"skipIndex":0,"section_code":"gallery","featured_images":"1127287,635952","id":216427,"singleSection":false});				  						galleries[216603] = clik.newGallery({"parentGallery":216588,"usePopups":false,"title":"Ceibwr Bay","link":"gallery_216603.html","maxRecords":0.0,"photoIDs":[1957623.0],"skipIndex":0,"section_code":"gallery","featured_images":1957623.0,"id":216603,"singleSection":false});				  						galleries[216462] = clik.newGallery({"parentGallery":216441,"usePopups":false,"title":"Druidston Haven","link":"gallery_216462.html","maxRecords":0.0,"photoIDs":[1957761.0,706609.0,80538.0],"skipIndex":0,"section_code":"gallery","featured_images":"1957761,706609,80538","id":216462,"singleSection":false});				  						galleries[216431] = clik.newGallery({"parentGallery":216393,"usePopups":false,"title":"Freshwater West","link":"gallery_216431.html","maxRecords":0.0,"photoIDs":[264436.0,602874.0,150124.0,1365584.0],"skipIndex":0,"section_code":"gallery","featured_images":"1365584,602874,264436,150124","id":216431,"singleSection":false});				  						galleries[216463] = clik.newGallery({"parentGallery":216441,"usePopups":false,"title":"Newgale","link":"gallery_216463.html","maxRecords":0.0,"photoIDs":[1127415.0,3153866.0,5757855.0,1365484.0,3562306.0],"skipIndex":0,"section_code":"gallery","featured_images":"3562306,3153866,1365484,1127415","id":216463,"singleSection":false});				  						galleries[216604] = clik.newGallery({"parentGallery":216588,"usePopups":false,"title":"Poppit Sands","link":"gallery_216604.html","maxRecords":0.0,"photoIDs":[1957856.0],"skipIndex":0,"section_code":"gallery","featured_images":1957856.0,"id":216604,"singleSection":false});				  						galleries[292663] = clik.newGallery({"parentGallery":216588,"usePopups":false,"title":"Pwllgwaelod","link":"gallery_292663.html","maxRecords":0.0,"photoIDs":[4404846.0],"skipIndex":0,"section_code":"gallery","featured_images":4404846.0,"id":292663,"singleSection":false});				  						galleries[216464] = clik.newGallery({"parentGallery":216441,"usePopups":false,"title":"Solva","link":"gallery_216464.html","maxRecords":0.0,"photoIDs":[1365616.0,1365595.0],"skipIndex":0,"section_code":"gallery","featured_images":1365595.0,"id":216464,"singleSection":false});				  						galleries[326197] = clik.newGallery({"parentGallery":216441,"usePopups":false,"title":"St David's","link":"gallery_326197.html","maxRecords":0.0,"photoIDs":[5182458.0,7717063.0],"skipIndex":0,"section_code":"gallery","featured_images":"7717063,5182458","id":326197,"singleSection":false});				  						galleries[258148] = clik.newGallery({"parentGallery":216441,"usePopups":false,"title":"St Justinian's","link":"gallery_258148.html","maxRecords":0.0,"photoIDs":[3881482.0],"skipIndex":0,"section_code":"gallery","featured_images":3881482.0,"id":258148,"singleSection":false});				  						galleries[216437] = clik.newGallery({"parentGallery":216393,"usePopups":false,"title":"Carew","link":"gallery_216437.html","maxRecords":0.0,"photoIDs":[110246.0,405874.0,405918.0,110270.0],"skipIndex":0,"section_code":"gallery","featured_images":"405918,405874,110270,110246","id":216437,"singleSection":false});				  						galleries[216645] = clik.newGallery({"parentGallery":216393,"usePopups":false,"title":"St Florence","link":"gallery_216645.html","maxRecords":0.0,"photoIDs":[602940.0],"skipIndex":0,"section_code":"gallery","featured_images":602940.0,"id":216645,"singleSection":false});				  						galleries[216465] = clik.newGallery({"parentGallery":216441,"usePopups":false,"title":"Whitesands","link":"gallery_216465.html","maxRecords":0.0,"photoIDs":[4012994.0,4012925.0,6193218.0,4012974.0,573418.0,6193239.0],"skipIndex":0,"section_code":"gallery","featured_images":"4012994,4012974,4012925,573418","id":216465,"singleSection":false});				  						galleries[216647] = clik.newGallery({"parentGallery":216441,"usePopups":false,"title":"Abereiddy","link":"gallery_216647.html","maxRecords":0.0,"photoIDs":[30103.0],"skipIndex":0,"section_code":"gallery","featured_images":30103.0,"id":216647,"singleSection":false});				  						galleries[216642] = clik.newGallery({"parentGallery":216393,"usePopups":false,"title":"Jeffreyston","link":"gallery_216642.html","maxRecords":0.0,"photoIDs":[3153922.0],"skipIndex":0,"section_code":"gallery","featured_images":3153922.0,"id":216642,"singleSection":false});				  						galleries[216624] = clik.newGallery({"parentGallery":216441,"usePopups":false,"title":"Aber Bach","link":"gallery_216624.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"","id":216624,"singleSection":false});				  						galleries[16260] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"New Images","link":"gallery_16260.html","maxRecords":0.0,"photoIDs":[8143606.0,8839690.0,8143573.0,8144503.0,8143611.0,8144467.0],"skipIndex":0,"section_code":"gallery","featured_images":"8839690,8144503,8144467,8143611,8143606,8143573","id":16260,"singleSection":false});				  						galleries[6437] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Royal National Lifeboat Institution","link":"gallery_6437.html","maxRecords":0.0,"photoIDs":[66284.0],"skipIndex":0,"section_code":"gallery","featured_images":66284.0,"id":6437,"singleSection":false});				  						galleries[216393] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"South Pembrokeshire","link":"gallery_216393.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"3881440,3562272,3153922,1365584,1127287,759814,635952,602874,573543,405918,405874,334528,296140,264436,173048,150124,150105,110332,110270,110246,66251,59917,56491,50537,37696,32244,27390,20414","id":216393,"singleSection":false});				  						galleries[216441] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"West Pembrokeshire","link":"gallery_216441.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"4012994,4012974,4012925,3881482,3562306,3153896,3153866,1957761,1365595,1365484,1127415,1127327,915872,759801,706609,573418,431600,203105,186174,186159,80541,80538,66255,56490,30103","id":216441,"singleSection":false});				  						galleries[216588] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"North Pembrokeshire","link":"gallery_216588.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"1957856,1957623,1365635,1365509,1348544,1348430,1240505,1240478,431599,296151,42839","id":216588,"singleSection":false});				  						galleries[216625] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Central Pembrokeshire","link":"gallery_216625.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"915900,573521","id":216625,"singleSection":false});				  						galleries[435397] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Macro \/ Abstract","link":"gallery_435397.html","maxRecords":0.0,"photoIDs":[7287538.0,8143395.0,8143387.0,8143396.0,8143399.0,8143403.0],"skipIndex":0,"section_code":"gallery","featured_images":"8143403,8143399,8143396,8143395,8143387,7287538","id":435397,"singleSection":false});				  						galleries[18941] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Carmarthenshire","link":"gallery_18941.html","maxRecords":0.0,"photoIDs":[3881241.0,208157.0,46694.0,263357.0,635979.0],"skipIndex":0,"section_code":"gallery","featured_images":"3881241,635979,263357,208157,46694","id":18941,"singleSection":false});				  						galleries[2637] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Wales","link":"gallery_2637.html","maxRecords":0.0,"photoIDs":[5182545.0,915915.0,1957692.0,5182624.0,1957712.0,42835.0,5811134.0,80503.0,3879787.0],"skipIndex":0,"section_code":"gallery","featured_images":"3879787,1957712,1957692,915915,80503,42835","id":2637,"singleSection":false});				  						galleries[12510] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Lake District","link":"gallery_12510.html","maxRecords":0.0,"photoIDs":[136077.0,173093.0,136089.0,136110.0,136113.0,136115.0,150111.0,136122.0,176646.0,136118.0,186138.0,228813.0,263257.0,228807.0,296180.0],"skipIndex":0,"section_code":"gallery","featured_images":"296180,263257,228813,228807,186138,176646,173093,150111,136122,136118,136115,136113,136110,136089,136077","id":12510,"singleSection":false});				  						galleries[3175] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"The Gallery","link":"gallery_3175.html","maxRecords":0.0,"photoIDs":[203094.0,126967.0,173091.0,173089.0],"skipIndex":0,"section_code":"gallery","featured_images":"203094,173091,173089,126967","id":3175,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '4012994,3881482,3881241,3562272,3153922,1957856,1957761,1957623,1348544,1240505,1127415,915900,759814,759801,635952,296151,203094,186159,150105,136077,110246,80541,66284,56490,50537,42839,32244,30103,4012925,3153866,1365595,1348430,1240478,1127287,915915,915872,706609,573543,573521,431599,405874,264436,208157,186174,173093,173048,110332,66255,20414,4012974,1957692,1365509,1365484,1127327,602874,431600,334528,136089,126967,80538,46694,3881440,3562306,3153896,1957712,1365635,573418,405918,263357,150124,136110,1365584,635979,203105,173091,136113,110270,56491,42835,136115,66251,59917,3879787,150111,80503,37696,173089,136122,176646,296140,136118,186138,27390,228813,263257,228807,296180';
imageSets[2] = '4012994,3881482,3881241,3562272,3153922,1957856,1957761,1957623,1348544,1240505,1127415,915900,759814,759801,635952,296151,203094,186159,150105,136077,110246,80541,66284,56490,50537,42839,32244,30103,4012925,3153866,1365595,1348430,1240478,1127287,915915,915872,706609,573543,573521,431599,405874,264436,208157,186174,173093,173048,110332,66255,20414,4012974,1957692,1365509,1365484,1127327,602874,431600,334528,136089,126967,80538,46694,3881440,3562306,3153896,1957712,1365635,573418,405918,263357,150124,136110,1365584,635979,203105,173091,136113,110270,56491,42835,136115,66251,59917,3879787,150111,80503,37696,173089,136122,176646,296140,136118,186138,27390,228813,263257,228807,296180';
imageSets[3] = '8839690,8144582,8144575,8144573,8144572,8144571,8144569,8144561,8144558,8144556,8144542,8144535,8144533,8144528,8144518,8144503,8144467,8143611,8143606,8143573,8143403,8143399,8143396,8143395,8143387,7717117,7717063,7716968,7716914,7716795,7716704,7287538,6193383,6193239,6193218,5811217,5811177,5811134,5811027,5810992,5757855,5182624,5182545,5182458,4404846,4012994,4012974,4012925,3881482,3881440';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/stenward/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/stenward/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/stenward/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/stenward/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/stenward/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/stenward/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/stenward/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/stenward/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/stenward/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/stenward/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/stenward/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/stenward/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/stenward/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/stenward/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/stenward/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/stenward/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/stenward/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/stenward/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/stenward/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/stenward/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/stenward/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/stenward/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/stenward/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/stenward/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/stenward/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/stenward/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/stenward/images';
		break;
	}
		return val;
}

/***************************************************************************
* img = reference to image object in which to show image                   *
***************************************************************************/
function showHomeImage(img) {
	imageID = randomListVal('');
	if (!basic) {
		img.src = photos[imageID].src;
		img.width = photos[imageID].width;
		img.height = photos[imageID].height;
		img.parentNode.title = img.alt = photos[imageID].caption;
	} else {
		newImage = new Image(photos[imageID].width,photos[imageID].height);
		newImage.src = photos[imageID].src;
		document.images[img.name] = newImage;
		
	}
}

function getHomeImageLink(imageID) {
  	var href='', photo = (backgrounds || photos || {})[imageID];
	if(photo){
		if (photo && photo.galleries_id != '') {
  			href = photo.fnGalleryLink();
  		}
  		  		else {
  				href += 'gallery.html';
  	  		}
	}
    return href;
}

/***************************************************************************
* Show a random image on home page from featured images                    *
***************************************************************************/
function showHomeImageInline(el, image_sets_id, href) {
	
	var css = {}, imageID,
	    imageSetsId = 1;
	if(image_sets_id){
		imageSetsId = image_sets_id;
	}
	imageID = randomListVal(imageSets[imageSetsId]);
	if (href == null && 'gallery' != '') {
					href = getHomeImageLink(imageID);
	}
	
	updateImage({nextPhoto: backgrounds[imageID], img:el.find('img')[0],
                $photo:el, $title:$('#homeimageTitleContainer'), $detail:$('#homeimageDetailsContainer'),                speed:0, href:href, css:css, onAfter: function(){                  this.closest('.contentsection').doManualAlign({				    inner: 'img',				    crop: 'a'				  });                }              });
}

/***************************************************************************
* Set 'img' to be a new image given its photo() object                     *
***************************************************************************/
function updateImage (options) {
	var defaults = {nextPhoto:'',field:'',img:'',$photo:'',$title:'',$detail:'',$detailContainer:'',
                    updateDocumentTitle:false,speed:0,href:false,css:false,updateHash:false,onAfter:null,onBefore:null},
		op = $.extend({},defaults,options),
		html = '', temp = '',
		photoId = op.nextPhoto.id,
		photoCaption = ''+op.nextPhoto.caption,
		photoSrc = op.nextPhoto.src;
	
	if (op.updateHash && clik.getIDInUrl(location.href,'photo') != op.nextPhoto.id) {
		clik.changeHash('photos_id=' + op.nextPhoto.id, true);
	}
		
	    if (op.$title.length > 0) {
  		op.$title.fadeGalleryDetails(photoCaption, op.speed);
    }
        if (op.updateDocumentTitle) {
						  document.title = 'Kersten Howard 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>Limited edition of 150. For full details please visit SALES before placing your order. </strong>' + this.photographer + '</div>';
	}
				
	temp += this.fnGetPaymentInfo();
				if (temp != '') {
		temp += '<div class="spacer"></div>';
	}
	return temp;
};

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetPaymentInfo = function(){
	var temp = '';
	if (this.item_price !== '') {
																		temp += '<p>Buy now using PayPal:</p>';
				temp += '<div class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> &pound;' + (this.item_price).toFixed(2) + '</div>';
		var item_name  = this.purchase_instruction;
		var amount = (this.item_price).toFixed(2);
		var item_option  = 0;
	}
		else if (this.payment_groups_id !== '') {
		temp += '<p>Buy this print online:</p>';
				temp += '<form id="paymentOptions" style="margin:0px;border:0px;" name="paymentOptions">';
		 									temp += '<select class="paymentlink" name="payment_options_id" onchange="updateCartValue($(this.form).next(\'#paymentForm\')[0],this.form.payment_options_id.options[this.form.payment_options_id.options.selectedIndex].value); if(divShowing(\'paymentConfirm\')){fadeOut(\'paymentConfirm\', 3)};">';
		
		temp += getPaymentOptions(this.payment_groups_id);
		temp += '</select>';
		temp += '</form>';
				var item_option  = paymentGroups[this.payment_groups_id].options[0];
		if(paymentOptions[item_option]){
			var item_name  = paymentOptions[item_option].payment_option;
			var amount =  paymentOptions[item_option].price;
		}
			}
		else {
		
	}
	if (this.item_price !== '' || this.payment_groups_id !== '') {
											temp += '<form id="paymentForm" style="margin:0px;border:0px;" name="paymentForm">';
			temp += '	<input type="hidden" name="item_option" value="' + item_option + '">';
			temp += '	<input type="hidden" name="site" value="STENWARD">';
			temp += '	<input type="hidden" name="item_number" value="'+ this.id +'">';
			temp += '	<input type="hidden" name="quantity" value="1">';
						temp += '	<input value="Add to cart" id="paymentAddButton" class="button" onmouseover="this.className=\'buttonHi\'\;" onmouseout="this.className=\'button\'\;" type="Button">';
							temp += '	<input value="View cart" id="paymentViewButton" class="button" onmouseover="this.className=\'buttonHi\';" onmouseout="this.className=\'button\';" type="Button" onclick="javascript:window.location=\'cart.html\'">';
			temp += '</form>';
						temp += '<div class="clearing">&nbsp;</div>';
			temp += '<div id="confirmContainer">';
			temp += '<div id="paymentConfirm">Item added to cart</div>';
			temp += '</div>';
			temp += '<div class="clearing">&nbsp;</div>';
	}
	return temp;};

/***************************************************************************
* Pick a photo at random from the featured images of a gallery.            *
* Gallery_id = id of gallery to choose,                                    *
* img = reference to html image in                                         *
* which to show image                                                      *
***************************************************************************/
function showGalleryImage(gallery_id, img, updateLink) {
	
	if(img){
		if (location.hash.match('galleries_id=' + gallery_id) && (imageID = location.hash.match('.*photos_id=(.+)$'))) {
		  	imageID = imageID[1];
		} else {
		  	imageID = randomListVal(galleries[gallery_id].featured_images);
		}
		
		if (imageID != 0) {
			img.src = thumbnails[imageID].src;
			img.width = thumbnails[imageID].width;
			img.height = thumbnails[imageID].height;
			img.alt = galleries[gallery_id].title;
			if (updateLink) {
				$(img).parent().attr({					title: galleries[gallery_id].title				}).filter(function(){return this.href;}).attr({					href: thumbnails[imageID].fnGalleryLink(gallery_id)				});
			}
		}
	}
}

/***************************************************************************
* If we have dynamic HTML, replace the galleries link with a list that     *
* doesn't include thecurrent gallery                                       *
***************************************************************************/
function showGalleries(gallery_id) {
		
	
	if (!basic) {
		temp = '';
		for (i = 0; i < galleries.length; i++) {
						
			
			if (galleries[i].id != gallery_id) {
								
				if (temp != '') {
					temp += ' | ';
				}
								temp += '<a href="' + galleries[i].section_code + '_' + galleries[i].id + '.html">' + galleries[i].title + '</a>';
							}
		}
		document.all.galleryLinks.innerHTML = 'Other galleries: ' + temp;
	}
}

			

