window.thumbnails = {};
															thumbnails[18880] = clik.newPhoto({"id":18880,"src":"Brograve Mill 1_thumb.jpg","galleries_id":2325,"server_id":18,"link":"photo_18880.html","width":130,"caption":"Brograve Mill","height":90});
															thumbnails[65024] = clik.newPhoto({"id":65024,"src":"Turf Fen Mill 1_thumb.jpg","galleries_id":2325,"server_id":18,"link":"photo_65024.html","width":130,"caption":"Turf Fen Mill at Sunset","height":181});
															thumbnails[217588] = clik.newPhoto({"id":217588,"src":"Derwent Sunrise 3_thumb.jpg","galleries_id":19736,"server_id":18,"link":"photo_217588.html","width":130,"caption":"Sunrise over Derwent Water","height":93});
															thumbnails[217591] = clik.newPhoto({"id":217591,"src":"Buttermere 1_thumb.jpg","galleries_id":19736,"server_id":18,"link":"photo_217591.html","width":130,"caption":"Buttermere","height":93});
															thumbnails[217593] = clik.newPhoto({"id":217593,"src":"Derwent Sunrise1_thumb.jpg","galleries_id":19736,"server_id":18,"link":"photo_217593.html","width":130,"caption":"Derwent Water at Sunrise","height":93});
															thumbnails[3117420] = clik.newPhoto({"id":3117420,"src":"Spitfires 1 copy_thumb.jpg","galleries_id":191245,"server_id":18,"link":"photo_3117420.html","width":130,"caption":"Spitfires","height":85});
															thumbnails[3117422] = clik.newPhoto({"id":3117422,"src":"Mustang copy_thumb.jpg","galleries_id":191245,"server_id":18,"link":"photo_3117422.html","width":130,"caption":"P51 \"Mustang\"","height":85});
															thumbnails[3117486] = clik.newPhoto({"id":3117486,"src":"Bomber and Mustangs copy_thumb.jpg","galleries_id":191245,"server_id":18,"link":"photo_3117486.html","width":130,"caption":"Deadly Trio","height":85});
															thumbnails[3117567] = clik.newPhoto({"id":3117567,"src":"Poppies4 copy_thumb.jpg","galleries_id":191250,"server_id":18,"link":"photo_3117567.html","width":130,"caption":"Poppy Field","height":85});
															thumbnails[3117580] = clik.newPhoto({"id":3117580,"src":"Funghi copy_thumb.jpg","galleries_id":191250,"server_id":18,"link":"photo_3117580.html","width":130,"caption":"Funghi","height":85});
															thumbnails[3117583] = clik.newPhoto({"id":3117583,"src":"Butterfly1 copy_thumb.jpg","galleries_id":191250,"server_id":18,"link":"photo_3117583.html","width":130,"caption":"Butterfly","height":85});
															thumbnails[3117657] = clik.newPhoto({"id":3117657,"src":"Mussel Sheds_thumb.jpg","galleries_id":50599,"server_id":18,"link":"photo_3117657.html","width":130,"caption":"Mussel Sheds at Brancaster","height":85});
															thumbnails[3117704] = clik.newPhoto({"id":3117704,"src":"Eilean Donan with Mountains 2_thumb.jpg","galleries_id":191256,"server_id":18,"link":"photo_3117704.html","width":130,"caption":"Eilean Donan Castle ","height":85});
															thumbnails[3117718] = clik.newPhoto({"id":3117718,"src":"Eilean Donan Castle BW A3+_thumb.jpg","galleries_id":191256,"server_id":18,"link":"photo_3117718.html","width":130,"caption":"Eilean Donan Castle","height":85});
															thumbnails[3117721] = clik.newPhoto({"id":3117721,"src":"River on Road to Lochcarron 2_thumb.jpg","galleries_id":191256,"server_id":18,"link":"photo_3117721.html","width":130,"caption":"Road to Lochcarron.","height":85});
															thumbnails[3117739] = clik.newPhoto({"id":3117739,"src":"Solitary Pine_thumb.jpg","galleries_id":191256,"server_id":18,"link":"photo_3117739.html","width":130,"caption":"Lone Pine","height":85});
															thumbnails[3117791] = clik.newPhoto({"id":3117791,"src":"Hunstanton Cliffs at Sunset 2 copy_thumb.jpg","galleries_id":50599,"server_id":18,"link":"photo_3117791.html","width":130,"caption":"Hunstanton beach and cliffs ","height":85});
															thumbnails[3117816] = clik.newPhoto({"id":3117816,"src":"Sunset 6 copy_thumb.jpg","galleries_id":50599,"server_id":18,"link":"photo_3117816.html","width":130,"caption":"Groynes at Sunset","height":85});
															thumbnails[3117847] = clik.newPhoto({"id":3117847,"src":"Hunstanton Sunset 3 copy_thumb.jpg","galleries_id":50599,"server_id":18,"link":"photo_3117847.html","width":130,"caption":"Stormy Sunset (Black and White)","height":85});
															thumbnails[3117928] = clik.newPhoto({"id":3117928,"src":"Jetty 6_2_thumb.jpg","galleries_id":50599,"server_id":18,"link":"photo_3117928.html","width":130,"caption":"Jetty at Sunset","height":85});
															thumbnails[6584546] = clik.newPhoto({"id":6584546,"src":"Notre_Dame_BW_1_copy_thumb.jpg","galleries_id":361080,"server_id":18,"link":"photo_6584546.html","width":130,"caption":"Notre Dame from the Left Bank","height":85});
															thumbnails[6584628] = clik.newPhoto({"id":6584628,"src":"Left_Bank_and_Notre_Dame_copy_thumb.jpg","galleries_id":361080,"server_id":18,"link":"photo_6584628.html","width":130,"caption":"Left Bank Stalls and Notre Dame","height":85});
															thumbnails[6584632] = clik.newPhoto({"id":6584632,"src":"Metro_Sign_copy1_thumb.jpg","galleries_id":361080,"server_id":18,"link":"photo_6584632.html","width":130,"caption":"Metro","height":199});
															thumbnails[6584642] = clik.newPhoto({"id":6584642,"src":"Louvre_Old_and_New_copy_thumb.jpg","galleries_id":361080,"server_id":18,"link":"photo_6584642.html","width":130,"caption":"The Louvre- Old and New","height":85});
															thumbnails[6584644] = clik.newPhoto({"id":6584644,"src":"Scooter_under_the_Lilacs_copy_thumb.jpg","galleries_id":361080,"server_id":18,"link":"photo_6584644.html","width":130,"caption":"Scooter under the Lilacs","height":199});
															thumbnails[6584685] = clik.newPhoto({"id":6584685,"src":"Place_de_La_Concorde_BW_copy_thumb.jpg","galleries_id":361080,"server_id":18,"link":"photo_6584685.html","width":130,"caption":"Place de La Concorde","height":199});
															thumbnails[7875170] = clik.newPhoto({"id":7875170,"src":"Harlow_Mill_and_Houseboat_1__thumb.jpg","galleries_id":425086,"server_id":18,"link":"photo_7875170.html","width":130,"caption":"Harlow Mill","height":89});
															thumbnails[7875192] = clik.newPhoto({"id":7875192,"src":"Avocet_thumb.jpg","galleries_id":191250,"server_id":18,"link":"photo_7875192.html","width":130,"caption":"Avocet","height":89});
															thumbnails[7875321] = clik.newPhoto({"id":7875321,"src":"Red_Shank_thumb.jpg","galleries_id":191250,"server_id":18,"link":"photo_7875321.html","width":130,"caption":"Red Shank","height":89});
															thumbnails[7875426] = clik.newPhoto({"id":7875426,"src":"Bristol_Fighter_3_thumb.jpg","galleries_id":191245,"server_id":18,"link":"photo_7875426.html","width":130,"caption":"Bristol Fighter","height":89});
															thumbnails[7875546] = clik.newPhoto({"id":7875546,"src":"DeHavilland_Moth_1_thumb.jpg","galleries_id":191245,"server_id":18,"link":"photo_7875546.html","width":130,"caption":"DeHavilland Moth","height":89});
															thumbnails[7875643] = clik.newPhoto({"id":7875643,"src":"Gloucester_Gladiator_2_thumb.jpg","galleries_id":191245,"server_id":18,"link":"photo_7875643.html","width":130,"caption":"Gloucester Gladiator","height":89});
															thumbnails[7875666] = clik.newPhoto({"id":7875666,"src":"Hawker_Tomtit_thumb.jpg","galleries_id":191245,"server_id":18,"link":"photo_7875666.html","width":130,"caption":"Hawker Tomtit","height":89});
															thumbnails[7875668] = clik.newPhoto({"id":7875668,"src":"Magester_1_thumb.jpg","galleries_id":191245,"server_id":18,"link":"photo_7875668.html","width":130,"caption":"Miles Magister","height":89});
															thumbnails[7875672] = clik.newPhoto({"id":7875672,"src":"SE5A_on_Take_Off_thumb.jpg","galleries_id":191245,"server_id":18,"link":"photo_7875672.html","width":130,"caption":"SE 5A on Take Off","height":89});
															thumbnails[7875957] = clik.newPhoto({"id":7875957,"src":"Ready_for_Lunch_thumb.jpg","galleries_id":282787,"server_id":18,"link":"photo_7875957.html","width":130,"caption":"Ready for Lunch","height":89});
															thumbnails[7875959] = clik.newPhoto({"id":7875959,"src":"XXX_Waterside_1_thumb.jpg","galleries_id":282787,"server_id":18,"link":"photo_7875959.html","width":130,"caption":"Waterside Homes","height":89});
															thumbnails[7876288] = clik.newPhoto({"id":7876288,"src":"Veranda_thumb.jpg","galleries_id":425097,"server_id":18,"link":"photo_7876288.html","width":130,"caption":"Lyssos","height":191});
															thumbnails[7876298] = clik.newPhoto({"id":7876298,"src":"Bus_2_thumb.jpg","galleries_id":425097,"server_id":18,"link":"photo_7876298.html","width":130,"caption":"Derelict Bus","height":82});
															thumbnails[7876308] = clik.newPhoto({"id":7876308,"src":"Harbour_2_thumb.jpg","galleries_id":425097,"server_id":18,"link":"photo_7876308.html","width":130,"caption":"Agios Georgios Harbour","height":111});
															thumbnails[7876314] = clik.newPhoto({"id":7876314,"src":"Jetty_thumb.jpg","galleries_id":425097,"server_id":18,"link":"photo_7876314.html","width":130,"caption":"Jetty Paphos Beach","height":109});
															thumbnails[7876324] = clik.newPhoto({"id":7876324,"src":"Peeling_Paint_thumb.jpg","galleries_id":425097,"server_id":18,"link":"photo_7876324.html","width":130,"caption":"Peeling Door","height":199});
															thumbnails[7876333] = clik.newPhoto({"id":7876333,"src":"Rocks_of_Aphrodite_thumb.jpg","galleries_id":425097,"server_id":18,"link":"photo_7876333.html","width":130,"caption":"The Rocks of Aphrodite","height":191});
															thumbnails[7876340] = clik.newPhoto({"id":7876340,"src":"Seaspray_thumb.jpg","galleries_id":425097,"server_id":18,"link":"photo_7876340.html","width":130,"caption":"Sea Spray","height":79});
															thumbnails[8783296] = clik.newPhoto({"id":8783296,"src":"Harbour_7_thumb.jpg","galleries_id":303350,"server_id":18,"link":"photo_8783296.html","width":130,"caption":"Southwold Harbour at Sunset","height":89});
															thumbnails[8783299] = clik.newPhoto({"id":8783299,"src":"Flowers_and_Mill_thumb.jpg","galleries_id":303350,"server_id":18,"link":"photo_8783299.html","width":130,"caption":"Windmill","height":89});
															thumbnails[8783309] = clik.newPhoto({"id":8783309,"src":"Mill_3_BW_thumb.jpg","galleries_id":303350,"server_id":18,"link":"photo_8783309.html","width":130,"caption":"Herringfleet Mill","height":89});
															thumbnails[8783310] = clik.newPhoto({"id":8783310,"src":"Mill_Reflections_1_thumb.jpg","galleries_id":303350,"server_id":18,"link":"photo_8783310.html","width":130,"caption":"Herringfleet Mill","height":89});
															thumbnails[8783376] = clik.newPhoto({"id":8783376,"src":"Start_Point_4_thumb.jpg","galleries_id":462577,"server_id":18,"link":"photo_8783376.html","width":130,"caption":"Light House at Start Point","height":89});
															thumbnails[8783379] = clik.newPhoto({"id":8783379,"src":"Above_Dartmouth_7_thumb.jpg","galleries_id":462577,"server_id":18,"link":"photo_8783379.html","width":130,"caption":"View across the Dart Estuary","height":89});
															thumbnails[8783386] = clik.newPhoto({"id":8783386,"src":"Inner_Harbour_1_thumb.jpg","galleries_id":462577,"server_id":18,"link":"photo_8783386.html","width":130,"caption":"Inner Harbour Dartmouth","height":89});
															thumbnails[8783423] = clik.newPhoto({"id":8783423,"src":"Totnes_3_thumb.jpg","galleries_id":462577,"server_id":18,"link":"photo_8783423.html","width":130,"caption":"River at Totnes","height":89});
															thumbnails[7876266] = clik.newPhoto({"id":7876266,"src":"Sunrise_2a_thumb.jpg","galleries_id":50599,"server_id":18,"link":"photo_7876266.html","width":130,"caption":"Mussel Poles Dawn","height":89});
															thumbnails[5378678] = clik.newPhoto({"id":5378678,"src":"Snettisham_Jetty_2_copy1_thumb.jpg","galleries_id":50599,"server_id":18,"link":"photo_5378678.html","width":130,"caption":"Jetty at Snettisham","height":85});
															thumbnails[1524857] = clik.newPhoto({"id":1524857,"src":"Boat at Thornham 3 copy1007_thumb.jpg","galleries_id":50599,"server_id":18,"link":"photo_1524857.html","width":130,"caption":"Last Resting Place","height":85});
															thumbnails[5378644] = clik.newPhoto({"id":5378644,"src":"Pier_at_Dawn_1_copy_thumb.jpg","galleries_id":303350,"server_id":18,"link":"photo_5378644.html","width":130,"caption":"Southwold Pier at Dawn","height":85});
															thumbnails[8783288] = clik.newPhoto({"id":8783288,"src":"Boat_Part_BW_thumb.jpg","galleries_id":303350,"server_id":18,"link":"photo_8783288.html","width":130,"caption":"Boat Detail Southwold Harbour","height":191});
															thumbnails[8783381] = clik.newPhoto({"id":8783381,"src":"Above_Dartmouth_8_thumb.jpg","galleries_id":462577,"server_id":18,"link":"photo_8783381.html","width":130,"caption":"Dart Estuary","height":191});
															thumbnails[8783322] = clik.newPhoto({"id":8783322,"src":"Rope_BW_thumb.jpg","galleries_id":303350,"server_id":18,"link":"photo_8783322.html","width":130,"caption":"Rope Detail Southwold Harbour","height":191});
															thumbnails[8783383] = clik.newPhoto({"id":8783383,"src":"Boats_thumb.jpg","galleries_id":462577,"server_id":18,"link":"photo_8783383.html","width":130,"caption":"Boat Detail Dartmouth Harbour","height":191});
															thumbnails[18882] = clik.newPhoto({"id":18882,"src":"Brograve Mill 3_thumb.jpg","galleries_id":2325,"server_id":18,"link":"photo_18882.html","width":130,"caption":"Brograve Mill","height":182});
															thumbnails[4977518] = clik.newPhoto({"id":4977518,"src":"Golden_Gate_Bridge_and_Bay_1__copy_thumb.jpg","galleries_id":282797,"server_id":18,"link":"photo_4977518.html","width":130,"caption":"Golden Gate Bridge","height":85});
															thumbnails[4977526] = clik.newPhoto({"id":4977526,"src":"Bay_and_Alcatraz_copy_thumb.jpg","galleries_id":282797,"server_id":18,"link":"photo_4977526.html","width":130,"caption":"San Francisco Bay and Alcatraz","height":85});
															thumbnails[4977535] = clik.newPhoto({"id":4977535,"src":"Big_Sur_2_copy_thumb.jpg","galleries_id":282797,"server_id":18,"link":"photo_4977535.html","width":130,"caption":"Above the Fog - Big Sur","height":85});
															thumbnails[4977555] = clik.newPhoto({"id":4977555,"src":"Golden_Gate_Bridge_1_copy_thumb.jpg","galleries_id":282797,"server_id":18,"link":"photo_4977555.html","width":130,"caption":"Golden Gate Bridge at Sundown","height":85});
															thumbnails[4977571] = clik.newPhoto({"id":4977571,"src":"Painted_Ladies_at_Twilight_2_copy_thumb.jpg","galleries_id":282797,"server_id":18,"link":"photo_4977571.html","width":130,"caption":"Painted Ladies - San Francisco","height":85});
															thumbnails[4977642] = clik.newPhoto({"id":4977642,"src":"Pier_Reflections_copy_thumb.jpg","galleries_id":282797,"server_id":18,"link":"photo_4977642.html","width":130,"caption":"Pier Reflections","height":85});
															thumbnails[4977646] = clik.newPhoto({"id":4977646,"src":"Umbrella_copy_thumb.jpg","galleries_id":282797,"server_id":18,"link":"photo_4977646.html","width":130,"caption":"Umbrella - Pizmo Beach","height":85});
															thumbnails[4977649] = clik.newPhoto({"id":4977649,"src":"Wind_Blown_Tree_copy_thumb.jpg","galleries_id":282797,"server_id":18,"link":"photo_4977649.html","width":130,"caption":"Wind Blown Tree - Lopez Lakes","height":85});
															thumbnails[4977564] = clik.newPhoto({"id":4977564,"src":"Lone_Pine_1_copy_thumb.jpg","galleries_id":282797,"server_id":18,"link":"photo_4977564.html","width":130,"caption":"Lone Pine - Monterey","height":199});
															thumbnails[18886] = clik.newPhoto({"id":18886,"src":"Horsey Mill_thumb.jpg","galleries_id":2325,"server_id":18,"link":"photo_18886.html","width":130,"caption":"Horsey Mill","height":182});
															thumbnails[1524867] = clik.newPhoto({"id":1524867,"src":"Trees at Val D'orcia_thumb.jpg","galleries_id":104648,"server_id":18,"link":"photo_1524867.html","width":130,"caption":"Cyprus Trees at Val D'Orcia","height":85});
															thumbnails[1524868] = clik.newPhoto({"id":1524868,"src":"Il Cupressini 2_thumb.jpg","galleries_id":104648,"server_id":18,"link":"photo_1524868.html","width":130,"caption":"Il Cupressini","height":85});
															thumbnails[1524869] = clik.newPhoto({"id":1524869,"src":"Il Cupressini Pan_thumb.jpg","galleries_id":104648,"server_id":18,"link":"photo_1524869.html","width":130,"caption":"Il Cupressini (Panorama)","height":34});
															thumbnails[7876204] = clik.newPhoto({"id":7876204,"src":"Mill_3_thumb.jpg","galleries_id":50599,"server_id":18,"link":"photo_7876204.html","width":130,"caption":"Mill at Cley next the Sea","height":191});
															thumbnails[4976508] = clik.newPhoto({"id":4976508,"src":"Beach_Huts_Reflections_2_copy_thumb.jpg","galleries_id":50599,"server_id":18,"link":"photo_4976508.html","width":130,"caption":"Beach huts at Wells Next the Sea","height":199});
															thumbnails[7876212] = clik.newPhoto({"id":7876212,"src":"Mill_and_Gate_1_thumb.jpg","galleries_id":50599,"server_id":18,"link":"photo_7876212.html","width":130,"caption":"Mill at Bircham","height":191});
															thumbnails[665808] = clik.newPhoto({"id":665808,"src":"Beach-Ripples_thumb.gif","galleries_id":50599,"server_id":18,"link":"photo_665808.html","width":130,"caption":"Hunstanton Beach","height":199});
															thumbnails[665811] = clik.newPhoto({"id":665811,"src":"Hunstanton-Lighthouse3_thumb.gif","galleries_id":50599,"server_id":18,"link":"photo_665811.html","width":130,"caption":"Light House at Hunstanton","height":199});
															thumbnails[4976608] = clik.newPhoto({"id":4976608,"src":"Boulders_at_Embleton_Beach_copy_thumb.jpg","galleries_id":282775,"server_id":18,"link":"photo_4976608.html","width":130,"caption":"Pebbles on Embleton Beach","height":85});
															thumbnails[4976612] = clik.newPhoto({"id":4976612,"src":"Embleton_Beach_1_copy_thumb.jpg","galleries_id":282775,"server_id":18,"link":"photo_4976612.html","width":130,"caption":"Embleton Beach at Dawn","height":85});
															thumbnails[4976635] = clik.newPhoto({"id":4976635,"src":"Dunstanburgh_Castle_2__copy_thumb.jpg","galleries_id":282775,"server_id":18,"link":"photo_4976635.html","width":130,"caption":"Dunstanburgh Castle at Dawn","height":85});
															thumbnails[4976639] = clik.newPhoto({"id":4976639,"src":"Fishermans_Sheds_1_copy_thumb.jpg","galleries_id":282775,"server_id":18,"link":"photo_4976639.html","width":130,"caption":"Fishermans Huts - Lindisfarne","height":85});
															thumbnails[4976685] = clik.newPhoto({"id":4976685,"src":"Lindisfarne_Castle_2_copy_thumb.jpg","galleries_id":282775,"server_id":18,"link":"photo_4976685.html","width":130,"caption":"Castle - Lindisfarne","height":85});
															thumbnails[4976687] = clik.newPhoto({"id":4976687,"src":"Sunrise_over_Bamburgh_Castle_copy_thumb.jpg","galleries_id":282775,"server_id":18,"link":"photo_4976687.html","width":130,"caption":"Bamburgh Castle at Dawn","height":85});
															thumbnails[4976584] = clik.newPhoto({"id":4976584,"src":"Alnmouth_Ketch_copy_thumb.jpg","galleries_id":282775,"server_id":18,"link":"photo_4976584.html","width":130,"caption":"Ketch - Alnmouth Harbour","height":199});
															thumbnails[4976603] = clik.newPhoto({"id":4976603,"src":"Bamburgh_Sunset_copy_thumb.jpg","galleries_id":282775,"server_id":18,"link":"photo_4976603.html","width":130,"caption":"Bamburgh Castle at Sunset","height":199});
															thumbnails[4976891] = clik.newPhoto({"id":4976891,"src":"Old_Cart_copy_thumb.jpg","galleries_id":282787,"server_id":18,"link":"photo_4976891.html","width":130,"caption":"Chateau Du Berne","height":85});
															thumbnails[4976893] = clik.newPhoto({"id":4976893,"src":"Bike_and_Barrow_BW_copy_thumb.jpg","galleries_id":282787,"server_id":18,"link":"photo_4976893.html","width":130,"caption":"Old Bike - Lorgues","height":85});
															thumbnails[5378654] = clik.newPhoto({"id":5378654,"src":"Light_House_and_Canon_copy_thumb.jpg","galleries_id":303350,"server_id":18,"link":"photo_5378654.html","width":130,"caption":"Southwold Lighthouse","height":198});
															thumbnails[5379630] = clik.newPhoto({"id":5379630,"src":"Beach_Huts_2_copy_thumb.jpg","galleries_id":303350,"server_id":18,"link":"photo_5379630.html","width":130,"caption":"Beach Huts","height":85});
															thumbnails[4976930] = clik.newPhoto({"id":4976930,"src":"Spices_copy_thumb.jpg","galleries_id":282787,"server_id":18,"link":"photo_4976930.html","width":130,"caption":"Spices for Sale - Lorgues Market","height":85});
															thumbnails[7875952] = clik.newPhoto({"id":7875952,"src":"Man_in_Street_Antique_thumb.jpg","galleries_id":282787,"server_id":18,"link":"photo_7875952.html","width":130,"caption":"Lorgue street (Antique Style)","height":191});
															thumbnails[7876047] = clik.newPhoto({"id":7876047,"src":"Wild_Flower_Meadow_2_thumb.jpg","galleries_id":282787,"server_id":18,"link":"photo_7876047.html","width":130,"caption":"Wild Flower Meadow","height":191});
															thumbnails[5378584] = clik.newPhoto({"id":5378584,"src":"Hurricanes_copy_thumb.jpg","galleries_id":191245,"server_id":18,"link":"photo_5378584.html","width":130,"caption":"Hurricanes","height":85});
															thumbnails[5378592] = clik.newPhoto({"id":5378592,"src":"Messerschmidt_109_copy_thumb.jpg","galleries_id":191245,"server_id":18,"link":"photo_5378592.html","width":130,"caption":"Messerschmitt 109 ( Spanish Built Model)","height":85});
															thumbnails[5378599] = clik.newPhoto({"id":5378599,"src":"B17_Flying_Fortress_Bomber_3_copy_thumb.jpg","galleries_id":191245,"server_id":18,"link":"photo_5378599.html","width":130,"caption":"B17 Flying Fortress","height":85});
															thumbnails[5378531] = clik.newPhoto({"id":5378531,"src":"Starfish_copy_thumb.jpg","galleries_id":191250,"server_id":18,"link":"photo_5378531.html","width":130,"caption":"Starfish","height":130});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[425086] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"My Home Town - Harlow","link":"gallery_425086.html","maxRecords":0.0,"photoIDs":[7875170.0],"skipIndex":0,"section_code":"gallery","featured_images":7875170.0,"id":425086,"singleSection":false});				  						galleries[50599] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"North Norfolk","link":"gallery_50599.html","maxRecords":0.0,"photoIDs":[3117657.0,3117791.0,3117816.0,3117847.0,3117928.0,7876266.0,5378678.0,1524857.0,7876204.0,4976508.0,7876212.0,665808.0,665811.0],"skipIndex":0,"section_code":"gallery","featured_images":"7876266,3117928,3117791,3117657","id":50599,"singleSection":false});				  						galleries[191250] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"The Nature of Norfolk","link":"gallery_191250.html","maxRecords":0.0,"photoIDs":[3117567.0,3117580.0,3117583.0,7875192.0,7875321.0,5378531.0],"skipIndex":0,"section_code":"gallery","featured_images":3117567.0,"id":191250,"singleSection":false});				  						galleries[2325] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Norfolk Broads ","link":"gallery_2325.html","maxRecords":0.0,"photoIDs":[18880.0,65024.0,18882.0,18886.0],"skipIndex":0,"section_code":"gallery","featured_images":18880.0,"id":2325,"singleSection":false});				  						galleries[303350] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Suffolk","link":"gallery_303350.html","maxRecords":0.0,"photoIDs":[8783296.0,8783299.0,8783309.0,8783310.0,5378644.0,8783288.0,8783322.0,5378654.0,5379630.0],"skipIndex":0,"section_code":"gallery","featured_images":"8783296,5378644","id":303350,"singleSection":false});				  						galleries[19736] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Lake District","link":"gallery_19736.html","maxRecords":0.0,"photoIDs":[217588.0,217591.0,217593.0],"skipIndex":0,"section_code":"gallery","featured_images":217588.0,"id":19736,"singleSection":false});				  						galleries[462577] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"South Devon","link":"gallery_462577.html","maxRecords":0.0,"photoIDs":[8783376.0,8783379.0,8783386.0,8783423.0,8783381.0,8783383.0],"skipIndex":0,"section_code":"gallery","featured_images":8783376.0,"id":462577,"singleSection":false});				  						galleries[282775] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Northumberland Coast and Castles","link":"gallery_282775.html","maxRecords":0.0,"photoIDs":[4976608.0,4976612.0,4976635.0,4976639.0,4976685.0,4976687.0,4976584.0,4976603.0],"skipIndex":0,"section_code":"gallery","featured_images":4976639.0,"id":282775,"singleSection":false});				  						galleries[191256] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"West Highlands","link":"gallery_191256.html","maxRecords":0.0,"photoIDs":[3117704.0,3117718.0,3117721.0,3117739.0],"skipIndex":0,"section_code":"gallery","featured_images":3117704.0,"id":191256,"singleSection":false});				  						galleries[191245] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Airshows","link":"gallery_191245.html","maxRecords":0.0,"photoIDs":[3117420.0,3117422.0,3117486.0,7875426.0,7875546.0,7875643.0,7875666.0,7875668.0,7875672.0,5378584.0,5378592.0,5378599.0],"skipIndex":0,"section_code":"gallery","featured_images":"7875546,3117486","id":191245,"singleSection":false});				  						galleries[104648] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Tuscany","link":"gallery_104648.html","maxRecords":0.0,"photoIDs":[1524867.0,1524868.0,1524869.0],"skipIndex":0,"section_code":"gallery","featured_images":1524867.0,"id":104648,"singleSection":false});				  						galleries[361080] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Paris in Spring","link":"gallery_361080.html","maxRecords":0.0,"photoIDs":[6584546.0,6584628.0,6584632.0,6584642.0,6584644.0,6584685.0],"skipIndex":0,"section_code":"gallery","featured_images":6584546.0,"id":361080,"singleSection":false});				  						galleries[282797] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"California","link":"gallery_282797.html","maxRecords":0.0,"photoIDs":[4977518.0,4977526.0,4977535.0,4977555.0,4977571.0,4977642.0,4977646.0,4977649.0,4977564.0],"skipIndex":0,"section_code":"gallery","featured_images":4977518.0,"id":282797,"singleSection":false});				  						galleries[425097] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Cyprus","link":"gallery_425097.html","maxRecords":0.0,"photoIDs":[7876288.0,7876298.0,7876308.0,7876314.0,7876324.0,7876333.0,7876340.0],"skipIndex":0,"section_code":"gallery","featured_images":"7876340,7876314,7876308","id":425097,"singleSection":false});				  						galleries[282787] = clik.newGallery({"parentGallery":"","usePopups":false,"title":" Provence","link":"gallery_282787.html","maxRecords":0.0,"photoIDs":[7875957.0,7875959.0,4976891.0,4976893.0,4976930.0,7875952.0,7876047.0],"skipIndex":0,"section_code":"gallery","featured_images":"7876047,4976891","id":282787,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '8783296,7876266,8783288,8783383,4976639';
imageSets[2] = '8783376,8783296,7876340,7876314,7876308,7875546,7875170,6584546,3117928,3117791,3117704,3117657,3117567,3117486,217588,18880,7876266,5378644,4977518,1524867,4976639,4976891,7876047';
imageSets[3] = '8783423,8783386,8783383,8783381,8783379,8783376,8783322,8783310,8783309,8783299,8783296,8783288,7876340,7876333,7876324,7876314,7876308,7876298,7876288,7876266,7876212,7876204,7876047,7875959,7875957,7875952,7875672,7875668,7875666,7875643,7875546,7875426,7875321,7875192,7875170,6584685,6584644,6584642,6584632,6584628,6584546,5379630,5378678,5378654,5378644,5378599,5378592,5378584,5378531,4977649';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'www12.clikpic.com/hopping/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/hopping/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/hopping/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/hopping/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/hopping/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/hopping/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/hopping/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/hopping/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/hopping/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/hopping/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/hopping/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/hopping/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/hopping/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/hopping/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/hopping/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/hopping/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/hopping/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/hopping/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/hopping/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/hopping/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/hopping/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/hopping/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/hopping/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/hopping/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/hopping/images';
		break;
	}
		return val;
}

