window.thumbnails = {};
															thumbnails[4649446] = clik.newPhoto({"id":4649446,"src":"Tats_web1512_thumb_D048CEE9-24E8-5EC4-4F6765FD71C98B3F.JPG","galleries_id":"","server_id":15,"link":"#","width":100,"caption":"\"Russ Berrie Bears have arrived at Bears on Location woo hoo\" ","height":67});
															thumbnails[4727898] = clik.newPhoto({"id":4727898,"src":"Desmond150_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"Desmond","height":149});
															thumbnails[4727901] = clik.newPhoto({"id":4727901,"src":"Eileen150_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"Eileen","height":149});
															thumbnails[4727905] = clik.newPhoto({"id":4727905,"src":"RussTyler150_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"Tyler","height":143});
															thumbnails[4727907] = clik.newPhoto({"id":4727907,"src":"Ryder15150_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"Ryder Bear","height":135});
															thumbnails[4933097] = clik.newPhoto({"id":4933097,"src":"dixon_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"Dixon","height":153});
															thumbnails[8736535] = clik.newPhoto({"id":8736535,"src":"Bears_on_location_items580_thumb_CF08F909-24E8-5EC4-4FA309FB03E6C88A.JPG","galleries_id":460402,"server_id":15,"link":"photo_8736535.html","width":65,"caption":"Wardrobe ","height":100});
															thumbnails[8736545] = clik.newPhoto({"id":8736545,"src":"Bears_on_location_items591_thumb_D05E3686-24E8-5EC4-4FE8EFC7BFC227C8.JPG","galleries_id":460402,"server_id":15,"link":"photo_8736545.html","width":100,"caption":"Jumper by Dooby's knitting needles ","height":65});
															thumbnails[8736557] = clik.newPhoto({"id":8736557,"src":"Bears_on_location_items587_thumb_D0608E83-24E8-5EC4-4F04444B3D89C976.JPG","galleries_id":460402,"server_id":15,"link":"photo_8736557.html","width":100,"caption":"Pirate outfit by Dooby's kniting needles ","height":68});
															thumbnails[8736571] = clik.newPhoto({"id":8736571,"src":"Bears_on_location_items593_thumb_D0640346-24E8-5EC4-4FE2CC334D5520BA.JPG","galleries_id":460402,"server_id":15,"link":"photo_8736571.html","width":100,"caption":"Cornwall jumpers by Dooby's kniting needles ","height":67});
															thumbnails[8736574] = clik.newPhoto({"id":8736574,"src":"Bears_on_location_items583_thumb_D066432B-24E8-5EC4-4FFAAECAA4A2C98F.JPG","galleries_id":460402,"server_id":15,"link":"photo_8736574.html","width":100,"caption":"Shirt by Sally's stiches ","height":82});
															thumbnails[8737181] = clik.newPhoto({"id":8737181,"src":"Bears_on_location_items589_thumb_D068C298-24E8-5EC4-4F65616D3DC26385.JPG","galleries_id":460402,"server_id":15,"link":"photo_8737181.html","width":100,"caption":"Knitted waist coat by Dooby's knitting needles ","height":79});
															thumbnails[8737358] = clik.newPhoto({"id":8737358,"src":"Bears_on_location_items588_thumb_D06B004A-24E8-5EC4-4F5E6777D387AFD0.JPG","galleries_id":460402,"server_id":15,"link":"photo_8737358.html","width":100,"caption":"Green Pirate outfit by Dooby's knitting needles ","height":80});
															thumbnails[8737360] = clik.newPhoto({"id":8737360,"src":"Bears_on_location_items582_thumb_D06CF8D0-24E8-5EC4-4F9EE612A8C43529.JPG","galleries_id":460402,"server_id":15,"link":"photo_8737360.html","width":100,"caption":"Pirate shirt by Sally's stiches ","height":67});
															thumbnails[9076982] = clik.newPhoto({"id":9076982,"src":"Bears_on_location_2012188_thumb.JPG","galleries_id":460402,"server_id":15,"link":"photo_9076982.html","width":150,"caption":"Olympic Jumper Large ","height":100});
															thumbnails[9077023] = clik.newPhoto({"id":9077023,"src":"Bears_on_location_2012189_thumb.JPG","galleries_id":460402,"server_id":15,"link":"photo_9077023.html","width":150,"caption":"Olympic Jumper Medium ","height":100});
															thumbnails[7442330] = clik.newPhoto({"id":7442330,"src":"Alfie_and_Edgar_at_the_cave_web_thumb_D06ED54D-24E8-5EC4-4FA8A013F77288F1.jpg","galleries_id":381749,"server_id":15,"link":"photo_7442330.html","width":79,"caption":"Edgar and Alfie looking in the cave.","height":100});
															thumbnails[7442343] = clik.newPhoto({"id":7442343,"src":"Crossing_the_cauesway_web_thumb_D070742F-24E8-5EC4-4FB06999E01456E9.jpg","galleries_id":381749,"server_id":15,"link":"photo_7442343.html","width":81,"caption":"Crossing the Giants Cauesway ","height":100});
															thumbnails[7339855] = clik.newPhoto({"id":7339855,"src":"day_trip_cover_scale_thumb_CF14FEC6-24E8-5EC4-4FD5F973AC37B2DD.jpg","galleries_id":381749,"server_id":15,"link":"photo_7339855.html","width":76,"caption":"The Bears of Porthors Day Trip","height":100});
															thumbnails[7442315] = clik.newPhoto({"id":7442315,"src":"Giles_and_Jeremy_web_thumb_CF178FFE-24E8-5EC4-4F9A242FA6B345AF.jpg","galleries_id":381749,"server_id":15,"link":"photo_7442315.html","width":79,"caption":"Giles and Jeremy talking.","height":100});
															thumbnails[7442322] = clik.newPhoto({"id":7442322,"src":"Picking_out_a_book_web_thumb.jpg","galleries_id":381749,"server_id":15,"link":"photo_7442322.html","width":130,"caption":"Master Jeremy picking a book!","height":164});
															thumbnails[7051471] = clik.newPhoto({"id":7051471,"src":"hug1_thumb_D04D37A7-24E8-5EC4-4F4D2F7BE7047B9F.jpg","galleries_id":381748,"server_id":15,"link":"photo_7051471.html","width":73,"caption":"Bear Hug ","height":100});
															thumbnails[7051473] = clik.newPhoto({"id":7051473,"src":"skelingyon_key_thumb_D04EEA7A-24E8-5EC4-4FA7033B09DFDBE8.jpg","galleries_id":381748,"server_id":15,"link":"photo_7051473.html","width":100,"caption":"Skeleton Key","height":83});
															thumbnails[6065205] = clik.newPhoto({"id":6065205,"src":"edwin_having_breakfast_scale1_thumb_D0513345-24E8-5EC4-4F4FFE81797EC45F.jpg","galleries_id":381748,"server_id":15,"link":"photo_6065205.html","width":100,"caption":"Edwin's Kitchen ","height":67});
															thumbnails[7051475] = clik.newPhoto({"id":7051475,"src":"it_wont_budge_Edwin_pen_thumb_D056FD09-24E8-5EC4-4F6987E5A18F7395.jpg","galleries_id":381748,"server_id":15,"link":"photo_7051475.html","width":100,"caption":"Treasure Chest","height":69});
															thumbnails[8173788] = clik.newPhoto({"id":8173788,"src":"cover_scale_thumb_CFB09D1F-24E8-5EC4-4F5903F46B00C6F7.jpg","galleries_id":436554,"server_id":15,"link":"photo_8173788.html","width":76,"caption":"The Bears of Porthors Bears Go Tin Mining","height":100});
															thumbnails[6256784] = clik.newPhoto({"id":6256784,"src":"Front_cover_sc_thumb_D05904F1-24E8-5EC4-4F18C2547A2889FC.jpg","galleries_id":381748,"server_id":15,"link":"photo_6256784.html","width":75,"caption":"Cover","height":100});
															thumbnails[8173859] = clik.newPhoto({"id":8173859,"src":"Reading_the_paper_thumb_CFB33DB3-24E8-5EC4-4FF9895206AE18B7.jpg","galleries_id":436554,"server_id":15,"link":"photo_8173859.html","width":79,"caption":"Breaking News","height":100});
															thumbnails[8173862] = clik.newPhoto({"id":8173862,"src":"Daisy_May_taking_out_the_pasty_thumb_CFB5388C-24E8-5EC4-4F266D2DDF543B24.jpg","galleries_id":436554,"server_id":15,"link":"photo_8173862.html","width":79,"caption":"Baking Pasties","height":100});
															thumbnails[8173863] = clik.newPhoto({"id":8173863,"src":"hat_thumb_CFB75F16-24E8-5EC4-4FCF1217959E72B9.jpg","galleries_id":436554,"server_id":15,"link":"photo_8173863.html","width":100,"caption":"Bears mining helmet","height":60});
															thumbnails[8173867] = clik.newPhoto({"id":8173867,"src":"Bears_tin_mining_pen_thumb_CFB95BD9-24E8-5EC4-4F138335B0147810.jpg","galleries_id":436554,"server_id":15,"link":"photo_8173867.html","width":79,"caption":"Tin mining ","height":100});
															thumbnails[8173869] = clik.newPhoto({"id":8173869,"src":"Alfie_picking_pen_thumb_CFBB7635-24E8-5EC4-4FA87D80835771BF.jpg","galleries_id":436554,"server_id":15,"link":"photo_8173869.html","width":79,"caption":"Alfie mining ","height":100});
															thumbnails[7503101] = clik.newPhoto({"id":7503101,"src":"Bears_tin_mining_scale_thumb_CEA7EB3F-24E8-5EC4-4FBB8718E2F39CD9.jpg","galleries_id":248635,"server_id":15,"link":"photo_7503101.html","width":72,"caption":"Bears go Tin mining","height":100});
															thumbnails[7503107] = clik.newPhoto({"id":7503107,"src":"Edgar_mining_scale_thumb_CF261426-24E8-5EC4-4F33C1418BB4FD83.jpg","galleries_id":248635,"server_id":15,"link":"photo_7503107.html","width":67,"caption":"Edgar down the mine","height":100});
															thumbnails[7506241] = clik.newPhoto({"id":7506241,"src":"Giles_by_engine_scale_thumb_CF284C0D-24E8-5EC4-4FCDC553299607AF.jpg","galleries_id":248635,"server_id":15,"link":"photo_7506241.html","width":100,"caption":"Giles on the railway","height":67});
															thumbnails[7506244] = clik.newPhoto({"id":7506244,"src":"Wiating_on_the_platform_scale_thumb_CF2A6E84-24E8-5EC4-4F45A81050D84952.jpg","galleries_id":248635,"server_id":15,"link":"photo_7506244.html","width":100,"caption":"Waiting on the platform","height":67});
															thumbnails[7506247] = clik.newPhoto({"id":7506247,"src":"Old_time_giles_scale__thumb_CF2D11E6-24E8-5EC4-4F980DA94C873050.jpg","galleries_id":248635,"server_id":15,"link":"photo_7506247.html","width":100,"caption":"old time picture of Giles ","height":67});
															thumbnails[7450955] = clik.newPhoto({"id":7450955,"src":"Bears_at_st_michaels_web_thumb_CFF685F3-24E8-5EC4-4F9ABAC3DA2D682D.jpg","galleries_id":312861,"server_id":15,"link":"photo_7450955.html","width":100,"caption":"Bears at Marazion ","height":66});
															thumbnails[7450963] = clik.newPhoto({"id":7450963,"src":"Giles_and_Jeremy_at_porthors__web_thumb_CF83200D-24E8-5EC4-4F6BAE848FE7629E.jpg","galleries_id":403933,"server_id":15,"link":"photo_7450963.html","width":100,"caption":"Giles and Jeremy talking.","height":69});
															thumbnails[7450966] = clik.newPhoto({"id":7450966,"src":"Giles_on_beach__web_thumb_CFF993A5-24E8-5EC4-4F7A506FCCF226E4.jpg","galleries_id":312861,"server_id":15,"link":"photo_7450966.html","width":100,"caption":"Giles on Beach","height":67});
															thumbnails[7450969] = clik.newPhoto({"id":7450969,"src":"Looking_in_the_cave_web_thumb_CF2F2CEA-24E8-5EC4-4FD6FDE77FF10FA0.jpg","galleries_id":248635,"server_id":15,"link":"photo_7450969.html","width":100,"caption":"Looking in the cave","height":67});
															thumbnails[7245334] = clik.newPhoto({"id":7245334,"src":"Leap_of_faith_web_thumb_CF30F9A3-24E8-5EC4-4F2E80C2FA433697.jpg","galleries_id":248635,"server_id":15,"link":"photo_7245334.html","width":100,"caption":"Leap of faith ","height":67});
															thumbnails[7245339] = clik.newPhoto({"id":7245339,"src":"Snow_bear_snow_fight__web_thumb_CF3414A8-24E8-5EC4-4FFA69BF2EE37E92.jpg","galleries_id":248635,"server_id":15,"link":"photo_7245339.html","width":100,"caption":"Snow bear & snowfight ","height":65});
															thumbnails[7245340] = clik.newPhoto({"id":7245340,"src":"Tat_2_in_snow_web_thumb_CF3651B0-24E8-5EC4-4F7598828F5E2542.jpg","galleries_id":248635,"server_id":15,"link":"photo_7245340.html","width":72,"caption":"Tat 2 in snow","height":100});
															thumbnails[7245341] = clik.newPhoto({"id":7245341,"src":"Tat_in_snow_web_thumb_CF38DED0-24E8-5EC4-4F6CFAD2EF3FA16A.jpg","galleries_id":248635,"server_id":15,"link":"photo_7245341.html","width":69,"caption":"Tat in snow","height":100});
															thumbnails[7064913] = clik.newPhoto({"id":7064913,"src":"Good_day_Alfie_web_thumb_CF85EF29-24E8-5EC4-4F9C7B943575A4D7.jpg","galleries_id":403933,"server_id":15,"link":"photo_7064913.html","width":100,"caption":"Afternoon Alfie","height":67});
															thumbnails[7064934] = clik.newPhoto({"id":7064934,"src":"Hetty_and_Alfie_reading_web_thumb_CF8806E4-24E8-5EC4-4F2657AA413BFCD6.jpg","galleries_id":403933,"server_id":15,"link":"photo_7064934.html","width":100,"caption":"Hetty and Alfie reading ","height":71});
															thumbnails[7064943] = clik.newPhoto({"id":7064943,"src":"Hetty_and_Alfie_web_thumb_CF89FA78-24E8-5EC4-4F8C81BAC878E00D.jpg","galleries_id":403933,"server_id":15,"link":"photo_7064943.html","width":100,"caption":"Hetty and Alfie","height":76});
															thumbnails[7064949] = clik.newPhoto({"id":7064949,"src":"Hetty_Reading_web_thumb_CF8C03B1-24E8-5EC4-4FFCCA4BB325DBD9.jpg","galleries_id":403933,"server_id":15,"link":"photo_7064949.html","width":100,"caption":"Hetty reading ","height":67});
															thumbnails[7453304] = clik.newPhoto({"id":7453304,"src":"Bear_monty_web_A97E8136-1EC9-DFB6-0950550E758C12B2_thumb_CF8DE273-24E8-5EC4-4F8CAAEAC0E4DC66.jpg","galleries_id":403933,"server_id":15,"link":"photo_7453304.html","width":100,"caption":"The Bear Monty","height":65});
															thumbnails[6868662] = clik.newPhoto({"id":6868662,"src":"At_the_palace_gateweb_thumb_CF3BADE1-24E8-5EC4-4FB961DCAAA6D2D3.JPG","galleries_id":248635,"server_id":15,"link":"photo_6868662.html","width":100,"caption":"At the Palace Gate","height":73});
															thumbnails[6868657] = clik.newPhoto({"id":6868657,"src":"Pirare_bears_of_penzance_web_thumb_CF7B0DBD-24E8-5EC4-4F859A8F2250F3C9.jpg","galleries_id":403934,"server_id":15,"link":"photo_6868657.html","width":100,"caption":"Pirate bears","height":73});
															thumbnails[6868664] = clik.newPhoto({"id":6868664,"src":"Bears_in_the_rigging_web_thumb_CF7CDFAC-24E8-5EC4-4FD378AC58DF1ECE.jpg","galleries_id":403934,"server_id":15,"link":"photo_6868664.html","width":70,"caption":"Bears in the rigging ","height":100});
															thumbnails[6868667] = clik.newPhoto({"id":6868667,"src":"in_the_rigging_web_thumb_CF7F3693-24E8-5EC4-4F9C42D9922FB3FC.jpg","galleries_id":403934,"server_id":15,"link":"photo_6868667.html","width":100,"caption":"Mutiny  ","height":76});
															thumbnails[6868673] = clik.newPhoto({"id":6868673,"src":"Morwena_and_Edwin_on_board_web_thumb_CFFC0C58-24E8-5EC4-4FAEB12F358EAD00.jpg","galleries_id":312861,"server_id":15,"link":"photo_6868673.html","width":100,"caption":"Morwena and Edwin ","height":79});
															thumbnails[6050358] = clik.newPhoto({"id":6050358,"src":"Alfie_and_Giles_at_Hatchet_Pond_copy_thumb_CF6D4256-24E8-5EC4-4F5ED89B8EA3F9A4.jpg","galleries_id":339919,"server_id":15,"link":"photo_6050358.html","width":100,"caption":"Alfie and Giles ","height":67});
															thumbnails[6050364] = clik.newPhoto({"id":6050364,"src":"Alfie_gets_a_ride_copy_thumb_CF6FD03F-24E8-5EC4-4FD529B7F5FDBA6F.jpg","galleries_id":339919,"server_id":15,"link":"photo_6050364.html","width":100,"caption":"Alfie takes a ride","height":70});
															thumbnails[6050390] = clik.newPhoto({"id":6050390,"src":"Bealiue_copy_thumb_CF71C20D-24E8-5EC4-4F5C202754E364E3.jpg","galleries_id":339919,"server_id":15,"link":"photo_6050390.html","width":100,"caption":"Beaulieu mill pond","height":65});
															thumbnails[6050391] = clik.newPhoto({"id":6050391,"src":"Lyndhurst_Tree_1_copy_thumb_CF73A55D-24E8-5EC4-4FF7730ED62D74EA.jpg","galleries_id":339919,"server_id":15,"link":"photo_6050391.html","width":100,"caption":"Bears at Lyndhurst","height":81});
															thumbnails[6050392] = clik.newPhoto({"id":6050392,"src":"On_the_Bench_copy_thumb_CF758E27-24E8-5EC4-4FD5C474C8AF8188.jpg","galleries_id":339919,"server_id":15,"link":"photo_6050392.html","width":64,"caption":"On the Bench Beaulieu School","height":100});
															thumbnails[6050393] = clik.newPhoto({"id":6050393,"src":"Push_Alfie_copy_thumb_CF7774E7-24E8-5EC4-4FB73BD1565F60CA.jpg","galleries_id":339919,"server_id":15,"link":"photo_6050393.html","width":100,"caption":"Push Alfie ","height":63});
															thumbnails[6050394] = clik.newPhoto({"id":6050394,"src":"Three_bears_at_Hactchet_pond_copy_thumb_CF794CFB-24E8-5EC4-4FE6F68BD366126F.jpg","galleries_id":339919,"server_id":15,"link":"photo_6050394.html","width":100,"caption":"The Bears at Hatchet Pond","height":69});
															thumbnails[6050398] = clik.newPhoto({"id":6050398,"src":"Pirate_Bear_thumb_CF8125EC-24E8-5EC4-4FA370DF98C5380D.jpg","galleries_id":403934,"server_id":15,"link":"photo_6050398.html","width":67,"caption":"Theodore the Pirate Bear","height":100});
															thumbnails[6050740] = clik.newPhoto({"id":6050740,"src":"Beach_picnic_copy_thumb_CF9D1745-24E8-5EC4-4FA593640B50CF89.jpg","galleries_id":339949,"server_id":15,"link":"photo_6050740.html","width":100,"caption":"Picnic on the Beach","height":65});
															thumbnails[6050742] = clik.newPhoto({"id":6050742,"src":"beach_picnic_in_the_sun_copy_thumb.jpg","galleries_id":339949,"server_id":15,"link":"photo_6050742.html","width":130,"caption":"On the Beach","height":87});
															thumbnails[6050746] = clik.newPhoto({"id":6050746,"src":"Greedy_bear_copy_thumb_CFA09EA0-24E8-5EC4-4F1B541289C46E7C.jpg","galleries_id":339949,"server_id":15,"link":"photo_6050746.html","width":100,"caption":"Greedy Bear","height":84});
															thumbnails[6050750] = clik.newPhoto({"id":6050750,"src":"perfect3_copy_thumb_CFA32B2D-24E8-5EC4-4FC88FC53F980412.jpg","galleries_id":339949,"server_id":15,"link":"photo_6050750.html","width":100,"caption":"Perfect Picnic","height":67});
															thumbnails[6050754] = clik.newPhoto({"id":6050754,"src":"perfect_picnic5_copy_thumb_CFA52002-24E8-5EC4-4FEC5A055306AE85.jpg","galleries_id":339949,"server_id":15,"link":"photo_6050754.html","width":100,"caption":"Picnic","height":67});
															thumbnails[6050757] = clik.newPhoto({"id":6050757,"src":"perfect_picnic_4_copy_thumb_CFA78527-24E8-5EC4-4F93E7003A388107.jpg","galleries_id":339949,"server_id":15,"link":"photo_6050757.html","width":100,"caption":"Perfect day","height":67});
															thumbnails[7064957] = clik.newPhoto({"id":7064957,"src":"Tats_at_lands_end_web_thumb_D01A2210-24E8-5EC4-4F6044C3AA67692A.jpg","galleries_id":312941,"server_id":15,"link":"photo_7064957.html","width":100,"caption":"Tat's at Land's End","height":72});
															thumbnails[4160857] = clik.newPhoto({"id":4160857,"src":"Edwin_on_porthmeor_beach_web1278_thumb_D0302FB7-24E8-5EC4-4FC766ADE21AEC2F.jpg","galleries_id":312952,"server_id":15,"link":"photo_4160857.html","width":100,"caption":"Raising the flag","height":67});
															thumbnails[4160881] = clik.newPhoto({"id":4160881,"src":"friends_at_sunrise_web1271_thumb_D03281A3-24E8-5EC4-4F231E634563F30B.jpg","galleries_id":312952,"server_id":15,"link":"photo_4160881.html","width":100,"caption":"Friends,","height":67});
															thumbnails[4160888] = clik.newPhoto({"id":4160888,"src":"St_Ives_bay_web1274_thumb_D034E0F1-24E8-5EC4-4FA09D7710CAD48B.jpg","galleries_id":312952,"server_id":15,"link":"photo_4160888.html","width":100,"caption":"Summer time,","height":67});
															thumbnails[6868666] = clik.newPhoto({"id":6868666,"src":"drumming_tat_web_thumb_CF3ECAE7-24E8-5EC4-4FF6DDD579F72902.jpg","galleries_id":248635,"server_id":15,"link":"photo_6868666.html","width":100,"caption":"Drumming Bear","height":67});
															thumbnails[6868669] = clik.newPhoto({"id":6868669,"src":"Lands_End_Tats_web_thumb_D01CB480-24E8-5EC4-4FE4528608C39B53.jpg","galleries_id":312941,"server_id":15,"link":"photo_6868669.html","width":100,"caption":"Tat's at Lands End","height":68});
															thumbnails[6868674] = clik.newPhoto({"id":6868674,"src":"Tats_in_Cromfort_web_thumb_CF4123EF-24E8-5EC4-4F052563D2BCFFDF.JPG","galleries_id":248635,"server_id":15,"link":"photo_6868674.html","width":100,"caption":"Tat's in the Peak district ","height":71});
															thumbnails[8902578] = clik.newPhoto({"id":8902578,"src":"Amongst_the_lobster_pots_web_thumb_D01ED925-24E8-5EC4-4FEAD9A5079BDE05.jpg","galleries_id":312941,"server_id":15,"link":"photo_8902578.html","width":100,"caption":"Edwin at Cape Cornwall ","height":67});
															thumbnails[8911321] = clik.newPhoto({"id":8911321,"src":"webpic_639_thumb_CFD1A83B-24E8-5EC4-4F2FCE76CA5D64C0.JPG","galleries_id":250503,"server_id":15,"link":"photo_8911321.html","width":100,"caption":"Drumming Bear","height":67});
															thumbnails[7064923] = clik.newPhoto({"id":7064923,"src":"hello_Alfie1_web_thumb_CF906F8C-24E8-5EC4-4F98F7C68E4F49AD.jpg","galleries_id":403933,"server_id":15,"link":"photo_7064923.html","width":100,"caption":"Hello Alfie","height":73});
															thumbnails[5676757] = clik.newPhoto({"id":5676757,"src":"ABC_web_scale_thumb_CF4303F4-24E8-5EC4-4FB31B12215D2C09.jpg","galleries_id":248635,"server_id":15,"link":"photo_5676757.html","width":100,"caption":"ABC","height":67});
															thumbnails[5676833] = clik.newPhoto({"id":5676833,"src":"Daisy-May__Giles_Sharing_ice_cream_web_scale_thumb_CF4559B5-24E8-5EC4-4F9BD10919459D3F.jpg","galleries_id":248635,"server_id":15,"link":"photo_5676833.html","width":67,"caption":"","height":100});
															thumbnails[5676947] = clik.newPhoto({"id":5676947,"src":"Learning_with_Jeremy_web_scale_thumb_CF475851-24E8-5EC4-4FA7D28B83C34FA8.jpg","galleries_id":248635,"server_id":15,"link":"photo_5676947.html","width":67,"caption":"Learning ","height":100});
															thumbnails[5676965] = clik.newPhoto({"id":5676965,"src":"Sharing_ice_cream_web_scale_thumb_CF49898D-24E8-5EC4-4FDCD87471F26018.jpg","galleries_id":248635,"server_id":15,"link":"photo_5676965.html","width":67,"caption":"Alfie and Jeremy ice cream","height":100});
															thumbnails[5525143] = clik.newPhoto({"id":5525143,"src":"I_can_see_a_bear_in_the_balloon_webpic_thumb_CF4B3EC8-24E8-5EC4-4F2D491CCD384A0A.jpg","galleries_id":248635,"server_id":15,"link":"photo_5525143.html","width":100,"caption":"I can see a Bear ","height":67});
															thumbnails[5525151] = clik.newPhoto({"id":5525151,"src":"Love_You_webpic_thumb_CF4DB99A-24E8-5EC4-4F5C8D58E98B34A4.jpg","galleries_id":248635,"server_id":15,"link":"photo_5525151.html","width":67,"caption":"Love You","height":100});
															thumbnails[5524977] = clik.newPhoto({"id":5524977,"src":"At_the_Lizard_webpic_thumb_CFD38E72-24E8-5EC4-4F70DC473EBC5B88.jpg","galleries_id":312856,"server_id":15,"link":"photo_5524977.html","width":100,"caption":"At the Lizard","height":73});
															thumbnails[5525021] = clik.newPhoto({"id":5525021,"src":"cuddling_at_kynance_cove__webpic_thumb_CFD6FA16-24E8-5EC4-4F2C14ACDA74BCD4.jpg","galleries_id":312856,"server_id":15,"link":"photo_5525021.html","width":100,"caption":"Cuddling at Kynance Cove ","height":67});
															thumbnails[5525028] = clik.newPhoto({"id":5525028,"src":"Lizard_lifeboat_webpic_thumb_CFD8DCD8-24E8-5EC4-4F82628D19538046.jpg","galleries_id":312856,"server_id":15,"link":"photo_5525028.html","width":100,"caption":"Lizard Lifeboat house","height":77});
															thumbnails[5525040] = clik.newPhoto({"id":5525040,"src":"Lizard_Light__webpic_thumb_CFDAC748-24E8-5EC4-4FAFD57FB52301D7.jpg","galleries_id":312856,"server_id":15,"link":"photo_5525040.html","width":100,"caption":"Lizard Lighthouse.","height":67});
															thumbnails[5525060] = clik.newPhoto({"id":5525060,"src":"on_the_bench_lizard_webpic_thumb_CFDCC759-24E8-5EC4-4FB22156152CF252.jpg","galleries_id":312856,"server_id":15,"link":"photo_5525060.html","width":100,"caption":"On the bench","height":67});
															thumbnails[5525126] = clik.newPhoto({"id":5525126,"src":"Wave_at_Kynance_webpic_thumb_CFDEC6EB-24E8-5EC4-4FA382112AF3A588.jpg","galleries_id":312856,"server_id":15,"link":"photo_5525126.html","width":100,"caption":"Wave at Kynance.","height":70});
															thumbnails[5524990] = clik.newPhoto({"id":5524990,"src":"church_cove_webpic_thumb_CFE0A4FE-24E8-5EC4-4FDE771B6A751ACD.jpg","galleries_id":312856,"server_id":15,"link":"photo_5524990.html","width":100,"caption":"View over Church cove.","height":67});
															thumbnails[5525013] = clik.newPhoto({"id":5525013,"src":"cudden_point_webpic_thumb_CFFE689C-24E8-5EC4-4F9DC7F25A1847A2.jpg","galleries_id":312861,"server_id":15,"link":"photo_5525013.html","width":100,"caption":"Cudden Point","height":70});
															thumbnails[5525051] = clik.newPhoto({"id":5525051,"src":"Low_Tide_at_St_Michaels_Mount_webpic_thumb_D000FCB1-24E8-5EC4-4F3A122C51AA3FA1.jpg","galleries_id":312861,"server_id":15,"link":"photo_5525051.html","width":100,"caption":"Low Tide at St Michael's Mount ","height":65});
															thumbnails[5525055] = clik.newPhoto({"id":5525055,"src":"Master_Jeremy_and_Giles_St_Michaels_webpic_thumb_D002FAEF-24E8-5EC4-4F1314D9EFE3DE67.jpg","galleries_id":312861,"server_id":15,"link":"photo_5525055.html","width":100,"caption":"Master Jeremy and Giles at St Michael's mount.","height":67});
															thumbnails[5525119] = clik.newPhoto({"id":5525119,"src":"Prussia_cove_webpic_thumb_D005A1E3-24E8-5EC4-4F0E46DA29F84CE6.jpg","galleries_id":312861,"server_id":15,"link":"photo_5525119.html","width":100,"caption":"Prussia cove","height":59});
															thumbnails[5525136] = clik.newPhoto({"id":5525136,"src":"Winter_at_st_micaels_mount_webpic_thumb_D008F57F-24E8-5EC4-4F6B748F3300F68A.jpg","galleries_id":312861,"server_id":15,"link":"photo_5525136.html","width":100,"caption":"Winter at St Michael's Mount ","height":70});
															thumbnails[5222153] = clik.newPhoto({"id":5222153,"src":"Two_little_Bears_scale2055_thumb_CF4F8AAF-24E8-5EC4-4F91A5A5AB29953C.jpg","galleries_id":248635,"server_id":15,"link":"photo_5222153.html","width":100,"caption":"\"Hold on tight Tat\"","height":67});
															thumbnails[5076469] = clik.newPhoto({"id":5076469,"src":"Giles_scale_2029_thumb_CF9249B6-24E8-5EC4-4FD408CE732400F6.jpg","galleries_id":403933,"server_id":15,"link":"photo_5076469.html","width":100,"caption":"Giles at Loe Bar Cornwall","height":67});
															thumbnails[5076479] = clik.newPhoto({"id":5076479,"src":"Anyone_seen_Alfie_scale2024_thumb_CF9459B1-24E8-5EC4-4F5A6C4C5E8CE6FF.jpg","galleries_id":403933,"server_id":15,"link":"photo_5076479.html","width":100,"caption":"Anyone seen Alfie","height":67});
															thumbnails[4983664] = clik.newPhoto({"id":4983664,"src":"Giles_and_Alfie_scale1984_thumb_D03E1400-24E8-5EC4-4FA6950152251B81.jpg","galleries_id":283101,"server_id":15,"link":"photo_4983664.html","width":100,"caption":"Giles and Alfie with their presents.","height":67});
															thumbnails[4983669] = clik.newPhoto({"id":4983669,"src":"i_cant_wait_scale_thumb_D0403EA1-24E8-5EC4-4F12D19CB6EB6CF3.jpg","galleries_id":283101,"server_id":15,"link":"photo_4983669.html","width":100,"caption":"I can't wait to open mine,","height":67});
															thumbnails[4983675] = clik.newPhoto({"id":4983675,"src":"Its_a_Train_scale1979_thumb_D042813B-24E8-5EC4-4F0D0B3984D7306E.jpg","galleries_id":283101,"server_id":15,"link":"photo_4983675.html","width":100,"caption":"It's a Train woo hoo","height":67});
															thumbnails[4983681] = clik.newPhoto({"id":4983681,"src":"new_loco_scale1986_thumb_D044D3A9-24E8-5EC4-4F5229921B6E964F.jpg","galleries_id":283101,"server_id":15,"link":"photo_4983681.html","width":67,"caption":"New Train loco","height":100});
															thumbnails[4983687] = clik.newPhoto({"id":4983687,"src":"Sepia1985_scale_thumb_D046DE79-24E8-5EC4-4F8DF5A10014DECB.jpg","galleries_id":283101,"server_id":15,"link":"photo_4983687.html","width":100,"caption":"Sepia Christmas scene","height":67});
															thumbnails[4983702] = clik.newPhoto({"id":4983702,"src":"playing_the_piano_scale1966_thumb_CF51554C-24E8-5EC4-4F6A266CF5EC8EC7.jpg","galleries_id":248635,"server_id":15,"link":"photo_4983702.html","width":67,"caption":"Playing the Piano","height":100});
															thumbnails[4793338] = clik.newPhoto({"id":4793338,"src":"Whats_on_web1861_thumb_D02E4705-24E8-5EC4-4F854AE7B3D69F68.jpg","galleries_id":275354,"server_id":15,"link":"photo_4793338.html","width":100,"caption":"Whats on Here","height":66});
															thumbnails[4714786] = clik.newPhoto({"id":4714786,"src":"sunset_Lands_End_web1775_thumb_D02096EE-24E8-5EC4-4FB49484797454D8.jpg","galleries_id":312941,"server_id":15,"link":"photo_4714786.html","width":100,"caption":"Sunset Land's End","height":66});
															thumbnails[4716574] = clik.newPhoto({"id":4716574,"src":"In_the_light_Lands_End1752_web_thumb_D02344E0-24E8-5EC4-4F8D6B185AEC9279.jpg","galleries_id":312941,"server_id":15,"link":"photo_4716574.html","width":100,"caption":"In the light at Land's End","height":75});
															thumbnails[4716542] = clik.newPhoto({"id":4716542,"src":"Alfie_making_sand_castles_web1726_thumb_CFCB2F32-24E8-5EC4-4F5045DF4E2D8A50.jpg","galleries_id":274297,"server_id":15,"link":"photo_4716542.html","width":100,"caption":"Alfie making sand castles ","height":66});
															thumbnails[4716551] = clik.newPhoto({"id":4716551,"src":"Demelza_on_Falmouth_beach_web1719_thumb_CFCD1DF2-24E8-5EC4-4FDADE9A5D11DC92.jpg","galleries_id":274297,"server_id":15,"link":"photo_4716551.html","width":100,"caption":"Demelza on the beach","height":66});
															thumbnails[4716565] = clik.newPhoto({"id":4716565,"src":"Family_day_at_Falmouth_beach_web1722_thumb_CFCEE603-24E8-5EC4-4FF3799C4B8413E7.jpg","galleries_id":274297,"server_id":15,"link":"photo_4716565.html","width":100,"caption":"Family day at Falmouth beach","height":65});
															thumbnails[4716616] = clik.newPhoto({"id":4716616,"src":"Not_far_to_go_Alfie_web1707_thumb.jpg","galleries_id":274297,"server_id":15,"link":"photo_4716616.html","width":130,"caption":"Not far to go Alfie","height":87});
															thumbnails[4542149] = clik.newPhoto({"id":4542149,"src":"Demelza_at_Mulion_cove_web1577_thumb_CFE26A46-24E8-5EC4-4FB52A3F63162FCE.jpg","galleries_id":312856,"server_id":15,"link":"photo_4542149.html","width":100,"caption":"Demelza at Mullion Cove","height":65});
															thumbnails[4542164] = clik.newPhoto({"id":4542164,"src":"Edwin_at_Mulion_quay_web1576_thumb_CFE4781B-24E8-5EC4-4FE000B06A6DFA8B.jpg","galleries_id":312856,"server_id":15,"link":"photo_4542164.html","width":100,"caption":"Edwin at Mullion Quay","height":67});
															thumbnails[4542170] = clik.newPhoto({"id":4542170,"src":"Edwin_at_Mullion_cove_web1587_thumb_CFE58B56-24E8-5EC4-4F5534C9256B2D82.jpg","galleries_id":312856,"server_id":15,"link":"photo_4542170.html","width":100,"caption":"Edwin at Mullion Cove","height":66});
															thumbnails[4542182] = clik.newPhoto({"id":4542182,"src":"Just_for_you_web1583_thumb_CFE8D010-24E8-5EC4-4F3DE1946EEEE5B8.jpg","galleries_id":312856,"server_id":15,"link":"photo_4542182.html","width":100,"caption":"Just for you","height":67});
															thumbnails[4542188] = clik.newPhoto({"id":4542188,"src":"Pirates_of_Mulion_cove_web1578_thumb_CFEADB3D-24E8-5EC4-4F831353638DAFE5.jpg","galleries_id":312856,"server_id":15,"link":"photo_4542188.html","width":100,"caption":"Pirates of Mullion","height":67});
															thumbnails[4542367] = clik.newPhoto({"id":4542367,"src":"Where_are_the_Lobsters_web1579_thumb_CFED4E5C-24E8-5EC4-4F337CFF7D782F44.jpg","galleries_id":312856,"server_id":15,"link":"photo_4542367.html","width":100,"caption":"Where are the Lobsters","height":65});
															thumbnails[4373311] = clik.newPhoto({"id":4373311,"src":"Edwin_at_Porthleven_web1515_thumb_CF965A9A-24E8-5EC4-4FE3FBFCFE16A822.jpg","galleries_id":403933,"server_id":15,"link":"photo_4373311.html","width":100,"caption":"Edwin at Porthleven","height":69});
															thumbnails[4388810] = clik.newPhoto({"id":4388810,"src":"can_you_see_that_web1534_thumb_CF9832D2-24E8-5EC4-4F9901639054A818.jpg","galleries_id":403933,"server_id":15,"link":"photo_4388810.html","width":100,"caption":"Can you see that?","height":68});
															thumbnails[4236974] = clik.newPhoto({"id":4236974,"src":"gathering_wild_flowers_web1415_thumb_D025FE05-24E8-5EC4-4F61DF166C858264.jpg","galleries_id":312941,"server_id":15,"link":"photo_4236974.html","width":100,"caption":"Collecting wild flowers ","height":67});
															thumbnails[4245134] = clik.newPhoto({"id":4245134,"src":"Too_rough_to_fish_today_web1406_thumb_D02826F5-24E8-5EC4-4F89102C7F7F3246.jpg","galleries_id":312941,"server_id":15,"link":"photo_4245134.html","width":100,"caption":"Too rough to fish today,","height":67});
															thumbnails[4300320] = clik.newPhoto({"id":4300320,"src":"Amongst_the_lobster_pots_web1496_thumb_D02A03B7-24E8-5EC4-4F9339EB57893020.jpg","galleries_id":312941,"server_id":15,"link":"photo_4300320.html","width":100,"caption":"Amongst the lobster pots","height":67});
															thumbnails[4300432] = clik.newPhoto({"id":4300432,"src":"wild_flowers_at_cape_cornwall_web1497_thumb_D02C7C90-24E8-5EC4-4F58F507E5137AAE.jpg","galleries_id":312941,"server_id":15,"link":"photo_4300432.html","width":100,"caption":"Wild flowers at Cape Cornwall","height":67});
															thumbnails[4200618] = clik.newPhoto({"id":4200618,"src":"Gunwalloe_web1312_thumb_CFEF5995-24E8-5EC4-4F8FD9C0FD5DA652.jpg","galleries_id":312856,"server_id":15,"link":"photo_4200618.html","width":100,"caption":"Edwin at Gunwalloe.","height":67});
															thumbnails[4222199] = clik.newPhoto({"id":4222199,"src":"looking_to_the_sea_web1329_thumb_CFF261F3-24E8-5EC4-4FB74A59D6476629.jpg","galleries_id":312856,"server_id":15,"link":"photo_4222199.html","width":100,"caption":"The ocean.","height":69});
															thumbnails[4222200] = clik.newPhoto({"id":4222200,"src":"to_the_top_web1335_thumb_CF53A0B9-24E8-5EC4-4F27BA0684938C6A.jpg","galleries_id":248635,"server_id":15,"link":"photo_4222200.html","width":100,"caption":"To the top.","height":65});
															thumbnails[4222202] = clik.newPhoto({"id":4222202,"src":"you_can_do_it_web1332_thumb_CFF4D507-24E8-5EC4-4F7A2C9E33B3A61E.jpg","galleries_id":312856,"server_id":15,"link":"photo_4222202.html","width":100,"caption":"\"You can do it\"","height":67});
															thumbnails[4160852] = clik.newPhoto({"id":4160852,"src":"edwin__edgar_on_Porthmeor_web1279_thumb_D036CAA4-24E8-5EC4-4F746198812F1DA7.jpg","galleries_id":312952,"server_id":15,"link":"photo_4160852.html","width":100,"caption":" Building sand castles,","height":65});
															thumbnails[4161891] = clik.newPhoto({"id":4161891,"src":"Tin_Mine_bears_web1283_thumb_D03B22D0-24E8-5EC4-4F6414E4F702FBE5.jpg","galleries_id":248494,"server_id":15,"link":"photo_4161891.html","width":100,"caption":"Sitting by engine house","height":67});
															thumbnails[4169095] = clik.newPhoto({"id":4169095,"src":"Penzance_prom_web1285_thumb_D00B773B-24E8-5EC4-4F61C03BBC08CD80.jpg","galleries_id":312861,"server_id":15,"link":"photo_4169095.html","width":100,"caption":"On the Prom.","height":69});
															thumbnails[4169246] = clik.newPhoto({"id":4169246,"src":"Waiting_to_cross_web1290_thumb_D00DE229-24E8-5EC4-4F1097F941A979E0.jpg","galleries_id":312861,"server_id":15,"link":"photo_4169246.html","width":100,"caption":"Waiting to cross","height":67});
															thumbnails[4169249] = clik.newPhoto({"id":4169249,"src":"pointing_to_the_light_web1297_thumb.jpg","galleries_id":312952,"server_id":15,"link":"photo_4169249.html","width":130,"caption":"Pointing to the light.","height":88});
															thumbnails[4169251] = clik.newPhoto({"id":4169251,"src":"Looking_towards_the_mount_web1294_thumb_D0104721-24E8-5EC4-4F0A9657F7666885.jpg","galleries_id":312861,"server_id":15,"link":"photo_4169251.html","width":100,"caption":"Looking towards the mount.","height":67});
															thumbnails[4169252] = clik.newPhoto({"id":4169252,"src":"St_Michaels_mount_web1295_thumb_D012F941-24E8-5EC4-4F85B213ED426E0D.jpg","galleries_id":312861,"server_id":15,"link":"photo_4169252.html","width":100,"caption":"St Michael's mount","height":67});
															thumbnails[4200612] = clik.newPhoto({"id":4200612,"src":"Cuddling_on_the_rocks_St_Michaels_Mount_web1339_thumb_D0157734-24E8-5EC4-4F919D2AFD32F82E.jpg","galleries_id":312861,"server_id":15,"link":"photo_4200612.html","width":100,"caption":"cuddling on the rocks.","height":67});
															thumbnails[4200614] = clik.newPhoto({"id":4200614,"src":"Edwin_at_St_Michaels_Mount_web1338_thumb_D017AB78-24E8-5EC4-4F8904C5878DB153.jpg","galleries_id":312861,"server_id":15,"link":"photo_4200614.html","width":100,"caption":"Edwin at St Michael's Mount.","height":71});
															thumbnails[4549051] = clik.newPhoto({"id":4549051,"src":"Summer_in_the_field_web1571_thumb_CF556E31-24E8-5EC4-4F63B58EAEF6754E.jpg","galleries_id":248635,"server_id":15,"link":"photo_4549051.html","width":100,"caption":"Summer in the field","height":67});
															thumbnails[8736428] = clik.newPhoto({"id":8736428,"src":"Bears_on_location_items562_thumb_CFA96F6D-24E8-5EC4-4F080C036F389E79.JPG","galleries_id":460395,"server_id":15,"link":"photo_8736428.html","width":100,"caption":"2012 Calendar ","height":61});
															thumbnails[8736499] = clik.newPhoto({"id":8736499,"src":"Bears_on_location_items574_thumb_CFACD844-24E8-5EC4-4FCE27D118B4DFCC.JPG","galleries_id":460395,"server_id":15,"link":"photo_8736499.html","width":100,"caption":"Tea for two,  August ","height":77});
															thumbnails[8736500] = clik.newPhoto({"id":8736500,"src":"Bears_on_location_items568_thumb_CFAED639-24E8-5EC4-4F7AF0E50E04A395.JPG","galleries_id":460395,"server_id":15,"link":"photo_8736500.html","width":100,"caption":"February ","height":78});
															thumbnails[5058876] = clik.newPhoto({"id":5058876,"src":"new_loco_scale1986_CB6C4C6F-1D09-001F-9915DF5CB29BC392_thumb_CEAFC92C-24E8-5EC4-4F9CA36CF693A97E.jpg","galleries_id":285074,"server_id":15,"link":"photo_5058876.html","width":67,"caption":"New Train ","height":100});
															thumbnails[5058877] = clik.newPhoto({"id":5058877,"src":"Giles_and_Alfie_scale1984_CB6D1C71-1D09-001F-99B2686D91CC2771_thumb_CEB6C1B4-24E8-5EC4-4FA777D53B314E6C.jpg","galleries_id":285074,"server_id":15,"link":"photo_5058877.html","width":100,"caption":"Giles and Alfie","height":67});
															thumbnails[5058879] = clik.newPhoto({"id":5058879,"src":"i_cant_wait_scale_CB6DD590-1D09-001F-99C4EEAA085D09DB_thumb_CEB94814-24E8-5EC4-4FD77DD41F048DD0.jpg","galleries_id":285074,"server_id":15,"link":"photo_5058879.html","width":100,"caption":"I can't wait","height":67});
															thumbnails[5058882] = clik.newPhoto({"id":5058882,"src":"Its_a_Train_scale1979_CB6E8BE0-1D09-001F-99E16BF32C3DF426_thumb_CEBB9FC0-24E8-5EC4-4FB259E4A49B951B.jpg","galleries_id":285074,"server_id":15,"link":"photo_5058882.html","width":100,"caption":"It's a Train","height":67});
															thumbnails[5058884] = clik.newPhoto({"id":5058884,"src":"Sepia1985_scale_CB70664D-1D09-001F-999658310AA7E285_thumb_CEBDAB24-24E8-5EC4-4F9FA87075D5C971.jpg","galleries_id":285074,"server_id":15,"link":"photo_5058884.html","width":100,"caption":"Sepia card ","height":67});
															thumbnails[8926271] = clik.newPhoto({"id":8926271,"src":"cards_659_CABDA645-24E8-5EC4-4FCDC2D7CC22EB37_thumb_CE577C1F-24E8-5EC4-4F798221C82C6105.JPG","galleries_id":285074,"server_id":15,"link":"photo_8926271.html","width":67,"caption":"Tat in the snow ","height":100});
															thumbnails[8926262] = clik.newPhoto({"id":8926262,"src":"cards_651_CABA35D2-24E8-5EC4-4F112FB66B14959F_thumb_CE5A1422-24E8-5EC4-4FDD89F79FD9680C.JPG","galleries_id":285074,"server_id":15,"link":"photo_8926262.html","width":100,"caption":"Tea for Two","height":73});
															thumbnails[8926254] = clik.newPhoto({"id":8926254,"src":"cards_643_CAB619B3-24E8-5EC4-4F53BB0A4C36835E_thumb_CE61F7B8-24E8-5EC4-4F1BC65B4A4E1DB2.JPG","galleries_id":285074,"server_id":15,"link":"photo_8926254.html","width":100,"caption":"Summer time in Cornwall","height":75});
															thumbnails[8926255] = clik.newPhoto({"id":8926255,"src":"cards_644_CAB69455-24E8-5EC4-4F7AFCB330613253_thumb_CE67E234-24E8-5EC4-4FBABF088928AB05.JPG","galleries_id":285074,"server_id":15,"link":"photo_8926255.html","width":100,"caption":"Picnic on Praa Sands Beach","height":65});
															thumbnails[8926256] = clik.newPhoto({"id":8926256,"src":"cards_645_CAB736B9-24E8-5EC4-4FA5BC58858851B4_thumb_CE69C184-24E8-5EC4-4F9C954D7A3EF402.JPG","galleries_id":285074,"server_id":15,"link":"photo_8926256.html","width":100,"caption":"Any left ","height":85});
															thumbnails[8926257] = clik.newPhoto({"id":8926257,"src":"cards_646_CAB7A737-24E8-5EC4-4F6CE9FA735B9DFB_thumb_CE713ADB-24E8-5EC4-4FC16A193898B622.JPG","galleries_id":285074,"server_id":15,"link":"photo_8926257.html","width":69,"caption":"Bears at St Michael's Mount","height":100});
															thumbnails[8926258] = clik.newPhoto({"id":8926258,"src":"cards_647_CAB8254C-24E8-5EC4-4FB2FA67F0AD0218_thumb_CE7256ED-24E8-5EC4-4FFD4149A8C29807.JPG","galleries_id":285074,"server_id":15,"link":"photo_8926258.html","width":70,"caption":"Pirate Bears","height":100});
															thumbnails[8926259] = clik.newPhoto({"id":8926259,"src":"cards_648_CAB89CC2-24E8-5EC4-4F1C5AB32A5EE337_thumb_CE761F53-24E8-5EC4-4F7B49CD6526F6EB.JPG","galleries_id":285074,"server_id":15,"link":"photo_8926259.html","width":100,"caption":"No sand in here!","height":67});
															thumbnails[8926260] = clik.newPhoto({"id":8926260,"src":"cards_649_CAB9673E-24E8-5EC4-4F2969E14346A895_thumb_CE7C3109-24E8-5EC4-4F7D8853FA3AE8C8.JPG","galleries_id":285074,"server_id":15,"link":"photo_8926260.html","width":100,"caption":"Drumming Bear","height":67});
															thumbnails[8926261] = clik.newPhoto({"id":8926261,"src":"cards_650_CAB9D4FA-24E8-5EC4-4F9F65F1C7617466_thumb_CE7E21A6-24E8-5EC4-4F13F1D5990F4507.JPG","galleries_id":285074,"server_id":15,"link":"photo_8926261.html","width":100,"caption":"Porthleven!","height":67});
															thumbnails[8926263] = clik.newPhoto({"id":8926263,"src":"cards_652_CABAA08A-24E8-5EC4-4F0FCB9880BBC068_thumb_CE7FF24D-24E8-5EC4-4F8EC5F2B949FF8E.JPG","galleries_id":285074,"server_id":15,"link":"photo_8926263.html","width":100,"caption":"Winter in Cornwall","height":67});
															thumbnails[8926265] = clik.newPhoto({"id":8926265,"src":"cards_653_CABB1115-24E8-5EC4-4FE4293224F41C30_thumb_CE81A9E6-24E8-5EC4-4FE4909CC30617B3.JPG","galleries_id":285074,"server_id":15,"link":"photo_8926265.html","width":100,"caption":"The Bears at Porthleven","height":67});
															thumbnails[8926266] = clik.newPhoto({"id":8926266,"src":"cards_654_CABB7130-24E8-5EC4-4F9A1E1612A3BA73_thumb_CE8390A5-24E8-5EC4-4F75B11741CE6B38.JPG","galleries_id":285074,"server_id":15,"link":"photo_8926266.html","width":100,"caption":"The Ocean","height":69});
															thumbnails[8926267] = clik.newPhoto({"id":8926267,"src":"cards_655_CABBD765-24E8-5EC4-4FB517DDEB9B84EF_thumb_CE855087-24E8-5EC4-4FAD77720A587893.JPG","galleries_id":285074,"server_id":15,"link":"photo_8926267.html","width":100,"caption":"Porthleven Harbour ","height":61});
															thumbnails[8926268] = clik.newPhoto({"id":8926268,"src":"cards_656_CABC454D-24E8-5EC4-4F8C664499AC1E95_thumb_CE873110-24E8-5EC4-4FD98E590725DF53.JPG","galleries_id":285074,"server_id":15,"link":"photo_8926268.html","width":100,"caption":"Yo Ho Ho Birthday","height":67});
															thumbnails[8926269] = clik.newPhoto({"id":8926269,"src":"cards_657_CABCB36E-24E8-5EC4-4F54BB41217D0D78_thumb_CE897EBC-24E8-5EC4-4FA7199A017507E7.JPG","galleries_id":285074,"server_id":15,"link":"photo_8926269.html","width":100,"caption":"Snow Joke ","height":66});
															thumbnails[8926270] = clik.newPhoto({"id":8926270,"src":"cards_658_CABD12F8-24E8-5EC4-4FC74246D9914DAE_thumb_CE8B6333-24E8-5EC4-4F44B5F34F907E3A.JPG","galleries_id":285074,"server_id":15,"link":"photo_8926270.html","width":100,"caption":"Sunset ","height":66});
															thumbnails[8926272] = clik.newPhoto({"id":8926272,"src":"cards_660_CABE1552-24E8-5EC4-4FCEE9CAA156BEDB_thumb_CE8D22DB-24E8-5EC4-4FF2029174ABD7D2.JPG","galleries_id":285074,"server_id":15,"link":"photo_8926272.html","width":100,"caption":"Wake up!","height":75});
															thumbnails[8926273] = clik.newPhoto({"id":8926273,"src":"cards_661_CABE92EB-24E8-5EC4-4F7B0CF1167D30D5_thumb_CE8FCD14-24E8-5EC4-4F7FB2AB3A9EB76A.JPG","galleries_id":285074,"server_id":15,"link":"photo_8926273.html","width":100,"caption":"Telling Tales","height":76});
															thumbnails[8926274] = clik.newPhoto({"id":8926274,"src":"cards_662_CABEF11B-24E8-5EC4-4F0E0108B8B713DF_thumb_CE925C02-24E8-5EC4-4F33C503631F006B.JPG","galleries_id":285074,"server_id":15,"link":"photo_8926274.html","width":100,"caption":"Watching the sunset","height":72});
															thumbnails[8926275] = clik.newPhoto({"id":8926275,"src":"cards_663_CABF54B0-24E8-5EC4-4FA594E46080E1EC_thumb_CE95EA22-24E8-5EC4-4F5FC321B487EAF2.JPG","galleries_id":285074,"server_id":15,"link":"photo_8926275.html","width":100,"caption":"Happy Birthday ","height":67});
															thumbnails[8926276] = clik.newPhoto({"id":8926276,"src":"cards_664_CABFC74B-24E8-5EC4-4F09A1C445A4E0EF_thumb_CE97A521-24E8-5EC4-4FE2ECDC931794EA.JPG","galleries_id":285074,"server_id":15,"link":"photo_8926276.html","width":67,"caption":"Pirate Bear","height":100});
															thumbnails[8926277] = clik.newPhoto({"id":8926277,"src":"cards_665_CAC03C43-24E8-5EC4-4FBFA3AD774C7ADE_thumb_CE997DC9-24E8-5EC4-4F2D345EE2EA1619.JPG","galleries_id":285074,"server_id":15,"link":"photo_8926277.html","width":67,"caption":"Ice Creams at Porthleven ","height":100});
															thumbnails[8926278] = clik.newPhoto({"id":8926278,"src":"cards_666_CAC0A7EC-24E8-5EC4-4F2E638438427341_thumb_CE9B5FAC-24E8-5EC4-4F9A946501319CE9.JPG","galleries_id":285074,"server_id":15,"link":"photo_8926278.html","width":100,"caption":"To the Top","height":65});
															thumbnails[8926279] = clik.newPhoto({"id":8926279,"src":"cards_667_CAC117F7-24E8-5EC4-4FC1ABA54879ED20_thumb_CE9EA0BE-24E8-5EC4-4F07CAD11BC90CEB.JPG","galleries_id":285074,"server_id":15,"link":"photo_8926279.html","width":100,"caption":"Waiting to cross","height":67});
															thumbnails[8926280] = clik.newPhoto({"id":8926280,"src":"cards_668_CAC1848D-24E8-5EC4-4FBFA5EC2ACB2FD2_thumb_CEA05157-24E8-5EC4-4F1B610C9785B684.JPG","galleries_id":285074,"server_id":15,"link":"photo_8926280.html","width":100,"caption":"Woz on 'ere","height":66});
															thumbnails[7250828] = clik.newPhoto({"id":7250828,"src":"Hetty_web__thumb_CF57E5C8-24E8-5EC4-4F7A5AE4EF7C46FE.jpg","galleries_id":256605,"server_id":15,"link":"photo_7250828.html","width":87,"caption":"Hetty","height":100});
															thumbnails[7250879] = clik.newPhoto({"id":7250879,"src":"Morwena_web__thumb_CF5A9B3A-24E8-5EC4-4F669B251D0BF35A.jpg","galleries_id":256605,"server_id":15,"link":"photo_7250879.html","width":69,"caption":"Morwenna","height":100});
															thumbnails[4367640] = clik.newPhoto({"id":4367640,"src":"overlooking_Porthleven_beach1517_web_thumb_CF5CC39A-24E8-5EC4-4F4D739778057734.jpg","galleries_id":256605,"server_id":15,"link":"photo_4367640.html","width":100,"caption":"Edwin","height":68});
															thumbnails[4367661] = clik.newPhoto({"id":4367661,"src":"Edgar_and_deckchair_web1417_thumb_CF5ECE3B-24E8-5EC4-4F46A96FE210C584.jpg","galleries_id":256605,"server_id":15,"link":"photo_4367661.html","width":100,"caption":"Edgar","height":67});
															thumbnails[4367671] = clik.newPhoto({"id":4367671,"src":"Alfie_web__thumb_CF60C11F-24E8-5EC4-4FD200A477022547.jpg","galleries_id":256605,"server_id":15,"link":"photo_4367671.html","width":100,"caption":"Alfie","height":72});
															thumbnails[4367727] = clik.newPhoto({"id":4367727,"src":"Tats_web15121_thumb_CF62E177-24E8-5EC4-4FE90CA7BC840D91.JPG","galleries_id":256605,"server_id":15,"link":"photo_4367727.html","width":100,"caption":"Tat brothers","height":67});
															thumbnails[4367736] = clik.newPhoto({"id":4367736,"src":"Bears_at_Marizion_web_D693BEFB-1EC9-DFB6-09448731385484D5_thumb_CF64E31A-24E8-5EC4-4F87D549A032B190.jpg","galleries_id":256605,"server_id":15,"link":"photo_4367736.html","width":69,"caption":"The Gang","height":100});
															thumbnails[5676828] = clik.newPhoto({"id":5676828,"src":"Daisy_May_web_scale_thumb_CF675E90-24E8-5EC4-4F67EC70F4F4F54D.jpg","galleries_id":256605,"server_id":15,"link":"photo_5676828.html","width":67,"caption":"Daisy May","height":100});
															thumbnails[5676955] = clik.newPhoto({"id":5676955,"src":"Master_Jeremy_web_scale_thumb_CF696D9A-24E8-5EC4-4FB00D52BE2004C6.jpg","galleries_id":256605,"server_id":15,"link":"photo_5676955.html","width":63,"caption":"Master Jeremy","height":100});
															thumbnails[5676838] = clik.newPhoto({"id":5676838,"src":"Giles_web_scale_thumb_CF6B562E-24E8-5EC4-4F103701821C2DBB.jpg","galleries_id":256605,"server_id":15,"link":"photo_5676838.html","width":77,"caption":"Giles","height":100});
															thumbnails[9077100] = clik.newPhoto({"id":9077100,"src":"Bears_on_location_2012192_thumb.JPG","galleries_id":468444,"server_id":15,"link":"photo_9077100.html","width":150,"caption":"Perran Bear ","height":100});
															thumbnails[9077125] = clik.newPhoto({"id":9077125,"src":"Bears_on_location_2012193_thumb.JPG","galleries_id":468444,"server_id":15,"link":"photo_9077125.html","width":150,"caption":"Perran Bear ","height":100});
															thumbnails[9106893] = clik.newPhoto({"id":9106893,"src":"Hermann_Teddy__1_thumb.jpg","galleries_id":468443,"server_id":15,"link":"photo_9106893.html","width":100,"caption":"Hermann Teddy ","height":100});
															thumbnails[9056523] = clik.newPhoto({"id":9056523,"src":"perran_web_thumb_CC41AFEB-1EC9-DFB6-090CEA1D1FE3B10D.jpg","galleries_id":468444,"server_id":15,"link":"photo_9056523.html","width":100,"caption":"Perran Bear, Story!  ","height":100});
															thumbnails[5058761] = clik.newPhoto({"id":5058761,"src":"Bears_on_location_items598_thumb.JPG","galleries_id":286242,"server_id":15,"link":"photo_5058761.html","width":100,"caption":"Deckchairs","height":87});
															thumbnails[5058781] = clik.newPhoto({"id":5058781,"src":"Bears_on_location_items597_thumb.JPG","galleries_id":286242,"server_id":15,"link":"photo_5058781.html","width":100,"caption":"Some of the colour's available ","height":58});
															thumbnails[5058773] = clik.newPhoto({"id":5058773,"src":"Bears_on_location_items595_thumb.JPG","galleries_id":286242,"server_id":15,"link":"photo_5058773.html","width":100,"caption":" Deckchairs","height":67});
															thumbnails[8974187] = clik.newPhoto({"id":8974187,"src":"Bears_on_location_items604_thumb.JPG","galleries_id":286242,"server_id":15,"link":"photo_8974187.html","width":100,"caption":"Paw trapped. ","height":67});
															thumbnails[5058769] = clik.newPhoto({"id":5058769,"src":"Bears_on_location_items600_thumb.JPG","galleries_id":286242,"server_id":15,"link":"photo_5058769.html","width":100,"caption":"Tat Bear taking things easy.","height":91});
															thumbnails[8974186] = clik.newPhoto({"id":8974186,"src":"deck_chair_assembly_thumb.jpg","galleries_id":286242,"server_id":15,"link":"photo_8974186.html","width":100,"caption":"How not to do it!","height":75});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[381748] = clik.newGallery({"parentGallery":468452,"usePopups":false,"title":"Alfie Finds Treasure","link":"section454173_381748.html","maxRecords":0.0,"photoIDs":[7051471.0,7051473.0,6065205.0,7051475.0,6256784.0],"skipIndex":0,"section_code":"section454173","featured_images":6256784.0,"id":381748,"singleSection":true});				  						galleries[460402] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Bear Wear ","link":"section557307.html","maxRecords":0.0,"photoIDs":[8736535.0,8736545.0,8736557.0,8736571.0,8736574.0,8737181.0,8737358.0,8737360.0,9076982.0,9077023.0],"skipIndex":0,"section_code":"section557307","featured_images":"9077023,9076982,8737360,8737358,8737181,8736574,8736571,8736557,8736545,8736535","id":460402,"singleSection":true});				  						galleries[468452] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Childrens Books","link":"section454173_468452.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"section454173","featured_images":"8173788,7339855,6256784","id":468452,"singleSection":true});				  						galleries[381749] = clik.newGallery({"parentGallery":468452,"usePopups":false,"title":"Day Trip from Porthors","link":"section454173_381749.html","maxRecords":0.0,"photoIDs":[7442330.0,7442343.0,7339855.0,7442315.0,7442322.0],"skipIndex":0,"section_code":"section454173","featured_images":7339855.0,"id":381749,"singleSection":true});				  						galleries[285074] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Greeting cards and Postcards","link":"section341792.html","maxRecords":0.0,"photoIDs":[5058876.0,5058877.0,5058879.0,5058882.0,5058884.0,8926271.0,8926262.0,8926254.0,8926255.0,8926256.0,8926257.0,8926258.0,8926259.0,8926260.0,8926261.0,8926263.0,8926265.0,8926266.0,8926267.0,8926268.0,8926269.0,8926270.0,8926272.0,8926273.0,8926274.0,8926275.0,8926276.0,8926277.0,8926278.0,8926279.0,8926280.0],"skipIndex":0,"section_code":"section341792","featured_images":8926263.0,"id":285074,"singleSection":true});				  						galleries[248635] = clik.newGallery({"parentGallery":468530,"usePopups":false,"title":"Just Bears.","link":"gallery_248635.html","maxRecords":0.0,"photoIDs":[7503101.0,7503107.0,7506241.0,7506244.0,7506247.0,7450969.0,7245334.0,7245339.0,7245340.0,7245341.0,6868662.0,6868666.0,6868674.0,5676757.0,5676833.0,5676947.0,5676965.0,5525143.0,5525151.0,5222153.0,4983702.0,4222200.0,4549051.0],"skipIndex":0,"section_code":"gallery","featured_images":"7506247,7506244,7506241,7503107,7503101,7450969,7245341,7245340,7245339,7245334","id":248635,"singleSection":false});				  						galleries[256605] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Meet the bears","link":"section309934.html","maxRecords":0.0,"photoIDs":[7250828.0,7250879.0,4367640.0,4367661.0,4367671.0,4367727.0,4367736.0,5676828.0,5676955.0,5676838.0],"skipIndex":0,"section_code":"section309934","featured_images":"7250879,7250828,5676955,5676838,5676828,4367736,4367727,4367671,4367661,4367640","id":256605,"singleSection":true});				  						galleries[339919] = clik.newGallery({"parentGallery":468530,"usePopups":false,"title":"New Forest Bears","link":"gallery_339919.html","maxRecords":0.0,"photoIDs":[6050358.0,6050364.0,6050390.0,6050391.0,6050392.0,6050393.0,6050394.0],"skipIndex":0,"section_code":"gallery","featured_images":"6050394,6050393,6050392,6050391,6050390,6050364,6050358","id":339919,"singleSection":false});				  						galleries[403934] = clik.newGallery({"parentGallery":468530,"usePopups":false,"title":"Pirate Bears","link":"gallery_403934.html","maxRecords":0.0,"photoIDs":[6868657.0,6868664.0,6868667.0,6050398.0],"skipIndex":0,"section_code":"gallery","featured_images":"6868667,6868664,6868657,6050398","id":403934,"singleSection":false});				  						galleries[403933] = clik.newGallery({"parentGallery":468530,"usePopups":false,"title":"Porthleven\/Porthors ","link":"gallery_403933.html","maxRecords":0.0,"photoIDs":[7450963.0,7064913.0,7064934.0,7064943.0,7064949.0,7453304.0,7064923.0,5076469.0,5076479.0,4373311.0,4388810.0],"skipIndex":0,"section_code":"gallery","featured_images":7064934.0,"id":403933,"singleSection":false});				  						galleries[339949] = clik.newGallery({"parentGallery":468530,"usePopups":false,"title":"Teddy Bear Picnic ","link":"gallery_339949.html","maxRecords":0.0,"photoIDs":[6050740.0,6050742.0,6050746.0,6050750.0,6050754.0,6050757.0],"skipIndex":0,"section_code":"gallery","featured_images":"6050757,6050754,6050750,6050746,6050742,6050740","id":339949,"singleSection":false});				  						galleries[468445] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Teddy Bears","link":"section458818_468445.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"section458818","featured_images":"9106893,9077125,9077100,9056523","id":468445,"singleSection":true});				  						galleries[460395] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"2012 Calendar","link":"section557288.html","maxRecords":0.0,"photoIDs":[8736428.0,8736499.0,8736500.0],"skipIndex":0,"section_code":"section557288","featured_images":"8736500,8736499,8736428","id":460395,"singleSection":true});				  						galleries[385841] = clik.newGallery({"parentGallery":468445,"usePopups":false,"title":"Merrythought Bears","link":"section458818_385841.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"section458818","featured_images":"","id":385841,"singleSection":true});				  						galleries[468530] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Teddy Bear Images","link":"gallery_468530.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"8902578,7064934,5524990","id":468530,"singleSection":false});				  						galleries[468442] = clik.newGallery({"parentGallery":468445,"usePopups":false,"title":"Alice's Bears ","link":"section458818_468442.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"section458818","featured_images":"","id":468442,"singleSection":true});				  						galleries[436554] = clik.newGallery({"parentGallery":468452,"usePopups":false,"title":"Bears Go Tin Mining","link":"section454173_436554.html","maxRecords":0.0,"photoIDs":[8173788.0,8173859.0,8173862.0,8173863.0,8173867.0,8173869.0],"skipIndex":0,"section_code":"section454173","featured_images":8173788.0,"id":436554,"singleSection":true});				  						galleries[468444] = clik.newGallery({"parentGallery":468445,"usePopups":false,"title":"Cornwall Bears","link":"section458818_468444.html","maxRecords":0.0,"photoIDs":[9077100.0,9077125.0,9056523.0],"skipIndex":0,"section_code":"section458818","featured_images":"9077125,9077100,9056523","id":468444,"singleSection":true});				  						galleries[468443] = clik.newGallery({"parentGallery":468445,"usePopups":false,"title":"Hermann Teddy ","link":"section458818_468443.html","maxRecords":0.0,"photoIDs":[9106893.0],"skipIndex":0,"section_code":"section458818","featured_images":9106893.0,"id":468443,"singleSection":true});				  						galleries[286242] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Deckchairs for Bears","link":"section481944.html","maxRecords":0.0,"photoIDs":[5058761.0,5058781.0,5058773.0,8974187.0,5058769.0,8974186.0],"skipIndex":0,"section_code":"section481944","featured_images":"8974187,8974186,5058781,5058773,5058769,5058761","id":286242,"singleSection":true});				  						galleries[274297] = clik.newGallery({"parentGallery":468530,"usePopups":false,"title":"Falmouth","link":"gallery_274297.html","maxRecords":0.0,"photoIDs":[4716542.0,4716551.0,4716565.0,4716616.0],"skipIndex":0,"section_code":"gallery","featured_images":"4716616,4716565,4716551,4716542","id":274297,"singleSection":false});				  						galleries[250503] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Latest Images","link":"gallery_250503.html","maxRecords":0.0,"photoIDs":[8911321.0],"skipIndex":0,"section_code":"gallery","featured_images":8911321.0,"id":250503,"singleSection":false});				  						galleries[312856] = clik.newGallery({"parentGallery":468530,"usePopups":false,"title":"Lizard Peninsular ","link":"gallery_312856.html","maxRecords":0.0,"photoIDs":[5524977.0,5525021.0,5525028.0,5525040.0,5525060.0,5525126.0,5524990.0,4542149.0,4542164.0,4542170.0,4542182.0,4542188.0,4542367.0,4200618.0,4222199.0,4222202.0],"skipIndex":0,"section_code":"gallery","featured_images":5524990.0,"id":312856,"singleSection":false});				  						galleries[312861] = clik.newGallery({"parentGallery":468530,"usePopups":false,"title":"Mounts Bay","link":"gallery_312861.html","maxRecords":0.0,"photoIDs":[7450955.0,7450966.0,6868673.0,5525013.0,5525051.0,5525055.0,5525119.0,5525136.0,4169095.0,4169246.0,4169251.0,4169252.0,4200612.0,4200614.0],"skipIndex":0,"section_code":"gallery","featured_images":"7450966,7450955,6868673,5525136,5525119,5525055,5525051,5525013,4200614,4200612","id":312861,"singleSection":false});				  						galleries[312941] = clik.newGallery({"parentGallery":468530,"usePopups":false,"title":"Penwith","link":"gallery_312941.html","maxRecords":0.0,"photoIDs":[7064957.0,6868669.0,8902578.0,4714786.0,4716574.0,4236974.0,4245134.0,4300320.0,4300432.0],"skipIndex":0,"section_code":"gallery","featured_images":8902578.0,"id":312941,"singleSection":false});				  						galleries[275354] = clik.newGallery({"parentGallery":468530,"usePopups":false,"title":"Portreath","link":"gallery_275354.html","maxRecords":0.0,"photoIDs":[4793338.0],"skipIndex":0,"section_code":"gallery","featured_images":4793338.0,"id":275354,"singleSection":false});				  						galleries[312952] = clik.newGallery({"parentGallery":468530,"usePopups":false,"title":"St Ives Bay","link":"gallery_312952.html","maxRecords":0.0,"photoIDs":[4160857.0,4160881.0,4160888.0,4160852.0,4169249.0],"skipIndex":0,"section_code":"gallery","featured_images":"4169249,4160888,4160881,4160857,4160852","id":312952,"singleSection":false});				  						galleries[248494] = clik.newGallery({"parentGallery":468530,"usePopups":false,"title":"Tin mines","link":"gallery_248494.html","maxRecords":0.0,"photoIDs":[4161891.0],"skipIndex":0,"section_code":"gallery","featured_images":4161891.0,"id":248494,"singleSection":false});				  						galleries[283101] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Christmas","link":"gallery_283101.html","maxRecords":0.0,"photoIDs":[4983664.0,4983669.0,4983675.0,4983681.0,4983687.0],"skipIndex":0,"section_code":"gallery","featured_images":"4983687,4983681,4983675,4983669,4983664","id":283101,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[235971] = '6050394,6050393,6050392,6050391,6050390,6050364,6050358';
imageSets[1] = '8911321,8902578,8737358,8736557,8736535,8736428,7506244,7506241,7503101,7453304,7450969,7442315,7339855,7064943,7064934,6868664,6868662,6050754,6050746,4160881,4160857,9056523,8926271,8173788,6256784,8926262,8926254,5676757,5058781,8926255,5676947,8926256,8926257,8926258,8926260,8926259,8926261,8926263,5525151,5525143,5525136,5525126,5525055,5525051,5525040,5525028,5525021,5524977,4983702,4716574,4245134,4169252,4169251,4161891,8926265,8926266,8926269,8926270,8926272,8926273,8926274,8926275,8926276,8926277,8926278,8926279,8926280';
imageSets[2] = '8902578,7339855,7064934,8173788,6256784,8926263,5524990';
imageSets[3] = '5525051,5525021';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/edwin/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/edwin/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/edwin/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/edwin/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/edwin/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/edwin/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/edwin/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/edwin/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/edwin/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/edwin/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/edwin/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/edwin/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/edwin/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/edwin/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/edwin/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/edwin/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/edwin/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/edwin/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/edwin/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/edwin/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/edwin/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/edwin/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/edwin/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/edwin/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/edwin/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/edwin/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/edwin/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 += 'section557307.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 && 'section557307' != '') {
					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 = 'Bears on Location: ' + 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></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="EDWIN">';
			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;
	}
}

			

