window.thumbnails = new Object();
												thumbnails[2305462] = new thumbnail(2305462,'','Dol Gam Dawn','Dol_Gam_Dawn_thumb.jpg',130, 173,5,'															#');
												thumbnails[2307598] = new thumbnail(2307598,'','Faversham Creek1','Faversham_Creek1_thumb.jpg',130, 87,5,'															#');
												thumbnails[2308933] = new thumbnail(2308933,'','Branch 1','Branch_1_thumb.jpg',130, 130,5,'															#');
												thumbnails[2308941] = new thumbnail(2308941,'','December Leaf','December_Leaf_thumb.jpg',130, 130,5,'															#');
												thumbnails[2322368] = new thumbnail(2322368,'','100 1890','100_1890_thumb.jpg',130, 173,5,'															#');
												thumbnails[2322372] = new thumbnail(2322372,'','100 1891','100_1891_thumb.jpg',130, 173,5,'															#');
												thumbnails[2322379] = new thumbnail(2322379,'','100 1898','100_1898_thumb.jpg',130, 173,5,'															#');
												thumbnails[2322387] = new thumbnail(2322387,'','100 1906','100_1906_thumb.jpg',130, 173,5,'															#');
												thumbnails[2322423] = new thumbnail(2322423,'','100 1910','100_1910_thumb.jpg',130, 173,5,'															#');
												thumbnails[7235748] = new thumbnail(7235748,'','A2','A2_320D629F-1EC9-D45B-1C1F8EBA799BE601_thumb.jpg',130, 130,5,'															#');
												thumbnails[2305463] = new thumbnail(2305463,'','Glasllyn','Glasllyn_thumb.jpg',130, 119,5,'															#');
												thumbnails[2307599] = new thumbnail(2307599,'','Faversham Creek2','Faversham_Creek2_thumb.jpg',130, 87,5,'															#');
												thumbnails[2322373] = new thumbnail(2322373,'','100 1892','100_1892_thumb.jpg',130, 173,5,'															#');
												thumbnails[2322380] = new thumbnail(2322380,'','100 1902','100_1902_thumb.jpg',130, 173,5,'															#');
												thumbnails[2322388] = new thumbnail(2322388,'','100 1907','100_1907_thumb.jpg',130, 173,5,'															#');
												thumbnails[2322425] = new thumbnail(2322425,'','100 1911','100_1911_thumb.jpg',130, 173,5,'															#');
												thumbnails[7235751] = new thumbnail(7235751,'','A21','A21_thumb.jpg',130, 130,5,'															#');
												thumbnails[2305464] = new thumbnail(2305464,'','Moel Siabod Gully','Moel_Siabod_Gully_thumb.jpg',130, 98,5,'															#');
												thumbnails[2307600] = new thumbnail(2307600,'','Faversham Station Footbridge','Faversham_Station_Footbridge_thumb.jpg',130, 89,5,'															#');
												thumbnails[2308934] = new thumbnail(2308934,'','December 2','December_2_thumb.jpg',130, 179,5,'															#');
												thumbnails[2308942] = new thumbnail(2308942,'','January 1','January_1_thumb.jpg',130, 195,5,'															#');
												thumbnails[2322374] = new thumbnail(2322374,'','100 1895','100_1895_thumb.jpg',130, 173,5,'															#');
												thumbnails[2322381] = new thumbnail(2322381,'','100 1903','100_1903_thumb.jpg',130, 173,5,'															#');
												thumbnails[2322427] = new thumbnail(2322427,'','100 1912','100_1912_thumb.jpg',130, 173,5,'															#');
												thumbnails[7235753] = new thumbnail(7235753,'','A22','A22_thumb.jpg',130, 130,5,'															#');
												thumbnails[2305465] = new thumbnail(2305465,'','Snowdon Gull','Snowdon_Gull_thumb.jpg',130, 195,5,'															#');
												thumbnails[2307601] = new thumbnail(2307601,'','Tate Britain Jetty','Tate_Britain_Jetty_thumb.jpg',130, 87,5,'															#');
												thumbnails[2308935] = new thumbnail(2308935,'','December 3','December_3_thumb.jpg',130, 130,5,'															#');
												thumbnails[2308943] = new thumbnail(2308943,'','January 2','January_2_thumb.jpg',130, 194,5,'															#');
												thumbnails[2322375] = new thumbnail(2322375,'','100 1896','100_1896_thumb.jpg',130, 173,5,'															#');
												thumbnails[2322382] = new thumbnail(2322382,'','100 1904','100_1904_thumb.jpg',130, 173,5,'															#');
												thumbnails[2322390] = new thumbnail(2322390,'','100 1908','100_1908_thumb.jpg',130, 173,5,'															#');
												thumbnails[7235755] = new thumbnail(7235755,'','A23','A23_thumb.jpg',130, 130,5,'															#');
												thumbnails[2307602] = new thumbnail(2307602,'','Underground','Underground_thumb.jpg',130, 102,5,'															#');
												thumbnails[2308944] = new thumbnail(2308944,'','January leaves','January_leaves_thumb.jpg',130, 195,5,'															#');
												thumbnails[2322376] = new thumbnail(2322376,'','100 1897','100_1897_thumb.jpg',130, 173,5,'															#');
												thumbnails[2322383] = new thumbnail(2322383,'','100 1905','100_1905_thumb.jpg',130, 173,5,'															#');
												thumbnails[2322391] = new thumbnail(2322391,'','100 1909','100_1909_thumb.jpg',130, 173,5,'															#');
												thumbnails[7235757] = new thumbnail(7235757,'','B4','B4_320D6C7E-24E8-5EC4-4F62420E18E93C16_thumb.jpg',130, 130,5,'															#');
												thumbnails[2308945] = new thumbnail(2308945,'','January Trunk','January_Trunk_thumb.jpg',130, 171,5,'															#');
												thumbnails[7235758] = new thumbnail(7235758,'','B41','B41_thumb.jpg',130, 130,5,'															#');
												thumbnails[2308946] = new thumbnail(2308946,'','Last years nest','Last_years_nest_thumb.jpg',130, 130,5,'															#');
												thumbnails[7235759] = new thumbnail(7235759,'','B42','B42_thumb.jpg',130, 130,5,'															#');
												thumbnails[2308947] = new thumbnail(2308947,'','Three Drips','Three_Drips_thumb.jpg',130, 130,5,'															#');
												thumbnails[7235760] = new thumbnail(7235760,'','C3','C3_thumb.jpg',130, 130,5,'															#');
												thumbnails[2308948] = new thumbnail(2308948,'','up trunk square','up trunk square_thumb.jpg',130, 130,5,'															#');
												thumbnails[7235762] = new thumbnail(7235762,'','D3','D3_thumb.jpg',130, 130,5,'															#');
												thumbnails[7235763] = new thumbnail(7235763,'','D31','D31_thumb.jpg',130, 130,5,'															#');
												thumbnails[7235764] = new thumbnail(7235764,'','I1','I1_320D7E6F-24E8-5EC4-4F9A7B2D1E63917E_thumb.jpg',130, 130,5,'															#');
												thumbnails[7235766] = new thumbnail(7235766,'','I31','I31_thumb.jpg',130, 130,5,'															#');
												thumbnails[7235768] = new thumbnail(7235768,'','I5','I5_thumb.jpg',130, 130,5,'															#');
												thumbnails[7235769] = new thumbnail(7235769,'','I51','I51_thumb.jpg',130, 130,5,'															#');
												thumbnails[2304553] = new thumbnail(2304553,'150541','Sorting Ginger in Cochin, Kerala, South India','ginger_sorting_lowres2_thumb.jpg',130, 108,5,'																			photo_2304553.html');
												thumbnails[2308550] = new thumbnail(2308550,'150560','IMG 2310','IMG_2310_thumb.jpg',130, 98,5,'																			photo_2308550.html');
												thumbnails[2326097] = new thumbnail(2326097,'151757','134 3410','134_3410_thumb.jpg',130, 107,5,'																			photo_2326097.html');
												thumbnails[2304514] = new thumbnail(2304514,'150598','Entering Faversham Creek under Full Moon.','Entering_Faversham_Creek_under_full_Moon_thumb.jpg',130, 181,5,'																			photo_2304514.html');
												thumbnails[2304551] = new thumbnail(2304551,'150598','Birds of Dawning','setting_sail_with_flock1_thumb.jpg',130, 189,5,'																			photo_2304551.html');
												thumbnails[2305484] = new thumbnail(2305484,'150544','bolted planks','bolted_planks_thumb.jpg',130, 98,5,'																			photo_2305484.html');
												thumbnails[2305944] = new thumbnail(2305944,'150556','lightbeams1','lightbeams11_thumb.jpg',130, 241,5,'																			photo_2305944.html');
												thumbnails[2305986] = new thumbnail(2305986,'150541','Asleep in the Road','Asleep_in_the_Road_thumb.jpg',130, 173,5,'																			photo_2305986.html');
												thumbnails[2305993] = new thumbnail(2305993,'150541','Farmer with Son','Farmer_with_Son_thumb.jpg',130, 173,5,'																			photo_2305993.html');
												thumbnails[2306002] = new thumbnail(2306002,'150541','Sorting Ginger','Sorting_Ginger_thumb.jpg',130, 108,5,'																			photo_2306002.html');
												thumbnails[2306016] = new thumbnail(2306016,'150541','Tea Workers Houses at Top Station','Tea_Workers_Houses_at_Top Station_thumb.jpg',130, 195,5,'																			photo_2306016.html');
												thumbnails[2306036] = new thumbnail(2306036,'150542','Bow with Anchor','Bow_with_Anchor_thumb.jpg',130, 195,5,'																			photo_2306036.html');
												thumbnails[2306042] = new thumbnail(2306042,'150542','January Market 2','January_Market2_thumb.jpg',130, 87,5,'																			photo_2306042.html');
												thumbnails[2306047] = new thumbnail(2306047,'150542','Ospringe Allotments2','Ospringe_Allotments2_thumb.jpg',130, 98,5,'																			photo_2306047.html');
												thumbnails[2306051] = new thumbnail(2306051,'150542','Three Barges','Three_Barges_thumb.jpg',130, 195,5,'																			photo_2306051.html');
												thumbnails[2307138] = new thumbnail(2307138,'150547','Cow at Top Station Kerala','Cow_at_Top_Station_Kerala_thumb.jpg',130, 188,5,'																			photo_2307138.html');
												thumbnails[2307230] = new thumbnail(2307230,'150547','Temple Elephant','Temple_Elephant_thumb.jpg',130, 130,5,'																			photo_2307230.html');
												thumbnails[2308377] = new thumbnail(2308377,'150595','Arch Cochin Jewtown','Arch_Cochin_Jewtown8_thumb.jpg',130, 152,5,'																			photo_2308377.html');
												thumbnails[2308381] = new thumbnail(2308381,'150595','Blue door with goat','Blue_door_with_goat4_thumb.jpg',130, 195,5,'																			photo_2308381.html');
												thumbnails[2308389] = new thumbnail(2308389,'150595','Cochin wooden door','Cochin_wooden_door_thumb.jpg',130, 193,5,'																			photo_2308389.html');
												thumbnails[2308396] = new thumbnail(2308396,'150595','Welcome Home','Welcome_Home_thumb.jpg',130, 173,5,'																			photo_2308396.html');
												thumbnails[2308551] = new thumbnail(2308551,'150560','IMG 2311','IMG_2311_thumb.jpg',130, 98,5,'																			photo_2308551.html');
												thumbnails[2308817] = new thumbnail(2308817,'150341','Arabian Sea with Chinese Nets','Arabian_Sea_with_Chinese_Nets_thumb.jpg',130, 195,5,'																			photo_2308817.html');
												thumbnails[2308823] = new thumbnail(2308823,'150341','Looking into Tamil Nadu valley from Kolukkamalai','Looking_into_Tamil_Nadu_thumb.jpg',130, 195,5,'																			photo_2308823.html');
												thumbnails[2313406] = new thumbnail(2313406,'151228','IMG 2654','IMG_2654_thumb.jpg',130, 195,5,'																			photo_2313406.html');
												thumbnails[2326101] = new thumbnail(2326101,'151757','134 3411','134_3411_thumb.jpg',130, 87,5,'																			photo_2326101.html');
												thumbnails[2326780] = new thumbnail(2326780,'150547','Pigs Face','Pigs_Face_thumb.jpg',130, 161,5,'																			photo_2326780.html');
												thumbnails[5480398] = new thumbnail(5480398,'309809','Arabian Sea sunset','Arabian_Sea_sunset_thumb.jpg',130, 191,5,'																			photo_5480398.html');
												thumbnails[5481002] = new thumbnail(5481002,'241187','Alleppey beach 1','Alleppey_beach_1_thumb.jpg',130, 146,5,'																			photo_5481002.html');
												thumbnails[5482911] = new thumbnail(5482911,'241187','Alleppey beach 2','Alleppey_beach_2_thumb.jpg',130, 85,5,'																			photo_5482911.html');
												thumbnails[5489007] = new thumbnail(5489007,'310679','Early One Morning','Early_One_Morning_thumb.jpg',130, 130,5,'																			photo_5489007.html');
												thumbnails[6044801] = new thumbnail(6044801,'339764','Brickmaking','Brickmaking2_thumb.jpg',130, 195,5,'																			photo_6044801.html');
												thumbnails[7235749] = new thumbnail(7235749,'376740','A2','A2_320D629B-24E8-5EC4-4F7B799E77F72D7D_thumb.jpg',130, 130,5,'																			photo_7235749.html');
												thumbnails[2308552] = new thumbnail(2308552,'150560','IMG 2312','IMG_2312_thumb.jpg',130, 98,5,'																			photo_2308552.html');
												thumbnails[2326094] = new thumbnail(2326094,'151757','134 3407','134_3407_thumb.jpg',130, 87,5,'																			photo_2326094.html');
												thumbnails[2304515] = new thumbnail(2304515,'150598','Horse Sands Dawn','Horse_Sands_Dawn_thumb.jpg',130, 130,5,'																			photo_2304515.html');
												thumbnails[2304552] = new thumbnail(2304552,'150598','Swale sunrise','Swale_sunrise1_thumb.jpg',130, 200,5,'																			photo_2304552.html');
												thumbnails[2305945] = new thumbnail(2305945,'150556','lightbeams2','lightbeams21_thumb.jpg',130, 200,5,'																			photo_2305945.html');
												thumbnails[2305994] = new thumbnail(2305994,'150541','Madurai Bus','Madurai_Bus_thumb.jpg',130, 79,5,'																			photo_2305994.html');
												thumbnails[2306003] = new thumbnail(2306003,'150541','Street Cooking','Street_Cooking_thumb.jpg',130, 198,5,'																			photo_2306003.html');
												thumbnails[2306017] = new thumbnail(2306017,'150541','Temple Cart Watchman','Temple_Cart_Watchman_thumb.jpg',130, 173,5,'																			photo_2306017.html');
												thumbnails[2306037] = new thumbnail(2306037,'150542','Derelict Jetty','Derelict_Jetty_thumb.jpg',130, 173,5,'																			photo_2306037.html');
												thumbnails[2306043] = new thumbnail(2306043,'150542','Lock Gates','Lock_Gates_thumb.jpg',130, 195,5,'																			photo_2306043.html');
												thumbnails[2306048] = new thumbnail(2306048,'150542','Ospringe Allotments3','Ospringe_Allotments3_thumb.jpg',130, 173,5,'																			photo_2306048.html');
												thumbnails[2306052] = new thumbnail(2306052,'150542','Wind in the Willow','Wind_in_the_Willow_thumb.jpg',130, 173,5,'																			photo_2306052.html');
												thumbnails[2307139] = new thumbnail(2307139,'150547','Foraging cow India','Foraging_cow_India_thumb.jpg',130, 186,5,'																			photo_2307139.html');
												thumbnails[2307231] = new thumbnail(2307231,'150547','Two Cows Looking','Two_Cows_Loking_thumb.jpg',130, 130,5,'																			photo_2307231.html');
												thumbnails[2308382] = new thumbnail(2308382,'150595','Cochin Art Gallery Entrance','Cochin_Art-Gallery_Entrance4_thumb.jpg',130, 198,5,'																			photo_2308382.html');
												thumbnails[2308390] = new thumbnail(2308390,'150595','Cochin Spice Market door','Cockin_Spice_Market_door_thumb.jpg',130, 195,5,'																			photo_2308390.html');
												thumbnails[2308397] = new thumbnail(2308397,'150595','Yellow  barred door','Yellow_ barred_door_thumb.jpg',130, 156,5,'																			photo_2308397.html');
												thumbnails[2308661] = new thumbnail(2308661,'150560','IMG 2313','IMG_23131_thumb.jpg',130, 173,5,'																			photo_2308661.html');
												thumbnails[2308818] = new thumbnail(2308818,'150341','Arabian Sea with Crows','Arabian_Sea_with_Crows_thumb.jpg',130, 195,5,'																			photo_2308818.html');
												thumbnails[2308824] = new thumbnail(2308824,'150341','Tea factory 1','Tea_factory_1_thumb.jpg',130, 195,5,'																			photo_2308824.html');
												thumbnails[2313407] = new thumbnail(2313407,'151228','IMG 2658','IMG_2658_thumb.jpg',130, 195,5,'																			photo_2313407.html');
												thumbnails[2326095] = new thumbnail(2326095,'151757','134 3408','134_3408_thumb.jpg',130, 87,5,'																			photo_2326095.html');
												thumbnails[2326781] = new thumbnail(2326781,'150547','Two Pigs Meeting','Two_Pigs_Meeting_thumb.jpg',130, 160,5,'																			photo_2326781.html');
												thumbnails[5480399] = new thumbnail(5480399,'309809','Beech Hanger Kings Wood','Beech_Hanger_Kings_Wood_thumb.jpg',130, 195,5,'																			photo_5480399.html');
												thumbnails[5481003] = new thumbnail(5481003,'241187','Bangalore boy 1','Bangalore_boy_1_thumb.jpg',130, 168,5,'																			photo_5481003.html');
												thumbnails[5482912] = new thumbnail(5482912,'241187','arrow','arrow_thumb.jpg',130, 197,5,'																			photo_5482912.html');
												thumbnails[5489008] = new thumbnail(5489008,'310679','Fourteen Discs Oct 21 2009','Fourteen_Discs_Oct_21_2009_thumb.jpg',130, 130,5,'																			photo_5489008.html');
												thumbnails[6044802] = new thumbnail(6044802,'339764','Building Site Women','Building_Site_Women_thumb.jpg',130, 195,5,'																			photo_6044802.html');
												thumbnails[7235750] = new thumbnail(7235750,'376740','B4','B4_thumb.jpg',130, 130,5,'																			photo_7235750.html');
												thumbnails[2308554] = new thumbnail(2308554,'150560','IMG 2314','IMG_2314_thumb.jpg',130, 173,5,'																			photo_2308554.html');
												thumbnails[2313415] = new thumbnail(2313415,'151228','IMG 2659','IMG_2659_thumb.jpg',130, 87,5,'																			photo_2313415.html');
												thumbnails[2326102] = new thumbnail(2326102,'151757','134 3413','134_3413_thumb.jpg',130, 87,5,'																			photo_2326102.html');
												thumbnails[2305485] = new thumbnail(2305485,'150544','conyer hulk2','conyer_hulk2_thumb.jpg',130, 85,5,'																			photo_2305485.html');
												thumbnails[2305946] = new thumbnail(2305946,'150556','lightbeams3','lightbeams31_thumb.jpg',130, 222,5,'																			photo_2305946.html');
												thumbnails[2305987] = new thumbnail(2305987,'150541','Deep Frying','Deep_Frying_thumb.jpg',130, 195,5,'																			photo_2305987.html');
												thumbnails[2305995] = new thumbnail(2305995,'150541','Market Trader','Market_Trader_thumb.jpg',130, 195,5,'																			photo_2305995.html');
												thumbnails[2306004] = new thumbnail(2306004,'150541','Tea Picker','Tea_Picker_thumb.jpg',130, 130,5,'																			photo_2306004.html');
												thumbnails[2306018] = new thumbnail(2306018,'150541','Washing Clothes in the River','Washing_Clothes_in_the_River_thumb.jpg',130, 165,5,'																			photo_2306018.html');
												thumbnails[2306038] = new thumbnail(2306038,'150542','Dry Dock in Faversham Creek','Dry_Dock_thumb.jpg',130, 250,5,'																			photo_2306038.html');
												thumbnails[2306044] = new thumbnail(2306044,'150542','May Blossom at Oare Marshes','May_Blossom_at_Oare_Marshes_thumb.jpg',130, 194,5,'																			photo_2306044.html');
												thumbnails[2306053] = new thumbnail(2306053,'150542','Working on Power Cables','Working_on_Power_Cables_thumb.jpg',130, 195,5,'																			photo_2306053.html');
												thumbnails[2307140] = new thumbnail(2307140,'150547','Madurai Temple  Cow','Madurai_Temple _Cow_thumb.jpg',130, 174,5,'																			photo_2307140.html');
												thumbnails[2307232] = new thumbnail(2307232,'150547','Working Elephant','Working_Elephant_thumb.jpg',130, 224,5,'																			photo_2307232.html');
												thumbnails[2308383] = new thumbnail(2308383,'150595','Cochin Gopuram','Cochin_Gopuram4_thumb.jpg',130, 189,5,'																			photo_2308383.html');
												thumbnails[2308391] = new thumbnail(2308391,'150595','Ginger warehouse 1','Ginger_warehouse_1_thumb.jpg',130, 154,5,'																			photo_2308391.html');
												thumbnails[2308557] = new thumbnail(2308557,'150560','IMG 2315','IMG_2315_thumb.jpg',130, 173,5,'																			photo_2308557.html');
												thumbnails[2308819] = new thumbnail(2308819,'150341','Houses at Top Station','Houses_at_Top_Station_thumb.jpg',130, 195,5,'																			photo_2308819.html');
												thumbnails[2326103] = new thumbnail(2326103,'151757','134 3419','134_3419_thumb.jpg',130, 115,5,'																			photo_2326103.html');
												thumbnails[5480400] = new thumbnail(5480400,'309809','Beech Leaves','Beech_Leaves_thumb.jpg',130, 130,5,'																			photo_5480400.html');
												thumbnails[5481004] = new thumbnail(5481004,'241187','Bangalore man with hat','Bangalore_man_with_hat_thumb.jpg',130, 174,5,'																			photo_5481004.html');
												thumbnails[5482913] = new thumbnail(5482913,'241187','Bangalore market 2','Bangalore_market_2_thumb.jpg',130, 207,5,'																			photo_5482913.html');
												thumbnails[5489009] = new thumbnail(5489009,'310679','I\'m too sad to tell you','Im_too_sad_to_tell_you_thumb.jpg',130, 130,5,'																			photo_5489009.html');
												thumbnails[6044803] = new thumbnail(6044803,'339764','Bullock washing','Bullock_washing_2_thumb.jpg',130, 130,5,'																			photo_6044803.html');
												thumbnails[7235752] = new thumbnail(7235752,'376740','D2','D2_thumb.jpg',130, 130,5,'																			photo_7235752.html');
												thumbnails[2329773] = new thumbnail(2329773,'150541','Fruit Trader','Fruit_Trader_thumb.jpg',130, 195,5,'																			photo_2329773.html');
												thumbnails[2308558] = new thumbnail(2308558,'150560','IMG 2316','IMG_2316_thumb.jpg',130, 98,5,'																			photo_2308558.html');
												thumbnails[2326096] = new thumbnail(2326096,'151757','134 3409','134_3409_thumb.jpg',130, 77,5,'																			photo_2326096.html');
												thumbnails[2305486] = new thumbnail(2305486,'150544','conyer hulk3','conyer_hulk3_thumb.jpg',130, 127,5,'																			photo_2305486.html');
												thumbnails[2305947] = new thumbnail(2305947,'150556','lightbeams4','lightbeams41_thumb.jpg',130, 196,5,'																			photo_2305947.html');
												thumbnails[2305988] = new thumbnail(2305988,'150541','Early Morning in Madurai','Early_Morning_in_Madurai_thumb.jpg',130, 192,5,'																			photo_2305988.html');
												thumbnails[2305996] = new thumbnail(2305996,'150541','Morning Milking','Morning_Milking_thumb.jpg',130, 130,5,'																			photo_2305996.html');
												thumbnails[2306005] = new thumbnail(2306005,'150541','Tea Worker 1','Tea_Worker_1_thumb.jpg',130, 185,5,'																			photo_2306005.html');
												thumbnails[2306019] = new thumbnail(2306019,'150541','Washing Pots','Washing_Pots_thumb.jpg',130, 87,5,'																			photo_2306019.html');
												thumbnails[2306039] = new thumbnail(2306039,'150542','Hulks Faversham Creek','Hulks_Faversham_Creek_thumb.jpg',130, 98,5,'																			photo_2306039.html');
												thumbnails[2306045] = new thumbnail(2306045,'150542','Misty Morning Oare Marsh','Misty_Morning_Oare_Marsh_thumb.jpg',130, 173,5,'																			photo_2306045.html');
												thumbnails[2306049] = new thumbnail(2306049,'150542','Sign Writer at the Fleur de Lis','Sign_Writer_at_the_Fleur_de_Lis_thumb.jpg',130, 195,5,'																			photo_2306049.html');
												thumbnails[2307141] = new thumbnail(2307141,'150547','Morning Cows Oare Marsh','Morning_Cows_Oare_Marsh_thumb.jpg',130, 75,5,'																			photo_2307141.html');
												thumbnails[2308384] = new thumbnail(2308384,'150595','Cochin Mosque doorway','Cochin_Mosque_doorway4_thumb.jpg',130, 186,5,'																			photo_2308384.html');
												thumbnails[2308392] = new thumbnail(2308392,'150595','spice market door with goats','spice_market_door_with_goats_thumb.jpg',130, 94,5,'																			photo_2308392.html');
												thumbnails[2308559] = new thumbnail(2308559,'150560','IMG 2317','IMG_2317_thumb.jpg',130, 173,5,'																			photo_2308559.html');
												thumbnails[2308820] = new thumbnail(2308820,'150341','Kolukkumalai Tea Estate','Kolukkumalai_Tea_Estate_thumb.jpg',130, 87,5,'																			photo_2308820.html');
												thumbnails[2308825] = new thumbnail(2308825,'150341','View from Tea Workers Shelter','View_from_Tea_Workers_Shelter_thumb.jpg',130, 195,5,'																			photo_2308825.html');
												thumbnails[2313408] = new thumbnail(2313408,'151228','IMG 2660','IMG_2660_thumb.jpg',130, 195,5,'																			photo_2313408.html');
												thumbnails[2326104] = new thumbnail(2326104,'151757','134 3422','134_3422_thumb.jpg',130, 195,5,'																			photo_2326104.html');
												thumbnails[5480401] = new thumbnail(5480401,'309809','Evening Duck','Evening_Duck_thumb.jpg',130, 166,5,'																			photo_5480401.html');
												thumbnails[5481005] = new thumbnail(5481005,'241187','Bangalore market boy and baby','Bangalore_market_boy_and_baby_thumb.jpg',130, 88,5,'																			photo_5481005.html');
												thumbnails[5482914] = new thumbnail(5482914,'241187','Bangalore market 3','Bangalore_market_3_thumb.jpg',130, 174,5,'																			photo_5482914.html');
												thumbnails[5489010] = new thumbnail(5489010,'310679','Linear construction','Linear_construction_thumb.jpg',130, 130,5,'																			photo_5489010.html');
												thumbnails[6044804] = new thumbnail(6044804,'339764','Bus window with baby','Bus_window_with_baby_thumb.jpg',130, 194,5,'																			photo_6044804.html');
												thumbnails[7235754] = new thumbnail(7235754,'376740','E3','E3_thumb.jpg',130, 130,5,'																			photo_7235754.html');
												thumbnails[2308560] = new thumbnail(2308560,'150560','IMG 2318','IMG_2318_thumb.jpg',130, 173,5,'																			photo_2308560.html');
												thumbnails[2305487] = new thumbnail(2305487,'150544','conyer hulk4','conyer_hulk4_thumb.jpg',130, 228,5,'																			photo_2305487.html');
												thumbnails[2305989] = new thumbnail(2305989,'150541','Elephant Ride','Elephant_Ride_thumb.jpg',130, 195,5,'																			photo_2305989.html');
												thumbnails[2305997] = new thumbnail(2305997,'150541','Paddy Workers','Paddy_Workers_thumb.jpg',130, 195,5,'																			photo_2305997.html');
												thumbnails[2306006] = new thumbnail(2306006,'150541','Tea Worker 2','Tea_Worker_2_thumb.jpg',130, 176,5,'																			photo_2306006.html');
												thumbnails[2306020] = new thumbnail(2306020,'150541','Working in the Paddy','Working_in_the_Paddy_thumb.jpg',130, 195,5,'																			photo_2306020.html');
												thumbnails[2306040] = new thumbnail(2306040,'150542','January Market','January_Market_thumb.jpg',130, 195,5,'																			photo_2306040.html');
												thumbnails[2306046] = new thumbnail(2306046,'150542','Oare Marsh Morning','Oare_Marsh_Morning_thumb.jpg',130, 183,5,'																			photo_2306046.html');
												thumbnails[2306050] = new thumbnail(2306050,'150542','St Marys Church Steps','St_Marys_Church_Steps_thumb.jpg',130, 202,5,'																			photo_2306050.html');
												thumbnails[2307142] = new thumbnail(2307142,'150547','Oare Marsh Morning','Oare_Marsh_Morning1_thumb.jpg',130, 87,5,'																			photo_2307142.html');
												thumbnails[2308385] = new thumbnail(2308385,'150595','Cochin Spice Market blue door','Cochin_Spice_Market_blue_door_thumb.jpg',130, 195,5,'																			photo_2308385.html');
												thumbnails[2308393] = new thumbnail(2308393,'150595','The Little Sweet Seller','The_Little_Sweet_Seller_thumb.jpg',130, 173,5,'																			photo_2308393.html');
												thumbnails[2308561] = new thumbnail(2308561,'150560','IMG 2319','IMG_2319_thumb.jpg',130, 173,5,'																			photo_2308561.html');
												thumbnails[2313409] = new thumbnail(2313409,'151228','IMG 2663','IMG_2663_thumb.jpg',130, 195,5,'																			photo_2313409.html');
												thumbnails[5480402] = new thumbnail(5480402,'309809','Faversham Creek','Faversham_Creek_thumb.jpg',130, 195,5,'																			photo_5480402.html');
												thumbnails[5481006] = new thumbnail(5481006,'241187','Near River Carvery','Carvery2_thumb.jpg',130, 184,5,'																			photo_5481006.html');
												thumbnails[5482915] = new thumbnail(5482915,'241187','bangalore tomato seller','bangalore_tomato_seller_thumb.jpg',130, 192,5,'																			photo_5482915.html');
												thumbnails[5489011] = new thumbnail(5489011,'310679','The Treachery of Images','The_Treachery_of_Images_thumb.jpg',130, 130,5,'																			photo_5489011.html');
												thumbnails[6044805] = new thumbnail(6044805,'339764','Chidambaram afternoon','Chidambaram_siesta_thumb.jpg',130, 195,5,'																			photo_6044805.html');
												thumbnails[7235756] = new thumbnail(7235756,'376740','I1','I1_thumb.jpg',130, 130,5,'																			photo_7235756.html');
												thumbnails[2308569] = new thumbnail(2308569,'150560','IMG 2320','IMG_2320_thumb.jpg',130, 173,5,'																			photo_2308569.html');
												thumbnails[2308570] = new thumbnail(2308570,'150560','IMG 2321','IMG_2321_thumb.jpg',130, 98,5,'																			photo_2308570.html');
												thumbnails[5480403] = new thumbnail(5480403,'309809','Faversham Oasts','Faversham_Oasts_thumb.jpg',130, 195,5,'																			photo_5480403.html');
												thumbnails[5481007] = new thumbnail(5481007,'241187','Street Cobbler','Cobbler_thumb.jpg',130, 212,5,'																			photo_5481007.html');
												thumbnails[5482916] = new thumbnail(5482916,'241187','Carvery ghats','Carvery_ghats_thumb.jpg',130, 193,5,'																			photo_5482916.html');
												thumbnails[6044806] = new thumbnail(6044806,'339764','Duck herding','Duckherd_thumb.jpg',130, 164,5,'																			photo_6044806.html');
												thumbnails[2308571] = new thumbnail(2308571,'150560','IMG 2322','IMG_2322_thumb.jpg',130, 173,5,'																			photo_2308571.html');
												thumbnails[2308572] = new thumbnail(2308572,'150560','IMG 2323','IMG_2323_thumb.jpg',130, 173,5,'																			photo_2308572.html');
												thumbnails[5480404] = new thumbnail(5480404,'309809','Frost','Frost_thumb.jpg',130, 130,5,'																			photo_5480404.html');
												thumbnails[5481008] = new thumbnail(5481008,'241187','Ladies in River','Ladies_in_River_thumb.jpg',130, 173,5,'																			photo_5481008.html');
												thumbnails[5482917] = new thumbnail(5482917,'241187','Carvery1','Carvery1_thumb.jpg',130, 211,5,'																			photo_5482917.html');
												thumbnails[6044807] = new thumbnail(6044807,'339764','Temple elephant','elephant_2_thumb.jpg',130, 195,5,'																			photo_6044807.html');
												thumbnails[2308573] = new thumbnail(2308573,'150560','IMG 2326','IMG_2326_thumb.jpg',130, 173,5,'																			photo_2308573.html');
												thumbnails[2305488] = new thumbnail(2305488,'150544','cracked mud3','cracked_mud3_thumb.jpg',130, 173,5,'																			photo_2305488.html');
												thumbnails[2308577] = new thumbnail(2308577,'150560','IMG 2327','IMG_2327_thumb.jpg',130, 173,5,'																			photo_2308577.html');
												thumbnails[5480405] = new thumbnail(5480405,'309809','Kings Wood Web','Kings_Wood_Web_thumb.jpg',130, 195,5,'																			photo_5480405.html');
												thumbnails[5481009] = new thumbnail(5481009,'241187','Cooking in Madurai','Lady_cooking_thumb.jpg',130, 191,5,'																			photo_5481009.html');
												thumbnails[5482918] = new thumbnail(5482918,'241187','chillies','chillies_thumb.jpg',130, 164,5,'																			photo_5482918.html');
												thumbnails[6044808] = new thumbnail(6044808,'339764','Chidambaram Tank','Feeding_Fish_Chidambaram_Tank_thumb.jpg',130, 195,5,'																			photo_6044808.html');
												thumbnails[2308578] = new thumbnail(2308578,'150560','IMG 2328','IMG_2328_thumb.jpg',130, 173,5,'																			photo_2308578.html');
												thumbnails[2305489] = new thumbnail(2305489,'150544','cracked mud4','cracked_mud4_thumb.jpg',130, 173,5,'																			photo_2305489.html');
												thumbnails[2308579] = new thumbnail(2308579,'150560','IMG 2329','IMG_2329_thumb.jpg',130, 98,5,'																			photo_2308579.html');
												thumbnails[5480406] = new thumbnail(5480406,'309809','Lake Periyar mist','Lake_Periyar_mist_thumb.jpg',130, 130,5,'																			photo_5480406.html');
												thumbnails[5481010] = new thumbnail(5481010,'241187','Sorting garlic in Mysore','mysore_garlic_thumb.jpg',130, 182,5,'																			photo_5481010.html');
												thumbnails[5482919] = new thumbnail(5482919,'241187','coriander','coriander_thumb.jpg',130, 116,5,'																			photo_5482919.html');
												thumbnails[6044809] = new thumbnail(6044809,'339764','Fish seller','Fishmonger_1_thumb.jpg',130, 185,5,'																			photo_6044809.html');
												thumbnails[7235761] = new thumbnail(7235761,'376740','C31','C31_thumb.jpg',130, 130,5,'																			photo_7235761.html');
												thumbnails[2308580] = new thumbnail(2308580,'150560','IMG 2330','IMG_2330_thumb.jpg',130, 173,5,'																			photo_2308580.html');
												thumbnails[2308581] = new thumbnail(2308581,'150560','IMG 2331','IMG_2331_thumb.jpg',130, 98,5,'																			photo_2308581.html');
												thumbnails[5480407] = new thumbnail(5480407,'309809','Last Leaves Kings Wood','Last_Leaves_KIngs_Wood_thumb.jpg',130, 195,5,'																			photo_5480407.html');
												thumbnails[5481011] = new thumbnail(5481011,'241187','Mysore Market boy with dog','Mysore_Market_boy_with_dog_thumb.jpg',130, 184,5,'																			photo_5481011.html');
												thumbnails[5482920] = new thumbnail(5482920,'241187','fruit shop','fruit_shop_thumb.jpg',130, 195,5,'																			photo_5482920.html');
												thumbnails[6044810] = new thumbnail(6044810,'339764','Making Salt','Making_Salt_thumb.jpg',130, 178,5,'																			photo_6044810.html');
												thumbnails[2308599] = new thumbnail(2308599,'150560','IMG 2332','IMG_2332_thumb.jpg',130, 98,5,'																			photo_2308599.html');
												thumbnails[2308600] = new thumbnail(2308600,'150560','IMG 2333','IMG_2333_thumb.jpg',130, 173,5,'																			photo_2308600.html');
												thumbnails[5480408] = new thumbnail(5480408,'309809','Misty Morning Oare Marsh','Misty_Morning_Oare_Marsh_AF5E84A3-1EC9-D45B-1CE226EC72EDEB7D_thumb.jpg',130, 173,5,'																			photo_5480408.html');
												thumbnails[5481013] = new thumbnail(5481013,'241187','Mysore Moustache','Mysore_Moustache_thumb.jpg',130, 153,5,'																			photo_5481013.html');
												thumbnails[5482921] = new thumbnail(5482921,'241187','Mysore Mother and child','Mysore_Mother_and_child_thumb.jpg',130, 172,5,'																			photo_5482921.html');
												thumbnails[6044811] = new thumbnail(6044811,'339764','Smoking Man','Mosquito_Man_thumb.jpg',130, 202,5,'																			photo_6044811.html');
												thumbnails[2308601] = new thumbnail(2308601,'150560','IMG 2334','IMG_2334_thumb.jpg',130, 98,5,'																			photo_2308601.html');
												thumbnails[2308602] = new thumbnail(2308602,'150560','IMG 2335','IMG_2335_thumb.jpg',130, 173,5,'																			photo_2308602.html');
												thumbnails[5480409] = new thumbnail(5480409,'309809','Monsoon sunset - Kerala','Monsoon_sunset_thumb.jpg',130, 199,5,'																			photo_5480409.html');
												thumbnails[5481014] = new thumbnail(5481014,'241187','Ooty temple procession 2','Ooty_temple_procession_2_thumb.jpg',130, 194,5,'																			photo_5481014.html');
												thumbnails[5482922] = new thumbnail(5482922,'241187','mysore notary','mysore_notary_thumb.jpg',130, 179,5,'																			photo_5482922.html');
												thumbnails[6044825] = new thumbnail(6044825,'339764','Mr Chakrapani the Astrologer','Mr_Chakrapani_the_Astrologer_thumb.jpg',130, 226,5,'																			photo_6044825.html');
												thumbnails[2308603] = new thumbnail(2308603,'150560','IMG 2337','IMG_2337_thumb.jpg',130, 173,5,'																			photo_2308603.html');
												thumbnails[2308604] = new thumbnail(2308604,'150560','IMG 2338','IMG_2338_thumb.jpg',130, 173,5,'																			photo_2308604.html');
												thumbnails[5480410] = new thumbnail(5480410,'309809','Morning Mist Kings Wood','Morning_Mist_KIngs_Wood_thumb.jpg',130, 195,5,'																			photo_5480410.html');
												thumbnails[5481015] = new thumbnail(5481015,'241187','Ooty temple procession 3','Ooty_temple_procession_3_thumb.jpg',130, 232,5,'																			photo_5481015.html');
												thumbnails[5482923] = new thumbnail(5482923,'241187','Ooty foot','Ooty_foot_thumb.jpg',130, 157,5,'																			photo_5482923.html');
												thumbnails[6044826] = new thumbnail(6044826,'339764','Nandi Offering','Nandi_Oil_lamp_thumb.jpg',130, 174,5,'																			photo_6044826.html');
												thumbnails[7235765] = new thumbnail(7235765,'376740','I3','I3_thumb.jpg',130, 130,5,'																			photo_7235765.html');
												thumbnails[2308605] = new thumbnail(2308605,'150560','IMG 2339','IMG_2339_thumb.jpg',130, 173,5,'																			photo_2308605.html');
												thumbnails[5480411] = new thumbnail(5480411,'309809','Oare Marsh Reeds','Oare_Marsh_Reeds_thumb.jpg',130, 131,5,'																			photo_5480411.html');
												thumbnails[5481016] = new thumbnail(5481016,'241187','Ooty temple procession','Ooty_temple_procession_thumb.jpg',130, 196,5,'																			photo_5481016.html');
												thumbnails[5482924] = new thumbnail(5482924,'241187','Ooty man by temple','Ooty_man_by_temple_thumb.jpg',130, 196,5,'																			photo_5482924.html');
												thumbnails[6044827] = new thumbnail(6044827,'339764','Rock fort steps','Rock_fort_steps_1_thumb.jpg',130, 194,5,'																			photo_6044827.html');
												thumbnails[5480412] = new thumbnail(5480412,'309809','Periyar Reflection','Periyar_Reflection_thumb.jpg',130, 191,5,'																			photo_5480412.html');
												thumbnails[5481017] = new thumbnail(5481017,'241187','Tailor','tailor_thumb.jpg',130, 199,5,'																			photo_5481017.html');
												thumbnails[5482925] = new thumbnail(5482925,'241187','Ooty rock temple','Ooty_rock_temple_thumb.jpg',130, 211,5,'																			photo_5482925.html');
												thumbnails[6044828] = new thumbnail(6044828,'339764','Temple steps','Rock_fort_steps2_thumb.jpg',130, 128,5,'																			photo_6044828.html');
												thumbnails[5480413] = new thumbnail(5480413,'309809','River Pamba Dawn','River_Pamba_Dawn_thumb.jpg',130, 88,5,'																			photo_5480413.html');
												thumbnails[6044829] = new thumbnail(6044829,'339764','Statue with rope','Statue_with_rope_thumb.jpg',130, 97,5,'																			photo_6044829.html');
												thumbnails[5480415] = new thumbnail(5480415,'309809','St Marys Church Faversham','St_Marys_Church_Faversham_thumb.jpg',130, 195,5,'																			photo_5480415.html');
												thumbnails[6044830] = new thumbnail(6044830,'339764','tank washing','tank_washing_thumb.jpg',130, 195,5,'																			photo_6044830.html');
												thumbnails[5480416] = new thumbnail(5480416,'309809','St Marys Faversham steps','St_Marys_Faversham_steps_thumb.jpg',130, 202,5,'																			photo_5480416.html');
												thumbnails[6044831] = new thumbnail(6044831,'339764','Temple bike','Temple_bike_thumb.jpg',130, 195,5,'																			photo_6044831.html');
												thumbnails[5480417] = new thumbnail(5480417,'309809','Swale Sunrise','Swale_Sunrise_thumb.jpg',130, 195,5,'																			photo_5480417.html');
												thumbnails[6044832] = new thumbnail(6044832,'339764','Temple leaving','Temple_leaving_thumb.jpg',130, 195,5,'																			photo_6044832.html');
												thumbnails[5480418] = new thumbnail(5480418,'309809','Wall with Broken Glass','Wall_with_Broken_Glass_thumb.jpg',130, 130,5,'																			photo_5480418.html');
												thumbnails[6044833] = new thumbnail(6044833,'339764','Temple procession 2','Temple_procession_2_thumb.jpg',130, 195,5,'																			photo_6044833.html');
												thumbnails[6044834] = new thumbnail(6044834,'339764','Temple procession 3','Temple_procession_3_thumb.jpg',130, 195,5,'																			photo_6044834.html');

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  					galleries[376739] = new gallery(376739,'','Hindu Sacred Places Paintings','gallery',[],0, 0, '', '																																																																																																							gallery_376739.html',0,0);
				  					galleries[376740] = new gallery(376740,'7235765,7235761,7235756,7235754,7235752,7235750,7235749','Small Squares of Light','gallery',[7235749,7235750,7235752,7235754,7235756,7235761,7235765],0, 0, '', '																																																																																																							gallery_376740.html',0,0);
				  					galleries[309809] = new gallery(309809,'5480410','Disappearing Light','gallery',[5480398,5480399,5480400,5480401,5480402,5480403,5480404,5480405,5480406,5480407,5480408,5480409,5480410,5480411,5480412,5480413,5480415,5480416,5480417,5480418],0, 0, '', '																																																																																																							gallery_309809.html',0,0);
				  					galleries[241187] = new gallery(241187,'5482925,5482924,5482923,5482922,5482921,5482920,5482919,5482918,5482917,5482916','South India - A Visual Encounter','gallery',[5481002,5482911,5481003,5482912,5481004,5482913,5481005,5482914,5481006,5482915,5481007,5482916,5481008,5482917,5481009,5482918,5481010,5482919,5481011,5482920,5481013,5482921,5481014,5482922,5481015,5482923,5481016,5482924,5481017,5482925],0, 0, '', '																																																																																																							gallery_241187.html',0,0);
				  					galleries[150341] = new gallery(150341,'2308825','South India - Landscape','gallery',[2308817,2308823,2308818,2308824,2308819,2308820,2308825],0, 0, '', '																																																																																																							gallery_150341.html',0,0);
				  					galleries[150541] = new gallery(150541,'2329773,2306017','South India - People','gallery',[2304553,2305986,2305993,2306002,2306016,2305994,2306003,2306017,2305987,2305995,2306004,2306018,2329773,2305988,2305996,2306005,2306019,2305989,2305997,2306006,2306020],0, 0, '', '																																																																																																							gallery_150541.html',0,0);
				  					galleries[150595] = new gallery(150595,'2308381','South India - Architecture','gallery',[2308377,2308381,2308389,2308396,2308382,2308390,2308397,2308383,2308391,2308384,2308392,2308385,2308393],0, 0, '', '																																																																																																							gallery_150595.html',0,0);
				  					galleries[339764] = new gallery(339764,'6044829','South India Tamil Nadu 2010','gallery',[6044801,6044802,6044803,6044804,6044805,6044806,6044807,6044808,6044809,6044810,6044811,6044825,6044826,6044827,6044828,6044829,6044830,6044831,6044832,6044833,6044834],0, 0, '', '																																																																																																							gallery_339764.html',0,0);
				  					galleries[150547] = new gallery(150547,'2307230','Beautiful Beasts','gallery',[2307138,2307230,2326780,2307139,2307231,2326781,2307140,2307232,2307141,2307142],0, 0, '', '																																																																																																							gallery_150547.html',0,0);
				  					galleries[150556] = new gallery(150556,'2305947,2305946,2305945,2305944','Woodland Sunbeams, King\'s Wood','gallery',[2305944,2305945,2305946,2305947],0, 0, '', '																																																																																																							gallery_150556.html',0,0);
				  					galleries[310679] = new gallery(310679,'5489011,5489010,5489009,5489008,5489007','In Response','gallery',[5489007,5489008,5489009,5489010,5489011],0, 0, '', '																																																																																																							gallery_310679.html',0,0);
				  					galleries[150598] = new gallery(150598,'2304551','The Swale, North Kent','gallery',[2304514,2304551,2304515,2304552],0, 0, '', '																																																																																																							gallery_150598.html',0,0);
				  					galleries[151228] = new gallery(151228,'2313415','Trees','gallery',[2313406,2313407,2313415,2313408,2313409],0, 0, '', '																																																																																																							gallery_151228.html',0,0);
				  					galleries[150544] = new gallery(150544,'2305489,2305488,2305487,2305486,2305485,2305484','Texture','gallery',[2305484,2305485,2305486,2305487,2305488,2305489],0, 0, '', '																																																																																																							gallery_150544.html',0,0);
				  					galleries[150560] = new gallery(150560,'2308558','Western Heights Walk','gallery',[2308550,2308551,2308552,2308661,2308554,2308557,2308558,2308559,2308560,2308561,2308569,2308570,2308571,2308572,2308573,2308577,2308578,2308579,2308580,2308581,2308599,2308600,2308601,2308602,2308603,2308604,2308605],0, 0, '', '																																																																																																							gallery_150560.html',0,0);
				  					galleries[150542] = new gallery(150542,'2306051','Faversham','gallery',[2306036,2306042,2306047,2306051,2306037,2306043,2306048,2306052,2306038,2306044,2306053,2306039,2306045,2306049,2306040,2306046,2306050],0, 0, '', '																																																																																																							gallery_150542.html',0,0);
				  					galleries[151757] = new gallery(151757,'2326097','\'Out of Focus\' Project','gallery',[2326097,2326101,2326094,2326095,2326102,2326103,2326096,2326104],0, 0, '', '																																																																																																							gallery_151757.html',0,0);
