window.thumbnails = {};
															thumbnails[1313352] = clik.newPhoto({"id":1313352,"src":"EJ Vegas 034_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Int Red Piano Set, Caesar's Palace","height":98});
															thumbnails[1313362] = clik.newPhoto({"id":1313362,"src":"EJ Vegas 044_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Int Auditorium, Caesar's Palace","height":88});
															thumbnails[1300635] = clik.newPhoto({"id":1300635,"src":"5 Days 12 018_thumb.jpg","galleries_id":92212,"server_id":1,"link":"photo_1300635.html","width":130,"caption":"Int Police Station Set","height":98});
															thumbnails[1301375] = clik.newPhoto({"id":1301375,"src":"Me and Red Piano1_thumb.jpg","galleries_id":92250,"server_id":1,"link":"photo_1301375.html","width":130,"caption":"The Red Piano set","height":87});
															thumbnails[1311623] = clik.newPhoto({"id":1311623,"src":"Commander 004_thumb.jpg","galleries_id":92785,"server_id":1,"link":"photo_1311623.html","width":130,"caption":"Ext Country House, Pool","height":173});
															thumbnails[1311637] = clik.newPhoto({"id":1311637,"src":"Commander 3 007_thumb.jpg","galleries_id":92785,"server_id":1,"link":"photo_1311637.html","width":130,"caption":"Ext London Eye","height":82});
															thumbnails[1311643] = clik.newPhoto({"id":1311643,"src":"Commander 0321_thumb.jpg","galleries_id":92785,"server_id":1,"link":"photo_1311643.html","width":130,"caption":"Int Mortuary","height":87});
															thumbnails[1311649] = clik.newPhoto({"id":1311649,"src":"Commander 010_thumb.jpg","galleries_id":92785,"server_id":1,"link":"photo_1311649.html","width":130,"caption":"Ext Country House","height":82});
															thumbnails[1311653] = clik.newPhoto({"id":1311653,"src":"EJ Vegas 059_thumb.jpg","galleries_id":92250,"server_id":1,"link":"photo_1311653.html","width":130,"caption":"Keepie Uppie Boy","height":173});
															thumbnails[1311657] = clik.newPhoto({"id":1311657,"src":"5 Days 028_thumb.jpg","galleries_id":92212,"server_id":1,"link":"photo_1311657.html","width":130,"caption":"Ext Lay By (Night)","height":155});
															thumbnails[1312532] = clik.newPhoto({"id":1312532,"src":"web2_thumb.jpg","galleries_id":92209,"server_id":1,"link":"photo_1312532.html","width":130,"caption":"Ext Loch Lomond","height":87});
															thumbnails[1312710] = clik.newPhoto({"id":1312710,"src":"SOD 5 020_thumb.jpg","galleries_id":92209,"server_id":1,"link":"photo_1312710.html","width":130,"caption":"Int Daft Friday Dance","height":90});
															thumbnails[1313033] = clik.newPhoto({"id":1313033,"src":"SOD 5 103_thumb.jpg","galleries_id":92209,"server_id":1,"link":"photo_1313033.html","width":130,"caption":"Ext Night, London Streets","height":98});
															thumbnails[1313134] = clik.newPhoto({"id":1313134,"src":"SOD 10 033_thumb.jpg","galleries_id":92209,"server_id":1,"link":"photo_1313134.html","width":130,"caption":"Int Chapel Of Edward The Confessor","height":87});
															thumbnails[1313147] = clik.newPhoto({"id":1313147,"src":"SOD 10 040_thumb.jpg","galleries_id":92209,"server_id":1,"link":"photo_1313147.html","width":130,"caption":"Ext Loch Lomond","height":87});
															thumbnails[1313178] = clik.newPhoto({"id":1313178,"src":"SOD 10 042_thumb.jpg","galleries_id":92209,"server_id":1,"link":"photo_1313178.html","width":130,"caption":"Ext Roads","height":87});
															thumbnails[1313216] = clik.newPhoto({"id":1313216,"src":"SOD 11 014_thumb.jpg","galleries_id":92209,"server_id":1,"link":"photo_1313216.html","width":130,"caption":"Ext Westminster Abbey, North Door","height":98});
															thumbnails[1313365] = clik.newPhoto({"id":1313365,"src":"EJ Vegas 055_thumb.jpg","galleries_id":92250,"server_id":1,"link":"photo_1313365.html","width":130,"caption":"On the 'White Set'","height":88});
															thumbnails[1313447] = clik.newPhoto({"id":1313447,"src":"EJ Vegas 073_thumb.jpg","galleries_id":92250,"server_id":1,"link":"photo_1313447.html","width":130,"caption":"Grand Canyon Jolly","height":90});
															thumbnails[1313476] = clik.newPhoto({"id":1313476,"src":"Limo_thumb.jpg","galleries_id":92250,"server_id":1,"link":"photo_1313476.html","width":130,"caption":"Getting To Work","height":83});
															thumbnails[1313481] = clik.newPhoto({"id":1313481,"src":"Rocket Man_thumb.jpg","galleries_id":92250,"server_id":1,"link":"photo_1313481.html","width":130,"caption":"Int Rocket","height":98});
															thumbnails[1313646] = clik.newPhoto({"id":1313646,"src":"Commander 026_thumb.jpg","galleries_id":92785,"server_id":1,"link":"photo_1313646.html","width":130,"caption":"Int Country House","height":120});
															thumbnails[1313662] = clik.newPhoto({"id":1313662,"src":"5 Days 6 009_thumb.jpg","galleries_id":92212,"server_id":1,"link":"photo_1313662.html","width":130,"caption":"Int Matt's Hall","height":173});
															thumbnails[1313665] = clik.newPhoto({"id":1313665,"src":"5 Days 7 009_thumb.jpg","galleries_id":92212,"server_id":1,"link":"photo_1313665.html","width":130,"caption":"Int Office","height":173});
															thumbnails[1313670] = clik.newPhoto({"id":1313670,"src":"5 Days 7 043_thumb.jpg","galleries_id":92212,"server_id":1,"link":"photo_1313670.html","width":130,"caption":"Int Kitchen","height":173});
															thumbnails[1313718] = clik.newPhoto({"id":1313718,"src":"5 Days 8 018_thumb.jpg","galleries_id":92212,"server_id":1,"link":"photo_1313718.html","width":130,"caption":"Int Matt's Bedroom","height":98});
															thumbnails[1313722] = clik.newPhoto({"id":1313722,"src":"5 Days 10 015_thumb.jpg","galleries_id":92212,"server_id":1,"link":"photo_1313722.html","width":130,"caption":"Int Gym Class","height":76});
															thumbnails[1313728] = clik.newPhoto({"id":1313728,"src":"5 Days 12 013_thumb.jpg","galleries_id":92212,"server_id":1,"link":"photo_1313728.html","width":130,"caption":"Int Police Station","height":173});
															thumbnails[1313734] = clik.newPhoto({"id":1313734,"src":"5 Days 13 003_thumb.jpg","galleries_id":92212,"server_id":1,"link":"photo_1313734.html","width":130,"caption":"Ext Motorway Bridge","height":98});
															thumbnails[1313741] = clik.newPhoto({"id":1313741,"src":"5 Days 13 006_thumb.jpg","galleries_id":92212,"server_id":1,"link":"photo_1313741.html","width":130,"caption":"Ext Road","height":173});
															thumbnails[1315317] = clik.newPhoto({"id":1315317,"src":"Foyles War 6 003_thumb.jpg","galleries_id":92963,"server_id":1,"link":"photo_1315317.html","width":130,"caption":"Ext Wood","height":87});
															thumbnails[1315321] = clik.newPhoto({"id":1315321,"src":"Dominic and Anthony 1_thumb.jpg","galleries_id":92963,"server_id":1,"link":"photo_1315321.html","width":130,"caption":"Ext Playground Under Bridge","height":157});
															thumbnails[1315334] = clik.newPhoto({"id":1315334,"src":"Foyles War 7 007_thumb.jpg","galleries_id":92963,"server_id":1,"link":"photo_1315334.html","width":130,"caption":"Int Hospital","height":85});
															thumbnails[1315335] = clik.newPhoto({"id":1315335,"src":"Foyles War 8 004_thumb.jpg","galleries_id":92963,"server_id":1,"link":"photo_1315335.html","width":130,"caption":"Ext Under Bridge","height":98});
															thumbnails[1315338] = clik.newPhoto({"id":1315338,"src":"Foyles War 030_thumb.jpg","galleries_id":92963,"server_id":1,"link":"photo_1315338.html","width":130,"caption":"Ext Beach","height":87});
															thumbnails[1320639] = clik.newPhoto({"id":1320639,"src":"5 Days 12 024_thumb.jpg","galleries_id":92212,"server_id":1,"link":"photo_1320639.html","width":130,"caption":"Int Police Station","height":173});
															thumbnails[1329185] = clik.newPhoto({"id":1329185,"src":"Dr Who_thumb.jpg","galleries_id":93640,"server_id":1,"link":"photo_1329185.html","width":130,"caption":"","height":98});
															thumbnails[1329196] = clik.newPhoto({"id":1329196,"src":"300ethanbbc_thumb.jpg","galleries_id":92212,"server_id":1,"link":"photo_1329196.html","width":130,"caption":"","height":78});
															thumbnails[1528908] = clik.newPhoto({"id":1528908,"src":"R0019372_thumb.JPG","galleries_id":93640,"server_id":1,"link":"photo_1528908.html","width":130,"caption":"EXT BUILDING","height":173});
															thumbnails[1529195] = clik.newPhoto({"id":1529195,"src":"R0019249_thumb.JPG","galleries_id":93640,"server_id":1,"link":"photo_1529195.html","width":130,"caption":"EXT BUILDING","height":81});
															thumbnails[1529207] = clik.newPhoto({"id":1529207,"src":"R0019379_thumb.JPG","galleries_id":93640,"server_id":1,"link":"photo_1529207.html","width":130,"caption":"INT TARDIS","height":173});
															thumbnails[1529215] = clik.newPhoto({"id":1529215,"src":"R0019324_thumb.JPG","galleries_id":93640,"server_id":1,"link":"photo_1529215.html","width":130,"caption":"BLOWING DOORS OFF","height":173});
															thumbnails[1529222] = clik.newPhoto({"id":1529222,"src":"R0019381_thumb.JPG","galleries_id":93640,"server_id":1,"link":"photo_1529222.html","width":130,"caption":"GREEN STAGE","height":173});
															thumbnails[1529456] = clik.newPhoto({"id":1529456,"src":"R0019331_thumb.JPG","galleries_id":93640,"server_id":1,"link":"photo_1529456.html","width":130,"caption":"INT CORRIDOR","height":98});
															thumbnails[1529477] = clik.newPhoto({"id":1529477,"src":"R0019356_thumb.JPG","galleries_id":93640,"server_id":1,"link":"photo_1529477.html","width":130,"caption":"The infamous box. Not to be used on a Friday night in Cardiff.","height":173});
															thumbnails[1863348] = clik.newPhoto({"id":1863348,"src":"DSC_0060_thumb.JPG","galleries_id":104850,"server_id":1,"link":"photo_1863348.html","width":130,"caption":"Brean Down sunset","height":87});
															thumbnails[1863358] = clik.newPhoto({"id":1863358,"src":"DSC_0079_thumb.JPG","galleries_id":104850,"server_id":1,"link":"photo_1863358.html","width":130,"caption":"Brean Down sunset","height":79});
															thumbnails[1863365] = clik.newPhoto({"id":1863365,"src":"R0019653_thumb.JPG","galleries_id":104850,"server_id":1,"link":"photo_1863365.html","width":130,"caption":"Dig Site","height":173});
															thumbnails[1863443] = clik.newPhoto({"id":1863443,"src":"R0019718_thumb.JPG","galleries_id":104850,"server_id":1,"link":"photo_1863443.html","width":130,"caption":"Dem Bones","height":173});
															thumbnails[1863447] = clik.newPhoto({"id":1863447,"src":"R0019823_thumb.JPG","galleries_id":104850,"server_id":1,"link":"photo_1863447.html","width":130,"caption":"Int Dovecote","height":88});
															thumbnails[1863465] = clik.newPhoto({"id":1863465,"src":"R0019835_thumb.JPG","galleries_id":104850,"server_id":1,"link":"photo_1863465.html","width":130,"caption":"Julie and Gugu on wires","height":88});
															thumbnails[1863590] = clik.newPhoto({"id":1863590,"src":"R0020589_thumb.JPG","galleries_id":104850,"server_id":1,"link":"photo_1863590.html","width":130,"caption":"Bristol Mudflats","height":88});
															thumbnails[1932634] = clik.newPhoto({"id":1932634,"src":"R0020778_thumb.jpg","galleries_id":104850,"server_id":1,"link":"photo_1932634.html","width":130,"caption":"Modern Day Iraq","height":163});
															thumbnails[2293599] = clik.newPhoto({"id":2293599,"src":"DSC_1466_thumb.jpg","galleries_id":137951,"server_id":1,"link":"photo_2293599.html","width":130,"caption":"EXT RUBBISH TIP","height":87});
															thumbnails[2353021] = clik.newPhoto({"id":2353021,"src":"DSC1582_thumb.jpg","galleries_id":137951,"server_id":1,"link":"photo_2353021.html","width":130,"caption":"EXT RUBBISH TIP","height":87});
															thumbnails[2353023] = clik.newPhoto({"id":2353023,"src":"DSC0067_thumb.jpg","galleries_id":137951,"server_id":1,"link":"photo_2353023.html","width":130,"caption":"EXT VILLAGE","height":84});
															thumbnails[2353031] = clik.newPhoto({"id":2353031,"src":"DSC0207_thumb.jpg","galleries_id":137951,"server_id":1,"link":"photo_2353031.html","width":130,"caption":"PETE 'MOVIE GUNS","height":87});
															thumbnails[2353040] = clik.newPhoto({"id":2353040,"src":"DSC0230_thumb.jpg","galleries_id":137951,"server_id":1,"link":"photo_2353040.html","width":130,"caption":"EXT VILLAGE","height":83});
															thumbnails[2353050] = clik.newPhoto({"id":2353050,"src":"DSC0232_thumb.jpg","galleries_id":137951,"server_id":1,"link":"photo_2353050.html","width":130,"caption":"CHI CHI","height":87});
															thumbnails[2353063] = clik.newPhoto({"id":2353063,"src":"DSC0324_thumb.jpg","galleries_id":137951,"server_id":1,"link":"photo_2353063.html","width":130,"caption":"EARLY MORNING BASE","height":87});
															thumbnails[2353064] = clik.newPhoto({"id":2353064,"src":"DSC0882_thumb.jpg","galleries_id":137951,"server_id":1,"link":"photo_2353064.html","width":130,"caption":"HOW TO SHOOT A HOT AIR BALLOON IN FLIGHT","height":81});
															thumbnails[2353067] = clik.newPhoto({"id":2353067,"src":"DSC0948_thumb.jpg","galleries_id":137951,"server_id":1,"link":"photo_2353067.html","width":130,"caption":"BUSH","height":79});
															thumbnails[2353073] = clik.newPhoto({"id":2353073,"src":"DSC1322_thumb.jpg","galleries_id":137951,"server_id":1,"link":"photo_2353073.html","width":130,"caption":"EXT BUSH SUNSET","height":92});
															thumbnails[2353077] = clik.newPhoto({"id":2353077,"src":"DSC2151_thumb.jpg","galleries_id":137951,"server_id":1,"link":"photo_2353077.html","width":130,"caption":"EXT FUNERAL","height":115});
															thumbnails[2353078] = clik.newPhoto({"id":2353078,"src":"DSC2187_thumb.jpg","galleries_id":137951,"server_id":1,"link":"photo_2353078.html","width":130,"caption":"EXT FUNERAL","height":193});
															thumbnails[2666772] = clik.newPhoto({"id":2666772,"src":"LD_thumb.2118.jpg","galleries_id":173680,"server_id":1,"link":"photo_2666772.html","width":130,"caption":"","height":87});
															thumbnails[2772401] = clik.newPhoto({"id":2772401,"src":"LD_thumb.2079.jpg","galleries_id":173680,"server_id":1,"link":"photo_2772401.html","width":130,"caption":"EXT CLENNAM HOUSE (Pinewood)","height":87});
															thumbnails[2772404] = clik.newPhoto({"id":2772404,"src":"R0010286_thumb.jpg","galleries_id":173680,"server_id":1,"link":"photo_2772404.html","width":130,"caption":"EXT LONDON STREETS (Pinewood)","height":92});
															thumbnails[2772441] = clik.newPhoto({"id":2772441,"src":"R0010482_thumb.jpg","galleries_id":173680,"server_id":1,"link":"photo_2772441.html","width":130,"caption":"INT CLENNAM HOUSE","height":156});
															thumbnails[2772456] = clik.newPhoto({"id":2772456,"src":"R0010716_thumb.jpg","galleries_id":173680,"server_id":1,"link":"photo_2772456.html","width":130,"caption":"INT MARSHALLSEA","height":88});
															thumbnails[2772475] = clik.newPhoto({"id":2772475,"src":"R0010731_thumb.jpg","galleries_id":173680,"server_id":1,"link":"photo_2772475.html","width":130,"caption":"EXT CLENNAM HOUSE","height":98});
															thumbnails[2772497] = clik.newPhoto({"id":2772497,"src":"R0011254_thumb.jpg","galleries_id":173680,"server_id":1,"link":"photo_2772497.html","width":130,"caption":"INT CARRIAGE TO FRANCE","height":84});
															thumbnails[2772511] = clik.newPhoto({"id":2772511,"src":"R0011306_thumb.jpg","galleries_id":173680,"server_id":1,"link":"photo_2772511.html","width":130,"caption":"EXT VENICE","height":98});
															thumbnails[2772517] = clik.newPhoto({"id":2772517,"src":"DSC_0201_thumb.jpg","galleries_id":173680,"server_id":1,"link":"photo_2772517.html","width":130,"caption":"EXT MARSHALLSEA","height":87});
															thumbnails[2772554] = clik.newPhoto({"id":2772554,"src":"DSC_0043_thumb.jpg","galleries_id":173680,"server_id":1,"link":"photo_2772554.html","width":130,"caption":"EXT VENICE","height":82});
															thumbnails[2772558] = clik.newPhoto({"id":2772558,"src":"DSC_0086_thumb.jpg","galleries_id":173680,"server_id":1,"link":"photo_2772558.html","width":130,"caption":"EXT VENICE","height":87});
															thumbnails[2939122] = clik.newPhoto({"id":2939122,"src":"stone-of-destiny-quad_thumb.jpg","galleries_id":92209,"server_id":1,"link":"photo_2939122.html","width":130,"caption":"Movie Poster - Release date Nov 2008","height":97});
															thumbnails[3243859] = clik.newPhoto({"id":3243859,"src":"Fix Andy_thumb.jpg","galleries_id":197954,"server_id":1,"link":"photo_3243859.html","width":130,"caption":"Andy Buchan as John Mercer. ","height":72});
															thumbnails[3243965] = clik.newPhoto({"id":3243965,"src":"DSC_0044_thumb.jpg","galleries_id":197954,"server_id":1,"link":"photo_3243965.html","width":130,"caption":"Afghanistan shooting","height":87});
															thumbnails[3255602] = clik.newPhoto({"id":3255602,"src":"R0011430_thumb.jpg","galleries_id":197954,"server_id":1,"link":"photo_3255602.html","width":130,"caption":"EXT DOCKS","height":98});
															thumbnails[3255608] = clik.newPhoto({"id":3255608,"src":"R0011440_thumb.jpg","galleries_id":197954,"server_id":1,"link":"photo_3255608.html","width":130,"caption":"EXT DOCKS","height":98});
															thumbnails[3255612] = clik.newPhoto({"id":3255612,"src":"R0011439_thumb.jpg","galleries_id":197954,"server_id":1,"link":"photo_3255612.html","width":130,"caption":"EXT DOCKS","height":79});
															thumbnails[3789119] = clik.newPhoto({"id":3789119,"src":"R0012273_thumb.jpg","galleries_id":230986,"server_id":1,"link":"photo_3789119.html","width":130,"caption":"","height":152});
															thumbnails[3789191] = clik.newPhoto({"id":3789191,"src":"DSC_0002_2_thumb.jpg","galleries_id":230986,"server_id":1,"link":"photo_3789191.html","width":130,"caption":"INT ROSSETTI'S GLASSHOUSE STUDIO","height":76});
															thumbnails[3789269] = clik.newPhoto({"id":3789269,"src":"DSC_00601_thumb.jpg","galleries_id":230986,"server_id":1,"link":"photo_3789269.html","width":130,"caption":"EXT BOATING LAKE","height":77});
															thumbnails[3789280] = clik.newPhoto({"id":3789280,"src":"DSC_0063_thumb.jpg","galleries_id":230986,"server_id":1,"link":"photo_3789280.html","width":130,"caption":"INT HUNT'S STUDIO","height":87});
															thumbnails[3789297] = clik.newPhoto({"id":3789297,"src":"DSC_0065_thumb.jpg","galleries_id":230986,"server_id":1,"link":"photo_3789297.html","width":130,"caption":"EXT CREMORNE GARDENS","height":78});
															thumbnails[3789307] = clik.newPhoto({"id":3789307,"src":"R0012200_thumb.jpg","galleries_id":230986,"server_id":1,"link":"photo_3789307.html","width":130,"caption":"EXT CREMORNE GARDENS","height":86});
															thumbnails[3789315] = clik.newPhoto({"id":3789315,"src":"DSC_0166_thumb.jpg","galleries_id":230986,"server_id":1,"link":"photo_3789315.html","width":130,"caption":"INT ROSSETTI'S","height":87});
															thumbnails[3789321] = clik.newPhoto({"id":3789321,"src":"DSC_0145_2_thumb.jpg","galleries_id":230986,"server_id":1,"link":"photo_3789321.html","width":130,"caption":"EXT CHURCH","height":81});
															thumbnails[3789325] = clik.newPhoto({"id":3789325,"src":"DSC_0225_thumb.jpg","galleries_id":230986,"server_id":1,"link":"photo_3789325.html","width":130,"caption":"INT CHURCH","height":82});
															thumbnails[3789573] = clik.newPhoto({"id":3789573,"src":"DSC_0377_thumb.jpg","galleries_id":230986,"server_id":1,"link":"photo_3789573.html","width":130,"caption":"INT WEDDING RECEPTION (Princelet Street)","height":87});
															thumbnails[3789577] = clik.newPhoto({"id":3789577,"src":"R0011890_thumb.jpg","galleries_id":230986,"server_id":1,"link":"photo_3789577.html","width":130,"caption":"INT CHOPHOUSE","height":68});
															thumbnails[3789584] = clik.newPhoto({"id":3789584,"src":"R0012282_thumb.jpg","galleries_id":230986,"server_id":1,"link":"photo_3789584.html","width":130,"caption":"INT ROSSETTI'S","height":117});
															thumbnails[3789592] = clik.newPhoto({"id":3789592,"src":"R0012327_thumb.jpg","galleries_id":230986,"server_id":1,"link":"photo_3789592.html","width":130,"caption":"EXT FUNERAL","height":173});
															thumbnails[3789598] = clik.newPhoto({"id":3789598,"src":"R0012320_thumb.jpg","galleries_id":230986,"server_id":1,"link":"photo_3789598.html","width":130,"caption":"INT ROSSETTI'S ","height":98});
															thumbnails[4377785] = clik.newPhoto({"id":4377785,"src":"photo-1_thumb.jpg","galleries_id":257091,"server_id":1,"link":"photo_4377785.html","width":130,"caption":"Ext Wasteland","height":74});
															thumbnails[4377805] = clik.newPhoto({"id":4377805,"src":"DSC_0065_1_thumb.jpg","galleries_id":257091,"server_id":1,"link":"photo_4377805.html","width":130,"caption":"MY LOVELY TEAM","height":87});
															thumbnails[4377811] = clik.newPhoto({"id":4377811,"src":"photo-5_thumb.jpg","galleries_id":257091,"server_id":1,"link":"photo_4377811.html","width":130,"caption":"INT GARAGE","height":173});
															thumbnails[4377813] = clik.newPhoto({"id":4377813,"src":"photo_thumb.jpg","galleries_id":257091,"server_id":1,"link":"photo_4377813.html","width":130,"caption":"EXT HOSPITAL","height":83});
															thumbnails[4377815] = clik.newPhoto({"id":4377815,"src":"R0012509_thumb.jpg","galleries_id":257091,"server_id":1,"link":"photo_4377815.html","width":130,"caption":"EXT SILVERTOWN","height":78});
															thumbnails[4377820] = clik.newPhoto({"id":4377820,"src":"R0012511_thumb.jpg","galleries_id":257091,"server_id":1,"link":"photo_4377820.html","width":130,"caption":"EXT SILVERTOWN","height":88});
															thumbnails[4377822] = clik.newPhoto({"id":4377822,"src":"R0012553_thumb.jpg","galleries_id":257091,"server_id":1,"link":"photo_4377822.html","width":130,"caption":"INT BARBICAN FLAT","height":98});
															thumbnails[4873277] = clik.newPhoto({"id":4873277,"src":"About_Me_for_Clik_thumb.jpg","galleries_id":278000,"server_id":1,"link":"photo_4873277.html","width":130,"caption":"Sierra Nevada, Spain","height":85});
															thumbnails[4873282] = clik.newPhoto({"id":4873282,"src":"Bungee_crop_2_thumb.jpg","galleries_id":278000,"server_id":1,"link":"photo_4873282.html","width":130,"caption":"New Zealand 2001","height":97});
															thumbnails[4873297] = clik.newPhoto({"id":4873297,"src":"DSC_0216_2_thumb.jpg","galleries_id":278000,"server_id":1,"link":"photo_4873297.html","width":130,"caption":"Fairy Pools, Skye","height":76});
															thumbnails[4873315] = clik.newPhoto({"id":4873315,"src":"DSC_0506_thumb.jpg","galleries_id":278000,"server_id":1,"link":"photo_4873315.html","width":130,"caption":"Wembley Again","height":87});
															thumbnails[4873323] = clik.newPhoto({"id":4873323,"src":"DSC_0616_thumb.jpg","galleries_id":278000,"server_id":1,"link":"photo_4873323.html","width":130,"caption":"Pyrenees Mountains","height":76});
															thumbnails[4873330] = clik.newPhoto({"id":4873330,"src":"DSC_3196_thumb.jpg","galleries_id":278000,"server_id":1,"link":"photo_4873330.html","width":130,"caption":"Kruger Park, South Africa","height":83});
															thumbnails[4873333] = clik.newPhoto({"id":4873333,"src":"Elstree_005_thumb.jpg","galleries_id":278000,"server_id":1,"link":"photo_4873333.html","width":130,"caption":"Manky My Cat","height":98});
															thumbnails[4873346] = clik.newPhoto({"id":4873346,"src":"FJR_goes_to_Wells_thumb.jpg","galleries_id":278000,"server_id":1,"link":"photo_4873346.html","width":130,"caption":"Wells Cathedral","height":97});
															thumbnails[4873349] = clik.newPhoto({"id":4873349,"src":"Guess_3_thumb.jpg","galleries_id":278000,"server_id":1,"link":"photo_4873349.html","width":130,"caption":"The Cob, Lyme Regis","height":173});
															thumbnails[4873363] = clik.newPhoto({"id":4873363,"src":"Lyme_2__2007_016_thumb.jpg","galleries_id":278000,"server_id":1,"link":"photo_4873363.html","width":130,"caption":"Lyme Bay","height":98});
															thumbnails[4873371] = clik.newPhoto({"id":4873371,"src":"Muffin_Time_thumb.jpg","galleries_id":278000,"server_id":1,"link":"photo_4873371.html","width":130,"caption":"Hawkes Bay, New Zealand","height":80});
															thumbnails[4873374] = clik.newPhoto({"id":4873374,"src":"Oscar_1_thumb.jpg","galleries_id":278000,"server_id":1,"link":"photo_4873374.html","width":130,"caption":"Oscar","height":195});
															thumbnails[4873376] = clik.newPhoto({"id":4873376,"src":"R0012035_thumb.jpg","galleries_id":278000,"server_id":1,"link":"photo_4873376.html","width":130,"caption":"Archie","height":84});
															thumbnails[5176933] = clik.newPhoto({"id":5176933,"src":"Skins_thumb.jpg","galleries_id":292331,"server_id":1,"link":"photo_5176933.html","width":130,"caption":"Skins Publicity Shot 2008","height":87});
															thumbnails[5177052] = clik.newPhoto({"id":5177052,"src":"DSC_0036_2-tiltshift_thumb.jpg","galleries_id":292331,"server_id":1,"link":"photo_5177052.html","width":130,"caption":"Thomas Running","height":79});
															thumbnails[5177091] = clik.newPhoto({"id":5177091,"src":"DSC_0138_thumb.jpg","galleries_id":292331,"server_id":1,"link":"photo_5177091.html","width":130,"caption":"Merv (Thomas) sleeps between set ups.","height":83});
															thumbnails[5177093] = clik.newPhoto({"id":5177093,"src":"DSC_0050_thumb.jpg","galleries_id":292331,"server_id":1,"link":"photo_5177093.html","width":130,"caption":"Ext Naomi's House","height":77});
															thumbnails[5177095] = clik.newPhoto({"id":5177095,"src":"DSC_0067_thumb.jpg","galleries_id":292331,"server_id":1,"link":"photo_5177095.html","width":130,"caption":"EXT PUB","height":79});
															thumbnails[5177099] = clik.newPhoto({"id":5177099,"src":"DSC_0192_thumb.jpg","galleries_id":292331,"server_id":1,"link":"photo_5177099.html","width":130,"caption":"INT NAOMI'S","height":87});
															thumbnails[5177101] = clik.newPhoto({"id":5177101,"src":"DSC_0198_thumb.jpg","galleries_id":292331,"server_id":1,"link":"photo_5177101.html","width":130,"caption":"INT NAOMI'S","height":83});
															thumbnails[5177104] = clik.newPhoto({"id":5177104,"src":"DSC_0229_thumb.jpg","galleries_id":292331,"server_id":1,"link":"photo_5177104.html","width":130,"caption":"INT FRED'S SHED","height":87});
															thumbnails[5177106] = clik.newPhoto({"id":5177106,"src":"DSC_0410_thumb.jpg","galleries_id":292331,"server_id":1,"link":"photo_5177106.html","width":130,"caption":"INT HOSPITAL","height":79});
															thumbnails[5177109] = clik.newPhoto({"id":5177109,"src":"DSC_0569_thumb.jpg","galleries_id":292331,"server_id":1,"link":"photo_5177109.html","width":130,"caption":"EXT HOSPITAL","height":74});
															thumbnails[5177112] = clik.newPhoto({"id":5177112,"src":"R0012768_thumb.jpg","galleries_id":292331,"server_id":1,"link":"photo_5177112.html","width":130,"caption":"INT CHURCH","height":135});
															thumbnails[5177113] = clik.newPhoto({"id":5177113,"src":"R0012781_thumb.jpg","galleries_id":292331,"server_id":1,"link":"photo_5177113.html","width":130,"caption":"INT LOO","height":120});
															thumbnails[5177117] = clik.newPhoto({"id":5177117,"src":"R0012819_thumb.jpg","galleries_id":292331,"server_id":1,"link":"photo_5177117.html","width":130,"caption":"INT HOUSE","height":88});
															thumbnails[5177120] = clik.newPhoto({"id":5177120,"src":"R0012826-tiltshift_thumb.jpg","galleries_id":292331,"server_id":1,"link":"photo_5177120.html","width":130,"caption":"EXT RIVER","height":161});
															thumbnails[5177123] = clik.newPhoto({"id":5177123,"src":"R0012899_thumb.jpg","galleries_id":292331,"server_id":1,"link":"photo_5177123.html","width":130,"caption":"INT CLUB","height":142});
															thumbnails[5718292] = clik.newPhoto({"id":5718292,"src":"DSC_0018_thumb.jpg","galleries_id":323857,"server_id":1,"link":"photo_5718292.html","width":130,"caption":"INT INCIDENT ROOM","height":81});
															thumbnails[5718409] = clik.newPhoto({"id":5718409,"src":"DSC_0031_thumb.jpg","galleries_id":323857,"server_id":1,"link":"photo_5718409.html","width":130,"caption":"EXT WHITECHAPEL","height":74});
															thumbnails[5718422] = clik.newPhoto({"id":5718422,"src":"DSC_0069_thumb.jpg","galleries_id":323857,"server_id":1,"link":"photo_5718422.html","width":130,"caption":"INT BOXING CLUB","height":76});
															thumbnails[5718489] = clik.newPhoto({"id":5718489,"src":"DSC_0093_thumb.jpg","galleries_id":323857,"server_id":1,"link":"photo_5718489.html","width":130,"caption":"INT GENTS","height":79});
															thumbnails[5718551] = clik.newPhoto({"id":5718551,"src":"R0013674_thumb.jpg","galleries_id":323857,"server_id":1,"link":"photo_5718551.html","width":130,"caption":"EXT POLICE STATION","height":81});
															thumbnails[5718571] = clik.newPhoto({"id":5718571,"src":"R0013702_thumb.jpg","galleries_id":323857,"server_id":1,"link":"photo_5718571.html","width":130,"caption":"INT INCIDENT ROOM","height":87});
															thumbnails[5718584] = clik.newPhoto({"id":5718584,"src":"R0013713_thumb.jpg","galleries_id":323857,"server_id":1,"link":"photo_5718584.html","width":130,"caption":"INT GENTS LOO","height":150});
															thumbnails[5723589] = clik.newPhoto({"id":5723589,"src":"R0013717_thumb.jpg","galleries_id":323857,"server_id":1,"link":"photo_5723589.html","width":130,"caption":"INT GENTS LOO","height":139});
															thumbnails[5723590] = clik.newPhoto({"id":5723590,"src":"R0013722_thumb.jpg","galleries_id":323857,"server_id":1,"link":"photo_5723590.html","width":130,"caption":"INT SHED","height":88});
															thumbnails[5723592] = clik.newPhoto({"id":5723592,"src":"R0013764_thumb.jpg","galleries_id":323857,"server_id":1,"link":"photo_5723592.html","width":130,"caption":"BLUE","height":173});
															thumbnails[5723594] = clik.newPhoto({"id":5723594,"src":"R0013781_thumb.jpg","galleries_id":323857,"server_id":1,"link":"photo_5723594.html","width":130,"caption":"EXT THAMES","height":80});
															thumbnails[5723597] = clik.newPhoto({"id":5723597,"src":"R0013838_thumb.jpg","galleries_id":323857,"server_id":1,"link":"photo_5723597.html","width":130,"caption":"INT PELLICI'S CAFE","height":85});
															thumbnails[5723599] = clik.newPhoto({"id":5723599,"src":"R0013854_thumb.jpg","galleries_id":323857,"server_id":1,"link":"photo_5723599.html","width":130,"caption":"EXT PRODUCTION OFFICE","height":88});
															thumbnails[5723631] = clik.newPhoto({"id":5723631,"src":"R0013932_thumb.jpg","galleries_id":323857,"server_id":1,"link":"photo_5723631.html","width":130,"caption":"INT CORRIDORS","height":108});
															thumbnails[5723633] = clik.newPhoto({"id":5723633,"src":"R0013903_thumb.jpg","galleries_id":323857,"server_id":1,"link":"photo_5723633.html","width":130,"caption":"INT GALLERY","height":89});
															thumbnails[5723634] = clik.newPhoto({"id":5723634,"src":"R0013900_thumb.jpg","galleries_id":323857,"server_id":1,"link":"photo_5723634.html","width":130,"caption":"INT SHOWER","height":88});
															thumbnails[5723639] = clik.newPhoto({"id":5723639,"src":"R0013857_thumb.jpg","galleries_id":323857,"server_id":1,"link":"photo_5723639.html","width":130,"caption":"INT CARPENTER'S ARMS PUB","height":88});
															thumbnails[5723642] = clik.newPhoto({"id":5723642,"src":"R0013892_thumb.jpg","galleries_id":323857,"server_id":1,"link":"photo_5723642.html","width":130,"caption":"INT SHOWER","height":88});
															thumbnails[5723644] = clik.newPhoto({"id":5723644,"src":"R0013863_thumb.jpg","galleries_id":323857,"server_id":1,"link":"photo_5723644.html","width":130,"caption":"INT CARPENTER'S ARMS","height":86});
															thumbnails[5775034] = clik.newPhoto({"id":5775034,"src":"Identity_Ad_thumb.jpg","galleries_id":257091,"server_id":1,"link":"photo_5775034.html","width":130,"caption":"FLYER","height":161});
															thumbnails[6683581] = clik.newPhoto({"id":6683581,"src":"R0011006_thumb.jpg","galleries_id":365052,"server_id":1,"link":"photo_6683581.html","width":130,"caption":"EXT STREET","height":150});
															thumbnails[6683584] = clik.newPhoto({"id":6683584,"src":"R0010923_thumb.jpg","galleries_id":365052,"server_id":1,"link":"photo_6683584.html","width":130,"caption":"INT FRANKY'S BEDROOM","height":88});
															thumbnails[6683587] = clik.newPhoto({"id":6683587,"src":"R0010963_thumb.jpg","galleries_id":365052,"server_id":1,"link":"photo_6683587.html","width":130,"caption":"INT BATHROOM","height":84});
															thumbnails[6683591] = clik.newPhoto({"id":6683591,"src":"R0011042_thumb.jpg","galleries_id":365052,"server_id":1,"link":"photo_6683591.html","width":130,"caption":"INT SCHOOL LOO","height":156});
															thumbnails[6683602] = clik.newPhoto({"id":6683602,"src":"R0011082_thumb.jpg","galleries_id":365052,"server_id":1,"link":"photo_6683602.html","width":130,"caption":"EXT LIDO","height":83});
															thumbnails[6683605] = clik.newPhoto({"id":6683605,"src":"R0011140_thumb.jpg","galleries_id":365052,"server_id":1,"link":"photo_6683605.html","width":130,"caption":"INT PARTY","height":133});
															thumbnails[6683609] = clik.newPhoto({"id":6683609,"src":"R0011365_thumb.jpg","galleries_id":365052,"server_id":1,"link":"photo_6683609.html","width":130,"caption":"EXT STREETS","height":82});
															thumbnails[6683618] = clik.newPhoto({"id":6683618,"src":"R0011406_thumb.jpg","galleries_id":365052,"server_id":1,"link":"photo_6683618.html","width":130,"caption":"EXT STREET","height":73});
															thumbnails[6683625] = clik.newPhoto({"id":6683625,"src":"R0011323_thumb.jpg","galleries_id":365052,"server_id":1,"link":"photo_6683625.html","width":130,"caption":"EXT ALCOHOLIC ABYSS","height":82});
															thumbnails[6683630] = clik.newPhoto({"id":6683630,"src":"R0011099_thumb.jpg","galleries_id":365052,"server_id":1,"link":"photo_6683630.html","width":130,"caption":"INT PARTY CORRIDOR","height":173});
															thumbnails[6912498] = clik.newPhoto({"id":6912498,"src":"game-of-thrones_pic_thumb.jpg","galleries_id":374990,"server_id":1,"link":"photo_6912498.html","width":130,"caption":"","height":75});
															thumbnails[7127893] = clik.newPhoto({"id":7127893,"src":"R0011445_thumb.jpg","galleries_id":385495,"server_id":1,"link":"photo_7127893.html","width":130,"caption":"EXT STREET","height":80});
															thumbnails[7127901] = clik.newPhoto({"id":7127901,"src":"R0011489_thumb.jpg","galleries_id":385495,"server_id":1,"link":"photo_7127901.html","width":130,"caption":"EXT 1980's","height":92});
															thumbnails[7127946] = clik.newPhoto({"id":7127946,"src":"R0011483_thumb.jpg","galleries_id":385495,"server_id":1,"link":"photo_7127946.html","width":130,"caption":"EXT FILMSET","height":98});
															thumbnails[7127951] = clik.newPhoto({"id":7127951,"src":"R0011503_thumb.jpg","galleries_id":385495,"server_id":1,"link":"photo_7127951.html","width":130,"caption":"INT STUDIO","height":73});
															thumbnails[7127954] = clik.newPhoto({"id":7127954,"src":"R0011514_thumb.jpg","galleries_id":385495,"server_id":1,"link":"photo_7127954.html","width":130,"caption":"EXT SQUARE","height":85});
															thumbnails[7127955] = clik.newPhoto({"id":7127955,"src":"R0011464_thumb.jpg","galleries_id":385495,"server_id":1,"link":"photo_7127955.html","width":130,"caption":"EXT FILMSET","height":85});
															thumbnails[7681836] = clik.newPhoto({"id":7681836,"src":"R0011811_thumb.jpg","galleries_id":416008,"server_id":1,"link":"photo_7681836.html","width":130,"caption":"INT BODY FARM","height":98});
															thumbnails[7681840] = clik.newPhoto({"id":7681840,"src":"R0011936_thumb.jpg","galleries_id":416008,"server_id":1,"link":"photo_7681840.html","width":130,"caption":"INT BIOSPHERE","height":90});
															thumbnails[7681842] = clik.newPhoto({"id":7681842,"src":"R0011898_thumb.jpg","galleries_id":416008,"server_id":1,"link":"photo_7681842.html","width":130,"caption":"EXT TOWER BLOCK","height":88});
															thumbnails[7681843] = clik.newPhoto({"id":7681843,"src":"R0011882_thumb.jpg","galleries_id":416008,"server_id":1,"link":"photo_7681843.html","width":130,"caption":"INT BODY FARM","height":81});
															thumbnails[7681850] = clik.newPhoto({"id":7681850,"src":"R0011776_thumb.jpg","galleries_id":416008,"server_id":1,"link":"photo_7681850.html","width":130,"caption":"EXT WOOD","height":98});
															thumbnails[7681857] = clik.newPhoto({"id":7681857,"src":"R0011757_thumb.jpg","galleries_id":416008,"server_id":1,"link":"photo_7681857.html","width":130,"caption":"EXT BODY FARM","height":136});
															thumbnails[7681859] = clik.newPhoto({"id":7681859,"src":"R0011694_thumb.jpg","galleries_id":416008,"server_id":1,"link":"photo_7681859.html","width":130,"caption":"EXT PENTONS","height":86});
															thumbnails[7681866] = clik.newPhoto({"id":7681866,"src":"R0011623_thumb.jpg","galleries_id":416008,"server_id":1,"link":"photo_7681866.html","width":130,"caption":"INT BATHROOM","height":150});
															thumbnails[7681870] = clik.newPhoto({"id":7681870,"src":"R0011668_thumb.jpg","galleries_id":416008,"server_id":1,"link":"photo_7681870.html","width":130,"caption":"INT HALL","height":88});
															thumbnails[8335804] = clik.newPhoto({"id":8335804,"src":"MD_TITLE_thumb.jpg","galleries_id":443041,"server_id":1,"link":"photo_8335804.html","width":130,"caption":"EXT DUSTY ROAD (One of many)","height":85});
															thumbnails[8335810] = clik.newPhoto({"id":8335810,"src":"R0012645_thumb.jpg","galleries_id":443041,"server_id":1,"link":"photo_8335810.html","width":130,"caption":"EXT SAN ANTONIO","height":83});
															thumbnails[8335815] = clik.newPhoto({"id":8335815,"src":"R0013002_thumb.jpg","galleries_id":443041,"server_id":1,"link":"photo_8335815.html","width":130,"caption":"EXT SAN ANTONIO (aka Shagaluf)","height":112});
															thumbnails[8335816] = clik.newPhoto({"id":8335816,"src":"DSC_0055_thumb.jpg","galleries_id":443041,"server_id":1,"link":"photo_8335816.html","width":130,"caption":"EXT DUSTY ROAD","height":79});
															thumbnails[8335817] = clik.newPhoto({"id":8335817,"src":"DSC_0153_thumb.jpg","galleries_id":443041,"server_id":1,"link":"photo_8335817.html","width":130,"caption":"EXT STREET","height":77});
															thumbnails[8335820] = clik.newPhoto({"id":8335820,"src":"DSC_0509_thumb.jpg","galleries_id":443041,"server_id":1,"link":"photo_8335820.html","width":130,"caption":"EXT MOUNTAIN ROAD","height":74});
															thumbnails[8335843] = clik.newPhoto({"id":8335843,"src":"R0012439_thumb.jpg","galleries_id":443041,"server_id":1,"link":"photo_8335843.html","width":130,"caption":"EXT SAN ANTONIO","height":87});
															thumbnails[8335877] = clik.newPhoto({"id":8335877,"src":"R0012608_thumb.jpg","galleries_id":443041,"server_id":1,"link":"photo_8335877.html","width":130,"caption":"EXT GARDEN","height":133});
															thumbnails[8335935] = clik.newPhoto({"id":8335935,"src":"R0013259_thumb.jpg","galleries_id":443041,"server_id":1,"link":"photo_8335935.html","width":130,"caption":"EXT MOUNTAIN ROAD","height":83});
															thumbnails[8335936] = clik.newPhoto({"id":8335936,"src":"R0013369_thumb.jpg","galleries_id":443041,"server_id":1,"link":"photo_8335936.html","width":130,"caption":"EXT VILLAGE","height":80});
															thumbnails[8335939] = clik.newPhoto({"id":8335939,"src":"R0013170_thumb.jpg","galleries_id":443041,"server_id":1,"link":"photo_8335939.html","width":130,"caption":"INT CHURCH","height":80});
															thumbnails[8335969] = clik.newPhoto({"id":8335969,"src":"R0012926_thumb.jpg","galleries_id":443041,"server_id":1,"link":"photo_8335969.html","width":130,"caption":"EXT CAMP SITE","height":87});
															thumbnails[8336009] = clik.newPhoto({"id":8336009,"src":"R0012749_thumb.jpg","galleries_id":443041,"server_id":1,"link":"photo_8336009.html","width":130,"caption":"FLIGHT HOME FROM IBIZA","height":77});
															thumbnails[8765402] = clik.newPhoto({"id":8765402,"src":"R0013640_thumb.jpg","galleries_id":461474,"server_id":1,"link":"photo_8765402.html","width":130,"caption":"POLAR ZOO","height":88});
															thumbnails[8765405] = clik.newPhoto({"id":8765405,"src":"R0013632_thumb.jpg","galleries_id":461474,"server_id":1,"link":"photo_8765405.html","width":130,"caption":"EXT AIRPORT","height":63});
															thumbnails[8765411] = clik.newPhoto({"id":8765411,"src":"R0013628_thumb.jpg","galleries_id":461474,"server_id":1,"link":"photo_8765411.html","width":130,"caption":"HUSKY RECCE","height":71});
															thumbnails[8765413] = clik.newPhoto({"id":8765413,"src":"R0013595_thumb.jpg","galleries_id":461474,"server_id":1,"link":"photo_8765413.html","width":130,"caption":"INT BAR","height":80});
															thumbnails[8765416] = clik.newPhoto({"id":8765416,"src":"R0013580_thumb.jpg","galleries_id":461474,"server_id":1,"link":"photo_8765416.html","width":130,"caption":"INT EILEEN'S BEDROOM","height":72});
															thumbnails[8765421] = clik.newPhoto({"id":8765421,"src":"R0013547_thumb.jpg","galleries_id":461474,"server_id":1,"link":"photo_8765421.html","width":130,"caption":"INT BUS","height":76});
															thumbnails[8765427] = clik.newPhoto({"id":8765427,"src":"IMG_0099_thumb.jpg","galleries_id":461474,"server_id":1,"link":"photo_8765427.html","width":130,"caption":"EXT SAMI CAMP","height":85});
															thumbnails[8765450] = clik.newPhoto({"id":8765450,"src":"Overbygd_in_snow_thumb.jpg","galleries_id":461474,"server_id":1,"link":"photo_8765450.html","width":130,"caption":"OVERBYGD","height":87});
															thumbnails[8765462] = clik.newPhoto({"id":8765462,"src":"DSC_0565_thumb.jpg","galleries_id":461474,"server_id":1,"link":"photo_8765462.html","width":130,"caption":"EXT COUNTRYSIDE","height":74});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[461474] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"LAPLAND (BBC ONE 2011)","link":"gallery_461474.html","maxRecords":0.0,"photoIDs":[8765402.0,8765405.0,8765411.0,8765413.0,8765416.0,8765421.0,8765427.0,8765450.0,8765462.0],"skipIndex":0,"section_code":"gallery","featured_images":"8765462,8765450,8765427,8765421,8765416,8765413,8765411,8765405,8765402","id":461474,"singleSection":false});				  						galleries[443041] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"MAD DOGS II (Left Bank 2011)","link":"gallery_443041.html","maxRecords":0.0,"photoIDs":[8335804.0,8335810.0,8335815.0,8335816.0,8335817.0,8335820.0,8335843.0,8335877.0,8335935.0,8335936.0,8335939.0,8335969.0,8336009.0],"skipIndex":0,"section_code":"gallery","featured_images":"8336009,8335969,8335939,8335936,8335935,8335877,8335843,8335820,8335817,8335816","id":443041,"singleSection":false});				  						galleries[416008] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"BODY FARM (BBC 2011)","link":"gallery_416008.html","maxRecords":0.0,"photoIDs":[7681836.0,7681840.0,7681842.0,7681843.0,7681850.0,7681857.0,7681859.0,7681866.0,7681870.0],"skipIndex":0,"section_code":"gallery","featured_images":"7681870,7681866,7681859,7681857,7681850,7681843,7681842,7681840,7681836","id":416008,"singleSection":false});				  						galleries[385495] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"DOCUMENTAL (HBO 2010)","link":"gallery_385495.html","maxRecords":0.0,"photoIDs":[7127893.0,7127901.0,7127946.0,7127951.0,7127954.0,7127955.0],"skipIndex":0,"section_code":"gallery","featured_images":"7127955,7127954,7127951,7127946,7127901,7127893","id":385495,"singleSection":false});				  						galleries[374990] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"GAME OF THRONES (HBO 2010) ","link":"gallery_374990.html","maxRecords":0.0,"photoIDs":[6912498.0],"skipIndex":0,"section_code":"gallery","featured_images":6912498.0,"id":374990,"singleSection":false});				  						galleries[365052] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"SKINS 5 (COMPANY PICTURES 2010)","link":"gallery_365052.html","maxRecords":0.0,"photoIDs":[6683581.0,6683584.0,6683587.0,6683591.0,6683602.0,6683605.0,6683609.0,6683618.0,6683625.0,6683630.0],"skipIndex":0,"section_code":"gallery","featured_images":"6683630,6683625,6683618,6683609,6683605,6683602,6683591,6683587,6683584,6683581","id":365052,"singleSection":false});				  						galleries[323857] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"WHITECHAPEL II (CARNIVAL 2010)","link":"gallery_323857.html","maxRecords":0.0,"photoIDs":[5718292.0,5718409.0,5718422.0,5718489.0,5718551.0,5718571.0,5718584.0,5723589.0,5723590.0,5723592.0,5723594.0,5723597.0,5723599.0,5723631.0,5723633.0,5723634.0,5723639.0,5723642.0,5723644.0],"skipIndex":0,"section_code":"gallery","featured_images":"5723644,5723642,5723639,5723634,5723633,5723631,5723599,5723597,5723594,5723592","id":323857,"singleSection":false});				  						galleries[292331] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"SKINS 4 (COMPANY PICTURES 2009)","link":"gallery_292331.html","maxRecords":0.0,"photoIDs":[5176933.0,5177052.0,5177091.0,5177093.0,5177095.0,5177099.0,5177101.0,5177104.0,5177106.0,5177109.0,5177112.0,5177113.0,5177117.0,5177120.0,5177123.0],"skipIndex":0,"section_code":"gallery","featured_images":"5177123,5177120,5177117,5177113,5177112,5177109,5177106,5177104,5177101,5177099","id":292331,"singleSection":false});				  						galleries[257091] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"IDENTITY (ITV 2009)","link":"gallery_257091.html","maxRecords":0.0,"photoIDs":[4377785.0,4377805.0,4377811.0,4377813.0,4377815.0,4377820.0,4377822.0,5775034.0],"skipIndex":0,"section_code":"gallery","featured_images":"5775034,4377822,4377820,4377815,4377813,4377811,4377805,4377785","id":257091,"singleSection":false});				  						galleries[230986] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"DESPERATE ROMANTICS (BBC 2009)","link":"gallery_230986.html","maxRecords":0.0,"photoIDs":[3789119.0,3789191.0,3789269.0,3789280.0,3789297.0,3789307.0,3789315.0,3789321.0,3789325.0,3789573.0,3789577.0,3789584.0,3789592.0,3789598.0],"skipIndex":0,"section_code":"gallery","featured_images":3789119.0,"id":230986,"singleSection":false});				  						galleries[197954] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"THE FIXER (KUDOS 2008)","link":"gallery_197954.html","maxRecords":0.0,"photoIDs":[3243859.0,3243965.0,3255602.0,3255608.0,3255612.0],"skipIndex":0,"section_code":"gallery","featured_images":3243859.0,"id":197954,"singleSection":false});				  						galleries[173680] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"LITTLE DORRIT  (BBC Mini Series 2008)","link":"gallery_173680.html","maxRecords":0.0,"photoIDs":[2666772.0,2772401.0,2772404.0,2772441.0,2772456.0,2772475.0,2772497.0,2772511.0,2772517.0,2772554.0,2772558.0],"skipIndex":0,"section_code":"gallery","featured_images":"2772558,2772554,2772517,2772511,2772497,2772475,2772456,2772441,2772404,2772401","id":173680,"singleSection":false});				  						galleries[137951] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"SILENT WITNESS - SOUTH AFRICA 2008","link":"gallery_137951.html","maxRecords":0.0,"photoIDs":[2293599.0,2353021.0,2353023.0,2353031.0,2353040.0,2353050.0,2353063.0,2353064.0,2353067.0,2353073.0,2353077.0,2353078.0],"skipIndex":0,"section_code":"gallery","featured_images":2353078.0,"id":137951,"singleSection":false});				  						galleries[104850] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"BONEKICKERS (BBC 2007\/08)","link":"gallery_104850.html","maxRecords":0.0,"photoIDs":[1863348.0,1863358.0,1863365.0,1863443.0,1863447.0,1863465.0,1863590.0,1932634.0],"skipIndex":0,"section_code":"gallery","featured_images":1863443.0,"id":104850,"singleSection":false});				  						galleries[93640] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"DOCTOR WHO (BBC 2007)","link":"gallery_93640.html","maxRecords":0.0,"photoIDs":[1329185.0,1528908.0,1529195.0,1529207.0,1529215.0,1529222.0,1529456.0,1529477.0],"skipIndex":0,"section_code":"gallery","featured_images":1329185.0,"id":93640,"singleSection":false});				  						galleries[92209] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"STONE OF DESTINY (35mm FEATURE 2007)","link":"gallery_92209.html","maxRecords":0.0,"photoIDs":[1312532.0,1312710.0,1313033.0,1313134.0,1313147.0,1313178.0,1313216.0,2939122.0],"skipIndex":0,"section_code":"gallery","featured_images":2939122.0,"id":92209,"singleSection":false});				  						galleries[92250] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"ELTON JOHN: ME MYSELF AND I (ITV 2007)","link":"gallery_92250.html","maxRecords":0.0,"photoIDs":[1301375.0,1311653.0,1313365.0,1313447.0,1313476.0,1313481.0],"skipIndex":0,"section_code":"gallery","featured_images":1301375.0,"id":92250,"singleSection":false});				  						galleries[92785] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"THE COMMANDER (TV 2007)","link":"gallery_92785.html","maxRecords":0.0,"photoIDs":[1311623.0,1311637.0,1311643.0,1311649.0,1313646.0],"skipIndex":0,"section_code":"gallery","featured_images":1311623.0,"id":92785,"singleSection":false});				  						galleries[92212] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"FIVE DAYS (BBC 2006)","link":"gallery_92212.html","maxRecords":0.0,"photoIDs":[1300635.0,1311657.0,1313662.0,1313665.0,1313670.0,1313718.0,1313722.0,1313728.0,1313734.0,1313741.0,1320639.0,1329196.0],"skipIndex":0,"section_code":"gallery","featured_images":1329196.0,"id":92212,"singleSection":false});				  						galleries[92963] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"FOYLE'S WAR (TV 2006)","link":"gallery_92963.html","maxRecords":0.0,"photoIDs":[1315317.0,1315321.0,1315334.0,1315335.0,1315338.0],"skipIndex":0,"section_code":"gallery","featured_images":1315317.0,"id":92963,"singleSection":false});				  						galleries[278000] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"ABOUT ME","link":"gallery_278000.html","maxRecords":0.0,"photoIDs":[4873277.0,4873282.0,4873297.0,4873315.0,4873323.0,4873330.0,4873333.0,4873346.0,4873349.0,4873363.0,4873371.0,4873374.0,4873376.0],"skipIndex":0,"section_code":"gallery","featured_images":"4873376,4873374,4873371,4873363,4873349,4873346,4873333,4873330,4873323,4873315","id":278000,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '5176933,3789598,3789573,3789307,3255612,3243965,2939122,2772475,2772401,2353073,2353067,2353063,2353023,1863590,1863447,1863348,1529477,1529222,1529207,1329196,1313741,1313718';
