window.thumbnails = {};
															thumbnails[7401540] = clik.newPhoto({"id":7401540,"src":"wIMG_6963_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Alicia, fashion and portrait model","height":195});
															thumbnails[7909164] = clik.newPhoto({"id":7909164,"src":"1320_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Mike & Natalie.  married in Kent","height":195});
															thumbnails[8982822] = clik.newPhoto({"id":8982822,"src":"Frank_Winnie_Tovey_BBC_2_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Winnie & Frank Tovey. Midweek Radio 4","height":98});
															thumbnails[8983543] = clik.newPhoto({"id":8983543,"src":"Cor-Blimey-400x400_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Cor Blimey! Where 'ave you come from?","height":130});
															thumbnails[8983558] = clik.newPhoto({"id":8983558,"src":"Strangers-400x400_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Stangers in Chaotung","height":130});
															thumbnails[1925420] = clik.newPhoto({"id":1925420,"src":"IMG_4057_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Brit Pack","height":87});
															thumbnails[1925560] = clik.newPhoto({"id":1925560,"src":"IMG_4292_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Dave Sharpe","height":195});
															thumbnails[1925580] = clik.newPhoto({"id":1925580,"src":"Wemb-Ext-IMG_0019a_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Wembley Stadium","height":195});
															thumbnails[1954248] = clik.newPhoto({"id":1954248,"src":"tn_clikpiccrop_hl_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"David Tovey","height":195});
															thumbnails[6289580] = clik.newPhoto({"id":6289580,"src":"swpp_white_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"David is a member of the Society of Wedding & Portrait Photographers","height":59});
															thumbnails[7112857] = clik.newPhoto({"id":7112857,"src":"chip0001_km_web_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Chip Cinderella","height":79});
															thumbnails[7113142] = clik.newPhoto({"id":7113142,"src":"Untitled-1_w_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"","height":173});
															thumbnails[760420] = clik.newPhoto({"id":760420,"src":"eyecacha resized as pic_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"","height":69});
															thumbnails[777286] = clik.newPhoto({"id":777286,"src":"1174bw thumb_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"","height":195});
															thumbnails[778054] = clik.newPhoto({"id":778054,"src":" thumb portrait-b2_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"","height":82});
															thumbnails[778055] = clik.newPhoto({"id":778055,"src":"184_8478_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"","height":87});
															thumbnails[834993] = clik.newPhoto({"id":834993,"src":"aDeerKnowle131_3187_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Deer","height":109});
															thumbnails[5026390] = clik.newPhoto({"id":5026390,"src":"Samosa_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Food Photography","height":87});
															thumbnails[5168700] = clik.newPhoto({"id":5168700,"src":"comp_01_bdr_thumb_6B27583F-24E8-5EC4-4FA38948AE22C30D.jpg","galleries_id":"","server_id":1,"link":"#","width":260,"caption":"CHIPS Aladdin 2009","height":365});
															thumbnails[5168701] = clik.newPhoto({"id":5168701,"src":"Aladdin_cast_ec_thumb_6AF3C050-24E8-5EC4-4FA8660EA87517E7.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Chips Aladdin 2009 - The Cast!","height":195});
															thumbnails[5216601] = clik.newPhoto({"id":5216601,"src":"Joe_Black_2194_hl_tn_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Joe Black","height":87});
															thumbnails[778100] = clik.newPhoto({"id":778100,"src":"fp-183_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Fallen leaf","height":95});
															thumbnails[7354978] = clik.newPhoto({"id":7354978,"src":"tn_1040_thumb.jpg","galleries_id":398072,"server_id":1,"link":"photo_7354978.html","width":130,"caption":"","height":195});
															thumbnails[7354979] = clik.newPhoto({"id":7354979,"src":"tn_1081_thumb.jpg","galleries_id":398072,"server_id":1,"link":"photo_7354979.html","width":130,"caption":"","height":87});
															thumbnails[7354981] = clik.newPhoto({"id":7354981,"src":"tn_1100_merge_thumb.jpg","galleries_id":398072,"server_id":1,"link":"photo_7354981.html","width":130,"caption":"","height":195});
															thumbnails[7354982] = clik.newPhoto({"id":7354982,"src":"tn_1105_thumb.jpg","galleries_id":398072,"server_id":1,"link":"photo_7354982.html","width":130,"caption":"","height":87});
															thumbnails[7354983] = clik.newPhoto({"id":7354983,"src":"tn_1244_thumb.jpg","galleries_id":398072,"server_id":1,"link":"photo_7354983.html","width":130,"caption":"","height":195});
															thumbnails[7354984] = clik.newPhoto({"id":7354984,"src":"tn_1288_thumb.jpg","galleries_id":398072,"server_id":1,"link":"photo_7354984.html","width":130,"caption":"","height":195});
															thumbnails[7773978] = clik.newPhoto({"id":7773978,"src":"w1162_thumb.jpg","galleries_id":420080,"server_id":1,"link":"photo_7773978.html","width":130,"caption":"","height":195});
															thumbnails[7774005] = clik.newPhoto({"id":7774005,"src":"w1172_thumb.jpg","galleries_id":420080,"server_id":1,"link":"photo_7774005.html","width":130,"caption":"","height":87});
															thumbnails[7774009] = clik.newPhoto({"id":7774009,"src":"w1184_thumb.jpg","galleries_id":420080,"server_id":1,"link":"photo_7774009.html","width":130,"caption":"","height":87});
															thumbnails[7774013] = clik.newPhoto({"id":7774013,"src":"w1219_thumb.jpg","galleries_id":420080,"server_id":1,"link":"photo_7774013.html","width":130,"caption":"","height":87});
															thumbnails[7774027] = clik.newPhoto({"id":7774027,"src":"w1330_thumb.jpg","galleries_id":420080,"server_id":1,"link":"photo_7774027.html","width":130,"caption":"","height":87});
															thumbnails[7890220] = clik.newPhoto({"id":7890220,"src":"1246_thumb.JPG","galleries_id":425680,"server_id":1,"link":"photo_7890220.html","width":130,"caption":"","height":195});
															thumbnails[7890221] = clik.newPhoto({"id":7890221,"src":"1263_thumb.JPG","galleries_id":425680,"server_id":1,"link":"photo_7890221.html","width":130,"caption":"","height":195});
															thumbnails[7890222] = clik.newPhoto({"id":7890222,"src":"1262_thumb.JPG","galleries_id":425680,"server_id":1,"link":"photo_7890222.html","width":130,"caption":"","height":195});
															thumbnails[7890223] = clik.newPhoto({"id":7890223,"src":"1275_12x5_thumb.jpg","galleries_id":425680,"server_id":1,"link":"photo_7890223.html","width":130,"caption":"","height":54});
															thumbnails[7890224] = clik.newPhoto({"id":7890224,"src":"1276_thumb.JPG","galleries_id":425680,"server_id":1,"link":"photo_7890224.html","width":130,"caption":"","height":87});
															thumbnails[7890225] = clik.newPhoto({"id":7890225,"src":"1287_12x5_thumb.jpg","galleries_id":425680,"server_id":1,"link":"photo_7890225.html","width":130,"caption":"","height":54});
															thumbnails[7909124] = clik.newPhoto({"id":7909124,"src":"1117_thumb.jpg","galleries_id":426509,"server_id":1,"link":"photo_7909124.html","width":130,"caption":"Keith & Becky - Married in Plymouth","height":87});
															thumbnails[7909128] = clik.newPhoto({"id":7909128,"src":"IMG_0244_thumb.jpg","galleries_id":426509,"server_id":1,"link":"photo_7909128.html","width":130,"caption":"James & Mel - Married in London","height":87});
															thumbnails[7909129] = clik.newPhoto({"id":7909129,"src":"IMG_8445_thumb.jpg","galleries_id":426509,"server_id":1,"link":"photo_7909129.html","width":130,"caption":"Nick & Lidsay - Married in Cyprus","height":87});
															thumbnails[7909131] = clik.newPhoto({"id":7909131,"src":"IMG_9184_thumb.jpg","galleries_id":426509,"server_id":1,"link":"photo_7909131.html","width":130,"caption":"Married in Leatherhead","height":195});
															thumbnails[7909138] = clik.newPhoto({"id":7909138,"src":"IMG_9661_thumb.jpg","galleries_id":426509,"server_id":1,"link":"photo_7909138.html","width":130,"caption":"Justin & Anna. Married at Chiddingstone Castle","height":87});
															thumbnails[7909141] = clik.newPhoto({"id":7909141,"src":"1147_thumb.jpg","galleries_id":426509,"server_id":1,"link":"photo_7909141.html","width":130,"caption":"Mark & Lorraine. Married in Kent","height":195});
															thumbnails[7909144] = clik.newPhoto({"id":7909144,"src":"6x9_crop_thumb.jpg","galleries_id":426509,"server_id":1,"link":"photo_7909144.html","width":130,"caption":"Miles & Kay.  Surrey","height":195});
															thumbnails[8031818] = clik.newPhoto({"id":8031818,"src":"w1315_gg_thumb.jpg","galleries_id":430975,"server_id":1,"link":"photo_8031818.html","width":130,"caption":"","height":87});
															thumbnails[8031850] = clik.newPhoto({"id":8031850,"src":"w_1215_sf_thumb.jpg","galleries_id":430975,"server_id":1,"link":"photo_8031850.html","width":130,"caption":"","height":195});
															thumbnails[8031866] = clik.newPhoto({"id":8031866,"src":"w_1229_sf_thumb.jpg","galleries_id":430975,"server_id":1,"link":"photo_8031866.html","width":130,"caption":"","height":195});
															thumbnails[8031884] = clik.newPhoto({"id":8031884,"src":"w_1274_gg_thumb.jpg","galleries_id":430975,"server_id":1,"link":"photo_8031884.html","width":130,"caption":"","height":87});
															thumbnails[8031898] = clik.newPhoto({"id":8031898,"src":"w_1279_gg_thumb.jpg","galleries_id":430975,"server_id":1,"link":"photo_8031898.html","width":130,"caption":"","height":195});
															thumbnails[8527012] = clik.newPhoto({"id":8527012,"src":"w1292_gg_thumb.jpg","galleries_id":450605,"server_id":1,"link":"photo_8527012.html","width":130,"caption":"","height":195});
															thumbnails[8527016] = clik.newPhoto({"id":8527016,"src":"w1380_thumb.jpg","galleries_id":450605,"server_id":1,"link":"photo_8527016.html","width":130,"caption":"","height":87});
															thumbnails[8527018] = clik.newPhoto({"id":8527018,"src":"w1382_thumb.jpg","galleries_id":450605,"server_id":1,"link":"photo_8527018.html","width":130,"caption":"","height":195});
															thumbnails[8527019] = clik.newPhoto({"id":8527019,"src":"w1385_thumb.jpg","galleries_id":450605,"server_id":1,"link":"photo_8527019.html","width":130,"caption":"","height":87});
															thumbnails[8527021] = clik.newPhoto({"id":8527021,"src":"w1392_thumb.jpg","galleries_id":450605,"server_id":1,"link":"photo_8527021.html","width":130,"caption":"","height":195});
															thumbnails[8527022] = clik.newPhoto({"id":8527022,"src":"w1412_thumb.jpg","galleries_id":450605,"server_id":1,"link":"photo_8527022.html","width":130,"caption":"","height":87});
															thumbnails[8720630] = clik.newPhoto({"id":8720630,"src":"w1045bw_thumb.jpg","galleries_id":459826,"server_id":1,"link":"photo_8720630.html","width":130,"caption":"","height":87});
															thumbnails[8720632] = clik.newPhoto({"id":8720632,"src":"w1080_thumb.jpg","galleries_id":459826,"server_id":1,"link":"photo_8720632.html","width":130,"caption":"","height":87});
															thumbnails[8720633] = clik.newPhoto({"id":8720633,"src":"w2052_pp_thumb.jpg","galleries_id":459826,"server_id":1,"link":"photo_8720633.html","width":130,"caption":"","height":195});
															thumbnails[8720634] = clik.newPhoto({"id":8720634,"src":"w3078_12by5_thumb.jpg","galleries_id":459826,"server_id":1,"link":"photo_8720634.html","width":130,"caption":"","height":54});
															thumbnails[8720635] = clik.newPhoto({"id":8720635,"src":"w4033ggmerge_thumb.jpg","galleries_id":459826,"server_id":1,"link":"photo_8720635.html","width":130,"caption":"","height":87});
															thumbnails[8720636] = clik.newPhoto({"id":8720636,"src":"wIMG_0084_1gg_thumb.jpg","galleries_id":459826,"server_id":1,"link":"photo_8720636.html","width":130,"caption":"","height":195});
															thumbnails[6495532] = clik.newPhoto({"id":6495532,"src":"1136_thumb.JPG","galleries_id":357699,"server_id":1,"link":"photo_6495532.html","width":130,"caption":"","height":87});
															thumbnails[6495533] = clik.newPhoto({"id":6495533,"src":"1148_thumb.JPG","galleries_id":357699,"server_id":1,"link":"photo_6495533.html","width":130,"caption":"","height":87});
															thumbnails[6495534] = clik.newPhoto({"id":6495534,"src":"1152_sl_thumb.jpg","galleries_id":357699,"server_id":1,"link":"photo_6495534.html","width":130,"caption":"","height":87});
															thumbnails[6495535] = clik.newPhoto({"id":6495535,"src":"1323_merge_crop_thumb.jpg","galleries_id":357699,"server_id":1,"link":"photo_6495535.html","width":130,"caption":"","height":195});
															thumbnails[6495536] = clik.newPhoto({"id":6495536,"src":"1378_thumb.jpg","galleries_id":357699,"server_id":1,"link":"photo_6495536.html","width":130,"caption":"","height":87});
															thumbnails[6495537] = clik.newPhoto({"id":6495537,"src":"1418_thumb.jpg","galleries_id":357699,"server_id":1,"link":"photo_6495537.html","width":130,"caption":"","height":87});
															thumbnails[6495538] = clik.newPhoto({"id":6495538,"src":"1434_thumb.jpg","galleries_id":357699,"server_id":1,"link":"photo_6495538.html","width":130,"caption":"","height":87});
															thumbnails[6272130] = clik.newPhoto({"id":6272130,"src":"w179_thumb.jpg","galleries_id":348554,"server_id":1,"link":"photo_6272130.html","width":130,"caption":"","height":87});
															thumbnails[6272133] = clik.newPhoto({"id":6272133,"src":"w185_thumb.jpg","galleries_id":348554,"server_id":1,"link":"photo_6272133.html","width":130,"caption":"","height":195});
															thumbnails[6272134] = clik.newPhoto({"id":6272134,"src":"w304_thumb.jpg","galleries_id":348554,"server_id":1,"link":"photo_6272134.html","width":130,"caption":"","height":87});
															thumbnails[6272136] = clik.newPhoto({"id":6272136,"src":"w326_thumb.jpg","galleries_id":348554,"server_id":1,"link":"photo_6272136.html","width":130,"caption":"","height":195});
															thumbnails[6272138] = clik.newPhoto({"id":6272138,"src":"w588_thumb.jpg","galleries_id":348554,"server_id":1,"link":"photo_6272138.html","width":130,"caption":"","height":87});
															thumbnails[6272139] = clik.newPhoto({"id":6272139,"src":"w590_thumb.jpg","galleries_id":348554,"server_id":1,"link":"photo_6272139.html","width":130,"caption":"","height":87});
															thumbnails[6233366] = clik.newPhoto({"id":6233366,"src":"w_1200_thumb.jpg","galleries_id":426509,"server_id":1,"link":"photo_6233366.html","width":130,"caption":"Jo & Fi married in Warwickshire.","height":87});
															thumbnails[6233371] = clik.newPhoto({"id":6233371,"src":"w_1312_blend_thumb.jpg","galleries_id":426509,"server_id":1,"link":"photo_6233371.html","width":130,"caption":"Jo & Fi married in Warwickshire.","height":87});
															thumbnails[6054269] = clik.newPhoto({"id":6054269,"src":"1491_web_thumb.jpg","galleries_id":426509,"server_id":1,"link":"photo_6054269.html","width":130,"caption":"Kate & Will. Married in Norfolk.","height":87});
															thumbnails[4686330] = clik.newPhoto({"id":4686330,"src":"1189_ec_thumb.jpg","galleries_id":426509,"server_id":1,"link":"photo_4686330.html","width":130,"caption":"Mark & Emma. Married in Kent.","height":87});
															thumbnails[4649475] = clik.newPhoto({"id":4649475,"src":"clikpic_thumb.jpg","galleries_id":426509,"server_id":1,"link":"photo_4649475.html","width":130,"caption":"Andrew & Karen. Married in Kent","height":87});
															thumbnails[4360653] = clik.newPhoto({"id":4360653,"src":"2084_sl_thumb.jpg","galleries_id":426509,"server_id":1,"link":"photo_4360653.html","width":130,"caption":"Michael & Kelly at the Hilton Hotel, Maidstone.","height":87});
															thumbnails[4358008] = clik.newPhoto({"id":4358008,"src":"tn_1306_hl_thumb.jpg","galleries_id":426509,"server_id":1,"link":"photo_4358008.html","width":130,"caption":"Martin & Tina. Married in Surrey","height":87});
															thumbnails[7211432] = clik.newPhoto({"id":7211432,"src":"work_2528526_2_mat375x360blackffffff_thumb.jpg","galleries_id":284686,"server_id":1,"link":"photo_7211432.html","width":130,"caption":"NitrOgene","height":163});
															thumbnails[7211781] = clik.newPhoto({"id":7211781,"src":"work_6464763_1_lp375x360bsVW50aXRsZWQ_thumb.jpg","galleries_id":284686,"server_id":1,"link":"photo_7211781.html","width":130,"caption":"","height":197});
															thumbnails[7211856] = clik.newPhoto({"id":7211856,"src":"work_6464791_1_lp375x360blVW50aXRsZWQ_thumb.jpg","galleries_id":284686,"server_id":1,"link":"photo_7211856.html","width":130,"caption":"Butter Smooth","height":194});
															thumbnails[7211860] = clik.newPhoto({"id":7211860,"src":"work_6464920_1_lp375x360wlYm94ZXI_thumb.jpg","galleries_id":284686,"server_id":1,"link":"photo_7211860.html","width":130,"caption":"Mitch","height":194});
															thumbnails[7211862] = clik.newPhoto({"id":7211862,"src":"work_6464892_1_lp375x360bmcHJlcGFyaW5nIHRvIGRvbiB0aGUgZ2xvdmVz_thumb.jpg","galleries_id":284686,"server_id":1,"link":"photo_7211862.html","width":130,"caption":"the boxer prepares","height":101});
															thumbnails[7229331] = clik.newPhoto({"id":7229331,"src":"work_6491004_1_lp375x360blU2t5IHdpdGggUmVkIEhhaXIgMg_thumb.jpg","galleries_id":284686,"server_id":1,"link":"photo_7229331.html","width":130,"caption":"Sky","height":194});
															thumbnails[7229334] = clik.newPhoto({"id":7229334,"src":"work_6491011_2_fp375x360blackoff_whitebox20mffffff_thumb.jpg","galleries_id":284686,"server_id":1,"link":"photo_7229334.html","width":130,"caption":"a certain look....","height":101});
															thumbnails[7833901] = clik.newPhoto({"id":7833901,"src":"wHannah_Postcard5_thumb.jpg","galleries_id":284686,"server_id":1,"link":"photo_7833901.html","width":130,"caption":"Hannah Coleman","height":87});
															thumbnails[7833908] = clik.newPhoto({"id":7833908,"src":"wVictoria_Postcard5_thumb.jpg","galleries_id":284686,"server_id":1,"link":"photo_7833908.html","width":130,"caption":"Victoria Coleman","height":87});
															thumbnails[7837312] = clik.newPhoto({"id":7837312,"src":"work_7207895_1_fp375x360blackoff_whitebox20lffffff_thumb.jpg","galleries_id":284686,"server_id":1,"link":"photo_7837312.html","width":130,"caption":"Victoria Coleman","height":172});
															thumbnails[7837313] = clik.newPhoto({"id":7837313,"src":"work_7207976_1_fp375x360blackoff_whitebox20sffffff_thumb.jpg","galleries_id":284686,"server_id":1,"link":"photo_7837313.html","width":130,"caption":"Hannah Coleman","height":160});
															thumbnails[6311819] = clik.newPhoto({"id":6311819,"src":"IMG_0015_hl_thumb.jpg","galleries_id":350007,"server_id":1,"link":"photo_6311819.html","width":130,"caption":"Daddy's Little Cannibal","height":195});
															thumbnails[6311822] = clik.newPhoto({"id":6311822,"src":"IMG_0038_thumb.jpg","galleries_id":350007,"server_id":1,"link":"photo_6311822.html","width":130,"caption":"","height":87});
															thumbnails[6311831] = clik.newPhoto({"id":6311831,"src":"IMG_0130_thumb.jpg","galleries_id":350007,"server_id":1,"link":"photo_6311831.html","width":130,"caption":"Buttersmooth","height":195});
															thumbnails[6311834] = clik.newPhoto({"id":6311834,"src":"tn_IMG_0046_thumb.jpg","galleries_id":350007,"server_id":1,"link":"photo_6311834.html","width":130,"caption":"Mitch","height":195});
															thumbnails[6311837] = clik.newPhoto({"id":6311837,"src":"work_2592850_3_lp375x360bsYW5nZWwgMQ_thumb.jpg","galleries_id":350007,"server_id":1,"link":"photo_6311837.html","width":130,"caption":"Angel","height":197});
															thumbnails[6311846] = clik.newPhoto({"id":6311846,"src":"wIMG_3761_sl_thumb.jpg","galleries_id":350007,"server_id":1,"link":"photo_6311846.html","width":130,"caption":"Alexis Green","height":168});
															thumbnails[7208566] = clik.newPhoto({"id":7208566,"src":"work_6459907_1_lp375x360bsVGF0aWFuYSBpbiBwb3BweSBmaWVsZA_thumb.jpg","galleries_id":284686,"server_id":1,"link":"photo_7208566.html","width":130,"caption":"Tatiana","height":197});
															thumbnails[7208581] = clik.newPhoto({"id":7208581,"src":"work_6431802_1_fp375x360blackoff_whitebox20sffffff_thumb.jpg","galleries_id":284686,"server_id":1,"link":"photo_7208581.html","width":130,"caption":"angel","height":160});
															thumbnails[7208594] = clik.newPhoto({"id":7208594,"src":"work_6431574_1_mtd375x360nsQW5nZWwgaW4gaGVyIGJsdWUgZHJlc3MgMQffffff_thumb.jpg","galleries_id":284686,"server_id":1,"link":"photo_7208594.html","width":130,"caption":"angel","height":193});
															thumbnails[7208597] = clik.newPhoto({"id":7208597,"src":"work_6431534_1_fp375x360blackoff_whitebox20mffffff_thumb.jpg","galleries_id":284686,"server_id":1,"link":"photo_7208597.html","width":130,"caption":"","height":167});
															thumbnails[7208601] = clik.newPhoto({"id":7208601,"src":"work_6431523_1_lp375x360bsRGFkZHkncyBMaXR0bGUgQ2FubmliYWwgMg_thumb.jpg","galleries_id":284686,"server_id":1,"link":"photo_7208601.html","width":130,"caption":"","height":197});
															thumbnails[7208607] = clik.newPhoto({"id":7208607,"src":"work_4118331_1_fp375x360blackoff_whitebox20sffffff_thumb.jpg","galleries_id":284686,"server_id":1,"link":"photo_7208607.html","width":130,"caption":"","height":160});
															thumbnails[7208611] = clik.newPhoto({"id":7208611,"src":"work_3280208_3_lp375x360bsTWFnbm9saWE6IENoaW5hIEdpcmwgMg_thumb.jpg","galleries_id":284686,"server_id":1,"link":"photo_7208611.html","width":130,"caption":"","height":106});
															thumbnails[7208614] = clik.newPhoto({"id":7208614,"src":"work_3014667_2_fp375x360blackoffwhiteflatsffffff_thumb.jpg","galleries_id":284686,"server_id":1,"link":"photo_7208614.html","width":130,"caption":"Linda on fashion shoot","height":106});
															thumbnails[7208615] = clik.newPhoto({"id":7208615,"src":"work_2126192_2_fp375x360blackoff_whitebox20sffffff_thumb.jpg","galleries_id":284686,"server_id":1,"link":"photo_7208615.html","width":130,"caption":"","height":160});
															thumbnails[7208616] = clik.newPhoto({"id":7208616,"src":"work_2126123_2_lp375x360bsTGluZGEgaW4gdXJiYW4gYWxsZXk_thumb.jpg","galleries_id":284686,"server_id":1,"link":"photo_7208616.html","width":130,"caption":"","height":106});
															thumbnails[6272202] = clik.newPhoto({"id":6272202,"src":"wIMG_0122_crop_hl_thumb.jpg","galleries_id":284686,"server_id":1,"link":"photo_6272202.html","width":130,"caption":"","height":130});
															thumbnails[1194450] = clik.newPhoto({"id":1194450,"src":"391_9136_thumb.jpg","galleries_id":284686,"server_id":1,"link":"photo_1194450.html","width":130,"caption":"vicky at home","height":195});
															thumbnails[1194516] = clik.newPhoto({"id":1194516,"src":"411_1105_thumb.jpg","galleries_id":284686,"server_id":1,"link":"photo_1194516.html","width":130,"caption":"Natalie in Nan's Dolls House Room","height":195});
															thumbnails[1194535] = clik.newPhoto({"id":1194535,"src":"440_4080_thumb.jpg","galleries_id":284686,"server_id":1,"link":"photo_1194535.html","width":130,"caption":"Kirstin & Philip anticipating their baby","height":195});
															thumbnails[1194537] = clik.newPhoto({"id":1194537,"src":"IMG_7959_thumb.jpg","galleries_id":284686,"server_id":1,"link":"photo_1194537.html","width":130,"caption":"Darren Woolway","height":87});
															thumbnails[4340045] = clik.newPhoto({"id":4340045,"src":"Portrait_Poster_500_thumb.jpg","galleries_id":284686,"server_id":1,"link":"photo_4340045.html","width":130,"caption":"","height":87});
															thumbnails[778116] = clik.newPhoto({"id":778116,"src":"IMG_8146-cp_thumb.jpg","galleries_id":284686,"server_id":1,"link":"photo_778116.html","width":130,"caption":"Old Lady. S India","height":195});
															thumbnails[7208605] = clik.newPhoto({"id":7208605,"src":"work_4118377_2_lp375x360bscmVkIGhlYWQ_thumb.jpg","galleries_id":284635,"server_id":1,"link":"photo_7208605.html","width":130,"caption":"","height":197});
															thumbnails[5025694] = clik.newPhoto({"id":5025694,"src":"Nickie_Hobbs_thumb.jpg","galleries_id":284635,"server_id":1,"link":"photo_5025694.html","width":130,"caption":"Nickie Hobbs at the Alt Collective 2009","height":195});
															thumbnails[5025844] = clik.newPhoto({"id":5025844,"src":"work_3786976_2_fp375x360blackoffwhiteflatsffffff_thumb.jpg","galleries_id":284635,"server_id":1,"link":"photo_5025844.html","width":130,"caption":"Amy Biggs","height":160});
															thumbnails[5025881] = clik.newPhoto({"id":5025881,"src":"Amy_Day_thumb.jpg","galleries_id":284635,"server_id":1,"link":"photo_5025881.html","width":130,"caption":"Amy Day","height":65});
															thumbnails[5025885] = clik.newPhoto({"id":5025885,"src":"CJ_Pussycat_thumb.jpg","galleries_id":284635,"server_id":1,"link":"photo_5025885.html","width":130,"caption":"CJ Pussycat","height":65});
															thumbnails[5025889] = clik.newPhoto({"id":5025889,"src":"Montana_Wicks_thumb.jpg","galleries_id":284635,"server_id":1,"link":"photo_5025889.html","width":130,"caption":"Montana Wicks","height":260});
															thumbnails[5025904] = clik.newPhoto({"id":5025904,"src":"work_3787652_2_lp375x360bsTml0cjBnZW5lIDE_thumb.jpg","galleries_id":284635,"server_id":1,"link":"photo_5025904.html","width":130,"caption":"Nitr0gene","height":88});
															thumbnails[5216611] = clik.newPhoto({"id":5216611,"src":"Nickie_Roze_2380_EC_thumb.jpg","galleries_id":284635,"server_id":1,"link":"photo_5216611.html","width":130,"caption":"Roze Thorn & Nickie Hobbs","height":195});
															thumbnails[4266709] = clik.newPhoto({"id":4266709,"src":"tn_IMG_9928_A3_jpg_thumb.jpg","galleries_id":252312,"server_id":1,"link":"photo_4266709.html","width":130,"caption":"Magnolia","height":87});
															thumbnails[4314945] = clik.newPhoto({"id":4314945,"src":"tn_IMG_0031_Tiff1_thumb.jpg","galleries_id":252312,"server_id":1,"link":"photo_4314945.html","width":130,"caption":"Katy_T","height":195});
															thumbnails[4314955] = clik.newPhoto({"id":4314955,"src":"tn_IMG_0145_merge_1_A31_thumb.jpg","galleries_id":252312,"server_id":1,"link":"photo_4314955.html","width":130,"caption":"Nitr0gene","height":87});
															thumbnails[4314974] = clik.newPhoto({"id":4314974,"src":"w_IMG_00421_thumb.jpg","galleries_id":252312,"server_id":1,"link":"photo_4314974.html","width":130,"caption":"Katy_T","height":87});
															thumbnails[4314981] = clik.newPhoto({"id":4314981,"src":"tn_IMG_0136_tiff_bc1_thumb.jpg","galleries_id":252312,"server_id":1,"link":"photo_4314981.html","width":130,"caption":"Charlie and Les the Ventriloquist","height":88});
															thumbnails[4314986] = clik.newPhoto({"id":4314986,"src":"tn_IMG_0069_A3_jpg_thumb.jpg","galleries_id":252312,"server_id":1,"link":"photo_4314986.html","width":130,"caption":"Tatiana Moxey","height":87});
															thumbnails[4751347] = clik.newPhoto({"id":4751347,"src":"10011_thumb.JPG","galleries_id":272479,"server_id":1,"link":"photo_4751347.html","width":130,"caption":"Pregnancy Photo Shoot","height":195});
															thumbnails[4751354] = clik.newPhoto({"id":4751354,"src":"1002_thumb.JPG","galleries_id":272479,"server_id":1,"link":"photo_4751354.html","width":130,"caption":"","height":195});
															thumbnails[4751355] = clik.newPhoto({"id":4751355,"src":"1003_thumb.JPG","galleries_id":272479,"server_id":1,"link":"photo_4751355.html","width":130,"caption":"","height":195});
															thumbnails[4751360] = clik.newPhoto({"id":4751360,"src":"1004_thumb.JPG","galleries_id":272479,"server_id":1,"link":"photo_4751360.html","width":130,"caption":" the new addition to the family!!","height":195});
															thumbnails[4751382] = clik.newPhoto({"id":4751382,"src":"1005_thumb.jpg","galleries_id":272479,"server_id":1,"link":"photo_4751382.html","width":130,"caption":"","height":195});
															thumbnails[4751383] = clik.newPhoto({"id":4751383,"src":"1006_thumb.JPG","galleries_id":272479,"server_id":1,"link":"photo_4751383.html","width":130,"caption":"","height":87});
															thumbnails[4751385] = clik.newPhoto({"id":4751385,"src":"1007_thumb.jpg","galleries_id":272479,"server_id":1,"link":"photo_4751385.html","width":130,"caption":"","height":195});
															thumbnails[4751387] = clik.newPhoto({"id":4751387,"src":"1009_thumb.jpg","galleries_id":272479,"server_id":1,"link":"photo_4751387.html","width":130,"caption":"","height":87});
															thumbnails[4751390] = clik.newPhoto({"id":4751390,"src":"1010_thumb.jpg","galleries_id":272479,"server_id":1,"link":"photo_4751390.html","width":130,"caption":"","height":87});
															thumbnails[4751425] = clik.newPhoto({"id":4751425,"src":"1011_thumb.jpg","galleries_id":272479,"server_id":1,"link":"photo_4751425.html","width":130,"caption":"","height":195});
															thumbnails[4751643] = clik.newPhoto({"id":4751643,"src":"1020_thumb.jpg","galleries_id":272479,"server_id":1,"link":"photo_4751643.html","width":130,"caption":"","height":195});
															thumbnails[4751645] = clik.newPhoto({"id":4751645,"src":"1022_thumb.JPG","galleries_id":272479,"server_id":1,"link":"photo_4751645.html","width":130,"caption":"Dad & young Fred","height":87});
															thumbnails[4751646] = clik.newPhoto({"id":4751646,"src":"1023_thumb.JPG","galleries_id":272479,"server_id":1,"link":"photo_4751646.html","width":130,"caption":"","height":195});
															thumbnails[4751649] = clik.newPhoto({"id":4751649,"src":"1025_thumb.JPG","galleries_id":272479,"server_id":1,"link":"photo_4751649.html","width":130,"caption":"","height":195});
															thumbnails[4751651] = clik.newPhoto({"id":4751651,"src":"1026_thumb.JPG","galleries_id":272479,"server_id":1,"link":"photo_4751651.html","width":130,"caption":"happy family...","height":87});
															thumbnails[4751654] = clik.newPhoto({"id":4751654,"src":"1027_thumb.JPG","galleries_id":272479,"server_id":1,"link":"photo_4751654.html","width":130,"caption":"","height":195});
															thumbnails[4751656] = clik.newPhoto({"id":4751656,"src":"1028_thumb.JPG","galleries_id":272479,"server_id":1,"link":"photo_4751656.html","width":130,"caption":"","height":87});
															thumbnails[4751657] = clik.newPhoto({"id":4751657,"src":"1029_thumb.jpg","galleries_id":272479,"server_id":1,"link":"photo_4751657.html","width":130,"caption":"","height":195});
															thumbnails[4751658] = clik.newPhoto({"id":4751658,"src":"1030_thumb.jpg","galleries_id":272479,"server_id":1,"link":"photo_4751658.html","width":130,"caption":"Pregnancy Celebration...","height":195});
															thumbnails[4751660] = clik.newPhoto({"id":4751660,"src":"1031_thumb.jpg","galleries_id":272479,"server_id":1,"link":"photo_4751660.html","width":130,"caption":"","height":195});
															thumbnails[4751661] = clik.newPhoto({"id":4751661,"src":"1032_thumb.jpg","galleries_id":272479,"server_id":1,"link":"photo_4751661.html","width":130,"caption":"","height":195});
															thumbnails[4751663] = clik.newPhoto({"id":4751663,"src":"1033_thumb.jpg","galleries_id":272479,"server_id":1,"link":"photo_4751663.html","width":130,"caption":"","height":96});
															thumbnails[4751667] = clik.newPhoto({"id":4751667,"src":"1034_thumb.jpg","galleries_id":272479,"server_id":1,"link":"photo_4751667.html","width":130,"caption":"","height":195});
															thumbnails[4751671] = clik.newPhoto({"id":4751671,"src":"1035_thumb.jpg","galleries_id":272479,"server_id":1,"link":"photo_4751671.html","width":130,"caption":"","height":195});
															thumbnails[778108] = clik.newPhoto({"id":778108,"src":"work_2118413_2_fp375x360blackoffwhiteflatsffffff_thumb.jpg","galleries_id":117006,"server_id":1,"link":"photo_778108.html","width":130,"caption":"Beech wood","height":160});
															thumbnails[778067] = clik.newPhoto({"id":778067,"src":"187_8776-flower-ed_thumb.jpg","galleries_id":117006,"server_id":1,"link":"photo_778067.html","width":130,"caption":"Flower niche","height":87});
															thumbnails[1741752] = clik.newPhoto({"id":1741752,"src":"Woodland-Stream_thumb.jpg","galleries_id":117006,"server_id":1,"link":"photo_1741752.html","width":130,"caption":"Woodland Stream","height":94});
															thumbnails[1741666] = clik.newPhoto({"id":1741666,"src":"Dead-Vlei_thumb.jpg","galleries_id":117006,"server_id":1,"link":"photo_1741666.html","width":130,"caption":"Dead Vlei","height":105});
															thumbnails[1741700] = clik.newPhoto({"id":1741700,"src":"Dune-45_thumb.jpg","galleries_id":117006,"server_id":1,"link":"photo_1741700.html","width":130,"caption":"Dune 45 just after dawn.","height":105});
															thumbnails[1741647] = clik.newPhoto({"id":1741647,"src":"Bluebells,-clinton-wood_thumb.jpg","galleries_id":117006,"server_id":1,"link":"photo_1741647.html","width":130,"caption":"Bluebells","height":68});
															thumbnails[1741732] = clik.newPhoto({"id":1741732,"src":"Poppies,-dover_thumb.jpg","galleries_id":117006,"server_id":1,"link":"photo_1741732.html","width":130,"caption":"Field Poppies near Dover","height":248});
															thumbnails[1741689] = clik.newPhoto({"id":1741689,"src":"Deer-Park_thumb.jpg","galleries_id":117006,"server_id":1,"link":"photo_1741689.html","width":130,"caption":"In the Deer Park","height":97});
															thumbnails[1741735] = clik.newPhoto({"id":1741735,"src":"Stand-of-trees_thumb.jpg","galleries_id":117006,"server_id":1,"link":"photo_1741735.html","width":130,"caption":"Stand of Trees","height":163});
															thumbnails[1741728] = clik.newPhoto({"id":1741728,"src":"poppies,-detling_thumb.jpg","galleries_id":117006,"server_id":1,"link":"photo_1741728.html","width":130,"caption":"Ornamental poppy growing wild","height":163});
															thumbnails[1691316] = clik.newPhoto({"id":1691316,"src":"Pregalicious-Tnail_thumb.jpg","galleries_id":244631,"server_id":1,"link":"photo_1691316.html","width":130,"caption":"poster created by David for Pregalicious","height":195});
															thumbnails[4314924] = clik.newPhoto({"id":4314924,"src":"Photography_Monthly_w_thumb.jpg","galleries_id":244631,"server_id":1,"link":"photo_4314924.html","width":130,"caption":"Tear Sheet Photography Monthly","height":89});
															thumbnails[6334107] = clik.newPhoto({"id":6334107,"src":"Focus_KM_200402_w_thumb.jpg","galleries_id":244631,"server_id":1,"link":"photo_6334107.html","width":130,"caption":"Kent Messenger Focus Magazine.  ","height":91});
															thumbnails[6334224] = clik.newPhoto({"id":6334224,"src":"poster-pregalicious-tn_thumb.jpg","galleries_id":244631,"server_id":1,"link":"photo_6334224.html","width":130,"caption":"Advertising poster for Pregalicious maternity wear","height":202});
															thumbnails[6335283] = clik.newPhoto({"id":6335283,"src":"mreal_comp_w_thumb.jpg","galleries_id":244631,"server_id":1,"link":"photo_6335283.html","width":130,"caption":"Winner and runner up in m-real photo competition","height":85});
															thumbnails[6335289] = clik.newPhoto({"id":6335289,"src":"marlowe_w_thumb.jpg","galleries_id":244631,"server_id":1,"link":"photo_6335289.html","width":130,"caption":"Corridor Arts Exhibiton","height":198});
															thumbnails[6335308] = clik.newPhoto({"id":6335308,"src":"kcpa_2005_w_thumb.jpg","galleries_id":244631,"server_id":1,"link":"photo_6335308.html","width":130,"caption":"KCPA winner 2005","height":185});
															thumbnails[6335311] = clik.newPhoto({"id":6335311,"src":"kcpa_2006_w_thumb.jpg","galleries_id":244631,"server_id":1,"link":"photo_6335311.html","width":130,"caption":"KCPA Winner 2006","height":195});
															thumbnails[5038596] = clik.newPhoto({"id":5038596,"src":"BBC_History_Magazine_EC_thumb.jpg","galleries_id":244631,"server_id":1,"link":"photo_5038596.html","width":130,"caption":"BBC History Magazine","height":177});
															thumbnails[5038604] = clik.newPhoto({"id":5038604,"src":"Kent_Messenger_EC_thumb.jpg","galleries_id":244631,"server_id":1,"link":"photo_5038604.html","width":130,"caption":"Article in the Kent Messenger following David's trip home to India","height":94});
															thumbnails[5038606] = clik.newPhoto({"id":5038606,"src":"The_Courier_EC_thumb.jpg","galleries_id":244631,"server_id":1,"link":"photo_5038606.html","width":130,"caption":"The Courier article on Hospice in the Weald Calendar","height":196});
															thumbnails[5852143] = clik.newPhoto({"id":5852143,"src":"Devo_Feb_2010_w_thumb.jpg","galleries_id":244631,"server_id":1,"link":"photo_5852143.html","width":130,"caption":"Amber Sweet photo in Devolution Feb 2010","height":89});
															thumbnails[4067878] = clik.newPhoto({"id":4067878,"src":"Devolution_June_2009_w_thumb.jpg","galleries_id":244631,"server_id":1,"link":"photo_4067878.html","width":130,"caption":"Devolution Magazine June 2009","height":61});
															thumbnails[3115053] = clik.newPhoto({"id":3115053,"src":"work_2100170_2_fp375x360blackbrightwhiteflatsffffff_thumb.jpg","galleries_id":191104,"server_id":1,"link":"photo_3115053.html","width":130,"caption":"","height":106});
															thumbnails[3115055] = clik.newPhoto({"id":3115055,"src":"IMG_0454Sossusvlei_thumb.jpg","galleries_id":191104,"server_id":1,"link":"photo_3115055.html","width":130,"caption":"\"Pouring\"","height":87});
															thumbnails[3115133] = clik.newPhoto({"id":3115133,"src":"work_2100097_3_fp375x360blackbrightwhiteflatsffffff_thumb.jpg","galleries_id":191104,"server_id":1,"link":"photo_3115133.html","width":130,"caption":"","height":106});
															thumbnails[7211291] = clik.newPhoto({"id":7211291,"src":"work_2135994_3_lp375x360bsU2FuZCBTZWEgRGVhZCBWbGVpIDE_thumb.jpg","galleries_id":389706,"server_id":1,"link":"photo_7211291.html","width":130,"caption":"Dead Vlei, Namibia","height":122});
															thumbnails[7211313] = clik.newPhoto({"id":7211313,"src":"work_2136121_2_lp375x360bsU2FuZCBTZWEsIERlYWQgVmxlaSA2_thumb.jpg","galleries_id":389706,"server_id":1,"link":"photo_7211313.html","width":130,"caption":"Dead Vlei, Namibia","height":106});
															thumbnails[7211393] = clik.newPhoto({"id":7211393,"src":"work_2136334_2_lp375x360bsU2FuZCBTZWEgNg_thumb.jpg","galleries_id":389706,"server_id":1,"link":"photo_7211393.html","width":130,"caption":"Sunset in Namib Desert","height":106});
															thumbnails[7211412] = clik.newPhoto({"id":7211412,"src":"work_2743101_2_fp375x360blackbrightwhiteflatsffffff_thumb.jpg","galleries_id":389706,"server_id":1,"link":"photo_7211412.html","width":130,"caption":"Frozen lake, Aanekoski, Finland","height":160});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[389706] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Landscape photo gallery","link":"section463043.html","maxRecords":0.0,"photoIDs":[7211291.0,7211313.0,7211393.0,7211412.0],"skipIndex":0,"section_code":"section463043","featured_images":7211393.0,"id":389706,"singleSection":true});				  						galleries[350007] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Photographic Portrait Prize Competiton 2010","link":"gallery_350007.html","maxRecords":0.0,"photoIDs":[6311819.0,6311822.0,6311831.0,6311834.0,6311837.0,6311846.0],"skipIndex":0,"section_code":"gallery","featured_images":"6311846,6311837,6311834,6311831,6311822,6311819","id":350007,"singleSection":false});				  						galleries[284686] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Portraits","link":"gallery_284686.html","maxRecords":0.0,"photoIDs":[7211432.0,7211781.0,7211856.0,7211860.0,7211862.0,7229331.0,7229334.0,7833901.0,7833908.0,7837312.0,7837313.0,7208566.0,7208581.0,7208594.0,7208597.0,7208601.0,7208607.0,7208611.0,7208614.0,7208615.0,7208616.0,6272202.0,1194450.0,1194516.0,1194535.0,1194537.0,4340045.0,778116.0],"skipIndex":0,"section_code":"gallery","featured_images":"7833908,7229331,7208607,7208594","id":284686,"singleSection":false});				  						galleries[459826] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Wedding - Wayne & Linda, Gaynes Park, Essex.","link":"section308444_459826.html","maxRecords":0.0,"photoIDs":[8720630.0,8720632.0,8720633.0,8720634.0,8720635.0,8720636.0],"skipIndex":0,"section_code":"section308444","featured_images":"8720635,8720632","id":459826,"singleSection":false});				  						galleries[450605] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Wedding - Matthew & Allison","link":"section308444_450605.html","maxRecords":0.0,"photoIDs":[8527012.0,8527016.0,8527018.0,8527019.0,8527021.0,8527022.0],"skipIndex":0,"section_code":"section308444","featured_images":"8527022,8527021,8527019,8527018,8527016,8527012","id":450605,"singleSection":false});				  						galleries[430975] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Wedding - Gavin & Gemma","link":"section308444_430975.html","maxRecords":0.0,"photoIDs":[8031818.0,8031850.0,8031866.0,8031884.0,8031898.0],"skipIndex":0,"section_code":"section308444","featured_images":"8031898,8031884,8031866,8031850,8031818","id":430975,"singleSection":false});				  						galleries[425680] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Wedding - Tim & Sally-ann","link":"section308444_425680.html","maxRecords":0.0,"photoIDs":[7890220.0,7890221.0,7890222.0,7890223.0,7890224.0,7890225.0],"skipIndex":0,"section_code":"section308444","featured_images":"7890225,7890224,7890223,7890222,7890221,7890220","id":425680,"singleSection":false});				  						galleries[420080] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Wedding. ROBIN & HANNAH - Married in Mid Glamorgan","link":"section308444_420080.html","maxRecords":0.0,"photoIDs":[7773978.0,7774005.0,7774009.0,7774013.0,7774027.0],"skipIndex":0,"section_code":"section308444","featured_images":"7774027,7773978","id":420080,"singleSection":false});				  						galleries[398072] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Wedding - DAN & CRESTA - married in Kent","link":"section308444_398072.html","maxRecords":0.0,"photoIDs":[7354978.0,7354979.0,7354981.0,7354982.0,7354983.0,7354984.0],"skipIndex":0,"section_code":"section308444","featured_images":"7354984,7354983,7354982,7354981,7354979,7354978","id":398072,"singleSection":false});				  						galleries[357699] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Wedding - Martin & Laura - married in Kent","link":"section308444_357699.html","maxRecords":0.0,"photoIDs":[6495532.0,6495533.0,6495534.0,6495535.0,6495536.0,6495537.0,6495538.0],"skipIndex":0,"section_code":"section308444","featured_images":"6495538,6495537,6495536,6495535,6495534,6495533,6495532","id":357699,"singleSection":false});				  						galleries[348554] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Wedding - Glen & Sam.  Married in East Sussex","link":"section308444_348554.html","maxRecords":0.0,"photoIDs":[6272130.0,6272133.0,6272134.0,6272136.0,6272138.0,6272139.0],"skipIndex":0,"section_code":"section308444","featured_images":"6272139,6272138,6272136,6272134,6272133,6272130","id":348554,"singleSection":false});				  						galleries[426509] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Wedding - Memories of past weddings","link":"section308444_426509.html","maxRecords":0.0,"photoIDs":[7909124.0,7909128.0,7909129.0,7909131.0,7909138.0,7909141.0,7909144.0,6233366.0,6233371.0,6054269.0,4686330.0,4649475.0,4360653.0,4358008.0],"skipIndex":0,"section_code":"section308444","featured_images":6054269.0,"id":426509,"singleSection":false});				  						galleries[117006] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"<strong>Arthouse Gallery Exhibition 2009","link":"section308445_117006.html","maxRecords":0.0,"photoIDs":[778108.0,778067.0,1741752.0,1741666.0,1741700.0,1741647.0,1741732.0,1741689.0,1741735.0,1741728.0],"skipIndex":0,"section_code":"section308445","featured_images":"1741732,1741689,1741666","id":117006,"singleSection":false});				  						galleries[244631] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"<strong>Published work & winners<\/strong>","link":"section308445_244631.html","maxRecords":0.0,"photoIDs":[1691316.0,4314924.0,6334107.0,6334224.0,6335283.0,6335289.0,6335308.0,6335311.0,5038596.0,5038604.0,5038606.0,5852143.0,4067878.0],"skipIndex":0,"section_code":"section308445","featured_images":4067878.0,"id":244631,"singleSection":false});				  						galleries[191104] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"<strong>Corridor Art, Marlowe Theatre<\/strong>","link":"section308445_191104.html","maxRecords":0.0,"photoIDs":[3115053.0,3115055.0,3115133.0],"skipIndex":0,"section_code":"section308445","featured_images":"3115133,3115055,3115053","id":191104,"singleSection":false});				  						galleries[284635] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Alternative Models","link":"gallery_284635.html","maxRecords":0.0,"photoIDs":[7208605.0,5025694.0,5025844.0,5025881.0,5025885.0,5025889.0,5025904.0,5216611.0],"skipIndex":0,"section_code":"gallery","featured_images":"7208605,5216611,5025904,5025889,5025885,5025881,5025844,5025694","id":284635,"singleSection":false});				  						galleries[252312] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"<strong>Portrait Portrait Prize 2009<\/strong>","link":"gallery_252312.html","maxRecords":0.0,"photoIDs":[4266709.0,4314945.0,4314955.0,4314974.0,4314981.0,4314986.0],"skipIndex":0,"section_code":"gallery","featured_images":"4314986,4314981,4314974,4314955,4314945,4266709","id":252312,"singleSection":false});				  						galleries[272479] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Pregnancy & Baby Celebration","link":"gallery_272479.html","maxRecords":0.0,"photoIDs":[4751347.0,4751354.0,4751355.0,4751360.0,4751382.0,4751383.0,4751385.0,4751387.0,4751390.0,4751425.0,4751643.0,4751645.0,4751646.0,4751649.0,4751651.0,4751654.0,4751656.0,4751657.0,4751658.0,4751660.0,4751661.0,4751663.0,4751667.0,4751671.0],"skipIndex":0,"section_code":"gallery","featured_images":"4751658,4751649,4751360","id":272479,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '8720635,7833908,7833901,7774027,7354984,7229331,7211856,7211393,778108,7208581,7208597,7208611,7208614,6272202,4340045,6233371,6054269,4360653,4358008,1741689,4314924,4067878,5025844,5216611,4266709,4314945,4314955,4314986';
