window.thumbnails = new Object();
												thumbnails[5755656] = new thumbnail(5755656,'326094','Maria and Ahmed ','DSC00100_D03D9F36-1D09-001F-9950BB8B7965A743_thumb.jpg',130, 87,18,'photo_5755656.html');
												thumbnails[5755658] = new thumbnail(5755658,'326094','Maria and Ahmed','DSC00207_thumb.jpg',130, 87,18,'photo_5755658.html');
												thumbnails[5755714] = new thumbnail(5755714,'326094','Maria and Ahmed','DSC00308_thumb.jpg',130, 87,18,'photo_5755714.html');
												thumbnails[5755750] = new thumbnail(5755750,'326094','Maria and Ahmed','DSC00313_thumb.jpg',130, 87,18,'photo_5755750.html');
												thumbnails[5755752] = new thumbnail(5755752,'326094','Maria and Ahmed','DSC00359_thumb.jpg',130, 87,18,'photo_5755752.html');
												thumbnails[5755753] = new thumbnail(5755753,'326094','Maria and Ahmed','DSC00369_thumb.jpg',130, 87,18,'photo_5755753.html');
												thumbnails[5755754] = new thumbnail(5755754,'326094','Maria and Ahmed','DSC00384_thumb.jpg',130, 194,18,'photo_5755754.html');
												thumbnails[5755756] = new thumbnail(5755756,'326094','Maria and Ahmed','DSC00386_thumb.jpg',130, 87,18,'photo_5755756.html');
												thumbnails[5755757] = new thumbnail(5755757,'326094','Maria and Ahmed','DSC00406_thumb.jpg',130, 87,18,'photo_5755757.html');
												thumbnails[5755760] = new thumbnail(5755760,'326094','Maria and Ahmed','DSC00471_thumb.jpg',130, 87,18,'photo_5755760.html');
												thumbnails[5755761] = new thumbnail(5755761,'326094','Maria and Ahmed','DSC00496_thumb.jpg',130, 87,18,'photo_5755761.html');
												thumbnails[5755763] = new thumbnail(5755763,'326094','Maria and Ahmed','DSC00825_thumb.jpg',130, 87,18,'photo_5755763.html');
												thumbnails[5755767] = new thumbnail(5755767,'326094','Maria and Ahmed','DSC00974_thumb.jpg',130, 194,18,'photo_5755767.html');
												thumbnails[5727037] = new thumbnail(5727037,'324255','Basse terre','DSC00628_thumb.JPG',130, 87,18,'photo_5727037.html');
												thumbnails[5735030] = new thumbnail(5735030,'324255','House','DSC00409_thumb.JPG',130, 87,18,'photo_5735030.html');
												thumbnails[5735040] = new thumbnail(5735040,'324255','House','DSC00415_thumb.JPG',130, 87,18,'photo_5735040.html');
												thumbnails[5735050] = new thumbnail(5735050,'324255','House','DSC00426_thumb.JPG',130, 87,18,'photo_5735050.html');
												thumbnails[5735069] = new thumbnail(5735069,'324255','Beach','DSC00434_thumb.JPG',130, 87,18,'photo_5735069.html');
												thumbnails[5735104] = new thumbnail(5735104,'324255','Market','DSC00446_thumb.JPG',130, 87,18,'photo_5735104.html');
												thumbnails[5735113] = new thumbnail(5735113,'324255','Resto','DSC00463_thumb.JPG',130, 87,18,'photo_5735113.html');
												thumbnails[5735133] = new thumbnail(5735133,'324255','Commercial street','DSC00465_thumb.JPG',130, 87,18,'photo_5735133.html');
												thumbnails[5735163] = new thumbnail(5735163,'324255','The cemetery in Morne-à-l\'Eau<br>\r\n','DSC00483_thumb.JPG',130, 87,18,'photo_5735163.html');
												thumbnails[5735238] = new thumbnail(5735238,'324255','The cemetery in Morne-à-l\'Eau<br>\r\n','DSC00492_thumb.JPG',130, 87,18,'photo_5735238.html');
												thumbnails[5735242] = new thumbnail(5735242,'324255','Seaside','DSC00501_thumb.JPG',130, 87,18,'photo_5735242.html');
												thumbnails[5735246] = new thumbnail(5735246,'324255','The Slavesteps in Petit-Canal','DSC00524_thumb.JPG',130, 194,18,'photo_5735246.html');
												thumbnails[5735249] = new thumbnail(5735249,'324255','Cemetery ( Rue de la Paix )','DSC00544_thumb.JPG',130, 87,18,'photo_5735249.html');
												thumbnails[5735257] = new thumbnail(5735257,'324255','House','DSC00553_thumb.JPG',130, 87,18,'photo_5735257.html');
												thumbnails[5735261] = new thumbnail(5735261,'324255','Church at Port-Louis','DSC00558_thumb.JPG',130, 87,18,'photo_5735261.html');
												thumbnails[5735277] = new thumbnail(5735277,'324255','Market','DSC00022_BB1F55E1-1D09-001F-99E6C404BC812BC0_thumb.JPG',130, 87,18,'photo_5735277.html');
												thumbnails[5735280] = new thumbnail(5735280,'324255','Market','DSC00027_thumb.JPG',130, 87,18,'photo_5735280.html');
												thumbnails[5735304] = new thumbnail(5735304,'324255','St Anne Beach','DSC00040_thumb.JPG',130, 87,18,'photo_5735304.html');
												thumbnails[5735327] = new thumbnail(5735327,'324255','Lagon de la porte d\'enfer','DSC00080_BB3190B0-1D09-001F-99EC7870452B5029_thumb.JPG',130, 87,18,'photo_5735327.html');
												thumbnails[5735338] = new thumbnail(5735338,'324255','Lagon de la porte d\'enfer','DSC00110_BB372E20-1D09-001F-99FFADEF6070E7F2_thumb.JPG',130, 87,18,'photo_5735338.html');
												thumbnails[5735368] = new thumbnail(5735368,'324255','Lagon de la porte d\'enfer','DSC00137_thumb.JPG',130, 87,18,'photo_5735368.html');
												thumbnails[5735389] = new thumbnail(5735389,'324255','Lagon de la porte d \'enfer','DSC00176_thumb.JPG',130, 87,18,'photo_5735389.html');
												thumbnails[5735425] = new thumbnail(5735425,'324255','Sunset at Grande Vigie','DSC00346_thumb.JPG',130, 87,18,'photo_5735425.html');
												thumbnails[5735448] = new thumbnail(5735448,'324255','Point de la Grande Vigie','DSC00316_thumb.JPG',130, 87,18,'photo_5735448.html');
												thumbnails[5735457] = new thumbnail(5735457,'324255','Pointe du Capucin et Pointe du Piton','DSC00230_thumb.JPG',130, 87,18,'photo_5735457.html');
												thumbnails[5735473] = new thumbnail(5735473,'324255','Grande Falaise','DSC00270_thumb.JPG',130, 87,18,'photo_5735473.html');
												thumbnails[5735494] = new thumbnail(5735494,'324255','Le Piton et la Pointe du Piton','DSC00192_thumb.JPG',130, 87,18,'photo_5735494.html');
												thumbnails[5735506] = new thumbnail(5735506,'324255','la Pointe du Piton','DSC00205_thumb.JPG',130, 194,18,'photo_5735506.html');
												thumbnails[5727047] = new thumbnail(5727047,'324255','Sunrise at 6 am','DSC00319_thumb.JPG',130, 87,18,'photo_5727047.html');
												thumbnails[5727049] = new thumbnail(5727049,'324255','Palm tree on the beach','DSC00347_thumb.JPG',130, 194,18,'photo_5727049.html');
												thumbnails[5727067] = new thumbnail(5727067,'324255','Animation on the beach at 6.30 am','DSC00353_thumb.JPG',130, 87,18,'photo_5727067.html');
												thumbnails[5727077] = new thumbnail(5727077,'324255','Nature','DSC00117_B141C998-1D09-001F-9960548C3263E3CD_thumb.JPG',130, 87,18,'photo_5727077.html');
												thumbnails[5727078] = new thumbnail(5727078,'324255','Beach','DSC00129_thumb.JPG',130, 87,18,'photo_5727078.html');
												thumbnails[5727081] = new thumbnail(5727081,'324255','Palm tree on the beach','DSC001341_thumb.JPG',130, 194,18,'photo_5727081.html');
												thumbnails[5727083] = new thumbnail(5727083,'324255','Beach','DSC00165_thumb.JPG',130, 194,18,'photo_5727083.html');
												thumbnails[5727087] = new thumbnail(5727087,'324255','Nice baby cow','DSC00188_B146D6A0-1D09-001F-999815A08AD48427_thumb.JPG',130, 87,18,'photo_5727087.html');
												thumbnails[5727091] = new thumbnail(5727091,'324255','Palm tree in St Francois city','DSC00037_thumb.JPG',130, 87,18,'photo_5727091.html');
												thumbnails[5727098] = new thumbnail(5727098,'324255','Marina of St Francois city','DSC00043_B14EFA4E-1D09-001F-9916A91CF3DF87AB_thumb.JPG',130, 87,18,'photo_5727098.html');
												thumbnails[5727099] = new thumbnail(5727099,'324255','Tree','DSC00044_thumb.JPG',130, 87,18,'photo_5727099.html');
												thumbnails[5727100] = new thumbnail(5727100,'324255','Pointe des chateaux','DSC00060_thumb.JPG',130, 87,18,'photo_5727100.html');
												thumbnails[5727101] = new thumbnail(5727101,'324255','Point des chateaux','DSC00071_thumb.JPG',130, 87,18,'photo_5727101.html');
												thumbnails[5727102] = new thumbnail(5727102,'324255','Point des chateaux','DSC00076_thumb.JPG',130, 87,18,'photo_5727102.html');
												thumbnails[5726012] = new thumbnail(5726012,'242256','Ballymahon city, Ireland','DSC00410_thumb.JPG',130, 87,18,'photo_5726012.html');
												thumbnails[5726018] = new thumbnail(5726018,'242256','Ballymahon city, Ireland','DSC00411_thumb.JPG',130, 87,18,'photo_5726018.html');
												thumbnails[5726020] = new thumbnail(5726020,'242256','ballymahon city, Ireland','DSC00413_thumb.JPG',130, 87,18,'photo_5726020.html');
												thumbnails[5726043] = new thumbnail(5726043,'242256','Belfast Castle','DSC00482_thumb.JPG',130, 87,18,'photo_5726043.html');
												thumbnails[5726047] = new thumbnail(5726047,'242256','Belfast Castle','DSC00485_thumb.jpg',130, 87,18,'photo_5726047.html');
												thumbnails[5726054] = new thumbnail(5726054,'242256','Belfast Castle and the park','DSC00488_thumb.JPG',130, 194,18,'photo_5726054.html');
												thumbnails[5726056] = new thumbnail(5726056,'242256','Belfast Castle','DSC00494_thumb.JPG',130, 87,18,'photo_5726056.html');
												thumbnails[5726071] = new thumbnail(5726071,'242256','Belfast Castle, tha garden terrace','DSC00499_thumb.JPG',130, 87,18,'photo_5726071.html');
												thumbnails[5726079] = new thumbnail(5726079,'242256','Belfast Castle, the garden terrace','DSC00508_thumb.JPG',130, 87,18,'photo_5726079.html');
												thumbnails[5726096] = new thumbnail(5726096,'242256','Belfast Castle','DSC00510_thumb.JPG',130, 87,18,'photo_5726096.html');
												thumbnails[5726101] = new thumbnail(5726101,'242256','Belfast Castle','DSC00542_thumb.JPG',130, 87,18,'photo_5726101.html');
												thumbnails[5725896] = new thumbnail(5725896,'242256','Week end Ireland 08 to 10 05 2009.','DSC00216_thumb.jpg',130, 87,18,'photo_5725896.html');
												thumbnails[5725954] = new thumbnail(5725954,'242256','Seaside in west of ireland ( Galway )','DSC00244_thumb.JPG',130, 87,18,'photo_5725954.html');
												thumbnails[5725957] = new thumbnail(5725957,'242256','Seaside','DSC00272_thumb.JPG',130, 87,18,'photo_5725957.html');
												thumbnails[5725964] = new thumbnail(5725964,'242256','Seaside','DSC00281_thumb.JPG',130, 87,18,'photo_5725964.html');
												thumbnails[5725971] = new thumbnail(5725971,'242256','Ireland','DSC00292_thumb.JPG',130, 87,18,'photo_5725971.html');
												thumbnails[5725975] = new thumbnail(5725975,'242256','Ireland','DSC00293_thumb.JPG',130, 87,18,'photo_5725975.html');
												thumbnails[5725977] = new thumbnail(5725977,'242256','Ireland','DSC00298_thumb.JPG',130, 87,18,'photo_5725977.html');
												thumbnails[5725990] = new thumbnail(5725990,'242256','Connemara is on the west coast of Ireland, Galway','DSC00315_thumb.JPG',130, 87,18,'photo_5725990.html');
												thumbnails[5725992] = new thumbnail(5725992,'242256','Connemara is on the west coast of Ireland, Galway','DSC00323_thumb.JPG',130, 87,18,'photo_5725992.html');
												thumbnails[5726005] = new thumbnail(5726005,'242256','Connemara is on the west coast of Ireland, Galway','DSC00327_thumb.JPG',130, 87,18,'photo_5726005.html');
												thumbnails[5726007] = new thumbnail(5726007,'242256','Connemara is on the west coast of Ireland, Galway','DSC00332_thumb.JPG',130, 87,18,'photo_5726007.html');
												thumbnails[3035422] = new thumbnail(3035422,'186578','SARAH 1','DSC00020_thumb.JPG',130, 194,18,'photo_3035422.html');
												thumbnails[3035427] = new thumbnail(3035427,'186578','SARAH 2','DSC00021_thumb.JPG',130, 87,18,'photo_3035427.html');
												thumbnails[3035435] = new thumbnail(3035435,'186578','SARAH 3','DSC00025_2_thumb.JPG',130, 87,18,'photo_3035435.html');
												thumbnails[3035438] = new thumbnail(3035438,'186578','SARAH 4','DSC00029_thumb.JPG',130, 194,18,'photo_3035438.html');
												thumbnails[3035440] = new thumbnail(3035440,'186578','SARAH 5','DSC00030_1_thumb.JPG',130, 87,18,'photo_3035440.html');
												thumbnails[3035444] = new thumbnail(3035444,'186578','SARAH 6','DSC00031_thumb.JPG',130, 87,18,'photo_3035444.html');
												thumbnails[3035446] = new thumbnail(3035446,'186578','SARAH 7','DSC000341_thumb.JPG',130, 87,18,'photo_3035446.html');
												thumbnails[3035450] = new thumbnail(3035450,'186578','SARAH 8','DSC00035_thumb.JPG',130, 87,18,'photo_3035450.html');
												thumbnails[3035453] = new thumbnail(3035453,'186578','SARAH 9','DSC00036_thumb.JPG',130, 87,18,'photo_3035453.html');
												thumbnails[3035459] = new thumbnail(3035459,'186578','SARAH 10','DSC00039_thumb.JPG',130, 87,18,'photo_3035459.html');
												thumbnails[3035462] = new thumbnail(3035462,'186578','SARAH 11','DSC00041_1_thumb.JPG',130, 87,18,'photo_3035462.html');
												thumbnails[3035464] = new thumbnail(3035464,'186578','SARAH 12','DSC000591_thumb.JPG',130, 87,18,'photo_3035464.html');
												thumbnails[5725294] = new thumbnail(5725294,'242257','Durham','DSC00041_AF8B55E1-1D09-001F-99B1F41D8D6BAE95_thumb.jpg',130, 87,18,'photo_5725294.html');
												thumbnails[5725302] = new thumbnail(5725302,'242257','Durham','DSC00046_thumb.jpg',130, 87,18,'photo_5725302.html');
												thumbnails[5725320] = new thumbnail(5725320,'242257','Durham','DSC00080_thumb.jpg',130, 87,18,'photo_5725320.html');
												thumbnails[5725330] = new thumbnail(5725330,'242257','Durham','DSC00100_thumb.jpg',130, 87,18,'photo_5725330.html');
												thumbnails[5725335] = new thumbnail(5725335,'242257','Durham','DSC00153_thumb.jpg',130, 87,18,'photo_5725335.html');
												thumbnails[5725343] = new thumbnail(5725343,'242257','Durham','DSC00118_AF941737-1D09-001F-99FE04F926544A09_thumb.jpg',130, 87,18,'photo_5725343.html');
												thumbnails[5725346] = new thumbnail(5725346,'242257','Durham','DSC00130_thumb.jpg',130, 194,18,'photo_5725346.html');
												thumbnails[5725353] = new thumbnail(5725353,'242257','Durham','DSC00134_thumb.jpg',130, 87,18,'photo_5725353.html');
												thumbnails[5725354] = new thumbnail(5725354,'242257','Durham','DSC00136_thumb.jpg',130, 87,18,'photo_5725354.html');
												thumbnails[5725355] = new thumbnail(5725355,'242257','Durham','DSC00152_thumb.jpg',130, 194,18,'photo_5725355.html');
												thumbnails[5725387] = new thumbnail(5725387,'242257','Durham','DSC00169_thumb.jpg',130, 87,18,'photo_5725387.html');
												thumbnails[5725390] = new thumbnail(5725390,'242257','Durham','DSC00171_thumb.jpg',130, 87,18,'photo_5725390.html');
												thumbnails[1063420] = new thumbnail(1063420,'78691','Royal Albert Hall in London','DSC011811.jpg',130, 87,18,'photo_1063420.html');
												thumbnails[1535803] = new thumbnail(1535803,'105222','The Clock Tower at Nimes','DSC002341.jpg',130, 194,18,'photo_1535803.html');
												thumbnails[1535810] = new thumbnail(1535810,'105222','The jardin de la fontaine at Nimes','DSC002641.jpg',130, 87,18,'photo_1535810.html');
												thumbnails[1535520] = new thumbnail(1535520,'105222','The clock tower at Nimes','DSC000193.jpg',130, 194,18,'photo_1535520.html');
												thumbnails[1535527] = new thumbnail(1535527,'105222','The Maison Carre in Nimes','DSC000251.jpg',130, 87,18,'photo_1535527.html');
												thumbnails[1535539] = new thumbnail(1535539,'105222','The Maison Carre','DSC000431.jpg',130, 87,18,'photo_1535539.html');
												thumbnails[1535557] = new thumbnail(1535557,'105222','The Maison Carre','DSC000501.jpg',130, 87,18,'photo_1535557.html');
												thumbnails[1535561] = new thumbnail(1535561,'105222','The Pont du Gard is the sweeping 2000 year old roman \"Pont du Gard\", a stunning three tiered Bridge topped with a aqueduct.','DSC000731.jpg',130, 194,18,'photo_1535561.html');
												thumbnails[1535587] = new thumbnail(1535587,'105222','The Pont du Gard','DSC001181.jpg',130, 87,18,'photo_1535587.html');
												thumbnails[1535591] = new thumbnail(1535591,'105222','The Pont du Gard','DSC001741.jpg',130, 194,18,'photo_1535591.html');
												thumbnails[1535593] = new thumbnail(1535593,'105222','The Pont du Gard','DSC001881.jpg',130, 87,18,'photo_1535593.html');
												thumbnails[1535661] = new thumbnail(1535661,'105222','The Pont du Gard','DSC001911.jpg',130, 87,18,'photo_1535661.html');
												thumbnails[1535782] = new thumbnail(1535782,'105222','The Pont du Gard','DSC002021.jpg',130, 87,18,'photo_1535782.html');
												thumbnails[1535818] = new thumbnail(1535818,'113313','The Motorbike of BMW','DSC002791.jpg',130, 87,18,'photo_1535818.html');
												thumbnails[1681421] = new thumbnail(1681421,'78693','Young woman','DSC00026_thumb.JPG',130, 87,18,'photo_1681421.html');
												thumbnails[1689580] = new thumbnail(1689580,'113307','Flowers in Hampton Court Palace','DSC00111_thumb.JPG',130, 87,18,'photo_1689580.html');
												thumbnails[1689582] = new thumbnail(1689582,'113307','Flowers in Hampton Court Palace 2','DSC00113_thumb.JPG',130, 87,18,'photo_1689582.html');
												thumbnails[1689584] = new thumbnail(1689584,'113307','Flowers in Hampton Court Palace 3','DSC00115_1_thumb.JPG',130, 87,18,'photo_1689584.html');
												thumbnails[1689589] = new thumbnail(1689589,'113307','Flowers in Hampton Court Palace 3','DSC00217_thumb.JPG',130, 87,18,'photo_1689589.html');
												thumbnails[1689613] = new thumbnail(1689613,'113307','Flowers in Hampton Court Palace 4','DSC00218_thumb.JPG',130, 87,18,'photo_1689613.html');
												thumbnails[1176445] = new thumbnail(1176445,'78690','Aurelie and Imran, Wedding 140707 in France','DSC001251.jpg',130, 194,18,'photo_1176445.html');
												thumbnails[1176448] = new thumbnail(1176448,'78690','A new Happy couple','DSC001311.jpg',130, 87,18,'photo_1176448.html');
												thumbnails[1176452] = new thumbnail(1176452,'78690','Bless the bride','DSC001381.jpg',130, 87,18,'photo_1176452.html');
												thumbnails[1176454] = new thumbnail(1176454,'78690','The Newlyweds','DSC001451.jpg',130, 194,18,'photo_1176454.html');
												thumbnails[1176457] = new thumbnail(1176457,'78690','The groom\'s father is very happy','DSC002011.jpg',130, 87,18,'photo_1176457.html');
												thumbnails[1176458] = new thumbnail(1176458,'78690','The bride\'s mom is very happy too','DSC002041.jpg',130, 87,18,'photo_1176458.html');
												thumbnails[1176491] = new thumbnail(1176491,'78690','the Newlyweds\' Parents','DSC002061.jpg',130, 87,18,'photo_1176491.html');
												thumbnails[1176505] = new thumbnail(1176505,'78690','Bride : always happy, always smile. Thank you for that Aurelie','DSC002111.jpg',130, 87,18,'photo_1176505.html');
												thumbnails[1176510] = new thumbnail(1176510,'78690','The bride\'s witness','DSC002281.jpg',130, 87,18,'photo_1176510.html');
												thumbnails[1176530] = new thumbnail(1176530,'78690','The PELICAN GROUP, Session 34','DSC002311.jpg',130, 87,18,'photo_1176530.html');
												thumbnails[1176537] = new thumbnail(1176537,'78690','all witness','DSC002391.jpg',130, 87,18,'photo_1176537.html');
												thumbnails[1176551] = new thumbnail(1176551,'78690','The newlyweds ','DSC002411.jpg',130, 87,18,'photo_1176551.html');
												thumbnails[1689512] = new thumbnail(1689512,'113307','Lily 1','DSC00022_thumb.JPG',130, 87,18,'photo_1689512.html');
												thumbnails[1689541] = new thumbnail(1689541,'113307','Lily 2','DSC00023_thumb.JPG',130, 87,18,'photo_1689541.html');
												thumbnails[1689542] = new thumbnail(1689542,'113307','Lily 3 BandW','DSC000261_thumb.JPG',130, 87,18,'photo_1689542.html');
												thumbnails[1689545] = new thumbnail(1689545,'113305','Lily 4','DSC00034_thumb.JPG',130, 87,18,'photo_1689545.html');
												thumbnails[1689576] = new thumbnail(1689576,'113307','Lily 5','DSC00050_1_thumb.JPG',130, 87,18,'photo_1689576.html');
												thumbnails[1689577] = new thumbnail(1689577,'113307','Lily 6','DSC00059_thumb.JPG',130, 87,18,'photo_1689577.html');
												thumbnails[1689578] = new thumbnail(1689578,'113305','Lily 7','DSC00065_thumb.JPG',130, 87,18,'photo_1689578.html');
												thumbnails[1060228] = new thumbnail(1060228,'113308','Duck','DSC000191.jpg',130, 87,18,'photo_1060228.html');
												thumbnails[1061475] = new thumbnail(1061475,'78429','Church in Inverness','DSC000771.jpg',130, 87,18,'photo_1061475.html');
												thumbnails[1063402] = new thumbnail(1063402,'113308','Family of sheep in Scotland 1','DSC002211.jpg',130, 87,18,'photo_1063402.html');
												thumbnails[1063406] = new thumbnail(1063406,'113308','Family of sheep in Scotland 2','DSC002221.jpg',130, 87,18,'photo_1063406.html');
												thumbnails[1063415] = new thumbnail(1063415,'78429','Nature','DSC002491.jpg',130, 87,18,'photo_1063415.html');
												thumbnails[1060449] = new thumbnail(1060449,'78429','Inverness','DSC000411.jpg',130, 87,18,'photo_1060449.html');
												thumbnails[1063388] = new thumbnail(1063388,'78429','Loch Lochy 1','DSC001791.jpg',130, 87,18,'photo_1063388.html');
												thumbnails[1063393] = new thumbnail(1063393,'78429','Loch Lochy 2','DSC001811.jpg',130, 87,18,'photo_1063393.html');
												thumbnails[1063382] = new thumbnail(1063382,'78429','Loch Ness 1','DSC001621.jpg',130, 87,18,'photo_1063382.html');
												thumbnails[1063387] = new thumbnail(1063387,'78429','Loch Ness 2','DSC001701.jpg',130, 87,18,'photo_1063387.html');
												thumbnails[1061509] = new thumbnail(1061509,'113308','Squirrel in London ( Park )','DSC001321.jpg',130, 87,18,'photo_1061509.html');
												thumbnails[1060499] = new thumbnail(1060499,'78423','Buddha in Battersea','DSC000451.jpg',130, 194,18,'photo_1060499.html');
												thumbnails[1060208] = new thumbnail(1060208,'113313','Little Statue on the table.','DSC000041.jpg',130, 87,18,'photo_1060208.html');
												thumbnails[1060608] = new thumbnail(1060608,'78423','Statue of Queen Victoria next to Buckingham Palace','DSC000631.jpg',130, 87,18,'photo_1060608.html');
												thumbnails[1061482] = new thumbnail(1061482,'78691','Architecture 1','DSC001021.jpg',130, 87,18,'photo_1061482.html');
												thumbnails[1061483] = new thumbnail(1061483,'78691','Architecture 2','DSC001051.jpg',130, 194,18,'photo_1061483.html');
												thumbnails[1061485] = new thumbnail(1061485,'78691','Architecture 3','DSC001061.jpg',130, 87,18,'photo_1061485.html');
												thumbnails[1061494] = new thumbnail(1061494,'78423','Statue of Horse Guards Parade in London','DSC001151.jpg',130, 87,18,'photo_1061494.html');
												thumbnails[1061500] = new thumbnail(1061500,'78423','Statue of Horse Guards Parade in London 2','DSC001163.jpg',130, 87,18,'photo_1061500.html');
												thumbnails[1061501] = new thumbnail(1061501,'78423','Statue of Horse Guards Parade in London 3','DSC001171.jpg',130, 87,18,'photo_1061501.html');
												thumbnails[1061507] = new thumbnail(1061507,'113308','Horse guard In London','DSC001221.jpg',130, 194,18,'photo_1061507.html');
												thumbnails[1063423] = new thumbnail(1063423,'78691','Channel 4 office in london','DSC000032.jpg',130, 87,18,'photo_1063423.html');
												thumbnails[1060446] = new thumbnail(1060446,'78423','Big Ben In London','DSC000301.jpg',130, 87,18,'photo_1060446.html');
												thumbnails[1061491] = new thumbnail(1061491,'78423','Tower Bridge in London','DSC001081.jpg',130, 87,18,'photo_1061491.html');
												thumbnails[1061492] = new thumbnail(1061492,'78423','Tower Bridge In London 2','DSC001101.jpg',130, 87,18,'photo_1061492.html');
												thumbnails[1063373] = new thumbnail(1063373,'78691','Architecture 4','DSC001431.jpg',130, 87,18,'photo_1063373.html');
												thumbnails[1060221] = new thumbnail(1060221,'78423','Parliament in London','DSC000081.jpg',130, 87,18,'photo_1060221.html');
												thumbnails[1060309] = new thumbnail(1060309,'78691','Building in London','DSC000281.jpg',130, 194,18,'photo_1060309.html');

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  					galleries[78423] = new gallery(78423,'1061501,1061500,1061494,1061492,1061491,1060608,1060499,1060446,1060221','LONDON','gallery',[1060499,1060608,1061494,1061500,1061501,1060446,1061491,1061492,1060221],0, 0, '', 'gallery_78423.html',0,0);
				  					galleries[78429] = new gallery(78429,'1063415,1063393,1063388,1063387,1063382,1061475','SCOTLAND','gallery',[1061475,1063415,1060449,1063388,1063393,1063382,1063387],0, 0, '', 'gallery_78429.html',0,0);
				  					galleries[78691] = new gallery(78691,'1063423,1063420,1063373,1061485,1061483,1061482,1060309','Architecture','gallery',[1063420,1061482,1061483,1061485,1063423,1063373,1060309],0, 0, '', 'gallery_78691.html',0,0);
				  					galleries[113305] = new gallery(113305,'1689578,1689545','Macro','gallery',[1689545,1689578],0, 0, '', 'gallery_113305.html',0,0);
				  					galleries[78690] = new gallery(78690,'1176551,1176537,1176530,1176510,1176505,1176491,1176458,1176457,1176454,1176452,1176448,1176445','Weddings 14th july 2007','gallery',[1176445,1176448,1176452,1176454,1176457,1176458,1176491,1176505,1176510,1176530,1176537,1176551],0, 0, '', 'gallery_78690.html',0,0);
				  					galleries[105222] = new gallery(105222,'1535810,1535803,1535782,1535661,1535593,1535591,1535587,1535561,1535557,1535539,1535527,1535520','France Summer 2007','gallery',[1535803,1535810,1535520,1535527,1535539,1535557,1535561,1535587,1535591,1535593,1535661,1535782],0, 0, '', 'gallery_105222.html',0,0);
				  					galleries[78693] = new gallery(78693,'1681421','People','gallery',[1681421],0, 0, '', 'gallery_78693.html',0,0);
				  					galleries[113308] = new gallery(113308,'1063406,1063402,1061509,1061507,1060228','Animals','gallery',[1060228,1063402,1063406,1061509,1061507],0, 0, '', 'gallery_113308.html',0,0);
				  					galleries[113307] = new gallery(113307,'1689613,1689589,1689584,1689582,1689580,1689577,1689576,1689542,1689512','Flowers','gallery',[1689580,1689582,1689584,1689589,1689613,1689512,1689541,1689542,1689576,1689577],0, 0, '', 'gallery_113307.html',0,0);
				  					galleries[113313] = new gallery(113313,'1535818,1060208','Objects','gallery',[1535818,1060208],0, 0, '', 'gallery_113313.html',0,0);
				  					galleries[186578] = new gallery(186578,'3035464,3035462,3035459,3035453,3035450,3035446,3035444,3035440,3035438,3035435','SARAH','gallery',[3035422,3035427,3035435,3035438,3035440,3035444,3035446,3035450,3035453,3035459,3035462,3035464],0, 0, '', 'gallery_186578.html',0,0);
				  					galleries[242256] = new gallery(242256,'5726101,5726096,5726079,5726071,5726056,5726054,5726047,5726043,5726020,5726018,5726012,5726007,5726005,5725992,5725990,5725977,5725975,5725971,5725964,5725957,5725954,5725896','Ireland','gallery',[5726012,5726018,5726020,5726043,5726047,5726054,5726056,5726071,5726079,5726096,5726101,5725896,5725954,5725957,5725964,5725971,5725975,5725977,5725990,5725992,5726005,5726007],0, 0, '', 'gallery_242256.html',0,0);
				  					galleries[242257] = new gallery(242257,'5725390,5725387,5725355,5725354,5725353,5725346,5725343,5725335,5725330,5725320,5725302,5725294','Durham','gallery',[5725294,5725302,5725320,5725330,5725335,5725343,5725346,5725353,5725354,5725355,5725387,5725390],0, 0, '', 'gallery_242257.html',0,0);
				  					galleries[324255] = new gallery(324255,'5735506,5735494,5735473,5735457,5735448,5735425,5735389,5735368,5735338,5735327,5735304,5735280,5735277,5735261,5735257,5735249,5735246,5735242,5735238,5735163,5735133,5735113,5735104,5735069,5735050,5735040,5735030,5727102,5727101,5727100,5727099,5727098,5727091,5727087,5727083,5727081,5727078,5727077,5727067,5727049,5727047,5727037','Guadeloupe Summer 2009','gallery',[5727037,5735030,5735040,5735050,5735069,5735104,5735113,5735133,5735163,5735238,5735242,5735246,5735249,5735257,5735261,5735277,5735280,5735304,5735327,5735338,5735368,5735389,5735425,5735448,5735457,5735473,5735494,5735506,5727047,5727049,5727067,5727077,5727078,5727081,5727083,5727087,5727091,5727098,5727099,5727100,5727101,5727102],0, 0, '', 'gallery_324255.html',0,0);
				  					galleries[324401] = new gallery(324401,'','Croyde, North Devon','gallery',[],0, 0, '', 'gallery_324401.html',0,0);
				  					galleries[326094] = new gallery(326094,'5755767,5755763,5755761,5755760,5755757,5755756,5755754,5755753,5755752,5755750,5755714,5755658,5755656','Wedding 3rd April 2010 ','gallery',[5755656,5755658,5755714,5755750,5755752,5755753,5755754,5755756,5755757,5755760,5755761,5755763,5755767],0, 0, '', 'gallery_326094.html',0,0);
