window.thumbnails = {};
															thumbnails[2391896] = clik.newPhoto({"id":2391896,"src":"defiant ones1_thumb.jpg","galleries_id":"","server_id":32,"link":"#","width":130,"caption":"Defiant ones","height":84});
															thumbnails[2392348] = clik.newPhoto({"id":2392348,"src":"Switzerland2006053_thumb.jpg","galleries_id":"","server_id":32,"link":"#","width":130,"caption":"Adrian","height":87});
															thumbnails[2392370] = clik.newPhoto({"id":2392370,"src":"Switzerland2006059_thumb.jpg","galleries_id":"","server_id":32,"link":"#","width":130,"caption":"Adrian","height":195});
															thumbnails[2393214] = clik.newPhoto({"id":2393214,"src":"P1011880_thumb.jpg","galleries_id":"","server_id":32,"link":"#","width":130,"caption":"David Dent","height":98});
															thumbnails[2448476] = clik.newPhoto({"id":2448476,"src":"CORAL CUP PRINT copy_thumb.jpg","galleries_id":"","server_id":32,"link":"#","width":130,"caption":"","height":95});
															thumbnails[2448543] = clik.newPhoto({"id":2448543,"src":"DENTS 010_thumb.jpg","galleries_id":"","server_id":32,"link":"#","width":130,"caption":"","height":102});
															thumbnails[2448583] = clik.newPhoto({"id":2448583,"src":"moscow flyer copy_thumb.jpg","galleries_id":"","server_id":32,"link":"#","width":130,"caption":"","height":86});
															thumbnails[2448626] = clik.newPhoto({"id":2448626,"src":"the judge copy_thumb.jpg","galleries_id":"","server_id":32,"link":"#","width":130,"caption":"","height":89});
															thumbnails[3325724] = clik.newPhoto({"id":3325724,"src":"greengrn_thumb.jpg","galleries_id":"","server_id":32,"link":"#","width":130,"caption":"","height":287});
															thumbnails[2564693] = clik.newPhoto({"id":2564693,"src":"snow adrian web1_thumb.jpg","galleries_id":"","server_id":32,"link":"#","width":130,"caption":"snow patrol","height":83});
															thumbnails[2531775] = clik.newPhoto({"id":2531775,"src":"orange-pair_thumb.gif","galleries_id":"","server_id":32,"link":"#","width":130,"caption":"orange pair","height":63});
															thumbnails[2264632] = clik.newPhoto({"id":2264632,"src":"from here to eternity_thumb.JPG","galleries_id":148869,"server_id":32,"link":"photo_2264632.html","width":130,"caption":"From Here to Eternity(edition 850)£179.00<br>\r\n675mmx475mm","height":85});
															thumbnails[2264808] = clik.newPhoto({"id":2264808,"src":"1027924013_l[1]_thumb.jpg","galleries_id":148869,"server_id":32,"link":"photo_2264808.html","width":130,"caption":"Friend or Foe? Thoroughbred Gothic(edition 400) £160.00  <br>\r\n305x670mm","height":287});
															thumbnails[2264836] = clik.newPhoto({"id":2264836,"src":"time for reflection_thumb.JPG","galleries_id":148869,"server_id":32,"link":"photo_2264836.html","width":130,"caption":"Time for reflection(edition 500) £69<br>\r\n550x385mm","height":92});
															thumbnails[2264913] = clik.newPhoto({"id":2264913,"src":"l_fa46df86adc4d279fc0a9bb4dd24941f[1]_thumb.jpg","galleries_id":148869,"server_id":32,"link":"photo_2264913.html","width":130,"caption":"Cock sure (edition 200) £49<br>\r\n279x380mm <br>\r\nOriginal oil Painting with gold leaf is available at £2750 and measures 4ft x 3ft","height":98});
															thumbnails[2265256] = clik.newPhoto({"id":2265256,"src":"only fools and horses3_thumb.jpg","galleries_id":148869,"server_id":32,"link":"photo_2265256.html","width":130,"caption":"Only fools and horses  (edition 400) £120<br>\r\n710x160mm","height":30});
															thumbnails[2265543] = clik.newPhoto({"id":2265543,"src":"winter work jackdaws castle_thumb.jpg","galleries_id":148869,"server_id":32,"link":"photo_2265543.html","width":130,"caption":"Winter Work(edition 250) £55<br>\r\n256x400mm<br>\r\nOne of a pair<br>\r\n","height":84});
															thumbnails[2265549] = clik.newPhoto({"id":2265549,"src":"making tracks jackdaws castle_thumb.jpg","galleries_id":148869,"server_id":32,"link":"photo_2265549.html","width":130,"caption":"Making tracks(edition 250)£55<br>\r\n256x400mm","height":82});
															thumbnails[2265602] = clik.newPhoto({"id":2265602,"src":"the high and mighty_thumb.jpg","galleries_id":148904,"server_id":32,"link":"photo_2265602.html","width":130,"caption":"The High and The Mighty Cheltenham (edition400)available in two sizes regular (300x500) £120 or large 550x920 £245","height":221});
															thumbnails[2265606] = clik.newPhoto({"id":2265606,"src":"war party_thumb.jpg","galleries_id":148904,"server_id":32,"link":"photo_2265606.html","width":130,"caption":"War party (edition 250) available in 2 sizes regular 280x500mm £79 or large 550x800 £250","height":198});
															thumbnails[2265608] = clik.newPhoto({"id":2265608,"src":"set the house ablaze_thumb.jpg","galleries_id":148904,"server_id":32,"link":"photo_2265608.html","width":130,"caption":"Set the house Ablaze(edition 500)£55 400x275mm (The Cheltenham stands erupt)","height":79});
															thumbnails[2265612] = clik.newPhoto({"id":2265612,"src":"three from home cheltenham cool dawns gold cup_thumb.jpg","galleries_id":148904,"server_id":32,"link":"photo_2265612.html","width":130,"caption":"Three from home: The Cheltenham gold Cup(edition 500)£55<br>\r\n400x275mm","height":86});
															thumbnails[2265619] = clik.newPhoto({"id":2265619,"src":"3 from home  the queen mather champion chaseone man_thumb.jpg","galleries_id":148904,"server_id":32,"link":"photo_2265619.html","width":130,"caption":"Three from home: The Queen Mother Champion Chase<br>\r\n(edition 500)£55<br>\r\n400x275mm","height":85});
															thumbnails[2265622] = clik.newPhoto({"id":2265622,"src":"champion story champions the brave_thumb.jpg","galleries_id":148904,"server_id":32,"link":"photo_2265622.html","width":130,"caption":"Champion story:Champions the brave(edition 380) £85<br>\r\n510x340mm signed by Peter Scudamore","height":85});
															thumbnails[2265631] = clik.newPhoto({"id":2265631,"src":"champion story lonely are the brave_thumb.jpg","galleries_id":148904,"server_id":32,"link":"photo_2265631.html","width":130,"caption":"Champion story: Lonely are the Brave(edition 380)£85<br>\r\n510x340mm signed by Peter Scudamore","height":87});
															thumbnails[2265684] = clik.newPhoto({"id":2265684,"src":"clash of the titans_thumb.jpg","galleries_id":148904,"server_id":32,"link":"photo_2265684.html","width":130,"caption":"The clash of the Titans: Cheltenham Gold Cup(edition 500)£69<br>\r\n460x365mm","height":95});
															thumbnails[2265699] = clik.newPhoto({"id":2265699,"src":"lay down the gauntlet_thumb.jpg","galleries_id":148904,"server_id":32,"link":"photo_2265699.html","width":130,"caption":"Lay down the Gauntlet: The Champion Hurdle Cheltenham(edition 250) £49<br>\r\n254x397mm","height":83});
															thumbnails[2265725] = clik.newPhoto({"id":2265725,"src":"on the bridle_thumb.jpg","galleries_id":148904,"server_id":32,"link":"photo_2265725.html","width":130,"caption":"On the bridle: Champion Hurdle Cheltenham(edition 200)£49<br>\r\n254x397mm","height":82});
															thumbnails[2265728] = clik.newPhoto({"id":2265728,"src":"too close to call_thumb.jpg","galleries_id":148904,"server_id":32,"link":"photo_2265728.html","width":130,"caption":"Too close to call: Cheltenham(edition 200) £65<br>\r\n440x230mm","height":68});
															thumbnails[2265730] = clik.newPhoto({"id":2265730,"src":"champion chasers_thumb.jpg","galleries_id":148904,"server_id":32,"link":"photo_2265730.html","width":130,"caption":"Champion chasers: Chelteham(edition 100)£65<br>\r\n450x255mm","height":73});
															thumbnails[2265732] = clik.newPhoto({"id":2265732,"src":"a boost to the form rooster print_thumb.jpg","galleries_id":148904,"server_id":32,"link":"photo_2265732.html","width":130,"caption":"A boost to the form: Champion hurdle Cheltenham(edition 400)£69<br>\r\n430x255mm","height":77});
															thumbnails[2265759] = clik.newPhoto({"id":2265759,"src":"peruan head print_thumb.jpg","galleries_id":148915,"server_id":32,"link":"photo_2265759.html","width":130,"caption":"Peruan three times velka pardubicka winner(edition 100)£35<br>\r\n190x175mm","height":142});
															thumbnails[2265761] = clik.newPhoto({"id":2265761,"src":"move on up pardubice_thumb.jpg","galleries_id":148915,"server_id":32,"link":"photo_2265761.html","width":130,"caption":"Move on up:Irska Lavice(irish Bank) Pardubice(edition 500)£75<br>\r\n470x345mm","height":96});
															thumbnails[2265765] = clik.newPhoto({"id":2265765,"src":"head to head_thumb.jpg","galleries_id":148915,"server_id":32,"link":"photo_2265765.html","width":130,"caption":"Head to Head pardubice(unlimited edition but artist signed)£40<br>\r\n280x380mm","height":83});
															thumbnails[2265785] = clik.newPhoto({"id":2265785,"src":"dance with the devil_thumb.jpg","galleries_id":148915,"server_id":32,"link":"photo_2265785.html","width":130,"caption":"Dance with the Devil: The Taxis; Velka pardubicka(edition 250) £79<br>\r\n520x230mm","height":57});
															thumbnails[2265794] = clik.newPhoto({"id":2265794,"src":"catch me if you can_thumb.jpg","galleries_id":148915,"server_id":32,"link":"photo_2265794.html","width":130,"caption":"Catch me if you can(edition 400) £29<br>\r\n235x175mm","height":173});
															thumbnails[2265880] = clik.newPhoto({"id":2265880,"src":"white knuckle ride st moritz_thumb.jpg","galleries_id":148920,"server_id":32,"link":"photo_2265880.html","width":130,"caption":"White Knuckle St Moritz available in 2 sizes(edition 200)£75<br>\r\n420x350","height":78});
															thumbnails[2265968] = clik.newPhoto({"id":2265968,"src":"defiant ones_thumb.jpg","galleries_id":148925,"server_id":32,"link":"photo_2265968.html","width":130,"caption":"Defiant Ones(edition 250) available in 2 sizes 380x250mm £65 650x490mm £175","height":97});
															thumbnails[2265983] = clik.newPhoto({"id":2265983,"src":"jack the lad_thumb.jpg","galleries_id":148925,"server_id":32,"link":"photo_2265983.html","width":130,"caption":"Jack the Lad(edition 250) £69<br>\r\n380x270mm","height":100});
															thumbnails[2266063] = clik.newPhoto({"id":2266063,"src":"red from behind_thumb.jpg","galleries_id":148925,"server_id":32,"link":"photo_2266063.html","width":130,"caption":"Red from behind(edition 250)£99<br>\r\n660x180mm<br>\r\nGiclee with original watercolour work.","height":35});
															thumbnails[2266085] = clik.newPhoto({"id":2266085,"src":"white just holds on_thumb.jpg","galleries_id":148925,"server_id":32,"link":"photo_2266085.html","width":130,"caption":"White just holds on(edition 250) £99<br>\r\n660x180mm<br>\r\n£160 the pair","height":35});
															thumbnails[2266113] = clik.newPhoto({"id":2266113,"src":"pic n mix 2_thumb.jpg","galleries_id":148925,"server_id":32,"link":"photo_2266113.html","width":130,"caption":"Pick 'n' mix(edition 250) £55<br>\r\n300X300<br>\r\nOriginal Oil is available at £1200 Update: ****SOLD****","height":128});
															thumbnails[2266127] = clik.newPhoto({"id":2266127,"src":"cs flat_thumb.jpg","galleries_id":148932,"server_id":32,"link":"photo_2266127.html","width":130,"caption":"Christophe Soumillon(edition 100)£35<br>\r\n255x175mm","height":188});
															thumbnails[2266181] = clik.newPhoto({"id":2266181,"src":"lester and rodrigo_thumb.jpg","galleries_id":148932,"server_id":32,"link":"photo_2266181.html","width":130,"caption":"Lester piggott and Rodrigo de triano: Classic Combination(edition 500)£45<br>\r\n280x380mm","height":99});
															thumbnails[2266194] = clik.newPhoto({"id":2266194,"src":"company of champions_thumb.jpg","galleries_id":148932,"server_id":32,"link":"photo_2266194.html","width":130,"caption":"In the Company of Champions (edition 500) (455x375mm)","height":162});
															thumbnails[2266348] = clik.newPhoto({"id":2266348,"src":"blue thunder1_thumb.jpg","galleries_id":148937,"server_id":32,"link":"photo_2266348.html","width":130,"caption":"Three colours blue #1(edition 200) £49<br>\r\n260x260mm","height":130});
															thumbnails[2266350] = clik.newPhoto({"id":2266350,"src":"blue thunder2_thumb.jpg","galleries_id":148937,"server_id":32,"link":"photo_2266350.html","width":130,"caption":"Three Colours blue #2(edition 200) £69<br>\r\n260x530mm","height":66});
															thumbnails[2266357] = clik.newPhoto({"id":2266357,"src":"blue thunder 3_thumb.jpg","galleries_id":148937,"server_id":32,"link":"photo_2266357.html","width":130,"caption":"Three Colours Blue #3(edition 200)£49<br>\r\n260x260","height":134});
															thumbnails[2266360] = clik.newPhoto({"id":2266360,"src":"maintenant_thumb.jpg","galleries_id":148937,"server_id":32,"link":"photo_2266360.html","width":130,"caption":"Maintenant! (edition 100)£150<br>\r\n620x300mm<br>\r\nOriginal work on giclee","height":264});
															thumbnails[2266447] = clik.newPhoto({"id":2266447,"src":"pur sang_thumb.jpg","galleries_id":148937,"server_id":32,"link":"photo_2266447.html","width":130,"caption":"Pursang (edition 100) £79<br>\r\n430x260mm","height":73});
															thumbnails[2266474] = clik.newPhoto({"id":2266474,"src":"sans peur_thumb.jpg","galleries_id":148937,"server_id":32,"link":"photo_2266474.html","width":130,"caption":"Sans peur(edition 100) £79<br>\r\n430x260mm","height":78});
															thumbnails[2266487] = clik.newPhoto({"id":2266487,"src":"red thunder_thumb.jpg","galleries_id":148937,"server_id":32,"link":"photo_2266487.html","width":130,"caption":"Thunder and Lightning(edition 100) £275<br>\r\n600x950<br>\r\nOriginal work on the image","height":187});
															thumbnails[2266509] = clik.newPhoto({"id":2266509,"src":"classic fillies_thumb.jpg","galleries_id":148943,"server_id":32,"link":"photo_2266509.html","width":130,"caption":"Classic fillies<br>\r\n(edition 850)<br>\r\n485x375mm<br>\r\n£55<br>\r\n","height":170});
															thumbnails[2266518] = clik.newPhoto({"id":2266518,"src":"girl in a warbonnet_thumb.jpg","galleries_id":148943,"server_id":32,"link":"photo_2266518.html","width":130,"caption":"Girl in  a Warbonnet (Edition250)<br>\r\n700x450mm £125<br>\r\nor 390x290mm £55<br>\r\n<br>\r\nORIGINAL PAINTING IN OILS AVAILABLE FOR SALE £4500 AND MEASURES 36X24 INCHES<br>\r\nstop press; original SOLD","height":181});
															thumbnails[2266531] = clik.newPhoto({"id":2266531,"src":"ladies of burlesque_thumb.jpg","galleries_id":148943,"server_id":32,"link":"photo_2266531.html","width":130,"caption":"“Ladies of Burlesque”700x450mmGicleesigned lip prints from Burlesque dancers Sarah Stuntgrrl and Ros  accompany this image.£125 large£55 regular","height":176});
															thumbnails[2266538] = clik.newPhoto({"id":2266538,"src":"les elegance aux courses_thumb.jpg","galleries_id":148943,"server_id":32,"link":"photo_2266538.html","width":130,"caption":"Les elegances aux courses<br>\r\nPardubice<br>\r\n300mmx210mm £39 or set of 6 for £150","height":171});
															thumbnails[2266542] = clik.newPhoto({"id":2266542,"src":"les elegance aux courses cheltenham_thumb.jpg","galleries_id":148943,"server_id":32,"link":"photo_2266542.html","width":130,"caption":"Les elegantes aux courses cheltenham<br>\r\nCheltenham<br>\r\n300x210mm<br>\r\n£39 each or £150 the set of six","height":187});
															thumbnails[2266550] = clik.newPhoto({"id":2266550,"src":"les elegance aux courses deauville_thumb.jpg","galleries_id":148943,"server_id":32,"link":"photo_2266550.html","width":130,"caption":"Les elegantes aux courses Deauville<br>\r\n300x210mm<br>\r\n<br>\r\nDeauville","height":180});
															thumbnails[2266564] = clik.newPhoto({"id":2266564,"src":"les elegance aux courses st moritz_thumb.jpg","galleries_id":148943,"server_id":32,"link":"photo_2266564.html","width":130,"caption":"Les elegantes aux courses<br>\r\nSt moritz White Turf<br>\r\n300x210mm <br>\r\n£39 or £150 the set of six","height":181});
															thumbnails[2266610] = clik.newPhoto({"id":2266610,"src":"newbury les elegance aux courses_thumb.jpg","galleries_id":148943,"server_id":32,"link":"photo_2266610.html","width":130,"caption":"les elegantes aux course: Newbury<br>\r\n310x210mm<br>\r\n£39","height":168});
															thumbnails[2266636] = clik.newPhoto({"id":2266636,"src":"venus in furs_thumb.jpg","galleries_id":148943,"server_id":32,"link":"photo_2266636.html","width":130,"caption":"\"Venus in Furs Defiant\"<br>\r\n700x450mm £125<br>\r\n390x290mm £55","height":184});
															thumbnails[2266638] = clik.newPhoto({"id":2266638,"src":"epsom les elegance aux courses_thumb.jpg","galleries_id":148943,"server_id":32,"link":"photo_2266638.html","width":130,"caption":"Les elegantes aux courses: Epsom<br>\r\n320x210mm £39 or set of six for £150","height":184});
															thumbnails[2266665] = clik.newPhoto({"id":2266665,"src":"in the pink,a solid bond_thumb.jpg","galleries_id":148869,"server_id":32,"link":"photo_2266665.html","width":130,"caption":"In the Pink: a solid bond in your heart<br>\r\n<br>\r\n390mmx290mm (edition 250) £65<br>\r\n","height":170});
															thumbnails[2266680] = clik.newPhoto({"id":2266680,"src":"Derby high rise_thumb.jpg","galleries_id":148953,"server_id":32,"link":"photo_2266680.html","width":130,"caption":"Derby High Rise<br>\r\n380x280mm<br>\r\n£45 or £70 the pair","height":86});
															thumbnails[2266695] = clik.newPhoto({"id":2266695,"src":"coronation cup_thumb.jpg","galleries_id":148953,"server_id":32,"link":"photo_2266695.html","width":130,"caption":"Coronation Cup: Epsom<br>\r\nSilver Patriarch<br>\r\nEdition 500<br>\r\n380x280mm<br>\r\n345 or £70 the pair with \"High Rise\"<br>\r\n","height":83});
															thumbnails[2266713] = clik.newPhoto({"id":2266713,"src":"high chap print_thumb.jpg","galleries_id":148953,"server_id":32,"link":"photo_2266713.html","width":130,"caption":"“High Chapparal”( Edition 350)<br>\r\n380x250mms<br>\r\n£55","height":86});
															thumbnails[2266714] = clik.newPhoto({"id":2266714,"src":"the 2000 epsom derby sinndar and sakhee_thumb.jpg","galleries_id":148953,"server_id":32,"link":"photo_2266714.html","width":130,"caption":"The 2000 Derby Epsom<br>\r\nSinndar and Sakhee<br>\r\nedition 500<br>\r\n260x195mm<br>\r\n£35 or £60 the pair with Montjeu<br>\r\n","height":94});
															thumbnails[2266726] = clik.newPhoto({"id":2266726,"src":"mais maintenant montjeu_thumb.jpg","galleries_id":148953,"server_id":32,"link":"photo_2266726.html","width":130,"caption":"mais maintenant Montjeu.....prend la tête de la course (Prix de l'arc de triopmhe)<br>\r\n(edition 500)<br>\r\n260x195mm £35 or £60 the pair with Sinndar<br>\r\nA few in the edition also available as a larger image 450x350mm £85<br>\r\n<br>\r\n","height":94});
															thumbnails[2266750] = clik.newPhoto({"id":2266750,"src":"legends 1955 dick francis_thumb.jpg","galleries_id":148943,"server_id":32,"link":"photo_2266750.html","width":130,"caption":"Legends: Dick Francis 1955 (edition 250)<br>\r\nDick Francis the thriller author when he was a steeplechase jockey.<br>\r\n610mmx280mm £140 orignal work on giclee<br>\r\nAccompanied by Dick Francis' signature for window mounting","height":50});
															thumbnails[2266822] = clik.newPhoto({"id":2266822,"src":"legends arkle and mill house 1964_thumb.jpg","galleries_id":148943,"server_id":32,"link":"photo_2266822.html","width":130,"caption":"Legends: Arkle and Mill house 1964 Newbury<br>\r\n(Edition 250)<br>\r\napprox 610x280mm<br>\r\n£140<br>\r\noriginal work on giclee","height":51});
															thumbnails[2273536] = clik.newPhoto({"id":2273536,"src":"DeadCert_thumb.jpg","galleries_id":148943,"server_id":32,"link":"photo_2273536.html","width":130,"caption":"Dead Cert<br>\r\n690x470mm<br>\r\nEdition 400<br>\r\nAvailable in two szes:<br>\r\n690x470mm at £160<br>\r\nor 380x280mm at £65","height":87});
															thumbnails[2371504] = clik.newPhoto({"id":2371504,"src":"my way de solzen web_thumb.jpg","galleries_id":155329,"server_id":32,"link":"photo_2371504.html","width":130,"caption":"\"My Way Or The Highway\" original oil on Canvas 36\"x24\"<br>\r\n***sold ***","height":87});
															thumbnails[2371506] = clik.newPhoto({"id":2371506,"src":"ARTVenusinfurs1_thumb.jpg","galleries_id":154229,"server_id":32,"link":"photo_2371506.html","width":130,"caption":"\"Venus in furs Defiant\"<br>\r\nOriginal Oil on Canvas 36\"x24\"<br>\r\n***SOLD***","height":184});
															thumbnails[2371507] = clik.newPhoto({"id":2371507,"src":"ARTfrankie_thumb.jpg","galleries_id":154229,"server_id":32,"link":"photo_2371507.html","width":130,"caption":"Frankie Dettori<br>\r\nOriginal oil on Canvas 24\"x20\"<br>\r\nUpdate ***sold ***","height":97});
															thumbnails[2391815] = clik.newPhoto({"id":2391815,"src":"ingles drever3 best print_thumb.jpg","galleries_id":148904,"server_id":32,"link":"photo_2391815.html","width":130,"caption":"Staying Power: theLaadbroke World Hurdle (Stayers Hurdle)Cheltenham: Inglis Drever and Baracouda<br>\r\nD.M.Dent<br>\r\n15\"x10\" ltd ed 200 £59 giclee","height":100});
															thumbnails[2391827] = clik.newPhoto({"id":2391827,"src":"shout to the top_thumb.jpg","galleries_id":148915,"server_id":32,"link":"photo_2391827.html","width":130,"caption":"Shout to the Top<br>\r\n<br>\r\nltd ed 500 10\"x8\" D.M.Dent<br>\r\n£25","height":84});
															thumbnails[2391833] = clik.newPhoto({"id":2391833,"src":"st moritz action_thumb.jpg","galleries_id":148920,"server_id":32,"link":"photo_2391833.html","width":130,"caption":"A Clean Pair of Heels: White Turf St. Moritz\"<br>\r\n<br>\r\n16\"x12\" giclee edition 200","height":90});
															thumbnails[2391843] = clik.newPhoto({"id":2391843,"src":"le grand crosse cross country steeplechase_thumb.jpg","galleries_id":190371,"server_id":32,"link":"photo_2391843.html","width":130,"caption":"Over the Bank<br>\r\nLe grand Crosse Country Steeple chase","height":75});
															thumbnails[2391858] = clik.newPhoto({"id":2391858,"src":"cross country steeplechase_thumb.jpg","galleries_id":190371,"server_id":32,"link":"photo_2391858.html","width":130,"caption":"Cross country Steeplechasers<br>\r\nby David Dent<br>\r\n","height":68});
															thumbnails[2391864] = clik.newPhoto({"id":2391864,"src":"persian punch_thumb.jpg","galleries_id":148953,"server_id":32,"link":"photo_2391864.html","width":130,"caption":"No Surrender: Persian Punch and Millenary in the Jockey club cup at Newmarket<br>\r\n<br>\r\n16\"x10\"<br>\r\nD.M.Dent<br>\r\n£55 edition 500","height":89});
															thumbnails[2391873] = clik.newPhoto({"id":2391873,"src":"point to point_thumb.jpg","galleries_id":148937,"server_id":32,"link":"photo_2391873.html","width":130,"caption":"\"Sans Panache\" : Amateur riders steeplechase point to point<br>\r\n28\"x18\"<br>\r\ngiclee with original work D.M.Dent edition 200","height":85});
															thumbnails[2391879] = clik.newPhoto({"id":2391879,"src":"goodwood_thumb.jpg","galleries_id":148953,"server_id":32,"link":"photo_2391879.html","width":130,"caption":"Goodwood: Famous Silk<br>\r\n<br>\r\ngiclee print £20 <br>\r\n12","height":63});
															thumbnails[2391891] = clik.newPhoto({"id":2391891,"src":"amberleigh house print_thumb.jpg","galleries_id":163454,"server_id":32,"link":"photo_2391891.html","width":130,"caption":"Amberleigh House<br>\r\nltd edition","height":76});
															thumbnails[2391892] = clik.newPhoto({"id":2391892,"src":"best mate seemore_thumb.jpg","galleries_id":155329,"server_id":32,"link":"photo_2391892.html","width":130,"caption":"Best mate and See More Business<br>\r\nTwo Gold Cup winners clash at Cheltenham.<br>\r\nOriginal oil D.M.Dent £3750 ---SOLD---<br>\r\n48\"x36\"","height":170});
															thumbnails[2391894] = clik.newPhoto({"id":2391894,"src":"chalco head print_thumb.jpg","galleries_id":148915,"server_id":32,"link":"photo_2391894.html","width":130,"caption":" Chalco -winner of The Velka Pardubicka","height":144});
															thumbnails[2391941] = clik.newPhoto({"id":2391941,"src":"DENTS_thumb.jpg","galleries_id":148943,"server_id":32,"link":"photo_2391941.html","width":130,"caption":"\"Man's Best Friends\"<br>\r\n<br>\r\ngiclee limited edition; available in two sizes:<br>\r\n16\"x12\" at £59 (please email us for details)<br>\r\nor 26\"x20\" at £150<br>\r\n","height":95});
															thumbnails[2391956] = clik.newPhoto({"id":2391956,"src":"experiment copy_thumb.jpg","galleries_id":148943,"server_id":32,"link":"photo_2391956.html","width":130,"caption":"\"The Spoils of War: Cheltenham Gold Cup Night\"FEATURES LANA COXArtist original enhanced gicleeAvailable in two sizes15\"x11\" £59 (email us to order)Or 28\"x20\" £175","height":98});
															thumbnails[2392158] = clik.newPhoto({"id":2392158,"src":"registana maskul bank small web_thumb.jpg","galleries_id":148915,"server_id":32,"link":"photo_2392158.html","width":130,"caption":"Registana and Maskul","height":85});
															thumbnails[2392166] = clik.newPhoto({"id":2392166,"src":"white riot st moritz_thumb.jpg","galleries_id":148920,"server_id":32,"link":"photo_2392166.html","width":130,"caption":"White Riot st Moritz White Turf<br>\r\n<br>\r\navailable in two sizes<br>\r\n14\"x10\" £59 (email for details)<br>\r\nor 24\"x16\" £120<br>\r\n<br>\r\n","height":85});
															thumbnails[2392183] = clik.newPhoto({"id":2392183,"src":"ades hunting_thumb.jpg","galleries_id":148925,"server_id":32,"link":"photo_2392183.html","width":130,"caption":"\"Business as Usual\"<br>\r\n<br>\r\nArtist enhanced giclee by A.J.Dent<br>\r\n<br>\r\nAvailable in two sizes: 14\"x10\" £59<br>\r\n24\"x16\" £99 (enquire for details)","height":101});
															thumbnails[2392185] = clik.newPhoto({"id":2392185,"src":"festival trio_thumb.jpg","galleries_id":155329,"server_id":32,"link":"photo_2392185.html","width":130,"caption":"Festival Trio : Paul Nicholls team that lifted the main steeplechase honours at the 1999 Cheltenham Festival","height":87});
															thumbnails[2392209] = clik.newPhoto({"id":2392209,"src":"great grey chasers one man_thumb.jpg","galleries_id":148869,"server_id":32,"link":"photo_2392209.html","width":130,"caption":"The Great Grey Chasers: One Man<br>\r\n<br>\r\n14\"x10\" limited edition print 750 ALMOST SOLD OUT","height":157});
															thumbnails[2392215] = clik.newPhoto({"id":2392215,"src":"grey chasers dessie_thumb.jpg","galleries_id":148869,"server_id":32,"link":"photo_2392215.html","width":130,"caption":"The Great Grey chasers: Desert Orchid<br>\r\n<br>\r\nLimited edition print 14\"x10\"","height":157});
															thumbnails[2392222] = clik.newPhoto({"id":2392222,"src":"grey chasers nic silver_thumb.jpg","galleries_id":148869,"server_id":32,"link":"photo_2392222.html","width":130,"caption":"The Great Grey Chasers: Nicholas Silver","height":151});
															thumbnails[2392263] = clik.newPhoto({"id":2392263,"src":"laytown 12_thumb.jpg","galleries_id":148953,"server_id":32,"link":"photo_2392263.html","width":130,"caption":"Laytown<br>\r\n<br>\r\nltd. ed 200 30","height":52});
															thumbnails[2392273] = clik.newPhoto({"id":2392273,"src":"saddlers wells 1_thumb.jpg","galleries_id":148869,"server_id":32,"link":"photo_2392273.html","width":130,"caption":"Sadlers Wells<br>\r\ngiclee print 18\"x16\" D.M.Dent<br>\r\n£95","height":142});
															thumbnails[2392338] = clik.newPhoto({"id":2392338,"src":"blue head on_thumb.jpg","galleries_id":148937,"server_id":32,"link":"photo_2392338.html","width":130,"caption":"\" Blue Thunder \" by David Dent","height":255});
															thumbnails[2393228] = clik.newPhoto({"id":2393228,"src":"denman_behold_web12345_thumb.jpg","galleries_id":155335,"server_id":32,"link":"photo_2393228.html","width":130,"caption":"Behold a Hero: Denman<br>\r\n<br>\r\n18\"x14\" £85","height":82});
															thumbnails[2393246] = clik.newPhoto({"id":2393246,"src":"P1011679_thumb.jpg","galleries_id":155329,"server_id":32,"link":"photo_2393246.html","width":130,"caption":"\"Neo Classical Narcissus\"<br>\r\nOriginal oil on canvas 48\"x36\" D.M. Dent<br>\r\n***SOLD*** To Lord Leigh","height":173});
															thumbnails[2448470] = clik.newPhoto({"id":2448470,"src":"aces high_thumb.jpg","galleries_id":155335,"server_id":32,"link":"photo_2448470.html","width":130,"caption":"\"Aces High Cheltenham\"<br>\r\nDenman Kauto Star and Neptune Collonges<br>\r\n£175 D.M.Dent ltd giclee from an original painting<br>\r\nby David Dent 75.5 cm x 56.0 cm","height":96});
															thumbnails[2448474] = clik.newPhoto({"id":2448474,"src":"cooling down_thumb.jpg","galleries_id":154229,"server_id":32,"link":"photo_2448474.html","width":130,"caption":"\"You Can Take a Horse to Water...\"<br>\r\nOriginal oil on canvas D.M.Dent<br>\r\n20\"x30\"<br>\r\n£2250","height":168});
															thumbnails[2448479] = clik.newPhoto({"id":2448479,"src":"denman dave copy_thumb.jpg","galleries_id":155335,"server_id":32,"link":"photo_2448479.html","width":130,"caption":"Denman and Ruby WalshDavid Dent ltd giclee21\"x14\"  £69","height":164});
															thumbnails[2448481] = clik.newPhoto({"id":2448481,"src":"dent kauto_thumb.jpg","galleries_id":155335,"server_id":32,"link":"photo_2448481.html","width":130,"caption":"Kauto Starltd ed giclee print£75 18\"x13\"","height":87});
															thumbnails[2448555] = clik.newPhoto({"id":2448555,"src":"denman 14 x11 web_thumb.jpg","galleries_id":155335,"server_id":32,"link":"photo_2448555.html","width":130,"caption":"Denman ","height":88});
															thumbnails[2448557] = clik.newPhoto({"id":2448557,"src":"DENTS 062 copy 3_thumb.jpg","galleries_id":155335,"server_id":32,"link":"photo_2448557.html","width":130,"caption":"Denman by A.J.Dent<br>\r\n<br>\r\n23\"x11\"  print £79","height":268});
															thumbnails[2448559] = clik.newPhoto({"id":2448559,"src":"DENTS 069_thumb.jpg","galleries_id":155329,"server_id":32,"link":"photo_2448559.html","width":130,"caption":"\"Bravehearts\" featuring Longshanks and Royal Auclair","height":108});
															thumbnails[2448562] = clik.newPhoto({"id":2448562,"src":"the lost boys_thumb.jpg","galleries_id":148925,"server_id":32,"link":"photo_2448562.html","width":130,"caption":"The Lost Boys<br>\r\nA.J.Dent<br>\r\n","height":128});
															thumbnails[2448564] = clik.newPhoto({"id":2448564,"src":"commission siena small jpeg_thumb.jpg","galleries_id":155329,"server_id":32,"link":"photo_2448564.html","width":130,"caption":"SIENA GOLD COMMISSIONED BY MR ALAN MANN THE OWNER ","height":109});
															thumbnails[2448569] = clik.newPhoto({"id":2448569,"src":"DENTS 088_thumb.jpg","galleries_id":148937,"server_id":32,"link":"photo_2448569.html","width":130,"caption":"'the six dog bursts through'","height":65});
															thumbnails[2448574] = clik.newPhoto({"id":2448574,"src":"katchit orange_thumb.jpg","galleries_id":148937,"server_id":32,"link":"photo_2448574.html","width":130,"caption":"Katchit<br>\r\nChampion Hurdle 2008<br>\r\n20\"x10\" £98<br>\r\nLtd Giclee","height":65});
															thumbnails[2448581] = clik.newPhoto({"id":2448581,"src":"montys pass copy_thumb.jpg","galleries_id":163454,"server_id":32,"link":"photo_2448581.html","width":130,"caption":"<br>\r\nMontys Pass<br>\r\n<br>\r\nBy Adrian Dent","height":84});
															thumbnails[2448607] = clik.newPhoto({"id":2448607,"src":"st moritz head  on_thumb.jpg","galleries_id":148920,"server_id":32,"link":"photo_2448607.html","width":130,"caption":"White Lightning: White Turf St.Moritz<br>\r\nedition 100 <br>\r\n36\"x24\" limited giclee<br>\r\n£225<br>\r\n","height":83});
															thumbnails[2448613] = clik.newPhoto({"id":2448613,"src":"st moritz side on_thumb.jpg","galleries_id":148920,"server_id":32,"link":"photo_2448613.html","width":130,"caption":"\"White Thunder\" White Turf St.Moritz<br>\r\nltd giclee<br>\r\nedition 100 36\"x24\"<br>\r\n£225","height":91});
															thumbnails[2448619] = clik.newPhoto({"id":2448619,"src":"st moritz snow storm_thumb.jpg","galleries_id":148920,"server_id":32,"link":"photo_2448619.html","width":130,"caption":"'Only White Snow Behind Them...'<br>\r\nLTD ED giclee 100 edition<br>\r\napprox 30 x 10 inches<br>\r\n","height":44});
															thumbnails[2448621] = clik.newPhoto({"id":2448621,"src":"sublimity_thumb.jpg","galleries_id":154229,"server_id":32,"link":"photo_2448621.html","width":130,"caption":"\"Sublime Flight\"<br>\r\nChampion Hurdle winner Sublimity in oils on canvas<br>\r\n36x24\"<br>\r\n£2750<br>\r\n<br>\r\nA limied giclee is also available please contact us for details.","height":89});
															thumbnails[2448630] = clik.newPhoto({"id":2448630,"src":"voy por copy_thumb.jpg","galleries_id":154229,"server_id":32,"link":"photo_2448630.html","width":130,"caption":"Voy Por Ustedes wins the Queen Mother champion Chase cheltenham.<br>\r\nOriginal Oil Canvas D.M.Dent","height":101});
															thumbnails[2448699] = clik.newPhoto({"id":2448699,"src":"registana taxis small web_thumb.jpg","galleries_id":148915,"server_id":32,"link":"photo_2448699.html","width":130,"caption":"Registana flies the Taxis","height":95});
															thumbnails[2448703] = clik.newPhoto({"id":2448703,"src":"washing down copy_thumb.jpg","galleries_id":148869,"server_id":32,"link":"photo_2448703.html","width":130,"caption":"Washing Down<br>\r\n<br>\r\nltd edition giclee by D.M.Dent edition 100 £79","height":193});
															thumbnails[3096969] = clik.newPhoto({"id":3096969,"src":"piccyfix_1226954856_paddock notes flat_thumb.jpg","galleries_id":189997,"server_id":32,"link":"photo_3096969.html","width":130,"caption":"Ladies of the Turf: a Form Guide: the Flat","height":93});
															thumbnails[3097143] = clik.newPhoto({"id":3097143,"src":"piccyfix_1226955750_paddock notes nh_thumb.jpg","galleries_id":189997,"server_id":32,"link":"photo_3097143.html","width":130,"caption":"Ladies of the Turf: Form Guide National Hunt: the Jumping game...","height":93});
															thumbnails[3097514] = clik.newPhoto({"id":3097514,"src":"piccyfix_1226959309_denman and kauto_thumb.jpg","galleries_id":155329,"server_id":32,"link":"photo_3097514.html","width":130,"caption":"Denman and Kauto Star ; the Golden Boys","height":86});
															thumbnails[3103113] = clik.newPhoto({"id":3103113,"src":"the young and the valiant_thumb.jpg","galleries_id":190371,"server_id":32,"link":"photo_3103113.html","width":130,"caption":"\" The Young and the Valiant \"<br>\r\n   Newton Abbot<br>\r\nltd edition of 500<br>\r\n16  x 12 inches","height":85});
															thumbnails[3106436] = clik.newPhoto({"id":3106436,"src":"firepower istabraq web_thumb.jpg","galleries_id":148937,"server_id":32,"link":"photo_3106436.html","width":130,"caption":" \"Firepower\" Istabraq<br>\r\nBy David Dent and L.Peytong<br>\r\nltd edition of 250 600 x 380 mm<br>\r\nwith original work","height":80});
															thumbnails[3106502] = clik.newPhoto({"id":3106502,"src":"looks like trouble web_thumb.jpg","galleries_id":148904,"server_id":32,"link":"photo_3106502.html","width":130,"caption":"Gold Cup 2000<br>\r\nLooks Like Trouble by Adrian Dent ","height":96});
															thumbnails[3136659] = clik.newPhoto({"id":3136659,"src":"piccyfix_1226959309_denman and kauto1_thumb.jpg","galleries_id":155335,"server_id":32,"link":"photo_3136659.html","width":130,"caption":"\"All Out - The Golden Boys\" Denman and Kauto Star print ltd edition of 250 prints 420 x 280 mm we have  limited number signed by Sam Thomas So order quickly not to be disappointed!","height":86});
															thumbnails[3142142] = clik.newPhoto({"id":3142142,"src":"Copy of welsh national print web 3_thumb.jpg","galleries_id":190371,"server_id":32,"link":"photo_3142142.html","width":130,"caption":"Coral Welsh National<br>\r\nChepstow A.J.Dent<br>\r\naprox 12 inches x 5 inches ","height":48});
															thumbnails[3177050] = clik.newPhoto({"id":3177050,"src":"yes no wait sorries web_thumb.jpg","galleries_id":155329,"server_id":32,"link":"photo_3177050.html","width":130,"caption":"Yes, no, wait ...White Turf","height":96});
															thumbnails[3177281] = clik.newPhoto({"id":3177281,"src":"legends 1955 dick francis web_thumb.jpg","galleries_id":163468,"server_id":32,"link":"photo_3177281.html","width":130,"caption":"Legends 1955  Dick Francis wearing the colours of The Queen Mother at Newbury<br>\r\nby David Dent","height":50});
															thumbnails[3189021] = clik.newPhoto({"id":3189021,"src":"legends arkle and mill house 19641_thumb.jpg","galleries_id":163468,"server_id":32,"link":"photo_3189021.html","width":130,"caption":"Legends - Arkle and Mill House 1964<br>\r\nNewbury<br>\r\nby David Dent","height":51});
															thumbnails[3189106] = clik.newPhoto({"id":3189106,"src":"legends 1973 red rum_thumb.jpg","galleries_id":163468,"server_id":32,"link":"photo_3189106.html","width":130,"caption":"Legends -The way we were - 1973- Red Rum <br>\r\nAintree Grand National<br>\r\nltd edition of 250<br>\r\n 610 x 280 mm","height":52});
															thumbnails[3189276] = clik.newPhoto({"id":3189276,"src":"legends 1989 desert orchid_thumb.jpg","galleries_id":163468,"server_id":32,"link":"photo_3189276.html","width":130,"caption":"Legends -The way we were - 1989 - Desert Orchid<br>\r\nltd edition of 250 by David Dent 610 x 280 mm","height":50});
															thumbnails[3189344] = clik.newPhoto({"id":3189344,"src":"legends arkle and mill house 1964 cut_thumb.jpg","galleries_id":163468,"server_id":32,"link":"photo_3189344.html","width":130,"caption":"Legends -The way we were,set of 4<br>\r\nDICK FRANCIS,ARKLE ,RED RUM AND DESERT ORCHID<br>\r\nSPECIAL OFFER -£450 THE SET<br>\r\n<br>\r\nSAVE £110 BY BUYING ALL 4","height":187});
															thumbnails[3204994] = clik.newPhoto({"id":3204994,"src":"blizzard at the welsh national chepstow_thumb.jpg","galleries_id":190371,"server_id":32,"link":"photo_3204994.html","width":130,"caption":"Chepstow Blizzard<br>\r\n8.5 x 30 inches<br>\r\nby David Dent","height":36});
															thumbnails[3273901] = clik.newPhoto({"id":3273901,"src":"ades hunting new 1 web_thumb.jpg","galleries_id":148925,"server_id":32,"link":"photo_3273901.html","width":130,"caption":"Respect<br>\r\nltd edition hunting print of 250<br>\r\n470 x 301 mm","height":85});
															thumbnails[3375188] = clik.newPhoto({"id":3375188,"src":"ades hunting new 1 web1_thumb.jpg","galleries_id":154229,"server_id":32,"link":"photo_3375188.html","width":130,"caption":"Respect","height":85});
															thumbnails[3389231] = clik.newPhoto({"id":3389231,"src":"ARTfrankie1_thumb.jpg","galleries_id":148953,"server_id":32,"link":"photo_3389231.html","width":130,"caption":"Frankie Dettori ltd edition giclee of 250 prints<br>\r\n50 x 37 cm <br>\r\n<br>\r\n","height":97});
															thumbnails[3588517] = clik.newPhoto({"id":3588517,"src":"ruby_master_minded_web_thumb.jpg","galleries_id":154229,"server_id":32,"link":"photo_3588517.html","width":130,"caption":"Master Minded and Ruby Walsh<br>\r\noil on canvas 20 x 16 inches<br>\r\nA.J.Dent","height":164});
															thumbnails[3588598] = clik.newPhoto({"id":3588598,"src":"whip_hand1_web_thumb.jpg","galleries_id":155329,"server_id":32,"link":"photo_3588598.html","width":130,"caption":"Whip Hand 1 ***sold to a good home in France","height":161});
															thumbnails[3588611] = clik.newPhoto({"id":3588611,"src":"whip_hand2_web_thumb.jpg","galleries_id":155329,"server_id":32,"link":"photo_3588611.html","width":130,"caption":"Whip Hand 2 ***sold***","height":95});
															thumbnails[3588633] = clik.newPhoto({"id":3588633,"src":"whip_hand_3JPG_web_thumb.jpg","galleries_id":154229,"server_id":32,"link":"photo_3588633.html","width":130,"caption":"Whip Hand 3 ***sold***","height":167});
															thumbnails[3601451] = clik.newPhoto({"id":3601451,"src":"catch_me_if_you_can1_thumb.jpg","galleries_id":148869,"server_id":32,"link":"photo_3601451.html","width":130,"caption":"Catch Me If You Can","height":173});
															thumbnails[3601457] = clik.newPhoto({"id":3601457,"src":"moment_of_decision_flakey_dove_web_thumb.jpg","galleries_id":148904,"server_id":32,"link":"photo_3601457.html","width":130,"caption":"Moment Of Decision.....Flakey Doves Champion Hurdle","height":85});
															thumbnails[3603184] = clik.newPhoto({"id":3603184,"src":"DENTS20069_thumb.jpg","galleries_id":163454,"server_id":32,"link":"photo_3603184.html","width":130,"caption":"BraveHearts","height":108});
															thumbnails[3861708] = clik.newPhoto({"id":3861708,"src":"piccyfix_1241896912_067_thumb.JPG","galleries_id":234890,"server_id":32,"link":"photo_3861708.html","width":130,"caption":"Racing Noir: Double Indeminity","height":159});
															thumbnails[3861807] = clik.newPhoto({"id":3861807,"src":"piccyfix_1241898908_062_thumb.JPG","galleries_id":234890,"server_id":32,"link":"photo_3861807.html","width":130,"caption":"Racing Noir: \"Temptation\"","height":161});
															thumbnails[3863120] = clik.newPhoto({"id":3863120,"src":"piccyfix_1241908112_P1011767new1_thumb.jpg","galleries_id":148869,"server_id":32,"link":"photo_3863120.html","width":130,"caption":"On white horses...snowy white horses","height":151});
															thumbnails[3863205] = clik.newPhoto({"id":3863205,"src":"kladruber_thumb.jpg","galleries_id":148869,"server_id":32,"link":"photo_3863205.html","width":130,"caption":"Let...me...Ride...Away...size 18X14 inches","height":89});
															thumbnails[3863207] = clik.newPhoto({"id":3863207,"src":"piccyfix_1241911473_P1011763new_thumb.jpg","galleries_id":148869,"server_id":32,"link":"photo_3863207.html","width":130,"caption":"\"...To a place my Heart Can Understand...\"Generale Proxima XVIII Stallion at Kladruby Stud. 'A Living Canon'","height":93});
															thumbnails[3863209] = clik.newPhoto({"id":3863209,"src":"piccyfix_1241909658_P10117701new_thumb.jpg","galleries_id":148869,"server_id":32,"link":"photo_3863209.html","width":130,"caption":"...Softly Sigh....approx 18x14 inches","height":152});
															thumbnails[3863213] = clik.newPhoto({"id":3863213,"src":"piccyfix_1241912023_P1011759_thumb.JPG","galleries_id":148869,"server_id":32,"link":"photo_3863213.html","width":130,"caption":"","height":83});
															thumbnails[3922982] = clik.newPhoto({"id":3922982,"src":"papillon_thumb.jpg","galleries_id":163454,"server_id":32,"link":"photo_3922982.html","width":130,"caption":"Papillon","height":88});
															thumbnails[4144435] = clik.newPhoto({"id":4144435,"src":"Untitled_thumb.jpg","galleries_id":155329,"server_id":32,"link":"photo_4144435.html","width":130,"caption":"Deliverance ***sold***","height":85});
															thumbnails[4266282] = clik.newPhoto({"id":4266282,"src":"pardubicewater2final_thumb.jpg","galleries_id":162084,"server_id":32,"link":"photo_4266282.html","width":130,"caption":"The Water Jump at Pardubice Czech republic","height":79});
															thumbnails[4266459] = clik.newPhoto({"id":4266459,"src":"pardubicefinal_thumb.jpg","galleries_id":162084,"server_id":32,"link":"photo_4266459.html","width":130,"caption":"Irska Lavice Baby! The Irish Bank at Pardubice","height":85});
															thumbnails[4405959] = clik.newPhoto({"id":4405959,"src":"norisan_thumb.jpg","galleries_id":155329,"server_id":32,"link":"photo_4405959.html","width":130,"caption":"Norisan","height":98});
															thumbnails[4406033] = clik.newPhoto({"id":4406033,"src":"dancewiththedevil_thumb.jpg","galleries_id":155329,"server_id":32,"link":"photo_4406033.html","width":130,"caption":"Dancewiththedevil","height":105});
															thumbnails[4417306] = clik.newPhoto({"id":4417306,"src":"P1018504new_thumb.jpg","galleries_id":234944,"server_id":32,"link":"photo_4417306.html","width":130,"caption":"Spanish Dance","height":166});
															thumbnails[4418008] = clik.newPhoto({"id":4418008,"src":"P1018499new1_thumb.jpg","galleries_id":234944,"server_id":32,"link":"photo_4418008.html","width":130,"caption":"Dancing Shoes","height":164});
															thumbnails[4418029] = clik.newPhoto({"id":4418029,"src":"P1018498new_thumb.jpg","galleries_id":234944,"server_id":32,"link":"photo_4418029.html","width":130,"caption":"The Forgotten Kladruber","height":158});
															thumbnails[4418043] = clik.newPhoto({"id":4418043,"src":"P1018495new_thumb.jpg","galleries_id":234944,"server_id":32,"link":"photo_4418043.html","width":130,"caption":"On To Victory","height":179});
															thumbnails[4821399] = clik.newPhoto({"id":4821399,"src":"piccyfix_1254268680_P1019461_thumb.JPG","galleries_id":155443,"server_id":32,"link":"photo_4821399.html","width":130,"caption":"Pas de Quatre<br>\r\n(No Quarter Given)","height":125});
															thumbnails[4821402] = clik.newPhoto({"id":4821402,"src":"piccyfix_1254268463_P1019461_thumb.JPG","galleries_id":155443,"server_id":32,"link":"photo_4821402.html","width":130,"caption":"Pas de Quatre (No Quarter Given)<br>\r\nAlternative version","height":126});
															thumbnails[4824830] = clik.newPhoto({"id":4824830,"src":"piccyfix_1254322839_P1018813_thumb.JPG","galleries_id":234944,"server_id":32,"link":"photo_4824830.html","width":130,"caption":"The Mirror","height":178});
															thumbnails[4824996] = clik.newPhoto({"id":4824996,"src":"piccyfix_1254269195_P1018808_thumb.JPG","galleries_id":234944,"server_id":32,"link":"photo_4824996.html","width":130,"caption":"The Sheikh of Araby<br>\r\n<br>\r\nSOLD","height":80});
															thumbnails[4825002] = clik.newPhoto({"id":4825002,"src":"piccyfix_1254324277_P1018816_thumb.JPG","galleries_id":234944,"server_id":32,"link":"photo_4825002.html","width":130,"caption":"Catch me if you Can","height":175});
															thumbnails[4825022] = clik.newPhoto({"id":4825022,"src":"piccyfix_1254323487_P1018814_thumb.JPG","galleries_id":234944,"server_id":32,"link":"photo_4825022.html","width":130,"caption":"The Huntsman's Chorus","height":172});
															thumbnails[4833714] = clik.newPhoto({"id":4833714,"src":"piccyfix_1254496514_P1019470_thumb.JPG","galleries_id":155329,"server_id":32,"link":"photo_4833714.html","width":130,"caption":"In the Air Together<br>\r\n<br>\r\n36\"x24\" Oil\/Canvas<br>\r\n<br>\r\nSOLD ","height":67});
															thumbnails[4833915] = clik.newPhoto({"id":4833915,"src":"piccyfix_1254502156_P1019471_thumb.JPG","galleries_id":163454,"server_id":32,"link":"photo_4833915.html","width":130,"caption":"\"Ditched\" 16 x 12 inches<br>\r\nltd edition of 100 only","height":96});
															thumbnails[4838611] = clik.newPhoto({"id":4838611,"src":"piccyfix_1254580088_P1019473_thumb.JPG","galleries_id":276311,"server_id":32,"link":"photo_4838611.html","width":130,"caption":"\"The Quickening\"<br>\r\n<br>\r\n2009 Epsom Derby winner 'Sea The Stars'","height":104});
															thumbnails[5166261] = clik.newPhoto({"id":5166261,"src":"nam2_thumb.jpg","galleries_id":162084,"server_id":32,"link":"photo_5166261.html","width":130,"caption":"Cheltenham original Watercolour<br>\r\nSOLD","height":76});
															thumbnails[5166314] = clik.newPhoto({"id":5166314,"src":"nam5_thumb.jpg","galleries_id":162084,"server_id":32,"link":"photo_5166314.html","width":130,"caption":"Cheltenham Watercolour<br>\r\nSOLD","height":77});
															thumbnails[5167557] = clik.newPhoto({"id":5167557,"src":"newdenman4_thumb.jpg","galleries_id":154229,"server_id":32,"link":"photo_5167557.html","width":130,"caption":"\"Horse Power: Panel #1 : Denman\" SOLD","height":100});
															thumbnails[5167648] = clik.newPhoto({"id":5167648,"src":"newkauto3_thumb.jpg","galleries_id":154229,"server_id":32,"link":"photo_5167648.html","width":130,"caption":"Horse Power: Panel #2: Kauto Star36x24 inches SOLD","height":100});
															thumbnails[5167844] = clik.newPhoto({"id":5167844,"src":"red2_thumb.jpg","galleries_id":154229,"server_id":32,"link":"photo_5167844.html","width":130,"caption":"In Full Flight panel #1","height":128});
															thumbnails[5167913] = clik.newPhoto({"id":5167913,"src":"red4_thumb.jpg","galleries_id":154229,"server_id":32,"link":"photo_5167913.html","width":130,"caption":"In Full Flight panel #2<br>\r\n<br>\r\n","height":128});
															thumbnails[5199968] = clik.newPhoto({"id":5199968,"src":"warmrecep_thumb.jpg","galleries_id":162084,"server_id":32,"link":"photo_5199968.html","width":130,"caption":"A Warm Reception for the Winner","height":102});
															thumbnails[5224112] = clik.newPhoto({"id":5224112,"src":"paul_nicholls_book_cover12_thumb.jpg","galleries_id":294638,"server_id":32,"link":"photo_5224112.html","width":130,"caption":"\"Lucky Break\" Paul Ncholls signed new book","height":196});
															thumbnails[5224190] = clik.newPhoto({"id":5224190,"src":"richard_dunwoody_book_cover_thumb.jpg","galleries_id":294638,"server_id":32,"link":"photo_5224190.html","width":130,"caption":"New book \"Method In My Madness\", signed by Richard Dunwoody","height":197});
															thumbnails[5261343] = clik.newPhoto({"id":5261343,"src":"CLOCKWORK_H_1_thumb.JPG","galleries_id":294638,"server_id":32,"link":"photo_5261343.html","width":130,"caption":"Clockwork Race Horses","height":138});
															thumbnails[5413337] = clik.newPhoto({"id":5413337,"src":"OutoftheCheltenhamfogres_thumb.jpg","galleries_id":154229,"server_id":32,"link":"photo_5413337.html","width":130,"caption":"Out of The Cheltenham Fog","height":95});
															thumbnails[5413365] = clik.newPhoto({"id":5413365,"src":"blazing_saddles_thumb.jpg","galleries_id":154229,"server_id":32,"link":"photo_5413365.html","width":130,"caption":"Blazing Saddles","height":94});
															thumbnails[5586145] = clik.newPhoto({"id":5586145,"src":"denman_deco_web1_thumb.jpg","galleries_id":155335,"server_id":32,"link":"photo_5586145.html","width":130,"caption":"Horse Power panel 1  Denman","height":97});
															thumbnails[5586171] = clik.newPhoto({"id":5586171,"src":"kauto_deco_web_thumb.jpg","galleries_id":155335,"server_id":32,"link":"photo_5586171.html","width":130,"caption":"Horse Power panel 2 Kauto Star","height":101});
															thumbnails[5586371] = clik.newPhoto({"id":5586371,"src":"punjabi_celestial_web_thumb.jpg","galleries_id":154229,"server_id":32,"link":"photo_5586371.html","width":130,"caption":"stretch For Home The 2009 Champion hurdle<br>\r\nby Adrian Dent","height":130});
															thumbnails[5586400] = clik.newPhoto({"id":5586400,"src":"punjabi_celestial_web1_thumb.jpg","galleries_id":148904,"server_id":32,"link":"photo_5586400.html","width":130,"caption":"stretch For Home The 2009 Champion hurdle by Adrian Dent","height":130});
															thumbnails[5586461] = clik.newPhoto({"id":5586461,"src":"garde_champetre_web_thumb.jpg","galleries_id":148904,"server_id":32,"link":"photo_5586461.html","width":130,"caption":"Out of the Cheltenham Fog","height":98});
															thumbnails[7036935] = clik.newPhoto({"id":7036935,"src":"imperial_commander_112.jpg_web_thumb.jpg","galleries_id":148904,"server_id":32,"link":"photo_7036935.html","width":130,"caption":"Imperial Commander","height":87});
															thumbnails[7036964] = clik.newPhoto({"id":7036964,"src":"katie_and_nina_web_thumb.jpg","galleries_id":148904,"server_id":32,"link":"photo_7036964.html","width":130,"caption":"Here Come The Girls","height":87});
															thumbnails[7399748] = clik.newPhoto({"id":7399748,"src":"IMG_6567red1_thumb.jpg","galleries_id":234890,"server_id":32,"link":"photo_7399748.html","width":130,"caption":" Racing Noir Part One: “Major Stevens and Hell of a Fear: High Stakes”","height":130});
															thumbnails[7399806] = clik.newPhoto({"id":7399806,"src":"IMG_6569red_thumb.jpg","galleries_id":234890,"server_id":32,"link":"photo_7399806.html","width":130,"caption":"Racing Noir Part two:“Top of the Head \" A Shadow in the Ring","height":130});
															thumbnails[7573557] = clik.newPhoto({"id":7573557,"src":"noir_brown_paper_web_thumb.jpg","galleries_id":162084,"server_id":32,"link":"photo_7573557.html","width":130,"caption":"Whisper in the Ring","height":68});
															thumbnails[7573630] = clik.newPhoto({"id":7573630,"src":"noir_brown_paper_web1_thumb.jpg","galleries_id":234890,"server_id":32,"link":"photo_7573630.html","width":130,"caption":"Whisper in the Ring","height":68});
															thumbnails[7588553] = clik.newPhoto({"id":7588553,"src":"IMG_6871red_thumb.jpg","galleries_id":154229,"server_id":32,"link":"photo_7588553.html","width":130,"caption":"The Steamers; Cheltenham","height":97});
															thumbnails[7588623] = clik.newPhoto({"id":7588623,"src":"IMG_6869red_thumb.jpg","galleries_id":154229,"server_id":32,"link":"photo_7588623.html","width":130,"caption":"Top Hat and Tales: Royal Ascot Morning","height":176});
															thumbnails[7773443] = clik.newPhoto({"id":7773443,"src":"IMG_7322_thumb.JPG","galleries_id":148904,"server_id":32,"link":"photo_7773443.html","width":130,"caption":"Here Come the Heroes","height":63});
															thumbnails[7900143] = clik.newPhoto({"id":7900143,"src":"clash_for_the_crown_web_thumb.jpg","galleries_id":148904,"server_id":32,"link":"photo_7900143.html","width":130,"caption":"Clash For The Crown","height":94});
															thumbnails[7900549] = clik.newPhoto({"id":7900549,"src":"llewelyns_gallops_print_web_thumb.jpg","galleries_id":148869,"server_id":32,"link":"photo_7900549.html","width":130,"caption":"A welcome In The Hillside","height":179});
															thumbnails[7929560] = clik.newPhoto({"id":7929560,"src":"IMG_8107e_thumb.jpg","galleries_id":148937,"server_id":32,"link":"photo_7929560.html","width":130,"caption":"Frankel 'Clear of the Field'","height":174});
															thumbnails[8767478] = clik.newPhoto({"id":8767478,"src":"IMG_6871red_9C19102D-1E4F-37DC-71FAD8D6B2185EF5_thumb.jpg","galleries_id":148904,"server_id":32,"link":"photo_8767478.html","width":130,"caption":"\"The Steamers; Cheltenham\"","height":97});
															thumbnails[8800904] = clik.newPhoto({"id":8800904,"src":"IMG_5612ed3_thumb.jpg","galleries_id":155335,"server_id":32,"link":"photo_8800904.html","width":130,"caption":"Together: Kauto Star and Denman","height":93});
															thumbnails[8891769] = clik.newPhoto({"id":8891769,"src":"IMG_9962edfinal4_thumb.jpg","galleries_id":162084,"server_id":32,"link":"photo_8891769.html","width":130,"caption":"The Battle for the Hill Cheltenham","height":96});
															thumbnails[9075823] = clik.newPhoto({"id":9075823,"src":"dirty_dozen_web_thumb.jpg","galleries_id":148932,"server_id":32,"link":"photo_9075823.html","width":130,"caption":"The Dirty Dozen","height":49});
															thumbnails[9077270] = clik.newPhoto({"id":9077270,"src":"IMG_0307ed2_thumb.jpg","galleries_id":478720,"server_id":32,"link":"photo_9077270.html","width":130,"caption":"Original Watercolour: They Gave Their All: 'The Tommies'; Western Front 1914-18","height":91});
															thumbnails[9077493] = clik.newPhoto({"id":9077493,"src":"IMG_0303ed2_thumb.jpg","galleries_id":478720,"server_id":32,"link":"photo_9077493.html","width":130,"caption":"Original Watercolour: They Gave Their All: \"The Huns\" Western front 1914-18 ","height":93});
															thumbnails[9077547] = clik.newPhoto({"id":9077547,"src":"IMG_0307ed21_thumb.jpg","galleries_id":478720,"server_id":32,"link":"photo_9077547.html","width":130,"caption":"Print: They Gave Their All: 'The Tommies' The Western Front 1914-18","height":91});
															thumbnails[9077773] = clik.newPhoto({"id":9077773,"src":"IMG_0303ed2_E09E5968-1EC9-D45B-1CE3C2014BC0F6E1_thumb.jpg","galleries_id":478720,"server_id":32,"link":"photo_9077773.html","width":130,"caption":"Print: They Gave Their All: \"The Huns\"; Western Front 1914-18","height":93});
															thumbnails[2391969] = clik.newPhoto({"id":2391969,"src":"DENTS 006_thumb.jpg","galleries_id":148937,"server_id":32,"link":"photo_2391969.html","width":130,"caption":"Forward To Victory#1<br>\r\n<br>\r\n22\"x22\"<br>\r\nGiclee with artist enhanced original artwork<br>\r\n£150","height":129});
															thumbnails[2448589] = clik.newPhoto({"id":2448589,"src":"polo 1_thumb.jpg","galleries_id":155443,"server_id":32,"link":"photo_2448589.html","width":130,"caption":"Panel #1 of polo triptych<br>\r\nD.M.Dent<br>\r\n260mmx260mm  £49","height":131});
															thumbnails[2538130] = clik.newPhoto({"id":2538130,"src":"currency_thumb.jpg","galleries_id":155329,"server_id":32,"link":"photo_2538130.html","width":130,"caption":"currency","height":95});
															thumbnails[2559164] = clik.newPhoto({"id":2559164,"src":"b mate head on proof_thumb.jpg","galleries_id":163468,"server_id":32,"link":"photo_2559164.html","width":130,"caption":"The Best! <br>\r\nA.J.Dent","height":197});
															thumbnails[2559395] = clik.newPhoto({"id":2559395,"src":"best nate gold print_thumb.jpg","galleries_id":163468,"server_id":32,"link":"photo_2559395.html","width":130,"caption":"Best Mate<br>\r\nltd edition 388 x 254 mm<br>\r\nD.M.Dent","height":85});
															thumbnails[2564656] = clik.newPhoto({"id":2564656,"src":"relentless progress the national that never was_thumb.jpg","galleries_id":163454,"server_id":32,"link":"photo_2564656.html","width":130,"caption":"Relentless Progress - The National That Never Was<br>\r\nA.J.Dent","height":85});
															thumbnails[5199962] = clik.newPhoto({"id":5199962,"src":"nosympathy_thumb.jpg","galleries_id":162084,"server_id":32,"link":"photo_5199962.html","width":130,"caption":"No Sympathy for the Also Rans<br>\r\n<br>\r\n12\"x10\" framed","height":101});
															thumbnails[5199980] = clik.newPhoto({"id":5199980,"src":"keento_thumb.jpg","galleries_id":162084,"server_id":32,"link":"photo_5199980.html","width":130,"caption":"Keen To Get on With it","height":111});
															thumbnails[7588650] = clik.newPhoto({"id":7588650,"src":"IMG_6869red1_thumb.jpg","galleries_id":148943,"server_id":32,"link":"photo_7588650.html","width":130,"caption":"Top Hat and Tales: a Royal Ascot morning","height":176});
															thumbnails[8775428] = clik.newPhoto({"id":8775428,"src":"CIMG0051ed_thumb.jpg","galleries_id":462037,"server_id":32,"link":"photo_8775428.html","width":130,"caption":"Original charcoal and watercolour: National Hunt","height":185});
															thumbnails[8775461] = clik.newPhoto({"id":8775461,"src":"CIMG0064ed_thumb.jpg","galleries_id":462037,"server_id":32,"link":"photo_8775461.html","width":130,"caption":"Imperial Commander tracking Denman in the rain","height":89});
															thumbnails[8775692] = clik.newPhoto({"id":8775692,"src":"CIMG0072ed3_thumb.jpg","galleries_id":462037,"server_id":32,"link":"photo_8775692.html","width":130,"caption":"The Grandstand Royal Ascot 2011","height":181});
															thumbnails[8775710] = clik.newPhoto({"id":8775710,"src":"CIMG0073ed_thumb.jpg","galleries_id":462037,"server_id":32,"link":"photo_8775710.html","width":130,"caption":"Frankel at Royal Ascot 2011","height":90});
															thumbnails[8775736] = clik.newPhoto({"id":8775736,"src":"CIMG0083ed2_thumb.jpg","galleries_id":462037,"server_id":32,"link":"photo_8775736.html","width":130,"caption":"Canford Cliffs and Goldikova at Royal Ascot 2011","height":96});
															thumbnails[8775766] = clik.newPhoto({"id":8775766,"src":"CIMG0088ed_thumb.jpg","galleries_id":462037,"server_id":32,"link":"photo_8775766.html","width":130,"caption":"Royal Ascot Fashion ","height":182});
															thumbnails[8776109] = clik.newPhoto({"id":8776109,"src":"CIMG0101ed_thumb.jpg","galleries_id":148904,"server_id":32,"link":"photo_8776109.html","width":130,"caption":"Stormin' Home Cheltenham ","height":86});
															thumbnails[2391860] = clik.newPhoto({"id":2391860,"src":"DENTS 007_thumb.jpg","galleries_id":148937,"server_id":32,"link":"photo_2391860.html","width":130,"caption":"Forward to Vicory#2<br>\r\n<br>\r\ngiclee with original artwork<br>\r\n<br>\r\n22\"x22\"<br>\r\n","height":129});
															thumbnails[2448594] = clik.newPhoto({"id":2448594,"src":"POLO 2_thumb.jpg","galleries_id":155443,"server_id":32,"link":"photo_2448594.html","width":130,"caption":"Panel 2 polo triptych<br>\r\n260x530mm<br>\r\nD.M.Dent £69","height":67});
															thumbnails[2531749] = clik.newPhoto({"id":2531749,"src":"first-circuit-cheltenham_thumb.gif","galleries_id":162084,"server_id":32,"link":"photo_2531749.html","width":130,"caption":"first circuit cheltenham<br>\r\noriginal watercolour<br>\r\nD.M.Dent SOLD","height":98});
															thumbnails[2538131] = clik.newPhoto({"id":2538131,"src":"take a break_thumb.jpg","galleries_id":148925,"server_id":32,"link":"photo_2538131.html","width":130,"caption":"Take A Break<br>\r\nA.J.Dent","height":129});
															thumbnails[5199981] = clik.newPhoto({"id":5199981,"src":"misty_thumb.jpg","galleries_id":162084,"server_id":32,"link":"photo_5199981.html","width":130,"caption":"Misty Morning Work: Three's a Crowd","height":106});
															thumbnails[5199987] = clik.newPhoto({"id":5199987,"src":"nonetookeen_thumb.jpg","galleries_id":162084,"server_id":32,"link":"photo_5199987.html","width":130,"caption":"None too Keen To Get on With It<br>\r\n<br>\r\n12\"x10\" Framed","height":120});
															thumbnails[8775678] = clik.newPhoto({"id":8775678,"src":"CIMG0057ed_thumb.jpg","galleries_id":462037,"server_id":32,"link":"photo_8775678.html","width":130,"caption":"SOLD Sir Mark Prescott's string Newmarket","height":86});
															thumbnails[2448602] = clik.newPhoto({"id":2448602,"src":"POLO 3_thumb.jpg","galleries_id":155443,"server_id":32,"link":"photo_2448602.html","width":130,"caption":"polo triptych panel 3<br>\r\n260mmx260mm<br>\r\n£49","height":129});
															thumbnails[2531750] = clik.newPhoto({"id":2531750,"src":"framed-chetenham-originals_thumb.gif","galleries_id":162084,"server_id":32,"link":"photo_2531750.html","width":130,"caption":"framed-chetenham-original watercolours<br>\r\n<br>\r\nThe miniature watercolours tend to be framed like this and prices include the frame.","height":116});
															thumbnails[5199982] = clik.newPhoto({"id":5199982,"src":"misty2_thumb.jpg","galleries_id":162084,"server_id":32,"link":"photo_5199982.html","width":130,"caption":"Misty Morning Work: Two's Company<br>\r\n<br>\r\n12\"x10\"","height":111});
															thumbnails[8775085] = clik.newPhoto({"id":8775085,"src":"CIMG0099ed4_thumb.jpg","galleries_id":462037,"server_id":32,"link":"photo_8775085.html","width":130,"caption":"Life Drawing","height":168});
															thumbnails[8775092] = clik.newPhoto({"id":8775092,"src":"CIMG0084ed_thumb.jpg","galleries_id":462037,"server_id":32,"link":"photo_8775092.html","width":130,"caption":"Original Life Drawing : rear view","height":195});
															thumbnails[8775106] = clik.newPhoto({"id":8775106,"src":"CIMG0075ed2_thumb.jpg","galleries_id":462037,"server_id":32,"link":"photo_8775106.html","width":130,"caption":"Life Drawing: Eliza turning ","height":180});
															thumbnails[8775239] = clik.newPhoto({"id":8775239,"src":"CIMG0070ed3_thumb.jpg","galleries_id":462037,"server_id":32,"link":"photo_8775239.html","width":130,"caption":"Life Drawing with Corset ","height":192});
															thumbnails[8775252] = clik.newPhoto({"id":8775252,"src":"CIMG0065ed_thumb.jpg","galleries_id":462037,"server_id":32,"link":"photo_8775252.html","width":130,"caption":"Life Drawing in Agent Provocateur rear view","height":169});
															thumbnails[8775307] = clik.newPhoto({"id":8775307,"src":"CIMG0053ed_thumb.jpg","galleries_id":462037,"server_id":32,"link":"photo_8775307.html","width":130,"caption":"Top Hat and Green corset: life drawing ","height":221});
															thumbnails[8775319] = clik.newPhoto({"id":8775319,"src":"CIMG0054ed_thumb.jpg","galleries_id":462037,"server_id":32,"link":"photo_8775319.html","width":130,"caption":"Eliza Burlesque in green corset","height":224});
															thumbnails[2391884] = clik.newPhoto({"id":2391884,"src":"elephant polo 2_thumb.jpg","galleries_id":155443,"server_id":32,"link":"photo_2391884.html","width":130,"caption":"High Noon at Jaipur part#1<br>\r\nElephant polo<br>\r\n<br>\r\n22\"x22\"","height":131});
															thumbnails[2531751] = clik.newPhoto({"id":2531751,"src":"panic-at-the-last-cheltenha_thumb.gif","galleries_id":162084,"server_id":32,"link":"photo_2531751.html","width":130,"caption":"Panic at the last cheltenham SOLD<br>\r\n<br>\r\noriginal watercolour D.M.dent approx 6 1\/2 \" x 5 1\/2\"<br>\r\nFramed size 10\"x12\"","height":87});
															thumbnails[8775192] = clik.newPhoto({"id":8775192,"src":"CIMG0079ed2_thumb.jpg","galleries_id":462037,"server_id":32,"link":"photo_8775192.html","width":130,"caption":"Life nude with vintage hat","height":185});
															thumbnails[8775264] = clik.newPhoto({"id":8775264,"src":"CIMG0050ed_thumb.jpg","galleries_id":462037,"server_id":32,"link":"photo_8775264.html","width":130,"caption":"Eliza in Seam and Heel","height":183});
															thumbnails[8775364] = clik.newPhoto({"id":8775364,"src":"CIMG0085ed_thumb.jpg","galleries_id":462037,"server_id":32,"link":"photo_8775364.html","width":130,"caption":"Life drawing in vintage 40s fashion","height":212});
															thumbnails[8775382] = clik.newPhoto({"id":8775382,"src":"CIMG0095ed_thumb.jpg","galleries_id":462037,"server_id":32,"link":"photo_8775382.html","width":130,"caption":"Original life drawing burlesque 40s style ","height":185});
															thumbnails[2391874] = clik.newPhoto({"id":2391874,"src":"elephant polo 1_thumb.jpg","galleries_id":155443,"server_id":32,"link":"photo_2391874.html","width":130,"caption":"High Noon at Jaipur #2<br>\r\n<br>\r\ngiclee 22\"x22\" with original artwork","height":134});
															thumbnails[2531752] = clik.newPhoto({"id":2531752,"src":"two-from-home-cheltenham_thumb.gif","galleries_id":162084,"server_id":32,"link":"photo_2531752.html","width":130,"caption":"Two from home cheltenham SOLD<br>\r\n<br>\r\nD.M.Dent<br>\r\n<br>\r\nOriginal watercolour approx 6 1\/2 inches x 4 1\/2 inches framed in a 12\"x10\" gold frame","height":89});
															thumbnails[8775490] = clik.newPhoto({"id":8775490,"src":"CIMG0049ed2_thumb.jpg","galleries_id":462037,"server_id":32,"link":"photo_8775490.html","width":130,"caption":"Loose Cannon ","height":89});
															thumbnails[8775505] = clik.newPhoto({"id":8775505,"src":"CIMG0052ed_thumb.jpg","galleries_id":462037,"server_id":32,"link":"photo_8775505.html","width":130,"caption":"Point to pointer on the Run in","height":100});
															thumbnails[8775524] = clik.newPhoto({"id":8775524,"src":"CIMG0068ed_thumb.jpg","galleries_id":462037,"server_id":32,"link":"photo_8775524.html","width":130,"caption":"King Harald and Naunton Brook","height":102});
															thumbnails[8775570] = clik.newPhoto({"id":8775570,"src":"CIMG0071ed3_thumb.jpg","galleries_id":462037,"server_id":32,"link":"photo_8775570.html","width":130,"caption":"Three together at the last: point to point","height":102});
															thumbnails[8775652] = clik.newPhoto({"id":8775652,"src":"CIMG0058ed_thumb.jpg","galleries_id":462037,"server_id":32,"link":"photo_8775652.html","width":130,"caption":"The third last Chesptow ","height":85});
															thumbnails[2531771] = clik.newPhoto({"id":2531771,"src":"original-orange1_thumb.gif","galleries_id":154229,"server_id":32,"link":"photo_2531771.html","width":130,"caption":"Going for Home #2<br>\r\n<br>\r\nOriginal oil D.M.Dent and the Count of Argenton<br>\r\n<br>\r\n44\"x45\"    <br>\r\n***SOLD***","height":125});
															thumbnails[8775789] = clik.newPhoto({"id":8775789,"src":"CIMG0082ed2_thumb.jpg","galleries_id":462037,"server_id":32,"link":"photo_8775789.html","width":130,"caption":"Merano Steeplechase; Italy ","height":180});
															thumbnails[2531773] = clik.newPhoto({"id":2531773,"src":"range2_thumb.gif","galleries_id":154229,"server_id":32,"link":"photo_2531773.html","width":130,"caption":"Going for Home #1<br>\r\n<br>\r\noriginal oil by D.M.Dent and the Count of Argenton<br>\r\n<br>\r\n45\"x44\"<br>\r\n<br>\r\n***SOLD***","height":125});
															thumbnails[5199985] = clik.newPhoto({"id":5199985,"src":"no_faint_hearts_thumb.jpg","galleries_id":162084,"server_id":32,"link":"photo_5199985.html","width":130,"caption":"No Faint Hearts<br>\r\n<br>\r\n12x10\" Framed","height":106});
															thumbnails[5199983] = clik.newPhoto({"id":5199983,"src":"morning_gallops_thumb.jpg","galleries_id":162084,"server_id":32,"link":"photo_5199983.html","width":130,"caption":"\"Morning on the Gallops: The Coup is Planned , and right are the Signs...\"","height":104});
															thumbnails[5199984] = clik.newPhoto({"id":5199984,"src":"morningraces_thumb.jpg","galleries_id":162084,"server_id":32,"link":"photo_5199984.html","width":130,"caption":"\"Morning at the Races : Just a Final Canter; expectant Lady Owner Dressed to the Nines...\"","height":105});
															thumbnails[5199986] = clik.newPhoto({"id":5199986,"src":"no_quarter_thumb.jpg","galleries_id":162084,"server_id":32,"link":"photo_5199986.html","width":130,"caption":"No Quarter<br>\r\n<br>\r\n12x10\" Framed","height":101});
															thumbnails[5199988] = clik.newPhoto({"id":5199988,"src":"second_lot_thumb.jpg","galleries_id":162084,"server_id":32,"link":"photo_5199988.html","width":130,"caption":"Second Lot Bollocking","height":103});
															thumbnails[2531788] = clik.newPhoto({"id":2531788,"src":"orange-pair1_thumb.gif","galleries_id":154229,"server_id":32,"link":"photo_2531788.html","width":130,"caption":"Going for Home panels #1 and #2 together<br>\r\n<br>\r\n***SOLD***","height":63});
															thumbnails[5199993] = clik.newPhoto({"id":5199993,"src":"firstlot_thumb.jpg","galleries_id":162084,"server_id":32,"link":"photo_5199993.html","width":130,"caption":"First Lot Gossip","height":111});
															thumbnails[2531789] = clik.newPhoto({"id":2531789,"src":"clark royal family_thumb.JPG","galleries_id":155329,"server_id":32,"link":"photo_2531789.html","width":130,"caption":"Royal-family","height":56});
															thumbnails[2531790] = clik.newPhoto({"id":2531790,"src":"snow-adrian8_thumb.jpg","galleries_id":154229,"server_id":32,"link":"photo_2531790.html","width":130,"caption":"Snow Patrol<br>\r\n<br>\r\noriginal Oil A.J.Dent ***sold***<br>\r\n<br>\r\n20\"x30\"<br>\r\n<br>\r\n£2450","height":83});
															thumbnails[2531772] = clik.newPhoto({"id":2531772,"src":"polo-for-the-winner_thumb.gif","galleries_id":162084,"server_id":32,"link":"photo_2531772.html","width":130,"caption":"A polo for the winner<br>\r\n<br>\r\napprox 7 inches x 5 inches<br>\r\nframed in gold in 12\"x10\" frame","height":152});
															thumbnails[2531774] = clik.newPhoto({"id":2531774,"src":"the-lady-in-red_thumb.gif","galleries_id":162084,"server_id":32,"link":"photo_2531774.html","width":130,"caption":"The Lady in Red; Dangerous Gossip Cheltenham<br>\r\nSOLD<br>\r\noriginal watercolour D.M.Dent<br>\r\n<br>\r\napprox 7\"x5\" framed in a 12\"x10\" gold fame","height":145});
															thumbnails[5166432] = clik.newPhoto({"id":5166432,"src":"five2_thumb.jpg","galleries_id":162084,"server_id":32,"link":"photo_5166432.html","width":130,"caption":"Original Watercolour Cheltenham:<br>\r\n\"Five with Chances\" SOLD","height":96});
															thumbnails[2531748] = clik.newPhoto({"id":2531748,"src":"cross-country-cheltenham_thumb.gif","galleries_id":162084,"server_id":32,"link":"photo_2531748.html","width":130,"caption":"cross-country cheltenham SOLD<br>\r\noriginal watercolour framed in gold image size 6 1\/2 inches x 5 1\/2 inches","height":88});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[148904] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"    Cheltenham National Hunt Racing","link":"gallery_148904.html","maxRecords":0.0,"photoIDs":[2265602.0,2265606.0,2265608.0,2265612.0,2265619.0,2265622.0,2265631.0,2265684.0,2265699.0,2265725.0,2265728.0,2265730.0,2265732.0,2391815.0,3106502.0,3601457.0,5586400.0,5586461.0,7036935.0,7036964.0,7773443.0,7900143.0,8767478.0,8776109.0],"skipIndex":0,"section_code":"gallery","featured_images":"8776109,7773443,2265602","id":148904,"singleSection":false});				  						galleries[148937] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Contemporary images","link":"gallery_148937.html","maxRecords":0.0,"photoIDs":[2266348.0,2266350.0,2266357.0,2266360.0,2266447.0,2266474.0,2266487.0,2391873.0,2392338.0,2448569.0,2448574.0,3106436.0,7929560.0,2391969.0,2391860.0],"skipIndex":0,"section_code":"gallery","featured_images":"7929560,2266360","id":148937,"singleSection":false});				  						galleries[155335] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Denman and Kauto Star prints","link":"gallery_155335.html","maxRecords":0.0,"photoIDs":[2393228.0,2448470.0,2448479.0,2448481.0,2448555.0,2448557.0,3136659.0,5586145.0,5586171.0,8800904.0],"skipIndex":0,"section_code":"gallery","featured_images":8800904.0,"id":155335,"singleSection":false});				  						galleries[148943] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Fashion and the Female Form","link":"gallery_148943.html","maxRecords":0.0,"photoIDs":[2266509.0,2266518.0,2266531.0,2266538.0,2266542.0,2266550.0,2266564.0,2266610.0,2266636.0,2266638.0,2266750.0,2266822.0,2273536.0,2391941.0,2391956.0,7588650.0],"skipIndex":0,"section_code":"gallery","featured_images":2273536.0,"id":148943,"singleSection":false});				  						galleries[148953] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Flat racing ","link":"gallery_148953.html","maxRecords":0.0,"photoIDs":[2266680.0,2266695.0,2266713.0,2266714.0,2266726.0,2391864.0,2391879.0,2392263.0,3389231.0],"skipIndex":0,"section_code":"gallery","featured_images":2266726.0,"id":148953,"singleSection":false});				  						galleries[294638] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Gift Items and Books","link":"gallery_294638.html","maxRecords":0.0,"photoIDs":[5224112.0,5224190.0,5261343.0],"skipIndex":0,"section_code":"gallery","featured_images":"5261343,5224190,5224112","id":294638,"singleSection":false});				  						galleries[148866] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Horses","link":"gallery_148866.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":2264808.0,"id":148866,"singleSection":false});				  						galleries[148869] = clik.newGallery({"parentGallery":148866,"usePopups":false,"title":"Horses ","link":"gallery_148869.html","maxRecords":0.0,"photoIDs":[2264632.0,2264808.0,2264836.0,2264913.0,2265256.0,2265543.0,2265549.0,2266665.0,2392209.0,2392215.0,2392222.0,2392273.0,2448703.0,3601451.0,3863120.0,3863205.0,3863207.0,3863209.0,3863213.0,7900549.0],"skipIndex":0,"section_code":"gallery","featured_images":2264808.0,"id":148869,"singleSection":false});				  						galleries[148925] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Hunting and Hounds","link":"gallery_148925.html","maxRecords":0.0,"photoIDs":[2265968.0,2265983.0,2266063.0,2266085.0,2266113.0,2392183.0,2448562.0,3273901.0,2538131.0],"skipIndex":0,"section_code":"gallery","featured_images":"3273901,2266113","id":148925,"singleSection":false});				  						galleries[148932] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Jockeys","link":"gallery_148932.html","maxRecords":0.0,"photoIDs":[2266127.0,2266181.0,2266194.0,9075823.0],"skipIndex":0,"section_code":"gallery","featured_images":2266194.0,"id":148932,"singleSection":false});				  						galleries[189997] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Ladies of the Turf ; a Form Guide","link":"gallery_189997.html","maxRecords":0.0,"photoIDs":[3096969.0,3097143.0],"skipIndex":0,"section_code":"gallery","featured_images":3097143.0,"id":189997,"singleSection":false});				  						galleries[163468] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Legends Of The Turf","link":"gallery_163468.html","maxRecords":0.0,"photoIDs":[3177281.0,3189021.0,3189106.0,3189276.0,3189344.0,2559164.0,2559395.0],"skipIndex":0,"section_code":"gallery","featured_images":2559164.0,"id":163468,"singleSection":false});				  						galleries[462037] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Original Art Work under £250 ","link":"gallery_462037.html","maxRecords":0.0,"photoIDs":[8775428.0,8775461.0,8775692.0,8775710.0,8775736.0,8775766.0,8775678.0,8775085.0,8775092.0,8775106.0,8775239.0,8775252.0,8775307.0,8775319.0,8775192.0,8775264.0,8775364.0,8775382.0,8775490.0,8775505.0,8775524.0,8775570.0,8775652.0,8775789.0],"skipIndex":0,"section_code":"gallery","featured_images":"8775766,8775736,8775678,8775570","id":462037,"singleSection":false});				  						galleries[154229] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Original Oil Paintings","link":"gallery_154229.html","maxRecords":0.0,"photoIDs":[2371506.0,2371507.0,2448474.0,2448621.0,2448630.0,3375188.0,3588517.0,3588633.0,5167557.0,5167648.0,5167844.0,5167913.0,5413337.0,5413365.0,5586371.0,7588553.0,7588623.0,2531771.0,2531773.0,2531788.0,2531790.0],"skipIndex":0,"section_code":"gallery","featured_images":"7588623,5413337,5167557","id":154229,"singleSection":false});				  						galleries[162084] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Original watercolours","link":"gallery_162084.html","maxRecords":0.0,"photoIDs":[4266282.0,4266459.0,5166261.0,5166314.0,5199968.0,7573557.0,8891769.0,5199962.0,5199980.0,2531749.0,5199981.0,5199987.0,2531750.0,5199982.0,2531751.0,2531752.0,5199985.0,5199983.0,5199984.0,5199986.0,5199988.0,5199993.0,2531772.0,2531774.0,5166432.0,2531748.0],"skipIndex":0,"section_code":"gallery","featured_images":"8891769,7573557","id":162084,"singleSection":false});				  						galleries[190371] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Other Racing Scenes","link":"gallery_190371.html","maxRecords":0.0,"photoIDs":[2391843.0,2391858.0,3103113.0,3142142.0,3204994.0],"skipIndex":0,"section_code":"gallery","featured_images":2391858.0,"id":190371,"singleSection":false});				  						galleries[155329] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Our Commissions and Examples","link":"gallery_155329.html","maxRecords":0.0,"photoIDs":[2371504.0,2391892.0,2392185.0,2393246.0,2448559.0,2448564.0,3097514.0,3177050.0,3588598.0,3588611.0,4144435.0,4405959.0,4406033.0,4833714.0,2538130.0,2531789.0],"skipIndex":0,"section_code":"gallery","featured_images":"4144435,3097514,2448564","id":155329,"singleSection":false});				  						galleries[155443] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Polo","link":"gallery_155443.html","maxRecords":0.0,"photoIDs":[4821399.0,4821402.0,2448589.0,2448594.0,2448602.0,2391884.0,2391874.0],"skipIndex":0,"section_code":"gallery","featured_images":"4821402,4821399,2448602,2448594,2448589,2391884,2391874","id":155443,"singleSection":false});				  						galleries[276311] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Sea The Stars","link":"gallery_276311.html","maxRecords":0.0,"photoIDs":[4838611.0],"skipIndex":0,"section_code":"gallery","featured_images":4838611.0,"id":276311,"singleSection":false});				  						galleries[148920] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"St Moritz ","link":"gallery_148920.html","maxRecords":0.0,"photoIDs":[2265880.0,2391833.0,2392166.0,2448607.0,2448613.0,2448619.0],"skipIndex":0,"section_code":"gallery","featured_images":2448613.0,"id":148920,"singleSection":false});				  						galleries[148915] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Steeplechase Pardubice CZ","link":"gallery_148915.html","maxRecords":0.0,"photoIDs":[2265759.0,2265761.0,2265765.0,2265785.0,2265794.0,2391827.0,2391894.0,2392158.0,2448699.0],"skipIndex":0,"section_code":"gallery","featured_images":2265761.0,"id":148915,"singleSection":false});				  						galleries[163454] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"The Grand National","link":"gallery_163454.html","maxRecords":0.0,"photoIDs":[2391891.0,2448581.0,3603184.0,3922982.0,4833915.0,2564656.0],"skipIndex":0,"section_code":"gallery","featured_images":2448581.0,"id":163454,"singleSection":false});				  						galleries[478720] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"The Horse in War","link":"gallery_478720.html","maxRecords":0.0,"photoIDs":[9077270.0,9077493.0,9077547.0,9077773.0],"skipIndex":0,"section_code":"gallery","featured_images":9077493.0,"id":478720,"singleSection":false});				  						galleries[234944] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"The Music Score","link":"gallery_234944.html","maxRecords":0.0,"photoIDs":[4417306.0,4418008.0,4418029.0,4418043.0,4824830.0,4824996.0,4825002.0,4825022.0],"skipIndex":0,"section_code":"gallery","featured_images":4417306.0,"id":234944,"singleSection":false});				  						galleries[234890] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"RACING NOIR : the new series","link":"gallery_234890.html","maxRecords":0.0,"photoIDs":[3861708.0,3861807.0,7399748.0,7399806.0,7573630.0],"skipIndex":0,"section_code":"gallery","featured_images":7573630.0,"id":234890,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '8800904,8767478,7900549,7773443,7036935,5586400,5167557,2265608,2265602,2264632,8775736';
