window.thumbnails = {};
															thumbnails[5347251] = clik.newPhoto({"id":5347251,"src":"mockingbird_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"","height":77});
															thumbnails[8182291] = clik.newPhoto({"id":8182291,"src":"The_Ballet_lesson_RGB_thumb.jpg","galleries_id":469394,"server_id":5,"link":"photo_8182291.html","width":130,"caption":"THE BALLET LESSON","height":130});
															thumbnails[8915432] = clik.newPhoto({"id":8915432,"src":"Aquarium_4_thumb.jpg","galleries_id":468937,"server_id":5,"link":"photo_8915432.html","width":130,"caption":"FISH SHOP POSTER","height":130});
															thumbnails[8926970] = clik.newPhoto({"id":8926970,"src":"teapot4_thumb.jpg","galleries_id":468856,"server_id":5,"link":"photo_8926970.html","width":130,"caption":"MINT TEA","height":130});
															thumbnails[8931366] = clik.newPhoto({"id":8931366,"src":"corset_thumb.jpg","galleries_id":469762,"server_id":5,"link":"photo_8931366.html","width":130,"caption":"BREATHE IN, OUCH!","height":130});
															thumbnails[8183698] = clik.newPhoto({"id":8183698,"src":"after_the_wedding_thumb.jpg","galleries_id":469394,"server_id":5,"link":"photo_8183698.html","width":130,"caption":"AFTER THE WEDDING","height":130});
															thumbnails[8915435] = clik.newPhoto({"id":8915435,"src":"Fishies_thumb.jpg","galleries_id":468937,"server_id":5,"link":"photo_8915435.html","width":130,"caption":"FISH ","height":130});
															thumbnails[8926945] = clik.newPhoto({"id":8926945,"src":"teapot1_thumb.jpg","galleries_id":468856,"server_id":5,"link":"photo_8926945.html","width":130,"caption":"RED TEAPOT","height":130});
															thumbnails[8931370] = clik.newPhoto({"id":8931370,"src":"showtime_thumb.jpg","galleries_id":469762,"server_id":5,"link":"photo_8931370.html","width":130,"caption":"IT'S SHOWTIME! ","height":130});
															thumbnails[8182172] = clik.newPhoto({"id":8182172,"src":"laura_513395E9-1EC9-D45B-1CB3CB99F32DECB3_thumb.jpg","galleries_id":469394,"server_id":5,"link":"photo_8182172.html","width":130,"caption":"BALLERINA TYING POINTE SHOES","height":130});
															thumbnails[8915439] = clik.newPhoto({"id":8915439,"src":"KT-1_thumb.jpg","galleries_id":468937,"server_id":5,"link":"photo_8915439.html","width":130,"caption":"CLIMBING","height":130});
															thumbnails[8926979] = clik.newPhoto({"id":8926979,"src":"teapot3_thumb.jpg","galleries_id":468856,"server_id":5,"link":"photo_8926979.html","width":130,"caption":"RED FLOWER TEAPOT","height":130});
															thumbnails[8931365] = clik.newPhoto({"id":8931365,"src":"bombshell_thumb.jpg","galleries_id":469762,"server_id":5,"link":"photo_8931365.html","width":130,"caption":"DIZZY BLONDE BOMBSHELL","height":130});
															thumbnails[8175983] = clik.newPhoto({"id":8175983,"src":"3_ballerinas_CMYK_thumb.jpg","galleries_id":469394,"server_id":5,"link":"photo_8175983.html","width":130,"caption":"THREE BALLERINAS TYING POINTE SHOES","height":130});
															thumbnails[8915441] = clik.newPhoto({"id":8915441,"src":"ChezelBeach_thumb.jpg","galleries_id":468937,"server_id":5,"link":"photo_8915441.html","width":130,"caption":"CHESIL BEACH","height":129});
															thumbnails[8926955] = clik.newPhoto({"id":8926955,"src":"teapot2_thumb.jpg","galleries_id":468856,"server_id":5,"link":"photo_8926955.html","width":130,"caption":"BLACK FLOWER TEAPOT","height":132});
															thumbnails[8189597] = clik.newPhoto({"id":8189597,"src":"summer_walk_thumb.jpg","galleries_id":469394,"server_id":5,"link":"photo_8189597.html","width":130,"caption":"SUMMER WALK","height":130});
															thumbnails[8189602] = clik.newPhoto({"id":8189602,"src":"weeding_the_allotment_345x180_thumb.jpg","galleries_id":469396,"server_id":5,"link":"photo_8189602.html","width":130,"caption":"DOWN ON THE ALLOTMENT","height":130});
															thumbnails[8915447] = clik.newPhoto({"id":8915447,"src":"RedVeg_thumb.jpg","galleries_id":468937,"server_id":5,"link":"photo_8915447.html","width":130,"caption":"KITCHEN ALLOTMENT","height":130});
															thumbnails[8926930] = clik.newPhoto({"id":8926930,"src":"tea_thumb.jpg","galleries_id":468856,"server_id":5,"link":"photo_8926930.html","width":130,"caption":"TEA?","height":130});
															thumbnails[8931368] = clik.newPhoto({"id":8931368,"src":"golden_ticket_thumb.jpg","galleries_id":469762,"server_id":5,"link":"photo_8931368.html","width":130,"caption":"GOLDEN TICKET","height":130});
															thumbnails[8183694] = clik.newPhoto({"id":8183694,"src":"mother_and_baby_309X206_thumb.jpg","galleries_id":469394,"server_id":5,"link":"photo_8183694.html","width":130,"caption":"NEW BABY","height":130});
															thumbnails[8189603] = clik.newPhoto({"id":8189603,"src":"working_on_the_allotment_341x183__thumb.jpg","galleries_id":469396,"server_id":5,"link":"photo_8189603.html","width":130,"caption":"WORKING ON THE ALLOTMENT","height":130});
															thumbnails[8915452] = clik.newPhoto({"id":8915452,"src":"bristol_houses_2_2_thumb.jpg","galleries_id":468937,"server_id":5,"link":"photo_8915452.html","width":130,"caption":"THERE'S NO PLACE LIKE HOME","height":130});
															thumbnails[8926940] = clik.newPhoto({"id":8926940,"src":"tea_time_thumb.jpg","galleries_id":468856,"server_id":5,"link":"photo_8926940.html","width":130,"caption":"TEA TIME","height":130});
															thumbnails[8942340] = clik.newPhoto({"id":8942340,"src":"buffalo_girl_D15126B3-1EC9-DFB6-09DAF4324FBB6D58_thumb.jpg","galleries_id":469762,"server_id":5,"link":"photo_8942340.html","width":130,"caption":"BUFFALO GIRL","height":130});
															thumbnails[8183675] = clik.newPhoto({"id":8183675,"src":"GAR4_flying_a_kite_thumb.jpg","galleries_id":469396,"server_id":5,"link":"photo_8183675.html","width":130,"caption":"FLYING A KITE","height":130});
															thumbnails[8915457] = clik.newPhoto({"id":8915457,"src":"PearTree_thumb.jpg","galleries_id":468937,"server_id":5,"link":"photo_8915457.html","width":130,"caption":"PEAR TREE","height":130});
															thumbnails[8926985] = clik.newPhoto({"id":8926985,"src":"Vintage_french_postcards_thumb.jpg","galleries_id":468856,"server_id":5,"link":"photo_8926985.html","width":130,"caption":"VINTAGE FRENCH POSTCARDS","height":130});
															thumbnails[8931372] = clik.newPhoto({"id":8931372,"src":"hoochie_coochie_xmas_thumb.jpg","galleries_id":469397,"server_id":5,"link":"photo_8931372.html","width":130,"caption":"HOOCHIE-COOCHIE XMAS","height":130});
															thumbnails[9053498] = clik.newPhoto({"id":9053498,"src":"At_the_barre_thumb.jpg","galleries_id":469394,"server_id":5,"link":"photo_9053498.html","width":130,"caption":"At the barre","height":130});
															thumbnails[8914420] = clik.newPhoto({"id":8914420,"src":"GoodLife-1_thumb.jpg","galleries_id":468937,"server_id":5,"link":"photo_8914420.html","width":130,"caption":"THE GOOD LIFE","height":130});
															thumbnails[8926981] = clik.newPhoto({"id":8926981,"src":"time_flies_thumb.jpg","galleries_id":468856,"server_id":5,"link":"photo_8926981.html","width":130,"caption":"TIME FLIES","height":130});
															thumbnails[8931371] = clik.newPhoto({"id":8931371,"src":"trapeze_thumb.jpg","galleries_id":469762,"server_id":5,"link":"photo_8931371.html","width":130,"caption":"TRAPÈZE ARTISTE","height":130});
															thumbnails[9053683] = clik.newPhoto({"id":9053683,"src":"Ballet_rehearsal_thumb.jpg","galleries_id":469394,"server_id":5,"link":"photo_9053683.html","width":130,"caption":"The ballet rehearsal","height":130});
															thumbnails[8189601] = clik.newPhoto({"id":8189601,"src":"tea_in_the_park_312x230_thumb.jpg","galleries_id":469396,"server_id":5,"link":"photo_8189601.html","width":130,"caption":"TEA IN THE PARK","height":130});
															thumbnails[8915459] = clik.newPhoto({"id":8915459,"src":"IMG_8049_thumb.jpg","galleries_id":468937,"server_id":5,"link":"photo_8915459.html","width":130,"caption":"ALIENS","height":130});
															thumbnails[8926987] = clik.newPhoto({"id":8926987,"src":"Warm_spring_breeze_thumb.jpg","galleries_id":468856,"server_id":5,"link":"photo_8926987.html","width":130,"caption":"WARM SPRING BREEZE","height":130});
															thumbnails[8931369] = clik.newPhoto({"id":8931369,"src":"legs_thumb.jpg","galleries_id":469762,"server_id":5,"link":"photo_8931369.html","width":130,"caption":"BURLESQUE LEGS","height":130});
															thumbnails[9053690] = clik.newPhoto({"id":9053690,"src":"Striking_a_pose_thumb.jpg","galleries_id":469394,"server_id":5,"link":"photo_9053690.html","width":130,"caption":"Ballerina posing","height":130});
															thumbnails[8183658] = clik.newPhoto({"id":8183658,"src":"fishing_for_minnows_thumb.jpg","galleries_id":469396,"server_id":5,"link":"photo_8183658.html","width":130,"caption":"FISHING FOR MINNOWS","height":130});
															thumbnails[8913342] = clik.newPhoto({"id":8913342,"src":"chintz_with_bird_thumb.jpg","galleries_id":468856,"server_id":5,"link":"photo_8913342.html","width":130,"caption":"CHINTZ WITH BIRD","height":130});
															thumbnails[8915462] = clik.newPhoto({"id":8915462,"src":"Elephants_2_thumb.jpg","galleries_id":468937,"server_id":5,"link":"photo_8915462.html","width":130,"caption":"ELEPHANTS","height":130});
															thumbnails[9012847] = clik.newPhoto({"id":9012847,"src":"ooh_la_la_thumb.jpg","galleries_id":469762,"server_id":5,"link":"photo_9012847.html","width":130,"caption":"OOH LA LA!","height":130});
															thumbnails[9053695] = clik.newPhoto({"id":9053695,"src":"Tying_pointe_shoes_terracotta_thumb.jpg","galleries_id":469394,"server_id":5,"link":"photo_9053695.html","width":130,"caption":"Tying pointe shoes","height":130});
															thumbnails[8183680] = clik.newPhoto({"id":8183680,"src":"little_maltese_town_thumb.jpg","galleries_id":469396,"server_id":5,"link":"photo_8183680.html","width":130,"caption":"LITTLE MALTESE TOWN","height":130});
															thumbnails[8915467] = clik.newPhoto({"id":8915467,"src":"Cake3_thumb.jpg","galleries_id":468937,"server_id":5,"link":"photo_8915467.html","width":130,"caption":"SUGAR & SPICE","height":130});
															thumbnails[8926982] = clik.newPhoto({"id":8926982,"src":"tulipsx3_thumb.jpg","galleries_id":468856,"server_id":5,"link":"photo_8926982.html","width":130,"caption":"THREE TULIPS","height":130});
															thumbnails[8183687] = clik.newPhoto({"id":8183687,"src":"medina_malta_329X239_thumb.jpg","galleries_id":469396,"server_id":5,"link":"photo_8183687.html","width":130,"caption":"BUS STOP, MEDINA, MALTA","height":130});
															thumbnails[8915469] = clik.newPhoto({"id":8915469,"src":"Birds_2_thumb.jpg","galleries_id":468937,"server_id":5,"link":"photo_8915469.html","width":130,"caption":"LOVEBIRDS","height":131});
															thumbnails[8926907] = clik.newPhoto({"id":8926907,"src":"cup_and_candle_stick_thumb.jpg","galleries_id":468856,"server_id":5,"link":"photo_8926907.html","width":130,"caption":"CUP & CANDLESTICKS","height":130});
															thumbnails[8181811] = clik.newPhoto({"id":8181811,"src":"fishermen_gozo363x244_thumb.jpg","galleries_id":469396,"server_id":5,"link":"photo_8181811.html","width":130,"caption":"FISHERMEN RESTING, GOZO","height":130});
															thumbnails[8915474] = clik.newPhoto({"id":8915474,"src":"Fairy_thumb.jpg","galleries_id":468937,"server_id":5,"link":"photo_8915474.html","width":130,"caption":"FROLICKING FAIRIES","height":130});
															thumbnails[8926913] = clik.newPhoto({"id":8926913,"src":"robots_gather_thumb.jpg","galleries_id":468856,"server_id":5,"link":"photo_8926913.html","width":130,"caption":"ROBOTS GATHER","height":130});
															thumbnails[8181801] = clik.newPhoto({"id":8181801,"src":"catching_a_crab341x235_thumb.jpg","galleries_id":436621,"server_id":5,"link":"photo_8181801.html","width":130,"caption":"CATCHING A CRAB","height":130});
															thumbnails[8915479] = clik.newPhoto({"id":8915479,"src":"four_seasons_2_thumb.jpg","galleries_id":468937,"server_id":5,"link":"photo_8915479.html","width":130,"caption":"FAIRIES OF ALL SEASONS","height":130});
															thumbnails[8183676] = clik.newPhoto({"id":8183676,"src":"holding_hands_sunset327x238_thumb.jpg","galleries_id":436621,"server_id":5,"link":"photo_8183676.html","width":130,"caption":"HOLDING HANDS, POLZEATH","height":130});
															thumbnails[8915482] = clik.newPhoto({"id":8915482,"src":"KT-14_thumb.jpg","galleries_id":468937,"server_id":5,"link":"photo_8915482.html","width":130,"caption":"MY ANGEL","height":129});
															thumbnails[8182176] = clik.newPhoto({"id":8182176,"src":"Lyme_regis_thumb.jpg","galleries_id":436621,"server_id":5,"link":"photo_8182176.html","width":130,"caption":"BEACH HUTS, LYME REGIS","height":130});
															thumbnails[8181805] = clik.newPhoto({"id":8181805,"src":"child_washing_feet339x234_thumb.jpg","galleries_id":436621,"server_id":5,"link":"photo_8181805.html","width":130,"caption":"CHILD WASHING FEET","height":130});
															thumbnails[8181973] = clik.newPhoto({"id":8181973,"src":"gathering_seashells_thumb.jpg","galleries_id":436621,"server_id":5,"link":"photo_8181973.html","width":130,"caption":"GATHERING SEASHELLS","height":129});
															thumbnails[8202187] = clik.newPhoto({"id":8202187,"src":"jack_pipeline_THUMB.jpg","galleries_id":436621,"server_id":5,"link":"photo_8202187.html","width":130,"caption":"WATCHING THE SURFERS","height":130});
															thumbnails[8181978] = clik.newPhoto({"id":8181978,"src":"going_fishing_thumb.jpg","galleries_id":436621,"server_id":5,"link":"photo_8181978.html","width":130,"caption":"GOING FISHING, PORT ISAAC","height":130});
															thumbnails[8182250] = clik.newPhoto({"id":8182250,"src":"rockpool_308x215_thumb.jpg","galleries_id":436621,"server_id":5,"link":"photo_8182250.html","width":130,"caption":"ROCKPOOLING","height":130});
															thumbnails[8202169] = clik.newPhoto({"id":8202169,"src":"watching_the_tide_thumb.jpg","galleries_id":436621,"server_id":5,"link":"photo_8202169.html","width":130,"caption":"WATCHING THE TIDE","height":130});
															thumbnails[8182141] = clik.newPhoto({"id":8182141,"src":"issy_fowey_366X243_thumb.jpg","galleries_id":436621,"server_id":5,"link":"photo_8182141.html","width":130,"caption":"LOW TIDE, FOWEY","height":130});
															thumbnails[8181795] = clik.newPhoto({"id":8181795,"src":"beachcombing330x220_thumb.jpg","galleries_id":436621,"server_id":5,"link":"photo_8181795.html","width":130,"caption":"BEACHCOMBING","height":130});
															thumbnails[8182282] = clik.newPhoto({"id":8182282,"src":"summer_breeze_267x197_thumb.jpg","galleries_id":436621,"server_id":5,"link":"photo_8182282.html","width":130,"caption":"SUMMER BREEZE","height":130});
															thumbnails[8182273] = clik.newPhoto({"id":8182273,"src":"sisters2_thumb.jpg","galleries_id":436621,"server_id":5,"link":"photo_8182273.html","width":130,"caption":"SISTERS IN THE SEA","height":130});
															thumbnails[8183661] = clik.newPhoto({"id":8183661,"src":"footsteps_to_sea220x220_thumb.jpg","galleries_id":436621,"server_id":5,"link":"photo_8183661.html","width":130,"caption":"FOOTSTEPS TO THE SEA","height":130});
															thumbnails[8183634] = clik.newPhoto({"id":8183634,"src":"CHR3_snow_man_thumb.jpg","galleries_id":469397,"server_id":5,"link":"photo_8183634.html","width":130,"caption":"SNOWMAN (CHARITY CHRISTMAS)","height":130});
															thumbnails[8182178] = clik.newPhoto({"id":8182178,"src":"new_xmas_6_thumb.jpg","galleries_id":469397,"server_id":5,"link":"photo_8182178.html","width":130,"caption":"WAITING FOR SANTA (CHARITY CHRISTMAS)","height":130});
															thumbnails[8202270] = clik.newPhoto({"id":8202270,"src":"snow_man_THUMB.jpg","galleries_id":469397,"server_id":5,"link":"photo_8202270.html","width":130,"caption":"SNOWMAN'S SCARF (CHARITY CHRISTMAS)","height":130});
															thumbnails[8181809] = clik.newPhoto({"id":8181809,"src":"CHR1_snowgirl_thumb.jpg","galleries_id":469397,"server_id":5,"link":"photo_8181809.html","width":130,"caption":"SNOWGIRL (CHARITY CHRISTMAS)","height":130});
															thumbnails[8183653] = clik.newPhoto({"id":8183653,"src":"CHR4_tired_fairies_thumb.jpg","galleries_id":469397,"server_id":5,"link":"photo_8183653.html","width":130,"caption":"GRUMPY SNOW FAIRIES (CHARITY CHRISTMAS)","height":130});
															thumbnails[8183657] = clik.newPhoto({"id":8183657,"src":"CHR7_sledging_before_school_thumb.jpg","galleries_id":469397,"server_id":5,"link":"photo_8183657.html","width":130,"caption":"SLEDGING (CHARITY CHRISTMAS)","height":131});
															thumbnails[9012844] = clik.newPhoto({"id":9012844,"src":"bolero_thumb.jpg","galleries_id":469762,"server_id":5,"link":"photo_9012844.html","width":130,"caption":"BOLERO","height":130});
															thumbnails[5351475] = clik.newPhoto({"id":5351475,"src":"laura_thumb.jpg","galleries_id":301021,"server_id":5,"link":"photo_5351475.html","width":130,"caption":"GREETINGS CARD PRINTING SQUARE 140mm x 140mm  (80p each) ","height":130});
															thumbnails[5360097] = clik.newPhoto({"id":5360097,"src":"hp_scanDS_9102915718552_thumb.jpg","galleries_id":301021,"server_id":5,"link":"photo_5360097.html","width":130,"caption":"GREETINGS CARD PRINTING OBLONG 177mm x 127mm Portrait\/Landscape  (80p each)","height":130});
															thumbnails[8726926] = clik.newPhoto({"id":8726926,"src":"photograhing-art-01-web-150x140_thumb.jpg","galleries_id":301021,"server_id":5,"link":"photo_8726926.html","width":130,"caption":"Photography of artwork","height":130});
															thumbnails[5398853] = clik.newPhoto({"id":5398853,"src":"bluehand_500_6B064071-1EC9-D45B-1C041FAB872EF9E4_thumb.jpg","galleries_id":301021,"server_id":5,"link":"photo_5398853.html","width":130,"caption":"LIMITED EDITION GICLEE PRINTS £8.50 each","height":134});
															thumbnails[7850820] = clik.newPhoto({"id":7850820,"src":"starter_pack_thumb.jpg","galleries_id":301021,"server_id":5,"link":"photo_7850820.html","width":130,"caption":"STILL NOT CONVINCED? Why not try our starter pack £99","height":130});
															thumbnails[5624670] = clik.newPhoto({"id":5624670,"src":"GALLERY_GUIDES_thumb.jpg","galleries_id":301021,"server_id":5,"link":"photo_5624670.html","width":130,"caption":"BROCHURES, CATALOGUES, INVITATIONS, POSTCARDS, BUSINESS CARDS","height":130});
															thumbnails[5723393] = clik.newPhoto({"id":5723393,"src":"samplesite10_thumbjpg_thumb.jpg","galleries_id":301021,"server_id":5,"link":"photo_5723393.html","width":130,"caption":"Website design","height":91});
															thumbnails[8217293] = clik.newPhoto({"id":8217293,"src":"atticusfinch1_thumb.jpg","galleries_id":301021,"server_id":5,"link":"photo_8217293.html","width":130,"caption":"ANY QUESTIONS?","height":78});
															thumbnails[5351552] = clik.newPhoto({"id":5351552,"src":"fishermen_gozo_mediteranean_thumb.jpg","galleries_id":317914,"server_id":5,"link":"photo_5351552.html","width":130,"caption":"ROBERT ANTELL","height":130});
															thumbnails[6180630] = clik.newPhoto({"id":6180630,"src":"FSC_thumb.jpg","galleries_id":345241,"server_id":5,"link":"photo_6180630.html","width":130,"caption":"Forestry Stewardship Council","height":130});
															thumbnails[8357187] = clik.newPhoto({"id":8357187,"src":"toni_burrows_002_thumb.jpg","galleries_id":317914,"server_id":5,"link":"photo_8357187.html","width":130,"caption":"TONI BURROWS","height":130});
															thumbnails[5582731] = clik.newPhoto({"id":5582731,"src":"HAZEL_BLACK_thumb.jpg","galleries_id":317914,"server_id":5,"link":"photo_5582731.html","width":130,"caption":"HAZEL BLACK<br>\r\n","height":130});
															thumbnails[5779325] = clik.newPhoto({"id":5779325,"src":"hp_scanDS_103311501446_thumb.jpg","galleries_id":317914,"server_id":5,"link":"photo_5779325.html","width":130,"caption":"PENNY CLARK","height":125});
															thumbnails[6022867] = clik.newPhoto({"id":6022867,"src":"Maria_Bowers_thumb.jpg","galleries_id":317914,"server_id":5,"link":"photo_6022867.html","width":130,"caption":"MARIA BOWERS","height":130});
															thumbnails[6180708] = clik.newPhoto({"id":6180708,"src":"RECYCLE_LOGO_white_FILL_thumb.jpg","galleries_id":345241,"server_id":5,"link":"photo_6180708.html","width":130,"caption":"100% Re-cyclable","height":127});
															thumbnails[8727108] = clik.newPhoto({"id":8727108,"src":"IMG_9250_thumb.jpg","galleries_id":317914,"server_id":5,"link":"photo_8727108.html","width":130,"caption":"ESTHER BARTLETT","height":130});
															thumbnails[5351641] = clik.newPhoto({"id":5351641,"src":"AFlowerGirlPrint399x403_thumb.jpg","galleries_id":317914,"server_id":5,"link":"photo_5351641.html","width":130,"caption":"LAURA CRAMER","height":132});
															thumbnails[5398856] = clik.newPhoto({"id":5398856,"src":"DOORWAY_thumb.jpg","galleries_id":317914,"server_id":5,"link":"photo_5398856.html","width":130,"caption":"CHARLES BULBECK","height":130});
															thumbnails[6180709] = clik.newPhoto({"id":6180709,"src":"UNION_JACK_thumb.jpg","galleries_id":345241,"server_id":5,"link":"photo_6180709.html","width":130,"caption":"Printed in UK","height":130});
															thumbnails[7114219] = clik.newPhoto({"id":7114219,"src":"mary_collett_thumb.jpg","galleries_id":317914,"server_id":5,"link":"photo_7114219.html","width":130,"caption":"MARY COLLET","height":130});
															thumbnails[7745209] = clik.newPhoto({"id":7745209,"src":"caroline_casswell_thumb.jpg","galleries_id":317914,"server_id":5,"link":"photo_7745209.html","width":130,"caption":"CAROLINE CASSWELL","height":130});
															thumbnails[8727041] = clik.newPhoto({"id":8727041,"src":"sandy_cocks_4_thumb.jpg","galleries_id":317914,"server_id":5,"link":"photo_8727041.html","width":130,"caption":"SANDRA COCKS","height":130});
															thumbnails[5359995] = clik.newPhoto({"id":5359995,"src":"chirpy_chick_thumb.jpg","galleries_id":317914,"server_id":5,"link":"photo_5359995.html","width":130,"caption":"HELEN DUFALL","height":130});
															thumbnails[5779319] = clik.newPhoto({"id":5779319,"src":"Palace_Scene_thumb.jpg","galleries_id":317914,"server_id":5,"link":"photo_5779319.html","width":130,"caption":"DIANE DOBLE","height":130});
															thumbnails[6180711] = clik.newPhoto({"id":6180711,"src":"waste_bin_thumb.jpg","galleries_id":345241,"server_id":5,"link":"photo_6180711.html","width":130,"caption":"LESS WASTE","height":130});
															thumbnails[7745207] = clik.newPhoto({"id":7745207,"src":"Alison_gilleard_thumb.jpg","galleries_id":317914,"server_id":5,"link":"photo_7745207.html","width":130,"caption":"ALISON GILLEARD","height":130});
															thumbnails[5398859] = clik.newPhoto({"id":5398859,"src":"Sea_Pinks_thumb.jpg","galleries_id":317914,"server_id":5,"link":"photo_5398859.html","width":130,"caption":"SUSIE HARVEY","height":130});
															thumbnails[6567509] = clik.newPhoto({"id":6567509,"src":"N006L_thumb.jpg","galleries_id":317914,"server_id":5,"link":"photo_6567509.html","width":130,"caption":"CARRIE HITCHCOCK","height":130});
															thumbnails[7104935] = clik.newPhoto({"id":7104935,"src":"cliff_hanley_thumb.jpg","galleries_id":317914,"server_id":5,"link":"photo_7104935.html","width":130,"caption":"CLIFF HANLEY","height":130});
															thumbnails[7745213] = clik.newPhoto({"id":7745213,"src":"justnanco_brochure-1_thumb.jpg","galleries_id":317914,"server_id":5,"link":"photo_7745213.html","width":130,"caption":"JUSTNANCO FINE ART","height":130});
															thumbnails[8727117] = clik.newPhoto({"id":8727117,"src":"IMG_9217_thumb.jpg","galleries_id":317914,"server_id":5,"link":"photo_8727117.html","width":130,"caption":"TAMSIN JOHN","height":130});
															thumbnails[5360003] = clik.newPhoto({"id":5360003,"src":"hp_scanDS_910291571855_thumb.jpg","galleries_id":317914,"server_id":5,"link":"photo_5360003.html","width":130,"caption":"ROSALIND KING","height":130});
															thumbnails[5779321] = clik.newPhoto({"id":5779321,"src":"Giraffe_device-logo5-1pt_outline_thumb.jpg","galleries_id":317914,"server_id":5,"link":"photo_5779321.html","width":130,"caption":"MELINDA HOLOHAN","height":130});
															thumbnails[6022853] = clik.newPhoto({"id":6022853,"src":"johyam_reef_thumb.jpg","galleries_id":317914,"server_id":5,"link":"photo_6022853.html","width":130,"caption":"JO HYAM","height":130});
															thumbnails[7104940] = clik.newPhoto({"id":7104940,"src":"jemima_lumley_thumb.jpg","galleries_id":317914,"server_id":5,"link":"photo_7104940.html","width":130,"caption":"JEMIMA LUMLEY","height":130});
															thumbnails[7745215] = clik.newPhoto({"id":7745215,"src":"hilary_finch_thumb.jpg","galleries_id":317914,"server_id":5,"link":"photo_7745215.html","width":130,"caption":"HILARY FINCH","height":130});
															thumbnails[8727956] = clik.newPhoto({"id":8727956,"src":"CK0049_001_thumb.jpg","galleries_id":317914,"server_id":5,"link":"photo_8727956.html","width":130,"caption":"CARMEL KING","height":130});
															thumbnails[5398855] = clik.newPhoto({"id":5398855,"src":"chick_004_thumb.jpg","galleries_id":317914,"server_id":5,"link":"photo_5398855.html","width":130,"caption":"DENISE LONSDALE","height":130});
															thumbnails[7114218] = clik.newPhoto({"id":7114218,"src":"kathy_luders_lilies_thumb.jpg","galleries_id":317914,"server_id":5,"link":"photo_7114218.html","width":130,"caption":"KATHY LUDERS","height":130});
															thumbnails[5352550] = clik.newPhoto({"id":5352550,"src":"bluehand_500_thumb.jpg","galleries_id":317914,"server_id":5,"link":"photo_5352550.html","width":130,"caption":"NELL NILE","height":134});
															thumbnails[5363796] = clik.newPhoto({"id":5363796,"src":"marivi_thumb.jpg","galleries_id":317914,"server_id":5,"link":"photo_5363796.html","width":130,"caption":"MARIVI O'LEARY","height":130});
															thumbnails[6567513] = clik.newPhoto({"id":6567513,"src":"anthony_rowe_night_2_thumb.jpg","galleries_id":317914,"server_id":5,"link":"photo_6567513.html","width":130,"caption":"ANTHONY ROWE","height":130});
															thumbnails[5363762] = clik.newPhoto({"id":5363762,"src":"CHARLOTTE_HARRIS_Japanese_lanterns_thumb.jpg","galleries_id":317914,"server_id":5,"link":"photo_5363762.html","width":130,"caption":"CHARLOTTE ROSE-HARRIS","height":130});
															thumbnails[5630882] = clik.newPhoto({"id":5630882,"src":"Daisy_thumb.jpg","galleries_id":317914,"server_id":5,"link":"photo_5630882.html","width":130,"caption":"LAURA PUGH","height":130});
															thumbnails[5360007] = clik.newPhoto({"id":5360007,"src":"When_the_Deep_Purple_Falls_thumb.jpg","galleries_id":317914,"server_id":5,"link":"photo_5360007.html","width":130,"caption":"NORMA ROWE","height":130});
															thumbnails[6022806] = clik.newPhoto({"id":6022806,"src":"di_scott12_thumb.jpg","galleries_id":317914,"server_id":5,"link":"photo_6022806.html","width":130,"caption":"DI SCOTT","height":130});
															thumbnails[6164346] = clik.newPhoto({"id":6164346,"src":"Ride_att_thumb.jpg","galleries_id":317914,"server_id":5,"link":"photo_6164346.html","width":130,"caption":"FRANKIE PARTRIDGE","height":130});
															thumbnails[5363763] = clik.newPhoto({"id":5363763,"src":"kate_tarling_thumb.jpg","galleries_id":317914,"server_id":5,"link":"photo_5363763.html","width":130,"caption":"KATE TARLING","height":130});
															thumbnails[7104939] = clik.newPhoto({"id":7104939,"src":"www.alisonthomas.com_thumb.jpg","galleries_id":317914,"server_id":5,"link":"photo_7104939.html","width":130,"caption":"ALISON THOMAS","height":130});
															thumbnails[8625840] = clik.newPhoto({"id":8625840,"src":"jess_townsend_thumb.jpg","galleries_id":317914,"server_id":5,"link":"photo_8625840.html","width":130,"caption":"JESS TOWNSEND","height":130});
															thumbnails[5363797] = clik.newPhoto({"id":5363797,"src":"theo_thumb.jpg","galleries_id":317914,"server_id":5,"link":"photo_5363797.html","width":130,"caption":"THEO WOOD","height":130});
															thumbnails[5498309] = clik.newPhoto({"id":5498309,"src":"Wallace_gromit_thumb.jpg","galleries_id":317914,"server_id":5,"link":"photo_5498309.html","width":130,"caption":"Wallace & Gromit's Grand Appeal","height":130});
															thumbnails[7745216] = clik.newPhoto({"id":7745216,"src":"emma-jane_yon_thumb.jpg","galleries_id":317914,"server_id":5,"link":"photo_7745216.html","width":130,"caption":"EMMA-JANE YON","height":130});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[469762] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"ROBERT ANTELL (VINTAGE & BURLESQUE)","link":"section524452_469762.html","maxRecords":0.0,"photoIDs":[8931366.0,8931370.0,8931365.0,8931368.0,8942340.0,8931371.0,8931369.0,9012847.0,9012844.0],"skipIndex":0,"section_code":"section524452","featured_images":8931366.0,"id":469762,"singleSection":false});				  						galleries[317914] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"GALLERY","link":"section381134.html","maxRecords":0.0,"photoIDs":[5351552.0,8357187.0,5582731.0,5779325.0,6022867.0,8727108.0,5351641.0,5398856.0,7114219.0,7745209.0,8727041.0,5359995.0,5779319.0,7745207.0,5398859.0,6567509.0,7104935.0,7745213.0,8727117.0,5360003.0,5779321.0,6022853.0,7104940.0,7745215.0,8727956.0,5398855.0,7114218.0,5352550.0,5363796.0,6567513.0,5363762.0,5630882.0,5360007.0,6022806.0,6164346.0,5363763.0,7104939.0,8625840.0,5363797.0,5498309.0,7745216.0],"skipIndex":0,"section_code":"section381134","featured_images":"8727956,8727117,8727108,8727041,8625840,8357187,7745216,7745215,7745213,7745209","id":317914,"singleSection":true});				  						galleries[469394] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"ROBERT ANTELL (PRETTY THINGS)","link":"section524452_469394.html","maxRecords":0.0,"photoIDs":[8182291.0,8183698.0,8182172.0,8175983.0,8189597.0,8183694.0,9053498.0,9053683.0,9053690.0,9053695.0],"skipIndex":0,"section_code":"section524452","featured_images":"8189597,8175983","id":469394,"singleSection":false});				  						galleries[436621] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"ROBERT ANTELL (SEASHORE)","link":"section524452_436621.html","maxRecords":0.0,"photoIDs":[8181801.0,8183676.0,8182176.0,8181805.0,8181973.0,8202187.0,8181978.0,8182250.0,8202169.0,8182141.0,8181795.0,8182282.0,8182273.0,8183661.0],"skipIndex":0,"section_code":"section524452","featured_images":8181978.0,"id":436621,"singleSection":false});				  						galleries[345241] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"ENVIRONMENT","link":"section412447.html","maxRecords":0.0,"photoIDs":[6180630.0,6180708.0,6180709.0,6180711.0],"skipIndex":0,"section_code":"section412447","featured_images":6180630.0,"id":345241,"singleSection":true});				  						galleries[469396] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"ROBERT ANTELL (PLACES & PEOPLE)","link":"section524452_469396.html","maxRecords":0.0,"photoIDs":[8189602.0,8189603.0,8183675.0,8189601.0,8183658.0,8183680.0,8183687.0,8181811.0],"skipIndex":0,"section_code":"section524452","featured_images":"8189603,8189602,8189601,8183687,8183680,8183675,8183658,8181811","id":469396,"singleSection":false});				  						galleries[469397] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"ROBERT ANTELL (CHRISTMAS)","link":"section524452_469397.html","maxRecords":0.0,"photoIDs":[8931372.0,8183634.0,8182178.0,8202270.0,8181809.0,8183653.0,8183657.0],"skipIndex":0,"section_code":"section524452","featured_images":8181809.0,"id":469397,"singleSection":false});				  						galleries[468856] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"NELL NILE","link":"section524452_468856.html","maxRecords":0.0,"photoIDs":[8926970.0,8926945.0,8926979.0,8926955.0,8926930.0,8926940.0,8926985.0,8926981.0,8926987.0,8913342.0,8926982.0,8926907.0,8926913.0],"skipIndex":0,"section_code":"section524452","featured_images":8913342.0,"id":468856,"singleSection":false});				  						galleries[468937] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"KATE TARLING","link":"section524452_468937.html","maxRecords":0.0,"photoIDs":[8915432.0,8915435.0,8915439.0,8915441.0,8915447.0,8915452.0,8915457.0,8914420.0,8915459.0,8915462.0,8915467.0,8915469.0,8915474.0,8915479.0,8915482.0],"skipIndex":0,"section_code":"section524452","featured_images":8914420.0,"id":468937,"singleSection":false});				  						galleries[301021] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"ARTIST'S SERVICES","link":"gallery.html","maxRecords":0.0,"photoIDs":[5351475.0,5360097.0,8726926.0,5398853.0,7850820.0,5624670.0,5723393.0,8217293.0],"skipIndex":0,"section_code":"gallery","featured_images":7850820.0,"id":301021,"singleSection":true});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '5347251';
