window.thumbnails = new Object();
												thumbnails[570827] = new thumbnail(570827,'','Bridlington Harbour,Flamborough Head,Heritage Coastline,Venice','Home-page-Brid-and-Beyond_thumb.jpg',130, 91,18,'#');
												thumbnails[3128632] = new thumbnail(3128632,'44083','Sunrise Bridlington','CSUN-01_thumb.jpg',130, 175,18,'photo_3128632.html');
												thumbnails[571041] = new thumbnail(571041,'44066','Bridlington Harbour','BHAR-01_thumb.jpg',130, 190,18,'photo_571041.html');
												thumbnails[572850] = new thumbnail(572850,'44067','South Beach, Bridlington','BBEA-01_thumb.jpg',130, 52,18,'photo_572850.html');
												thumbnails[572886] = new thumbnail(572886,'44077','Bridlington Priory Church','BOLD-01_thumb.jpg',130, 173,18,'photo_572886.html');
												thumbnails[572904] = new thumbnail(572904,'44080','Bridlington','BRID-01_thumb.jpg',130, 98,18,'photo_572904.html');
												thumbnails[572916] = new thumbnail(572916,'44081','High Tide','HIGH-01_thumb.jpg',130, 93,18,'photo_572916.html');
												thumbnails[572992] = new thumbnail(572992,'44084','Snow on South Beach','SNOW-01_thumb.jpg',130, 99,18,'photo_572992.html');
												thumbnails[573017] = new thumbnail(573017,'44086','Sewerby Hall','SEWB-01_thumb.jpg',130, 173,18,'photo_573017.html');
												thumbnails[573035] = new thumbnail(573035,'44087','Burton Agnes Hall','BURT-01_thumb.jpg',130, 98,18,'photo_573035.html');
												thumbnails[573042] = new thumbnail(573042,'44092','Flamborough Headland','HERT-01_thumb.jpg',130, 173,18,'photo_573042.html');
												thumbnails[573084] = new thumbnail(573084,'44095','Filey Brigg','FILE-01_thumb.jpg',130, 98,18,'photo_573084.html');
												thumbnails[573096] = new thumbnail(573096,'44097','South Bay ','SCAR-01_thumb.jpg',130, 52,18,'photo_573096.html');
												thumbnails[573115] = new thumbnail(573115,'44247','Top of Milham Dale','WOLD-01_thumb.jpg',130, 98,18,'photo_573115.html');
												thumbnails[573132] = new thumbnail(573132,'44100','Durham Cathedral','DURH-01_thumb.jpg',130, 173,18,'photo_573132.html');
												thumbnails[573142] = new thumbnail(573142,'44101','Cathedral Church of St Nickolas','NEWC-01_thumb.jpg',130, 173,18,'photo_573142.html');
												thumbnails[573152] = new thumbnail(573152,'44104','The Seaward Kaikoura Ranges','NEWZ-01_thumb.jpg',130, 52,18,'photo_573152.html');
												thumbnails[573170] = new thumbnail(573170,'44105','Campanile and Palazzo Ducale','VENI-01_thumb.jpg',130, 173,18,'photo_573170.html');
												thumbnails[573176] = new thumbnail(573176,'44106','Rose','FLOR-01_thumb.jpg',130, 130,18,'photo_573176.html');
												thumbnails[1324773] = new thumbnail(1324773,'93479','Winter Sculpture 1','JUNG-01_thumb.jpg',130, 130,18,'photo_1324773.html');
												thumbnails[1324892] = new thumbnail(1324892,'93482','French Windows','ROUS-01_thumb.jpg',130, 190,18,'photo_1324892.html');
												thumbnails[1332824] = new thumbnail(1332824,'93817','Gulls in Bridlington Harbour','WILD-01_thumb.jpg',130, 173,18,'photo_1332824.html');
												thumbnails[2613852] = new thumbnail(2613852,'165958','Sirmione','GARD-01_thumb.jpg',130, 98,18,'photo_2613852.html');
												thumbnails[570829] = new thumbnail(570829,'44065','Bridlington Harbour','SPEC-01_thumb.jpg',130, 130,18,'photo_570829.html');
												thumbnails[571045] = new thumbnail(571045,'44066','Bridlington Harbour','BHAR-02_thumb.jpg',130, 98,18,'photo_571045.html');
												thumbnails[572851] = new thumbnail(572851,'44067','North Beach, Bridlington','BBEA-02_thumb.jpg',130, 52,18,'photo_572851.html');
												thumbnails[572889] = new thumbnail(572889,'44077','West Window','BOLD-02_thumb.jpg',130, 98,18,'photo_572889.html');
												thumbnails[572905] = new thumbnail(572905,'44080','Bridlington','BRID-02_thumb.jpg',130, 98,18,'photo_572905.html');
												thumbnails[572917] = new thumbnail(572917,'44081','High Tide','HIGH-02_thumb.jpg',130, 93,18,'photo_572917.html');
												thumbnails[572979] = new thumbnail(572979,'44083','Sunrise, Bridlington','CSUN-02_thumb.jpg',130, 93,18,'photo_572979.html');
												thumbnails[572994] = new thumbnail(572994,'44084','Beach Huts in Winter','SNOW-02_thumb.jpg',130, 94,18,'photo_572994.html');
												thumbnails[573019] = new thumbnail(573019,'44086','Sewerby Hall','SEWB-02_thumb.jpg',130, 95,18,'photo_573019.html');
												thumbnails[573037] = new thumbnail(573037,'44087','Burton Agnes Gatehouse','BURT-02_thumb.jpg',130, 98,18,'photo_573037.html');
												thumbnails[573043] = new thumbnail(573043,'44092','Cathedral Window','HERT-02_thumb.jpg',130, 98,18,'photo_573043.html');
												thumbnails[573086] = new thumbnail(573086,'44095','Filey Brigg','FILE-02_thumb.jpg',130, 52,18,'photo_573086.html');
												thumbnails[573097] = new thumbnail(573097,'44097','South Bay, Scarborough','SCAR-02_thumb.jpg',130, 52,18,'photo_573097.html');
												thumbnails[573116] = new thumbnail(573116,'44247','Painsthorpe Wold','WOLD-02_thumb.jpg',130, 98,18,'photo_573116.html');
												thumbnails[573133] = new thumbnail(573133,'44100','View from Grey College','DURH-02_thumb.jpg',130, 184,18,'photo_573133.html');
												thumbnails[573144] = new thumbnail(573144,'44101','Castle Keep, Newcastle','NEWC-02_thumb.jpg',130, 169,18,'photo_573144.html');
												thumbnails[573154] = new thumbnail(573154,'44104','Kaikoura Sunrise','NEWZ-02_thumb.jpg',130, 98,18,'photo_573154.html');
												thumbnails[573171] = new thumbnail(573171,'44105','Grand Canal','VENI-02_thumb.jpg',130, 173,18,'photo_573171.html');
												thumbnails[573177] = new thumbnail(573177,'44106','Butchart Gardens','FLOR-02_thumb.jpg',130, 98,18,'photo_573177.html');
												thumbnails[1324778] = new thumbnail(1324778,'93479','Winter Sculpture 2','JUNG-02_thumb.jpg',130, 130,18,'photo_1324778.html');
												thumbnails[1324895] = new thumbnail(1324895,'93482','Amelie-les-Bains','ROUS-02_thumb.jpg',130, 308,18,'photo_1324895.html');
												thumbnails[1332826] = new thumbnail(1332826,'93817','Over The Sea','WILD-02_thumb.jpg',130, 130,18,'photo_1332826.html');
												thumbnails[2613853] = new thumbnail(2613853,'165958','Window at Simione','GARD-02_thumb.jpg',130, 173,18,'photo_2613853.html');
												thumbnails[570830] = new thumbnail(570830,'44065','Pebbles','SPEC-02_thumb.jpg',130, 98,18,'photo_570830.html');
												thumbnails[571046] = new thumbnail(571046,'44066','Bridlington Harbour','BHAR-03_thumb.jpg',130, 98,18,'photo_571046.html');
												thumbnails[572852] = new thumbnail(572852,'44067','South Beach, Bridlington','BBEA-03_thumb.jpg',130, 42,18,'photo_572852.html');
												thumbnails[572890] = new thumbnail(572890,'44077','West Window','BOLD-03_thumb.jpg',130, 173,18,'photo_572890.html');
												thumbnails[572906] = new thumbnail(572906,'44080','Bridlington','BRID-03_thumb.jpg',130, 98,18,'photo_572906.html');
												thumbnails[572918] = new thumbnail(572918,'44081','High Tide','HIGH-03_thumb.jpg',130, 130,18,'photo_572918.html');
												thumbnails[572980] = new thumbnail(572980,'44083','Sunrise, Bridlington','CSUN-03_thumb.jpg',130, 52,18,'photo_572980.html');
												thumbnails[572995] = new thumbnail(572995,'44084','Sewerby Cliffs to Flamborough Head','SNOW-03_thumb.jpg',130, 52,18,'photo_572995.html');
												thumbnails[573021] = new thumbnail(573021,'44086','Walled Garden, Sewerby','SEWB-03_thumb.jpg',130, 98,18,'photo_573021.html');
												thumbnails[573038] = new thumbnail(573038,'44087','Blossom at Burton Agnes','BURT-03_thumb.jpg',130, 170,18,'photo_573038.html');
												thumbnails[573044] = new thumbnail(573044,'44092','Flamborough Head','HERT-03_thumb.jpg',130, 96,18,'photo_573044.html');
												thumbnails[573089] = new thumbnail(573089,'44095','Cayton Bay','CAYT-01_thumb.jpg',130, 98,18,'photo_573089.html');
												thumbnails[573101] = new thumbnail(573101,'44097','Scarborough','SCAR-03_thumb.jpg',130, 98,18,'photo_573101.html');
												thumbnails[573120] = new thumbnail(573120,'44247','Roman Road','WOLD-03_thumb.jpg',130, 173,18,'photo_573120.html');
												thumbnails[573135] = new thumbnail(573135,'44100','Reflection of Durham Cathedral','DURH-03_thumb.jpg',130, 163,18,'photo_573135.html');
												thumbnails[573146] = new thumbnail(573146,'44101','The Black Gate','NEWC-03_thumb.jpg',130, 173,18,'photo_573146.html');
												thumbnails[573156] = new thumbnail(573156,'44104','Where Mountains meet Sea','NEWZ-03_thumb.jpg',130, 98,18,'photo_573156.html');
												thumbnails[573178] = new thumbnail(573178,'44106','Poppies on Sewerby Cliffs','FLOR-03_thumb.jpg',130, 98,18,'photo_573178.html');
												thumbnails[676379] = new thumbnail(676379,'44105','Carnival Masks','VENI-032_thumb.jpg',130, 130,18,'photo_676379.html');
												thumbnails[1324779] = new thumbnail(1324779,'93479','Winter Sculpture 3','JUNG-03_thumb.jpg',130, 130,18,'photo_1324779.html');
												thumbnails[1324898] = new thumbnail(1324898,'93482','Collioure','ROUS-03_thumb.jpg',130, 75,18,'photo_1324898.html');
												thumbnails[1332827] = new thumbnail(1332827,'93817','A Driffield Duck','WILD-03_thumb.jpg',130, 98,18,'photo_1332827.html');
												thumbnails[2613855] = new thumbnail(2613855,'165958','Window at Sirmione','GARD-03_thumb.jpg',130, 173,18,'photo_2613855.html');
												thumbnails[3128373] = new thumbnail(3128373,'44095','Filey','FILE-03_thumb.jpg',130, 35,18,'photo_3128373.html');
												thumbnails[3128380] = new thumbnail(3128380,'44095','Filey Bay','FILE-04_thumb.jpg',130, 46,18,'photo_3128380.html');
												thumbnails[3128383] = new thumbnail(3128383,'44095','Filey Bay from Hunmanby Gap','FILE-05-SMALL_thumb.jpg',130, 17,18,'photo_3128383.html');
												thumbnails[570969] = new thumbnail(570969,'44065','On the Beach','SPEC-03_thumb.jpg',130, 130,18,'photo_570969.html');
												thumbnails[571049] = new thumbnail(571049,'44066','Bridlington Harbour','BHAR-04_thumb.jpg',130, 52,18,'photo_571049.html');
												thumbnails[572853] = new thumbnail(572853,'44067','North Beach, Bridlington','BBEA-04_thumb.jpg',130, 52,18,'photo_572853.html');
												thumbnails[572891] = new thumbnail(572891,'44077','Bridlington Priory Church','BOLD-04_thumb.jpg',130, 97,18,'photo_572891.html');
												thumbnails[572907] = new thumbnail(572907,'44080','Bridlington','BRID-04_thumb.jpg',130, 98,18,'photo_572907.html');
												thumbnails[572920] = new thumbnail(572920,'44081','Winter Tide','HIGH-04_thumb.jpg',130, 99,18,'photo_572920.html');
												thumbnails[572982] = new thumbnail(572982,'44083','East Coast Sunrise','CSUN-04_thumb.jpg',130, 98,18,'photo_572982.html');
												thumbnails[572998] = new thumbnail(572998,'44084','Snow on the prom','SNOW-04_thumb.jpg',130, 98,18,'photo_572998.html');
												thumbnails[573022] = new thumbnail(573022,'44086','Sewerby Hall','SEWB-04_thumb.jpg',130, 173,18,'photo_573022.html');
												thumbnails[573039] = new thumbnail(573039,'44087','Scarecrow at Burton Agnes','BURT-04_thumb.jpg',130, 173,18,'photo_573039.html');
												thumbnails[573045] = new thumbnail(573045,'44092','North Beach and Flamborough Head','HERT-04_thumb.jpg',130, 95,18,'photo_573045.html');
												thumbnails[573090] = new thumbnail(573090,'44095','Cayton Bay','CAYT-02_thumb.jpg',130, 98,18,'photo_573090.html');
												thumbnails[573102] = new thumbnail(573102,'44097','Scarborough','SCAR-04_thumb.jpg',130, 98,18,'photo_573102.html');
												thumbnails[573121] = new thumbnail(573121,'44247','Along the Minster Way','WOLD-04_thumb.jpg',130, 173,18,'photo_573121.html');
												thumbnails[573137] = new thumbnail(573137,'44100','Sanctuary Knocker','DURH-04_thumb.jpg',130, 173,18,'photo_573137.html');
												thumbnails[573158] = new thumbnail(573158,'44104','Surf at Kaikoura','NEWZ-04_thumb.jpg',130, 98,18,'photo_573158.html');
												thumbnails[573173] = new thumbnail(573173,'44105','Gondolas','VENI-04_thumb.jpg',130, 174,18,'photo_573173.html');
												thumbnails[573179] = new thumbnail(573179,'44106','Tuscan Gardens','FLOR-04_thumb.jpg',130, 98,18,'photo_573179.html');
												thumbnails[1324781] = new thumbnail(1324781,'93479','The Aletsch Glacier','JUNG-04_thumb.jpg',130, 130,18,'photo_1324781.html');
												thumbnails[1327745] = new thumbnail(1327745,'93482','Port Vendres','ROUS-04_thumb.jpg',130, 35,18,'photo_1327745.html');
												thumbnails[1332828] = new thumbnail(1332828,'93817','On the edge','WILD-04_thumb.jpg',130, 98,18,'photo_1332828.html');
												thumbnails[2613856] = new thumbnail(2613856,'165958','Cheers!','GARD-04_thumb.jpg',130, 94,18,'photo_2613856.html');
												thumbnails[570976] = new thumbnail(570976,'44065','Autumn Leaves','SPEC-04_thumb.jpg',130, 130,18,'photo_570976.html');
												thumbnails[572844] = new thumbnail(572844,'44066','Bridlington Harbour','BHAR-05_thumb.jpg',130, 65,18,'photo_572844.html');
												thumbnails[572854] = new thumbnail(572854,'44067','South Beach, Bridlington','BBEA-05_thumb.jpg',130, 97,18,'photo_572854.html');
												thumbnails[572893] = new thumbnail(572893,'44077','Bridlington Priory Church','BOLD-05_thumb.jpg',130, 99,18,'photo_572893.html');
												thumbnails[572909] = new thumbnail(572909,'44080','Bright Crescent','BRID-05_thumb.jpg',130, 98,18,'photo_572909.html');
												thumbnails[572921] = new thumbnail(572921,'44081','Out to sea','HIGH-05_thumb.jpg',130, 175,18,'photo_572921.html');
												thumbnails[572983] = new thumbnail(572983,'44083','Winter Sunset, Bridlington','CSUN-05_thumb.jpg',130, 65,18,'photo_572983.html');
												thumbnails[572999] = new thumbnail(572999,'44084','Snow on the prom','SNOW-05_thumb.jpg',130, 96,18,'photo_572999.html');
												thumbnails[573024] = new thumbnail(573024,'44086','Bowling Clubhouse, Sewerby','SEWB-05_thumb.jpg',130, 173,18,'photo_573024.html');
												thumbnails[573046] = new thumbnail(573046,'44092','Flamborough Head','HERT-05_thumb.jpg',130, 98,18,'photo_573046.html');
												thumbnails[573107] = new thumbnail(573107,'44097','Scarborough Castle and Harbour','SCAR-05_thumb.jpg',130, 98,18,'photo_573107.html');
												thumbnails[573125] = new thumbnail(573125,'44247','View from Little Givendale Farm','WOLD-05_thumb.jpg',130, 98,18,'photo_573125.html');
												thumbnails[573139] = new thumbnail(573139,'44100','Charles Stewart, Lord Lieutenant','DURH-05_thumb.jpg',130, 104,18,'photo_573139.html');
												thumbnails[573149] = new thumbnail(573149,'44101','Gateshead Millennium Bridge','GATE-01_thumb.jpg',130, 98,18,'photo_573149.html');
												thumbnails[573161] = new thumbnail(573161,'44104','Abel Tasman National Park','NEWZ-05_thumb.jpg',130, 98,18,'photo_573161.html');
												thumbnails[573174] = new thumbnail(573174,'44105','Gondolas and San Giorgio Maggiore','VENI-05_thumb.jpg',130, 130,18,'photo_573174.html');
												thumbnails[573180] = new thumbnail(573180,'44106','Penstemen','FLOR-05_thumb.jpg',130, 173,18,'photo_573180.html');
												thumbnails[1324782] = new thumbnail(1324782,'93479','View from the Eiger North Face','JUNG-05_thumb.jpg',130, 130,18,'photo_1324782.html');
												thumbnails[1327746] = new thumbnail(1327746,'93482','Sea Beyond','ROUS-05_thumb.jpg',130, 130,18,'photo_1327746.html');
												thumbnails[1332829] = new thumbnail(1332829,'93817','The Gang','WILD-05_thumb.jpg',130, 130,18,'photo_1332829.html');
												thumbnails[2613857] = new thumbnail(2613857,'165958','Malcesine','GARD-05_thumb.jpg',130, 130,18,'photo_2613857.html');
												thumbnails[570978] = new thumbnail(570978,'44065','Ammonite Steps','SPEC-05_thumb.jpg',130, 173,18,'photo_570978.html');
												thumbnails[572845] = new thumbnail(572845,'44066','Bridlington Harbour','BHAR-06_thumb.jpg',130, 173,18,'photo_572845.html');
												thumbnails[572896] = new thumbnail(572896,'44077','\"Once upon a time...\"','BOLD-06_thumb.jpg',130, 173,18,'photo_572896.html');
												thumbnails[572910] = new thumbnail(572910,'44080','St Anne\'s Road','BRID-06_thumb.jpg',130, 98,18,'photo_572910.html');
												thumbnails[572922] = new thumbnail(572922,'44081','Out to sea','HIGH-06_thumb.jpg',130, 173,18,'photo_572922.html');
												thumbnails[572985] = new thumbnail(572985,'44083','Kaikoura Sunrise','CSUN-06_thumb.jpg',130, 173,18,'photo_572985.html');
												thumbnails[573000] = new thumbnail(573000,'44084','Sewerby Cliffs','SNOW-06_thumb.jpg',130, 98,18,'photo_573000.html');
												thumbnails[573025] = new thumbnail(573025,'44086','Walled Garden, Sewerby','SEWB-06_thumb.jpg',130, 98,18,'photo_573025.html');
												thumbnails[573047] = new thumbnail(573047,'44092','Moon over Flamborough Head','HERT-06_thumb.jpg',130, 173,18,'photo_573047.html');
												thumbnails[573109] = new thumbnail(573109,'44097','Scarborough Castle and Harbour','SCAR-06_thumb.jpg',130, 98,18,'photo_573109.html');
												thumbnails[573127] = new thumbnail(573127,'44247','Burton Fleming Church','WOLD-06_thumb.jpg',130, 98,18,'photo_573127.html');
												thumbnails[573140] = new thumbnail(573140,'44100','Phoenix of Grey College','DURH-06_thumb.jpg',130, 173,18,'photo_573140.html');
												thumbnails[573151] = new thumbnail(573151,'44101','Bridges over the River Tyne','GATE-02_thumb.jpg',130, 52,18,'photo_573151.html');
												thumbnails[573162] = new thumbnail(573162,'44104','Havelock Sounds','NEWZ-06_thumb.jpg',130, 173,18,'photo_573162.html');
												thumbnails[573175] = new thumbnail(573175,'44105','Across the Lagoon','VENI-06_thumb.jpg',130, 98,18,'photo_573175.html');
												thumbnails[573181] = new thumbnail(573181,'44106','Autmn Gold','FLOR-06_thumb.jpg',130, 173,18,'photo_573181.html');
												thumbnails[810903] = new thumbnail(810903,'44067','North Beach','BBEA-061_thumb.jpg',130, 91,18,'photo_810903.html');
												thumbnails[1324787] = new thumbnail(1324787,'93479','View from the Kleine Scheidegg','JUNG-06_thumb.jpg',130, 175,18,'photo_1324787.html');
												thumbnails[1332833] = new thumbnail(1332833,'93817','\"What\'s Up ? \"','WILD-06_thumb.jpg',130, 130,18,'photo_1332833.html');
												thumbnails[2613858] = new thumbnail(2613858,'165958','Malcesine','GARD-06_thumb.jpg',130, 98,18,'photo_2613858.html');
												thumbnails[570982] = new thumbnail(570982,'44065','Gaudi Fantasy','SPEC-06_thumb.jpg',130, 194,18,'photo_570982.html');
												thumbnails[572846] = new thumbnail(572846,'44066','Bridlington Harbour','BHAR-07_thumb.jpg',130, 173,18,'photo_572846.html');
												thumbnails[572857] = new thumbnail(572857,'44067','Summertime','BBEA-07_thumb.jpg',130, 42,18,'photo_572857.html');
												thumbnails[572898] = new thumbnail(572898,'44077','Dickensian Festival','BOLD-07_thumb.jpg',130, 187,18,'photo_572898.html');
												thumbnails[572911] = new thumbnail(572911,'44080','Expanse Hotel','BRID-07_thumb.jpg',130, 161,18,'photo_572911.html');
												thumbnails[572923] = new thumbnail(572923,'44081','Christmas Morning','HIGH-07_thumb.jpg',130, 96,18,'photo_572923.html');
												thumbnails[572986] = new thumbnail(572986,'44083','Coastal Sunrise','CSUN-07_thumb.jpg',130, 173,18,'photo_572986.html');
												thumbnails[573027] = new thumbnail(573027,'44086','Marie Curie Daffodils, Sewerby','SEWB-07_thumb.jpg',130, 98,18,'photo_573027.html');
												thumbnails[573048] = new thumbnail(573048,'44092','Moon over Flamborough Head','HERT-07_thumb.jpg',130, 93,18,'photo_573048.html');
												thumbnails[573128] = new thumbnail(573128,'44247','Carnaby Church','WOLD-07_thumb.jpg',130, 98,18,'photo_573128.html');
												thumbnails[573165] = new thumbnail(573165,'44104','Mail Boat Run,on the Outer Sounds','NEWZ-07_thumb.jpg',130, 52,18,'photo_573165.html');
												thumbnails[573182] = new thumbnail(573182,'44106','Chives','FLOR-07_thumb.jpg',130, 173,18,'photo_573182.html');
												thumbnails[676357] = new thumbnail(676357,'44105','Scala Contarini del Bovolo','Veni-07_thumb.jpg',130, 98,18,'photo_676357.html');
												thumbnails[1327748] = new thumbnail(1327748,'93482','Reflections of Perpignan','ROUS-07_thumb.jpg',130, 130,18,'photo_1327748.html');
												thumbnails[1332834] = new thumbnail(1332834,'93817','\"I See No Ships\"','WILD-07_thumb.jpg',130, 130,18,'photo_1332834.html');
												thumbnails[2613861] = new thumbnail(2613861,'165958','King of the Castle','GARD-07_thumb.jpg',130, 130,18,'photo_2613861.html');
												thumbnails[3128397] = new thumbnail(3128397,'44084','Flamborough Head 23.11.08','SNOW-07_thumb.jpg',130, 98,18,'photo_3128397.html');
												thumbnails[570983] = new thumbnail(570983,'44065','Casa Battlo Windoow','SPEC-07_thumb.jpg',130, 89,18,'photo_570983.html');
												thumbnails[572847] = new thumbnail(572847,'44066','Bridlington Harbour','BHAR-08_thumb.jpg',130, 98,18,'photo_572847.html');
												thumbnails[572858] = new thumbnail(572858,'44067','Bridlington','BBEA-08_thumb.jpg',130, 52,18,'photo_572858.html');
												thumbnails[572901] = new thumbnail(572901,'44077','Secret Gardens of Old Town','BOLD-08_thumb.jpg',130, 195,18,'photo_572901.html');
												thumbnails[572913] = new thumbnail(572913,'44080','St John\'s Burlington','BRID-08_thumb.jpg',130, 173,18,'photo_572913.html');
												thumbnails[572925] = new thumbnail(572925,'44081','Waves','HIGH-08_thumb.jpg',130, 130,18,'photo_572925.html');
												thumbnails[572987] = new thumbnail(572987,'44083','South Island Sunset','CSUN-08_thumb.jpg',130, 98,18,'photo_572987.html');
												thumbnails[573028] = new thumbnail(573028,'44086','Bluebells at Sewerby Hall','SEWB-08_thumb.jpg',130, 173,18,'photo_573028.html');
												thumbnails[573049] = new thumbnail(573049,'44092','Flamborough Head','HERT-08_thumb.jpg',130, 52,18,'photo_573049.html');
												thumbnails[573129] = new thumbnail(573129,'44247','Carnaby Church','WOLD-08_thumb.jpg',130, 98,18,'photo_573129.html');
												thumbnails[676362] = new thumbnail(676362,'44105','Basilica San Marco','VENI-08_thumb.jpg',130, 98,18,'photo_676362.html');
												thumbnails[889336] = new thumbnail(889336,'44106','Acquilegia','FLOR-08_thumb.jpg',130, 178,18,'photo_889336.html');
												thumbnails[1327750] = new thumbnail(1327750,'93482','Flowers at Perpignan','ROUS-08_thumb.jpg',130, 65,18,'photo_1327750.html');
												thumbnails[1340915] = new thumbnail(1340915,'93817','Robin','WILD-08_thumb.jpg',130, 130,18,'photo_1340915.html');
												thumbnails[2613862] = new thumbnail(2613862,'165958','Malcesine','GARD-08_thumb.jpg',130, 173,18,'photo_2613862.html');
												thumbnails[570984] = new thumbnail(570984,'44065','View to Flamborough Head','SPEC-08_thumb.jpg',130, 99,18,'photo_570984.html');
												thumbnails[572848] = new thumbnail(572848,'44066','Bridlington Harbour ','BHAR-09_thumb.jpg',130, 98,18,'photo_572848.html');
												thumbnails[572869] = new thumbnail(572869,'44067','Winter Sunset, Bridlington','BBEA-09_thumb.jpg',130, 98,18,'photo_572869.html');
												thumbnails[572902] = new thumbnail(572902,'44077','Raffles Restaurant','BOLD-09_thumb.jpg',130, 100,18,'photo_572902.html');
												thumbnails[572914] = new thumbnail(572914,'44080','Marine Point','BRID-09_thumb.jpg',130, 98,18,'photo_572914.html');
												thumbnails[572926] = new thumbnail(572926,'44081','Out to sea','HIGH-09_thumb.jpg',130, 98,18,'photo_572926.html');
												thumbnails[572990] = new thumbnail(572990,'44083','South Island Sunset','CSUN-09_thumb.jpg',130, 52,18,'photo_572990.html');
												thumbnails[573050] = new thumbnail(573050,'44092','South Landing','HERT-09_thumb.jpg',130, 52,18,'photo_573050.html');
												thumbnails[573130] = new thumbnail(573130,'44247','Fields of Borage ','WOLD-09_thumb.jpg',130, 130,18,'photo_573130.html');
												thumbnails[573184] = new thumbnail(573184,'44106','Bluebells','FLOR-091_thumb.jpg',130, 173,18,'photo_573184.html');
												thumbnails[676365] = new thumbnail(676365,'44105','The Grand Canal','VENI-09_thumb.jpg',130, 98,18,'photo_676365.html');
												thumbnails[1340918] = new thumbnail(1340918,'93817','Find the Frog','WILD-09_thumb.jpg',130, 173,18,'photo_1340918.html');
												thumbnails[2613863] = new thumbnail(2613863,'165958','Boats at Malcesine','GARD-09_thumb.jpg',130, 173,18,'photo_2613863.html');
												thumbnails[3128412] = new thumbnail(3128412,'44086','Snowdrops at Sewerby','SEWB-09_thumb.jpg',130, 374,18,'photo_3128412.html');
												thumbnails[570987] = new thumbnail(570987,'44065','Reflections','SPEC-09_thumb.jpg',130, 173,18,'photo_570987.html');
												thumbnails[572849] = new thumbnail(572849,'44066','Bridlington Harbour','BHAR-10_thumb.jpg',130, 93,18,'photo_572849.html');
												thumbnails[572871] = new thumbnail(572871,'44067','September Sunset, Bridlington','BBEA-10_thumb.jpg',130, 52,18,'photo_572871.html');
												thumbnails[572915] = new thumbnail(572915,'44080','Railway Station','BRID-10_thumb.jpg',130, 171,18,'photo_572915.html');
												thumbnails[572927] = new thumbnail(572927,'44081','Out to sea','HIGH-10_thumb.jpg',130, 98,18,'photo_572927.html');
												thumbnails[572991] = new thumbnail(572991,'44083','Sunset, Pacific Rim','CSUN-10_thumb.jpg',130, 98,18,'photo_572991.html');
												thumbnails[573031] = new thumbnail(573031,'44086','Sewerby Cricketers','SEWB-10_thumb.jpg',130, 96,18,'photo_573031.html');
												thumbnails[573051] = new thumbnail(573051,'44092','Flamborough Head','HERT-10_thumb.jpg',130, 90,18,'photo_573051.html');
												thumbnails[573131] = new thumbnail(573131,'44247','Borage','WOLD-10_thumb.jpg',130, 98,18,'photo_573131.html');
												thumbnails[573185] = new thumbnail(573185,'44106','Spring Blossom','FLOR-10_thumb.jpg',130, 173,18,'photo_573185.html');
												thumbnails[676366] = new thumbnail(676366,'44105','In the Rain','VENI-10_thumb.jpg',130, 173,18,'photo_676366.html');
												thumbnails[2613865] = new thumbnail(2613865,'165958','The Pool, La Crocia','GARD-10_thumb.jpg',130, 98,18,'photo_2613865.html');
												thumbnails[3128544] = new thumbnail(3128544,'93817','Llama at Sewerby','WILD-10_thumb.jpg',130, 130,18,'photo_3128544.html');
												thumbnails[571001] = new thumbnail(571001,'44065','Orca','SPEC-10_thumb.jpg',130, 173,18,'photo_571001.html');
												thumbnails[572873] = new thumbnail(572873,'44067','Sunset North Beach, Bridlington','BBEA-11_thumb.jpg',130, 52,18,'photo_572873.html');
												thumbnails[572929] = new thumbnail(572929,'44081','Yorkshire Belle','HIGH-11_thumb.jpg',130, 130,18,'photo_572929.html');
												thumbnails[573034] = new thumbnail(573034,'44086','Sewerby Grange','SEWB-11_thumb.jpg',130, 98,18,'photo_573034.html');
												thumbnails[573052] = new thumbnail(573052,'44092','Sea Sculpture','HERT-11_thumb.jpg',130, 173,18,'photo_573052.html');
												thumbnails[600211] = new thumbnail(600211,'44066','Harbour Sunset','BHAR-11_thumb.jpg',130, 98,18,'photo_600211.html');
												thumbnails[600265] = new thumbnail(600265,'44080','Seagulls at Bridlington','BRID--11_thumb.jpg',130, 97,18,'photo_600265.html');
												thumbnails[676339] = new thumbnail(676339,'44083','Sunrise, Bridlington','CSUN-11_thumb.jpg',130, 98,18,'photo_676339.html');
												thumbnails[676369] = new thumbnail(676369,'44105','Carnival Time','VENI-11_thumb.jpg',130, 130,18,'photo_676369.html');
												thumbnails[2613870] = new thumbnail(2613870,'165958','Alley','GARD-11_thumb.jpg',130, 173,18,'photo_2613870.html');
												thumbnails[3128620] = new thumbnail(3128620,'44077','Old Town Summer Festival','BOLD-10_thumb.jpg',130, 157,18,'photo_3128620.html');
												thumbnails[3128355] = new thumbnail(3128355,'44080','Gulls at Bridlington','BRID-18_thumb.jpg',130, 130,18,'photo_3128355.html');
												thumbnails[3128361] = new thumbnail(3128361,'44080','Bridlington Gulls','BRID-19_thumb.jpg',130, 178,18,'photo_3128361.html');
												thumbnails[571003] = new thumbnail(571003,'44065','Orca','SPEC-11_thumb.jpg',130, 173,18,'photo_571003.html');
												thumbnails[572875] = new thumbnail(572875,'44067','Sunset North Prom, Bridlington','BBEA-12_thumb.jpg',130, 52,18,'photo_572875.html');
												thumbnails[572931] = new thumbnail(572931,'44081','Out to sea','HIGH-12_thumb.jpg',130, 98,18,'photo_572931.html');
												thumbnails[573053] = new thumbnail(573053,'44092','Sea Sculpture','HERT-12_thumb.jpg',130, 173,18,'photo_573053.html');
												thumbnails[600254] = new thumbnail(600254,'44080','Seagulls at Bridlington','BRID-12_thumb.jpg',130, 98,18,'photo_600254.html');
												thumbnails[676371] = new thumbnail(676371,'44105','Reflections','VENI-12_thumb.jpg',130, 130,18,'photo_676371.html');
												thumbnails[2613871] = new thumbnail(2613871,'165958','Windows','GARD-12_thumb.jpg',130, 173,18,'photo_2613871.html');
												thumbnails[3128365] = new thumbnail(3128365,'44080','Bridlington Spa Theatre','BRID-20_thumb.jpg',130, 98,18,'photo_3128365.html');
												thumbnails[3128548] = new thumbnail(3128548,'44083','Flamborough Head in Evening Light','CSUN-12_thumb.jpg',130, 98,18,'photo_3128548.html');
												thumbnails[3128369] = new thumbnail(3128369,'44080','No Bumping!','BRID-21_thumb.jpg',130, 91,18,'photo_3128369.html');
												thumbnails[571004] = new thumbnail(571004,'44065','Orca','SPEC-12_thumb.jpg',130, 173,18,'photo_571004.html');
												thumbnails[572877] = new thumbnail(572877,'44067','Sunset Bridlington','BBEA-13_thumb.jpg',130, 98,18,'photo_572877.html');
												thumbnails[572932] = new thumbnail(572932,'44081','Beach Shadows','HIGH-13_thumb.jpg',130, 173,18,'photo_572932.html');
												thumbnails[573054] = new thumbnail(573054,'44092','Flamborough Head','HERT-13_thumb.jpg',130, 98,18,'photo_573054.html');
												thumbnails[676375] = new thumbnail(676375,'44105','Wash Day','VENI-13_thumb.jpg',130, 130,18,'photo_676375.html');
												thumbnails[810876] = new thumbnail(810876,'44080','September Sunset','BRID-131_thumb.jpg',130, 98,18,'photo_810876.html');
												thumbnails[2613872] = new thumbnail(2613872,'165958','Window','GARD-13_thumb.jpg',130, 173,18,'photo_2613872.html');
												thumbnails[571007] = new thumbnail(571007,'44065','Orca','SPEC-13_thumb.jpg',130, 173,18,'photo_571007.html');
												thumbnails[572878] = new thumbnail(572878,'44067','Sunset Bridlington','BBEA-14_thumb.jpg',130, 98,18,'photo_572878.html');
												thumbnails[572933] = new thumbnail(572933,'44081','Beach Pools','HIGH-14_thumb.jpg',130, 176,18,'photo_572933.html');
												thumbnails[573055] = new thumbnail(573055,'44092','Floowers at Flamborough Head','HERT-14_thumb.jpg',130, 98,18,'photo_573055.html');
												thumbnails[810882] = new thumbnail(810882,'44080','September Sunset','BRID-14_thumb.jpg',130, 52,18,'photo_810882.html');
												thumbnails[2613873] = new thumbnail(2613873,'165958','Windsurfers','GARD-14_thumb.jpg',130, 130,18,'photo_2613873.html');
												thumbnails[3128387] = new thumbnail(3128387,'44105','Carnival Lady in Blue','VENI-14_thumb.jpg',130, 130,18,'photo_3128387.html');
												thumbnails[571010] = new thumbnail(571010,'44065','Orca','SPEC-14_thumb.jpg',130, 173,18,'photo_571010.html');
												thumbnails[572880] = new thumbnail(572880,'44067','Sewerby Cliffs and Flamborough Head','BBEA-15_thumb.jpg',130, 52,18,'photo_572880.html');
												thumbnails[572934] = new thumbnail(572934,'44081','On the Beach','HIGH-15_thumb.jpg',130, 173,18,'photo_572934.html');
												thumbnails[573057] = new thumbnail(573057,'44092','Flamborough Lighthouse','HERT-15_thumb.jpg',130, 173,18,'photo_573057.html');
												thumbnails[1333023] = new thumbnail(1333023,'44080','Bridlington Medley','BRID-15_thumb.jpg',130, 130,18,'photo_1333023.html');
												thumbnails[2613878] = new thumbnail(2613878,'165958','Riva','GARD-15_thumb.jpg',130, 109,18,'photo_2613878.html');
												thumbnails[3128391] = new thumbnail(3128391,'44105','Gondalos and San Giorgio Maggiore','VENI-15_thumb.jpg',130, 98,18,'photo_3128391.html');
												thumbnails[571012] = new thumbnail(571012,'44065','Totem Pole','SPEC-15_thumb.jpg',130, 173,18,'photo_571012.html');
												thumbnails[572882] = new thumbnail(572882,'44067','North Beach, Bridlington','BBEA-16_thumb.jpg',130, 52,18,'photo_572882.html');
												thumbnails[572935] = new thumbnail(572935,'44081','Out to sea','HIGH-16_thumb.jpg',130, 130,18,'photo_572935.html');
												thumbnails[573060] = new thumbnail(573060,'44092','Selwick Bay','HERT-16_thumb.jpg',130, 173,18,'photo_573060.html');
												thumbnails[1333026] = new thumbnail(1333026,'44080','Eye on The Bay','BRID-16_thumb.jpg',130, 42,18,'photo_1333026.html');
												thumbnails[3128394] = new thumbnail(3128394,'44105','Venice by Night','VENI-16_thumb.jpg',130, 130,18,'photo_3128394.html');
												thumbnails[572884] = new thumbnail(572884,'44067','Bridlington','BBEA-17_thumb.jpg',130, 42,18,'photo_572884.html');
												thumbnails[573062] = new thumbnail(573062,'44092','Selwick Bay','HERT-17_thumb.jpg',130, 176,18,'photo_573062.html');
												thumbnails[1333022] = new thumbnail(1333022,'44080','Multi Images of Bridlington','BRID-17_thumb.jpg',130, 65,18,'photo_1333022.html');
												thumbnails[3128395] = new thumbnail(3128395,'44105','Venice Collage','VENI-17_thumb.jpg',130, 96,18,'photo_3128395.html');
												thumbnails[571017] = new thumbnail(571017,'44065','Crook Hall Pond','SPEC-17_thumb.jpg',130, 52,18,'photo_571017.html');
												thumbnails[573063] = new thumbnail(573063,'44092','Selwick Bay','HERT-18_thumb.jpg',130, 96,18,'photo_573063.html');
												thumbnails[1340913] = new thumbnail(1340913,'44067','North Beach and Wheel','BBEA-18_thumb.jpg',130, 98,18,'photo_1340913.html');
												thumbnails[571020] = new thumbnail(571020,'44065','Sunrise','SPEC-18_thumb.jpg',130, 130,18,'photo_571020.html');
												thumbnails[573064] = new thumbnail(573064,'44092','St Oswald\'s Church','HERT-19_thumb.jpg',130, 98,18,'photo_573064.html');
												thumbnails[600228] = new thumbnail(600228,'44065','Chalk Outcrop','SPEC-19_thumb.jpg',130, 98,18,'photo_600228.html');
												thumbnails[573066] = new thumbnail(573066,'44092','Selwick Bay','HERT-20_thumb.jpg',130, 173,18,'photo_573066.html');
												thumbnails[600235] = new thumbnail(600235,'44065','Under water','SPEC-20_thumb.jpg',130, 98,18,'photo_600235.html');
												thumbnails[573067] = new thumbnail(573067,'44092','Selwick Bay','HERT-21_thumb.jpg',130, 98,18,'photo_573067.html');
												thumbnails[573069] = new thumbnail(573069,'44092','North Landing','HERT-22_thumb.jpg',130, 52,18,'photo_573069.html');
												thumbnails[3128342] = new thumbnail(3128342,'44065','Fantasy','SPEC-21_thumb.jpg',130, 96,18,'photo_3128342.html');
												thumbnails[3128348] = new thumbnail(3128348,'44065','Gaudi\'s Rooftop','SPEC-23_thumb.jpg',130, 130,18,'photo_3128348.html');
												thumbnails[3128345] = new thumbnail(3128345,'44065','Sagrada Window','SPEC-22_thumb.jpg',130, 173,18,'photo_3128345.html');
												thumbnails[3128352] = new thumbnail(3128352,'44065','Italian Window Dressing','SPEC-24_thumb.jpg',130, 173,18,'photo_3128352.html');
												thumbnails[573070] = new thumbnail(573070,'44092','North Landing','HERT-23_thumb.jpg',130, 42,18,'photo_573070.html');
												thumbnails[573071] = new thumbnail(573071,'44092','North Landing','HERT-24_thumb.jpg',130, 96,18,'photo_573071.html');
												thumbnails[573073] = new thumbnail(573073,'44092','North Landing','HERT-25_thumb.jpg',130, 98,18,'photo_573073.html');
												thumbnails[573076] = new thumbnail(573076,'44092','Thornwick Bay','HERT-26_thumb.jpg',130, 96,18,'photo_573076.html');
												thumbnails[573080] = new thumbnail(573080,'44092','Bempton Cliffs','HERT-27_thumb.jpg',130, 98,18,'photo_573080.html');
												thumbnails[573082] = new thumbnail(573082,'44092','Bempton Cliffs','HERT-28_thumb.jpg',130, 98,18,'photo_573082.html');
												thumbnails[3128398] = new thumbnail(3128398,'44092','Flamborough Head and Gorse','HERT-29_thumb.jpg',130, 130,18,'photo_3128398.html');
												thumbnails[3128400] = new thumbnail(3128400,'44092','Bempton Church','HERT-30_thumb.jpg',130, 98,18,'photo_3128400.html');
												thumbnails[3128402] = new thumbnail(3128402,'44092','Flamborough Lighthouse','HERT-31_thumb.jpg',130, 174,18,'photo_3128402.html');
												thumbnails[3128404] = new thumbnail(3128404,'44092','Summertime, Flamborough Head','HERT-32_thumb.jpg',130, 130,18,'photo_3128404.html');
												thumbnails[3128406] = new thumbnail(3128406,'44092','View from Reighton Gap','HERT-33_thumb.jpg',130, 39,18,'photo_3128406.html');
												thumbnails[3128411] = new thumbnail(3128411,'44092','Flamborough Head, Red Fuschia Bushes','HERT-34_thumb.jpg',130, 49,18,'photo_3128411.html');

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  					galleries[44065] = new gallery(44065,'570978','Specials','gallery',[570829,570830,570969,570976,570978,570982,570983,570984,570987,571001,571003,571004,571007,571010,571012,571017,571020,600228,600235,3128342,3128348,3128345,3128352],0, 0, '', 'gallery_44065.html',0,0);
				  					galleries[44066] = new gallery(44066,'571041','Bridlington Harbour','gallery',[571041,571045,571046,571049,572844,572845,572846,572847,572848,572849,600211],0, 0, '', 'gallery_44066.html',0,0);
				  					galleries[44067] = new gallery(44067,'1340913,810903,572884,572882,572880,572878,572877,572875,572873,572871',' Beaches and Proms','gallery',[572850,572851,572852,572853,572854,810903,572857,572858,572869,572871,572873,572875,572877,572878,572880,572882,572884,1340913],0, 0, '', 'gallery_44067.html',0,0);
				  					galleries[44077] = new gallery(44077,'572889','Old Town','gallery',[572886,572889,572890,572891,572893,572896,572898,572901,572902,3128620],0, 0, '', 'gallery_44077.html',0,0);
				  					galleries[44080] = new gallery(44080,'572915','Bridlington Town','gallery',[572904,572905,572906,572907,572909,572910,572911,572913,572914,572915,600265,3128355,3128361,600254,3128365,3128369,810876,810882,1333023,1333026,1333022],0, 0, '', 'gallery_44080.html',0,0);
				  					galleries[44081] = new gallery(44081,'572921','The Sea','gallery',[572916,572917,572918,572920,572921,572922,572923,572925,572926,572927,572929,572931,572932,572933,572934,572935],0, 0, '', 'gallery_44081.html',0,0);
				  					galleries[44083] = new gallery(44083,'572985','Coastal Sunrise and set','gallery',[3128632,572979,572980,572982,572983,572985,572986,572987,572990,572991,676339,3128548],0, 0, '', 'gallery_44083.html',0,0);
				  					galleries[44084] = new gallery(44084,'572994','Winter Seaside','gallery',[572992,572994,572995,572998,572999,573000,3128397],0, 0, '', 'gallery_44084.html',0,0);
				  					galleries[44086] = new gallery(44086,'573017','Sewerby','gallery',[573017,573019,573021,573022,573024,573025,573027,573028,3128412,573031,573034],0, 0, '', 'gallery_44086.html',0,0);
				  					galleries[44087] = new gallery(44087,'573038','Burton Agnes','gallery',[573035,573037,573038,573039],0, 0, '', 'gallery_44087.html',0,0);
				  					galleries[44092] = new gallery(44092,'573042','Heritage Coast','gallery',[573042,573043,573044,573045,573046,573047,573048,573049,573050,573051,573052,573053,573054,573055,573057,573060,573062,573063,573064,573066,573067,573069,573070,573071,573073,573076,573080,573082,3128398,3128400,3128402,3128404,3128406,3128411],0, 0, '', 'gallery_44092.html',0,0);
				  					galleries[44095] = new gallery(44095,'573084','Filey and Cayton','gallery',[573084,573086,573089,3128373,3128380,3128383,573090],0, 0, '', 'gallery_44095.html',0,0);
				  					galleries[44097] = new gallery(44097,'573109','Scarborough','gallery',[573096,573097,573101,573102,573107,573109],0, 0, '', 'gallery_44097.html',0,0);
				  					galleries[44247] = new gallery(44247,'573130','Wolds','gallery',[573115,573116,573120,573121,573125,573127,573128,573129,573130,573131],0, 0, '', 'gallery_44247.html',0,0);
				  					galleries[44100] = new gallery(44100,'573140','Durham','gallery',[573132,573133,573135,573137,573139,573140],0, 0, '', 'gallery_44100.html',0,0);
				  					galleries[44101] = new gallery(44101,'573144','Newcastle and Gateshead','gallery',[573142,573144,573146,573149,573151],0, 0, '', 'gallery_44101.html',0,0);
				  					galleries[44104] = new gallery(44104,'573161','New Zealand','gallery',[573152,573154,573156,573158,573161,573162,573165],0, 0, '', 'gallery_44104.html',0,0);
				  					galleries[44105] = new gallery(44105,'573171','Venice','gallery',[573170,573171,676379,573173,573174,573175,676357,676362,676365,676366,676369,676371,676375,3128387,3128391,3128394,3128395],0, 0, '', 'gallery_44105.html',0,0);
				  					galleries[165958] = new gallery(165958,'2613878,2613873,2613872,2613871,2613870,2613865,2613863,2613862,2613861,2613858','Lake Garda','gallery',[2613852,2613853,2613855,2613856,2613857,2613858,2613861,2613862,2613863,2613865,2613870,2613871,2613872,2613873,2613878],0, 0, '', 'gallery_165958.html',0,0);
				  					galleries[44106] = new gallery(44106,'573180','Floral','gallery',[573176,573177,573178,573179,573180,573181,573182,889336,573184,573185],0, 0, '', 'gallery_44106.html',0,0);
				  					galleries[93479] = new gallery(93479,'1324781','Jungfrau Region','gallery',[1324773,1324778,1324779,1324781,1324782,1324787],0, 0, '', 'gallery_93479.html',0,0);
				  					galleries[93482] = new gallery(93482,'1324898','Roussillion','gallery',[1324892,1324895,1324898,1327745,1327746,1327748,1327750],0, 0, '', 'gallery_93482.html',0,0);
				  					galleries[93817] = new gallery(93817,'1332824','Wildlife','gallery',[1332824,1332826,1332827,1332828,1332829,1332833,1332834,1340915,1340918,3128544],0, 0, '', 'gallery_93817.html',0,0);