/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = new Object();
imageSets[1] = '5755767,5755763,5755761,5755760,5755757,5755756,5755754,5755753,5755752,5755750,5755714,5755658,5755656,5735506,5735494,5735473,5735457,5735448,5735425,5735389,5735368,5735338,5735327,5735304,5735280,5735277,5735261,5735257,5735249,5735246,5735242,5735238,5735163,5735133,5735113,5735104,5735069,5735050,5735040,5735030,5727102,5727101,5727100,5727099,5727098,5727091,5727087,5727083,5727081,5727078';
imageSets[2] = '5755767,5755763,5755761,5755760,5755757,5755756,5755754,5755753,5755752,5755750,5755714,5755658,5755656,5735506,5735494,5735473,5735457,5735448,5735425,5735389,5735368,5735338,5735327,5735304,5735280,5735277,5735261,5735257,5735249,5735246,5735242,5735238,5735163,5735133,5735113,5735104,5735069,5735050,5735040,5735030,5727102,5727101,5727100,5727099,5727098,5727091,5727087,5727083,5727081,5727078,5727077,5727067,5727049,5727047,5727037,5726101,5726096,5726079,5726071,5726056,5726054,5726047,5726043,5726020,5726018,5726012,5726007,5726005,5725992,5725990,5725977,5725975,5725971,5725964,5725957,5725954,5725896,5725390,5725387,5725355,5725354,5725353,5725346,5725343,5725335,5725330,5725320,5725302,5725294,1689613,1689589,1689584,1689582,1689580,1689578,1689577,1689576,1689545,1689542,1689512,1681421,1535818,1535810,1535803,1535782,1535661,1535593,1535591,1535587,1535561,1535557,1535539,1535527,1535520,1176551,1176537,1176530,1176510,1176505,1176491,1176458,1176457,1176454,1176452,1176448,1176445,1063423,1063420,1063415,1063406,1063402,1063393,1063388,1063387,1063382,1063373,1061509,1061507,1061501,1061500,1061494,1061492,1061491,1061485,1061483,1061482,1061475,1060608,1060499,1060446,1060309,1060228,1060221,1060208';
imageSets[3] = '5755767,5755763,5755761,5755760,5755757,5755756,5755754,5755753,5755752,5755750,5755714,5755658,5755656,5735506,5735494,5735473,5735457,5735448,5735425,5735389,5735368,5735338,5735327,5735304,5735280,5735277,5735261,5735257,5735249,5735246,5735242,5735238,5735163,5735133,5735113,5735104,5735069,5735050,5735040,5735030,5727102,5727101,5727100,5727099,5727098,5727091,5727087,5727083,5727081,5727078';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/lerollandth/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/lerollandth/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/lerollandth/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/lerollandth/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/lerollandth/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/lerollandth/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/lerollandth/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/lerollandth/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/lerollandth/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/lerollandth/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/lerollandth/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/lerollandth/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/lerollandth/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/lerollandth/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/lerollandth/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://admin2.clikpic.com/lerollandth/images';
		break;
	}
		switch (server_id) {
		case 33:
		val = 'http://www8.clikpic.com/lerollandth/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/lerollandth/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/lerollandth/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/lerollandth/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/lerollandth/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/lerollandth/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 = 'thibaultlerollandphotographer: ' + photoCaption;
			    }
        if (op.$detail.length > 0) {
      temp = op.nextPhoto.fnGetImageDetails();
	    op.$detail.fadeGalleryDetails(temp, op.speed, function(){
	    var options = {};	    	      	      resizePhotoInfo(options);
        if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
  	      toggleAddToCartConfirm(backgrounds);
  	    } else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
  	      toggleAddToCartConfirm(photos);
  	    }
	    });
    }
        if (!op.speed) {      clik.doColumnResize(false, op.$photo.add(op.$detail).add(op.$title));      $('body').trigger('clikUpdate');    }        
    return html;			}
	else {
				
		window.location = 'photo_' + nextPhoto.id + '.html';
	}
		
}

