window.thumbnails = new Object();
												thumbnails[5339291] = new thumbnail(5339291,'300619','mkch (21)','mkch_21_thumb.jpg',130, 195,1,'							photo_5339291.html');
												thumbnails[6035621] = new thumbnail(6035621,'339358','low water1<br>\r\n','low_water1_thumb.jpg',130, 260,1,'							photo_6035621.html');
												thumbnails[6985828] = new thumbnail(6985828,'378451','','DPP_0006_thumb.jpg',130, 92,1,'							photo_6985828.html');
												thumbnails[6985858] = new thumbnail(6985858,'378451','','DPP_0011_thumb.jpg',130, 92,1,'							photo_6985858.html');
												thumbnails[6985895] = new thumbnail(6985895,'378451','','DPP_0016_thumb.jpg',130, 92,1,'							photo_6985895.html');
												thumbnails[6985955] = new thumbnail(6985955,'378451','','DPP_0041_thumb.jpg',130, 92,1,'							photo_6985955.html');
												thumbnails[6035622] = new thumbnail(6035622,'339358','low water2','low_water2_thumb.jpg',130, 260,1,'							photo_6035622.html');
												thumbnails[6985804] = new thumbnail(6985804,'378451','','DPP_0001_thumb.jpg',130, 184,1,'							photo_6985804.html');
												thumbnails[6985829] = new thumbnail(6985829,'378451','','DPP_0007_thumb.jpg',130, 92,1,'							photo_6985829.html');
												thumbnails[6985859] = new thumbnail(6985859,'378451','','DPP_0012_thumb.jpg',130, 92,1,'							photo_6985859.html');
												thumbnails[6985896] = new thumbnail(6985896,'378451','','DPP_0017_thumb.jpg',130, 184,1,'							photo_6985896.html');
												thumbnails[6985956] = new thumbnail(6985956,'378451','','DPP_0042_thumb.jpg',130, 92,1,'							photo_6985956.html');
												thumbnails[5339301] = new thumbnail(5339301,'300619','mkch (55)','mkch_55_thumb.jpg',130, 87,1,'							photo_5339301.html');
												thumbnails[5339425] = new thumbnail(5339425,'300619','mkch (148)','mkch_148_thumb.jpg',130, 87,1,'							photo_5339425.html');
												thumbnails[6035623] = new thumbnail(6035623,'339358','low water3','low_water3_thumb.jpg',130, 260,1,'							photo_6035623.html');
												thumbnails[6985830] = new thumbnail(6985830,'378451','','DPP_0008_thumb.jpg',130, 184,1,'							photo_6985830.html');
												thumbnails[6985860] = new thumbnail(6985860,'378451','','DPP_0013_thumb.jpg',130, 184,1,'							photo_6985860.html');
												thumbnails[6985897] = new thumbnail(6985897,'378451','','DPP_0018_thumb.jpg',130, 184,1,'							photo_6985897.html');
												thumbnails[6985957] = new thumbnail(6985957,'378451','','DPP_0043_thumb.jpg',130, 92,1,'							photo_6985957.html');
												thumbnails[5339302] = new thumbnail(5339302,'300619','mkch (57)','mkch_57_thumb.jpg',130, 195,1,'							photo_5339302.html');
												thumbnails[5339426] = new thumbnail(5339426,'300619','mkch (161)','mkch_161_thumb.jpg',130, 87,1,'							photo_5339426.html');
												thumbnails[6985831] = new thumbnail(6985831,'378451','','DPP_0009_thumb.jpg',130, 92,1,'							photo_6985831.html');
												thumbnails[6985861] = new thumbnail(6985861,'378451','','DPP_0014_thumb.jpg',130, 92,1,'							photo_6985861.html');
												thumbnails[6985898] = new thumbnail(6985898,'378451','','DPP_0019_thumb.jpg',130, 92,1,'							photo_6985898.html');
												thumbnails[6985958] = new thumbnail(6985958,'378451','','DPP_0044_thumb.jpg',130, 92,1,'							photo_6985958.html');
												thumbnails[5339303] = new thumbnail(5339303,'300619','mkch (59)','mkch_59_thumb.jpg',130, 195,1,'							photo_5339303.html');
												thumbnails[5339427] = new thumbnail(5339427,'300619','mkch (178)','mkch_178_thumb.jpg',130, 87,1,'							photo_5339427.html');
												thumbnails[6985807] = new thumbnail(6985807,'378451','DPP 0002','DPP_0002_thumb.jpg',130, 92,1,'							photo_6985807.html');
												thumbnails[6985832] = new thumbnail(6985832,'378451','','DPP_0010_thumb.jpg',130, 92,1,'							photo_6985832.html');
												thumbnails[6985862] = new thumbnail(6985862,'378451','','DPP_0015_thumb.jpg',130, 92,1,'							photo_6985862.html');
												thumbnails[6985899] = new thumbnail(6985899,'378451','','DPP_0020_thumb.jpg',130, 184,1,'							photo_6985899.html');
												thumbnails[6985959] = new thumbnail(6985959,'378451','','DPP_0045_thumb.jpg',130, 184,1,'							photo_6985959.html');
												thumbnails[5339304] = new thumbnail(5339304,'300619','mkch (67)','mkch_67_thumb.jpg',130, 87,1,'							photo_5339304.html');
												thumbnails[5339428] = new thumbnail(5339428,'300619','mkch (182)','mkch_182_thumb.jpg',130, 87,1,'							photo_5339428.html');
												thumbnails[6985900] = new thumbnail(6985900,'378451','','DPP_0021_thumb.jpg',130, 184,1,'							photo_6985900.html');
												thumbnails[6986097] = new thumbnail(6986097,'378451','','DPP_0046_thumb.jpg',130, 92,1,'							photo_6986097.html');
												thumbnails[5339305] = new thumbnail(5339305,'300619','mkch (79)','mkch_79_thumb.jpg',130, 195,1,'							photo_5339305.html');
												thumbnails[5339429] = new thumbnail(5339429,'300619','mkch (183)','mkch_183_thumb.jpg',130, 195,1,'							photo_5339429.html');
												thumbnails[6985809] = new thumbnail(6985809,'378451','','DPP_0003_thumb.jpg',130, 92,1,'							photo_6985809.html');
												thumbnails[6985901] = new thumbnail(6985901,'378451','','DPP_0022_thumb.jpg',130, 92,1,'							photo_6985901.html');
												thumbnails[6986098] = new thumbnail(6986098,'378451','','DPP_0047_thumb.jpg',130, 184,1,'							photo_6986098.html');
												thumbnails[5339430] = new thumbnail(5339430,'300619','mkch (184)','mkch_184_thumb.jpg',130, 195,1,'							photo_5339430.html');
												thumbnails[6985902] = new thumbnail(6985902,'378451','','DPP_0023_thumb.jpg',130, 184,1,'							photo_6985902.html');
												thumbnails[6986099] = new thumbnail(6986099,'378451','','DPP_0048_thumb.jpg',130, 92,1,'							photo_6986099.html');
												thumbnails[5339318] = new thumbnail(5339318,'300619','mkch (117)','mkch_117_thumb.jpg',130, 195,1,'							photo_5339318.html');
												thumbnails[5339431] = new thumbnail(5339431,'300619','mkch (185)','mkch_185_thumb.jpg',130, 195,1,'							photo_5339431.html');
												thumbnails[6985811] = new thumbnail(6985811,'378451','DPP 0004','DPP_0004_thumb.jpg',130, 184,1,'							photo_6985811.html');
												thumbnails[6985903] = new thumbnail(6985903,'378451','','DPP_0024_thumb.jpg',130, 92,1,'							photo_6985903.html');
												thumbnails[6986100] = new thumbnail(6986100,'378451','','DPP_0049_thumb.jpg',130, 184,1,'							photo_6986100.html');
												thumbnails[5339319] = new thumbnail(5339319,'300619','mkch (123)','mkch_123_thumb.jpg',130, 87,1,'							photo_5339319.html');
												thumbnails[5339432] = new thumbnail(5339432,'300619','mkch (187)','mkch_187_thumb.jpg',130, 87,1,'							photo_5339432.html');
												thumbnails[6985904] = new thumbnail(6985904,'378451','','DPP_0025_thumb.jpg',130, 92,1,'							photo_6985904.html');
												thumbnails[6986101] = new thumbnail(6986101,'378451','','DPP_0050_thumb.jpg',130, 92,1,'							photo_6986101.html');
												thumbnails[5339320] = new thumbnail(5339320,'300619','mkch (128)','mkch_128_thumb.jpg',130, 87,1,'							photo_5339320.html');
												thumbnails[5339433] = new thumbnail(5339433,'300619','mkch (191)','mkch_191_thumb.jpg',130, 195,1,'							photo_5339433.html');
												thumbnails[6985813] = new thumbnail(6985813,'378451','DPP 0005','DPP_0005_thumb.jpg',130, 184,1,'							photo_6985813.html');
												thumbnails[6985907] = new thumbnail(6985907,'378451','','DPP_0026_thumb.jpg',130, 92,1,'							photo_6985907.html');
												thumbnails[6986102] = new thumbnail(6986102,'378451','','DPP_0051_thumb.jpg',130, 184,1,'							photo_6986102.html');
												thumbnails[5339321] = new thumbnail(5339321,'300619','mkch (130)','mkch_130_thumb.jpg',130, 195,1,'							photo_5339321.html');
												thumbnails[5339434] = new thumbnail(5339434,'300619','mkch (193)','mkch_193_thumb.jpg',130, 87,1,'							photo_5339434.html');
												thumbnails[6985908] = new thumbnail(6985908,'378451','','DPP_0027_thumb.jpg',130, 92,1,'							photo_6985908.html');
												thumbnails[6986103] = new thumbnail(6986103,'378451','','DPP_0052_thumb.jpg',130, 92,1,'							photo_6986103.html');
												thumbnails[5339345] = new thumbnail(5339345,'300619','mkch (116)','mkch_116_thumb.jpg',130, 98,1,'							photo_5339345.html');
												thumbnails[5339435] = new thumbnail(5339435,'300619','mkch (194)','mkch_194_thumb.jpg',130, 195,1,'							photo_5339435.html');
												thumbnails[6985909] = new thumbnail(6985909,'378451','','DPP_0028_thumb.jpg',130, 184,1,'							photo_6985909.html');
												thumbnails[6986104] = new thumbnail(6986104,'378451','','DPP_0053_thumb.jpg',130, 92,1,'							photo_6986104.html');
												thumbnails[5339346] = new thumbnail(5339346,'300619','mkch (134)','mkch_134_thumb.jpg',130, 195,1,'							photo_5339346.html');
												thumbnails[5339436] = new thumbnail(5339436,'300619','mkch (212)','mkch_212_thumb.jpg',130, 195,1,'							photo_5339436.html');
												thumbnails[6985910] = new thumbnail(6985910,'378451','','DPP_0029_thumb.jpg',130, 92,1,'							photo_6985910.html');
												thumbnails[6986105] = new thumbnail(6986105,'378451','','DPP_0054_thumb.jpg',130, 184,1,'							photo_6986105.html');
												thumbnails[5339347] = new thumbnail(5339347,'300619','mkch (135)','mkch_135_thumb.jpg',130, 195,1,'							photo_5339347.html');
												thumbnails[6985911] = new thumbnail(6985911,'378451','','DPP_0030_thumb.jpg',130, 92,1,'							photo_6985911.html');
												thumbnails[6986106] = new thumbnail(6986106,'378451','','DPP_0055_thumb.jpg',130, 184,1,'							photo_6986106.html');
												thumbnails[5339349] = new thumbnail(5339349,'300619','mkch (141)','mkch_141_thumb.jpg',130, 195,1,'							photo_5339349.html');
												thumbnails[6985918] = new thumbnail(6985918,'378451','','DPP_0031_thumb.jpg',130, 92,1,'							photo_6985918.html');
												thumbnails[6986107] = new thumbnail(6986107,'378451','','DPP_0056_thumb.jpg',130, 92,1,'							photo_6986107.html');
												thumbnails[6985919] = new thumbnail(6985919,'378451','','DPP_0032_thumb.jpg',130, 92,1,'							photo_6985919.html');
												thumbnails[6986108] = new thumbnail(6986108,'378451','','DPP_0057_thumb.jpg',130, 92,1,'							photo_6986108.html');
												thumbnails[6985920] = new thumbnail(6985920,'378451','','DPP_0033_thumb.jpg',130, 92,1,'							photo_6985920.html');
												thumbnails[6986109] = new thumbnail(6986109,'378451','','DPP_0058_thumb.jpg',130, 92,1,'							photo_6986109.html');
												thumbnails[6985921] = new thumbnail(6985921,'378451','','DPP_0034_thumb.jpg',130, 92,1,'							photo_6985921.html');
												thumbnails[6986110] = new thumbnail(6986110,'378451','','DPP_0059_thumb.jpg',130, 184,1,'							photo_6986110.html');
												thumbnails[6985922] = new thumbnail(6985922,'378451','','DPP_0035_thumb.jpg',130, 184,1,'							photo_6985922.html');
												thumbnails[6986111] = new thumbnail(6986111,'378451','','DPP_0060_thumb.jpg',130, 92,1,'							photo_6986111.html');
												thumbnails[6985925] = new thumbnail(6985925,'378451','','DPP_0036_thumb.jpg',130, 92,1,'							photo_6985925.html');
												thumbnails[6986112] = new thumbnail(6986112,'378451','','DPP_0061_thumb.jpg',130, 92,1,'							photo_6986112.html');
												thumbnails[6985926] = new thumbnail(6985926,'378451','','DPP_0037_thumb.jpg',130, 184,1,'							photo_6985926.html');
												thumbnails[6986113] = new thumbnail(6986113,'378451','','DPP_0062_thumb.jpg',130, 184,1,'							photo_6986113.html');
												thumbnails[6985927] = new thumbnail(6985927,'378451','','DPP_0038_thumb.jpg',130, 92,1,'							photo_6985927.html');
												thumbnails[6986114] = new thumbnail(6986114,'378451','','DPP_0063_thumb.jpg',130, 184,1,'							photo_6986114.html');
												thumbnails[6985928] = new thumbnail(6985928,'378451','','DPP_0039_thumb.jpg',130, 92,1,'							photo_6985928.html');
												thumbnails[6986115] = new thumbnail(6986115,'378451','','DPP_0064_thumb.jpg',130, 92,1,'							photo_6986115.html');
												thumbnails[6985929] = new thumbnail(6985929,'378451','','DPP_0040_thumb.jpg',130, 184,1,'							photo_6985929.html');
												thumbnails[6986116] = new thumbnail(6986116,'378451','','DPP_0065_thumb.jpg',130, 184,1,'							photo_6986116.html');
												thumbnails[6986117] = new thumbnail(6986117,'378451','','DPP_0066_thumb.jpg',130, 92,1,'							photo_6986117.html');
												thumbnails[6986118] = new thumbnail(6986118,'378451','','DPP_0067_thumb.jpg',130, 184,1,'							photo_6986118.html');
												thumbnails[6986119] = new thumbnail(6986119,'378451','','DPP_0068_thumb.jpg',130, 92,1,'							photo_6986119.html');
												thumbnails[6986120] = new thumbnail(6986120,'378451','','DPP_0069_thumb.jpg',130, 92,1,'							photo_6986120.html');
												thumbnails[6986121] = new thumbnail(6986121,'378451','','DPP_0070_thumb.jpg',130, 92,1,'							photo_6986121.html');
												thumbnails[6986122] = new thumbnail(6986122,'378451','','DPP_horton_7786_thumb.jpg',130, 93,1,'							photo_6986122.html');
												thumbnails[3968711] = new thumbnail(3968711,'207405','Quirky 1','quirky1_page_thumb.jpg',130, 92,1,'							photo_3968711.html');
												thumbnails[3397254] = new thumbnail(3397254,'207405','Flowers card collection','flowers_page_thumb.jpg',130, 88,1,'							photo_3397254.html');
												thumbnails[4053562] = new thumbnail(4053562,'207405','Quirky 2 collection','Quirky_2_page_thumb.jpg',130, 92,1,'							photo_4053562.html');
												thumbnails[3397106] = new thumbnail(3397106,'207405','Boats card collection','boats_page_thumb.jpg',130, 90,1,'							photo_3397106.html');
												thumbnails[3397255] = new thumbnail(3397255,'207405','Galloway landscapes card collection','galloway_landscapes_page_thumb.jpg',130, 89,1,'							photo_3397255.html');
												thumbnails[3397256] = new thumbnail(3397256,'207405','Turkeys card collection','turkeys_page_thumb.jpg',130, 85,1,'							photo_3397256.html');
												thumbnails[3397105] = new thumbnail(3397105,'207405','Animals card collection','animals_page_thumb.jpg',130, 73,1,'							photo_3397105.html');
												thumbnails[1593385] = new thumbnail(1593385,'31819','Another Man (Pinhole Photograph)','crosby004_thumb.web.jpg',130, 185,1,'							photo_1593385.html');
												thumbnails[1603533] = new thumbnail(1603533,'31819','curling002','curling002_thumb.web.jpg',130, 99,1,'							photo_1603533.html');
												thumbnails[1642575] = new thumbnail(1642575,'31819','curling001','curling001_thumb.jpg',130, 167,1,'							photo_1642575.html');
												thumbnails[1593386] = new thumbnail(1593386,'31819','Eye','eye002_thumb.web.jpg',130, 170,1,'							photo_1593386.html');
												thumbnails[1593387] = new thumbnail(1593387,'31819','Val 002','Val 002_thumb.web.jpg',130, 104,1,'							photo_1593387.html');
												thumbnails[1593388] = new thumbnail(1593388,'31819','whithorn001 crop duo','whithorn001_crop_duo_thumb.web.jpg',130, 104,1,'							photo_1593388.html');
												thumbnails[6297959] = new thumbnail(6297959,'32786','Making a show of ourselves!','IMG_7776_bw_thumb.jpg',130, 90,1,'							photo_6297959.html');
												thumbnails[456830] = new thumbnail(456830,'32786','Nice Hat, Shame About The Stick','xxx-nice_hat_shame_about_the_stick_thumb.JPG',130, 87,1,'							photo_456830.html');
												thumbnails[456834] = new thumbnail(456834,'32786','Pink Lady','xxx-pink_lady_thumb.jpg',130, 195,1,'							photo_456834.html');
												thumbnails[2273636] = new thumbnail(2273636,'32786','Susi 1','Susi_1_thumb.jpg',130, 195,1,'							photo_2273636.html');
												thumbnails[4053103] = new thumbnail(4053103,'32786','Lea 5','Lea_5_thumb.jpg',130, 189,1,'							photo_4053103.html');
												thumbnails[4053262] = new thumbnail(4053262,'32786','Susi 2','_MG_8211_bw_thumb.jpg',130, 194,1,'							photo_4053262.html');
												thumbnails[4053104] = new thumbnail(4053104,'32786','Michelle 2','Michelle_2_thumb.jpg',130, 112,1,'							photo_4053104.html');
												thumbnails[4053105] = new thumbnail(4053105,'32786','Michelle 4','Michelle_4_thumb.jpg',130, 205,1,'							photo_4053105.html');
												thumbnails[3398153] = new thumbnail(3398153,'207453','Along the Raiders Road','Along_the_Raiders_Road1_thumb.jpg',130, 87,1,'							photo_3398153.html');
												thumbnails[4274123] = new thumbnail(4274123,'207453','Autumn landscape','autumn_landscape1_thumb.jpg',130, 87,1,'							photo_4274123.html');
												thumbnails[4274450] = new thumbnail(4274450,'207453','Spring Afternoon at Otter Pool','Spring_Afternoon_at_Otter_Pool_thumb.jpg',130, 87,1,'							photo_4274450.html');
												thumbnails[3398199] = new thumbnail(3398199,'207453','Low Water at Otter Pool','feb2 (33)1_thumb.jpg',130, 195,1,'							photo_3398199.html');
												thumbnails[3875663] = new thumbnail(3875663,'207453','Autumn Leaves','Autumn_Leaves12_thumb.jpg',130, 94,1,'							photo_3875663.html');
												thumbnails[3398156] = new thumbnail(3398156,'207453','DSCF0010','DSCF0010_thumb.jpg',130, 87,1,'							photo_3398156.html');
												thumbnails[3398201] = new thumbnail(3398201,'207453','Winter Burn','jan08 (75)1_thumb.jpg',130, 195,1,'							photo_3398201.html');
												thumbnails[3398157] = new thumbnail(3398157,'207453','feb13 (31)','feb13 (31)_thumb.jpg',130, 87,1,'							photo_3398157.html');
												thumbnails[3398202] = new thumbnail(3398202,'207453','Loch trool from Caldons','loch_trool_from_caldonsA41_thumb.jpg',130, 195,1,'							photo_3398202.html');
												thumbnails[3398158] = new thumbnail(3398158,'207453','Thin Ice at Stroan Loch','feb13 (44)_thumb.jpg',130, 87,1,'							photo_3398158.html');
												thumbnails[3398160] = new thumbnail(3398160,'207453','Snowy Otter','feb2 (34)_thumb.jpg',130, 87,1,'							photo_3398160.html');
												thumbnails[3398162] = new thumbnail(3398162,'207453','Glentrool Treetops','Glentrool_Treetops_thumb.jpg',130, 87,1,'							photo_3398162.html');
												thumbnails[3398163] = new thumbnail(3398163,'207453','Huskies','Huskies_thumb.jpg',130, 87,1,'							photo_3398163.html');
												thumbnails[3398165] = new thumbnail(3398165,'207453','an earthwork labyrinth','Journey-an_earthwork_labyrinth_thumb.jpg',130, 87,1,'							photo_3398165.html');
												thumbnails[3398167] = new thumbnail(3398167,'207453','Raiders Road','march08 (16)_thumb.jpg',130, 87,1,'							photo_3398167.html');
												thumbnails[3398168] = new thumbnail(3398168,'207453','nov07 (3)','nov07 (3)_thumb.jpg',130, 87,1,'							photo_3398168.html');
												thumbnails[3398169] = new thumbnail(3398169,'207453','Autumn Loch - Raiders Road','oct07 (24)_thumb.jpg',130, 87,1,'							photo_3398169.html');
												thumbnails[3398170] = new thumbnail(3398170,'207453','Autumn Loch','_a4_thumb.jpg',130, 87,1,'							photo_3398170.html');
												thumbnails[3398171] = new thumbnail(3398171,'207453','View Through Branches Along The Raiders Road','_MG_4881_thumb.CR2.jpg',130, 87,1,'							photo_3398171.html');
												thumbnails[3398172] = new thumbnail(3398172,'207453','Beside Stroan Loch','_MG_4906_thumb.CR2.jpg',130, 87,1,'							photo_3398172.html');
												thumbnails[408275] = new thumbnail(408275,'32790','Late Afternoon Daffs','Late_afternoon_daffodils_thumb.jpg',130, 98,1,'							photo_408275.html');
												thumbnails[454730] = new thumbnail(454730,'32790','Swan Shadows','SS1_thumb.JPG',130, 218,1,'							photo_454730.html');
												thumbnails[454942] = new thumbnail(454942,'32790','A Rose After Rain','xxx-a_rose_after_rain_thumb.jpg',130, 98,1,'							photo_454942.html');
												thumbnails[454943] = new thumbnail(454943,'32790','Kingcup','xxx-kingcup_thumb.jpg',130, 173,1,'							photo_454943.html');
												thumbnails[454945] = new thumbnail(454945,'32790','Jacob\'s Ladder','New Image_thumb.JPG',130, 173,1,'							photo_454945.html');
												thumbnails[454946] = new thumbnail(454946,'32790','Bluebells ','xxx-bluebells_of_scotland_thumb.jpg',130, 173,1,'							photo_454946.html');
												thumbnails[454950] = new thumbnail(454950,'32790','Galloway Ransomes','xxx-galloway_ ransomes_thumb.jpg',130, 98,1,'							photo_454950.html');
												thumbnails[454952] = new thumbnail(454952,'32790','Peony','xxx-peony_thumb.jpg',130, 87,1,'							photo_454952.html');
												thumbnails[454953] = new thumbnail(454953,'32790','Periwinkle','xxx-periwinkle_thumb.jpg',130, 173,1,'							photo_454953.html');
												thumbnails[454955] = new thumbnail(454955,'32790','Petunia Heart','xxx-petunia_heart_thumb.jpg',130, 92,1,'							photo_454955.html');
												thumbnails[454956] = new thumbnail(454956,'32790','Red Poppy','xxx-red_poppy_thumb.jpg',130, 98,1,'							photo_454956.html');
												thumbnails[454958] = new thumbnail(454958,'32790','Tangles','xxx-tangles_thumb.jpg',130, 176,1,'							photo_454958.html');
												thumbnails[456812] = new thumbnail(456812,'32790','Boxing Day Calves','xxx-boxing_ day_ calvesreduced1_thumb.jpg',130, 98,1,'							photo_456812.html');
												thumbnails[456814] = new thumbnail(456814,'32790','Hunting The Newt','xxx-hunting_the_newtreduced1_thumb.jpg',130, 98,1,'							photo_456814.html');
												thumbnails[456816] = new thumbnail(456816,'32790','Mothers Bleating','xxx-mothers_ bleatingreduced1_thumb.jpg',130, 89,1,'							photo_456816.html');
												thumbnails[456822] = new thumbnail(456822,'32790','Out To Munch','xxx-out_to_munch reduced1_thumb.jpg',130, 98,1,'							photo_456822.html');
												thumbnails[456825] = new thumbnail(456825,'32790','Sheep and Stones','xxx-sheep_ and_ stonesreduced_thumb.jpg',130, 83,1,'							photo_456825.html');
												thumbnails[483655] = new thumbnail(483655,'32790','Willow Buds','xxx-willow_ buds_thumb.jpg',130, 173,1,'							photo_483655.html');
												thumbnails[483656] = new thumbnail(483656,'32790','Tulip','xxx-tulip_thumb.jpg',130, 87,1,'							photo_483656.html');
												thumbnails[483657] = new thumbnail(483657,'32790','The Pollen Count','xxx-the_pollen_count_thumb.jpg',130, 173,1,'							photo_483657.html');
												thumbnails[4045755] = new thumbnail(4045755,'32790','Young Chaffinch','Young_chaffinc_thumb.jpg',130, 152,1,'							photo_4045755.html');
												thumbnails[2300450] = new thumbnail(2300450,'32790','Reindeer Moss','Reindeer_Moss_thumb.jpg',130, 87,1,'							photo_2300450.html');
												thumbnails[3200397] = new thumbnail(3200397,'32790','Frost-kissed','frost-kissed_thumb.jpg',130, 87,1,'							photo_3200397.html');
												thumbnails[3962027] = new thumbnail(3962027,'32790','Lurcher at Cairnholy','Lurcher_at_Cairnholy_thumb.jpg',130, 87,1,'							photo_3962027.html');
												thumbnails[4058514] = new thumbnail(4058514,'32790','Sam Thrice','Sam_Thrice_thumb.jpg',130, 48,1,'							photo_4058514.html');
												thumbnails[4167789] = new thumbnail(4167789,'32790','One Fine Swan','One_Fine_Swan_thumb.jpg',130, 195,1,'							photo_4167789.html');
												thumbnails[4167873] = new thumbnail(4167873,'32790','Winter Remnant','Winter_Remnant_thumb.jpg',130, 87,1,'							photo_4167873.html');
												thumbnails[3200390] = new thumbnail(3200390,'32790','Bonny cockerel','Bonny_cockerel_thumb.jpg',130, 182,1,'							photo_3200390.html');
												thumbnails[3347724] = new thumbnail(3347724,'32790','Frosty teazle','_MG_5510_thumb.jpg',130, 169,1,'							photo_3347724.html');
												thumbnails[3347760] = new thumbnail(3347760,'32790','Frosty bracken','IMG_5504_thumb.jpg',130, 156,1,'							photo_3347760.html');
												thumbnails[4167790] = new thumbnail(4167790,'32790','Quenching a thirst','Quenching_a_thirst_thumb.jpg',130, 87,1,'							photo_4167790.html');
												thumbnails[4167791] = new thumbnail(4167791,'32790','Sam Thrice','Sam_Thrice1_thumb.jpg',130, 48,1,'							photo_4167791.html');
												thumbnails[4930341] = new thumbnail(4930341,'32790','vine leaves-(7)','vine_leaves-7_thumb.jpg',130, 130,1,'							photo_4930341.html');
												thumbnails[4167792] = new thumbnail(4167792,'32790','Seedhead','Seedhead_thumb.jpg',130, 195,1,'							photo_4167792.html');
												thumbnails[4930342] = new thumbnail(4930342,'32790','vine leaves1','vine_leaves1_thumb.jpg',130, 86,1,'							photo_4930342.html');
												thumbnails[3347727] = new thumbnail(3347727,'32790','Mac','_MG_5637_thumb.jpg',130, 87,1,'							photo_3347727.html');
												thumbnails[3875666] = new thumbnail(3875666,'32790','Huskies','Huskies1_thumb.jpg',130, 87,1,'							photo_3875666.html');
												thumbnails[4930343] = new thumbnail(4930343,'32790','vine leaves2','vine_leaves2_thumb.jpg',130, 87,1,'							photo_4930343.html');
												thumbnails[4930344] = new thumbnail(4930344,'32790','vine leaves3','vine_leaves3_thumb.jpg',130, 87,1,'							photo_4930344.html');
												thumbnails[4930345] = new thumbnail(4930345,'32790','vine leaves4','vine_leaves4_thumb.jpg',130, 89,1,'							photo_4930345.html');
												thumbnails[4930346] = new thumbnail(4930346,'32790','vine leaves J','vine_leaves_J_thumb.jpg',130, 112,1,'							photo_4930346.html');
												thumbnails[2227537] = new thumbnail(2227537,'32791','Surface Men 1','Surfacemen (2)_thumb.jpg',130, 87,1,'							photo_2227537.html');
												thumbnails[2243543] = new thumbnail(2243543,'32791','Surface Men','Surfacemen (11)_crop_thumb.jpg',130, 184,1,'							photo_2243543.html');
												thumbnails[2227458] = new thumbnail(2227458,'32791','Dancing Ducks','Supernature (9)_thumb.jpg',130, 180,1,'							photo_2227458.html');
												thumbnails[2227468] = new thumbnail(2227468,'32791','Disco dancing in the Dark','Supernature (33)_thumb.jpg',130, 87,1,'							photo_2227468.html');
												thumbnails[2227490] = new thumbnail(2227490,'32791','Unexpected bathroom accessories','Supernature (39)_thumb.jpg',130, 195,1,'							photo_2227490.html');
												thumbnails[2227503] = new thumbnail(2227503,'32791','Funky Bunny','Supernature (45)_thumb.jpg',130, 87,1,'							photo_2227503.html');
												thumbnails[2227524] = new thumbnail(2227524,'32791','Woodland Folk','Supernature (47)_thumb.jpg',130, 87,1,'							photo_2227524.html');
												thumbnails[1592111] = new thumbnail(1592111,'32791',' MG 2237','_MG_2237_thumb.jpg',130, 87,1,'							photo_1592111.html');
												thumbnails[1592123] = new thumbnail(1592123,'32791',' MG 2261','_MG_2261_thumb.jpg',130, 87,1,'							photo_1592123.html');
												thumbnails[1592162] = new thumbnail(1592162,'32791','DSCF0192','DSCF0192_thumb.jpg',130, 69,1,'							photo_1592162.html');
												thumbnails[1592172] = new thumbnail(1592172,'32791','Peter Donegan, son of Lonnie. Lovely man, great musician.','DSCF0224_thumb.jpg',130, 157,1,'							photo_1592172.html');
												thumbnails[1592180] = new thumbnail(1592180,'32791','IMG 2400','IMG_2400_thumb.jpg',130, 224,1,'							photo_1592180.html');
												thumbnails[4167441] = new thumbnail(4167441,'32791','Surfacemen (1 1)','Surfacemen_1_1_thumb.jpg',130, 87,1,'							photo_4167441.html');
												thumbnails[1592124] = new thumbnail(1592124,'32791',' MG 2274','_MG_2274_thumb.jpg',130, 195,1,'							photo_1592124.html');
												thumbnails[1592163] = new thumbnail(1592163,'32791','DSCF0205','DSCF0205_thumb.jpg',130, 156,1,'							photo_1592163.html');
												thumbnails[1592173] = new thumbnail(1592173,'32791','DSCF0229','DSCF0229_thumb.jpg',130, 97,1,'							photo_1592173.html');
												thumbnails[1592181] = new thumbnail(1592181,'32791','IMG 2414','IMG_2414_thumb.jpg',130, 101,1,'							photo_1592181.html');
												thumbnails[4167442] = new thumbnail(4167442,'32791','tommy trousdale','tommy_trousdale_thumb.jpg',130, 87,1,'							photo_4167442.html');
												thumbnails[1592125] = new thumbnail(1592125,'32791',' MG 2277','_MG_2277_thumb.jpg',130, 87,1,'							photo_1592125.html');
												thumbnails[1592164] = new thumbnail(1592164,'32791','DSCF0210','DSCF0210_thumb.jpg',130, 92,1,'							photo_1592164.html');
												thumbnails[1592174] = new thumbnail(1592174,'32791','IMG 2367','IMG_2367_thumb.jpg',130, 188,1,'							photo_1592174.html');
												thumbnails[1592182] = new thumbnail(1592182,'32791','Tommy Trousdale','IMG_2417_thumb.jpg',130, 87,1,'							photo_1592182.html');
												thumbnails[1592126] = new thumbnail(1592126,'32791',' MG 2293','_MG_2293_thumb.jpg',130, 203,1,'							photo_1592126.html');
												thumbnails[1592165] = new thumbnail(1592165,'32791','DSCF0211','DSCF0211_thumb.jpg',130, 98,1,'							photo_1592165.html');
												thumbnails[1592175] = new thumbnail(1592175,'32791','IMG 2371','IMG_2371_thumb.jpg',130, 202,1,'							photo_1592175.html');
												thumbnails[1592183] = new thumbnail(1592183,'32791','IMG 2568','IMG_2568_thumb.jpg',130, 181,1,'							photo_1592183.html');
												thumbnails[1592127] = new thumbnail(1592127,'32791',' MG 2335','_MG_2335_thumb.jpg',130, 87,1,'							photo_1592127.html');
												thumbnails[1592166] = new thumbnail(1592166,'32791',' MG 2439','_MG_2439_thumb.jpg',130, 90,1,'							photo_1592166.html');
												thumbnails[1592176] = new thumbnail(1592176,'32791','IMG 2373','IMG_2373_thumb.jpg',130, 90,1,'							photo_1592176.html');
												thumbnails[454940] = new thumbnail(454940,'32792','Shady Character','SC2_thumb.JPG',130, 195,1,'							photo_454940.html');
												thumbnails[456820] = new thumbnail(456820,'32792','Ok - just ignore me','xxx-ok_just_ignore_mereduced1_thumb.jpg',130, 98,1,'							photo_456820.html');
												thumbnails[456824] = new thumbnail(456824,'32792','SeeSaw Sheep','xxx-seesaw_sheepreduced1_thumb.jpg',130, 98,1,'							photo_456824.html');
												thumbnails[456835] = new thumbnail(456835,'32792','A Handbag','xxx-a_handbagreduced_thumb.jpg',130, 182,1,'							photo_456835.html');
												thumbnails[456838] = new thumbnail(456838,'32792','And You Can Even See Your Face In The Bath','xxx-and_ you_ can_ even_ see_ your_ face_ in_ the_ bath_thumb.jpg',130, 98,1,'							photo_456838.html');
												thumbnails[456840] = new thumbnail(456840,'32792','Forty Winks','xxx-forty_winksreduced_thumb.jpg',130, 87,1,'							photo_456840.html');
												thumbnails[456845] = new thumbnail(456845,'32792','No Brainer','New Image1_thumb.JPG',130, 195,1,'							photo_456845.html');
												thumbnails[456848] = new thumbnail(456848,'32792','Pink Window','xxx-pink_windowreduced_thumb.jpg',130, 87,1,'							photo_456848.html');
												thumbnails[456849] = new thumbnail(456849,'32792','Shaking Sally','xxx-shaking_sallyreduced_thumb.jpg',130, 98,1,'							photo_456849.html');
												thumbnails[456904] = new thumbnail(456904,'32792','Unicyclist','xxx-unicyclereduced_thumb.jpg',130, 179,1,'							photo_456904.html');
												thumbnails[2233170] = new thumbnail(2233170,'32792','Masks for Sale','venice (163)_thumb.jpg',130, 184,1,'							photo_2233170.html');
												thumbnails[4200129] = new thumbnail(4200129,'32792','','wee_red_byre_2_ws_thumb.jpg',130, 87,1,'							photo_4200129.html');
												thumbnails[4837579] = new thumbnail(4837579,'32792','Wigtown Harbour View_2','Wigtown_Harbour_view_2_thumb.jpg',130, 98,1,'							photo_4837579.html');
												thumbnails[1592071] = new thumbnail(1592071,'32792','Balloon down','xxx-balloon_downreduced1_thumb.jpg',130, 98,1,'							photo_1592071.html');
												thumbnails[1592073] = new thumbnail(1592073,'32792','get netted','xxx-get_nettedreduced1_thumb.jpg',130, 98,1,'							photo_1592073.html');
												thumbnails[1592075] = new thumbnail(1592075,'32792','missing you','xxx-missing_youreduced1_thumb.jpg',130, 180,1,'							photo_1592075.html');
												thumbnails[1630006] = new thumbnail(1630006,'32792','Busy lady','Busy_lady_thumb.jpg',130, 87,1,'							photo_1630006.html');
												thumbnails[3875962] = new thumbnail(3875962,'32792','Stone circle at Cambret 2','Stone_circle_at_cambret_edges_thumb.jpg',130, 173,1,'							photo_3875962.html');
												thumbnails[3959517] = new thumbnail(3959517,'32792','Wigtown Harbour View 3','wigtown_harbour_view_3_thumb.jpg',130, 86,1,'							photo_3959517.html');
												thumbnails[3962019] = new thumbnail(3962019,'32792','Angel  2','angel_grey_2_thumb.jpg',130, 195,1,'							photo_3962019.html');
												thumbnails[3962035] = new thumbnail(3962035,'32792','Torhouse','torhouse_thumb.jpg',130, 195,1,'							photo_3962035.html');
												thumbnails[3962040] = new thumbnail(3962040,'32792','Tradition 2','Tradition_2_thumb.jpg',130, 87,1,'							photo_3962040.html');
												thumbnails[3962067] = new thumbnail(3962067,'32792','Autumn Leaves 2','Autumn_Leaves_2_thumb.jpg',130, 94,1,'							photo_3962067.html');
												thumbnails[3974531] = new thumbnail(3974531,'32792','Tin Can Alley','Tin_Can_Alley1_thumb.jpg',130, 87,1,'							photo_3974531.html');
												thumbnails[4051924] = new thumbnail(4051924,'32792','Seashells  at  Tao  O  2','Seashells__at__Tao__O__21_thumb.jpg',130, 161,1,'							photo_4051924.html');
												thumbnails[4058778] = new thumbnail(4058778,'32792','Eve 2','Eve_2_thumb.jpg',130, 87,1,'							photo_4058778.html');
												thumbnails[4167870] = new thumbnail(4167870,'32792','the pollen count 2','the_pollen_count_2_thumb.jpg',130, 173,1,'							photo_4167870.html');
												thumbnails[4167938] = new thumbnail(4167938,'32792','Mergellina evening 2','Mergellina_evening_2_thumb.jpg',130, 87,1,'							photo_4167938.html');
												thumbnails[4167945] = new thumbnail(4167945,'32792','Torhouse Stone Circle  3','Torhouse_Stone_Circlemono_thumb.jpg',130, 87,1,'							photo_4167945.html');
												thumbnails[4167955] = new thumbnail(4167955,'32792','Torhouse Stone Circle 2','Torhouse_Stone_Circle_2_thumb.jpg',130, 87,1,'							photo_4167955.html');
												thumbnails[1614269] = new thumbnail(1614269,'32792','Sitting Pretty','_MG_1960jpg_thumb.jpg',130, 83,1,'							photo_1614269.html');
												thumbnails[4167863] = new thumbnail(4167863,'32792','the pollen count 3','the_pollen_count_3_thumb.jpg',130, 173,1,'							photo_4167863.html');
												thumbnails[4167934] = new thumbnail(4167934,'32792','Mergellina evening 3','Mergellina_evening_3_thumb.jpg',130, 87,1,'							photo_4167934.html');
												thumbnails[4199924] = new thumbnail(4199924,'32792','wee red byre 3 ','wee_red_byre_3_ws_thumb.jpg',130, 87,1,'							photo_4199924.html');
												thumbnails[3347762] = new thumbnail(3347762,'32792','Cairnholy 2','_MG_5464_thumb.CR2_edges.jpg',130, 195,1,'							photo_3347762.html');
												thumbnails[3875665] = new thumbnail(3875665,'32792','Facing the Nith 2','Facing_the_Nith_edges_thumb.jpg',130, 205,1,'							photo_3875665.html');
												thumbnails[408296] = new thumbnail(408296,'32793','Autumn stream','xxx-autumn_stream_thumb.jpg',130, 98,1,'							photo_408296.html');
												thumbnails[408322] = new thumbnail(408322,'32793','Cool waters','xxx-cool_waters_thumb.jpg',130, 98,1,'							photo_408322.html');
												thumbnails[408393] = new thumbnail(408393,'32793','kirkcudbright harbour','xxx-kirkcudbright_harbour_thumb.jpg',130, 173,1,'							photo_408393.html');
												thumbnails[5258033] = new thumbnail(5258033,'32793','Glen of the Bar','glen_ofthe_bar_3_thumb.JPG',130, 87,1,'							photo_5258033.html');
												thumbnails[3956961] = new thumbnail(3956961,'32793','Cairnholy_2 ','cairnholy_wd_thumb.jpg',130, 195,1,'							photo_3956961.html');
												thumbnails[1584172] = new thumbnail(1584172,'32793','Creetown nets at dusk','creetown_nets_at_duskreduced_thumb.jpg',130, 195,1,'							photo_1584172.html');
												thumbnails[1584307] = new thumbnail(1584307,'32793','messing about on the river','messing_about_on_the_riverreduced_thumb.jpg',130, 184,1,'							photo_1584307.html');
												thumbnails[1609486] = new thumbnail(1609486,'32793','Autumn at Clatteringshaws Loch','autumn loch_thumb.jpg',130, 87,1,'							photo_1609486.html');
												thumbnails[3039814] = new thumbnail(3039814,'32793','The View Over the Loch','_MG_5440_thumb.CR2_web.jpg',130, 87,1,'							photo_3039814.html');
												thumbnails[3200389] = new thumbnail(3200389,'32793','Along the Raiders Road','Along_the_Raiders_Road_thumb.jpg',130, 87,1,'							photo_3200389.html');
												thumbnails[3347758] = new thumbnail(3347758,'32793','Cairnholy in Sepia','IMG_5469_sepia_thumb.jpg',130, 85,1,'							photo_3347758.html');
												thumbnails[3875662] = new thumbnail(3875662,'32793','Ailsa Craig at Girvan','Ailsa_Craig_at_Girvan_thumb.jpg',130, 49,1,'							photo_3875662.html');
												thumbnails[4929852] = new thumbnail(4929852,'32793','Clatteringshaws Loch','clatteringshaws-2_thumb.jpg',130, 85,1,'							photo_4929852.html');
												thumbnails[4930092] = new thumbnail(4930092,'32793','Beside the Loch','clatteringshaws-3_thumb.jpg',130, 87,1,'							photo_4930092.html');
												thumbnails[1584308] = new thumbnail(1584308,'32793','silage fields ','silage_fields (1)reduced_thumb.jpg',130, 173,1,'							photo_1584308.html');
												thumbnails[2300451] = new thumbnail(2300451,'32793','The Avenue','the_avenue_thumb.jpg',130, 173,1,'							photo_2300451.html');
												thumbnails[1584174] = new thumbnail(1584174,'32793','Thin ice','thin_ice_ at_ garrocherreduced_thumb.jpg',130, 98,1,'							photo_1584174.html');
												thumbnails[1584309] = new thumbnail(1584309,'32793','The Man','the_man (4)reduced2_thumb.jpg',130, 173,1,'							photo_1584309.html');
												thumbnails[1609488] = new thumbnail(1609488,'32793','Loch Ken October','Loch_ken_october_thumb.jpg',130, 85,1,'							photo_1609488.html');
												thumbnails[2300438] = new thumbnail(2300438,'32793','Distant  Snow','Distant_ Snow_thumb.jpg',130, 81,1,'							photo_2300438.html');
												thumbnails[2300452] = new thumbnail(2300452,'32793','Towards the hills','towards_the_hills_thumb.jpg',130, 87,1,'							photo_2300452.html');
												thumbnails[3200399] = new thumbnail(3200399,'32793','Gallowa\'  hills','Gallowa_hills_thumb.jpg',130, 87,1,'							photo_3200399.html');
												thumbnails[4930094] = new thumbnail(4930094,'32793','Towards Craignell','clatteringshaws-4_thumb.jpg',130, 87,1,'							photo_4930094.html');
												thumbnails[1584273] = new thumbnail(1584273,'32793','wigtown harbour view','wigtown_harbour_viewreduced_thumb.jpg',130, 98,1,'							photo_1584273.html');
												thumbnails[1584310] = new thumbnail(1584310,'32793','whitesands','whitesandsreduced_thumb.jpg',130, 98,1,'							photo_1584310.html');
												thumbnails[2300439] = new thumbnail(2300439,'32793','Early Spring Snow','Early_Spring_Snow_thumb.jpg',130, 87,1,'							photo_2300439.html');
												thumbnails[2300453] = new thumbnail(2300453,'32793','Wee red byre','wee_red_byre_thumb.jpg',130, 87,1,'							photo_2300453.html');
												thumbnails[3200392] = new thumbnail(3200392,'32793','Facing the Nith','facing_the _nith_thumb.jpg',130, 205,1,'							photo_3200392.html');
												thumbnails[3200400] = new thumbnail(3200400,'32793','Loch Trool from Caldons','loch_trool_from_caldons_thumb.jpg',130, 173,1,'							photo_3200400.html');
												thumbnails[3347726] = new thumbnail(3347726,'32793','Winter afternoon','_MG_5601_thumb.crop.jpg',130, 44,1,'							photo_3347726.html');
												thumbnails[1584311] = new thumbnail(1584311,'32793','wigtown  harbour','wigtown_ harbourreduced1_thumb.jpg',130, 174,1,'							photo_1584311.html');
												thumbnails[2300454] = new thumbnail(2300454,'32793','Winter sunshine','winter_sunshine_thumb.jpg',130, 195,1,'							photo_2300454.html');
												thumbnails[3200401] = new thumbnail(3200401,'32793','Nith Reflections ','Nith Reflections 1_thumb.jpg',130, 98,1,'							photo_3200401.html');
												thumbnails[3962050] = new thumbnail(3962050,'32793','Yellow','yellow_thumb.jpg',130, 41,1,'							photo_3962050.html');
												thumbnails[408413] = new thumbnail(408413,'32794','millenium bridge gateshead','xxx-millenim_bridge_gateshead_thumb.jpg',130, 98,1,'							photo_408413.html');
												thumbnails[408434] = new thumbnail(408434,'32794','sage centre','xxx-sage_centre_thumb.jpg',130, 279,1,'							photo_408434.html');
												thumbnails[456827] = new thumbnail(456827,'32794','Angel of The North','angel_of_the_north A3plus(1)reduced_thumb.jpg',130, 195,1,'							photo_456827.html');
												thumbnails[3962049] = new thumbnail(3962049,'32794','Westminster windows','Westminster-windows_thumb.jpg',130, 163,1,'							photo_3962049.html');
												thumbnails[3200393] = new thumbnail(3200393,'32794',' Angel (in colour)','_angelMG_4741_thumb.jpg',130, 195,1,'							photo_3200393.html');
												thumbnails[2450651] = new thumbnail(2450651,'32795','Edinburgh by night (1)','edinbrgh_by_night (1)_thumb.jpg',130, 98,1,'							photo_2450651.html');
												thumbnails[2450652] = new thumbnail(2450652,'32795','Leith docks','leith_docks_thumb.jpg',130, 111,1,'							photo_2450652.html');
												thumbnails[454725] = new thumbnail(454725,'32799','Burano Reflections','xxx-burano_reflectionsreduced1_thumb.jpg',130, 87,1,'							photo_454725.html');
												thumbnails[454729] = new thumbnail(454729,'32799','St Marks Square','venice (325)_thumb.jpg',130, 195,1,'							photo_454729.html');
												thumbnails[454743] = new thumbnail(454743,'32799','Grand Canal','xxx-grand_canalreduced_thumb.jpg',130, 88,1,'							photo_454743.html');
												thumbnails[454930] = new thumbnail(454930,'32799','Burano Lacemakers','xxx-burano_lacemakersreduced2_thumb.jpg',130, 88,1,'							photo_454930.html');
												thumbnails[454933] = new thumbnail(454933,'32799','Murano Wheelbarrow','xxx-murano_wheelbarrowreduced_thumb.jpg',130, 87,1,'							photo_454933.html');
												thumbnails[454935] = new thumbnail(454935,'32799','Traghetti','xxx-traghettireduced_thumb.jpg',130, 98,1,'							photo_454935.html');
												thumbnails[454936] = new thumbnail(454936,'32799','Treviso waterwheel','xxx-treviso_millwheelreduced_thumb.jpg',130, 98,1,'							photo_454936.html');
												thumbnails[454937] = new thumbnail(454937,'32799','Venice By Night','xxx-venice_by_nightreduced_thumb.jpg',130, 87,1,'							photo_454937.html');
												thumbnails[1609913] = new thumbnail(1609913,'32799','Glass umbrella','glass_umbrella_thumb.jpg',130, 87,1,'							photo_1609913.html');
												thumbnails[1614268] = new thumbnail(1614268,'32799','Montesanto','_MG_1863_thumb.jpg',130, 195,1,'							photo_1614268.html');
												thumbnails[1618265] = new thumbnail(1618265,'32799','Boat and huts','boat_and_huts_thumb.jpg',130, 87,1,'							photo_1618265.html');
												thumbnails[1609914] = new thumbnail(1609914,'32799','All Mouth','milan_centrale_thumb.jpg',130, 195,1,'							photo_1609914.html');
												thumbnails[1618266] = new thumbnail(1618266,'32799','Huts and boat','huts_and_boat_thumb.jpg',130, 87,1,'							photo_1618266.html');
												thumbnails[1609915] = new thumbnail(1609915,'32799','Eve','milan_eve_thumb.jpg',130, 87,1,'							photo_1609915.html');
												thumbnails[1618267] = new thumbnail(1618267,'32799','Evening at Mergellina','sunset_harbour_thumb.jpg',130, 87,1,'							photo_1618267.html');
												thumbnails[1609916] = new thumbnail(1609916,'32799','Umberto\'s Roof','Victor\'s_Roof_thumb.jpg',130, 87,1,'							photo_1609916.html');
												thumbnails[1618268] = new thumbnail(1618268,'32799','Washday','washday_thumb.jpg',130, 98,1,'							photo_1618268.html');
												thumbnails[2300035] = new thumbnail(2300035,'32800','Busy Lady','Busy_lady1_thumb.jpg',130, 87,1,'							photo_2300035.html');
												thumbnails[1629993] = new thumbnail(1629993,'32800','Another Venice','Another_Venice_thumb.jpg',130, 198,1,'							photo_1629993.html');
												thumbnails[1630014] = new thumbnail(1630014,'32800','Thai garden','Thai_garden_thumb.jpg',130, 87,1,'							photo_1630014.html');
												thumbnails[3678365] = new thumbnail(3678365,'32800','Skybridge-Petronas Towers','_MG_5840__thumb.jpg',130, 87,1,'							photo_3678365.html');
												thumbnails[3678379] = new thumbnail(3678379,'32800','Lantau beach','_MG_5911__thumb.jpg',130, 89,1,'							photo_3678379.html');
												thumbnails[1630007] = new thumbnail(1630007,'32800','Ivory Factory','Ivory_Factory_thumb.jpg',130, 87,1,'							photo_1630007.html');
												thumbnails[3678366] = new thumbnail(3678366,'32800','Street Scene -Kuala Lumpur','_MG_5871__thumb.jpg',130, 180,1,'							photo_3678366.html');
												thumbnails[3678380] = new thumbnail(3678380,'32800','Tao O Harbour','_MG_5917__thumb.jpg',130, 86,1,'							photo_3678380.html');
												thumbnails[3678367] = new thumbnail(3678367,'32800','Three','_MG_5890__thumb.jpg',130, 169,1,'							photo_3678367.html');
												thumbnails[3678381] = new thumbnail(3678381,'32800','Seashells at Tao O market, Lantau Island, Hong Kong','_MG_5923__thumb.jpg',130, 161,1,'							photo_3678381.html');
												thumbnails[1629994] = new thumbnail(1629994,'32800','Marble beauty','marble_beauty_thumb.jpg',130, 184,1,'							photo_1629994.html');
												thumbnails[3678368] = new thumbnail(3678368,'32800','Cat St Market, Hong Kong','_MG_5906__thumb.jpg',130, 85,1,'							photo_3678368.html');
												thumbnails[3678382] = new thumbnail(3678382,'32800','Offering ','_MG_5958__thumb.jpg',130, 137,1,'							photo_3678382.html');
												thumbnails[1629995] = new thumbnail(1629995,'32800','What a view!','merlion_outlook_thumb.jpg',130, 87,1,'							photo_1629995.html');
												thumbnails[3678369] = new thumbnail(3678369,'32800','Figures, Cat St, Hong Kong ','_MG_5907__thumb.jpg',130, 87,1,'							photo_3678369.html');
												thumbnails[3678383] = new thumbnail(3678383,'32800','Commercial shine','_MG_5988__thumb.jpg',130, 87,1,'							photo_3678383.html');
												thumbnails[1629996] = new thumbnail(1629996,'32800','Scaffold','Scaffold_thumb.jpg',130, 87,1,'							photo_1629996.html');
												thumbnails[1629997] = new thumbnail(1629997,'32800','Standing Buddha','Standing_Buddha_thumb.jpg',130, 195,1,'							photo_1629997.html');
												thumbnails[454733] = new thumbnail(454733,'32801','Scarborough Foam','xxx-scarborough_foamreduced_thumb.jpg',130, 98,1,'							photo_454733.html');
												thumbnails[454887] = new thumbnail(454887,'32801','Sydney Opera House','xxx-sydney_opera_housereduced1_thumb.jpg',130, 89,1,'							photo_454887.html');
												thumbnails[454892] = new thumbnail(454892,'32801','Inside Out','xxx-inside_outreduced2_thumb.jpg',130, 87,1,'							photo_454892.html');
												thumbnails[454894] = new thumbnail(454894,'32801','Light Opera','xxx-light _operareduced2_thumb.jpg',130, 98,1,'							photo_454894.html');
												thumbnails[456809] = new thumbnail(456809,'32801','Three Sisters','IMG_1010_thumb.jpg',130, 87,1,'							photo_456809.html');
												thumbnails[408388] = new thumbnail(408388,'36057','july sunset','xxx-july_sunset_thumb.jpg',130, 173,1,'							photo_408388.html');
												thumbnails[454656] = new thumbnail(454656,'36057','Balloch Wood in the Fog','BWIF_thumb.JPG',130, 195,1,'							photo_454656.html');
												thumbnails[454665] = new thumbnail(454665,'36057','Cobweb','cobweb_thumb.jpg',130, 96,1,'							photo_454665.html');
												thumbnails[454720] = new thumbnail(454720,'36057','Foggy Morning','foggy morning_thumb.jpg',130, 87,1,'							photo_454720.html');
												thumbnails[454900] = new thumbnail(454900,'36057','Reed','FR_thumb.JPG',130, 200,1,'							photo_454900.html');
												thumbnails[454916] = new thumbnail(454916,'36057','Winter Sunburst','WS_thumb.JPG',130, 173,1,'							photo_454916.html');
												thumbnails[2300174] = new thumbnail(2300174,'36057','Hudson River Sunset','hudson_river_sunset_thumb.jpg',130, 98,1,'							photo_2300174.html');
												thumbnails[2300178] = new thumbnail(2300178,'36057','Misty Sunrise, Gatehouse of Fleet','misty_sunrise_gatehouse (3)_thumb.jpg',130, 87,1,'							photo_2300178.html');
												thumbnails[2300195] = new thumbnail(2300195,'36057','Spring Sunrise','spring_sunrise_thumb.jpg',130, 87,1,'							photo_2300195.html');
												thumbnails[2300226] = new thumbnail(2300226,'36057','Sundog','sundog_thumb.jpg',130, 87,1,'							photo_2300226.html');
												thumbnails[2300234] = new thumbnail(2300234,'36057','As The Light Declines','sundown_thumb.jpg',130, 87,1,'							photo_2300234.html');
												thumbnails[2300404] = new thumbnail(2300404,'36057','Sunset Ducks 1','sunset_ducks 1_thumb.jpg',130, 182,1,'							photo_2300404.html');
												thumbnails[2300436] = new thumbnail(2300436,'36057','Across the clyde','across_the_clyde_thumb.jpg',130, 84,1,'							photo_2300436.html');
												thumbnails[1609487] = new thumbnail(1609487,'36057','Foggy loch','foggy_loch_thumb.jpg',130, 87,1,'							photo_1609487.html');
												thumbnails[2300437] = new thumbnail(2300437,'36057','cassencarie dusk','cassencarie_dusk_thumb.jpg',130, 87,1,'							photo_2300437.html');
												thumbnails[3200391] = new thumbnail(3200391,'36057','Evening calm','evening_calm_thumb.jpg',130, 92,1,'							photo_3200391.html');
												thumbnails[3347725] = new thumbnail(3347725,'36057','Cold, cold estuary','_MG_5570_thumb.jpg',130, 195,1,'							photo_3347725.html');
												thumbnails[1609489] = new thumbnail(1609489,'36057','Orange mist','orange_loch_thumb.jpg',130, 195,1,'							photo_1609489.html');
												thumbnails[2300440] = new thumbnail(2300440,'36057','stake nets','stake_nets_thumb.jpg',130, 87,1,'							photo_2300440.html');
												thumbnails[2450636] = new thumbnail(2450636,'158004','London from the Eye','DPP_0001_tweaked_thumb.jpg',130, 87,1,'							photo_2450636.html');
												thumbnails[2450638] = new thumbnail(2450638,'158004','jig02','jig02_thumb.jpg',130, 85,1,'							photo_2450638.html');
												thumbnails[2450639] = new thumbnail(2450639,'158004','jig03','jig03_thumb.jpg',130, 97,1,'							photo_2450639.html');
												thumbnails[2450640] = new thumbnail(2450640,'158004','Naples','jig04_thumb.jpg',130, 188,1,'							photo_2450640.html');
												thumbnails[2785263] = new thumbnail(2785263,'174384','Creetown at Christmas ','creetown_at_christmas_web_thumb.jpg',130, 195,1,'							photo_2785263.html');
												thumbnails[2785286] = new thumbnail(2785286,'174384','Boxing Day Calves','_web_thumb.jpg',130, 98,1,'							photo_2785286.html');
												thumbnails[2785321] = new thumbnail(2785321,'174384','Hong Kong message','hk_xmas_web_thumb.jpg',130, 87,1,'							photo_2785321.html');
												thumbnails[2953207] = new thumbnail(2953207,'174384','Naked Turkeys','Naked_Turkeys_thumb.jpg',130, 182,1,'							photo_2953207.html');
												thumbnails[2956159] = new thumbnail(2956159,'174384','Lovely on the outside','IMG_5056_thumb.jpg',130, 189,1,'							photo_2956159.html');
												thumbnails[2785264] = new thumbnail(2785264,'174384','Snowy Road at the Curling Ponds','snow_landscape_road11_web_thumb.jpg',130, 98,1,'							photo_2785264.html');
												thumbnails[2953208] = new thumbnail(2953208,'174384','Turkey Feathers','Turkey_Feathers_thumb.jpg',130, 182,1,'							photo_2953208.html');
												thumbnails[2956160] = new thumbnail(2956160,'174384','And a Happy Christmas to you too!','IMG_5070_thumb.jpg',130, 90,1,'							photo_2956160.html');
												thumbnails[2785265] = new thumbnail(2785265,'174384','Thin Ice at the Curling Pond','Thin Ice at Garrocher_web_thumb.jpg',130, 98,1,'							photo_2785265.html');
												thumbnails[2953209] = new thumbnail(2953209,'174384','Turkey Portions ','Turkey_Portions_1_thumb.jpg',130, 182,1,'							photo_2953209.html');
												thumbnails[2956161] = new thumbnail(2956161,'174384','what are you doing for Christmas?','_MG_5015_thumb.jpg',130, 90,1,'							photo_2956161.html');
												thumbnails[2956162] = new thumbnail(2956162,'174384','I\'m spending Christmas with friends this year','_MG_5016_thumb.jpg',130, 189,1,'							photo_2956162.html');

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  	  					galleries[300619] = new gallery(300619,'5339436,5339435,5339434,5339433,5339432,5339431,5339430,5339429,5339428,5339427,5339426,5339425,5339349,5339347,5339346,5339345,5339321,5339320,5339319,5339318,5339305,5339304,5339303,5339302,5339301,5339291','Marrakech','gallery',[5339291,5339301,5339425,5339302,5339426,5339303,5339427,5339304,5339428,5339305,5339429,5339430,5339318,5339431,5339319,5339432,5339320,5339433,5339321,5339434,5339345,5339435,5339346,5339436,5339347,5339349],0, 0, '', '																																																																																																							gallery_300619.html',0,0);
				  	  					galleries[378451] = new gallery(378451,'6986122,6986121,6986120,6986119,6986118,6986117,6986116,6986115,6986114,6986113,6986112,6986111,6986110,6986109,6986108,6986107,6986106,6986105,6986104,6986103,6986102,6986101,6986100,6986099,6986098,6986097,6985959,6985958,6985957,6985956,6985955,6985929,6985928,6985927,6985926,6985925,6985922,6985921,6985920,6985919,6985918,6985911,6985910,6985909,6985908,6985907,6985904,6985903,6985902,6985901,6985900,6985898,6985897,6985896,6985895,6985862,6985861,6985860,6985859,6985858,6985832,6985831,6985830,6985829,6985828,6985804','THIS IS US','section436441',[6985828,6985858,6985895,6985955,6985804,6985829,6985859,6985896,6985956,6985830,6985860,6985897,6985957,6985831,6985861,6985898,6985958,6985807,6985832,6985862,6985899,6985959,6985900,6986097,6985809,6985901,6986098,6985902,6986099,6985811,6985903,6986100,6985904,6986101,6985813,6985907,6986102,6985908,6986103,6985909,6986104,6985910,6986105,6985911,6986106,6985918,6986107,6985919,6986108,6985920,6986109,6985921,6986110,6985922,6986111,6985925,6986112,6985926,6986113,6985927,6986114,6985928,6986115,6985929,6986116,6986117,6986118,6986119,6986120,6986121,6986122],0, 0, '', '																																																																																														section436441.html',0,0);
				  	  					galleries[339358] = new gallery(339358,'6035623,6035622,6035621','Triples','gallery',[6035621,6035622,6035623],0, 0, '', '																																																																																																							gallery_339358.html',0,0);
				  	  					galleries[207405] = new gallery(207405,'4053562,3968711,3397256,3397255,3397254,3397106,3397105','Card Collections','gallery',[3968711,3397254,4053562,3397106,3397255,3397256,3397105],0, 0, '', '																																																																																																							gallery_207405.html',0,0);
				  	  					galleries[31819] = new gallery(31819,'1642575,1603533,1593388,1593387,1593386,1593385','Pinholes','gallery',[1593385,1603533,1642575,1593386,1593387,1593388],0, 0, '', '																																																																																																							gallery_31819.html',0,0);
				  	  					galleries[32786] = new gallery(32786,'4053262,4053105,4053104,4053103,2273636,456834,456830','Portraits','gallery',[6297959,456830,456834,2273636,4053103,4053262,4053104,4053105],0, 0, '', '																																																																																																							gallery_32786.html',0,0);
				  	  					galleries[207453] = new gallery(207453,'4274450,4274123,3875663,3398202,3398201,3398199,3398172,3398171,3398170,3398169,3398168,3398167,3398163,3398162,3398160,3398158,3398157,3398156,3398153','CVC','gallery',[3398153,4274123,4274450,3398199,3875663,3398156,3398201,3398157,3398202,3398158,3398160,3398162,3398163,3398165,3398167,3398168,3398169,3398170,3398171,3398172],0, 0, '', '																																																																																																							gallery_207453.html',0,0);
				  	  					galleries[32790] = new gallery(32790,'4930346,4930345,4930344,4930343,4930342,4930341,4167873,4167792,4167791,4167790,4167789,4058514,4045755,3962027,3875666,3347760,3347727,3347724,3200397,3200390,2300450,483657,483656,483655,456825,456822,456816,456814,456812,454958,454956,454955,454953,454952,454950,454946,454945,454943,454942,454730,408275','Birds, bees & flowers','gallery',[408275,454730,454942,454943,454945,454946,454950,454952,454953,454955,454956,454958,456812,456814,456816,456822,456825,483655,483656,483657,4045755,2300450,3200397,3962027,4058514,4167789,4167873,3200390,3347724,3347760,4167790,4167791,4930341,4167792,4930342,3347727,3875666,4930343,4930344,4930345,4930346],0, 0, '', '																																																																																																							gallery_32790.html',0,0);
				  	  					galleries[32791] = new gallery(32791,'4167442,4167441,2243543,2227537,2227503,1592183,1592182,1592181,1592180,1592176,1592175,1592174,1592173,1592172,1592166,1592165,1592164,1592163,1592162,1592127,1592126,1592125,1592124,1592123,1592111','Festivals','gallery',[2227537,2243543,2227458,2227468,2227490,2227503,2227524,1592111,1592123,1592162,1592172,1592180,4167441,1592124,1592163,1592173,1592181,4167442,1592125,1592164,1592174,1592182,1592126,1592165,1592175,1592183,1592127,1592166,1592176],0, 0, '', '																																																																																																							gallery_32791.html',0,0);
				  	  					galleries[32792] = new gallery(32792,'4200129,4199924,4167955,4167938,4167934,4167870,4167863,4058778,4051924,3974531,3962067,3962040,3962035,3962019,3959517,3875962,3875665,3347762,2233170,1630006,1614269,1592075,1592073,1592071,456904,456849,456848,456845,456840,456838,456835,456824,456820,454940','Quirky','gallery',[454940,456820,456824,456835,456838,456840,456845,456848,456849,456904,2233170,4200129,4837579,1592071,1592073,1592075,1630006,3875962,3959517,3962019,3962035,3962040,3962067,3974531,4051924,4058778,4167870,4167938,4167945,4167955,1614269,4167863,4167934,4199924,3347762,3875665],0, 0, '', '																																																																																																							gallery_32792.html',0,0);
				  	  					galleries[32793] = new gallery(32793,'4930094,4930092,4929852,3962050,3956961,3875662,3347758,3347726,3200401,3200400,3200399,3200392,3200389,3039814,2300454,2300453,2300452,2300451,2300439,2300438,1609488,1609486,1584311,1584310,1584309,1584308,1584307,1584273,1584174,1584172,408393,408322,408296','Galloway','gallery',[408296,408322,408393,5258033,3956961,1584172,1584307,1609486,3039814,3200389,3347758,3875662,4929852,4930092,1584308,2300451,1584174,1584309,1609488,2300438,2300452,3200399,4930094,1584273,1584310,2300439,2300453,3200392,3200400,3347726,1584311,2300454,3200401,3962050],0, 0, '', '																																																																																																							gallery_32793.html',0,0);
				  	  					galleries[32794] = new gallery(32794,'3962049,3200393,456827,408434,408413','England','gallery',[408413,408434,456827,3962049,3200393],0, 0, '', '																																																																																																							gallery_32794.html',0,0);
				  	  					galleries[32795] = new gallery(32795,'2450652,2450651','Edinburgh','gallery',[2450651,2450652],0, 0, '', '																																																																																																							gallery_32795.html',0,0);
				  	  					galleries[32799] = new gallery(32799,'1618268,1618267,1618266,1618265,1614268,1609916,1609915,1609914,1609913,454937,454936,454935,454933,454930,454743,454729,454725','Europe','gallery',[454725,454729,454743,454930,454933,454935,454936,454937,1609913,1614268,1618265,1609914,1618266,1609915,1618267,1609916,1618268],0, 0, '', '																																																																																																							gallery_32799.html',0,0);
				  	  					galleries[32800] = new gallery(32800,'3678383,3678382,3678381,3678380,3678379,3678369,3678368,3678367,3678366,3678365,1630014,1630007,1629997,1629996,1629995,1629994,1629993','SE Asia','gallery',[2300035,1629993,1630014,3678365,3678379,1630007,3678366,3678380,3678367,3678381,1629994,3678368,3678382,1629995,3678369,3678383,1629996,1629997],0, 0, '', '																																																																																																							gallery_32800.html',0,0);
				  	  					galleries[32801] = new gallery(32801,'456809,454894,454892,454887,454733','Australia','gallery',[454733,454887,454892,454894,456809],0, 0, '', '																																																																																																							gallery_32801.html',0,0);
				  	  					galleries[36057] = new gallery(36057,'3347725,3200391,2300440,2300437,2300436,2300404,2300234,2300226,2300195,2300178,2300174,1609489,1609487,454916,454900,454720,454665,454656,408388','Moods','gallery',[408388,454656,454665,454720,454900,454916,2300174,2300178,2300195,2300226,2300234,2300404,2300436,1609487,2300437,3200391,3347725,1609489,2300440],0, 0, '', '																																																																																																							gallery_36057.html',0,0);
				  	  					galleries[158004] = new gallery(158004,'2450640,2450639,2450638,2450636','Jigsaws','gallery',[2450636,2450638,2450639,2450640],0, 0, '', '																																																																																																							gallery_158004.html',0,0);
				  	  					galleries[174384] = new gallery(174384,'2956162,2956161,2956160,2956159,2953209,2953208,2953207,2785321,2785286,2785265,2785264,2785263','Christmas','gallery',[2785263,2785286,2785321,2953207,2956159,2785264,2953208,2956160,2785265,2953209,2956161,2956162],0, 0, '', '																																																																																																							gallery_174384.html',0,0);
