window.thumbnails = new Object();
												thumbnails[3634557] = new thumbnail(3634557,'','Brothers','1IMG_9638bwcr1_thumb.jpg',130, 169,18,'							photo_3634557.html');
												thumbnails[332561] = new thumbnail(332561,'','Royal Troubadours','IMG_4417JPG_thumb.jpg',130, 195,18,'							photo_332561.html');
												thumbnails[230721] = new thumbnail(230721,'','parrot tulip','IMG_2621JPG_thumb.jpg',130, 195,18,'							photo_230721.html');
												thumbnails[230703] = new thumbnail(230703,'','blossom IV','IMG_2438JPG_thumb.jpg',130, 195,18,'							photo_230703.html');
												thumbnails[230717] = new thumbnail(230717,'','tulip','IMG_1887JPG_thumb.jpg',130, 87,18,'							photo_230717.html');
												thumbnails[134268] = new thumbnail(134268,'','Beautiful day ','IMG_1447JPG_thumb.jpg',130, 195,18,'							photo_134268.html');
												thumbnails[143088] = new thumbnail(143088,'','panorama of Mont Blanc','IMG_1433_thumb.jpg',130, 54,18,'							photo_143088.html');
												thumbnails[101307] = new thumbnail(101307,'','ivy','IMG_0687JPG_thumb.jpg',130, 87,18,'							photo_101307.html');
												thumbnails[89273] = new thumbnail(89273,'','morning dew','021105040JPG_thumb.jpg',130, 195,18,'							photo_89273.html');
												thumbnails[85824] = new thumbnail(85824,'','bewilderment','IMG_0190JPG_thumb.jpg',130, 195,18,'							photo_85824.html');
												thumbnails[74504] = new thumbnail(74504,'','The Thames Festival 2005, Night Carnival','IMG_9439JPG_thumb.jpg',130, 87,18,'							photo_74504.html');
												thumbnails[74529] = new thumbnail(74529,'','The Thames Festival 2005, Night Carnival','IMG_9288JPG_thumb.jpg',130, 195,18,'							photo_74529.html');
												thumbnails[105930] = new thumbnail(105930,'','Thames Festival, Night Carnival','IMG_9175_thumb.jpg',130, 195,18,'							photo_105930.html');
												thumbnails[73824] = new thumbnail(73824,'','Water lily','IMG_7953cpJPG_thumb.jpg',130, 87,18,'							photo_73824.html');
												thumbnails[73834] = new thumbnail(73834,'','Carving','IMG_5289bwsepcp001_thumb.jpg',130, 195,18,'							photo_73834.html');
												thumbnails[74514] = new thumbnail(74514,'','Jagged edge','IMG_7514aJPG_thumb.jpg',130, 223,18,'							photo_74514.html');
												thumbnails[108100] = new thumbnail(108100,'','sunset in monochrome','IMG_7264JPG_thumb.jpg',130, 75,18,'							photo_108100.html');
												thumbnails[87105] = new thumbnail(87105,'','Carved wood','IMG_6927aJPG_thumb.jpg',130, 195,18,'							photo_87105.html');
												thumbnails[73814] = new thumbnail(73814,'','Spring flower','IMG_5019JPG_thumb.jpg',130, 195,18,'							photo_73814.html');
												thumbnails[73816] = new thumbnail(73816,'','Miniature daffodil','IMG_5027cpJPG_thumb.jpg',130, 87,18,'							photo_73816.html');
												thumbnails[3077247] = new thumbnail(3077247,'','Maruska','IMG_108401_thumb.jpg',130, 178,18,'							photo_3077247.html');
												thumbnails[343867] = new thumbnail(343867,'','Ox Eye Daisies','IMG_5841JPG_thumb.jpg',130, 195,18,'							photo_343867.html');
												thumbnails[332180] = new thumbnail(332180,'','International Ascot','IMG_4139JPG_thumb.jpg',130, 87,18,'							photo_332180.html');
												thumbnails[332188] = new thumbnail(332188,'','The new stand','IMG_4273JPG_thumb.jpg',130, 192,18,'							photo_332188.html');
												thumbnails[85823] = new thumbnail(85823,'','afternoon in Trafalgar Square','IMG_0223JPG_thumb.jpg',130, 195,18,'							photo_85823.html');
												thumbnails[3618893] = new thumbnail(3618893,'','001IMG 9299','001IMG_9299_thumb.jpg',130, 195,18,'							photo_3618893.html');
												thumbnails[3618902] = new thumbnail(3618902,'','006IMG 9305','006IMG_9305_thumb.jpg',130, 87,18,'							photo_3618902.html');
												thumbnails[3618908] = new thumbnail(3618908,'','011IMG 9315','011IMG_9315_thumb.jpg',130, 195,18,'							photo_3618908.html');
												thumbnails[3618915] = new thumbnail(3618915,'','016IMG 9321','016IMG_9321_thumb.jpg',130, 195,18,'							photo_3618915.html');
												thumbnails[3618923] = new thumbnail(3618923,'','021IMG 9326','021IMG_9326_thumb.jpg',130, 195,18,'							photo_3618923.html');
												thumbnails[3618930] = new thumbnail(3618930,'','026IMG 9332','026IMG_9332_thumb.jpg',130, 195,18,'							photo_3618930.html');
												thumbnails[3618942] = new thumbnail(3618942,'','031IMG 9341','031IMG_9341_thumb.jpg',130, 195,18,'							photo_3618942.html');
												thumbnails[3618955] = new thumbnail(3618955,'','036IMG 9346','036IMG_9346_thumb.jpg',130, 195,18,'							photo_3618955.html');
												thumbnails[3618966] = new thumbnail(3618966,'','041IMG 9355','041IMG_9355_thumb.jpg',130, 195,18,'							photo_3618966.html');
												thumbnails[3618981] = new thumbnail(3618981,'','046IMG 9365','046IMG_9365_thumb.jpg',130, 195,18,'							photo_3618981.html');
												thumbnails[3618989] = new thumbnail(3618989,'','055IMG 9374','055IMG_9374_thumb.jpg',130, 195,18,'							photo_3618989.html');
												thumbnails[3619001] = new thumbnail(3619001,'','061IMG 9385','061IMG_9385_thumb.jpg',130, 195,18,'							photo_3619001.html');
												thumbnails[3619006] = new thumbnail(3619006,'','068IMG 9392','068IMG_9392_thumb.jpg',130, 195,18,'							photo_3619006.html');
												thumbnails[3619012] = new thumbnail(3619012,'','076IMG 9404','076IMG_9404_thumb.jpg',130, 87,18,'							photo_3619012.html');
												thumbnails[3619017] = new thumbnail(3619017,'','082IMG 9412','082IMG_9412_thumb.jpg',130, 195,18,'							photo_3619017.html');
												thumbnails[3619023] = new thumbnail(3619023,'','090IMG 9420','090IMG_9420_thumb.jpg',130, 195,18,'							photo_3619023.html');
												thumbnails[3619033] = new thumbnail(3619033,'','097IMG 9433','097IMG_9433_thumb.jpg',130, 195,18,'							photo_3619033.html');
												thumbnails[3619047] = new thumbnail(3619047,'','104IMG 9441','104IMG_9441_thumb.jpg',130, 87,18,'							photo_3619047.html');
												thumbnails[3619064] = new thumbnail(3619064,'','112IMG 9449','112IMG_9449_thumb.jpg',130, 87,18,'							photo_3619064.html');
												thumbnails[3619074] = new thumbnail(3619074,'','117IMG 9455','117IMG_9455_thumb.jpg',130, 195,18,'							photo_3619074.html');
												thumbnails[3619085] = new thumbnail(3619085,'','122IMG 9463','122IMG_9463_thumb.jpg',130, 195,18,'							photo_3619085.html');
												thumbnails[3619094] = new thumbnail(3619094,'','127IMG 9468','127IMG_9468_thumb.jpg',130, 87,18,'							photo_3619094.html');
												thumbnails[3619105] = new thumbnail(3619105,'','137IMG 9478','137IMG_9478_thumb.jpg',130, 195,18,'							photo_3619105.html');
												thumbnails[3619116] = new thumbnail(3619116,'','145IMG 9486','145IMG_9486_thumb.jpg',130, 195,18,'							photo_3619116.html');
												thumbnails[3619122] = new thumbnail(3619122,'','150IMG 9493','150IMG_9493_thumb.jpg',130, 195,18,'							photo_3619122.html');
												thumbnails[3619132] = new thumbnail(3619132,'','158IMG 9501','158IMG_9501_thumb.jpg',130, 195,18,'							photo_3619132.html');
												thumbnails[3619264] = new thumbnail(3619264,'','165IMG 9508','165IMG_9508_thumb.jpg',130, 87,18,'							photo_3619264.html');
												thumbnails[3619282] = new thumbnail(3619282,'','175IMG 9523','175IMG_9523_thumb.jpg',130, 195,18,'							photo_3619282.html');
												thumbnails[3619298] = new thumbnail(3619298,'','184IMG 9533','184IMG_9533_thumb.jpg',130, 87,18,'							photo_3619298.html');
												thumbnails[3619350] = new thumbnail(3619350,'','194IMG 9546','194IMG_9546_thumb.jpg',130, 195,18,'							photo_3619350.html');
												thumbnails[3619703] = new thumbnail(3619703,'','201IMG 9554','201IMG_9554_thumb.jpg',130, 87,18,'							photo_3619703.html');
												thumbnails[3619756] = new thumbnail(3619756,'','208IMG 9561','208IMG_9561_thumb.jpg',130, 195,18,'							photo_3619756.html');
												thumbnails[3619765] = new thumbnail(3619765,'','217IMG 9570','217IMG_9570_thumb.jpg',130, 195,18,'							photo_3619765.html');
												thumbnails[3619773] = new thumbnail(3619773,'','223IMG 9576','223IMG_9576_thumb.jpg',130, 87,18,'							photo_3619773.html');
												thumbnails[3619783] = new thumbnail(3619783,'','231IMG 9584','231IMG_9584_thumb.jpg',130, 87,18,'							photo_3619783.html');
												thumbnails[3619823] = new thumbnail(3619823,'','238IMG 9594','238IMG_9594_thumb.jpg',130, 87,18,'							photo_3619823.html');
												thumbnails[343868] = new thumbnail(343868,'','Dew','IMG_5926JPG_thumb.jpg',130, 195,18,'							photo_343868.html');
												thumbnails[332189] = new thumbnail(332189,'','British colours','IMG_4306JPG_thumb.jpg',130, 87,18,'							photo_332189.html');
												thumbnails[110563] = new thumbnail(110563,'','Adelka','IMG_9052aJPG_thumb.jpg',130, 156,18,'							photo_110563.html');
												thumbnails[3077475] = new thumbnail(3077475,'','in make up','IMG_1554bwcr102_thumb.jpg',130, 131,18,'							photo_3077475.html');
												thumbnails[3618894] = new thumbnail(3618894,'','002IMG 9300','002IMG_9300_thumb.jpg',130, 195,18,'							photo_3618894.html');
												thumbnails[3618903] = new thumbnail(3618903,'','007IMG 9306','007IMG_9306_thumb.jpg',130, 87,18,'							photo_3618903.html');
												thumbnails[3618909] = new thumbnail(3618909,'','012IMG 9316','012IMG_9316_thumb.jpg',130, 195,18,'							photo_3618909.html');
												thumbnails[3618916] = new thumbnail(3618916,'','017IMG 9322','017IMG_9322_thumb.jpg',130, 195,18,'							photo_3618916.html');
												thumbnails[3618924] = new thumbnail(3618924,'','022IMG 9327','022IMG_9327_thumb.jpg',130, 195,18,'							photo_3618924.html');
												thumbnails[3618931] = new thumbnail(3618931,'','027IMG 9333','027IMG_9333_thumb.jpg',130, 195,18,'							photo_3618931.html');
												thumbnails[3618943] = new thumbnail(3618943,'','032IMG 9342','032IMG_9342_thumb.jpg',130, 195,18,'							photo_3618943.html');
												thumbnails[3618956] = new thumbnail(3618956,'','037IMG 9351','037IMG_9351_thumb.jpg',130, 195,18,'							photo_3618956.html');
												thumbnails[3618967] = new thumbnail(3618967,'','042IMG 9359','042IMG_9359_thumb.jpg',130, 195,18,'							photo_3618967.html');
												thumbnails[3618982] = new thumbnail(3618982,'','047IMG 9366','047IMG_9366_thumb.jpg',130, 195,18,'							photo_3618982.html');
												thumbnails[3618990] = new thumbnail(3618990,'','057IMG 9376','057IMG_9376_thumb.jpg',130, 195,18,'							photo_3618990.html');
												thumbnails[3619002] = new thumbnail(3619002,'','063IMG 9387','063IMG_9387_thumb.jpg',130, 195,18,'							photo_3619002.html');
												thumbnails[3619007] = new thumbnail(3619007,'','069IMG 9396','069IMG_9396_thumb.jpg',130, 195,18,'							photo_3619007.html');
												thumbnails[3619013] = new thumbnail(3619013,'','077IMG 9405','077IMG_9405_thumb.jpg',130, 195,18,'							photo_3619013.html');
												thumbnails[3619018] = new thumbnail(3619018,'','083IMG 9413','083IMG_9413_thumb.jpg',130, 195,18,'							photo_3619018.html');
												thumbnails[3619024] = new thumbnail(3619024,'','091IMG 9421','091IMG_9421_thumb.jpg',130, 195,18,'							photo_3619024.html');
												thumbnails[3619034] = new thumbnail(3619034,'','098IMG 9434','098IMG_9434_thumb.jpg',130, 195,18,'							photo_3619034.html');
												thumbnails[3619048] = new thumbnail(3619048,'','107IMG 9444','107IMG_9444_thumb.jpg',130, 87,18,'							photo_3619048.html');
												thumbnails[3619065] = new thumbnail(3619065,'','113IMG 9450','113IMG_9450_thumb.jpg',130, 87,18,'							photo_3619065.html');
												thumbnails[3619075] = new thumbnail(3619075,'','118IMG 9456','118IMG_9456_thumb.jpg',130, 195,18,'							photo_3619075.html');
												thumbnails[3619086] = new thumbnail(3619086,'','123IMG 9464','123IMG_9464_thumb.jpg',130, 195,18,'							photo_3619086.html');
												thumbnails[3619095] = new thumbnail(3619095,'','129IMG 9470','129IMG_9470_thumb.jpg',130, 87,18,'							photo_3619095.html');
												thumbnails[3619106] = new thumbnail(3619106,'','140IMG 9481','140IMG_9481_thumb.jpg',130, 195,18,'							photo_3619106.html');
												thumbnails[3619117] = new thumbnail(3619117,'','146IMG 9488','146IMG_9488_thumb.jpg',130, 195,18,'							photo_3619117.html');
												thumbnails[3619123] = new thumbnail(3619123,'','151IMG 9494','151IMG_9494_thumb.jpg',130, 195,18,'							photo_3619123.html');
												thumbnails[3619133] = new thumbnail(3619133,'','159IMG 9502','159IMG_9502_thumb.jpg',130, 87,18,'							photo_3619133.html');
												thumbnails[3619265] = new thumbnail(3619265,'','168IMG 9511','168IMG_9511_thumb.jpg',130, 87,18,'							photo_3619265.html');
												thumbnails[3619283] = new thumbnail(3619283,'','176IMG 9524','176IMG_9524_thumb.jpg',130, 87,18,'							photo_3619283.html');
												thumbnails[3619299] = new thumbnail(3619299,'','186IMG 9536','186IMG_9536_thumb.jpg',130, 87,18,'							photo_3619299.html');
												thumbnails[3619351] = new thumbnail(3619351,'','197IMG 9549','197IMG_9549_thumb.jpg',130, 87,18,'							photo_3619351.html');
												thumbnails[3619704] = new thumbnail(3619704,'','202IMG 9555','202IMG_9555_thumb.jpg',130, 87,18,'							photo_3619704.html');
												thumbnails[3619758] = new thumbnail(3619758,'','209IMG 9562','209IMG_9562_thumb.jpg',130, 195,18,'							photo_3619758.html');
												thumbnails[3619766] = new thumbnail(3619766,'','218IMG 9571','218IMG_9571_thumb.jpg',130, 195,18,'							photo_3619766.html');
												thumbnails[3619774] = new thumbnail(3619774,'','227IMG 9580','227IMG_9580_thumb.jpg',130, 195,18,'							photo_3619774.html');
												thumbnails[3619784] = new thumbnail(3619784,'','232IMG 9585','232IMG_9585_thumb.jpg',130, 87,18,'							photo_3619784.html');
												thumbnails[515373] = new thumbnail(515373,'','Madlinka','IMG_7219JPG_thumb.jpg',130, 87,18,'							photo_515373.html');
												thumbnails[343870] = new thumbnail(343870,'','Astrantia','IMG_5973JPG_thumb.jpg',130, 195,18,'							photo_343870.html');
												thumbnails[332190] = new thumbnail(332190,'','Guard','IMG_4331JPG_thumb.jpg',130, 195,18,'							photo_332190.html');
												thumbnails[73813] = new thumbnail(73813,'','Isola di San Pietro, Sardinia','IMG_3302cpJPG_thumb.jpg',130, 195,18,'							photo_73813.html');
												thumbnails[3618895] = new thumbnail(3618895,'','003IMG 9302','003IMG_9302_thumb.jpg',130, 195,18,'							photo_3618895.html');
												thumbnails[3618904] = new thumbnail(3618904,'','008IMG 9308','008IMG_9308_thumb.jpg',130, 195,18,'							photo_3618904.html');
												thumbnails[3618910] = new thumbnail(3618910,'','013IMG 9317','013IMG_9317_thumb.jpg',130, 195,18,'							photo_3618910.html');
												thumbnails[3618917] = new thumbnail(3618917,'','018IMG 9323','018IMG_9323_thumb.jpg',130, 195,18,'							photo_3618917.html');
												thumbnails[3618925] = new thumbnail(3618925,'','023IMG 9328','023IMG_9328_thumb.jpg',130, 195,18,'							photo_3618925.html');
												thumbnails[3618932] = new thumbnail(3618932,'','028IMG 9334','028IMG_9334_thumb.jpg',130, 195,18,'							photo_3618932.html');
												thumbnails[3618944] = new thumbnail(3618944,'','033IMG 9343','033IMG_9343_thumb.jpg',130, 87,18,'							photo_3618944.html');
												thumbnails[3618957] = new thumbnail(3618957,'','038IMG 9351','038IMG_9351_thumb.jpg',130, 195,18,'							photo_3618957.html');
												thumbnails[3618968] = new thumbnail(3618968,'','043IMG 9361','043IMG_9361_thumb.jpg',130, 87,18,'							photo_3618968.html');
												thumbnails[3618983] = new thumbnail(3618983,'','050IMG 9369','050IMG_9369_thumb.jpg',130, 195,18,'							photo_3618983.html');
												thumbnails[3618991] = new thumbnail(3618991,'','058IMG 9378','058IMG_9378_thumb.jpg',130, 195,18,'							photo_3618991.html');
												thumbnails[3619003] = new thumbnail(3619003,'','065IMG 9389','065IMG_9389_thumb.jpg',130, 195,18,'							photo_3619003.html');
												thumbnails[3619008] = new thumbnail(3619008,'','072IMG 9400','072IMG_9400_thumb.jpg',130, 195,18,'							photo_3619008.html');
												thumbnails[3619014] = new thumbnail(3619014,'','078IMG 9406','078IMG_9406_thumb.jpg',130, 195,18,'							photo_3619014.html');
												thumbnails[3619019] = new thumbnail(3619019,'','084IMG 9414','084IMG_9414_thumb.jpg',130, 195,18,'							photo_3619019.html');
												thumbnails[3619025] = new thumbnail(3619025,'','093IMG 9423','093IMG_9423_thumb.jpg',130, 195,18,'							photo_3619025.html');
												thumbnails[3619036] = new thumbnail(3619036,'','100IMG 9436','100IMG_9436_thumb.jpg',130, 195,18,'							photo_3619036.html');
												thumbnails[3619049] = new thumbnail(3619049,'','108IMG 9445','108IMG_9445_thumb.jpg',130, 195,18,'							photo_3619049.html');
												thumbnails[3619066] = new thumbnail(3619066,'','114IMG 9451','114IMG_9451_thumb.jpg',130, 87,18,'							photo_3619066.html');
												thumbnails[3619076] = new thumbnail(3619076,'','119IMG 9457','119IMG_9457_thumb.jpg',130, 87,18,'							photo_3619076.html');
												thumbnails[3619087] = new thumbnail(3619087,'','124IMG 9465','124IMG_9465_thumb.jpg',130, 195,18,'							photo_3619087.html');
												thumbnails[3619096] = new thumbnail(3619096,'','131IMG 9472','131IMG_9472_thumb.jpg',130, 87,18,'							photo_3619096.html');
												thumbnails[3619107] = new thumbnail(3619107,'','140IMG 94811','140IMG_94811_thumb.jpg',130, 195,18,'							photo_3619107.html');
												thumbnails[3619118] = new thumbnail(3619118,'','147IMG 9489','147IMG_9489_thumb.jpg',130, 195,18,'							photo_3619118.html');
												thumbnails[3619124] = new thumbnail(3619124,'','153IMG 9496','153IMG_9496_thumb.jpg',130, 195,18,'							photo_3619124.html');
												thumbnails[3619134] = new thumbnail(3619134,'','161IMG 9504','161IMG_9504_thumb.jpg',130, 87,18,'							photo_3619134.html');
												thumbnails[3619266] = new thumbnail(3619266,'','169IMG 9513','169IMG_9513_thumb.jpg',130, 195,18,'							photo_3619266.html');
												thumbnails[3619284] = new thumbnail(3619284,'','177IMG 9525','177IMG_9525_thumb.jpg',130, 195,18,'							photo_3619284.html');
												thumbnails[3619300] = new thumbnail(3619300,'','187IMG 9537','187IMG_9537_thumb.jpg',130, 195,18,'							photo_3619300.html');
												thumbnails[3619352] = new thumbnail(3619352,'','198IMG 9551','198IMG_9551_thumb.jpg',130, 87,18,'							photo_3619352.html');
												thumbnails[3619705] = new thumbnail(3619705,'','204IMG 9557','204IMG_9557_thumb.jpg',130, 87,18,'							photo_3619705.html');
												thumbnails[3619759] = new thumbnail(3619759,'','211IMG 9564','211IMG_9564_thumb.jpg',130, 195,18,'							photo_3619759.html');
												thumbnails[3619767] = new thumbnail(3619767,'','219IMG 9572','219IMG_9572_thumb.jpg',130, 87,18,'							photo_3619767.html');
												thumbnails[3619775] = new thumbnail(3619775,'','228IMG 9581','228IMG_9581_thumb.jpg',130, 87,18,'							photo_3619775.html');
												thumbnails[3619785] = new thumbnail(3619785,'','234IMG 9588','234IMG_9588_thumb.jpg',130, 87,18,'							photo_3619785.html');
												thumbnails[343869] = new thumbnail(343869,'','Crocosmia','IMG_5931JPG_thumb.jpg',130, 87,18,'							photo_343869.html');
												thumbnails[332191] = new thumbnail(332191,'','Top hats','IMG_4455JPG_thumb.jpg',130, 195,18,'							photo_332191.html');
												thumbnails[3077252] = new thumbnail(3077252,'','Mother and daughter','IMG_848606_thumb.jpg',130, 87,18,'							photo_3077252.html');
												thumbnails[3618896] = new thumbnail(3618896,'','004IMG 9303','004IMG_9303_thumb.jpg',130, 195,18,'							photo_3618896.html');
												thumbnails[3618905] = new thumbnail(3618905,'','009IMG 9309','009IMG_9309_thumb.jpg',130, 195,18,'							photo_3618905.html');
												thumbnails[3618911] = new thumbnail(3618911,'','014IMG 9318','014IMG_9318_thumb.jpg',130, 195,18,'							photo_3618911.html');
												thumbnails[3618918] = new thumbnail(3618918,'','019IMG 9324','019IMG_9324_thumb.jpg',130, 195,18,'							photo_3618918.html');
												thumbnails[3618926] = new thumbnail(3618926,'','024IMG 9329','024IMG_9329_thumb.jpg',130, 195,18,'							photo_3618926.html');
												thumbnails[3618933] = new thumbnail(3618933,'','029IMG 9338','029IMG_9338_thumb.jpg',130, 195,18,'							photo_3618933.html');
												thumbnails[3618945] = new thumbnail(3618945,'','034IMG 9344','034IMG_9344_thumb.jpg',130, 87,18,'							photo_3618945.html');
												thumbnails[3618958] = new thumbnail(3618958,'','039IMG 9353','039IMG_9353_thumb.jpg',130, 195,18,'							photo_3618958.html');
												thumbnails[3618969] = new thumbnail(3618969,'','044IMG 9362','044IMG_9362_thumb.jpg',130, 87,18,'							photo_3618969.html');
												thumbnails[3618984] = new thumbnail(3618984,'','051IMG 9370','051IMG_9370_thumb.jpg',130, 87,18,'							photo_3618984.html');
												thumbnails[3618992] = new thumbnail(3618992,'','059IMG 9379','059IMG_9379_thumb.jpg',130, 195,18,'							photo_3618992.html');
												thumbnails[3619004] = new thumbnail(3619004,'','066IMG 9390','066IMG_9390_thumb.jpg',130, 195,18,'							photo_3619004.html');
												thumbnails[3619009] = new thumbnail(3619009,'','073IMG 9401','073IMG_9401_thumb.jpg',130, 195,18,'							photo_3619009.html');
												thumbnails[3619015] = new thumbnail(3619015,'','079IMG 9407','079IMG_9407_thumb.jpg',130, 195,18,'							photo_3619015.html');
												thumbnails[3619020] = new thumbnail(3619020,'','085IMG 9415','085IMG_9415_thumb.jpg',130, 195,18,'							photo_3619020.html');
												thumbnails[3619026] = new thumbnail(3619026,'','094IMG 9424','094IMG_9424_thumb.jpg',130, 195,18,'							photo_3619026.html');
												thumbnails[3619037] = new thumbnail(3619037,'','101IMG 9437','101IMG_9437_thumb.jpg',130, 195,18,'							photo_3619037.html');
												thumbnails[3619050] = new thumbnail(3619050,'','110IMG 9447','110IMG_9447_thumb.jpg',130, 87,18,'							photo_3619050.html');
												thumbnails[3619067] = new thumbnail(3619067,'','115IMG 9453','115IMG_9453_thumb.jpg',130, 87,18,'							photo_3619067.html');
												thumbnails[3619077] = new thumbnail(3619077,'','120IMG 9459','120IMG_9459_thumb.jpg',130, 87,18,'							photo_3619077.html');
												thumbnails[3619088] = new thumbnail(3619088,'','125IMG 9466','125IMG_9466_thumb.jpg',130, 195,18,'							photo_3619088.html');
												thumbnails[3619097] = new thumbnail(3619097,'','133IMG 9474','133IMG_9474_thumb.jpg',130, 87,18,'							photo_3619097.html');
												thumbnails[3619108] = new thumbnail(3619108,'','143IMG 9484','143IMG_9484_thumb.jpg',130, 87,18,'							photo_3619108.html');
												thumbnails[3619119] = new thumbnail(3619119,'','148IMG 9491','148IMG_9491_thumb.jpg',130, 195,18,'							photo_3619119.html');
												thumbnails[3619125] = new thumbnail(3619125,'','154IMG 9497','154IMG_9497_thumb.jpg',130, 195,18,'							photo_3619125.html');
												thumbnails[3619135] = new thumbnail(3619135,'','163IMG 9506','163IMG_9506_thumb.jpg',130, 87,18,'							photo_3619135.html');
												thumbnails[3619267] = new thumbnail(3619267,'','170IMG 9518','170IMG_9518_thumb.jpg',130, 87,18,'							photo_3619267.html');
												thumbnails[3619285] = new thumbnail(3619285,'','179IMG 9528','179IMG_9528_thumb.jpg',130, 87,18,'							photo_3619285.html');
												thumbnails[3619301] = new thumbnail(3619301,'','191IMG 9543','191IMG_9543_thumb.jpg',130, 195,18,'							photo_3619301.html');
												thumbnails[3619353] = new thumbnail(3619353,'','199IMG 9552','199IMG_9552_thumb.jpg',130, 87,18,'							photo_3619353.html');
												thumbnails[3619707] = new thumbnail(3619707,'','205IMG 9558','205IMG_9558_thumb.jpg',130, 87,18,'							photo_3619707.html');
												thumbnails[3619760] = new thumbnail(3619760,'','213IMG 9566','213IMG_9566_thumb.jpg',130, 195,18,'							photo_3619760.html');
												thumbnails[3619768] = new thumbnail(3619768,'','221IMG 9574','221IMG_9574_thumb.jpg',130, 87,18,'							photo_3619768.html');
												thumbnails[3619776] = new thumbnail(3619776,'','229IMG 9582','229IMG_9582_thumb.jpg',130, 87,18,'							photo_3619776.html');
												thumbnails[3619786] = new thumbnail(3619786,'','235IMG 9589','235IMG_9589_thumb.jpg',130, 87,18,'							photo_3619786.html');
												thumbnails[343871] = new thumbnail(343871,'','Aisling','IMG_6360JPG_thumb.jpg',130, 102,18,'							photo_343871.html');
												thumbnails[3078252] = new thumbnail(3078252,'','William','IMG_8230bw07_thumb.jpg',130, 188,18,'							photo_3078252.html');
												thumbnails[3618897] = new thumbnail(3618897,'','005IMG 9304','005IMG_9304_thumb.jpg',130, 87,18,'							photo_3618897.html');
												thumbnails[3618906] = new thumbnail(3618906,'','010IMG 9310','010IMG_9310_thumb.jpg',130, 195,18,'							photo_3618906.html');
												thumbnails[3618912] = new thumbnail(3618912,'','015IMG 9320','015IMG_9320_thumb.jpg',130, 195,18,'							photo_3618912.html');
												thumbnails[3618919] = new thumbnail(3618919,'','020IMG 9325','020IMG_9325_thumb.jpg',130, 195,18,'							photo_3618919.html');
												thumbnails[3618927] = new thumbnail(3618927,'','025IMG 9331','025IMG_9331_thumb.jpg',130, 195,18,'							photo_3618927.html');
												thumbnails[3618934] = new thumbnail(3618934,'','030IMG 9339','030IMG_9339_thumb.jpg',130, 195,18,'							photo_3618934.html');
												thumbnails[3618946] = new thumbnail(3618946,'','035IMG 9345','035IMG_9345_thumb.jpg',130, 87,18,'							photo_3618946.html');
												thumbnails[3618959] = new thumbnail(3618959,'','040IMG 9354','040IMG_9354_thumb.jpg',130, 195,18,'							photo_3618959.html');
												thumbnails[3618970] = new thumbnail(3618970,'','045IMG 9364','045IMG_9364_thumb.jpg',130, 195,18,'							photo_3618970.html');
												thumbnails[3618985] = new thumbnail(3618985,'','052IMG 9371','052IMG_9371_thumb.jpg',130, 195,18,'							photo_3618985.html');
												thumbnails[3618993] = new thumbnail(3618993,'','060IMG 9384','060IMG_9384_thumb.jpg',130, 195,18,'							photo_3618993.html');
												thumbnails[3619005] = new thumbnail(3619005,'','067IMG 9391','067IMG_9391_thumb.jpg',130, 195,18,'							photo_3619005.html');
												thumbnails[3619010] = new thumbnail(3619010,'','075IMG 9403','075IMG_9403_thumb.jpg',130, 195,18,'							photo_3619010.html');
												thumbnails[3619016] = new thumbnail(3619016,'','081IMG 9409','081IMG_9409_thumb.jpg',130, 195,18,'							photo_3619016.html');
												thumbnails[3619021] = new thumbnail(3619021,'','087IMG 9417','087IMG_9417_thumb.jpg',130, 195,18,'							photo_3619021.html');
												thumbnails[3619027] = new thumbnail(3619027,'','096IMG 9426','096IMG_9426_thumb.jpg',130, 195,18,'							photo_3619027.html');
												thumbnails[3619038] = new thumbnail(3619038,'','103IMG 9440','103IMG_9440_thumb.jpg',130, 195,18,'							photo_3619038.html');
												thumbnails[3619051] = new thumbnail(3619051,'','111IMG 9448','111IMG_9448_thumb.jpg',130, 87,18,'							photo_3619051.html');
												thumbnails[3619068] = new thumbnail(3619068,'','116IMG 9454','116IMG_9454_thumb.jpg',130, 87,18,'							photo_3619068.html');
												thumbnails[3619078] = new thumbnail(3619078,'','121IMG 9460','121IMG_9460_thumb.jpg',130, 195,18,'							photo_3619078.html');
												thumbnails[3619089] = new thumbnail(3619089,'','126IMG 9467','126IMG_9467_thumb.jpg',130, 87,18,'							photo_3619089.html');
												thumbnails[3619098] = new thumbnail(3619098,'','135IMG 9476','135IMG_9476_thumb.jpg',130, 87,18,'							photo_3619098.html');
												thumbnails[3619109] = new thumbnail(3619109,'','144IMG 9485','144IMG_9485_thumb.jpg',130, 195,18,'							photo_3619109.html');
												thumbnails[3619120] = new thumbnail(3619120,'','149IMG 9492','149IMG_9492_thumb.jpg',130, 195,18,'							photo_3619120.html');
												thumbnails[3619126] = new thumbnail(3619126,'','156IMG 9499','156IMG_9499_thumb.jpg',130, 195,18,'							photo_3619126.html');
												thumbnails[3619136] = new thumbnail(3619136,'','164IMG 9507','164IMG_9507_thumb.jpg',130, 195,18,'							photo_3619136.html');
												thumbnails[3619268] = new thumbnail(3619268,'','174IMG 9522','174IMG_9522_thumb.jpg',130, 195,18,'							photo_3619268.html');
												thumbnails[3619286] = new thumbnail(3619286,'','183IMG 9532','183IMG_9532_thumb.jpg',130, 87,18,'							photo_3619286.html');
												thumbnails[3619302] = new thumbnail(3619302,'','192IMG 9544','192IMG_9544_thumb.jpg',130, 195,18,'							photo_3619302.html');
												thumbnails[3619354] = new thumbnail(3619354,'','200IMG 9553','200IMG_9553_thumb.jpg',130, 195,18,'							photo_3619354.html');
												thumbnails[3619708] = new thumbnail(3619708,'','207IMG 9560','207IMG_9560_thumb.jpg',130, 195,18,'							photo_3619708.html');
												thumbnails[3619761] = new thumbnail(3619761,'','215IMG 9568','215IMG_9568_thumb.jpg',130, 87,18,'							photo_3619761.html');
												thumbnails[3619769] = new thumbnail(3619769,'','222IMG 9575','222IMG_9575_thumb.jpg',130, 87,18,'							photo_3619769.html');
												thumbnails[3619777] = new thumbnail(3619777,'','230IMG 9583','230IMG_9583_thumb.jpg',130, 87,18,'							photo_3619777.html');
												thumbnails[3619787] = new thumbnail(3619787,'','237IMG 9591','237IMG_9591_thumb.jpg',130, 195,18,'							photo_3619787.html');
												thumbnails[506299] = new thumbnail(506299,'','forest','IMG_7158JPG_thumb.jpg',130, 195,18,'							photo_506299.html');
												thumbnails[107159] = new thumbnail(107159,'','good friends','28110503a_thumb.jpg',130, 90,18,'							photo_107159.html');
												thumbnails[506269] = new thumbnail(506269,'','dum na Staromestskem namesti','IMG_7013JPG_thumb.jpg',130, 93,18,'							photo_506269.html');
												thumbnails[3392116] = new thumbnail(3392116,'20796','hats of snow','IMG_0426cp_thumb.jpg',130, 195,18,'							photo_3392116.html');
												thumbnails[3074584] = new thumbnail(3074584,'28777','red gloriosa','jollythom_redgloriosa112_thumb.jpg',130, 191,18,'							photo_3074584.html');
												thumbnails[3074585] = new thumbnail(3074585,'28777','pink astrantia','jollythom_pinkastrantia210_thumb.jpg',130, 195,18,'							photo_3074585.html');
												thumbnails[3074557] = new thumbnail(3074557,'20796','Holly','IMG_7888a05_thumb.jpg',130, 144,18,'							photo_3074557.html');
												thumbnails[3074558] = new thumbnail(3074558,'20796','frost','IMG_782603_thumb.jpg',130, 142,18,'							photo_3074558.html');
												thumbnails[3074559] = new thumbnail(3074559,'20796','fern','IMG_782704_thumb.jpg',130, 196,18,'							photo_3074559.html');
												thumbnails[3074561] = new thumbnail(3074561,'8454','green echinacea','jollythom_greenechinacea101_thumb.jpg',130, 195,18,'							photo_3074561.html');
												thumbnails[3074562] = new thumbnail(3074562,'28777','mauve allium','jollythom_mauveallium207_thumb.jpg',130, 195,18,'							photo_3074562.html');
												thumbnails[3074575] = new thumbnail(3074575,'28777','white bell','jollythom_whitebell113_thumb.jpg',130, 195,18,'							photo_3074575.html');
												thumbnails[3074564] = new thumbnail(3074564,'63267','Aston Martin 1','jollythom_lemanam006ii03_thumb.jpg',130, 77,18,'							photo_3074564.html');
												thumbnails[3074566] = new thumbnail(3074566,'63267','night racing','jollythom_lemanam104_thumb.jpg',130, 75,18,'							photo_3074566.html');
												thumbnails[3074568] = new thumbnail(3074568,'63267','night racing 2','jollythom_lemancorv105_thumb.jpg',130, 84,18,'							photo_3074568.html');
												thumbnails[332205] = new thumbnail(332205,'27900','Her Majesty on the first day of Royal Ascot','IMG_4365JPG_thumb.jpg',130, 87,18,'							photo_332205.html');
												thumbnails[230710] = new thumbnail(230710,'8454','blossom II','IMG_2486JPG_thumb.jpg',130, 195,18,'							photo_230710.html');
												thumbnails[230712] = new thumbnail(230712,'8454','blossom V','IMG_2493JPG_thumb.jpg',130, 85,18,'							photo_230712.html');
												thumbnails[230724] = new thumbnail(230724,'8454','blossom VI','IMG_2424aJPG_thumb.jpg',130, 103,18,'							photo_230724.html');
												thumbnails[134265] = new thumbnail(134265,'20796','skiing','IMG_1439JPG_thumb.jpg',130, 195,18,'							photo_134265.html');
												thumbnails[134277] = new thumbnail(134277,'20796','Montgolfiere','IMG_1430JPG_thumb.jpg',130, 180,18,'							photo_134277.html');
												thumbnails[101312] = new thumbnail(101312,'20798','morning web','IMG_0641JPG_thumb.jpg',130, 195,18,'							photo_101312.html');
												thumbnails[108094] = new thumbnail(108094,'7121','spider web','30110504JPG_thumb.jpg',130, 87,18,'							photo_108094.html');
												thumbnails[89274] = new thumbnail(89274,'20798','filtered light','031105063JPG_thumb.jpg',130, 195,18,'							photo_89274.html');
												thumbnails[89275] = new thumbnail(89275,'20798','shades of gold','021105046JPG_thumb.jpg',130, 195,18,'							photo_89275.html');
												thumbnails[89276] = new thumbnail(89276,'20798','japanese maple','021105053JPG_thumb.jpg',130, 194,18,'							photo_89276.html');
												thumbnails[74502] = new thumbnail(74502,'7172','The Thames Festival 2005, Night Carnival','IMG_9406JPG_thumb.jpg',130, 195,18,'							photo_74502.html');
												thumbnails[74519] = new thumbnail(74519,'7172','The Thames Festival 2005, Night Carnival','IMG_9397aJPG_thumb.jpg',130, 115,18,'							photo_74519.html');
												thumbnails[74535] = new thumbnail(74535,'7172','The Thames Festival, Carnival','IMG_9416JPG_thumb.jpg',130, 87,18,'							photo_74535.html');
												thumbnails[107151] = new thumbnail(107151,'7172','Thames Festival 2005, Night Carnival','IMG_9413_thumb.jpg',130, 87,18,'							photo_107151.html');
												thumbnails[73818] = new thumbnail(73818,'28777','','IMG_7931cpJPG_thumb.jpg',130, 195,18,'							photo_73818.html');
												thumbnails[73823] = new thumbnail(73823,'28777','Artichoke ','IMG_7906cpJPG_thumb.jpg',130, 195,18,'							photo_73823.html');
												thumbnails[108097] = new thumbnail(108097,'20798','dried flowers','IMG_2880JPG_thumb.jpg',130, 195,18,'							photo_108097.html');
												thumbnails[108103] = new thumbnail(108103,'7121','Water lilies','IMG_7416JPG_thumb.jpg',130, 87,18,'							photo_108103.html');
												thumbnails[73826] = new thumbnail(73826,'7121','Butterflies','motyli1cpJPG_thumb.jpg',130, 91,18,'							photo_73826.html');
												thumbnails[3077256] = new thumbnail(3077256,'7122','chapel ','IMG_178103_thumb.jpg',130, 195,18,'							photo_3077256.html');
												thumbnails[3077261] = new thumbnail(3077261,'20798','red maple leaf','IMG_984518_thumb.jpg',130, 195,18,'							photo_3077261.html');
												thumbnails[3077263] = new thumbnail(3077263,'8454','cherry plum blossom','IMG_861307_thumb.jpg',130, 195,18,'							photo_3077263.html');
												thumbnails[3077265] = new thumbnail(3077265,'7121','carnivorous','IMG_966613_thumb.jpg',130, 190,18,'							photo_3077265.html');
												thumbnails[3077268] = new thumbnail(3077268,'189017','Summer','IMG_417505_thumb.jpg',130, 195,18,'							photo_3077268.html');
												thumbnails[3077287] = new thumbnail(3077287,'189017','','IMG_867310_thumb.jpg',130, 195,18,'							photo_3077287.html');
												thumbnails[3077288] = new thumbnail(3077288,'189017','','IMG_953612_thumb.jpg',130, 195,18,'							photo_3077288.html');
												thumbnails[3077482] = new thumbnail(3077482,'189017','pussycat','IMG_330404_thumb.jpg',130, 197,18,'							photo_3077482.html');
												thumbnails[3077485] = new thumbnail(3077485,'189017','peas in the pod','IMG_976617_thumb.jpg',130, 67,18,'							photo_3077485.html');
												thumbnails[3078268] = new thumbnail(3078268,'7122','Neal\'s Yard','IMG_085001_thumb.jpg',130, 203,18,'							photo_3078268.html');
												thumbnails[3078721] = new thumbnail(3078721,'63267','24 hr Le Mans','IMG_246802_thumb.jpg',130, 78,18,'							photo_3078721.html');
												thumbnails[3078727] = new thumbnail(3078727,'7172','','IMG_735103_thumb.jpg',130, 196,18,'							photo_3078727.html');
												thumbnails[3078730] = new thumbnail(3078730,'7122','Hampton Court','IMG_812305_thumb.jpg',130, 195,18,'							photo_3078730.html');
												thumbnails[3078732] = new thumbnail(3078732,'7172','','IMG_739104_thumb.jpg',130, 195,18,'							photo_3078732.html');
												thumbnails[6828856] = new thumbnail(6828856,'10099','prof Martin Hilsky','IMG_1979001_thumb.jpg',130, 186,18,'							photo_6828856.html');
												thumbnails[332181] = new thumbnail(332181,'27900','Solitude ','IMG_4162JPG2_thumb.jpg',130, 195,18,'							photo_332181.html');
												thumbnails[73832] = new thumbnail(73832,'7122','gateway','IMG_8852cpJPG_thumb.jpg',130, 195,18,'							photo_73832.html');
												thumbnails[6828857] = new thumbnail(6828857,'10099','president Vaclav Havel and Jan Carnogursky','IMG_3391002_thumb.jpg',130, 195,18,'							photo_6828857.html');
												thumbnails[332182] = new thumbnail(332182,'27900','Champagne','IMG_4256JPG_thumb.jpg',130, 202,18,'							photo_332182.html');
												thumbnails[6828858] = new thumbnail(6828858,'10099','Sir Nicholas Winton','IMG_4142007_thumb.jpg',130, 89,18,'							photo_6828858.html');
												thumbnails[332183] = new thumbnail(332183,'27900','Poor Peacock','IMG_4290JPG_thumb.jpg',130, 195,18,'							photo_332183.html');
												thumbnails[74495] = new thumbnail(74495,'7122','reflection','IMG_6979JPG_thumb.jpg',130, 87,18,'							photo_74495.html');
												thumbnails[6828859] = new thumbnail(6828859,'10099','Madeleine Albright','IMG_9838bwa010_thumb.jpg',130, 195,18,'							photo_6828859.html');
												thumbnails[332184] = new thumbnail(332184,'27900','Her Majesty and her subjects','IMG_4443aJPG1_thumb.jpg',130, 195,18,'							photo_332184.html');
												thumbnails[332192] = new thumbnail(332192,'27900','He had a winner!','IMG_4487JPG3_thumb.jpg',130, 93,18,'							photo_332192.html');
												thumbnails[74497] = new thumbnail(74497,'7122','Alcazaba fortification ','IMG_8670JPG_thumb.jpg',130, 116,18,'							photo_74497.html');
												thumbnails[6828860] = new thumbnail(6828860,'10099','HE Czech Ambassador Michael Zantovsky with Hugo Mellion, ex RAF pilot','IMG_9896011_thumb.jpg',130, 86,18,'							photo_6828860.html');
												thumbnails[506308] = new thumbnail(506308,'28777','lake reflection','IMG_7193JPG_thumb.jpg',130, 185,18,'							photo_506308.html');

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  					galleries[189113] = new gallery(189113,'3074568,332205,332182,74519','Events','gallery',[],0, 0, '', '																																																																																																							gallery_189113.html',0,0);
				  					galleries[27900] = new gallery(27900,'332205,332182','Royal Ascot','gallery',[332205,332181,332182,332183,332184,332192],0, 0, '189113', '																																																																																																							gallery_27900.html',0,0);
				  					galleries[7172] = new gallery(7172,'74519','Carnival','gallery',[74502,74519,74535,107151,3078727,3078732],0, 0, '189113', '																																																																																																							gallery_7172.html',0,0);
				  					galleries[63267] = new gallery(63267,'3074568','Motor racing','gallery',[3074564,3074566,3074568,3078721],0, 0, '189113', '																																																																																																							gallery_63267.html',0,0);
				  					galleries[10099] = new gallery(10099,'6828859','Portraits','gallery',[6828856,6828857,6828858,6828859,6828860],0, 0, '', '																																																																																																							gallery_10099.html',0,0);
				  					galleries[7122] = new gallery(7122,'3078268,74495,73832','Travel','gallery',[3077256,3078268,3078730,73832,74495,74497],0, 0, '', '																																																																																																							gallery_7122.html',0,0);
				  					galleries[7121] = new gallery(7121,'73826','B&W','gallery',[108094,108103,73826,3077265],0, 0, '', '																																																																																																							gallery_7121.html',0,0);
				  					galleries[7120] = new gallery(7120,'3392116,3077263,3077261,3074584,3074561,3074557,506308,230710,108097,73823','Nature','gallery',[],0, 0, '', '																																																																																																							gallery_7120.html',0,0);
				  					galleries[8454] = new gallery(8454,'3077263,3074561,230710','Spring','gallery',[3074561,230710,230712,230724,3077263],0, 0, '7120', '																																																																																																							gallery_8454.html',0,0);
				  					galleries[28777] = new gallery(28777,'3074584,506308,73823','Summer','gallery',[3074584,3074585,3074562,3074575,73818,73823,506308],0, 0, '7120', '																																																																																																							gallery_28777.html',0,0);
				  					galleries[20798] = new gallery(20798,'3077261,108097','Autumn','gallery',[101312,89274,89275,89276,108097,3077261],0, 0, '7120', '																																																																																																							gallery_20798.html',0,0);
				  					galleries[20796] = new gallery(20796,'3392116,3074557','Winter','gallery',[3392116,3074557,3074558,3074559,134265,134277],0, 0, '7120', '																																																																																																							gallery_20796.html',0,0);
				  					galleries[189017] = new gallery(189017,'3077485,3077482,3077268','Everything Else','gallery',[3077268,3077287,3077288,3077482,3077485],0, 0, '', '																																																																																																							gallery_189017.html',0,0);