imageSets[2] = '3789119,3243859,2939122,2353078,1863443,1329196,1329185,1315317,1311623,1301375';
imageSets[3] = '3789598,3789573,3789307';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/jamesblackwell/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/jamesblackwell/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/jamesblackwell/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/jamesblackwell/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/jamesblackwell/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/jamesblackwell/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/jamesblackwell/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/jamesblackwell/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/jamesblackwell/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/jamesblackwell/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/jamesblackwell/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/jamesblackwell/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/jamesblackwell/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/jamesblackwell/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/jamesblackwell/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/jamesblackwell/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/jamesblackwell/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/jamesblackwell/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/jamesblackwell/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/jamesblackwell/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/jamesblackwell/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/jamesblackwell/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/jamesblackwell/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/jamesblackwell/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/jamesblackwell/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/jamesblackwell/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/jamesblackwell/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 = 'James Blackwell - First Assistant: ' + 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> ' + (this.item_price).toFixed(2) + '</div>';
		var item_name  = this.purchase_instruction;
		var amount = (this.item_price).toFixed(2);
		var item_option  = 0;
	}
		else {
		
	}
	if (this.item_price !== '') {
			temp += '<div class="clearing">&nbsp;</div>';
	}
	return temp;};

/***************************************************************************
* Pick a photo at random from the featured images of a gallery.            *
* Gallery_id = id of gallery to choose,                                    *
* img = reference to html image in                                         *
* which to show image                                                      *
***************************************************************************/
function showGalleryImage(gallery_id, img, updateLink) {
	
	if(img){
		if (location.hash.match('galleries_id=' + gallery_id) && (imageID = location.hash.match('.*photos_id=(.+)$'))) {
		  	imageID = imageID[1];
		} else {
		  	imageID = randomListVal(galleries[gallery_id].featured_images);
		}
		
		if (imageID != 0) {
			img.src = thumbnails[imageID].src;
			img.width = thumbnails[imageID].width;
			img.height = thumbnails[imageID].height;
			img.alt = galleries[gallery_id].title;
			if (updateLink) {
				$(img).parent().attr({					title: galleries[gallery_id].title				}).filter(function(){return this.href;}).attr({					href: thumbnails[imageID].fnGalleryLink(gallery_id)				});
			}
		}
	}
}

/***************************************************************************
* If we have dynamic HTML, replace the galleries link with a list that     *
* doesn't include thecurrent gallery                                       *
***************************************************************************/
function showGalleries(gallery_id) {
		
	
	if (!basic) {
		temp = '';
		for (i = 0; i < galleries.length; i++) {
						
			
			if (galleries[i].id != gallery_id) {
								
				if (temp != '') {
					temp += ' | ';
				}
								temp += '<a href="' + galleries[i].section_code + '_' + galleries[i].id + '.html">' + galleries[i].title + '</a>';
							}
		}
		document.all.galleryLinks.innerHTML = 'Other galleries: ' + temp;
	}
}

			

