window.thumbnails = {};
															thumbnails[9080396] = clik.newPhoto({"id":9080396,"src":"5_03D075BB-1EC9-DFB6-09FCEAEA6443EC51_thumb.jpg","galleries_id":478884,"server_id":1,"link":"photo_9080396.html","width":130,"caption":"Ooh La Laaaaaaaaa","height":195});
															thumbnails[8982619] = clik.newPhoto({"id":8982619,"src":"KAMARA_1058_PRINT_USE_thumb.jpg","galleries_id":245445,"server_id":1,"link":"photo_8982619.html","width":130,"caption":"","height":195});
															thumbnails[8983105] = clik.newPhoto({"id":8983105,"src":"LEONIE_2123_PRINT_USE_thumb.jpg","galleries_id":245445,"server_id":1,"link":"photo_8983105.html","width":130,"caption":"","height":195});
															thumbnails[8924268] = clik.newPhoto({"id":8924268,"src":"MONTAGE_8_thumb.jpg","galleries_id":245445,"server_id":1,"link":"photo_8924268.html","width":130,"caption":"","height":241});
															thumbnails[8770476] = clik.newPhoto({"id":8770476,"src":"BBH_COVER_900_thumb.jpg","galleries_id":381756,"server_id":1,"link":"photo_8770476.html","width":130,"caption":"Full makeover shoot for Black Beauty & Hair magazine an inside feature of actress Kathryn Drysdale","height":185});
															thumbnails[8770487] = clik.newPhoto({"id":8770487,"src":"BBH_INSIDE_CONTENTS_900_thumb.jpg","galleries_id":381756,"server_id":1,"link":"photo_8770487.html","width":130,"caption":"Full makeover shoot for Black Beauty & Hair magazine an inside feature of actress Kathryn Drysdale","height":195});
															thumbnails[8771307] = clik.newPhoto({"id":8771307,"src":"BBH_PART_1_900_thumb.jpg","galleries_id":381756,"server_id":1,"link":"photo_8771307.html","width":130,"caption":"Full makeover shoot for Black Beauty & Hair magazine of actress Kathryn Drysdale","height":190});
															thumbnails[8771309] = clik.newPhoto({"id":8771309,"src":"BBH_PART_2_SCAN_900_thumb.jpg","galleries_id":381756,"server_id":1,"link":"photo_8771309.html","width":130,"caption":"Full makeover shoot for Black Beauty & Hair magazine of actress Kathryn Drysdale","height":181});
															thumbnails[8301001] = clik.newPhoto({"id":8301001,"src":"MONTAGE_MASTER_thumb.jpg","galleries_id":441581,"server_id":1,"link":"photo_8301001.html","width":130,"caption":"","height":130});
															thumbnails[6281134] = clik.newPhoto({"id":6281134,"src":"WATERFALL_7369_thumb.jpg","galleries_id":154562,"server_id":1,"link":"photo_6281134.html","width":130,"caption":"Dumfries waterfall","height":195});
															thumbnails[9021909] = clik.newPhoto({"id":9021909,"src":"reggae_thumb.gif","galleries_id":245445,"server_id":1,"link":"photo_9021909.html","width":84,"caption":"","height":72});
															thumbnails[9081339] = clik.newPhoto({"id":9081339,"src":"PLAYING_CARD_CHARLIE_CLIFT_A_thumb.jpg","galleries_id":478758,"server_id":1,"link":"photo_9081339.html","width":130,"caption":"Playing Cards","height":87});
															thumbnails[9004156] = clik.newPhoto({"id":9004156,"src":"ANDY_CLIKPIC_1_thumb.jpg","galleries_id":474278,"server_id":1,"link":"photo_9004156.html","width":130,"caption":"Demur fashion front cover","height":185});
															thumbnails[8777490] = clik.newPhoto({"id":8777490,"src":"FASHION_STUDIO_IAN_HOWARD_BBH_1_thumb.jpg","galleries_id":245445,"server_id":1,"link":"photo_8777490.html","width":130,"caption":"","height":229});
															thumbnails[8644835] = clik.newPhoto({"id":8644835,"src":"1A_20E2D737-1E4F-37DC-71D5C35B50D7E283_thumb.jpg","galleries_id":333631,"server_id":1,"link":"photo_8644835.html","width":130,"caption":"","height":194});
															thumbnails[8302697] = clik.newPhoto({"id":8302697,"src":"1_CD8B08D3-24E8-5EC4-4FEB13878EFAA501_thumb.jpg","galleries_id":221805,"server_id":1,"link":"photo_8302697.html","width":130,"caption":"Shades of Black.....","height":225});
															thumbnails[8196262] = clik.newPhoto({"id":8196262,"src":"1a_607A4D55-1EC9-D45B-1C67A4754CB9B4F6_thumb.jpg","galleries_id":154559,"server_id":1,"link":"photo_8196262.html","width":130,"caption":"","height":191});
															thumbnails[8199949] = clik.newPhoto({"id":8199949,"src":"SHEMS_1_628CD3E4-1EC9-D45B-1CFC8412C0F3DE5B_thumb.jpg","galleries_id":278213,"server_id":1,"link":"photo_8199949.html","width":130,"caption":"Head of State.....","height":199});
															thumbnails[8183138] = clik.newPhoto({"id":8183138,"src":"BAND_2A_thumb.jpg","galleries_id":253941,"server_id":1,"link":"photo_8183138.html","width":130,"caption":"Red Time rock band poster promo shoot.....","height":92});
															thumbnails[8183236] = clik.newPhoto({"id":8183236,"src":"1F_thumb.jpg","galleries_id":154620,"server_id":1,"link":"photo_8183236.html","width":130,"caption":"Summertime when the flowers Bloom.....","height":195});
															thumbnails[8183489] = clik.newPhoto({"id":8183489,"src":"1_3A82AC7D-1EC9-DFB6-09D20442F053320B_thumb.jpg","galleries_id":381756,"server_id":1,"link":"photo_8183489.html","width":130,"caption":"My 1st front cover publication Queen Elizabeth shoot www.luminestyle.com an online Fashion and Lifestyle magazine front cover is from November 2010","height":170});
															thumbnails[8176538] = clik.newPhoto({"id":8176538,"src":"1A_thumb.jpg","galleries_id":333773,"server_id":1,"link":"photo_8176538.html","width":130,"caption":"Cardiovascular Training.....","height":195});
															thumbnails[8140201] = clik.newPhoto({"id":8140201,"src":"1_9936437F-1EC9-DFB6-095ABA1DCF58547F_thumb.jpg","galleries_id":149899,"server_id":1,"link":"photo_8140201.html","width":130,"caption":" Feathers and great Legs.....","height":195});
															thumbnails[8133244] = clik.newPhoto({"id":8133244,"src":"1_5CDD36E6-1EC9-DFB6-09B85020F2947E04_thumb.jpg","galleries_id":274278,"server_id":1,"link":"photo_8133244.html","width":130,"caption":"Asian Bridal part 1.....","height":195});
															thumbnails[8134263] = clik.newPhoto({"id":8134263,"src":"1_238CC07B-1EC9-D45B-1CB04E3CBA1C266F_thumb.jpg","galleries_id":237821,"server_id":1,"link":"photo_8134263.html","width":130,"caption":"Urban fashion in the City.....","height":196});
															thumbnails[8128008] = clik.newPhoto({"id":8128008,"src":"GOLDIE24_NINA___500_thumb.jpg","galleries_id":237649,"server_id":1,"link":"photo_8128008.html","width":130,"caption":"A burst of Summer Fashion.....","height":195});
															thumbnails[6346008] = clik.newPhoto({"id":6346008,"src":"KAT_MASTER_thumb.jpg","galleries_id":441581,"server_id":1,"link":"photo_6346008.html","width":130,"caption":"","height":393});
															thumbnails[3785206] = clik.newPhoto({"id":3785206,"src":"GS_3491_D_600_thumb.jpg","galleries_id":237832,"server_id":1,"link":"photo_3785206.html","width":130,"caption":"Latino babe and her Man","height":193});
															thumbnails[2905522] = clik.newPhoto({"id":2905522,"src":"Monkey Business (500)_thumb.jpg","galleries_id":154562,"server_id":1,"link":"photo_2905522.html","width":130,"caption":"Monkey Business","height":176});
															thumbnails[9077772] = clik.newPhoto({"id":9077772,"src":"CEZARY_KORPAL_111_thumb.jpg","galleries_id":478758,"server_id":1,"link":"photo_9077772.html","width":130,"caption":"1950,s Look ","height":83});
															thumbnails[9005737] = clik.newPhoto({"id":9005737,"src":"ANDY_CLIKPIC_2_thumb.jpg","galleries_id":474278,"server_id":1,"link":"photo_9005737.html","width":130,"caption":"Beauty Headshot","height":195});
															thumbnails[8644836] = clik.newPhoto({"id":8644836,"src":"2_A_thumb.jpg","galleries_id":333631,"server_id":1,"link":"photo_8644836.html","width":130,"caption":"","height":195});
															thumbnails[8302701] = clik.newPhoto({"id":8302701,"src":"2_CD8D7428-24E8-5EC4-4FBB8D316DA36806_thumb.jpg","galleries_id":221805,"server_id":1,"link":"photo_8302701.html","width":130,"caption":"Lady of the Manor.....","height":223});
															thumbnails[8196264] = clik.newPhoto({"id":8196264,"src":"2a_607B7DA7-1EC9-D45B-1CBF529ED798FEA1_thumb.jpg","galleries_id":154559,"server_id":1,"link":"photo_8196264.html","width":130,"caption":"Make Up Artist test shoot.....","height":198});
															thumbnails[8199952] = clik.newPhoto({"id":8199952,"src":"SHEMS_2_628ED32E-1EC9-D45B-1CE8DD73035FD65B_thumb.jpg","galleries_id":278213,"server_id":1,"link":"photo_8199952.html","width":130,"caption":"Doorway.....","height":197});
															thumbnails[8183139] = clik.newPhoto({"id":8183139,"src":"KHANDIE_GIRL_1A_thumb.jpg","galleries_id":253941,"server_id":1,"link":"photo_8183139.html","width":130,"caption":"Khandie Girls dance group.....","height":89});
															thumbnails[8183233] = clik.newPhoto({"id":8183233,"src":"2A_391B2E6F-1EC9-DFB6-09A79FFEE3EA3B4F_thumb.jpg","galleries_id":154620,"server_id":1,"link":"photo_8183233.html","width":130,"caption":"Oriental beauty meets Casual fashion makeover shoot.....","height":197});
															thumbnails[8176543] = clik.newPhoto({"id":8176543,"src":"2A_thumb.jpg","galleries_id":333773,"server_id":1,"link":"photo_8176543.html","width":130,"caption":"Warming down looking good.....","height":195});
															thumbnails[8140224] = clik.newPhoto({"id":8140224,"src":"2_997B81D8-1EC9-DFB6-0902C3FB0077F0F4_thumb.jpg","galleries_id":149899,"server_id":1,"link":"photo_8140224.html","width":130,"caption":"Essence of Boudoir.....","height":193});
															thumbnails[8134465] = clik.newPhoto({"id":8134465,"src":"2C_thumb.jpg","galleries_id":237821,"server_id":1,"link":"photo_8134465.html","width":130,"caption":"An Oriental Beauty wearing Hotpants with Style.....","height":205});
															thumbnails[7190514] = clik.newPhoto({"id":7190514,"src":"QUEEN_ELIZABETH_LUMINE_TEARSHEET_FRAMED_100012_thumb.jpg","galleries_id":381756,"server_id":1,"link":"photo_7190514.html","width":130,"caption":"My 1st front cover publication Queen Elizabeth themed shoot www.luminestyle.com an online Fashion and Lifestyle magazine the front cover is from the November 2010 Edition.","height":56});
															thumbnails[9077732] = clik.newPhoto({"id":9077732,"src":"CALEB_DAVONTE_thumb.jpg","galleries_id":478758,"server_id":1,"link":"photo_9077732.html","width":130,"caption":"Model Portfolio ","height":195});
															thumbnails[8644867] = clik.newPhoto({"id":8644867,"src":"3_A_thumb.jpg","galleries_id":333631,"server_id":1,"link":"photo_8644867.html","width":130,"caption":"","height":211});
															thumbnails[8302708] = clik.newPhoto({"id":8302708,"src":"3_CD8F5AEB-24E8-5EC4-4F692EC74ECC1E21_thumb.jpg","galleries_id":221805,"server_id":1,"link":"photo_8302708.html","width":130,"caption":"Dressed to Impress.....","height":195});
															thumbnails[8203426] = clik.newPhoto({"id":8203426,"src":"SINEAD_500_thumb.jpg","galleries_id":237821,"server_id":1,"link":"photo_8203426.html","width":130,"caption":"Amazing Hair.....","height":174});
															thumbnails[8196265] = clik.newPhoto({"id":8196265,"src":"3B_thumb.jpg","galleries_id":154559,"server_id":1,"link":"photo_8196265.html","width":130,"caption":"Asian Bridal Headshot.....","height":188});
															thumbnails[8199955] = clik.newPhoto({"id":8199955,"src":"SHEMS_3_6290330C-1EC9-D45B-1C5B21239BF37BA2_thumb.jpg","galleries_id":278213,"server_id":1,"link":"photo_8199955.html","width":130,"caption":"Inspirational.....","height":196});
															thumbnails[8183240] = clik.newPhoto({"id":8183240,"src":"3A_3943FBC8-1EC9-DFB6-09488499B745BFB0_thumb.jpg","galleries_id":154620,"server_id":1,"link":"photo_8183240.html","width":130,"caption":"The gorgeous greens of Autumn.....","height":197});
															thumbnails[8176568] = clik.newPhoto({"id":8176568,"src":"3A_thumb.jpg","galleries_id":333773,"server_id":1,"link":"photo_8176568.html","width":130,"caption":"Sparring to keep Fit wearing Nike Apparel.....","height":176});
															thumbnails[8140227] = clik.newPhoto({"id":8140227,"src":"3_998D7138-1EC9-DFB6-098255406B5F6E78_thumb.jpg","galleries_id":149899,"server_id":1,"link":"photo_8140227.html","width":130,"caption":"Lady of Darkness.....","height":193});
															thumbnails[8133247] = clik.newPhoto({"id":8133247,"src":"3_5CED02FE-1EC9-DFB6-09B8D1DA41D82E51_thumb.jpg","galleries_id":274278,"server_id":1,"link":"photo_8133247.html","width":130,"caption":"60,s Fashion Icon.....","height":186});
															thumbnails[8128158] = clik.newPhoto({"id":8128158,"src":"SARAH_A_thumb.jpg","galleries_id":237649,"server_id":1,"link":"photo_8128158.html","width":130,"caption":"Gotta love a great Hat.....","height":175});
															thumbnails[9081382] = clik.newPhoto({"id":9081382,"src":"BEAUTY_SHOOT_A_thumb.jpg","galleries_id":478758,"server_id":1,"link":"photo_9081382.html","width":130,"caption":"Beauty Shoot","height":166});
															thumbnails[8777187] = clik.newPhoto({"id":8777187,"src":"FASHION_STUDIO_KAMARA_FASHION_STUDIO_LOGO_A_thumb.jpg","galleries_id":245445,"server_id":1,"link":"photo_8777187.html","width":130,"caption":"FASHION STUDIO KAMARA LOGO","height":241});
															thumbnails[8644876] = clik.newPhoto({"id":8644876,"src":"4_A_thumb.jpg","galleries_id":333631,"server_id":1,"link":"photo_8644876.html","width":130,"caption":"","height":195});
															thumbnails[8302712] = clik.newPhoto({"id":8302712,"src":"4_CD9142C8-24E8-5EC4-4F31B5C2960DDBA7_thumb.jpg","galleries_id":221805,"server_id":1,"link":"photo_8302712.html","width":130,"caption":"Santa,s little Helper.....","height":195});
															thumbnails[8196268] = clik.newPhoto({"id":8196268,"src":"4A_607DA393-1EC9-D45B-1CC88348BE4A4AAB_thumb.jpg","galleries_id":154559,"server_id":1,"link":"photo_8196268.html","width":130,"caption":"Bridal shoot lighting test....","height":195});
															thumbnails[8199976] = clik.newPhoto({"id":8199976,"src":"SHEMS_4_629305B2-1EC9-D45B-1C3331381EB8E478_thumb.jpg","galleries_id":278213,"server_id":1,"link":"photo_8199976.html","width":130,"caption":"Humour","height":182});
															thumbnails[8183244] = clik.newPhoto({"id":8183244,"src":"4b_39564C23-1EC9-DFB6-09C6B0CBBD9A223D_thumb.jpg","galleries_id":154620,"server_id":1,"link":"photo_8183244.html","width":130,"caption":"A black bin bag fashion Creation.....","height":193});
															thumbnails[8176565] = clik.newPhoto({"id":8176565,"src":"4A_thumb.jpg","galleries_id":333773,"server_id":1,"link":"photo_8176565.html","width":130,"caption":"Sweating it Out.....","height":195});
															thumbnails[8140235] = clik.newPhoto({"id":8140235,"src":"4_99A814DE-1EC9-DFB6-09A552D5E956E6AA_thumb.jpg","galleries_id":149899,"server_id":1,"link":"photo_8140235.html","width":130,"caption":"Burlesque performer Ms Betsy La Bon","height":195});
															thumbnails[8134507] = clik.newPhoto({"id":8134507,"src":"4B_thumb.jpg","galleries_id":237821,"server_id":1,"link":"photo_8134507.html","width":130,"caption":"An Era of Classic Fashion.....","height":195});
															thumbnails[9081386] = clik.newPhoto({"id":9081386,"src":"SMOKY_EYE_LOU_DENIM_A_thumb.jpg","galleries_id":478758,"server_id":1,"link":"photo_9081386.html","width":130,"caption":"Smokey Eyes","height":165});
															thumbnails[8644880] = clik.newPhoto({"id":8644880,"src":"5_A_thumb.jpg","galleries_id":333631,"server_id":1,"link":"photo_8644880.html","width":130,"caption":"","height":84});
															thumbnails[8302720] = clik.newPhoto({"id":8302720,"src":"5_CD92EE46-24E8-5EC4-4F64561C66A49DD5_thumb.jpg","galleries_id":221805,"server_id":1,"link":"photo_8302720.html","width":130,"caption":"Bikini Babe.....","height":194});
															thumbnails[8196269] = clik.newPhoto({"id":8196269,"src":"5A_607EF6DE-1EC9-D45B-1C41DE688CB56DAE_thumb.jpg","galleries_id":154559,"server_id":1,"link":"photo_8196269.html","width":130,"caption":"Wedding cake.....","height":185});
															thumbnails[8199977] = clik.newPhoto({"id":8199977,"src":"SHEMS_5_62948397-1EC9-D45B-1C285A2D506FCBA0_thumb.jpg","galleries_id":278213,"server_id":1,"link":"photo_8199977.html","width":130,"caption":"Contemplation.....","height":198});
															thumbnails[8183250] = clik.newPhoto({"id":8183250,"src":"7E_396D7BD3-1EC9-DFB6-095FCFD9BD80EA5D_thumb.jpg","galleries_id":154620,"server_id":1,"link":"photo_8183250.html","width":130,"caption":"Hangin with Hepburn.....","height":90});
															thumbnails[8176660] = clik.newPhoto({"id":8176660,"src":"5A_thumb.jpg","galleries_id":333773,"server_id":1,"link":"photo_8176660.html","width":130,"caption":"Pumping Iron.....","height":195});
															thumbnails[8140247] = clik.newPhoto({"id":8140247,"src":"51_thumb.jpg","galleries_id":149899,"server_id":1,"link":"photo_8140247.html","width":130,"caption":"Pink feather Bower.....","height":195});
															thumbnails[8133249] = clik.newPhoto({"id":8133249,"src":"5_thumb.jpg","galleries_id":274278,"server_id":1,"link":"photo_8133249.html","width":130,"caption":"OOH LA Laaaaaaaaaaaaaa.....","height":195});
															thumbnails[8134537] = clik.newPhoto({"id":8134537,"src":"5B_thumb.jpg","galleries_id":237821,"server_id":1,"link":"photo_8134537.html","width":130,"caption":"The Swingin 60,s.....","height":201});
															thumbnails[8128137] = clik.newPhoto({"id":8128137,"src":"KATHARINA_2_A_thumb.jpg","galleries_id":237649,"server_id":1,"link":"photo_8128137.html","width":130,"caption":"Shades of Beauty.....","height":191});
															thumbnails[7849657] = clik.newPhoto({"id":7849657,"src":"PAULINA_8730_FOR_PRINT_USE_thumb.jpg","galleries_id":245445,"server_id":1,"link":"photo_7849657.html","width":130,"caption":"Black Lace Lingerie","height":195});
															thumbnails[7640366] = clik.newPhoto({"id":7640366,"src":"WINNER_thumb.jpg","galleries_id":441581,"server_id":1,"link":"photo_7640366.html","width":130,"caption":"","height":310});
															thumbnails[8644929] = clik.newPhoto({"id":8644929,"src":"6_A1_thumb.jpg","galleries_id":333631,"server_id":1,"link":"photo_8644929.html","width":130,"caption":"","height":89});
															thumbnails[8302721] = clik.newPhoto({"id":8302721,"src":"6_CD9413EB-24E8-5EC4-4F86CEB7FD4B0263_thumb.jpg","galleries_id":221805,"server_id":1,"link":"photo_8302721.html","width":130,"caption":"Blue Sapphire.....","height":196});
															thumbnails[8272291] = clik.newPhoto({"id":8272291,"src":"1_DESHAUN_3083_PRINT_USE_POSTER_EDGE_thumb.jpg","galleries_id":245445,"server_id":1,"link":"photo_8272291.html","width":130,"caption":"","height":195});
															thumbnails[8196290] = clik.newPhoto({"id":8196290,"src":"6A_thumb.jpg","galleries_id":154559,"server_id":1,"link":"photo_8196290.html","width":130,"caption":"Maid Marion themed Wedding.....","height":195});
															thumbnails[8199979] = clik.newPhoto({"id":8199979,"src":"SHEMS_6_thumb.jpg","galleries_id":278213,"server_id":1,"link":"photo_8199979.html","width":130,"caption":"We all have our crosses to bear..........","height":86});
															thumbnails[8182611] = clik.newPhoto({"id":8182611,"src":"KARIS_PIN_UP_1_500_thumb.jpg","galleries_id":149899,"server_id":1,"link":"photo_8182611.html","width":130,"caption":"Pin up Poster.....","height":171});
															thumbnails[8183318] = clik.newPhoto({"id":8183318,"src":"61_thumb.jpg","galleries_id":154620,"server_id":1,"link":"photo_8183318.html","width":130,"caption":"Handbags are a girls best Accessory.....","height":89});
															thumbnails[8176298] = clik.newPhoto({"id":8176298,"src":"SHAWTY_0754_PRINT_USE_500_thumb.jpg","galleries_id":333773,"server_id":1,"link":"photo_8176298.html","width":130,"caption":"Basketball meets Fashion.....","height":199});
															thumbnails[8134538] = clik.newPhoto({"id":8134538,"src":"6B_thumb.jpg","galleries_id":237821,"server_id":1,"link":"photo_8134538.html","width":130,"caption":"Burlesque Performer Ms. Betsy La Bon.....","height":195});
															thumbnails[8644933] = clik.newPhoto({"id":8644933,"src":"7_A1_thumb.jpg","galleries_id":333631,"server_id":1,"link":"photo_8644933.html","width":130,"caption":"","height":84});
															thumbnails[8302724] = clik.newPhoto({"id":8302724,"src":"7_CD953B65-24E8-5EC4-4F13E1FCD7F501F7_thumb.jpg","galleries_id":221805,"server_id":1,"link":"photo_8302724.html","width":130,"caption":"Jealousy","height":195});
															thumbnails[8196319] = clik.newPhoto({"id":8196319,"src":"7B_thumb.jpg","galleries_id":154559,"server_id":1,"link":"photo_8196319.html","width":130,"caption":"Beautiful Bouquet.....","height":195});
															thumbnails[8199988] = clik.newPhoto({"id":8199988,"src":"SHEMS_7B_thumb.jpg","galleries_id":278213,"server_id":1,"link":"photo_8199988.html","width":130,"caption":"My subjects do I not look fine.....","height":83});
															thumbnails[8183308] = clik.newPhoto({"id":8183308,"src":"5c_thumb.jpg","galleries_id":154620,"server_id":1,"link":"photo_8183308.html","width":130,"caption":"Sweet like Chocolate.....","height":87});
															thumbnails[8176691] = clik.newPhoto({"id":8176691,"src":"7A_thumb.jpg","galleries_id":333773,"server_id":1,"link":"photo_8176691.html","width":130,"caption":"No pain No gain looking GOOD.....","height":195});
															thumbnails[8140271] = clik.newPhoto({"id":8140271,"src":"6_thumb.jpg","galleries_id":149899,"server_id":1,"link":"photo_8140271.html","width":130,"caption":"Pure Burlesque.....","height":196});
															thumbnails[8133252] = clik.newPhoto({"id":8133252,"src":"7_5D181827-1EC9-DFB6-09DEE27C17A390FE_thumb.jpg","galleries_id":274278,"server_id":1,"link":"photo_8133252.html","width":130,"caption":"Russian Fashion Model","height":199});
															thumbnails[8134550] = clik.newPhoto({"id":8134550,"src":"7E_thumb.jpg","galleries_id":237821,"server_id":1,"link":"photo_8134550.html","width":130,"caption":"Fishnets and great Legs....","height":193});
															thumbnails[8128182] = clik.newPhoto({"id":8128182,"src":"1_1E5F2D7D-24E8-5EC4-4FD5D7A665FA6351_thumb.jpg","galleries_id":237649,"server_id":1,"link":"photo_8128182.html","width":130,"caption":"Amazing Hairstyles.....","height":206});
															thumbnails[7854259] = clik.newPhoto({"id":7854259,"src":"KARIS_6846_FOR_PRINT_USE_thumb.jpg","galleries_id":245445,"server_id":1,"link":"photo_7854259.html","width":130,"caption":"","height":195});
															thumbnails[8777105] = clik.newPhoto({"id":8777105,"src":"LUMINE_AWARDS_thumb.jpg","galleries_id":245445,"server_id":1,"link":"photo_8777105.html","width":130,"caption":"LUMINESTYLE AWARDS","height":187});
															thumbnails[8644881] = clik.newPhoto({"id":8644881,"src":"8_A_thumb.jpg","galleries_id":333631,"server_id":1,"link":"photo_8644881.html","width":130,"caption":"","height":158});
															thumbnails[8302733] = clik.newPhoto({"id":8302733,"src":"8_CD968B18-24E8-5EC4-4F7FB34CD3DD1B9C_thumb.jpg","galleries_id":221805,"server_id":1,"link":"photo_8302733.html","width":130,"caption":"Body Paint.....","height":198});
															thumbnails[8196322] = clik.newPhoto({"id":8196322,"src":"8B_thumb.jpg","galleries_id":154559,"server_id":1,"link":"photo_8196322.html","width":130,"caption":"Page Boy.....","height":191});
															thumbnails[8199993] = clik.newPhoto({"id":8199993,"src":"SHEMS_8_thumb.jpg","galleries_id":278213,"server_id":1,"link":"photo_8199993.html","width":130,"caption":"A time to Pray.....","height":83});
															thumbnails[8176697] = clik.newPhoto({"id":8176697,"src":"8A_thumb.jpg","galleries_id":333773,"server_id":1,"link":"photo_8176697.html","width":130,"caption":"Working hard breaking Sweat.....","height":87});
															thumbnails[8140287] = clik.newPhoto({"id":8140287,"src":"8_thumb.jpg","galleries_id":149899,"server_id":1,"link":"photo_8140287.html","width":130,"caption":"Pin Up Burlesque.....","height":196});
															thumbnails[8134558] = clik.newPhoto({"id":8134558,"src":"8d_thumb.jpg","galleries_id":237821,"server_id":1,"link":"photo_8134558.html","width":130,"caption":"Who say,s Doc Martin,s are not Fashionable.....","height":197});
															thumbnails[8777362] = clik.newPhoto({"id":8777362,"src":"3_1FCC3491-1EC9-DFB6-09F91FAEECB5C0CE_thumb.jpg","galleries_id":245445,"server_id":1,"link":"photo_8777362.html","width":130,"caption":"","height":195});
															thumbnails[8302737] = clik.newPhoto({"id":8302737,"src":"9_CD97E6B1-24E8-5EC4-4F63CB6BB3C84329_thumb.jpg","galleries_id":221805,"server_id":1,"link":"photo_8302737.html","width":130,"caption":"It,s christmas Time.....","height":86});
															thumbnails[8196335] = clik.newPhoto({"id":8196335,"src":"9B1_thumb.jpg","galleries_id":154559,"server_id":1,"link":"photo_8196335.html","width":130,"caption":"The Dress.....","height":245});
															thumbnails[8200002] = clik.newPhoto({"id":8200002,"src":"SHEMS_9_thumb.jpg","galleries_id":278213,"server_id":1,"link":"photo_8200002.html","width":130,"caption":"Bling Bling Digital Art.....","height":86});
															thumbnails[8183094] = clik.newPhoto({"id":8183094,"src":"9A_thumb.jpg","galleries_id":391503,"server_id":1,"link":"photo_8183094.html","width":130,"caption":"A little black number accompanied by a silver choker","height":195});
															thumbnails[8140296] = clik.newPhoto({"id":8140296,"src":"9_thumb.jpg","galleries_id":149899,"server_id":1,"link":"photo_8140296.html","width":130,"caption":"Sexy red Dress.....","height":191});
															thumbnails[8133257] = clik.newPhoto({"id":8133257,"src":"9_5D299821-1EC9-DFB6-097768A7DF50772C_thumb.jpg","galleries_id":274278,"server_id":1,"link":"photo_8133257.html","width":130,"caption":"Mystique.....","height":195});
															thumbnails[8134573] = clik.newPhoto({"id":8134573,"src":"9B_thumb.jpg","galleries_id":237821,"server_id":1,"link":"photo_8134573.html","width":130,"caption":"Urban Fashion part 2.....","height":86});
															thumbnails[8128751] = clik.newPhoto({"id":8128751,"src":"9_1E815A31-24E8-5EC4-4F464C86357E2DE6_thumb.jpg","galleries_id":237649,"server_id":1,"link":"photo_8128751.html","width":130,"caption":"A cool hat makes a man look Sharp DADDY MACK.....","height":185});
															thumbnails[8301096] = clik.newPhoto({"id":8301096,"src":"SHEMS_9690_750_CONTRAST_BRIGHTNESS1_thumb.jpg","galleries_id":441581,"server_id":1,"link":"photo_8301096.html","width":130,"caption":"","height":195});
															thumbnails[8302743] = clik.newPhoto({"id":8302743,"src":"10_CD99639E-24E8-5EC4-4FB3EC6E04AED063_thumb.jpg","galleries_id":221805,"server_id":1,"link":"photo_8302743.html","width":130,"caption":"Ladies in Leather.....","height":86});
															thumbnails[8196340] = clik.newPhoto({"id":8196340,"src":"10b1_thumb.jpg","galleries_id":154559,"server_id":1,"link":"photo_8196340.html","width":130,"caption":"The Dress part 2.....","height":195});
															thumbnails[8183106] = clik.newPhoto({"id":8183106,"src":"10A_thumb.jpg","galleries_id":391503,"server_id":1,"link":"photo_8183106.html","width":130,"caption":"An off the shoulder design.....","height":205});
															thumbnails[8140323] = clik.newPhoto({"id":8140323,"src":"10_thumb.jpg","galleries_id":149899,"server_id":1,"link":"photo_8140323.html","width":130,"caption":"The beauty of Burlesque.....","height":195});
															thumbnails[8134866] = clik.newPhoto({"id":8134866,"src":"11A_thumb.jpg","galleries_id":237821,"server_id":1,"link":"photo_8134866.html","width":130,"caption":"Lazy Days.....","height":85});
															thumbnails[3785200] = clik.newPhoto({"id":3785200,"src":"GS_3473_D_600_thumb.jpg","galleries_id":237832,"server_id":1,"link":"photo_3785200.html","width":130,"caption":"A stylish suit and Zips everywhere","height":193});
															thumbnails[2905539] = clik.newPhoto({"id":2905539,"src":"Maltese sunset (500)_thumb.jpg","galleries_id":154562,"server_id":1,"link":"photo_2905539.html","width":129,"caption":"Maltese Sunset","height":95});
															thumbnails[8302747] = clik.newPhoto({"id":8302747,"src":"11_thumb.jpg","galleries_id":221805,"server_id":1,"link":"photo_8302747.html","width":130,"caption":"Swimwear.....","height":86});
															thumbnails[8196345] = clik.newPhoto({"id":8196345,"src":"11b_thumb.jpg","galleries_id":154559,"server_id":1,"link":"photo_8196345.html","width":130,"caption":"Asian Bridal Makeover.....","height":86});
															thumbnails[8183109] = clik.newPhoto({"id":8183109,"src":"11A_366A90B2-1EC9-DFB6-09649DF12D1664EF_thumb.jpg","galleries_id":391503,"server_id":1,"link":"photo_8183109.html","width":130,"caption":"A fashionable trouser suit.....","height":195});
															thumbnails[8140281] = clik.newPhoto({"id":8140281,"src":"7_99FD01EA-1EC9-DFB6-091DA4EEE9BF05E9_thumb.jpg","galleries_id":149899,"server_id":1,"link":"photo_8140281.html","width":130,"caption":"Contemplation.....","height":196});
															thumbnails[8133261] = clik.newPhoto({"id":8133261,"src":"11_5D404389-1EC9-DFB6-09A72129E6B53EBB_thumb.jpg","galleries_id":274278,"server_id":1,"link":"photo_8133261.html","width":130,"caption":"Amazing Hair.....","height":198});
															thumbnails[8134609] = clik.newPhoto({"id":8134609,"src":"10B_thumb.jpg","galleries_id":237821,"server_id":1,"link":"photo_8134609.html","width":130,"caption":"Models just cannot get enough Clothes.....","height":86});
															thumbnails[8128752] = clik.newPhoto({"id":8128752,"src":"11_1E82C75F-24E8-5EC4-4F70E2893CA49124_thumb.jpg","galleries_id":237649,"server_id":1,"link":"photo_8128752.html","width":130,"caption":"Braces and a Hat look Cool.....","height":230});
															thumbnails[7913794] = clik.newPhoto({"id":7913794,"src":"NINA_GOLDIE24_8618_900_thumb.jpg","galleries_id":245445,"server_id":1,"link":"photo_7913794.html","width":130,"caption":"","height":195});
															thumbnails[8302762] = clik.newPhoto({"id":8302762,"src":"12_CDA03704-24E8-5EC4-4FDA683A86EA5D38_thumb.jpg","galleries_id":221805,"server_id":1,"link":"photo_8302762.html","width":130,"caption":"Casual Fashion.....","height":86});
															thumbnails[8196350] = clik.newPhoto({"id":8196350,"src":"12b1_thumb.jpg","galleries_id":154559,"server_id":1,"link":"photo_8196350.html","width":130,"caption":"Asiana Style.....","height":85});
															thumbnails[8183112] = clik.newPhoto({"id":8183112,"src":"12A_thumb.jpg","galleries_id":391503,"server_id":1,"link":"photo_8183112.html","width":130,"caption":"Another off the shoulder design.....","height":199});
															thumbnails[8140348] = clik.newPhoto({"id":8140348,"src":"12_thumb.jpg","galleries_id":149899,"server_id":1,"link":"photo_8140348.html","width":130,"caption":"Ship Ahoy.....","height":197});
															thumbnails[8134882] = clik.newPhoto({"id":8134882,"src":"12B_thumb.jpg","galleries_id":237821,"server_id":1,"link":"photo_8134882.html","width":130,"caption":"Elegance and Sophistication.....","height":85});
															thumbnails[8196354] = clik.newPhoto({"id":8196354,"src":"13b_60A82BC7-1EC9-D45B-1C68AE0BE85F9085_thumb.jpg","galleries_id":154559,"server_id":1,"link":"photo_8196354.html","width":130,"caption":"Asiana Style part 2.....","height":80});
															thumbnails[8183119] = clik.newPhoto({"id":8183119,"src":"13A_thumb.jpg","galleries_id":391503,"server_id":1,"link":"photo_8183119.html","width":130,"caption":"Trouser suit and Black Gloves.....","height":195});
															thumbnails[8140368] = clik.newPhoto({"id":8140368,"src":"13_thumb.jpg","galleries_id":149899,"server_id":1,"link":"photo_8140368.html","width":130,"caption":"Lingerie Pin Up.....","height":87});
															thumbnails[8133264] = clik.newPhoto({"id":8133264,"src":"13b_thumb.jpg","galleries_id":274278,"server_id":1,"link":"photo_8133264.html","width":130,"caption":"Edgy Lingerie shoot.....","height":202});
															thumbnails[8128787] = clik.newPhoto({"id":8128787,"src":"13_1E88A3E4-24E8-5EC4-4F9967123808B02C_thumb.jpg","galleries_id":237649,"server_id":1,"link":"photo_8128787.html","width":130,"caption":"East meets West.....","height":194});
															thumbnails[8196358] = clik.newPhoto({"id":8196358,"src":"14c_thumb.jpg","galleries_id":154559,"server_id":1,"link":"photo_8196358.html","width":130,"caption":"The Carriage.....","height":86});
															thumbnails[8140377] = clik.newPhoto({"id":8140377,"src":"14_thumb.jpg","galleries_id":149899,"server_id":1,"link":"photo_8140377.html","width":130,"caption":"Corset and Feathers.....","height":87});
															thumbnails[8196360] = clik.newPhoto({"id":8196360,"src":"15b_thumb.jpg","galleries_id":154559,"server_id":1,"link":"photo_8196360.html","width":130,"caption":"The Garter.....","height":81});
															thumbnails[8140380] = clik.newPhoto({"id":8140380,"src":"151_thumb.jpg","galleries_id":149899,"server_id":1,"link":"photo_8140380.html","width":130,"caption":"Latex Dress......","height":85});
															thumbnails[8133267] = clik.newPhoto({"id":8133267,"src":"15_thumb.jpg","galleries_id":274278,"server_id":1,"link":"photo_8133267.html","width":130,"caption":"Asiana Style.....","height":186});
															thumbnails[8128789] = clik.newPhoto({"id":8128789,"src":"15_1E8A1D37-24E8-5EC4-4FA1F8653B9EB8DB_thumb.jpg","galleries_id":237649,"server_id":1,"link":"photo_8128789.html","width":130,"caption":"Shades of Grey.....","height":195});
															thumbnails[8196375] = clik.newPhoto({"id":8196375,"src":"16_60B152FB-1EC9-D45B-1CDBBB7104E6CEE2_thumb.jpg","galleries_id":154559,"server_id":1,"link":"photo_8196375.html","width":130,"caption":"Wedding makeovers.....","height":36});
															thumbnails[8140382] = clik.newPhoto({"id":8140382,"src":"16_thumb.jpg","galleries_id":149899,"server_id":1,"link":"photo_8140382.html","width":130,"caption":"Oh my Gosh.....","height":86});
															thumbnails[8140385] = clik.newPhoto({"id":8140385,"src":"17_9AE5CFD6-1EC9-DFB6-095534FCA21016A7_thumb.jpg","galleries_id":149899,"server_id":1,"link":"photo_8140385.html","width":130,"caption":"Custom made Pin Up Hats.....","height":143});
															thumbnails[8133414] = clik.newPhoto({"id":8133414,"src":"17_5DA30D76-1EC9-DFB6-09BF7095FBDD445C_thumb.jpg","galleries_id":274278,"server_id":1,"link":"photo_8133414.html","width":130,"caption":"Asian Bridal part 2","height":195});
															thumbnails[8128837] = clik.newPhoto({"id":8128837,"src":"17_thumb.jpg","galleries_id":237649,"server_id":1,"link":"photo_8128837.html","width":130,"caption":"Basketball Fashion.....","height":201});
															thumbnails[8133453] = clik.newPhoto({"id":8133453,"src":"19_5DB8C894-1EC9-DFB6-09ADE914AB157CAC_thumb.jpg","galleries_id":274278,"server_id":1,"link":"photo_8133453.html","width":130,"caption":"Woodland Fashion.....","height":196});
															thumbnails[8128973] = clik.newPhoto({"id":8128973,"src":"19_thumb.jpg","galleries_id":237649,"server_id":1,"link":"photo_8128973.html","width":130,"caption":"Natural beauty.....","height":197});
															thumbnails[3485255] = clik.newPhoto({"id":3485255,"src":"A & K 8310_thumb.jpg","galleries_id":237832,"server_id":1,"link":"photo_3485255.html","width":130,"caption":"Club Mosaic lingerie shoot...","height":191});
															thumbnails[2918155] = clik.newPhoto({"id":2918155,"src":"LOCH LOMOND 11_thumb.jpg","galleries_id":154562,"server_id":1,"link":"photo_2918155.html","width":130,"caption":"Snow on the scottish hills","height":95});
															thumbnails[8133456] = clik.newPhoto({"id":8133456,"src":"21_5DC2E7E7-1EC9-DFB6-09C871B62DABD211_thumb.jpg","galleries_id":274278,"server_id":1,"link":"photo_8133456.html","width":130,"caption":"Framed Beauty.....","height":198});
															thumbnails[8128988] = clik.newPhoto({"id":8128988,"src":"21_thumb.jpg","galleries_id":237649,"server_id":1,"link":"photo_8128988.html","width":130,"caption":"Classic style.....","height":195});
															thumbnails[8133461] = clik.newPhoto({"id":8133461,"src":"23_thumb.jpg","galleries_id":274278,"server_id":1,"link":"photo_8133461.html","width":130,"caption":"Nubian Beauty.....","height":201});
															thumbnails[8129007] = clik.newPhoto({"id":8129007,"src":"23_1EA00183-24E8-5EC4-4FED5F58D7A1D29F_thumb.jpg","galleries_id":237649,"server_id":1,"link":"photo_8129007.html","width":130,"caption":"Sleek and Sophisticated.....","height":195});
															thumbnails[8133566] = clik.newPhoto({"id":8133566,"src":"25_5E0AAC60-1EC9-DFB6-09D30A83A81C0372_thumb.jpg","galleries_id":274278,"server_id":1,"link":"photo_8133566.html","width":130,"caption":"Using depth to highlight Beauty in an Image.....","height":85});
															thumbnails[8129101] = clik.newPhoto({"id":8129101,"src":"25_thumb.jpg","galleries_id":237649,"server_id":1,"link":"photo_8129101.html","width":130,"caption":"Urban Fashion  in the City.....","height":194});
															thumbnails[8133627] = clik.newPhoto({"id":8133627,"src":"27_5E2F595C-1EC9-DFB6-09BC56CC1F3A90B2_thumb.jpg","galleries_id":274278,"server_id":1,"link":"photo_8133627.html","width":130,"caption":"Nubian Beauty 2.....","height":87});
															thumbnails[8129122] = clik.newPhoto({"id":8129122,"src":"27_thumb.jpg","galleries_id":237649,"server_id":1,"link":"photo_8129122.html","width":130,"caption":"Casual Streetwear.....","height":195});
															thumbnails[8133629] = clik.newPhoto({"id":8133629,"src":"29_5E42BA81-1EC9-DFB6-09C665D6C1D33BEE_thumb.jpg","galleries_id":274278,"server_id":1,"link":"photo_8133629.html","width":130,"caption":"Group Makeover test shoot around London.....","height":84});
															thumbnails[8129551] = clik.newPhoto({"id":8129551,"src":"29_thumb.jpg","galleries_id":237649,"server_id":1,"link":"photo_8129551.html","width":130,"caption":"Urban City Gent.....","height":207});
															thumbnails[4056070] = clik.newPhoto({"id":4056070,"src":"GS_3450_D_1_thumb.jpg","galleries_id":237832,"server_id":1,"link":"photo_4056070.html","width":130,"caption":"He only has eyes for Me","height":193});
															thumbnails[2905580] = clik.newPhoto({"id":2905580,"src":"Villamoura well (500)_thumb.jpg","galleries_id":154562,"server_id":1,"link":"photo_2905580.html","width":129,"caption":"Portugese Waterwell","height":95});
															thumbnails[8133631] = clik.newPhoto({"id":8133631,"src":"31D_thumb.jpg","galleries_id":274278,"server_id":1,"link":"photo_8133631.html","width":130,"caption":"Make Up Artist test shoot Smokey Grey Eyes.....","height":85});
															thumbnails[8129684] = clik.newPhoto({"id":8129684,"src":"31_thumb.jpg","galleries_id":237649,"server_id":1,"link":"photo_8129684.html","width":130,"caption":"Stylish shoes and Great Legs.....","height":196});
															thumbnails[8129698] = clik.newPhoto({"id":8129698,"src":"33_thumb.jpg","galleries_id":237649,"server_id":1,"link":"photo_8129698.html","width":130,"caption":"Boudoir Essence.....","height":195});
															thumbnails[8129808] = clik.newPhoto({"id":8129808,"src":"35_thumb.jpg","galleries_id":237649,"server_id":1,"link":"photo_8129808.html","width":130,"caption":"Hot pants and Boots ROCK.....","height":198});
															thumbnails[8129843] = clik.newPhoto({"id":8129843,"src":"37_thumb.jpg","galleries_id":237649,"server_id":1,"link":"photo_8129843.html","width":130,"caption":"Russian Beauty.....","height":198});
															thumbnails[8129845] = clik.newPhoto({"id":8129845,"src":"39_thumb.jpg","galleries_id":237649,"server_id":1,"link":"photo_8129845.html","width":130,"caption":"Snow Queen.....","height":198});
															thumbnails[4098165] = clik.newPhoto({"id":4098165,"src":"MAX__TYANA_3_thumb.jpg","galleries_id":237832,"server_id":1,"link":"photo_4098165.html","width":130,"caption":"Latin lovers","height":88});
															thumbnails[3141219] = clik.newPhoto({"id":3141219,"src":"LOCH1A (600)_thumb.jpg","galleries_id":154562,"server_id":1,"link":"photo_3141219.html","width":130,"caption":"A castle across loch lomond","height":88});
															thumbnails[9059558] = clik.newPhoto({"id":9059558,"src":"ZOO_2_PD_thumb.jpg","galleries_id":381756,"server_id":1,"link":"photo_9059558.html","width":130,"caption":"Published in Zoo Magazine Issue 170 July 2007. Glamour Topless Luxury Apartment and Poolside Photoshoot 18\/03\/2007. Model Nancy X. Model Mayhem I.D.766179 Purestorm I.D.117314","height":92});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[278213] = clik.newGallery({"parentGallery":278208,"usePopups":false,"title":"A MODERN VERSION OF QUEEN ELIZABETH","link":"gallery_278213.html","maxRecords":0.0,"photoIDs":[8199949.0,8199952.0,8199955.0,8199976.0,8199977.0,8199979.0,8199988.0,8199993.0,8200002.0],"skipIndex":0,"section_code":"gallery","featured_images":"8199977,8199976,8199955,8199952,8199949","id":278213,"singleSection":false});				  						galleries[149899] = clik.newGallery({"parentGallery":245827,"usePopups":false,"title":"ALTERNATIVE PIN UP GOTHIC BURLESQUE","link":"gallery_149899.html","maxRecords":0.0,"photoIDs":[8140201.0,8140224.0,8140227.0,8140235.0,8140247.0,8182611.0,8140271.0,8140287.0,8140296.0,8140323.0,8140281.0,8140348.0,8140368.0,8140377.0,8140380.0,8140382.0,8140385.0],"skipIndex":0,"section_code":"gallery","featured_images":"8182611,8140348,8140323,8140296,8140287,8140281,8140271,8140247,8140235,8140227,8140224,8140201","id":149899,"singleSection":false});				  						galleries[474278] = clik.newGallery({"parentGallery":474277,"usePopups":false,"title":"ANDY BOWMAN PHOTOGRAPHY","link":"gallery_474278.html","maxRecords":0.0,"photoIDs":[9004156.0,9005737.0],"skipIndex":0,"section_code":"gallery","featured_images":"9005737,9004156","id":474278,"singleSection":false});				  						galleries[237821] = clik.newGallery({"parentGallery":245827,"usePopups":false,"title":"B & W SEPIA & SELECTIVE COLOUR","link":"gallery_237821.html","maxRecords":0.0,"photoIDs":[8134263.0,8134465.0,8203426.0,8134507.0,8134537.0,8134538.0,8134550.0,8134558.0,8134573.0,8134866.0,8134609.0,8134882.0],"skipIndex":0,"section_code":"gallery","featured_images":"8203426,8134558,8134550,8134538,8134537,8134507,8134465,8134263","id":237821,"singleSection":false});				  						galleries[253941] = clik.newGallery({"parentGallery":154621,"usePopups":false,"title":"BANDS & GIGS","link":"gallery_253941.html","maxRecords":0.0,"photoIDs":[8183138.0,8183139.0],"skipIndex":0,"section_code":"gallery","featured_images":"8183139,8183138","id":253941,"singleSection":false});				  						galleries[274278] = clik.newGallery({"parentGallery":245827,"usePopups":false,"title":"BEAUTY HEADSHOTS","link":"gallery_274278.html","maxRecords":0.0,"photoIDs":[8133244.0,8133247.0,8133249.0,8133252.0,8133257.0,8133261.0,8133264.0,8133267.0,8133414.0,8133453.0,8133456.0,8133461.0,8133566.0,8133627.0,8133629.0,8133631.0],"skipIndex":0,"section_code":"gallery","featured_images":"8133461,8133456,8133453,8133414,8133267,8133264,8133261,8133257,8133252,8133249,8133247,8133244","id":274278,"singleSection":false});				  						galleries[391505] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"DESIGNERS COLLECTIONS","link":"gallery_391505.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"8183112,8183109,8183106,8183094","id":391505,"singleSection":false});				  						galleries[154621] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"EVENTS","link":"gallery_154621.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"8196340,8196335,8196322,8196319,8196290,8196269,8196268,8196265,8196264,8196262,8183139,8183138","id":154621,"singleSection":false});				  						galleries[237649] = clik.newGallery({"parentGallery":245827,"usePopups":false,"title":"FASHION MALE \/ FEMALE","link":"gallery_237649.html","maxRecords":0.0,"photoIDs":[8128008.0,8128158.0,8128137.0,8128182.0,8128751.0,8128752.0,8128787.0,8128789.0,8128837.0,8128973.0,8128988.0,8129007.0,8129101.0,8129122.0,8129551.0,8129684.0,8129698.0,8129808.0,8129843.0,8129845.0],"skipIndex":0,"section_code":"gallery","featured_images":"8129845,8129843,8129808,8129698,8129684,8129551,8129122,8129101,8129007,8128988,8128973,8128837,8128789,8128787,8128752,8128751,8128182,8128158,8128137,8128008","id":237649,"singleSection":false});				  						galleries[207369] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"FEATURED MODELS","link":"gallery_207369.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"8644876,8644867,8644836,8644835,8302733,8302724,8302721,8302720,8302712,8302708,8302701,8302697","id":207369,"singleSection":false});				  						galleries[474277] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"FEATURED PHOTOGRAPHERS","link":"gallery_474277.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"9005737,9004156","id":474277,"singleSection":false});				  						galleries[478757] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"MAKE UP & HAIR STYLING SERVICES","link":"gallery_478757.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"9081386,9081382,9081339,9080396,9077732","id":478757,"singleSection":false});				  						galleries[237832] = clik.newGallery({"parentGallery":245827,"usePopups":false,"title":"MALE & FEMALE COLLABORATIONS","link":"gallery_237832.html","maxRecords":0.0,"photoIDs":[3785206.0,3785200.0,3485255.0,4056070.0,4098165.0],"skipIndex":0,"section_code":"gallery","featured_images":"4056070,3785206,3785200,3485255","id":237832,"singleSection":false});				  						galleries[441581] = clik.newGallery({"parentGallery":245827,"usePopups":false,"title":"MODEL MAYHEM AWARD WINNING IMAGES","link":"gallery_441581.html","maxRecords":0.0,"photoIDs":[8301001.0,6346008.0,7640366.0,8301096.0],"skipIndex":0,"section_code":"gallery","featured_images":"8301096,8301001,7640366","id":441581,"singleSection":false});				  						galleries[245445] = clik.newGallery({"parentGallery":245827,"usePopups":false,"title":"MODEL MAYHEM HOSTING IMAGES","link":"gallery_245445.html","maxRecords":0.0,"photoIDs":[8982619.0,8983105.0,8924268.0,9021909.0,8777490.0,8777187.0,7849657.0,8272291.0,7854259.0,8777105.0,8777362.0,7913794.0],"skipIndex":0,"section_code":"gallery","featured_images":"8983105,8982619,8924268,7913794,7854259,7849657","id":245445,"singleSection":false});				  						galleries[154620] = clik.newGallery({"parentGallery":245827,"usePopups":false,"title":"MODELS OF THE MONTH ","link":"gallery_154620.html","maxRecords":0.0,"photoIDs":[8183236.0,8183233.0,8183240.0,8183244.0,8183250.0,8183318.0,8183308.0],"skipIndex":0,"section_code":"gallery","featured_images":"8183244,8183240,8183236,8183233","id":154620,"singleSection":false});				  						galleries[245827] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"MODELS PORTFOLIOS","link":"gallery_245827.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"8983105,8982619,8924268,8301096,8301001,8203426,8183244,8183240,8183236,8183233,8182611,8176691,8176660,8176568,8176565,8176543,8176538,8176298,8140348,8140323,8140296,8140287,8140281,8140271,8140247,8140235,8140227,8140224,8140201,8134558,8134550,8134538,8134537,8134507,8134465,8134263,8133461,8133456,8133453,8133414,8133267,8133264,8133261,8133257,8133252,8133249,8133247,8133244,8129845,8129843,8129808,8129698,8129684,8129551,8129122,8129101,8129007,8128988,8128973,8128837,8128789,8128787,8128752,8128751,8128182,8128158,8128137,8128008,7913794,7854259,7849657,7640366,4056070,3785206,3785200,3485255","id":245827,"singleSection":false});				  						galleries[278208] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"PERIOD THEMED SHOOTS","link":"gallery_278208.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"8199977,8199976,8199955,8199952,8199949","id":278208,"singleSection":false});				  						galleries[154562] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"PLACES OF INTEREST","link":"gallery_154562.html","maxRecords":0.0,"photoIDs":[6281134.0,2905522.0,2905539.0,2918155.0,2905580.0,3141219.0],"skipIndex":0,"section_code":"gallery","featured_images":"6281134,2905522","id":154562,"singleSection":false});				  						galleries[381756] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"PUBLICATIONS & TEARSHEETS","link":"gallery_381756.html","maxRecords":0.0,"photoIDs":[8770476.0,8770487.0,8771307.0,8771309.0,8183489.0,7190514.0,9059558.0],"skipIndex":0,"section_code":"gallery","featured_images":"8771309,8771307,8770487,8770476,8183489,7190514","id":381756,"singleSection":false});				  						galleries[333773] = clik.newGallery({"parentGallery":245827,"usePopups":false,"title":"SPORTS FITNESS & DANCE","link":"gallery_333773.html","maxRecords":0.0,"photoIDs":[8176538.0,8176543.0,8176568.0,8176565.0,8176660.0,8176298.0,8176691.0,8176697.0],"skipIndex":0,"section_code":"gallery","featured_images":"8176691,8176660,8176568,8176565,8176543,8176538,8176298","id":333773,"singleSection":false});				  						galleries[154559] = clik.newGallery({"parentGallery":154621,"usePopups":false,"title":"WEDDINGS","link":"gallery_154559.html","maxRecords":0.0,"photoIDs":[8196262.0,8196264.0,8196265.0,8196268.0,8196269.0,8196290.0,8196319.0,8196322.0,8196335.0,8196340.0,8196345.0,8196350.0,8196354.0,8196358.0,8196360.0,8196375.0],"skipIndex":0,"section_code":"gallery","featured_images":"8196340,8196335,8196322,8196319,8196290,8196269,8196268,8196265,8196264,8196262","id":154559,"singleSection":false});				  						galleries[478758] = clik.newGallery({"parentGallery":478757,"usePopups":false,"title":"CHRISTELLE PELLECEUR","link":"gallery_478758.html","maxRecords":0.0,"photoIDs":[9081339.0,9077772.0,9077732.0,9081382.0,9081386.0],"skipIndex":0,"section_code":"gallery","featured_images":"9081386,9081382,9081339,9077732","id":478758,"singleSection":false});				  						galleries[391503] = clik.newGallery({"parentGallery":391505,"usePopups":false,"title":"FABRYAN ","link":"gallery_391503.html","maxRecords":0.0,"photoIDs":[8183094.0,8183106.0,8183109.0,8183112.0,8183119.0],"skipIndex":0,"section_code":"gallery","featured_images":"8183112,8183109,8183106,8183094","id":391503,"singleSection":false});				  						galleries[221805] = clik.newGallery({"parentGallery":207369,"usePopups":false,"title":"Lady B.","link":"gallery_221805.html","maxRecords":0.0,"photoIDs":[8302697.0,8302701.0,8302708.0,8302712.0,8302720.0,8302721.0,8302724.0,8302733.0,8302737.0,8302743.0,8302747.0,8302762.0],"skipIndex":0,"section_code":"gallery","featured_images":"8302733,8302724,8302721,8302720,8302712,8302708,8302701,8302697","id":221805,"singleSection":false});				  						galleries[478884] = clik.newGallery({"parentGallery":478757,"usePopups":false,"title":"CORINA NICUT","link":"gallery_478884.html","maxRecords":0.0,"photoIDs":[9080396.0],"skipIndex":0,"section_code":"gallery","featured_images":9080396.0,"id":478884,"singleSection":false});				  						galleries[333631] = clik.newGallery({"parentGallery":207369,"usePopups":false,"title":"KAMARA HARDING","link":"gallery_333631.html","maxRecords":0.0,"photoIDs":[8644835.0,8644836.0,8644867.0,8644876.0,8644880.0,8644929.0,8644933.0,8644881.0],"skipIndex":0,"section_code":"gallery","featured_images":"8644876,8644867,8644836,8644835","id":333631,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '8983105,8982619,8770487,8770476,6281134,8196262,8183489,8183138,8140201,8128008,6346008,8183139,8203426,8196269,8183250,8128137,7640366,8199979,8196290,8183318,8182611,8176298,8199988,8196319,8183308,8140271,7854259,8199993,8196322,8176697,8302737,8200002,8140296,8134573,8140323,8134866,8196345,8140281,8134609,7913794,8196350,8134882,8196354,8140368,8196358,8140377,8196360,8140380,8196375,8140382,8140385,2918155,8133566,8133627,8133629,2905580,8133631,4098165,3141219';