/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = new Object();
imageSets[1] = '6985804,5339436,5339435,5339434,5339433,5339432,5339431,5339430,5339429,5339428,5339427,5339426,5339425,5339349,5339347,5339346,5339345,5339321,5339320,5339319,5339318,5339305,5339304,5339303,5339302,5339301,5339291,4930346,4930345,4930344,4930343,4930342,4930341,4930094,4930092,4929852,4274450,4274123,4200129,4199924,4167955,4167938,4167934,4167873,4167870,4167863,4167792,4167791,4167790,4167789,4167442,4167441,4058778,4058514,4053562,4053262,4053105,4053104,4053103,4051924,4045755,3974531,3968711,3962067,3962050,3962049,3962040,3962035,3962027,3962019,3959517,3956961,3875962,3875666,3875665,3875663,3875662,3678383,3678382,3678381,3678380,3678379,3678369,3678368,3678367,3678366,3678365,3398202,3398201,3398199,3398172,3398171,3398170,3398169,3398168,3398167,3398165,3398163,3398162,3398160,3398158,3398157,3398156,3398153,3397256,3397255,3397254,3397106,3397105,3347762,3347760,3347758,3347727,3347726,3347725,3347724,3200401,3200400,3200399,3200397,3200393,3200392,3200391,3200390,3200389,3039814,2956162,2956161,2956160,2956159,2953209,2953208,2953207,2785321,2785286,2785265,2785264,2785263,2450652,2450651,2450640,2450639,2450638,2450636,2300454,2300453,2300452,2300451,2300450,2300440,2300439,2300438,2300437,2300436,2300404,2300234,2300226,2300195,2300178,2300174,2300035,2273636,2243543,2233170,2227537,2227524,2227503,2227490,2227468,2227458,1642575,1630014,1630007,1630006,1629997,1629996,1629995,1629994,1629993,1618268,1618267,1618266,1618265,1614269,1614268,1609916,1609915,1609914,1609913,1609489,1609488,1609487,1609486,1603533,1593388,1593387,1593386,1593385,1592182,1592176,1592172,1592166,1592127,1592075,1592073,1592071,1584311,1584310,1584309,1584308,1584307,1584273,1584174,1584172,483657,483656,483655,456904,456849,456848,456845,456840,456838,456835,456834,456830,456827,456825,456824,456822,456820,456816,456814,456812,456809,454958,454956,454955,454953,454952,454950,454946,454945,454943,454942,454940,454937,454936,454935,454933,454930,454916,454900,454894,454892,454887,454743,454733,454730,454729,454725,454720,454665,454656,408434,408413,408393,408388,408322,408296,408275';
imageSets[2] = '6986122,6986121,6986120,6986119,6986118,6986117,6986116,6986115,6986114,6986113,6986112,6986111,6986110,6986109,6986108,6986107,6986106,6986105,6986104,6986103,6986102,6986101,6986100,6986099,6986098,6986097,6985959,6985958,6985957,6985956,6985955,6985929,6985928,6985927,6985926,6985925,6985922,6985921,6985920,6985919,6985918,6985911,6985910,6985909,6985908,6985907,6985904,6985903,6985902,6985901,6985900,6985898,6985897,6985896,6985895,6985862,6985861,6985860,6985859,6985858,6985832,6985831,6985830,6985829,6985828,6985804,5339436,5339435,5339434,5339433,5339432,5339431,5339430,5339429,5339428,5339427,5339426,5339425,5339349,5339347,5339346,5339345,5339321,5339320,5339319,5339318,5339305,5339304,5339303,5339302,5339301,5339291,4930346,4930345,4930344,4930343,4930342,4930341,4930094,4930092,4929852,4274450,4274123,4200129,4199924,4167955,4167938,4167934,4167873,4167870,4167863,4167792,4167791,4167790,4167789,4167442,4167441,4058778,4058514,4053562,4053262,4053105,4053104,4053103,4051924,4045755,3974531,3968711,3962067,3962050,3962049,3962040,3962035,3962027,3962019,3959517,3956961,3875962,3875666,3875665,3875663,3875662,3678383,3678382,3678381,3678380,3678379,3678369,3678368,3678367,3678366,3678365,3398202,3398201,3398199,3398172,3398171,3398170,3398169,3398168,3398167,3398163,3398162,3398160,3398158,3398157,3398156,3398153,3397256,3397255,3397254,3397106,3397105,3347762,3347760,3347758,3347727,3347726,3347725,3347724,3200401,3200400,3200399,3200397,3200393,3200392,3200391,3200390,3200389,3039814,2956162,2956161,2956160,2956159,2953209,2953208,2953207,2785321,2785286,2785265,2785264,2785263,2450652,2450651,2450640,2450639,2450638,2450636,2300454,2300453,2300452,2300451,2300450,2300440,2300439,2300438,2300437,2300436,2300404,2300234,2300226,2300195,2300178,2300174,2273636,2243543,2233170,2227537,2227503,1642575,1630014,1630007,1630006,1629997,1629996,1629995,1629994,1629993,1618268,1618267,1618266,1618265,1614269,1614268,1609916,1609915,1609914,1609913,1609489,1609488,1609487,1609486,1603533,1593388,1593387,1593386,1593385,1592183,1592182,1592181,1592180,1592176,1592175,1592174,1592173,1592172,1592166,1592165,1592164,1592163,1592162,1592127,1592126,1592125,1592124,1592123,1592111,1592075,1592073,1592071,1584311,1584310,1584309,1584308,1584307,1584273,1584174,1584172,483657,483656,483655,456904,456849,456848,456845,456840,456838,456835,456834,456830,456827,456825,456824,456822,456820,456816,456814,456812,456809,454958,454956,454955,454953,454952,454950,454946,454945,454943,454942,454940,454937,454936,454935,454933,454930,454916,454900,454894,454892,454887,454743,454733,454730,454729,454725,454720,454665,454656,408434,408413,408393,408388,408322,408296,408275';
imageSets[3] = '6986122,6986121,6986120,6986119,6986118,6986117,6986116,6986115,6986114,6986113,6986112,6986111,6986110,6986109,6986108,6986107,6986106,6986105,6986104,6986103,6986102,6986101,6986100,6986099,6986098,6986097,6985959,6985958,6985957,6985956,6985955,6985929,6985928,6985927,6985926,6985925,6985922,6985921,6985920,6985919,6985918,6985911,6985910,6985909,6985908,6985907,6985904,6985903,6985902,6985901,6985900,6985899,6985898,6985897,6985896,6985895,6985862,6985861,6985860,6985859,6985858,6985832,6985831,6985830,6985829,6985828,5339436,5339435,5339434,5339433,5339432,5339431,5339430,5339429,5339428,5339427,5339426,5339425,5339349,5339347,5339346,5339345,5339321,5339320,5339319,5339318,5339305,5339304,5339303,5339302,5339301,5339291,4930346,4930345,4930344,4930343,4930342,4930341,4930094,4930092,4929852,4274450,4274123';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/linda/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/linda/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/linda/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/linda/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://www.clikchurch.com/linda/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/linda/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/linda/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/linda/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/linda/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/linda/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/linda/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/linda/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/linda/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://admin2.clikpic.com/linda/images';
		break;
	}
		switch (server_id) {
		case 33:
		val = 'http://www8.clikpic.com/linda/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/linda/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/linda/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/linda/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/linda/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));		}, 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 = 'Bow Photography: ' + 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));    }        
    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>';
	}
					
				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>Order this print:</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 this print online:</p>';
				temp = temp + '<form id="paymentOptions" style="margin:0px;border:0px;" name="paymentOptions">';
											temp = temp + '<select class="paymentlink" name="payment_options_id" onchange="updateItemValues(document.forms.paymentForm,this.form.payment_options_id.options[this.form.payment_options_id.options.selectedIndex].value);">';
				
		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 + '<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;
	}
}

		

