window.thumbnails = {};
															thumbnails[3013769] = clik.newPhoto({"id":3013769,"src":"Group_thumb.jpg","galleries_id":"","server_id":32,"link":"#","width":130,"caption":"","height":108});
															thumbnails[3013813] = clik.newPhoto({"id":3013813,"src":"The_Wedding_Retailer_Awardsa_thumb.jpg","galleries_id":"","server_id":32,"link":"#","width":130,"caption":"","height":208});
															thumbnails[3333013] = clik.newPhoto({"id":3333013,"src":"Map1_thumb.jpg","galleries_id":"","server_id":32,"link":"#","width":130,"caption":"","height":194});
															thumbnails[8428365] = clik.newPhoto({"id":8428365,"src":"Vanessa_Website_thumb.jpg","galleries_id":"","server_id":32,"link":"#","width":130,"caption":"","height":180});
															thumbnails[8460980] = clik.newPhoto({"id":8460980,"src":"Award_thumb.jpg","galleries_id":"","server_id":32,"link":"#","width":130,"caption":"","height":123});
															thumbnails[8613950] = clik.newPhoto({"id":8613950,"src":"Nichola_Allen_Profile_thumb.jpg","galleries_id":"","server_id":32,"link":"#","width":130,"caption":"","height":230});
															thumbnails[8613959] = clik.newPhoto({"id":8613959,"src":"Ranjeet_1_thumb.jpg","galleries_id":"","server_id":32,"link":"#","width":130,"caption":"","height":185});
															thumbnails[8614471] = clik.newPhoto({"id":8614471,"src":"Home_page_thumb.jpg","galleries_id":"","server_id":32,"link":"#","width":130,"caption":"","height":130});
															thumbnails[8633370] = clik.newPhoto({"id":8633370,"src":"Sarah_Cronin_thumb.jpg","galleries_id":"","server_id":32,"link":"#","width":130,"caption":"","height":173});
															thumbnails[8789480] = clik.newPhoto({"id":8789480,"src":"_MG_2667_thumb.JPG","galleries_id":"","server_id":32,"link":"#","width":130,"caption":"","height":87});
															thumbnails[8789809] = clik.newPhoto({"id":8789809,"src":"James__I_thumb.jpg","galleries_id":"","server_id":32,"link":"#","width":130,"caption":"","height":84});
															thumbnails[8789810] = clik.newPhoto({"id":8789810,"src":"_MG_2912_thumb.JPG","galleries_id":"","server_id":32,"link":"#","width":130,"caption":"","height":87});
															thumbnails[8840982] = clik.newPhoto({"id":8840982,"src":"Profile_CBA7DE57-1EC9-D45B-1CBC2365B9D485EC_thumb.jpg","galleries_id":"","server_id":32,"link":"#","width":130,"caption":"","height":178});
															thumbnails[9034249] = clik.newPhoto({"id":9034249,"src":"Vick_Hampshire_thumb.jpg","galleries_id":"","server_id":32,"link":"#","width":130,"caption":"","height":173});
															thumbnails[2798574] = clik.newPhoto({"id":2798574,"src":"MOB_thumb.jpg","galleries_id":455852,"server_id":32,"link":"photo_2798574.html","width":130,"caption":"","height":98});
															thumbnails[2868426] = clik.newPhoto({"id":2868426,"src":"Jo Hair 2_thumb.jpg","galleries_id":455852,"server_id":32,"link":"photo_2868426.html","width":130,"caption":"","height":117});
															thumbnails[2868440] = clik.newPhoto({"id":2868440,"src":"Hair-up1_thumb.jpg","galleries_id":455852,"server_id":32,"link":"photo_2868440.html","width":130,"caption":"","height":112});
															thumbnails[2868444] = clik.newPhoto({"id":2868444,"src":"collage-1_thumb.jpg","galleries_id":455852,"server_id":32,"link":"photo_2868444.html","width":130,"caption":"","height":97});
															thumbnails[2868446] = clik.newPhoto({"id":2868446,"src":"DSC01002_thumb.JPG","galleries_id":455852,"server_id":32,"link":"photo_2868446.html","width":130,"caption":"","height":97});
															thumbnails[2868452] = clik.newPhoto({"id":2868452,"src":"DSC01005_thumb.JPG","galleries_id":455852,"server_id":32,"link":"photo_2868452.html","width":130,"caption":"","height":97});
															thumbnails[2868457] = clik.newPhoto({"id":2868457,"src":"DSC01006_thumb.JPG","galleries_id":455852,"server_id":32,"link":"photo_2868457.html","width":130,"caption":"","height":97});
															thumbnails[2868475] = clik.newPhoto({"id":2868475,"src":"hair_thumb.jpg","galleries_id":455852,"server_id":32,"link":"photo_2868475.html","width":129,"caption":"","height":97});
															thumbnails[2868476] = clik.newPhoto({"id":2868476,"src":"hair21_thumb.jpg","galleries_id":455852,"server_id":32,"link":"photo_2868476.html","width":129,"caption":"","height":115});
															thumbnails[2868646] = clik.newPhoto({"id":2868646,"src":"DSC00775-1_thumb.JPG","galleries_id":455852,"server_id":32,"link":"photo_2868646.html","width":130,"caption":"","height":148});
															thumbnails[2868661] = clik.newPhoto({"id":2868661,"src":"DSC00779-1_thumb.JPG","galleries_id":455852,"server_id":32,"link":"photo_2868661.html","width":130,"caption":"","height":125});
															thumbnails[2869193] = clik.newPhoto({"id":2869193,"src":"Rosie 2_thumb.jpg","galleries_id":455852,"server_id":32,"link":"photo_2869193.html","width":130,"caption":"","height":113});
															thumbnails[2869214] = clik.newPhoto({"id":2869214,"src":"Elizabeth-face2-1_thumb.jpg","galleries_id":476218,"server_id":32,"link":"photo_2869214.html","width":129,"caption":"","height":178});
															thumbnails[2884708] = clik.newPhoto({"id":2884708,"src":"Fiona 3a1_thumb.jpg","galleries_id":455852,"server_id":32,"link":"photo_2884708.html","width":130,"caption":"","height":116});
															thumbnails[2975625] = clik.newPhoto({"id":2975625,"src":"Blonde 21_thumb.jpg","galleries_id":476218,"server_id":32,"link":"photo_2975625.html","width":130,"caption":"","height":203});
															thumbnails[2975627] = clik.newPhoto({"id":2975627,"src":"Blonde Pretty-31_thumb.jpg","galleries_id":476218,"server_id":32,"link":"photo_2975627.html","width":130,"caption":"","height":113});
															thumbnails[2975639] = clik.newPhoto({"id":2975639,"src":"DSC000901_thumb.JPG","galleries_id":455852,"server_id":32,"link":"photo_2975639.html","width":130,"caption":"","height":107});
															thumbnails[2975643] = clik.newPhoto({"id":2975643,"src":"IMG_41221_thumb.jpg","galleries_id":455852,"server_id":32,"link":"photo_2975643.html","width":130,"caption":"","height":133});
															thumbnails[2975652] = clik.newPhoto({"id":2975652,"src":"P10104641-11_thumb.JPG","galleries_id":455852,"server_id":32,"link":"photo_2975652.html","width":130,"caption":"","height":123});
															thumbnails[2975745] = clik.newPhoto({"id":2975745,"src":"Make-up2_thumb.jpg","galleries_id":455852,"server_id":32,"link":"photo_2975745.html","width":130,"caption":"","height":195});
															thumbnails[2975749] = clik.newPhoto({"id":2975749,"src":"collage13_thumb.jpg","galleries_id":476218,"server_id":32,"link":"photo_2975749.html","width":130,"caption":"","height":98});
															thumbnails[2975754] = clik.newPhoto({"id":2975754,"src":"collage14_thumb.jpg","galleries_id":476218,"server_id":32,"link":"photo_2975754.html","width":130,"caption":"","height":98});
															thumbnails[2980854] = clik.newPhoto({"id":2980854,"src":"P10104651-12_thumb.JPG","galleries_id":455852,"server_id":32,"link":"photo_2980854.html","width":130,"caption":"","height":173});
															thumbnails[2980945] = clik.newPhoto({"id":2980945,"src":"Natalie Williams1_thumb.jpg","galleries_id":455852,"server_id":32,"link":"photo_2980945.html","width":130,"caption":"","height":98});
															thumbnails[2992137] = clik.newPhoto({"id":2992137,"src":"Vanessa 1_thumb.jpg","galleries_id":455852,"server_id":32,"link":"photo_2992137.html","width":130,"caption":"","height":100});
															thumbnails[2992138] = clik.newPhoto({"id":2992138,"src":"Vanessa 2_thumb.jpg","galleries_id":455852,"server_id":32,"link":"photo_2992138.html","width":130,"caption":"","height":131});
															thumbnails[2992139] = clik.newPhoto({"id":2992139,"src":"Vanessa 3_thumb.jpg","galleries_id":455852,"server_id":32,"link":"photo_2992139.html","width":130,"caption":"","height":145});
															thumbnails[3104258] = clik.newPhoto({"id":3104258,"src":"B-105_thumb.jpg","galleries_id":455852,"server_id":32,"link":"photo_3104258.html","width":130,"caption":"","height":195});
															thumbnails[3117386] = clik.newPhoto({"id":3117386,"src":"collage3_thumb.jpg","galleries_id":455852,"server_id":32,"link":"photo_3117386.html","width":130,"caption":"","height":98});
															thumbnails[3117387] = clik.newPhoto({"id":3117387,"src":"collage4_thumb.jpg","galleries_id":455852,"server_id":32,"link":"photo_3117387.html","width":130,"caption":"","height":98});
															thumbnails[3117388] = clik.newPhoto({"id":3117388,"src":"collage5_thumb.jpg","galleries_id":455852,"server_id":32,"link":"photo_3117388.html","width":130,"caption":"","height":98});
															thumbnails[3131432] = clik.newPhoto({"id":3131432,"src":"Joy2_thumb.jpg","galleries_id":455852,"server_id":32,"link":"photo_3131432.html","width":130,"caption":"","height":86});
															thumbnails[4576521] = clik.newPhoto({"id":4576521,"src":"IMG_0505-1_thumb.JPG","galleries_id":178350,"server_id":32,"link":"photo_4576521.html","width":130,"caption":"","height":173});
															thumbnails[4576555] = clik.newPhoto({"id":4576555,"src":"IMG_0502-1_thumb.JPG","galleries_id":178350,"server_id":32,"link":"photo_4576555.html","width":130,"caption":"","height":203});
															thumbnails[4576567] = clik.newPhoto({"id":4576567,"src":"IMG_0557-1_thumb.JPG","galleries_id":178350,"server_id":32,"link":"photo_4576567.html","width":130,"caption":"","height":155});
															thumbnails[4576569] = clik.newPhoto({"id":4576569,"src":"IMG_0561-1_thumb.JPG","galleries_id":178350,"server_id":32,"link":"photo_4576569.html","width":130,"caption":"","height":173});
															thumbnails[4576572] = clik.newPhoto({"id":4576572,"src":"IMG_0397_thumb.JPG","galleries_id":178350,"server_id":32,"link":"photo_4576572.html","width":130,"caption":"","height":98});
															thumbnails[4576573] = clik.newPhoto({"id":4576573,"src":"IMG_0480-1_thumb.JPG","galleries_id":178350,"server_id":32,"link":"photo_4576573.html","width":130,"caption":"","height":133});
															thumbnails[4576574] = clik.newPhoto({"id":4576574,"src":"IMG_0481-1_thumb.JPG","galleries_id":178350,"server_id":32,"link":"photo_4576574.html","width":130,"caption":"","height":165});
															thumbnails[4576575] = clik.newPhoto({"id":4576575,"src":"IMG_0555-1_thumb.JPG","galleries_id":178350,"server_id":32,"link":"photo_4576575.html","width":130,"caption":"","height":233});
															thumbnails[4576584] = clik.newPhoto({"id":4576584,"src":"Jeanette_2_thumb.jpg","galleries_id":178350,"server_id":32,"link":"photo_4576584.html","width":130,"caption":"","height":179});
															thumbnails[6067155] = clik.newPhoto({"id":6067155,"src":"Mel_thumb.jpg","galleries_id":455852,"server_id":32,"link":"photo_6067155.html","width":130,"caption":"","height":174});
															thumbnails[6112212] = clik.newPhoto({"id":6112212,"src":"LowRes-1_thumb.png","galleries_id":455852,"server_id":32,"link":"photo_6112212.html","width":130,"caption":"Winner for Hair & Beauty at the Wedding Retailer Awards 2008. ","height":197});
															thumbnails[6548647] = clik.newPhoto({"id":6548647,"src":"Natalie_2_thumb.jpg","galleries_id":455852,"server_id":32,"link":"photo_6548647.html","width":130,"caption":"","height":181});
															thumbnails[6724185] = clik.newPhoto({"id":6724185,"src":"Lucy_6_thumb.jpg","galleries_id":455852,"server_id":32,"link":"photo_6724185.html","width":130,"caption":"","height":86});
															thumbnails[6724188] = clik.newPhoto({"id":6724188,"src":"Lucy_7_thumb.jpg","galleries_id":455852,"server_id":32,"link":"photo_6724188.html","width":130,"caption":"","height":195});
															thumbnails[7182720] = clik.newPhoto({"id":7182720,"src":"Anna_Crone_Dec_201021_thumb.jpg","galleries_id":455852,"server_id":32,"link":"photo_7182720.html","width":130,"caption":"","height":98});
															thumbnails[7182745] = clik.newPhoto({"id":7182745,"src":"Anna_Crone_Dec_201012_thumb.jpg","galleries_id":455852,"server_id":32,"link":"photo_7182745.html","width":130,"caption":"","height":92});
															thumbnails[7182751] = clik.newPhoto({"id":7182751,"src":"Anna_Crone_Dec_201011_thumb.jpg","galleries_id":455852,"server_id":32,"link":"photo_7182751.html","width":130,"caption":"","height":98});
															thumbnails[7478587] = clik.newPhoto({"id":7478587,"src":"0046_thumb.jpg","galleries_id":178350,"server_id":32,"link":"photo_7478587.html","width":130,"caption":"","height":197});
															thumbnails[7478626] = clik.newPhoto({"id":7478626,"src":"Home_thumb.jpg","galleries_id":178350,"server_id":32,"link":"photo_7478626.html","width":130,"caption":"","height":81});
															thumbnails[7478637] = clik.newPhoto({"id":7478637,"src":"Nat__Pink_nails2_thumb.jpg","galleries_id":455852,"server_id":32,"link":"photo_7478637.html","width":130,"caption":"","height":91});
															thumbnails[7478639] = clik.newPhoto({"id":7478639,"src":"Nat_Mirror1_thumb.jpg","galleries_id":455852,"server_id":32,"link":"photo_7478639.html","width":130,"caption":"","height":111});
															thumbnails[8144756] = clik.newPhoto({"id":8144756,"src":"Magazine_Shoot_thumb.jpg","galleries_id":435442,"server_id":32,"link":"photo_8144756.html","width":130,"caption":"","height":146});
															thumbnails[8144771] = clik.newPhoto({"id":8144771,"src":"Magazine_shoot_101_thumb.jpg","galleries_id":435442,"server_id":32,"link":"photo_8144771.html","width":130,"caption":"","height":189});
															thumbnails[8144777] = clik.newPhoto({"id":8144777,"src":"N_Allen_thumb.jpg","galleries_id":435442,"server_id":32,"link":"photo_8144777.html","width":130,"caption":"","height":92});
															thumbnails[8208779] = clik.newPhoto({"id":8208779,"src":"Bilkees_1_thumb.jpg","galleries_id":437922,"server_id":32,"link":"photo_8208779.html","width":130,"caption":"","height":195});
															thumbnails[8208780] = clik.newPhoto({"id":8208780,"src":"Bilkees_2_thumb.jpg","galleries_id":437922,"server_id":32,"link":"photo_8208780.html","width":130,"caption":"","height":195});
															thumbnails[8208781] = clik.newPhoto({"id":8208781,"src":"Sajeeda_1_thumb.jpg","galleries_id":437922,"server_id":32,"link":"photo_8208781.html","width":130,"caption":"","height":173});
															thumbnails[8208782] = clik.newPhoto({"id":8208782,"src":"Sajeeda_hair_thumb.jpg","galleries_id":437922,"server_id":32,"link":"photo_8208782.html","width":130,"caption":"","height":169});
															thumbnails[8208783] = clik.newPhoto({"id":8208783,"src":"Sameera_2_thumb.jpg","galleries_id":437922,"server_id":32,"link":"photo_8208783.html","width":130,"caption":"","height":183});
															thumbnails[8208787] = clik.newPhoto({"id":8208787,"src":"Zainab_3_thumb.jpg","galleries_id":437922,"server_id":32,"link":"photo_8208787.html","width":130,"caption":"","height":173});
															thumbnails[8208788] = clik.newPhoto({"id":8208788,"src":"Sameera_1_thumb.jpg","galleries_id":437922,"server_id":32,"link":"photo_8208788.html","width":130,"caption":"","height":173});
															thumbnails[8613898] = clik.newPhoto({"id":8613898,"src":"Jeanettes_work2_thumb.jpg","galleries_id":178350,"server_id":32,"link":"photo_8613898.html","width":130,"caption":"","height":104});
															thumbnails[8613899] = clik.newPhoto({"id":8613899,"src":"Jeanettes_work1_thumb.jpg","galleries_id":178350,"server_id":32,"link":"photo_8613899.html","width":130,"caption":"","height":104});
															thumbnails[8613901] = clik.newPhoto({"id":8613901,"src":"hair_2011_011_thumb.jpg","galleries_id":178350,"server_id":32,"link":"photo_8613901.html","width":130,"caption":"","height":173});
															thumbnails[8613902] = clik.newPhoto({"id":8613902,"src":"hair_2011_034_thumb.jpg","galleries_id":178350,"server_id":32,"link":"photo_8613902.html","width":130,"caption":"","height":173});
															thumbnails[8633332] = clik.newPhoto({"id":8633332,"src":"Ranjeet_thumb.jpg","galleries_id":455383,"server_id":32,"link":"photo_8633332.html","width":130,"caption":"","height":130});
															thumbnails[8633333] = clik.newPhoto({"id":8633333,"src":"Ranjeet1_thumb.jpg","galleries_id":455383,"server_id":32,"link":"photo_8633333.html","width":130,"caption":"","height":130});
															thumbnails[8633335] = clik.newPhoto({"id":8633335,"src":"Ranjeet5_thumb.jpg","galleries_id":455383,"server_id":32,"link":"photo_8633335.html","width":130,"caption":"","height":208});
															thumbnails[8633338] = clik.newPhoto({"id":8633338,"src":"Ranjeet3_thumb.jpg","galleries_id":455383,"server_id":32,"link":"photo_8633338.html","width":130,"caption":"","height":98});
															thumbnails[8633339] = clik.newPhoto({"id":8633339,"src":"Ranjeet4_thumb.jpg","galleries_id":455383,"server_id":32,"link":"photo_8633339.html","width":130,"caption":"","height":81});
															thumbnails[8633506] = clik.newPhoto({"id":8633506,"src":"Pictures_thumb.jpg","galleries_id":455852,"server_id":32,"link":"photo_8633506.html","width":130,"caption":"","height":81});
															thumbnails[8633507] = clik.newPhoto({"id":8633507,"src":"Pictures4_thumb.jpg","galleries_id":455852,"server_id":32,"link":"photo_8633507.html","width":130,"caption":"","height":173});
															thumbnails[8633535] = clik.newPhoto({"id":8633535,"src":"Pictures2_thumb.jpg","galleries_id":455852,"server_id":32,"link":"photo_8633535.html","width":130,"caption":"","height":98});
															thumbnails[8633563] = clik.newPhoto({"id":8633563,"src":"Pictures3_thumb.jpg","galleries_id":455852,"server_id":32,"link":"photo_8633563.html","width":130,"caption":"","height":98});
															thumbnails[8633566] = clik.newPhoto({"id":8633566,"src":"Pictures1_thumb.jpg","galleries_id":455852,"server_id":32,"link":"photo_8633566.html","width":130,"caption":"","height":81});
															thumbnails[8633570] = clik.newPhoto({"id":8633570,"src":"Pictures5_thumb.jpg","galleries_id":455852,"server_id":32,"link":"photo_8633570.html","width":130,"caption":"","height":173});
															thumbnails[8649997] = clik.newPhoto({"id":8649997,"src":"N_Allen5_thumb.jpg","galleries_id":435442,"server_id":32,"link":"photo_8649997.html","width":130,"caption":"","height":195});
															thumbnails[8841081] = clik.newPhoto({"id":8841081,"src":"Beauty_Queen_2_CC06ACA1-1EC9-D45B-1C948912E094B6CC_thumb.jpg","galleries_id":437922,"server_id":32,"link":"photo_8841081.html","width":130,"caption":"","height":196});
															thumbnails[8841082] = clik.newPhoto({"id":8841082,"src":"Beauty_Queen_5_CC0AEF34-1EC9-D45B-1C930DBE88380F01_thumb.jpg","galleries_id":437922,"server_id":32,"link":"photo_8841082.html","width":130,"caption":"","height":196});
															thumbnails[8841083] = clik.newPhoto({"id":8841083,"src":"BQ_11_CC0F9A05-1EC9-D45B-1C7D95BC6F2B5EB2_thumb.jpg","galleries_id":437922,"server_id":32,"link":"photo_8841083.html","width":130,"caption":"","height":196});
															thumbnails[8841084] = clik.newPhoto({"id":8841084,"src":"Hamida_2_CC135BCB-1EC9-D45B-1C1805FAC4BF36D1_thumb.jpg","galleries_id":437922,"server_id":32,"link":"photo_8841084.html","width":130,"caption":"","height":168});
															thumbnails[8841085] = clik.newPhoto({"id":8841085,"src":"Hamida_5_CC1676D1-1EC9-D45B-1CC063DB7206AE74_thumb.jpg","galleries_id":437922,"server_id":32,"link":"photo_8841085.html","width":130,"caption":"","height":196});
															thumbnails[8841086] = clik.newPhoto({"id":8841086,"src":"In_action_7_CC19EC9A-1EC9-D45B-1C300543458CF9DD_thumb.jpg","galleries_id":437922,"server_id":32,"link":"photo_8841086.html","width":130,"caption":"","height":86});
															thumbnails[8841090] = clik.newPhoto({"id":8841090,"src":"MIss_India_1_CC1D0EED-1EC9-D45B-1C8D912BD1913AEC_thumb.jpg","galleries_id":437922,"server_id":32,"link":"photo_8841090.html","width":130,"caption":"","height":189});
															thumbnails[8841091] = clik.newPhoto({"id":8841091,"src":"untitled_49_of_78_CC233F76-1EC9-D45B-1C4709A2DD2629F5_thumb.jpg","galleries_id":437922,"server_id":32,"link":"photo_8841091.html","width":130,"caption":"","height":173});
															thumbnails[8841092] = clik.newPhoto({"id":8841092,"src":"untitled_69_of_78_CC283662-1EC9-D45B-1C102C80D8F85192_thumb.jpg","galleries_id":437922,"server_id":32,"link":"photo_8841092.html","width":130,"caption":"","height":188});
															thumbnails[8841093] = clik.newPhoto({"id":8841093,"src":"untitled_70_of_78_CC45AC02-1EC9-D45B-1C9D8D9C847B4CE1_thumb.jpg","galleries_id":437922,"server_id":32,"link":"photo_8841093.html","width":130,"caption":"","height":173});
															thumbnails[8841097] = clik.newPhoto({"id":8841097,"src":"Bridesmaid_CC60C7DE-1EC9-D45B-1C3466ABE1A38B37_thumb.jpg","galleries_id":455852,"server_id":32,"link":"photo_8841097.html","width":130,"caption":"","height":174});
															thumbnails[8841119] = clik.newPhoto({"id":8841119,"src":"IMG_1146_pp_CC6F7A5F-1EC9-D45B-1C491AF41A9B927A_thumb.JPG","galleries_id":455852,"server_id":32,"link":"photo_8841119.html","width":130,"caption":"","height":195});
															thumbnails[8841126] = clik.newPhoto({"id":8841126,"src":"IMG_1069_CC915C4F-1EC9-D45B-1CD5677F8CD58575_thumb.JPG","galleries_id":455852,"server_id":32,"link":"photo_8841126.html","width":130,"caption":"","height":195});
															thumbnails[8841127] = clik.newPhoto({"id":8841127,"src":"Diana_Small_Trial4_CC9FA3E8-1EC9-D45B-1C26F55221164F94_thumb.jpg","galleries_id":455852,"server_id":32,"link":"photo_8841127.html","width":130,"caption":"","height":87});
															thumbnails[8841128] = clik.newPhoto({"id":8841128,"src":"iphone_odds_Nov_20112_CCACA977-1EC9-D45B-1C2476F043B6EAC5_thumb.jpg","galleries_id":476218,"server_id":32,"link":"photo_8841128.html","width":130,"caption":"","height":90});
															thumbnails[8841134] = clik.newPhoto({"id":8841134,"src":"Tracy_Price_Trial_CCCA94C7-1EC9-D45B-1C6CA4E598E7231C_thumb.jpg","galleries_id":455852,"server_id":32,"link":"photo_8841134.html","width":130,"caption":"","height":87});
															thumbnails[6520556] = clik.newPhoto({"id":6520556,"src":"Hair_037_thumb.jpg","galleries_id":178350,"server_id":32,"link":"photo_6520556.html","width":130,"caption":"","height":142});
															thumbnails[6520461] = clik.newPhoto({"id":6520461,"src":"Hair_002_thumb.jpg","galleries_id":178350,"server_id":32,"link":"photo_6520461.html","width":130,"caption":"","height":98});
															thumbnails[8626938] = clik.newPhoto({"id":8626938,"src":"Part_16_thumb.jpg","galleries_id":455852,"server_id":32,"link":"photo_8626938.html","width":130,"caption":"","height":195});
															thumbnails[6520613] = clik.newPhoto({"id":6520613,"src":"Hair_028_thumb.jpg","galleries_id":178350,"server_id":32,"link":"photo_6520613.html","width":130,"caption":"","height":159});
															thumbnails[8626921] = clik.newPhoto({"id":8626921,"src":"Charlie_Armstrong_Wedding_Day_thumb.jpg","galleries_id":455852,"server_id":32,"link":"photo_8626921.html","width":130,"caption":"","height":104});
															thumbnails[6520564] = clik.newPhoto({"id":6520564,"src":"Hair_041_thumb.jpg","galleries_id":178350,"server_id":32,"link":"photo_6520564.html","width":130,"caption":"","height":139});
															thumbnails[7852960] = clik.newPhoto({"id":7852960,"src":"DSC00159_thumb.JPG","galleries_id":455852,"server_id":32,"link":"photo_7852960.html","width":130,"caption":"","height":174});
															thumbnails[6520545] = clik.newPhoto({"id":6520545,"src":"Hair_006_thumb.jpg","galleries_id":178350,"server_id":32,"link":"photo_6520545.html","width":130,"caption":"","height":173});
															thumbnails[6520549] = clik.newPhoto({"id":6520549,"src":"Hair_007_thumb.jpg","galleries_id":178350,"server_id":32,"link":"photo_6520549.html","width":130,"caption":"","height":173});
															thumbnails[6520455] = clik.newPhoto({"id":6520455,"src":"Copy_of_Hair_001_thumb.jpg","galleries_id":178350,"server_id":32,"link":"photo_6520455.html","width":130,"caption":"","height":98});
															thumbnails[8626923] = clik.newPhoto({"id":8626923,"src":"Part_1_thumb.jpg","galleries_id":455852,"server_id":32,"link":"photo_8626923.html","width":130,"caption":"","height":87});
															thumbnails[2967398] = clik.newPhoto({"id":2967398,"src":"Jo 21_thumb.jpg","galleries_id":455852,"server_id":32,"link":"photo_2967398.html","width":130,"caption":"","height":125});
															thumbnails[6520552] = clik.newPhoto({"id":6520552,"src":"Hair_0251_thumb.jpg","galleries_id":178350,"server_id":32,"link":"photo_6520552.html","width":130,"caption":"","height":153});
															thumbnails[6520539] = clik.newPhoto({"id":6520539,"src":"Hair_024_thumb.jpg","galleries_id":178350,"server_id":32,"link":"photo_6520539.html","width":130,"caption":"","height":98});
															thumbnails[8626926] = clik.newPhoto({"id":8626926,"src":"Part_12_thumb.jpg","galleries_id":455852,"server_id":32,"link":"photo_8626926.html","width":130,"caption":"","height":87});
															thumbnails[6520514] = clik.newPhoto({"id":6520514,"src":"Hair_0031_thumb.jpg","galleries_id":178350,"server_id":32,"link":"photo_6520514.html","width":130,"caption":"","height":98});
															thumbnails[8614284] = clik.newPhoto({"id":8614284,"src":"Bride_81_thumb.jpg","galleries_id":455852,"server_id":32,"link":"photo_8614284.html","width":130,"caption":"","height":200});
															thumbnails[6520465] = clik.newPhoto({"id":6520465,"src":"Hair_029_thumb.jpg","galleries_id":178350,"server_id":32,"link":"photo_6520465.html","width":130,"caption":"","height":176});
															thumbnails[8626930] = clik.newPhoto({"id":8626930,"src":"Part_14_thumb.jpg","galleries_id":476218,"server_id":32,"link":"photo_8626930.html","width":130,"caption":"","height":87});
															thumbnails[6675313] = clik.newPhoto({"id":6675313,"src":"Mum_1_thumb.jpg","galleries_id":455852,"server_id":32,"link":"photo_6675313.html","width":130,"caption":"","height":127});
															thumbnails[6675317] = clik.newPhoto({"id":6675317,"src":"after_thumb.jpg","galleries_id":455852,"server_id":32,"link":"photo_6675317.html","width":130,"caption":"","height":134});
															thumbnails[8626936] = clik.newPhoto({"id":8626936,"src":"Part_15_thumb.jpg","galleries_id":476218,"server_id":32,"link":"photo_8626936.html","width":130,"caption":"","height":87});
															thumbnails[6675328] = clik.newPhoto({"id":6675328,"src":"Jenny_2_thumb.jpg","galleries_id":455852,"server_id":32,"link":"photo_6675328.html","width":130,"caption":"","height":144});
															thumbnails[8614279] = clik.newPhoto({"id":8614279,"src":"Bride_6_thumb.jpg","galleries_id":455852,"server_id":32,"link":"photo_8614279.html","width":130,"caption":"","height":195});
															thumbnails[8626940] = clik.newPhoto({"id":8626940,"src":"Part_18_thumb.jpg","galleries_id":455852,"server_id":32,"link":"photo_8626940.html","width":130,"caption":"","height":87});
															thumbnails[8626939] = clik.newPhoto({"id":8626939,"src":"Part_17_thumb.jpg","galleries_id":476218,"server_id":32,"link":"photo_8626939.html","width":130,"caption":"","height":195});
															thumbnails[7025309] = clik.newPhoto({"id":7025309,"src":"Anne_Marie_After_thumb.jpg","galleries_id":455852,"server_id":32,"link":"photo_7025309.html","width":130,"caption":"","height":149});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[476218] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Assignments by Vanessa ","link":"gallery_476218.html","maxRecords":0.0,"photoIDs":[2869214.0,2975625.0,2975627.0,2975749.0,2975754.0,8841128.0,8626930.0,8626936.0,8626939.0],"skipIndex":0,"section_code":"gallery","featured_images":"8841128,8626939,8626936,8626930,2975754,2975749,2975627,2975625,2869214","id":476218,"singleSection":false});				  						galleries[455852] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Vanessa ","link":"gallery_455852.html","maxRecords":0.0,"photoIDs":[2798574.0,2868426.0,2868440.0,2868444.0,2868446.0,2868452.0,2868457.0,2868475.0,2868476.0,2868646.0,2868661.0,2869193.0,2884708.0,2975639.0,2975643.0,2975652.0,2975745.0,2980854.0,2980945.0,2992137.0,2992138.0,2992139.0,3104258.0,3117386.0,3117387.0,3117388.0,3131432.0,6067155.0,6112212.0,6548647.0,6724185.0,6724188.0,7182720.0,7182745.0,7182751.0,7478637.0,7478639.0,8633506.0,8633507.0,8633535.0,8633563.0,8633566.0,8633570.0,8841097.0,8841119.0,8841126.0,8841127.0,8841134.0,8626938.0,8626921.0,7852960.0,8626923.0,2967398.0,8626926.0,8614284.0,6675313.0,6675317.0,6675328.0,8614279.0,8626940.0,7025309.0],"skipIndex":0,"section_code":"gallery","featured_images":"8841134,8841127,8841126,8841119,8841097,8633570,8633566,8633563,8633535,8633507","id":455852,"singleSection":false});				  						galleries[178350] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Jeanette","link":"gallery_178350.html","maxRecords":0.0,"photoIDs":[4576521.0,4576555.0,4576567.0,4576569.0,4576572.0,4576573.0,4576574.0,4576575.0,4576584.0,7478587.0,7478626.0,8613898.0,8613899.0,8613901.0,8613902.0,6520556.0,6520461.0,6520613.0,6520564.0,6520545.0,6520549.0,6520455.0,6520552.0,6520539.0,6520514.0,6520465.0],"skipIndex":0,"section_code":"gallery","featured_images":"8613902,8613901,8613899,8613898,7478626,7478587,6520613,6520564,6520556,6520552","id":178350,"singleSection":false});				  						galleries[435442] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Nichola","link":"gallery_435442.html","maxRecords":0.0,"photoIDs":[8144756.0,8144771.0,8144777.0,8649997.0],"skipIndex":0,"section_code":"gallery","featured_images":"8649997,8144777,8144771,8144756","id":435442,"singleSection":false});				  						galleries[455383] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Ranjeet","link":"gallery_455383.html","maxRecords":0.0,"photoIDs":[8633332.0,8633333.0,8633335.0,8633338.0,8633339.0],"skipIndex":0,"section_code":"gallery","featured_images":"8633339,8633338,8633335,8633333,8633332","id":455383,"singleSection":false});				  						galleries[437922] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Zohrain","link":"gallery_437922.html","maxRecords":0.0,"photoIDs":[8208779.0,8208780.0,8208781.0,8208782.0,8208783.0,8208787.0,8208788.0,8841081.0,8841082.0,8841083.0,8841084.0,8841085.0,8841086.0,8841090.0,8841091.0,8841092.0,8841093.0],"skipIndex":0,"section_code":"gallery","featured_images":"8841093,8841092,8841091,8841090,8841086,8841085,8841084,8841083,8841082,8841081","id":437922,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '8614471';