imageSets[2] = '9080396,8983105,8982619,8924268,8771309,8771307,8770487,8770476,8301001,6281134,9081339,9004156,8644835,8302697,8199949,8196262,8183489,8183236,8183138,8176538,8140201,8134263,8133244,8128008,3785206,2905522,9005737,8644836,8302701,8199952,8196264,8183233,8183139,8176543,8140224,8134465,7190514,9077732,8644867,8302708,8203426,8199955,8196265,8183240,8176568,8140227,8133247,8128158,9081382,8644876,8302712,8199976,8196268,8183244,8176565,8140235,8134507,9081386,8302720,8199977,8196269,8176660,8140247,8134537,8133249,8128137,7849657,7640366,8302721,8196290,8182611,8176298,8134538,8302724,8196319,8176691,8140271,8134550,8133252,8128182,7854259,8302733,8196322,8140287,8134558,8196335,8183094,8140296,8133257,8128751,8301096,8196340,8183106,8140323,3785200,8183109,8140281,8133261,8128752,7913794,8183112,8140348,8133264,8128787,8133267,8128789,8133414,8128837,8133453,8128973,3485255,8133456,8128988,8133461,8129007,8129101,8129122,8129551,4056070,8129684,8129698,8129808,8129843,8129845';
imageSets[3] = '9081386,9081382,9081339,9080396,9077772,9077732,9059558,9021909,9005737,9004156,8983105,8982619,8924268,8777490,8777362,8777187,8777105,8771309,8771307,8770487,8770476,8644933,8644929,8644881,8644880,8644876,8644867,8644836,8644835,8302762,8302747,8302743,8302737,8302733,8302724,8302721,8302720,8302712,8302708,8302701,8302697,8301096,8301001,8272291,8203426,8200002,8199993,8199988,8199979,8199977';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/djhowiet/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/djhowiet/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/djhowiet/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/djhowiet/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/djhowiet/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/djhowiet/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/djhowiet/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/djhowiet/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/djhowiet/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/djhowiet/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/djhowiet/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/djhowiet/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/djhowiet/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/djhowiet/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/djhowiet/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/djhowiet/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/djhowiet/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/djhowiet/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/djhowiet/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/djhowiet/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/djhowiet/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/djhowiet/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/djhowiet/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/djhowiet/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/djhowiet/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/djhowiet/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/djhowiet/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 = 'Ian Howard Digital Imaging: ' + photoCaption;
			    }
        if (op.$detail.length > 0) {
      	temp = op.nextPhoto.fnGetImageDetails();
	    op.$detail.fadeGalleryDetails(temp, op.speed, function(){
			if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
				toggleAddToCartConfirm(backgrounds, op.$detail);
			} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
				toggleAddToCartConfirm(photos, op.$detail);
			}
			$('body').trigger('clikUpdate.popup');
	    });
    }
        $(op.$detailContainer).find('.replaceable[class*=replaceable_photo-]').each(function(){
    	var field = clik.getPrefixedClass(this.className, 'replaceable_photo-');
    	if (field in op.nextPhoto) {
    		$(this).fadeGalleryDetails(op.nextPhoto[field], op.speed);
    	}
    }).end().find('.replaceable.photoPayment').fadeGalleryDetails(op.nextPhoto.fnGetPaymentInfo(), op.speed, function(){
		if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
			toggleAddToCartConfirm(backgrounds, op.$detailContainer);
		} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
			toggleAddToCartConfirm(photos, op.$detailContainer);
		}
		$('body').trigger('clikUpdate.popup');
	});
		if (op.$photo.length > 0) {
		html = $('<img/>',{
			'class': 'mainphoto photo',
			src: photoSrc,
			id: 'mainPic',
			name: 'mainPic',
			width: op.nextPhoto.width,
			height: op.nextPhoto.height,
			alt: photoCaption,
			css: op.css || {}
		});
		if (op.href) {
			if (op.href.match(/<a/)) {
				html = $(op.href).append(html);
			} else {
				html = $('<a/>', {
					href: op.href,
					title: photoCaption
				}).append(html);
			}
		} else {
			html = $('<a/>', {
				title: photoCaption
			}).append(html);
		}
		if (op.speed == 0) {			op.$photo.html(html);			if (op.onBefore) {			  	op.onBefore.apply(op.$photo);			}			if (op.onAfter) {			  	op.onAfter.apply(op.$photo);			}		} else {			op.$photo.stop(true,true).fadeReplaceWith(html,op.speed,'',function(){  				if (op.onAfter) {				  	op.onAfter.apply(this);				}				clik.doColumnResize(false, $(this).add(op.$detail).add(op.$title));			}, op.onBefore);
		}	}
    if (op.field) {
		op.field.value = photoId;
	} else {
		op.$photo.data('image_id', photoId);
    }
        if (!op.speed) {
      	clik.doColumnResize(false, op.$photo.add(op.$detail).add(op.$title));
    }
        
    return html;
	}