/***************************************************************************
* img = reference to image object in which to show image                   *
***************************************************************************/
function showHomeImage(img) {
	imageID = randomListVal('');
	if (!basic) {
		img.src = photos[imageID].src;
		img.width = photos[imageID].width;
		img.height = photos[imageID].height;
		img.parentNode.title = img.alt = photos[imageID].caption;
	} else {
		newImage = new Image(photos[imageID].width,photos[imageID].height);
		newImage.src = photos[imageID].src;
		document.images[img.name] = newImage;
		
	}
}

function getHomeImageLink(imageID) {
  	var href='', photo = backgrounds && backgrounds[imageID];
	if(photo){
		if (photo && photo.galleries_id != '') {
  			href = photo.fnGalleryLink();
  		}
  		  		else {
  				href += 'gallery.html';
  	  		}
	}
    return href;
}

/***************************************************************************
* Show a random image on home page from featured images                    *
***************************************************************************/
function showHomeImageInline(el, image_sets_id, href) {
	
	var css = {}, imageID,
	    imageSetsId = 1;
	if(image_sets_id){
		imageSetsId = image_sets_id;
	}
	imageID = randomListVal(imageSets[imageSetsId]);
	if (href == null && 'gallery' != '') {
					href = getHomeImageLink(imageID);
	}
	
	updateImage({nextPhoto: backgrounds[imageID], img:el.find('img')[0],
                $photo:el, $title:$('#homeimageTitleContainer'), $detail:$('#homeimageDetailsContainer'),                speed:0, href:href, css:css, onAfter: function(){                  this.closest('.contentsection').doManualAlign({				    inner: 'img',				    crop: 'a'				  });                }              });
}

