window.thumbnails = new Object();
												thumbnails[5328883] = new thumbnail(5328883,'','Santorini','IMG_4341_filtered_FFE2B152-1D09-001F-995240B158A35B80_thumb.jpg',130, 174,1,'#');
												thumbnails[5329321] = new thumbnail(5329321,'','Stunning beach Kefalonia','IMG_10135_00249E46-1D09-001F-99DB42744751D426_thumb.jpg',130, 87,1,'#');
												thumbnails[5329329] = new thumbnail(5329329,'','Myrtos beach, Kefalonia','IMG_10281_0025560D-1D09-001F-997DE614A7449AFD_thumb.jpg',130, 87,1,'#');
												thumbnails[5329332] = new thumbnail(5329332,'','Assos, Kefalonia','IMG_10346_0025B709-1D09-001F-997027F8393C7572_thumb.jpg',130, 87,1,'#');
												thumbnails[5329392] = new thumbnail(5329392,'','Goan beach','IMG_12500_002DD009-1D09-001F-99CC39CDF9B57DEE_thumb.jpg',130, 87,1,'#');
												thumbnails[5329398] = new thumbnail(5329398,'','Cola Beach Sunset, Goa','IMG_12541_002E54B9-1D09-001F-993F0DDCF7508BDE_thumb.jpg',130, 87,1,'#');
												thumbnails[5329086] = new thumbnail(5329086,'','Beach at Birling Gap','IMG_6923_0007FC22-1D09-001F-995315DA13EE088C_thumb.jpg',130, 195,1,'#');
												thumbnails[5329132] = new thumbnail(5329132,'','Blue boats, Morocco','IMG_7207_000C8360-1D09-001F-99C6975ED5340B96_thumb.jpg',130, 87,1,'#');
												thumbnails[5329207] = new thumbnail(5329207,'','Road to Mount Kenya','IMG_7814_filtered_thumb.jpg',130, 195,1,'#');
												thumbnails[5329239] = new thumbnail(5329239,'','Mombasa sunrise, Kenya','IMG_8605_001B24FB-1D09-001F-9950023AC65859A7_thumb.jpg',130, 195,1,'#');
												thumbnails[5329197] = new thumbnail(5329197,'','Masai Mara Tree, Kenya','IMG_8124_00161FD3-1D09-001F-9973FD758A9C7DBF_thumb.jpg',130, 87,1,'#');
												thumbnails[5329165] = new thumbnail(5329165,'','Mother & Child, Kenya','IMG_7659_001258E8-1D09-001F-9919A8CBF889455F_thumb.jpg',130, 94,1,'#');
												thumbnails[5329169] = new thumbnail(5329169,'','Chief, Kenya','IMG_7654_0012D0B8-1D09-001F-99BBF92519E5B8EB_thumb.jpg',130, 195,1,'#');
												thumbnails[5329293] = new thumbnail(5329293,'','Giraffe','IMG_8410_thumb.jpg',130, 127,1,'#');
												thumbnails[5329179] = new thumbnail(5329179,'','Silhouetted Leopard, Kenya','IMG_7540_filtered_0013E871-1D09-001F-999CB51697F81560_thumb.jpg',130, 87,1,'#');
												thumbnails[225347] = new thumbnail(225347,'','Lalaria, Skiathos','100_0567_thumb.jpg',130, 98,1,'#');
												thumbnails[225333] = new thumbnail(225333,'','Skiathos sunset','100_0510_thumb.jpg',130, 71,1,'#');
												thumbnails[225356] = new thumbnail(225356,'','Sunset in the waves ','100_0691_thumb.jpg',130, 98,1,'#');
												thumbnails[225389] = new thumbnail(225389,'','Mountain sunset','100_0717_thumb.jpg',130, 101,1,'#');
												thumbnails[225383] = new thumbnail(225383,'','Boat in the sunset','100_0697_thumb.jpg',130, 105,1,'#');
												thumbnails[1521679] = new thumbnail(1521679,'104433','Sunset over Lake Naivasha','IMG_8036_thumb.jpg',130, 87,1,'photo_1521679.html');
												thumbnails[1840922] = new thumbnail(1840922,'123776','Young elephant','IMG_7674_thumb.jpg',130, 87,1,'photo_1840922.html');
												thumbnails[1841051] = new thumbnail(1841051,'123776','Family of elephants','IMG_7668_thumb.jpg',130, 102,1,'photo_1841051.html');
												thumbnails[1841053] = new thumbnail(1841053,'123776','A trio of elephants','IMG_7670_thumb.jpg',130, 133,1,'photo_1841053.html');
												thumbnails[1841056] = new thumbnail(1841056,'123776','Herd of elephants','IMG_7671_thumb.jpg',130, 87,1,'photo_1841056.html');
												thumbnails[1841067] = new thumbnail(1841067,'123776','Baby elephant feeding','IMG_7673_thumb.jpg',130, 87,1,'photo_1841067.html');
												thumbnails[1845263] = new thumbnail(1845263,'124192','Early morning River Princess<br>\r\n','IMG_12721_filtered_thumb.jpg',130, 87,1,'photo_1845263.html');
												thumbnails[1845277] = new thumbnail(1845277,'124192','View to Fort Aguada<br>\r\n','IMG_12715_filtered_thumb.jpg',130, 87,1,'photo_1845277.html');
												thumbnails[1845608] = new thumbnail(1845608,'124192','Outrigger on Cola beach<br>\r\n','IMG_12561_thumb.jpg',130, 87,1,'photo_1845608.html');
												thumbnails[1866565] = new thumbnail(1866565,'124192','Outriggers on the beach <br>\r\n','IMG_12441_thumb.jpg',130, 87,1,'photo_1866565.html');
												thumbnails[1866576] = new thumbnail(1866576,'124192','Fishing boat on Cola beach<br>\r\n','IMG_12445_thumb.jpg',130, 195,1,'photo_1866576.html');
												thumbnails[1866588] = new thumbnail(1866588,'124192','Cola beach sunset','IMG_12541_thumb.jpg',130, 87,1,'photo_1866588.html');
												thumbnails[1866602] = new thumbnail(1866602,'124192','Goan beach<br>\r\n','IMG_12500_thumb.jpg',130, 87,1,'photo_1866602.html');
												thumbnails[1866663] = new thumbnail(1866663,'124192','Traditional Goan man','IMG_12060_thumb.jpg',130, 195,1,'photo_1866663.html');
												thumbnails[1866751] = new thumbnail(1866751,'124192','Train crossing Dudhsagar Falls<br>\r\n','IMG_12331_thumb.jpg',130, 87,1,'photo_1866751.html');
												thumbnails[1922760] = new thumbnail(1922760,'128929','Volcanic cliffs','IMG_4442_thumb.jpg',130, 156,1,'photo_1922760.html');
												thumbnails[1922761] = new thumbnail(1922761,'128929','Santorini at night','IMG_4429_filtered_thumb.jpg',130, 87,1,'photo_1922761.html');
												thumbnails[2204092] = new thumbnail(2204092,'39344','3 red pipes','IMG_14201_thumb.jpg',130, 195,1,'photo_2204092.html');
												thumbnails[2204094] = new thumbnail(2204094,'39344','Modern architecture<br>\r\n','IMG_14179_thumb.jpg',130, 87,1,'photo_2204094.html');
												thumbnails[2542659] = new thumbnail(2542659,'39346','Stormy skies over the North Sea<br>\r\n','IMG_187593_thumb.jpg',130, 170,1,'photo_2542659.html');
												thumbnails[2542663] = new thumbnail(2542663,'39346','East Pier, Whitby<br>\r\n','IMG_18782_thumb.jpg',130, 87,1,'photo_2542663.html');
												thumbnails[2542667] = new thumbnail(2542667,'104433','Kigelia pinnata tree<br>\r\n','IMG_8414_thumb.jpg',130, 87,1,'photo_2542667.html');
												thumbnails[3358924] = new thumbnail(3358924,'39389','White Chrysanthemum','SR018_thumb.jpg',130, 87,1,'photo_3358924.html');
												thumbnails[3386206] = new thumbnail(3386206,'104461','Straw Bales in Iceland','IMG_4744_filtered PANO_thumb.jpg',130, 52,1,'photo_3386206.html');
												thumbnails[3386217] = new thumbnail(3386217,'104460','Mirror Lake','IMG_5002 PANO1_thumb.jpg',130, 52,1,'photo_3386217.html');
												thumbnails[3386227] = new thumbnail(3386227,'104460','Lake Myvatn, Iceland','IMG_5397 PANO1_thumb.jpg',130, 52,1,'photo_3386227.html');
												thumbnails[3386271] = new thumbnail(3386271,'104459','Hundreds of Icebergs in Iceland','IMG_5788_filtered PANO_thumb.jpg',130, 52,1,'photo_3386271.html');
												thumbnails[3386277] = new thumbnail(3386277,'104459','Black and Blue Icebergs in Iceland','IMG_5795 PANO1_thumb.jpg',130, 52,1,'photo_3386277.html');
												thumbnails[3386307] = new thumbnail(3386307,'104459','Blue Iceberg in Iceland','IMG_5831_filtered1_thumb.jpg',130, 173,1,'photo_3386307.html');
												thumbnails[3386310] = new thumbnail(3386310,'104459','Print of a Smashing Iceberg in Iceland','IMG_5979_thumb.jpg',130, 173,1,'photo_3386310.html');
												thumbnails[3386334] = new thumbnail(3386334,'20339','Beach Palm','100_0197_1_thumb.jpg',130, 173,1,'photo_3386334.html');
												thumbnails[3386337] = new thumbnail(3386337,'20339','Palm Tree','100_0224_1_thumb.jpg',130, 173,1,'photo_3386337.html');
												thumbnails[3567181] = new thumbnail(3567181,'39344','Way out','IMG_0836_v21_thumb.jpg',130, 86,1,'photo_3567181.html');
												thumbnails[3567780] = new thumbnail(3567780,'104461','Mountains lit by the sun','IMG_5300_10_x_8_thumb.jpg',130, 104,1,'photo_3567780.html');
												thumbnails[3567852] = new thumbnail(3567852,'218077','Bubbling stream','_MG_0159_7_x_5_thumb.jpg',130, 93,1,'photo_3567852.html');
												thumbnails[3567867] = new thumbnail(3567867,'218077','Waterfall','_MG_9977_7_x_5_thumb.jpg',130, 182,1,'photo_3567867.html');
												thumbnails[5237245] = new thumbnail(5237245,'104458','Svartifoss waterfall','IMG_6137_thumb.jpg',130, 187,1,'photo_5237245.html');
												thumbnails[5237255] = new thumbnail(5237255,'104458','Basalt columns, Svartifoss waterfall','IMG_6121_thumb.jpg',130, 85,1,'photo_5237255.html');
												thumbnails[7249110] = new thumbnail(7249110,'104459','Icebergs on the beach','IMG_5984_filtered_4AC6A785-1EC9-D45B-1C44C588AEEA6194_thumb.jpg',130, 87,1,'photo_7249110.html');
												thumbnails[7249130] = new thumbnail(7249130,'104461','Firesky','IMG_4802_filtered_thumb.jpg',130, 86,1,'photo_7249130.html');
												thumbnails[7249147] = new thumbnail(7249147,'39346','Staithes','IMG_3921_4ADCFFE5-1EC9-D45B-1C8C231BA0ADA5A7_thumb.jpg',130, 87,1,'photo_7249147.html');
												thumbnails[7249157] = new thumbnail(7249157,'124192','Goa Sunset','IMG_12538_thumb.jpg',130, 87,1,'photo_7249157.html');
												thumbnails[7251091] = new thumbnail(7251091,'104461','Glacier Reflection','IMG_6193_thumb.jpg',130, 195,1,'photo_7251091.html');
												thumbnails[7251124] = new thumbnail(7251124,'128929','Windmill, Santorini ','IMG_4592_filtered_thumb.jpg',130, 183,1,'photo_7251124.html');
												thumbnails[7251611] = new thumbnail(7251611,'39389','Tree','953_thumb.jpg',130, 130,1,'photo_7251611.html');
												thumbnails[7251642] = new thumbnail(7251642,'39346','','IMG_0397_B__W_v2_thumb.jpg',130, 195,1,'photo_7251642.html');
												thumbnails[7251703] = new thumbnail(7251703,'123672','Safety Hut','IMG_8977_filtered_thumb.jpg',130, 195,1,'photo_7251703.html');
												thumbnails[7251711] = new thumbnail(7251711,'39346','Whitby Abbey','IMG_12880_4D6D71B4-1EC9-D45B-1C0DF26834115246_thumb.jpg',130, 195,1,'photo_7251711.html');
												thumbnails[7251716] = new thumbnail(7251716,'39346','Dry Stone Wall','IMG_13779_4D6E91CA-1EC9-D45B-1C9D3D4A32C792CB_thumb.jpg',130, 195,1,'photo_7251716.html');
												thumbnails[7251746] = new thumbnail(7251746,'104458','Gulfoss','6642_thumb.jpg',130, 98,1,'photo_7251746.html');
												thumbnails[7251758] = new thumbnail(7251758,'39344','Leeds arches','IMG_0836_v2_filtered_thumb.jpg',130, 65,1,'photo_7251758.html');
												thumbnails[7251786] = new thumbnail(7251786,'104458','Seljalandsfoss waterfall in Iceland','IMG_6388_4D76F659-1EC9-D45B-1CEE5399D2D035FB_thumb.jpg',130, 195,1,'photo_7251786.html');
												thumbnails[7251790] = new thumbnail(7251790,'39344','Leeds sunrise','397195023157b75cd77a7d8cad32231e12848899206c0035196e3392_thumb.jpg',130, 177,1,'photo_7251790.html');
												thumbnails[7251795] = new thumbnail(7251795,'39344','Winter Lne','IMG_0205_4D7A3045-1EC9-D45B-1C3ABDF95E9EA1F1_thumb.jpg',130, 195,1,'photo_7251795.html');
												thumbnails[7251799] = new thumbnail(7251799,'104435','Giraffe','IMG_8410_4D7B6B55-1EC9-D45B-1C69A754955706F4_thumb.jpg',130, 178,1,'photo_7251799.html');
												thumbnails[7323051] = new thumbnail(7323051,'123672','','IMG_8960_filtered_thumb.jpg',130, 195,1,'photo_7323051.html');
												thumbnails[808807] = new thumbnail(808807,'104435','Silhouetted leopard in a tree','IMG_7540_filtered_thumb.jpg',130, 87,1,'photo_808807.html');
												thumbnails[225442] = new thumbnail(225442,'20339','Deckchair sunset','100_0965_thumb.jpg',130, 166,1,'photo_225442.html');
												thumbnails[225432] = new thumbnail(225432,'39345','Welsh beach','100_1001_thumb.jpg',130, 98,1,'photo_225432.html');
												thumbnails[677500] = new thumbnail(677500,'39389','Poppies close up','IMG_4167_thumb.jpg',130, 87,1,'photo_677500.html');
												thumbnails[1521670] = new thumbnail(1521670,'104433','Ewaso Nyiro River','IMG_7546_thumb.jpg',130, 72,1,'photo_1521670.html');
												thumbnails[2038496] = new thumbnail(2038496,'39346','Hailstorm in the distance at Sutton Bank<br>\r\n','IMG_13701_thumb.jpg',130, 195,1,'photo_2038496.html');
												thumbnails[2680569] = new thumbnail(2680569,'129211','London Eye at sunset','IMG_10899_filtered_thumb.jpg',130, 195,1,'photo_2680569.html');
												thumbnails[225324] = new thumbnail(225324,'20339','Palm tree sunset','100_0265_thumb.jpg',130, 98,1,'photo_225324.html');
												thumbnails[225405] = new thumbnail(225405,'39345','Sunbeams and sea','100_0938_thumb.jpg',130, 98,1,'photo_225405.html');
												thumbnails[227733] = new thumbnail(227733,'39391','Red sky & tree ','100_2051_thumb.jpg',130, 176,1,'photo_227733.html');
												thumbnails[662159] = new thumbnail(662159,'104460','Lake Myvatn, Iceland','IMG_5395_thumb.jpg',130, 76,1,'photo_662159.html');
												thumbnails[808856] = new thumbnail(808856,'128929','Potted geranium','IMG_4325_thumb.jpg',130, 171,1,'photo_808856.html');
												thumbnails[808935] = new thumbnail(808935,'39389','Poppies in the breeze<br>\r\n','IMG_4168_filtered_thumb.jpg',130, 87,1,'photo_808935.html');
												thumbnails[948152] = new thumbnail(948152,'20409','Blue boats','IMG_7207_thumb.jpg',130, 87,1,'photo_948152.html');
												thumbnails[1521977] = new thumbnail(1521977,'104462','Vertical view Akureyri','IMG_4943_thumb.jpg',130, 87,1,'photo_1521977.html');
												thumbnails[1521990] = new thumbnail(1521990,'104458','Seljalandsfoss sunset<br>\r\n','IMG_6389_thumb.jpg',130, 87,1,'photo_1521990.html');
												thumbnails[1522050] = new thumbnail(1522050,'104459','Beautiful blue iceberg<br>\r\n','IMG_5833_thumb.jpg',130, 77,1,'photo_1522050.html');
												thumbnails[2680573] = new thumbnail(2680573,'129211','Industrial architecture at Lloyds of London<br>\r\n','IMG_11103_thumb.jpg',130, 195,1,'photo_2680573.html');
												thumbnails[225422] = new thumbnail(225422,'39345','Sunbeams ','100_0973_thumb.jpg',130, 98,1,'photo_225422.html');
												thumbnails[751201] = new thumbnail(751201,'104435','Cheetah','IMG_7617 v2_thumb.jpg',130, 93,1,'photo_751201.html');
												thumbnails[751206] = new thumbnail(751206,'104433','Samburu sunrise','IMG_7790_thumb.jpg',130, 87,1,'photo_751206.html');
												thumbnails[808859] = new thumbnail(808859,'128929','View over the Caldera','IMG_4332_filtered_thumb.jpg',130, 176,1,'photo_808859.html');
												thumbnails[808938] = new thumbnail(808938,'39389','Field of poppies<br>\r\n','IMG_4177_filtered_thumb.jpg',130, 133,1,'photo_808938.html');
												thumbnails[1521976] = new thumbnail(1521976,'104462','Akureyri at night','IMG_4945_thumb.jpg',130, 195,1,'photo_1521976.html');
												thumbnails[1521989] = new thumbnail(1521989,'104458','Sunset through Seljalandsfoss<br>\r\n','IMG_6397_filtered_thumb.jpg',130, 87,1,'photo_1521989.html');
												thumbnails[2038477] = new thumbnail(2038477,'39346','Sunlit cliff Sutton Bank','IMG_13686_thumb.jpg',130, 195,1,'photo_2038477.html');
												thumbnails[2680577] = new thumbnail(2680577,'129211','Lloyds of London architecture<br>\r\n','IMG_11094_thumb.jpg',130, 195,1,'photo_2680577.html');
												thumbnails[225321] = new thumbnail(225321,'20339','Jetty sunset ','100_0263_thumb.jpg',130, 173,1,'photo_225321.html');
												thumbnails[227676] = new thumbnail(227676,'39345','Welsh sunset','100_1017_thumb.jpg',130, 68,1,'photo_227676.html');
												thumbnails[662152] = new thumbnail(662152,'104462','Akureyri Church Iceland','IMG_4942_thumb.jpg',130, 195,1,'photo_662152.html');
												thumbnails[751230] = new thumbnail(751230,'104433','Singular tree','IMG_8124_thumb.jpg',130, 87,1,'photo_751230.html');
												thumbnails[808869] = new thumbnail(808869,'128929','White church','IMG_4341_filtered_thumb.jpg',130, 174,1,'photo_808869.html');
												thumbnails[1521631] = new thumbnail(1521631,'104435','Resting lioness','IMG_8060_thumb.jpg',130, 94,1,'photo_1521631.html');
												thumbnails[1521804] = new thumbnail(1521804,'20409','Blue boats, black and white background','IMG_7160_thumb.jpg',130, 88,1,'photo_1521804.html');
												thumbnails[1926050] = new thumbnail(1926050,'129211','London Skyline','IMG_11150_thumb.jpg',130, 87,1,'photo_1926050.html');
												thumbnails[227570] = new thumbnail(227570,'20339','Silhouette sunset ','100_1429_thumb.jpg',130, 124,1,'photo_227570.html');
												thumbnails[1521734] = new thumbnail(1521734,'104433','Two trees','IMG_8126_thumb.jpg',130, 66,1,'photo_1521734.html');
												thumbnails[227493] = new thumbnail(227493,'39344','Bridgewater Place Leeds','OTDry Canal Reflection_thumb.jpg',130, 87,1,'photo_227493.html');
												thumbnails[227557] = new thumbnail(227557,'20339','Sunset through the trees 1','100_1343_thumb.jpg',130, 166,1,'photo_227557.html');
												thumbnails[227633] = new thumbnail(227633,'39391','Blue sky, pink clouds','OT100_1968_thumb.jpg',130, 135,1,'photo_227633.html');
												thumbnails[227828] = new thumbnail(227828,'39344','Dark arch','IMG_0827 v2_filtered_thumb.jpg',130, 195,1,'photo_227828.html');
												thumbnails[606056] = new thumbnail(606056,'39389','Poppies','IMG_4192_thumb.jpg',130, 87,1,'photo_606056.html');
												thumbnails[606058] = new thumbnail(606058,'128929','Path out to sea','IMG_4327_filtered_thumb.jpg',130, 195,1,'photo_606058.html');
												thumbnails[662138] = new thumbnail(662138,'50281','Birling Gap','IMG_6922_thumb.jpg',130, 87,1,'photo_662138.html');
												thumbnails[751210] = new thumbnail(751210,'104433','Mount Kenya at sunrise','IMG_7933_thumb.jpg',130, 174,1,'photo_751210.html');
												thumbnails[751218] = new thumbnail(751218,'104435','Lion cub','IMG_8073_thumb.jpg',130, 90,1,'photo_751218.html');
												thumbnails[1521986] = new thumbnail(1521986,'104458','Waterfall Seljalandsfoss<br>\r\n','IMG_6380_thumb.jpg',130, 195,1,'photo_1521986.html');
												thumbnails[2038596] = new thumbnail(2038596,'39346','Harbour view at Whitby','IMG_13227_thumb.jpg',130, 195,1,'photo_2038596.html');
												thumbnails[2203635] = new thumbnail(2203635,'104458','Dettifoss Waterfall in Iceland','IMG_5269_thumb.jpg',130, 173,1,'photo_2203635.html');
												thumbnails[227578] = new thumbnail(227578,'20339','Sunset through the trees 2','100_1465_thumb.jpg',130, 98,1,'photo_227578.html');
												thumbnails[227575] = new thumbnail(227575,'20339','Lapping waves','100_1458_thumb.jpg',130, 182,1,'photo_227575.html');
												thumbnails[229772] = new thumbnail(229772,'39389','Inside orange tulip','IMG_1560_thumb.jpg',130, 90,1,'photo_229772.html');
												thumbnails[677506] = new thumbnail(677506,'128929','Steps in Santorini','IMG_4578_filtered_thumb.jpg',130, 181,1,'photo_677506.html');
												thumbnails[751209] = new thumbnail(751209,'104433','Mount Kenya','IMG_7814_thumb.jpg',130, 195,1,'photo_751209.html');
												thumbnails[808899] = new thumbnail(808899,'104459','Seagull flying over the icebergs<br>\r\n','IMG_5789_thumb.jpg',130, 155,1,'photo_808899.html');
												thumbnails[1521809] = new thumbnail(1521809,'20409','Close up of blue boats','IMG_7216_thumb.jpg',130, 104,1,'photo_1521809.html');
												thumbnails[2038598] = new thumbnail(2038598,'39346','99 steps at Whitby','IMG_13217_thumb.jpg',130, 195,1,'photo_2038598.html');
												thumbnails[2203707] = new thumbnail(2203707,'104462','Hallgrimskirkja Church in Reykjavik, Iceland','IMG_6757_filtered1_thumb.jpg',130, 173,1,'photo_2203707.html');
												thumbnails[227581] = new thumbnail(227581,'20339','Pink sunset','100_1491_thumb.jpg',130, 173,1,'photo_227581.html');
												thumbnails[227580] = new thumbnail(227580,'20339','Boat sunset','100_1484_thumb.jpg',130, 173,1,'photo_227580.html');
												thumbnails[240588] = new thumbnail(240588,'39344','Steel','IMG_0931_thumb.jpg',130, 163,1,'photo_240588.html');
												thumbnails[606055] = new thumbnail(606055,'39389','Seeds','IMG_4125_thumb.jpg',130, 87,1,'photo_606055.html');
												thumbnails[752116] = new thumbnail(752116,'104433','Mombassa sunrise','IMG_8605_thumb.jpg',130, 195,1,'photo_752116.html');
												thumbnails[1521720] = new thumbnail(1521720,'104435','Sleeping lion','IMG_8092_thumb.jpg',130, 97,1,'photo_1521720.html');
												thumbnails[1521982] = new thumbnail(1521982,'104458','View across Dettifoss waterfall<br>\r\n','IMG_5276_thumb.jpg',130, 92,1,'photo_1521982.html');
												thumbnails[227553] = new thumbnail(227553,'20339','Tropical view','100_1074_thumb.jpg',130, 119,1,'photo_227553.html');
												thumbnails[751197] = new thumbnail(751197,'123776','African elephant','IMG_7528_thumb.jpg',130, 87,1,'photo_751197.html');
												thumbnails[808932] = new thumbnail(808932,'39389','Pink carnation<br>\r\n','IMG_6852_thumb.jpg',130, 87,1,'photo_808932.html');
												thumbnails[948155] = new thumbnail(948155,'20409','Two blue boats','IMG_7161_thumb.jpg',130, 190,1,'photo_948155.html');
												thumbnails[1521983] = new thumbnail(1521983,'104458','Dettifoss riverbed<br>\r\n','IMG_5271_thumb.jpg',130, 85,1,'photo_1521983.html');
												thumbnails[1522057] = new thumbnail(1522057,'104459','Iceberg against a blue sky<br>\r\n','IMG_5840_filtered_thumb.jpg',130, 158,1,'photo_1522057.html');
												thumbnails[1521816] = new thumbnail(1521816,'20409','Moroccan sunset','IMG_6970_thumb.jpg',130, 87,1,'photo_1521816.html');
												thumbnails[225297] = new thumbnail(225297,'20339','Palm over water','100_01551_thumb.jpg',130, 98,1,'photo_225297.html');
												thumbnails[227822] = new thumbnail(227822,'39344','I can see you','IMG_0828 v2_thumb.jpg',130, 87,1,'photo_227822.html');
												thumbnails[751200] = new thumbnail(751200,'123776','African Elephant','IMG_7585_thumb.jpg',130, 87,1,'photo_751200.html');
												thumbnails[1521711] = new thumbnail(1521711,'104433','Water Hyacinth<br>\r\n','IMG_8022_thumb.jpg',130, 178,1,'photo_1521711.html');
												thumbnails[1521984] = new thumbnail(1521984,'104458','Dettifoss<br>\r\n','IMG_5266_thumb.jpg',130, 87,1,'photo_1521984.html');
												thumbnails[227552] = new thumbnail(227552,'20339','Footprints in the sand','100_1058_thumb.jpg',130, 98,1,'photo_227552.html');
												thumbnails[606072] = new thumbnail(606072,'109872','Graffiti 1','IMG_6822_thumb.jpg',130, 195,1,'photo_606072.html');
												thumbnails[662166] = new thumbnail(662166,'104459','Blue Icebergs, Iceland','IMG_5886 v2_thumb.jpg',130, 159,1,'photo_662166.html');
												thumbnails[751203] = new thumbnail(751203,'123810','Samburu Chief','IMG_7654_thumb.jpg',130, 195,1,'photo_751203.html');
												thumbnails[751217] = new thumbnail(751217,'104435','Hippo','IMG_8033_thumb.jpg',130, 87,1,'photo_751217.html');
												thumbnails[808864] = new thumbnail(808864,'128929','Up the steps','IMG_4333_filtered_thumb.jpg',130, 87,1,'photo_808864.html');
												thumbnails[808888] = new thumbnail(808888,'50281','Cliffs on the East Coast of England<br>\r\n','IMG_6914_thumb.jpg',130, 199,1,'photo_808888.html');
												thumbnails[1922745] = new thumbnail(1922745,'128927','Stunning beach Kefalonia','IMG_10135_thumb.jpg',130, 87,1,'photo_1922745.html');
												thumbnails[3352600] = new thumbnail(3352600,'204209','Varadero Beach','IMG_214503_thumb.jpg',130, 87,1,'photo_3352600.html');
												thumbnails[227583] = new thumbnail(227583,'39391','Sunbeams','100b0700_thumb.jpg',130, 173,1,'photo_227583.html');
												thumbnails[227593] = new thumbnail(227593,'20339','Heron silhouette','100_1475_thumb.jpg',130, 173,1,'photo_227593.html');
												thumbnails[227812] = new thumbnail(227812,'39346','Waves crashing','IMG_0584_thumb.jpg',130, 71,1,'photo_227812.html');
												thumbnails[606059] = new thumbnail(606059,'128929','Out to sea','IMG_4574_thumb.jpg',130, 87,1,'photo_606059.html');
												thumbnails[227564] = new thumbnail(227564,'39391','Sunset & clouds','100_1360_thumb.jpg',130, 162,1,'photo_227564.html');
												thumbnails[227586] = new thumbnail(227586,'39391','Sunbeams and clouds','OT100b0680_thumb.jpg',130, 131,1,'photo_227586.html');
												thumbnails[227823] = new thumbnail(227823,'39344','Dark tunnel','IMG_0822 v2_thumb.jpg',130, 87,1,'photo_227823.html');
												thumbnails[606064] = new thumbnail(606064,'104460','Tranquil','IMG_49691_thumb.jpg',130, 195,1,'photo_606064.html');
												thumbnails[1289629] = new thumbnail(1289629,'104433','Silhouette of hot air balloon over Kenya','IMG_8243_thumb.jpg',130, 195,1,'photo_1289629.html');
												thumbnails[1522012] = new thumbnail(1522012,'104461','Blue sky<br>\r\n','IMG_5664v2_thumb.jpg',130, 195,1,'photo_1522012.html');
												thumbnails[227830] = new thumbnail(227830,'39344','Inner city','IMG_0863_thumb.jpg',130, 87,1,'photo_227830.html');
												thumbnails[229773] = new thumbnail(229773,'39389','Purple flower','IMG_1569_thumb.jpg',130, 96,1,'photo_229773.html');
												thumbnails[751196] = new thumbnail(751196,'104435','Giraffe','IMG_7452_thumb.jpg',130, 87,1,'photo_751196.html');
												thumbnails[752117] = new thumbnail(752117,'104433','Footprint','IMG_8620_thumb.jpg',130, 95,1,'photo_752117.html');
												thumbnails[808895] = new thumbnail(808895,'104461','Glacier <br>\r\n','IMG_5768_filtered_thumb.jpg',130, 167,1,'photo_808895.html');
												thumbnails[227639] = new thumbnail(227639,'39389','Winter','OTWinter_thumb.jpg',130, 87,1,'photo_227639.html');
												thumbnails[808889] = new thumbnail(808889,'50281','White cliffs at Birling Gap<br>\r\n','IMG_6921_thumb.jpg',130, 195,1,'photo_808889.html');
												thumbnails[227636] = new thumbnail(227636,'39389','Black & White tree','OT100_09661_thumb.jpg',130, 98,1,'photo_227636.html');
												thumbnails[606066] = new thumbnail(606066,'104461','Steam','IMG_5465_thumb.jpg',130, 195,1,'photo_606066.html');
												thumbnails[808900] = new thumbnail(808900,'104459','An iceberg being broken by the waves<br>\r\n','IMG_5953_thumb.jpg',130, 87,1,'photo_808900.html');
												thumbnails[948156] = new thumbnail(948156,'104460','Sea stacks','IMG_6329_thumb.jpg',130, 187,1,'photo_948156.html');
												thumbnails[1521689] = new thumbnail(1521689,'104435','Two giraffe','IMG_8396_thumb.jpg',130, 87,1,'photo_1521689.html');
												thumbnails[751205] = new thumbnail(751205,'104435','Two Giraffe','IMG_7726_thumb.jpg',130, 195,1,'photo_751205.html');
												thumbnails[227840] = new thumbnail(227840,'39391','Leeds sunset 1','IMG_1262_thumb.jpg',130, 68,1,'photo_227840.html');
												thumbnails[227846] = new thumbnail(227846,'39391','Blazing sky','IMG_1268_thumb.jpg',130, 73,1,'photo_227846.html');
												thumbnails[606071] = new thumbnail(606071,'104460','Blue Lagoon','IMG_6730 v2_thumb.jpg',130, 195,1,'photo_606071.html');
												thumbnails[751254] = new thumbnail(751254,'104435','Giraffe','IMG_8382 v2_thumb.jpg',130, 195,1,'photo_751254.html');
												thumbnails[1520280] = new thumbnail(1520280,'39389','Sunlit bluebells','IMG_3763_thumb.jpg',130, 87,1,'photo_1520280.html');
												thumbnails[227853] = new thumbnail(227853,'39391','Sunset over Leeds ','IMG_1277_thumb.jpg',130, 87,1,'photo_227853.html');
												thumbnails[1520281] = new thumbnail(1520281,'39389','Oriental Poppy','IMG_4110_filtered_thumb.jpg',130, 87,1,'photo_1520281.html');
												thumbnails[227845] = new thumbnail(227845,'39391','Leeds sunset 3','IMG_1269_thumb.jpg',130, 61,1,'photo_227845.html');
												thumbnails[606065] = new thumbnail(606065,'104460','Volcano crater','IMG_5306_thumb.jpg',130, 195,1,'photo_606065.html');
												thumbnails[662141] = new thumbnail(662141,'104461','Geothermal Pool, Iceland','IMG_6464_thumb.jpg',130, 195,1,'photo_662141.html');
												thumbnails[662147] = new thumbnail(662147,'39389','Clematis','IMG_4118_thumb.jpg',130, 87,1,'photo_662147.html');
												thumbnails[808890] = new thumbnail(808890,'50281','Beach at Birling Gap<br>\r\n','IMG_6923_thumb.jpg',130, 195,1,'photo_808890.html');
												thumbnails[1839881] = new thumbnail(1839881,'109872','Graffiti 2','IMG_4955_thumb.jpg',130, 195,1,'photo_1839881.html');
												thumbnails[1841027] = new thumbnail(1841027,'123810','Samburu woman','IMG_7649_thumb.jpg',130, 195,1,'photo_1841027.html');
												thumbnails[1843081] = new thumbnail(1843081,'104433','Hand built catamaran','IMG_8634_thumb.jpg',130, 87,1,'photo_1843081.html');
												thumbnails[1922746] = new thumbnail(1922746,'128927','Myrtos beach','IMG_10281_thumb.jpg',130, 87,1,'photo_1922746.html');
												thumbnails[2038604] = new thumbnail(2038604,'39346','Robin Hoods Bay','IMG_12930_thumb.jpg',130, 195,1,'photo_2038604.html');
												thumbnails[3349660] = new thumbnail(3349660,'204209','Cuban sunset','IMG_214541_thumb.jpg',130, 174,1,'photo_3349660.html');
												thumbnails[227841] = new thumbnail(227841,'39391','Leeds sunset 2','IMG_1266_thumb.jpg',130, 146,1,'photo_227841.html');
												thumbnails[1522107] = new thumbnail(1522107,'104459','Melting iceberg','IMG_5978_thumb.jpg',130, 195,1,'photo_1522107.html');
												thumbnails[1520309] = new thumbnail(1520309,'39389','Close up sunflower','IMG_10626_thumb.jpg',130, 188,1,'photo_1520309.html');
												thumbnails[808967] = new thumbnail(808967,'39389','Wilting sunflower<br>\r\n','IMG_4149_filtered_thumb.jpg',130, 195,1,'photo_808967.html');
												thumbnails[677503] = new thumbnail(677503,'39389','Gladioli','IMG_4351_thumb.jpg',130, 195,1,'photo_677503.html');
												thumbnails[808945] = new thumbnail(808945,'39389','Foxglove','IMG_4155_filtered_thumb.jpg',130, 195,1,'photo_808945.html');
												thumbnails[229774] = new thumbnail(229774,'39389','Electric blue flower','IMG_1570_thumb.jpg',130, 140,1,'photo_229774.html');
												thumbnails[227601] = new thumbnail(227601,'39389','Daffodils in the rain','Daffodil in the rain_thumb.jpg',130, 168,1,'photo_227601.html');
												thumbnails[225394] = new thumbnail(225394,'39389','3 Daffodils','3 daffodils1_thumb.jpg',130, 173,1,'photo_225394.html');
												thumbnails[948145] = new thumbnail(948145,'123672','Lindisfarne causeway','IMG_8976_filtered_thumb.jpg',130, 87,1,'photo_948145.html');
												thumbnails[1840027] = new thumbnail(1840027,'109872','Graffiti 3','IMG_4957 v2_thumb.jpg',130, 177,1,'photo_1840027.html');
												thumbnails[1841036] = new thumbnail(1841036,'123810','Mother and child','IMG_7659_thumb.jpg',130, 94,1,'photo_1841036.html');
												thumbnails[1922748] = new thumbnail(1922748,'128927','Looking down onto Myrtos beach','IMG_10296_thumb.jpg',130, 87,1,'photo_1922748.html');
												thumbnails[3346734] = new thumbnail(3346734,'204209','Che Guevara','IMG_213866_thumb.jpg',130, 180,1,'photo_3346734.html');
												thumbnails[284559] = new thumbnail(284559,'39389','Ferns & Flowers','IMG_3798_thumb.jpg',130, 195,1,'photo_284559.html');
												thumbnails[282741] = new thumbnail(282741,'39389','Red Tulip Center','IMG_1558 col_thumb.jpg',130, 195,1,'photo_282741.html');
												thumbnails[282744] = new thumbnail(282744,'39389','Red Tulip close up 1','IMG_1561 col_thumb.jpg',130, 195,1,'photo_282744.html');
												thumbnails[282746] = new thumbnail(282746,'39389','Red Tulip close up 2','IMG_1562 col_thumb.jpg',130, 195,1,'photo_282746.html');
												thumbnails[284690] = new thumbnail(284690,'39346','Staithes inner harbour','IMG_3921_thumb.jpg',130, 87,1,'photo_284690.html');
												thumbnails[229769] = new thumbnail(229769,'39389','B & W Tulip 1','IMG_1558 B & W_thumb.jpg',130, 195,1,'photo_229769.html');
												thumbnails[229770] = new thumbnail(229770,'39389','B & W Tulip 2','IMG_1561 B & W_thumb.jpg',130, 195,1,'photo_229770.html');
												thumbnails[229771] = new thumbnail(229771,'39389','B & W Tulip 3','IMG_1562 B & W_thumb.jpg',130, 195,1,'photo_229771.html');
												thumbnails[240587] = new thumbnail(240587,'39389','Red Tulip ','IMG_15721_thumb.jpg',130, 195,1,'photo_240587.html');
												thumbnails[1839221] = new thumbnail(1839221,'123672','Silhouette of the Angel of North Gateshead','IMG_9010_thumb.jpg',130, 87,1,'photo_1839221.html');
												thumbnails[1840014] = new thumbnail(1840014,'109872','Graffiti 4','IMG_4956_thumb.jpg',130, 87,1,'photo_1840014.html');
												thumbnails[1840960] = new thumbnail(1840960,'123810','Samburu dancers','IMG_7646_1_thumb.jpg',130, 87,1,'photo_1840960.html');
												thumbnails[1922752] = new thumbnail(1922752,'128927','Assos','IMG_10346_thumb.jpg',130, 87,1,'photo_1922752.html');
												thumbnails[3346738] = new thumbnail(3346738,'204209','Decorative balconies','IMG_213949_thumb.jpg',130, 195,1,'photo_3346738.html');
												thumbnails[1616350] = new thumbnail(1616350,'109872','Graffiti 5','IMG_6818_filtered_thumb.jpg',130, 144,1,'photo_1616350.html');
												thumbnails[1839232] = new thumbnail(1839232,'123672','Angel of the North Gateshead','IMG_8997_thumb.jpg',130, 87,1,'photo_1839232.html');
												thumbnails[1922750] = new thumbnail(1922750,'128927','View over to Assos','IMG_10307_thumb.jpg',130, 195,1,'photo_1922750.html');
												thumbnails[3346744] = new thumbnail(3346744,'204209','Red Chevrolet','IMG_213979_thumb.jpg',130, 87,1,'photo_3346744.html');
												thumbnails[1616369] = new thumbnail(1616369,'109872','Graffiti 6','IMG_6815_thumb.jpg',130, 87,1,'photo_1616369.html');
												thumbnails[1839254] = new thumbnail(1839254,'123672','Angel of the North at sunset','IMG_8990_thumb.jpg',130, 95,1,'photo_1839254.html');
												thumbnails[3352610] = new thumbnail(3352610,'204209','Two old American cars','IMG_214232_thumb.jpg',130, 87,1,'photo_3352610.html');
												thumbnails[1520312] = new thumbnail(1520312,'39389','Seaholly','IMG_10647_thumb.jpg',130, 195,1,'photo_1520312.html');
												thumbnails[1616353] = new thumbnail(1616353,'109872','Graffiti 7','IMG_6827_thumb.jpg',130, 87,1,'photo_1616353.html');
												thumbnails[1839215] = new thumbnail(1839215,'123672','Beach path, Bamburgh Beach Northumberland','IMG_8936_filtered_thumb.jpg',130, 87,1,'photo_1839215.html');
												thumbnails[3352615] = new thumbnail(3352615,'204209','Old white Cuban car<br>\r\n','IMG_214247_thumb.jpg',130, 87,1,'photo_3352615.html');
												thumbnails[948143] = new thumbnail(948143,'123672','Sand dunes','IMG_8942_filtered_thumb.jpg',130, 87,1,'photo_948143.html');
												thumbnails[1616361] = new thumbnail(1616361,'109872','Graffiti 8','IMG_6816_filtered_thumb.jpg',130, 79,1,'photo_1616361.html');
												thumbnails[1841043] = new thumbnail(1841043,'123810','Female Samburu dancers','IMG_7662_thumb.jpg',130, 87,1,'photo_1841043.html');
												thumbnails[3352613] = new thumbnail(3352613,'204209','Old blue Buick','IMG_214366_thumb.jpg',130, 87,1,'photo_3352613.html');
												thumbnails[948146] = new thumbnail(948146,'123672','Grasses','IMG_8911_thumb.jpg',130, 195,1,'photo_948146.html');
												thumbnails[1616363] = new thumbnail(1616363,'109872','Graffiti 9','IMG_6829_filtered_thumb.jpg',130, 87,1,'photo_1616363.html');
												thumbnails[1840949] = new thumbnail(1840949,'123810','Young warriors','IMG_7638_thumb.jpg',130, 94,1,'photo_1840949.html');
												thumbnails[3352606] = new thumbnail(3352606,'204209','Cuban car reflection','IMG_214240_thumb.jpg',130, 87,1,'photo_3352606.html');
												thumbnails[1840037] = new thumbnail(1840037,'109872','Graffiti 10','IMG_4958_thumb.jpg',130, 87,1,'photo_1840037.html');
												thumbnails[3349901] = new thumbnail(3349901,'204209','Red Cadillac','IMG_214227_thumb.jpg',130, 87,1,'photo_3349901.html');
												thumbnails[1616358] = new thumbnail(1616358,'109872','Graffiti 11','IMG_6810_filtered_thumb.jpg',130, 87,1,'photo_1616358.html');
												thumbnails[3346732] = new thumbnail(3346732,'204209','Green Cuban car','IMG_213846_thumb.jpg',130, 87,1,'photo_3346732.html');
												thumbnails[1839871] = new thumbnail(1839871,'109872','Graffiti 12','IMG_4951_thumb.jpg',130, 79,1,'photo_1839871.html');
												thumbnails[3349646] = new thumbnail(3349646,'204209','Black Flags','IMG_214171_thumb.jpg',130, 87,1,'photo_3349646.html');
												thumbnails[1616367] = new thumbnail(1616367,'109872','Graffiti 13','IMG_6811_thumb.jpg',130, 87,1,'photo_1616367.html');
												thumbnails[3346747] = new thumbnail(3346747,'204209','Traditional Cuban Man','IMG_214071_thumb.jpg',130, 195,1,'photo_3346747.html');
												thumbnails[1616368] = new thumbnail(1616368,'109872','Graffiti 14','IMG_6813_filtered_thumb.jpg',130, 84,1,'photo_1616368.html');
												thumbnails[3349655] = new thumbnail(3349655,'204209','Cuban man and his cigar','IMG_214213_thumb.jpg',130, 107,1,'photo_3349655.html');
												thumbnails[3784973] = new thumbnail(3784973,'104459','Foreground Iceberg','IMG_5814_thumb.jpg',130, 195,1,'photo_3784973.html');
												thumbnails[5237278] = new thumbnail(5237278,'204209','Sunset over Varadero Beach, Cuba','IMG_214547_thumb.jpg',130, 87,1,'photo_5237278.html');
												thumbnails[3459365] = new thumbnail(3459365,'39344','Abbey Window','IMG_14391_thumb.jpg',130, 87,1,'photo_3459365.html');
												thumbnails[3567741] = new thumbnail(3567741,'39389','Rose','IMG_18511_thumb.jpg',130, 187,1,'photo_3567741.html');
												thumbnails[5128853] = new thumbnail(5128853,'104461','Post and Chains View','IMG_6348_8bit_filtered_thumb.jpg',130, 87,1,'photo_5128853.html');

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  					galleries[104435] = new gallery(104435,'7251799,1521720,1521689,1521631,808807,751254,751218,751217,751205,751201','African animals','gallery',[7251799,808807,751201,1521631,751218,1521720,751217,751196,1521689,751205,751254],0, 0, '104434', 'gallery_104435.html',0,0);
				  					galleries[123776] = new gallery(123776,'1841067,1841056,1841053,1841051,1840922,751200,751197','African Elephants','gallery',[1840922,1841051,1841053,1841056,1841067,751197,751200],0, 0, '104434', 'gallery_123776.html',0,0);
				  					galleries[104433] = new gallery(104433,'2542667,1843081,1521734,1521711,1521679,1521670,1289629,752117,752116,751230','African landscapes','gallery',[1521679,2542667,1521670,751206,751230,1521734,751210,751209,752116,1521711,1289629,752117,1843081],0, 0, '104434', 'gallery_104433.html',0,0);
				  					galleries[123810] = new gallery(123810,'1841043,1841036,1841027,1840960,1840949,751203','African People','gallery',[751203,1841027,1841036,1840960,1841043,1840949],0, 0, '104434', 'gallery_123810.html',0,0);
				  					galleries[128927] = new gallery(128927,'1922752,1922750,1922748,1922746,1922745','Kefalonia','gallery',[1922745,1922746,1922748,1922752,1922750],0, 0, '20363', 'gallery_128927.html',0,0);
				  					galleries[128929] = new gallery(128929,'7251124,1922761,1922760,808869,808864,808859,808856,677506,606059,606058','Santorini','gallery',[1922760,1922761,7251124,808856,808859,808869,606058,677506,808864,606059],0, 0, '20363', 'gallery_128929.html',0,0);
				  					galleries[104459] = new gallery(104459,'7249110,3784973,3386310,3386307,3386277,3386271,1522107,1522057,1522050,808900','Icebergs','gallery',[3386271,3386277,3386307,3386310,7249110,1522050,808899,1522057,662166,808900,1522107,3784973],0, 0, '104457', 'gallery_104459.html',0,0);
				  					galleries[39344] = new gallery(39344,'7251795,7251790,7251758,3567181,3459365,2204094,2204092,240588,227830,227828','Leeds','gallery',[2204092,2204094,3567181,7251758,7251790,7251795,227493,227828,240588,227822,227823,227830,3459365],0, 0, '39343', 'gallery_39344.html',0,0);
				  					galleries[39389] = new gallery(39389,'7251611,3567741,3358924,1520312,1520309,1520281,1520280,808967,808945,808938','Plants & Flowers','gallery',[3358924,7251611,677500,808935,808938,606056,229772,606055,808932,229773,227639,227636,1520280,1520281,662147,1520309,808967,677503,808945,229774,227601,225394,284559,282741,282744,282746,229769,229770,229771,240587,1520312,3567741],0, 0, '39388', 'gallery_39389.html',0,0);
				  					galleries[39346] = new gallery(39346,'7251716,7251711,7251642,7249147,2542663,2542659,2038604,2038598,2038596,2038496','east coast','gallery',[2542659,2542663,7249147,7251642,7251711,7251716,2038496,2038477,2038596,2038598,227812,2038604,284690],0, 0, '39343', 'gallery_39346.html',0,0);
				  					galleries[104458] = new gallery(104458,'7251786,7251746,5237255,5237245,2203635,1521990,1521989,1521986,1521984,1521983','Waterfalls','gallery',[5237245,5237255,7251746,7251786,1521990,1521989,1521986,2203635,1521982,1521983,1521984],0, 0, '104457', 'gallery_104458.html',0,0);
				  					galleries[123672] = new gallery(123672,'7323051,7251703,1839254,1839232,1839221,1839215,948146,948145,948143','Northumberland','gallery',[7251703,7323051,948145,1839221,1839232,1839254,1839215,948143,948146],0, 0, '39343', 'gallery_123672.html',0,0);
				  					galleries[218077] = new gallery(218077,'3567867,3567852','Scotland','gallery',[3567852,3567867],0, 0, '39343', 'gallery_218077.html',0,0);
				  					galleries[104460] = new gallery(104460,'3386227,3386217,948156,662159,606071,606065,606064','Sea & Lakes','gallery',[3386217,3386227,662159,606064,948156,606071,606065],0, 0, '104457', 'gallery_104460.html',0,0);
				  					galleries[39391] = new gallery(39391,'227853,227846,227845,227841,227840,227733,227633,227586,227583,227564','Weather','gallery',[227733,227633,227583,227564,227586,227840,227846,227853,227845,227841],0, 0, '39388', 'gallery_39391.html',0,0);
				  					galleries[104461] = new gallery(104461,'7251091,7249130,5128853,3567780,3386206,1522012,808895,662141,606066','Landscapes','gallery',[3386206,3567780,7249130,7251091,1522012,808895,606066,662141,5128853],0, 0, '104457', 'gallery_104461.html',0,0);
				  					galleries[104462] = new gallery(104462,'2203707,1521977,1521976,662152','Reykjavik','gallery',[1521977,1521976,662152,2203707],0, 0, '104457', 'gallery_104462.html',0,0);
				  					galleries[39345] = new gallery(39345,'227676,225432,225422,225405','wales','gallery',[225432,225405,225422,227676],0, 0, '39343', 'gallery_39345.html',0,0);
				  					galleries[104434] = new gallery(104434,'7251799,2542667,1843081,1841067,1841056,1841053,1841051,1841043,1841036,1841027','Kenya','gallery',[],0, 0, '', 'gallery_104434.html',0,0);
				  					galleries[129211] = new gallery(129211,'2680577,2680573,2680569,1926050','London','gallery',[2680569,2680573,2680577,1926050],0, 0, '39343', 'gallery_129211.html',0,0);
				  					galleries[50281] = new gallery(50281,'808890,808889,808888,662138','South England','gallery',[662138,808888,808889,808890],0, 0, '39343', 'gallery_50281.html',0,0);
				  					galleries[104457] = new gallery(104457,'7251786,7251746,7251091,7249130,7249110,5237255,5237245,5128853,3784973,3567780','Iceland','gallery',[],0, 0, '', 'gallery_104457.html',0,0);
				  					galleries[124192] = new gallery(124192,'7249157,1866751,1866663,1866602,1866588,1866576,1866565,1845608,1845277,1845263','Goa','gallery',[1845263,1845277,1845608,1866565,1866576,1866588,1866602,1866663,1866751,7249157],0, 0, '', 'gallery_124192.html',0,0);
				  					galleries[204209] = new gallery(204209,'5237278,3352615,3352613,3352610,3352606,3352600,3349901,3349660,3349655,3349646','Cuba','gallery',[3352600,3349660,3346734,3346738,3346744,3352610,3352615,3352613,3352606,3349901,3346732,3349646,3346747,3349655,5237278],0, 0, '', 'gallery_204209.html',0,0);
				  					galleries[20339] = new gallery(20339,'3386337,3386334,227593,227581,227580,227578,227575,227570,227557,227553','Maldives','gallery',[3386334,3386337,225442,225324,225321,227570,227557,227578,227575,227581,227580,227553,225297,227552,227593],0, 0, '', 'gallery_20339.html',0,0);
				  					galleries[20363] = new gallery(20363,'7251124,1922761,1922760,1922752,1922750,1922748,1922746,1922745,808869,808864','Greece ','gallery',[],0, 0, '', 'gallery_20363.html',0,0);
				  					galleries[20409] = new gallery(20409,'1521816,1521809,1521804,948155,948152','Morocco','gallery',[948152,1521804,1521809,948155,1521816],0, 0, '', 'gallery_20409.html',0,0);
				  					galleries[39343] = new gallery(39343,'7323051,7251795,7251790,7251758,7251716,7251711,7251703,7251642,7249147,3567867','UK','gallery',[],0, 0, '', 'gallery_39343.html',0,0);
				  					galleries[109872] = new gallery(109872,'1840037,1840027,1840014,1839881,1839871,1616369,1616368,1616367,1616363,1616361','Graffiti','gallery',[606072,1839881,1840027,1840014,1616350,1616369,1616353,1616361,1616363,1840037,1616358,1839871,1616367,1616368],0, 0, '', 'gallery_109872.html',0,0);
				  					galleries[39388] = new gallery(39388,'7251611,3567741,3358924,1520312,1520309,1520281,1520280,808967,808945,808938','Natural World','gallery',[],0, 0, '', 'gallery_39388.html',0,0);
