window.thumbnails = {};
															thumbnails[2633251] = clik.newPhoto({"id":2633251,"src":"IMG_6209-colour-sax_thumb.jpg","galleries_id":135058,"server_id":32,"link":"photo_2633251.html","width":130,"caption":"saxophone","height":201});
															thumbnails[5846070] = clik.newPhoto({"id":5846070,"src":"IMG_3543_1_thumb.jpg","galleries_id":330353,"server_id":32,"link":"photo_5846070.html","width":130,"caption":"Dessie Nutt & Geraldine McBride going off road","height":87});
															thumbnails[7730400] = clik.newPhoto({"id":7730400,"src":"pirelli_david_bogie1_thumb.jpg","galleries_id":416910,"server_id":32,"link":"photo_7730400.html","width":160,"caption":"David Bogie and Kevin Rae flying to victory in the 2011 Pirelli Rally","height":107});
															thumbnails[8856248] = clik.newPhoto({"id":8856248,"src":"Gwyndath_Evans_1_thumb.jpg","galleries_id":465279,"server_id":32,"link":"photo_8856248.html","width":160,"caption":"Gwyndath Evans & John Millington","height":107});
															thumbnails[2500661] = clik.newPhoto({"id":2500661,"src":"IMG_6180_thumb.jpg","galleries_id":135058,"server_id":32,"link":"photo_2500661.html","width":130,"caption":"Pink Flower reflection","height":87});
															thumbnails[5370822] = clik.newPhoto({"id":5370822,"src":"IMG_02323_thumb.jpg","galleries_id":135068,"server_id":32,"link":"photo_5370822.html","width":130,"caption":"Carlisle City Centre at Christmas","height":87});
															thumbnails[7730402] = clik.newPhoto({"id":7730402,"src":"pirelli_robert_barrable1_thumb.jpg","galleries_id":416910,"server_id":32,"link":"photo_7730402.html","width":160,"caption":"Robert Barrable & Damien Connolly","height":107});
															thumbnails[8860740] = clik.newPhoto({"id":8860740,"src":"Gwyndath_Evans_2_thumb.jpg","galleries_id":465279,"server_id":32,"link":"photo_8860740.html","width":160,"caption":"Gwyndath Evans & John Millington battle through the snow to victory","height":107});
															thumbnails[5846075] = clik.newPhoto({"id":5846075,"src":"IMG_3550_2_thumb.jpg","galleries_id":330353,"server_id":32,"link":"photo_5846075.html","width":130,"caption":"Dessie Nutt & Geraldine McBride","height":87});
															thumbnails[2031986] = clik.newPhoto({"id":2031986,"src":"IMG_2629v3_thumb.jpg","galleries_id":135929,"server_id":32,"link":"photo_2031986.html","width":130,"caption":"Cumberland Farmers Foxhounds 1st hunt 2008, Welton","height":163});
															thumbnails[2117555] = clik.newPhoto({"id":2117555,"src":"IMG_4340_e_thumb.jpg","galleries_id":135058,"server_id":32,"link":"photo_2117555.html","width":130,"caption":"Wedding Bouquet","height":195});
															thumbnails[5370827] = clik.newPhoto({"id":5370827,"src":"IMG_02347v2_thumb.jpg","galleries_id":135068,"server_id":32,"link":"photo_5370827.html","width":130,"caption":"Carlisle Cathedral at Christmas","height":81});
															thumbnails[5608017] = clik.newPhoto({"id":5608017,"src":"S-Perez-2_thumb.jpg","galleries_id":318006,"server_id":32,"link":"photo_5608017.html","width":130,"caption":"Steve Perez,  Paul Spooner - Winners of the 2010 event","height":87});
															thumbnails[5865046] = clik.newPhoto({"id":5865046,"src":"G-Evans_thumb.jpg","galleries_id":330353,"server_id":32,"link":"photo_5865046.html","width":130,"caption":"Gwyndath Evans, Chris Patterson","height":93});
															thumbnails[6743626] = clik.newPhoto({"id":6743626,"src":"IMG_0254_thumb.jpg","galleries_id":367541,"server_id":32,"link":"photo_6743626.html","width":130,"caption":"James Ellison - Swan Honda","height":87});
															thumbnails[7126856] = clik.newPhoto({"id":7126856,"src":"Stefaan_Stouf_RAC_thumb.jpg","galleries_id":383102,"server_id":32,"link":"photo_7126856.html","width":130,"caption":"Stefaan Stouf; Joris Erard - Rally Winners 2010","height":87});
															thumbnails[7498060] = clik.newPhoto({"id":7498060,"src":"MWRally_andrew_burton1_thumb.jpg","galleries_id":406514,"server_id":32,"link":"photo_7498060.html","width":160,"caption":"Winners of 2011 Malcolm Wilson Rally - Andrew Burton; Robin Kellard","height":107});
															thumbnails[7730404] = clik.newPhoto({"id":7730404,"src":"pirelli_jonathan_greer1_thumb.jpg","galleries_id":416910,"server_id":32,"link":"photo_7730404.html","width":160,"caption":"Jonathan Greer & Dai Roberts","height":107});
															thumbnails[8856256] = clik.newPhoto({"id":8856256,"src":"David_Stokes_1_thumb.jpg","galleries_id":465279,"server_id":32,"link":"photo_8856256.html","width":160,"caption":"David Stokes & Guy Weaver","height":107});
															thumbnails[7730405] = clik.newPhoto({"id":7730405,"src":"pirelli_martin_mccormack1_thumb.jpg","galleries_id":416910,"server_id":32,"link":"photo_7730405.html","width":160,"caption":"Martin McCormack & David Moynihan","height":107});
															thumbnails[2021552] = clik.newPhoto({"id":2021552,"src":"Img_2530_thumb.jpg","galleries_id":135058,"server_id":32,"link":"photo_2021552.html","width":130,"caption":"","height":87});
															thumbnails[7138276] = clik.newPhoto({"id":7138276,"src":"Stefaan_Stouf_2_RAC_thumb.jpg","galleries_id":383102,"server_id":32,"link":"photo_7138276.html","width":130,"caption":"Stefaan Stouf; Joris Erard","height":87});
															thumbnails[7730406] = clik.newPhoto({"id":7730406,"src":"pirelli_jukka_korhonen_thumb.jpg","galleries_id":416910,"server_id":32,"link":"photo_7730406.html","width":160,"caption":"Jukka Korhonen & Marko Salminen","height":107});
															thumbnails[7730408] = clik.newPhoto({"id":7730408,"src":"pirelli_craig_breen1_thumb.jpg","galleries_id":416910,"server_id":32,"link":"photo_7730408.html","width":160,"caption":"Craig Breen & Gareth Roberts","height":107});
															thumbnails[2001350] = clik.newPhoto({"id":2001350,"src":"IMG_2078_thumb.jpg","galleries_id":135069,"server_id":32,"link":"photo_2001350.html","width":130,"caption":"Sunset over Lake Garda","height":87});
															thumbnails[2015028] = clik.newPhoto({"id":2015028,"src":"IMG_2375_thumb.jpg","galleries_id":135056,"server_id":32,"link":"photo_2015028.html","width":130,"caption":"Eagle Owl","height":87});
															thumbnails[2015054] = clik.newPhoto({"id":2015054,"src":"IMG_3481_thumb.jpg","galleries_id":135057,"server_id":32,"link":"photo_2015054.html","width":130,"caption":"White Rose","height":87});
															thumbnails[2021546] = clik.newPhoto({"id":2021546,"src":"IMG_1257_thumb.jpg","galleries_id":135058,"server_id":32,"link":"photo_2021546.html","width":130,"caption":"Reflecting !!","height":87});
															thumbnails[3571686] = clik.newPhoto({"id":3571686,"src":"Hunt_thumb.jpg","galleries_id":135929,"server_id":32,"link":"photo_3571686.html","width":130,"caption":"Cumberland Farmers Foxhounds, Welton","height":169});
															thumbnails[5370830] = clik.newPhoto({"id":5370830,"src":"IMG_02380_thumb.jpg","galleries_id":135068,"server_id":32,"link":"photo_5370830.html","width":130,"caption":"Winter scene of Stanwix Church, Carlisle","height":87});
															thumbnails[5608019] = clik.newPhoto({"id":5608019,"src":"Roll-6_thumb.jpg","galleries_id":318006,"server_id":32,"link":"photo_5608019.html","width":130,"caption":"John Boyd, Craig Wallace rolling their Fiesta in Comb","height":87});
															thumbnails[5865048] = clik.newPhoto({"id":5865048,"src":"keith-cronin1_thumb.jpg","galleries_id":330353,"server_id":32,"link":"photo_5865048.html","width":130,"caption":"Keith Cronin, Barry McNulty","height":93});
															thumbnails[6743630] = clik.newPhoto({"id":6743630,"src":"IMG_0261_thumb.jpg","galleries_id":367541,"server_id":32,"link":"photo_6743630.html","width":130,"caption":"Josh Brookes - HM Plant Honda","height":87});
															thumbnails[7126857] = clik.newPhoto({"id":7126857,"src":"Andrew_Haddon_RAC_thumb.jpg","galleries_id":383102,"server_id":32,"link":"photo_7126857.html","width":130,"caption":"Andrew Haddon; Mark Crisp","height":87});
															thumbnails[7498062] = clik.newPhoto({"id":7498062,"src":"MWRally_andrew_burton2_thumb.jpg","galleries_id":406514,"server_id":32,"link":"photo_7498062.html","width":160,"caption":"Andrew Burton; Robin Kellard","height":107});
															thumbnails[8856261] = clik.newPhoto({"id":8856261,"src":"Peter_Smith_1_thumb.jpg","galleries_id":465279,"server_id":32,"link":"photo_8856261.html","width":160,"caption":"Peter Smith","height":107});
															thumbnails[7747739] = clik.newPhoto({"id":7747739,"src":"pirelli_elfin_evans2_thumb.jpg","galleries_id":416910,"server_id":32,"link":"photo_7747739.html","width":160,"caption":"Elfyn Evans & Andrew Edwards","height":107});
															thumbnails[4644656] = clik.newPhoto({"id":4644656,"src":"IMG_94025_thumb.jpg","galleries_id":135068,"server_id":32,"link":"photo_4644656.html","width":130,"caption":"Eden Bridge, Carlisle","height":87});
															thumbnails[4644672] = clik.newPhoto({"id":4644672,"src":"1-Freya-and-James_thumb.jpg","galleries_id":135058,"server_id":32,"link":"photo_4644672.html","width":130,"caption":"","height":87});
															thumbnails[5370836] = clik.newPhoto({"id":5370836,"src":"IMG_1251_thumb.jpg","galleries_id":135068,"server_id":32,"link":"photo_5370836.html","width":130,"caption":"Gelt Woods near Brampton, Cumbria","height":87});
															thumbnails[5370841] = clik.newPhoto({"id":5370841,"src":"IMG_02386_thumb.jpg","galleries_id":135068,"server_id":32,"link":"photo_5370841.html","width":130,"caption":"Carlisle City in winter viewed from Rickerby Park","height":87});
															thumbnails[3032863] = clik.newPhoto({"id":3032863,"src":"Carlisle-Fireworks1_thumb.jpg","galleries_id":135068,"server_id":32,"link":"photo_3032863.html","width":130,"caption":"Carlisle Fireshow 2009","height":87});
															thumbnails[5865049] = clik.newPhoto({"id":5865049,"src":"K-Cronin_thumb.jpg","galleries_id":330353,"server_id":32,"link":"photo_5865049.html","width":130,"caption":"Keith Cronin, Barry McNulty","height":87});
															thumbnails[6743632] = clik.newPhoto({"id":6743632,"src":"IMG_0191_thumb.jpg","galleries_id":367541,"server_id":32,"link":"photo_6743632.html","width":130,"caption":"Stuart Easton - Swan Honda","height":87});
															thumbnails[7126860] = clik.newPhoto({"id":7126860,"src":"Andrew_Haddon_RAC_2_thumb.jpg","galleries_id":383102,"server_id":32,"link":"photo_7126860.html","width":130,"caption":"Andrew Haddon; Mark Crisp - being helped back onto the track","height":87});
															thumbnails[7498065] = clik.newPhoto({"id":7498065,"src":"MWRally_paul_bird1_thumb.jpg","galleries_id":406514,"server_id":32,"link":"photo_7498065.html","width":160,"caption":"Paul Bird; Kirsty Riddick","height":107});
															thumbnails[7730410] = clik.newPhoto({"id":7730410,"src":"pirelli_graham_waite1_thumb.jpg","galleries_id":416910,"server_id":32,"link":"photo_7730410.html","width":160,"caption":"Graham Waite & Gill Cotton","height":107});
															thumbnails[8856270] = clik.newPhoto({"id":8856270,"src":"Steve_Perez_1_thumb.jpg","galleries_id":465279,"server_id":32,"link":"photo_8856270.html","width":160,"caption":"Steve Perez & Paul Spooner","height":107});
															thumbnails[8872199] = clik.newPhoto({"id":8872199,"src":"IMG_0170_thumb.jpg","galleries_id":135929,"server_id":32,"link":"photo_8872199.html","width":160,"caption":"","height":240});
															thumbnails[2015070] = clik.newPhoto({"id":2015070,"src":"IMG_0215v3_thumb.jpg","galleries_id":135068,"server_id":32,"link":"photo_2015070.html","width":130,"caption":"Carlisle Cathedral","height":87});
															thumbnails[5135438] = clik.newPhoto({"id":5135438,"src":"IMG_0942_thumb.jpg","galleries_id":135056,"server_id":32,"link":"photo_5135438.html","width":130,"caption":"George","height":87});
															thumbnails[2015030] = clik.newPhoto({"id":2015030,"src":"IMG_2372_thumb.jpg","galleries_id":135056,"server_id":32,"link":"photo_2015030.html","width":130,"caption":"Harris Hawk","height":87});
															thumbnails[2015076] = clik.newPhoto({"id":2015076,"src":"IMG_2105_thumb.jpg","galleries_id":135069,"server_id":32,"link":"photo_2015076.html","width":130,"caption":"Lazize, Lake Garda","height":87});
															thumbnails[2061759] = clik.newPhoto({"id":2061759,"src":"IMG_0940-sepia_thumb.jpg","galleries_id":135068,"server_id":32,"link":"photo_2061759.html","width":130,"caption":"Guildhall Museum, Carlisle","height":87});
															thumbnails[5614415] = clik.newPhoto({"id":5614415,"src":"paul_bird_mw_rally_thumb.jpg","galleries_id":318006,"server_id":32,"link":"photo_5614415.html","width":130,"caption":"Paul Bird & Kirsty Riddick","height":87});
															thumbnails[5865089] = clik.newPhoto({"id":5865089,"src":"Craig_Breen_thumb.jpg","galleries_id":330353,"server_id":32,"link":"photo_5865089.html","width":130,"caption":"Craig Breen, Gareth Roberts","height":87});
															thumbnails[5978303] = clik.newPhoto({"id":5978303,"src":"Sopranos_thumb.jpg","galleries_id":337044,"server_id":32,"link":"photo_5978303.html","width":130,"caption":"The Sopranos","height":87});
															thumbnails[6743636] = clik.newPhoto({"id":6743636,"src":"IMG_0355_thumb.jpg","galleries_id":367541,"server_id":32,"link":"photo_6743636.html","width":130,"caption":"Tommy Hill - Worx Crescent Suzuki","height":87});
															thumbnails[7126861] = clik.newPhoto({"id":7126861,"src":"Gwyndath_Evans_RAC_94DEF7B1-1EC9-D45B-1C443977862844A1_thumb.jpg","galleries_id":383102,"server_id":32,"link":"photo_7126861.html","width":130,"caption":"Gwyndath Evans; John Millington","height":87});
															thumbnails[7498067] = clik.newPhoto({"id":7498067,"src":"MWRally_peter_elkins1_thumb.jpg","galleries_id":406514,"server_id":32,"link":"photo_7498067.html","width":160,"caption":"Peter Elkins; Andrew Joll","height":107});
															thumbnails[7730411] = clik.newPhoto({"id":7730411,"src":"pirelli_stefaan_stouf1_thumb.jpg","galleries_id":416910,"server_id":32,"link":"photo_7730411.html","width":160,"caption":"Stefaan Stouf & Joris Erard","height":114});
															thumbnails[8856277] = clik.newPhoto({"id":8856277,"src":"Chris_Blake_1_thumb.jpg","galleries_id":465279,"server_id":32,"link":"photo_8856277.html","width":160,"caption":"Chris Blake & Tony Walker","height":107});
															thumbnails[5370848] = clik.newPhoto({"id":5370848,"src":"IMG_1814v4_thumb.jpg","galleries_id":135068,"server_id":32,"link":"photo_5370848.html","width":130,"caption":"Rickerby Park, Carlisle in the Floods of 2009","height":87});
															thumbnails[2245963] = clik.newPhoto({"id":2245963,"src":"IMG_5473_thumb.jpg","galleries_id":135056,"server_id":32,"link":"photo_2245963.html","width":130,"caption":"Honey Bee on a Ceanothus flower","height":87});
															thumbnails[5614417] = clik.newPhoto({"id":5614417,"src":"MW10_272_thumb.jpg","galleries_id":318006,"server_id":32,"link":"photo_5614417.html","width":130,"caption":"Hugh Hunter & Andy Marchbank","height":87});
															thumbnails[5865090] = clik.newPhoto({"id":5865090,"src":"C-Breen_thumb.jpg","galleries_id":330353,"server_id":32,"link":"photo_5865090.html","width":130,"caption":"Craig Breen, Gareth Roberts","height":87});
															thumbnails[6743641] = clik.newPhoto({"id":6743641,"src":"IMG_0221_thumb.jpg","galleries_id":367541,"server_id":32,"link":"photo_6743641.html","width":130,"caption":"Adam Jenkinson - Buildbase Kawasaki","height":87});
															thumbnails[7126864] = clik.newPhoto({"id":7126864,"src":"Phil_Collins_RAC_thumb.jpg","galleries_id":383102,"server_id":32,"link":"photo_7126864.html","width":130,"caption":"Phil Collins; Nicky Grist","height":87});
															thumbnails[7498090] = clik.newPhoto({"id":7498090,"src":"MWRally_charlie_taylor1_thumb.jpg","galleries_id":406514,"server_id":32,"link":"photo_7498090.html","width":160,"caption":"Charlie Taylor; Steve Bielby","height":107});
															thumbnails[7730412] = clik.newPhoto({"id":7730412,"src":"pirelli_nick_elliot1_thumb.jpg","galleries_id":416910,"server_id":32,"link":"photo_7730412.html","width":160,"caption":"Nick Elliott & Chris Brooks","height":107});
															thumbnails[8856285] = clik.newPhoto({"id":8856285,"src":"Charlie_Taylor_1_thumb.jpg","galleries_id":465279,"server_id":32,"link":"photo_8856285.html","width":160,"caption":"Charlie Taylor & Steve Bielby","height":107});
															thumbnails[2015086] = clik.newPhoto({"id":2015086,"src":"IMG_2174v3_thumb.jpg","galleries_id":135069,"server_id":32,"link":"photo_2015086.html","width":130,"caption":"Venice","height":86});
															thumbnails[2015094] = clik.newPhoto({"id":2015094,"src":"IMG_2329_thumb.jpg","galleries_id":135057,"server_id":32,"link":"photo_2015094.html","width":130,"caption":"Bouquet of Red Roses","height":87});
															thumbnails[2245968] = clik.newPhoto({"id":2245968,"src":"IMG_5113_thumb.jpg","galleries_id":135056,"server_id":32,"link":"photo_2245968.html","width":130,"caption":"Parrot","height":87});
															thumbnails[5614430] = clik.newPhoto({"id":5614430,"src":"MW10_289_thumb.jpg","galleries_id":318006,"server_id":32,"link":"photo_5614430.html","width":130,"caption":"David Wright & Michael Wilkinson","height":93});
															thumbnails[5865092] = clik.newPhoto({"id":5865092,"src":"Jonathan-Greer_thumb.jpg","galleries_id":330353,"server_id":32,"link":"photo_5865092.html","width":130,"caption":"Jonathan Greer, Dai Roberts","height":87});
															thumbnails[5978307] = clik.newPhoto({"id":5978307,"src":"Altos_thumb.jpg","galleries_id":337044,"server_id":32,"link":"photo_5978307.html","width":130,"caption":"The Altos","height":87});
															thumbnails[6743643] = clik.newPhoto({"id":6743643,"src":"IMG_0304_thumb.jpg","galleries_id":367541,"server_id":32,"link":"photo_6743643.html","width":130,"caption":"Simon Andrews - MSS Colchester Kawasaki","height":87});
															thumbnails[7126866] = clik.newPhoto({"id":7126866,"src":"Marcus_Noble_RAC_94E45538-1EC9-D45B-1CCE77FFB86088E0_thumb.jpg","galleries_id":383102,"server_id":32,"link":"photo_7126866.html","width":130,"caption":"Marcus Noble; Brian Hodgson","height":87});
															thumbnails[7498093] = clik.newPhoto({"id":7498093,"src":"MWRally_tom_naughton1_thumb.jpg","galleries_id":406514,"server_id":32,"link":"photo_7498093.html","width":160,"caption":"Tom Naughton; Horace Saville","height":107});
															thumbnails[7730413] = clik.newPhoto({"id":7730413,"src":"pirelli_simon_crook1_thumb.jpg","galleries_id":416910,"server_id":32,"link":"photo_7730413.html","width":160,"caption":"Simon Crook & Alister Crook","height":107});
															thumbnails[7730414] = clik.newPhoto({"id":7730414,"src":"pirelli_steve_graham1_thumb.jpg","galleries_id":416910,"server_id":32,"link":"photo_7730414.html","width":160,"caption":"Steve Graham & Tony Graham","height":107});
															thumbnails[8866664] = clik.newPhoto({"id":8866664,"src":"Phil-Jobson_thumb.jpg","galleries_id":465279,"server_id":32,"link":"photo_8866664.html","width":160,"caption":"Phil Jobson","height":107});
															thumbnails[5870106] = clik.newPhoto({"id":5870106,"src":"Alan-Cookson_thumb.jpg","galleries_id":330353,"server_id":32,"link":"photo_5870106.html","width":130,"caption":"Alan Cookson, Julian Wilkinson","height":87});
															thumbnails[2245958] = clik.newPhoto({"id":2245958,"src":"IMG_5204_thumb.jpg","galleries_id":135057,"server_id":32,"link":"photo_2245958.html","width":130,"caption":"Dandelion","height":87});
															thumbnails[5874666] = clik.newPhoto({"id":5874666,"src":"Jason-Pritchard_thumb.jpg","galleries_id":330353,"server_id":32,"link":"photo_5874666.html","width":130,"caption":"Jason Tauber Pritchard, Robbie Durrant","height":87});
															thumbnails[6745440] = clik.newPhoto({"id":6745440,"src":"IMG_0377_thumb.jpg","galleries_id":367541,"server_id":32,"link":"photo_6745440.html","width":130,"caption":"John Laverty - Buildbase Kawasaki  &  Chris Walker - Sorrymate.com SMT Honda","height":87});
															thumbnails[7126869] = clik.newPhoto({"id":7126869,"src":"Mark_Higgins_RAC_thumb.jpg","galleries_id":383102,"server_id":32,"link":"photo_7126869.html","width":130,"caption":"Mark Higgins; Dale Furniss","height":87});
															thumbnails[7498098] = clik.newPhoto({"id":7498098,"src":"MWRally_clive_ansty_thumb.jpg","galleries_id":406514,"server_id":32,"link":"photo_7498098.html","width":160,"caption":"Clive Ansty; Tim Currie","height":114});
															thumbnails[7730415] = clik.newPhoto({"id":7730415,"src":"pirelli_elfin_evans1_thumb.jpg","galleries_id":416910,"server_id":32,"link":"photo_7730415.html","width":160,"caption":"Elfyn Evans & Andrew Edwards","height":114});
															thumbnails[8866665] = clik.newPhoto({"id":8866665,"src":"David-Stokes-2_thumb.jpg","galleries_id":465279,"server_id":32,"link":"photo_8866665.html","width":160,"caption":"David Stokes & Guy Weaver","height":107});
															thumbnails[2015023] = clik.newPhoto({"id":2015023,"src":"IMG_0226v4_thumb.jpg","galleries_id":135056,"server_id":32,"link":"photo_2015023.html","width":130,"caption":"Close-up of a Robin","height":104});
															thumbnails[2015091] = clik.newPhoto({"id":2015091,"src":"IMG_2177-copy_thumb.jpg","galleries_id":135069,"server_id":32,"link":"photo_2015091.html","width":130,"caption":"Gondolas, Venice","height":113});
															thumbnails[2015104] = clik.newPhoto({"id":2015104,"src":"IMG_2367_thumb.jpg","galleries_id":135057,"server_id":32,"link":"photo_2015104.html","width":130,"caption":"Fuschia \"Margaret Crawford\"","height":195});
															thumbnails[2061766] = clik.newPhoto({"id":2061766,"src":"IMG_3127_thumb.jpg","galleries_id":135929,"server_id":32,"link":"photo_2061766.html","width":130,"caption":"Spiders web in the frost","height":195});
															thumbnails[5614433] = clik.newPhoto({"id":5614433,"src":"MW10_302_thumb.jpg","galleries_id":318006,"server_id":32,"link":"photo_5614433.html","width":130,"caption":"Steve Petch & John Richardson","height":87});
															thumbnails[5978309] = clik.newPhoto({"id":5978309,"src":"Men_thumb.jpg","galleries_id":337044,"server_id":32,"link":"photo_5978309.html","width":130,"caption":"The Men","height":87});
															thumbnails[6745442] = clik.newPhoto({"id":6745442,"src":"IMG_0284_thumb.jpg","galleries_id":367541,"server_id":32,"link":"photo_6745442.html","width":130,"caption":"Stuart Easton - Swan Honda","height":87});
															thumbnails[7126871] = clik.newPhoto({"id":7126871,"src":"Steve_Perez_RAC_thumb.jpg","galleries_id":383102,"server_id":32,"link":"photo_7126871.html","width":130,"caption":"Steve Perez; Paul Spooner","height":87});
															thumbnails[7498101] = clik.newPhoto({"id":7498101,"src":"MWRally_charlie_payne1_thumb.jpg","galleries_id":406514,"server_id":32,"link":"photo_7498101.html","width":160,"caption":"Charlie Payne; Craig Thorley","height":107});
															thumbnails[7730416] = clik.newPhoto({"id":7730416,"src":"pirelli_tom_clark1_thumb.jpg","galleries_id":416910,"server_id":32,"link":"photo_7730416.html","width":160,"caption":"Tom Clark & Alistair Wyllie","height":107});
															thumbnails[8866669] = clik.newPhoto({"id":8866669,"src":"Jim-Valentine-2_thumb.jpg","galleries_id":465279,"server_id":32,"link":"photo_8866669.html","width":160,"caption":"Jim Valentine & Jonathan Lodge","height":107});
															thumbnails[2015044] = clik.newPhoto({"id":2015044,"src":"IMG_0416v2_thumb.jpg","galleries_id":135056,"server_id":32,"link":"photo_2015044.html","width":130,"caption":"Sheep and Stanwix Church, Carlisle","height":104});
															thumbnails[3032881] = clik.newPhoto({"id":3032881,"src":"IMG_7098-v3_thumb.jpg","galleries_id":135929,"server_id":32,"link":"photo_3032881.html","width":130,"caption":"Foxhounds","height":171});
															thumbnails[5135499] = clik.newPhoto({"id":5135499,"src":"IMG_1032v2_thumb.jpg","galleries_id":135057,"server_id":32,"link":"photo_5135499.html","width":130,"caption":"Fruits of Autumn","height":87});
															thumbnails[5865097] = clik.newPhoto({"id":5865097,"src":"Jullian-Reynolds_thumb.jpg","galleries_id":330353,"server_id":32,"link":"photo_5865097.html","width":130,"caption":"Julian Reynolds, Ian Oakey","height":87});
															thumbnails[6745445] = clik.newPhoto({"id":6745445,"src":"IMG_0328_thumb.jpg","galleries_id":367541,"server_id":32,"link":"photo_6745445.html","width":130,"caption":"Simon Andrews - MSS Colchester Kawasaki","height":87});
															thumbnails[7126874] = clik.newPhoto({"id":7126874,"src":"Mark_Higgins_2_RAC_thumb.jpg","galleries_id":383102,"server_id":32,"link":"photo_7126874.html","width":130,"caption":"Mark Higgins; Dale Furniss","height":87});
															thumbnails[7498102] = clik.newPhoto({"id":7498102,"src":"MWRally_tristran_pye1_thumb.jpg","galleries_id":406514,"server_id":32,"link":"photo_7498102.html","width":160,"caption":"Tristran Pye; Stewart Merry","height":114});
															thumbnails[5619993] = clik.newPhoto({"id":5619993,"src":"MW10_318_thumb.jpg","galleries_id":318006,"server_id":32,"link":"photo_5619993.html","width":130,"caption":"Alan Cookson, Julian Wilkinson","height":87});
															thumbnails[5619995] = clik.newPhoto({"id":5619995,"src":"MW10_328_thumb.jpg","galleries_id":318006,"server_id":32,"link":"photo_5619995.html","width":130,"caption":"Pip Simpson, Gordon Metcalfe - Kankku","height":87});
															thumbnails[2022099] = clik.newPhoto({"id":2022099,"src":"IMG_4180_thumb.jpg","galleries_id":135058,"server_id":32,"link":"photo_2022099.html","width":130,"caption":"Sledging at Caldbeck ","height":87});
															thumbnails[2029004] = clik.newPhoto({"id":2029004,"src":"IMG_2170_thumb.jpg","galleries_id":135069,"server_id":32,"link":"photo_2029004.html","width":130,"caption":"Sirmione, Lake Garda","height":195});
															thumbnails[4644652] = clik.newPhoto({"id":4644652,"src":"IMG_9830_thumb.jpg","galleries_id":135056,"server_id":32,"link":"photo_4644652.html","width":130,"caption":"Deer in the New Forest","height":87});
															thumbnails[5619996] = clik.newPhoto({"id":5619996,"src":"MW10_345_thumb.jpg","galleries_id":318006,"server_id":32,"link":"photo_5619996.html","width":130,"caption":"Gary Cooper, Jon Riley","height":87});
															thumbnails[5865100] = clik.newPhoto({"id":5865100,"src":"Andrew-Siddall_thumb.jpg","galleries_id":330353,"server_id":32,"link":"photo_5865100.html","width":130,"caption":"Andrew Siddall, Captian Thompson","height":93});
															thumbnails[5913579] = clik.newPhoto({"id":5913579,"src":"Jack-Footy_thumb.jpg","galleries_id":135058,"server_id":32,"link":"photo_5913579.html","width":130,"caption":"Anyone for a game of footy?","height":87});
															thumbnails[5978299] = clik.newPhoto({"id":5978299,"src":"Group_thumb.jpg","galleries_id":337044,"server_id":32,"link":"photo_5978299.html","width":130,"caption":"This is Zing !","height":66});
															thumbnails[6240755] = clik.newPhoto({"id":6240755,"src":"ZING_LAUNCH_161_thumb.jpg","galleries_id":337044,"server_id":32,"link":"photo_6240755.html","width":130,"caption":"Zing performing at their launch party in the Tithe barn , Carlisle","height":87});
															thumbnails[6745449] = clik.newPhoto({"id":6745449,"src":"IMG_0400_thumb.jpg","galleries_id":367541,"server_id":32,"link":"photo_6745449.html","width":130,"caption":"Chris Walker - Sorrymate.com SMT Honda","height":87});
															thumbnails[7126877] = clik.newPhoto({"id":7126877,"src":"Bob_Bean_RAC_thumb.jpg","galleries_id":383102,"server_id":32,"link":"photo_7126877.html","width":130,"caption":"Bob Bean; Don Griffiths","height":87});
															thumbnails[7498103] = clik.newPhoto({"id":7498103,"src":"MWRally_robin_shuttleworth1_thumb.jpg","galleries_id":406514,"server_id":32,"link":"photo_7498103.html","width":160,"caption":"Robin Shuttleworth; Ronnie Roughhead","height":107});
															thumbnails[7743471] = clik.newPhoto({"id":7743471,"src":"pirelli_craig_breen2_thumb.jpg","galleries_id":416910,"server_id":32,"link":"photo_7743471.html","width":160,"caption":"Craig Breen & Gareth Roberts","height":107});
															thumbnails[6240964] = clik.newPhoto({"id":6240964,"src":"ZING_LAUNCH_110_window_thumb.jpg","galleries_id":337044,"server_id":32,"link":"photo_6240964.html","width":130,"caption":"Zing launch party performance","height":87});
															thumbnails[6745450] = clik.newPhoto({"id":6745450,"src":"IMG_0390_thumb.jpg","galleries_id":367541,"server_id":32,"link":"photo_6745450.html","width":130,"caption":"Dan Linfoot - Motorpoint Yamaha","height":87});
															thumbnails[7069803] = clik.newPhoto({"id":7069803,"src":"Ostrich_thumb.jpg","galleries_id":135056,"server_id":32,"link":"photo_7069803.html","width":130,"caption":"Ostrich","height":87});
															thumbnails[7137552] = clik.newPhoto({"id":7137552,"src":"Christoph_Jacob_RAC_thumb.jpg","galleries_id":383102,"server_id":32,"link":"photo_7137552.html","width":130,"caption":"Christoph Jacob; Isabelle Regnier","height":87});
															thumbnails[7498106] = clik.newPhoto({"id":7498106,"src":"MWRally_dave_brick1_thumb.jpg","galleries_id":406514,"server_id":32,"link":"photo_7498106.html","width":160,"caption":"Dave Brick; Rob Woodhouse","height":114});
															thumbnails[7743787] = clik.newPhoto({"id":7743787,"src":"pirelli_mikko_pajunen1_thumb.jpg","galleries_id":416910,"server_id":32,"link":"photo_7743787.html","width":160,"caption":"Mikko Pajunen & Jani Salo","height":107});
															thumbnails[3571690] = clik.newPhoto({"id":3571690,"src":"IMG_6830_thumb.jpg","galleries_id":135929,"server_id":32,"link":"photo_3571690.html","width":130,"caption":"Barbed Wire","height":195});
															thumbnails[5625160] = clik.newPhoto({"id":5625160,"src":"MW10_514_thumb.jpg","galleries_id":318006,"server_id":32,"link":"photo_5625160.html","width":130,"caption":"Gary Tomlinson, Nick Fieldhouse - Kankku","height":87});
															thumbnails[6241101] = clik.newPhoto({"id":6241101,"src":"ZING_LAUNCH_082_thumb.jpg","galleries_id":337044,"server_id":32,"link":"photo_6241101.html","width":130,"caption":"Zing launch party performance","height":87});
															thumbnails[7137561] = clik.newPhoto({"id":7137561,"src":"Russell_Morgan_RAC_thumb.jpg","galleries_id":383102,"server_id":32,"link":"photo_7137561.html","width":130,"caption":"Russell Morgan; Martin Kenyon","height":87});
															thumbnails[7498158] = clik.newPhoto({"id":7498158,"src":"MWRally_nick_cristofaro1_thumb.jpg","galleries_id":406514,"server_id":32,"link":"photo_7498158.html","width":160,"caption":"Nick Cristofaro; Rob Fagg","height":114});
															thumbnails[7743788] = clik.newPhoto({"id":7743788,"src":"pirelli_jussi_kumpumaki1_thumb.jpg","galleries_id":416910,"server_id":32,"link":"photo_7743788.html","width":160,"caption":"Jussi Kumpumaki & Peter Flythstrom","height":107});
															thumbnails[8860747] = clik.newPhoto({"id":8860747,"src":"Peter_Mcdowell_1_thumb.jpg","galleries_id":465279,"server_id":32,"link":"photo_8860747.html","width":160,"caption":"Peter MccDowell & Ken Bowman","height":107});
															thumbnails[2032009] = clik.newPhoto({"id":2032009,"src":"Img_0206v3_thumb.jpg","galleries_id":135068,"server_id":32,"link":"photo_2032009.html","width":130,"caption":"Carlisle Castle","height":87});
															thumbnails[3032868] = clik.newPhoto({"id":3032868,"src":"IMG_5594_thumb.jpg","galleries_id":135057,"server_id":32,"link":"photo_3032868.html","width":130,"caption":"Red Rose","height":195});
															thumbnails[7069831] = clik.newPhoto({"id":7069831,"src":"kids_football_thumb.jpg","galleries_id":135929,"server_id":32,"link":"photo_7069831.html","width":130,"caption":"Junior football","height":87});
															thumbnails[5625174] = clik.newPhoto({"id":5625174,"src":"MW10_366_thumb.jpg","galleries_id":318006,"server_id":32,"link":"photo_5625174.html","width":130,"caption":"Peter Thornton, Steve Thompson","height":87});
															thumbnails[4644670] = clik.newPhoto({"id":4644670,"src":"transp4adj_thumb.jpg","galleries_id":135929,"server_id":32,"link":"photo_4644670.html","width":130,"caption":"Drive !","height":87});
															thumbnails[6241178] = clik.newPhoto({"id":6241178,"src":"ZING_LAUNCH_179_thumb.jpg","galleries_id":337044,"server_id":32,"link":"photo_6241178.html","width":130,"caption":"Zing  launch party performance","height":87});
															thumbnails[7137686] = clik.newPhoto({"id":7137686,"src":"Rob_Smith_RAC2_thumb.jpg","galleries_id":383102,"server_id":32,"link":"photo_7137686.html","width":130,"caption":"Rob Smith; Shaun O'Gorman","height":87});
															thumbnails[7498160] = clik.newPhoto({"id":7498160,"src":"MWRally_allan_mcdowell1_thumb.jpg","galleries_id":406514,"server_id":32,"link":"photo_7498160.html","width":160,"caption":"Allan McDowell; Gavin Heseltine","height":107});
															thumbnails[8860755] = clik.newPhoto({"id":8860755,"src":"Steve_Graham_1_thumb.jpg","galleries_id":465279,"server_id":32,"link":"photo_8860755.html","width":160,"caption":"Steve Graham & Tony Graham","height":107});
															thumbnails[8872200] = clik.newPhoto({"id":8872200,"src":"IMG_0094_thumb.jpg","galleries_id":135929,"server_id":32,"link":"photo_8872200.html","width":160,"caption":"","height":107});
															thumbnails[8872202] = clik.newPhoto({"id":8872202,"src":"IMG_0181v2_thumb.jpg","galleries_id":135929,"server_id":32,"link":"photo_8872202.html","width":160,"caption":"","height":114});
															thumbnails[7743789] = clik.newPhoto({"id":7743789,"src":"pirelli_mark_donnelly1_thumb.jpg","galleries_id":416910,"server_id":32,"link":"photo_7743789.html","width":160,"caption":"Martin Donnelly & Barry Mc Nulty","height":107});
															thumbnails[8872203] = clik.newPhoto({"id":8872203,"src":"IMG_0148_thumb.jpg","galleries_id":135929,"server_id":32,"link":"photo_8872203.html","width":160,"caption":"","height":107});
															thumbnails[8872204] = clik.newPhoto({"id":8872204,"src":"IMG_0162_thumb.jpg","galleries_id":135929,"server_id":32,"link":"photo_8872204.html","width":160,"caption":"","height":107});
															thumbnails[2031983] = clik.newPhoto({"id":2031983,"src":"IMG_2913crop_thumb.jpg","galleries_id":135929,"server_id":32,"link":"photo_2031983.html","width":130,"caption":"Walking in Hadrians Wood, Stanwix","height":147});
															thumbnails[4644654] = clik.newPhoto({"id":4644654,"src":"IMG_9759a_thumb.jpg","galleries_id":135056,"server_id":32,"link":"photo_4644654.html","width":130,"caption":"New Forest Ponies","height":195});
															thumbnails[5625189] = clik.newPhoto({"id":5625189,"src":"MW10_377_thumb.jpg","galleries_id":318006,"server_id":32,"link":"photo_5625189.html","width":130,"caption":"Scenic Comb Forest, Lake District","height":87});
															thumbnails[5865105] = clik.newPhoto({"id":5865105,"src":"Terry-Nowlan_thumb.jpg","galleries_id":330353,"server_id":32,"link":"photo_5865105.html","width":130,"caption":"Terry Nowlan, Ben Giles","height":87});
															thumbnails[7137801] = clik.newPhoto({"id":7137801,"src":"Alexandre_Leens_RAC_thumb.jpg","galleries_id":383102,"server_id":32,"link":"photo_7137801.html","width":130,"caption":"Alexandre Leens; Andre Legh","height":87});
															thumbnails[7498161] = clik.newPhoto({"id":7498161,"src":"MWRally_justin_lawson1_thumb.jpg","galleries_id":406514,"server_id":32,"link":"photo_7498161.html","width":160,"caption":"Justin Lawson; Paul Hargreaves","height":114});
															thumbnails[7743790] = clik.newPhoto({"id":7743790,"src":"pirelli_dave_reynolds1_thumb.jpg","galleries_id":416910,"server_id":32,"link":"photo_7743790.html","width":160,"caption":"Dave Reynolds & Bob Duck","height":107});
															thumbnails[8860765] = clik.newPhoto({"id":8860765,"src":"Jim_Valentine_1_thumb.jpg","galleries_id":465279,"server_id":32,"link":"photo_8860765.html","width":160,"caption":"Jim Valentine & Jonathan Lodge","height":107});
															thumbnails[2015088] = clik.newPhoto({"id":2015088,"src":"IMG_0470_thumb.jpg","galleries_id":135068,"server_id":32,"link":"photo_2015088.html","width":130,"caption":"Ashness Bridge, Lake District","height":195});
															thumbnails[7160316] = clik.newPhoto({"id":7160316,"src":"Mark_Higgins_3_RAC_thumb.jpg","galleries_id":383102,"server_id":32,"link":"photo_7160316.html","width":130,"caption":"Mark Higgins; Dale Furniss","height":87});
															thumbnails[2031945] = clik.newPhoto({"id":2031945,"src":"IMG_3317v2_thumb.jpg","galleries_id":135057,"server_id":32,"link":"photo_2031945.html","width":130,"caption":"Yellow Rose","height":87});
															thumbnails[6747165] = clik.newPhoto({"id":6747165,"src":"IMG_0821_thumb.jpg","galleries_id":367541,"server_id":32,"link":"photo_6747165.html","width":130,"caption":"Silkolene Supersport<br>\r\nJames Westmorland - CAME Yamaha   &   Jack Kennedy","height":87});
															thumbnails[7137862] = clik.newPhoto({"id":7137862,"src":"Tim_Mason_RAC_9EF7D035-1EC9-D45B-1C9E11E86FD9D0F5_thumb.jpg","galleries_id":383102,"server_id":32,"link":"photo_7137862.html","width":130,"caption":"Tim Mason; Graham Wild","height":87});
															thumbnails[7498162] = clik.newPhoto({"id":7498162,"src":"MWRally_paul_bird2_thumb.jpg","galleries_id":406514,"server_id":32,"link":"photo_7498162.html","width":160,"caption":"Paul Bird; Kirsty Riddick","height":107});
															thumbnails[7743791] = clik.newPhoto({"id":7743791,"src":"pirelli_rikki_proffitt1_thumb.jpg","galleries_id":416910,"server_id":32,"link":"photo_7743791.html","width":160,"caption":"Rikki Proffitt & John Stanger-Leathes","height":107});
															thumbnails[7743792] = clik.newPhoto({"id":7743792,"src":"pirelli_alex_parpottas_thumb.jpg","galleries_id":416910,"server_id":32,"link":"photo_7743792.html","width":160,"caption":"Alex Parpottas & John Connor","height":107});
															thumbnails[8860777] = clik.newPhoto({"id":8860777,"src":"Guy_Smith_11_E15AA69D-24E8-5EC4-4F9BE6EF9D4D1064_thumb.jpg","galleries_id":465279,"server_id":32,"link":"photo_8860777.html","width":160,"caption":"Guy Smith & Patrick Walsh","height":107});
															thumbnails[8872206] = clik.newPhoto({"id":8872206,"src":"IMG_0144_thumb.jpg","galleries_id":135929,"server_id":32,"link":"photo_8872206.html","width":160,"caption":"Foxhounds","height":240});
															thumbnails[8866671] = clik.newPhoto({"id":8866671,"src":"Andrew-Borthwick_thumb.jpg","galleries_id":465279,"server_id":32,"link":"photo_8866671.html","width":160,"caption":"Andrew Borthwick & Dave Robson","height":107});
															thumbnails[2633252] = clik.newPhoto({"id":2633252,"src":"IMG_5530v2_thumb.jpg","galleries_id":135056,"server_id":32,"link":"photo_2633252.html","width":130,"caption":"Blue Tit at nesting box","height":195});
															thumbnails[7137976] = clik.newPhoto({"id":7137976,"src":"Paul_Chieusse_RAC_thumb.jpg","galleries_id":383102,"server_id":32,"link":"photo_7137976.html","width":130,"caption":"Paul Chieusse; James Bocognano","height":87});
															thumbnails[7743793] = clik.newPhoto({"id":7743793,"src":"pirelli_jack_rowe_thumb.jpg","galleries_id":416910,"server_id":32,"link":"photo_7743793.html","width":160,"caption":"Jack Rowe & Alex Lee","height":107});
															thumbnails[5865106] = clik.newPhoto({"id":5865106,"src":"Will-Onions_thumb.jpg","galleries_id":330353,"server_id":32,"link":"photo_5865106.html","width":130,"caption":"Will Onions, Dave Williams","height":87});
															thumbnails[6747160] = clik.newPhoto({"id":6747160,"src":"IMG_0818_thumb.jpg","galleries_id":367541,"server_id":32,"link":"photo_6747160.html","width":130,"caption":"Silkolene Supersport<br>\r\nSam Lowes - GNS Honda    &    James Westmorland CAME Yamaha","height":87});
															thumbnails[6747178] = clik.newPhoto({"id":6747178,"src":"IMG_0562_thumb.jpg","galleries_id":367541,"server_id":32,"link":"photo_6747178.html","width":130,"caption":"125 GP British Championship","height":87});
															thumbnails[7137888] = clik.newPhoto({"id":7137888,"src":"David_Greer_RAC_thumb.jpg","galleries_id":383102,"server_id":32,"link":"photo_7137888.html","width":130,"caption":"David Greer; Brian Crawford","height":87});
															thumbnails[7498163] = clik.newPhoto({"id":7498163,"src":"MWRally_richard_williams1_thumb.jpg","galleries_id":406514,"server_id":32,"link":"photo_7498163.html","width":160,"caption":"Richard Williams; Richard Ekin","height":107});
															thumbnails[7743794] = clik.newPhoto({"id":7743794,"src":"pirelli_john_macrone1_thumb.jpg","galleries_id":416910,"server_id":32,"link":"photo_7743794.html","width":160,"caption":"John MacCrone & Stuart Loudon","height":107});
															thumbnails[8860781] = clik.newPhoto({"id":8860781,"src":"Steve_Perez_2_thumb.jpg","galleries_id":465279,"server_id":32,"link":"photo_8860781.html","width":160,"caption":"Steve Perez & Paul Spooner","height":107});
															thumbnails[7743795] = clik.newPhoto({"id":7743795,"src":"pirelli_tom_cave1_thumb.jpg","galleries_id":416910,"server_id":32,"link":"photo_7743795.html","width":160,"caption":"Tom Cave & Craig Parry","height":107});
															thumbnails[6747181] = clik.newPhoto({"id":6747181,"src":"IMG_0572_thumb.jpg","galleries_id":367541,"server_id":32,"link":"photo_6747181.html","width":130,"caption":"125 GP British Championship","height":87});
															thumbnails[7498165] = clik.newPhoto({"id":7498165,"src":"MWRally_geoff_wilson1_thumb.jpg","galleries_id":406514,"server_id":32,"link":"photo_7498165.html","width":160,"caption":"Geoff Wilson; Sean O'Neill","height":114});
															thumbnails[7747682] = clik.newPhoto({"id":7747682,"src":"pirelli_clive_alcock1_thumb.jpg","galleries_id":416910,"server_id":32,"link":"photo_7747682.html","width":160,"caption":"Clive Alcock & Steven Brown","height":107});
															thumbnails[6747185] = clik.newPhoto({"id":6747185,"src":"IMG_0521_thumb.JPG","galleries_id":367541,"server_id":32,"link":"photo_6747185.html","width":130,"caption":"Metzeler Superstock 600","height":87});
															thumbnails[7747690] = clik.newPhoto({"id":7747690,"src":"pirelli_roger_kilty1_thumb.jpg","galleries_id":416910,"server_id":32,"link":"photo_7747690.html","width":160,"caption":"Roger Bertram Kilty & Lynette Theresa Banks","height":107});
															thumbnails[6747188] = clik.newPhoto({"id":6747188,"src":"IMG_0437_thumb.JPG","galleries_id":367541,"server_id":32,"link":"photo_6747188.html","width":130,"caption":"Metzeler Superstock 600","height":87});
															thumbnails[7137781] = clik.newPhoto({"id":7137781,"src":"Leigh_Armstrong_RAC_thumb.jpg","galleries_id":383102,"server_id":32,"link":"photo_7137781.html","width":130,"caption":"Leigh Armstrong; Chris Armstrong","height":87});
															thumbnails[7498166] = clik.newPhoto({"id":7498166,"src":"MWRally_colin_wilkinson1_thumb.jpg","galleries_id":406514,"server_id":32,"link":"photo_7498166.html","width":160,"caption":"Colin Wilkinson; John Stanger Lees","height":107});
															thumbnails[7747692] = clik.newPhoto({"id":7747692,"src":"pirelli_steve_bannister1_thumb.jpg","galleries_id":416910,"server_id":32,"link":"photo_7747692.html","width":160,"caption":"Steve Bannister & Louise Sutherland","height":107});
															thumbnails[7747734] = clik.newPhoto({"id":7747734,"src":"pirelli_julian_reynolds1_thumb.jpg","galleries_id":416910,"server_id":32,"link":"photo_7747734.html","width":160,"caption":"Julian Reynolds & Ian Oakey","height":107});
															thumbnails[6747190] = clik.newPhoto({"id":6747190,"src":"IMG_0536_thumb.JPG","galleries_id":367541,"server_id":32,"link":"photo_6747190.html","width":130,"caption":"Metzeler Superstock 600","height":87});
															thumbnails[7138080] = clik.newPhoto({"id":7138080,"src":"Phil_Squires_RAC_thumb.jpg","galleries_id":383102,"server_id":32,"link":"photo_7138080.html","width":130,"caption":"Phil Squires; Mick Squires","height":87});
															thumbnails[7498169] = clik.newPhoto({"id":7498169,"src":"MWRally_alex_parpottas1_thumb.jpg","galleries_id":406514,"server_id":32,"link":"photo_7498169.html","width":160,"caption":"Alex Parpottas; John Connor","height":107});
															thumbnails[7747735] = clik.newPhoto({"id":7747735,"src":"pirelli_siim_plangi1_thumb.jpg","galleries_id":416910,"server_id":32,"link":"photo_7747735.html","width":160,"caption":"Siim Plangi & Marek Sarapuu","height":107});
															thumbnails[8866670] = clik.newPhoto({"id":8866670,"src":"Steve-Graham-2_thumb.jpg","galleries_id":465279,"server_id":32,"link":"photo_8866670.html","width":160,"caption":"Steve & Tony Graham","height":107});
															thumbnails[7747736] = clik.newPhoto({"id":7747736,"src":"pirelli_desi_henry1_thumb.jpg","galleries_id":416910,"server_id":32,"link":"photo_7747736.html","width":160,"caption":"Desi Henry & John Rowan","height":107});
															thumbnails[7138292] = clik.newPhoto({"id":7138292,"src":"Richard_Simpson_RAC_thumb.jpg","galleries_id":383102,"server_id":32,"link":"photo_7138292.html","width":130,"caption":"Richard Simpson; Debby Myers","height":87});
															thumbnails[7498175] = clik.newPhoto({"id":7498175,"src":"MWRally_mark_shaw1_thumb.jpg","galleries_id":406514,"server_id":32,"link":"photo_7498175.html","width":160,"caption":"Mark Shaw; Ken Willan","height":114});
															thumbnails[7747846] = clik.newPhoto({"id":7747846,"src":"pirelli_nick_elliot11_thumb.jpg","galleries_id":416910,"server_id":32,"link":"photo_7747846.html","width":160,"caption":"Nick Elliott & Chris Brooks","height":107});
															thumbnails[8872219] = clik.newPhoto({"id":8872219,"src":"Charlie_Taylor_2_thumb.jpg","galleries_id":465279,"server_id":32,"link":"photo_8872219.html","width":160,"caption":"Charlie Taylor & Steve Bielby","height":107});
															thumbnails[2031967] = clik.newPhoto({"id":2031967,"src":"IMG_3367v2_thumb.jpg","galleries_id":135068,"server_id":32,"link":"photo_2031967.html","width":130,"caption":"Carlisle Castle","height":87});
															thumbnails[7747852] = clik.newPhoto({"id":7747852,"src":"pirelli_chris_browne1_thumb.jpg","galleries_id":416910,"server_id":32,"link":"photo_7747852.html","width":160,"caption":"Chris Browne & Liz Jordan","height":107});
															thumbnails[5888580] = clik.newPhoto({"id":5888580,"src":"Gareth-Lloyd_thumb.jpg","galleries_id":330353,"server_id":32,"link":"photo_5888580.html","width":130,"caption":"Gareth Lloyd, Ryland James","height":87});
															thumbnails[7558960] = clik.newPhoto({"id":7558960,"src":"MWRally_paul_davy_thumb.jpg","galleries_id":406514,"server_id":32,"link":"photo_7558960.html","width":160,"caption":"Paul Davy; Roger Allan","height":107});
															thumbnails[7747854] = clik.newPhoto({"id":7747854,"src":"pirelli_will_onion1_thumb.jpg","galleries_id":416910,"server_id":32,"link":"photo_7747854.html","width":160,"caption":"Will Onions & Dave Williams","height":107});
															thumbnails[8872220] = clik.newPhoto({"id":8872220,"src":"Guy-Woodcock_thumb.jpg","galleries_id":465279,"server_id":32,"link":"photo_8872220.html","width":160,"caption":"Guy Woodcock & Graham Dance","height":107});
															thumbnails[7747856] = clik.newPhoto({"id":7747856,"src":"pirelli_tim_pearcy1_thumb.jpg","galleries_id":416910,"server_id":32,"link":"photo_7747856.html","width":160,"caption":"Tim Pearcy & Neil Shanks","height":107});
															thumbnails[5888583] = clik.newPhoto({"id":5888583,"src":"Christophe-Jacob_thumb.jpg","galleries_id":330353,"server_id":32,"link":"photo_5888583.html","width":130,"caption":"Christophe Jacob, Isabelle Regnier","height":87});
															thumbnails[7558963] = clik.newPhoto({"id":7558963,"src":"MWRally_stephen_petch_thumb.jpg","galleries_id":406514,"server_id":32,"link":"photo_7558963.html","width":160,"caption":"Stephen Petch; John Richardson","height":107});
															thumbnails[7747858] = clik.newPhoto({"id":7747858,"src":"pirelli_david_harrison1_thumb.jpg","galleries_id":416910,"server_id":32,"link":"photo_7747858.html","width":160,"caption":"David Harrison & Simon Taylor","height":107});
															thumbnails[8872222] = clik.newPhoto({"id":8872222,"src":"Tim-Pearcy_thumb.jpg","galleries_id":465279,"server_id":32,"link":"photo_8872222.html","width":160,"caption":"Tim Pearcy & Neil Shanks","height":107});
															thumbnails[7747860] = clik.newPhoto({"id":7747860,"src":"pirelli_tony_simpson1_thumb.jpg","galleries_id":416910,"server_id":32,"link":"photo_7747860.html","width":160,"caption":"Tony Simpson & Stefan Arndt","height":107});
															thumbnails[7558968] = clik.newPhoto({"id":7558968,"src":"MWRally_matt_beebe_thumb.jpg","galleries_id":406514,"server_id":32,"link":"photo_7558968.html","width":160,"caption":"Matt Beebe; George Gwynn","height":114});
															thumbnails[8872224] = clik.newPhoto({"id":8872224,"src":"Nick-Woodman_thumb.jpg","galleries_id":465279,"server_id":32,"link":"photo_8872224.html","width":160,"caption":"Nick Woodman & Chris Parsons","height":107});
															thumbnails[7558973] = clik.newPhoto({"id":7558973,"src":"MWRally_jamie_brown_thumb.jpg","galleries_id":406514,"server_id":32,"link":"photo_7558973.html","width":160,"caption":"Jamie Brown; Craig Burgess","height":114});
															thumbnails[7751526] = clik.newPhoto({"id":7751526,"src":"pirelli_daniel_obrien1_thumb.jpg","galleries_id":416910,"server_id":32,"link":"photo_7751526.html","width":160,"caption":"Daniel O'Brien & James O'Brien","height":107});
															thumbnails[8872225] = clik.newPhoto({"id":8872225,"src":"Paul-Griffiths_thumb.jpg","galleries_id":465279,"server_id":32,"link":"photo_8872225.html","width":160,"caption":"Paul Griffiths & Sam Collis","height":107});
															thumbnails[7751532] = clik.newPhoto({"id":7751532,"src":"pirelli_john_boyd1_thumb.jpg","galleries_id":416910,"server_id":32,"link":"photo_7751532.html","width":160,"caption":"John  Boyd & Chris Williamson","height":107});
															thumbnails[5888588] = clik.newPhoto({"id":5888588,"src":"Tim-Pearcey_thumb.jpg","galleries_id":330353,"server_id":32,"link":"photo_5888588.html","width":130,"caption":"Tim Pearcey, Sam Collis","height":87});
															thumbnails[7751537] = clik.newPhoto({"id":7751537,"src":"pirelli_peter_taylor1_thumb.jpg","galleries_id":416910,"server_id":32,"link":"photo_7751537.html","width":160,"caption":"Peter Taylor & Andrew Roughead","height":107});
															thumbnails[8872230] = clik.newPhoto({"id":8872230,"src":"Keith-Robathan_thumb.jpg","galleries_id":465279,"server_id":32,"link":"photo_8872230.html","width":160,"caption":"Keith Robathan & Phil Clarke","height":107});
															thumbnails[7751539] = clik.newPhoto({"id":7751539,"src":"pirelli_simon_wallis1_thumb.jpg","galleries_id":416910,"server_id":32,"link":"photo_7751539.html","width":160,"caption":"Simon Wallis & Graham Wride","height":107});
															thumbnails[7751541] = clik.newPhoto({"id":7751541,"src":"pirelli_edmund_peel1_thumb.jpg","galleries_id":416910,"server_id":32,"link":"photo_7751541.html","width":160,"caption":"Edmund Peel & Janet Craine","height":107});
															thumbnails[8894878] = clik.newPhoto({"id":8894878,"src":"dave_hemmingway_thumb.jpg","galleries_id":465279,"server_id":32,"link":"photo_8894878.html","width":160,"caption":"Dave Hemingway & Simon Ashton","height":107});
															thumbnails[5888589] = clik.newPhoto({"id":5888589,"src":"James-Slaughter_thumb.jpg","galleries_id":330353,"server_id":32,"link":"photo_5888589.html","width":130,"caption":"James Slaughter, Phil Peak","height":87});
															thumbnails[7751543] = clik.newPhoto({"id":7751543,"src":"pirelli_jussi_kumpumaki2_thumb.jpg","galleries_id":416910,"server_id":32,"link":"photo_7751543.html","width":160,"caption":"Jussi Kumpumaki on stage 6","height":114});
															thumbnails[8875858] = clik.newPhoto({"id":8875858,"src":"Chris_Blake_2_thumb.jpg","galleries_id":465279,"server_id":32,"link":"photo_8875858.html","width":160,"caption":"Chris Blake & Tony Walker","height":107});
															thumbnails[8875860] = clik.newPhoto({"id":8875860,"src":"Darren_Martin_thumb.jpg","galleries_id":465279,"server_id":32,"link":"photo_8875860.html","width":160,"caption":"Darren Martin & Martin Steele","height":107});
															thumbnails[8875862] = clik.newPhoto({"id":8875862,"src":"David_Rawlings_thumb.jpg","galleries_id":465279,"server_id":32,"link":"photo_8875862.html","width":160,"caption":"David Rawlings & Philip Weston","height":107});
															thumbnails[8894972] = clik.newPhoto({"id":8894972,"src":"Ian_hildreth_thumb.jpg","galleries_id":465279,"server_id":32,"link":"photo_8894972.html","width":160,"caption":"Ian Hildreth & Stephen Stead","height":107});
															thumbnails[8875863] = clik.newPhoto({"id":8875863,"src":"Guy_Smith_2_thumb.jpg","galleries_id":465279,"server_id":32,"link":"photo_8875863.html","width":160,"caption":"Guy Smith & Patrick Walsh","height":107});
															thumbnails[8875865] = clik.newPhoto({"id":8875865,"src":"Keith-Robathan2_thumb.jpg","galleries_id":465279,"server_id":32,"link":"photo_8875865.html","width":160,"caption":"Keith Robathan & Phil Clarke","height":107});
															thumbnails[8875866] = clik.newPhoto({"id":8875866,"src":"Nick-Woodman2_thumb.jpg","galleries_id":465279,"server_id":32,"link":"photo_8875866.html","width":160,"caption":"Nick Woodman & Chris Parsons","height":107});
															thumbnails[8875868] = clik.newPhoto({"id":8875868,"src":"Saab_Team_thumb.jpg","galleries_id":465279,"server_id":32,"link":"photo_8875868.html","width":160,"caption":"The Saab Team","height":107});
															thumbnails[8875869] = clik.newPhoto({"id":8875869,"src":"Ford_thro_ages_thumb.jpg","galleries_id":465279,"server_id":32,"link":"photo_8875869.html","width":160,"caption":"Ford Escort through the ages","height":107});
															thumbnails[8899938] = clik.newPhoto({"id":8899938,"src":"pirelli_at_service_thumb.jpg","galleries_id":465279,"server_id":32,"link":"photo_8899938.html","width":160,"caption":"Pirelli Escort at Service","height":107});
															thumbnails[8899940] = clik.newPhoto({"id":8899940,"src":"pirelli_fitter_thumb.jpg","galleries_id":465279,"server_id":32,"link":"photo_8899940.html","width":160,"caption":"Pirelli Tyre Fitter","height":107});
															thumbnails[8899941] = clik.newPhoto({"id":8899941,"src":"roger_albert_clark_finish_thumb.jpg","galleries_id":465279,"server_id":32,"link":"photo_8899941.html","width":160,"caption":"","height":107});
															thumbnails[8900039] = clik.newPhoto({"id":8900039,"src":"Guy_Smith_3_thumb.jpg","galleries_id":465279,"server_id":32,"link":"photo_8900039.html","width":160,"caption":"Guy Smith & Patrick Walsh watched by a cold speccy","height":240});
															thumbnails[7761597] = clik.newPhoto({"id":7761597,"src":"martin_mccormack_thumb.jpg","galleries_id":416910,"server_id":32,"link":"photo_7761597.html","width":160,"caption":"Martin McCormack","height":107});
															thumbnails[7619986] = clik.newPhoto({"id":7619986,"src":"MWRally_tom_naughton1_27D17639-24E8-5EC4-4F104F5983293F65_thumb.jpg","galleries_id":406514,"server_id":32,"link":"photo_7619986.html","width":160,"caption":"Tom Naughton; Horace Saville","height":107});
															thumbnails[7747855] = clik.newPhoto({"id":7747855,"src":"pirelli_mark_holmes1_thumb.jpg","galleries_id":416910,"server_id":32,"link":"photo_7747855.html","width":160,"caption":"Mark Holmes & Tony Lindsay","height":240});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[135068] = clik.newGallery({"parentGallery":134240,"usePopups":false,"title":"Cumbria","link":"gallery_135068.html","maxRecords":0.0,"photoIDs":[5370822.0,5370827.0,5370830.0,4644656.0,5370836.0,5370841.0,3032863.0,2015070.0,2061759.0,5370848.0,2032009.0,2015088.0,2031967.0],"skipIndex":0,"section_code":"gallery","featured_images":"5370822,3032863","id":135068,"singleSection":false});				  						galleries[135069] = clik.newGallery({"parentGallery":134240,"usePopups":false,"title":"Italy","link":"gallery_135069.html","maxRecords":0.0,"photoIDs":[2001350.0,2015076.0,2015086.0,2015091.0,2029004.0],"skipIndex":0,"section_code":"gallery","featured_images":2029004.0,"id":135069,"singleSection":false});				  						galleries[465279] = clik.newGallery({"parentGallery":135832,"usePopups":false,"title":"Roger Albert Clark Rally 2011","link":"gallery_465279.html","maxRecords":0.0,"photoIDs":[8856248.0,8860740.0,8856256.0,8856261.0,8856270.0,8856277.0,8856285.0,8866664.0,8866665.0,8866669.0,8860747.0,8860755.0,8860765.0,8860777.0,8866671.0,8860781.0,8866670.0,8872219.0,8872220.0,8872222.0,8872224.0,8872225.0,8872230.0,8894878.0,8875858.0,8875860.0,8875862.0,8894972.0,8875863.0,8875865.0,8875866.0,8875868.0,8875869.0,8899938.0,8899940.0,8899941.0,8900039.0],"skipIndex":0,"section_code":"gallery","featured_images":8856285.0,"id":465279,"singleSection":false});				  						galleries[416910] = clik.newGallery({"parentGallery":135832,"usePopups":false,"title":"Pirelli Rally 2011","link":"gallery_416910.html","maxRecords":0.0,"photoIDs":[7730400.0,7730402.0,7730404.0,7730405.0,7730406.0,7730408.0,7747739.0,7730410.0,7730411.0,7730412.0,7730413.0,7730414.0,7730415.0,7730416.0,7743471.0,7743787.0,7743788.0,7743789.0,7743790.0,7743791.0,7743792.0,7743793.0,7743794.0,7743795.0,7747682.0,7747690.0,7747692.0,7747734.0,7747735.0,7747736.0,7747846.0,7747852.0,7747854.0,7747856.0,7747858.0,7747860.0,7751526.0,7751532.0,7751537.0,7751539.0,7751541.0,7751543.0,7761597.0,7747855.0],"skipIndex":0,"section_code":"gallery","featured_images":7730400.0,"id":416910,"singleSection":false});				  						galleries[367541] = clik.newGallery({"parentGallery":135832,"usePopups":false,"title":"2010 British Superbikes sponsored by Pirelli","link":"gallery_367541.html","maxRecords":0.0,"photoIDs":[6743626.0,6743630.0,6743632.0,6743636.0,6743641.0,6743643.0,6745440.0,6745442.0,6745445.0,6745449.0,6745450.0,6747165.0,6747160.0,6747178.0,6747181.0,6747185.0,6747188.0,6747190.0],"skipIndex":0,"section_code":"gallery","featured_images":6743626.0,"id":367541,"singleSection":false});				  						galleries[330353] = clik.newGallery({"parentGallery":135832,"usePopups":false,"title":"Pirelli Rally 2010","link":"gallery_330353.html","maxRecords":0.0,"photoIDs":[5846070.0,5846075.0,5865046.0,5865048.0,5865049.0,5865089.0,5865090.0,5865092.0,5870106.0,5874666.0,5865097.0,5865100.0,5865105.0,5865106.0,5888580.0,5888583.0,5888588.0,5888589.0],"skipIndex":0,"section_code":"gallery","featured_images":5846075.0,"id":330353,"singleSection":false});				  						galleries[135057] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Flora","link":"gallery_135057.html","maxRecords":0.0,"photoIDs":[2015054.0,2015094.0,2245958.0,2015104.0,5135499.0,3032868.0,2031945.0],"skipIndex":0,"section_code":"gallery","featured_images":3032868.0,"id":135057,"singleSection":false});				  						galleries[135058] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"People","link":"gallery_135058.html","maxRecords":0.0,"photoIDs":[2633251.0,2500661.0,2117555.0,2021552.0,2021546.0,4644672.0,2022099.0,5913579.0],"skipIndex":0,"section_code":"gallery","featured_images":2117555.0,"id":135058,"singleSection":false});				  						galleries[135929] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Miscellaneous","link":"gallery_135929.html","maxRecords":0.0,"photoIDs":[2031986.0,3571686.0,8872199.0,2061766.0,3032881.0,3571690.0,7069831.0,4644670.0,8872200.0,8872202.0,8872203.0,8872204.0,2031983.0,8872206.0],"skipIndex":0,"section_code":"gallery","featured_images":"3032881,2061766","id":135929,"singleSection":false});				  						galleries[135056] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Wildlife & Animals","link":"gallery_135056.html","maxRecords":0.0,"photoIDs":[2015028.0,5135438.0,2015030.0,2245963.0,2245968.0,2015023.0,2015044.0,4644652.0,7069803.0,4644654.0,2633252.0],"skipIndex":0,"section_code":"gallery","featured_images":5135438.0,"id":135056,"singleSection":false});				  						galleries[135832] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Motorsport","link":"gallery_135832.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"8856285,7730400,7498060,7126856,6743626,5846075,5614415,5608017","id":135832,"singleSection":false});				  						galleries[134240] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Places","link":"gallery_134240.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"5370822,3032863,2029004","id":134240,"singleSection":false});				  						galleries[318006] = clik.newGallery({"parentGallery":135832,"usePopups":false,"title":"Malcolm Wilson Rally 2010","link":"gallery_318006.html","maxRecords":0.0,"photoIDs":[5608017.0,5608019.0,5614415.0,5614417.0,5614430.0,5614433.0,5619993.0,5619995.0,5619996.0,5625160.0,5625174.0,5625189.0],"skipIndex":0,"section_code":"gallery","featured_images":"5614415,5608017","id":318006,"singleSection":false});				  						galleries[383102] = clik.newGallery({"parentGallery":135832,"usePopups":false,"title":"Roger Albert Clark Rally 2010","link":"gallery_383102.html","maxRecords":0.0,"photoIDs":[7126856.0,7138276.0,7126857.0,7126860.0,7126861.0,7126864.0,7126866.0,7126869.0,7126871.0,7126874.0,7126877.0,7137552.0,7137561.0,7137686.0,7137801.0,7160316.0,7137862.0,7137976.0,7137888.0,7137781.0,7138080.0,7138292.0],"skipIndex":0,"section_code":"gallery","featured_images":7126856.0,"id":383102,"singleSection":false});				  						galleries[406514] = clik.newGallery({"parentGallery":135832,"usePopups":false,"title":"Malcolm Wilson Rally 2011","link":"gallery_406514.html","maxRecords":0.0,"photoIDs":[7498060.0,7498062.0,7498065.0,7498067.0,7498090.0,7498093.0,7498098.0,7498101.0,7498102.0,7498103.0,7498106.0,7498158.0,7498160.0,7498161.0,7498162.0,7498163.0,7498165.0,7498166.0,7498169.0,7498175.0,7558960.0,7558963.0,7558968.0,7558973.0,7619986.0],"skipIndex":0,"section_code":"gallery","featured_images":7498060.0,"id":406514,"singleSection":false});				  						galleries[337044] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Promotional Photography","link":"gallery_337044.html","maxRecords":0.0,"photoIDs":[5978303.0,5978307.0,5978309.0,5978299.0,6240755.0,6240964.0,6241101.0,6241178.0],"skipIndex":0,"section_code":"gallery","featured_images":"6240755,5978299","id":337044,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '6743626,5370827,2245963,2245958,5913579,4644670';