/***************************************************************************
* Set 'img' to be a new image given its photo() object                     *
***************************************************************************/
function updateImage (options) {
	var defaults = {nextPhoto:'',field:'',img:'',$photo:'',$title:'',$detail:'',$detailContainer:'',
                    updateDocumentTitle:false,speed:0,href:false,css:false,updateHash:false,onAfter:null,onBefore:null},
		op = $.extend({},defaults,options),
		html = '', temp = '',
		photoId = op.nextPhoto.id,
		photoCaption = ''+op.nextPhoto.caption,
		photoSrc = op.nextPhoto.src;
	
	if (op.updateHash && clik.getIDInUrl(location.href,'photo') != op.nextPhoto.id) {
		clik.changeHash('photos_id=' + op.nextPhoto.id, true);
	}
		
	    if (op.$title.length > 0) {
  		op.$title.fadeGalleryDetails(photoCaption, op.speed);
    }
        if (op.updateDocumentTitle) {
						  document.title = 'Glyn Hopping Landscapes: ' + photoCaption;
			    }
        if (op.$detail.length > 0) {
      	temp = op.nextPhoto.fnGetImageDetails();
	    op.$detail.fadeGalleryDetails(temp, op.speed, function(){
			if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
				toggleAddToCartConfirm(backgrounds, op.$detail);
			} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
				toggleAddToCartConfirm(photos, op.$detail);
			}
			$('body').trigger('clikUpdate.popup');
	    });
    }
        $(op.$detailContainer).find('.replaceable[class*=replaceable_photo-]').each(function(){
    	var field = clik.getPrefixedClass(this.className, 'replaceable_photo-');
    	if (field in op.nextPhoto) {
    		$(this).fadeGalleryDetails(op.nextPhoto[field], op.speed);
    	}
    }).end().find('.replaceable.photoPayment').fadeGalleryDetails(op.nextPhoto.fnGetPaymentInfo(), op.speed, function(){
		if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
			toggleAddToCartConfirm(backgrounds, op.$detailContainer);
		} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
			toggleAddToCartConfirm(photos, op.$detailContainer);
		}
		$('body').trigger('clikUpdate.popup');
	});
		if (op.$photo.length > 0) {
		html = $('<img/>',{
			'class': 'mainphoto photo',
			src: photoSrc,
			id: 'mainPic',
			name: 'mainPic',
			width: op.nextPhoto.width,
			height: op.nextPhoto.height,
			alt: photoCaption,
			css: op.css || {}
		});
		if (op.href) {
			if (op.href.match(/<a/)) {
				html = $(op.href).append(html);
			} else {
				html = $('<a/>', {
					href: op.href,
					title: photoCaption
				}).append(html);
			}
		} else {
			html = $('<a/>', {
				title: photoCaption
			}).append(html);
		}
		if (op.speed == 0) {			op.$photo.html(html);			if (op.onBefore) {			  	op.onBefore.apply(op.$photo);			}			if (op.onAfter) {			  	op.onAfter.apply(op.$photo);			}		} else {			op.$photo.stop(true,true).fadeReplaceWith(html,op.speed,'',function(){  				if (op.onAfter) {				  	op.onAfter.apply(this);				}				clik.doColumnResize(false, $(this).add(op.$detail).add(op.$title));			}, op.onBefore);
		}	}
    if (op.field) {
		op.field.value = photoId;
	} else {
		op.$photo.data('image_id', photoId);
    }
        if (!op.speed) {
      	clik.doColumnResize(false, op.$photo.add(op.$detail).add(op.$title));
    }
        
    return html;
	}