/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = new Object();
imageSets[1] = '7235749,6044829,5481008,5481005,5480401,2329773,2326780,2308580,2308550,2308396,2308392,2308381,2307140';
imageSets[2] = '6044829,5480410,2329773,2326097,2322391,2313415,2308947,2308825,2308558,2308381,2307602,2307230,2306051,2306017,2305465,2304551';
imageSets[3] = '7235769,7235768,7235766,7235765,7235764,7235763,7235762,7235761,7235760,7235759,7235758,7235757,7235756,7235755,7235754,7235753,7235752,7235751,7235750,7235749,7235748,6044834,6044833,6044832,6044831,6044830,6044829,6044828,6044827,6044826,6044825,6044811,6044810,6044809,6044808,6044807,6044806,6044805,6044804,6044803,6044802,6044801,5489011,5489010,5489009,5489008,5489007,5482925,5482924,5482923';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/boblamoon/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/boblamoon/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/boblamoon/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/boblamoon/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/boblamoon/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/boblamoon/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/boblamoon/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/boblamoon/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/boblamoon/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/boblamoon/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/boblamoon/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/boblamoon/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/boblamoon/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/boblamoon/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/boblamoon/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://admin2.clikpic.com/boblamoon/images';
		break;
	}
		switch (server_id) {
		case 33:
		val = 'http://www8.clikpic.com/boblamoon/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/boblamoon/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/boblamoon/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/boblamoon/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/boblamoon/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/boblamoon/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 = 'Bob Lamoon - Artist Photographer: ' + photoCaption;
			    }
        if (op.$detail.length > 0) {
      temp = op.nextPhoto.fnGetImageDetails();
	    op.$detail.fadeGalleryDetails(temp, op.speed, function(){
	    var options = {photoinfominwidth:200};	    		options.photoinfoadjacent = true;			      	      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> 							' + (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;
	}
}

			