/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = new Object();
imageSets[1] = '2203707,2203635';
imageSets[3] = '7323051,7251799,7251795,7251790,7251786,7251758,7251746,7251716,7251711,7251703,7251642,7251611,7251124,7251091,7249157,7249147,7249130,7249110,5329398,5329392,5329332,5329329,5329321,5329293,5329239,5329207,5329197,5329179,5329169,5329165,5329132,5329086,5328883,5237278,5237255,5237245,5128853,3784973,3567867,3567852,3567780,3567741,3567181,3459365,3386337,3386334,3386310,3386307,3386277,3386271';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/debstheleo/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/debstheleo/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/debstheleo/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/debstheleo/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/debstheleo/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/debstheleo/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/debstheleo/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/debstheleo/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/debstheleo/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/debstheleo/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/debstheleo/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/debstheleo/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/debstheleo/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/debstheleo/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/debstheleo/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://admin2.clikpic.com/debstheleo/images';
		break;
	}
		switch (server_id) {
		case 33:
		val = 'http://www8.clikpic.com/debstheleo/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/debstheleo/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/debstheleo/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/debstheleo/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/debstheleo/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/debstheleo/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:'',
                    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 (!basic) {
    if (op.updateHash && clik.getIDInUrl(location.href,'photo') != op.nextPhoto.id) {
		clik.changeHash('photos_id=' + op.nextPhoto.id, true);
    }
				
    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));		  $('body').trigger('clikUpdate');		}, op.onBefore);
      }    }
    	if (op.field) {
		op.field.value = photoId;
	} else {
		op.$photo.data('image_id', photoId);
    }
	    if (op.$title.length > 0) {
  		op.$title.fadeGalleryDetails(photoCaption, op.speed);
    }
        if (op.updateDocumentTitle) {
						  document.title = 'Landscape & travel photography by Deborah Benbrook: ' + photoCaption;
			    }
        if (op.$detail.length > 0) {
      temp = op.nextPhoto.fnGetImageDetails();
	    op.$detail.fadeGalleryDetails(temp, op.speed, function(){
	    var options = {};	    	      	      resizePhotoInfo(options);
        if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
  	      toggleAddToCartConfirm(backgrounds);
  	    } else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
  	      toggleAddToCartConfirm(photos);
  	    }
	    });
    }
        if (!op.speed) {      clik.doColumnResize(false, op.$photo.add(op.$detail).add(op.$title));      $('body').trigger('clikUpdate');    }        
    return html;			}
	else {
				
		window.location = 'photo_' + nextPhoto.id + '.html';
	}
		
}

