window.thumbnails = new Object();
												thumbnails[8138267] = new thumbnail(8138267,'435206','Venice Dawn, National Geographic\'s Editor\'s Choice','Venice_Dawn_website_thumb.jpg',130, 92,1,'photo_8138267.html');
												thumbnails[89841] = new thumbnail(89841,'8523','Fishing Boat in Lagos','Lagos Boat_thumb.jpg',130, 87,1,'photo_89841.html');
												thumbnails[89848] = new thumbnail(89848,'8523','Ponte de Piedade, Lagos, Algarve','Ponte de Piedade Sunset_thumb.jpg',130, 85,1,'photo_89848.html');
												thumbnails[89850] = new thumbnail(89850,'8523','3 Trees growing on the edge of Europe','3 Trees_thumb.jpg',130, 182,1,'photo_89850.html');
												thumbnails[89889] = new thumbnail(89889,'292077','A Lone Cottage in Glencoe','Glencoe-Cottage_thumb.jpg',130, 87,1,'photo_89889.html');
												thumbnails[89890] = new thumbnail(89890,'292077','Mountain Stream','Buchaille-Brook_thumb.jpg',130, 156,1,'photo_89890.html');
												thumbnails[89891] = new thumbnail(89891,'292077','The Three Sisters of Glencoe','In-the-Glen_thumb.jpg',130, 188,1,'photo_89891.html');
												thumbnails[89892] = new thumbnail(89892,'292077','Blackrock Cottage at the Mouth of Glencoe','White-Corries_thumb.jpg',130, 87,1,'photo_89892.html');
												thumbnails[89893] = new thumbnail(89893,'292077','Heavy Traffic','Road-to-Glencoe_thumb.jpg',130, 161,1,'photo_89893.html');
												thumbnails[89894] = new thumbnail(89894,'8523','The Fort, Lagos','Lagos Fort_thumb.jpg',130, 85,1,'photo_89894.html');
												thumbnails[89895] = new thumbnail(89895,'8523','Stormy Seas','Praia de Camilo 3_thumb.jpg',130, 87,1,'photo_89895.html');
												thumbnails[91242] = new thumbnail(91242,'8523','One of the many \'Praias\' found along the Algarve coastline','Praia Panoramic_thumb.jpg',130, 274,1,'photo_91242.html');
												thumbnails[91244] = new thumbnail(91244,'8523','One of the Lagos Locals','Lagos Man_thumb.jpg',130, 94,1,'photo_91244.html');
												thumbnails[91245] = new thumbnail(91245,'8523','Inside a Grotto','In the Grotto 2_thumb.jpg',130, 93,1,'photo_91245.html');
												thumbnails[91246] = new thumbnail(91246,'8523','Spot the Seagull','Ring of Blue_thumb.jpg',130, 87,1,'photo_91246.html');
												thumbnails[91247] = new thumbnail(91247,'8523','The Swimming Pool viewed from the Balcony','Swimming Pool_thumb.jpg',130, 190,1,'photo_91247.html');
												thumbnails[91249] = new thumbnail(91249,'8523','The Window to the Sea','Window to the Sea_thumb.jpg',130, 83,1,'photo_91249.html');
												thumbnails[91250] = new thumbnail(91250,'8523','Palms in the Dust','Silves Fort_thumb.jpg',130, 195,1,'photo_91250.html');
												thumbnails[91252] = new thumbnail(91252,'292077','Duart Castle, Isle of Mull','Duart-Castle-Mull_thumb.jpg',130, 184,1,'photo_91252.html');
												thumbnails[91253] = new thumbnail(91253,'8539','The Forth Rail Bridge','Forth Rail Bridge_thumb.jpg',130, 70,1,'photo_91253.html');
												thumbnails[91254] = new thumbnail(91254,'292076','The Forth Bridges','Pier_thumb.jpg',130, 136,1,'photo_91254.html');
												thumbnails[91261] = new thumbnail(91261,'292084','Queen\'s View, Loch Lomand and Trossachs National Park','Queen\'s View_thumb.jpg',130, 87,1,'photo_91261.html');
												thumbnails[91720] = new thumbnail(91720,'8523','Unspoilt Bay','Natural Bay_thumb.jpg',130, 87,1,'photo_91720.html');
												thumbnails[91947] = new thumbnail(91947,'8754','The Alhambra, Grenada','Alhabra-wide_thumb.jpg',130, 89,1,'photo_91947.html');
												thumbnails[91948] = new thumbnail(91948,'8754','The Setting for the Barber of Seville','Barber-of-Seville\'s-Appartm_thumb.jpg',130, 192,1,'photo_91948.html');
												thumbnails[91949] = new thumbnail(91949,'8754','A Jewish Store in Seville','Jewish-Shop_thumb.jpg',130, 168,1,'photo_91949.html');
												thumbnails[91951] = new thumbnail(91951,'8754','Roadside Cortijo','Roadside-Cortijo-2_thumb.jpg',130, 80,1,'photo_91951.html');
												thumbnails[91952] = new thumbnail(91952,'8754','The Gorge at Ronda','Ronda-Gorge_thumb.jpg',130, 87,1,'photo_91952.html');
												thumbnails[91961] = new thumbnail(91961,'8754','Place d\'espagne','Piazza-d\'Espagna-Fountain_thumb.jpg',130, 184,1,'photo_91961.html');
												thumbnails[91965] = new thumbnail(91965,'8754','Spanish Street','Nerja-Street_thumb.jpg',130, 176,1,'photo_91965.html');
												thumbnails[91966] = new thumbnail(91966,'8754','Door to the Sea','Nerja-Wall_thumb.jpg',130, 73,1,'photo_91966.html');
												thumbnails[93975] = new thumbnail(93975,'292076','Cramond Causeway','Cramond-Causeway-b&w_thumb.jpg',130, 87,1,'photo_93975.html');
												thumbnails[93979] = new thumbnail(93979,'8669','Bandstand','Bandstand_thumb.jpg',130, 97,1,'photo_93979.html');
												thumbnails[93981] = new thumbnail(93981,'8669','The Caravan','Caravan_thumb.jpg',130, 97,1,'photo_93981.html');
												thumbnails[93982] = new thumbnail(93982,'8669','Bird\'s Eye View','Ducks_thumb.jpg',130, 92,1,'photo_93982.html');
												thumbnails[93987] = new thumbnail(93987,'8669','The Whin Sill','White-Rocks_thumb.jpg',130, 93,1,'photo_93987.html');
												thumbnails[94472] = new thumbnail(94472,'8523','An Old Mill','The Old Mill Villa da Bispo_thumb.jpg',130, 176,1,'photo_94472.html');
												thumbnails[94489] = new thumbnail(94489,'8669','The Baltic Centre for Contemporary Art','Baltic-2_thumb.jpg',130, 90,1,'photo_94489.html');
												thumbnails[94490] = new thumbnail(94490,'8669','The Baltic','Baltic-5_thumb.jpg',130, 93,1,'photo_94490.html');
												thumbnails[94493] = new thumbnail(94493,'8669','Gateshead Millennium Bridge','Millenium-Bridge-3_thumb.jpg',130, 97,1,'photo_94493.html');
												thumbnails[94500] = new thumbnail(94500,'8669','Stile','Northumberland-National-Par_thumb.jpg',130, 160,1,'photo_94500.html');
												thumbnails[94503] = new thumbnail(94503,'8669','The 199 Steps','Steps-from-Whitby-Abbey_thumb.jpg',130, 178,1,'photo_94503.html');
												thumbnails[94504] = new thumbnail(94504,'8754','Christian Palace','Christian-Palace_thumb.jpg',130, 188,1,'photo_94504.html');
												thumbnails[94505] = new thumbnail(94505,'8754','Spanish Village','Frigiliana_thumb.jpg',130, 195,1,'photo_94505.html');
												thumbnails[94506] = new thumbnail(94506,'8754','Herbal Remedies','Herbal-Remedies-2_thumb.jpg',130, 75,1,'photo_94506.html');
												thumbnails[96268] = new thumbnail(96268,'292077','Marshland in Glencoe','Buchaille-Marsh-2_thumb.jpg',130, 78,1,'photo_96268.html');
												thumbnails[96269] = new thumbnail(96269,'292077','Duart Castle from the Sea','Leaving Duart Castle_thumb.jpg',130, 70,1,'photo_96269.html');
												thumbnails[96281] = new thumbnail(96281,'292076','Scottish Parliament','New Scottish Parliament_thumb.jpg',130, 79,1,'photo_96281.html');
												thumbnails[96282] = new thumbnail(96282,'8754','To the Beach','Nerja-Path-to-Beach_thumb.jpg',130, 87,1,'photo_96282.html');
												thumbnails[96681] = new thumbnail(96681,'8669','Washed Up','Moored_thumb.jpg',130, 87,1,'photo_96681.html');
												thumbnails[96688] = new thumbnail(96688,'8523','Mid-afternoon Sun by the Sea','Praia-de-Camilo-2_thumb.jpg',130, 87,1,'photo_96688.html');
												thumbnails[101167] = new thumbnail(101167,'292078','Plockton Harbour','Plockton_thumb.jpg',130, 80,1,'photo_101167.html');
												thumbnails[101171] = new thumbnail(101171,'292078','Waiting for the Tide','Plockton Low Tide_thumb.jpg',130, 76,1,'photo_101171.html');
												thumbnails[103631] = new thumbnail(103631,'292081','Beach Bunker','Bunker in the Beach_thumb.jpg',130, 74,1,'photo_103631.html');
												thumbnails[103645] = new thumbnail(103645,'292078','Plockton Bay','Plockton 3_thumb.jpg',130, 87,1,'photo_103645.html');
												thumbnails[106523] = new thumbnail(106523,'292076','Princes Street Gardens','Prince\'s Street_thumb.jpg',130, 109,1,'photo_106523.html');
												thumbnails[106546] = new thumbnail(106546,'292081','Stairs to the Shore','Stairs to the Shore_thumb.jpg',130, 203,1,'photo_106546.html');
												thumbnails[106555] = new thumbnail(106555,'292076','Holyrood Park','Down Arthur\'s Path_thumb.jpg',130, 195,1,'photo_106555.html');
												thumbnails[106559] = new thumbnail(106559,'292076','Blowin\' in the Wind','Blowin in the Wind_thumb.jpg',130, 195,1,'photo_106559.html');
												thumbnails[106593] = new thumbnail(106593,'292076','The Forth-Clyde Canal','Forth-Clyde Canal_thumb.jpg',130, 195,1,'photo_106593.html');
												thumbnails[106599] = new thumbnail(106599,'8539','Masts','Masts_thumb.jpg',130, 205,1,'photo_106599.html');
												thumbnails[106607] = new thumbnail(106607,'292076','Golf','Arthur\'s Seat Golf Course_thumb.jpg',130, 102,1,'photo_106607.html');
												thumbnails[106611] = new thumbnail(106611,'326378','Lone Old Tree','Above Crummock 2_thumb.jpg',130, 102,1,'photo_106611.html');
												thumbnails[106613] = new thumbnail(106613,'326378','Crummock Canoeist','Crummock Canoeist_thumb.jpg',130, 92,1,'photo_106613.html');
												thumbnails[106616] = new thumbnail(106616,'326378','Crummock Water','Crummock Water 3_thumb.jpg',130, 105,1,'photo_106616.html');
												thumbnails[106618] = new thumbnail(106618,'326378','Rowing Boat','Derwent Water 2_thumb.jpg',130, 101,1,'photo_106618.html');
												thumbnails[106623] = new thumbnail(106623,'326378','Old Jetty and Boat','Derwent Water_thumb.jpg',130, 99,1,'photo_106623.html');
												thumbnails[106644] = new thumbnail(106644,'8669','Gateshead and Newcastle Quayside','Sage and Tyne Bridge_thumb.jpg',130, 81,1,'photo_106644.html');
												thumbnails[106647] = new thumbnail(106647,'326378','Stone Circle','Standing Stones_thumb.jpg',130, 127,1,'photo_106647.html');
												thumbnails[106648] = new thumbnail(106648,'326378','Standing Stone','The Standing Stone_thumb.jpg',130, 165,1,'photo_106648.html');
												thumbnails[106650] = new thumbnail(106650,'326378','The Two Trees','Thirlmere Tree_thumb.jpg',130, 167,1,'photo_106650.html');
												thumbnails[111124] = new thumbnail(111124,'8669','Marsden Rock','Marsden Rock_thumb.jpg',130, 181,1,'photo_111124.html');
												thumbnails[112086] = new thumbnail(112086,'292076','Copper & Rust','Cramond Bunker Window_thumb.jpg',130, 111,1,'photo_112086.html');
												thumbnails[115883] = new thumbnail(115883,'8539','Railway Line','Culross Rail_thumb.jpg',130, 87,1,'photo_115883.html');
												thumbnails[115885] = new thumbnail(115885,'8539','Old Jetty','Culross Bay_thumb.jpg',130, 87,1,'photo_115885.html');
												thumbnails[115887] = new thumbnail(115887,'8539','Sandhaven, Culross','Culross_thumb.jpg',130, 181,1,'photo_115887.html');
												thumbnails[115890] = new thumbnail(115890,'8539','Culross Pottery and Gallery','Culross Gallery_thumb.jpg',130, 170,1,'photo_115890.html');
												thumbnails[121080] = new thumbnail(121080,'292081','2 Boats','2 Boats_thumb.jpg',130, 87,1,'photo_121080.html');
												thumbnails[121088] = new thumbnail(121088,'292076','Causeway','Cramond-Causeway-2_thumb.jpg',130, 87,1,'photo_121088.html');
												thumbnails[121090] = new thumbnail(121090,'8539','Driftwood','Driftwood 2_thumb.jpg',130, 186,1,'photo_121090.html');
												thumbnails[157045] = new thumbnail(157045,'292077','Inveraray','Inveraray_thumb.jpg',130, 87,1,'photo_157045.html');
												thumbnails[157053] = new thumbnail(157053,'292077','Loch Fyne','Loch-Fyne_thumb.jpg',130, 58,1,'photo_157053.html');
												thumbnails[157060] = new thumbnail(157060,'292077','Lomond at Dusk','Lomond-Dusk_thumb.jpg',130, 87,1,'photo_157060.html');
												thumbnails[157062] = new thumbnail(157062,'292077','Packhorse Bridge','Packhorse-Bridge_thumb.jpg',130, 87,1,'photo_157062.html');
												thumbnails[171722] = new thumbnail(171722,'292081','Seat by the Sea','The-Seat-by-the-Sea_thumb.jpg',130, 87,1,'photo_171722.html');
												thumbnails[171742] = new thumbnail(171742,'292076','Random Boulder','Forth-Boulder_thumb.jpg',130, 87,1,'photo_171742.html');
												thumbnails[171747] = new thumbnail(171747,'292077','Tarbet Pier','Lomond-Pier-2_thumb.jpg',130, 87,1,'photo_171747.html');
												thumbnails[171762] = new thumbnail(171762,'15917','The Bench','The-Bench_thumb.jpg',130, 87,1,'photo_171762.html');
												thumbnails[182549] = new thumbnail(182549,'8669','Fish Quay','Fish-Quay_thumb.jpg',130, 81,1,'photo_182549.html');
												thumbnails[182558] = new thumbnail(182558,'8669','Laid to Rest','Rusty-Anchor-in-the-Snow_thumb.jpg',130, 147,1,'photo_182558.html');
												thumbnails[182582] = new thumbnail(182582,'291652','Goat Fell','Arran Island_thumb.jpg',130, 62,1,'photo_182582.html');
												thumbnails[182588] = new thumbnail(182588,'291652','Boulders and Beach','Blackwaterfoot-Beach_thumb.jpg',130, 87,1,'photo_182588.html');
												thumbnails[182589] = new thumbnail(182589,'291652','Blackwaterfoot Harbour','Blackwaterfoot-Bay_thumb.jpg',130, 195,1,'photo_182589.html');
												thumbnails[182591] = new thumbnail(182591,'291652','Arran','Arran Island 2_thumb.jpg',130, 70,1,'photo_182591.html');
												thumbnails[182592] = new thumbnail(182592,'291652','Sunset over Arran','Arran Sunset_thumb.jpg',130, 53,1,'photo_182592.html');
												thumbnails[223997] = new thumbnail(223997,'20278','The Anaga Peninsula','Anaga-Peninsula_thumb.jpg',130, 84,1,'photo_223997.html');
												thumbnails[223998] = new thumbnail(223998,'20278','Colours','Arthouse-line_thumb.jpg',130, 73,1,'photo_223998.html');
												thumbnails[223999] = new thumbnail(223999,'20278','Behind Buenavista del Norte','Behind-Buenavista_thumb.jpg',130, 87,1,'photo_223999.html');
												thumbnails[224008] = new thumbnail(224008,'20278','Bluebells','Bluebells_thumb.jpg',130, 87,1,'photo_224008.html');
												thumbnails[224018] = new thumbnail(224018,'20278','Cacti','Cacti_thumb.jpg',130, 161,1,'photo_224018.html');
												thumbnails[224031] = new thumbnail(224031,'20278','The Fisherwoman','Fisherwoman_thumb.jpg',130, 175,1,'photo_224031.html');
												thumbnails[224039] = new thumbnail(224039,'20278','Natural Rockpool','Garachico-Pool_thumb.jpg',130, 195,1,'photo_224039.html');
												thumbnails[224041] = new thumbnail(224041,'20278','Los Gigantes','Gigantes-Shore_thumb.jpg',130, 87,1,'photo_224041.html');
												thumbnails[224044] = new thumbnail(224044,'20278','Sundown','Hotel-Sunset_thumb.jpg',130, 195,1,'photo_224044.html');
												thumbnails[224047] = new thumbnail(224047,'20278','New and Old','Igueste-2_thumb.jpg',130, 87,1,'photo_224047.html');
												thumbnails[224050] = new thumbnail(224050,'20278','Igueste','Igueste_thumb.jpg',130, 82,1,'photo_224050.html');
												thumbnails[224059] = new thumbnail(224059,'20278','The Lone Fisherman','Lone-Fishrman_thumb.jpg',130, 192,1,'photo_224059.html');
												thumbnails[224062] = new thumbnail(224062,'20278','The Long and Winding Road','Long-&-Winding-Road_thumb.jpg',130, 195,1,'photo_224062.html');
												thumbnails[224072] = new thumbnail(224072,'20278','Sea Spray on the Square','Misty-Coast_thumb.jpg',130, 83,1,'photo_224072.html');
												thumbnails[224077] = new thumbnail(224077,'20278','Growing on the Edge','Old-Branches_thumb.jpg',130, 87,1,'photo_224077.html');
												thumbnails[224086] = new thumbnail(224086,'20278','Vintage Merc','Old-Merc_thumb.jpg',130, 87,1,'photo_224086.html');
												thumbnails[224092] = new thumbnail(224092,'20278','Palms','Palms_thumb.jpg',130, 87,1,'photo_224092.html');
												thumbnails[224104] = new thumbnail(224104,'20278','Gazing out to Sea.','People_thumb.jpg',130, 72,1,'photo_224104.html');
												thumbnails[224113] = new thumbnail(224113,'20278','Puerto\'s Harbour','Puerto-Harbour-2_thumb.jpg',130, 70,1,'photo_224113.html');
												thumbnails[224118] = new thumbnail(224118,'20278','Sunbathing','Puerto-Harbour-3_thumb.jpg',130, 87,1,'photo_224118.html');
												thumbnails[224124] = new thumbnail(224124,'20278','3 Boats','Puerto-Harbour-4_thumb.jpg',130, 83,1,'photo_224124.html');
												thumbnails[224127] = new thumbnail(224127,'20278','Old Harbour','Puerto-Harbour_thumb.jpg',130, 90,1,'photo_224127.html');
												thumbnails[224134] = new thumbnail(224134,'20278','Tenerife Tide','Puerto-Rocks_thumb.jpg',130, 75,1,'photo_224134.html');
												thumbnails[224310] = new thumbnail(224310,'20278','The Road to Teide','Road-to-Teide_thumb.jpg',130, 87,1,'photo_224310.html');
												thumbnails[224317] = new thumbnail(224317,'20278','Rocks in the Atlantic','Rocks_thumb.jpg',130, 87,1,'photo_224317.html');
												thumbnails[224323] = new thumbnail(224323,'20278','Church of San Juan','San-Juan-Church_thumb.jpg',130, 87,1,'photo_224323.html');
												thumbnails[224326] = new thumbnail(224326,'20278','San Juan Side Street','Side-Street-2_thumb.jpg',130, 195,1,'photo_224326.html');
												thumbnails[224328] = new thumbnail(224328,'20278','Craterscape','Teide-Landscape_thumb.jpg',130, 87,1,'photo_224328.html');
												thumbnails[224330] = new thumbnail(224330,'20278','Cinchado','Teide-View_thumb.jpg',130, 87,1,'photo_224330.html');
												thumbnails[224332] = new thumbnail(224332,'20278','Canarian Mountains','Tenerife-Mountains_thumb.jpg',130, 63,1,'photo_224332.html');
												thumbnails[224333] = new thumbnail(224333,'20278','The Cast','The-Catch_thumb.jpg',130, 87,1,'photo_224333.html');
												thumbnails[224336] = new thumbnail(224336,'20278','The Sea','The-Sea_thumb.jpg',130, 87,1,'photo_224336.html');
												thumbnails[224338] = new thumbnail(224338,'20278','The Square','The-Square_thumb.jpg',130, 183,1,'photo_224338.html');
												thumbnails[224344] = new thumbnail(224344,'20278','Wild Daisies','Wild-Flower-Cliffs_thumb.jpg',130, 183,1,'photo_224344.html');
												thumbnails[224348] = new thumbnail(224348,'20278','Winding Road','Windy-Road_thumb.jpg',130, 87,1,'photo_224348.html');
												thumbnails[224355] = new thumbnail(224355,'292076','Cammo Tower','Cammo-Tower-3_thumb.jpg',130, 195,1,'photo_224355.html');
												thumbnails[224382] = new thumbnail(224382,'8539','The Bunker and the Green','Golf-3_thumb.jpg',130, 79,1,'photo_224382.html');
												thumbnails[224385] = new thumbnail(224385,'8539','KY996','KY996_thumb.jpg',130, 87,1,'photo_224385.html');
												thumbnails[224388] = new thumbnail(224388,'8539','Crail','Crail-2_thumb.jpg',130, 92,1,'photo_224388.html');
												thumbnails[224389] = new thumbnail(224389,'8539','Crail Harbour','Crail_thumb.jpg',130, 87,1,'photo_224389.html');
												thumbnails[224391] = new thumbnail(224391,'8669','Durham Cathedral','Durham-3_thumb.jpg',130, 195,1,'photo_224391.html');
												thumbnails[224396] = new thumbnail(224396,'8669','Hadrian\'s Wall','Roman-Lake_thumb.jpg',130, 87,1,'photo_224396.html');
												thumbnails[224398] = new thumbnail(224398,'8669','Cloisters','Cloisters_thumb.jpg',130, 87,1,'photo_224398.html');
												thumbnails[224401] = new thumbnail(224401,'8669','Durham on the Wear','Durham-4_thumb.jpg',130, 87,1,'photo_224401.html');
												thumbnails[224402] = new thumbnail(224402,'8669','Low Force','Low-Force-2_thumb.jpg',130, 162,1,'photo_224402.html');
												thumbnails[224404] = new thumbnail(224404,'8669','Derwent Dam Tower','Dam-Tower_thumb.jpg',130, 170,1,'photo_224404.html');
												thumbnails[224405] = new thumbnail(224405,'8669','The Dam','Derwent-Dam_thumb.jpg',130, 98,1,'photo_224405.html');
												thumbnails[224411] = new thumbnail(224411,'8669','Angel of the North','Angel-Wide-2_thumb.jpg',130, 87,1,'photo_224411.html');
												thumbnails[224412] = new thumbnail(224412,'8669','The Angel of the North','Angel-Square_thumb.jpg',130, 115,1,'photo_224412.html');
												thumbnails[231599] = new thumbnail(231599,'292076','The Swan','Musselburgh-Esk-River-Mouth_thumb.jpg',130, 87,1,'photo_231599.html');
												thumbnails[231621] = new thumbnail(231621,'292081','Beach and Bass Rock','East-Links-Beach_thumb.jpg',130, 87,1,'photo_231621.html');
												thumbnails[231627] = new thumbnail(231627,'292081','Colourful Cottages','Coloured-Cottages_thumb.jpg',130, 87,1,'photo_231627.html');
												thumbnails[231643] = new thumbnail(231643,'292081','Horseshoe Rocks','Horseshoe-Rocks_thumb.jpg',130, 87,1,'photo_231643.html');
												thumbnails[231647] = new thumbnail(231647,'292076','Fisherrow Harbour','Boats-Moored-in-Fisherrow-H_thumb.jpg',130, 195,1,'photo_231647.html');
												thumbnails[231656] = new thumbnail(231656,'292076','The Old Man and the Sea','The-Old-Man-and-the-Sea_thumb.jpg',130, 87,1,'photo_231656.html');
												thumbnails[231658] = new thumbnail(231658,'292076','The River Esk at Musselburgh','River-Esk_thumb.jpg',130, 87,1,'photo_231658.html');
												thumbnails[231659] = new thumbnail(231659,'292076','Pensioners on the Pier','OAP-Pier-2_thumb.jpg',130, 87,1,'photo_231659.html');
												thumbnails[231662] = new thumbnail(231662,'292076','The Handkerchief','The-Old-Couple_thumb.jpg',130, 87,1,'photo_231662.html');
												thumbnails[231702] = new thumbnail(231702,'8669','The High Lights','Highlights_thumb.jpg',130, 188,1,'photo_231702.html');
												thumbnails[231703] = new thumbnail(231703,'8669','Lifebelt and Rope','Life-Belt_thumb.jpg',130, 195,1,'photo_231703.html');
												thumbnails[254872] = new thumbnail(254872,'8539','The Couple','The-Couple_thumb.jpg',130, 87,1,'photo_254872.html');
												thumbnails[255295] = new thumbnail(255295,'292076','The River Almond','Almond-Falls_thumb.jpg',130, 195,1,'photo_255295.html');
												thumbnails[255299] = new thumbnail(255299,'292081','A Bridge Too Far','The-Bridge_thumb.jpg',130, 87,1,'photo_255299.html');
												thumbnails[255305] = new thumbnail(255305,'292081','The Victoria Harbour','Dunbar-Cromwell-Harbour_thumb.jpg',130, 87,1,'photo_255305.html');
												thumbnails[255424] = new thumbnail(255424,'292081','Sunset over The Lamb','Sunset_thumb.jpg',130, 78,1,'photo_255424.html');
												thumbnails[255426] = new thumbnail(255426,'292081','Fidra','Sunset-3_thumb.jpg',130, 54,1,'photo_255426.html');
												thumbnails[255428] = new thumbnail(255428,'292081','Sunset over Craigleith','Sunset-4_thumb.jpg',130, 87,1,'photo_255428.html');
												thumbnails[255535] = new thumbnail(255535,'20278','The Road to Masca','Road-up-to-Masca_thumb.jpg',130, 83,1,'photo_255535.html');
												thumbnails[255536] = new thumbnail(255536,'20278','Church at Masca','Masca-Church_thumb.jpg',130, 87,1,'photo_255536.html');
												thumbnails[255537] = new thumbnail(255537,'20278','Vino del Pais','Vino-del-Pais_thumb.jpg',130, 195,1,'photo_255537.html');
												thumbnails[255641] = new thumbnail(255641,'20278','The Old Merc.','Old-Merc-2_thumb.jpg',130, 87,1,'photo_255641.html');
												thumbnails[323049] = new thumbnail(323049,'27479','Looking-over-to-Luskentyre','Looking-over-to-Luskentyre_thumb.jpg',130, 184,1,'photo_323049.html');
												thumbnails[323069] = new thumbnail(323069,'8669','','Boat-2_thumb.jpg',130, 184,1,'photo_323069.html');
												thumbnails[891395] = new thumbnail(891395,'292077','Buachaille Etive Mòr','Buchaille-Etive-Mor_thumb.jpg',130, 184,1,'photo_891395.html');
												thumbnails[1106363] = new thumbnail(1106363,'8669','Flow','Yorkshire-Waterfall_thumb.jpg',130, 184,1,'photo_1106363.html');
												thumbnails[1106399] = new thumbnail(1106399,'8669','Fields of Red','Poppies1_thumb.jpg',130, 87,1,'photo_1106399.html');
												thumbnails[1106400] = new thumbnail(1106400,'8669','Walls and Dales','Walls-and-Dales_thumb.jpg',130, 92,1,'photo_1106400.html');
												thumbnails[1275776] = new thumbnail(1275776,'292081','Steps to the Sea','Steps-to-the-Sea1_thumb.jpg',130, 87,1,'photo_1275776.html');
												thumbnails[1467420] = new thumbnail(1467420,'292080','Gourock','Gourock_thumb.jpg',130, 92,1,'photo_1467420.html');
												thumbnails[3040069] = new thumbnail(3040069,'292076','Cramond Causeway','R_Armstrong-Causeway1_thumb.jpg',130, 92,1,'photo_3040069.html');
												thumbnails[3528813] = new thumbnail(3528813,'291098','FOR THAT SPECIAL SOMEONE...','6372[1]_thumb.jpg',130, 93,1,'photo_3528813.html');
												thumbnails[3528876] = new thumbnail(3528876,'178109','Barra Boats, Eoligarry Pier','6377[2]_thumb.jpg',130, 189,1,'photo_3528876.html');
												thumbnails[5503628] = new thumbnail(5503628,'8669','Reflection','Lighthouse-Seaweed_thumb.jpg',130, 184,1,'photo_5503628.html');
												thumbnails[5828350] = new thumbnail(5828350,'250740','SEE MY FEATURE ON TIREE IN AMATEUR PHOTOGRAPHER ON SALE NOW!','Cover_24_April_2010_e_a04353b0a5aff3704a8a6841dad441271_thumb.jpg',130, 184,1,'photo_5828350.html');
												thumbnails[6765673] = new thumbnail(6765673,'291098','\'Lightscapes\' is the 2011 calendar from RoscoPhotographic','livepreviewaspx_thumb.jpg',130, 104,1,'photo_6765673.html');
												thumbnails[2863887] = new thumbnail(2863887,'178109','Barra Blur','Barra-Blur_thumb.jpg',130, 92,1,'photo_2863887.html');
												thumbnails[2926972] = new thumbnail(2926972,'178109','Boat at Eoligarry Pier','Boat-at-Eoligarry-Pier-2_thumb.jpg',130, 92,1,'photo_2926972.html');
												thumbnails[2926963] = new thumbnail(2926963,'178109','Stroll by the Sea','3-on-the-Beach_thumb.jpg',130, 92,1,'photo_2926963.html');
												thumbnails[323013] = new thumbnail(323013,'27479','Blackhouses','Blackhouses_thumb.jpg',130, 92,1,'photo_323013.html');
												thumbnails[323030] = new thumbnail(323030,'27479','Blue-Beach','Blue-Beach_thumb.jpg',130, 195,1,'photo_323030.html');
												thumbnails[485345] = new thumbnail(485345,'27479','Shack on Harris','Shack_thumb.jpg',130, 75,1,'photo_485345.html');
												thumbnails[485372] = new thumbnail(485372,'292081','Approaching Cromwell Harbour','Approaching-Cromwell-Harbou_thumb.jpg',130, 195,1,'photo_485372.html');
												thumbnails[485381] = new thumbnail(485381,'292076','Boats and Swans','Boats-and-Swans_thumb.jpg',130, 87,1,'photo_485381.html');
												thumbnails[485426] = new thumbnail(485426,'292076','Forth Rail Bridge from Queensferry','Forth-Rail-2_thumb.jpg',130, 92,1,'photo_485426.html');
												thumbnails[485437] = new thumbnail(485437,'292076','The Wall','Sunset-Wall_thumb.jpg',130, 184,1,'photo_485437.html');
												thumbnails[826224] = new thumbnail(826224,'8669','Cullernose Point','Cullernose_thumb.jpg',130, 92,1,'photo_826224.html');
												thumbnails[826561] = new thumbnail(826561,'292076','Bay','Bay_thumb.jpg',130, 92,1,'photo_826561.html');
												thumbnails[829823] = new thumbnail(829823,'8539','Burntisland Blue','Burntisland-blue_thumb.jpg',130, 92,1,'photo_829823.html');
												thumbnails[829846] = new thumbnail(829846,'292077','Loch Lomand Boats','Lomand-Boats_thumb.jpg',130, 92,1,'photo_829846.html');
												thumbnails[891197] = new thumbnail(891197,'292077','Blackrock Cottage','Blackrock-colour_thumb.jpg',130, 92,1,'photo_891197.html');
												thumbnails[914887] = new thumbnail(914887,'8669','Steel Rigg','Steel-Rigg_thumb.jpg',130, 184,1,'photo_914887.html');
												thumbnails[1164540] = new thumbnail(1164540,'292077','3 On a Seat','3-On-a-Seat_thumb.jpg',130, 92,1,'photo_1164540.html');
												thumbnails[1182337] = new thumbnail(1182337,'8669','Herring Boats','Herring-Boats_thumb.jpg',130, 92,1,'photo_1182337.html');
												thumbnails[1323358] = new thumbnail(1323358,'292078','Highland Falls','Ardveck-Falls_thumb.jpg',130, 184,1,'photo_1323358.html');
												thumbnails[1323361] = new thumbnail(1323361,'292078','Inverpolly','Entering-Inverpolly_thumb.jpg',130, 92,1,'photo_1323361.html');
												thumbnails[1411842] = new thumbnail(1411842,'292076','Edinburgh Castle','Edinburgh-Castle_thumb.jpg',130, 92,1,'photo_1411842.html');
												thumbnails[1448102] = new thumbnail(1448102,'292076','Serenity at Sunset','Cramond-Serene_thumb.jpg',130, 92,1,'photo_1448102.html');
												thumbnails[1593571] = new thumbnail(1593571,'292080','Autumn','Autumn_thumb.jpg',130, 92,1,'photo_1593571.html');
												thumbnails[1593580] = new thumbnail(1593580,'8669','Embleton Bay','Embleton-Bay_thumb.jpg',130, 92,1,'photo_1593580.html');
												thumbnails[1830259] = new thumbnail(1830259,'15917','Beach Dreams','abstract-beach-colourful_thumb.jpg',130, 92,1,'photo_1830259.html');
												thumbnails[1946659] = new thumbnail(1946659,'130317','12 Islands','12-Islands_thumb.jpg',130, 87,1,'photo_1946659.html');
												thumbnails[2074751] = new thumbnail(2074751,'292080','Gourock at Sundown','Gourock-Sunset-4_thumb.jpg',130, 92,1,'photo_2074751.html');
												thumbnails[2253732] = new thumbnail(2253732,'292076','Incoming','3-ways_thumb.jpg',130, 92,1,'photo_2253732.html');
												thumbnails[2942392] = new thumbnail(2942392,'8523','Shades of Blue','Alvor-Street_thumb.jpg',130, 184,1,'photo_2942392.html');
												thumbnails[4637769] = new thumbnail(4637769,'292077','Boats at Connel','Boats_at_Connel_thumb.jpg',130, 92,1,'photo_4637769.html');
												thumbnails[4637941] = new thumbnail(4637941,'250738','Boulders at Loch Coruisk','CoruiskScavaig1s_thumb.jpg',130, 184,1,'photo_4637941.html');
												thumbnails[4637950] = new thumbnail(4637950,'250740','Highland Cow','Tiree1_thumb.jpg',130, 92,1,'photo_4637950.html');
												thumbnails[4637955] = new thumbnail(4637955,'250740','Afterglow','Tiree51_thumb.jpg',130, 92,1,'photo_4637955.html');
												thumbnails[4637960] = new thumbnail(4637960,'250740','Washing Line','Tiree10_thumb.jpg',130, 92,1,'photo_4637960.html');
												thumbnails[4637964] = new thumbnail(4637964,'250740','Lone Cottage','Tiree15_thumb.jpg',130, 92,1,'photo_4637964.html');
												thumbnails[4637969] = new thumbnail(4637969,'250740','Cool waters afer sunset','Tiree20_thumb.jpg',130, 92,1,'photo_4637969.html');
												thumbnails[4637980] = new thumbnail(4637980,'250740','One cloud','Tiree241_thumb.jpg',130, 92,1,'photo_4637980.html');
												thumbnails[4639401] = new thumbnail(4639401,'250740','Rust','Tiree14_thumb.jpg',130, 92,1,'photo_4639401.html');
												thumbnails[4639406] = new thumbnail(4639406,'250740','Old bothy','Tiree26_thumb.jpg',130, 195,1,'photo_4639406.html');
												thumbnails[5162377] = new thumbnail(5162377,'291098','Sunset over Edinburgh from Calton Hill Postcard','calton_hill_postcard_thumb.jpg',130, 101,1,'photo_5162377.html');
												thumbnails[5162534] = new thumbnail(5162534,'292084','Autumnal Hypercolour','Loch_of_the_Lowes_thumb.jpg',130, 92,1,'photo_5162534.html');
												thumbnails[5761355] = new thumbnail(5761355,'292079','Sinking Soon','BowlingBoats1_thumb.jpg',130, 184,1,'photo_5761355.html');
												thumbnails[6953476] = new thumbnail(6953476,'292077','Highland Wilderness','Lone-Tree-Ground-Level-Best_thumb.jpg',130, 195,1,'photo_6953476.html');
												thumbnails[7569308] = new thumbnail(7569308,'8669','Stones in the Sun','Stones in the Sun_thumb.jpg',130, 184,1,'photo_7569308.html');
												thumbnails[2926964] = new thumbnail(2926964,'178109','Beach, north Barra','Beach,-North-Barra_thumb.jpg',130, 92,1,'photo_2926964.html');
												thumbnails[2863888] = new thumbnail(2863888,'178109','Barra Boats','Barra-Boats_thumb.jpg',130, 184,1,'photo_2863888.html');
												thumbnails[323023] = new thumbnail(323023,'27479','Callanish1','Callanish1_thumb.jpg',130, 87,1,'photo_323023.html');
												thumbnails[323031] = new thumbnail(323031,'27479','Center-Stone','Center-Stone_thumb.jpg',130, 195,1,'photo_323031.html');
												thumbnails[323067] = new thumbnail(323067,'8669','Boat-b&w','Boat-b&w_thumb.jpg',130, 184,1,'photo_323067.html');
												thumbnails[485346] = new thumbnail(485346,'27479','Tractor','Tractor_thumb.jpg',130, 87,1,'photo_485346.html');
												thumbnails[485364] = new thumbnail(485364,'292081','Cromwell Harbour','Cromwell-Harbour_thumb.jpg',130, 87,1,'photo_485364.html');
												thumbnails[485373] = new thumbnail(485373,'292081','Lobster Pots','Lobster-Pots_thumb.jpg',130, 195,1,'photo_485373.html');
												thumbnails[826562] = new thumbnail(826562,'292081','Rockpool','Rockpool_thumb.jpg',130, 195,1,'photo_826562.html');
												thumbnails[829824] = new thumbnail(829824,'8539','Horses','horses_thumb.jpg',130, 92,1,'photo_829824.html');
												thumbnails[829852] = new thumbnail(829852,'8539','Forth Road Bridge','Forth-Road-Bridge_thumb.jpg',130, 92,1,'photo_829852.html');
												thumbnails[914880] = new thumbnail(914880,'292077','Fencepost Reflections','Fencepost-Reflections1_thumb.jpg',130, 92,1,'photo_914880.html');
												thumbnails[1164541] = new thumbnail(1164541,'292077','Boats at Inveraray','Boats-at-Inveraray_thumb.jpg',130, 92,1,'photo_1164541.html');
												thumbnails[1182338] = new thumbnail(1182338,'8669','The Holy Island of Lindisfarne','Lindisfarne_thumb.jpg',130, 184,1,'photo_1182338.html');
												thumbnails[1323359] = new thumbnail(1323359,'292078','Eilean Donan Castle','Eilean-Donnan-Castle_thumb.jpg',130, 92,1,'photo_1323359.html');
												thumbnails[1323362] = new thumbnail(1323362,'292078','Loch Maree View','Loch-Maree-View_thumb.jpg',130, 184,1,'photo_1323362.html');
												thumbnails[1411843] = new thumbnail(1411843,'292078','Wild Heather','Inverpolly-Wild_thumb.jpg',130, 92,1,'photo_1411843.html');
												thumbnails[1448103] = new thumbnail(1448103,'292076','Leaves at Sundown','Cramond-Sunset_thumb.jpg',130, 184,1,'photo_1448103.html');
												thumbnails[1593572] = new thumbnail(1593572,'8539','Culross Cobbles','Culross-Cobbles_thumb.jpg',130, 195,1,'photo_1593572.html');
												thumbnails[1593586] = new thumbnail(1593586,'8669','Dunstanburgh Castle','Dunstanburgh-foam_thumb.jpg',130, 92,1,'photo_1593586.html');
												thumbnails[1830260] = new thumbnail(1830260,'15917','Abstraction','Abstraction_thumb.jpg',130, 92,1,'photo_1830260.html');
												thumbnails[1946660] = new thumbnail(1946660,'130317','Abandoned Church','Abandoned-Church_thumb.jpg',130, 92,1,'photo_1946660.html');
												thumbnails[2074752] = new thumbnail(2074752,'292081','Spring Sunset','North-Berwick-Sunset_thumb.jpg',130, 184,1,'photo_2074752.html');
												thumbnails[2942393] = new thumbnail(2942393,'8523','The Blue Door','Blue-Door_thumb.jpg',130, 184,1,'photo_2942393.html');
												thumbnails[4637770] = new thumbnail(4637770,'250739','Cows relaxing on the beach','Cows_in_Bay_of_Laig_Eigg_thumb.jpg',130, 92,1,'photo_4637770.html');
												thumbnails[4637942] = new thumbnail(4637942,'250738','Rock & Reflection','CoruiskScavaig2_thumb.jpg',130, 184,1,'photo_4637942.html');
												thumbnails[4637951] = new thumbnail(4637951,'250740','Seagull, Sheep, Cow & Cockerel','Tiree2_thumb.jpg',130, 92,1,'photo_4637951.html');
												thumbnails[4637956] = new thumbnail(4637956,'250740','White Cottage Purple Sky','Tiree6_thumb.jpg',130, 92,1,'photo_4637956.html');
												thumbnails[4637961] = new thumbnail(4637961,'250740','Little Houses on the Prairie','Tiree11_thumb.jpg',130, 92,1,'photo_4637961.html');
												thumbnails[4637970] = new thumbnail(4637970,'250740','After the Sunset','Tiree21_thumb.jpg',130, 92,1,'photo_4637970.html');
												thumbnails[4637981] = new thumbnail(4637981,'250740','Cottage Under a Big Sky','Tiree25_thumb.jpg',130, 184,1,'photo_4637981.html');
												thumbnails[4639402] = new thumbnail(4639402,'250740','Old trailer','Tiree16_thumb.jpg',130, 92,1,'photo_4639402.html');
												thumbnails[5162790] = new thumbnail(5162790,'8539','Sunset Silhouette','Fife__Perthshire_web2_thumb.jpg',130, 87,1,'photo_5162790.html');
												thumbnails[5761356] = new thumbnail(5761356,'292079','Out of the Blue','BowlingBoats2_thumb.jpg',130, 92,1,'photo_5761356.html');
												thumbnails[6953477] = new thumbnail(6953477,'292077','Lochan Nah-Achlaise, wider angle','Rannoch-Moor-Web1_thumb.jpg',130, 87,1,'photo_6953477.html');
												thumbnails[2863889] = new thumbnail(2863889,'178109','Boat near Cockle Strand','Boat-near-Cockle-Strand_thumb.jpg',130, 92,1,'photo_2863889.html');
												thumbnails[323032] = new thumbnail(323032,'27479','Rusty-Roof','Rusty-Roof_thumb.jpg',130, 81,1,'photo_323032.html');
												thumbnails[323043] = new thumbnail(323043,'27479','Luskentyre-from-Seilebost','Luskentyre-from-Seilebost_thumb.jpg',130, 92,1,'photo_323043.html');
												thumbnails[485347] = new thumbnail(485347,'27479','Uig Bay','Uig-Bay-2_thumb.jpg',130, 92,1,'photo_485347.html');
												thumbnails[485365] = new thumbnail(485365,'15917','Graffitti','Graffitti_thumb.jpg',130, 124,1,'photo_485365.html');
												thumbnails[485429] = new thumbnail(485429,'292076','Scott\'s View','Scotts-View-2_thumb.jpg',130, 87,1,'photo_485429.html');
												thumbnails[826226] = new thumbnail(826226,'8669','Mitford Church','Mitford-Church_thumb.jpg',130, 104,1,'photo_826226.html');
												thumbnails[826563] = new thumbnail(826563,'292081','Sandstorm','Sandstorm_thumb.jpg',130, 87,1,'photo_826563.html');
												thumbnails[829825] = new thumbnail(829825,'292076','Staithes','Staithes_thumb.jpg',130, 92,1,'photo_829825.html');
												thumbnails[829853] = new thumbnail(829853,'292080','Light from the Heavens','Sun-Over-Holy-Loch_thumb.jpg',130, 87,1,'photo_829853.html');
												thumbnails[891199] = new thumbnail(891199,'292077','Mountain Stream','Buchaille-Boulders_thumb.jpg',130, 92,1,'photo_891199.html');
												thumbnails[1182339] = new thumbnail(1182339,'8669','Staithes','Staithes1_thumb.jpg',130, 195,1,'photo_1182339.html');
												thumbnails[1593573] = new thumbnail(1593573,'8539','Downtown Culross','Culross-Tuscan-Style_thumb.jpg',130, 184,1,'photo_1593573.html');
												thumbnails[1593587] = new thumbnail(1593587,'8669','The Pipe to the Light','lighthouse-pipe_thumb.jpg',130, 92,1,'photo_1593587.html');
												thumbnails[1830261] = new thumbnail(1830261,'292076','Cool Skies','Cramond-cool-2_thumb.jpg',130, 184,1,'photo_1830261.html');
												thumbnails[1946661] = new thumbnail(1946661,'130317','Happy Days','Happy-Days_thumb.jpg',130, 92,1,'photo_1946661.html');
												thumbnails[2942394] = new thumbnail(2942394,'8523','Carvoeiro Calm','Carvoeiro-Blue_thumb.jpg',130, 92,1,'photo_2942394.html');
												thumbnails[4637771] = new thumbnail(4637771,'292078','Perfection','Silver_Sands_Morar_thumb.jpg',130, 92,1,'photo_4637771.html');
												thumbnails[4637943] = new thumbnail(4637943,'250738','Wild','CoruiskScavaig3_thumb.jpg',130, 184,1,'photo_4637943.html');
												thumbnails[4637952] = new thumbnail(4637952,'250740','Sunbathing','Tiree3_thumb.jpg',130, 92,1,'photo_4637952.html');
												thumbnails[4637957] = new thumbnail(4637957,'250740','On the Beach','Tiree7_thumb.jpg',130, 92,1,'photo_4637957.html');
												thumbnails[4637962] = new thumbnail(4637962,'250740','Thatched','Tiree12_thumb.jpg',130, 92,1,'photo_4637962.html');
												thumbnails[4637965] = new thumbnail(4637965,'250740','Restoration','Tiree17_thumb.jpg',130, 92,1,'photo_4637965.html');
												thumbnails[4639403] = new thumbnail(4639403,'250740','White Walls, Red Door','Tiree19_thumb.jpg',130, 92,1,'photo_4639403.html');
												thumbnails[5761357] = new thumbnail(5761357,'292079','Wrecks in the Clyde','BowlingBoats3_thumb.jpg',130, 92,1,'photo_5761357.html');
												thumbnails[6953478] = new thumbnail(6953478,'292077','Lochan Nah-Achlaise','Rannoch-Moor-Web2_thumb.jpg',130, 86,1,'photo_6953478.html');
												thumbnails[2863890] = new thumbnail(2863890,'178109','Cottage near Cockle Strand, rear view','Cottage-near-Cockle-Strand-2_thumb.jpg',130, 92,1,'photo_2863890.html');
												thumbnails[254797] = new thumbnail(254797,'8539','St. Andrews Harbour','St_thumb.Andrews-Harbour.jpg',130, 87,1,'photo_254797.html');
												thumbnails[323027] = new thumbnail(323027,'27479','Sand-and-the-Sea','Sand-and-the-Sea_thumb.jpg',130, 195,1,'photo_323027.html');
												thumbnails[323033] = new thumbnail(323033,'27479','Stormy-Seas','Stormy-Seas_thumb.jpg',130, 87,1,'photo_323033.html');
												thumbnails[485348] = new thumbnail(485348,'27479','Uig','Uig-Bay_thumb.jpg',130, 87,1,'photo_485348.html');
												thumbnails[826227] = new thumbnail(826227,'8669','Pauperhaugh Bridge','Pauperhaugh-Bridge_thumb.jpg',130, 92,1,'photo_826227.html');
												thumbnails[829826] = new thumbnail(829826,'292081','Washing Line','Washing-Line_thumb.jpg',130, 87,1,'photo_829826.html');
												thumbnails[829849] = new thumbnail(829849,'292077','Pier Tranquility','Tarbet-Jetty_thumb.jpg',130, 92,1,'photo_829849.html');
												thumbnails[1164543] = new thumbnail(1164543,'292077','Rest-and-be-Thankful','Rest-and-be-Thnakful_thumb.jpg',130, 92,1,'photo_1164543.html');
												thumbnails[1323360] = new thumbnail(1323360,'292078','Inverpolly','Inverpolly_thumb.jpg',130, 92,1,'photo_1323360.html');
												thumbnails[1411845] = new thumbnail(1411845,'8669','St Mary\'s Island At Low Tide','St_Marys_Island_Low_Tide_thumb.jpg',130, 184,1,'photo_1411845.html');
												thumbnails[1593574] = new thumbnail(1593574,'292076','Edinburgh Sunset','Edinburgh-Sunset_thumb.jpg',130, 87,1,'photo_1593574.html');
												thumbnails[1593583] = new thumbnail(1593583,'8669','Old Jetty at Sunset','Old-Jetty-sunset_thumb.jpg',130, 184,1,'photo_1593583.html');
												thumbnails[1830262] = new thumbnail(1830262,'292076','Still Waters','Cramond-cool_thumb.jpg',130, 92,1,'photo_1830262.html');
												thumbnails[1946662] = new thumbnail(1946662,'130317','Kaya Köyü','Kaya-Koyu_thumb.jpg',130, 92,1,'photo_1946662.html');
												thumbnails[2942395] = new thumbnail(2942395,'8523','Praia de Carvoeiro','Carvoeiro-Sunset_thumb.jpg',130, 87,1,'photo_2942395.html');
												thumbnails[4637772] = new thumbnail(4637772,'292077','Silhouettes at Sunset','Sunset_Connel_thumb.jpg',130, 184,1,'photo_4637772.html');
												thumbnails[4637899] = new thumbnail(4637899,'250738','Stones Before the Storm','CoruiskScavaig4_thumb.jpg',130, 184,1,'photo_4637899.html');
												thumbnails[4637944] = new thumbnail(4637944,'250738','Rockpool Reflection','CoruiskScavaig5_thumb.jpg',130, 184,1,'photo_4637944.html');
												thumbnails[4637958] = new thumbnail(4637958,'250740','Peaches & Cream','Tiree8_thumb.jpg',130, 92,1,'photo_4637958.html');
												thumbnails[4637963] = new thumbnail(4637963,'250740','Window','Tiree13_thumb.jpg',130, 92,1,'photo_4637963.html');
												thumbnails[4637966] = new thumbnail(4637966,'250740','Sand and Sky','Tiree18_thumb.jpg',130, 92,1,'photo_4637966.html');
												thumbnails[4637971] = new thumbnail(4637971,'250740','Post Box','Tiree23_thumb.jpg',130, 92,1,'photo_4637971.html');
												thumbnails[4637982] = new thumbnail(4637982,'250740','Tidal Pools','Tiree27_thumb.jpg',130, 184,1,'photo_4637982.html');
												thumbnails[4639404] = new thumbnail(4639404,'250740','Rusty Old Wheels','Tiree22_thumb.jpg',130, 92,1,'photo_4639404.html');
												thumbnails[5761358] = new thumbnail(5761358,'292079','Relics','BowlingBoats4_thumb.jpg',130, 184,1,'photo_5761358.html');
												thumbnails[6953479] = new thumbnail(6953479,'292077','Beautiful Bogland','Rannoch-Moor-Web3_thumb.jpg',130, 82,1,'photo_6953479.html');
												thumbnails[2926966] = new thumbnail(2926966,'178109','Castle in the Bay','Castlebay-2_thumb.jpg',130, 92,1,'photo_2926966.html');
												thumbnails[2863891] = new thumbnail(2863891,'178109','Cottage near Cockle Strand','Cottage-near-Cockle-Strand_thumb.jpg',130, 92,1,'photo_2863891.html');
												thumbnails[254798] = new thumbnail(254798,'8539','Sands','West-Sands_thumb.jpg',130, 87,1,'photo_254798.html');
												thumbnails[254932] = new thumbnail(254932,'292081','The Solitary Cyclist','The-Solitary-Cyclist_thumb.jpg',130, 87,1,'photo_254932.html');
												thumbnails[255021] = new thumbnail(255021,'292081','18 Holes at Sunset','Sunset-on-the-Course_thumb.jpg',130, 87,1,'photo_255021.html');
												thumbnails[323040] = new thumbnail(323040,'27479','Tolsta-Tide','Tolsta-Tide_thumb.jpg',130, 67,1,'photo_323040.html');
												thumbnails[323045] = new thumbnail(323045,'27479','The-Broch','The-Broch_thumb.jpg',130, 184,1,'photo_323045.html');
												thumbnails[485349] = new thumbnail(485349,'27479','Uig Sands Sepia','Uig-Sands-sepia_thumb.jpg',130, 87,1,'photo_485349.html');
												thumbnails[826228] = new thumbnail(826228,'8669','Reflections','Reflections_thumb.jpg',130, 92,1,'photo_826228.html');
												thumbnails[829827] = new thumbnail(829827,'8539','Winterlight','Winterlight_thumb.jpg',130, 92,1,'photo_829827.html');
												thumbnails[829850] = new thumbnail(829850,'292077','Scots Pines','WIP2_thumb.jpg',130, 92,1,'photo_829850.html');
												thumbnails[914882] = new thumbnail(914882,'8669','Sycamore Gap','Sycamore-Gap_thumb.jpg',130, 184,1,'photo_914882.html');
												thumbnails[1593575] = new thumbnail(1593575,'292080','Falling Water, Falling Leaves','IMG_0220_thumb.jpg',130, 195,1,'photo_1593575.html');
												thumbnails[1593584] = new thumbnail(1593584,'8669','Sunset over Whitley Bay','Whitley-Sunset_thumb.jpg',130, 92,1,'photo_1593584.html');
												thumbnails[1593589] = new thumbnail(1593589,'8669','The End of the Road','Tide-out_thumb.jpg',130, 195,1,'photo_1593589.html');
												thumbnails[1830263] = new thumbnail(1830263,'292076','Reflections in a Reservoir','Glencorse_thumb.jpg',130, 184,1,'photo_1830263.html');
												thumbnails[2942396] = new thumbnail(2942396,'8523','Ferragudo Church','Ferragudo-church-man_thumb.jpg',130, 92,1,'photo_2942396.html');
												thumbnails[4637945] = new thumbnail(4637945,'250738','Spot the Seagull','CoruiskScavaig6_thumb.jpg',130, 184,1,'photo_4637945.html');
												thumbnails[4637959] = new thumbnail(4637959,'250740','Sunset Solitude','Tiree9_thumb.jpg',130, 92,1,'photo_4637959.html');
												thumbnails[4637983] = new thumbnail(4637983,'250740','Evening Tide','Tiree28_thumb.jpg',130, 184,1,'photo_4637983.html');
												thumbnails[4639405] = new thumbnail(4639405,'250740','Cool Evening Shade','Tiree4_thumb.jpg',130, 92,1,'photo_4639405.html');
												thumbnails[5162797] = new thumbnail(5162797,'8539','Fishing Boats','Fife__Perthshire_web5_thumb.jpg',130, 85,1,'photo_5162797.html');
												thumbnails[5761359] = new thumbnail(5761359,'292079','Old Seadogs','Bowlinglow1_thumb.jpg',130, 78,1,'photo_5761359.html');
												thumbnails[6953480] = new thumbnail(6953480,'292077','The Lone Tree','The-Lone-Tree-by-the-Stream-20-x-16_thumb.jpg',130, 163,1,'photo_6953480.html');
												thumbnails[2863892] = new thumbnail(2863892,'178109','Eoligarry Beach (Tràigh Cille-bharra)','Eoligarry-Beach_thumb.jpg',130, 92,1,'photo_2863892.html');
												thumbnails[2926967] = new thumbnail(2926967,'178109','Cottage near Cockle Strand','Cottage-near-Cockle-Strand-4_thumb.jpg',130, 92,1,'photo_2926967.html');
												thumbnails[914818] = new thumbnail(914818,'292077','Rock and Reflections','Loch-Ba-Rock_thumb.jpg',130, 184,1,'photo_914818.html');
												thumbnails[1593577] = new thumbnail(1593577,'8539','Mercat Square, Culross','Mercat-Square,-Culross_thumb.jpg',130, 184,1,'photo_1593577.html');
												thumbnails[1830264] = new thumbnail(1830264,'8669','Still Standing','Harbottle-Castle-3_thumb.jpg',130, 184,1,'photo_1830264.html');
												thumbnails[1946664] = new thumbnail(1946664,'130317','The Little Island','The-Island_thumb.jpg',130, 92,1,'photo_1946664.html');
												thumbnails[2942397] = new thumbnail(2942397,'8523','Fotografia','Fotografia_thumb.jpg',130, 184,1,'photo_2942397.html');
												thumbnails[4637946] = new thumbnail(4637946,'250738','\"First Light\"','Elgol_thumb.jpg',130, 92,1,'photo_4637946.html');
												thumbnails[5162882] = new thumbnail(5162882,'8539','Sunset over Firth of Forth','Fife__Perthshire_web10_thumb.jpg',130, 87,1,'photo_5162882.html');
												thumbnails[5761361] = new thumbnail(5761361,'292079','Coming out of the Water','Bowlinglow2_thumb.jpg',130, 87,1,'photo_5761361.html');
												thumbnails[6953481] = new thumbnail(6953481,'292077','River Coupall','White-Corries9_thumb.jpg',130, 200,1,'photo_6953481.html');
												thumbnails[2863893] = new thumbnail(2863893,'178109','Eoligarry Pier, Sound of Fuday (Cidhe Eòlaigearraidh, An Caolas Fuideach)','Eoligarry-Pier,-Sound-of-Fuday_thumb.jpg',130, 92,1,'photo_2863893.html');
												thumbnails[2926968] = new thumbnail(2926968,'178109','Green Grass of Home','Grassy-Cottage_thumb.jpg',130, 92,1,'photo_2926968.html');
												thumbnails[891202] = new thumbnail(891202,'292077','Lochan na h-achlaise','Loch-Ba-2_thumb.jpg',130, 92,1,'photo_891202.html');
												thumbnails[1946665] = new thumbnail(1946665,'130317','On the Wall','Wall_thumb.jpg',130, 92,1,'photo_1946665.html');
												thumbnails[2942398] = new thumbnail(2942398,'8523','Curvature','IMG_0070_thumb.jpg',130, 92,1,'photo_2942398.html');
												thumbnails[4637947] = new thumbnail(4637947,'250738','The Mountains over the Bay','Lochs_Coruisk__Scavaig7_thumb.jpg',130, 92,1,'photo_4637947.html');
												thumbnails[5162884] = new thumbnail(5162884,'8539','Going Fishing','Fife__Perthshire_web6_thumb.jpg',130, 87,1,'photo_5162884.html');
												thumbnails[2863894] = new thumbnail(2863894,'178109','Isle of Fuday (Fuidheigh) from Barra','Isle-of-Fuday-from-Barra_thumb.jpg',130, 92,1,'photo_2863894.html');
												thumbnails[2926969] = new thumbnail(2926969,'178109','Isles of Fuday, Eriskay and South Uist','Isles-of-Fuday,-Eriskay-and-South-Uist_thumb.jpg',130, 92,1,'photo_2926969.html');
												thumbnails[914820] = new thumbnail(914820,'292077','River Orchy','River-Orchy_thumb.jpg',130, 87,1,'photo_914820.html');
												thumbnails[1830266] = new thumbnail(1830266,'15917','Sherwood Shimmer','Immpressionist_thumb.jpg',130, 92,1,'photo_1830266.html');
												thumbnails[2942399] = new thumbnail(2942399,'8523','Silhouette in Silves','Leaving-the-Market_thumb.jpg',130, 158,1,'photo_2942399.html');
												thumbnails[5162887] = new thumbnail(5162887,'8539','Anstruther','Fife__Perthshire_web7_thumb.jpg',130, 60,1,'photo_5162887.html');
												thumbnails[2863895] = new thumbnail(2863895,'178109','Mairi Claire','Mairi-Claire_thumb.jpg',130, 92,1,'photo_2863895.html');
												thumbnails[2926970] = new thumbnail(2926970,'178109','Rocks near Cockle Strand','Rocks-near-Cockle-Strand_thumb.jpg',130, 92,1,'photo_2926970.html');
												thumbnails[891204] = new thumbnail(891204,'292077','Lochan na h-achlaise in Winter','Loch-Ba_thumb.jpg',130, 92,1,'photo_891204.html');
												thumbnails[914821] = new thumbnail(914821,'8669','Hadrian\'s Wall','Roman-Wall-near-Crag-Lough_thumb.jpg',130, 92,1,'photo_914821.html');
												thumbnails[1830267] = new thumbnail(1830267,'8669','Moonlight','Jetty-and-Light_thumb.jpg',130, 92,1,'photo_1830267.html');
												thumbnails[2942400] = new thumbnail(2942400,'8523','The Old Man and Cats','Man-and-Cat_thumb.jpg',130, 184,1,'photo_2942400.html');
												thumbnails[5162889] = new thumbnail(5162889,'8539','Nets and Pan-Tiles','Fife__Perthshire_web8_thumb.jpg',130, 81,1,'photo_5162889.html');
												thumbnails[5761362] = new thumbnail(5761362,'250739','Cows on Holiday','coos1_thumb.jpg',130, 56,1,'photo_5761362.html');
												thumbnails[2863896] = new thumbnail(2863896,'178109','Sound of Fuday and Boat','Sound-of-Fuday-and-Boat_thumb.jpg',130, 92,1,'photo_2863896.html');
												thumbnails[2926971] = new thumbnail(2926971,'178109','Traigh Mhor and Oransay','Traigh-Mhor-and-Oransay_thumb.jpg',130, 92,1,'photo_2926971.html');
												thumbnails[1830268] = new thumbnail(1830268,'8669','Sticks n\' Stones','Jetty-in-a-Storm-3_thumb.jpg',130, 184,1,'photo_1830268.html');
												thumbnails[2942401] = new thumbnail(2942401,'8523','Up Against the Wall','Old-Women_thumb.jpg',130, 184,1,'photo_2942401.html');
												thumbnails[5162892] = new thumbnail(5162892,'8539','Seaweed on the Shore','Fife__Perthshire_web9_thumb.jpg',130, 80,1,'photo_5162892.html');
												thumbnails[5761363] = new thumbnail(5761363,'292076','Willowherb Breeze','SummerEnd2_thumb.jpg',130, 156,1,'photo_5761363.html');
												thumbnails[1830269] = new thumbnail(1830269,'8669','Rough Seas','Jetty-in-a-Storn_thumb.jpg',130, 92,1,'photo_1830269.html');
												thumbnails[2942402] = new thumbnail(2942402,'8523','The Red Door','Red-Door_thumb.jpg',130, 184,1,'photo_2942402.html');
												thumbnails[5761368] = new thumbnail(5761368,'292076','Little Round Top','CammoHill1_thumb.jpg',130, 92,1,'photo_5761368.html');
												thumbnails[914822] = new thumbnail(914822,'8669','Cawfields','Walltown-Quarry_thumb.jpg',130, 92,1,'photo_914822.html');
												thumbnails[1830270] = new thumbnail(1830270,'292079','Lomond Light','Lomond-Shores_thumb.jpg',130, 92,1,'photo_1830270.html');
												thumbnails[2942403] = new thumbnail(2942403,'8523','The Old House','The-Old-House_thumb.jpg',130, 92,1,'photo_2942403.html');
												thumbnails[5162997] = new thumbnail(5162997,'8539','Beyond the Bridges','Fife__Perthshire_web12_thumb.jpg',130, 78,1,'photo_5162997.html');
												thumbnails[5761369] = new thumbnail(5761369,'292076','Summer\'s End','CammoHill2_thumb.jpg',130, 92,1,'photo_5761369.html');
												thumbnails[1830271] = new thumbnail(1830271,'292077','No Swimming','Luss-Jetty_thumb.jpg',130, 87,1,'photo_1830271.html');
												thumbnails[2942404] = new thumbnail(2942404,'8523','The Woman in the Window','The-Woman-in-the-Window_thumb.jpg',130, 195,1,'photo_2942404.html');
												thumbnails[5162998] = new thumbnail(5162998,'8539','Harbour Wall and Yacht','Fife__Perthshire_web13_thumb.jpg',130, 195,1,'photo_5162998.html');
												thumbnails[5761375] = new thumbnail(5761375,'326378','Skiddaw and Blencathra','Derwentwater10_thumb.jpg',130, 92,1,'photo_5761375.html');
												thumbnails[1830272] = new thumbnail(1830272,'292079','PS The Maid of the Loch','Maid-of-the-Loch_thumb.jpg',130, 92,1,'photo_1830272.html');
												thumbnails[2942405] = new thumbnail(2942405,'8523','The White Window','White-Window_thumb.jpg',130, 184,1,'photo_2942405.html');
												thumbnails[5163000] = new thumbnail(5163000,'8539','Red Boats and Blue Sea','Fife__Perthshire_web16_thumb.jpg',130, 182,1,'photo_5163000.html');
												thumbnails[5761376] = new thumbnail(5761376,'326378','Looking West','Derwentwater4_thumb.jpg',130, 92,1,'photo_5761376.html');
												thumbnails[1830273] = new thumbnail(1830273,'292076','Winterlight & Frost','Pentland-Hills-3_thumb.jpg',130, 92,1,'photo_1830273.html');
												thumbnails[2942406] = new thumbnail(2942406,'8523','The Golden Door','Yellow-Door_thumb.jpg',130, 184,1,'photo_2942406.html');
												thumbnails[5163001] = new thumbnail(5163001,'8539','No More Fish','Fife__Perthshire_web17_thumb.jpg',130, 185,1,'photo_5163001.html');
												thumbnails[5761377] = new thumbnail(5761377,'326378','Suggestion','Derwentwater9_thumb.jpg',130, 92,1,'photo_5761377.html');
												thumbnails[5163002] = new thumbnail(5163002,'8539','Crail Cobbles','Fife__Perthshire_web18_thumb.jpg',130, 187,1,'photo_5163002.html');
												thumbnails[5761378] = new thumbnail(5761378,'326378','The Flooded Fence','Derwentwaterlow1_thumb.jpg',130, 92,1,'photo_5761378.html');
												thumbnails[1830275] = new thumbnail(1830275,'8539','Living by the Sea','Pittenweem-4_thumb.jpg',130, 92,1,'photo_1830275.html');
												thumbnails[5761379] = new thumbnail(5761379,'326378','Beyond Words','Derwentwaterlow2_thumb.jpg',130, 92,1,'photo_5761379.html');
												thumbnails[1830276] = new thumbnail(1830276,'8539','Red Sky At Night','Pittenweem-5_thumb.jpg',130, 87,1,'photo_1830276.html');
												thumbnails[5761380] = new thumbnail(5761380,'326378','Simplicity','Derwentwaterlow3_thumb.jpg',130, 184,1,'photo_5761380.html');
												thumbnails[5163005] = new thumbnail(5163005,'292084','Autumn Leaves','fife__perthshire_web14_thumb.jpg',130, 195,1,'photo_5163005.html');
												thumbnails[5761381] = new thumbnail(5761381,'326378','Stillness of the Stones','Derwentwaterlow4_thumb.jpg',130, 92,1,'photo_5761381.html');
												thumbnails[1830278] = new thumbnail(1830278,'292081','Sea of Dreams','Sea-of-Dreams_thumb.jpg',130, 92,1,'photo_1830278.html');
												thumbnails[5163006] = new thumbnail(5163006,'292084','Autumn Woodland on a Hillside','fife__perthshire_web15_thumb.jpg',130, 195,1,'photo_5163006.html');
												thumbnails[5761382] = new thumbnail(5761382,'326378','Field of Lakeland','Derwentwaterlow5_thumb.jpg',130, 92,1,'photo_5761382.html');
												thumbnails[1830279] = new thumbnail(1830279,'8669','Counting Sheep','Sheep-2_thumb.jpg',130, 92,1,'photo_1830279.html');
												thumbnails[5761383] = new thumbnail(5761383,'326378','Roots','Derwentwaterlow6_thumb.jpg',130, 92,1,'photo_5761383.html');
												thumbnails[1830280] = new thumbnail(1830280,'292081','Sunset on the Seas','Sunset-Steamtif_thumb.jpg',130, 92,1,'photo_1830280.html');
												thumbnails[5163008] = new thumbnail(5163008,'291652','Natural Composition','Arran_web2_thumb.jpg',130, 182,1,'photo_5163008.html');
												thumbnails[5761386] = new thumbnail(5761386,'326378','Friars Crag Viewpoint','Derwentwaterlow7_thumb.jpg',130, 92,1,'photo_5761386.html');
												thumbnails[1830281] = new thumbnail(1830281,'292079','Swan Lake','Swan-Lake_thumb.jpg',130, 92,1,'photo_1830281.html');
												thumbnails[5163009] = new thumbnail(5163009,'291652','Going Off-Road','Arran_web3_thumb.jpg',130, 182,1,'photo_5163009.html');
												thumbnails[1830282] = new thumbnail(1830282,'292081','Afterglow','The-Stump_thumb.jpg',130, 92,1,'photo_1830282.html');
												thumbnails[5163010] = new thumbnail(5163010,'291652','Track up the Glen','Arran_web4_thumb.jpg',130, 93,1,'photo_5163010.html');
												thumbnails[5761391] = new thumbnail(5761391,'326378','Jetties at Keswick','Derwentwaterlow9_thumb.jpg',130, 62,1,'photo_5761391.html');
												thumbnails[1830283] = new thumbnail(1830283,'8669','Ruins in the Autumn','Tower-&-Ferns_thumb.jpg',130, 92,1,'photo_1830283.html');
												thumbnails[5163011] = new thumbnail(5163011,'291652','Shades of Blue and Gold','Arran_web5_thumb.jpg',130, 93,1,'photo_5163011.html');
												thumbnails[5761415] = new thumbnail(5761415,'326378','Pointing Pine','Derwentwatertree1_thumb.jpg',130, 184,1,'photo_5761415.html');
												thumbnails[5761416] = new thumbnail(5761416,'292084','The River Lochay','Killin1_thumb.jpg',130, 184,1,'photo_5761416.html');
												thumbnails[5163013] = new thumbnail(5163013,'291652','Clouds Gathering in the Glen','Arran_web6_thumb.jpg',130, 93,1,'photo_5163013.html');
												thumbnails[5761417] = new thumbnail(5761417,'326378','\"That View\"','LangdalePikes1_thumb.jpg',130, 92,1,'photo_5761417.html');
												thumbnails[5163014] = new thumbnail(5163014,'291652','Stepping Stones','Arran_web7_thumb.jpg',130, 93,1,'photo_5163014.html');
												thumbnails[5761418] = new thumbnail(5761418,'326378','The Langdale Pikes','LangdalePikes2_thumb.jpg',130, 92,1,'photo_5761418.html');
												thumbnails[5163015] = new thumbnail(5163015,'291652','Two Rocks and a Whole Lot of Highland','Arran_web8_thumb.jpg',130, 182,1,'photo_5163015.html');
												thumbnails[5163016] = new thumbnail(5163016,'291652','Saddle and Stone','Arran_web9_thumb.jpg',130, 182,1,'photo_5163016.html');
												thumbnails[5761423] = new thumbnail(5761423,'326378','Boathouse','Langdales3_thumb.jpg',130, 92,1,'photo_5761423.html');
												thumbnails[5761424] = new thumbnail(5761424,'292076','Causeway to Cramond Island','LongX2_thumb.jpg',130, 92,1,'photo_5761424.html');
												thumbnails[5163018] = new thumbnail(5163018,'291652','Glen Rosa','Arran_web12_thumb.jpg',130, 93,1,'photo_5163018.html');
												thumbnails[5761425] = new thumbnail(5761425,'292079','Surreal','LongX3_thumb.jpg',130, 92,1,'photo_5761425.html');
												thumbnails[5163019] = new thumbnail(5163019,'291652','Falls in Glen Rosa','Arran_web13_thumb.jpg',130, 182,1,'photo_5163019.html');
												thumbnails[5761426] = new thumbnail(5761426,'326378','Winter Dusk','LongX4_thumb.jpg',130, 92,1,'photo_5761426.html');
												thumbnails[5761428] = new thumbnail(5761428,'326378','Harrison Stickle','Langdalepikes3_thumb.jpg',130, 92,1,'photo_5761428.html');
												thumbnails[5163021] = new thumbnail(5163021,'291652','Light on Goat Fell','Arran_web15_thumb.jpg',130, 182,1,'photo_5163021.html');
												thumbnails[5163022] = new thumbnail(5163022,'291652','Golden Light and Blue Waters','Arran_web16_thumb.jpg',130, 182,1,'photo_5163022.html');
												thumbnails[5761431] = new thumbnail(5761431,'250738','Beauty in the Wilderness','Skye2_thumb.jpg',130, 78,1,'photo_5761431.html');
												thumbnails[5163023] = new thumbnail(5163023,'291652','Arran Waters','Arran_web17_thumb.jpg',130, 182,1,'photo_5163023.html');
												thumbnails[5761432] = new thumbnail(5761432,'326378','Blea tarn','SWLakes__Langdale11_thumb.jpg',130, 92,1,'photo_5761432.html');
												thumbnails[5163024] = new thumbnail(5163024,'291652','Bend in the Blue River','Arran_web19_thumb.jpg',130, 182,1,'photo_5163024.html');
												thumbnails[5761433] = new thumbnail(5761433,'326378','Serendipity','SWLakes__Langdale14_thumb.jpg',130, 92,1,'photo_5761433.html');
												thumbnails[5163025] = new thumbnail(5163025,'291652','A Decisive Moment','Arran_web20_thumb.jpg',130, 93,1,'photo_5163025.html');
												thumbnails[5761436] = new thumbnail(5761436,'8669','The Carey Burn','North3_thumb.jpg',130, 93,1,'photo_5761436.html');
												thumbnails[5163030] = new thumbnail(5163030,'291652','Not A Giant\'s Causeway','Arran_web25_thumb.jpg',130, 182,1,'photo_5163030.html');
												thumbnails[5163031] = new thumbnail(5163031,'291652','Stone Circle','Arran_web27_thumb.jpg',130, 93,1,'photo_5163031.html');
												thumbnails[5163091] = new thumbnail(5163091,'291652','Neolithic Obelisks','Arran_web28_thumb.jpg',130, 182,1,'photo_5163091.html');
												thumbnails[5163092] = new thumbnail(5163092,'291652','Standing Stones, Broken Stones','Arran_web29_thumb.jpg',130, 182,1,'photo_5163092.html');
												thumbnails[5163093] = new thumbnail(5163093,'291652','Sandstone Giants','Arran_web30_thumb.jpg',130, 182,1,'photo_5163093.html');
												thumbnails[5163094] = new thumbnail(5163094,'291652','Standing Stone and Machrie Glen','Arran_web31_thumb.jpg',130, 182,1,'photo_5163094.html');
												thumbnails[5163095] = new thumbnail(5163095,'291652','No. 5 Stone Circle','Arran_web33_thumb.jpg',130, 93,1,'photo_5163095.html');
												thumbnails[5163099] = new thumbnail(5163099,'291652','Stones Circle on Machrie Moor','Arran_web34_thumb.jpg',130, 93,1,'photo_5163099.html');
												thumbnails[5163100] = new thumbnail(5163100,'291652','Circle No. 5 and Machrie Glen','Arran_web35_thumb.jpg',130, 93,1,'photo_5163100.html');

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  					galleries[292077] = new gallery(292077,'6953481,6953480,6953479,6953478,6953477,6953476','Argyll & Bute','gallery',[89889,89890,89891,89892,89893,91252,96268,96269,157045,157053,157060,157062,171747,891395,829846,891197,1164540,4637769,6953476,914880,1164541,6953477,891199,6953478,829849,1164543,4637772,6953479,829850,6953480,914818,6953481,891202,914820,891204,1830271],0, 1, '292075', 'gallery_292077.html',0,0);
				  					galleries[15917] = new gallery(15917,'1830266,1830260,1830259,485365,171762','ART?','gallery',[171762,1830259,1830260,485365,1830266],0, 1, '', 'gallery_15917.html',0,0);
				  					galleries[363130] = new gallery(363130,'','COMING SOON - CROATIA & MONTENEGRO!','gallery',[],0, 1, '108872', 'gallery_363130.html',0,0);
				  					galleries[435206] = new gallery(435206,'8138267','COMING SOON: ITALY!','gallery',[8138267],0, 1, '108872', 'gallery_435206.html',0,0);
				  					galleries[292081] = new gallery(292081,'2074752,1830282,1830280,1830278,1275776,829826,826563,826562,485373,485372','East Lothian','gallery',[103631,106546,121080,171722,231621,231627,231643,255299,255305,255424,255426,255428,1275776,485372,485364,485373,826562,2074752,826563,829826,254932,255021,1830278,1830280,1830282],0, 1, '292075', 'gallery_292081.html',0,0);
				  					galleries[292076] = new gallery(292076,'5761424,5761369,5761368,5761363','Edinburgh','gallery',[91254,93975,96281,106523,106555,106559,106593,106607,112086,121088,171742,224355,231599,231647,231656,231658,231659,231662,255295,3040069,485381,485426,485437,826561,1411842,1448102,2253732,1448103,485429,829825,1830261,1593574,1830262,1830263,5761363,5761368,5761369,1830273,5761424],0, 1, '292075', 'gallery_292076.html',0,0);
				  					galleries[8539] = new gallery(8539,'5163002,5163001,5163000,5162998,5162997,5162892,5162889,5162887,5162884,5162882','Fife','gallery',[91253,106599,115883,115885,115887,115890,121090,224382,224385,224388,224389,254872,829823,829824,829852,1593572,5162790,1593573,254797,254798,829827,5162797,1593577,5162882,5162884,5162887,5162889,5162892,5162997,5162998,5163000,5163001,5163002,1830275,1830276],0, 1, '292075', 'gallery_8539.html',0,0);
				  					galleries[291652] = new gallery(291652,'5163100,5163099,5163095,5163094,5163093,5163092,5163091,5163031,5163030,5163025','FIRTH OF CLYDE: Arran','gallery',[182582,182588,182589,182591,182592,5163008,5163009,5163010,5163011,5163013,5163014,5163015,5163016,5163018,5163019,5163021,5163022,5163023,5163024,5163025,5163030,5163031,5163091,5163092,5163093,5163094,5163095,5163099,5163100],0, 1, '108873', 'gallery_291652.html',0,0);
				  					galleries[292078] = new gallery(292078,'4637771,1411843,1323362,1323361,1323360,1323359,1323358,103645,101171,101167','Highland','gallery',[101167,101171,103645,1323358,1323361,1323359,1323362,1411843,4637771,1323360],0, 1, '292075', 'gallery_292078.html',0,0);
				  					galleries[250738] = new gallery(250738,'5761431','INNER HEBRIDES: Skye','gallery',[4637941,4637942,4637943,4637899,4637944,4637945,4637946,4637947,5761431],0, 1, '108873', 'gallery_250738.html',0,0);
				  					galleries[250739] = new gallery(250739,'5761362,4637770','INNER HEBRIDES: Small Isles','gallery',[4637770,5761362],0, 1, '108873', 'gallery_250739.html',0,0);
				  					galleries[250740] = new gallery(250740,'5828350,4639406,4639405,4639404,4639403,4639402,4639401,4637983,4637982,4637981','INNER HEBRIDES: Tiree','gallery',[5828350,4637950,4637955,4637960,4637964,4637969,4637980,4639401,4639406,4637951,4637956,4637961,4637970,4637981,4639402,4637952,4637957,4637962,4637965,4639403,4637958,4637963,4637966,4637971,4637982,4639404,4637959,4637983,4639405],0, 1, '108873', 'gallery_250740.html',0,0);
				  					galleries[292080] = new gallery(292080,'2074751,1593575,1593571,1467420,829853','Inverclyde & Renfrewshire','gallery',[1467420,1593571,2074751,829853,1593575],0, 1, '292075', 'gallery_292080.html',0,0);
				  					galleries[8669] = new gallery(8669,'5761436','NORTH EAST','gallery',[93979,93981,93982,93987,94489,94490,94493,94500,94503,96681,106644,111124,182549,182558,224391,224396,224398,224401,224402,224404,224405,224411,224412,231702,231703,323069,1106363,1106399,1106400,5503628,826224,914887,1182337,1593580,7569308,323067,1182338,1593586,826226,1182339,1593587,826227,1411845,1593583,826228,914882,1593584,1593589,1830264,914821,1830267,1830268,1830269,914822,1830279,1830283,5761436],0, 1, '', 'gallery_8669.html',0,0);
				  					galleries[326378] = new gallery(326378,'5761433,5761432,5761428,5761426,5761423,5761418,5761417,5761415,5761391,5761386,5761383,5761382,5761381,5761380,5761379,5761378,5761377,5761376,5761375','NORTH WEST','gallery',[106611,106613,106616,106618,106623,106647,106648,106650,5761375,5761376,5761377,5761378,5761379,5761380,5761381,5761382,5761383,5761386,5761391,5761415,5761417,5761418,5761423,5761426,5761428,5761432,5761433],0, 1, '', 'gallery_326378.html',0,0);
				  					galleries[292084] = new gallery(292084,'5761416','Perthshire','gallery',[91261,5162534,5163005,5163006,5761416],0, 1, '292075', 'gallery_292084.html',0,0);
				  					galleries[8523] = new gallery(8523,'2942406,2942405,2942404,2942403,2942402,2942401,2942400,2942399,2942398,2942397','PORTUGAL: Algarve','gallery',[89841,89848,89850,89894,89895,91242,91244,91245,91246,91247,91249,91250,91720,94472,96688,2942392,2942393,2942394,2942395,2942396,2942397,2942398,2942399,2942400,2942401,2942402,2942403,2942404,2942405,2942406],0, 1, '108872', 'gallery_8523.html',0,0);
				  					galleries[108873] = new gallery(108873,'5761431','SCOTLAND: THE ISLANDS','gallery',[],0, 1, '', 'gallery_108873.html',0,0);
				  					galleries[292075] = new gallery(292075,'6953481,6953480,6953479,6953478,6953477,6953476,5761425,5761424,5761416,5761369,5761368,5761363,5761361,5761359,5761358,5761357,5761356','Scotland: The Mainland','gallery',[],0, 1, '', 'gallery_292075.html',0,0);
				  					galleries[8754] = new gallery(8754,'96282,94506,94505,94504,91966,91965,91961,91952,91951,91949','SPAIN: Andalucia','gallery',[91947,91948,91949,91951,91952,91961,91965,91966,94504,94505,94506,96282],0, 1, '108872', 'gallery_8754.html',0,0);
				  					galleries[20278] = new gallery(20278,'255641,255537,255536,255535,224348,224344,224338,224336,224333,224332','SPAIN: Tenerife','gallery',[223997,223998,223999,224008,224018,224031,224039,224041,224044,224047,224050,224059,224062,224072,224077,224086,224092,224104,224113,224118,224124,224127,224134,224310,224317,224323,224326,224328,224330,224332,224333,224336,224338,224344,224348,255535,255536,255537,255641],0, 1, '108872', 'gallery_20278.html',0,0);
				  					galleries[291098] = new gallery(291098,'6765673,5162377,3528813','STATIONARY','gallery',[3528813,6765673,5162377],0, 1, '', 'gallery_291098.html',0,0);
				  					galleries[108872] = new gallery(108872,'8138267','TRAVEL','gallery',[],0, 1, '', 'gallery_108872.html',0,0);
				  					galleries[130317] = new gallery(130317,'1946665,1946664,1946662,1946661,1946660,1946659','TURKEY','gallery',[1946659,1946660,1946661,1946662,1946664,1946665],0, 1, '108872', 'gallery_130317.html',0,0);
				  					galleries[292079] = new gallery(292079,'5761425,5761361,5761359,5761358,5761357,5761356','West Dunbartonshire','gallery',[5761355,5761356,5761357,5761358,5761359,5761361,1830270,1830272,1830281,5761425],0, 1, '292075', 'gallery_292079.html',0,0);
				  					galleries[178109] = new gallery(178109,'3528876,2926972,2926971,2926970,2926969,2926968,2926967,2926966,2926964,2926963','WESTERN ISLES: Barra & Vatersay','gallery',[3528876,2863887,2926972,2926963,2926964,2863888,2863889,2863890,2926966,2863891,2863892,2926967,2863893,2926968,2863894,2926969,2863895,2926970,2863896,2926971],0, 1, '108873', 'gallery_178109.html',0,0);
				  					galleries[27479] = new gallery(27479,'485349,485348,485347,485346,485345,323049,323045,323043,323040,323033','WESTERN ISLES: Lewis & Harris','gallery',[323049,323013,323030,485345,323023,323031,485346,323032,323043,485347,323027,323033,485348,323040,323045,485349],0, 1, '108873', 'gallery_27479.html',0,0);
