window.thumbnails = {};
															thumbnails[2900829] = clik.newPhoto({"id":2900829,"src":"BG_thumb.jpg","galleries_id":179770,"server_id":1,"link":"photo_2900829.html","width":130,"caption":"Botleigh Grange Hotel","height":93});
															thumbnails[2907082] = clik.newPhoto({"id":2907082,"src":"IMG_4253_thumb.jpg","galleries_id":179769,"server_id":1,"link":"photo_2907082.html","width":130,"caption":"The White Swan, Arundel","height":97});
															thumbnails[2919605] = clik.newPhoto({"id":2919605,"src":"IMG_4408 copy_thumb.jpg","galleries_id":179769,"server_id":1,"link":"photo_2919605.html","width":130,"caption":"Marwell Hotel","height":97});
															thumbnails[2919624] = clik.newPhoto({"id":2919624,"src":"IMG_4423 copy_thumb.jpg","galleries_id":179769,"server_id":1,"link":"photo_2919624.html","width":130,"caption":"Hilton Avisford Park","height":97});
															thumbnails[2919628] = clik.newPhoto({"id":2919628,"src":"IMG_3420 copy_thumb.jpg","galleries_id":179769,"server_id":1,"link":"photo_2919628.html","width":130,"caption":"The Royal Norfolk","height":86});
															thumbnails[2919630] = clik.newPhoto({"id":2919630,"src":"IMG_3583 copy_thumb.JPG","galleries_id":179769,"server_id":1,"link":"photo_2919630.html","width":130,"caption":"Willow Barn","height":86});
															thumbnails[2919642] = clik.newPhoto({"id":2919642,"src":"IMG_5368 copy_thumb.jpg","galleries_id":179769,"server_id":1,"link":"photo_2919642.html","width":130,"caption":"Crouchers Hotel","height":97});
															thumbnails[2919645] = clik.newPhoto({"id":2919645,"src":"IMG_5758 copy_thumb.jpg","galleries_id":179769,"server_id":1,"link":"photo_2919645.html","width":130,"caption":"Arundel Town Hall","height":91});
															thumbnails[2919648] = clik.newPhoto({"id":2919648,"src":"IMG_24822 copy_thumb.jpg","galleries_id":179769,"server_id":1,"link":"photo_2919648.html","width":130,"caption":"The Walled Garden","height":86});
															thumbnails[2926367] = clik.newPhoto({"id":2926367,"src":"IMG00161_thumb.jpg","galleries_id":180664,"server_id":1,"link":"photo_2926367.html","width":130,"caption":"Portsmouth Marriott","height":104});
															thumbnails[2928691] = clik.newPhoto({"id":2928691,"src":"007_thumb.JPG","galleries_id":179770,"server_id":1,"link":"photo_2928691.html","width":130,"caption":"Fontwell House","height":173});
															thumbnails[2928698] = clik.newPhoto({"id":2928698,"src":"DSC00274_thumb.JPG","galleries_id":179770,"server_id":1,"link":"photo_2928698.html","width":130,"caption":"Arundel Town Hall","height":173});
															thumbnails[2928701] = clik.newPhoto({"id":2928701,"src":"DSC00278_thumb.JPG","galleries_id":179769,"server_id":1,"link":"photo_2928701.html","width":130,"caption":"Arundel Town Hall","height":97});
															thumbnails[2928705] = clik.newPhoto({"id":2928705,"src":"IMG00245_thumb.jpg","galleries_id":179769,"server_id":1,"link":"photo_2928705.html","width":130,"caption":"Chatsworth Hotel, Worthing","height":104});
															thumbnails[2928706] = clik.newPhoto({"id":2928706,"src":"IMG00163_thumb.jpg","galleries_id":180664,"server_id":1,"link":"photo_2928706.html","width":130,"caption":"Hilton Avisford Park","height":104});
															thumbnails[2928715] = clik.newPhoto({"id":2928715,"src":"IMG00280_thumb.jpg","galleries_id":180664,"server_id":1,"link":"photo_2928715.html","width":130,"caption":"Felbridge Hotel","height":104});
															thumbnails[3028979] = clik.newPhoto({"id":3028979,"src":"IMG00370_thumb.jpg","galleries_id":179769,"server_id":1,"link":"photo_3028979.html","width":130,"caption":"Arundel Town Hall","height":104});
															thumbnails[3028981] = clik.newPhoto({"id":3028981,"src":"IMG00359_thumb.jpg","galleries_id":179769,"server_id":1,"link":"photo_3028981.html","width":130,"caption":"Copthorne Hotel","height":104});
															thumbnails[3028983] = clik.newPhoto({"id":3028983,"src":"IMG00356_thumb.jpg","galleries_id":179769,"server_id":1,"link":"photo_3028983.html","width":130,"caption":"Holiday Inn, Brighton","height":104});
															thumbnails[3028985] = clik.newPhoto({"id":3028985,"src":"IMG00355_thumb.jpg","galleries_id":179769,"server_id":1,"link":"photo_3028985.html","width":130,"caption":"Fontwell House","height":163});
															thumbnails[3028992] = clik.newPhoto({"id":3028992,"src":"IMG00292_thumb.jpg","galleries_id":179769,"server_id":1,"link":"photo_3028992.html","width":130,"caption":"Chatsworth Hotel, Worthing","height":104});
															thumbnails[3028994] = clik.newPhoto({"id":3028994,"src":"IMG00288_thumb.jpg","galleries_id":179769,"server_id":1,"link":"photo_3028994.html","width":130,"caption":"","height":104});
															thumbnails[3028998] = clik.newPhoto({"id":3028998,"src":"IMG00302_thumb.jpg","galleries_id":179770,"server_id":1,"link":"photo_3028998.html","width":130,"caption":"Solent Hotel","height":104});
															thumbnails[3028999] = clik.newPhoto({"id":3028999,"src":"IMG00303_thumb.jpg","galleries_id":179770,"server_id":1,"link":"photo_3028999.html","width":130,"caption":"Solent Hotel","height":163});
															thumbnails[3029003] = clik.newPhoto({"id":3029003,"src":"IMG00321_thumb.jpg","galleries_id":179770,"server_id":1,"link":"photo_3029003.html","width":130,"caption":"","height":163});
															thumbnails[3029004] = clik.newPhoto({"id":3029004,"src":"IMG00361_thumb.jpg","galleries_id":179770,"server_id":1,"link":"photo_3029004.html","width":130,"caption":"","height":163});
															thumbnails[3029007] = clik.newPhoto({"id":3029007,"src":"IMG00364_thumb.jpg","galleries_id":180664,"server_id":1,"link":"photo_3029007.html","width":130,"caption":"Fontwell Racecourse","height":104});
															thumbnails[3029010] = clik.newPhoto({"id":3029010,"src":"IMG00372_thumb.jpg","galleries_id":180664,"server_id":1,"link":"photo_3029010.html","width":130,"caption":"Hilton Avisford Park","height":104});
															thumbnails[5508685] = clik.newPhoto({"id":5508685,"src":"IMG00049_thumb.jpg","galleries_id":311898,"server_id":1,"link":"photo_5508685.html","width":130,"caption":"Aisle runner with petals from £45","height":163});
															thumbnails[5508693] = clik.newPhoto({"id":5508693,"src":"IMG00147_thumb.jpg","galleries_id":311898,"server_id":1,"link":"photo_5508693.html","width":130,"caption":"Top table swag with lights - £30","height":104});
															thumbnails[5508694] = clik.newPhoto({"id":5508694,"src":"IMG00160_thumb.jpg","galleries_id":180664,"server_id":1,"link":"photo_5508694.html","width":130,"caption":"Portsmouth Marriott","height":104});
															thumbnails[5508699] = clik.newPhoto({"id":5508699,"src":"IMG00253_thumb.jpg","galleries_id":311898,"server_id":1,"link":"photo_5508699.html","width":130,"caption":"Top table swag with lights - £30","height":104});
															thumbnails[5508701] = clik.newPhoto({"id":5508701,"src":"IMG00274_thumb.jpg","galleries_id":311898,"server_id":1,"link":"photo_5508701.html","width":130,"caption":"Fairy light backdrop single £105  double £180","height":104});
															thumbnails[5508704] = clik.newPhoto({"id":5508704,"src":"IMG00290_D196EFCF-1EC9-D45B-1C0BC336A50BA0EC_thumb.jpg","galleries_id":311898,"server_id":1,"link":"photo_5508704.html","width":130,"caption":"Candelabras from £15","height":163});
															thumbnails[5508705] = clik.newPhoto({"id":5508705,"src":"IMG00293_thumb.jpg","galleries_id":311898,"server_id":1,"link":"photo_5508705.html","width":130,"caption":"Table runners - £2.50","height":104});
															thumbnails[5508709] = clik.newPhoto({"id":5508709,"src":"IMG00294_thumb.jpg","galleries_id":311898,"server_id":1,"link":"photo_5508709.html","width":130,"caption":"Top table swag without lights - £20","height":104});
															thumbnails[5508713] = clik.newPhoto({"id":5508713,"src":"IMG00302_D198F832-1EC9-D45B-1C9E975FC307D776_thumb.jpg","galleries_id":311898,"server_id":1,"link":"photo_5508713.html","width":130,"caption":"Floral arch with fairy lights - £75 Floral urns - 2 for £60","height":104});
															thumbnails[5508735] = clik.newPhoto({"id":5508735,"src":"IMG00303_D19A39DA-1EC9-D45B-1C08B8D5E42BD74A_thumb.jpg","galleries_id":311898,"server_id":1,"link":"photo_5508735.html","width":130,"caption":"Table runners - £2.50","height":163});
															thumbnails[5508741] = clik.newPhoto({"id":5508741,"src":"IMG00304_thumb.jpg","galleries_id":311898,"server_id":1,"link":"photo_5508741.html","width":130,"caption":"Napkin ties - 50p each","height":163});
															thumbnails[5508784] = clik.newPhoto({"id":5508784,"src":"IMG00329_thumb.jpg","galleries_id":311898,"server_id":1,"link":"photo_5508784.html","width":130,"caption":"Floral urns - 2 for £60","height":163});
															thumbnails[5508789] = clik.newPhoto({"id":5508789,"src":"IMG00357_D19C0B9C-1EC9-D45B-1C5275670FC49482_thumb.jpg","galleries_id":311898,"server_id":1,"link":"photo_5508789.html","width":130,"caption":"Centre pieces from £18","height":163});
															thumbnails[5508797] = clik.newPhoto({"id":5508797,"src":"IMG00378_thumb.jpg","galleries_id":311898,"server_id":1,"link":"photo_5508797.html","width":130,"caption":"Balcony swags with lights from £30","height":104});
															thumbnails[5508804] = clik.newPhoto({"id":5508804,"src":"IMG00380_thumb.jpg","galleries_id":311898,"server_id":1,"link":"photo_5508804.html","width":130,"caption":"Door drapes from £35","height":104});
															thumbnails[5508806] = clik.newPhoto({"id":5508806,"src":"IMG00385_thumb.jpg","galleries_id":179769,"server_id":1,"link":"photo_5508806.html","width":130,"caption":"Chilworth Manor","height":104});
															thumbnails[5508808] = clik.newPhoto({"id":5508808,"src":"IMG00406_thumb.jpg","galleries_id":180664,"server_id":1,"link":"photo_5508808.html","width":130,"caption":"Hickstead Showground","height":163});
															thumbnails[5508809] = clik.newPhoto({"id":5508809,"src":"IMG00412_thumb.jpg","galleries_id":180664,"server_id":1,"link":"photo_5508809.html","width":130,"caption":"Hilton Avisford Park","height":163});
															thumbnails[5508817] = clik.newPhoto({"id":5508817,"src":"beaulieu_2_thumb.jpg","galleries_id":311898,"server_id":1,"link":"photo_5508817.html","width":130,"caption":"Candelabra with fresh flowers from £45","height":195});
															thumbnails[5508819] = clik.newPhoto({"id":5508819,"src":"candelabra_thumb.jpg","galleries_id":311898,"server_id":1,"link":"photo_5508819.html","width":130,"caption":"Silver Candelabras from £15","height":130});
															thumbnails[5508820] = clik.newPhoto({"id":5508820,"src":"IMG00149A_thumb.jpg","galleries_id":311898,"server_id":1,"link":"photo_5508820.html","width":130,"caption":"Pillar decoration from £35","height":104});
															thumbnails[5509895] = clik.newPhoto({"id":5509895,"src":"CRW_7981_thumb.jpg","galleries_id":179770,"server_id":1,"link":"photo_5509895.html","width":130,"caption":"Stanmer House","height":95});
															thumbnails[5509905] = clik.newPhoto({"id":5509905,"src":"CRW_7984_thumb.jpg","galleries_id":311898,"server_id":1,"link":"photo_5509905.html","width":130,"caption":"Fairy light backdrop from £105","height":179});
															thumbnails[5509909] = clik.newPhoto({"id":5509909,"src":"CRW_7990_thumb.jpg","galleries_id":179769,"server_id":1,"link":"photo_5509909.html","width":130,"caption":"Stanmer House","height":95});
															thumbnails[5509913] = clik.newPhoto({"id":5509913,"src":"IMG__000041_thumb.jpg","galleries_id":179769,"server_id":1,"link":"photo_5509913.html","width":130,"caption":"Fontwell marquee","height":87});
															thumbnails[5509917] = clik.newPhoto({"id":5509917,"src":"IMG_0363_copy_thumb.jpg","galleries_id":180664,"server_id":1,"link":"photo_5509917.html","width":130,"caption":"Butlins conference centre","height":98});
															thumbnails[5509919] = clik.newPhoto({"id":5509919,"src":"IMG_0365_copy_thumb.jpg","galleries_id":179770,"server_id":1,"link":"photo_5509919.html","width":130,"caption":"Butlins Conference centre","height":91});
															thumbnails[5509923] = clik.newPhoto({"id":5509923,"src":"IMG_0552_thumb.jpg","galleries_id":179769,"server_id":1,"link":"photo_5509923.html","width":130,"caption":"Goodwood Park Hotel","height":87});
															thumbnails[5509930] = clik.newPhoto({"id":5509930,"src":"IMG_0577_thumb.jpg","galleries_id":311898,"server_id":1,"link":"photo_5509930.html","width":130,"caption":"Bay Trees from £50 for 2","height":87});
															thumbnails[5509932] = clik.newPhoto({"id":5509932,"src":"IMG_0589_thumb.jpg","galleries_id":179770,"server_id":1,"link":"photo_5509932.html","width":130,"caption":"Goodwood Park Hotel","height":87});
															thumbnails[5509937] = clik.newPhoto({"id":5509937,"src":"IMG_0592_thumb.jpg","galleries_id":179770,"server_id":1,"link":"photo_5509937.html","width":130,"caption":"Fairy light curtain ","height":87});
															thumbnails[5509961] = clik.newPhoto({"id":5509961,"src":"IMG_0608_thumb.jpg","galleries_id":179770,"server_id":1,"link":"photo_5509961.html","width":130,"caption":"Door drapes","height":87});
															thumbnails[5509967] = clik.newPhoto({"id":5509967,"src":"IMG_3201_thumb.jpg","galleries_id":179769,"server_id":1,"link":"photo_5509967.html","width":130,"caption":"Holiday inn, Portsmouth","height":91});
															thumbnails[5509989] = clik.newPhoto({"id":5509989,"src":"IMG_3424_Green_thumb.jpg","galleries_id":179769,"server_id":1,"link":"photo_5509989.html","width":130,"caption":"The Royal Norfolk<br>\r\n ","height":87});
															thumbnails[5509996] = clik.newPhoto({"id":5509996,"src":"IMG_3635_thumb.jpg","galleries_id":179769,"server_id":1,"link":"photo_5509996.html","width":130,"caption":"The Domus, Beaulieu","height":104});
															thumbnails[5510003] = clik.newPhoto({"id":5510003,"src":"IMG_3678_thumb.jpg","galleries_id":179769,"server_id":1,"link":"photo_5510003.html","width":130,"caption":"","height":87});
															thumbnails[5510014] = clik.newPhoto({"id":5510014,"src":"IMG_5364_thumb.jpg","galleries_id":179769,"server_id":1,"link":"photo_5510014.html","width":130,"caption":"Crouchers Hotel","height":98});
															thumbnails[5510016] = clik.newPhoto({"id":5510016,"src":"IMG_5573_thumb.jpg","galleries_id":179769,"server_id":1,"link":"photo_5510016.html","width":130,"caption":"Hilton Avisford Park<br>\r\n<br>\r\n","height":87});
															thumbnails[5510022] = clik.newPhoto({"id":5510022,"src":"IMG_5580_A4_thumb.jpg","galleries_id":179770,"server_id":1,"link":"photo_5510022.html","width":130,"caption":"Candelabra with flowers by Manor Nursery","height":185});
															thumbnails[5510026] = clik.newPhoto({"id":5510026,"src":"IMG_5794_thumb.jpg","galleries_id":179770,"server_id":1,"link":"photo_5510026.html","width":130,"caption":"Table swag, Gatton Manor","height":185});
															thumbnails[5510029] = clik.newPhoto({"id":5510029,"src":"IMG_5821_done_thumb.jpg","galleries_id":311898,"server_id":1,"link":"photo_5510029.html","width":130,"caption":"Ivory and crystal candelabra from £8","height":185});
															thumbnails[5510031] = clik.newPhoto({"id":5510031,"src":"IMG_6128_thumb.jpg","galleries_id":179769,"server_id":1,"link":"photo_5510031.html","width":130,"caption":"Crouchers Hotel","height":91});
															thumbnails[5510033] = clik.newPhoto({"id":5510033,"src":"IMG_6705_thumb.jpg","galleries_id":179769,"server_id":1,"link":"photo_5510033.html","width":130,"caption":"Fontwell House","height":87});
															thumbnails[5510037] = clik.newPhoto({"id":5510037,"src":"IMG_6724_thumb.jpg","galleries_id":179770,"server_id":1,"link":"photo_5510037.html","width":130,"caption":"Pillars dressed with fairy lights and organza drapes","height":87});
															thumbnails[5510075] = clik.newPhoto({"id":5510075,"src":"IMG_6789_thumb.jpg","galleries_id":179770,"server_id":1,"link":"photo_5510075.html","width":130,"caption":"Copthorne Hotel<br>\r\nFairy light backdrop","height":87});
															thumbnails[5510088] = clik.newPhoto({"id":5510088,"src":"IMG_8128_thumb.jpg","galleries_id":179769,"server_id":1,"link":"photo_5510088.html","width":130,"caption":"Norfolk Arms Hotel, Arundel","height":87});
															thumbnails[5510090] = clik.newPhoto({"id":5510090,"src":"IMG_8700_thumb.jpg","galleries_id":256182,"server_id":1,"link":"photo_5510090.html","width":130,"caption":"","height":173});
															thumbnails[5510094] = clik.newPhoto({"id":5510094,"src":"IMG_8702_thumb.jpg","galleries_id":179770,"server_id":1,"link":"photo_5510094.html","width":130,"caption":"Fontwell House","height":98});
															thumbnails[5510124] = clik.newPhoto({"id":5510124,"src":"top_table_1_thumb.jpg","galleries_id":179769,"server_id":1,"link":"photo_5510124.html","width":130,"caption":"Lime","height":93});
															thumbnails[5519251] = clik.newPhoto({"id":5519251,"src":"522_thumb.jpg","galleries_id":256182,"server_id":1,"link":"photo_5519251.html","width":130,"caption":"","height":98});
															thumbnails[5519256] = clik.newPhoto({"id":5519256,"src":"IMG_3636copy_thumb.jpg","galleries_id":256182,"server_id":1,"link":"photo_5519256.html","width":130,"caption":"","height":87});
															thumbnails[5519260] = clik.newPhoto({"id":5519260,"src":"IMG_7400holly_thumb.jpg","galleries_id":256182,"server_id":1,"link":"photo_5519260.html","width":130,"caption":"","height":87});
															thumbnails[5519264] = clik.newPhoto({"id":5519264,"src":"Weddinginvites1138_thumb.jpg","galleries_id":256182,"server_id":1,"link":"photo_5519264.html","width":130,"caption":"","height":87});
															thumbnails[7314072] = clik.newPhoto({"id":7314072,"src":"0003_thumb.JPG","galleries_id":179769,"server_id":1,"link":"photo_7314072.html","width":130,"caption":"","height":87});
															thumbnails[7314074] = clik.newPhoto({"id":7314074,"src":"0122__thumb.JPG","galleries_id":180664,"server_id":1,"link":"photo_7314074.html","width":130,"caption":"","height":104});
															thumbnails[7314077] = clik.newPhoto({"id":7314077,"src":"127_thumb.JPG","galleries_id":179770,"server_id":1,"link":"photo_7314077.html","width":130,"caption":"","height":99});
															thumbnails[7314080] = clik.newPhoto({"id":7314080,"src":"129_thumb.JPG","galleries_id":179770,"server_id":1,"link":"photo_7314080.html","width":130,"caption":"","height":206});
															thumbnails[7314084] = clik.newPhoto({"id":7314084,"src":"0156__thumb.JPG","galleries_id":179770,"server_id":1,"link":"photo_7314084.html","width":130,"caption":"","height":195});
															thumbnails[7314089] = clik.newPhoto({"id":7314089,"src":"0343_thumb.JPG","galleries_id":180664,"server_id":1,"link":"photo_7314089.html","width":130,"caption":"","height":87});
															thumbnails[7314096] = clik.newPhoto({"id":7314096,"src":"0365_thumb.JPG","galleries_id":180664,"server_id":1,"link":"photo_7314096.html","width":130,"caption":"","height":87});
															thumbnails[7314099] = clik.newPhoto({"id":7314099,"src":"0395__thumb.JPG","galleries_id":179770,"server_id":1,"link":"photo_7314099.html","width":130,"caption":"","height":99});
															thumbnails[7314100] = clik.newPhoto({"id":7314100,"src":"0404_thumb.JPG","galleries_id":180664,"server_id":1,"link":"photo_7314100.html","width":130,"caption":"","height":87});
															thumbnails[7314101] = clik.newPhoto({"id":7314101,"src":"0407__thumb.JPG","galleries_id":179769,"server_id":1,"link":"photo_7314101.html","width":130,"caption":"","height":98});
															thumbnails[7314107] = clik.newPhoto({"id":7314107,"src":"0408__thumb.JPG","galleries_id":179770,"server_id":1,"link":"photo_7314107.html","width":130,"caption":"","height":98});
															thumbnails[7314108] = clik.newPhoto({"id":7314108,"src":"0409_copy_thumb.JPG","galleries_id":179770,"server_id":1,"link":"photo_7314108.html","width":130,"caption":"","height":173});
															thumbnails[7314109] = clik.newPhoto({"id":7314109,"src":"0415__thumb.JPG","galleries_id":179770,"server_id":1,"link":"photo_7314109.html","width":130,"caption":"","height":98});
															thumbnails[7314111] = clik.newPhoto({"id":7314111,"src":"1293_thumb.JPG","galleries_id":180664,"server_id":1,"link":"photo_7314111.html","width":130,"caption":"","height":87});
															thumbnails[7314112] = clik.newPhoto({"id":7314112,"src":"1300_thumb.JPG","galleries_id":179770,"server_id":1,"link":"photo_7314112.html","width":130,"caption":"","height":195});
															thumbnails[7314113] = clik.newPhoto({"id":7314113,"src":"1359__thumb.JPG","galleries_id":179770,"server_id":1,"link":"photo_7314113.html","width":130,"caption":"","height":163});
															thumbnails[7727967] = clik.newPhoto({"id":7727967,"src":"002p_copy_thumb.JPG","galleries_id":179769,"server_id":1,"link":"photo_7727967.html","width":130,"caption":"","height":87});
															thumbnails[7727971] = clik.newPhoto({"id":7727971,"src":"0003_copy_thumb.JPG","galleries_id":179770,"server_id":1,"link":"photo_7727971.html","width":130,"caption":"","height":126});
															thumbnails[7727972] = clik.newPhoto({"id":7727972,"src":"0003-2_copy_thumb.JPG","galleries_id":179770,"server_id":1,"link":"photo_7727972.html","width":130,"caption":"","height":129});
															thumbnails[7727976] = clik.newPhoto({"id":7727976,"src":"115_copy_thumb.JPG","galleries_id":179770,"server_id":1,"link":"photo_7727976.html","width":130,"caption":"","height":108});
															thumbnails[7727978] = clik.newPhoto({"id":7727978,"src":"116_copy_thumb.JPG","galleries_id":179770,"server_id":1,"link":"photo_7727978.html","width":130,"caption":"","height":156});
															thumbnails[7727980] = clik.newPhoto({"id":7727980,"src":"118_copy_thumb.JPG","galleries_id":179770,"server_id":1,"link":"photo_7727980.html","width":130,"caption":"","height":98});
															thumbnails[7727983] = clik.newPhoto({"id":7727983,"src":"120_copy_thumb.JPG","galleries_id":179769,"server_id":1,"link":"photo_7727983.html","width":130,"caption":"","height":87});
															thumbnails[7727987] = clik.newPhoto({"id":7727987,"src":"121_copy_thumb.JPG","galleries_id":179769,"server_id":1,"link":"photo_7727987.html","width":130,"caption":"","height":98});
															thumbnails[7727989] = clik.newPhoto({"id":7727989,"src":"270p_copy_copy_thumb.JPG","galleries_id":179769,"server_id":1,"link":"photo_7727989.html","width":130,"caption":"","height":81});
															thumbnails[7727993] = clik.newPhoto({"id":7727993,"src":"289_copy_copy_thumb.JPG","galleries_id":179769,"server_id":1,"link":"photo_7727993.html","width":130,"caption":"","height":98});
															thumbnails[7728010] = clik.newPhoto({"id":7728010,"src":"0394_copy_thumb.JPG","galleries_id":179770,"server_id":1,"link":"photo_7728010.html","width":130,"caption":"","height":171});
															thumbnails[7728029] = clik.newPhoto({"id":7728029,"src":"0395_copy_thumb.JPG","galleries_id":179770,"server_id":1,"link":"photo_7728029.html","width":130,"caption":"","height":99});
															thumbnails[7728032] = clik.newPhoto({"id":7728032,"src":"0401_copy_thumb.JPG","galleries_id":179770,"server_id":1,"link":"photo_7728032.html","width":130,"caption":"","height":99});
															thumbnails[7728034] = clik.newPhoto({"id":7728034,"src":"0413_copy_thumb.JPG","galleries_id":179770,"server_id":1,"link":"photo_7728034.html","width":130,"caption":"","height":98});
															thumbnails[7728041] = clik.newPhoto({"id":7728041,"src":"0418_copy_thumb.JPG","galleries_id":179769,"server_id":1,"link":"photo_7728041.html","width":130,"caption":"","height":78});
															thumbnails[7728045] = clik.newPhoto({"id":7728045,"src":"635_copy_thumb.JPG","galleries_id":179770,"server_id":1,"link":"photo_7728045.html","width":130,"caption":"","height":97});
															thumbnails[7728048] = clik.newPhoto({"id":7728048,"src":"637_copy_thumb.JPG","galleries_id":179770,"server_id":1,"link":"photo_7728048.html","width":130,"caption":"","height":109});
															thumbnails[7728051] = clik.newPhoto({"id":7728051,"src":"640_thumb.JPG","galleries_id":179769,"server_id":1,"link":"photo_7728051.html","width":130,"caption":"","height":97});
															thumbnails[7728054] = clik.newPhoto({"id":7728054,"src":"641_thumb.JPG","galleries_id":179769,"server_id":1,"link":"photo_7728054.html","width":130,"caption":"","height":97});
															thumbnails[7728056] = clik.newPhoto({"id":7728056,"src":"642_thumb.JPG","galleries_id":179769,"server_id":1,"link":"photo_7728056.html","width":130,"caption":"","height":87});
															thumbnails[7728059] = clik.newPhoto({"id":7728059,"src":"644_thumb.JPG","galleries_id":179770,"server_id":1,"link":"photo_7728059.html","width":130,"caption":"","height":87});
															thumbnails[7728062] = clik.newPhoto({"id":7728062,"src":"1274_copy_thumb.JPG","galleries_id":179769,"server_id":1,"link":"photo_7728062.html","width":130,"caption":"","height":104});
															thumbnails[7728064] = clik.newPhoto({"id":7728064,"src":"1333_copy_thumb.JPG","galleries_id":179770,"server_id":1,"link":"photo_7728064.html","width":130,"caption":"","height":99});
															thumbnails[7728092] = clik.newPhoto({"id":7728092,"src":"IMG_5812_copy_copy_thumb.JPG","galleries_id":179770,"server_id":1,"link":"photo_7728092.html","width":130,"caption":"","height":185});
															thumbnails[8879633] = clik.newPhoto({"id":8879633,"src":"199_thumb.JPG","galleries_id":180664,"server_id":1,"link":"photo_8879633.html","width":130,"caption":"Butlins","height":191});
															thumbnails[8879635] = clik.newPhoto({"id":8879635,"src":"201_thumb.JPG","galleries_id":180664,"server_id":1,"link":"photo_8879635.html","width":130,"caption":"Butlins","height":89});
															thumbnails[8879637] = clik.newPhoto({"id":8879637,"src":"202_thumb.JPG","galleries_id":180664,"server_id":1,"link":"photo_8879637.html","width":130,"caption":"Butlins","height":89});
															thumbnails[8879639] = clik.newPhoto({"id":8879639,"src":"204_thumb.JPG","galleries_id":180664,"server_id":1,"link":"photo_8879639.html","width":130,"caption":"Butlins","height":130});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[180664] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Corporate And Events","link":"gallery_180664.html","maxRecords":0.0,"photoIDs":[2926367.0,2928706.0,2928715.0,3029007.0,3029010.0,5508694.0,5508808.0,5508809.0,5509917.0,7314074.0,7314089.0,7314096.0,7314100.0,7314111.0,8879633.0,8879635.0,8879637.0,8879639.0],"skipIndex":0,"section_code":"gallery","featured_images":7314096.0,"id":180664,"singleSection":false});				  						galleries[179769] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Chair covers","link":"gallery_179769.html","maxRecords":0.0,"photoIDs":[2907082.0,2919605.0,2919624.0,2919628.0,2919630.0,2919642.0,2919645.0,2919648.0,2928701.0,2928705.0,3028979.0,3028981.0,3028983.0,3028985.0,3028992.0,3028994.0,5508806.0,5509909.0,5509913.0,5509923.0,5509967.0,5509989.0,5509996.0,5510003.0,5510014.0,5510016.0,5510031.0,5510033.0,5510088.0,5510124.0,7314072.0,7314101.0,7727967.0,7727983.0,7727987.0,7727989.0,7727993.0,7728041.0,7728051.0,7728054.0,7728056.0,7728062.0],"skipIndex":0,"section_code":"gallery","featured_images":"7728062,7728056,7728054,7728051,7728041,7727993,7727989,7727987,7727983,7727967","id":179769,"singleSection":false});				  						galleries[256182] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"The Wedding Package","link":"gallery_256182.html","maxRecords":0.0,"photoIDs":[5510090.0,5519251.0,5519256.0,5519260.0,5519264.0],"skipIndex":0,"section_code":"gallery","featured_images":5510090.0,"id":256182,"singleSection":false});				  						galleries[179770] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Venue design","link":"gallery_179770.html","maxRecords":0.0,"photoIDs":[2900829.0,2928691.0,2928698.0,3028998.0,3028999.0,3029003.0,3029004.0,5509895.0,5509919.0,5509932.0,5509937.0,5509961.0,5510022.0,5510026.0,5510037.0,5510075.0,5510094.0,7314077.0,7314080.0,7314084.0,7314099.0,7314107.0,7314108.0,7314109.0,7314112.0,7314113.0,7727971.0,7727972.0,7727976.0,7727978.0,7727980.0,7728010.0,7728029.0,7728032.0,7728034.0,7728045.0,7728048.0,7728059.0,7728064.0,7728092.0],"skipIndex":0,"section_code":"gallery","featured_images":"7727971,7314112","id":179770,"singleSection":false});				  						galleries[311898] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Hire and decoration costs","link":"gallery_311898.html","maxRecords":0.0,"photoIDs":[5508685.0,5508693.0,5508699.0,5508701.0,5508704.0,5508705.0,5508709.0,5508713.0,5508735.0,5508741.0,5508784.0,5508789.0,5508797.0,5508804.0,5508817.0,5508819.0,5508820.0,5509905.0,5509930.0,5510029.0],"skipIndex":0,"section_code":"gallery","featured_images":5510029.0,"id":311898,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '8879639,8879635,8879633,7728092,7728064,7728062,7728059,7728056,7728054,7728051,7728048,7728045,7728041,7728034,7728032,7728029,7728010,7727993,7727989,7727987,7727983,7727980,7727976,7727972,7727971,7314101,7314099,7314089,7314072,5510003,5509895,2919648,2919645,2919642,2919628,2919624,2919605,2900829';