/***************************************************************************
* Toggle add to cart confirmation element and set up the click event for   *
* the 'Add to cart' button.                                                *
***************************************************************************/
function toggleAddToCartConfirm(array, root){
	if (typeof(array) !== 'object' || array === null) {
	  	array = photos;
	}
	if (!$(root).length) {		root = $('body');	}	if($('#paymentConfirm', root).length > 0){
		$('#paymentConfirm', root).hide();
		$('#paymentAddButton', root)
		.unbind()
		.click(function(){
						form = $('#paymentForm', root)[0];
			option_id = 0;
			if(form.item_option.value){
				option_id = form.item_option.value;
			}
			if(addItemToBasket(form.item_number.value,array,form.site.value,parseInt(form.quantity.value, 10),option_id)){
				if($.browser.msie){$('#paymentConfirm', root).text('Item added to cart').show();}
				else{
					$('#paymentConfirm', root).text('Item added to cart').fadeIn();
					dspOrderDetails(form.site.value);
				}
			}
			else{
				$('#paymentConfirm', root).text('Item not added - check cookies are enabled in your browser.').fadeIn();
			}
		});
	}
}

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetImageDetails = function(){
	var temp = '';
	if (this.description != '') {
		temp +=  '<div id="imageDescription">' + this.description + '</div>';
	}
		if (this.photo_ref != '') {
		temp += '<div class="imageinfo" id="imageRef"><strong>Ref: </strong>' + this.photo_ref + '</div>';
	}
		if (this.takendate != '') {
		
		temp += '<div class="imageinfo" id="imageDate"><strong>Date: </strong>' + this.takendate + '</div>';
	}
	
	if (this.location != '') {
		
		temp += '<div class="imageinfo" id="imageLocation"><strong>Location: </strong>' +  this.location + '</div>';
	}
	
	if (this.photographer != '') {
		
		temp += '<div class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>' + this.photographer + '</div>';
	}
				
	temp += this.fnGetPaymentInfo();
				if (temp != '') {
		temp += '<div class="spacer"></div>';
	}
	return temp;
};

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetPaymentInfo = function(){
	var temp = '';
	if (this.item_price !== '') {
																		temp += '<p>Buy now using PayPal:</p>';
				temp += '<div class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> &pound;' + (this.item_price).toFixed(2) + '</div>';
		var item_name  = this.purchase_instruction;
		var amount = (this.item_price).toFixed(2);
		var item_option  = 0;
	}
		else if (this.payment_groups_id !== '') {
		temp += '<p>Buy this print online:</p>';
				temp += '<form id="paymentOptions" style="margin:0px;border:0px;" name="paymentOptions">';
											temp += '<select class="paymentlink" name="payment_options_id" onchange="updateItemValues($(this.form).next(\'#paymentForm\')[0],this.form.payment_options_id.options[this.form.payment_options_id.options.selectedIndex].value);">';
		
		temp += getPaymentOptions(this.payment_groups_id);
		temp += '</select>';
		temp += '</form>';
				var item_option  = paymentGroups[this.payment_groups_id].options[0];
		if(paymentOptions[item_option]){
			var item_name  = paymentOptions[item_option].payment_option;
			var amount =  paymentOptions[item_option].price;
		}
			}
		else {
		
	}
	if (this.item_price !== '' || this.payment_groups_id !== '') {
																		temp += '<form id="paymentForm" style="margin:0px;border:0px;" name="paymentForm" target="_blank" action="https://www.paypal.com/cgi-bin/webscr" method="post">';
			temp += '<input type="hidden" name="item_name" value="'+item_name+'">';
			ref = '';
			if(this.photo_ref != ''){
				ref = this.photo_ref+' - '+this.caption;
			}
			else{
				ref = this.id+' - '+this.caption;
			}
			price = amount;								temp += '<input type="hidden" name="cmd" value="_cart">';
					temp += '<input type="hidden" name="business" value="djhowiet61@hotmail.com">';
					temp += '<input type="hidden" name="currency_code" value="GBP">';
					temp += '<input type="hidden" name="add" value="1">';
													temp += '<input type="hidden" name="amount" value="'+amount+'">';
					temp += '<input type="hidden" name="item_number" value="'+ref+'">';
													temp += '<input type=\"Submit\" value=\"Add to cart\" id=\"paymentAddButton\" class=\"button\" onmouseover=\"this.className=\'buttonHi\';\" onmouseout=\"this.className=\'button\';\">';
										temp += '</form>';
										temp += '<form id="paymentCartForm" style="margin:0px;" name="paymentCartForm" target="_blank" action="https://www.paypal.com/cgi-bin/webscr" method="post">';
				temp += '<input type="hidden" name="cmd" value="_cart">';
				temp += '<input type="hidden" name="business" value="djhowiet61@hotmail.com">';
				temp += '<input type="hidden" name="display" value="1">';
				temp += '<input type=\"Submit\" value=\"View cart\" id=\"paymentViewButton\" class=\"button\" onmouseover=\"this.className=\'buttonHi\';\" onmouseout=\"this.className=\'button\';\">';
				temp += '</form>';
						temp += '<div class="clearing">&nbsp;</div>';
	}
	return temp;};

