window.thumbnails = new Object();
												thumbnails[3997422] = new thumbnail(3997422,'','','AFP_0429_edited-12_thumb.jpg',130, 113,15,'															#');
												thumbnails[3997423] = new thumbnail(3997423,'','','AFP_0433_edited-1_thumb.jpg',130, 171,15,'															#');
												thumbnails[3997424] = new thumbnail(3997424,'','','AFP_0445_edited-1_thumb.jpg',130, 160,15,'															#');
												thumbnails[3997425] = new thumbnail(3997425,'','','AFP_0451_edited-1_thumb.jpg',130, 80,15,'															#');
												thumbnails[3997427] = new thumbnail(3997427,'','','AFP_0457_edited-1_thumb.jpg',130, 191,15,'															#');
												thumbnails[3997430] = new thumbnail(3997430,'','','AFP_0461_edited-1_thumb.jpg',130, 194,15,'															#');
												thumbnails[3997433] = new thumbnail(3997433,'','','AFP_0462_edited-1_thumb.jpg',130, 194,15,'															#');
												thumbnails[3997435] = new thumbnail(3997435,'','','AFP_0473_edited-1_thumb.jpg',130, 167,15,'															#');
												thumbnails[3997439] = new thumbnail(3997439,'','','AFP_0474_edited-1_thumb.jpg',130, 194,15,'															#');
												thumbnails[3997443] = new thumbnail(3997443,'','','AFP_0477_edited-11_thumb.jpg',130, 87,15,'															#');
												thumbnails[3997444] = new thumbnail(3997444,'','','AFP_0481_edited-1_thumb.jpg',130, 115,15,'															#');
												thumbnails[4039374] = new thumbnail(4039374,'','','BV_35_edited-1_thumb.jpg',130, 87,15,'															#');
												thumbnails[4039375] = new thumbnail(4039375,'','','BV_36_edited-1_thumb.jpg',130, 87,15,'															#');
												thumbnails[4039376] = new thumbnail(4039376,'','','BV_37_edited-1_thumb.jpg',130, 194,15,'															#');
												thumbnails[1113766] = new thumbnail(1113766,'81049','Boat and Marker','boat & marker 2_thumb.jpg',130, 173,15,'																			photo_1113766.html');
												thumbnails[1113768] = new thumbnail(1113768,'81048','Huelgoat','chaos de Huelgoat_thumb.jpg',130, 98,15,'																			photo_1113768.html');
												thumbnails[1114057] = new thumbnail(1114057,'81048','fountain','fountain_thumb.jpg',130, 217,15,'																			photo_1114057.html');
												thumbnails[1114059] = new thumbnail(1114059,'81048','poppies','poppies 1_thumb.jpg',130, 115,15,'																			photo_1114059.html');
												thumbnails[1114113] = new thumbnail(1114113,'81049','discovery','sands 1_thumb.jpg',130, 173,15,'																			photo_1114113.html');
												thumbnails[1114171] = new thumbnail(1114171,'81049','Salute to the Wave','wave 2_edited-2_thumb.jpg',130, 98,15,'																			photo_1114171.html');
												thumbnails[1114176] = new thumbnail(1114176,'81048','Hay bales','hay bales 1_thumb.jpg',130, 179,15,'																			photo_1114176.html');
												thumbnails[1140676] = new thumbnail(1140676,'81049','Sunrise','beg douar sunrise_thumb.jpg',130, 157,15,'																			photo_1140676.html');
												thumbnails[1140681] = new thumbnail(1140681,'81049','Fort la Latte','la latte_thumb.jpg',130, 173,15,'																			photo_1140681.html');
												thumbnails[1140696] = new thumbnail(1140696,'81049','Wreck 3','wreck 3_thumb.jpg',130, 174,15,'																			photo_1140696.html');
												thumbnails[1140700] = new thumbnail(1140700,'81049','Wreck 2','wreck 2_thumb.jpg',130, 97,15,'																			photo_1140700.html');
												thumbnails[1140713] = new thumbnail(1140713,'81049','Lighthouse and wave','phare & wave 5_thumb.jpg',130, 173,15,'																			photo_1140713.html');
												thumbnails[1140715] = new thumbnail(1140715,'81048','Tuesday\'s Dawn','tuesday\'s dawn1_thumb.jpg',130, 98,15,'																			photo_1140715.html');
												thumbnails[1153585] = new thumbnail(1153585,'81048','Carnac','carnac 3a_edited-2_thumb.jpg',130, 98,15,'																			photo_1153585.html');
												thumbnails[1153590] = new thumbnail(1153590,'81048','River reflection','river reflection 1_thumb.jpg',130, 173,15,'																			photo_1153590.html');
												thumbnails[1157178] = new thumbnail(1157178,'81048','Cloud and Tree','cloud and tree_thumb.jpg',130, 173,15,'																			photo_1157178.html');
												thumbnails[1157180] = new thumbnail(1157180,'81049','reflection 2','stick reflection_thumb.jpg',130, 247,15,'																			photo_1157180.html');
												thumbnails[1157183] = new thumbnail(1157183,'81048','Plufur sunset','plufur sunset_thumb.jpg',130, 174,15,'																			photo_1157183.html');
												thumbnails[1451931] = new thumbnail(1451931,'81048','white door and flowers','white door flowers 2_edited-2_thumb.jpg',130, 97,15,'																			photo_1451931.html');
												thumbnails[1451935] = new thumbnail(1451935,'81048','Lannion, early morning','lannion at dawn_edited-2_thumb.jpg',130, 98,15,'																			photo_1451935.html');
												thumbnails[1451936] = new thumbnail(1451936,'81048','','sunset through a tree_thumb.jpg',130, 97,15,'																			photo_1451936.html');
												thumbnails[1451946] = new thumbnail(1451946,'81049','Biae de Morliax','phare & taurau 2_edited-2_thumb.jpg',130, 94,15,'																			photo_1451946.html');
												thumbnails[1504740] = new thumbnail(1504740,'81048','Morlaix, early morning','morliax reflection 1_edited-21_thumb.jpg',130, 98,15,'																			photo_1504740.html');
												thumbnails[1504742] = new thumbnail(1504742,'81048','Morlaix Early morning','morlaix reflection 2_edited-2_thumb.jpg',130, 98,15,'																			photo_1504742.html');
												thumbnails[1690611] = new thumbnail(1690611,'81048','Morlaix Autumn','morliax arch reflection_edited-23_thumb.jpg',130, 188,15,'																			photo_1690611.html');
												thumbnails[1752545] = new thumbnail(1752545,'117753','Lieth','Leith 1_edited-2_thumb.jpg',130, 194,15,'																			photo_1752545.html');
												thumbnails[1752546] = new thumbnail(1752546,'117753','Leith 2','Leith 3_edited-2_thumb.jpg',130, 87,15,'																			photo_1752546.html');
												thumbnails[1752548] = new thumbnail(1752548,'117753','Leith 3','Leith 5_edited-2_thumb.jpg',130, 194,15,'																			photo_1752548.html');
												thumbnails[1752550] = new thumbnail(1752550,'117747','Yorkshire Dales 1','Dales 1_edited-2_thumb.jpg',130, 173,15,'																			photo_1752550.html');
												thumbnails[1752551] = new thumbnail(1752551,'117747','Yorkshire Dales 2','Dales 3_edited-2_thumb.jpg',130, 98,15,'																			photo_1752551.html');
												thumbnails[1752552] = new thumbnail(1752552,'117747','Yorkshire Dales 3','Dales 5_edited-2_thumb.jpg',130, 173,15,'																			photo_1752552.html');
												thumbnails[1752553] = new thumbnail(1752553,'117747','Yorkshire Dales 6','Dales 6_edited-2_thumb.jpg',130, 98,15,'																			photo_1752553.html');
												thumbnails[1752554] = new thumbnail(1752554,'117747','Yorkshire Dales 7','Dales 7_edited-2_thumb.jpg',130, 98,15,'																			photo_1752554.html');
												thumbnails[1752555] = new thumbnail(1752555,'117747','Yorkshire Dales 7','Dales 9_edited-2_thumb.jpg',130, 98,15,'																			photo_1752555.html');
												thumbnails[1752562] = new thumbnail(1752562,'117747','Yorkshire Dales 11','Dales 11_edited-2_thumb.jpg',130, 98,15,'																			photo_1752562.html');
												thumbnails[1752568] = new thumbnail(1752568,'117750','Lake District 1','Lakes 1_edited-2_thumb.jpg',130, 174,15,'																			photo_1752568.html');
												thumbnails[1752570] = new thumbnail(1752570,'117750','Lake District 3','Lakes 3_edited-2_thumb.jpg',130, 97,15,'																			photo_1752570.html');
												thumbnails[1752581] = new thumbnail(1752581,'117753','Edinburch Castle','Edinburgh Castle 1_edited-2_thumb.jpg',130, 87,15,'																			photo_1752581.html');
												thumbnails[1752583] = new thumbnail(1752583,'117753','','Edniburgh Castle 2_edited-2_thumb.jpg',130, 194,15,'																			photo_1752583.html');
												thumbnails[1753356] = new thumbnail(1753356,'81049','','douarnes shelter_edited-2_thumb.jpg',130, 87,15,'																			photo_1753356.html');
												thumbnails[1753422] = new thumbnail(1753422,'81049','Ploumanac\'h','classic ploumanach_edited-2_thumb.jpg',130, 87,15,'																			photo_1753422.html');
												thumbnails[1753423] = new thumbnail(1753423,'81049','','clouds over sept iles 4_edited-2_thumb.jpg',130, 87,15,'																			photo_1753423.html');
												thumbnails[1772019] = new thumbnail(1772019,'81049','Rainbow over Tregastel 1','rainbow tregastel 4_edited-21_thumb.jpg',130, 184,15,'																			photo_1772019.html');
												thumbnails[1772022] = new thumbnail(1772022,'81049','Rainbow over Tregestal 2','rainbow tregastel 2_edited-2_thumb.jpg',130, 89,15,'																			photo_1772022.html');
												thumbnails[1772082] = new thumbnail(1772082,'81049','Sunset over Locguirec','sunset locguirec 1_edited-2_thumb.jpg',130, 87,15,'																			photo_1772082.html');
												thumbnails[2043256] = new thumbnail(2043256,'81049','Les Sables  Blanc 18','beach 18_edited-2_thumb.jpg',130, 87,15,'																			photo_2043256.html');
												thumbnails[2043259] = new thumbnail(2043259,'81049','Les Sables  Blanc 17','beach 17_edited-2_thumb.jpg',130, 194,15,'																			photo_2043259.html');
												thumbnails[2043261] = new thumbnail(2043261,'81049','Les Sables  Blanc 12','beach 10_edited-2_thumb.jpg',130, 194,15,'																			photo_2043261.html');
												thumbnails[2043263] = new thumbnail(2043263,'81049','Les Sables Blanc 2','beach 2_edited-2_thumb.jpg',130, 87,15,'																			photo_2043263.html');
												thumbnails[2043267] = new thumbnail(2043267,'81049','Les Sables Blanc 19','beach 19_edited-2_thumb.jpg',130, 194,15,'																			photo_2043267.html');
												thumbnails[3997388] = new thumbnail(3997388,'241696','','AFP_0319_edited-1_thumb.jpg',130, 87,15,'																			photo_3997388.html');
												thumbnails[3997389] = new thumbnail(3997389,'241696','','AFP_0324_edited-1_thumb.jpg',130, 194,15,'																			photo_3997389.html');
												thumbnails[3997391] = new thumbnail(3997391,'241696','','AFP_0327_edited-1_thumb.jpg',130, 194,15,'																			photo_3997391.html');
												thumbnails[3997392] = new thumbnail(3997392,'241696','','AFP_0329_edited-1_thumb.jpg',130, 194,15,'																			photo_3997392.html');
												thumbnails[3997393] = new thumbnail(3997393,'241696','','AFP_0335_edited-1_thumb.jpg',130, 194,15,'																			photo_3997393.html');
												thumbnails[3997396] = new thumbnail(3997396,'241696','','AFP_0337_edited-1_thumb.jpg',130, 194,15,'																			photo_3997396.html');
												thumbnails[3997397] = new thumbnail(3997397,'241696','','AFP_0339_edited-1_thumb.jpg',130, 87,15,'																			photo_3997397.html');
												thumbnails[3997398] = new thumbnail(3997398,'241696','','AFP_0343_edited-1_thumb.jpg',130, 194,15,'																			photo_3997398.html');
												thumbnails[3997400] = new thumbnail(3997400,'241698','','AFP_0354_edited-1_thumb.jpg',130, 194,15,'																			photo_3997400.html');
												thumbnails[3997404] = new thumbnail(3997404,'241698','','AFP_0357_edited-11_thumb.jpg',130, 87,15,'																			photo_3997404.html');
												thumbnails[3997405] = new thumbnail(3997405,'241698','','AFP_0366_edited-1_thumb.jpg',130, 87,15,'																			photo_3997405.html');
												thumbnails[3997406] = new thumbnail(3997406,'241698','','AFP_0367_edited-1_thumb.jpg',130, 87,15,'																			photo_3997406.html');
												thumbnails[3997408] = new thumbnail(3997408,'241698','','AFP_0372_edited-11_thumb.jpg',130, 57,15,'																			photo_3997408.html');
												thumbnails[3997409] = new thumbnail(3997409,'241698','','AFP_0375_edited-1_thumb.jpg',130, 87,15,'																			photo_3997409.html');
												thumbnails[3997410] = new thumbnail(3997410,'241698','','AFP_0384_edited-1_thumb.jpg',130, 87,15,'																			photo_3997410.html');
												thumbnails[3997411] = new thumbnail(3997411,'241698','','AFP_0385_edited-1_thumb.jpg',130, 86,15,'																			photo_3997411.html');
												thumbnails[3997412] = new thumbnail(3997412,'241698','','AFP_0388_edited-1_thumb.jpg',130, 87,15,'																			photo_3997412.html');
												thumbnails[3997414] = new thumbnail(3997414,'241698','','AFP_0396_edited-1_thumb.jpg',130, 87,15,'																			photo_3997414.html');
												thumbnails[3997417] = new thumbnail(3997417,'241698','','AFP_0406_edited-1_thumb.jpg',130, 87,15,'																			photo_3997417.html');
												thumbnails[3997418] = new thumbnail(3997418,'241698','','AFP_0418_edited-1_thumb.jpg',130, 121,15,'																			photo_3997418.html');
												thumbnails[3997419] = new thumbnail(3997419,'241698','','AFP_0420_edited-1_thumb.jpg',130, 87,15,'																			photo_3997419.html');
												thumbnails[3997447] = new thumbnail(3997447,'241696','','AFP_0489_edited-1_thumb.jpg',130, 87,15,'																			photo_3997447.html');
												thumbnails[3997449] = new thumbnail(3997449,'241696','','AFP_0493_edited-1_thumb.jpg',130, 183,15,'																			photo_3997449.html');
												thumbnails[3997451] = new thumbnail(3997451,'241696','','AFP_0494_edited-1_thumb.jpg',130, 174,15,'																			photo_3997451.html');
												thumbnails[3997453] = new thumbnail(3997453,'241696','','AFP_0496_edited-1_thumb.jpg',130, 194,15,'																			photo_3997453.html');
												thumbnails[3997456] = new thumbnail(3997456,'241696','','AFP_0500_edited-1_thumb.jpg',130, 168,15,'																			photo_3997456.html');
												thumbnails[3997457] = new thumbnail(3997457,'241696','','AFP_0501_edited-1_thumb.jpg',130, 194,15,'																			photo_3997457.html');
												thumbnails[3997461] = new thumbnail(3997461,'241696','','AFP_0513_edited-1_thumb.jpg',130, 96,15,'																			photo_3997461.html');
												thumbnails[3997467] = new thumbnail(3997467,'241696','','AFP_0517_edited-12_thumb.jpg',130, 183,15,'																			photo_3997467.html');
												thumbnails[3997469] = new thumbnail(3997469,'241696','','AFP_0519_edited-1_thumb.jpg',130, 182,15,'																			photo_3997469.html');
												thumbnails[3997471] = new thumbnail(3997471,'241696','','AFP_0520_edited-1_thumb.jpg',130, 194,15,'																			photo_3997471.html');
												thumbnails[3997472] = new thumbnail(3997472,'241696','','AFP_0522_edited-1_thumb.jpg',130, 194,15,'																			photo_3997472.html');
												thumbnails[3997475] = new thumbnail(3997475,'241696','','AFP_0525_edited-1_thumb.jpg',130, 194,15,'																			photo_3997475.html');
												thumbnails[3997478] = new thumbnail(3997478,'241696','','AFP_0526_edited-1_thumb.jpg',130, 87,15,'																			photo_3997478.html');
												thumbnails[3997479] = new thumbnail(3997479,'241696','','AFP_0534_edited-1_thumb.jpg',130, 87,15,'																			photo_3997479.html');
												thumbnails[3997482] = new thumbnail(3997482,'241696','','AFP_0537_edited-1_thumb.jpg',130, 194,15,'																			photo_3997482.html');
												thumbnails[3997484] = new thumbnail(3997484,'241696','','AFP_0539_edited-1_thumb.jpg',130, 87,15,'																			photo_3997484.html');
												thumbnails[3997486] = new thumbnail(3997486,'241696','','AFP_0544_edited-1_thumb.jpg',130, 194,15,'																			photo_3997486.html');
												thumbnails[3997489] = new thumbnail(3997489,'241696','','AFP_0545_edited-1_thumb.jpg',130, 87,15,'																			photo_3997489.html');
												thumbnails[3997496] = new thumbnail(3997496,'241696','','AFP_0547_edited-1_thumb.jpg',130, 87,15,'																			photo_3997496.html');
												thumbnails[3997498] = new thumbnail(3997498,'241696','','AFP_0548_edited-1_thumb.jpg',130, 187,15,'																			photo_3997498.html');
												thumbnails[4312457] = new thumbnail(4312457,'254150','','AFP_1624_edited-1_thumb.jpg',130, 121,15,'																			photo_4312457.html');
												thumbnails[4312458] = new thumbnail(4312458,'254150','','AFP_1650_edited-1_thumb.jpg',130, 194,15,'																			photo_4312458.html');
												thumbnails[4312463] = new thumbnail(4312463,'254150','','AFP_1678_edited-11_thumb.jpg',130, 94,15,'																			photo_4312463.html');
												thumbnails[4312465] = new thumbnail(4312465,'254150','','AFP_1724_edited-1_thumb.jpg',130, 103,15,'																			photo_4312465.html');
												thumbnails[4312466] = new thumbnail(4312466,'254150','','AFP_1734_edited-1_thumb.jpg',130, 147,15,'																			photo_4312466.html');
												thumbnails[4312468] = new thumbnail(4312468,'254150','','AFP_1870_edited-1_thumb.jpg',130, 122,15,'																			photo_4312468.html');
												thumbnails[4312472] = new thumbnail(4312472,'254150','','AFP_1896_edited-1_thumb.jpg',130, 156,15,'																			photo_4312472.html');
												thumbnails[4312475] = new thumbnail(4312475,'254150','','AFP_1950_edited-1_thumb.jpg',130, 127,15,'																			photo_4312475.html');
												thumbnails[4312479] = new thumbnail(4312479,'254150','','AFP_2178_edited-1_thumb.jpg',130, 72,15,'																			photo_4312479.html');
												thumbnails[4312481] = new thumbnail(4312481,'254150','','AFP_2249_edited-1_thumb.jpg',130, 87,15,'																			photo_4312481.html');
												thumbnails[4312484] = new thumbnail(4312484,'254150','','AFP_2281_edited-1_thumb.jpg',130, 98,15,'																			photo_4312484.html');
												thumbnails[4312485] = new thumbnail(4312485,'254150','','AFP_2306_edited-1_thumb.jpg',130, 87,15,'																			photo_4312485.html');
												thumbnails[4312486] = new thumbnail(4312486,'254150','','AFP_2348_edited-1_thumb.jpg',130, 87,15,'																			photo_4312486.html');
												thumbnails[4312488] = new thumbnail(4312488,'254150','','AFP_2379_edited-1_thumb.jpg',130, 229,15,'																			photo_4312488.html');
												thumbnails[4312489] = new thumbnail(4312489,'254150','','AFP_2548_edited-1_thumb.jpg',130, 109,15,'																			photo_4312489.html');
												thumbnails[4312490] = new thumbnail(4312490,'254150','','P1070595_edited-1_thumb.jpg',130, 177,15,'																			photo_4312490.html');
												thumbnails[4602548] = new thumbnail(4602548,'266326','','AFP_4026_edited-1_thumb.jpg',130, 204,15,'																			photo_4602548.html');
												thumbnails[4602549] = new thumbnail(4602549,'266326','','AFP_4057_edited-1_thumb.jpg',130, 49,15,'																			photo_4602549.html');
												thumbnails[4602550] = new thumbnail(4602550,'266326','','AFP_4070_edited-1_thumb.jpg',130, 87,15,'																			photo_4602550.html');
												thumbnails[4602551] = new thumbnail(4602551,'266326','','AFP_4153_edited-1_thumb.jpg',130, 97,15,'																			photo_4602551.html');
												thumbnails[4602552] = new thumbnail(4602552,'266326','','AFP_4178_edited-1_thumb.jpg',130, 191,15,'																			photo_4602552.html');
												thumbnails[4602553] = new thumbnail(4602553,'266326','','AFP_4275_edited-1_thumb.jpg',130, 112,15,'																			photo_4602553.html');
												thumbnails[4602554] = new thumbnail(4602554,'266326','','AFP_4642_edited-1_thumb.jpg',130, 152,15,'																			photo_4602554.html');
												thumbnails[4602555] = new thumbnail(4602555,'266326','','AFP_4733_edited-1_thumb.jpg',130, 87,15,'																			photo_4602555.html');
												thumbnails[4602567] = new thumbnail(4602567,'266326','','AFP_4503_edited-11_thumb.jpg',130, 66,15,'																			photo_4602567.html');
												thumbnails[4602568] = new thumbnail(4602568,'266326','','AFP_4405_edited-11_thumb.jpg',130, 96,15,'																			photo_4602568.html');
												thumbnails[4602569] = new thumbnail(4602569,'266328','','AFP_5048_edited-1_thumb.jpg',130, 172,15,'																			photo_4602569.html');
												thumbnails[4602570] = new thumbnail(4602570,'266328','','AFP_5101_2_edited-1_thumb.jpg',130, 198,15,'																			photo_4602570.html');
												thumbnails[4602571] = new thumbnail(4602571,'266328','','AFP_5126_edited-1_thumb.jpg',130, 173,15,'																			photo_4602571.html');
												thumbnails[4602573] = new thumbnail(4602573,'266328','','AFP_5137_edited-1_thumb.jpg',130, 104,15,'																			photo_4602573.html');
												thumbnails[4602574] = new thumbnail(4602574,'266328','','AFP_5167_edited-1_thumb.jpg',130, 190,15,'																			photo_4602574.html');
												thumbnails[4602575] = new thumbnail(4602575,'266328','','AFP_5191_edited-2_thumb.jpg',130, 95,15,'																			photo_4602575.html');
												thumbnails[4602576] = new thumbnail(4602576,'266328','','AFP_5221_edited-1_thumb.jpg',130, 194,15,'																			photo_4602576.html');
												thumbnails[4602577] = new thumbnail(4602577,'266328','','AFP_5279_edited-1_thumb.jpg',130, 194,15,'																			photo_4602577.html');
												thumbnails[4602580] = new thumbnail(4602580,'266328','','AFP_5310_edited-1_thumb.jpg',130, 96,15,'																			photo_4602580.html');
												thumbnails[4602581] = new thumbnail(4602581,'266328','','AFP_5368_edited-1_thumb.jpg',130, 186,15,'																			photo_4602581.html');
												thumbnails[4602582] = new thumbnail(4602582,'266328','','AFP_5378_edited-1_thumb.jpg',130, 121,15,'																			photo_4602582.html');
												thumbnails[4602583] = new thumbnail(4602583,'266328','','AFP_5436_edited-1_thumb.jpg',130, 87,15,'																			photo_4602583.html');
												thumbnails[4602584] = new thumbnail(4602584,'266328','','AFP_5793_edited-1_thumb.jpg',130, 49,15,'																			photo_4602584.html');
												thumbnails[4881065] = new thumbnail(4881065,'278480','','La_Sagrada_Familia_5_edited-2_thumb.jpg',130, 198,15,'																			photo_4881065.html');
												thumbnails[4881067] = new thumbnail(4881067,'278480','','La_Sagrada_Familia_5a_edited-3_thumb.jpg',130, 190,15,'																			photo_4881067.html');
												thumbnails[4881078] = new thumbnail(4881078,'278480','','Bourges_Son_et_luminiere_2_edited-1_thumb.jpg',130, 182,15,'																			photo_4881078.html');
												thumbnails[4881079] = new thumbnail(4881079,'278480','','Bourges_Son_et_luminiere_3_edited-2_thumb.jpg',130, 201,15,'																			photo_4881079.html');
												thumbnails[4881081] = new thumbnail(4881081,'278480','','Bourges_Son_et_luminiere_4_edited-2_thumb.jpg',130, 199,15,'																			photo_4881081.html');
												thumbnails[4881084] = new thumbnail(4881084,'278480','','Bourges_Son_et_luminiere_5_edited-2_thumb.jpg',130, 196,15,'																			photo_4881084.html');
												thumbnails[4881086] = new thumbnail(4881086,'278480','','Bourges_Son_et_luminiere_6_edited-2_thumb.jpg',130, 196,15,'																			photo_4881086.html');
												thumbnails[4881091] = new thumbnail(4881091,'278480','','Bourges_Son_et_luminiere_7_edited-2_thumb.jpg',130, 194,15,'																			photo_4881091.html');
												thumbnails[4885367] = new thumbnail(4885367,'278480','','robin_1_thumb.jpg',130, 172,15,'																			photo_4885367.html');
												thumbnails[6640072] = new thumbnail(6640072,'363450','','AFP_3881_edited-1_thumb.jpg',130, 228,15,'																			photo_6640072.html');
												thumbnails[6640073] = new thumbnail(6640073,'363450','','AFP_3929_edited-2_thumb.jpg',130, 89,15,'																			photo_6640073.html');
												thumbnails[6640177] = new thumbnail(6640177,'363450','','AFP_3985_edited-1_thumb.jpg',130, 87,15,'																			photo_6640177.html');
												thumbnails[6640179] = new thumbnail(6640179,'363450','','AFP_4037_edited-1_thumb.jpg',130, 51,15,'																			photo_6640179.html');
												thumbnails[6640180] = new thumbnail(6640180,'363450','','AFP_4124_edited-2_thumb.jpg',130, 104,15,'																			photo_6640180.html');
												thumbnails[6640181] = new thumbnail(6640181,'363450','','AFP_4170_edited-3_thumb.jpg',130, 116,15,'																			photo_6640181.html');
												thumbnails[6640182] = new thumbnail(6640182,'363450','','AFP_4182_edited-2_thumb.jpg',130, 216,15,'																			photo_6640182.html');
												thumbnails[6640184] = new thumbnail(6640184,'363450','','AFP_4227_edited-2_thumb.jpg',130, 194,15,'																			photo_6640184.html');
												thumbnails[6640185] = new thumbnail(6640185,'363450','','AFP_4285_edited-1_thumb.jpg',130, 194,15,'																			photo_6640185.html');
												thumbnails[6640187] = new thumbnail(6640187,'363450','','AFP_4555_edited-1_thumb.jpg',130, 126,15,'																			photo_6640187.html');
												thumbnails[6640188] = new thumbnail(6640188,'363450','','AFP_4889_edited-1_thumb.jpg',130, 61,15,'																			photo_6640188.html');
												thumbnails[6640189] = new thumbnail(6640189,'363450','','AFP_5156_edited-1_thumb.jpg',130, 194,15,'																			photo_6640189.html');
												thumbnails[6875348] = new thumbnail(6875348,'278480','','snow_sheep_2_edited-2_thumb.jpg',130, 87,15,'																			photo_6875348.html');
												thumbnails[6875350] = new thumbnail(6875350,'278480','','Telephone_box_1_edited-2_thumb.jpg',130, 87,15,'																			photo_6875350.html');
												thumbnails[6875353] = new thumbnail(6875353,'278480','','telephone_box_2_edited-2_thumb.jpg',130, 194,15,'																			photo_6875353.html');
												thumbnails[6875356] = new thumbnail(6875356,'278480','','Wharfe_in_snow_1_edited-2_thumb.jpg',130, 87,15,'																			photo_6875356.html');
												thumbnails[6875357] = new thumbnail(6875357,'278480','','winter_scene_2_edited-2_thumb.jpg',130, 87,15,'																			photo_6875357.html');
												thumbnails[6875360] = new thumbnail(6875360,'278480','','winter_scene_with_sheep_1_edited-2_thumb.jpg',130, 87,15,'																			photo_6875360.html');
												thumbnails[6875361] = new thumbnail(6875361,'278480','','winter_scene_with_sheep_3_edited-2_thumb.jpg',130, 87,15,'																			photo_6875361.html');
												thumbnails[6875363] = new thumbnail(6875363,'278480','','winter_sun_set_with_snow_1_edited-2_thumb.jpg',130, 87,15,'																			photo_6875363.html');
												thumbnails[6875369] = new thumbnail(6875369,'278480','','ribblehead__snow_10_edited-2_thumb.jpg',130, 87,15,'																			photo_6875369.html');
												thumbnails[6875370] = new thumbnail(6875370,'278480','','Ingleborough_snow_2_edited-2_thumb.jpg',130, 87,15,'																			photo_6875370.html');
												thumbnails[6875372] = new thumbnail(6875372,'278480','','ribblehead_snow_4_edited-2_thumb.jpg',130, 79,15,'																			photo_6875372.html');
												thumbnails[6875376] = new thumbnail(6875376,'278480','','Pen_y_Gent_snow_1_edited-2_thumb.jpg',130, 83,15,'																			photo_6875376.html');
												thumbnails[6875381] = new thumbnail(6875381,'278480','','Edninburgh_winter_view_to_castle_1_edited-2_thumb.jpg',130, 78,15,'																			photo_6875381.html');
												thumbnails[6875384] = new thumbnail(6875384,'278480','','Edinburgh_ice_rink_09_2_edited-2_thumb.jpg',130, 184,15,'																			photo_6875384.html');
												thumbnails[6875385] = new thumbnail(6875385,'278480','','Edninburgh_winter_view_to_castle_2_edited-2_thumb.jpg',130, 87,15,'																			photo_6875385.html');
												thumbnails[6875387] = new thumbnail(6875387,'278480','','Edninburgh_winter_view_to_3_edited-2_thumb.jpg',130, 87,15,'																			photo_6875387.html');

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  					galleries[243366] = new gallery(243366,'','Aquathlon','gallery',[],0, 0, '239466', '																																																																																																							gallery_243366.html',0,0);
				  					galleries[266326] = new gallery(266326,'4602568,4602567,4602555,4602554,4602553,4602552,4602551,4602550,4602549,4602548','Camille & Philippe','gallery',[4602548,4602549,4602550,4602551,4602552,4602553,4602554,4602555,4602567,4602568],0, 0, '254148', '																																																																																																							gallery_266326.html',0,0);
				  					galleries[278480] = new gallery(278480,'6875387,6875385,6875384,6875381,6875376,6875372,6875370,6875369,6875363,6875361','Christmas cards','gallery',[4881065,4881067,4881078,4881079,4881081,4881084,4881086,4881091,4885367,6875348,6875350,6875353,6875356,6875357,6875360,6875361,6875363,6875369,6875370,6875372,6875376,6875381,6875384,6875385,6875387],0, 0, '', '																																																																																																							gallery_278480.html',0,0);
				  					galleries[266328] = new gallery(266328,'4602584,4602583,4602582,4602581,4602580,4602577,4602576,4602575,4602574,4602573','Claire & Steve','gallery',[4602569,4602570,4602571,4602573,4602574,4602575,4602576,4602577,4602580,4602581,4602582,4602583,4602584],0, 0, '254148', '																																																																																																							gallery_266328.html',0,0);
				  					galleries[239466] = new gallery(239466,'3997489,3997408','Defi 2009','gallery',[],0, 0, '', '																																																																																																							gallery_239466.html',0,0);
				  					galleries[117750] = new gallery(117750,'1752570,1752568','Lake District','gallery',[1752568,1752570],0, 0, '', '																																																																																																							gallery_117750.html',0,0);
				  					galleries[81048] = new gallery(81048,'1140715','Landscapes','gallery',[1113768,1114057,1114059,1114176,1140715,1153585,1153590,1157178,1157183,1451931,1451935,1451936,1504740,1504742,1690611],0, 0, '', '																																																																																																							gallery_81048.html',0,0);
				  					galleries[254150] = new gallery(254150,'4312465','Lis and François-Xavier','gallery',[4312457,4312458,4312463,4312465,4312466,4312468,4312472,4312475,4312479,4312481,4312484,4312485,4312486,4312488,4312489,4312490],0, 0, '254148', '																																																																																																							gallery_254150.html',0,0);
				  					galleries[241698] = new gallery(241698,'3997408','Natation','gallery',[3997400,3997404,3997405,3997406,3997408,3997409,3997410,3997411,3997412,3997414,3997417,3997418,3997419],0, 0, '239466', '																																																																																																							gallery_241698.html',0,0);
				  					galleries[241696] = new gallery(241696,'3997489','Pétanque','gallery',[3997388,3997389,3997391,3997392,3997393,3997396,3997397,3997398,3997447,3997449,3997451,3997453,3997456,3997457,3997461,3997467,3997469,3997471,3997472,3997475,3997478,3997479,3997482,3997484,3997486,3997489,3997496,3997498],0, 0, '239466', '																																																																																																							gallery_241696.html',0,0);
				  					galleries[117753] = new gallery(117753,'1752583,1752581,1752548,1752546,1752545','Scotland','gallery',[1752545,1752546,1752548,1752581,1752583],0, 0, '', '																																																																																																							gallery_117753.html',0,0);
				  					galleries[81049] = new gallery(81049,'1140713','Seascapes','gallery',[1113766,1114113,1114171,1140676,1140681,1140696,1140700,1140713,1157180,1451946,1753356,1753422,1753423,1772019,1772022,1772082,2043256,2043259,2043261,2043263,2043267],0, 0, '', '																																																																																																							gallery_81049.html',0,0);
				  					galleries[254148] = new gallery(254148,'6640073,4312465','Weddings','gallery',[],0, 0, '', '																																																																																																							gallery_254148.html',0,0);
				  					galleries[117747] = new gallery(117747,'1752562,1752555,1752554,1752553,1752552,1752551,1752550','Yorkshire Dales','gallery',[1752550,1752551,1752552,1752553,1752554,1752555,1752562],0, 0, '', '																																																																																																							gallery_117747.html',0,0);
				  					galleries[363450] = new gallery(363450,'6640073','Zoe and Darcy','gallery',[6640072,6640073,6640177,6640179,6640180,6640181,6640182,6640184,6640185,6640187,6640188,6640189],0, 0, '254148', '																																																																																																							gallery_363450.html',0,0);
