window.thumbnails = {};
															thumbnails[6883100] = clik.newPhoto({"id":6883100,"src":"4mm_framed_pictures_pack_thumb.jpg","galleries_id":346581,"server_id":18,"link":"photo_6883100.html","width":130,"caption":"4mm scale framed pictures","height":160});
															thumbnails[4916738] = clik.newPhoto({"id":4916738,"src":"BA1_thumb.jpg","galleries_id":280038,"server_id":18,"link":"photo_4916738.html","width":130,"caption":"Bolton Abbey and the River Wharfe","height":98});
															thumbnails[4916760] = clik.newPhoto({"id":4916760,"src":"Ribbleheadwind2_thumb.jpg","galleries_id":276836,"server_id":18,"link":"photo_4916760.html","width":130,"caption":"Sir Nigel Gresley at Ribblehead (12x8 print, £6)","height":86});
															thumbnails[4917116] = clik.newPhoto({"id":4917116,"src":"Dorset_Cattle_thumb.jpg","galleries_id":280040,"server_id":18,"link":"photo_4917116.html","width":130,"caption":"Dorset Cattle","height":98});
															thumbnails[4917086] = clik.newPhoto({"id":4917086,"src":"Axe_Sunset_thumb.jpg","galleries_id":346553,"server_id":18,"link":"photo_4917086.html","width":130,"caption":"Luggers on the River Axe (A5 card) ","height":86});
															thumbnails[5078301] = clik.newPhoto({"id":5078301,"src":"MRB_1_thumb.jpg","galleries_id":346557,"server_id":18,"link":"photo_5078301.html","width":130,"caption":"Model Railways for the Beginner - Volume 1 - £2","height":183});
															thumbnails[6218482] = clik.newPhoto({"id":6218482,"src":"boat_thumb.jpg","galleries_id":411345,"server_id":18,"link":"photo_6218482.html","width":130,"caption":"1:72nd scale 'lifeboat'","height":107});
															thumbnails[6218492] = clik.newPhoto({"id":6218492,"src":"Zvesda_barn_r_thumb.jpg","galleries_id":411348,"server_id":18,"link":"photo_6218492.html","width":130,"caption":"1:72nd scale barn plastic kit","height":88});
															thumbnails[6883162] = clik.newPhoto({"id":6883162,"src":"Busch_Marguerites_thumb.jpg","galleries_id":411346,"server_id":18,"link":"photo_6883162.html","width":130,"caption":"Busch Marguerites","height":173});
															thumbnails[6883106] = clik.newPhoto({"id":6883106,"src":"7mm_framed_pictures_pack_c_thumb.jpg","galleries_id":346581,"server_id":18,"link":"photo_6883106.html","width":130,"caption":"7mm scale framed pictures","height":185});
															thumbnails[4916840] = clik.newPhoto({"id":4916840,"src":"EBASR1_thumb.jpg","galleries_id":276836,"server_id":18,"link":"photo_4916840.html","width":130,"caption":"'Morayshire' near Bolton Abbey","height":86});
															thumbnails[5078258] = clik.newPhoto({"id":5078258,"src":"MP_Pateley_Bridge_thumb.jpg","galleries_id":346553,"server_id":18,"link":"photo_5078258.html","width":130,"caption":"Pateley Bridge (A5 card)","height":90});
															thumbnails[6500628] = clik.newPhoto({"id":6500628,"src":"Bradford_-_Morecambe_thumb.jpg","galleries_id":348434,"server_id":18,"link":"photo_6500628.html","width":130,"caption":"Railway Stations - Bradford to Morecambe","height":116});
															thumbnails[6883239] = clik.newPhoto({"id":6883239,"src":"Oxford_Fergie_thumb.JPG","galleries_id":411349,"server_id":18,"link":"photo_6883239.html","width":130,"caption":"Oxford 1:76 scale Fergie £3.50","height":87});
															thumbnails[7203567] = clik.newPhoto({"id":7203567,"src":"MRB_V2_thumb.jpg","galleries_id":346557,"server_id":18,"link":"photo_7203567.html","width":130,"caption":"Model Railways for the Beginner - Volume 2 - £2.50","height":179});
															thumbnails[7239054] = clik.newPhoto({"id":7239054,"src":"Stable_thumb.jpg","galleries_id":411348,"server_id":18,"link":"photo_7239054.html","width":130,"caption":"Kibri stable kit","height":131});
															thumbnails[7805690] = clik.newPhoto({"id":7805690,"src":"DM_Rust_thumb.jpg","galleries_id":421566,"server_id":18,"link":"photo_7805690.html","width":130,"caption":"Deluxe Materials Scenic Rust","height":199});
															thumbnails[8242223] = clik.newPhoto({"id":8242223,"src":"VT_Rhydyronen_E_thumb.jpg","galleries_id":276836,"server_id":18,"link":"photo_8242223.html","width":130,"caption":"Tal-y-llyn train at Rhydyronen","height":87});
															thumbnails[5297626] = clik.newPhoto({"id":5297626,"src":"Mack_and_Mable_thumb.jpg","galleries_id":280040,"server_id":18,"link":"photo_5297626.html","width":130,"caption":"Mack and Mable","height":79});
															thumbnails[5078180] = clik.newPhoto({"id":5078180,"src":"MP_Heathfield_thumb.jpg","galleries_id":346553,"server_id":18,"link":"photo_5078180.html","width":130,"caption":"Heathfield Station (A5 card)","height":85});
															thumbnails[5219032] = clik.newPhoto({"id":5219032,"src":"SB_sample_thumb.jpg","galleries_id":280083,"server_id":18,"link":"photo_5219032.html","width":130,"caption":"4mm scale model","height":98});
															thumbnails[7158285] = clik.newPhoto({"id":7158285,"src":"Busch_Ds1_thumb.JPG","galleries_id":411346,"server_id":18,"link":"photo_7158285.html","width":130,"caption":"Busch dandelions","height":185});
															thumbnails[8242268] = clik.newPhoto({"id":8242268,"src":"Noch_asstd_animals_r_thumb.jpg","galleries_id":411347,"server_id":18,"link":"photo_8242268.html","width":130,"caption":"Noch farm animals","height":98});
															thumbnails[4916709] = clik.newPhoto({"id":4916709,"src":"MP_-_Wet_Waterloo_thumb.jpg","galleries_id":346553,"server_id":18,"link":"photo_4916709.html","width":130,"caption":"Wet Waterloo (A5 card)","height":91});
															thumbnails[4917577] = clik.newPhoto({"id":4917577,"src":"Wills_Watchtower_thumb.jpg","galleries_id":280083,"server_id":18,"link":"photo_4917577.html","width":130,"caption":"Wills Watchtower","height":173});
															thumbnails[5297630] = clik.newPhoto({"id":5297630,"src":"Sunlight_stretch_thumb.jpg","galleries_id":280040,"server_id":18,"link":"photo_5297630.html","width":130,"caption":"Sunlight Stretch","height":117});
															thumbnails[4916833] = clik.newPhoto({"id":4916833,"src":"Branscombe1_thumb.jpg","galleries_id":276837,"server_id":18,"link":"photo_4916833.html","width":130,"caption":"Branscombe","height":87});
															thumbnails[6500677] = clik.newPhoto({"id":6500677,"src":"Swinden_Branch_thumb.jpg","galleries_id":348434,"server_id":18,"link":"photo_6500677.html","width":130,"caption":"Skipton - Swinden - Grassington","height":131});
															thumbnails[7158307] = clik.newPhoto({"id":7158307,"src":"Busch_FM_thumb.JPG","galleries_id":411346,"server_id":18,"link":"photo_7158307.html","width":130,"caption":"Busch ferns and mushrooms","height":197});
															thumbnails[8269589] = clik.newPhoto({"id":8269589,"src":"Asstd._farm_animals_thumb.jpg","galleries_id":411347,"server_id":18,"link":"photo_8269589.html","width":130,"caption":"Preiser assorted animals","height":51});
															thumbnails[4916725] = clik.newPhoto({"id":4916725,"src":"HTC_thumb.jpg","galleries_id":280038,"server_id":18,"link":"photo_4916725.html","width":130,"caption":"Holy Trinity Church in Skipton","height":98});
															thumbnails[5297574] = clik.newPhoto({"id":5297574,"src":"Axmouth_Harbour_thumb.jpg","galleries_id":276837,"server_id":18,"link":"photo_5297574.html","width":130,"caption":"Axmouth Harbour","height":87});
															thumbnails[5112135] = clik.newPhoto({"id":5112135,"src":"Dolgoch_thumb.jpg","galleries_id":346553,"server_id":18,"link":"photo_5112135.html","width":130,"caption":"Dolgoch, Tal-y-llyn Railway (A6 card)","height":86});
															thumbnails[5078393] = clik.newPhoto({"id":5078393,"src":"inside_thumb.jpg","galleries_id":346557,"server_id":18,"link":"photo_5078393.html","width":130,"caption":"Inside the guides, a sample of the contents. ","height":173});
															thumbnails[7623105] = clik.newPhoto({"id":7623105,"src":"bw_tiles_thumb.jpg","galleries_id":346581,"server_id":18,"link":"photo_7623105.html","width":130,"caption":"Black & white tiles","height":102});
															thumbnails[5297664] = clik.newPhoto({"id":5297664,"src":"River_Coly_at_Willhayne_East_Devon_thumb.jpg","galleries_id":276837,"server_id":18,"link":"photo_5297664.html","width":130,"caption":"River Coly at Willhayne","height":98});
															thumbnails[5112116] = clik.newPhoto({"id":5112116,"src":"Larpool_thumb.JPG","galleries_id":346553,"server_id":18,"link":"photo_5112116.html","width":130,"caption":"Sir Nigel Gresley near Whitby (A6 card)","height":91});
															thumbnails[5297631] = clik.newPhoto({"id":5297631,"src":"Wharfedale_ponies_thumb.jpg","galleries_id":280040,"server_id":18,"link":"photo_5297631.html","width":130,"caption":"Ponies in Wharfedale","height":98});
															thumbnails[6500704] = clik.newPhoto({"id":6500704,"src":"Skipton_-_Colne_thumb.jpg","galleries_id":348434,"server_id":18,"link":"photo_6500704.html","width":130,"caption":"Skipton - Colne (incl. Barnoldswick branch)","height":131});
															thumbnails[6883112] = clik.newPhoto({"id":6883112,"src":"Billings_rowing_thumb.jpg","galleries_id":411345,"server_id":18,"link":"photo_6883112.html","width":130,"caption":"Billings rowing boats kit","height":173});
															thumbnails[6883284] = clik.newPhoto({"id":6883284,"src":"Oxford_LR_thumb.JPG","galleries_id":411349,"server_id":18,"link":"photo_6883284.html","width":130,"caption":"Oxford 1:76 scale Landrover £3.50","height":81});
															thumbnails[7299052] = clik.newPhoto({"id":7299052,"src":"WS_Lsc_Mdlg_thumb.jpg","galleries_id":346557,"server_id":18,"link":"photo_7299052.html","width":130,"caption":"Landscape Modelling - Barry Norman - Wild Swan paperback","height":167});
															thumbnails[7824732] = clik.newPhoto({"id":7824732,"src":"W_Lupins_thumb.jpg","galleries_id":411346,"server_id":18,"link":"photo_7824732.html","width":130,"caption":"Wild Lupins","height":186});
															thumbnails[8242354] = clik.newPhoto({"id":8242354,"src":"Busch_Greenhouses_thumb.jpg","galleries_id":411348,"server_id":18,"link":"photo_8242354.html","width":130,"caption":"Busch greenhouses","height":183});
															thumbnails[8932888] = clik.newPhoto({"id":8932888,"src":"N_Gauge_animals_E_thumb.jpg","galleries_id":411347,"server_id":18,"link":"photo_8932888.html","width":130,"caption":"N Gauge assorted animals. ","height":69});
															thumbnails[5297633] = clik.newPhoto({"id":5297633,"src":"Metcalfe_diorama_thumb.JPG","galleries_id":280083,"server_id":18,"link":"photo_5297633.html","width":130,"caption":"Delamere Road","height":89});
															thumbnails[4917106] = clik.newPhoto({"id":4917106,"src":"MP_snow_thumb.jpg","galleries_id":346553,"server_id":18,"link":"photo_4917106.html","width":130,"caption":"Great Western in the snow (A6 card)","height":183});
															thumbnails[6883160] = clik.newPhoto({"id":6883160,"src":"Busch_Dahlias_thumb.jpg","galleries_id":411346,"server_id":18,"link":"photo_6883160.html","width":130,"caption":"Busch Dahlias","height":189});
															thumbnails[7824735] = clik.newPhoto({"id":7824735,"src":"Lupins_thumb.jpg","galleries_id":411346,"server_id":18,"link":"photo_7824735.html","width":130,"caption":"Lupins","height":185});
															thumbnails[8269593] = clik.newPhoto({"id":8269593,"src":"Hens__thumb.jpg","galleries_id":411347,"server_id":18,"link":"photo_8269593.html","width":130,"caption":"Hens & cockerels","height":58});
															thumbnails[8932798] = clik.newPhoto({"id":8932798,"src":"N_Gauge_landrover_thumb.JPG","galleries_id":411349,"server_id":18,"link":"photo_8932798.html","width":130,"caption":"N Gauge Landrover","height":129});
															thumbnails[7247373] = clik.newPhoto({"id":7247373,"src":"Noch_barnshed_kit_thumb.jpg","galleries_id":411348,"server_id":18,"link":"photo_7247373.html","width":130,"caption":"Noch stable and shed","height":97});
															thumbnails[5297634] = clik.newPhoto({"id":5297634,"src":"Metcalfe_red-brick_station_thumb.jpg","galleries_id":280083,"server_id":18,"link":"photo_5297634.html","width":130,"caption":"Delamere Road","height":98});
															thumbnails[5112040] = clik.newPhoto({"id":5112040,"src":"Dawn_thumb.JPG","galleries_id":280038,"server_id":18,"link":"photo_5112040.html","width":130,"caption":"Dawn mist in Wharfedale","height":87});
															thumbnails[4916755] = clik.newPhoto({"id":4916755,"src":"Heron1_thumb.jpg","galleries_id":346553,"server_id":18,"link":"photo_4916755.html","width":130,"caption":"Heron fishing in the River Wharfe (A6 card) ","height":173});
															thumbnails[5297611] = clik.newPhoto({"id":5297611,"src":"Jurasic_coast_thumb.jpg","galleries_id":276837,"server_id":18,"link":"photo_5297611.html","width":130,"caption":"Jurassic Coast","height":92});
															thumbnails[6500636] = clik.newPhoto({"id":6500636,"src":"Midland_Main_Line_thumb.jpg","galleries_id":348434,"server_id":18,"link":"photo_6500636.html","width":130,"caption":"Midland Main Lines (Leeds\/Bradford - Morecambe\/Carlisle)","height":131});
															thumbnails[6883165] = clik.newPhoto({"id":6883165,"src":"Busch_Roses_thumb.jpg","galleries_id":411346,"server_id":18,"link":"photo_6883165.html","width":130,"caption":"Busch Roses","height":173});
															thumbnails[7299055] = clik.newPhoto({"id":7299055,"src":"WS_Cottage_Mdlg1_thumb.jpg","galleries_id":346557,"server_id":18,"link":"photo_7299055.html","width":130,"caption":"Cottage Modelling for Pendon - Chris Pilton - Wild Swan paperback","height":165});
															thumbnails[8269595] = clik.newPhoto({"id":8269595,"src":"Waterfowl_thumb.jpg","galleries_id":411347,"server_id":18,"link":"photo_8269595.html","width":130,"caption":"Ducks, swans, geese","height":64});
															thumbnails[8932855] = clik.newPhoto({"id":8932855,"src":"Classix_livestock_trailer_thumb.JPG","galleries_id":411349,"server_id":18,"link":"photo_8932855.html","width":130,"caption":"Livestock trailer","height":100});
															thumbnails[5112254] = clik.newPhoto({"id":5112254,"src":"Carrog_thumb.jpg","galleries_id":276836,"server_id":18,"link":"photo_5112254.html","width":130,"caption":"Branchline train at Carrog","height":70});
															thumbnails[5297647] = clik.newPhoto({"id":5297647,"src":"MC_Cottages_overall_thumb.JPG","galleries_id":280083,"server_id":18,"link":"photo_5297647.html","width":130,"caption":"Metcalfe cottages","height":87});
															thumbnails[7239010] = clik.newPhoto({"id":7239010,"src":"Busch_Tulips_thumb.jpg","galleries_id":411346,"server_id":18,"link":"photo_7239010.html","width":130,"caption":"Busch Tulips","height":183});
															thumbnails[7357961] = clik.newPhoto({"id":7357961,"src":"A6_c_thumb.jpg","galleries_id":346553,"server_id":18,"link":"photo_7357961.html","width":130,"caption":"Fourpack of A6 cards","height":89});
															thumbnails[8168907] = clik.newPhoto({"id":8168907,"src":"Red_Tape_bs_R_thumb.jpg","galleries_id":346581,"server_id":18,"link":"photo_8168907.html","width":130,"caption":"Red Tape OO gauge limited edition wagon","height":120});
															thumbnails[8269621] = clik.newPhoto({"id":8269621,"src":"Cats__dogs_thumb.jpg","galleries_id":411347,"server_id":18,"link":"photo_8269621.html","width":130,"caption":"Cats and dogs","height":55});
															thumbnails[8932857] = clik.newPhoto({"id":8932857,"src":"Classix_-_Brooks_thumb.JPG","galleries_id":411349,"server_id":18,"link":"photo_8932857.html","width":130,"caption":"A30 van - Brook & Sons ","height":96});
															thumbnails[7247371] = clik.newPhoto({"id":7247371,"src":"Noch_3_sheds_thumb.jpg","galleries_id":411348,"server_id":18,"link":"photo_7247371.html","width":130,"caption":"Noch sheds","height":66});
															thumbnails[5456174] = clik.newPhoto({"id":5456174,"src":"Mornington_Crescent_thumb.JPG","galleries_id":280083,"server_id":18,"link":"photo_5456174.html","width":130,"caption":"Mornington Crescent...","height":75});
															thumbnails[5112126] = clik.newPhoto({"id":5112126,"src":"Skipton_thumb.jpg","galleries_id":280038,"server_id":18,"link":"photo_5112126.html","width":130,"caption":"Springs Branch (of the Leeds - Liverpool Canal), Skipton","height":196});
															thumbnails[5297584] = clik.newPhoto({"id":5297584,"src":"Corfe_Castle_station_thumb.jpg","galleries_id":276836,"server_id":18,"link":"photo_5297584.html","width":130,"caption":"Corfe Castle station","height":96});
															thumbnails[7068412] = clik.newPhoto({"id":7068412,"src":"A5_c_thumb.jpg","galleries_id":346553,"server_id":18,"link":"photo_7068412.html","width":130,"caption":"Fourpack of A5 cards ","height":92});
															thumbnails[8269504] = clik.newPhoto({"id":8269504,"src":"M_Trees_r_thumb.jpg","galleries_id":346557,"server_id":18,"link":"photo_8269504.html","width":130,"caption":"Modelling Trees (broadleaf)","height":164});
															thumbnails[8318977] = clik.newPhoto({"id":8318977,"src":"Wd_bs_R_thumb.jpg","galleries_id":346581,"server_id":18,"link":"photo_8318977.html","width":130,"caption":"Red Tape OO gauge limited edition wagon - weathered","height":130});
															thumbnails[5456218] = clik.newPhoto({"id":5456218,"src":"Interuption_thumb.JPG","galleries_id":280083,"server_id":18,"link":"photo_5456218.html","width":130,"caption":"Lunchtime Interuption","height":90});
															thumbnails[5112048] = clik.newPhoto({"id":5112048,"src":"White_Wells_thumb.JPG","galleries_id":280038,"server_id":18,"link":"photo_5112048.html","width":130,"caption":"White Wells, Ilkley (12x8 print)","height":87});
															thumbnails[7158194] = clik.newPhoto({"id":7158194,"src":"Busch_CL_thumb.JPG","galleries_id":411346,"server_id":18,"link":"photo_7158194.html","width":130,"caption":"Busch cabbage and lettuce","height":179});
															thumbnails[8242054] = clik.newPhoto({"id":8242054,"src":"Dorset_Tornado_thumb.jpg","galleries_id":276836,"server_id":18,"link":"photo_8242054.html","width":130,"caption":"Dorset Tornado","height":98});
															thumbnails[8269662] = clik.newPhoto({"id":8269662,"src":"Seated_workers_e_thumb.jpg","galleries_id":411347,"server_id":18,"link":"photo_8269662.html","width":130,"caption":"Seated workers","height":51});
															thumbnails[8930716] = clik.newPhoto({"id":8930716,"src":"Oxford_farm_set_E_thumb.jpg","galleries_id":411349,"server_id":18,"link":"photo_8930716.html","width":130,"caption":"Oxford 1:76 farm accessories","height":64});
															thumbnails[6883305] = clik.newPhoto({"id":6883305,"src":"Handcart_1b_thumb.jpg","galleries_id":346581,"server_id":18,"link":"photo_6883305.html","width":130,"caption":"OO scale handcart","height":130});
															thumbnails[7158227] = clik.newPhoto({"id":7158227,"src":"Busch_VL_thumb.JPG","galleries_id":411346,"server_id":18,"link":"photo_7158227.html","width":130,"caption":"Busch vegetables and lettuce","height":186});
															thumbnails[7805647] = clik.newPhoto({"id":7805647,"src":"GSTP_thumb.jpg","galleries_id":421566,"server_id":18,"link":"photo_7805647.html","width":130,"caption":"GreenScene textured paint","height":205});
															thumbnails[8932469] = clik.newPhoto({"id":8932469,"src":"Oxford_split_-_livestock_trailer_E_thumb.jpg","galleries_id":411349,"server_id":18,"link":"photo_8932469.html","width":130,"caption":"Livestock trailer","height":88});
															thumbnails[8268222] = clik.newPhoto({"id":8268222,"src":"Handcart_2_d_thumb.jpg","galleries_id":346581,"server_id":18,"link":"photo_8268222.html","width":130,"caption":"OO scale two wheel handcart with sides","height":130});
															thumbnails[5505627] = clik.newPhoto({"id":5505627,"src":"Uh_oh_thumb.JPG","galleries_id":280083,"server_id":18,"link":"photo_5505627.html","width":130,"caption":"Uh-oh...","height":173});
															thumbnails[8287364] = clik.newPhoto({"id":8287364,"src":"Sailors_6_thumb.jpg","galleries_id":411347,"server_id":18,"link":"photo_8287364.html","width":130,"caption":"Sailors","height":57});
															thumbnails[8932470] = clik.newPhoto({"id":8932470,"src":"Oxford_split_-_Baler_E_thumb.jpg","galleries_id":411349,"server_id":18,"link":"photo_8932470.html","width":130,"caption":"Oxford baler","height":87});
															thumbnails[6883367] = clik.newPhoto({"id":6883367,"src":"RTR_rowing_thumb.JPG","galleries_id":411345,"server_id":18,"link":"photo_6883367.html","width":130,"caption":"Painted rowing boat","height":86});
															thumbnails[4917601] = clik.newPhoto({"id":4917601,"src":"Metcalfe_cottage_thumb.jpg","galleries_id":280083,"server_id":18,"link":"photo_4917601.html","width":130,"caption":"Thatched cottage","height":173});
															thumbnails[7236461] = clik.newPhoto({"id":7236461,"src":"Kibri_Bungalow_thumb.jpg","galleries_id":411348,"server_id":18,"link":"photo_7236461.html","width":130,"caption":"Kibri bungalow kit","height":132});
															thumbnails[7299058] = clik.newPhoto({"id":7299058,"src":"IR_DC_thumb.jpg","galleries_id":348434,"server_id":18,"link":"photo_7299058.html","width":130,"caption":"Great Scenic Railways of Devon & Cornwall","height":94});
															thumbnails[7589368] = clik.newPhoto({"id":7589368,"src":"T_Hill_scenic_thumb.jpg","galleries_id":346557,"server_id":18,"link":"photo_7589368.html","width":130,"caption":"Tony Hill's new Landscape Modelling book","height":168});
															thumbnails[8268271] = clik.newPhoto({"id":8268271,"src":"Trolley_1b_thumb.jpg","galleries_id":346581,"server_id":18,"link":"photo_8268271.html","width":130,"caption":"Four wheel flat trolley","height":129});
															thumbnails[8932471] = clik.newPhoto({"id":8932471,"src":"Oxford_split_-_trailer_thumb.JPG","galleries_id":411349,"server_id":18,"link":"photo_8932471.html","width":130,"caption":"Oxford farm trailer","height":86});
															thumbnails[5297591] = clik.newPhoto({"id":5297591,"src":"Denthead_Viaduct_thumb.jpg","galleries_id":276836,"server_id":18,"link":"photo_5297591.html","width":130,"caption":"Denthead Viaduct","height":98});
															thumbnails[5297667] = clik.newPhoto({"id":5297667,"src":"Tal_y_Llyn_thumb.jpg","galleries_id":276837,"server_id":18,"link":"photo_5297667.html","width":130,"caption":"Tal y Llyn Lake","height":86});
															thumbnails[8268302] = clik.newPhoto({"id":8268302,"src":"Trolley_2d_thumb.jpg","galleries_id":346581,"server_id":18,"link":"photo_8268302.html","width":130,"caption":"Four wheel trolley with sides","height":129});
															thumbnails[8242156] = clik.newPhoto({"id":8242156,"src":"Talyllyn_Dusk_R_thumb.jpg","galleries_id":276837,"server_id":18,"link":"photo_8242156.html","width":130,"caption":"Tal-y-llyn Dusk","height":98});
															thumbnails[7247899] = clik.newPhoto({"id":7247899,"src":"Noch_workshop_thumb.jpg","galleries_id":411348,"server_id":18,"link":"photo_7247899.html","width":130,"caption":"Workshop\/small building","height":98});
															thumbnails[5456241] = clik.newPhoto({"id":5456241,"src":"Stoneacre_thumb.jpg","galleries_id":276836,"server_id":18,"link":"photo_5456241.html","width":130,"caption":"Winter services...<br>\r\n","height":124});
															thumbnails[7236478] = clik.newPhoto({"id":7236478,"src":"Flower_garden_thumb.jpg","galleries_id":411346,"server_id":18,"link":"photo_7236478.html","width":130,"caption":"Flower garden pack","height":184});
															thumbnails[7316277] = clik.newPhoto({"id":7316277,"src":"7_assortment_thumb.JPG","galleries_id":280083,"server_id":18,"link":"photo_7316277.html","width":130,"caption":"Assortment of Zvesda boats","height":95});
															thumbnails[8287358] = clik.newPhoto({"id":8287358,"src":"Six_walkers_thumb.jpg","galleries_id":411347,"server_id":18,"link":"photo_8287358.html","width":130,"caption":"Walkers\/hikers","height":62});
															thumbnails[8287379] = clik.newPhoto({"id":8287379,"src":"Quad_bike_R_a_thumb.jpg","galleries_id":411349,"server_id":18,"link":"photo_8287379.html","width":130,"caption":"Quadbike","height":130});
															thumbnails[8242132] = clik.newPhoto({"id":8242132,"src":"Dysinni_Valley_I_thumb.jpg","galleries_id":276837,"server_id":18,"link":"photo_8242132.html","width":130,"caption":"The Dysinni valley","height":97});
															thumbnails[5456247] = clik.newPhoto({"id":5456247,"src":"Mt_St_Helens_thumb.jpg","galleries_id":276836,"server_id":18,"link":"photo_5456247.html","width":130,"caption":"Stoneacre Loop","height":157});
															thumbnails[7239013] = clik.newPhoto({"id":7239013,"src":"Busch_Flowerpots_thumb.jpg","galleries_id":411346,"server_id":18,"link":"photo_7239013.html","width":130,"caption":"Busch Flowerpots","height":179});
															thumbnails[8932984] = clik.newPhoto({"id":8932984,"src":"Preiser_Resting_Hikers_thumb.JPG","galleries_id":411347,"server_id":18,"link":"photo_8932984.html","width":130,"caption":"Resting hikers","height":53});
															thumbnails[8242122] = clik.newPhoto({"id":8242122,"src":"Bwlch_Llyn_Bach_R_thumb.jpg","galleries_id":276837,"server_id":18,"link":"photo_8242122.html","width":130,"caption":"The Dysinni valley and Tal-y-llyn Lake","height":87});
															thumbnails[5456259] = clik.newPhoto({"id":5456259,"src":"Skibeden_thumb.JPG","galleries_id":276836,"server_id":18,"link":"photo_5456259.html","width":130,"caption":"Bleak Midwinter...","height":87});
															thumbnails[8269524] = clik.newPhoto({"id":8269524,"src":"Dolls_Beginner_RRR_thumb.jpg","galleries_id":346557,"server_id":18,"link":"photo_8269524.html","width":130,"caption":"A Beginners' Guide to the Dolls' House Hobby","height":173});
															thumbnails[8287399] = clik.newPhoto({"id":8287399,"src":"Tractor_w_spikes_N_gauge_thumb.jpg","galleries_id":411349,"server_id":18,"link":"photo_8287399.html","width":130,"caption":"Wiking N Gauge John Deere tractor","height":89});
															thumbnails[8932867] = clik.newPhoto({"id":8932867,"src":"Lilo_asstd._E_thumb.jpg","galleries_id":346581,"server_id":18,"link":"photo_8932867.html","width":130,"caption":"Air beds\/inflatable mattresses ","height":87});
															thumbnails[8269539] = clik.newPhoto({"id":8269539,"src":"MMG_2_thumb.jpg","galleries_id":346557,"server_id":18,"link":"photo_8269539.html","width":130,"caption":"Making Miniature Gardens","height":171});
															thumbnails[8287417] = clik.newPhoto({"id":8287417,"src":"Tractor_w_spikes_thumb.jpg","galleries_id":411349,"server_id":18,"link":"photo_8287417.html","width":130,"caption":"Wiking John Deere tractor","height":98});
															thumbnails[8932872] = clik.newPhoto({"id":8932872,"src":"Paddling_Pool_2_colour_thumb.JPG","galleries_id":346581,"server_id":18,"link":"photo_8932872.html","width":130,"caption":"Paddling pool\/rubber dinghy","height":178});
															thumbnails[6883316] = clik.newPhoto({"id":6883316,"src":"Deckchairs_thumb.jpg","galleries_id":346581,"server_id":18,"link":"photo_6883316.html","width":130,"caption":"Deckchairs","height":80});
															thumbnails[7805734] = clik.newPhoto({"id":7805734,"src":"Whirlrake_thumb.JPG","galleries_id":411349,"server_id":18,"link":"photo_7805734.html","width":130,"caption":"Wiking 1:87 scale Whirl-rake","height":98});
															thumbnails[6883168] = clik.newPhoto({"id":6883168,"src":"Busch_groundcover_deciduous_forest_thumb.JPG","galleries_id":411346,"server_id":18,"link":"photo_6883168.html","width":130,"caption":"Forest (deciduous) floor scatter ","height":185});
															thumbnails[7805662] = clik.newPhoto({"id":7805662,"src":"Noch_bottle_thumb.jpg","galleries_id":421566,"server_id":18,"link":"photo_7805662.html","width":130,"caption":"Noch 'puffer' bottle","height":227});
															thumbnails[8269676] = clik.newPhoto({"id":8269676,"src":"Artist_R_thumb.jpg","galleries_id":411347,"server_id":18,"link":"photo_8269676.html","width":130,"caption":"Seated artist","height":219});
															thumbnails[8681848] = clik.newPhoto({"id":8681848,"src":"Three_bench_colours_E_thumb.jpg","galleries_id":346581,"server_id":18,"link":"photo_8681848.html","width":130,"caption":"Park\/ornamental benches","height":87});
															thumbnails[8932799] = clik.newPhoto({"id":8932799,"src":"Wiking_hay_trailer_thumb.JPG","galleries_id":411349,"server_id":18,"link":"photo_8932799.html","width":130,"caption":"Haytrailer","height":73});
															thumbnails[6883289] = clik.newPhoto({"id":6883289,"src":"Wiking_trailer_thumb.jpg","galleries_id":411349,"server_id":18,"link":"photo_6883289.html","width":130,"caption":"Wiking 1:87 trailer £3.99","height":91});
															thumbnails[7203569] = clik.newPhoto({"id":7203569,"src":"Wheel_Specs_thumb.jpg","galleries_id":346557,"server_id":18,"link":"photo_7203569.html","width":130,"caption":"Wheel Specifications","height":196});
															thumbnails[7247362] = clik.newPhoto({"id":7247362,"src":"Kibri_flat_block_thumb.jpg","galleries_id":411348,"server_id":18,"link":"photo_7247362.html","width":130,"caption":"Block of flats","height":90});
															thumbnails[7247366] = clik.newPhoto({"id":7247366,"src":"Bishopdale_R_thumb.jpg","galleries_id":280038,"server_id":18,"link":"photo_7247366.html","width":130,"caption":"Bishopdale","height":86});
															thumbnails[7820686] = clik.newPhoto({"id":7820686,"src":"Groundcover_-_conifers_thumb.jpg","galleries_id":411346,"server_id":18,"link":"photo_7820686.html","width":130,"caption":"Forest (coniferous) floor groundcover","height":184});
															thumbnails[8930665] = clik.newPhoto({"id":8930665,"src":"Image_to_follow_thumb.jpg","galleries_id":346581,"server_id":18,"link":"photo_8930665.html","width":130,"caption":"Park\/ornamental benches - weathered","height":98});
															thumbnails[7820644] = clik.newPhoto({"id":7820644,"src":"DoG_at_Thomason_Foss_thumb.jpg","galleries_id":276836,"server_id":18,"link":"photo_7820644.html","width":130,"caption":"Duke of Gloucester at Thomason Foss, NYMR","height":98});
															thumbnails[8930667] = clik.newPhoto({"id":8930667,"src":"Park_benches_-_weathered_thumb.jpg","galleries_id":346581,"server_id":18,"link":"photo_8930667.html","width":130,"caption":"Garden benches","height":129});
															thumbnails[8930703] = clik.newPhoto({"id":8930703,"src":"Wiking_trailer_0E236DBC-1EC9-D45B-1C838F0A34477C1E_thumb.JPG","galleries_id":411349,"server_id":18,"link":"photo_8930703.html","width":130,"caption":"Wiking long two wheel trailer","height":88});
															thumbnails[8287251] = clik.newPhoto({"id":8287251,"src":"SNG_Thomason_R_thumb.jpg","galleries_id":276836,"server_id":18,"link":"photo_8287251.html","width":130,"caption":"Sir Nigel at Thomason Foss, NYMR","height":195});
															thumbnails[8930669] = clik.newPhoto({"id":8930669,"src":"Park_benches_unpainted_E_thumb.jpg","galleries_id":346581,"server_id":18,"link":"photo_8930669.html","width":130,"caption":"Garden benches - unpainted","height":79});
															thumbnails[8932467] = clik.newPhoto({"id":8932467,"src":"Lemken_plough_thumb.JPG","galleries_id":411349,"server_id":18,"link":"photo_8932467.html","width":130,"caption":"Lemken plough","height":76});
															thumbnails[8934287] = clik.newPhoto({"id":8934287,"src":"Preiser_wedding_couple_thumb.JPG","galleries_id":411347,"server_id":18,"link":"photo_8934287.html","width":130,"caption":"Bride & Groom","height":140});
															thumbnails[7820664] = clik.newPhoto({"id":7820664,"src":"SNG_Levisham_thumb.jpg","galleries_id":276836,"server_id":18,"link":"photo_7820664.html","width":130,"caption":"Sir Nigel Gresley near Levisham","height":87});
															thumbnails[8287302] = clik.newPhoto({"id":8287302,"src":"Depression_R_thumb.jpg","galleries_id":411347,"server_id":18,"link":"photo_8287302.html","width":130,"caption":"Depression","height":209});
															thumbnails[8930671] = clik.newPhoto({"id":8930671,"src":"Track_rubber_thumb.JPG","galleries_id":421566,"server_id":18,"link":"photo_8930671.html","width":130,"caption":"Gaugemaster track rubber","height":204});
															thumbnails[8269701] = clik.newPhoto({"id":8269701,"src":"Forklift_16_E_9_thumb.jpg","galleries_id":411349,"server_id":18,"link":"photo_8269701.html","width":130,"caption":"Forklift truck R70-16","height":99});
															thumbnails[8932440] = clik.newPhoto({"id":8932440,"src":"Earth_E_thumb.jpg","galleries_id":411346,"server_id":18,"link":"photo_8932440.html","width":130,"caption":"Treemendus Earth","height":165});
															thumbnails[8269703] = clik.newPhoto({"id":8269703,"src":"Forklift_25_E_thumb.jpg","galleries_id":411349,"server_id":18,"link":"photo_8269703.html","width":130,"caption":"Forklift truck R70-25 ","height":102});
															thumbnails[8287323] = clik.newPhoto({"id":8287323,"src":"Washday_R_thumb.jpg","galleries_id":411347,"server_id":18,"link":"photo_8287323.html","width":130,"caption":"Washday","height":218});
															thumbnails[8681841] = clik.newPhoto({"id":8681841,"src":"Compost_asortment_R_thumb.jpg","galleries_id":346581,"server_id":18,"link":"photo_8681841.html","width":130,"caption":"Compost heap","height":184});
															thumbnails[8681856] = clik.newPhoto({"id":8681856,"src":"Image_to_follow_C5DB1676-1EC9-DFB6-0990F0BD9C4005F1_thumb.jpg","galleries_id":346581,"server_id":18,"link":"photo_8681856.html","width":130,"caption":"Flowertubs","height":98});
															thumbnails[8932444] = clik.newPhoto({"id":8932444,"src":"Tmds_Grey_Scree_R_thumb.jpg","galleries_id":411346,"server_id":18,"link":"photo_8932444.html","width":130,"caption":"Grey scree","height":168});
															thumbnails[8934289] = clik.newPhoto({"id":8934289,"src":"Preiser_Venus_thumb.JPG","galleries_id":411347,"server_id":18,"link":"photo_8934289.html","width":130,"caption":"Venus statue","height":176});
															thumbnails[8681831] = clik.newPhoto({"id":8681831,"src":"Image_to_follow_C5663333-1EC9-DFB6-09014A946B19ED7C_thumb.jpg","galleries_id":346581,"server_id":18,"link":"photo_8681831.html","width":130,"caption":"Sundial ","height":98});
															thumbnails[8681833] = clik.newPhoto({"id":8681833,"src":"Image_to_follow_C572DF38-1EC9-DFB6-09EBBB9711C9AB87_thumb.jpg","galleries_id":346581,"server_id":18,"link":"photo_8681833.html","width":130,"caption":"Birdbath","height":98});
															thumbnails[8932446] = clik.newPhoto({"id":8932446,"src":"TPBark_R_thumb.jpg","galleries_id":411346,"server_id":18,"link":"photo_8932446.html","width":130,"caption":"Treesy Peesy Bark","height":168});
															thumbnails[8932992] = clik.newPhoto({"id":8932992,"src":"Preiser_Mermaid_thumb.JPG","galleries_id":411347,"server_id":18,"link":"photo_8932992.html","width":130,"caption":"Sitting mermaid with mirror","height":181});
															thumbnails[8930690] = clik.newPhoto({"id":8930690,"src":"Tmds_Scenefix_Glue_R_thumb.jpg","galleries_id":421566,"server_id":18,"link":"photo_8930690.html","width":130,"caption":"Scenefix glue","height":283});
															thumbnails[8934290] = clik.newPhoto({"id":8934290,"src":"Preiser_G_Reaper_thumb.JPG","galleries_id":411347,"server_id":18,"link":"photo_8934290.html","width":130,"caption":"Reaper, G","height":130});
															thumbnails[7247910] = clik.newPhoto({"id":7247910,"src":"B7111_grass_fibres_thumb.jpg","galleries_id":411346,"server_id":18,"link":"photo_7247910.html","width":130,"caption":"Busch grass fibres","height":233});
															thumbnails[7805741] = clik.newPhoto({"id":7805741,"src":"Wiking_mini-digger1_thumb.JPG","galleries_id":411349,"server_id":18,"link":"photo_7805741.html","width":130,"caption":"Wiking 1:87 scale mini-digger","height":98});
															thumbnails[8470497] = clik.newPhoto({"id":8470497,"src":"Large_motorboat_thumb.JPG","galleries_id":411345,"server_id":18,"link":"photo_8470497.html","width":130,"caption":"Waterline motorboat - c 40mm x 16mm","height":170});
															thumbnails[7247913] = clik.newPhoto({"id":7247913,"src":"B7371_Wildgras_thumb.jpg","galleries_id":411346,"server_id":18,"link":"photo_7247913.html","width":130,"caption":"Busch long grass fibres","height":213});
															thumbnails[8470509] = clik.newPhoto({"id":8470509,"src":"Motorboat_-_small_E_thumb.jpg","galleries_id":411345,"server_id":18,"link":"photo_8470509.html","width":130,"caption":"Waterline motorboat - c31mm x 11mm","height":120});
															thumbnails[8269694] = clik.newPhoto({"id":8269694,"src":"Traditional_bobby_R_thumb.jpg","galleries_id":411347,"server_id":18,"link":"photo_8269694.html","width":130,"caption":"British Policeman","height":223});
															thumbnails[6883233] = clik.newPhoto({"id":6883233,"src":"Oxford_Camper_thumb.JPG","galleries_id":411349,"server_id":18,"link":"photo_6883233.html","width":130,"caption":"Camper van 1:76 scale £3.50","height":90});
															thumbnails[4917213] = clik.newPhoto({"id":4917213,"src":"Staverton_SDR_thumb.jpg","galleries_id":276836,"server_id":18,"link":"photo_4917213.html","width":130,"caption":"Staverton arrival","height":86});
															thumbnails[7239057] = clik.newPhoto({"id":7239057,"src":"GS_4mm_chainlink_thumb.jpg","galleries_id":411348,"server_id":18,"link":"photo_7239057.html","width":130,"caption":"Greenscene chainlink (4mm)","height":189});
															thumbnails[7239058] = clik.newPhoto({"id":7239058,"src":"GS_garden_kit_thumb.jpg","galleries_id":411346,"server_id":18,"link":"photo_7239058.html","width":130,"caption":"GreenScene garden kit","height":103});
															thumbnails[7160400] = clik.newPhoto({"id":7160400,"src":"Play_Castle1_thumb.JPG","galleries_id":411347,"server_id":18,"link":"photo_7160400.html","width":130,"caption":"Playground centrepiece","height":179});
															thumbnails[7239060] = clik.newPhoto({"id":7239060,"src":"GS_flowers_thumb.jpg","galleries_id":411346,"server_id":18,"link":"photo_7239060.html","width":130,"caption":"GreenScene flowers","height":152});
															thumbnails[7160446] = clik.newPhoto({"id":7160446,"src":"Playground_equipment_thumb.JPG","galleries_id":411347,"server_id":18,"link":"photo_7160446.html","width":130,"caption":"Playground equipment","height":182});
															thumbnails[7239063] = clik.newPhoto({"id":7239063,"src":"GS_flowers_137_thumb.jpg","galleries_id":411346,"server_id":18,"link":"photo_7239063.html","width":130,"caption":"GreenScene flowers (137)","height":162});
															thumbnails[7239103] = clik.newPhoto({"id":7239103,"src":"GS_blossom_thumb.jpg","galleries_id":411346,"server_id":18,"link":"photo_7239103.html","width":130,"caption":"GreenScene blossom","height":157});
															thumbnails[7247909] = clik.newPhoto({"id":7247909,"src":"Preiser_18356_tools_thumb.jpg","galleries_id":411347,"server_id":18,"link":"photo_7247909.html","width":130,"caption":"Preiser tools","height":85});
															thumbnails[7239105] = clik.newPhoto({"id":7239105,"src":"GS_plant_stems_thumb.jpg","galleries_id":411346,"server_id":18,"link":"photo_7239105.html","width":130,"caption":"GreenScene plant stems","height":191});
															thumbnails[7239106] = clik.newPhoto({"id":7239106,"src":"GS_reeds_thumb.jpg","galleries_id":411346,"server_id":18,"link":"photo_7239106.html","width":130,"caption":"GreenScene reeds","height":194});
															thumbnails[8287337] = clik.newPhoto({"id":8287337,"src":"Furniture_R_d_thumb.jpg","galleries_id":411347,"server_id":18,"link":"photo_8287337.html","width":130,"caption":"Furniture","height":99});
															thumbnails[7247391] = clik.newPhoto({"id":7247391,"src":"Garden_bits_thumb.jpg","galleries_id":411347,"server_id":18,"link":"photo_7247391.html","width":130,"caption":"Noch garden tools and accessories","height":99});
															thumbnails[8287348] = clik.newPhoto({"id":8287348,"src":"M_Gardeners_thumb.jpg","galleries_id":411347,"server_id":18,"link":"photo_8287348.html","width":130,"caption":"Market gardeners","height":93});
															thumbnails[7807775] = clik.newPhoto({"id":7807775,"src":"PIKO_Indl_huts_thumb.jpg","galleries_id":411348,"server_id":18,"link":"photo_7807775.html","width":130,"caption":"Piko outbuildings","height":91});
															thumbnails[8932881] = clik.newPhoto({"id":8932881,"src":"LL_asstd._E_thumb.jpg","galleries_id":411346,"server_id":18,"link":"photo_8932881.html","width":130,"caption":"Little Leaf sample packs","height":64});
															thumbnails[8932874] = clik.newPhoto({"id":8932874,"src":"Sample_pack_white_gravel_thumb.JPG","galleries_id":411346,"server_id":18,"link":"photo_8932874.html","width":130,"caption":"White ornamental gravel","height":180});
															thumbnails[8481378] = clik.newPhoto({"id":8481378,"src":"Image_to_follow_B823F6FE-1EC9-DFB6-09CE87E92AF04A2E_thumb.jpg","galleries_id":411346,"server_id":18,"link":"photo_8481378.html","width":130,"caption":"Forest in a Box","height":98});
															thumbnails[8242387] = clik.newPhoto({"id":8242387,"src":"Noch_leaf_comparison_thumb.jpg","galleries_id":411346,"server_id":18,"link":"photo_8242387.html","width":130,"caption":"Four shades of Noch leaves","height":104});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[346553] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Greetings cards","link":"gallery_346553.html","maxRecords":0.0,"photoIDs":[4917086.0,5078258.0,5078180.0,4916709.0,5112135.0,5112116.0,4917106.0,4916755.0,7357961.0,7068412.0],"skipIndex":0,"section_code":"gallery","featured_images":"5112135,5112116,5078258,5078180,4917106,4917086,4916755,4916709","id":346553,"singleSection":false});				  						galleries[346557] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Model-making books","link":"gallery_346557.html","maxRecords":0.0,"photoIDs":[5078301.0,7203567.0,5078393.0,7299052.0,7299055.0,8269504.0,7589368.0,8269524.0,8269539.0,7203569.0],"skipIndex":0,"section_code":"gallery","featured_images":"7299055,7299052,7203567,5078301","id":346557,"singleSection":false});				  						galleries[348434] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Railway books","link":"gallery_348434.html","maxRecords":0.0,"photoIDs":[6500628.0,6500677.0,6500704.0,6500636.0,7299058.0],"skipIndex":0,"section_code":"gallery","featured_images":"7299058,6500704,6500677,6500628","id":348434,"singleSection":false});				  						galleries[346581] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Elmet Images models","link":"gallery_346581.html","maxRecords":0.0,"photoIDs":[6883100.0,6883106.0,7623105.0,8168907.0,8318977.0,6883305.0,8268222.0,8268271.0,8268302.0,8932867.0,8932872.0,6883316.0,8681848.0,8930665.0,8930667.0,8930669.0,8681841.0,8681856.0,8681831.0,8681833.0],"skipIndex":0,"section_code":"gallery","featured_images":"8930667,8318977,8268302,8168907,6883305,6883106,6883100","id":346581,"singleSection":false});				  						galleries[411345] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Maritime & boats","link":"gallery_411345.html","maxRecords":0.0,"photoIDs":[6218482.0,6883112.0,6883367.0,8470497.0,8470509.0],"skipIndex":0,"section_code":"gallery","featured_images":6218482.0,"id":411345,"singleSection":false});				  						galleries[411346] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Recreating the natural world","link":"gallery_411346.html","maxRecords":0.0,"photoIDs":[6883162.0,7158285.0,7158307.0,7824732.0,6883160.0,7824735.0,6883165.0,7239010.0,7158194.0,7158227.0,7236478.0,7239013.0,6883168.0,7820686.0,8932440.0,8932444.0,8932446.0,7247910.0,7247913.0,7239058.0,7239060.0,7239063.0,7239103.0,7239105.0,7239106.0,8932881.0,8932874.0,8481378.0,8242387.0],"skipIndex":0,"section_code":"gallery","featured_images":"7239058,7236478,7158227,7158194,6883165,6883162","id":411346,"singleSection":false});				  						galleries[411347] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Figures & accessories","link":"gallery_411347.html","maxRecords":0.0,"photoIDs":[8242268.0,8269589.0,8932888.0,8269593.0,8269595.0,8269621.0,8269662.0,8287364.0,8287358.0,8932984.0,8269676.0,8934287.0,8287302.0,8287323.0,8934289.0,8932992.0,8934290.0,8269694.0,7160400.0,7160446.0,7247909.0,8287337.0,7247391.0,8287348.0],"skipIndex":0,"section_code":"gallery","featured_images":"8934287,8287358,8287348,8287302,8269621,8269589,8242268,7160446,7160400","id":411347,"singleSection":false});				  						galleries[411348] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Buildings & structures","link":"gallery_411348.html","maxRecords":0.0,"photoIDs":[6218492.0,7239054.0,8242354.0,7247373.0,7247371.0,7236461.0,7247899.0,7247362.0,7239057.0,7807775.0],"skipIndex":0,"section_code":"gallery","featured_images":"8242354,7247371,7247362","id":411348,"singleSection":false});				  						galleries[411349] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Vehicles","link":"gallery_411349.html","maxRecords":0.0,"photoIDs":[6883239.0,6883284.0,8932798.0,8932855.0,8932857.0,8930716.0,8932469.0,8932470.0,8932471.0,8287379.0,8287399.0,8287417.0,7805734.0,8932799.0,6883289.0,8930703.0,8932467.0,8269701.0,8269703.0,7805741.0,6883233.0],"skipIndex":0,"section_code":"gallery","featured_images":7805741.0,"id":411349,"singleSection":false});				  						galleries[421566] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Glues, paints & tools","link":"gallery_421566.html","maxRecords":0.0,"photoIDs":[7805690.0,7805647.0,7805662.0,8930671.0,8930690.0],"skipIndex":0,"section_code":"gallery","featured_images":"7805690,7805662,7805647","id":421566,"singleSection":false});				  						galleries[280083] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Our modelling ","link":"gallery_280083.html","maxRecords":0.0,"photoIDs":[5219032.0,4917577.0,5297633.0,5297634.0,5297647.0,5456174.0,5456218.0,5505627.0,4917601.0,7316277.0],"skipIndex":0,"section_code":"gallery","featured_images":"7316277,5456218,5456174,5297647,5297633,4917601,4917577","id":280083,"singleSection":false});				  						galleries[276836] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Railway Collection","link":"gallery_276836.html","maxRecords":0.0,"photoIDs":[4916760.0,4916840.0,8242223.0,5112254.0,5297584.0,8242054.0,5297591.0,5456241.0,5456247.0,5456259.0,7820644.0,8287251.0,7820664.0,4917213.0],"skipIndex":0,"section_code":"gallery","featured_images":"8287251,8242223,8242054,7820664,7820644,5456259,5456247,5456241,5297584,4917213,4916840,4916760","id":276836,"singleSection":false});				  						galleries[276837] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Landscape Collection","link":"gallery_276837.html","maxRecords":0.0,"photoIDs":[4916833.0,5297574.0,5297664.0,5297611.0,5297667.0,8242156.0,8242132.0,8242122.0],"skipIndex":0,"section_code":"gallery","featured_images":"8242122,5297664,5297611,5297574,4916833","id":276837,"singleSection":false});				  						galleries[280038] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Dales Collection","link":"gallery_280038.html","maxRecords":0.0,"photoIDs":[4916738.0,4916725.0,5112040.0,5112126.0,5112048.0,7247366.0],"skipIndex":0,"section_code":"gallery","featured_images":"7247366,5112126,5112048,4916738,4916725","id":280038,"singleSection":false});				  						galleries[280040] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Animals Gallery","link":"gallery_280040.html","maxRecords":0.0,"photoIDs":[4917116.0,5297626.0,5297630.0,5297631.0],"skipIndex":0,"section_code":"gallery","featured_images":"5297631,5297630,5297626,4917116","id":280040,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '4917086,4916760,4916738,4916840,8242223,4916833,5297664,5297611,4916755,5297584,5112126,7247366';
