window.thumbnails = {};
															thumbnails[538849] = clik.newPhoto({"id":538849,"src":"ilkley_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"","height":88});
															thumbnails[538851] = clik.newPhoto({"id":538851,"src":"pgent_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"","height":88});
															thumbnails[538852] = clik.newPhoto({"id":538852,"src":"sunsetwarleymoor4_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"","height":88});
															thumbnails[538854] = clik.newPhoto({"id":538854,"src":"Sunsetwavesedited_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"","height":88});
															thumbnails[783919] = clik.newPhoto({"id":783919,"src":"colourreplaced_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"","height":130});
															thumbnails[1499965] = clik.newPhoto({"id":1499965,"src":"ribcev-laz_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"","height":87});
															thumbnails[1691940] = clik.newPhoto({"id":1691940,"src":"bradfordfineartphotography1_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"","height":95});
															thumbnails[5460639] = clik.newPhoto({"id":5460639,"src":"_MG_9091_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"PERSONAL INJURY PHOTOGRAPHY","height":182});
															thumbnails[5460648] = clik.newPhoto({"id":5460648,"src":"_MG_5031_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"","height":93});
															thumbnails[783922] = clik.newPhoto({"id":783922,"src":"gerbera_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"","height":130});
															thumbnails[5190019] = clik.newPhoto({"id":5190019,"src":"Thank_you_cards_Leeds_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Thank you cards available","height":28});
															thumbnails[678549] = clik.newPhoto({"id":678549,"src":"vball1_thumb.jpg","galleries_id":41223,"server_id":18,"link":"photo_678549.html","width":130,"caption":"","height":87});
															thumbnails[678551] = clik.newPhoto({"id":678551,"src":"vball2_thumb.jpg","galleries_id":41223,"server_id":18,"link":"photo_678551.html","width":130,"caption":"","height":87});
															thumbnails[678557] = clik.newPhoto({"id":678557,"src":"vball3_thumb.jpg","galleries_id":41223,"server_id":18,"link":"photo_678557.html","width":130,"caption":"Event photography in  Leeds , Bradford and throughout Yorkshire.","height":195});
															thumbnails[686080] = clik.newPhoto({"id":686080,"src":"_MG_3540_thumb.jpg","galleries_id":295267,"server_id":18,"link":"photo_686080.html","width":130,"caption":"Baby Portraits in the Leeds, Bradford and Halifax area.","height":98});
															thumbnails[859215] = clik.newPhoto({"id":859215,"src":"_MG_8462_thumb.jpg","galleries_id":295267,"server_id":18,"link":"photo_859215.html","width":130,"caption":"Outdoor portrait photography, huddersfield, West Yorkshire.","height":130});
															thumbnails[962513] = clik.newPhoto({"id":962513,"src":"resistance1_thumb.jpg","galleries_id":41223,"server_id":18,"link":"photo_962513.html","width":130,"caption":"Music Photography at the Adelphi Leeds.","height":195});
															thumbnails[1159123] = clik.newPhoto({"id":1159123,"src":"_MG_7766_thumb.jpg","galleries_id":41224,"server_id":18,"link":"photo_1159123.html","width":130,"caption":"","height":87});
															thumbnails[1163132] = clik.newPhoto({"id":1163132,"src":"_MG_7759_thumb.jpg","galleries_id":41224,"server_id":18,"link":"photo_1163132.html","width":130,"caption":"","height":130});
															thumbnails[1500023] = clik.newPhoto({"id":1500023,"src":"rucksack1_thumb.jpg","galleries_id":41224,"server_id":18,"link":"photo_1500023.html","width":130,"caption":"","height":195});
															thumbnails[1598384] = clik.newPhoto({"id":1598384,"src":"Bradford product photographer1_thumb.jpg","galleries_id":41224,"server_id":18,"link":"photo_1598384.html","width":130,"caption":"Product Photography for Vertibax health products.","height":130});
															thumbnails[1611399] = clik.newPhoto({"id":1611399,"src":"_MG_0830_thumb.jpg","galleries_id":41224,"server_id":18,"link":"photo_1611399.html","width":130,"caption":"Product Photography for Vertibax Ltd","height":130});
															thumbnails[1630707] = clik.newPhoto({"id":1630707,"src":"product photography leeds_thumb.jpg","galleries_id":41224,"server_id":18,"link":"photo_1630707.html","width":130,"caption":"Photography For a Bradford based beauty company.","height":163});
															thumbnails[1662737] = clik.newPhoto({"id":1662737,"src":"_MG_9816_thumb.jpg","galleries_id":41224,"server_id":18,"link":"photo_1662737.html","width":130,"caption":"Product photography for www.executive-shaving.co.uk","height":130});
															thumbnails[1729967] = clik.newPhoto({"id":1729967,"src":"MG_25_thumb.jpg","galleries_id":41224,"server_id":18,"link":"photo_1729967.html","width":130,"caption":"Product photography for www.roopouches.com","height":130});
															thumbnails[1795152] = clik.newPhoto({"id":1795152,"src":"jerrysutcliffebradford_thumb.jpg","galleries_id":41223,"server_id":18,"link":"photo_1795152.html","width":130,"caption":"The MP Jerry Sutcliffe opening a Bradford School Gym supplied by SHOKK LTD","height":173});
															thumbnails[1943922] = clik.newPhoto({"id":1943922,"src":"support4physio_thumb.JPG","galleries_id":41224,"server_id":18,"link":"photo_1943922.html","width":130,"caption":"Product photography for website use.","height":110});
															thumbnails[2200987] = clik.newPhoto({"id":2200987,"src":"_MG_3893_thumb.jpg","galleries_id":41223,"server_id":18,"link":"photo_2200987.html","width":130,"caption":"Live Music Photography Bradford, Leeds & Yorkshire","height":87});
															thumbnails[2201140] = clik.newPhoto({"id":2201140,"src":"_MG_3580_thumb.jpg","galleries_id":41223,"server_id":18,"link":"photo_2201140.html","width":130,"caption":"Live band photography , Bradford & Leeds","height":195});
															thumbnails[2201198] = clik.newPhoto({"id":2201198,"src":"_MG_3568_thumb.jpg","galleries_id":41223,"server_id":18,"link":"photo_2201198.html","width":130,"caption":"music photographer Bradford, Leeds and Yorkshire areas.","height":87});
															thumbnails[3376951] = clik.newPhoto({"id":3376951,"src":"_MG_8670-40x30-BW_thumb.jpg","galleries_id":295267,"server_id":18,"link":"photo_3376951.html","width":130,"caption":"Baby Portraits in Bradford, West Yorkshire.","height":87});
															thumbnails[3386471] = clik.newPhoto({"id":3386471,"src":"_MG_8678-34x24-Bw_thumb.jpg","galleries_id":295267,"server_id":18,"link":"photo_3386471.html","width":130,"caption":"Baby Photography in Bradford, Leeds & Halifax","height":87});
															thumbnails[5223886] = clik.newPhoto({"id":5223886,"src":"_MG_5092_703DB0EC-2219-B5B5-4C69A6BC7B80F95F_thumb.jpg","galleries_id":295267,"server_id":18,"link":"photo_5223886.html","width":130,"caption":"Baby Photography, Leeds, West Yorkshire","height":130});
															thumbnails[5223911] = clik.newPhoto({"id":5223911,"src":"_MG_5093_thumb.jpg","galleries_id":295267,"server_id":18,"link":"photo_5223911.html","width":130,"caption":"Baby Photography, Leeds, West Yorkshire","height":130});
															thumbnails[5899360] = clik.newPhoto({"id":5899360,"src":"_MG_1832fx_thumb.jpg","galleries_id":295267,"server_id":18,"link":"photo_5899360.html","width":130,"caption":"Leeds, Bradford, Halifax, Huddersfield, Yorkshire, Baby & Bump Photographer.","height":98});
															thumbnails[5954682] = clik.newPhoto({"id":5954682,"src":"_MG_0363BW_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_5954682.html","width":130,"caption":"Wedding Photography in Walton Hall, West Yorkshire.","height":98});
															thumbnails[6212650] = clik.newPhoto({"id":6212650,"src":"_MG_9212BW_thumb.jpg","galleries_id":295267,"server_id":18,"link":"photo_6212650.html","width":130,"caption":"Bumps & Babies Photographer in Yorkshire","height":98});
															thumbnails[6212652] = clik.newPhoto({"id":6212652,"src":"01-12x8-only_thumb.jpg","galleries_id":295267,"server_id":18,"link":"photo_6212652.html","width":130,"caption":"Leeds, Bradford, Halifax, Huddersfield, Yorkshire, Baby & Bump Photographer","height":195});
															thumbnails[6370798] = clik.newPhoto({"id":6370798,"src":"_MG_3540BW_thumb.jpg","galleries_id":295267,"server_id":18,"link":"photo_6370798.html","width":130,"caption":"Baby photography in the Leeds Bradford area.","height":98});
															thumbnails[6518484] = clik.newPhoto({"id":6518484,"src":"_MG_5415BW_thumb.jpg","galleries_id":295267,"server_id":18,"link":"photo_6518484.html","width":130,"caption":"Newborn baby photographer in Leeds, West Yorkshire.","height":98});
															thumbnails[7110157] = clik.newPhoto({"id":7110157,"src":"_MG_7911BW_thumb.jpg","galleries_id":295267,"server_id":18,"link":"photo_7110157.html","width":130,"caption":"Baby portraits in the West Yorkshire region.","height":98});
															thumbnails[7130125] = clik.newPhoto({"id":7130125,"src":"_MG_7363_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_7130125.html","width":130,"caption":"Wedding photography at Tong Hall Bradford","height":130});
															thumbnails[7130168] = clik.newPhoto({"id":7130168,"src":"_MG_7765BW_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_7130168.html","width":130,"caption":"Wedding photography , Bradford","height":130});
															thumbnails[7130188] = clik.newPhoto({"id":7130188,"src":"_MG_0018BW_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_7130188.html","width":130,"caption":"Wedding photography, Liversedge, West Yorkshire.","height":98});
															thumbnails[7130190] = clik.newPhoto({"id":7130190,"src":"_MG_0066_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_7130190.html","width":130,"caption":"Wedding photography, Wakefield, West Yorkshire","height":98});
															thumbnails[7130195] = clik.newPhoto({"id":7130195,"src":"_MG_0208BW_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_7130195.html","width":130,"caption":"Wedding photographer,  Wakefield, West Yorkshire","height":98});
															thumbnails[7131012] = clik.newPhoto({"id":7131012,"src":"_MG_0297_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_7131012.html","width":130,"caption":"Wedding photographer, Leeds, West Yorkshire","height":98});
															thumbnails[7131015] = clik.newPhoto({"id":7131015,"src":"_MG_0360_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_7131015.html","width":130,"caption":"Wedding photographer, Leeds, West Yorkshire","height":98});
															thumbnails[7131020] = clik.newPhoto({"id":7131020,"src":"_MG_0506BW_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_7131020.html","width":130,"caption":"Wedding photographer, Leeds, West Yorkshire","height":98});
															thumbnails[7131027] = clik.newPhoto({"id":7131027,"src":"_MG_0519_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_7131027.html","width":130,"caption":"Wedding photographer, Leeds, West Yorkshire","height":98});
															thumbnails[7131039] = clik.newPhoto({"id":7131039,"src":"_MG_6213BW_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_7131039.html","width":130,"caption":"Wedding photographer, Leeds, West Yorkshire","height":130});
															thumbnails[7131040] = clik.newPhoto({"id":7131040,"src":"_MG_0915BW1_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_7131040.html","width":130,"caption":"Wedding photographer, Leeds, West Yorkshire","height":98});
															thumbnails[7131046] = clik.newPhoto({"id":7131046,"src":"_MG_3471BWC_thumb.jpg","galleries_id":295267,"server_id":18,"link":"photo_7131046.html","width":130,"caption":"Baby photographer, Leeds, West Yorkshire","height":98});
															thumbnails[7131052] = clik.newPhoto({"id":7131052,"src":"_MG_3290cropBWC_98E4BEEA-1EC9-D45B-1C9EB0D9023DA79E_thumb.jpg","galleries_id":295267,"server_id":18,"link":"photo_7131052.html","width":130,"caption":"Baby photographer, Bradford, West Yorkshire","height":130});
															thumbnails[7131055] = clik.newPhoto({"id":7131055,"src":"_MG_4582BWC_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_7131055.html","width":130,"caption":"Wedding photography, Town Hall, Leeds, Yorkshire.","height":98});
															thumbnails[7131059] = clik.newPhoto({"id":7131059,"src":"_MG_4841BW_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_7131059.html","width":130,"caption":"Wedding photographer, Leeds, West Yorkshire","height":98});
															thumbnails[7131063] = clik.newPhoto({"id":7131063,"src":"_MG_5220BW_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_7131063.html","width":130,"caption":"Wedding photographer, Halifax, West Yorkshire","height":130});
															thumbnails[7131067] = clik.newPhoto({"id":7131067,"src":"_MG_5705_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_7131067.html","width":130,"caption":"Wedding photographer, Halifax, West Yorkshire","height":130});
															thumbnails[7131071] = clik.newPhoto({"id":7131071,"src":"_MG_5649_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_7131071.html","width":130,"caption":"Wedding photographer, Halifax, West Yorkshire","height":98});
															thumbnails[7131076] = clik.newPhoto({"id":7131076,"src":"_MG_5726BWC_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_7131076.html","width":130,"caption":"Wedding photographer, Halifax, West Yorkshire","height":98});
															thumbnails[7131082] = clik.newPhoto({"id":7131082,"src":"_MG_6313_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_7131082.html","width":130,"caption":"Wedding photographer, Halifax, West Yorkshire","height":130});
															thumbnails[7131085] = clik.newPhoto({"id":7131085,"src":"_MG_7210_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_7131085.html","width":130,"caption":"Wedding photographer, Halifax, West Yorkshire","height":81});
															thumbnails[7131091] = clik.newPhoto({"id":7131091,"src":"_MG_9026bw_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_7131091.html","width":130,"caption":"Wedding photographer, Halifax, West Yorkshire","height":130});
															thumbnails[7131099] = clik.newPhoto({"id":7131099,"src":"_MG_9061_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_7131099.html","width":130,"caption":"Wedding photographer, Bradford, West Yorkshire","height":130});
															thumbnails[7131102] = clik.newPhoto({"id":7131102,"src":"_MG_9128_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_7131102.html","width":130,"caption":"Wedding photographer, Bradford, West Yorkshire","height":98});
															thumbnails[7131105] = clik.newPhoto({"id":7131105,"src":"_MG_9171bwa_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_7131105.html","width":130,"caption":"Wedding photographer, Bradford, West Yorkshire","height":130});
															thumbnails[7131109] = clik.newPhoto({"id":7131109,"src":"_MG_9571_98F31281-1EC9-D45B-1C697908DFC2478F_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_7131109.html","width":130,"caption":"Wedding photographer, Bradford, West Yorkshire","height":81});
															thumbnails[7131113] = clik.newPhoto({"id":7131113,"src":"_MG_9524_98F436ED-1EC9-D45B-1CDFC91CBFCAF91D_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_7131113.html","width":130,"caption":"Wedding photographer, Bradford, West Yorkshire","height":81});
															thumbnails[7502344] = clik.newPhoto({"id":7502344,"src":"_MG_2043BW_thumb.jpg","galleries_id":295267,"server_id":18,"link":"photo_7502344.html","width":130,"caption":"Baby photography in the Huddersfield area.","height":98});
															thumbnails[7502345] = clik.newPhoto({"id":7502345,"src":"_MG_8102BW_thumb.jpg","galleries_id":295267,"server_id":18,"link":"photo_7502345.html","width":130,"caption":"Baby photography in the Wakefield area.","height":130});
															thumbnails[7502346] = clik.newPhoto({"id":7502346,"src":"_MG_8401BW_thumb.jpg","galleries_id":295267,"server_id":18,"link":"photo_7502346.html","width":130,"caption":"Baby photography in the Wakefield area.","height":93});
															thumbnails[7502347] = clik.newPhoto({"id":7502347,"src":"_MG_8433_thumb.jpg","galleries_id":295267,"server_id":18,"link":"photo_7502347.html","width":130,"caption":"Newborn babies photographed in West Yorkshire.","height":93});
															thumbnails[8098404] = clik.newPhoto({"id":8098404,"src":"_MG_5975BW_thumb.jpg","galleries_id":295267,"server_id":18,"link":"photo_8098404.html","width":130,"caption":"baby photography packages available in Bradford, Leeds, Halifax.","height":173});
															thumbnails[1658586] = clik.newPhoto({"id":1658586,"src":"_MG_8429x_thumb.jpg","galleries_id":295267,"server_id":18,"link":"photo_1658586.html","width":130,"caption":"Baby Photography Bradford Leeds","height":130});
															thumbnails[5179767] = clik.newPhoto({"id":5179767,"src":"Frame-options-1_thumb.jpg","galleries_id":41484,"server_id":18,"link":"photo_5179767.html","width":130,"caption":"A large selection of frames available.","height":98});
															thumbnails[9035438] = clik.newPhoto({"id":9035438,"src":"Portrait_photographer_Bradford_thumb.jpg","galleries_id":41222,"server_id":18,"link":"photo_9035438.html","width":160,"caption":"Childrens Photographer in Leeds","height":120});
															thumbnails[9051343] = clik.newPhoto({"id":9051343,"src":"Portfolio_Photographer_Bradford_Leeds_thumb.jpg","galleries_id":41222,"server_id":18,"link":"photo_9051343.html","width":160,"caption":"Model, Portfolio Photographer in Leeds & Bradford.","height":110});
															thumbnails[9063938] = clik.newPhoto({"id":9063938,"src":"Baby_photographer_Leeds_Bradford_03_thumb.jpg","galleries_id":295267,"server_id":18,"link":"photo_9063938.html","width":160,"caption":"Baby Photographer in Leeds & Bradford","height":120});
															thumbnails[532204] = clik.newPhoto({"id":532204,"src":"_MG_6494aa_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_532204.html","width":130,"caption":"Wedding Photography at Walton Hall , Wakefield","height":130});
															thumbnails[2063216] = clik.newPhoto({"id":2063216,"src":"Model_Photography_Yorkshire__thumb.jpg","galleries_id":41222,"server_id":18,"link":"photo_2063216.html","width":160,"caption":"Location Portrait in Leeds West Yorkshire.","height":224});
															thumbnails[2371368] = clik.newPhoto({"id":2371368,"src":"_MG_5882_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_2371368.html","width":130,"caption":"Distinctive wedding photography in Wakefield, West Yorkshire.","height":98});
															thumbnails[5190013] = clik.newPhoto({"id":5190013,"src":"block-mount_thumb.jpg","galleries_id":41484,"server_id":18,"link":"photo_5190013.html","width":130,"caption":"Now available FOTOBLOX photographic prints mounted on to MDF board with a matt laminate finish. <p>A modern fresh and stylish wall hanging solution.","height":40});
															thumbnails[9049652] = clik.newPhoto({"id":9049652,"src":"ModelPhotographyLeedsRobFord_thumb_7E0BA3BE-1EC9-D45B-1C6A463B6C9E6034.jpg","galleries_id":41222,"server_id":18,"link":"photo_9049652.html","width":160,"caption":"Model Portfolios in Leeds, West Yorkshire","height":224});
															thumbnails[1103539] = clik.newPhoto({"id":1103539,"src":"007-_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_1103539.html","width":130,"caption":"Wedding photography in Bradford, West Yorkshire.","height":65});
															thumbnails[5190031] = clik.newPhoto({"id":5190031,"src":"Block_mount_bradford_thumb.jpg","galleries_id":41484,"server_id":18,"link":"photo_5190031.html","width":130,"caption":"Block mounted prints. <p> All sizes are available.","height":344});
															thumbnails[6212718] = clik.newPhoto({"id":6212718,"src":"_MG_1246BW_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_6212718.html","width":130,"caption":"Affordable Wedding Photographer in Bradford, West Yorkshire.","height":98});
															thumbnails[4116233] = clik.newPhoto({"id":4116233,"src":"Madison-Black1_thumb.jpg","galleries_id":41484,"server_id":18,"link":"photo_4116233.html","width":130,"caption":"Madison (Black) <P>New style of modern wedding album. <P>Fresh modern styling, Madison features a wrap round magnetic cover, finished with silver trim. Available in a matt finish Black or White cover, each album has an aperture to display a print of your choice on the front cover.","height":100});
															thumbnails[1503091] = clik.newPhoto({"id":1503091,"src":"_MG_0507z_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_1503091.html","width":130,"caption":"Wedding Photography at Walton Hall , Wakefield","height":173});
															thumbnails[4116232] = clik.newPhoto({"id":4116232,"src":"madison_white-black-bg1_thumb.jpg","galleries_id":41484,"server_id":18,"link":"photo_4116232.html","width":130,"caption":"Madison (white) <p>New style of modern wedding album. <P>Fresh modern styling, Madison features a wrap round magnetic cover, finished with silver trim. Available in a matt finish Black or White cover, each album has an aperture to display a print of your choice on the front cover.","height":100});
															thumbnails[7502371] = clik.newPhoto({"id":7502371,"src":"Chaucer_thumb.jpg","galleries_id":41484,"server_id":18,"link":"photo_7502371.html","width":130,"caption":"Chaucer <p>Soft padded white leather album with silver ribbon down the left hand side and Wedding blocked in silver in the bottom right hand corner.","height":121});
															thumbnails[8316047] = clik.newPhoto({"id":8316047,"src":"_MG_9651BWC_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_8316047.html","width":130,"caption":"Unique wedding photography in Leeds.","height":130});
															thumbnails[9064476] = clik.newPhoto({"id":9064476,"src":"Modelling_Portriature_Leeds_Bradford1_thumb.jpg","galleries_id":41222,"server_id":18,"link":"photo_9064476.html","width":160,"caption":"Lifestyle Photography in Yorkshire. ","height":240});
															thumbnails[7502374] = clik.newPhoto({"id":7502374,"src":"Tolkein_thumb.jpg","galleries_id":41484,"server_id":18,"link":"photo_7502374.html","width":130,"caption":"Tolkien <p>Firm padded black soft feel material with a pewter effect heart plaque central on the front cover.","height":131});
															thumbnails[7502375] = clik.newPhoto({"id":7502375,"src":"Delius_thumb.jpg","galleries_id":41484,"server_id":18,"link":"photo_7502375.html","width":130,"caption":"Delius <P>Soft padded in bonded leather material with a blocked border and Wedding blocked in top left hand corner within the border in gold with matching linings.","height":121});
															thumbnails[9035432] = clik.newPhoto({"id":9035432,"src":"Baby_Photographer_Bradford_thumb.jpg","galleries_id":295267,"server_id":18,"link":"photo_9035432.html","width":160,"caption":"Baby Photographer in Leeds & Bradford","height":140});
															thumbnails[532065] = clik.newPhoto({"id":532065,"src":"babybw_thumb.jpg","galleries_id":295267,"server_id":18,"link":"photo_532065.html","width":130,"caption":"Baby Portraits in your own home.","height":180});
															thumbnails[1625144] = clik.newPhoto({"id":1625144,"src":"winter_wedding_-leeds_bradford_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_1625144.html","width":130,"caption":"Winter wedding photography at Holdsworth House, Halifax, West Yorkshire.","height":130});
															thumbnails[7502377] = clik.newPhoto({"id":7502377,"src":"Chatsworth_thumb.jpg","galleries_id":41484,"server_id":18,"link":"photo_7502377.html","width":130,"caption":"Chatsworth <p>Firm padded bonded leather with an embossed border. <p> Available in Black, White, Burgundy and Ivory.","height":128});
															thumbnails[9057292] = clik.newPhoto({"id":9057292,"src":"Modelling_male_photographer_leeds_thumb.jpg","galleries_id":41222,"server_id":18,"link":"photo_9057292.html","width":160,"caption":"Model, Portfolio Photographer in Leeds & Bradford.","height":224});
															thumbnails[9057834] = clik.newPhoto({"id":9057834,"src":"Location_Model_Portrait_Photographer_leeds_thumb.jpg","galleries_id":41222,"server_id":18,"link":"photo_9057834.html","width":160,"caption":"Lifestyle Photography in Yorkshire.","height":224});
															thumbnails[7502378] = clik.newPhoto({"id":7502378,"src":"Solar_thumb.jpg","galleries_id":41484,"server_id":18,"link":"photo_7502378.html","width":130,"caption":"Solar <p>A soft padded shimmer suede effect with entwined rings blocked central on front cover. <p> Available in Purple and Black.","height":117});
															thumbnails[6212710] = clik.newPhoto({"id":6212710,"src":"_MG_1411BW_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_6212710.html","width":130,"caption":"Wedding Photographer in Bradford, West Yorkshire","height":173});
															thumbnails[7502381] = clik.newPhoto({"id":7502381,"src":"Comet_thumb.jpg","galleries_id":41484,"server_id":18,"link":"photo_7502381.html","width":130,"caption":"Comet <p>A soft padded album with Wedding blocked vertically down right hand side. <p> Available in Black & Ivory","height":129});
															thumbnails[534658] = clik.newPhoto({"id":534658,"src":"Ascot_thumb.jpg","galleries_id":41484,"server_id":18,"link":"photo_534658.html","width":130,"caption":"Ascot<br>\r\n<p>Stylish padded traditional album.<br>\r\n<p>White feather grained finish to the cover and to complete this pure look, the word 'Wedding' is embossed on the top left hand corner.","height":98});
															thumbnails[534659] = clik.newPhoto({"id":534659,"src":"Aylesbury_thumb.jpg","galleries_id":41484,"server_id":18,"link":"photo_534659.html","width":130,"caption":"Aylesbury<p>Stylish padded traditional album.<p>Gently marbled lightly grained cover in cream. Finshed with the word 'Wedding' in the bottom right hand corner in gold.","height":98});
															thumbnails[7502336] = clik.newPhoto({"id":7502336,"src":"_MG_4350BW_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_7502336.html","width":130,"caption":"Winter wedding photography at Holdsworth House, Halifax, West Yorkshire.","height":130});
															thumbnails[9057281] = clik.newPhoto({"id":9057281,"src":"Photography_Halifax_Bradford_thumb.jpg","galleries_id":41222,"server_id":18,"link":"photo_9057281.html","width":160,"caption":"Portfolio Photography in Leeds & Bradford.","height":114});
															thumbnails[534667] = clik.newPhoto({"id":534667,"src":"Sophie_thumb.jpg","galleries_id":41484,"server_id":18,"link":"photo_534667.html","width":130,"caption":"Sophie<p>Stylish firm unpadded traditional album.<p>Made with a cream material and is offered with a choice of gold blocking styles or simply as a plain cover. Finished with gold metal corners.","height":98});
															thumbnails[1559614] = clik.newPhoto({"id":1559614,"src":"_MG_3687bwc_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_1559614.html","width":130,"caption":"Wedding photographer at Oakwood Hall , Bingley.","height":98});
															thumbnails[4403088] = clik.newPhoto({"id":4403088,"src":"Baby-Portraiture_thumb.jpg","galleries_id":295267,"server_id":18,"link":"photo_4403088.html","width":130,"caption":"Baby Portraits in your own home.","height":208});
															thumbnails[534656] = clik.newPhoto({"id":534656,"src":"Abigail_thumb.jpg","galleries_id":41484,"server_id":18,"link":"photo_534656.html","width":130,"caption":"Abigail<p>Stylish padded traditional album.<p>Covered in a smooth pearlised Pewter material and is finished tenderly with two interlocking silver wedding bands in the centre of the cover.","height":98});
															thumbnails[931968] = clik.newPhoto({"id":931968,"src":"thompson_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_931968.html","width":130,"caption":"Wedding photography at Rudding Park Hotel, Harrogate","height":98});
															thumbnails[1093552] = clik.newPhoto({"id":1093552,"src":"_MG_9128bw_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_1093552.html","width":130,"caption":"Quality wedding photography in Halifax, West Yorkshire","height":98});
															thumbnails[534663] = clik.newPhoto({"id":534663,"src":"cd_folio_black_thumb.jpg","galleries_id":41484,"server_id":18,"link":"photo_534663.html","width":130,"caption":"DVD-FOLIO<p>Stylish DVD case and hard box.<p>For £65 Have all your images put on a dvd slideshow to watch on your TV.<p>Extra copies £35","height":85});
															thumbnails[9064465] = clik.newPhoto({"id":9064465,"src":"Fashion_portrait_Bradford_Halifax-Leeds_thumb.jpg","galleries_id":41222,"server_id":18,"link":"photo_9064465.html","width":160,"caption":"Bradford and Leeds Portrait Photography","height":120});
															thumbnails[645507] = clik.newPhoto({"id":645507,"src":"Wedding_car_holdsworth_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_645507.html","width":130,"caption":"Wedding Photography At Holdsworth house, Halifax, West Yorkshire","height":98});
															thumbnails[9057257] = clik.newPhoto({"id":9057257,"src":"Leeds_Bradford_Photography_Rob_Ford_thumb.jpg","galleries_id":41222,"server_id":18,"link":"photo_9057257.html","width":160,"caption":"Model, Portfolio Photographer in Leeds & Bradford.","height":114});
															thumbnails[8316054] = clik.newPhoto({"id":8316054,"src":"M41011_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_8316054.html","width":130,"caption":"Storybook wedding photography at Holdswoth House, halifax.","height":182});
															thumbnails[4396875] = clik.newPhoto({"id":4396875,"src":"_MG_3933bw_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_4396875.html","width":130,"caption":"Wedding at Oakwood Hall, Bingley.","height":98});
															thumbnails[5954690] = clik.newPhoto({"id":5954690,"src":"_MG_9571_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_5954690.html","width":130,"caption":"Wedding photography In Wakefield, Yorkshire.","height":98});
															thumbnails[532159] = clik.newPhoto({"id":532159,"src":"SOCIALEVENTS_thumb.jpg","galleries_id":41223,"server_id":18,"link":"photo_532159.html","width":130,"caption":"see more of my work on the Gala promotions website.","height":98});
															thumbnails[1083180] = clik.newPhoto({"id":1083180,"src":"_MG_6745BW_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_1083180.html","width":130,"caption":"Wedding Photography at Southowram, Halifax,  West Yorkshire.","height":173});
															thumbnails[8316065] = clik.newPhoto({"id":8316065,"src":"0125BWC_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_8316065.html","width":130,"caption":"Affordable wedding photography in Bradford, West Yorkshire.","height":98});
															thumbnails[4395156] = clik.newPhoto({"id":4395156,"src":"_MG_6376_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_4395156.html","width":130,"caption":"Wedding Helicopter","height":98});
															thumbnails[532056] = clik.newPhoto({"id":532056,"src":"_MG_3641_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_532056.html","width":130,"caption":"Wedding photography at Oakwood Hall , Bingley near Bradford.","height":98});
															thumbnails[532214] = clik.newPhoto({"id":532214,"src":"_MG_7801_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_532214.html","width":130,"caption":"Wedding Photography in Halifax. Yorkshire","height":98});
															thumbnails[1473122] = clik.newPhoto({"id":1473122,"src":"_MG_3699_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_1473122.html","width":130,"caption":"Wedding Photography at Oakwood Hotel ,Bingley","height":98});
															thumbnails[532436] = clik.newPhoto({"id":532436,"src":"_MG_5343_thumb.jpg","galleries_id":41224,"server_id":18,"link":"photo_532436.html","width":130,"caption":"Streamline gym. Wibsey, Bradford.","height":98});
															thumbnails[1337193] = clik.newPhoto({"id":1337193,"src":"_MG_3288bwc_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_1337193.html","width":130,"caption":"Wedding Photography at Oakwood Hall, Bingley.","height":173});
															thumbnails[8316052] = clik.newPhoto({"id":8316052,"src":"a1_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_8316052.html","width":130,"caption":"Storybook wedding photography In Leeds, West Yorkshire.","height":182});
															thumbnails[1337157] = clik.newPhoto({"id":1337157,"src":"_MG_3959bw_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_1337157.html","width":130,"caption":"Wedding photography at Oakwood Hall, Bingley. ","height":173});
															thumbnails[4396877] = clik.newPhoto({"id":4396877,"src":"_MG_9602_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_4396877.html","width":130,"caption":"Wedding Photography at Gomersal Park, near Batley","height":98});
															thumbnails[8333090] = clik.newPhoto({"id":8333090,"src":"_MG_7723_thumb.jpg","galleries_id":41222,"server_id":18,"link":"photo_8333090.html","width":160,"caption":"Location based portrait photography,  Halifax, Bradford & Leeds.","height":120});
															thumbnails[9058852] = clik.newPhoto({"id":9058852,"src":"Glamour_Photographer_Halifax_Bradford_Portraiture_thumb.jpg","galleries_id":41222,"server_id":18,"link":"photo_9058852.html","width":160,"caption":"Model, Portfolio Photographer in Leeds & Bradford.","height":240});
															thumbnails[1091008] = clik.newPhoto({"id":1091008,"src":"_MG_1849_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_1091008.html","width":130,"caption":"Wedding photography at Oakwood Hall, Bingley.","height":173});
															thumbnails[1100861] = clik.newPhoto({"id":1100861,"src":"_MG_5619bw_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_1100861.html","width":130,"caption":"Wedding photography Leeds, Bradford and Halifax areas","height":98});
															thumbnails[4403089] = clik.newPhoto({"id":4403089,"src":"Untitled-1_thumb.jpg","galleries_id":295267,"server_id":18,"link":"photo_4403089.html","width":130,"caption":"Baby portraits in Bradford, Leeds, Halifax and surrounding areas.","height":130});
															thumbnails[1103394] = clik.newPhoto({"id":1103394,"src":"_MG_3524bwc_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_1103394.html","width":130,"caption":"Wedding photography at Wibsey , Bradford","height":98});
															thumbnails[8316060] = clik.newPhoto({"id":8316060,"src":"008_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_8316060.html","width":130,"caption":"Wedding Photography in Halifax, West yorkshire","height":228});
															thumbnails[9057263] = clik.newPhoto({"id":9057263,"src":"Leeds_Portrait_portfolios_thumb.jpg","galleries_id":41222,"server_id":18,"link":"photo_9057263.html","width":160,"caption":"Leeds, Portrait Photography.","height":224});
															thumbnails[4396876] = clik.newPhoto({"id":4396876,"src":"_MG_0153_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_4396876.html","width":130,"caption":"Eye catching Wedding photography at Holiday Inn, Tong Hall, Bradford","height":98});
															thumbnails[532208] = clik.newPhoto({"id":532208,"src":"wedding_photography_halifax_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_532208.html","width":130,"caption":"Wedding photography at the Guidepost Hotel, Bradford","height":98});
															thumbnails[532435] = clik.newPhoto({"id":532435,"src":"setup5_thumb.jpg","galleries_id":41224,"server_id":18,"link":"photo_532435.html","width":130,"caption":"Product photography for a Bradford based company.","height":39});
															thumbnails[932028] = clik.newPhoto({"id":932028,"src":"_MG_0082_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_932028.html","width":130,"caption":"Wedding Photography at Rudding Park , Harrogate","height":173});
															thumbnails[4396908] = clik.newPhoto({"id":4396908,"src":"_MG_5254X_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_4396908.html","width":130,"caption":"Wedding Photography at Holdsworth House, Halifax , West Yorkshire","height":173});
															thumbnails[4403091] = clik.newPhoto({"id":4403091,"src":"_MG_7697_thumb.jpg","galleries_id":295267,"server_id":18,"link":"photo_4403091.html","width":130,"caption":"Baby portraits in the comfort of your own home in the Yorkshire area.","height":98});
															thumbnails[532193] = clik.newPhoto({"id":532193,"src":"Wedding_Photography_Brighouse_Hipperholme_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_532193.html","width":130,"caption":"Wedding Photography near Hipperholme and Lightcliffe. ","height":173});
															thumbnails[1568893] = clik.newPhoto({"id":1568893,"src":"_MG_8709_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_1568893.html","width":130,"caption":"Wedding Photography at Rudding Park ,Harrogate.","height":81});
															thumbnails[5899420] = clik.newPhoto({"id":5899420,"src":"_MG_8473VW_thumb.jpg","galleries_id":41222,"server_id":18,"link":"photo_5899420.html","width":130,"caption":"Children photographed in natural surroundings.","height":93});
															thumbnails[8316061] = clik.newPhoto({"id":8316061,"src":"003_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_8316061.html","width":130,"caption":"Storybook weddings in Bradford, West Yorkshire.","height":130});
															thumbnails[8316063] = clik.newPhoto({"id":8316063,"src":"_MG_9641_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_8316063.html","width":130,"caption":"Wedding photography at the Gomersal Park Hotel.","height":130});
															thumbnails[1757179] = clik.newPhoto({"id":1757179,"src":"_MG_0444x_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_1757179.html","width":130,"caption":"Wedding Photography Best Western Monkbar Hotel, York","height":98});
															thumbnails[1105664] = clik.newPhoto({"id":1105664,"src":"_MG_9524_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_1105664.html","width":130,"caption":"Wedding Photography at Gomersal Park Hotel..","height":98});
															thumbnails[1100859] = clik.newPhoto({"id":1100859,"src":"_MG_9246-Edit_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_1100859.html","width":130,"caption":"Wedding photography at Wibsey, Bradford","height":98});
															thumbnails[934674] = clik.newPhoto({"id":934674,"src":"_MG_1419BW-FX_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_934674.html","width":130,"caption":"Wedding photography at Rudding Park, Harrogate","height":98});
															thumbnails[1471621] = clik.newPhoto({"id":1471621,"src":"a02_MG_6526_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_1471621.html","width":130,"caption":"Wedding Photography at Southowram, Halifax, West Yorkshire. ","height":182});
															thumbnails[1337165] = clik.newPhoto({"id":1337165,"src":"_MG_6211_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_1337165.html","width":130,"caption":"Wedding Photography at Rogerthorpe Manor , Ackworth , Pontefract ","height":98});
															thumbnails[1292366] = clik.newPhoto({"id":1292366,"src":"_MG_8729_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_1292366.html","width":130,"caption":"Wedding Photography at the Bradford Bulls stadium.","height":173});
															thumbnails[1336952] = clik.newPhoto({"id":1336952,"src":"_MG_0668bwc_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_1336952.html","width":130,"caption":"Wedding photography at the Holiday Inn, Tong village.","height":98});
															thumbnails[532207] = clik.newPhoto({"id":532207,"src":"_MG_4855BW_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_532207.html","width":130,"caption":"Wedding photography at Holdsworth House, Halifax","height":98});
															thumbnails[1126230] = clik.newPhoto({"id":1126230,"src":"_MG_2994bw_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_1126230.html","width":130,"caption":"Wedding Photography at the Dubrovnik Hotel, Bradford, West Yorkshire.","height":173});
															thumbnails[4396907] = clik.newPhoto({"id":4396907,"src":"_MG_6352_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_4396907.html","width":130,"caption":"Wedding Photography at the Pennine Manor, Huddersfield , West Yorkshire","height":98});
															thumbnails[9057271] = clik.newPhoto({"id":9057271,"src":"Modelling_Leeds_Bradford_halifax_thumb.jpg","galleries_id":41222,"server_id":18,"link":"photo_9057271.html","width":160,"caption":"Leeds & Bradford, Portrait Photography","height":224});
															thumbnails[6212714] = clik.newPhoto({"id":6212714,"src":"_MG_1724_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_6212714.html","width":130,"caption":"Wedding Photographer in Bradford, Leeds, West Yorkshire","height":98});
															thumbnails[801236] = clik.newPhoto({"id":801236,"src":"_MG_0801abw_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_801236.html","width":130,"caption":"Civil Partnership, at Leeds Town Hall.","height":182});
															thumbnails[1757177] = clik.newPhoto({"id":1757177,"src":"_MG_0429bwc_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_1757177.html","width":130,"caption":"Wedding photography in York.","height":173});
															thumbnails[8098716] = clik.newPhoto({"id":8098716,"src":"_MG_5744web_thumb.jpg","galleries_id":41222,"server_id":18,"link":"photo_8098716.html","width":130,"caption":"Outdoor photography in Huddersfield.","height":98});
															thumbnails[934742] = clik.newPhoto({"id":934742,"src":"thompson5_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_934742.html","width":130,"caption":"Wedding photography at Rudding Park Hotel, Harrogate","height":173});
															thumbnails[9035437] = clik.newPhoto({"id":9035437,"src":"child_photographer_Leeds_thumb.jpg","galleries_id":41222,"server_id":18,"link":"photo_9035437.html","width":160,"caption":"Childrens Photographer in Bradford","height":120});
															thumbnails[1292428] = clik.newPhoto({"id":1292428,"src":"029_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_1292428.html","width":130,"caption":"Wedding Photography in Halifax, West Yorkshire.","height":130});
															thumbnails[6212728] = clik.newPhoto({"id":6212728,"src":"A29_MG_5705_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_6212728.html","width":130,"caption":"Wedding Photographer in Huddersfield, West Yorkshire","height":146});
															thumbnails[7130211] = clik.newPhoto({"id":7130211,"src":"_MG_0211_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_7130211.html","width":130,"caption":"Wedding photography in Wakefield, West Yorkshire.","height":130});
															thumbnails[1625133] = clik.newPhoto({"id":1625133,"src":"M4101_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_1625133.html","width":130,"caption":"Storybook Wedding photography in Halifax, West Yorkshire.","height":182});
															thumbnails[2445105] = clik.newPhoto({"id":2445105,"src":"_MG_7011bwc_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_2445105.html","width":130,"caption":"Wedding photographer in the Yorkshire district of Leeds.","height":98});
															thumbnails[532212] = clik.newPhoto({"id":532212,"src":"_MG_0293hbw_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_532212.html","width":130,"caption":"Wedding photography at Wibsey , Bradford","height":173});
															thumbnails[9061807] = clik.newPhoto({"id":9061807,"src":"_MG_95867x5-BW_thumb.jpg","galleries_id":41222,"server_id":18,"link":"photo_9061807.html","width":160,"caption":"Location Portrait Photography in Leeds West Yorkshire.","height":224});
															thumbnails[532195] = clik.newPhoto({"id":532195,"src":"_MG_5544BW_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_532195.html","width":130,"caption":"Wedding Photography in Huddersfield, West Yorkshire","height":98});
															thumbnails[6212755] = clik.newPhoto({"id":6212755,"src":"_MG_9617_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_6212755.html","width":130,"caption":"Wedding Photographer in Bradford, Leeds, West Yorkshire","height":173});
															thumbnails[1085725] = clik.newPhoto({"id":1085725,"src":"_MG_6741_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_1085725.html","width":130,"caption":"Wedding Photography at Rudding park, Harrogate.","height":152});
															thumbnails[5899409] = clik.newPhoto({"id":5899409,"src":"_MG_8429x_5F35C249-1D09-001F-99D89F0FA1721A13_thumb.jpg","galleries_id":41222,"server_id":18,"link":"photo_5899409.html","width":130,"caption":"Child portraits taken in your local park.","height":130});
															thumbnails[5899464] = clik.newPhoto({"id":5899464,"src":"_MG_9402_thumb.jpg","galleries_id":41222,"server_id":18,"link":"photo_5899464.html","width":130,"caption":"Child portraits taken in stunning locations","height":152});
															thumbnails[6212719] = clik.newPhoto({"id":6212719,"src":"9_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_6212719.html","width":130,"caption":"Wedding Photography in Huddersfield, West Yorkshire.","height":98});
															thumbnails[4115923] = clik.newPhoto({"id":4115923,"src":"wedding_photography_Yorkshire_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_4115923.html","width":130,"caption":"Wedding photography in Halifax, West Yorkshire","height":98});
															thumbnails[1103391] = clik.newPhoto({"id":1103391,"src":"_MG_5122X_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_1103391.html","width":130,"caption":"Wedding Photography at Holdsworth House, Halifax, West Yorkshire","height":173});
															thumbnails[532200] = clik.newPhoto({"id":532200,"src":"_MG_5092_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_532200.html","width":130,"caption":"Wedding Photography at Oakwood hall, Bingley.","height":98});
															thumbnails[934738] = clik.newPhoto({"id":934738,"src":"_MG_9647BWC_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_934738.html","width":130,"caption":"Wedding photography at Rudding Park Hotel, Harrogate","height":130});
															thumbnails[4115925] = clik.newPhoto({"id":4115925,"src":"photography_bradford_wedding_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_4115925.html","width":130,"caption":"Wedding Photography in West Yorkshire.","height":173});
															thumbnails[810126] = clik.newPhoto({"id":810126,"src":"Female_Portraits_Leeds_Halifax_thumb.jpg","galleries_id":41222,"server_id":18,"link":"photo_810126.html","width":160,"caption":"Portfolio photographer in the Bradford, Leeds, Halifax areas.","height":224});
															thumbnails[7502332] = clik.newPhoto({"id":7502332,"src":"_MG_4780_thumb.jpg","galleries_id":41222,"server_id":18,"link":"photo_7502332.html","width":130,"caption":"Halifax lifestyle photography.","height":130});
															thumbnails[2034719] = clik.newPhoto({"id":2034719,"src":"_MG_7796_thumb.jpg","galleries_id":41222,"server_id":18,"link":"photo_2034719.html","width":130,"caption":"Lifestyle Photographer in Bradford and Leeds.","height":130});
															thumbnails[4403469] = clik.newPhoto({"id":4403469,"src":"_MG_6640bwc_thumb.jpg","galleries_id":41220,"server_id":18,"link":"photo_4403469.html","width":130,"caption":"Church wedding photography in Bradford West Yorkshire","height":173});
															thumbnails[532186] = clik.newPhoto({"id":532186,"src":"_MG_0312_thumb.jpg","galleries_id":41222,"server_id":18,"link":"photo_532186.html","width":130,"caption":"Bradford portrait photographer","height":152});
															thumbnails[7502333] = clik.newPhoto({"id":7502333,"src":"_MG_4702_thumb.jpg","galleries_id":41222,"server_id":18,"link":"photo_7502333.html","width":130,"caption":"Your child photography in natural surroundings.","height":182});
															thumbnails[8333078] = clik.newPhoto({"id":8333078,"src":"_MG_7723BW_thumb.jpg","galleries_id":41222,"server_id":18,"link":"photo_8333078.html","width":160,"caption":"Portrait photography in Leeds, West Yorkshire.","height":120});
															thumbnails[9063917] = clik.newPhoto({"id":9063917,"src":"Model_Fashion_Photography_Leeds_Bradford_thumb.jpg","galleries_id":41222,"server_id":18,"link":"photo_9063917.html","width":160,"caption":"Model Portfolio Photography in West Yorkshire","height":120});
															thumbnails[9064506] = clik.newPhoto({"id":9064506,"src":"Portrait_Photography_Halifax_calderdale_thumb.jpg","galleries_id":41222,"server_id":18,"link":"photo_9064506.html","width":160,"caption":"Halifax, Calderdale Portrait Photographer","height":120});
															thumbnails[9063920] = clik.newPhoto({"id":9063920,"src":"Portrait_photo_Halifax_thumb.jpg","galleries_id":41222,"server_id":18,"link":"photo_9063920.html","width":160,"caption":"Portrait Photography in Leeds & Bradford, West Yorkshire.","height":120});
															thumbnails[1664213] = clik.newPhoto({"id":1664213,"src":"_MG_4549_thumb.jpg","galleries_id":41222,"server_id":18,"link":"photo_1664213.html","width":130,"caption":"Child portraits taken in The Leeds , Bradford and Halifax area.","height":163});
															thumbnails[9063939] = clik.newPhoto({"id":9063939,"src":"Baby_photographer_Leeds_Bradford_01_thumb.jpg","galleries_id":295267,"server_id":18,"link":"photo_9063939.html","width":160,"caption":"Baby Photography in the Leeds & Bradford Studio","height":224});
															thumbnails[9064558] = clik.newPhoto({"id":9064558,"src":"Portrait_Photography_Bradford_Leeds_Yorkshire_thumb.jpg","galleries_id":41222,"server_id":18,"link":"photo_9064558.html","width":160,"caption":"Halifax Portrait Photography","height":114});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[41220] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"WEDDINGS","link":"gallery_41220.html","maxRecords":0.0,"photoIDs":[5954682.0,7130125.0,7130168.0,7130188.0,7130190.0,7130195.0,7131012.0,7131015.0,7131020.0,7131027.0,7131039.0,7131040.0,7131055.0,7131059.0,7131063.0,7131067.0,7131071.0,7131076.0,7131082.0,7131085.0,7131091.0,7131099.0,7131102.0,7131105.0,7131109.0,7131113.0,532204.0,2371368.0,1103539.0,6212718.0,1503091.0,8316047.0,1625144.0,6212710.0,7502336.0,1559614.0,931968.0,1093552.0,645507.0,8316054.0,4396875.0,5954690.0,1083180.0,8316065.0,4395156.0,532056.0,532214.0,1473122.0,1337193.0,8316052.0,1337157.0,4396877.0,1091008.0,1100861.0,1103394.0,8316060.0,4396876.0,532208.0,932028.0,4396908.0,532193.0,1568893.0,8316061.0,8316063.0,1757179.0,1105664.0,1100859.0,934674.0,1471621.0,1337165.0,1292366.0,1336952.0,532207.0,1126230.0,4396907.0,6212714.0,801236.0,1757177.0,934742.0,1292428.0,6212728.0,7130211.0,1625133.0,2445105.0,532212.0,532195.0,6212755.0,1085725.0,6212719.0,4115923.0,1103391.0,532200.0,934738.0,4115925.0,4403469.0],"skipIndex":0,"section_code":"gallery","featured_images":"1559614,1503091,532214","id":41220,"singleSection":false});				  						galleries[41484] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"ALBUMS & FRAMES","link":"gallery_41484.html","maxRecords":0.0,"photoIDs":[5179767.0,5190013.0,5190031.0,4116233.0,4116232.0,7502371.0,7502374.0,7502375.0,7502377.0,7502378.0,7502381.0,534658.0,534659.0,534667.0,534656.0,534663.0],"skipIndex":0,"section_code":"gallery","featured_images":"4116233,4116232","id":41484,"singleSection":false});				  						galleries[41222] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"PORTRAITS","link":"gallery_41222.html","maxRecords":0.0,"photoIDs":[9035438.0,9051343.0,2063216.0,9049652.0,9064476.0,9057292.0,9057834.0,9057281.0,9064465.0,9057257.0,8333090.0,9058852.0,9057263.0,5899420.0,9057271.0,8098716.0,9035437.0,9061807.0,5899409.0,5899464.0,810126.0,7502332.0,2034719.0,532186.0,7502333.0,8333078.0,9063917.0,9064506.0,9063920.0,1664213.0,9064558.0],"skipIndex":0,"section_code":"gallery","featured_images":"9064476,9064465,9063917,9058852,9057834,9057292,9057281,9057271,9057263,9057257,9051343,9049652,9035438,9035437,2063216","id":41222,"singleSection":false});				  						galleries[295267] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"BUMPS & BABIES","link":"gallery_295267.html","maxRecords":0.0,"photoIDs":[686080.0,859215.0,3376951.0,3386471.0,5223886.0,5223911.0,5899360.0,6212650.0,6212652.0,6370798.0,6518484.0,7110157.0,7131046.0,7131052.0,7502344.0,7502345.0,7502346.0,7502347.0,8098404.0,1658586.0,9063938.0,9035432.0,532065.0,4403088.0,4403089.0,4403091.0,9063939.0],"skipIndex":0,"section_code":"gallery","featured_images":"9063939,9035432,7131046,5223886","id":295267,"singleSection":false});				  						galleries[41223] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"EVENTS \/ BANDS","link":"gallery_41223.html","maxRecords":0.0,"photoIDs":[678549.0,678551.0,678557.0,962513.0,1795152.0,2200987.0,2201140.0,2201198.0,532159.0],"skipIndex":0,"section_code":"gallery","featured_images":2201198.0,"id":41223,"singleSection":false});				  						galleries[41224] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"COMMERCIAL","link":"gallery_41224.html","maxRecords":0.0,"photoIDs":[1159123.0,1163132.0,1500023.0,1598384.0,1611399.0,1630707.0,1662737.0,1729967.0,1943922.0,532436.0,532435.0],"skipIndex":0,"section_code":"gallery","featured_images":"1611399,1163132,532436","id":41224,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '7502345,7131113,7131109,7131105,7131102,7131099,7131091,7131085,7131082,7131076,7131071,7131067,7131063,7131059,7131055,7131052,7131046,7131040,7131039,7131027,7131020,7131012,7130195,7130188,7130125,7110157,6370798,6212650,5954682,5223886,686080,9063938,9051343,9035438,9049652,2371368,2063216,532204,6212718,1103539,9064476,8316047,9035432,1625144,9057834,9057292,6212710,9057281,7502336,4403088,1559614,1093552,931968,9064465,9057257,645507,8316054,4396875,532056,1473122,1337193,8316052,9058852,4403089,8316060,9057263,4396876,4396908,4403091,5899420,1105664,532207,9057271,8098716,9035437,1292428,5899464,4115925,2034719,8333078,9063917,9064506,9064558';
imageSets[2] = '7131046,5223886,2201198,1691940,1611399,1163132,538852,9051343,9035438,9049652,2063216,4116233,4116232,1503091,9064476,9035432,9057834,9057292,9057281,1559614,9064465,9057257,532214,532436,9058852,9057263,9057271,9035437,9063917,9063939';
imageSets[3] = '9064558,9064506,9064476,9064465,9063939,9063938,9063920,9063917,9061807,9058852,9057834,9057292,9057281,9057271,9057263,9057257,9051343,9049652,9035438,9035437,9035432,8333090,8333078,8316065,8316063,8316061,8316060,8316054,8316052,8316047,8098716,8098404,7502381,7502378,7502377,7502375,7502374,7502371,7502347,7502346,7502345,7502344,7502336,7502333,7502332,7131113,7131109,7131105,7131102,7131099';
imageSets[231559] = '7502346,7502345,7502344,7131113,7131105,7131102,7131082,7131071,7131059,7131055,7131052,7131046,7131040,7131027,7131020,7131015,7131012,7130190,7130188,7130125,7110157,6370798,6212650,5954682,5223886,3386471,686080,9063938,9051343,9035438,1658586,9049652,2063216,6212718,1103539,1503091,9064476,8316047,7502371,7502374,9035432,7502377,1625144,9057834,9057292,7502378,9057281,7502336,4403088,9064465,534663,9057257,645507,5954690,1473122,532214,1337193,8316052,9058852,8333090,4403089,8316060,9057263,4396876,4396908,4403091,5899420,532193,8316061,8316063,1105664,9057271,6212714,8098716,9035437,1292428,5899464,5899409,810126,7502332,2034719,7502333,8333078,9063917,9064506,9063920,9063939,9064558';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/rob/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/rob/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/rob/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/rob/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/rob/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/rob/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/rob/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/rob/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/rob/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/rob/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/rob/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/rob/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/rob/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/rob/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/rob/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/rob/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/rob/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/rob/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/rob/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/rob/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/rob/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/rob/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/rob/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/rob/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/rob/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/rob/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/rob/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 = 'Photographer Bradford (UK) Leeds Wakefield Halifax: ' + 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>Copyright: </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> ' + (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 += '<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;
	}
}

			