/***************************************************************************
* Toggle add to cart confirmation element and set up the click event for   *
* the 'Add to cart' button.                                                *
***************************************************************************/
function toggleAddToCartConfirm(array){
  if (typeof(array) !== 'object' || array == undefined) {
    array = photos;
  }
	if($('#paymentConfirm').length > 0){
		$('#paymentConfirm').hide();
		$('#paymentAddButton')
		.unbind()
		.click(function(){
						form = document.getElementById('paymentForm');
			option_id = 0;
			if(form.item_option.value){
				option_id = form.item_option.value;
			}
			if(addItemToBasket(form.item_number.value,array,form.site.value,parseInt(form.quantity.value, 10),option_id)){
				if($.browser.msie){$('#paymentConfirm').text('Item added to cart').show();}
				else{
					$('#paymentConfirm').text('Item added to cart').fadeIn();
					dspOrderDetails(form.site.value);
				}
			}
			else{
				$('#paymentConfirm').text('Item not added - check cookies are enabled in your browser.').fadeIn();
			}
		});
	}
}
/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
photo.prototype.fnGetImageDetails = function(){
	var temp = '';
	if (this.description != '') {
		temp = temp +  '<p id="imageDescription">' + this.description + '</p>';
	}
		if (this.photo_ref != '') {
		temp = temp + '<p class="imageinfo" id="imageRef"><strong>Ref: </strong>' + this.photo_ref + '</p>';
	}
		if (this.takendate != '') {
				
		temp = temp + '<p class="imageinfo" id="imageDate"><strong>Date: </strong>' + this.takendate + '</p>';
	}
	
	if (this.location != '') {
				
		temp = temp + '<p class="imageinfo" id="imageLocation"><strong>Location: </strong>' +  this.location + '</p>';
	}
	
	if (this.photographer != '') {
				
		temp = temp + '<p class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>' + this.photographer + '</p>';
	}
					
				if (temp != '') {
		temp = temp + '<div class="spacer"></div>';
	}
	return temp;
};

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
photo.prototype.fnGetPaymentInfo = function(){
	var temp = '';
	if (this.item_price !== '') {
				temp = temp + '<p>Order this print:</p>';
				temp = temp + '<p class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> ' + (this.item_price).toFixed(2) + '</p>';
		var item_name  = this.purchase_instruction;
		var amount = (this.item_price).toFixed(2);
		var item_option  = 0;
	}
	else if (this.payment_groups_id !== '') {
		temp = temp + '<p>Buy this print online:</p>';
				temp = temp + '<form id="paymentOptions" style="margin:0px;border:0px;" name="paymentOptions">';
											temp = temp + '<select class="paymentlink" name="payment_options_id" onchange="updateItemValues(document.forms.paymentForm,this.form.payment_options_id.options[this.form.payment_options_id.options.selectedIndex].value);">';
				
		temp = temp + getPaymentOptions(this.payment_groups_id);
		temp = temp + '</select>';
		temp = temp + '</form>';
				var item_option  = paymentGroups[this.payment_groups_id].options[0];
		if(paymentOptions[item_option]){
			var item_name  = paymentOptions[item_option].payment_option;
			var amount =  paymentOptions[item_option].price;
		}
			}
	else {
				
	}
	if (this.item_price !== '' || this.payment_groups_id !== '') {
			temp = temp + '<div class="clearing">&nbsp;</div>';
	}
	return temp;};