/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = new Object();
imageSets[1] = '1113766';
imageSets[2] = '6640073,4312465,3997489,3997444,3997408,1140715,1140713';
imageSets[3] = '6875387,6875385,6875384,6875381,6875376,6875372,6875370,6875369,6875363,6875361,6875360,6875357,6875356,6875353,6875350,6875348,6640189,6640188,6640187,6640185,6640184,6640182,6640181,6640180,6640179,6640177,6640073,6640072,4885367,4881091,4881086,4881084,4881081,4881079,4881078,4881067,4881065,4602584,4602583,4602582,4602581,4602580,4602577,4602576,4602575,4602574,4602573,4602571,4602570,4602569';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/stevehill/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/stevehill/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/stevehill/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/stevehill/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/stevehill/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/stevehill/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/stevehill/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/stevehill/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/stevehill/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/stevehill/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/stevehill/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/stevehill/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/stevehill/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/stevehill/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/stevehill/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://admin2.clikpic.com/stevehill/images';
		break;
	}
		switch (server_id) {
		case 33:
		val = 'http://www8.clikpic.com/stevehill/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/stevehill/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/stevehill/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/stevehill/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/stevehill/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/stevehill/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));		}, 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 = 'www.Steve Hill Photography: ' + 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));    }        
    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 = 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> 				&euro;' + (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 + '<form id="paymentForm" style="margin:0px;border:0px;" name="paymentForm" target="_blank" action="https://www.paypal.com/cgi-bin/webscr" method="post">';
	temp = temp + '<input type="hidden" name="item_name" value="'+item_name+'">';
								ref = '';
				if(this.photo_ref != ''){
					ref = this.photo_ref+' - '+this.caption;
				}
				else{
					ref = this.id+' - '+this.caption;
				}
				price = amount;					temp = temp + '<input type="hidden" name="cmd" value="_cart">';
	temp = temp + '<input type="hidden" name="business" value="hallch@wanadoo.fr">';
	temp = temp + '<input type="hidden" name="currency_code" value="EUR">';
	temp = temp + '<input type="hidden" name="add" value="1">';
					temp = temp + '<input type="hidden" name="amount" value="'+amount+'">';
	temp = temp + '<input type="hidden" name="item_number" value="'+ref+'">';
					temp = temp + '<input type=\"Submit\" value=\"Add to cart\" id=\"paymentAddButton\" class=\"button\" onmouseover=\"this.className=\'buttonHi\';\" onmouseout=\"this.className=\'button\';\">';
									temp = temp + '</form>';
								temp = temp + '<form id="paymentCartForm" style="margin:0px;" name="paymentCartForm" target="_blank" action="https://www.paypal.com/cgi-bin/webscr" method="post">';
	temp = temp + '<input type="hidden" name="cmd" value="_cart">';
	temp = temp + '<input type="hidden" name="business" value="hallch@wanadoo.fr">';
	temp = temp + '<input type="hidden" name="display" value="1">';
	temp = temp + '<input type=\"Submit\" value=\"View cart\" id=\"paymentViewButton\" class=\"button\" onmouseover=\"this.className=\'buttonHi\';\" onmouseout=\"this.className=\'button\';\">';
	temp = temp + '</form>';
							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;
	}
}

			