imageSets[2] = '5347251,8931366,6180630,8175983,7850820,8189597,8914420,8913342,8181978,8181809';
imageSets[3] = '9053695,9053690,9053683,9053498,9012847,9012844,8942340,8931372,8931371,8931370,8931369,8931368,8931366,8931365,8926987,8926985,8926982,8926981,8926979,8926970,8926955,8926945,8926940,8926930,8926913,8926907,8915482,8915479,8915474,8915469,8915467,8915462,8915459,8915457,8915452,8915447,8915441,8915439,8915435,8915432,8914420,8913342,8727956,8727117,8727108,8727041,8726926,8625840,8357187,8217293';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/robertantell/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/robertantell/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/robertantell/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/robertantell/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/robertantell/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/robertantell/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/robertantell/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/robertantell/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/robertantell/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/robertantell/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/robertantell/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/robertantell/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/robertantell/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/robertantell/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/robertantell/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/robertantell/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/robertantell/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/robertantell/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/robertantell/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/robertantell/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/robertantell/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/robertantell/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/robertantell/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/robertantell/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/robertantell/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/robertantell/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/robertantell/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 += 'section524452.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 && 'section524452' != '') {
					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 = 'the Mockingbird Press: ' + 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>Artist: </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>Purchase card(s) now:</p>';
				temp += '<form id="paymentOptions" style="margin:0px;border:0px;" name="paymentOptions">';
		 									temp += '<select class="paymentlink" name="payment_options_id" onchange="updateCartValue($(this.form).next(\'#paymentForm\')[0],this.form.payment_options_id.options[this.form.payment_options_id.options.selectedIndex].value); if(divShowing(\'paymentConfirm\')){fadeOut(\'paymentConfirm\', 3)};">';
		
		temp += getPaymentOptions(this.payment_groups_id);
		temp += '</select>';
		temp += '</form>';
				var item_option  = paymentGroups[this.payment_groups_id].options[0];
		if(paymentOptions[item_option]){
			var item_name  = paymentOptions[item_option].payment_option;
			var amount =  paymentOptions[item_option].price;
		}
			}
		else {
		
	}
	if (this.item_price !== '' || this.payment_groups_id !== '') {
											temp += '<form id="paymentForm" style="margin:0px;border:0px;" name="paymentForm">';
			temp += '	<input type="hidden" name="item_option" value="' + item_option + '">';
			temp += '	<input type="hidden" name="site" value="ROBERTANTELL">';
			temp += '	<input type="hidden" name="item_number" value="'+ this.id +'">';
			temp += '	<input type="hidden" name="quantity" value="1">';
						temp += '	<input value="Add to cart" id="paymentAddButton" class="button" onmouseover="this.className=\'buttonHi\'\;" onmouseout="this.className=\'button\'\;" type="Button">';
							temp += '	<input value="View cart" id="paymentViewButton" class="button" onmouseover="this.className=\'buttonHi\';" onmouseout="this.className=\'button\';" type="Button" onclick="javascript:window.location=\'cart.html\'">';
			temp += '</form>';
						temp += '<div class="clearing">&nbsp;</div>';
			temp += '<div id="confirmContainer">';
			temp += '<div id="paymentConfirm">Item added to cart</div>';
			temp += '</div>';
			temp += '<div class="clearing">&nbsp;</div>';
	}
	return temp;};