/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = new Object();
imageSets[1] = '8138267,6953481,6953480,6953479,6953478,6953477,6953476,6765673,5828350,5761436,5761433,5761432,5761431,5761428,5761426,5761425,5761424,5761423,5761418,5761417,5761416,5761415,5761391,5761386,5761383,5761382,5761381,5761380,5761379,5761378,5761377,5761376,5761375,5761369,5761368,5761363,5761361,5761359,5761358,5761357,5761356,5761355,5163099,5163095,5163094,5163093,5163092,5163091,5163031,5163030,5163025,5163024,5163023,5163022,5163021,5163019,5163018,5163016,5163015,5163014,5163013,5163011,5163010,5163009,5163008,5163005,5163002,5163001,5163000,5162998,5162997,5162892,5162889,5162887,5162884,5162797,5162790,5162377,3528876,3528813';
imageSets[2] = '8138267,6953481,6953480,6953479,6953478,6953477,6953476,5761436,5761433,5761432,5761431,5761428,5761426,5761425,5761424,5761423,5761418,5761417,5761416,5761415,5761391,5761386,5761383,5761382,5761381,5761380,5761379,5761378,5761377,5761376,5761375,5761369,5761368,5761363,5761361,5761359,5761358,5761357,5761356';
imageSets[3] = '8138267,7569308,6953481,6953480,6953479,6953478,6953477,6953476,6765673,5828350,5761436,5761433,5761432,5761431,5761428,5761426,5761425,5761424,5761423,5761418,5761417,5761416,5761415,5761391,5761386,5761383,5761382,5761381,5761380,5761379,5761378,5761377,5761376,5761375,5761369,5761368,5761363,5761362,5761361,5761359,5761358,5761357,5761356,5761355,5503628,5163100,5163099,5163095,5163094,5163093';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/Roscophotographic/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/Roscophotographic/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/Roscophotographic/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/Roscophotographic/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/Roscophotographic/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/Roscophotographic/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/Roscophotographic/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/Roscophotographic/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/Roscophotographic/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/Roscophotographic/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/Roscophotographic/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/Roscophotographic/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/Roscophotographic/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/Roscophotographic/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/Roscophotographic/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://admin2.clikpic.com/Roscophotographic/images';
		break;
	}
		switch (server_id) {
		case 33:
		val = 'http://www8.clikpic.com/Roscophotographic/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/Roscophotographic/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/Roscophotographic/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/Roscophotographic/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/Roscophotographic/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/Roscophotographic/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 = 'RoscoPhotographic: ' + 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>';
	}
					
	temp = temp + this.fnGetPaymentInfo();
				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>Buy now using PayPal:</p>';
				temp = temp + '<p class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> &pound;' + (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="updateCartValue(document.forms.paymentForm,this.form.payment_options_id.options[this.form.payment_options_id.options.selectedIndex].value); if(divShowing(\'paymentConfirm\')){fadeOut(\'paymentConfirm\', 3)};">';
				
		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 + '<form id="paymentForm" style="margin:0px;border:0px;" name="paymentForm">';
	temp = temp + '	<input type="hidden" name="item_option" value="' + item_option + '">';
	temp = temp + '	<input type="hidden" name="site" value="ROSCOPHOTOGRAPHIC">';
		temp = temp + '	<input type="hidden" name="item_number" value="'+ this.id +'">';
			temp = temp + '	<input type="hidden" name="quantity" value="1">';
								temp = temp + '	<input value="Add to cart" id="paymentAddButton" class="button" onmouseover="this.className=\'buttonHi\'\;" onmouseout="this.className=\'button\'\;" type="Button">';
			temp = temp + '	<input value="View cart" id="paymentViewButton" class="button" onmouseover="this.className=\'buttonHi\';" onmouseout="this.className=\'button\';" type="Button" onclick="javascript:window.location=\'cart.html\'">';
	temp = temp + '</form>';
		temp = temp + '<div class="clearing">&nbsp;</div>';
	temp = temp + '<div id="confirmContainer">';
	temp = temp + '<div id="paymentConfirm">Item added to cart</div>';
	temp = temp + '</div>';
			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;
	}
}

			