imageSets[2] = '7727971,7314112,7314096,5510090,5510029';
imageSets[3] = '7728054,7727989,7314112,7314100';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/clairesmith/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/clairesmith/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/clairesmith/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/clairesmith/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/clairesmith/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/clairesmith/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/clairesmith/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/clairesmith/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/clairesmith/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/clairesmith/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/clairesmith/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/clairesmith/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/clairesmith/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/clairesmith/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/clairesmith/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/clairesmith/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/clairesmith/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/clairesmith/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/clairesmith/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/clairesmith/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/clairesmith/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/clairesmith/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/clairesmith/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/clairesmith/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/clairesmith/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/clairesmith/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/clairesmith/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 || photos || {})[imageID];
	if(photo){
		if (photo && photo.galleries_id != '') {
  			href = photo.fnGalleryLink();
  		}
  		  		else {
  				href += 'gallery.html';
  	  		}
	}
    return href;
}

/***************************************************************************
* Show a random image on home page from featured images                    *
***************************************************************************/
function showHomeImageInline(el, image_sets_id, href) {
	
	var css = {}, imageID,
	    imageSetsId = 1;
	if(image_sets_id){
		imageSetsId = image_sets_id;
	}
	imageID = randomListVal(imageSets[imageSetsId]);
	if (href == null && 'gallery' != '') {
					href = getHomeImageLink(imageID);
	}
	
	updateImage({nextPhoto: backgrounds[imageID], img:el.find('img')[0],
                $photo:el, $title:$('#homeimageTitleContainer'), $detail:$('#homeimageDetailsContainer'),                speed:0, href:href, css:css, onAfter: function(){                  this.closest('.contentsection').doManualAlign({				    inner: 'img',				    crop: 'a'				  });                }              });
}