/***************************************************************************
* Pick a photo at random from the featured images of a gallery.            *
* Gallery_id = id of gallery to choose,                                    *
* img = reference to html image in                                         *
* which to show image                                                      *
***************************************************************************/
function showGalleryImage(gallery_id, img, updateLink) {
	
	if(img){
		if (location.hash.match('galleries_id=' + gallery_id) && (imageID = location.hash.match('.*photos_id=(.+)$'))) {
		  	imageID = imageID[1];
		} else {
		  	imageID = randomListVal(galleries[gallery_id].featured_images);
		}
		
		if (imageID != 0) {
			img.src = thumbnails[imageID].src;
			img.width = thumbnails[imageID].width;
			img.height = thumbnails[imageID].height;
			img.alt = galleries[gallery_id].title;
			if (updateLink) {
				$(img).parent().attr({					title: galleries[gallery_id].title				}).filter(function(){return this.href;}).attr({					href: thumbnails[imageID].fnGalleryLink(gallery_id)				});
			}
		}
	}
}

/***************************************************************************
* If we have dynamic HTML, replace the galleries link with a list that     *
* doesn't include thecurrent gallery                                       *
***************************************************************************/
function showGalleries(gallery_id) {
		
	
	if (!basic) {
		temp = '';
		for (i = 0; i < galleries.length; i++) {
						
			
			if (galleries[i].id != gallery_id) {
								
				if (temp != '') {
					temp += ' | ';
				}
								temp += '<a href="' + galleries[i].section_code + '_' + galleries[i].id + '.html">' + galleries[i].title + '</a>';
							}
		}
		document.all.galleryLinks.innerHTML = 'Other galleries: ' + temp;
	}
}

			