imageSets[2] = '8720635,8720632,7833908,7774027,7773978,7229331,7211393,7208594,7208607,6054269,1741666,1741732,1741689,4067878,4751360,4751649,4751658';
imageSets[3] = '7833908,7833901,7774027';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/davidtovey/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/davidtovey/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/davidtovey/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/davidtovey/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/davidtovey/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/davidtovey/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/davidtovey/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/davidtovey/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/davidtovey/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/davidtovey/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/davidtovey/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/davidtovey/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/davidtovey/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/davidtovey/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/davidtovey/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/davidtovey/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/davidtovey/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/davidtovey/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/davidtovey/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/davidtovey/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/davidtovey/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/davidtovey/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/davidtovey/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/davidtovey/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/davidtovey/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/davidtovey/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/davidtovey/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 += 'section308444.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 && 'section308444' != '') {
					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 = 'eyecacha photography: ' + 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="updateCartValue($(this.form).next(\'#paymentForm\')[0],this.form.payment_options_id.options[this.form.payment_options_id.options.selectedIndex].value); if(divShowing(\'paymentConfirm\')){fadeOut(\'paymentConfirm\', 3)};">';
		
		temp += getPaymentOptions(this.payment_groups_id);
		temp += '</select>';
		temp += '</form>';
				var item_option  = paymentGroups[this.payment_groups_id].options[0];
		if(paymentOptions[item_option]){
			var item_name  = paymentOptions[item_option].payment_option;
			var amount =  paymentOptions[item_option].price;
		}
			}
		else {
		
	}
	if (this.item_price !== '' || this.payment_groups_id !== '') {
											temp += '<form id="paymentForm" style="margin:0px;border:0px;" name="paymentForm">';
			temp += '	<input type="hidden" name="item_option" value="' + item_option + '">';
			temp += '	<input type="hidden" name="site" value="DAVIDTOVEY">';
			temp += '	<input type="hidden" name="item_number" value="'+ this.id +'">';
			temp += '	<input type="hidden" name="quantity" value="1">';
						temp += '	<input value="Add to cart" id="paymentAddButton" class="button" onmouseover="this.className=\'buttonHi\'\;" onmouseout="this.className=\'button\'\;" type="Button">';
							temp += '	<input value="View cart" id="paymentViewButton" class="button" onmouseover="this.className=\'buttonHi\';" onmouseout="this.className=\'button\';" type="Button" onclick="javascript:window.location=\'cart.html\'">';
			temp += '</form>';
						temp += '<div class="clearing">&nbsp;</div>';
			temp += '<div id="confirmContainer">';
			temp += '<div id="paymentConfirm">Item added to cart</div>';
			temp += '</div>';
			temp += '<div class="clearing">&nbsp;</div>';
	}
	return temp;};