/***************************************************************************
* Pick a photo at random from the featured images of a gallery.            *
* Gallery_id = id of gallery to choose,                                    *
* img = reference to html image in                                         *
* which to show image                                                      *
***************************************************************************/
function showGalleryImage(gallery_id, img, updateLink) {
	
	if(img){
		if (location.hash.match('galleries_id=' + gallery_id) && (imageID = location.hash.match('.*photos_id=(.+)$'))) {
		  	imageID = imageID[1];
		} else {
		  	imageID = randomListVal(galleries[gallery_id].featured_images);
		}
		
		if (imageID != 0) {
			img.src = thumbnails[imageID].src;
			img.width = thumbnails[imageID].width;
			img.height = thumbnails[imageID].height;
			img.alt = galleries[gallery_id].title;
			if (updateLink) {
				$(img).parent().attr({					title: galleries[gallery_id].title				}).filter(function(){return this.href;}).attr({					href: thumbnails[imageID].fnGalleryLink(gallery_id)				});
			}
		}
	}
}

/***************************************************************************
* If we have dynamic HTML, replace the galleries link with a list that     *
* doesn't include thecurrent gallery                                       *
***************************************************************************/
function showGalleries(gallery_id) {
		
	
	if (!basic) {
		temp = '';
		for (i = 0; i < galleries.length; i++) {
						
			
			if (galleries[i].id != gallery_id) {
								
				if (temp != '') {
					temp += ' | ';
				}
								temp += '<a href="' + galleries[i].section_code + '_' + galleries[i].id + '.html">' + galleries[i].title + '</a>';
							}
		}
		document.all.galleryLinks.innerHTML = 'Other galleries: ' + temp;
	}
}

			

