window.thumbnails = {};
															thumbnails[3185974] = clik.newPhoto({"id":3185974,"src":"isca collection products 022_thumb.jpg","galleries_id":"","server_id":32,"link":"#","width":130,"caption":"","height":182});
															thumbnails[3185976] = clik.newPhoto({"id":3185976,"src":"isca collection products 023_thumb.jpg","galleries_id":"","server_id":32,"link":"#","width":130,"caption":"","height":182});
															thumbnails[3185978] = clik.newPhoto({"id":3185978,"src":"isca collection products 024_thumb.jpg","galleries_id":"","server_id":32,"link":"#","width":130,"caption":"","height":182});
															thumbnails[3185979] = clik.newPhoto({"id":3185979,"src":"isca collection products 026_thumb.jpg","galleries_id":"","server_id":32,"link":"#","width":130,"caption":"","height":182});
															thumbnails[3185982] = clik.newPhoto({"id":3185982,"src":"isca collection products 029_thumb.jpg","galleries_id":"","server_id":32,"link":"#","width":130,"caption":"","height":182});
															thumbnails[3185983] = clik.newPhoto({"id":3185983,"src":"isca collection products 058_thumb.jpg","galleries_id":"","server_id":32,"link":"#","width":130,"caption":"","height":182});
															thumbnails[3185984] = clik.newPhoto({"id":3185984,"src":"isca collection products 066_thumb.jpg","galleries_id":"","server_id":32,"link":"#","width":130,"caption":"","height":182});
															thumbnails[3174546] = clik.newPhoto({"id":3174546,"src":"240 theatre prince 3501_thumb.jpg","galleries_id":194248,"server_id":32,"link":"photo_3174546.html","width":130,"caption":"","height":180});
															thumbnails[3174988] = clik.newPhoto({"id":3174988,"src":"073 family tudor st 233_thumb.jpg","galleries_id":194248,"server_id":32,"link":"photo_3174988.html","width":130,"caption":"","height":121});
															thumbnails[3174989] = clik.newPhoto({"id":3174989,"src":"226 dellers cafe exterior 312_thumb.jpg","galleries_id":194248,"server_id":32,"link":"photo_3174989.html","width":130,"caption":"","height":89});
															thumbnails[3174991] = clik.newPhoto({"id":3174991,"src":"258 london inn square 140 336_thumb.jpg","galleries_id":194248,"server_id":32,"link":"photo_3174991.html","width":130,"caption":"","height":98});
															thumbnails[3174992] = clik.newPhoto({"id":3174992,"src":"258 london inn square 140 3361_thumb.jpg","galleries_id":194248,"server_id":32,"link":"photo_3174992.html","width":130,"caption":"","height":98});
															thumbnails[3174993] = clik.newPhoto({"id":3174993,"src":"266 first tram 370_thumb.jpg","galleries_id":194248,"server_id":32,"link":"photo_3174993.html","width":130,"caption":"","height":106});
															thumbnails[3174995] = clik.newPhoto({"id":3174995,"src":"276 paris st corner 449_thumb.jpg","galleries_id":194248,"server_id":32,"link":"photo_3174995.html","width":130,"caption":"","height":181});
															thumbnails[3174996] = clik.newPhoto({"id":3174996,"src":"Copy (2) of 139 guildhall and knife sharpener 010_thumb.jpg","galleries_id":194248,"server_id":32,"link":"photo_3174996.html","width":130,"caption":"","height":88});
															thumbnails[3174997] = clik.newPhoto({"id":3174997,"src":"Copy (2) of 160 south st corner 269_thumb.jpg","galleries_id":194248,"server_id":32,"link":"photo_3174997.html","width":130,"caption":"","height":168});
															thumbnails[3174998] = clik.newPhoto({"id":3174998,"src":"Copy (2) of 228 dellers balcony interior 311_thumb.jpg","galleries_id":194248,"server_id":32,"link":"photo_3174998.html","width":130,"caption":"","height":103});
															thumbnails[3175003] = clik.newPhoto({"id":3175003,"src":"Copy (2) of isc113_thumb.jpg","galleries_id":194248,"server_id":32,"link":"photo_3175003.html","width":130,"caption":"","height":157});
															thumbnails[3175004] = clik.newPhoto({"id":3175004,"src":"Copy (2) of isc617_thumb.jpg","galleries_id":194248,"server_id":32,"link":"photo_3175004.html","width":130,"caption":"","height":89});
															thumbnails[3175005] = clik.newPhoto({"id":3175005,"src":"Copy of 055 west st church 225_thumb.jpg","galleries_id":194248,"server_id":32,"link":"photo_3175005.html","width":130,"caption":"","height":84});
															thumbnails[3175006] = clik.newPhoto({"id":3175006,"src":"Copy of 056 stepcote hill 157_thumb.jpg","galleries_id":194248,"server_id":32,"link":"photo_3175006.html","width":130,"caption":"","height":168});
															thumbnails[3175011] = clik.newPhoto({"id":3175011,"src":"Copy of 059 parsonage alley 0771_thumb.jpg","galleries_id":194248,"server_id":32,"link":"photo_3175011.html","width":130,"caption":"","height":170});
															thumbnails[3175012] = clik.newPhoto({"id":3175012,"src":"Copy of 061 west street 385_thumb.jpg","galleries_id":194248,"server_id":32,"link":"photo_3175012.html","width":130,"caption":"","height":89});
															thumbnails[3175013] = clik.newPhoto({"id":3175013,"src":"Copy of 070 frog st house156_thumb.jpg","galleries_id":194248,"server_id":32,"link":"photo_3175013.html","width":130,"caption":"","height":173});
															thumbnails[3175015] = clik.newPhoto({"id":3175015,"src":"Copy of 073 family tudor st 233_thumb.jpg","galleries_id":194248,"server_id":32,"link":"photo_3175015.html","width":130,"caption":"","height":121});
															thumbnails[3175016] = clik.newPhoto({"id":3175016,"src":"Copy of 090 fore st at west st 245_thumb.jpg","galleries_id":194248,"server_id":32,"link":"photo_3175016.html","width":130,"caption":"","height":86});
															thumbnails[3175017] = clik.newPhoto({"id":3175017,"src":"Copy of 097 tool makers fore st 242_thumb.jpg","galleries_id":194248,"server_id":32,"link":"photo_3175017.html","width":130,"caption":"","height":101});
															thumbnails[3175020] = clik.newPhoto({"id":3175020,"src":"Copy of 109 arch fore st1 099_thumb.jpg","galleries_id":194248,"server_id":32,"link":"photo_3175020.html","width":130,"caption":"","height":106});
															thumbnails[3175021] = clik.newPhoto({"id":3175021,"src":"Copy of 111 north st 1890 134_thumb.jpg","galleries_id":194248,"server_id":32,"link":"photo_3175021.html","width":130,"caption":"","height":176});
															thumbnails[3175023] = clik.newPhoto({"id":3175023,"src":"Copy of 112 north gate 1897 133_thumb.jpg","galleries_id":194248,"server_id":32,"link":"photo_3175023.html","width":130,"caption":"","height":167});
															thumbnails[3175024] = clik.newPhoto({"id":3175024,"src":"Copy of 115 close conrer 1920 440_thumb.jpg","galleries_id":194248,"server_id":32,"link":"photo_3175024.html","width":130,"caption":"","height":82});
															thumbnails[3175025] = clik.newPhoto({"id":3175025,"src":"Copy of 119 mols4 487_thumb.jpg","galleries_id":194248,"server_id":32,"link":"photo_3175025.html","width":130,"caption":"","height":171});
															thumbnails[3175026] = clik.newPhoto({"id":3175026,"src":"Copy of 139 guildhall and knife sharpener 010_thumb.jpg","galleries_id":194248,"server_id":32,"link":"photo_3175026.html","width":130,"caption":"","height":89});
															thumbnails[3175027] = clik.newPhoto({"id":3175027,"src":"Copy of 147 guildhall and coaches 1875 517_thumb.jpg","galleries_id":194248,"server_id":32,"link":"photo_3175027.html","width":130,"caption":"","height":186});
															thumbnails[3175028] = clik.newPhoto({"id":3175028,"src":"Copy of 160 south st corner 269_thumb.jpg","galleries_id":194248,"server_id":32,"link":"photo_3175028.html","width":130,"caption":"","height":168});
															thumbnails[3175053] = clik.newPhoto({"id":3175053,"src":"Copy of 164 horse bus at guildhall 264_thumb.jpg","galleries_id":194248,"server_id":32,"link":"photo_3175053.html","width":130,"caption":"","height":85});
															thumbnails[3175054] = clik.newPhoto({"id":3175054,"src":"Copy of 168 high st 1915 485_thumb.jpg","galleries_id":194248,"server_id":32,"link":"photo_3175054.html","width":130,"caption":"","height":93});
															thumbnails[3175055] = clik.newPhoto({"id":3175055,"src":"Copy of 172 hinton lake horse cart 123_thumb.jpg","galleries_id":194248,"server_id":32,"link":"photo_3175055.html","width":130,"caption":"","height":167});
															thumbnails[3175058] = clik.newPhoto({"id":3175058,"src":"Copy of 189 queen st junction 437_thumb.jpg","galleries_id":194248,"server_id":32,"link":"photo_3175058.html","width":130,"caption":"","height":94});
															thumbnails[3175059] = clik.newPhoto({"id":3175059,"src":"Copy of 277 tram in sidwell st 444_thumb.jpg","galleries_id":194248,"server_id":32,"link":"photo_3175059.html","width":130,"caption":"","height":97});
															thumbnails[3175066] = clik.newPhoto({"id":3175066,"src":"img0041_thumb.jpg","galleries_id":194253,"server_id":32,"link":"photo_3175066.html","width":130,"caption":"","height":196});
															thumbnails[3175067] = clik.newPhoto({"id":3175067,"src":"img0061_thumb.jpg","galleries_id":194253,"server_id":32,"link":"photo_3175067.html","width":130,"caption":"","height":81});
															thumbnails[3175068] = clik.newPhoto({"id":3175068,"src":"img007_thumb.jpg","galleries_id":194253,"server_id":32,"link":"photo_3175068.html","width":130,"caption":"","height":85});
															thumbnails[3175069] = clik.newPhoto({"id":3175069,"src":"img0091_thumb.jpg","galleries_id":194253,"server_id":32,"link":"photo_3175069.html","width":130,"caption":"","height":105});
															thumbnails[3175070] = clik.newPhoto({"id":3175070,"src":"img1961_thumb.jpg","galleries_id":194253,"server_id":32,"link":"photo_3175070.html","width":130,"caption":"","height":105});
															thumbnails[3175072] = clik.newPhoto({"id":3175072,"src":"img1971_thumb.jpg","galleries_id":194253,"server_id":32,"link":"photo_3175072.html","width":130,"caption":"","height":160});
															thumbnails[3175073] = clik.newPhoto({"id":3175073,"src":"img198_thumb.jpg","galleries_id":194253,"server_id":32,"link":"photo_3175073.html","width":130,"caption":"","height":121});
															thumbnails[3175074] = clik.newPhoto({"id":3175074,"src":"img2041_thumb.jpg","galleries_id":194253,"server_id":32,"link":"photo_3175074.html","width":130,"caption":"","height":141});
															thumbnails[3175075] = clik.newPhoto({"id":3175075,"src":"img206_thumb.jpg","galleries_id":194253,"server_id":32,"link":"photo_3175075.html","width":130,"caption":"","height":92});
															thumbnails[3175076] = clik.newPhoto({"id":3175076,"src":"img207_thumb.jpg","galleries_id":194253,"server_id":32,"link":"photo_3175076.html","width":130,"caption":"","height":127});
															thumbnails[3175077] = clik.newPhoto({"id":3175077,"src":"img2111_thumb.jpg","galleries_id":194253,"server_id":32,"link":"photo_3175077.html","width":130,"caption":"","height":116});
															thumbnails[3175078] = clik.newPhoto({"id":3175078,"src":"img212_edited-1_thumb.jpg","galleries_id":194253,"server_id":32,"link":"photo_3175078.html","width":130,"caption":"","height":130});
															thumbnails[3175079] = clik.newPhoto({"id":3175079,"src":"img2131_thumb.jpg","galleries_id":194253,"server_id":32,"link":"photo_3175079.html","width":130,"caption":"","height":130});
															thumbnails[3175080] = clik.newPhoto({"id":3175080,"src":"img214_thumb.jpg","galleries_id":194253,"server_id":32,"link":"photo_3175080.html","width":130,"caption":"","height":191});
															thumbnails[3175081] = clik.newPhoto({"id":3175081,"src":"img215_thumb.jpg","galleries_id":194253,"server_id":32,"link":"photo_3175081.html","width":130,"caption":"","height":106});
															thumbnails[3175082] = clik.newPhoto({"id":3175082,"src":"img2261_thumb.jpg","galleries_id":194253,"server_id":32,"link":"photo_3175082.html","width":130,"caption":"","height":85});
															thumbnails[3175083] = clik.newPhoto({"id":3175083,"src":"img254_thumb.jpg","galleries_id":194253,"server_id":32,"link":"photo_3175083.html","width":130,"caption":"","height":147});
															thumbnails[3175084] = clik.newPhoto({"id":3175084,"src":"img9581_thumb.jpg","galleries_id":194253,"server_id":32,"link":"photo_3175084.html","width":130,"caption":"","height":110});
															thumbnails[3175085] = clik.newPhoto({"id":3175085,"src":"img9601_thumb.jpg","galleries_id":194253,"server_id":32,"link":"photo_3175085.html","width":130,"caption":"","height":129});
															thumbnails[3175086] = clik.newPhoto({"id":3175086,"src":"img9641_thumb.jpg","galleries_id":194253,"server_id":32,"link":"photo_3175086.html","width":130,"caption":"","height":96});
															thumbnails[3175087] = clik.newPhoto({"id":3175087,"src":"img9661_thumb.jpg","galleries_id":194253,"server_id":32,"link":"photo_3175087.html","width":130,"caption":"","height":196});
															thumbnails[3175088] = clik.newPhoto({"id":3175088,"src":"img967_thumb.jpg","galleries_id":194253,"server_id":32,"link":"photo_3175088.html","width":130,"caption":"","height":202});
															thumbnails[3175089] = clik.newPhoto({"id":3175089,"src":"img9711_thumb.jpg","galleries_id":194253,"server_id":32,"link":"photo_3175089.html","width":130,"caption":"","height":185});
															thumbnails[3175090] = clik.newPhoto({"id":3175090,"src":"img980_thumb.jpg","galleries_id":194253,"server_id":32,"link":"photo_3175090.html","width":130,"caption":"","height":189});
															thumbnails[3175091] = clik.newPhoto({"id":3175091,"src":"img9821_thumb.jpg","galleries_id":194253,"server_id":32,"link":"photo_3175091.html","width":130,"caption":"","height":188});
															thumbnails[3175092] = clik.newPhoto({"id":3175092,"src":"img9931_thumb.jpg","galleries_id":194253,"server_id":32,"link":"photo_3175092.html","width":130,"caption":"","height":87});
															thumbnails[3175093] = clik.newPhoto({"id":3175093,"src":"img996_thumb.jpg","galleries_id":194253,"server_id":32,"link":"photo_3175093.html","width":130,"caption":"","height":94});
															thumbnails[3175182] = clik.newPhoto({"id":3175182,"src":"NH (1)_thumb.jpg","galleries_id":194322,"server_id":32,"link":"photo_3175182.html","width":130,"caption":"","height":182});
															thumbnails[3175185] = clik.newPhoto({"id":3175185,"src":"NH (2)_thumb.jpg","galleries_id":194322,"server_id":32,"link":"photo_3175185.html","width":130,"caption":"","height":202});
															thumbnails[3175189] = clik.newPhoto({"id":3175189,"src":"NH (3)_thumb.jpg","galleries_id":194322,"server_id":32,"link":"photo_3175189.html","width":130,"caption":"","height":196});
															thumbnails[3175190] = clik.newPhoto({"id":3175190,"src":"NH (4)_thumb.jpg","galleries_id":194322,"server_id":32,"link":"photo_3175190.html","width":130,"caption":"","height":134});
															thumbnails[3175191] = clik.newPhoto({"id":3175191,"src":"NH (5)_thumb.jpg","galleries_id":194322,"server_id":32,"link":"photo_3175191.html","width":130,"caption":"","height":111});
															thumbnails[3175192] = clik.newPhoto({"id":3175192,"src":"NH (6)_thumb.jpg","galleries_id":194322,"server_id":32,"link":"photo_3175192.html","width":130,"caption":"","height":153});
															thumbnails[3175196] = clik.newPhoto({"id":3175196,"src":"NH (7)_thumb.jpg","galleries_id":194322,"server_id":32,"link":"photo_3175196.html","width":130,"caption":"","height":169});
															thumbnails[3175197] = clik.newPhoto({"id":3175197,"src":"NH (8)_thumb.jpg","galleries_id":194322,"server_id":32,"link":"photo_3175197.html","width":130,"caption":"","height":201});
															thumbnails[3175198] = clik.newPhoto({"id":3175198,"src":"NH (9)_thumb.jpg","galleries_id":194322,"server_id":32,"link":"photo_3175198.html","width":130,"caption":"","height":196});
															thumbnails[3175199] = clik.newPhoto({"id":3175199,"src":"NH (10)_thumb.jpg","galleries_id":194322,"server_id":32,"link":"photo_3175199.html","width":130,"caption":"","height":87});
															thumbnails[3175200] = clik.newPhoto({"id":3175200,"src":"NH (11)_thumb.jpg","galleries_id":194322,"server_id":32,"link":"photo_3175200.html","width":130,"caption":"","height":197});
															thumbnails[3175202] = clik.newPhoto({"id":3175202,"src":"NH (12)_thumb.jpg","galleries_id":194322,"server_id":32,"link":"photo_3175202.html","width":130,"caption":"","height":80});
															thumbnails[3175204] = clik.newPhoto({"id":3175204,"src":"NH (13)_thumb.jpg","galleries_id":194322,"server_id":32,"link":"photo_3175204.html","width":130,"caption":"","height":197});
															thumbnails[3175205] = clik.newPhoto({"id":3175205,"src":"NH (14)_thumb.jpg","galleries_id":194322,"server_id":32,"link":"photo_3175205.html","width":130,"caption":"","height":204});
															thumbnails[3175207] = clik.newPhoto({"id":3175207,"src":"NH (15)_thumb.jpg","galleries_id":194322,"server_id":32,"link":"photo_3175207.html","width":130,"caption":"","height":202});
															thumbnails[3175209] = clik.newPhoto({"id":3175209,"src":"NH (16)_thumb.jpg","galleries_id":194322,"server_id":32,"link":"photo_3175209.html","width":130,"caption":"","height":202});
															thumbnails[3175210] = clik.newPhoto({"id":3175210,"src":"NH (17)_thumb.jpg","galleries_id":194322,"server_id":32,"link":"photo_3175210.html","width":130,"caption":"","height":194});
															thumbnails[3175211] = clik.newPhoto({"id":3175211,"src":"NH_thumb.jpg","galleries_id":194322,"server_id":32,"link":"photo_3175211.html","width":130,"caption":"","height":175});
															thumbnails[3186016] = clik.newPhoto({"id":3186016,"src":"_DSC0127_edited-1_thumb.jpg","galleries_id":194891,"server_id":32,"link":"photo_3186016.html","width":130,"caption":"","height":87});
															thumbnails[3187205] = clik.newPhoto({"id":3187205,"src":"_DSC0170-1_edited-1_thumb.jpg","galleries_id":194891,"server_id":32,"link":"photo_3187205.html","width":130,"caption":"","height":193});
															thumbnails[3187206] = clik.newPhoto({"id":3187206,"src":"_DSC0550_edited-1_thumb.jpg","galleries_id":194891,"server_id":32,"link":"photo_3187206.html","width":130,"caption":"","height":194});
															thumbnails[3187207] = clik.newPhoto({"id":3187207,"src":"_DSC0554_edited-1_thumb.jpg","galleries_id":194891,"server_id":32,"link":"photo_3187207.html","width":130,"caption":"","height":87});
															thumbnails[3187208] = clik.newPhoto({"id":3187208,"src":"_DSC0736_edited-2_thumb.jpg","galleries_id":194891,"server_id":32,"link":"photo_3187208.html","width":130,"caption":"","height":194});
															thumbnails[3187209] = clik.newPhoto({"id":3187209,"src":"_DSC0636_edited-1_thumb.jpg","galleries_id":194891,"server_id":32,"link":"photo_3187209.html","width":130,"caption":"","height":87});
															thumbnails[3187210] = clik.newPhoto({"id":3187210,"src":"_DSC0403_edited-1_thumb.jpg","galleries_id":194891,"server_id":32,"link":"photo_3187210.html","width":130,"caption":"","height":184});
															thumbnails[3187211] = clik.newPhoto({"id":3187211,"src":"_DSC0511_edited-1_thumb.jpg","galleries_id":194891,"server_id":32,"link":"photo_3187211.html","width":130,"caption":"","height":100});
															thumbnails[3187212] = clik.newPhoto({"id":3187212,"src":"_DSC0230_thumb.jpg","galleries_id":194891,"server_id":32,"link":"photo_3187212.html","width":130,"caption":"","height":87});
															thumbnails[3187213] = clik.newPhoto({"id":3187213,"src":"Copy of img699_thumb.jpg","galleries_id":194321,"server_id":32,"link":"photo_3187213.html","width":130,"caption":"","height":160});
															thumbnails[3187214] = clik.newPhoto({"id":3187214,"src":"Copy of img687_thumb.jpg","galleries_id":194321,"server_id":32,"link":"photo_3187214.html","width":130,"caption":"","height":100});
															thumbnails[3187215] = clik.newPhoto({"id":3187215,"src":"img704_edited-1_thumb.jpg","galleries_id":194321,"server_id":32,"link":"photo_3187215.html","width":130,"caption":"","height":158});
															thumbnails[3187216] = clik.newPhoto({"id":3187216,"src":"img464_thumb.jpg","galleries_id":194321,"server_id":32,"link":"photo_3187216.html","width":130,"caption":"","height":160});
															thumbnails[3187217] = clik.newPhoto({"id":3187217,"src":"img463_thumb.jpg","galleries_id":194321,"server_id":32,"link":"photo_3187217.html","width":130,"caption":"","height":104});
															thumbnails[3187218] = clik.newPhoto({"id":3187218,"src":"img7141_thumb.jpg","galleries_id":194323,"server_id":32,"link":"photo_3187218.html","width":130,"caption":"","height":127});
															thumbnails[3187219] = clik.newPhoto({"id":3187219,"src":"img7171_thumb.jpg","galleries_id":194323,"server_id":32,"link":"photo_3187219.html","width":130,"caption":"","height":157});
															thumbnails[3187220] = clik.newPhoto({"id":3187220,"src":"img7831_thumb.jpg","galleries_id":194323,"server_id":32,"link":"photo_3187220.html","width":130,"caption":"","height":127});
															thumbnails[3187221] = clik.newPhoto({"id":3187221,"src":"img7581_thumb.jpg","galleries_id":194323,"server_id":32,"link":"photo_3187221.html","width":130,"caption":"","height":106});
															thumbnails[3187222] = clik.newPhoto({"id":3187222,"src":"img7851_thumb.jpg","galleries_id":194323,"server_id":32,"link":"photo_3187222.html","width":130,"caption":"","height":131});
															thumbnails[3187223] = clik.newPhoto({"id":3187223,"src":"img7861_thumb.jpg","galleries_id":194323,"server_id":32,"link":"photo_3187223.html","width":130,"caption":"","height":97});
															thumbnails[3187224] = clik.newPhoto({"id":3187224,"src":"img7501_thumb.jpg","galleries_id":194323,"server_id":32,"link":"photo_3187224.html","width":130,"caption":"","height":157});
															thumbnails[3187225] = clik.newPhoto({"id":3187225,"src":"img7871_thumb.jpg","galleries_id":194323,"server_id":32,"link":"photo_3187225.html","width":130,"caption":"","height":142});
															thumbnails[3187226] = clik.newPhoto({"id":3187226,"src":"img7921_thumb.jpg","galleries_id":194323,"server_id":32,"link":"photo_3187226.html","width":130,"caption":"","height":112});
															thumbnails[3196755] = clik.newPhoto({"id":3196755,"src":"img469_thumb.jpg","galleries_id":194321,"server_id":32,"link":"photo_3196755.html","width":130,"caption":"","height":157});
															thumbnails[3196756] = clik.newPhoto({"id":3196756,"src":"img462_thumb.jpg","galleries_id":194321,"server_id":32,"link":"photo_3196756.html","width":130,"caption":"","height":175});
															thumbnails[3196757] = clik.newPhoto({"id":3196757,"src":"img470_thumb.jpg","galleries_id":194321,"server_id":32,"link":"photo_3196757.html","width":130,"caption":"","height":106});
															thumbnails[3196759] = clik.newPhoto({"id":3196759,"src":"img471_thumb.jpg","galleries_id":194321,"server_id":32,"link":"photo_3196759.html","width":130,"caption":"","height":158});
															thumbnails[3196760] = clik.newPhoto({"id":3196760,"src":"img465_thumb.jpg","galleries_id":194321,"server_id":32,"link":"photo_3196760.html","width":130,"caption":"","height":152});
															thumbnails[3196761] = clik.newPhoto({"id":3196761,"src":"img475_thumb.jpg","galleries_id":194321,"server_id":32,"link":"photo_3196761.html","width":130,"caption":"","height":163});
															thumbnails[3196763] = clik.newPhoto({"id":3196763,"src":"img476_thumb.jpg","galleries_id":194321,"server_id":32,"link":"photo_3196763.html","width":130,"caption":"","height":106});
															thumbnails[3196767] = clik.newPhoto({"id":3196767,"src":"Copy of img703_thumb.jpg","galleries_id":194321,"server_id":32,"link":"photo_3196767.html","width":130,"caption":"","height":106});
															thumbnails[3196768] = clik.newPhoto({"id":3196768,"src":"img466_thumb.jpg","galleries_id":194321,"server_id":32,"link":"photo_3196768.html","width":130,"caption":"","height":160});
															thumbnails[3196771] = clik.newPhoto({"id":3196771,"src":"img474_thumb.jpg","galleries_id":194321,"server_id":32,"link":"photo_3196771.html","width":130,"caption":"","height":102});
															thumbnails[3196775] = clik.newPhoto({"id":3196775,"src":"img478_thumb.jpg","galleries_id":194321,"server_id":32,"link":"photo_3196775.html","width":130,"caption":"","height":162});
															thumbnails[3196779] = clik.newPhoto({"id":3196779,"src":"img473_thumb.jpg","galleries_id":194321,"server_id":32,"link":"photo_3196779.html","width":130,"caption":"","height":101});
															thumbnails[3196780] = clik.newPhoto({"id":3196780,"src":"img468_thumb.jpg","galleries_id":194321,"server_id":32,"link":"photo_3196780.html","width":130,"caption":"","height":170});
															thumbnails[3196790] = clik.newPhoto({"id":3196790,"src":"img7221_thumb.jpg","galleries_id":194323,"server_id":32,"link":"photo_3196790.html","width":130,"caption":"","height":87});
															thumbnails[3196791] = clik.newPhoto({"id":3196791,"src":"img7271_thumb.jpg","galleries_id":194323,"server_id":32,"link":"photo_3196791.html","width":130,"caption":"","height":117});
															thumbnails[3196793] = clik.newPhoto({"id":3196793,"src":"img7281_thumb.jpg","galleries_id":194323,"server_id":32,"link":"photo_3196793.html","width":130,"caption":"","height":122});
															thumbnails[3196794] = clik.newPhoto({"id":3196794,"src":"img7331_thumb.jpg","galleries_id":194323,"server_id":32,"link":"photo_3196794.html","width":130,"caption":"","height":129});
															thumbnails[3196796] = clik.newPhoto({"id":3196796,"src":"img7841_thumb.jpg","galleries_id":194323,"server_id":32,"link":"photo_3196796.html","width":130,"caption":"","height":133});
															thumbnails[3196797] = clik.newPhoto({"id":3196797,"src":"img804_thumb.jpg","galleries_id":194323,"server_id":32,"link":"photo_3196797.html","width":130,"caption":"","height":120});
															thumbnails[3196799] = clik.newPhoto({"id":3196799,"src":"_DSC0001_edited-1_thumb.jpg","galleries_id":194891,"server_id":32,"link":"photo_3196799.html","width":130,"caption":"","height":87});
															thumbnails[3196801] = clik.newPhoto({"id":3196801,"src":"_DSC0047_edited-1_thumb.jpg","galleries_id":194891,"server_id":32,"link":"photo_3196801.html","width":130,"caption":"","height":176});
															thumbnails[3196802] = clik.newPhoto({"id":3196802,"src":"_DSC0125_edited-1_thumb.jpg","galleries_id":194891,"server_id":32,"link":"photo_3196802.html","width":130,"caption":"","height":194});
															thumbnails[3196803] = clik.newPhoto({"id":3196803,"src":"_DSC0502_edited-1_thumb.jpg","galleries_id":194891,"server_id":32,"link":"photo_3196803.html","width":130,"caption":"","height":83});
															thumbnails[3196805] = clik.newPhoto({"id":3196805,"src":"_DSC0335_edited-1_thumb.jpg","galleries_id":194891,"server_id":32,"link":"photo_3196805.html","width":130,"caption":"","height":194});
															thumbnails[3196806] = clik.newPhoto({"id":3196806,"src":"_DSC0582_thumb.jpg","galleries_id":194891,"server_id":32,"link":"photo_3196806.html","width":130,"caption":"","height":194});
															thumbnails[3196807] = clik.newPhoto({"id":3196807,"src":"_DSC0613_edited-1_thumb.jpg","galleries_id":194891,"server_id":32,"link":"photo_3196807.html","width":130,"caption":"","height":83});
															thumbnails[3196810] = clik.newPhoto({"id":3196810,"src":"_DSC0728_thumb.jpg","galleries_id":194891,"server_id":32,"link":"photo_3196810.html","width":130,"caption":"","height":87});
															thumbnails[3196812] = clik.newPhoto({"id":3196812,"src":"_DSC0817_edited-1_thumb.jpg","galleries_id":194891,"server_id":32,"link":"photo_3196812.html","width":130,"caption":"","height":194});
															thumbnails[3196814] = clik.newPhoto({"id":3196814,"src":"_DSC0767_edited-1_thumb.jpg","galleries_id":194891,"server_id":32,"link":"photo_3196814.html","width":130,"caption":"","height":85});
															thumbnails[3196816] = clik.newPhoto({"id":3196816,"src":"_DSC0046-1_edited-1_thumb.jpg","galleries_id":194891,"server_id":32,"link":"photo_3196816.html","width":130,"caption":"","height":194});
															thumbnails[3196819] = clik.newPhoto({"id":3196819,"src":"_DSC0049_edited-1_thumb.jpg","galleries_id":194891,"server_id":32,"link":"photo_3196819.html","width":130,"caption":"","height":87});
															thumbnails[3196820] = clik.newPhoto({"id":3196820,"src":"_DSC0080-1_edited-1_thumb.jpg","galleries_id":194891,"server_id":32,"link":"photo_3196820.html","width":130,"caption":"","height":194});
															thumbnails[3196821] = clik.newPhoto({"id":3196821,"src":"_DSC0111-1_edited-2_thumb.jpg","galleries_id":194891,"server_id":32,"link":"photo_3196821.html","width":130,"caption":"","height":200});
															thumbnails[3196822] = clik.newPhoto({"id":3196822,"src":"_DSC0320_edited-1_thumb.jpg","galleries_id":194891,"server_id":32,"link":"photo_3196822.html","width":130,"caption":"","height":194});
															thumbnails[3196824] = clik.newPhoto({"id":3196824,"src":"_DSC0730_edited-1_thumb.jpg","galleries_id":194891,"server_id":32,"link":"photo_3196824.html","width":130,"caption":"","height":87});
															thumbnails[3196825] = clik.newPhoto({"id":3196825,"src":"_DSC0664_edited-1_thumb.jpg","galleries_id":194891,"server_id":32,"link":"photo_3196825.html","width":130,"caption":"","height":85});
															thumbnails[3337157] = clik.newPhoto({"id":3337157,"src":"PIC0801_thumb.JPG","galleries_id":203511,"server_id":32,"link":"photo_3337157.html","width":130,"caption":"Foyer of Broom Reid & Harris ","height":85});
															thumbnails[3349912] = clik.newPhoto({"id":3349912,"src":"city library photos_thumb.jpg","galleries_id":203511,"server_id":32,"link":"photo_3349912.html","width":130,"caption":"Exeter City Library Display","height":86});
															thumbnails[3367062] = clik.newPhoto({"id":3367062,"src":"Copy of DSC_0266_edited-1_thumb.jpg","galleries_id":203511,"server_id":32,"link":"photo_3367062.html","width":130,"caption":"Supplier of photos for Devon County Library Services","height":176});
															thumbnails[3367064] = clik.newPhoto({"id":3367064,"src":"DSC_0238_edited-1_thumb.jpg","galleries_id":203511,"server_id":32,"link":"photo_3367064.html","width":130,"caption":"Supplier of photos for Devon County Library Services","height":96});
															thumbnails[3404226] = clik.newPhoto({"id":3404226,"src":"DSC_0004_edited-2_thumb.jpg","galleries_id":203511,"server_id":32,"link":"photo_3404226.html","width":130,"caption":"","height":148});
															thumbnails[3167367] = clik.newPhoto({"id":3167367,"src":"az21_thumb.jpg","galleries_id":193927,"server_id":32,"link":"photo_3167367.html","width":130,"caption":"","height":177});
															thumbnails[3167371] = clik.newPhoto({"id":3167371,"src":"az31_thumb.jpg","galleries_id":193927,"server_id":32,"link":"photo_3167371.html","width":130,"caption":"","height":185});
															thumbnails[3167375] = clik.newPhoto({"id":3167375,"src":"az41_thumb.jpg","galleries_id":193927,"server_id":32,"link":"photo_3167375.html","width":130,"caption":"","height":184});
															thumbnails[3167377] = clik.newPhoto({"id":3167377,"src":"az51_thumb.jpg","galleries_id":193927,"server_id":32,"link":"photo_3167377.html","width":130,"caption":"","height":175});
															thumbnails[3167378] = clik.newPhoto({"id":3167378,"src":"az61_thumb.jpg","galleries_id":193927,"server_id":32,"link":"photo_3167378.html","width":130,"caption":"","height":184});
															thumbnails[3167382] = clik.newPhoto({"id":3167382,"src":"az141_thumb.jpg","galleries_id":193927,"server_id":32,"link":"photo_3167382.html","width":130,"caption":"","height":98});
															thumbnails[3167386] = clik.newPhoto({"id":3167386,"src":"az151_thumb.jpg","galleries_id":193927,"server_id":32,"link":"photo_3167386.html","width":130,"caption":"","height":97});
															thumbnails[3167387] = clik.newPhoto({"id":3167387,"src":"az161_thumb.jpg","galleries_id":193927,"server_id":32,"link":"photo_3167387.html","width":130,"caption":"","height":98});
															thumbnails[3167390] = clik.newPhoto({"id":3167390,"src":"az81_thumb.jpg","galleries_id":193927,"server_id":32,"link":"photo_3167390.html","width":130,"caption":"","height":186});
															thumbnails[3167392] = clik.newPhoto({"id":3167392,"src":"az101_thumb.jpg","galleries_id":193927,"server_id":32,"link":"photo_3167392.html","width":130,"caption":"","height":187});
															thumbnails[3167393] = clik.newPhoto({"id":3167393,"src":"az91_thumb.jpg","galleries_id":193927,"server_id":32,"link":"photo_3167393.html","width":130,"caption":"","height":157});
															thumbnails[3167403] = clik.newPhoto({"id":3167403,"src":"az17_thumb.jpg","galleries_id":193927,"server_id":32,"link":"photo_3167403.html","width":130,"caption":"","height":132});
															thumbnails[3167410] = clik.newPhoto({"id":3167410,"src":"az18_thumb.jpg","galleries_id":193927,"server_id":32,"link":"photo_3167410.html","width":130,"caption":"","height":134});
															thumbnails[3167417] = clik.newPhoto({"id":3167417,"src":"az19_thumb.jpg","galleries_id":193927,"server_id":32,"link":"photo_3167417.html","width":130,"caption":"","height":97});
															thumbnails[3167426] = clik.newPhoto({"id":3167426,"src":"az20_thumb.jpg","galleries_id":193927,"server_id":32,"link":"photo_3167426.html","width":130,"caption":"","height":94});
															thumbnails[3167429] = clik.newPhoto({"id":3167429,"src":"az211_thumb.jpg","galleries_id":193927,"server_id":32,"link":"photo_3167429.html","width":130,"caption":"","height":170});
															thumbnails[3167434] = clik.newPhoto({"id":3167434,"src":"az22_thumb.jpg","galleries_id":193927,"server_id":32,"link":"photo_3167434.html","width":130,"caption":"","height":185});
															thumbnails[3167445] = clik.newPhoto({"id":3167445,"src":"media1_thumb.jpg","galleries_id":193931,"server_id":32,"link":"photo_3167445.html","width":130,"caption":"","height":204});
															thumbnails[3167447] = clik.newPhoto({"id":3167447,"src":"media 2_thumb.jpg","galleries_id":193931,"server_id":32,"link":"photo_3167447.html","width":130,"caption":"","height":184});
															thumbnails[3167449] = clik.newPhoto({"id":3167449,"src":"media 3_thumb.jpg","galleries_id":193931,"server_id":32,"link":"photo_3167449.html","width":130,"caption":"","height":205});
															thumbnails[3167452] = clik.newPhoto({"id":3167452,"src":"media 4_thumb.jpg","galleries_id":193931,"server_id":32,"link":"photo_3167452.html","width":130,"caption":"","height":130});
															thumbnails[3196722] = clik.newPhoto({"id":3196722,"src":"img505_thumb.jpg","galleries_id":194194,"server_id":32,"link":"photo_3196722.html","width":130,"caption":"","height":191});
															thumbnails[3196723] = clik.newPhoto({"id":3196723,"src":"img508_thumb.jpg","galleries_id":194194,"server_id":32,"link":"photo_3196723.html","width":130,"caption":"","height":184});
															thumbnails[3196727] = clik.newPhoto({"id":3196727,"src":"img509_thumb.jpg","galleries_id":194194,"server_id":32,"link":"photo_3196727.html","width":130,"caption":"","height":184});
															thumbnails[3196728] = clik.newPhoto({"id":3196728,"src":"img506_thumb.jpg","galleries_id":194194,"server_id":32,"link":"photo_3196728.html","width":130,"caption":"","height":184});
															thumbnails[3196730] = clik.newPhoto({"id":3196730,"src":"img507_thumb.jpg","galleries_id":194194,"server_id":32,"link":"photo_3196730.html","width":130,"caption":"","height":186});
															thumbnails[3196734] = clik.newPhoto({"id":3196734,"src":"img4991_thumb.jpg","galleries_id":194194,"server_id":32,"link":"photo_3196734.html","width":130,"caption":"","height":182});
															thumbnails[3196736] = clik.newPhoto({"id":3196736,"src":"img5001_thumb.jpg","galleries_id":194194,"server_id":32,"link":"photo_3196736.html","width":130,"caption":"","height":182});
															thumbnails[3196737] = clik.newPhoto({"id":3196737,"src":"img5011_thumb.jpg","galleries_id":194194,"server_id":32,"link":"photo_3196737.html","width":130,"caption":"","height":181});
															thumbnails[3196740] = clik.newPhoto({"id":3196740,"src":"img5021_thumb.jpg","galleries_id":194194,"server_id":32,"link":"photo_3196740.html","width":130,"caption":"","height":189});
															thumbnails[3196742] = clik.newPhoto({"id":3196742,"src":"img5031_thumb.jpg","galleries_id":194194,"server_id":32,"link":"photo_3196742.html","width":130,"caption":"","height":185});
															thumbnails[3196744] = clik.newPhoto({"id":3196744,"src":"img5041_thumb.jpg","galleries_id":194194,"server_id":32,"link":"photo_3196744.html","width":130,"caption":"","height":188});
															thumbnails[3196752] = clik.newPhoto({"id":3196752,"src":"img510_thumb.jpg","galleries_id":194194,"server_id":32,"link":"photo_3196752.html","width":130,"caption":"","height":186});
															thumbnails[3289717] = clik.newPhoto({"id":3289717,"src":"PIC080_thumb.JPG","galleries_id":194194,"server_id":32,"link":"photo_3289717.html","width":130,"caption":"Foyer of Broom Reid & Harris ","height":85});
															thumbnails[7944413] = clik.newPhoto({"id":7944413,"src":"DSC_3518_1_thumb.jpeg","galleries_id":193925,"server_id":32,"link":"photo_7944413.html","width":130,"caption":"War In Exeter","height":133});
															thumbnails[6581579] = clik.newPhoto({"id":6581579,"src":"book_cover_4book_4a_thumb.jpg","galleries_id":193925,"server_id":32,"link":"photo_6581579.html","width":130,"caption":"As seen on BBC Spotlight South West.<br>\r\nThe Book everybody is talking about.<br>\r\nOne Man's War In Exeter.<br>\r\nPrice  - £25:00<br>\r\n","height":92});
															thumbnails[3167379] = clik.newPhoto({"id":3167379,"src":"az71_thumb.jpg","galleries_id":193925,"server_id":32,"link":"photo_3167379.html","width":130,"caption":"Exeter The Golden  years<br>\r\nA comprehensive of Post War redevelopment<br>\r\nin Exeter<br>\r\nCurrently £9.95  Contact www. halsgrove.co.uk","height":187});
															thumbnails[3167354] = clik.newPhoto({"id":3167354,"src":"az131_thumb.jpg","galleries_id":193925,"server_id":32,"link":"photo_3167354.html","width":130,"caption":"The West Quarter<br>\r\nExeter’s latest book of 325 archive photos<br>\r\n£16.99 (2008)<br>\r\nP&P £3.95","height":101});
															thumbnails[3167355] = clik.newPhoto({"id":3167355,"src":"az113_thumb.jpg","galleries_id":193925,"server_id":32,"link":"photo_3167355.html","width":130,"caption":"Sixty Years of Princesshay<br>\r\nA remarkable record of major changes in<br>\r\ncentral Exeter between 2005 and 2008.<br>\r\nOver 300 photos<br>\r\n£14.99 (2007)<br>\r\nP&P £2.75","height":103});
															thumbnails[3167357] = clik.newPhoto({"id":3167357,"src":"az121_thumb.jpg","galleries_id":193925,"server_id":32,"link":"photo_3167357.html","width":130,"caption":"Old Exeter<br>\r\nA timeless classic of archive photos of the <br>\r\nOld city.  Over 300 photos<br>\r\n£16.99 (2006)<br>\r\nP&P £4.95.","height":99});
															thumbnails[9064418] = clik.newPhoto({"id":9064418,"src":"Bombing_promo_poster_thumb_3D8F016B-1EC9-DFB6-096EC319FA863F5A.jpg","galleries_id":204745,"server_id":32,"link":"photo_9064418.html","width":130,"caption":"Latest Event Narrated By Peter Thomas","height":184});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[203511] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Display Prints","link":"section250460.html","maxRecords":0.0,"photoIDs":[3337157.0,3349912.0,3367062.0,3367064.0,3404226.0],"skipIndex":0,"section_code":"section250460","featured_images":"3404226,3367064,3367062,3349912,3337157","id":203511,"singleSection":true});				  						galleries[193925] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Books Available now","link":"section239272_193925.html","maxRecords":0.0,"photoIDs":[7944413.0,6581579.0,3167379.0,3167354.0,3167355.0,3167357.0],"skipIndex":0,"section_code":"section239272","featured_images":"7944413,6581579,3167379,3167357,3167355,3167354","id":193925,"singleSection":false});				  						galleries[194248] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"ISCA COLLECTION","link":"section239271_194248.html","maxRecords":0.0,"photoIDs":[3174546.0,3174988.0,3174989.0,3174991.0,3174992.0,3174993.0,3174995.0,3174996.0,3174997.0,3174998.0,3175003.0,3175004.0,3175005.0,3175006.0,3175011.0,3175012.0,3175013.0,3175015.0,3175016.0,3175017.0,3175020.0,3175021.0,3175023.0,3175024.0,3175025.0,3175026.0,3175027.0,3175028.0,3175053.0,3175054.0,3175055.0,3175058.0,3175059.0],"skipIndex":0,"section_code":"section239271","featured_images":"3175059,3175058,3175055,3175054,3175053,3175028,3175027,3175026,3175025,3175024","id":194248,"singleSection":false});				  						galleries[193927] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Out Of Print Books","link":"section239272_193927.html","maxRecords":0.0,"photoIDs":[3167367.0,3167371.0,3167375.0,3167377.0,3167378.0,3167382.0,3167386.0,3167387.0,3167390.0,3167392.0,3167393.0,3167403.0,3167410.0,3167417.0,3167426.0,3167429.0,3167434.0],"skipIndex":0,"section_code":"section239272","featured_images":"3167434,3167429,3167426,3167417,3167410,3167403,3167393,3167392,3167390,3167387","id":193927,"singleSection":false});				  						galleries[194323] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"DEVON","link":"section239271_194323.html","maxRecords":0.0,"photoIDs":[3187218.0,3187219.0,3187220.0,3187221.0,3187222.0,3187223.0,3187224.0,3187225.0,3187226.0,3196790.0,3196791.0,3196793.0,3196794.0,3196796.0,3196797.0],"skipIndex":0,"section_code":"section239271","featured_images":"3196797,3196796,3196794,3196793,3196791,3196790,3187226,3187225,3187224,3187223","id":194323,"singleSection":false});				  						galleries[193931] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Video DVD","link":"section239272_193931.html","maxRecords":0.0,"photoIDs":[3167445.0,3167447.0,3167449.0,3167452.0],"skipIndex":0,"section_code":"section239272","featured_images":"3167452,3167449,3167447,3167445","id":193931,"singleSection":false});				  						galleries[194321] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"DORSET","link":"section239271_194321.html","maxRecords":0.0,"photoIDs":[3187213.0,3187214.0,3187215.0,3187216.0,3187217.0,3196755.0,3196756.0,3196757.0,3196759.0,3196760.0,3196761.0,3196763.0,3196767.0,3196768.0,3196771.0,3196775.0,3196779.0,3196780.0],"skipIndex":0,"section_code":"section239271","featured_images":"3196780,3196779,3196775,3196771,3196768,3196767,3196763,3196761,3196760,3196759","id":194321,"singleSection":false});				  						galleries[194253] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"EXETER TODAY","link":"section239271_194253.html","maxRecords":0.0,"photoIDs":[3175066.0,3175067.0,3175068.0,3175069.0,3175070.0,3175072.0,3175073.0,3175074.0,3175075.0,3175076.0,3175077.0,3175078.0,3175079.0,3175080.0,3175081.0,3175082.0,3175083.0,3175084.0,3175085.0,3175086.0,3175087.0,3175088.0,3175089.0,3175090.0,3175091.0,3175092.0,3175093.0],"skipIndex":0,"section_code":"section239271","featured_images":"3175093,3175092,3175091,3175090,3175089,3175088,3175087,3175086,3175085,3175084","id":194253,"singleSection":false});				  						galleries[194194] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Magazine articles and events","link":"section239272_194194.html","maxRecords":0.0,"photoIDs":[3196722.0,3196723.0,3196727.0,3196728.0,3196730.0,3196734.0,3196736.0,3196737.0,3196740.0,3196742.0,3196744.0,3196752.0,3289717.0],"skipIndex":0,"section_code":"section239272","featured_images":"3289717,3196752,3196744,3196742,3196740,3196737,3196736,3196734,3196730,3196728","id":194194,"singleSection":false});				  						galleries[194891] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"TRAVEL","link":"section239271_194891.html","maxRecords":0.0,"photoIDs":[3186016.0,3187205.0,3187206.0,3187207.0,3187208.0,3187209.0,3187210.0,3187211.0,3187212.0,3196799.0,3196801.0,3196802.0,3196803.0,3196805.0,3196806.0,3196807.0,3196810.0,3196812.0,3196814.0,3196816.0,3196819.0,3196820.0,3196821.0,3196822.0,3196824.0,3196825.0],"skipIndex":0,"section_code":"section239271","featured_images":"3196825,3196824,3196822,3196821,3196820,3196819,3196816,3196814,3196812,3196810","id":194891,"singleSection":false});				  						galleries[194322] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"WILDLIFE","link":"section239271_194322.html","maxRecords":0.0,"photoIDs":[3175182.0,3175185.0,3175189.0,3175190.0,3175191.0,3175192.0,3175196.0,3175197.0,3175198.0,3175199.0,3175200.0,3175202.0,3175204.0,3175205.0,3175207.0,3175209.0,3175210.0,3175211.0],"skipIndex":0,"section_code":"section239271","featured_images":"3175211,3175210,3175209,3175207,3175205,3175204,3175202,3175200,3175199,3175198","id":194322,"singleSection":false});				  						galleries[204745] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"News & Events","link":"section252138.html","maxRecords":0.0,"photoIDs":[9064418.0],"skipIndex":0,"section_code":"section252138","featured_images":9064418.0,"id":204745,"singleSection":true});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '9064418,7944413,6581579,3404226,3367064,3367062,3349912,3337157,3289717,3196825,3196824,3196822,3196821,3196820,3196819,3196816,3196814,3196812,3196810,3196807,3196806,3196805,3196803,3196802,3196801,3196799,3196797,3196796,3196794,3196793,3196791,3196790,3196780,3196779,3196775,3196771,3196768,3196767,3196763,3196761,3196760,3196759,3196757,3196756,3196755,3196752,3196744,3196742,3196740,3196737';