/***************************************************************************
* Toggle add to cart confirmation element and set up the click event for   *
* the 'Add to cart' button.                                                *
***************************************************************************/
function toggleAddToCartConfirm(array, root){
	if (typeof(array) !== 'object' || array === null) {
	  	array = photos;
	}
	if (!$(root).length) {		root = $('body');	}	if($('#paymentConfirm', root).length > 0){
		$('#paymentConfirm', root).hide();
		$('#paymentAddButton', root)
		.unbind()
		.click(function(){
						form = $('#paymentForm', root)[0];
			option_id = 0;
			if(form.item_option.value){
				option_id = form.item_option.value;
			}
			if(addItemToBasket(form.item_number.value,array,form.site.value,parseInt(form.quantity.value, 10),option_id)){
				if($.browser.msie){$('#paymentConfirm', root).text('Item added to cart').show();}
				else{
					$('#paymentConfirm', root).text('Item added to cart').fadeIn();
					dspOrderDetails(form.site.value);
				}
			}
			else{
				$('#paymentConfirm', root).text('Item not added - check cookies are enabled in your browser.').fadeIn();
			}
		});
	}
}

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetImageDetails = function(){
	var temp = '';
	if (this.description != '') {
		temp +=  '<div id="imageDescription">' + this.description + '</div>';
	}
		if (this.photo_ref != '') {
		temp += '<div class="imageinfo" id="imageRef"><strong>Ref: </strong>' + this.photo_ref + '</div>';
	}
		if (this.takendate != '') {
		
		temp += '<div class="imageinfo" id="imageDate"><strong>Date: </strong>' + this.takendate + '</div>';
	}
	
	if (this.location != '') {
		
		temp += '<div class="imageinfo" id="imageLocation"><strong>Location: </strong>' +  this.location + '</div>';
	}
	
	if (this.photographer != '') {
		
		temp += '<div class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>' + this.photographer + '</div>';
	}
				
				if (temp != '') {
		temp += '<div class="spacer"></div>';
	}
	return temp;
};

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetPaymentInfo = function(){
	var temp = '';
	if (this.item_price !== '') {
				temp += '<p>Order this print:</p>';
				temp += '<div class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> ' + (this.item_price).toFixed(2) + '</div>';
		var item_name  = this.purchase_instruction;
		var amount = (this.item_price).toFixed(2);
		var item_option  = 0;
	}
		else {
		
	}
	if (this.item_price !== '' || this.payment_groups_id !== '') {
			temp += '<div class="clearing">&nbsp;</div>';
	}
	return temp;};