/***************************************************************************
* Set 'img' to be a new image given its photo() object                     *
***************************************************************************/
function updateImage (options) {
	var defaults = {nextPhoto:'',field:'',img:'',$photo:'',$title:'',$detail:'',$detailContainer:'',
                    updateDocumentTitle:false,speed:0,href:false,css:false,updateHash:false,onAfter:null,onBefore:null},
		op = $.extend({},defaults,options),
		html = '', temp = '',
		photoId = op.nextPhoto.id,
		photoCaption = ''+op.nextPhoto.caption,
		photoSrc = op.nextPhoto.src;
	
	if (op.updateHash && clik.getIDInUrl(location.href,'photo') != op.nextPhoto.id) {
		clik.changeHash('photos_id=' + op.nextPhoto.id, true);
	}
		
	    if (op.$title.length > 0) {
  		op.$title.fadeGalleryDetails(photoCaption, op.speed);
    }
        if (op.updateDocumentTitle) {
						  document.title = 'VIP Venues by Kenmarche: ' + photoCaption;
			    }
        if (op.$detail.length > 0) {
      	temp = op.nextPhoto.fnGetImageDetails();
	    op.$detail.fadeGalleryDetails(temp, op.speed, function(){
			if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
				toggleAddToCartConfirm(backgrounds, op.$detail);
			} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
				toggleAddToCartConfirm(photos, op.$detail);
			}
			$('body').trigger('clikUpdate.popup');
	    });
    }
        $(op.$detailContainer).find('.replaceable[class*=replaceable_photo-]').each(function(){
    	var field = clik.getPrefixedClass(this.className, 'replaceable_photo-');
    	if (field in op.nextPhoto) {
    		$(this).fadeGalleryDetails(op.nextPhoto[field], op.speed);
    	}
    }).end().find('.replaceable.photoPayment').fadeGalleryDetails(op.nextPhoto.fnGetPaymentInfo(), op.speed, function(){
		if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
			toggleAddToCartConfirm(backgrounds, op.$detailContainer);
		} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
			toggleAddToCartConfirm(photos, op.$detailContainer);
		}
		$('body').trigger('clikUpdate.popup');
	});
		if (op.$photo.length > 0) {
		html = $('<img/>',{
			'class': 'mainphoto photo',
			src: photoSrc,
			id: 'mainPic',
			name: 'mainPic',
			width: op.nextPhoto.width,
			height: op.nextPhoto.height,
			alt: photoCaption,
			css: op.css || {}
		});
		if (op.href) {
			if (op.href.match(/<a/)) {
				html = $(op.href).append(html);
			} else {
				html = $('<a/>', {
					href: op.href,
					title: photoCaption
				}).append(html);
			}
		} else {
			html = $('<a/>', {
				title: photoCaption
			}).append(html);
		}
		if (op.speed == 0) {			op.$photo.html(html);			if (op.onBefore) {			  	op.onBefore.apply(op.$photo);			}			if (op.onAfter) {			  	op.onAfter.apply(op.$photo);			}		} else {			op.$photo.stop(true,true).fadeReplaceWith(html,op.speed,'',function(){  				if (op.onAfter) {				  	op.onAfter.apply(this);				}				clik.doColumnResize(false, $(this).add(op.$detail).add(op.$title));			}, op.onBefore);
		}	}
    if (op.field) {
		op.field.value = photoId;
	} else {
		op.$photo.data('image_id', photoId);
    }
        if (!op.speed) {
      	clik.doColumnResize(false, op.$photo.add(op.$detail).add(op.$title));
    }
        
    return html;
	}