imageSets[3] = '9064418,7944413,6581579,3404226,3367064,3367062,3349912,3337157,3289717,3196825,3196824,3196822,3196821,3196820,3196819,3196816,3196814,3196812,3196810,3196807,3196806,3196805,3196803,3196802,3196801,3196799,3196797,3196796,3196794,3196793,3196791,3196790,3196780,3196779,3196775,3196771,3196768,3196767,3196763,3196761,3196760,3196759,3196757,3196756,3196755,3196752,3196744,3196742,3196740,3196737';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/peterdthomas/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/peterdthomas/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/peterdthomas/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/peterdthomas/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/peterdthomas/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/peterdthomas/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/peterdthomas/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/peterdthomas/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/peterdthomas/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/peterdthomas/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/peterdthomas/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/peterdthomas/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/peterdthomas/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/peterdthomas/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/peterdthomas/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/peterdthomas/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/peterdthomas/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/peterdthomas/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/peterdthomas/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/peterdthomas/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/peterdthomas/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/peterdthomas/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/peterdthomas/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/peterdthomas/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/peterdthomas/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/peterdthomas/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/peterdthomas/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 += 'section239271.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 && 'section239271' != '') {
					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 = 'Peter D Thomas Photography: ' + photoCaption;
			    }
        if (op.$detail.length > 0) {
      	temp = op.nextPhoto.fnGetImageDetails();
	    op.$detail.fadeGalleryDetails(temp, op.speed, function(){
			if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
				toggleAddToCartConfirm(backgrounds, op.$detail);
			} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
				toggleAddToCartConfirm(photos, op.$detail);
			}
			$('body').trigger('clikUpdate.popup');
	    });
    }
        $(op.$detailContainer).find('.replaceable[class*=replaceable_photo-]').each(function(){
    	var field = clik.getPrefixedClass(this.className, 'replaceable_photo-');
    	if (field in op.nextPhoto) {
    		$(this).fadeGalleryDetails(op.nextPhoto[field], op.speed);
    	}
    }).end().find('.replaceable.photoPayment').fadeGalleryDetails(op.nextPhoto.fnGetPaymentInfo(), op.speed, function(){
		if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
			toggleAddToCartConfirm(backgrounds, op.$detailContainer);
		} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
			toggleAddToCartConfirm(photos, op.$detailContainer);
		}
		$('body').trigger('clikUpdate.popup');
	});
		if (op.$photo.length > 0) {
		html = $('<img/>',{
			'class': 'mainphoto photo',
			src: photoSrc,
			id: 'mainPic',
			name: 'mainPic',
			width: op.nextPhoto.width,
			height: op.nextPhoto.height,
			alt: photoCaption,
			css: op.css || {}
		});
		if (op.href) {
			if (op.href.match(/<a/)) {
				html = $(op.href).append(html);
			} else {
				html = $('<a/>', {
					href: op.href,
					title: photoCaption
				}).append(html);
			}
		} else {
			html = $('<a/>', {
				title: photoCaption
			}).append(html);
		}
		if (op.speed == 0) {			op.$photo.html(html);			if (op.onBefore) {			  	op.onBefore.apply(op.$photo);			}			if (op.onAfter) {			  	op.onAfter.apply(op.$photo);			}		} else {			op.$photo.stop(true,true).fadeReplaceWith(html,op.speed,'',function(){  				if (op.onAfter) {				  	op.onAfter.apply(this);				}				clik.doColumnResize(false, $(this).add(op.$detail).add(op.$title));			}, op.onBefore);
		}	}
    if (op.field) {
		op.field.value = photoId;
	} else {
		op.$photo.data('image_id', photoId);
    }
        if (!op.speed) {
      	clik.doColumnResize(false, op.$photo.add(op.$detail).add(op.$title));
    }
        
    return html;
	}