/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = new Object();
imageSets[1] = '570827';
imageSets[2] = '1332824,1324898,1324781,573180,573171,573161,573144,573140,573130,573109,573084,573042,573038,573017,572994,572985,572921,572915,572889,571041,570978';
imageSets[3] = '3128632,3128620,3128548,3128544,3128412,3128411,3128406,3128404,3128402,3128400,3128398,3128397,3128395,3128394,3128391,3128387,3128383,3128380,3128373,3128369,3128365,3128361,3128355,3128352,3128348,3128345,3128342,2613878,2613873,2613872,2613871,2613870,2613865,2613863,2613862,2613861,2613858,2613857,2613856,2613855,2613853,2613852,1340918,1340915,1340913,1333026,1333023,1333022,1332834,1332833';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/patriciawatson/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/patriciawatson/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/patriciawatson/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/patriciawatson/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/patriciawatson/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/patriciawatson/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/patriciawatson/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/patriciawatson/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/patriciawatson/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/patriciawatson/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/patriciawatson/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/patriciawatson/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/patriciawatson/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/patriciawatson/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/patriciawatson/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://admin2.clikpic.com/patriciawatson/images';
		break;
	}
		switch (server_id) {
		case 33:
		val = 'http://www8.clikpic.com/patriciawatson/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/patriciawatson/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/patriciawatson/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/patriciawatson/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/patriciawatson/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/patriciawatson/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 && backgrounds[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:'',
                    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 (!basic) {
    if (op.updateHash && clik.getIDInUrl(location.href,'photo') != op.nextPhoto.id) {
		clik.changeHash('photos_id=' + op.nextPhoto.id, true);
    }
				
    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));		  $('body').trigger('clikUpdate');		}, op.onBefore);
      }    }
    	if (op.field) {
		op.field.value = photoId;
	} else {
		op.$photo.data('image_id', photoId);
    }
	    if (op.$title.length > 0) {
  		op.$title.fadeGalleryDetails(photoCaption, op.speed);
    }
        if (op.updateDocumentTitle) {
						  document.title = 'Photo Art Yorkshire Heritage Coastline and beyond: ' + photoCaption;
			    }
        if (op.$detail.length > 0) {
      temp = op.nextPhoto.fnGetImageDetails();
	    op.$detail.fadeGalleryDetails(temp, op.speed, function(){
	    var options = {};	    	      	      resizePhotoInfo(options);
        if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
  	      toggleAddToCartConfirm(backgrounds);
  	    } else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
  	      toggleAddToCartConfirm(photos);
  	    }
	    });
    }
        if (!op.speed) {      clik.doColumnResize(false, op.$photo.add(op.$detail).add(op.$title));      $('body').trigger('clikUpdate');    }        
    return html;			}
	else {
				
		window.location = 'photo_' + nextPhoto.id + '.html';
	}
		
}