/***************************************************************************
* Toggle add to cart confirmation element and set up the click event for   *
* the 'Add to cart' button.                                                *
***************************************************************************/
function toggleAddToCartConfirm(array){
  if (typeof(array) !== 'object') {
    array = photos;
  }
	if($('#paymentConfirm').length > 0){
		$('#paymentConfirm').hide();
		$('#paymentAddButton')
		.unbind()
		.click(function(){
						form = document.getElementById('paymentForm');
			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').text('Item added to cart').show();}
				else{
					$('#paymentConfirm').text('Item added to cart').fadeIn();
					dspOrderDetails(form.site.value);
				}
			}
			else{
				$('#paymentConfirm').text('Item not added - check cookies are enabled in your browser.').fadeIn();
			}
		});
	}
}
/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
photo.prototype.fnGetImageDetails = function(){
	var temp = '';
	if (this.description != '') {
		temp = temp +  '<p id="imageDescription">' + this.description + '</p>';
	}
		if (this.photo_ref != '') {
		temp = temp + '<p class="imageinfo" id="imageRef"><strong>Ref: </strong>' + this.photo_ref + '</p>';
	}
		if (this.takendate != '') {
				
		temp = temp + '<p class="imageinfo" id="imageDate"><strong>Date: </strong>' + this.takendate + '</p>';
	}
	
	if (this.location != '') {
				
		temp = temp + '<p class="imageinfo" id="imageLocation"><strong>Location: </strong>' +  this.location + '</p>';
	}
	
	if (this.photographer != '') {
				
		temp = temp + '<p class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>' + this.photographer + '</p>';
	}
					
	temp = temp + this.fnGetPaymentInfo();
				if (temp != '') {
		temp = temp + '<div class="spacer"></div>';
	}
	return temp;
};

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
photo.prototype.fnGetPaymentInfo = function(){
	var temp = '';
	if (this.item_price !== '') {
																		temp = temp + '<p>Buy now using PayPal:</p>';
				temp = temp + '<p class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> &pound;' + (this.item_price).toFixed(2) + '</p>';
		var item_name  = this.purchase_instruction;
		var amount = (this.item_price).toFixed(2);
		var item_option  = 0;
	}
	else if (this.payment_groups_id !== '') {
		temp = temp + '<p>Buy online</p>';
				temp = temp + '<form id="paymentOptions" style="margin:0px;border:0px;" name="paymentOptions">';
		 									temp = temp + '<select class="paymentlink" name="payment_options_id" onchange="updateCartValue(document.forms.paymentForm,this.form.payment_options_id.options[this.form.payment_options_id.options.selectedIndex].value); if(divShowing(\'paymentConfirm\')){fadeOut(\'paymentConfirm\', 3)};">';
				
		temp = temp + getPaymentOptions(this.payment_groups_id);
		temp = temp + '</select>';
		temp = 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 = temp + '<form id="paymentForm" style="margin:0px;border:0px;" name="paymentForm">';
	temp = temp + '	<input type="hidden" name="item_option" value="' + item_option + '">';
	temp = temp + '	<input type="hidden" name="site" value="DEBSTHELEO">';
		temp = temp + '	<input type="hidden" name="item_number" value="'+ this.id +'">';
			temp = temp + '	<input type="hidden" name="quantity" value="1">';
								temp = temp + '	<input value="Add to cart" id="paymentAddButton" class="button" onmouseover="this.className=\'buttonHi\'\;" onmouseout="this.className=\'button\'\;" type="Button">';
			temp = 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 = temp + '</form>';
		temp = temp + '<div class="clearing">&nbsp;</div>';
	temp = temp + '<div id="confirmContainer">';
	temp = temp + '<div id="paymentConfirm">Item added to cart</div>';
	temp = temp + '</div>';
			temp = 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({            href: thumbnails[imageID].fnGalleryLink(gallery_id),            title: galleries[gallery_id].title          });
        }
							}
										}
}

/***************************************************************************
* 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 + ' | ';
				}
				temp = temp + '<a href="' + galleries[i].section_code + '_' + galleries[i].id + '.html">' + galleries[i].title + '</a>';
			}
		}
		document.all.galleryLinks.innerHTML = 'Other galleries: ' + temp;
	}
}

			