/***************************************************************************
* Toggle add to cart confirmation element and set up the click event for   *
* the 'Add to cart' button.                                                *
***************************************************************************/
function toggleAddToCartConfirm(array, root){
	if (typeof(array) !== 'object' || array === null) {
	  	array = photos;
	}
	if (!$(root).length) {		root = $('body');	}	if($('#paymentConfirm', root).length > 0){
		$('#paymentConfirm', root).hide();
		$('#paymentAddButton', root)
		.unbind()
		.click(function(){
						form = $('#paymentForm', root)[0];
			option_id = 0;
			if(form.item_option.value){
				option_id = form.item_option.value;
			}
			if(addItemToBasket(form.item_number.value,array,form.site.value,parseInt(form.quantity.value, 10),option_id)){
				if($.browser.msie){$('#paymentConfirm', root).text('Item added to cart').show();}
				else{
					$('#paymentConfirm', root).text('Item added to cart').fadeIn();
					dspOrderDetails(form.site.value);
				}
			}
			else{
				$('#paymentConfirm', root).text('Item not added - check cookies are enabled in your browser.').fadeIn();
			}
		});
	}
}

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetImageDetails = function(){
	var temp = '';
	if (this.description != '') {
		temp +=  '<div id="imageDescription">' + this.description + '</div>';
	}
		if (this.photo_ref != '') {
		temp += '<div class="imageinfo" id="imageRef"><strong>Ref: </strong>' + this.photo_ref + '</div>';
	}
		if (this.takendate != '') {
		
		temp += '<div class="imageinfo" id="imageDate"><strong>Date: </strong>' + this.takendate + '</div>';
	}
	
	if (this.location != '') {
		
		temp += '<div class="imageinfo" id="imageLocation"><strong>Location: </strong>' +  this.location + '</div>';
	}
	
	if (this.photographer != '') {
		
		temp += '<div class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>' + this.photographer + '</div>';
	}
				
				if (temp != '') {
		temp += '<div class="spacer"></div>';
	}
	return temp;
};

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetPaymentInfo = function(){
	var temp = '';
	if (this.item_price !== '') {
				temp += '<p>Order this print:</p>';
				temp += '<div class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> &pound;' + (this.item_price).toFixed(2) + '</div>';
		var item_name  = this.purchase_instruction;
		var amount = (this.item_price).toFixed(2);
		var item_option  = 0;
	}
		else {
		
	}
	if (this.item_price !== '') {
																		temp += '<form id="paymentForm" style="margin:0px;border:0px;" name="paymentForm" target="_blank" action="https://www.paypal.com/cgi-bin/webscr" method="post">';
			temp += '<input type="hidden" name="item_name" value="'+item_name+'">';
			ref = '';
			if(this.photo_ref != ''){
				ref = this.photo_ref+' - '+this.caption;
			}
			else{
				ref = this.id+' - '+this.caption;
			}
			price = amount;								temp += '<input type="hidden" name="cmd" value="_cart">';
					temp += '<input type="hidden" name="business" value="">';
					temp += '<input type="hidden" name="currency_code" value="GBP">';
					temp += '<input type="hidden" name="add" value="1">';
													temp += '<input type="hidden" name="amount" value="'+amount+'">';
					temp += '<input type="hidden" name="item_number" value="'+ref+'">';
													temp += '<input type=\"Submit\" value=\"Add to cart\" id=\"paymentAddButton\" class=\"button\" onmouseover=\"this.className=\'buttonHi\';\" onmouseout=\"this.className=\'button\';\">';
										temp += '</form>';
										temp += '<form id="paymentCartForm" style="margin:0px;" name="paymentCartForm" target="_blank" action="https://www.paypal.com/cgi-bin/webscr" method="post">';
				temp += '<input type="hidden" name="cmd" value="_cart">';
				temp += '<input type="hidden" name="business" value="">';
				temp += '<input type="hidden" name="display" value="1">';
				temp += '<input type=\"Submit\" value=\"View cart\" id=\"paymentViewButton\" class=\"button\" onmouseover=\"this.className=\'buttonHi\';\" onmouseout=\"this.className=\'button\';\">';
				temp += '</form>';
						temp += '<div class="clearing">&nbsp;</div>';
	}
	return temp;};