/***************************************************************************
* Pick a photo at random from the featured images of a gallery.            *
* Gallery_id = id of gallery to choose,                                    *
* img = reference to html image in                                         *
* which to show image                                                      *
***************************************************************************/
function showGalleryImage(gallery_id, img, updateLink) {
	
	if(img){
		if (location.hash.match('galleries_id=' + gallery_id) && (imageID = location.hash.match('.*photos_id=(.+)$'))) {
		  	imageID = imageID[1];
		} else {
		  	imageID = randomListVal(galleries[gallery_id].featured_images);
		}
		
		if (imageID != 0) {
			img.src = thumbnails[imageID].src;
			img.width = thumbnails[imageID].width;
			img.height = thumbnails[imageID].height;
			img.alt = galleries[gallery_id].title;
			if (updateLink) {
				$(img).parent().attr({					title: galleries[gallery_id].title				}).filter(function(){return this.href;}).attr({					href: thumbnails[imageID].fnGalleryLink(gallery_id)				});
			}
		}
	}
}

/***************************************************************************
* If we have dynamic HTML, replace the galleries link with a list that     *
* doesn't include thecurrent gallery                                       *
***************************************************************************/
function showGalleries(gallery_id) {
		
	
	if (!basic) {
		temp = '';
		for (i = 0; i < galleries.length; i++) {
						
			
			if (galleries[i].id != gallery_id) {
								
				if (temp != '') {
					temp += ' | ';
				}
								temp += '<a href="' + galleries[i].section_code + '_' + galleries[i].id + '.html">' + galleries[i].title + '</a>';
							}
		}
		document.all.galleryLinks.innerHTML = 'Other galleries: ' + temp;
	}
}

			

