function thumbnail(g,e,b,f,d,a,c){this.id=g;this.galleries_id=e;this.caption=b;this.src=getServerPath(c)+"/"+f;this.width=d;this.height=a}function gallery(e,c,d,b,a){this.id=e;this.featured_images=c;this.title=d;this.section_code=b;this.photoIDs=a}var thumbnails=new Object();thumbnails[1060499]=new thumbnail(1060499,"78423","Buddha in Battersea","DSC000451.jpg",130,194,18);thumbnails[1060608]=new thumbnail(1060608,"78423","Statue of Queen Victoria next to Buckingham Palace","DSC000631.jpg",130,87,18);thumbnails[1061494]=new thumbnail(1061494,"78423","Statue of Horse Guards Parade in London","DSC001151.jpg",130,87,18);thumbnails[1061500]=new thumbnail(1061500,"78423","Statue of Horse Guards Parade in London 2","DSC001163.jpg",130,87,18);thumbnails[1061501]=new thumbnail(1061501,"78423","Statue of Horse Guards Parade in London 3","DSC001171.jpg",130,87,18);thumbnails[1060446]=new thumbnail(1060446,"78423","Big Ben In London","DSC000301.jpg",130,87,18);thumbnails[1061491]=new thumbnail(1061491,"78423","Tower Bridge in London","DSC001081.jpg",130,87,18);thumbnails[1061492]=new thumbnail(1061492,"78423","Tower Bridge In London 2","DSC001101.jpg",130,87,18);thumbnails[1060221]=new thumbnail(1060221,"78423","Parliament in London","DSC000081.jpg",130,87,18);thumbnails[1061475]=new thumbnail(1061475,"78429","Church in Inverness","DSC000771.jpg",130,87,18);thumbnails[1063415]=new thumbnail(1063415,"78429","Nature","DSC002491.jpg",130,87,18);thumbnails[1060449]=new thumbnail(1060449,"78429","Inverness","DSC000411.jpg",130,87,18);thumbnails[1063388]=new thumbnail(1063388,"78429","Loch Lochy 1","DSC001791.jpg",130,87,18);thumbnails[1063393]=new thumbnail(1063393,"78429","Loch Lochy 2","DSC001811.jpg",130,87,18);thumbnails[1063382]=new thumbnail(1063382,"78429","Loch Ness 1","DSC001621.jpg",130,87,18);thumbnails[1063387]=new thumbnail(1063387,"78429","Loch Ness 2","DSC001701.jpg",130,87,18);thumbnails[1063420]=new thumbnail(1063420,"78691","Royal Albert Hall in London","DSC011811.jpg",130,87,18);thumbnails[1061482]=new thumbnail(1061482,"78691","Architecture 1","DSC001021.jpg",130,87,18);thumbnails[1061483]=new thumbnail(1061483,"78691","Architecture 2","DSC001051.jpg",130,194,18);thumbnails[1061485]=new thumbnail(1061485,"78691","Architecture 3","DSC001061.jpg",130,87,18);thumbnails[1063423]=new thumbnail(1063423,"78691","Channel 4 office in london","DSC000032.jpg",130,87,18);thumbnails[1063373]=new thumbnail(1063373,"78691","Architecture 4","DSC001431.jpg",130,87,18);thumbnails[1060309]=new thumbnail(1060309,"78691","Building in London","DSC000281.jpg",130,194,18);thumbnails[1689545]=new thumbnail(1689545,"113305","Lily 4","DSC00034_thumb.JPG",130,87,18);thumbnails[1689578]=new thumbnail(1689578,"113305","Lily 7","DSC00065_thumb.JPG",130,87,18);thumbnails[1176445]=new thumbnail(1176445,"78690","Aurelie and Imran, Wedding 140707 in France","DSC001251.jpg",130,194,18);thumbnails[1176448]=new thumbnail(1176448,"78690","A new Happy couple","DSC001311.jpg",130,87,18);thumbnails[1176452]=new thumbnail(1176452,"78690","Bless the bride","DSC001381.jpg",130,87,18);thumbnails[1176454]=new thumbnail(1176454,"78690","The Newlyweds","DSC001451.jpg",130,194,18);thumbnails[1176457]=new thumbnail(1176457,"78690","The groom's father is very happy","DSC002011.jpg",130,87,18);thumbnails[1176458]=new thumbnail(1176458,"78690","The bride's mom is very happy too","DSC002041.jpg",130,87,18);thumbnails[1176491]=new thumbnail(1176491,"78690","the Newlyweds' Parents","DSC002061.jpg",130,87,18);thumbnails[1176505]=new thumbnail(1176505,"78690","Bride : always happy, always smile. Thank you for that Aurelie","DSC002111.jpg",130,87,18);thumbnails[1176510]=new thumbnail(1176510,"78690","The bride's witness","DSC002281.jpg",130,87,18);thumbnails[1176530]=new thumbnail(1176530,"78690","The PELICAN GROUP, Session 34","DSC002311.jpg",130,87,18);thumbnails[1176537]=new thumbnail(1176537,"78690","all witness","DSC002391.jpg",130,87,18);thumbnails[1176551]=new thumbnail(1176551,"78690","The newlyweds ","DSC002411.jpg",130,87,18);thumbnails[1535803]=new thumbnail(1535803,"105222","The Clock Tower at Nimes","DSC002341.jpg",130,194,18);thumbnails[1535810]=new thumbnail(1535810,"105222","The jardin de la fontaine at Nimes","DSC002641.jpg",130,87,18);thumbnails[1535520]=new thumbnail(1535520,"105222","The clock tower at Nimes","DSC000193.jpg",130,194,18);thumbnails[1535527]=new thumbnail(1535527,"105222","The Maison Carre in Nimes","DSC000251.jpg",130,87,18);thumbnails[1535539]=new thumbnail(1535539,"105222","The Maison Carre","DSC000431.jpg",130,87,18);thumbnails[1535557]=new thumbnail(1535557,"105222","The Maison Carre","DSC000501.jpg",130,87,18);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);thumbnails[1535587]=new thumbnail(1535587,"105222","The Pont du Gard","DSC001181.jpg",130,87,18);thumbnails[1535591]=new thumbnail(1535591,"105222","The Pont du Gard","DSC001741.jpg",130,194,18);thumbnails[1535593]=new thumbnail(1535593,"105222","The Pont du Gard","DSC001881.jpg",130,87,18);thumbnails[1535661]=new thumbnail(1535661,"105222","The Pont du Gard","DSC001911.jpg",130,87,18);thumbnails[1535782]=new thumbnail(1535782,"105222","The Pont du Gard","DSC002021.jpg",130,87,18);thumbnails[1681421]=new thumbnail(1681421,"78693","Young woman","DSC00026_thumb.JPG",130,87,18);thumbnails[1060228]=new thumbnail(1060228,"113308","Duck","DSC000191.jpg",130,87,18);thumbnails[1063402]=new thumbnail(1063402,"113308","Family of sheep in Scotland 1","DSC002211.jpg",130,87,18);thumbnails[1063406]=new thumbnail(1063406,"113308","Family of sheep in Scotland 2","DSC002221.jpg",130,87,18);thumbnails[1061509]=new thumbnail(1061509,"113308","Squirrel in London ( Park )","DSC001321.jpg",130,87,18);thumbnails[1061507]=new thumbnail(1061507,"113308","Horse guard In London","DSC001221.jpg",130,194,18);thumbnails[1689580]=new thumbnail(1689580,"113307","Flowers in Hampton Court Palace","DSC00111_thumb.JPG",130,87,18);thumbnails[1689582]=new thumbnail(1689582,"113307","Flowers in Hampton Court Palace 2","DSC00113_thumb.JPG",130,87,18);thumbnails[1689584]=new thumbnail(1689584,"113307","Flowers in Hampton Court Palace 3","DSC00115_1_thumb.JPG",130,87,18);thumbnails[1689589]=new thumbnail(1689589,"113307","Flowers in Hampton Court Palace 3","DSC00217_thumb.JPG",130,87,18);thumbnails[1689613]=new thumbnail(1689613,"113307","Flowers in Hampton Court Palace 4","DSC00218_thumb.JPG",130,87,18);thumbnails[1689512]=new thumbnail(1689512,"113307","Lily 1","DSC00022_thumb.JPG",130,87,18);thumbnails[1689541]=new thumbnail(1689541,"113307","Lily 2","DSC00023_thumb.JPG",130,87,18);thumbnails[1689542]=new thumbnail(1689542,"113307","Lily 3 BandW","DSC000261_thumb.JPG",130,87,18);thumbnails[1689576]=new thumbnail(1689576,"113307","Lily 5","DSC00050_1_thumb.JPG",130,87,18);thumbnails[1689577]=new thumbnail(1689577,"113307","Lily 6","DSC00059_thumb.JPG",130,87,18);thumbnails[1535818]=new thumbnail(1535818,"113313","The Motorbike of BMW","DSC002791.jpg",130,87,18);thumbnails[1060208]=new thumbnail(1060208,"113313","Little Statue on the table.","DSC000041.jpg",130,87,18);thumbnails[3035422]=new thumbnail(3035422,"186578","SARAH 1","DSC00020_thumb.JPG",130,194,18);thumbnails[3035427]=new thumbnail(3035427,"186578","SARAH 2","DSC00021_thumb.JPG",130,87,18);thumbnails[3035435]=new thumbnail(3035435,"186578","SARAH 3","DSC00025_2_thumb.JPG",130,87,18);thumbnails[3035438]=new thumbnail(3035438,"186578","SARAH 4","DSC00029_thumb.JPG",130,194,18);thumbnails[3035440]=new thumbnail(3035440,"186578","SARAH 5","DSC00030_1_thumb.JPG",130,87,18);thumbnails[3035444]=new thumbnail(3035444,"186578","SARAH 6","DSC00031_thumb.JPG",130,87,18);thumbnails[3035446]=new thumbnail(3035446,"186578","SARAH 7","DSC000341_thumb.JPG",130,87,18);thumbnails[3035450]=new thumbnail(3035450,"186578","SARAH 8","DSC00035_thumb.JPG",130,87,18);thumbnails[3035453]=new thumbnail(3035453,"186578","SARAH 9","DSC00036_thumb.JPG",130,87,18);thumbnails[3035459]=new thumbnail(3035459,"186578","SARAH 10","DSC00039_thumb.JPG",130,87,18);thumbnails[3035462]=new thumbnail(3035462,"186578","SARAH 11","DSC00041_1_thumb.JPG",130,87,18);thumbnails[3035464]=new thumbnail(3035464,"186578","SARAH 12","DSC000591_thumb.JPG",130,87,18);thumbnails[5726012]=new thumbnail(5726012,"242256","Ballymahon city, Ireland","DSC00410_thumb.JPG",130,87,18);thumbnails[5726018]=new thumbnail(5726018,"242256","Ballymahon city, Ireland","DSC00411_thumb.JPG",130,87,18);thumbnails[5726020]=new thumbnail(5726020,"242256","ballymahon city, Ireland","DSC00413_thumb.JPG",130,87,18);thumbnails[5726043]=new thumbnail(5726043,"242256","Belfast Castle","DSC00482_thumb.JPG",130,87,18);thumbnails[5726047]=new thumbnail(5726047,"242256","Belfast Castle","DSC00485_thumb.jpg",130,87,18);thumbnails[5726054]=new thumbnail(5726054,"242256","Belfast Castle and the park","DSC00488_thumb.JPG",130,194,18);thumbnails[5726056]=new thumbnail(5726056,"242256","Belfast Castle","DSC00494_thumb.JPG",130,87,18);thumbnails[5726071]=new thumbnail(5726071,"242256","Belfast Castle, tha garden terrace","DSC00499_thumb.JPG",130,87,18);thumbnails[5726079]=new thumbnail(5726079,"242256","Belfast Castle, the garden terrace","DSC00508_thumb.JPG",130,87,18);thumbnails[5726096]=new thumbnail(5726096,"242256","Belfast Castle","DSC00510_thumb.JPG",130,87,18);thumbnails[5726101]=new thumbnail(5726101,"242256","Belfast Castle","DSC00542_thumb.JPG",130,87,18);thumbnails[5725896]=new thumbnail(5725896,"242256","Week end Ireland 08 to 10 05 2009.","DSC00216_thumb.jpg",130,87,18);thumbnails[5725954]=new thumbnail(5725954,"242256","Seaside in west of ireland ( Galway )","DSC00244_thumb.JPG",130,87,18);thumbnails[5725957]=new thumbnail(5725957,"242256","Seaside","DSC00272_thumb.JPG",130,87,18);thumbnails[5725964]=new thumbnail(5725964,"242256","Seaside","DSC00281_thumb.JPG",130,87,18);thumbnails[5725971]=new thumbnail(5725971,"242256","Ireland","DSC00292_thumb.JPG",130,87,18);thumbnails[5725975]=new thumbnail(5725975,"242256","Ireland","DSC00293_thumb.JPG",130,87,18);thumbnails[5725977]=new thumbnail(5725977,"242256","Ireland","DSC00298_thumb.JPG",130,87,18);thumbnails[5725990]=new thumbnail(5725990,"242256","Connemara is on the west coast of Ireland, Galway","DSC00315_thumb.JPG",130,87,18);thumbnails[5725992]=new thumbnail(5725992,"242256","Connemara is on the west coast of Ireland, Galway","DSC00323_thumb.JPG",130,87,18);thumbnails[5726005]=new thumbnail(5726005,"242256","Connemara is on the west coast of Ireland, Galway","DSC00327_thumb.JPG",130,87,18);thumbnails[5726007]=new thumbnail(5726007,"242256","Connemara is on the west coast of Ireland, Galway","DSC00332_thumb.JPG",130,87,18);thumbnails[5725294]=new thumbnail(5725294,"242257","Durham","DSC00041_AF8B55E1-1D09-001F-99B1F41D8D6BAE95_thumb.jpg",130,87,18);thumbnails[5725302]=new thumbnail(5725302,"242257","Durham","DSC00046_thumb.jpg",130,87,18);thumbnails[5725320]=new thumbnail(5725320,"242257","Durham","DSC00080_thumb.jpg",130,87,18);thumbnails[5725330]=new thumbnail(5725330,"242257","Durham","DSC00100_thumb.jpg",130,87,18);thumbnails[5725335]=new thumbnail(5725335,"242257","Durham","DSC00153_thumb.jpg",130,87,18);thumbnails[5725343]=new thumbnail(5725343,"242257","Durham","DSC00118_AF941737-1D09-001F-99FE04F926544A09_thumb.jpg",130,87,18);thumbnails[5725346]=new thumbnail(5725346,"242257","Durham","DSC00130_thumb.jpg",130,194,18);thumbnails[5725353]=new thumbnail(5725353,"242257","Durham","DSC00134_thumb.jpg",130,87,18);thumbnails[5725354]=new thumbnail(5725354,"242257","Durham","DSC00136_thumb.jpg",130,87,18);thumbnails[5725355]=new thumbnail(5725355,"242257","Durham","DSC00152_thumb.jpg",130,194,18);thumbnails[5725387]=new thumbnail(5725387,"242257","Durham","DSC00169_thumb.jpg",130,87,18);thumbnails[5725390]=new thumbnail(5725390,"242257","Durham","DSC00171_thumb.jpg",130,87,18);thumbnails[5727037]=new thumbnail(5727037,"324255","Basse terre","DSC00628_thumb.JPG",130,87,18);thumbnails[5735030]=new thumbnail(5735030,"324255","House","DSC00409_thumb.JPG",130,87,18);thumbnails[5735040]=new thumbnail(5735040,"324255","House","DSC00415_thumb.JPG",130,87,18);thumbnails[5735050]=new thumbnail(5735050,"324255","House","DSC00426_thumb.JPG",130,87,18);thumbnails[5735069]=new thumbnail(5735069,"324255","Beach","DSC00434_thumb.JPG",130,87,18);thumbnails[5735104]=new thumbnail(5735104,"324255","Market","DSC00446_thumb.JPG",130,87,18);thumbnails[5735113]=new thumbnail(5735113,"324255","Resto","DSC00463_thumb.JPG",130,87,18);thumbnails[5735133]=new thumbnail(5735133,"324255","Commercial street","DSC00465_thumb.JPG",130,87,18);thumbnails[5735163]=new thumbnail(5735163,"324255","The cemetery in Morne-à-l'Eau<br>\r\n","DSC00483_thumb.JPG",130,87,18);thumbnails[5735238]=new thumbnail(5735238,"324255","The cemetery in Morne-à-l'Eau<br>\r\n","DSC00492_thumb.JPG",130,87,18);thumbnails[5735242]=new thumbnail(5735242,"324255","Seaside","DSC00501_thumb.JPG",130,87,18);thumbnails[5735246]=new thumbnail(5735246,"324255","The Slavesteps in Petit-Canal","DSC00524_thumb.JPG",130,194,18);thumbnails[5735249]=new thumbnail(5735249,"324255","Cemetery ( Rue de la Paix )","DSC00544_thumb.JPG",130,87,18);thumbnails[5735257]=new thumbnail(5735257,"324255","House","DSC00553_thumb.JPG",130,87,18);thumbnails[5735261]=new thumbnail(5735261,"324255","Church at Port-Louis","DSC00558_thumb.JPG",130,87,18);thumbnails[5735277]=new thumbnail(5735277,"324255","Market","DSC00022_BB1F55E1-1D09-001F-99E6C404BC812BC0_thumb.JPG",130,87,18);thumbnails[5735280]=new thumbnail(5735280,"324255","Market","DSC00027_thumb.JPG",130,87,18);thumbnails[5735304]=new thumbnail(5735304,"324255","St Anne Beach","DSC00040_thumb.JPG",130,87,18);thumbnails[5735327]=new thumbnail(5735327,"324255","Lagon de la porte d'enfer","DSC00080_BB3190B0-1D09-001F-99EC7870452B5029_thumb.JPG",130,87,18);thumbnails[5735338]=new thumbnail(5735338,"324255","Lagon de la porte d'enfer","DSC00110_BB372E20-1D09-001F-99FFADEF6070E7F2_thumb.JPG",130,87,18);thumbnails[5735368]=new thumbnail(5735368,"324255","Lagon de la porte d'enfer","DSC00137_thumb.JPG",130,87,18);thumbnails[5735389]=new thumbnail(5735389,"324255","Lagon de la porte d 'enfer","DSC00176_thumb.JPG",130,87,18);thumbnails[5735425]=new thumbnail(5735425,"324255","Sunset at Grande Vigie","DSC00346_thumb.JPG",130,87,18);thumbnails[5735448]=new thumbnail(5735448,"324255","Point de la Grande Vigie","DSC00316_thumb.JPG",130,87,18);thumbnails[5735457]=new thumbnail(5735457,"324255","Pointe du Capucin et Pointe du Piton","DSC00230_thumb.JPG",130,87,18);thumbnails[5735473]=new thumbnail(5735473,"324255","Grande Falaise","DSC00270_thumb.JPG",130,87,18);thumbnails[5735494]=new thumbnail(5735494,"324255","Le Piton et la Pointe du Piton","DSC00192_thumb.JPG",130,87,18);thumbnails[5735506]=new thumbnail(5735506,"324255","la Pointe du Piton","DSC00205_thumb.JPG",130,194,18);thumbnails[5727047]=new thumbnail(5727047,"324255","Sunrise at 6 am","DSC00319_thumb.JPG",130,87,18);thumbnails[5727049]=new thumbnail(5727049,"324255","Palm tree on the beach","DSC00347_thumb.JPG",130,194,18);thumbnails[5727067]=new thumbnail(5727067,"324255","Animation on the beach at 6.30 am","DSC00353_thumb.JPG",130,87,18);thumbnails[5727077]=new thumbnail(5727077,"324255","Nature","DSC00117_B141C998-1D09-001F-9960548C3263E3CD_thumb.JPG",130,87,18);thumbnails[5727078]=new thumbnail(5727078,"324255","Beach","DSC00129_thumb.JPG",130,87,18);thumbnails[5727081]=new thumbnail(5727081,"324255","Palm tree on the beach","DSC001341_thumb.JPG",130,194,18);thumbnails[5727083]=new thumbnail(5727083,"324255","Beach","DSC00165_thumb.JPG",130,194,18);thumbnails[5727087]=new thumbnail(5727087,"324255","Nice baby cow","DSC00188_B146D6A0-1D09-001F-999815A08AD48427_thumb.JPG",130,87,18);thumbnails[5727091]=new thumbnail(5727091,"324255","Palm tree in St Francois city","DSC00037_thumb.JPG",130,87,18);thumbnails[5727098]=new thumbnail(5727098,"324255","Marina of St Francois city","DSC00043_B14EFA4E-1D09-001F-9916A91CF3DF87AB_thumb.JPG",130,87,18);thumbnails[5727099]=new thumbnail(5727099,"324255","Tree","DSC00044_thumb.JPG",130,87,18);thumbnails[5727100]=new thumbnail(5727100,"324255","Pointe des chateaux","DSC00060_thumb.JPG",130,87,18);thumbnails[5727101]=new thumbnail(5727101,"324255","Point des chateaux","DSC00071_thumb.JPG",130,87,18);thumbnails[5727102]=new thumbnail(5727102,"324255","Point des chateaux","DSC00076_thumb.JPG",130,87,18);thumbnails[5755656]=new thumbnail(5755656,"326094","Maria and Ahmed ","DSC00100_D03D9F36-1D09-001F-9950BB8B7965A743_thumb.jpg",130,87,18);thumbnails[5755658]=new thumbnail(5755658,"326094","Maria and Ahmed","DSC00207_thumb.jpg",130,87,18);thumbnails[5755714]=new thumbnail(5755714,"326094","Maria and Ahmed","DSC00308_thumb.jpg",130,87,18);thumbnails[5755750]=new thumbnail(5755750,"326094","Maria and Ahmed","DSC00313_thumb.jpg",130,87,18);thumbnails[5755752]=new thumbnail(5755752,"326094","Maria and Ahmed","DSC00359_thumb.jpg",130,87,18);thumbnails[5755753]=new thumbnail(5755753,"326094","Maria and Ahmed","DSC00369_thumb.jpg",130,87,18);thumbnails[5755754]=new thumbnail(5755754,"326094","Maria and Ahmed","DSC00384_thumb.jpg",130,194,18);thumbnails[5755756]=new thumbnail(5755756,"326094","Maria and Ahmed","DSC00386_thumb.jpg",130,87,18);thumbnails[5755757]=new thumbnail(5755757,"326094","Maria and Ahmed","DSC00406_thumb.jpg",130,87,18);thumbnails[5755760]=new thumbnail(5755760,"326094","Maria and Ahmed","DSC00471_thumb.jpg",130,87,18);thumbnails[5755761]=new thumbnail(5755761,"326094","Maria and Ahmed","DSC00496_thumb.jpg",130,87,18);thumbnails[5755763]=new thumbnail(5755763,"326094","Maria and Ahmed","DSC00825_thumb.jpg",130,87,18);thumbnails[5755767]=new thumbnail(5755767,"326094","Maria and Ahmed","DSC00974_thumb.jpg",130,194,18);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]);galleries[78429]=new gallery(78429,"1063415,1063393,1063388,1063387,1063382,1061475","SCOTLAND","gallery",[1061475,1063415,1060449,1063388,1063393,1063382,1063387]);galleries[78691]=new gallery(78691,"1063423,1063420,1063373,1061485,1061483,1061482,1060309","Architecture","gallery",[1063420,1061482,1061483,1061485,1063423,1063373,1060309]);galleries[113305]=new gallery(113305,"1689578,1689545","Macro","gallery",[1689545,1689578]);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]);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]);galleries[78693]=new gallery(78693,"1681421","People","gallery",[1681421]);galleries[113308]=new gallery(113308,"1063406,1063402,1061509,1061507,1060228","Animals","gallery",[1060228,1063402,1063406,1061509,1061507]);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]);galleries[113313]=new gallery(113313,"1535818,1060208","Objects","gallery",[1535818,1060208]);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]);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]);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]);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]);galleries[324401]=new gallery(324401,"","Croyde, North Devon","gallery",[]);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]);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";function randomListVal(a){arrayVals=a.split(",");if(arrayVals.length){pos=Math.round(Math.random()*(arrayVals.length-1));val=arrayVals[pos]}else{val=0}return val}function getServerPath(a){var b=-1;switch(a){case 21:b="http://www6.clikpic.com/lerollandth/images";break}switch(a){case 1:b="http://www1.clikpic.com/lerollandth/images";break}switch(a){case 2:b="http://admin.clikpic.com/lerollandth/images";break}switch(a){case 24:b="http://tpc15/clikpic/lerollandth/images";break}switch(a){case 4:b="http://www.clikchurch.com/lerollandth/images";break}switch(a){case 5:b="http://www2.clikpic.com/lerollandth/images";break}switch(a){case 22:b="http://tpc5/clikpic/lerollandth/images";break}switch(a){case 23:b="http://tpc10/clikpic/lerollandth/images";break}switch(a){case 25:b="http://tpc16/clikpic/lerollandth/images";break}switch(a){case 15:b="http://www3.clikpic.com/lerollandth/images";break}switch(a){case 18:b="http://www4.clikpic.com/lerollandth/images";break}switch(a){case 19:b="http://www5.clikpic.com/lerollandth/images";break}switch(a){case 31:b="http://www7.clikpic.com/lerollandth/images";break}switch(a){case 32:b="http://admin2.clikpic.com/lerollandth/images";break}switch(a){case 33:b="http://www8.clikpic.com/lerollandth/images";break}switch(a){case 34:b="http://www9.clikpic.com/lerollandth/images";break}switch(a){case 35:b="http://admin3.clikpic.com/lerollandth/images";break}switch(a){case 37:b="http://admin4.clikpic.com/lerollandth/images";break}return b}function showHomeImage(a){imageID=randomListVal("");if(!basic){a.src=photos[imageID].src;a.width=photos[imageID].width;a.height=photos[imageID].height}else{newImage=new Image(photos[imageID].width,photos[imageID].height);newImage.src=photos[imageID].src;document.images[a.name]=newImage}}function showHomeImageInline(){html="";imageID=randomListVal(imageSets[1]);if("gallery"!=""){if(backgrounds[imageID].galleries_id!=""){html+='<a href="'+backgrounds[imageID].section_code+"_"+backgrounds[imageID].galleries_id+'.html">'}else{html+='<a href="gallery.html">'}}html+='<img src="'+backgrounds[imageID].src+'" width="'+backgrounds[imageID].width+'" height="'+backgrounds[imageID].height+'" class="mainhomepageimage photo" id="mainSample" name="mainSample" alt="'+backgrounds[imageID].caption+'" border="0">';if("gallery"!=""){html+="</a>"}$("#homepageimage").html(html)}function getNextId(b,d,a){var c=getArrayPos(d,b);if(a){if(c==0){nextImgPos=d.length-1}else{nextImgPos=c-1}}else{if(c==d.length-1){nextImgPos=0}else{nextImgPos=c+1}}nextImg=d[nextImgPos];return nextImg}function next(d,b){var c=d.value;var a=galleries[photos[c].galleries_id].photoIDs;nextImg=getNextId(c,a);if(nextImg!=-1){updateImage(nextImg,d,b)}}function updateImage(f,e,b){if(!basic){document.getElementById("imagePhoto").innerHTML='<img class="mainphoto photo" src="'+photos[f].src+' " id="mainPic" name="mainPic" width="'+photos[f].width+'" height="'+photos[f].height+'" alt="'+photos[f].caption+'">';e.value=photos[f].id;$("#imageTitle").html(photos[f].caption);document.title="thibaultlerollandphotographer: "+photos[f].caption;if(photos[f].caption==""){document.getElementById("imageTitle").style.display="none"}else{document.getElementById("imageTitle").style.display="block"}var a=fnGetImageDetails(f);if(a==""){document.getElementById("imageDetails").style.display="none";var c=document.getElementById("infoWrap");var d=document.getElementById("photoInfo");if(photos[f].caption==""){if(c!=null){c.className="empty"}if(d!=null){d.className="empty"}}else{if(c!=null){c.className="noinfo"}if(d!=null){d.className="noinfo"}}}else{document.getElementById("imageDetails").style.display="block";var c=document.getElementById("infoWrap");if(c!=null){c.className="normal"}var d=document.getElementById("photoInfo");if(d!=null){d.className="normal"}}document.getElementById("imageDetails").innerHTML=a;toggleAddToCartConfirm()}else{window.location="photo_"+photos[f].id+".html"}}function toggleAddToCartConfirm(){if($("#paymentConfirm").size()){$("#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,photos,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()}}else{$("#paymentConfirm").text("Item not added - check cookies are enabled in your browser.").fadeIn()}})}}function fnGetImageDetails(b){var a="";if(photos[b].description!=""){a=a+'<p id="imageDescription">'+photos[b].description+"</p>"}if(photos[b].photo_ref!=""){a=a+'<p class="imageinfo" id="imageRef"><strong>Ref: </strong>'+photos[b].photo_ref+"</p>"}if(photos[b].takendate!=""){a=a+'<p class="imageinfo" id="imageDate"><strong>Date: </strong>'+photos[b].takendate+"</p>"}if(photos[b].location!=""){a=a+'<p class="imageinfo" id="imageLocation"><strong>Location: </strong>'+photos[b].location+"</p>"}if(photos[b].photographer!=""){a=a+'<p class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>'+photos[b].photographer+"</p>"}if(a!=""){a=a+'<div class="spacer"></div>'}return a}function fnGetPaymentInfo(c){var b="";if(c.item_price!==""){b=b+"<p>Order this print:</p>";b=b+'<p class="imageinfo" id="imagePrice"><strong>'+c.purchase_instruction+"</strong> 							"+(c.item_price).toFixed(2)+"</p>";var e=c.purchase_instruction;var d=(c.item_price).toFixed(2);var a=0}else{if(c.payment_groups_id!==""){b=b+"<p>Buy this print online:</p>";b=b+'<form id="paymentOptions" style="margin:0px;border:0px;" name="paymentOptions">';b=b+'<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);">';b=b+getPaymentOptions(c.payment_groups_id);b=b+"</select>";b=b+"</form>";var a=paymentGroups[c.payment_groups_id].options[0];if(paymentOptions[a]){var e=paymentOptions[a].payment_option;var d=paymentOptions[a].price}}else{}}if(c.item_price!==""||c.payment_groups_id!==""){b=b+'<div class="clearing">&nbsp;</div>'}return b}function previous(d,b){var c=d.value;var a=galleries[photos[c].galleries_id].photoIDs;nextImg=getNextId(c,a,1);if(nextImg!=-1){updateImage(nextImg,d,b)}}function showGalleryImage(c,b){imageID=randomListVal(galleries[c].featured_images);if(imageID!=0){b.src=thumbnails[imageID].src;b.width=thumbnails[imageID].width;b.height=thumbnails[imageID].height;if(b.width<130){var f=$("img#gallery"+c);f.parents(".thumbWrap").width(b.width);var a=f.siblings("h3").size()==1?f.siblings("h3"):f.parent(".thumbWrap").siblings("h3");var g=parseInt(a.css("padding-left"))+parseInt(a.css("padding-right"));var d=parseInt(a.css("border-left-width"))+parseInt(a.css("border-right-width"));var e=parseInt(f.parents(".thumbWrap").css("border-left-width"))+parseInt(f.parents(".thumbWrap").css("border-right-width"));a.width(f.outerWidth(true)-g-d+e)}}}function showGalleries(a){if(!basic){temp="";for(i=0;i<galleries.length;i++){if(galleries[i].id!=a){if(temp!=""){temp=temp+" | "}temp=temp+'<a href="gallery_'+galleries[i].id+'.html">'+galleries[i].title+"</a>"}}document.all.galleryLinks.innerHTML="Other galleries: "+temp}}function resizePhotoInfo(n){var b=$.extend({centre:false},n||{});var d=3;$("div#photoPanelOuter").height("auto");$("div#infoWrap").width(200);$("div#photoDetail").css("width","auto");var h=$("div#maincolContent").width();var j=$("div#photoWrap").outerWidth(true);var m=$("div#infoWrap").outerWidth(true);var k=$("div#photoWrap").outerHeight();var f=$("div#infoWrap").outerHeight();var c=$("div#infoWrap").hasClass("empty");floatDrop=0;var g=j;if(!c){if(h<(j+m)){floatDrop=1}if(!floatDrop){var a=$("div#infoWrap").innerWidth();$("div#infoWrap").width(a+(h-j-m-d));m=$("div#infoWrap").outerWidth(true);g=j+m;if(k>f){var e=$("div#photoPanelOuter").height();$("div#photoPanelOuter").height(e+(k-f));var f=$("div#infoWrap").outerHeight()}}else{var l=$("div#photoWrap").outerWidth();$("div#infoWrap").width(l)}}if(b.centre){$("div#photoDetail").width(g);$("div#photoDetail").css("margin-left","auto");$("div#photoDetail").css("margin-right","auto")}else{$("div#photoDetail").css("margin-left","0");$("div#photoDetail").css("margin-right","0")}}function getArrayPos(c,b){for(var a=0;a<c.length;a++){if(c[a]==b){return a}}return -1}function changeBgImg(a,e){var c=randomListVal(imageSets[e]);var d=backgrounds[c].src;var b=$(a);if(b.size()>0){if(/\bimg$/.test(a)){b.attr({src:d})}else{b.css({"background-image":'url("'+d+'")'})}}};