/***************************************************************************
* Toggle add to cart confirmation element and set up the click event for   *
* the 'Add to cart' button.                                                *
***************************************************************************/
function toggleAddToCartConfirm(array, root){
	if (typeof(array) !== 'object' || array === null) {
	  	array = photos;
	}
	if (!$(root).length) {		root = $('body');	}	if($('#paymentConfirm', root).length > 0){
		$('#paymentConfirm', root).hide();
		$('#paymentAddButton', root)
		.unbind()
		.click(function(){
						form = $('#paymentForm', root)[0];
			option_id = 0;
			if(form.item_option.value){
				option_id = form.item_option.value;
			}
			if(addItemToBasket(form.item_number.value,array,form.site.value,parseInt(form.quantity.value, 10),option_id)){
				if($.browser.msie){$('#paymentConfirm', root).text('Item added to cart').show();}
				else{
					$('#paymentConfirm', root).text('Item added to cart').fadeIn();
					dspOrderDetails(form.site.value);
				}
			}
			else{
				$('#paymentConfirm', root).text('Item not added - check cookies are enabled in your browser.').fadeIn();
			}
		});
	}
}

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetImageDetails = function(){
	var temp = '';
	if (this.description != '') {
		temp +=  '<div id="imageDescription">' + this.description + '</div>';
	}
		if (this.photo_ref != '') {
		temp += '<div class="imageinfo" id="imageRef"><strong>Ref: </strong>' + this.photo_ref + '</div>';
	}
		if (this.takendate != '') {
		
		temp += '<div class="imageinfo" id="imageDate"><strong>Date: </strong>' + this.takendate + '</div>';
	}
	
	if (this.location != '') {
		
		temp += '<div class="imageinfo" id="imageLocation"><strong>Location: </strong>' +  this.location + '</div>';
	}
	
	if (this.photographer != '') {
		
		temp += '<div class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>' + this.photographer + '</div>';
	}
				
				if (temp != '') {
		temp += '<div class="spacer"></div>';
	}
	return temp;
};

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetPaymentInfo = function(){
	var temp = '';
	if (this.item_price !== '') {
				temp += '<p>Order this print:</p>';
				temp += '<div class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> ' + (this.item_price).toFixed(2) + '</div>';
		var item_name  = this.purchase_instruction;
		var amount = (this.item_price).toFixed(2);
		var item_option  = 0;
	}
		else {
		
	}
	if (this.item_price !== '') {
			temp += '<div class="clearing">&nbsp;</div>';
	}
	return temp;};

