window.thumbnails = new Object();
												thumbnails[108381] = new thumbnail(108381,'10166','Creamy Pea Soup - <br>\r\nvegan<br>\r\n','Peasoup2_thumb.jpg',130, 173,1,'photo_108381.html');
												thumbnails[108394] = new thumbnail(108394,'10175','Chickpea Curry - vegan','Curry_thumb.jpg',130, 173,1,'photo_108394.html');
												thumbnails[108411] = new thumbnail(108411,'10166','Watercress Soup - vegan','Watercress_thumb.jpg',130, 174,1,'photo_108411.html');
												thumbnails[108422] = new thumbnail(108422,'10166','Leek and Carrot squares - vegan','Pastry_thumb.jpg',130, 173,1,'photo_108422.html');
												thumbnails[108426] = new thumbnail(108426,'10175','Malaysian Curry - vegan','Malasyian_thumb.jpg',130, 173,1,'photo_108426.html');
												thumbnails[108427] = new thumbnail(108427,'10166','Lentil Salad - vegan','Lentil_thumb.jpg',130, 173,1,'photo_108427.html');
												thumbnails[108429] = new thumbnail(108429,'10166','Rye Crispbread - vegan<br>\r\n','Crispbread_thumb.jpg',130, 173,1,'photo_108429.html');
												thumbnails[182273] = new thumbnail(182273,'10175','Vitality Salad - vegan','Vit Salad_thumb.JPG',130, 173,1,'photo_182273.html');
												thumbnails[182274] = new thumbnail(182274,'10175','Stuffed Peppers - vegan','Peppers_thumb.JPG',130, 173,1,'photo_182274.html');
												thumbnails[182279] = new thumbnail(182279,'10166','Beetroot Soup - vegan','Beetroot soup_thumb.JPG',130, 173,1,'photo_182279.html');
												thumbnails[182282] = new thumbnail(182282,'10166','Cananpé selection- vegan','Canapes_thumb.JPG',130, 173,1,'photo_182282.html');
												thumbnails[302068] = new thumbnail(302068,'26229','Lifescape Magazine','Foodsection May_Page_1_thumb.jpg',130, 81,1,'photo_302068.html');
												thumbnails[302070] = new thumbnail(302070,'26229','Lifescape Magazine','Foodsection May_Page_2_thumb.jpg',130, 81,1,'photo_302070.html');
												thumbnails[302078] = new thumbnail(302078,'26229','Lifescape Magazine','June52-55_Page_1_thumb.jpg',130, 81,1,'photo_302078.html');
												thumbnails[302080] = new thumbnail(302080,'26229','Lifescape Magazine','June52-55_Page_2_thumb.jpg',130, 81,1,'photo_302080.html');
												thumbnails[302081] = new thumbnail(302081,'26229','Lifescape Magazine','JulyRecipes48-51_Page_1_thumb.jpg',130, 81,1,'photo_302081.html');
												thumbnails[302082] = new thumbnail(302082,'26229','Lifescape Magazine','JulyRecipes48-51_Page_2_thumb.jpg',130, 81,1,'photo_302082.html');
												thumbnails[446076] = new thumbnail(446076,'26229','VVF Magazine','VVF web_thumb.jpg',130, 92,1,'photo_446076.html');
												thumbnails[446084] = new thumbnail(446084,'26229','Viva!Life','VivaLife web1_thumb.jpg',130, 94,1,'photo_446084.html');
												thumbnails[474236] = new thumbnail(474236,'10166','Avocado  delight - vegan','Avocado Toast_thumb.JPG',130, 174,1,'photo_474236.html');
												thumbnails[474238] = new thumbnail(474238,'10166','Spicy Salsa - vegan','Salsa_thumb.JPG',130, 174,1,'photo_474238.html');
												thumbnails[474242] = new thumbnail(474242,'10166','Lentil cakes - vegan','Lentil cakes_thumb.JPG',130, 174,1,'photo_474242.html');
												thumbnails[474245] = new thumbnail(474245,'10166','BBQ Skewers - vegan','Skewers_thumb.JPG',130, 174,1,'photo_474245.html');
												thumbnails[474248] = new thumbnail(474248,'10166','Party Pizza - vegan','Pizza_thumb.JPG',130, 174,1,'photo_474248.html');
												thumbnails[474251] = new thumbnail(474251,'10175','Mushroom ragout - vegan','Mushroom ragout_thumb.JPG',130, 174,1,'photo_474251.html');
												thumbnails[474255] = new thumbnail(474255,'10175','Béchamel starter - vegan','Ingredients_thumb.JPG',130, 174,1,'photo_474255.html');
												thumbnails[474257] = new thumbnail(474257,'10175','BBQ Veggies - vegan','BBQ_thumb.JPG',130, 174,1,'photo_474257.html');
												thumbnails[474258] = new thumbnail(474258,'10175','Butterbean Burger - vegan','Bbburger_thumb.JPG',130, 174,1,'photo_474258.html');
												thumbnails[474260] = new thumbnail(474260,'10175','Quick Noodles - vegan','Noodles_thumb.JPG',130, 174,1,'photo_474260.html');
												thumbnails[474262] = new thumbnail(474262,'10175','Tomato Dhal - vegan','Dhal 2_thumb.JPG',130, 174,1,'photo_474262.html');
												thumbnails[474263] = new thumbnail(474263,'10175','Potato Curry - vegan','Potato Kari_thumb.JPG',130, 174,1,'photo_474263.html');
												thumbnails[611053] = new thumbnail(611053,'26229','Viva!Life','VL Xmas web_thumb.jpg',130, 92,1,'photo_611053.html');
												thumbnails[611054] = new thumbnail(611054,'26229','Veggiehealth','VH Xmas web_thumb.jpg',130, 91,1,'photo_611054.html');
												thumbnails[1038068] = new thumbnail(1038068,'77350','Welcome to Birmingham! 31.05.2007','Vegan_thumb.jpg',130, 173,1,'photo_1038068.html');
												thumbnails[1494260] = new thumbnail(1494260,'10176','Delicious cupcake - vegan','DSC_0232_thumb.jpg',130, 173,1,'photo_1494260.html');
												thumbnails[1494266] = new thumbnail(1494266,'10176','Biscuit hearts - vegan','Hearts_thumb.jpg',130, 173,1,'photo_1494266.html');
												thumbnails[1494269] = new thumbnail(1494269,'10176','Cake selection - vegan','Cake selection_thumb.jpg',130, 173,1,'photo_1494269.html');
												thumbnails[1494271] = new thumbnail(1494271,'10176','Easter chicks - vegan ;-)','Easter_thumb.jpg',130, 173,1,'photo_1494271.html');
												thumbnails[1494272] = new thumbnail(1494272,'10176','Mini Donut - vegan','Donut_thumb.jpg',130, 173,1,'photo_1494272.html');
												thumbnails[1494273] = new thumbnail(1494273,'10176','Cake with candle - vegan','DSC_0381_thumb.jpg',130, 173,1,'photo_1494273.html');
												thumbnails[1494277] = new thumbnail(1494277,'10176','Chocolate truffels - vegan','Truffles R_thumb.jpg',130, 173,1,'photo_1494277.html');
												thumbnails[1494280] = new thumbnail(1494280,'10166','Italian Tofu Canapés - vegan','VH 3 Colour Tofu_thumb.jpg',130, 173,1,'photo_1494280.html');
												thumbnails[1494281] = new thumbnail(1494281,'10176','Cheesecake - vegan','VL Cheesecake_thumb.jpg',130, 173,1,'photo_1494281.html');
												thumbnails[1494283] = new thumbnail(1494283,'10175','Mushroom Flan - vegan','VL Flan_thumb.jpg',130, 173,1,'photo_1494283.html');
												thumbnails[1494284] = new thumbnail(1494284,'10176','Chocolate Beetroot cake - vegan','VH Cake_thumb.jpg',130, 173,1,'photo_1494284.html');
												thumbnails[1494286] = new thumbnail(1494286,'10175','Spinach Pie - vegan','VH Spinach Pie_thumb.jpg',130, 173,1,'photo_1494286.html');
												thumbnails[1641421] = new thumbnail(1641421,'26229','Viva!Life ','VL Summer07_thumb.jpg',130, 91,1,'photo_1641421.html');
												thumbnails[1641424] = new thumbnail(1641424,'26229','Veggiehealth','VH Summer07_thumb.jpg',130, 91,1,'photo_1641424.html');
												thumbnails[1641428] = new thumbnail(1641428,'26229','Viva!Life','Viva!Life Xmas 07_thumb.jpg',130, 91,1,'photo_1641428.html');
												thumbnails[1641451] = new thumbnail(1641451,'26229','Veggiehealth','VH Xmas 07_thumb.jpg',130, 91,1,'photo_1641451.html');
												thumbnails[1692105] = new thumbnail(1692105,'26229','Viva!Life','VivaLife_thumb.jpg',130, 91,1,'photo_1692105.html');
												thumbnails[1692106] = new thumbnail(1692106,'26229','Veggiehealth','Veggiehealth spring_thumb.jpg',130, 91,1,'photo_1692106.html');
												thumbnails[1841773] = new thumbnail(1841773,'10166','Courgette and Dill Soup - vegan','Courgette and Dill Soup_thumb.jpg',130, 173,1,'photo_1841773.html');
												thumbnails[1841779] = new thumbnail(1841779,'10166','Aubergine Dip - vegan','Aubergine Dip_thumb.jpg',130, 173,1,'photo_1841779.html');
												thumbnails[1841782] = new thumbnail(1841782,'10166','Thai Mushroom Soup - vegan','Thai Mushroom Soup 2_thumb.jpg',130, 173,1,'photo_1841782.html');
												thumbnails[1841784] = new thumbnail(1841784,'10166','\'Chicken\' Ceasar Salad - vegan ','Vegan Ceasar Salad_thumb.jpg',130, 173,1,'photo_1841784.html');
												thumbnails[1841786] = new thumbnail(1841786,'10166','Couscous Salad - vegan','Couscous Salad 2_thumb.jpg',130, 173,1,'photo_1841786.html');
												thumbnails[1841787] = new thumbnail(1841787,'10166','Baked Mushrooms - vegan','Roasted Mushrooms_thumb.jpg',130, 173,1,'photo_1841787.html');
												thumbnails[1841788] = new thumbnail(1841788,'10166','Sticky Onion Tart - vegan','Sticky Onion Tart_thumb.jpg',130, 173,1,'photo_1841788.html');
												thumbnails[1841791] = new thumbnail(1841791,'10175','Creamy Pesto Pasta - vegan','Creamy pesto_thumb.jpg',130, 173,1,'photo_1841791.html');
												thumbnails[1841793] = new thumbnail(1841793,'10175','Mushroom Strudel - vegan','Mushroom Strudel_thumb.jpg',130, 173,1,'photo_1841793.html');
												thumbnails[1841796] = new thumbnail(1841796,'10175','Filled Acorn Squash - vegan','Winter Squash_thumb.jpg',130, 173,1,'photo_1841796.html');
												thumbnails[1841800] = new thumbnail(1841800,'10175','Special Paella - vegan','LOWRES Paella 02_thumb.jpg',130, 173,1,'photo_1841800.html');
												thumbnails[1841802] = new thumbnail(1841802,'10175','Chana Gobi - vegan','Curry LOWRES_thumb.jpg',130, 173,1,'photo_1841802.html');
												thumbnails[1841804] = new thumbnail(1841804,'10176','Sunshine Jelly - vegan','Sunshine Jelly_thumb.jpg',130, 173,1,'photo_1841804.html');
												thumbnails[1841807] = new thumbnail(1841807,'10176','Tropical Banana - vegan','Banana_thumb.jpg',130, 173,1,'photo_1841807.html');
												thumbnails[1841810] = new thumbnail(1841810,'10176','Chilled Berry Soup - vegan','Berry Soup_thumb.jpg',130, 173,1,'photo_1841810.html');
												thumbnails[1841819] = new thumbnail(1841819,'10176','Poached Pear - vegan','Poached Pear_thumb.jpg',130, 173,1,'photo_1841819.html');
												thumbnails[2009832] = new thumbnail(2009832,'10175','Veggie Meatloaf - vegan','Meatloaf_thumb.jpg',130, 173,1,'photo_2009832.html');
												thumbnails[2009833] = new thumbnail(2009833,'10176','Chocolate Torte - vegan','Chocolate torte_thumb.jpg',130, 173,1,'photo_2009833.html');
												thumbnails[2009838] = new thumbnail(2009838,'10176','Creamy Berry Whip - vegan','Berry Whip1_thumb.jpg',130, 173,1,'photo_2009838.html');
												thumbnails[2346331] = new thumbnail(2346331,'26229','Veggiehealth','VH Spring 08W_thumb.jpg',130, 94,1,'photo_2346331.html');
												thumbnails[2461396] = new thumbnail(2461396,'10175','Satay Wrap - vegan','Web Satay_thumb.jpg',130, 180,1,'photo_2461396.html');
												thumbnails[2461569] = new thumbnail(2461569,'10175','Mexican Bean Stew- vegan','Bean Stew_thumb.JPG',130, 173,1,'photo_2461569.html');
												thumbnails[2461575] = new thumbnail(2461575,'10175','Tofu Chowder - vegan','Web Chowder_thumb.jpg',130, 180,1,'photo_2461575.html');
												thumbnails[2488202] = new thumbnail(2488202,'10166','Watercress and Pear Salad - vegan','Pear Salad_thumb.jpg',130, 180,1,'photo_2488202.html');
												thumbnails[2488206] = new thumbnail(2488206,'10176','Berry Cobbler - vegan','Berry Cobbler_thumb.jpg',130, 180,1,'photo_2488206.html');
												thumbnails[2764655] = new thumbnail(2764655,'26229','VVF\'s Vegetarian Recipe Club - 3rd edition','Vegetarian Recipe Club_thumb.jpg',130, 92,1,'photo_2764655.html');
												thumbnails[2764692] = new thumbnail(2764692,'26229','Vegan Society Recipe Booklet - Recipes under 35 minutes','Recipe Booklet under 35 Minutes1_thumb.jpg',130, 61,1,'photo_2764692.html');
												thumbnails[2764737] = new thumbnail(2764737,'26229','Vegan Society Recipe Booklet - Recipes under 35 minutes','Recipe Booklet U35 Minutes2_thumb.jpg',130, 61,1,'photo_2764737.html');
												thumbnails[4797759] = new thumbnail(4797759,'26229','Fish-free for life guide ','fishfish_thumb.jpg',130, 101,1,'photo_4797759.html');
												thumbnails[4797764] = new thumbnail(4797764,'26229','White meat myths guide','White_meat_myth_thumb.JPG',130, 92,1,'photo_4797764.html');
												thumbnails[2461394] = new thumbnail(2461394,'10175','Broad Bean Pilaf - vegan','Web Pilaf_thumb.jpg',130, 180,1,'photo_2461394.html');
												thumbnails[7596433] = new thumbnail(7596433,'407584','Didsbury Dinners','Didsbury_Dinners_thumb.jpg',130, 91,1,'photo_7596433.html');
												thumbnails[7515019] = new thumbnail(7515019,'407584','Carrot, Parsnip and Ginger Cake','Carrot_Parsnip_Cake_thumb.jpg',130, 194,1,'photo_7515019.html');
												thumbnails[7515022] = new thumbnail(7515022,'407584','Raspberry Jam','Jam_thumb.jpg',130, 194,1,'photo_7515022.html');
												thumbnails[7515028] = new thumbnail(7515028,'407584','Cranberry and Choc Bannock','LR_Bannock_thumb.jpg',130, 194,1,'photo_7515028.html');
												thumbnails[7515031] = new thumbnail(7515031,'407584','Sunday Brunch Loaf','LR_Bran_Loaf_thumb.jpg',130, 194,1,'photo_7515031.html');
												thumbnails[7515037] = new thumbnail(7515037,'407584','Raspberry Brownies','LR_Brownie_thumb.jpg',130, 194,1,'photo_7515037.html');
												thumbnails[7515039] = new thumbnail(7515039,'407584','Rhubarb Creme Brulee','LR_Brulee_thumb.jpg',130, 194,1,'photo_7515039.html');
												thumbnails[7515042] = new thumbnail(7515042,'407584','Chilli','LR_Chilli_thumb.jpg',130, 194,1,'photo_7515042.html');
												thumbnails[7515048] = new thumbnail(7515048,'407584','Double Chocolate Cakes','LR_Chocolate_Sponge_thumb.jpg',130, 194,1,'photo_7515048.html');
												thumbnails[108388] = new thumbnail(108388,'10176','Pot au chocolat - vegan<br>\r\n','Chocolate_thumb.jpg',130, 173,1,'photo_108388.html');
												thumbnails[1038128] = new thumbnail(1038128,'77350','Rosamund Raha, Head of Information Services','DSCF5276_thumb.JPG',130, 98,1,'photo_1038128.html');
												thumbnails[3039089] = new thumbnail(3039089,'186842','Paul Russel\'s winning menu','Winner Paul_thumb.jpg',130, 60,1,'photo_3039089.html');
												thumbnails[7515050] = new thumbnail(7515050,'407584','Fruitpie','LR_Fruitpie_thumb.jpg',130, 194,1,'photo_7515050.html');
												thumbnails[7515052] = new thumbnail(7515052,'407584','Ginger Sponge','LR_Ginger_Sponge2_thumb.jpg',130, 194,1,'photo_7515052.html');
												thumbnails[7515055] = new thumbnail(7515055,'407584','Tony\'s Hotpot','LR_Hotpot_thumb.jpg',130, 194,1,'photo_7515055.html');
												thumbnails[7515091] = new thumbnail(7515091,'407584','Jalfrezi','LR_Jalfrezi_thumb.jpg',130, 194,1,'photo_7515091.html');
												thumbnails[7515092] = new thumbnail(7515092,'407584','St. George\'s Fritters','LR_Mushrooms_thumb.jpg',130, 194,1,'photo_7515092.html');
												thumbnails[7515094] = new thumbnail(7515094,'407584','Erika\'s Niku-Jaga','LR_Niku_Jaga_thumb.jpg',130, 194,1,'photo_7515094.html');
												thumbnails[7515097] = new thumbnail(7515097,'407584','Pizzettes wit Baba Ganoush','LR_Pizzettes_thumb.jpg',130, 194,1,'photo_7515097.html');
												thumbnails[7515105] = new thumbnail(7515105,'407584','Rooty Salad','LR_Rooty_Salad_thumb.jpg',130, 194,1,'photo_7515105.html');
												thumbnails[7515108] = new thumbnail(7515108,'407584','Courgette, Mint and Chilli Soup','LR_Soup_thumb.jpg',130, 194,1,'photo_7515108.html');
												thumbnails[7515121] = new thumbnail(7515121,'407584','Bean and Veggie Pie','Savoury_Pie_thumb.jpg',130, 194,1,'photo_7515121.html');
												thumbnails[108391] = new thumbnail(108391,'10176','Choc-Fudge Cake - vegan','Chocolatecake_thumb.jpg',130, 173,1,'photo_108391.html');
												thumbnails[1038132] = new thumbnail(1038132,'77350','Lord Mayor and Lady Mayoress meeting Alex Bourke','DSCF5341_thumb.JPG',130, 98,1,'photo_1038132.html');
												thumbnails[3039093] = new thumbnail(3039093,'186842','Peter Walters\' beautiful dishes won him second prize.','Peter_thumb.jpg',130, 63,1,'photo_3039093.html');
												thumbnails[7515123] = new thumbnail(7515123,'407584','Welsh Cakes','LR_Welsh_Cakes_thumb.jpg',130, 194,1,'photo_7515123.html');
												thumbnails[7515127] = new thumbnail(7515127,'407584','Sticky Toffee Pudding','LR_Sticky_Toffee_thumb.jpg',130, 194,1,'photo_7515127.html');
												thumbnails[7515016] = new thumbnail(7515016,'407584','Apple and Plum Crumble','Crumble_thumb.jpg',130, 194,1,'photo_7515016.html');
												thumbnails[108395] = new thumbnail(108395,'10176','Blueberries - of course vegan','Blueberries_thumb.JPG',130, 174,1,'photo_108395.html');
												thumbnails[1038152] = new thumbnail(1038152,'77350','Benjamin Zephaniah and Vegan Society CEO Nigel Winter','DSCF5303_thumb.JPG',130, 98,1,'photo_1038152.html');
												thumbnails[3039101] = new thumbnail(3039101,'186842','Richard Craig\'s journeyed all the way from Glasgow to bag a well-earned third prize.','Richard_thumb.jpg',130, 49,1,'photo_3039101.html');
												thumbnails[182284] = new thumbnail(182284,'10176','Raspberry Smoothie- vegan','Smoothie_thumb.JPG',130, 173,1,'photo_182284.html');
												thumbnails[1038251] = new thumbnail(1038251,'77350','The buffet looks amazing','DSCF5300_thumb.JPG',130, 98,1,'photo_1038251.html');
												thumbnails[3039103] = new thumbnail(3039103,'186842','Finalist John Bayley, owner of Cashew - Creative Vegetarian and Vegan Catering, in Lewes, East Sussex','John_thumb.jpg',130, 62,1,'photo_3039103.html');
												thumbnails[108420] = new thumbnail(108420,'10176','Quick Biscuits - <br>\r\n  vegan','Spitzbuben_thumb.jpg',130, 173,1,'photo_108420.html');
												thumbnails[1038134] = new thumbnail(1038134,'77350','Fiona Sylva, Finance Officeer','DSCF5321_thumb.JPG',130, 98,1,'photo_1038134.html');
												thumbnails[3039113] = new thumbnail(3039113,'186842','Finalist Terry Woolcock, Executive Chef at Hatherley Manor Hotel.','Terry_thumb.jpg',130, 62,1,'photo_3039113.html');
												thumbnails[1038136] = new thumbnail(1038136,'77350','Signing a copy of Truth or Dairy','DSCF5449_thumb.JPG',130, 98,1,'photo_1038136.html');
												thumbnails[1038256] = new thumbnail(1038256,'77350','Presenting a \"Vegan Passport\"','DSCF5455_thumb.JPG',130, 98,1,'photo_1038256.html');
												thumbnails[1038148] = new thumbnail(1038148,'77350','Lord Mayor, B. Zephaniah and Rob Jackson','DSCF5438_thumb.JPG',130, 98,1,'photo_1038148.html');
												thumbnails[1038254] = new thumbnail(1038254,'77350','Checking out the new CD-ROM for schools','DSCF5327c_thumb.JPG',130, 98,1,'photo_1038254.html');
												thumbnails[3039109] = new thumbnail(3039109,'186842','Finalist Wayn Shooter, Chef at HMP Whatton near Nottingham','Wayn_thumb.jpg',130, 64,1,'photo_3039109.html');
												thumbnails[3039394] = new thumbnail(3039394,'186842','Paul Russell (foreground) and Peter Walters (left) ','DSC_3183_thumb.JPG',130, 87,1,'photo_3039394.html');
												thumbnails[3039403] = new thumbnail(3039403,'186842','Terry Woolcock (left) and John Bayley (right)','DSC_3158_thumb.JPG',130, 87,1,'photo_3039403.html');
												thumbnails[3039437] = new thumbnail(3039437,'186842','Wayne Shooter','DSC_3167_thumb.JPG',130, 194,1,'photo_3039437.html');
												thumbnails[3039454] = new thumbnail(3039454,'186842','Richard Craig, his black jacket even had \"The Vegan Challenge 2008\" embroidered on the sleeve. Very smart, Richard!','DSC_3500_thumb.JPG',130, 194,1,'photo_3039454.html');
												thumbnails[3039443] = new thumbnail(3039443,'186842','Terry Woolcock with judge Chad Sarno','DSC_3161_thumb.JPG',130, 87,1,'photo_3039443.html');
												thumbnails[3039458] = new thumbnail(3039458,'186842','Vegan Society CEO Nigel Winter handing over the £500 cheque to the competition winner Paul Russell.','DSC_3518_thumb.JPG',130, 87,1,'photo_3039458.html');
												thumbnails[3039464] = new thumbnail(3039464,'186842','The six finalists with the judges Chad Sarno of Saf Restaurant, Christine Tilbury of the Cordon Vert Cookery School and Andrew Maxwell of the Tante Marie School of Cookery. ','DSC_3516_thumb.jpg',130, 87,1,'photo_3039464.html');
												thumbnails[182288] = new thumbnail(182288,'10176','Hazelnut biscuits - vegan','Hazelnut bis_thumb.JPG',130, 174,1,'photo_182288.html');
												thumbnails[108423] = new thumbnail(108423,'10176','Hazelnut Cake - vegan','Nutcake_thumb.jpg',130, 173,1,'photo_108423.html');
												thumbnails[1038156] = new thumbnail(1038156,'77350','Lord Mayor and Stephen Walsh \'tucking in\'','DSCF55021_thumb.JPG',130, 98,1,'photo_1038156.html');
												thumbnails[474273] = new thumbnail(474273,'10176','Indian Kheer - vegan','Kheer_thumb.JPG',130, 174,1,'photo_474273.html');
												thumbnails[182286] = new thumbnail(182286,'10176','Vodka Jelly - vegan','jelly_thumb.JPG',130, 173,1,'photo_182286.html');
												thumbnails[182287] = new thumbnail(182287,'10176','Mocha Walnut Cake - vegan','Mocha_thumb.JPG',130, 173,1,'photo_182287.html');
												thumbnails[1038257] = new thumbnail(1038257,'77350','Good food and interesting company','DSCF5535_thumb.JPG',130, 98,1,'photo_1038257.html');
												thumbnails[474297] = new thumbnail(474297,'10176','Raspberry Sorbet - vegan','Raspberry1_thumb.JPG',130, 174,1,'photo_474297.html');
												thumbnails[2346289] = new thumbnail(2346289,'26229','Vegan Society Advert for Catering magazines','VeganAdvertW_thumb.jpg',130, 184,1,'photo_2346289.html');
												thumbnails[2346311] = new thumbnail(2346311,'26229','Vegan Society UK Exhibition Banner','Vegan Society2_thumb.jpg',130, 199,1,'photo_2346311.html');
												thumbnails[2346312] = new thumbnail(2346312,'26229','Vegan Society UK Exhibition Banner','Vegan Society1_thumb.jpg',130, 199,1,'photo_2346312.html');

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  					galleries[407584] = new gallery(407584,'7596433','Didsbury Dinners Low Carbon Community Cookbook','gallery',[7596433,7515019,7515022,7515028,7515031,7515037,7515039,7515042,7515048,7515050,7515052,7515055,7515091,7515092,7515094,7515097,7515105,7515108,7515121,7515123,7515127,7515016],0, 0, '', 'gallery_407584.html',0,0);
				  					galleries[10166] = new gallery(10166,'2488202,1841788,1841787,1841786,1841784,1841782,1841779,1841773,1494280,474248,474245,474242,474238,474236,108429,108427,108422,108411,108381','Starters, all vegan','gallery',[108381,108411,108422,108427,108429,182279,182282,474236,474238,474242,474245,474248,1494280,1841773,1841779,1841782,1841784,1841786,1841787,1841788,2488202],0, 0, '', 'gallery_10166.html',0,0);
				  					galleries[10175] = new gallery(10175,'2461575,2461569,2461396,2461394,1841802,1841800,1841796,1841793,1841791,1494286,1494283,474263,474262,474260,474258,474257,474255,474251,108426,108394','Main courses, all vegan','gallery',[108394,108426,182273,182274,474251,474255,474257,474258,474260,474262,474263,1494283,1494286,1841791,1841793,1841796,1841800,1841802,2009832,2461396,2461569,2461575,2461394],0, 0, '', 'gallery_10175.html',0,0);
				  					galleries[10176] = new gallery(10176,'2488206,2009838,2009833,1841819,1841810,1841807,1841804,1494284,1494281,1494277,1494273,1494272,474297,474273,182288,108423,108420,108395,108391,108388','Desserts, all vegan','gallery',[1494260,1494266,1494269,1494271,1494272,1494273,1494277,1494281,1494284,1841804,1841807,1841810,1841819,2009833,2009838,2488206,108388,108391,108395,182284,108420,182288,108423,474273,182286,182287,474297],0, 0, '', 'gallery_10176.html',0,0);
				  					galleries[26229] = new gallery(26229,'2346331,1692106,1692105,1641451,1641428,1641424,1641421,611053,446084,302068','Recently Published','gallery',[302068,302070,302078,302080,302081,302082,446076,446084,611053,611054,1641421,1641424,1641428,1641451,1692105,1692106,2346331,2764655,2764692,2764737,4797759,4797764,2346289,2346311,2346312],0, 0, '', 'gallery_26229.html',0,0);
				  					galleries[186842] = new gallery(186842,'3039464,3039458,3039454,3039443,3039437,3039403,3039394,3039113,3039109,3039103','Vegan Catering Challenge - competition photographs','gallery',[3039089,3039093,3039101,3039103,3039113,3039109,3039394,3039403,3039437,3039454,3039443,3039458,3039464],0, 0, '', 'gallery_186842.html',0,0);
				  					galleries[77350] = new gallery(77350,'1038068','Vegan Society Launch Party','gallery',[1038068,1038128,1038132,1038152,1038251,1038134,1038136,1038256,1038148,1038254,1038156,1038257],0, 0, '', 'gallery_77350.html',0,0);