/***************************************************************************
* Pick a photo at random from the featured images of a gallery.            *
* Gallery_id = id of gallery to choose,                                    *
* img = reference to html image in                                         *
* which to show image                                                      *
***************************************************************************/
function showGalleryImage(gallery_id, img, updateLink) {
	
	if(img){
		if (location.hash.match('galleries_id=' + gallery_id) && (imageID = location.hash.match('.*photos_id=(.+)$'))) {
		  	imageID = imageID[1];
		} else {
		  	imageID = randomListVal(galleries[gallery_id].featured_images);
		}
		
		if (imageID != 0) {
			img.src = thumbnails[imageID].src;
			img.width = thumbnails[imageID].width;
			img.height = thumbnails[imageID].height;
			img.alt = galleries[gallery_id].title;
			if (updateLink) {
				$(img).parent().attr({					title: galleries[gallery_id].title				}).filter(function(){return this.href;}).attr({					href: thumbnails[imageID].fnGalleryLink(gallery_id)				});
			}
		}
	}
}

/***************************************************************************
* If we have dynamic HTML, replace the galleries link with a list that     *
* doesn't include thecurrent gallery                                       *
***************************************************************************/
function showGalleries(gallery_id) {
		
	
	if (!basic) {
		temp = '';
		for (i = 0; i < galleries.length; i++) {
						
			
			if (galleries[i].id != gallery_id) {
								
				if (temp != '') {
					temp += ' | ';
				}
								temp += '<a href="' + galleries[i].section_code + '_' + galleries[i].id + '.html">' + galleries[i].title + '</a>';
							}
		}
		document.all.galleryLinks.innerHTML = 'Other galleries: ' + temp;
	}
}

			

