window.thumbnails = {};
															thumbnails[2574219] = clik.newPhoto({"id":2574219,"src":"1 small 160_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"","height":87});
															thumbnails[2574239] = clik.newPhoto({"id":2574239,"src":"2 small 160_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"","height":87});
															thumbnails[2574243] = clik.newPhoto({"id":2574243,"src":"max with canvas small5_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"","height":288});
															thumbnails[2574246] = clik.newPhoto({"id":2574246,"src":"4 small 160_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"","height":87});
															thumbnails[2579835] = clik.newPhoto({"id":2579835,"src":"rumps_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"","height":74});
															thumbnails[2580538] = clik.newPhoto({"id":2580538,"src":"TINTAGEL_2_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"","height":81});
															thumbnails[2580542] = clik.newPhoto({"id":2580542,"src":"TINTAGEL_3_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"","height":81});
															thumbnails[2610097] = clik.newPhoto({"id":2610097,"src":"tintagel_Castle_1_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"","height":65});
															thumbnails[2625945] = clik.newPhoto({"id":2625945,"src":"merlins_cave_tintagel_castle_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"","height":65});
															thumbnails[3525539] = clik.newPhoto({"id":3525539,"src":"tintagel_castle3_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"","height":65});
															thumbnails[3577516] = clik.newPhoto({"id":3577516,"src":"canvas_1_thumb.JPG","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"","height":207});
															thumbnails[5172906] = clik.newPhoto({"id":5172906,"src":"photo_canvas_print_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"","height":56});
															thumbnails[5172907] = clik.newPhoto({"id":5172907,"src":"trebarwith_386934D6-2219-B5B5-4CDBA45259D8AE71_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"","height":74});
															thumbnails[5172960] = clik.newPhoto({"id":5172960,"src":"TINTAGEL__thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"","height":42});
															thumbnails[5190507] = clik.newPhoto({"id":5190507,"src":"canvas_photo_beach_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"","height":68});
															thumbnails[5190509] = clik.newPhoto({"id":5190509,"src":"canvas_picture_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"","height":109});
															thumbnails[5190514] = clik.newPhoto({"id":5190514,"src":"canvas_2_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"","height":42});
															thumbnails[5532493] = clik.newPhoto({"id":5532493,"src":"Cornwall_photos_thumb.gif","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"","height":28});
															thumbnails[6132968] = clik.newPhoto({"id":6132968,"src":"WHITE_FINISHED_SMALL_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"","height":93});
															thumbnails[6132975] = clik.newPhoto({"id":6132975,"src":"BLACK_FINISHED_boscastle_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"","height":93});
															thumbnails[6132983] = clik.newPhoto({"id":6132983,"src":"BLACK_FINISHED_huts1_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"","height":169});
															thumbnails[6132990] = clik.newPhoto({"id":6132990,"src":"footsteps_121B5418-24E8-5EC4-4F538E97D24EFE6A_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"","height":169});
															thumbnails[6389976] = clik.newPhoto({"id":6389976,"src":"Tintagel_Gate_F59DDCBA-1D09-001F-99677C37C1CB833F_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"","height":195});
															thumbnails[8160497] = clik.newPhoto({"id":8160497,"src":"merlins_cave_3DC38E80-1EC9-D45B-1C8B892F1CA04D05_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"","height":70});
															thumbnails[8969150] = clik.newPhoto({"id":8969150,"src":"_07K1938_pano_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"","height":43});
															thumbnails[8969178] = clik.newPhoto({"id":8969178,"src":"tintagel__A34C589A-1EC9-DFB6-096C796B11811D02_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"","height":60});
															thumbnails[8166225] = clik.newPhoto({"id":8166225,"src":"mullion_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"mullion","height":87});
															thumbnails[7740094] = clik.newPhoto({"id":7740094,"src":"Sunlight_reflecting_off_the_lighthouse_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"Sunlight reflecting off the lighthouse","height":87});
															thumbnails[2610632] = clik.newPhoto({"id":2610632,"src":"trebarwith_strand_thumb.jpg","galleries_id":218608,"server_id":5,"link":"photo_2610632.html","width":130,"caption":"Trebarwith Strand - Cornwall","height":87});
															thumbnails[3576727] = clik.newPhoto({"id":3576727,"src":"_Cape_Cornwall_Flowers_thumb.jpg","galleries_id":163908,"server_id":5,"link":"photo_3576727.html","width":130,"caption":"Cape Cornwall Flowers","height":195});
															thumbnails[3576733] = clik.newPhoto({"id":3576733,"src":"newlyn_thumb.jpg","galleries_id":163908,"server_id":5,"link":"photo_3576733.html","width":130,"caption":"Habour Lights - Newlyn","height":195});
															thumbnails[3576743] = clik.newPhoto({"id":3576743,"src":"_upton_towans_thumb.jpg","galleries_id":163908,"server_id":5,"link":"photo_3576743.html","width":130,"caption":"Deserted Dunes - Upton Towans","height":195});
															thumbnails[3576745] = clik.newPhoto({"id":3576745,"src":"perranporth1_thumb.jpg","galleries_id":163908,"server_id":5,"link":"photo_3576745.html","width":130,"caption":"Archway To The Sea - Perranporth","height":195});
															thumbnails[3576764] = clik.newPhoto({"id":3576764,"src":"upton_towans_thumb.jpg","galleries_id":163908,"server_id":5,"link":"photo_3576764.html","width":130,"caption":"Passing Through - Upton Towans","height":195});
															thumbnails[3576822] = clik.newPhoto({"id":3576822,"src":"_Trevose__thumb.jpg","galleries_id":163908,"server_id":5,"link":"photo_3576822.html","width":130,"caption":"Surging Waters - Trevose Head Lighthouse ","height":195});
															thumbnails[3576923] = clik.newPhoto({"id":3576923,"src":"Lanyon_Quoit_Madron_thumb.jpg","galleries_id":218610,"server_id":5,"link":"photo_3576923.html","width":130,"caption":"Lanyon Quoit - Madron","height":195});
															thumbnails[3576927] = clik.newPhoto({"id":3576927,"src":"New_Forest_thumb.jpg","galleries_id":218610,"server_id":5,"link":"photo_3576927.html","width":130,"caption":"Rain Soaked - New Forest","height":195});
															thumbnails[3576939] = clik.newPhoto({"id":3576939,"src":"Lands_End_Heather_thumb.jpg","galleries_id":218610,"server_id":5,"link":"photo_3576939.html","width":130,"caption":"Amongst The Heather - Land's End","height":195});
															thumbnails[3576942] = clik.newPhoto({"id":3576942,"src":"_Exmoor___thumb.jpg","galleries_id":218610,"server_id":5,"link":"photo_3576942.html","width":130,"caption":"Seven On The Hill - Exmoor ","height":195});
															thumbnails[3577019] = clik.newPhoto({"id":3577019,"src":"southdowns_thumb.jpg","galleries_id":218610,"server_id":5,"link":"photo_3577019.html","width":130,"caption":"A Splash Of Red - South Downs","height":195});
															thumbnails[3577542] = clik.newPhoto({"id":3577542,"src":"Boscastle_harbour_and_north_Cornish_coastline_Cornwall__thumb.jpg","galleries_id":218608,"server_id":5,"link":"photo_3577542.html","width":130,"caption":"Boscastle harbour and north Cornish coastline - Cornwall","height":86});
															thumbnails[3577544] = clik.newPhoto({"id":3577544,"src":"boscastle_harour_thumb.jpg","galleries_id":218608,"server_id":5,"link":"photo_3577544.html","width":130,"caption":"Boscastle Harbour - Boscastle","height":87});
															thumbnails[3577548] = clik.newPhoto({"id":3577548,"src":"_04K7685_EC15CEA5-24E8-5EC4-4FF555FF14DC2932_thumb.jpg","galleries_id":218608,"server_id":5,"link":"photo_3577548.html","width":130,"caption":"Boscastle Boats - Boscastle","height":87});
															thumbnails[3577551] = clik.newPhoto({"id":3577551,"src":"_boscastle_thumb.jpg","galleries_id":218608,"server_id":5,"link":"photo_3577551.html","width":130,"caption":"Boscastle Harbour Entrance from Cliff Path - Boscastle","height":87});
															thumbnails[5455755] = clik.newPhoto({"id":5455755,"src":"image12590_thumb.jpg","galleries_id":218608,"server_id":5,"link":"photo_5455755.html","width":130,"caption":"Lower Penhallic Point - Between Trebarwith and Tintagel","height":87});
															thumbnails[5455819] = clik.newPhoto({"id":5455819,"src":"image07945_thumb.jpg","galleries_id":218608,"server_id":5,"link":"photo_5455819.html","width":130,"caption":"View from Coastal Path - Trebarwith Strand","height":87});
															thumbnails[5456042] = clik.newPhoto({"id":5456042,"src":"trebarwith_strand_beach_thumb.jpg","galleries_id":218608,"server_id":5,"link":"photo_5456042.html","width":130,"caption":"Above Trebarwith Strand - Cornwall","height":87});
															thumbnails[5457248] = clik.newPhoto({"id":5457248,"src":"trebarwith_strand_above_thumb.jpg","galleries_id":218608,"server_id":5,"link":"photo_5457248.html","width":130,"caption":"Above Port William - Trebarwith Strand, Cornwall","height":87});
															thumbnails[5464180] = clik.newPhoto({"id":5464180,"src":"polperro_9_thumb.jpg","galleries_id":163908,"server_id":5,"link":"photo_5464180.html","width":130,"caption":"Polperro - Cornwall","height":195});
															thumbnails[5533247] = clik.newPhoto({"id":5533247,"src":"trebarwith_strand_slate_thumb.jpg","galleries_id":218608,"server_id":5,"link":"photo_5533247.html","width":130,"caption":"Slate Stacks - Trebarwith Strand, Cornwall","height":87});
															thumbnails[6798729] = clik.newPhoto({"id":6798729,"src":"lands-end_TRIP_thumb.jpg","galleries_id":308764,"server_id":5,"link":"photo_6798729.html","width":130,"caption":"","height":85});
															thumbnails[6798730] = clik.newPhoto({"id":6798730,"src":"Sunlight_reflecting_off_the_lighthouse_triptych_thumb.jpg","galleries_id":308764,"server_id":5,"link":"photo_6798730.html","width":130,"caption":"","height":85});
															thumbnails[9026484] = clik.newPhoto({"id":9026484,"src":"boscastle__thumb.jpg","galleries_id":218608,"server_id":5,"link":"photo_9026484.html","width":130,"caption":"Fleeting Moments - Boscastle, Cornwall","height":87});
															thumbnails[2656179] = clik.newPhoto({"id":2656179,"src":"lands-end_thumb.jpg","galleries_id":418600,"server_id":5,"link":"photo_2656179.html","width":130,"caption":"Greeb Zawn Bay - Land's End, Cornwall","height":86});
															thumbnails[2656175] = clik.newPhoto({"id":2656175,"src":"lands_end2_thumb.jpg","galleries_id":163908,"server_id":5,"link":"photo_2656175.html","width":130,"caption":"On The Edge - Land's End","height":195});
															thumbnails[5457392] = clik.newPhoto({"id":5457392,"src":"trebarwith_strand__1_thumb.jpg","galleries_id":418600,"server_id":5,"link":"photo_5457392.html","width":130,"caption":"Trebarwith Gold - Trebarwith Strand, Cornwall","height":87});
															thumbnails[5457401] = clik.newPhoto({"id":5457401,"src":"trebarwith_strand____thumb.jpg","galleries_id":418607,"server_id":5,"link":"photo_5457401.html","width":130,"caption":"Gull Rock - Trebarwith Strand, Cornwall","height":87});
															thumbnails[8165283] = clik.newPhoto({"id":8165283,"src":"A_splash_of_light_Godrevy_thumb.jpg","galleries_id":418607,"server_id":5,"link":"photo_8165283.html","width":130,"caption":"A splash of light - Godrevy Lighthouse, Cornwall","height":87});
															thumbnails[8166215] = clik.newPhoto({"id":8166215,"src":"A_rainbow_for_Christmas_Day_St_Ives_thumb.jpg","galleries_id":418602,"server_id":5,"link":"photo_8166215.html","width":130,"caption":"A Rainbow for Christmas Day - St Ives, Cornwall","height":87});
															thumbnails[9026515] = clik.newPhoto({"id":9026515,"src":"tintagel_castle__thumb.jpg","galleries_id":163907,"server_id":5,"link":"photo_9026515.html","width":130,"caption":"King Arthur's Tintagel - Tintagel, Cornwall","height":87});
															thumbnails[2572730] = clik.newPhoto({"id":2572730,"src":"TINTAGEL_3__603AA845-1EC9-DFB6-091667C7E34CB51C_thumb.jpg","galleries_id":163907,"server_id":5,"link":"photo_2572730.html","width":130,"caption":"Castle Headland - Tintagel, Cornwall","height":87});
															thumbnails[7740093] = clik.newPhoto({"id":7740093,"src":"Summer_In_The_Dunes_Crantock_Cornwall_thumb.jpg","galleries_id":418600,"server_id":5,"link":"photo_7740093.html","width":130,"caption":"Summer In The Dunes - Crantock, Cornwall ","height":87});
															thumbnails[8165284] = clik.newPhoto({"id":8165284,"src":"Cape_Cornwall_Sunset_thumb.jpg","galleries_id":418607,"server_id":5,"link":"photo_8165284.html","width":130,"caption":"Cape Cornwall Sunset - Cornwall","height":87});
															thumbnails[8166216] = clik.newPhoto({"id":8166216,"src":"Bright_and_cheerful_colours_of_Mevagissey_thumb.jpg","galleries_id":418602,"server_id":5,"link":"photo_8166216.html","width":130,"caption":"Bright and cheerful colours of Mevagissey - Cornwall","height":87});
															thumbnails[2572646] = clik.newPhoto({"id":2572646,"src":"tintagel_castle_1_9581E4D9-1D09-001F-998DCDD68CD77947_thumb.jpg","galleries_id":163907,"server_id":5,"link":"photo_2572646.html","width":130,"caption":"Camelot - Tintagel, Cornwall","height":87});
															thumbnails[2656176] = clik.newPhoto({"id":2656176,"src":"Cape_Cornwall_Rocks_thumb.jpg","galleries_id":163908,"server_id":5,"link":"photo_2656176.html","width":130,"caption":"Swirling Seas - Cape Cornwall","height":195});
															thumbnails[7746054] = clik.newPhoto({"id":7746054,"src":"Sunlight_reflecting_off_the_lighthouse1_thumb.jpg","galleries_id":418600,"server_id":5,"link":"photo_7746054.html","width":130,"caption":"Sunlight reflecting - Godrevy, Cornwall","height":87});
															thumbnails[8165285] = clik.newPhoto({"id":8165285,"src":"Golden_Sand_Holywell_Bay_thumb.jpg","galleries_id":418607,"server_id":5,"link":"photo_8165285.html","width":130,"caption":"Golden Sand - Holywell Bay, Cornwall","height":87});
															thumbnails[8166217] = clik.newPhoto({"id":8166217,"src":"Left_by_the_tide_St_Ives_Harbour_thumb.jpg","galleries_id":418602,"server_id":5,"link":"photo_8166217.html","width":130,"caption":"Left by the Tide - St Ives Harbour, Cornwall","height":87});
															thumbnails[2610303] = clik.newPhoto({"id":2610303,"src":"porth_nanven_thumb.jpg","galleries_id":163908,"server_id":5,"link":"photo_2610303.html","width":130,"caption":"Cornish Light - Porth Nanven ","height":195});
															thumbnails[7740077] = clik.newPhoto({"id":7740077,"src":"Bathed_in_golden_light_Porth_Nanven_thumb.jpg","galleries_id":418600,"server_id":5,"link":"photo_7740077.html","width":130,"caption":"Bathed in golden light - Porth Nanven, Cornwall","height":86});
															thumbnails[7740080] = clik.newPhoto({"id":7740080,"src":"Burst Of Light_thumb.jpg","galleries_id":418600,"server_id":5,"link":"photo_7740080.html","width":130,"caption":"Burst Of Light - Godrevy Island, Cornwall","height":87});
															thumbnails[7740100] = clik.newPhoto({"id":7740100,"src":"_03K3369_thumb.jpg","galleries_id":418600,"server_id":5,"link":"photo_7740100.html","width":130,"caption":"Evening Light - Godrevy, Cornwall","height":87});
															thumbnails[8166218] = clik.newPhoto({"id":8166218,"src":"Low_tide_at_St_Ives_Harbour_thumb.jpg","galleries_id":418602,"server_id":5,"link":"photo_8166218.html","width":130,"caption":"Low Tide at St Ives Harbour - Cornwall","height":87});
															thumbnails[9026520] = clik.newPhoto({"id":9026520,"src":"Heather_on_Barras_Nose_thumb.jpg","galleries_id":163907,"server_id":5,"link":"photo_9026520.html","width":130,"caption":"Heather on Barras Nose - Tintagel, Cornwall","height":87});
															thumbnails[2610633] = clik.newPhoto({"id":2610633,"src":"merlins_cave_thumb.jpg","galleries_id":163907,"server_id":5,"link":"photo_2610633.html","width":130,"caption":"Merlins Cave - Tintagel, Cornwall","height":87});
															thumbnails[7740113] = clik.newPhoto({"id":7740113,"src":"_05K0792_thumb.jpg","galleries_id":418600,"server_id":5,"link":"photo_7740113.html","width":130,"caption":"Sun Sea and Surf - Holywell Bay, Cornwall","height":87});
															thumbnails[7764802] = clik.newPhoto({"id":7764802,"src":"castle_thumb.jpg","galleries_id":418608,"server_id":5,"link":"photo_7764802.html","width":130,"caption":"castle","height":43});
															thumbnails[8165287] = clik.newPhoto({"id":8165287,"src":"Incomimg_tide_at_Godrevy_thumb.jpg","galleries_id":418607,"server_id":5,"link":"photo_8165287.html","width":130,"caption":"Incomimg Tide at Godrevy - Cornwall","height":87});
															thumbnails[2610630] = clik.newPhoto({"id":2610630,"src":"tintagel_island_thumb.jpg","galleries_id":163907,"server_id":5,"link":"photo_2610630.html","width":130,"caption":"Tintagel Island - Tintagel, Cornwall","height":87});
															thumbnails[7764803] = clik.newPhoto({"id":7764803,"src":"cott_valley_thumb.jpg","galleries_id":418608,"server_id":5,"link":"photo_7764803.html","width":130,"caption":"cott valley","height":43});
															thumbnails[8165288] = clik.newPhoto({"id":8165288,"src":"Logan_Rock_Porthcurno_C718770E-1D09-001F-992CD125E15C3220_thumb.jpg","galleries_id":418607,"server_id":5,"link":"photo_8165288.html","width":130,"caption":"Logan Rock - Porthcurno, Cornwall","height":87});
															thumbnails[2572625] = clik.newPhoto({"id":2572625,"src":"Bossiney_thumb.jpg","galleries_id":163907,"server_id":5,"link":"photo_2572625.html","width":130,"caption":"Bossiney Beach - Tintagel, Cornwall","height":87});
															thumbnails[2610631] = clik.newPhoto({"id":2610631,"src":"TINTAGEL_2___thumb.jpg","galleries_id":163907,"server_id":5,"link":"photo_2610631.html","width":130,"caption":"Looking Back - Tintagel, Cornwall","height":87});
															thumbnails[2656170] = clik.newPhoto({"id":2656170,"src":"St_Michaels_Mount_21_thumb.jpg","galleries_id":163908,"server_id":5,"link":"photo_2656170.html","width":130,"caption":"Follow The Yellow Brick Road - St Michael's Mount","height":195});
															thumbnails[7740083] = clik.newPhoto({"id":7740083,"src":"gunwalloe1_thumb.jpg","galleries_id":418600,"server_id":5,"link":"photo_7740083.html","width":130,"caption":"Heavenly Light - Gunwalloe, Cornwall","height":86});
															thumbnails[7764804] = clik.newPhoto({"id":7764804,"src":"CRANTOCK_thumb.jpg","galleries_id":418608,"server_id":5,"link":"photo_7764804.html","width":130,"caption":"CRANTOCK","height":43});
															thumbnails[8165289] = clik.newPhoto({"id":8165289,"src":"gunwalloe--1_thumb.jpg","galleries_id":418607,"server_id":5,"link":"photo_8165289.html","width":130,"caption":"Reflected Sky - Gunwalloe, Cornwall","height":85});
															thumbnails[2656172] = clik.newPhoto({"id":2656172,"src":"Golitha_Falls__thumb.jpg","galleries_id":218610,"server_id":5,"link":"photo_2656172.html","width":130,"caption":"Golitha Falls - Cornwall","height":195});
															thumbnails[5457201] = clik.newPhoto({"id":5457201,"src":"Trebarwith_Strand_at_sunset_north_Cornwall_3_thumb.jpg","galleries_id":218608,"server_id":5,"link":"photo_5457201.html","width":130,"caption":"Trebarwith Strand at sunset","height":88});
															thumbnails[5457442] = clik.newPhoto({"id":5457442,"src":"image07950_thumb.jpg","galleries_id":163907,"server_id":5,"link":"photo_5457442.html","width":130,"caption":"Slate Stacks - Tintagel, Cornwall","height":87});
															thumbnails[7764805] = clik.newPhoto({"id":7764805,"src":"early_morning_thumb.jpg","galleries_id":418608,"server_id":5,"link":"photo_7764805.html","width":130,"caption":"early morning","height":43});
															thumbnails[8165290] = clik.newPhoto({"id":8165290,"src":"perranporth__thumb.jpg","galleries_id":418607,"server_id":5,"link":"photo_8165290.html","width":130,"caption":"Back To The Ocean - Perranporth, Cornwall","height":86});
															thumbnails[8166222] = clik.newPhoto({"id":8166222,"src":"Mevagissey_A1C74F1D-1E4F-37DC-7180AFA538CD41B3_thumb.jpg","galleries_id":418602,"server_id":5,"link":"photo_8166222.html","width":130,"caption":"Afternoon At Mevagissey - Cornwall","height":87});
															thumbnails[9026524] = clik.newPhoto({"id":9026524,"src":"Tintagel_Head_and_Castle_thumb.jpg","galleries_id":163907,"server_id":5,"link":"photo_9026524.html","width":130,"caption":"Tintagel Head and Castle - Tintagel","height":87});
															thumbnails[2656169] = clik.newPhoto({"id":2656169,"src":"Bedruthan_Steps_thumb.jpg","galleries_id":163908,"server_id":5,"link":"photo_2656169.html","width":130,"caption":"Westerly winds - Bedruthan Steps, Cornwall","height":197});
															thumbnails[5456202] = clik.newPhoto({"id":5456202,"src":"image12600_thumb.jpg","galleries_id":163907,"server_id":5,"link":"photo_5456202.html","width":130,"caption":"St Materiana's Church - Tintagel, Cornwall","height":87});
															thumbnails[7740085] = clik.newPhoto({"id":7740085,"src":"marazion_thumb.jpg","galleries_id":418600,"server_id":5,"link":"photo_7740085.html","width":130,"caption":"Circle In The Sand - St Michael's Mount, Cornwall","height":87});
															thumbnails[8165291] = clik.newPhoto({"id":8165291,"src":"Rock_formation_at_Porth_Nanven_thumb.jpg","galleries_id":418607,"server_id":5,"link":"photo_8165291.html","width":130,"caption":"Rock formation at Porth Nanven - Cornwall","height":87});
															thumbnails[5455851] = clik.newPhoto({"id":5455851,"src":"image07961_thumb.jpg","galleries_id":163907,"server_id":5,"link":"photo_5455851.html","width":130,"caption":"The Island - Tintagel, Cornwall","height":87});
															thumbnails[7740081] = clik.newPhoto({"id":7740081,"src":"godrevy__thumb.jpg","galleries_id":418600,"server_id":5,"link":"photo_7740081.html","width":130,"caption":"Across The Bay - Godrevy Point, Cornwall","height":87});
															thumbnails[7764806] = clik.newPhoto({"id":7764806,"src":"GODREVY_thumb.jpg","galleries_id":418608,"server_id":5,"link":"photo_7764806.html","width":130,"caption":"GODREVY","height":43});
															thumbnails[8165292] = clik.newPhoto({"id":8165292,"src":"Storm_approaching_St_Michaels_Mount_thumb.jpg","galleries_id":418607,"server_id":5,"link":"photo_8165292.html","width":130,"caption":"Storm approaching - St Michael's Mount - Corrnwall","height":86});
															thumbnails[8166224] = clik.newPhoto({"id":8166224,"src":"Morning_at_Mevagissey_thumb.jpg","galleries_id":418602,"server_id":5,"link":"photo_8166224.html","width":130,"caption":"Morning at Mevagissey - Cornwall","height":87});
															thumbnails[5457282] = clik.newPhoto({"id":5457282,"src":"image07948_thumb.jpg","galleries_id":218608,"server_id":5,"link":"photo_5457282.html","width":130,"caption":"Trebarwith Strand coastal path","height":195});
															thumbnails[5457304] = clik.newPhoto({"id":5457304,"src":"image14422_thumb.jpg","galleries_id":218608,"server_id":5,"link":"photo_5457304.html","width":130,"caption":"From Port William - Trebarwith Strand, Near Tintagel","height":195});
															thumbnails[7740087] = clik.newPhoto({"id":7740087,"src":"Nanven_Beach1_thumb.jpg","galleries_id":418600,"server_id":5,"link":"photo_7740087.html","width":130,"caption":"Ribbons Of Light - Porth Nanven, Cornwall","height":86});
															thumbnails[7764807] = clik.newPhoto({"id":7764807,"src":"GODREVY_lighthouse_thumb.jpg","galleries_id":418608,"server_id":5,"link":"photo_7764807.html","width":130,"caption":"GODREVY lighthouse","height":43});
															thumbnails[8165293] = clik.newPhoto({"id":8165293,"src":"st_michaels_Mount1_thumb.jpg","galleries_id":418607,"server_id":5,"link":"photo_8165293.html","width":130,"caption":"Returning Tide - St Michael's Mount, Cornwall","height":86});
															thumbnails[7740088] = clik.newPhoto({"id":7740088,"src":"Natures_Light_Show_Chapel_Porth_thumb.jpg","galleries_id":418600,"server_id":5,"link":"photo_7740088.html","width":130,"caption":"Natures Light Show - Chapel Porth, Cornwall","height":84});
															thumbnails[7764808] = clik.newPhoto({"id":7764808,"src":"godrevy_lighthouse__thumb.jpg","galleries_id":418608,"server_id":5,"link":"photo_7764808.html","width":130,"caption":"godrevy lighthouse ","height":43});
															thumbnails[8165294] = clik.newPhoto({"id":8165294,"src":"Sun_Sea_and_Surf_thumb.jpg","galleries_id":418607,"server_id":5,"link":"photo_8165294.html","width":130,"caption":"Sun Sea and Surf - Holywell Bay, Cornwall","height":87});
															thumbnails[7764809] = clik.newPhoto({"id":7764809,"src":"godrevy_pink__thumb.jpg","galleries_id":418608,"server_id":5,"link":"photo_7764809.html","width":130,"caption":"godrevy pink ","height":43});
															thumbnails[8165295] = clik.newPhoto({"id":8165295,"src":"The_Rumps1_thumb.jpg","galleries_id":418607,"server_id":5,"link":"photo_8165295.html","width":130,"caption":"Atlantic Basalt - The Rumps, Polzeath, Cornwall","height":87});
															thumbnails[8166227] = clik.newPhoto({"id":8166227,"src":"Newlyn_harbour_thumb.jpg","galleries_id":418602,"server_id":5,"link":"photo_8166227.html","width":130,"caption":"Light The Way - Newlyn harbour, Cornwall","height":87});
															thumbnails[7764810] = clik.newPhoto({"id":7764810,"src":"GODREVY___thumb.jpg","galleries_id":418608,"server_id":5,"link":"photo_7764810.html","width":130,"caption":"GODREVY  ","height":43});
															thumbnails[8165296] = clik.newPhoto({"id":8165296,"src":"trebarwith_strand1_thumb.jpg","galleries_id":418607,"server_id":5,"link":"photo_8165296.html","width":130,"caption":"The Strand - Trebarwith Strand, Cornwall","height":86});
															thumbnails[8166228] = clik.newPhoto({"id":8166228,"src":"penzance_42A8C842-1EC9-D45B-1C458B967E2C9AEF_thumb.jpg","galleries_id":418602,"server_id":5,"link":"photo_8166228.html","width":130,"caption":"Still Sleeping - Penzance, Cornwall","height":87});
															thumbnails[5457309] = clik.newPhoto({"id":5457309,"src":"image12581_thumb.jpg","galleries_id":218608,"server_id":5,"link":"photo_5457309.html","width":130,"caption":"Lower Penhallic Point - Tintagel","height":195});
															thumbnails[7764811] = clik.newPhoto({"id":7764811,"src":"golitha_falls_25A98A5D-1E4F-37DC-719DF987EE3E5B64_thumb.jpg","galleries_id":418608,"server_id":5,"link":"photo_7764811.html","width":130,"caption":"golitha falls 25A98A5D-1E4F-37DC-719DF987EE3E5B64","height":43});
															thumbnails[8165298] = clik.newPhoto({"id":8165298,"src":"Trevose_lighthouse_thumb.jpg","galleries_id":418607,"server_id":5,"link":"photo_8165298.html","width":130,"caption":"Turbulent Seas - Trevose Lighthouse, Cornwall","height":86});
															thumbnails[8166229] = clik.newPhoto({"id":8166229,"src":"polperro1_thumb.jpg","galleries_id":418602,"server_id":5,"link":"photo_8166229.html","width":130,"caption":"Polperro Sunshine - Polperro, Cornwall","height":87});
															thumbnails[7740092] = clik.newPhoto({"id":7740092,"src":"st_michaels_mount11_thumb.jpg","galleries_id":418600,"server_id":5,"link":"photo_7740092.html","width":130,"caption":"Waiting For The Return - St Michael's Mount, Cornwall","height":87});
															thumbnails[7764812] = clik.newPhoto({"id":7764812,"src":"holywell_thumb.jpg","galleries_id":418608,"server_id":5,"link":"photo_7764812.html","width":130,"caption":"holywell","height":43});
															thumbnails[8165299] = clik.newPhoto({"id":8165299,"src":"Walk_This_Way_Holywell_Bay_thumb.jpg","galleries_id":418607,"server_id":5,"link":"photo_8165299.html","width":130,"caption":"Walk This Way - Holywell Bay, Cornwall","height":86});
															thumbnails[7764813] = clik.newPhoto({"id":7764813,"src":"LANDS_END_thumb.jpg","galleries_id":418608,"server_id":5,"link":"photo_7764813.html","width":130,"caption":"LANDS END","height":43});
															thumbnails[8165300] = clik.newPhoto({"id":8165300,"src":"_04K2471_42274D03-1EC9-D45B-1CE787FAB421D8C0_thumb.jpg","galleries_id":418607,"server_id":5,"link":"photo_8165300.html","width":130,"caption":"Atlantic Swell - Porthcurno, Cornwall","height":87});
															thumbnails[7764814] = clik.newPhoto({"id":7764814,"src":"lanyon__thumb.jpg","galleries_id":418608,"server_id":5,"link":"photo_7764814.html","width":130,"caption":"lanyon ","height":43});
															thumbnails[8165301] = clik.newPhoto({"id":8165301,"src":"_04K7810_42274F65-1EC9-D45B-1C086500E63D46F3_thumb.jpg","galleries_id":418607,"server_id":5,"link":"photo_8165301.html","width":130,"caption":"Cornish Catch - Penberth, Cornwall","height":87});
															thumbnails[8166232] = clik.newPhoto({"id":8166232,"src":"Sleeping_Harbour_Mevagissey_thumb.jpg","galleries_id":418602,"server_id":5,"link":"photo_8166232.html","width":130,"caption":"Sleeping Harbour - Mevagissey, Cornwall","height":87});
															thumbnails[5457301] = clik.newPhoto({"id":5457301,"src":"image12576_thumb.jpg","galleries_id":218608,"server_id":5,"link":"photo_5457301.html","width":130,"caption":"Lower Penhallic Point - Trebarwith Strand, Tintagel","height":195});
															thumbnails[7764815] = clik.newPhoto({"id":7764815,"src":"lavender_thumb.jpg","galleries_id":418608,"server_id":5,"link":"photo_7764815.html","width":130,"caption":"lavender","height":43});
															thumbnails[8165302] = clik.newPhoto({"id":8165302,"src":"_04K7820_422751D6-1EC9-D45B-1C1B104DE941B9F5_thumb.jpg","galleries_id":418602,"server_id":5,"link":"photo_8165302.html","width":130,"caption":"Cornish Boats - Priest's Cove, Cornwall","height":87});
															thumbnails[2610399] = clik.newPhoto({"id":2610399,"src":"trebarwith_thumb.jpg","galleries_id":218608,"server_id":5,"link":"photo_2610399.html","width":130,"caption":"Gull Rock - Trebarwith Strand","height":197});
															thumbnails[7764816] = clik.newPhoto({"id":7764816,"src":"london_thumb.jpg","galleries_id":418608,"server_id":5,"link":"photo_7764816.html","width":130,"caption":"london","height":43});
															thumbnails[8165303] = clik.newPhoto({"id":8165303,"src":"_04K9082_42275456-1EC9-D45B-1C28B5E91048B927_thumb.jpg","galleries_id":418607,"server_id":5,"link":"photo_8165303.html","width":130,"caption":"Ripples In The Sand - Holywell Bay, Cornwall","height":87});
															thumbnails[2610336] = clik.newPhoto({"id":2610336,"src":"trebarwith strand_thumb.jpg","galleries_id":218608,"server_id":5,"link":"photo_2610336.html","width":130,"caption":"Trebarwith Strand","height":197});
															thumbnails[7764817] = clik.newPhoto({"id":7764817,"src":"london__thumb.jpg","galleries_id":418608,"server_id":5,"link":"photo_7764817.html","width":130,"caption":"london ","height":43});
															thumbnails[8165304] = clik.newPhoto({"id":8165304,"src":"_Nanven__422756D7-1EC9-D45B-1CC3FCED72D29DEC_thumb.jpg","galleries_id":418607,"server_id":5,"link":"photo_8165304.html","width":130,"caption":"Incoming - Porth Nanven, Cornwall","height":86});
															thumbnails[7740098] = clik.newPhoto({"id":7740098,"src":"upton_towans1_thumb.jpg","galleries_id":418600,"server_id":5,"link":"photo_7740098.html","width":130,"caption":"Sand Between Your Toes - Gwithian Towans, Cornwall","height":87});
															thumbnails[7764818] = clik.newPhoto({"id":7764818,"src":"london_day_thumb.jpg","galleries_id":418608,"server_id":5,"link":"photo_7764818.html","width":130,"caption":"london day","height":43});
															thumbnails[8165305] = clik.newPhoto({"id":8165305,"src":"_porth__nanven_thumb.jpg","galleries_id":418607,"server_id":5,"link":"photo_8165305.html","width":130,"caption":"Boulder Beach - Porth Nanven, Cornwall","height":86});
															thumbnails[8166236] = clik.newPhoto({"id":8166236,"src":"_03K7274_thumb.jpg","galleries_id":418602,"server_id":5,"link":"photo_8166236.html","width":130,"caption":"Light Of The Sun - Mullion Cove, Cornwall","height":87});
															thumbnails[7764819] = clik.newPhoto({"id":7764819,"src":"london_evening_thumb.jpg","galleries_id":418608,"server_id":5,"link":"photo_7764819.html","width":130,"caption":"london evening","height":43});
															thumbnails[8165306] = clik.newPhoto({"id":8165306,"src":"_St_Michaels_Mount_thumb.jpg","galleries_id":418607,"server_id":5,"link":"photo_8165306.html","width":130,"caption":"Catching The Light - St Michael's Mount, Cornwall","height":87});
															thumbnails[7764820] = clik.newPhoto({"id":7764820,"src":"london_night_thumb.jpg","galleries_id":418608,"server_id":5,"link":"photo_7764820.html","width":130,"caption":"london night","height":43});
															thumbnails[8166238] = clik.newPhoto({"id":8166238,"src":"_04K7110_thumb.jpg","galleries_id":418602,"server_id":5,"link":"photo_8166238.html","width":130,"caption":"Morning Calm - Penzance Harbour, Cornwall","height":87});
															thumbnails[7764821] = clik.newPhoto({"id":7764821,"src":"london_night___thumb.jpg","galleries_id":418608,"server_id":5,"link":"photo_7764821.html","width":130,"caption":"london night  ","height":43});
															thumbnails[7764822] = clik.newPhoto({"id":7764822,"src":"Mevagissey_thumb.jpg","galleries_id":418608,"server_id":5,"link":"photo_7764822.html","width":130,"caption":"Mevagissey","height":43});
															thumbnails[7740106] = clik.newPhoto({"id":7740106,"src":"_MG_6615_thumb.jpg","galleries_id":418600,"server_id":5,"link":"photo_7740106.html","width":130,"caption":"Summer Cliffs - Godrevy, Cornwall","height":87});
															thumbnails[7764823] = clik.newPhoto({"id":7764823,"src":"penzance_thumb.jpg","galleries_id":418608,"server_id":5,"link":"photo_7764823.html","width":130,"caption":"penzance","height":43});
															thumbnails[5456244] = clik.newPhoto({"id":5456244,"src":"Tintagel_Gate_thumb.jpg","galleries_id":163907,"server_id":5,"link":"photo_5456244.html","width":130,"caption":"Castle Gate - Tintagel","height":195});
															thumbnails[8166244] = clik.newPhoto({"id":8166244,"src":"_MH_3317_thumb.jpg","galleries_id":418602,"server_id":5,"link":"photo_8166244.html","width":130,"caption":"Boats Aplenty - Mevagissey, Cornwall","height":87});
															thumbnails[5456554] = clik.newPhoto({"id":5456554,"src":"image12601_monochrome_thumb.jpg","galleries_id":163907,"server_id":5,"link":"photo_5456554.html","width":130,"caption":"St Materiana's Church B&W - Tintagel","height":195});
															thumbnails[8166245] = clik.newPhoto({"id":8166245,"src":"_MH_4436_thumb.jpg","galleries_id":418602,"server_id":5,"link":"photo_8166245.html","width":130,"caption":" MH 4436","height":87});
															thumbnails[8166246] = clik.newPhoto({"id":8166246,"src":"_MH_4443_thumb.jpg","galleries_id":418602,"server_id":5,"link":"photo_8166246.html","width":130,"caption":" MH 4443","height":87});
															thumbnails[9026536] = clik.newPhoto({"id":9026536,"src":"Rocky_Valley_Falls_thumb.jpg","galleries_id":163907,"server_id":5,"link":"photo_9026536.html","width":130,"caption":"Rocky Valley Falls - Tintagel, Cornwall","height":195});
															thumbnails[9026543] = clik.newPhoto({"id":9026543,"src":"Towards_Tintagel_Head_thumb.jpg","galleries_id":163907,"server_id":5,"link":"photo_9026543.html","width":130,"caption":"Towards Tintagel Head - Tintagel, Cornwall","height":195});
															thumbnails[8166234] = clik.newPhoto({"id":8166234,"src":"_03K6724_thumb.jpg","galleries_id":418602,"server_id":5,"link":"photo_8166234.html","width":130,"caption":" 03K6724","height":195});
															thumbnails[8166235] = clik.newPhoto({"id":8166235,"src":"_03K7210_thumb.jpg","galleries_id":418602,"server_id":5,"link":"photo_8166235.html","width":130,"caption":" 03K7210","height":195});
															thumbnails[8166237] = clik.newPhoto({"id":8166237,"src":"_04K6797_thumb.jpg","galleries_id":418602,"server_id":5,"link":"photo_8166237.html","width":130,"caption":" 04K6797","height":195});
															thumbnails[8166219] = clik.newPhoto({"id":8166219,"src":"Mevagissey_3_thumb.jpg","galleries_id":418602,"server_id":5,"link":"photo_8166219.html","width":130,"caption":"Mevagissey 3","height":195});
															thumbnails[8166239] = clik.newPhoto({"id":8166239,"src":"_04K7525_thumb.jpg","galleries_id":418602,"server_id":5,"link":"photo_8166239.html","width":130,"caption":" 04K7525","height":195});
															thumbnails[8166220] = clik.newPhoto({"id":8166220,"src":"Mevagissey_4_thumb.jpg","galleries_id":418602,"server_id":5,"link":"photo_8166220.html","width":130,"caption":"Mevagissey 4","height":195});
															thumbnails[8166230] = clik.newPhoto({"id":8166230,"src":"polperro_15_thumb.jpg","galleries_id":418602,"server_id":5,"link":"photo_8166230.html","width":130,"caption":"polperro 15","height":195});
															thumbnails[8166240] = clik.newPhoto({"id":8166240,"src":"_04K7582_thumb.jpg","galleries_id":418602,"server_id":5,"link":"photo_8166240.html","width":130,"caption":" 04K7582","height":195});
															thumbnails[8166221] = clik.newPhoto({"id":8166221,"src":"Mevagissey_5_thumb.jpg","galleries_id":418602,"server_id":5,"link":"photo_8166221.html","width":130,"caption":"Mevagissey 5","height":195});
															thumbnails[8166231] = clik.newPhoto({"id":8166231,"src":"polperro_9_42A8CF86-1EC9-D45B-1CBFC8948719393E_thumb.jpg","galleries_id":418602,"server_id":5,"link":"photo_8166231.html","width":130,"caption":"polperro 9","height":195});
															thumbnails[8166241] = clik.newPhoto({"id":8166241,"src":"_04K7650_thumb.jpg","galleries_id":418602,"server_id":5,"link":"photo_8166241.html","width":130,"caption":" 04K7650","height":195});
															thumbnails[8166242] = clik.newPhoto({"id":8166242,"src":"_04K7702_thumb.jpg","galleries_id":418602,"server_id":5,"link":"photo_8166242.html","width":130,"caption":" 04K7702","height":195});
															thumbnails[8166223] = clik.newPhoto({"id":8166223,"src":"Mevagissey_cornwall_thumb.jpg","galleries_id":418602,"server_id":5,"link":"photo_8166223.html","width":130,"caption":"Mevagissey cornwall","height":195});
															thumbnails[8166226] = clik.newPhoto({"id":8166226,"src":"newlyn_42A8C3DD-1EC9-D45B-1C9B98F65E3DEDB0_thumb.jpg","galleries_id":418602,"server_id":5,"link":"photo_8166226.html","width":130,"caption":"newlyn","height":195});
															thumbnails[8166233] = clik.newPhoto({"id":8166233,"src":"_03K6501_thumb.jpg","galleries_id":418602,"server_id":5,"link":"photo_8166233.html","width":130,"caption":" 03K6501","height":195});
															thumbnails[8166243] = clik.newPhoto({"id":8166243,"src":"_04K7733_thumb.jpg","galleries_id":418602,"server_id":5,"link":"photo_8166243.html","width":130,"caption":" 04K7733","height":195});
															thumbnails[5456257] = clik.newPhoto({"id":5456257,"src":"Trebarwith__thumb.jpg","galleries_id":218608,"server_id":5,"link":"photo_5456257.html","width":130,"caption":"Trebarwith B&W","height":195});
															thumbnails[2656171] = clik.newPhoto({"id":2656171,"src":"Sennen_Cove_thumb.jpg","galleries_id":418600,"server_id":5,"link":"photo_2656171.html","width":130,"caption":"Emerald Green - Sennen cove","height":197});
															thumbnails[3576762] = clik.newPhoto({"id":3576762,"src":"priests_cove_thumb.jpg","galleries_id":418600,"server_id":5,"link":"photo_3576762.html","width":130,"caption":"Evening Retreat - Cape Cornwall","height":196});
															thumbnails[3576863] = clik.newPhoto({"id":3576863,"src":"Nanven_Beach_thumb.jpg","galleries_id":418600,"server_id":5,"link":"photo_3576863.html","width":130,"caption":"Wonders Of Nature - Porth Nanven","height":196});
															thumbnails[3577564] = clik.newPhoto({"id":3577564,"src":"boscastle_thumb.jpg","galleries_id":218608,"server_id":5,"link":"photo_3577564.html","width":130,"caption":"The Harbour - Boscastle, Cornwall","height":195});
															thumbnails[7740096] = clik.newPhoto({"id":7740096,"src":"trebarwith_strand__________65EC00DF-2219-B5B5-4CD9073D3092AD53_thumb.jpg","galleries_id":418600,"server_id":5,"link":"photo_7740096.html","width":130,"caption":" , Cornwall","height":195});
															thumbnails[7740108] = clik.newPhoto({"id":7740108,"src":"_MG_6964_thumb.jpg","galleries_id":418600,"server_id":5,"link":"photo_7740108.html","width":130,"caption":"Glow Of Light - Land's End, Cornwall","height":195});
															thumbnails[3577554] = clik.newPhoto({"id":3577554,"src":"boscastle_cornwall_thumb.jpg","galleries_id":218608,"server_id":5,"link":"photo_3577554.html","width":130,"caption":"Looking south - Above Boscastle, Cornwall","height":195});
															thumbnails[7740109] = clik.newPhoto({"id":7740109,"src":"_MH_4173_thumb.jpg","galleries_id":418600,"server_id":5,"link":"photo_7740109.html","width":130,"caption":" MH 4173","height":195});
															thumbnails[3577556] = clik.newPhoto({"id":3577556,"src":"BOSCASTLE_HARBOUR__thumb.jpg","galleries_id":218608,"server_id":5,"link":"photo_3577556.html","width":130,"caption":"When the Boat comes in - Boscatle, Cornwall","height":195});
															thumbnails[7740078] = clik.newPhoto({"id":7740078,"src":"Bedruthan_Steps_B67B15AC-1E4F-37DC-710E778021D98AC1_thumb.jpg","galleries_id":418600,"server_id":5,"link":"photo_7740078.html","width":130,"caption":"Bedruthan Steps","height":197});
															thumbnails[7740110] = clik.newPhoto({"id":7740110,"src":"_trebarwith_thumb.jpg","galleries_id":418600,"server_id":5,"link":"photo_7740110.html","width":130,"caption":" trebarwith","height":197});
															thumbnails[7740089] = clik.newPhoto({"id":7740089,"src":"porth__nanven_thumb.jpg","galleries_id":418600,"server_id":5,"link":"photo_7740089.html","width":130,"caption":"porth  nanven","height":195});
															thumbnails[7740111] = clik.newPhoto({"id":7740111,"src":"_Y3S2071_thumb.jpg","galleries_id":418600,"server_id":5,"link":"photo_7740111.html","width":130,"caption":" Y3S2071","height":195});
															thumbnails[7740112] = clik.newPhoto({"id":7740112,"src":"_Y3S9338_thumb.jpg","galleries_id":418600,"server_id":5,"link":"photo_7740112.html","width":130,"caption":" Y3S9338","height":195});
															thumbnails[7740101] = clik.newPhoto({"id":7740101,"src":"_03K7618_thumb.jpg","galleries_id":418600,"server_id":5,"link":"photo_7740101.html","width":130,"caption":" 03K7618","height":195});
															thumbnails[7740082] = clik.newPhoto({"id":7740082,"src":"godrevy_lighthouse1_thumb.jpg","galleries_id":418600,"server_id":5,"link":"photo_7740082.html","width":130,"caption":"godrevy lighthouse1","height":199});
															thumbnails[7740102] = clik.newPhoto({"id":7740102,"src":"_04K7469_thumb.jpg","galleries_id":418600,"server_id":5,"link":"photo_7740102.html","width":130,"caption":" 04K7469","height":195});
															thumbnails[7740114] = clik.newPhoto({"id":7740114,"src":"__Nanven_thumb.jpg","galleries_id":418600,"server_id":5,"link":"photo_7740114.html","width":130,"caption":"  Nanven","height":197});
															thumbnails[7740107] = clik.newPhoto({"id":7740107,"src":"_MG_6919_thumb.jpg","galleries_id":418600,"server_id":5,"link":"photo_7740107.html","width":130,"caption":" MG 6919","height":195});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[163907] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"TINTAGEL GALLERY","link":"gallery_163907.html","maxRecords":0.0,"photoIDs":[9026515.0,2572730.0,2572646.0,9026520.0,2610633.0,2610630.0,2572625.0,2610631.0,5457442.0,9026524.0,5456202.0,5455851.0,5456244.0,5456554.0,9026536.0,9026543.0],"skipIndex":0,"section_code":"gallery","featured_images":9026515.0,"id":163907,"singleSection":false});				  						galleries[218608] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"LOCAL IMAGES","link":"gallery_218608.html","maxRecords":0.0,"photoIDs":[2610632.0,3577542.0,3577544.0,3577548.0,3577551.0,5455755.0,5455819.0,5456042.0,5457248.0,5533247.0,9026484.0,5457201.0,5457282.0,5457304.0,5457309.0,5457301.0,2610399.0,2610336.0,5456257.0,3577564.0,3577554.0,3577556.0],"skipIndex":0,"section_code":"gallery","featured_images":3577542.0,"id":218608,"singleSection":false});				  						galleries[418600] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"CORNWALL SUNSETS","link":"gallery_418600.html","maxRecords":0.0,"photoIDs":[2656179.0,5457392.0,7740093.0,7746054.0,7740077.0,7740080.0,7740100.0,7740113.0,7740083.0,7740085.0,7740081.0,7740087.0,7740088.0,7740092.0,7740098.0,7740106.0,2656171.0,3576762.0,3576863.0,7740096.0,7740108.0,7740109.0,7740078.0,7740110.0,7740089.0,7740111.0,7740112.0,7740101.0,7740082.0,7740102.0,7740114.0,7740107.0],"skipIndex":0,"section_code":"gallery","featured_images":7746054.0,"id":418600,"singleSection":false});				  						galleries[418607] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"CORNWALL COAST","link":"gallery_418607.html","maxRecords":0.0,"photoIDs":[5457401.0,8165283.0,8165284.0,8165285.0,8165287.0,8165288.0,8165289.0,8165290.0,8165291.0,8165292.0,8165293.0,8165294.0,8165295.0,8165296.0,8165298.0,8165299.0,8165300.0,8165301.0,8165303.0,8165304.0,8165305.0,8165306.0],"skipIndex":0,"section_code":"gallery","featured_images":"8165306,8165305,8165304,8165303,8165301,8165300,8165299,8165298,8165296,8165295","id":418607,"singleSection":false});				  						galleries[418602] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"PORTS AND HARBOURS","link":"gallery_418602.html","maxRecords":0.0,"photoIDs":[8166215.0,8166216.0,8166217.0,8166218.0,8166222.0,8166224.0,8166227.0,8166228.0,8166229.0,8166232.0,8165302.0,8166236.0,8166238.0,8166244.0,8166245.0,8166246.0,8166234.0,8166235.0,8166237.0,8166219.0,8166239.0,8166220.0,8166230.0,8166240.0,8166221.0,8166231.0,8166241.0,8166242.0,8166223.0,8166226.0,8166233.0,8166243.0],"skipIndex":0,"section_code":"gallery","featured_images":"8166246,8166245,8166244,8166243,8166242,8166241,8166240,8166239,8166238,8166237","id":418602,"singleSection":false});				  						galleries[163908] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"CORNWALL COAST II","link":"gallery_163908.html","maxRecords":0.0,"photoIDs":[3576727.0,3576733.0,3576743.0,3576745.0,3576764.0,3576822.0,5464180.0,2656175.0,2656176.0,2610303.0,2656170.0,2656169.0],"skipIndex":0,"section_code":"gallery","featured_images":3576733.0,"id":163908,"singleSection":false});				  						galleries[218610] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"LANDSCAPES II","link":"gallery_218610.html","maxRecords":0.0,"photoIDs":[3576923.0,3576927.0,3576939.0,3576942.0,3577019.0,2656172.0],"skipIndex":0,"section_code":"gallery","featured_images":"3577019,3576942,3576939,3576927,3576923,2656172","id":218610,"singleSection":false});				  						galleries[418608] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"PANORAMIC","link":"gallery_418608.html","maxRecords":0.0,"photoIDs":[7764802.0,7764803.0,7764804.0,7764805.0,7764806.0,7764807.0,7764808.0,7764809.0,7764810.0,7764811.0,7764812.0,7764813.0,7764814.0,7764815.0,7764816.0,7764817.0,7764818.0,7764819.0,7764820.0,7764821.0,7764822.0,7764823.0],"skipIndex":0,"section_code":"gallery","featured_images":"7764823,7764822,7764821,7764820,7764819,7764818,7764817,7764816,7764815,7764814","id":418608,"singleSection":false});				  						galleries[308764] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"TRIPTYCH'S","link":"gallery_308764.html","maxRecords":0.0,"photoIDs":[6798729.0,6798730.0],"skipIndex":0,"section_code":"gallery","featured_images":"6798730,6798729","id":308764,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '5457248,5456042,5455819,5455755,3577548,3577542,2610632,5457401,5457392,2572730,2572646,2610633,2610630,2610631,2572625,5457442,5457201,5456202,5455851';
imageSets[2] = '3577542,3576733,9026515,7746054';
imageSets[3] = '5190514,5190509,5190507,5172960,5172907,5172906,3577551,3577548,3577544,3577542,3577516,3577019,3576942,3576939,3576927,3576923,3577564,3576863,3577554,3577556';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/Tintagelcastle/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/Tintagelcastle/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/Tintagelcastle/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/Tintagelcastle/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/Tintagelcastle/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/Tintagelcastle/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/Tintagelcastle/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/Tintagelcastle/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/Tintagelcastle/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/Tintagelcastle/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/Tintagelcastle/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/Tintagelcastle/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/Tintagelcastle/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/Tintagelcastle/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/Tintagelcastle/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/Tintagelcastle/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/Tintagelcastle/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/Tintagelcastle/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/Tintagelcastle/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/Tintagelcastle/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/Tintagelcastle/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/Tintagelcastle/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/Tintagelcastle/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/Tintagelcastle/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/Tintagelcastle/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/Tintagelcastle/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/Tintagelcastle/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 = 'Tintagel Castle: ' + photoCaption;
			    }
        if (op.$detail.length > 0) {
      	temp = op.nextPhoto.fnGetImageDetails();
	    op.$detail.fadeGalleryDetails(temp, op.speed, function(){
			if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
				toggleAddToCartConfirm(backgrounds, op.$detail);
			} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
				toggleAddToCartConfirm(photos, op.$detail);
			}
			$('body').trigger('clikUpdate.popup');
	    });
    }
        $(op.$detailContainer).find('.replaceable[class*=replaceable_photo-]').each(function(){
    	var field = clik.getPrefixedClass(this.className, 'replaceable_photo-');
    	if (field in op.nextPhoto) {
    		$(this).fadeGalleryDetails(op.nextPhoto[field], op.speed);
    	}
    }).end().find('.replaceable.photoPayment').fadeGalleryDetails(op.nextPhoto.fnGetPaymentInfo(), op.speed, function(){
		if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
			toggleAddToCartConfirm(backgrounds, op.$detailContainer);
		} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
			toggleAddToCartConfirm(photos, op.$detailContainer);
		}
		$('body').trigger('clikUpdate.popup');
	});
		if (op.$photo.length > 0) {
		html = $('<img/>',{
			'class': 'mainphoto photo',
			src: photoSrc,
			id: 'mainPic',
			name: 'mainPic',
			width: op.nextPhoto.width,
			height: op.nextPhoto.height,
			alt: photoCaption,
			css: op.css || {}
		});
		if (op.href) {
			if (op.href.match(/<a/)) {
				html = $(op.href).append(html);
			} else {
				html = $('<a/>', {
					href: op.href,
					title: photoCaption
				}).append(html);
			}
		} else {
			html = $('<a/>', {
				title: photoCaption
			}).append(html);
		}
		if (op.speed == 0) {			op.$photo.html(html);			if (op.onBefore) {			  	op.onBefore.apply(op.$photo);			}			if (op.onAfter) {			  	op.onAfter.apply(op.$photo);			}		} else {			op.$photo.stop(true,true).fadeReplaceWith(html,op.speed,'',function(){  				if (op.onAfter) {				  	op.onAfter.apply(this);				}				clik.doColumnResize(false, $(this).add(op.$detail).add(op.$title));			}, op.onBefore);
		}	}
    if (op.field) {
		op.field.value = photoId;
	} else {
		op.$photo.data('image_id', photoId);
    }
        if (!op.speed) {
      	clik.doColumnResize(false, op.$photo.add(op.$detail).add(op.$title));
    }
        
    return html;
	}

/***************************************************************************
* Toggle add to cart confirmation element and set up the click event for   *
* the 'Add to cart' button.                                                *
***************************************************************************/
function toggleAddToCartConfirm(array, root){
	if (typeof(array) !== 'object' || array === null) {
	  	array = photos;
	}
	if (!$(root).length) {		root = $('body');	}	if($('#paymentConfirm', root).length > 0){
		$('#paymentConfirm', root).hide();
		$('#paymentAddButton', root)
		.unbind()
		.click(function(){
						form = $('#paymentForm', root)[0];
			option_id = 0;
			if(form.item_option.value){
				option_id = form.item_option.value;
			}
			if(addItemToBasket(form.item_number.value,array,form.site.value,parseInt(form.quantity.value, 10),option_id)){
				if($.browser.msie){$('#paymentConfirm', root).text('Item added to cart').show();}
				else{
					$('#paymentConfirm', root).text('Item added to cart').fadeIn();
					dspOrderDetails(form.site.value);
				}
			}
			else{
				$('#paymentConfirm', root).text('Item not added - check cookies are enabled in your browser.').fadeIn();
			}
		});
	}
}

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetImageDetails = function(){
	var temp = '';
	if (this.description != '') {
		temp +=  '<div id="imageDescription">' + this.description + '</div>';
	}
		if (this.photo_ref != '') {
		temp += '<div class="imageinfo" id="imageRef"><strong>Ref: </strong>' + this.photo_ref + '</div>';
	}
		if (this.takendate != '') {
		
		temp += '<div class="imageinfo" id="imageDate"><strong>Date: </strong>' + this.takendate + '</div>';
	}
	
	if (this.location != '') {
		
		temp += '<div class="imageinfo" id="imageLocation"><strong>Location: </strong>' +  this.location + '</div>';
	}
	
	if (this.photographer != '') {
		
		temp += '<div class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>' + this.photographer + '</div>';
	}
				
	temp += this.fnGetPaymentInfo();
				if (temp != '') {
		temp += '<div class="spacer"></div>';
	}
	return temp;
};

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetPaymentInfo = function(){
	var temp = '';
	if (this.item_price !== '') {
																		temp += '<p>Buy now using PayPal:</p>';
				temp += '<div class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> &pound;' + (this.item_price).toFixed(2) + '</div>';
		var item_name  = this.purchase_instruction;
		var amount = (this.item_price).toFixed(2);
		var item_option  = 0;
	}
		else if (this.payment_groups_id !== '') {
		temp += '<p><font color=#950049><B>BUY THIS ITEM ONLINE</B></font color=#950049></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="TINTAGELCASTLE">';
			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;
	}
}

			

