window.thumbnails = {};
															thumbnails[946676] = clik.newPhoto({"id":946676,"src":"largebeadcluster_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Long large bead cluster necklace","height":98});
															thumbnails[946779] = clik.newPhoto({"id":946779,"src":"smallbeadpendant1_thumb.JPG","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Small bead cluster necklace","height":98});
															thumbnails[2321238] = clik.newPhoto({"id":2321238,"src":"aliceinworkshop_thumb.JPG","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"","height":86});
															thumbnails[2745169] = clik.newPhoto({"id":2745169,"src":"finebeadedhoopwithsmalldrop_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Hoop earring with drop","height":98});
															thumbnails[2745182] = clik.newPhoto({"id":2745182,"src":"narrowbeadedhoopwithlargebeadeddrop_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Hoop earring with large drop","height":98});
															thumbnails[2745191] = clik.newPhoto({"id":2745191,"src":"widebeadedhoop+drop_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Wide beaded hoop with drop","height":98});
															thumbnails[3140274] = clik.newPhoto({"id":3140274,"src":"smokeyquartzwood_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Smokey Quartz and wooden bead necklace","height":173});
															thumbnails[3140277] = clik.newPhoto({"id":3140277,"src":"largewoodenpendant1_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Large wooden bead pendant","height":180});
															thumbnails[3140286] = clik.newPhoto({"id":3140286,"src":"largewoodenneck21_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Large wooden bead necklace with silver bead","height":173});
															thumbnails[3140313] = clik.newPhoto({"id":3140313,"src":"beadeder+wood_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Silver beaded earring with wooden bead","height":103});
															thumbnails[3163801] = clik.newPhoto({"id":3163801,"src":"boxes2_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Leather travel jewellery box","height":98});
															thumbnails[5653960] = clik.newPhoto({"id":5653960,"src":"hutwithpinkchairsmall_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Studio picture","height":98});
															thumbnails[5653962] = clik.newPhoto({"id":5653962,"src":"workshop1_thumb.JPG","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"","height":98});
															thumbnails[520054] = clik.newPhoto({"id":520054,"src":"earring02whtpl1_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Silver pebble studs with pearls","height":98});
															thumbnails[522427] = clik.newPhoto({"id":522427,"src":"earring041_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Silver pebble studs","height":98});
															thumbnails[946617] = clik.newPhoto({"id":946617,"src":"2062041550_ba886304c91_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Large silver oval pendant on ball chain","height":98});
															thumbnails[518744] = clik.newPhoto({"id":518744,"src":"neck04a_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Continuous mini pebble necklace","height":98});
															thumbnails[522432] = clik.newPhoto({"id":522432,"src":"neck09a1_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Small pebble on cord","height":98});
															thumbnails[1535054] = clik.newPhoto({"id":1535054,"src":"1511142354_e01575cbe2_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Silver ring with Moonstone","height":173});
															thumbnails[949628] = clik.newPhoto({"id":949628,"src":"2096840202_acf5ed0966_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Silver long lillie necklace with pearl cluster","height":98});
															thumbnails[1535050] = clik.newPhoto({"id":1535050,"src":"1511134438_4966631bba_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Silver & 18ct yellow Amethyst Ring","height":184});
															thumbnails[801399] = clik.newPhoto({"id":801399,"src":"jlewisring_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"3 stone silver ring","height":98});
															thumbnails[1535299] = clik.newPhoto({"id":1535299,"src":"1511150038_577ea05358_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Silver ring with Andean Opal","height":173});
															thumbnails[519865] = clik.newPhoto({"id":519865,"src":"unique05_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"9ct Gold necklace with flat double looped pebble and Amethyst drop.","height":98});
															thumbnails[1535297] = clik.newPhoto({"id":1535297,"src":"1511053368_147f244ee1_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Silver ring with Smokey Quartz","height":173});
															thumbnails[801407] = clik.newPhoto({"id":801407,"src":"LWilliams1_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"9ct red gold Ruby ring","height":98});
															thumbnails[519859] = clik.newPhoto({"id":519859,"src":"unique04_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"9ct gold necklace with Pink Tourmaline and Amethyst briolet","height":98});
															thumbnails[1789085] = clik.newPhoto({"id":1789085,"src":"julesring2_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Silver and 18ct gold ring with 3 diamonds","height":97});
															thumbnails[517279] = clik.newPhoto({"id":517279,"src":"earring02whtpl2_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Silver Pebble studs with drop","height":98});
															thumbnails[519979] = clik.newPhoto({"id":519979,"src":"earring04_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Silver pebble stud earrings","height":98});
															thumbnails[1646552] = clik.newPhoto({"id":1646552,"src":"2096058455_5770b9662a_thumb.jpg","galleries_id":62160,"server_id":1,"link":"photo_1646552.html","width":130,"caption":"Beaded Hoop earrings with drops","height":98});
															thumbnails[3140230] = clik.newPhoto({"id":3140230,"src":"collectionwoodenbrace_thumb.jpg","galleries_id":62160,"server_id":1,"link":"photo_3140230.html","width":130,"caption":"Wooden beaded bracelet with silver charm","height":98});
															thumbnails[5985264] = clik.newPhoto({"id":5985264,"src":"smallstudearringwithlargedrop_thumb.jpg","galleries_id":337268,"server_id":1,"link":"photo_5985264.html","width":130,"caption":"Silver small stud earring with drop","height":98});
															thumbnails[5985269] = clik.newPhoto({"id":5985269,"src":"smallandlargedropearring_thumb.jpg","galleries_id":337268,"server_id":1,"link":"photo_5985269.html","width":130,"caption":"Silver small and large drop earrings","height":98});
															thumbnails[5985274] = clik.newPhoto({"id":5985274,"src":"3sectionearrings_thumb.jpg","galleries_id":337268,"server_id":1,"link":"photo_5985274.html","width":130,"caption":"Silver long drop earrings","height":98});
															thumbnails[5985288] = clik.newPhoto({"id":5985288,"src":"braceletandtinystuddropearring_thumb.jpg","galleries_id":337268,"server_id":1,"link":"photo_5985288.html","width":130,"caption":"Silver pod bracelet ","height":98});
															thumbnails[5985297] = clik.newPhoto({"id":5985297,"src":"braceletwithtourmalines_thumb.jpg","galleries_id":337268,"server_id":1,"link":"photo_5985297.html","width":130,"caption":"Tourmaline and silver bracelet","height":98});
															thumbnails[5985301] = clik.newPhoto({"id":5985301,"src":"largestudwithaqua_thumb.jpg","galleries_id":337268,"server_id":1,"link":"photo_5985301.html","width":130,"caption":"Silver stud earring with Aquamarine ","height":98});
															thumbnails[5985311] = clik.newPhoto({"id":5985311,"src":"staronrubber_thumb.jpg","galleries_id":337268,"server_id":1,"link":"photo_5985311.html","width":130,"caption":"Silver star necklace on rubber necklace","height":98});
															thumbnails[6484007] = clik.newPhoto({"id":6484007,"src":"18ctyellowwhitetourmalinegrouprings_thumb.jpg","galleries_id":62159,"server_id":1,"link":"photo_6484007.html","width":130,"caption":"Tourmaline stacked rings","height":98});
															thumbnails[8741166] = clik.newPhoto({"id":8741166,"src":"beaded_bangles_thumb.jpg","galleries_id":172440,"server_id":1,"link":"photo_8741166.html","width":130,"caption":"Fine silver beaded bangle","height":98});
															thumbnails[8744091] = clik.newPhoto({"id":8744091,"src":"mediumpebbletinysilverbeads2_thumb.jpg","galleries_id":38595,"server_id":1,"link":"photo_8744091.html","width":130,"caption":"Silver bead necklace with medium pebble","height":98});
															thumbnails[8744092] = clik.newPhoto({"id":8744092,"src":"droppebbleonsilverbeads_thumb.jpg","galleries_id":38595,"server_id":1,"link":"photo_8744092.html","width":130,"caption":"Chunky pebble on silver nobbly beads","height":98});
															thumbnails[8744096] = clik.newPhoto({"id":8744096,"src":"new_beaded_ring_on_double_ball_chain_thumb.jpg","galleries_id":172440,"server_id":1,"link":"photo_8744096.html","width":130,"caption":"Silver beaded ring on blackened silver chain","height":98});
															thumbnails[517194] = clik.newPhoto({"id":517194,"src":"necklace01flo9ct2_thumb.jpg","galleries_id":40002,"server_id":1,"link":"photo_517194.html","width":130,"caption":"9ct link on snake with Flourite briolette","height":98});
															thumbnails[1535567] = clik.newPhoto({"id":1535567,"src":"2062045756_6133e9697c_thumb.jpg","galleries_id":40002,"server_id":1,"link":"photo_1535567.html","width":130,"caption":"Large silver twisted link necklace on cord","height":95});
															thumbnails[1789084] = clik.newPhoto({"id":1789084,"src":"diamond wave_thumb.JPG","galleries_id":395078,"server_id":1,"link":"photo_1789084.html","width":130,"caption":"18ct white gold ring with 10 diamonds","height":98});
															thumbnails[7419948] = clik.newPhoto({"id":7419948,"src":"tailoredwiderings_thumb.jpg","galleries_id":62159,"server_id":1,"link":"photo_7419948.html","width":130,"caption":"Wide silver rings with gold settings","height":98});
															thumbnails[7419987] = clik.newPhoto({"id":7419987,"src":"5goldrings18ctscattereddiamonds_thumb.jpg","galleries_id":395078,"server_id":1,"link":"photo_7419987.html","width":130,"caption":"18ct gold ring with scattered diamonds","height":98});
															thumbnails[7496449] = clik.newPhoto({"id":7496449,"src":"chunkywide18ctwhitewithtinyrings.med_thumb.jpg","galleries_id":395078,"server_id":1,"link":"photo_7496449.html","width":130,"caption":"Chunky 18ct white gold ring with scattered diamonds","height":98});
															thumbnails[7845781] = clik.newPhoto({"id":7845781,"src":"3banglespoddrops_thumb.jpg","galleries_id":337268,"server_id":1,"link":"photo_7845781.html","width":130,"caption":"Silver triple bangle with pod drops","height":98});
															thumbnails[7845788] = clik.newPhoto({"id":7845788,"src":"9ctbeadedoniollite_thumb.jpg","galleries_id":172440,"server_id":1,"link":"photo_7845788.html","width":130,"caption":"Iolite necklace with 9ct gold beaded drop","height":98});
															thumbnails[7845791] = clik.newPhoto({"id":7845791,"src":"beadedpebbleonrubber_thumb.jpg","galleries_id":172440,"server_id":1,"link":"photo_7845791.html","width":130,"caption":"Silver beaded and rubber bracelet","height":98});
															thumbnails[7845799] = clik.newPhoto({"id":7845799,"src":"beadedstudpearl_thumb.jpg","galleries_id":172440,"server_id":1,"link":"photo_7845799.html","width":130,"caption":"Beaded earring with pearl drop","height":98});
															thumbnails[7845819] = clik.newPhoto({"id":7845819,"src":"iolitedropnecklace_thumb.jpg","galleries_id":395076,"server_id":1,"link":"photo_7845819.html","width":130,"caption":"Iolite and gold necklace","height":98});
															thumbnails[7845831] = clik.newPhoto({"id":7845831,"src":"pebbledropearringswithpearl_thumb.jpg","galleries_id":38595,"server_id":1,"link":"photo_7845831.html","width":130,"caption":"Pebble studs with pearl drops","height":98});
															thumbnails[521178] = clik.newPhoto({"id":521178,"src":"earring029ctbrwpl_thumb.jpg","galleries_id":38595,"server_id":1,"link":"photo_521178.html","width":130,"caption":"9ct gold pebble studs with pearls","height":98});
															thumbnails[801310] = clik.newPhoto({"id":801310,"src":"01 large link bangle_thumb.JPG","galleries_id":40002,"server_id":1,"link":"photo_801310.html","width":130,"caption":"","height":86});
															thumbnails[946608] = clik.newPhoto({"id":946608,"src":"goldballwithoval2_thumb.jpg","galleries_id":62160,"server_id":1,"link":"photo_946608.html","width":130,"caption":"9ct gold small beaded oval pendant on ball chain","height":94});
															thumbnails[3341209] = clik.newPhoto({"id":3341209,"src":"tourmalinering3bands_thumb.jpg","galleries_id":395078,"server_id":1,"link":"photo_3341209.html","width":130,"caption":"18ct gold and Tourmaline ring","height":98});
															thumbnails[7845795] = clik.newPhoto({"id":7845795,"src":"beadedsquarecufflinks_thumb.jpg","galleries_id":172440,"server_id":1,"link":"photo_7845795.html","width":130,"caption":"Silver square beaded cufflinks","height":98});
															thumbnails[7845828] = clik.newPhoto({"id":7845828,"src":"pebblecontinuous_thumb.jpg","galleries_id":38595,"server_id":1,"link":"photo_7845828.html","width":130,"caption":"Continuous pebble necklace and bracelet","height":98});
															thumbnails[518798] = clik.newPhoto({"id":518798,"src":"neck08a_thumb.jpg","galleries_id":62160,"server_id":1,"link":"photo_518798.html","width":130,"caption":"Large pebble pendant on cord","height":98});
															thumbnails[1159849] = clik.newPhoto({"id":1159849,"src":"2096836196_8a9de47a0e_thumb.jpg","galleries_id":62160,"server_id":1,"link":"photo_1159849.html","width":130,"caption":"Silver small oval link with Amethyst drops","height":98});
															thumbnails[2747179] = clik.newPhoto({"id":2747179,"src":"rubyanddiamond_thumb.jpg","galleries_id":395078,"server_id":1,"link":"photo_2747179.html","width":130,"caption":"18ct red gold ring with Ruby and diamonds","height":98});
															thumbnails[7845803] = clik.newPhoto({"id":7845803,"src":"doublerowpodandbeadnecklace_thumb.jpg","galleries_id":337268,"server_id":1,"link":"photo_7845803.html","width":130,"caption":"Long bead bracelet with 50's pod spacers","height":98});
															thumbnails[7845834] = clik.newPhoto({"id":7845834,"src":"pebblestuds_thumb.jpg","galleries_id":38595,"server_id":1,"link":"photo_7845834.html","width":130,"caption":"Silver pebble studs","height":98});
															thumbnails[801315] = clik.newPhoto({"id":801315,"src":"02 small link bracelet_thumb.JPG","galleries_id":40002,"server_id":1,"link":"photo_801315.html","width":130,"caption":"","height":86});
															thumbnails[1131412] = clik.newPhoto({"id":1131412,"src":"pebble+cz1_thumb.jpg","galleries_id":62160,"server_id":1,"link":"photo_1131412.html","width":130,"caption":"Silver oval pebble necklace with set stone","height":98});
															thumbnails[1646551] = clik.newPhoto({"id":1646551,"src":"2062028026_777a914fbc_thumb.jpg","galleries_id":395076,"server_id":1,"link":"photo_1646551.html","width":130,"caption":"Green Garnet pendant set in 22ct yellow gold","height":173});
															thumbnails[2745185] = clik.newPhoto({"id":2745185,"src":"widebeaded_thumb.jpg","galleries_id":172440,"server_id":1,"link":"photo_2745185.html","width":130,"caption":"Wide beaded ring","height":98});
															thumbnails[7845811] = clik.newPhoto({"id":7845811,"src":"goldpodonblackenedsilverchain_thumb.jpg","galleries_id":337268,"server_id":1,"link":"photo_7845811.html","width":130,"caption":"Gold pod and silver necklace","height":98});
															thumbnails[7845814] = clik.newPhoto({"id":7845814,"src":"hooppodearring_thumb.jpg","galleries_id":337268,"server_id":1,"link":"photo_7845814.html","width":130,"caption":"Hoop and pod earrings","height":98});
															thumbnails[516879] = clik.newPhoto({"id":516879,"src":"ring 01_thumb.jpg","galleries_id":62159,"server_id":1,"link":"photo_516879.html","width":130,"caption":"2 organic rings, 18ct & silver","height":101});
															thumbnails[949618] = clik.newPhoto({"id":949618,"src":"2062041550_ba886304c9_thumb.jpg","galleries_id":62160,"server_id":1,"link":"photo_949618.html","width":130,"caption":"Beaded Large Oval pendant necklace","height":98});
															thumbnails[974364] = clik.newPhoto({"id":974364,"src":"goldbeadedhoop2_thumb.jpg","galleries_id":62160,"server_id":1,"link":"photo_974364.html","width":130,"caption":"9ct gold beaded hoop earring with drop","height":93});
															thumbnails[2745166] = clik.newPhoto({"id":2745166,"src":"finebaededring_thumb.jpg","galleries_id":172440,"server_id":1,"link":"photo_2745166.html","width":130,"caption":"Fine beaded ring","height":98});
															thumbnails[7845825] = clik.newPhoto({"id":7845825,"src":"mediumdroppebble_thumb.jpg","galleries_id":38595,"server_id":1,"link":"photo_7845825.html","width":130,"caption":"Silver chunky drop pebble on snake chain","height":98});
															thumbnails[7845837] = clik.newPhoto({"id":7845837,"src":"staronrubber_2AEAFD8C-1EC9-DFB6-09F84FA4BD758ABF_thumb.jpg","galleries_id":337268,"server_id":1,"link":"photo_7845837.html","width":130,"caption":"Silver pod star on rubber bracelet","height":98});
															thumbnails[517254] = clik.newPhoto({"id":517254,"src":"necklace03brw9ct_thumb.JPG","galleries_id":62160,"server_id":1,"link":"photo_517254.html","width":130,"caption":"9ct gold necklace with mini pebble, smokey quartz and pearls","height":86});
															thumbnails[530948] = clik.newPhoto({"id":530948,"src":"earring069ctbrwpl_thumb.jpg","galleries_id":62160,"server_id":1,"link":"photo_530948.html","width":130,"caption":"9ct gold mini link earrings with pearls","height":98});
															thumbnails[1159838] = clik.newPhoto({"id":1159838,"src":"2096830932_1f2a6ca3f3_thumb.jpg","galleries_id":40002,"server_id":1,"link":"photo_1159838.html","width":130,"caption":"Silver twisted link earrings with Amethyst beads","height":98});
															thumbnails[2745144] = clik.newPhoto({"id":2745144,"src":"beadedbangle_thumb.jpg","galleries_id":172440,"server_id":1,"link":"photo_2745144.html","width":130,"caption":"Silver beaded bangle ","height":98});
															thumbnails[2747261] = clik.newPhoto({"id":2747261,"src":"stacked rings_thumb.JPG","galleries_id":395076,"server_id":1,"link":"photo_2747261.html","width":130,"caption":"Silver, 18ct white and 18ct yellow stacked rings","height":98});
															thumbnails[521184] = clik.newPhoto({"id":521184,"src":"earring049ct_thumb.jpg","galleries_id":38595,"server_id":1,"link":"photo_521184.html","width":130,"caption":"9ct gold pebble studs","height":98});
															thumbnails[801350] = clik.newPhoto({"id":801350,"src":"2096837172_3fcc648c9c_thumb.jpg","galleries_id":62160,"server_id":1,"link":"photo_801350.html","width":130,"caption":"Solid drop pendant and earrings","height":98});
															thumbnails[2745152] = clik.newPhoto({"id":2745152,"src":"beadedpendantondoublecord_thumb.jpg","galleries_id":172440,"server_id":1,"link":"photo_2745152.html","width":130,"caption":"Beaded silver pendant","height":98});
															thumbnails[3140298] = clik.newPhoto({"id":3140298,"src":"Chunky rings2_thumb.jpg","galleries_id":62159,"server_id":1,"link":"photo_3140298.html","width":130,"caption":"Chunky rings","height":98});
															thumbnails[802578] = clik.newPhoto({"id":802578,"src":"05 brooch with bead_thumb.jpg","galleries_id":62160,"server_id":1,"link":"photo_802578.html","width":130,"caption":"","height":87});
															thumbnails[947028] = clik.newPhoto({"id":947028,"src":"2096840202_acf5ed09661_thumb.jpg","galleries_id":62160,"server_id":1,"link":"photo_947028.html","width":130,"caption":"Long Silver lillie pendant with pearl cluster","height":98});
															thumbnails[2745163] = clik.newPhoto({"id":2745163,"src":"continuousbeadednecklace_thumb.jpg","galleries_id":172440,"server_id":1,"link":"photo_2745163.html","width":130,"caption":"Continous beaded necklace","height":173});
															thumbnails[2747331] = clik.newPhoto({"id":2747331,"src":"gold pebble bracelet_thumb.JPG","galleries_id":38595,"server_id":1,"link":"photo_2747331.html","width":130,"caption":"9ct yellow gold mini pebble bracelet","height":173});
															thumbnails[949612] = clik.newPhoto({"id":949612,"src":"Linknecklace1_thumb.jpg","galleries_id":62160,"server_id":1,"link":"photo_949612.html","width":130,"caption":"Silver link necklace with set semi-precious stone","height":98});
															thumbnails[1535261] = clik.newPhoto({"id":1535261,"src":"1510887480_c5e0ad66861_thumb.jpg","galleries_id":62159,"server_id":1,"link":"photo_1535261.html","width":130,"caption":"Silver cluster rings with semi precious stones","height":173});
															thumbnails[2745174] = clik.newPhoto({"id":2745174,"src":"finebeadedbraceletoncord_thumb.jpg","galleries_id":172440,"server_id":1,"link":"photo_2745174.html","width":130,"caption":"Fine beaded bracelet","height":98});
															thumbnails[1535159] = clik.newPhoto({"id":1535159,"src":"1510769038_a3a2b0a1f3_thumb.jpg","galleries_id":62159,"server_id":1,"link":"photo_1535159.html","width":130,"caption":"Silver cluster rings","height":173});
															thumbnails[2745190] = clik.newPhoto({"id":2745190,"src":"widebeadedbraceletoncord_thumb.jpg","galleries_id":172440,"server_id":1,"link":"photo_2745190.html","width":130,"caption":"Wide beaded bracelet","height":98});
															thumbnails[1535043] = clik.newPhoto({"id":1535043,"src":"1510269231_ee5ab09131_thumb.jpg","galleries_id":62159,"server_id":1,"link":"photo_1535043.html","width":130,"caption":"Silver chunky wave ring","height":173});
															thumbnails[1535293] = clik.newPhoto({"id":1535293,"src":"1511011620_50c68a2058_thumb.jpg","galleries_id":62159,"server_id":1,"link":"photo_1535293.html","width":130,"caption":"18ct yellow rings","height":173});
															thumbnails[531248] = clik.newPhoto({"id":531248,"src":"earring06gar_thumb.jpg","galleries_id":62160,"server_id":1,"link":"photo_531248.html","width":130,"caption":"Mini link studs with semi precious drop","height":98});
															thumbnails[3140318] = clik.newPhoto({"id":3140318,"src":"beadedstud_thumb.jpg","galleries_id":172440,"server_id":1,"link":"photo_3140318.html","width":130,"caption":"Tiny silver beaded stud","height":98});
															thumbnails[519971] = clik.newPhoto({"id":519971,"src":"neck12_thumb.jpg","galleries_id":38595,"server_id":1,"link":"photo_519971.html","width":130,"caption":"Silver oval pebble drop necklace","height":86});
															thumbnails[2745156] = clik.newPhoto({"id":2745156,"src":"beadedstudwithbeadeddrop_thumb.jpg","galleries_id":62160,"server_id":1,"link":"photo_2745156.html","width":130,"caption":"Beaded stud with drop","height":98});
															thumbnails[964400] = clik.newPhoto({"id":964400,"src":"flatpebblependant_thumb.jpg","galleries_id":38595,"server_id":1,"link":"photo_964400.html","width":130,"caption":"Silver flat pebble with drop on snake","height":91});
															thumbnails[1535268] = clik.newPhoto({"id":1535268,"src":"1510992114_84c0f9871c_thumb.jpg","galleries_id":62160,"server_id":1,"link":"photo_1535268.html","width":130,"caption":"18ct yellow gold Emerald ring","height":173});
															thumbnails[518799] = clik.newPhoto({"id":518799,"src":"neck09a_thumb.jpg","galleries_id":38595,"server_id":1,"link":"photo_518799.html","width":130,"caption":"Small pebble pendant on cord","height":98});
															thumbnails[1535058] = clik.newPhoto({"id":1535058,"src":"1510299839_de73536ab1_thumb.jpg","galleries_id":62159,"server_id":1,"link":"photo_1535058.html","width":130,"caption":"Silver ring with 4 green tourmalines","height":130});
															thumbnails[519973] = clik.newPhoto({"id":519973,"src":"neck129ct_thumb.JPG","galleries_id":38595,"server_id":1,"link":"photo_519973.html","width":130,"caption":"9ct gold necklace with oval pebble ","height":86});
															thumbnails[801354] = clik.newPhoto({"id":801354,"src":"linkrings_thumb.JPG","galleries_id":40002,"server_id":1,"link":"photo_801354.html","width":130,"caption":"","height":173});
															thumbnails[519884] = clik.newPhoto({"id":519884,"src":"unique08_thumb.jpg","galleries_id":395078,"server_id":1,"link":"photo_519884.html","width":130,"caption":"9ct gold ring with green Tourmaline ","height":98});
															thumbnails[946647] = clik.newPhoto({"id":946647,"src":"smallovalpendantball_thumb.jpg","galleries_id":62160,"server_id":1,"link":"photo_946647.html","width":130,"caption":"Small oval pendant on fine ball chain","height":98});
															thumbnails[520830] = clik.newPhoto({"id":520830,"src":"unique09_thumb.jpg","galleries_id":395078,"server_id":1,"link":"photo_520830.html","width":130,"caption":"18ct gold ring with 5 diamonds","height":115});
															thumbnails[521185] = clik.newPhoto({"id":521185,"src":"neck119ctbrwpl_thumb.jpg","galleries_id":38595,"server_id":1,"link":"photo_521185.html","width":130,"caption":"9ct snake necklace with flat pebble and pearl","height":98});
															thumbnails[801388] = clik.newPhoto({"id":801388,"src":"Picture 051_thumb.jpg","galleries_id":395078,"server_id":1,"link":"photo_801388.html","width":130,"caption":"Diamond Ring","height":100});
															thumbnails[950646] = clik.newPhoto({"id":950646,"src":"2096062973_54515b24ce_thumb.jpg","galleries_id":62160,"server_id":1,"link":"photo_950646.html","width":130,"caption":"Long pebble on silver rope chain","height":98});
															thumbnails[1130893] = clik.newPhoto({"id":1130893,"src":"8stonering3_thumb.jpg","galleries_id":395076,"server_id":1,"link":"photo_1130893.html","width":130,"caption":"8 stone engagement ring and wedding band","height":92});
															thumbnails[950660] = clik.newPhoto({"id":950660,"src":"smalllinkonchain_thumb.jpg","galleries_id":40002,"server_id":1,"link":"photo_950660.html","width":130,"caption":"Silver small link pendant with drop","height":96});
															thumbnails[519765] = clik.newPhoto({"id":519765,"src":"unique02_thumb.jpg","galleries_id":62160,"server_id":1,"link":"photo_519765.html","width":130,"caption":"9ct gold necklace with Amethyst and Prehnite","height":98});
															thumbnails[520010] = clik.newPhoto({"id":520010,"src":"neck13per_thumb.JPG","galleries_id":62160,"server_id":1,"link":"photo_520010.html","width":130,"caption":"Mini link necklace with peridot","height":86});
															thumbnails[520827] = clik.newPhoto({"id":520827,"src":"cuff01_thumb.jpg","galleries_id":38595,"server_id":1,"link":"photo_520827.html","width":130,"caption":"Silver pebble cufflinks","height":98});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[337268] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"50's pattern","link":"gallery_337268.html","maxRecords":0.0,"photoIDs":[5985264.0,5985269.0,5985274.0,5985288.0,5985297.0,5985301.0,5985311.0,7845781.0,7845803.0,7845811.0,7845814.0,7845837.0],"skipIndex":0,"section_code":"gallery","featured_images":"7845837,7845814,7845811,7845803,7845781,5985311,5985301,5985288,5985274,5985264","id":337268,"singleSection":false});				  						galleries[172440] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Beaded","link":"gallery_172440.html","maxRecords":0.0,"photoIDs":[8741166.0,8744096.0,7845788.0,7845791.0,7845799.0,7845795.0,2745185.0,2745166.0,2745144.0,2745152.0,2745163.0,2745174.0,2745190.0,3140318.0],"skipIndex":0,"section_code":"gallery","featured_images":"8741166,7845799,7845795,7845791,7845788,3140318,2745190,2745185,2745174,2745166,2745152,2745144","id":172440,"singleSection":false});				  						galleries[38595] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Pebble","link":"gallery_38595.html","maxRecords":0.0,"photoIDs":[8744091.0,8744092.0,7845831.0,521178.0,7845828.0,7845834.0,7845825.0,521184.0,2747331.0,519971.0,964400.0,518799.0,519973.0,521185.0,520827.0],"skipIndex":0,"section_code":"gallery","featured_images":"8744092,7845834,7845831,7845828,7845825,2747331","id":38595,"singleSection":false});				  						galleries[40002] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Link","link":"gallery_40002.html","maxRecords":0.0,"photoIDs":[517194.0,1535567.0,801310.0,801315.0,1159838.0,801354.0,950660.0],"skipIndex":0,"section_code":"gallery","featured_images":"1535567,1159838,801354,801315,801310,517194","id":40002,"singleSection":false});				  						galleries[62159] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Rings ","link":"gallery_62159.html","maxRecords":0.0,"photoIDs":[6484007.0,7419948.0,516879.0,3140298.0,1535261.0,1535159.0,1535043.0,1535293.0,1535058.0],"skipIndex":0,"section_code":"gallery","featured_images":"7419948,6484007,3140298,1535293,1535261,1535159,1535058,1535043,516879","id":62159,"singleSection":false});				  						galleries[395076] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Wedding rings and unique pieces","link":"gallery_395076.html","maxRecords":0.0,"photoIDs":[7845819.0,1646551.0,2747261.0,1130893.0],"skipIndex":0,"section_code":"gallery","featured_images":"7845819,2747261,1646551,1130893","id":395076,"singleSection":false});				  						galleries[395078] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Commissions","link":"gallery_395078.html","maxRecords":0.0,"photoIDs":[1789084.0,7419987.0,7496449.0,3341209.0,2747179.0,519884.0,520830.0,801388.0],"skipIndex":0,"section_code":"gallery","featured_images":"7496449,7419987,3341209,2747179,519884","id":395078,"singleSection":false});				  						galleries[62160] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Archive","link":"gallery_62160.html","maxRecords":0.0,"photoIDs":[1646552.0,3140230.0,946608.0,518798.0,1159849.0,1131412.0,949618.0,974364.0,517254.0,530948.0,801350.0,802578.0,947028.0,949612.0,531248.0,2745156.0,1535268.0,946647.0,950646.0,519765.0,520010.0],"skipIndex":0,"section_code":"gallery","featured_images":"3140230,2745156,1646552,1535268,1159849,1131412,974364,949618,949612,947028,946608,802578,801350,530948,518798,517254","id":62160,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '8744092,6484007,5985311,5985301,5985288,5985274,5985264,7845819,7845791,7845788,7845781,7496449,7419987,7419948,1535567,517194,7845828,3341209,2747179,7845814,2745185,1646551,2745166,516879,2747261,2745144,3140298,2747331,2745174,1535261,2745190,1535159,2745156,949628';
imageSets[2] = '8744092,8741166,6484007,5985311,5985301,5985288,5985274,5985264,3140230,1646552,946676,7845831,7845819,7845799,7845791,7845788,7845781,7496449,7419987,7419948,1535567,520054,517194,7845828,7845795,3341209,946608,801310,7845834,7845803,2747179,1159849,518798,7845814,7845811,2745185,1646551,1131412,801315,7845837,7845825,2745166,974364,949618,516879,2747261,2745144,1159838,530948,517254,3140298,2745152,801350,2747331,947028,802578,2745174,1535261,949612,2745190,1535159,518744,1535293,1535043,3140318,2745156,949628,1535268,1535058,801354,519884,1130893';
imageSets[3] = '6484007';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/alicerobson/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/alicerobson/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/alicerobson/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/alicerobson/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/alicerobson/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/alicerobson/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/alicerobson/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/alicerobson/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/alicerobson/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/alicerobson/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/alicerobson/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/alicerobson/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/alicerobson/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/alicerobson/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/alicerobson/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/alicerobson/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/alicerobson/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/alicerobson/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/alicerobson/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/alicerobson/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/alicerobson/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/alicerobson/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/alicerobson/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/alicerobson/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/alicerobson/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/alicerobson/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/alicerobson/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 = 'Alice Robson: ' + 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>To buy this piece online:</p>';
				temp += '<form id="paymentOptions" style="margin:0px;border:0px;" name="paymentOptions">';
		 									temp += '<select class="paymentlink" name="payment_options_id" onchange="updateCartValue($(this.form).next(\'#paymentForm\')[0],this.form.payment_options_id.options[this.form.payment_options_id.options.selectedIndex].value); if(divShowing(\'paymentConfirm\')){fadeOut(\'paymentConfirm\', 3)};">';
		
		temp += getPaymentOptions(this.payment_groups_id);
		temp += '</select>';
		temp += '</form>';
				var item_option  = paymentGroups[this.payment_groups_id].options[0];
		if(paymentOptions[item_option]){
			var item_name  = paymentOptions[item_option].payment_option;
			var amount =  paymentOptions[item_option].price;
		}
			}
		else {
		
	}
	if (this.item_price !== '' || this.payment_groups_id !== '') {
											temp += '<form id="paymentForm" style="margin:0px;border:0px;" name="paymentForm">';
			temp += '	<input type="hidden" name="item_option" value="' + item_option + '">';
			temp += '	<input type="hidden" name="site" value="ALICEROBSON">';
			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;
	}
}

			