imageSets[3] = '2975754,2975749,2975745,2975652,2975643,2975639,2975627,2975625';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/hctbeauty/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/hctbeauty/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/hctbeauty/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/hctbeauty/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/hctbeauty/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/hctbeauty/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/hctbeauty/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/hctbeauty/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/hctbeauty/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/hctbeauty/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/hctbeauty/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/hctbeauty/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/hctbeauty/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/hctbeauty/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/hctbeauty/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/hctbeauty/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/hctbeauty/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/hctbeauty/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/hctbeauty/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/hctbeauty/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/hctbeauty/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/hctbeauty/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/hctbeauty/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/hctbeauty/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/hctbeauty/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/hctbeauty/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/hctbeauty/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 = 'Blushing Bride<font color=#FF68C3> &hearts;</Font>: ' + photoCaption;
			    }
        if (op.$detail.length > 0) {
      	temp = op.nextPhoto.fnGetImageDetails();
	    op.$detail.fadeGalleryDetails(temp, op.speed, function(){
			if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
				toggleAddToCartConfirm(backgrounds, op.$detail);
			} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
				toggleAddToCartConfirm(photos, op.$detail);
			}
			$('body').trigger('clikUpdate.popup');
	    });
    }
        $(op.$detailContainer).find('.replaceable[class*=replaceable_photo-]').each(function(){
    	var field = clik.getPrefixedClass(this.className, 'replaceable_photo-');
    	if (field in op.nextPhoto) {
    		$(this).fadeGalleryDetails(op.nextPhoto[field], op.speed);
    	}
    }).end().find('.replaceable.photoPayment').fadeGalleryDetails(op.nextPhoto.fnGetPaymentInfo(), op.speed, function(){
		if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
			toggleAddToCartConfirm(backgrounds, op.$detailContainer);
		} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
			toggleAddToCartConfirm(photos, op.$detailContainer);
		}
		$('body').trigger('clikUpdate.popup');
	});
		if (op.$photo.length > 0) {
		html = $('<img/>',{
			'class': 'mainphoto photo',
			src: photoSrc,
			id: 'mainPic',
			name: 'mainPic',
			width: op.nextPhoto.width,
			height: op.nextPhoto.height,
			alt: photoCaption,
			css: op.css || {}
		});
		if (op.href) {
			if (op.href.match(/<a/)) {
				html = $(op.href).append(html);
			} else {
				html = $('<a/>', {
					href: op.href,
					title: photoCaption
				}).append(html);
			}
		} else {
			html = $('<a/>', {
				title: photoCaption
			}).append(html);
		}
		if (op.speed == 0) {			op.$photo.html(html);			if (op.onBefore) {			  	op.onBefore.apply(op.$photo);			}			if (op.onAfter) {			  	op.onAfter.apply(op.$photo);			}		} else {			op.$photo.stop(true,true).fadeReplaceWith(html,op.speed,'',function(){  				if (op.onAfter) {				  	op.onAfter.apply(this);				}				clik.doColumnResize(false, $(this).add(op.$detail).add(op.$title));			}, op.onBefore);
		}	}
    if (op.field) {
		op.field.value = photoId;
	} else {
		op.$photo.data('image_id', photoId);
    }
        if (!op.speed) {
      	clik.doColumnResize(false, op.$photo.add(op.$detail).add(op.$title));
    }
        
    return html;
	}