/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = new Object();
imageSets[1] = '7515127,7515123,7515105,7515097,7515094,7515092,7515091,7515055,7515052,7515048,7515042,7515039,7515037,7515031,7515028,7515022,7515019,7515016,2488202,2461575,2461569,2461396,2461394,2009838,2009833,1841819,1841810,1841807,1841804,1841802,1841800,1841796,1841793,1841791,1841788,1841787,1841786,1841779,1494284,1494283,1494281,1494280,1494277,1494273,1494272,1494271,1494269,1494266,1494260,474297,474273,474263,474262,474260,474258,474257,474255,474251,474248,474245,474242,474238,474236,182288,182287,182284,182282,182279,182273,108395,108388';
imageSets[2] = '7596433,2488206,2488202,2461575,2461569,2461396,2461394,2346331,2009838,2009833,1841819,1841810,1841807,1841804,1841802,1841800,1841796,1841793,1841791,1841788,1841787,1841786,1841784,1841782,1841779,1841773,1692106,1692105,1641451,1641428,1641424,1641421,1494286,1494284,1494283,1494281,1494280,1494277,1494273,1494272,1038068,611053,474297,474273,474263,474262,474260,474258,474257,474255,474251,474248,474245,474242,474238,474236,446084,302068,182288,108429,108427,108426,108423,108422,108420,108411,108395,108394,108391,108388,108381';
imageSets[3] = '2764737,2764692,2764655,2488206,2488202,2461575,2461569,2461396,2346331,2009838,2009833,2009832,1841819,1841810,1841807,1841804,1841802,1841800,1841796,1841793,1841791,1841788,1841787,1841786,1841784,1841782,1841779,1841773,1692106,1692105,1641451,1641428,1641424';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/chavaeichner/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/chavaeichner/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/chavaeichner/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/chavaeichner/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/chavaeichner/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/chavaeichner/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/chavaeichner/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/chavaeichner/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/chavaeichner/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/chavaeichner/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/chavaeichner/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/chavaeichner/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/chavaeichner/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/chavaeichner/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/chavaeichner/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://admin2.clikpic.com/chavaeichner/images';
		break;
	}
		switch (server_id) {
		case 33:
		val = 'http://www8.clikpic.com/chavaeichner/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/chavaeichner/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/chavaeichner/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/chavaeichner/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/chavaeichner/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/chavaeichner/images';
		break;
	}
		return val;
}