/***************************************************************************
* Pick a photo at random from the featured images of a gallery.            *
* Gallery_id = id of gallery to choose,                                    *
* img = reference to html image in                                         *
* which to show image                                                      *
***************************************************************************/
function showGalleryImage(gallery_id, img, updateLink) {
	
	if(img){
		if (location.hash.match('galleries_id=' + gallery_id) && (imageID = location.hash.match('.*photos_id=(.+)$'))) {
		  	imageID = imageID[1];
		} else {
		  	imageID = randomListVal(galleries[gallery_id].featured_images);
		}
		
		if (imageID != 0) {
			img.src = thumbnails[imageID].src;
			img.width = thumbnails[imageID].width;
			img.height = thumbnails[imageID].height;
			img.alt = galleries[gallery_id].title;
			if (updateLink) {
				$(img).parent().attr({					title: galleries[gallery_id].title				}).filter(function(){return this.href;}).attr({					href: thumbnails[imageID].fnGalleryLink(gallery_id)				});
			}
		}
	}
}

/***************************************************************************
* If we have dynamic HTML, replace the galleries link with a list that     *
* doesn't include thecurrent gallery                                       *
***************************************************************************/
function showGalleries(gallery_id) {
		
	
	if (!basic) {
		temp = '';
		for (i = 0; i < galleries.length; i++) {
						
			
			if (galleries[i].id != gallery_id) {
								
				if (temp != '') {
					temp += ' | ';
				}
								temp += '<a href="' + galleries[i].section_code + '_' + galleries[i].id + '.html">' + galleries[i].title + '</a>';
							}
		}
		document.all.galleryLinks.innerHTML = 'Other galleries: ' + temp;
	}
}

			