/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = new Object();
imageSets[1] = '6828859,3634557,3392116,3078268,3078252,3077485,3077268,3077263,3077261,3077247,3074585,3074584,3074575,3074568,3074562,3074561,3074558,3074557,515373,506308,343871,332205,332192,332183,108097,74495,73834,73832,73818';
imageSets[2] = '6828859,3634557,3392116,3078268,3078252,3077485,3077482,3077268,3077263,3077261,3077252,3077247,3074584,3074568,3074561,3074557,506308,343871,332205,332182,230710,108097,74519,74495,73832,73826,73823';
imageSets[3] = '6828856';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/galerieJolly/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/galerieJolly/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/galerieJolly/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/galerieJolly/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://www.clikchurch.com/galerieJolly/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/galerieJolly/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/galerieJolly/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/galerieJolly/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/galerieJolly/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/galerieJolly/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/galerieJolly/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/galerieJolly/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/galerieJolly/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/galerieJolly/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://admin2.clikpic.com/galerieJolly/images';
		break;
	}
		switch (server_id) {
		case 33:
		val = 'http://www8.clikpic.com/galerieJolly/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/galerieJolly/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/galerieJolly/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/galerieJolly/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/galerieJolly/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/galerieJolly/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 = 'Jolly Thompson 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>';
	}
					
				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;
	}
}

			