/***************************************************************************
* Toggle add to cart confirmation element and set up the click event for   *
* the 'Add to cart' button.                                                *
***************************************************************************/
function toggleAddToCartConfirm(array, root){
	if (typeof(array) !== 'object' || array === null) {
	  	array = photos;
	}
	if (!$(root).length) {		root = $('body');	}	if($('#paymentConfirm', root).length > 0){
		$('#paymentConfirm', root).hide();
		$('#paymentAddButton', root)
		.unbind()
		.click(function(){
						form = $('#paymentForm', root)[0];
			option_id = 0;
			if(form.item_option.value){
				option_id = form.item_option.value;
			}
			if(addItemToBasket(form.item_number.value,array,form.site.value,parseInt(form.quantity.value, 10),option_id)){
				if($.browser.msie){$('#paymentConfirm', root).text('Item added to cart').show();}
				else{
					$('#paymentConfirm', root).text('Item added to cart').fadeIn();
					dspOrderDetails(form.site.value);
				}
			}
			else{
				$('#paymentConfirm', root).text('Item not added - check cookies are enabled in your browser.').fadeIn();
			}
		});
	}
}

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetImageDetails = function(){
	var temp = '';
	if (this.description != '') {
		temp +=  '<div id="imageDescription">' + this.description + '</div>';
	}
		if (this.photo_ref != '') {
		temp += '<div class="imageinfo" id="imageRef"><strong>Ref: </strong>' + this.photo_ref + '</div>';
	}
		if (this.takendate != '') {
		
		temp += '<div class="imageinfo" id="imageDate"><strong>Date: </strong>' + this.takendate + '</div>';
	}
	
	if (this.location != '') {
		
		temp += '<div class="imageinfo" id="imageLocation"><strong>Location: </strong>' +  this.location + '</div>';
	}
	
	if (this.photographer != '') {
		
		temp += '<div class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>' + this.photographer + '</div>';
	}
				
				if (temp != '') {
		temp += '<div class="spacer"></div>';
	}
	return temp;
};

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetPaymentInfo = function(){
	var temp = '';
	if (this.item_price !== '') {
				temp += '<p>Order this print:</p>';
				temp += '<div class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> &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.item_price !== '') {
																		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="">';
					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="">';
				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;
	}
}

			