/***************************************************************************
* img = reference to image object in which to show image                   *
***************************************************************************/
function showHomeImage(img) {

	imageID = randomListVal('');
		if (!basic) {
	img.src = photos[imageID].src;
	img.width = photos[imageID].width;
	img.height = photos[imageID].height;
  img.parentNode.title = img.alt = photos[imageID].caption;
	}
	else {
		newImage = new Image(photos[imageID].width,photos[imageID].height);
		newImage.src = photos[imageID].src;
		document.images[img.name] = newImage;
				
	}
			}

function getHomeImageLink(imageID) {
  	var href='', photo = backgrounds && backgrounds[imageID];
	if(photo){
		if (photo && photo.galleries_id != '') {
  			href = photo.fnGalleryLink();
  		}
  		  		else {
  				href += 'gallery.html';
  	  		}
	}
    return href;
}
/***************************************************************************
* Show a random image on home page from featured images                    *
***************************************************************************/
function showHomeImageInline(el, image_sets_id, href) {
	
  var css = {}, imageID,
	    imageSetsId = 1;
	if(image_sets_id){
		imageSetsId = image_sets_id;
	}
	imageID = randomListVal(imageSets[imageSetsId]);
		if (href == null && 'gallery' != '') {
					href = getHomeImageLink(imageID);
	}
    
  updateImage({nextPhoto: backgrounds[imageID], img:el.find('img')[0],
                $photo:el, $title:$('#homeimageTitleContainer'), $detail:$('#homeimageDetailsContainer'),                speed:0, href:href, css:css, onAfter: function(){                  this.closest('.contentsection').doManualAlign({				    inner: 'img',				    crop: 'a'				  });                }              });
}