imageSets[2] = '9077493,8891769,8800904,7929560,7773443,7588623,7573630,7573557,5413337,5167557,4417306,4144435,3273901,3097514,3097143,2448613,2448581,2448564,2391858,2273536,2266726,2266360,2266194,2266113,2265761,2265602,2264808,8776109,8775766,8775736,2559164,8775678,8775570';
imageSets[3] = '9077773,9077547,9077493,9077270,9075823,8891769,8800904,8776109,8775789,8775766,8775736,8775710,8775692,8775678,8775652,8775570,8775524,8775505,8775490,8775461,8775428,8775382,8775364,8775319,8775307,8775264,8775252,8775239,8775192,8775106,8775092,8775085,8767478,7929560,7900549,7900143,7773443,7588650,7588623,7588553,7573630,7573557,7399806,7399748,7036964,7036935,5586461,5586400,5586371,5586171';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/dentsoriginals/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/dentsoriginals/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/dentsoriginals/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/dentsoriginals/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/dentsoriginals/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/dentsoriginals/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/dentsoriginals/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/dentsoriginals/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/dentsoriginals/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/dentsoriginals/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/dentsoriginals/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/dentsoriginals/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/dentsoriginals/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/dentsoriginals/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/dentsoriginals/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/dentsoriginals/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/dentsoriginals/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/dentsoriginals/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/dentsoriginals/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/dentsoriginals/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/dentsoriginals/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/dentsoriginals/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/dentsoriginals/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/dentsoriginals/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/dentsoriginals/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/dentsoriginals/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/dentsoriginals/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 = 'Dents Originals fine art: ' + 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="updateItemValues($(this.form).next(\'#paymentForm\')[0],this.form.payment_options_id.options[this.form.payment_options_id.options.selectedIndex].value);">';
		
		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" target="_blank" action="https://www.paypal.com/cgi-bin/webscr" method="post">';
			temp += '<input type="hidden" name="item_name" value="'+item_name+'">';
			ref = '';
			if(this.photo_ref != ''){
				ref = this.photo_ref+' - '+this.caption;
			}
			else{
				ref = this.id+' - '+this.caption;
			}
			price = amount;								temp += '<input type="hidden" name="cmd" value="_cart">';
					temp += '<input type="hidden" name="business" value="david.dent6@btinternet.com">';
					temp += '<input type="hidden" name="currency_code" value="GBP">';
					temp += '<input type="hidden" name="add" value="1">';
													temp += '<input type="hidden" name="amount" value="'+amount+'">';
					temp += '<input type="hidden" name="item_number" value="'+ref+'">';
													temp += '<input type=\"Submit\" value=\"Add to cart\" id=\"paymentAddButton\" class=\"button\" onmouseover=\"this.className=\'buttonHi\';\" onmouseout=\"this.className=\'button\';\">';
										temp += '</form>';
										temp += '<form id="paymentCartForm" style="margin:0px;" name="paymentCartForm" target="_blank" action="https://www.paypal.com/cgi-bin/webscr" method="post">';
				temp += '<input type="hidden" name="cmd" value="_cart">';
				temp += '<input type="hidden" name="business" value="david.dent6@btinternet.com">';
				temp += '<input type="hidden" name="display" value="1">';
				temp += '<input type=\"Submit\" value=\"View cart\" id=\"paymentViewButton\" class=\"button\" onmouseover=\"this.className=\'buttonHi\';\" onmouseout=\"this.className=\'button\';\">';
				temp += '</form>';
						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;
	}
}

			