/***************************************************************************
* Toggle add to cart confirmation element and set up the click event for   *
* the 'Add to cart' button.                                                *
***************************************************************************/
function toggleAddToCartConfirm(array){
  if (typeof(array) !== 'object' || array == undefined) {
    array = photos;
  }
	if($('#paymentConfirm').length > 0){
		$('#paymentConfirm').hide();
		$('#paymentAddButton')
		.unbind()
		.click(function(){
						form = document.getElementById('paymentForm');
			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').text('Item added to cart').show();}
				else{
					$('#paymentConfirm').text('Item added to cart').fadeIn();
					dspOrderDetails(form.site.value);
				}
			}
			else{
				$('#paymentConfirm').text('Item not added - check cookies are enabled in your browser.').fadeIn();
			}
		});
	}
}
/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
photo.prototype.fnGetImageDetails = function(){
	var temp = '';
	if (this.description != '') {
		temp = temp +  '<p id="imageDescription">' + this.description + '</p>';
	}
		if (this.photo_ref != '') {
		temp = temp + '<p class="imageinfo" id="imageRef"><strong>Ref: </strong>' + this.photo_ref + '</p>';
	}
		if (this.takendate != '') {
				
		temp = temp + '<p class="imageinfo" id="imageDate"><strong>Date: </strong>' + this.takendate + '</p>';
	}
	
	if (this.location != '') {
				
		temp = temp + '<p class="imageinfo" id="imageLocation"><strong>Location: </strong>' +  this.location + '</p>';
	}
	
	if (this.photographer != '') {
				
		temp = temp + '<p class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>' + this.photographer + '</p>';
	}
					
				if (temp != '') {
		temp = temp + '<div class="spacer"></div>';
	}
	return temp;
};

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
photo.prototype.fnGetPaymentInfo = function(){
	var temp = '';
	if (this.item_price !== '') {
				temp = temp + '<p>Order this print:</p>';
				temp = temp + '<p class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> ' + (this.item_price).toFixed(2) + '</p>';
		var item_name  = this.purchase_instruction;
		var amount = (this.item_price).toFixed(2);
		var item_option  = 0;
	}
	else if (this.payment_groups_id !== '') {
		temp = temp + '<p>Buy this print online:</p>';
				temp = temp + '<form id="paymentOptions" style="margin:0px;border:0px;" name="paymentOptions">';
											temp = temp + '<select class="paymentlink" name="payment_options_id" onchange="updateItemValues(document.forms.paymentForm,this.form.payment_options_id.options[this.form.payment_options_id.options.selectedIndex].value);">';
				
		temp = temp + getPaymentOptions(this.payment_groups_id);
		temp = temp + '</select>';
		temp = temp + '</form>';
				var item_option  = paymentGroups[this.payment_groups_id].options[0];
		if(paymentOptions[item_option]){
			var item_name  = paymentOptions[item_option].payment_option;
			var amount =  paymentOptions[item_option].price;
		}
			}
	else {
				
	}
	if (this.item_price !== '' || this.payment_groups_id !== '') {
			temp = 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({            href: thumbnails[imageID].fnGalleryLink(gallery_id),            title: galleries[gallery_id].title          });
        }
							}
										}
}

/***************************************************************************
* 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 + ' | ';
				}
				temp = temp + '<a href="' + galleries[i].section_code + '_' + galleries[i].id + '.html">' + galleries[i].title + '</a>';
			}
		}
		document.all.galleryLinks.innerHTML = 'Other galleries: ' + temp;
	}
}

			