/***************************************************************************
* Set 'img' to be a new image given its photo() object                     *
***************************************************************************/
function updateImage (options) {
  var defaults = {nextPhoto:'',field:'',img:'',$photo:'',$title:'',$detail:'',
                    updateDocumentTitle:false,speed:0,href:false,css:false,updateHash:false,onAfter:null,onBefore:null},
      op = $.extend({},defaults,options),
      html = '', temp = '',
      photoId = op.nextPhoto.id,
      photoCaption = op.nextPhoto.caption,
      photoSrc = op.nextPhoto.src;
		
		if (!basic) {
    if (op.updateHash && clik.getIDInUrl(location.href,'photo') != op.nextPhoto.id) {
		clik.changeHash('photos_id=' + op.nextPhoto.id, true);
    }
				
    if (op.$photo.length > 0) {
      html = $('<img/>',{
        'class': 'mainphoto photo',
        src: photoSrc,
        id: 'mainPic',
        name: 'mainPic',
        width: op.nextPhoto.width,
        height: op.nextPhoto.height,
        alt: photoCaption,
        css: op.css || {}
      });
      if (op.href) {
      	if (op.href.match(/<a/)) {
      	  html = $(op.href).append(html);
      	} else {
		  html = $('<a/>', {
			href: op.href,
			title: photoCaption
		  }).append(html);
	    }
      } else {
      	html = $('<a/>', {
			title: photoCaption
		  }).append(html);
      }
      if (op.speed == 0) {        op.$photo.html(html);        if (op.onBefore) {          op.onBefore.apply(op.$photo);        }        if (op.onAfter) {          op.onAfter.apply(op.$photo);        }      } else {        op.$photo.stop(true,true).fadeReplaceWith(html,op.speed,'',function(){            if (op.onAfter) {		    op.onAfter.apply(this);          }		  clik.doColumnResize(false, $(this).add(op.$detail).add(op.$title));		  $('body').trigger('clikUpdate');		}, op.onBefore);
      }    }
    	if (op.field) {
		op.field.value = photoId;
	} else {
		op.$photo.data('image_id', photoId);
    }
	    if (op.$title.length > 0) {
  		op.$title.fadeGalleryDetails(photoCaption, op.speed);
    }
        if (op.updateDocumentTitle) {
						  document.title = 'Flavourphotos   Vegan Food Photography: ' + 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));      $('body').trigger('clikUpdate');    }        
    return html;			}
	else {
				
		window.location = 'photo_' + nextPhoto.id + '.html';
	}
		
}

/***************************************************************************
* Toggle add to cart confirmation element and set up the click event for   *
* the 'Add to cart' button.                                                *
***************************************************************************/
function toggleAddToCartConfirm(array){
  if (typeof(array) !== 'object') {
    array = photos;
  }
	if($('#paymentConfirm').length > 0){
		$('#paymentConfirm').hide();
		$('#paymentAddButton')
		.unbind()
		.click(function(){
						form = document.getElementById('paymentForm');
			option_id = 0;
			if(form.item_option.value){
				option_id = form.item_option.value;
			}
			if(addItemToBasket(form.item_number.value,array,form.site.value,parseInt(form.quantity.value, 10),option_id)){
				if($.browser.msie){$('#paymentConfirm').text('Item added to cart').show();}
				else{
					$('#paymentConfirm').text('Item added to cart').fadeIn();
					dspOrderDetails(form.site.value);
				}
			}
			else{
				$('#paymentConfirm').text('Item not added - check cookies are enabled in your browser.').fadeIn();
			}
		});
	}
}
/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
photo.prototype.fnGetImageDetails = function(){
	var temp = '';
	if (this.description != '') {
		temp = temp +  '<p id="imageDescription">' + this.description + '</p>';
	}
		if (this.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;
	}
}

			