imageSets[2] = '7730400,5370822,5846075,7498060,7126856,6743626,5608017,2117555,3032863,5135438,5614415,8856285,2061766,3032881,6240755,5978299,2029004,3032868';
imageSets[3] = '8900039,8899941,8899940,8899938,8894972,8894878,8875869,8875868,8875866,8875865,8875863,8875862,8875860,8875858,8872230,8872225,8872224,8872222,8872220,8872219,8872206,8872204,8872203,8872202,8872200,8872199,8866671,8866670,8866669,8866665,8866664,8860781,8860777,8860765,8860755,8860747,8860740,8856285,8856277,8856270,8856261,8856256,8856248,7761597,7751543,7751541,7751539,7751537,7751532,7751526';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/gordonc/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/gordonc/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/gordonc/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/gordonc/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/gordonc/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/gordonc/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/gordonc/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/gordonc/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/gordonc/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/gordonc/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/gordonc/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/gordonc/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/gordonc/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/gordonc/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/gordonc/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/gordonc/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/gordonc/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/gordonc/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/gordonc/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/gordonc/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/gordonc/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/gordonc/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/gordonc/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/gordonc/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/gordonc/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/gordonc/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/gordonc/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 = 'Gordon Crawford 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>';
	}
				
				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;
	}
}

			

