window.thumbnails = {};
															thumbnails[4482605] = clik.newPhoto({"id":4482605,"src":"IMG_7931_copy_thumb.jpg","galleries_id":258624,"server_id":18,"link":"photo_4482605.html","width":130,"caption":"4x4\/13","height":96});
															thumbnails[4543068] = clik.newPhoto({"id":4543068,"src":"IMG_7904_copy_thumb.jpg","galleries_id":258624,"server_id":18,"link":"photo_4543068.html","width":130,"caption":"4x4\/6","height":104});
															thumbnails[4551069] = clik.newPhoto({"id":4551069,"src":"_MG_5392_copy_2_copy_thumb.jpg","galleries_id":258622,"server_id":18,"link":"photo_4551069.html","width":130,"caption":"RAC","height":87});
															thumbnails[4556351] = clik.newPhoto({"id":4556351,"src":"web_030_thumb.jpg","galleries_id":258108,"server_id":18,"link":"photo_4556351.html","width":130,"caption":"Daimler SP250 50th","height":81});
															thumbnails[4556396] = clik.newPhoto({"id":4556396,"src":"web_037_thumb.jpg","galleries_id":258624,"server_id":18,"link":"photo_4556396.html","width":130,"caption":"Country Pursuits","height":93});
															thumbnails[4556474] = clik.newPhoto({"id":4556474,"src":"web_040_thumb.jpg","galleries_id":258624,"server_id":18,"link":"photo_4556474.html","width":130,"caption":"Hound","height":93});
															thumbnails[4583632] = clik.newPhoto({"id":4583632,"src":"web_thumb.jpg","galleries_id":258624,"server_id":18,"link":"photo_4583632.html","width":130,"caption":"4x4\/5","height":104});
															thumbnails[4720241] = clik.newPhoto({"id":4720241,"src":"_MG_9017_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_4720241.html","width":130,"caption":"Seven","height":87});
															thumbnails[4720310] = clik.newPhoto({"id":4720310,"src":"_MG_9071_copy_thumb.jpg","galleries_id":258108,"server_id":18,"link":"photo_4720310.html","width":130,"caption":"Avantime Uk Meet ","height":104});
															thumbnails[4842027] = clik.newPhoto({"id":4842027,"src":"_MG_0372_copy_2_thumb.jpg","galleries_id":258624,"server_id":18,"link":"photo_4842027.html","width":130,"caption":" Coli Italy","height":93});
															thumbnails[5234898] = clik.newPhoto({"id":5234898,"src":"_MG_9355_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_5234898.html","width":130,"caption":"7 Racer","height":88});
															thumbnails[5234901] = clik.newPhoto({"id":5234901,"src":"_MG_8649_copy_thumb.jpg","galleries_id":258622,"server_id":18,"link":"photo_5234901.html","width":130,"caption":"Triumph 1","height":163});
															thumbnails[5234902] = clik.newPhoto({"id":5234902,"src":"_MG_5235_copy_thumb.jpg","galleries_id":260210,"server_id":18,"link":"photo_5234902.html","width":130,"caption":"","height":104});
															thumbnails[5234904] = clik.newPhoto({"id":5234904,"src":"_MG_4202_copy_thumb.jpg","galleries_id":260210,"server_id":18,"link":"photo_5234904.html","width":130,"caption":"","height":163});
															thumbnails[5234907] = clik.newPhoto({"id":5234907,"src":"_MG_0749_copy_thumb.jpg","galleries_id":260210,"server_id":18,"link":"photo_5234907.html","width":130,"caption":"","height":87});
															thumbnails[5234912] = clik.newPhoto({"id":5234912,"src":"_MG_0031_copy_thumb.jpg","galleries_id":260210,"server_id":18,"link":"photo_5234912.html","width":130,"caption":"","height":94});
															thumbnails[5255840] = clik.newPhoto({"id":5255840,"src":"_MG_5358_copy_thumb.jpg","galleries_id":258622,"server_id":18,"link":"photo_5255840.html","width":130,"caption":"Triumph6","height":195});
															thumbnails[5438203] = clik.newPhoto({"id":5438203,"src":"_MG_1674_copy_thumb.jpg","galleries_id":258108,"server_id":18,"link":"photo_5438203.html","width":130,"caption":"Weston Lawns","height":130});
															thumbnails[5438211] = clik.newPhoto({"id":5438211,"src":"_MG_9610_copy_thumb.jpg","galleries_id":260210,"server_id":18,"link":"photo_5438211.html","width":130,"caption":"","height":93});
															thumbnails[5453355] = clik.newPhoto({"id":5453355,"src":"_MG_2120_copy_thumb.jpg","galleries_id":258624,"server_id":18,"link":"photo_5453355.html","width":130,"caption":"4x4\/3","height":104});
															thumbnails[5453363] = clik.newPhoto({"id":5453363,"src":"_MG_6734_copy_thumb.jpg","galleries_id":258622,"server_id":18,"link":"photo_5453363.html","width":130,"caption":"Omega 2","height":195});
															thumbnails[5453381] = clik.newPhoto({"id":5453381,"src":"IMG_7901_copy_thumb.jpg","galleries_id":258624,"server_id":18,"link":"photo_5453381.html","width":130,"caption":"4x4\/9","height":87});
															thumbnails[5597126] = clik.newPhoto({"id":5597126,"src":"_MG_0100_copy_thumb.jpg","galleries_id":258622,"server_id":18,"link":"photo_5597126.html","width":130,"caption":"Rover ","height":104});
															thumbnails[5727335] = clik.newPhoto({"id":5727335,"src":"_MG_0461_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_5727335.html","width":130,"caption":"London\/peking ","height":87});
															thumbnails[5727347] = clik.newPhoto({"id":5727347,"src":"_MG_0493_copy_thumb.jpg","galleries_id":258108,"server_id":18,"link":"photo_5727347.html","width":130,"caption":"London\/Peking ","height":104});
															thumbnails[5796645] = clik.newPhoto({"id":5796645,"src":"_MG_0653_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_5796645.html","width":130,"caption":"Gauge","height":93});
															thumbnails[5796649] = clik.newPhoto({"id":5796649,"src":"_MG_0106_copy_thumb.jpg","galleries_id":258622,"server_id":18,"link":"photo_5796649.html","width":130,"caption":"Rover 2","height":104});
															thumbnails[5908363] = clik.newPhoto({"id":5908363,"src":"_MG_0661_copy_thumb.jpg","galleries_id":258108,"server_id":18,"link":"photo_5908363.html","width":130,"caption":"Bikesafe ","height":163});
															thumbnails[5908366] = clik.newPhoto({"id":5908366,"src":"_MG_1128_copy_thumb.jpg","galleries_id":258108,"server_id":18,"link":"photo_5908366.html","width":130,"caption":"Land Rover Heritage Run ","height":93});
															thumbnails[5908370] = clik.newPhoto({"id":5908370,"src":"_MG_0134_copy_thumb.jpg","galleries_id":260210,"server_id":18,"link":"photo_5908370.html","width":130,"caption":"Albert","height":104});
															thumbnails[5979932] = clik.newPhoto({"id":5979932,"src":"_MG_0372_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_5979932.html","width":130,"caption":"Fig","height":104});
															thumbnails[5979939] = clik.newPhoto({"id":5979939,"src":"_MG_1532_copy_thumb.jpg","galleries_id":258108,"server_id":18,"link":"photo_5979939.html","width":130,"caption":"2010 Heart of England","height":163});
															thumbnails[5979947] = clik.newPhoto({"id":5979947,"src":"_MG_1959_copy_thumb.jpg","galleries_id":258108,"server_id":18,"link":"photo_5979947.html","width":130,"caption":"fig10 ","height":104});
															thumbnails[5988435] = clik.newPhoto({"id":5988435,"src":"_MG_1389_copy_thumb.jpg","galleries_id":258622,"server_id":18,"link":"photo_5988435.html","width":130,"caption":"Burnout","height":104});
															thumbnails[6037235] = clik.newPhoto({"id":6037235,"src":"_MG_1399_copy_thumb.jpg","galleries_id":260210,"server_id":18,"link":"photo_6037235.html","width":130,"caption":"Dave Coates, Stunt Rider","height":195});
															thumbnails[6242924] = clik.newPhoto({"id":6242924,"src":"_MG_2945_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_6242924.html","width":130,"caption":"C & C ","height":87});
															thumbnails[6242930] = clik.newPhoto({"id":6242930,"src":"_MG_3105_copy_thumb.jpg","galleries_id":258108,"server_id":18,"link":"photo_6242930.html","width":130,"caption":"Banbury Run ","height":87});
															thumbnails[6242933] = clik.newPhoto({"id":6242933,"src":"_MG_3114_copy_thumb.jpg","galleries_id":258622,"server_id":18,"link":"photo_6242933.html","width":130,"caption":"BMW","height":104});
															thumbnails[6299128] = clik.newPhoto({"id":6299128,"src":"_MG_3640_copy_thumb.jpg","galleries_id":258108,"server_id":18,"link":"photo_6299128.html","width":130,"caption":"Dave Coates ","height":217});
															thumbnails[6399099] = clik.newPhoto({"id":6399099,"src":"_MG_4577_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_6399099.html","width":130,"caption":"Bullnose","height":87});
															thumbnails[6728644] = clik.newPhoto({"id":6728644,"src":"_MG_3108_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_6728644.html","width":130,"caption":3108.0,"height":87});
															thumbnails[6728741] = clik.newPhoto({"id":6728741,"src":"_MG_9363_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_6728741.html","width":130,"caption":"7 Racer b\/w","height":87});
															thumbnails[6729090] = clik.newPhoto({"id":6729090,"src":"_MG_0844_copy_thumb.jpg","galleries_id":258624,"server_id":18,"link":"photo_6729090.html","width":130,"caption":"Cardigan 1","height":195});
															thumbnails[6729146] = clik.newPhoto({"id":6729146,"src":"_MG_0806_copy_thumb.jpg","galleries_id":258624,"server_id":18,"link":"photo_6729146.html","width":130,"caption":"Cardigan 2","height":87});
															thumbnails[6783026] = clik.newPhoto({"id":6783026,"src":"_MG_5970_copy_thumb.jpg","galleries_id":258108,"server_id":18,"link":"photo_6783026.html","width":130,"caption":"Autumn Classic 2011","height":87});
															thumbnails[6868548] = clik.newPhoto({"id":6868548,"src":"_MG_4254_copy_thumb.jpg","galleries_id":258108,"server_id":18,"link":"photo_6868548.html","width":130,"caption":"Mini Festival ","height":104});
															thumbnails[6868550] = clik.newPhoto({"id":6868550,"src":"_MG_8683_copy_thumb.jpg","galleries_id":258622,"server_id":18,"link":"photo_6868550.html","width":130,"caption":"Triumph2","height":87});
															thumbnails[6995519] = clik.newPhoto({"id":6995519,"src":"_MG_6902_copy_thumb.jpg","galleries_id":258624,"server_id":18,"link":"photo_6995519.html","width":130,"caption":"Fall","height":87});
															thumbnails[7067387] = clik.newPhoto({"id":7067387,"src":"_MG_7346_copy_thumb.jpg","galleries_id":258108,"server_id":18,"link":"photo_7067387.html","width":130,"caption":"London to Brighton Run 2010","height":104});
															thumbnails[7282790] = clik.newPhoto({"id":7282790,"src":"_MG_6027_copy_thumb.jpg","galleries_id":258624,"server_id":18,"link":"photo_7282790.html","width":130,"caption":"Reine Deer","height":87});
															thumbnails[7555162] = clik.newPhoto({"id":7555162,"src":"_MG_1563_copy_thumb.jpg","galleries_id":258622,"server_id":18,"link":"photo_7555162.html","width":130,"caption":"Red","height":179});
															thumbnails[7555204] = clik.newPhoto({"id":7555204,"src":"_MG_7942_copy_thumb.jpg","galleries_id":258624,"server_id":18,"link":"photo_7555204.html","width":130,"caption":"LR ex1","height":87});
															thumbnails[7612715] = clik.newPhoto({"id":7612715,"src":"_MG_8284_copy_thumb.jpg","galleries_id":258108,"server_id":18,"link":"photo_7612715.html","width":130,"caption":"Corrado Club","height":104});
															thumbnails[7711079] = clik.newPhoto({"id":7711079,"src":"_MG_8498_copy_thumb.jpg","galleries_id":258624,"server_id":18,"link":"photo_7711079.html","width":130,"caption":"LR EX 8","height":87});
															thumbnails[7711084] = clik.newPhoto({"id":7711084,"src":"_MG_8828_copy_thumb.jpg","galleries_id":258108,"server_id":18,"link":"photo_7711084.html","width":130,"caption":"Renault Sport 2011","height":65});
															thumbnails[7711107] = clik.newPhoto({"id":7711107,"src":"_MG_9085_copy_thumb.jpg","galleries_id":258108,"server_id":18,"link":"photo_7711107.html","width":130,"caption":"Convoy for Heroes 2011","height":104});
															thumbnails[7771330] = clik.newPhoto({"id":7771330,"src":"_MG_9662_copy_thumb.jpg","galleries_id":258108,"server_id":18,"link":"photo_7771330.html","width":130,"caption":"Spring Classic ","height":87});
															thumbnails[7771332] = clik.newPhoto({"id":7771332,"src":"_MG_9765_copy_thumb.jpg","galleries_id":258108,"server_id":18,"link":"photo_7771332.html","width":130,"caption":"Metro Owners Gaydon 2011","height":104});
															thumbnails[7810265] = clik.newPhoto({"id":7810265,"src":"_MG_0165_copy_thumb.jpg","galleries_id":258108,"server_id":18,"link":"photo_7810265.html","width":130,"caption":"MG Northants Road Run 2011","height":87});
															thumbnails[7858198] = clik.newPhoto({"id":7858198,"src":"_MG_5414_copy_thumb.jpg","galleries_id":258622,"server_id":18,"link":"photo_7858198.html","width":130,"caption":"Francis Barnett","height":195});
															thumbnails[7871044] = clik.newPhoto({"id":7871044,"src":"_MG_0878_copy_thumb.jpg","galleries_id":258108,"server_id":18,"link":"photo_7871044.html","width":130,"caption":"Gerald Palmer Meet","height":104});
															thumbnails[7871055] = clik.newPhoto({"id":7871055,"src":"_MG_1175_copy_thumb.jpg","galleries_id":258108,"server_id":18,"link":"photo_7871055.html","width":130,"caption":"Juke Owners Club","height":104});
															thumbnails[7891855] = clik.newPhoto({"id":7891855,"src":"_MG_0787_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_7891855.html","width":130,"caption":787.0,"height":74});
															thumbnails[7891858] = clik.newPhoto({"id":7891858,"src":"_MG_0822_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_7891858.html","width":130,"caption":822.0,"height":95});
															thumbnails[7891860] = clik.newPhoto({"id":7891860,"src":"_MG_0827_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_7891860.html","width":130,"caption":827.0,"height":87});
															thumbnails[7891862] = clik.newPhoto({"id":7891862,"src":"_MG_0916_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_7891862.html","width":130,"caption":916.0,"height":87});
															thumbnails[7891863] = clik.newPhoto({"id":7891863,"src":"_MG_0939_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_7891863.html","width":130,"caption":939.0,"height":87});
															thumbnails[7891866] = clik.newPhoto({"id":7891866,"src":"_MG_1177_copy_thumb.jpg","galleries_id":260210,"server_id":18,"link":"photo_7891866.html","width":130,"caption":1177.0,"height":87});
															thumbnails[7944167] = clik.newPhoto({"id":7944167,"src":"_MG_0730_copy_FC41F1AE-1EC9-DFB6-095559DB65A9588B_thumb.jpg","galleries_id":258108,"server_id":18,"link":"photo_7944167.html","width":130,"caption":"Jowett Owners","height":87});
															thumbnails[7950024] = clik.newPhoto({"id":7950024,"src":"_MG_4891_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_7950024.html","width":130,"caption":"4891 BRM Gas Turbine","height":87});
															thumbnails[7950104] = clik.newPhoto({"id":7950104,"src":"_MG_9964_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_7950104.html","width":130,"caption":9964.0,"height":87});
															thumbnails[8000832] = clik.newPhoto({"id":8000832,"src":"_MG_1518_copy_thumb.jpg","galleries_id":258108,"server_id":18,"link":"photo_8000832.html","width":130,"caption":"Banbury Run 2011","height":162});
															thumbnails[8014399] = clik.newPhoto({"id":8014399,"src":"_MG_1679_copy_thumb.jpg","galleries_id":258622,"server_id":18,"link":"photo_8014399.html","width":130,"caption":1679.0,"height":87});
															thumbnails[8040610] = clik.newPhoto({"id":8040610,"src":"_MG_1757_copy_thumb.jpg","galleries_id":258108,"server_id":18,"link":"photo_8040610.html","width":130,"caption":"Supercar Sunday Track 2011","height":87});
															thumbnails[8097754] = clik.newPhoto({"id":8097754,"src":"_MG_1856_copy_thumb.jpg","galleries_id":260210,"server_id":18,"link":"photo_8097754.html","width":130,"caption":"Martin","height":104});
															thumbnails[8097760] = clik.newPhoto({"id":8097760,"src":"_MG_1991_copy_thumb.jpg","galleries_id":258108,"server_id":18,"link":"photo_8097760.html","width":130,"caption":"Mini heritage Run 2011","height":104});
															thumbnails[8128639] = clik.newPhoto({"id":8128639,"src":"_MG_0896_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_8128639.html","width":130,"caption":"Scammell","height":87});
															thumbnails[8128696] = clik.newPhoto({"id":8128696,"src":"_MG_1310_copy_thumb.jpg","galleries_id":260210,"server_id":18,"link":"photo_8128696.html","width":130,"caption":"Kev","height":163});
															thumbnails[8128720] = clik.newPhoto({"id":8128720,"src":"_MG_4102_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_8128720.html","width":130,"caption":4102.0,"height":87});
															thumbnails[8128728] = clik.newPhoto({"id":8128728,"src":"_MG_7089_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_8128728.html","width":130,"caption":7089.0,"height":87});
															thumbnails[8129006] = clik.newPhoto({"id":8129006,"src":"_MG_0644_copy_thumb.jpg","galleries_id":258108,"server_id":18,"link":"photo_8129006.html","width":130,"caption":"Classic Car Journeys 2011","height":87});
															thumbnails[8129023] = clik.newPhoto({"id":8129023,"src":"_MG_0845_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_8129023.html","width":130,"caption":845.0,"height":87});
															thumbnails[8129026] = clik.newPhoto({"id":8129026,"src":"_MG_9695_copy_thumb.jpg","galleries_id":260210,"server_id":18,"link":"photo_8129026.html","width":130,"caption":9695.0,"height":87});
															thumbnails[8129198] = clik.newPhoto({"id":8129198,"src":"_MG_0997_copy_thumb.jpg","galleries_id":258108,"server_id":18,"link":"photo_8129198.html","width":130,"caption":"MG Arden Crick Run","height":87});
															thumbnails[8202160] = clik.newPhoto({"id":8202160,"src":"_MG_2272_copy_thumb.jpg","galleries_id":258108,"server_id":18,"link":"photo_8202160.html","width":130,"caption":"Old Ford 2011","height":87});
															thumbnails[8218647] = clik.newPhoto({"id":8218647,"src":"_MG_0394_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_8218647.html","width":130,"caption":394.0,"height":87});
															thumbnails[8218649] = clik.newPhoto({"id":8218649,"src":"_MG_2285_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_8218649.html","width":130,"caption":2285.0,"height":87});
															thumbnails[8218650] = clik.newPhoto({"id":8218650,"src":"_MG_2317_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_8218650.html","width":130,"caption":2317.0,"height":87});
															thumbnails[8218651] = clik.newPhoto({"id":8218651,"src":"_MG_2377_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_8218651.html","width":130,"caption":2377.0,"height":87});
															thumbnails[8218653] = clik.newPhoto({"id":8218653,"src":"_MG_2410_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_8218653.html","width":130,"caption":2410.0,"height":87});
															thumbnails[8218656] = clik.newPhoto({"id":8218656,"src":"_MG_2416_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_8218656.html","width":130,"caption":2416.0,"height":87});
															thumbnails[8218659] = clik.newPhoto({"id":8218659,"src":"_MG_2467_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_8218659.html","width":130,"caption":2467.0,"height":130});
															thumbnails[8218661] = clik.newPhoto({"id":8218661,"src":"_MG_2470_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_8218661.html","width":130,"caption":2470.0,"height":87});
															thumbnails[8218663] = clik.newPhoto({"id":8218663,"src":"_MG_2471_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_8218663.html","width":130,"caption":2471.0,"height":87});
															thumbnails[8218667] = clik.newPhoto({"id":8218667,"src":"_MG_8930_copy_thumb.jpg","galleries_id":258624,"server_id":18,"link":"photo_8218667.html","width":130,"caption":"C4H","height":104});
															thumbnails[8231569] = clik.newPhoto({"id":8231569,"src":"_MG_2638_copy_thumb.jpg","galleries_id":258108,"server_id":18,"link":"photo_8231569.html","width":130,"caption":"Autosolo","height":87});
															thumbnails[8335560] = clik.newPhoto({"id":8335560,"src":"_MG_3430_copy_thumb.jpg","galleries_id":258108,"server_id":18,"link":"photo_8335560.html","width":130,"caption":"BMW DAY Track (Minis)","height":87});
															thumbnails[8335562] = clik.newPhoto({"id":8335562,"src":"_MG_3677_copy_thumb.jpg","galleries_id":258108,"server_id":18,"link":"photo_8335562.html","width":130,"caption":"XJ\/XK Register National Day","height":87});
															thumbnails[8342208] = clik.newPhoto({"id":8342208,"src":"_MG_3580_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_8342208.html","width":130,"caption":3580.0,"height":87});
															thumbnails[8424953] = clik.newPhoto({"id":8424953,"src":"_MG_4210_copy_thumb.jpg","galleries_id":258108,"server_id":18,"link":"photo_8424953.html","width":130,"caption":"Thames Valley 4X4 Club","height":87});
															thumbnails[8697078] = clik.newPhoto({"id":8697078,"src":"_MG_2498_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_8697078.html","width":130,"caption":"Heaven","height":87});
															thumbnails[8697101] = clik.newPhoto({"id":8697101,"src":"_MG_5843_copy_thumb.jpg","galleries_id":258108,"server_id":18,"link":"photo_8697101.html","width":130,"caption":"Nene Valley Hogs","height":87});
															thumbnails[8702098] = clik.newPhoto({"id":8702098,"src":"_MG_1490_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_8702098.html","width":130,"caption":1490.0,"height":87});
															thumbnails[8923579] = clik.newPhoto({"id":8923579,"src":"_MG_6421_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_8923579.html","width":130,"caption":127.0,"height":87});
															thumbnails[4637117] = clik.newPhoto({"id":4637117,"src":"_MG_6495_copy_thumb.jpg","galleries_id":258622,"server_id":18,"link":"photo_4637117.html","width":130,"caption":"Dave 1","height":114});
															thumbnails[4504070] = clik.newPhoto({"id":4504070,"src":"web_018_thumb.jpg","galleries_id":258624,"server_id":18,"link":"photo_4504070.html","width":130,"caption":"Poodle","height":108});
															thumbnails[4542873] = clik.newPhoto({"id":4542873,"src":"_MG_5339_copy_thumb.jpg","galleries_id":258622,"server_id":18,"link":"photo_4542873.html","width":130,"caption":"Triumph 3","height":87});
															thumbnails[4542898] = clik.newPhoto({"id":4542898,"src":"_MG_7641_copy1_thumb.jpg","galleries_id":258108,"server_id":18,"link":"photo_4542898.html","width":130,"caption":"BSA Front Wheel Drive ","height":93});
															thumbnails[4551066] = clik.newPhoto({"id":4551066,"src":"_MG_4318_copy_thumb.jpg","galleries_id":258624,"server_id":18,"link":"photo_4551066.html","width":130,"caption":"Poole3","height":104});
															thumbnails[6868541] = clik.newPhoto({"id":6868541,"src":"_MG_0444_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_6868541.html","width":130,"caption":"Buick","height":87});
															thumbnails[5438205] = clik.newPhoto({"id":5438205,"src":"_MG_1748_copy_thumb.jpg","galleries_id":258108,"server_id":18,"link":"photo_5438205.html","width":130,"caption":"Weston Lawns","height":130});
															thumbnails[8697079] = clik.newPhoto({"id":8697079,"src":"_MG_3878_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_8697079.html","width":130,"caption":3878.0,"height":87});
															thumbnails[4493913] = clik.newPhoto({"id":4493913,"src":"_MG_7446_copy_thumb.jpg","galleries_id":258108,"server_id":18,"link":"photo_4493913.html","width":130,"caption":"Mini Heritage Run ","height":86});
															thumbnails[4542878] = clik.newPhoto({"id":4542878,"src":"_MG_6264_copy_thumb.jpg","galleries_id":258108,"server_id":18,"link":"photo_4542878.html","width":130,"caption":"Mini 50th 1","height":93});
															thumbnails[4504039] = clik.newPhoto({"id":4504039,"src":"web_012_thumb.jpg","galleries_id":258108,"server_id":18,"link":"photo_4504039.html","width":130,"caption":"Mini 50th","height":115});
															thumbnails[4551082] = clik.newPhoto({"id":4551082,"src":"_MG_7608_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_4551082.html","width":130,"caption":"Range Rover 1970","height":87});
															thumbnails[4551079] = clik.newPhoto({"id":4551079,"src":"_MG_7497_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_4551079.html","width":130,"caption":"Series1 1948 ","height":99});
															thumbnails[4493922] = clik.newPhoto({"id":4493922,"src":"_MG_7845_copy_thumb.jpg","galleries_id":258108,"server_id":18,"link":"photo_4493922.html","width":130,"caption":"BriSkoda ","height":80});
															thumbnails[4504079] = clik.newPhoto({"id":4504079,"src":"web_021_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_4504079.html","width":130,"caption":"Lightweight Special 1938","height":93});
															thumbnails[4542870] = clik.newPhoto({"id":4542870,"src":"_MG_4350_copy_thumb.jpg","galleries_id":258624,"server_id":18,"link":"photo_4542870.html","width":130,"caption":"Poole1","height":104});
															thumbnails[4542903] = clik.newPhoto({"id":4542903,"src":"_MG_8328_copy1_thumb.jpg","galleries_id":258622,"server_id":18,"link":"photo_4542903.html","width":130,"caption":"AJS","height":91});
															thumbnails[7858060] = clik.newPhoto({"id":7858060,"src":"_MG_7926_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_7858060.html","width":130,"caption":"Speedster 7926","height":87});
															thumbnails[8137108] = clik.newPhoto({"id":8137108,"src":"_MG_2172_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_8137108.html","width":130,"caption":2172.0,"height":104});
															thumbnails[4735069] = clik.newPhoto({"id":4735069,"src":"web_045_thumb.jpg","galleries_id":258108,"server_id":18,"link":"photo_4735069.html","width":130,"caption":"Bonneville 50th","height":93});
															thumbnails[5764260] = clik.newPhoto({"id":5764260,"src":"_MG_9758_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_5764260.html","width":130,"caption":"Royal Mail","height":93});
															thumbnails[8697080] = clik.newPhoto({"id":8697080,"src":"_MG_4746_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_8697080.html","width":130,"caption":4746.0,"height":87});
															thumbnails[4542877] = clik.newPhoto({"id":4542877,"src":"_MG_5922_copy_thumb.jpg","galleries_id":258108,"server_id":18,"link":"photo_4542877.html","width":130,"caption":"London Marathon ","height":87});
															thumbnails[4542868] = clik.newPhoto({"id":4542868,"src":"_MG_4321_copy_thumb.jpg","galleries_id":258624,"server_id":18,"link":"photo_4542868.html","width":130,"caption":"Poole2","height":103});
															thumbnails[4504020] = clik.newPhoto({"id":4504020,"src":"web_009_thumb.jpg","galleries_id":258108,"server_id":18,"link":"photo_4504020.html","width":130,"caption":"MGFest \/ MGFifteen","height":112});
															thumbnails[4542862] = clik.newPhoto({"id":4542862,"src":"_MG_0136_copy_thumb.jpg","galleries_id":258108,"server_id":18,"link":"photo_4542862.html","width":130,"caption":"Land Rover 60th","height":104});
															thumbnails[4504092] = clik.newPhoto({"id":4504092,"src":"web_024_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_4504092.html","width":130,"caption":"J40","height":93});
															thumbnails[6868551] = clik.newPhoto({"id":6868551,"src":"_MG_8691_copy_thumb.jpg","galleries_id":258622,"server_id":18,"link":"photo_6868551.html","width":130,"caption":"Triumph4","height":104});
															thumbnails[7858071] = clik.newPhoto({"id":7858071,"src":"_MG_9963_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_7858071.html","width":130,"caption":9963.0,"height":87});
															thumbnails[4504041] = clik.newPhoto({"id":4504041,"src":"web_013_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_4504041.html","width":130,"caption":"Omega\/1","height":192});
															thumbnails[4504049] = clik.newPhoto({"id":4504049,"src":"web_014_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_4504049.html","width":130,"caption":"Vauxhall H Type 1937","height":109});
															thumbnails[7647320] = clik.newPhoto({"id":7647320,"src":"_MG_8396_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_7647320.html","width":130,"caption":"MG SA","height":87});
															thumbnails[4450008] = clik.newPhoto({"id":4450008,"src":"web_004_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_4450008.html","width":130,"caption":"Yeoman\/2","height":107});
															thumbnails[4450010] = clik.newPhoto({"id":4450010,"src":"web_005_thumb.jpg","galleries_id":258622,"server_id":18,"link":"photo_4450010.html","width":130,"caption":"Dirt 1","height":117});
															thumbnails[4542884] = clik.newPhoto({"id":4542884,"src":"_MG_6441_copy_thumb.jpg","galleries_id":258622,"server_id":18,"link":"photo_4542884.html","width":130,"caption":"Chopped","height":87});
															thumbnails[7950043] = clik.newPhoto({"id":7950043,"src":"_MG_6281_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_7950043.html","width":130,"caption":6281.0,"height":87});
															thumbnails[4551085] = clik.newPhoto({"id":4551085,"src":"_MG_8425_copy_thumb.jpg","galleries_id":258108,"server_id":18,"link":"photo_4551085.html","width":130,"caption":"IMM Cofton Run","height":116});
															thumbnails[5453376] = clik.newPhoto({"id":5453376,"src":"_MG_7593_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_5453376.html","width":130,"caption":"RR1\/1","height":93});
															thumbnails[4542872] = clik.newPhoto({"id":4542872,"src":"_MG_5288_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_4542872.html","width":130,"caption":"1964 Monte Winner","height":104});
															thumbnails[4551058] = clik.newPhoto({"id":4551058,"src":"_MG_0305_copy_thumb.jpg","galleries_id":258624,"server_id":18,"link":"photo_4551058.html","width":130,"caption":"Italy1","height":195});
															thumbnails[5255839] = clik.newPhoto({"id":5255839,"src":"_MG_5343_copy_thumb.jpg","galleries_id":258622,"server_id":18,"link":"photo_5255839.html","width":130,"caption":"Ace Cafe","height":87});
															thumbnails[4504066] = clik.newPhoto({"id":4504066,"src":"web_016_thumb.jpg","galleries_id":258108,"server_id":18,"link":"photo_4504066.html","width":130,"caption":"Weston Lawns ","height":99});
															thumbnails[5255893] = clik.newPhoto({"id":5255893,"src":"_MG_6731_copy_thumb.jpg","galleries_id":258622,"server_id":18,"link":"photo_5255893.html","width":130,"caption":"Rudge","height":195});
															thumbnails[4556409] = clik.newPhoto({"id":4556409,"src":"web_038_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_4556409.html","width":130,"caption":"Riley RMA 1952","height":61});
															thumbnails[4551062] = clik.newPhoto({"id":4551062,"src":"_MG_0308_copy_thumb.jpg","galleries_id":258624,"server_id":18,"link":"photo_4551062.html","width":130,"caption":"Italy2","height":87});
															thumbnails[5727338] = clik.newPhoto({"id":5727338,"src":"_MG_0464_copy_thumb.jpg","galleries_id":258622,"server_id":18,"link":"photo_5727338.html","width":130,"caption":"HD2","height":87});
															thumbnails[6728640] = clik.newPhoto({"id":6728640,"src":"_MG_2954_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_6728640.html","width":130,"caption":2954.0,"height":104});
															thumbnails[4556411] = clik.newPhoto({"id":4556411,"src":"web_039_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_4556411.html","width":130,"caption":"Vauxhall H Type 1937","height":87});
															thumbnails[7282785] = clik.newPhoto({"id":7282785,"src":"_MG_7467_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_7282785.html","width":130,"caption":"Lilac 2","height":104});
															thumbnails[8339040] = clik.newPhoto({"id":8339040,"src":"_MG_3327_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_8339040.html","width":130,"caption":3327.0,"height":87});
															thumbnails[4542919] = clik.newPhoto({"id":4542919,"src":"_MG_8633_copy1_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_4542919.html","width":130,"caption":"E","height":95});
															thumbnails[4551057] = clik.newPhoto({"id":4551057,"src":"_MG_0094_copy_thumb.jpg","galleries_id":258108,"server_id":18,"link":"photo_4551057.html","width":130,"caption":"Goodwood Revival","height":87});
															thumbnails[4551065] = clik.newPhoto({"id":4551065,"src":"_MG_3890_copy_thumb.jpg","galleries_id":258624,"server_id":18,"link":"photo_4551065.html","width":130,"caption":"Dalek Day 2009","height":94});
															thumbnails[5597128] = clik.newPhoto({"id":5597128,"src":"_MG_0307_copy_thumb.jpg","galleries_id":258624,"server_id":18,"link":"photo_5597128.html","width":130,"caption":"Darien Gap Range Rover","height":91});
															thumbnails[6728647] = clik.newPhoto({"id":6728647,"src":"_MG_3351_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_6728647.html","width":130,"caption":3351.0,"height":87});
															thumbnails[8697077] = clik.newPhoto({"id":8697077,"src":"_MG_1578_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_8697077.html","width":130,"caption":1578.0,"height":87});
															thumbnails[4784741] = clik.newPhoto({"id":4784741,"src":"_MG_8036_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_4784741.html","width":130,"caption":"Alpines","height":76});
															thumbnails[6728595] = clik.newPhoto({"id":6728595,"src":"_MG_0864_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_6728595.html","width":130,"caption":"Bullnose 3","height":104});
															thumbnails[7647319] = clik.newPhoto({"id":7647319,"src":"_MG_8393_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_7647319.html","width":130,"caption":8393.0,"height":87});
															thumbnails[8128703] = clik.newPhoto({"id":8128703,"src":"_MG_2121_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_8128703.html","width":130,"caption":"Series 3","height":87});
															thumbnails[5255832] = clik.newPhoto({"id":5255832,"src":"_MG_0001_thumb.JPG","galleries_id":258108,"server_id":18,"link":"photo_5255832.html","width":130,"caption":"Sporting Bears","height":87});
															thumbnails[4551067] = clik.newPhoto({"id":4551067,"src":"_MG_4331_copy_thumb.jpg","galleries_id":258624,"server_id":18,"link":"photo_4551067.html","width":130,"caption":"Poole4","height":104});
															thumbnails[5255894] = clik.newPhoto({"id":5255894,"src":"_MG_6742_copy_thumb.jpg","galleries_id":258622,"server_id":18,"link":"photo_5255894.html","width":130,"caption":"Triumph 5","height":182});
															thumbnails[7950082] = clik.newPhoto({"id":7950082,"src":"_MG_9957_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_7950082.html","width":130,"caption":9957.0,"height":65});
															thumbnails[4551071] = clik.newPhoto({"id":4551071,"src":"_MG_5448_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_4551071.html","width":130,"caption":"Roller","height":104});
															thumbnails[6868537] = clik.newPhoto({"id":6868537,"src":"_MG_0443_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_6868537.html","width":130,"caption":"Bentley3","height":87});
															thumbnails[4504072] = clik.newPhoto({"id":4504072,"src":"web_019_thumb.jpg","galleries_id":258622,"server_id":18,"link":"photo_4504072.html","width":130,"caption":"HD4","height":195});
															thumbnails[6728643] = clik.newPhoto({"id":6728643,"src":"_MG_2958_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_6728643.html","width":130,"caption":2958.0,"height":104});
															thumbnails[7282786] = clik.newPhoto({"id":7282786,"src":"_MG_7474_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_7282786.html","width":130,"caption":"Morris Badge 1","height":87});
															thumbnails[8424952] = clik.newPhoto({"id":8424952,"src":"_MG_3815_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_8424952.html","width":130,"caption":3815.0,"height":87});
															thumbnails[5979943] = clik.newPhoto({"id":5979943,"src":"_MG_1559_copy_thumb.jpg","galleries_id":258622,"server_id":18,"link":"photo_5979943.html","width":130,"caption":"HD8","height":195});
															thumbnails[8129024] = clik.newPhoto({"id":8129024,"src":"_MG_0947_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_8129024.html","width":130,"caption":947.0,"height":87});
															thumbnails[4542879] = clik.newPhoto({"id":4542879,"src":"_MG_6416_copy_thumb.jpg","galleries_id":258622,"server_id":18,"link":"photo_4542879.html","width":130,"caption":"HD5","height":195});
															thumbnails[4542888] = clik.newPhoto({"id":4542888,"src":"_MG_6780_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_4542888.html","width":130,"caption":"1964 Monte Winner","height":93});
															thumbnails[5979938] = clik.newPhoto({"id":5979938,"src":"_MG_0586_copy_thumb.jpg","galleries_id":258622,"server_id":18,"link":"photo_5979938.html","width":130,"caption":"HD6","height":104});
															thumbnails[5979941] = clik.newPhoto({"id":5979941,"src":"_MG_1552_copy_thumb.jpg","galleries_id":258622,"server_id":18,"link":"photo_5979941.html","width":130,"caption":"HD7","height":195});
															thumbnails[4637106] = clik.newPhoto({"id":4637106,"src":"_MG_6645_copy_thumb.jpg","galleries_id":258622,"server_id":18,"link":"photo_4637106.html","width":130,"caption":"Dirt3","height":202});
															thumbnails[5764267] = clik.newPhoto({"id":5764267,"src":"_MG_0589_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_5764267.html","width":130,"caption":"Series 1  1948\/4","height":104});
															thumbnails[6868552] = clik.newPhoto({"id":6868552,"src":"_MG_8771_copy_thumb.jpg","galleries_id":258622,"server_id":18,"link":"photo_6868552.html","width":130,"caption":"Triumph7","height":87});
															thumbnails[8128742] = clik.newPhoto({"id":8128742,"src":"_MG_9010_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_8128742.html","width":130,"caption":9010.0,"height":87});
															thumbnails[5255888] = clik.newPhoto({"id":5255888,"src":"_MG_5912_copy_thumb.jpg","galleries_id":258108,"server_id":18,"link":"photo_5255888.html","width":130,"caption":"","height":104});
															thumbnails[6729087] = clik.newPhoto({"id":6729087,"src":"_MG_0422_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_6729087.html","width":130,"caption":"Lancia","height":87});
															thumbnails[5255834] = clik.newPhoto({"id":5255834,"src":"_MG_0069_thumb.JPG","galleries_id":258622,"server_id":18,"link":"photo_5255834.html","width":130,"caption":"Track1","height":95});
															thumbnails[4542869] = clik.newPhoto({"id":4542869,"src":"_MG_2087_copy1_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_4542869.html","width":130,"caption":"4x4\/7","height":104});
															thumbnails[7858066] = clik.newPhoto({"id":7858066,"src":"_MG_9941_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_7858066.html","width":130,"caption":"Alvis 9941","height":87});
															thumbnails[8129196] = clik.newPhoto({"id":8129196,"src":"_MG_0952_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_8129196.html","width":130,"caption":952.0,"height":87});
															thumbnails[8342274] = clik.newPhoto({"id":8342274,"src":"_MG_3865_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_8342274.html","width":130,"caption":3865.0,"height":195});
															thumbnails[7711067] = clik.newPhoto({"id":7711067,"src":"_MG_8448_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_7711067.html","width":130,"caption":"Wheel","height":87});
															thumbnails[8128747] = clik.newPhoto({"id":8128747,"src":"_MG_9937_copy_thumb.jpg","galleries_id":258107,"server_id":18,"link":"photo_8128747.html","width":130,"caption":9937.0,"height":104});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[258107] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Auto images","link":"gallery_258107.html","maxRecords":0.0,"photoIDs":[4720241.0,5234898.0,5727335.0,5796645.0,5979932.0,6242924.0,6399099.0,6728644.0,6728741.0,7891855.0,7891858.0,7891860.0,7891862.0,7891863.0,7950024.0,7950104.0,8128639.0,8128720.0,8128728.0,8129023.0,8218647.0,8218649.0,8218650.0,8218651.0,8218653.0,8218656.0,8218659.0,8218661.0,8218663.0,8342208.0,8697078.0,8702098.0,8923579.0,6868541.0,8697079.0,4551082.0,4551079.0,4504079.0,7858060.0,8137108.0,5764260.0,8697080.0,4504092.0,7858071.0,4504041.0,4504049.0,7647320.0,4450008.0,7950043.0,5453376.0,4542872.0,4556409.0,6728640.0,4556411.0,7282785.0,8339040.0,4542919.0,6728647.0,8697077.0,4784741.0,6728595.0,7647319.0,8128703.0,7950082.0,4551071.0,6868537.0,6728643.0,7282786.0,8424952.0,8129024.0,4542888.0,5764267.0,8128742.0,6729087.0,4542869.0,7858066.0,8129196.0,8342274.0,7711067.0,8128747.0],"skipIndex":0,"section_code":"gallery","featured_images":"7891863,6399099","id":258107,"singleSection":false});				  						galleries[258108] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Events","link":"gallery_258108.html","maxRecords":0.0,"photoIDs":[4556351.0,4720310.0,5438203.0,5727347.0,5908363.0,5908366.0,5979939.0,5979947.0,6242930.0,6299128.0,6783026.0,6868548.0,7067387.0,7612715.0,7711084.0,7711107.0,7771330.0,7771332.0,7810265.0,7871044.0,7871055.0,7944167.0,8000832.0,8040610.0,8097760.0,8129006.0,8129198.0,8202160.0,8231569.0,8335560.0,8335562.0,8424953.0,8697101.0,4542898.0,5438205.0,4493913.0,4542878.0,4504039.0,4493922.0,4735069.0,4542877.0,4504020.0,4542862.0,4551085.0,4504066.0,4551057.0,5255832.0,5255888.0],"skipIndex":0,"section_code":"gallery","featured_images":4493922.0,"id":258108,"singleSection":false});				  						galleries[258622] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Bikes","link":"gallery_258622.html","maxRecords":0.0,"photoIDs":[4551069.0,5234901.0,5255840.0,5453363.0,5597126.0,5796649.0,5988435.0,6242933.0,6868550.0,7555162.0,7858198.0,8014399.0,4637117.0,4542873.0,4542903.0,6868551.0,4450010.0,4542884.0,5255839.0,5255893.0,5727338.0,5255894.0,4504072.0,5979943.0,4542879.0,5979938.0,5979941.0,4637106.0,6868552.0,5255834.0],"skipIndex":0,"section_code":"gallery","featured_images":4450010.0,"id":258622,"singleSection":false});				  						galleries[258624] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Misc","link":"gallery_258624.html","maxRecords":0.0,"photoIDs":[4482605.0,4543068.0,4556396.0,4556474.0,4583632.0,4842027.0,5453355.0,5453381.0,6729090.0,6729146.0,6995519.0,7282790.0,7555204.0,7711079.0,8218667.0,4504070.0,4551066.0,4542870.0,4542868.0,4551058.0,4551062.0,4551065.0,5597128.0,4551067.0],"skipIndex":0,"section_code":"gallery","featured_images":4542868.0,"id":258624,"singleSection":false});				  						galleries[260210] = clik.newGallery({"parentGallery":"","usePopups":false,"title":" Customer Images","link":"gallery_260210.html","maxRecords":0.0,"photoIDs":[5234902.0,5234904.0,5234907.0,5234912.0,5438211.0,5908370.0,6037235.0,7891866.0,8097754.0,8128696.0,8129026.0],"skipIndex":0,"section_code":"gallery","featured_images":8097754.0,"id":260210,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '7891855,5234898,4720241';
imageSets[2] = '8097754,7891863,6399099,4493922,4542868,4450010';
imageSets[3] = '7891866,4543068,4542868,4450008';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/ebellenie/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/ebellenie/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/ebellenie/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/ebellenie/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/ebellenie/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/ebellenie/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/ebellenie/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/ebellenie/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/ebellenie/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/ebellenie/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/ebellenie/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/ebellenie/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/ebellenie/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/ebellenie/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/ebellenie/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/ebellenie/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/ebellenie/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/ebellenie/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/ebellenie/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/ebellenie/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/ebellenie/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/ebellenie/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/ebellenie/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/ebellenie/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/ebellenie/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/ebellenie/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/ebellenie/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 = 'Sands Photography: ' + 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>';
	}
				
	temp += this.fnGetPaymentInfo();
				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>Buy now using PayPal:</p>';
				temp += '<div class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> &pound;' + (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.payment_groups_id !== '') {
		temp += '<p>Buy this print online:</p>';
				temp += '<form id="paymentOptions" style="margin:0px;border:0px;" name="paymentOptions">';
		 									temp += '<select class="paymentlink" name="payment_options_id" onchange="updateCartValue($(this.form).next(\'#paymentForm\')[0],this.form.payment_options_id.options[this.form.payment_options_id.options.selectedIndex].value); if(divShowing(\'paymentConfirm\')){fadeOut(\'paymentConfirm\', 3)};">';
		
		temp += getPaymentOptions(this.payment_groups_id);
		temp += '</select>';
		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 += '<form id="paymentForm" style="margin:0px;border:0px;" name="paymentForm">';
			temp += '	<input type="hidden" name="item_option" value="' + item_option + '">';
			temp += '	<input type="hidden" name="site" value="EBELLENIE">';
			temp += '	<input type="hidden" name="item_number" value="'+ this.id +'">';
			temp += '	<input type="hidden" name="quantity" value="1">';
						temp += '	<input value="Add to cart" id="paymentAddButton" class="button" onmouseover="this.className=\'buttonHi\'\;" onmouseout="this.className=\'button\'\;" type="Button">';
							temp += '	<input value="View cart" id="paymentViewButton" class="button" onmouseover="this.className=\'buttonHi\';" onmouseout="this.className=\'button\';" type="Button" onclick="javascript:window.location=\'cart.html\'">';
			temp += '</form>';
						temp += '<div class="clearing">&nbsp;</div>';
			temp += '<div id="confirmContainer">';
			temp += '<div id="paymentConfirm">Item added to cart</div>';
			temp += '</div>';
			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;
	}
}

			