/***************************************************************************
* Pick a photo at random from the featured images of a gallery.            *
* Gallery_id = id of gallery to choose,                                    *
* img = reference to html image in                                         *
* which to show image                                                      *
***************************************************************************/
function showGalleryImage(gallery_id, img, updateLink) {
		
	if(img){
	      if (location.hash.match('galleries_id=' + gallery_id) && (imageID = location.hash.match('.*photos_id=(.+)$'))) {
        imageID = imageID[1];
      } else {
			  imageID = randomListVal(galleries[gallery_id].featured_images);
      }
							
			if (imageID != 0) {
				img.src = thumbnails[imageID].src;
				img.width = thumbnails[imageID].width;
				img.height = thumbnails[imageID].height;
				img.alt = galleries[gallery_id].title;
        if (updateLink) {
          $(img).parent().attr({            href: thumbnails[imageID].fnGalleryLink(gallery_id),            title: galleries[gallery_id].title          });
        }
							}
										}
}

/***************************************************************************
* If we have dynamic HTML, replace the galleries link with a list that     *
* doesn't include thecurrent gallery                                       *
***************************************************************************/
function showGalleries(gallery_id) {
		
	
	if (!basic) {
		temp = '';
		for (i = 0; i < galleries.length; i++) {
						
			
			if (galleries[i].id != gallery_id) {
								
				if (temp != '') {
					temp = temp + ' | ';
				}
				temp = temp + '<a href="' + galleries[i].section_code + '_' + galleries[i].id + '.html">' + galleries[i].title + '</a>';
			}
		}
		document.all.galleryLinks.innerHTML = 'Other galleries: ' + temp;
	}
}

			