/***************************************************************************
* Pick a photo at random from the featured images of a gallery.            *
* Gallery_id = id of gallery to choose,                                    *
* img = reference to html image in                                         *
* which to show image                                                      *
***************************************************************************/
function showGalleryImage(gallery_id, img, updateLink) {
	
	if(img){
		if (location.hash.match('galleries_id=' + gallery_id) && (imageID = location.hash.match('.*photos_id=(.+)$'))) {
		  	imageID = imageID[1];
		} else {
		  	imageID = randomListVal(galleries[gallery_id].featured_images);
		}
		
		if (imageID != 0) {
			img.src = thumbnails[imageID].src;
			img.width = thumbnails[imageID].width;
			img.height = thumbnails[imageID].height;
			img.alt = galleries[gallery_id].title;
			if (updateLink) {
				$(img).parent().attr({					title: galleries[gallery_id].title				}).filter(function(){return this.href;}).attr({					href: thumbnails[imageID].fnGalleryLink(gallery_id)				});
			}
		}
	}
}

/***************************************************************************
* If we have dynamic HTML, replace the galleries link with a list that     *
* doesn't include thecurrent gallery                                       *
***************************************************************************/
function showGalleries(gallery_id) {
		
	
	if (!basic) {
		temp = '';
		for (i = 0; i < galleries.length; i++) {
						
			
			if (galleries[i].id != gallery_id) {
								
				if (temp != '') {
					temp += ' | ';
				}
								temp += '<a href="' + galleries[i].section_code + '_' + galleries[i].id + '.html">' + galleries[i].title + '</a>';
							}
		}
		document.all.galleryLinks.innerHTML = 'Other galleries: ' + temp;
	}
}

			