imageSets[2] = '6883162,6883100,6218482,5078301,4917116,4917086,4916760,4916738,7805690,7203567,6883106,6500628,5078258,4916840,8242268,8242223,5297626,5078180,8269589,6500677,5297630,4917577,4916833,4916709,5297574,5112135,4916725,8242354,7299052,6500704,5297664,5297631,5112116,5297633,4917106,7299055,6883165,5297611,4916755,8269621,8168907,5297647,8318977,7247371,5456174,5297584,5112126,8242054,7158194,5456218,5112048,7805647,7158227,6883305,7299058,4917601,8268302,8287358,7316277,7236478,5456241,5456247,8242122,5456259,7805662,7247366,7247362,8930667,7820644,8934287,8287251,8287302,7820664,7805741,7239058,4917213,7160400,7160446,8287348';
imageSets[3] = '6883162,6883100,6218492,6218482,5078301,7805690,7239054,7203567,6883239,6883106,6500628,5078258,8242268,8242223,7158285,5297626,5219032,5078180,8269589,7158307,6500677,5297630,4916709,7623105,5297574,5112135,5078393,8932888,8242354,7824732,7299052,6883284,6883112,6500704,5297664,5297631,5112116,8932798,8269593,7824735,6883160,5297633,4917106,8932855,8269595,7299055,7247373,6883165,6500636,5297634,5297611,5112040,8932857,8269621,8168907,7357961,7239010,5297647,5112254,8318977,8269504,7247371,7068412,5456174,5297584,5112126,8930716,8269662,8242054,7158194,5456218,5112048,8932469,7805647,7158227,6883305,8932470,8287364,8268222,5505627,8932471,8268271,7589368,7299058,7236461,6883367,8268302,5297667,5297591,8287379,8287358,7316277,7247899,7236478,5456241,8932984,8242132,7239013,5456247,8932867,8287399,8269524,8242122,5456259,8932872,8287417,8269539,7805734,6883316,8932799,8681848,8269676,7805662,6883168,8930665,7820686,7247366,7247362,7203569,6883289,8930703,8930667,7820644,8934287,8932467,8930669,8287251,8930671,8287302,7820664,8932440,8269701,8681841,8287323,8269703,8934289,8932444,8681856,8681831,8932992,8932446,8681833,8934290,8930690,8470497,7805741,7247910,7247913,8470509,8269694,6883233,7239058,7239057,7239060,7160400,7239063,7160446,7247909,7239103,7239105,8287337,7239106,7247391,8287348,8932881,7807775,8932874,8481378,8242387';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/dentoncross/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/dentoncross/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/dentoncross/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/dentoncross/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/dentoncross/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/dentoncross/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/dentoncross/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/dentoncross/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/dentoncross/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/dentoncross/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/dentoncross/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/dentoncross/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/dentoncross/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/dentoncross/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/dentoncross/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/dentoncross/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/dentoncross/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/dentoncross/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/dentoncross/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/dentoncross/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/dentoncross/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/dentoncross/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/dentoncross/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/dentoncross/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/dentoncross/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/dentoncross/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/dentoncross/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 = 'Elmet Images: ' + 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="DENTONCROSS">';
			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;
	}
}

			

