window.thumbnails = new Object();
												thumbnails[7317786] = new thumbnail(7317786,'','Gig','gig_thumb.jpg',160, 239,18,'															#');
												thumbnails[7274211] = new thumbnail(7274211,'393367','Winter landscape','Frost-Pano-03_thumb.jpg',160, 64,18,'																			photo_7274211.html');
												thumbnails[7282209] = new thumbnail(7282209,'393364','Hummingbird 1','001_thumb.jpg',160, 110,18,'																			photo_7282209.html');
												thumbnails[7282612] = new thumbnail(7282612,'393856','Sunset in Baja','010_thumb.jpg',160, 107,18,'																			photo_7282612.html');
												thumbnails[7286438] = new thumbnail(7286438,'393364','Osprey on nest','002001_thumb.jpg',160, 106,18,'																			photo_7286438.html');
												thumbnails[7292990] = new thumbnail(7292990,'393366','Frosty silver birch trees','PC073908b_8621372E-24E8-5EC4-4F95AA1A551A55E8_thumb.jpg',160, 120,18,'																			photo_7292990.html');
												thumbnails[7274212] = new thumbnail(7274212,'393367','Frost landscape','Frost-pano-04_thumb.jpg',160, 58,18,'																			photo_7274212.html');
												thumbnails[7282210] = new thumbnail(7282210,'393364','Red Kite 1','021_thumb.jpg',160, 120,18,'																			photo_7282210.html');
												thumbnails[7282481] = new thumbnail(7282481,'393365','Giraffe 1','024_thumb.jpg',160, 120,18,'																			photo_7282481.html');
												thumbnails[7282613] = new thumbnail(7282613,'393856','Reeds, California','014_thumb.jpg',160, 106,18,'																			photo_7282613.html');
												thumbnails[7292991] = new thumbnail(7292991,'393856','Alaska from sky','Alaskafromsky_thumb.jpg',160, 120,18,'																			photo_7292991.html');
												thumbnails[7274213] = new thumbnail(7274213,'393367','Ice trees','Frost-pano-06_thumb.jpg',160, 82,18,'																			photo_7274213.html');
												thumbnails[7282211] = new thumbnail(7282211,'393364','Spanish Sparrow, female','037_thumb.jpg',160, 106,18,'																			photo_7282211.html');
												thumbnails[7282482] = new thumbnail(7282482,'393365','Giraffe 2','025_thumb.jpg',160, 120,18,'																			photo_7282482.html');
												thumbnails[7282614] = new thumbnail(7282614,'393856','Welsh Valley','028_thumb.jpg',160, 120,18,'																			photo_7282614.html');
												thumbnails[7286440] = new thumbnail(7286440,'393364','Mute swan sleeping','016004_thumb.jpg',160, 107,18,'																			photo_7286440.html');
												thumbnails[7292992] = new thumbnail(7292992,'393856','Alcazar Alpujarras','Alcazar,Alpujarras07_thumb.jpg',160, 120,18,'																			photo_7292992.html');
												thumbnails[7274214] = new thumbnail(7274214,'393367','Treetops, silver birch','Frost-pano-08_thumb.jpg',160, 65,18,'																			photo_7274214.html');
												thumbnails[7282212] = new thumbnail(7282212,'393364','Spanish Sparrow, male','038_thumb.jpg',160, 113,18,'																			photo_7282212.html');
												thumbnails[7282483] = new thumbnail(7282483,'393365','Camel','026_thumb.jpg',160, 120,18,'																			photo_7282483.html');
												thumbnails[7282615] = new thumbnail(7282615,'393856','Spanish mountains, winter','031_thumb.jpg',160, 120,18,'																			photo_7282615.html');
												thumbnails[7286441] = new thumbnail(7286441,'393364','Hummingbird in flight','019005_thumb.jpg',160, 105,18,'																			photo_7286441.html');
												thumbnails[7292993] = new thumbnail(7292993,'393856','Almond blossom,Andalucia','Almond-blossom,-Andalucia_thumb.jpg',160, 120,18,'																			photo_7292993.html');
												thumbnails[7282213] = new thumbnail(7282213,'393364','Herring Gull 1','047_thumb.jpg',160, 120,18,'																			photo_7282213.html');
												thumbnails[7282484] = new thumbnail(7282484,'393365','Black horse, head shot','027_thumb.jpg',160, 120,18,'																			photo_7282484.html');
												thumbnails[7282616] = new thumbnail(7282616,'393856','Cotswold Meadow, summer','032_thumb.jpg',160, 120,18,'																			photo_7282616.html');
												thumbnails[7286442] = new thumbnail(7286442,'393366','Backlit poppy','022_thumb.jpg',160, 120,18,'																			photo_7286442.html');
												thumbnails[7292994] = new thumbnail(7292994,'393366','Avocado leaf','Avocadoleaf_thumb.jpg',160, 120,18,'																			photo_7292994.html');
												thumbnails[7274216] = new thumbnail(7274216,'393364','Mallard in flight','P1015914_thumb.jpg',160, 95,18,'																			photo_7274216.html');
												thumbnails[7282214] = new thumbnail(7282214,'393364','Mute Swan, male 1','11_thumb.jpg',160, 120,18,'																			photo_7282214.html');
												thumbnails[7282485] = new thumbnail(7282485,'393365','Goldfish in Alhambra','Alhambra---123_thumb.jpg',160, 120,18,'																			photo_7282485.html');
												thumbnails[7282617] = new thumbnail(7282617,'393856','Cadaques Seascape','036_thumb.jpg',160, 120,18,'																			photo_7282617.html');
												thumbnails[7286443] = new thumbnail(7286443,'393364','Pelican fishermen','026006_thumb.jpg',160, 106,18,'																			photo_7286443.html');
												thumbnails[7292995] = new thumbnail(7292995,'393364','Avocet reflection','Avocet_thumb.jpg',160, 120,18,'																			photo_7292995.html');
												thumbnails[7274217] = new thumbnail(7274217,'393366','Wheat field','P6307719_thumb.jpg',160, 120,18,'																			photo_7274217.html');
												thumbnails[7282618] = new thumbnail(7282618,'393856','Sunset 1','04_thumb.jpg',160, 120,18,'																			photo_7282618.html');
												thumbnails[7286444] = new thumbnail(7286444,'393366','Dandelion clock','028_7AEF080E-24E8-5EC4-4FF6999725447D71_thumb.jpg',160, 114,18,'																			photo_7286444.html');
												thumbnails[7292996] = new thumbnail(7292996,'393364','Avocets feeding','Avocetsfeeding_thumb.jpg',160, 108,18,'																			photo_7292996.html');
												thumbnails[7274218] = new thumbnail(7274218,'393366','Poppy fields','P7017732_thumb.jpg',160, 120,18,'																			photo_7274218.html');
												thumbnails[7282215] = new thumbnail(7282215,'393364','Bewicks Swan with open wings','Bewicks-Swan-with-open-wings_thumb.jpg',160, 120,18,'																			photo_7282215.html');
												thumbnails[7282487] = new thumbnail(7282487,'393365','Gecko','Gig-Binder_thumb.jpg',160, 113,18,'																			photo_7282487.html');
												thumbnails[7282619] = new thumbnail(7282619,'393856','Hot air balloon','06_thumb.jpg',160, 120,18,'																			photo_7282619.html');
												thumbnails[7286445] = new thumbnail(7286445,'393366','White lillies','029_thumb.jpg',160, 120,18,'																			photo_7286445.html');
												thumbnails[7274219] = new thumbnail(7274219,'393366','Clematis','PA061357_thumb.jpg',160, 120,18,'																			photo_7274219.html');
												thumbnails[7282216] = new thumbnail(7282216,'393364','Fighting Grebes','GigBinder_thumb.jpg',160, 107,18,'																			photo_7282216.html');
												thumbnails[7282488] = new thumbnail(7282488,'393365','Lion, male','P4146146_thumb.jpg',160, 113,18,'																			photo_7282488.html');
												thumbnails[7286446] = new thumbnail(7286446,'393366','Pink clemats','049_thumb.jpg',160, 120,18,'																			photo_7286446.html');
												thumbnails[7292998] = new thumbnail(7292998,'393856','Baranco de Alcazar, Spain','BarancodeAlcazarSpain_thumb.jpg',160, 120,18,'																			photo_7292998.html');
												thumbnails[7282217] = new thumbnail(7282217,'393364','Great Horned Owl','Great-Horned-Owljpeg-copy_thumb.jpg',160, 107,18,'																			photo_7282217.html');
												thumbnails[7282489] = new thumbnail(7282489,'393365','Stoat on roof','P4185295_thumb.jpg',160, 116,18,'																			photo_7282489.html');
												thumbnails[7282621] = new thumbnail(7282621,'393366','Giant redwoods','13_thumb.jpg',160, 120,18,'																			photo_7282621.html');
												thumbnails[7286447] = new thumbnail(7286447,'393366','Backlit clematis','050_thumb.jpg',160, 120,18,'																			photo_7286447.html');
												thumbnails[7292999] = new thumbnail(7292999,'393366','Beech Tree,Wales','Beech-Tree,-Wales_thumb.jpg',160, 120,18,'																			photo_7292999.html');
												thumbnails[7274220] = new thumbnail(7274220,'393364','Mating mallards','PB243278crop-2_thumb.jpg',160, 119,18,'																			photo_7274220.html');
												thumbnails[7282218] = new thumbnail(7282218,'393364','Heron with fish','Heron-with-fish_thumb.jpg',160, 120,18,'																			photo_7282218.html');
												thumbnails[7282622] = new thumbnail(7282622,'393856','Wintry tree frame','24_thumb.jpg',160, 120,18,'																			photo_7282622.html');
												thumbnails[7286448] = new thumbnail(7286448,'393366','Purple clematis','051_thumb.jpg',160, 120,18,'																			photo_7286448.html');
												thumbnails[7293000] = new thumbnail(7293000,'393364','Blackbird(f) nest building','Blackbird(f)-nest-building_thumb.jpg',160, 118,18,'																			photo_7293000.html');
												thumbnails[7274221] = new thumbnail(7274221,'393364','Great tit','PB283467_thumb.jpg',160, 113,18,'																			photo_7274221.html');
												thumbnails[7282219] = new thumbnail(7282219,'393364','Herring Gull calling','Herring-Gull-calling_thumb.jpg',160, 120,18,'																			photo_7282219.html');
												thumbnails[7282623] = new thumbnail(7282623,'393856','Winter sunset','28_thumb.jpg',160, 120,18,'																			photo_7282623.html');
												thumbnails[7286449] = new thumbnail(7286449,'393366','Daisy close up','052_thumb.jpg',160, 120,18,'																			photo_7286449.html');
												thumbnails[7293001] = new thumbnail(7293001,'393364','Blackbird(m)','Blackbird(m)_thumb.jpg',160, 115,18,'																			photo_7293001.html');
												thumbnails[7274222] = new thumbnail(7274222,'393364','Robin Satellite','PB293480_thumb.jpg',160, 120,18,'																			photo_7274222.html');
												thumbnails[7282220] = new thumbnail(7282220,'393364','Jackdaws in flight','Jackdawsinflight_thumb.jpg',160, 116,18,'																			photo_7282220.html');
												thumbnails[7282492] = new thumbnail(7282492,'393365','Horse neck','P50967161_thumb.jpg',160, 120,18,'																			photo_7282492.html');
												thumbnails[7282624] = new thumbnail(7282624,'393856','Frozen river, Alaska','Alask-plane-pics-04.tif-twkd007_thumb.jpg',160, 120,18,'																			photo_7282624.html');
												thumbnails[7286450] = new thumbnail(7286450,'393365','Red fox, Alaska','Alaska-19016_thumb.jpg',160, 120,18,'																			photo_7286450.html');
												thumbnails[7293002] = new thumbnail(7293002,'393364','Blackbird (f)','Blackbird_thumb.jpg',160, 120,18,'																			photo_7293002.html');
												thumbnails[7274223] = new thumbnail(7274223,'393364','Nuthatch','PB293557_thumb.jpg',160, 124,18,'																			photo_7274223.html');
												thumbnails[7282222] = new thumbnail(7282222,'393364','Male Pheasant calling','Male Pheasant calling_thumb.jpg',160, 120,18,'																			photo_7282222.html');
												thumbnails[7282493] = new thumbnail(7282493,'393365','Red admiral butterfly','P7288206_thumb.jpg',160, 108,18,'																			photo_7282493.html');
												thumbnails[7282625] = new thumbnail(7282625,'393856','Rock skull, Grand Canyon','BB2A93_thumb.jpg',160, 107,18,'																			photo_7282625.html');
												thumbnails[7286451] = new thumbnail(7286451,'393365','Dolphin Lovers','Dolphin-lovers(Bottlenose)-TIFF-02_thumb.010.jpg',160, 107,18,'																			photo_7286451.html');
												thumbnails[7274224] = new thumbnail(7274224,'393364','Bullfinch female','PB303677_thumb.jpg',160, 115,18,'																			photo_7274224.html');
												thumbnails[7282223] = new thumbnail(7282223,'393364','Mute Swan portrait','Mute-Swan-portrait_thumb.jpg',160, 120,18,'																			photo_7282223.html');
												thumbnails[7286452] = new thumbnail(7286452,'393856','Fig-tree-on-beach,Baja-california,','Fig-tree-on-beach,Baja-california,-Mexico-TIFF-03_thumb.011.jpg',160, 107,18,'																			photo_7286452.html');
												thumbnails[7274225] = new thumbnail(7274225,'393364','Bullfinch male','PB303686_thumb.jpg',160, 120,18,'																			photo_7274225.html');
												thumbnails[7282224] = new thumbnail(7282224,'393364','Blue tit on feeder','P2270560_thumb.jpg',160, 122,18,'																			photo_7282224.html');
												thumbnails[7282627] = new thumbnail(7282627,'393856','Rolling ploughed field','Gig-Binder_75F914F3-24E8-5EC4-4FB9F1182F6682E4_thumb.jpg',160, 120,18,'																			photo_7282627.html');
												thumbnails[7286453] = new thumbnail(7286453,'393856','Cotswolds Frosty field','Frost-pano-10-crpd_thumb.jpg',160, 119,18,'																			photo_7286453.html');
												thumbnails[7293005] = new thumbnail(7293005,'393364','Caracarra flying','Caracarra-flying-from-cardon-cactus_thumb.jpg',160, 103,18,'																			photo_7293005.html');
												thumbnails[7274226] = new thumbnail(7274226,'393364','Dunnock','PB303715_thumb.jpg',160, 120,18,'																			photo_7274226.html');
												thumbnails[7282225] = new thumbnail(7282225,'393364','Male pheasant','P3030961_thumb.jpg',160, 120,18,'																			photo_7282225.html');
												thumbnails[7282628] = new thumbnail(7282628,'393856','Sunset in Holland','GigBinder-entered_thumb.jpg',160, 120,18,'																			photo_7282628.html');
												thumbnails[7286454] = new thumbnail(7286454,'393364','Griffon Vulture in flight','GigBinder_thumb.cat1griffonvulture.jpg',160, 120,18,'																			photo_7286454.html');
												thumbnails[7293006] = new thumbnail(7293006,'393856','Cathorla, Spain','CathorlaSpain_thumb.jpg',160, 120,18,'																			photo_7293006.html');
												thumbnails[7274228] = new thumbnail(7274228,'393364','Greater spotted woodpecker, female','PB303721_thumb.jpg',160, 115,18,'																			photo_7274228.html');
												thumbnails[7282226] = new thumbnail(7282226,'393364','Raven in flight','P3205173_thumb.tif-raven.jpg',160, 112,18,'																			photo_7282226.html');
												thumbnails[7282629] = new thumbnail(7282629,'393856','Rippling rock Ireland','GigBinder_75F91948-24E8-5EC4-4F75EBB6DFEC26A4_thumb.jpg',160, 120,18,'																			photo_7282629.html');
												thumbnails[7293007] = new thumbnail(7293007,'393364','Chaffinch on barbed wire','Chaffinch-on-barbed-wire_thumb.jpg',160, 107,18,'																			photo_7293007.html');
												thumbnails[7274229] = new thumbnail(7274229,'393364','Jay','PB303762_thumb.jpg',160, 120,18,'																			photo_7274229.html');
												thumbnails[7282227] = new thumbnail(7282227,'393364','Heron reflections','P4146078_thumb.jpg',160, 118,18,'																			photo_7282227.html');
												thumbnails[7282498] = new thumbnail(7282498,'394058','Spider on web 1','P93010001_thumb.jpg',160, 112,18,'																			photo_7282498.html');
												thumbnails[7282630] = new thumbnail(7282630,'393856','Misty valley,Ronda, Spain','Misty-valley,-Ronda-13_thumb.jpg',160, 120,18,'																			photo_7282630.html');
												thumbnails[7286456] = new thumbnail(7286456,'393364','Mute Swan sleeping 2','Mute-Swan-sleeping_thumb.jpg',160, 120,18,'																			photo_7286456.html');
												thumbnails[7274230] = new thumbnail(7274230,'393364','Blue tit','PB303771_thumb.jpg',160, 160,18,'																			photo_7274230.html');
												thumbnails[7282228] = new thumbnail(7282228,'393364','Mallard ducklings','P5026464_thumb.jpg',160, 113,18,'																			photo_7282228.html');
												thumbnails[7282499] = new thumbnail(7282499,'394058','Spider on web 2','P9301004_thumb.jpg',160, 120,18,'																			photo_7282499.html');
												thumbnails[7282631] = new thumbnail(7282631,'393856','Rippling lake, Ireland','P1224370_thumb.jpg',160, 117,18,'																			photo_7282631.html');
												thumbnails[7293008] = new thumbnail(7293008,'393856','Cotswold Sunset Rays','CotswoldSunset_thumb.jpg',160, 120,18,'																			photo_7293008.html');
												thumbnails[7282229] = new thumbnail(7282229,'393364','Robin on coconut','P5097036_thumb.jpg',160, 120,18,'																			photo_7282229.html');
												thumbnails[7282500] = new thumbnail(7282500,'394058','Spider on web 3','P9301011_thumb.jpg',160, 128,18,'																			photo_7282500.html');
												thumbnails[7282632] = new thumbnail(7282632,'393856','Sunrays in Nailsworth, UK','P2138233_thumb.jpg',160, 120,18,'																			photo_7282632.html');
												thumbnails[7286458] = new thumbnail(7286458,'393365','Giraffe pattern','P4145979_thumb.jpg',160, 120,18,'																			photo_7286458.html');
												thumbnails[7274231] = new thumbnail(7274231,'393367','Cherington Panorama','Untitled_Panorama1_thumb.jpg',160, 51,18,'																			photo_7274231.html');
												thumbnails[7282230] = new thumbnail(7282230,'393364','Dipper','P5217348-copy_thumb.tif-uncrpd.jpg',160, 120,18,'																			photo_7282230.html');
												thumbnails[7282501] = new thumbnail(7282501,'394058','Spider on web 4','PA021170_thumb.jpg',160, 120,18,'																			photo_7282501.html');
												thumbnails[7282634] = new thumbnail(7282634,'393856','Poppy field in Andalucia, Spain','P4170185_thumb.jpg',160, 120,18,'																			photo_7282634.html');
												thumbnails[7286459] = new thumbnail(7286459,'393366','Raindrops on ladys mantle','P5280262Raindrops-on-leaf_thumb.jpg',160, 120,18,'																			photo_7286459.html');
												thumbnails[7293010] = new thumbnail(7293010,'393364','Dipper Juvenile','DipperJuvenile_thumb.jpg',160, 122,18,'																			photo_7293010.html');
												thumbnails[7274232] = new thumbnail(7274232,'393367','Tetbury panorama','Untitled_Panorama1a_4a_5a_tonemapped_thumb.jpg',160, 83,18,'																			photo_7274232.html');
												thumbnails[7282231] = new thumbnail(7282231,'393364','Greater spotted woodpecker, female','P5287831_thumb.tif-crpd.jpg',160, 116,18,'																			photo_7282231.html');
												thumbnails[7282502] = new thumbnail(7282502,'393365','Common seal 1','PA226480_thumb.jpg',160, 120,18,'																			photo_7282502.html');
												thumbnails[7282635] = new thumbnail(7282635,'393856','Scottish valley','P5026880_1_2_tonemapped_thumb.jpg',160, 120,18,'																			photo_7282635.html');
												thumbnails[7293011] = new thumbnail(7293011,'393365','Dolphins jumping ','DolphinsjumpingPacificWhiteSided_thumb.jpg',160, 95,18,'																			photo_7293011.html');
												thumbnails[7282503] = new thumbnail(7282503,'393365','Common seal swimming','PA226491_thumb.jpg',160, 120,18,'																			photo_7282503.html');
												thumbnails[7282636] = new thumbnail(7282636,'393856','Welsh river','P6020535_thumb.jpg',160, 120,18,'																			photo_7282636.html');
												thumbnails[7293012] = new thumbnail(7293012,'393364','Eagle Owl from behind','Eagle-Owl-from-behind_thumb.jpg',160, 120,18,'																			photo_7293012.html');
												thumbnails[7282233] = new thumbnail(7282233,'393365','Hedgehog','PA131635-02_thumb.jpg',160, 115,18,'																			photo_7282233.html');
												thumbnails[7282504] = new thumbnail(7282504,'393365','Spanish Ibex','_B273281_thumb.jpg',160, 124,18,'																			photo_7282504.html');
												thumbnails[7282637] = new thumbnail(7282637,'393856','Sunflower field, Spain 1','P8068764_thumb.jpg',160, 120,18,'																			photo_7282637.html');
												thumbnails[7286462] = new thumbnail(7286462,'394058','Web 1','PA021126_thumb.jpg',160, 120,18,'																			photo_7286462.html');
												thumbnails[7293013] = new thumbnail(7293013,'393364','Eagle Owl','Eagle-Owl_thumb.jpg',160, 127,18,'																			photo_7293013.html');
												thumbnails[7282234] = new thumbnail(7282234,'393364','Buzzard 1','PA201894_thumb.jpg',160, 118,18,'																			photo_7282234.html');
												thumbnails[7282638] = new thumbnail(7282638,'393856','Sunflower field, Spain 2','P8068766_thumb.jpg',160, 120,18,'																			photo_7282638.html');
												thumbnails[7286463] = new thumbnail(7286463,'394058','Web 2','PA021142_thumb.jpg',160, 120,18,'																			photo_7286463.html');
												thumbnails[7293014] = new thumbnail(7293014,'393364','Eagle Owl pouncing','EagleOwlpouncing_thumb.jpg',160, 120,18,'																			photo_7293014.html');
												thumbnails[7282235] = new thumbnail(7282235,'393364','Rookery','PB141364_thumb.jpg',160, 109,18,'																			photo_7282235.html');
												thumbnails[7282639] = new thumbnail(7282639,'393856','Spanish soil','PA166327_thumb.jpg',160, 120,18,'																			photo_7282639.html');
												thumbnails[7286464] = new thumbnail(7286464,'394058','Web 3','PA021153_thumb.jpg',160, 117,18,'																			photo_7286464.html');
												thumbnails[7293015] = new thumbnail(7293015,'393366','Ent Tree','EntTree_thumb.jpg',160, 120,18,'																			photo_7293015.html');
												thumbnails[7282640] = new thumbnail(7282640,'393856','Ronda sunset','PA166349_thumb.jpg',160, 120,18,'																			photo_7282640.html');
												thumbnails[7286465] = new thumbnail(7286465,'394058','Web 4','PA021157_thumb.jpg',160, 120,18,'																			photo_7286465.html');
												thumbnails[7293016] = new thumbnail(7293016,'393364','Flying Bald Eagle Alaska','Flying-Bald-Eagle-Alaska_thumb.jpg',160, 113,18,'																			photo_7293016.html');
												thumbnails[7282237] = new thumbnail(7282237,'393364','Red Kite in flight','Red-Kite-in-flight_thumb.jpg',160, 114,18,'																			photo_7282237.html');
												thumbnails[7282641] = new thumbnail(7282641,'393856','Scottish waterfall','PA201679_thumb.jpg',160, 120,18,'																			photo_7282641.html');
												thumbnails[7293017] = new thumbnail(7293017,'393366','Fungus tomatoe','Fungus-tomatoe-twkd01_thumb.jpg',160, 160,18,'																			photo_7293017.html');
												thumbnails[7282238] = new thumbnail(7282238,'393365','Stoat on roof','Stoat-on-roof_thumb.jpg',160, 111,18,'																			photo_7282238.html');
												thumbnails[7282642] = new thumbnail(7282642,'393856','Twilight landscape','PA242371_2_5_tonemappedptspd_thumb.jpg',160, 120,18,'																			photo_7282642.html');
												thumbnails[7293199] = new thumbnail(7293199,'393367','Sierra de Contraviesa, Andalucia','SierradeContraviesaAndalucia1_thumb.jpg',160, 75,18,'																			photo_7293199.html');
												thumbnails[7303012] = new thumbnail(7303012,'393366','Canterbury bells','P9199562_thumb.jpg',160, 122,18,'																			photo_7303012.html');
												thumbnails[7282239] = new thumbnail(7282239,'393364','swan feather','swan-feather_thumb.jpg',160, 120,18,'																			photo_7282239.html');
												thumbnails[7282643] = new thumbnail(7282643,'393856','Sunset Cotswolds 1','PB140938_thumb.jpg',160, 120,18,'																			photo_7282643.html');
												thumbnails[7286468] = new thumbnail(7286468,'393366','Frosty silver birch','PC073908b_thumb.jpg',160, 120,18,'																			photo_7286468.html');
												thumbnails[7293019] = new thumbnail(7293019,'393365','Starfish mating, Vancouver island','GiantStarfishmatingVancouverisland_thumb.jpg',160, 106,18,'																			photo_7293019.html');
												thumbnails[7303013] = new thumbnail(7303013,'393366','Clematis close up','P9199605_thumb.jpg',160, 120,18,'																			photo_7303013.html');
												thumbnails[7282240] = new thumbnail(7282240,'393364','Mute swan in traffic','TruckPB141073-copy_thumb.jpg',160, 120,18,'																			photo_7282240.html');
												thumbnails[7282644] = new thumbnail(7282644,'393856','Snowy Spanish Valley','PB301552_thumb.jpg',160, 120,18,'																			photo_7282644.html');
												thumbnails[7303014] = new thumbnail(7303014,'393366','Fungal patterns','PA290645_thumb.jpg',160, 120,18,'																			photo_7303014.html');
												thumbnails[7282241] = new thumbnail(7282241,'393364','Eagle owl','Wildlife-book12_thumb.jpg',160, 120,18,'																			photo_7282241.html');
												thumbnails[7282645] = new thumbnail(7282645,'393856','Misty sunset','PC237595_thumb.jpg',160, 120,18,'																			photo_7282645.html');
												thumbnails[7286470] = new thumbnail(7286470,'393364','Resting-duck,-Autumn,Slimbridge','Resting-duck,-Autumn,Slimbridge_thumb.jpg',160, 120,18,'																			photo_7286470.html');
												thumbnails[7293021] = new thumbnail(7293021,'393364','Greater Spotted Woodpecker with juv.','Greater-Spotted-Woodpecker-with-juv-at-nest_thumb.jpg',160, 107,18,'																			photo_7293021.html');
												thumbnails[7303015] = new thumbnail(7303015,'393366','Pink Rose & raindrops','PinkRose&raindrops_thumb.jpg',160, 120,18,'																			photo_7303015.html');
												thumbnails[7282646] = new thumbnail(7282646,'393856','Poppies,Granada, Spain','Poppys-in-field-Granada-Spain_thumb.jpg',160, 120,18,'																			photo_7282646.html');
												thumbnails[7286471] = new thumbnail(7286471,'393367','Snow panoramic field sunset','Snow-pano-8a_thumb.jpg',160, 95,18,'																			photo_7286471.html');
												thumbnails[7293022] = new thumbnail(7293022,'393364','Griffon Vulture','Griffon-Vulture-01_thumb.jpg',160, 120,18,'																			photo_7293022.html');
												thumbnails[7303016] = new thumbnail(7303016,'393366','Raindrops on ladies mantle','Raindropsonladiesmantle_thumb.jpg',160, 120,18,'																			photo_7303016.html');
												thumbnails[7282647] = new thumbnail(7282647,'393856','Desert Rainbow, Baja','Rainbow-in-desert-Baja-california_thumb.jpg',160, 107,18,'																			photo_7282647.html');
												thumbnails[7286472] = new thumbnail(7286472,'393364','Swan salutation','Swan-salutation,open-wings-TIFF-010_thumb.020.jpg',160, 107,18,'																			photo_7286472.html');
												thumbnails[7293023] = new thumbnail(7293023,'393856','Misty field, Cotswolds','H&S-Auto_thumb.jpg',160, 120,18,'																			photo_7293023.html');
												thumbnails[7293214] = new thumbnail(7293214,'393367','Stroud Valley mist','Untitled_Panorama11_thumb.jpg',160, 76,18,'																			photo_7293214.html');
												thumbnails[7303017] = new thumbnail(7303017,'393366','Rubber plant leaf','Rubberplantleaf_thumb.jpg',160, 120,18,'																			photo_7303017.html');
												thumbnails[7282648] = new thumbnail(7282648,'393856','Rock and tree, Sedona, Arizona','Rock&TreesilouetteSedonaArizona026_thumb.jpg',160, 107,18,'																			photo_7282648.html');
												thumbnails[7293024] = new thumbnail(7293024,'393365','Hedgehog','Hedgehogs10_thumb.jpg',160, 124,18,'																			photo_7293024.html');
												thumbnails[7293219] = new thumbnail(7293219,'393367','Welsh Valley','WelshValley1_thumb.jpg',160, 67,18,'																			photo_7293219.html');
												thumbnails[7282649] = new thumbnail(7282649,'393856','Sunset, Sedona,Arizona,','Sunset-,-Snebbly-hill-Sedona,-Arizona,-USA-TIFF-09_thumb..jpg',160, 105,18,'																			photo_7282649.html');
												thumbnails[7293025] = new thumbnail(7293025,'393364','Jackdaw','Jackdaw_thumb.jpg',160, 113,18,'																			photo_7293025.html');
												thumbnails[7293221] = new thumbnail(7293221,'393367',' Autumn trees','_Autumn-trees1_thumb.jpg',160, 64,18,'																			photo_7293221.html');
												thumbnails[7303021] = new thumbnail(7303021,'393856','Frost patterns','Frostpatterns_thumb.jpg',160, 120,18,'																			photo_7303021.html');
												thumbnails[7282650] = new thumbnail(7282650,'393856','Pyrennees','_5015379_thumb.jpg',160, 120,18,'																			photo_7282650.html');
												thumbnails[7293026] = new thumbnail(7293026,'393364','Little Owl','Little-Owl_thumb.jpg',160, 120,18,'																			photo_7293026.html');
												thumbnails[7303008] = new thumbnail(7303008,'393367','Alpujarras snowy ruin','Alpujarrassnomyruin4_thumb.jpg',160, 58,18,'																			photo_7303008.html');
												thumbnails[7282651] = new thumbnail(7282651,'393856','Spanish landscape, Cathorla','_A273254_thumb.jpg',160, 106,18,'																			photo_7282651.html');
												thumbnails[7303010] = new thumbnail(7303010,'393367','Ireland Atlantic coast','IrelandAtlanticcoast_thumb.jpg',160, 55,18,'																			photo_7303010.html');
												thumbnails[7282652] = new thumbnail(7282652,'393856','Sunset over sea, Almeria','_C293635_thumb.jpg',160, 119,18,'																			photo_7282652.html');
												thumbnails[7293028] = new thumbnail(7293028,'393856','Mallaig from Skye ferry','MallaigfromSkyeferry_thumb.jpg',160, 120,18,'																			photo_7293028.html');
												thumbnails[7303011] = new thumbnail(7303011,'393367','Ireland West coast, Sligo','IrelandWestcoast_thumb.jpg',160, 100,18,'																			photo_7303011.html');
												thumbnails[7293030] = new thumbnail(7293030,'393364','Mallard duckling','Mallard-duckling_thumb.jpg',160, 113,18,'																			photo_7293030.html');
												thumbnails[7293031] = new thumbnail(7293031,'393364','Mexican standoff','Mexican-standoff_thumb.jpg',160, 107,18,'																			photo_7293031.html');
												thumbnails[7293032] = new thumbnail(7293032,'393365','Moose mum, Alaska','MoosesmumAlaska_thumb.jpg',160, 120,18,'																			photo_7293032.html');
												thumbnails[7293034] = new thumbnail(7293034,'393856','Oseling Sierra Nevada Spain','OselingSierraNevadaSpain_thumb.jpg',160, 120,18,'																			photo_7293034.html');
												thumbnails[7293035] = new thumbnail(7293035,'393856','Oselling sunset','Osellingsunset_thumb.jpg',160, 120,18,'																			photo_7293035.html');
												thumbnails[7293036] = new thumbnail(7293036,'393365','Horse eye','P1013544_thumb.jpg',160, 120,18,'																			photo_7293036.html');
												thumbnails[7293038] = new thumbnail(7293038,'393366','Autumn trees','PB032674_thumb.jpg',160, 120,18,'																			photo_7293038.html');
												thumbnails[7293039] = new thumbnail(7293039,'393856','Stroud Valley','PB162785_thumb.jpg',160, 120,18,'																			photo_7293039.html');
												thumbnails[7293040] = new thumbnail(7293040,'393366','Alder catkins','PB162843_thumb.jpg',160, 131,18,'																			photo_7293040.html');
												thumbnails[7293041] = new thumbnail(7293041,'393366','Teasel','PB243290_thumb.jpg',160, 120,18,'																			photo_7293041.html');
												thumbnails[7293042] = new thumbnail(7293042,'393366','Frosty leaves','PC073956_thumb.jpg',160, 120,18,'																			photo_7293042.html');
												thumbnails[7293043] = new thumbnail(7293043,'393366','Frosty beech','PC074021_thumb.jpg',160, 120,18,'																			photo_7293043.html');
												thumbnails[7293044] = new thumbnail(7293044,'393856','Winter\'s gate','PC074045_thumb.jpg',160, 120,18,'																			photo_7293044.html');
												thumbnails[7293201] = new thumbnail(7293201,'393365','Sika Deer female','SikaDeerfemale1_thumb.jpg',160, 120,18,'																			photo_7293201.html');
												thumbnails[7293045] = new thumbnail(7293045,'393856','Frosty oak sunset','PC074063_4_5_6_7_tonemapped_thumb.jpg',160, 120,18,'																			photo_7293045.html');
												thumbnails[7293046] = new thumbnail(7293046,'393856','Windmill and frosty tree','PC084190_thumb.jpg',160, 120,18,'																			photo_7293046.html');
												thumbnails[7293047] = new thumbnail(7293047,'393856','Frost covered tree','PC084206_thumb.jpg',160, 123,18,'																			photo_7293047.html');
												thumbnails[7293048] = new thumbnail(7293048,'393856','Cotswold winter field','PC084211_thumb.jpg',160, 120,18,'																			photo_7293048.html');
												thumbnails[7293049] = new thumbnail(7293049,'393856','Frost covered tree','PC084242_thumb.jpg',160, 120,18,'																			photo_7293049.html');
												thumbnails[7293050] = new thumbnail(7293050,'393856','Gloucestershire field in winter','PC084246_thumb.jpg',160, 120,18,'																			photo_7293050.html');
												thumbnails[7293208] = new thumbnail(7293208,'393365','Stella seals','Stellaseals1_thumb.jpg',160, 120,18,'																			photo_7293208.html');
												thumbnails[7293054] = new thumbnail(7293054,'393856','Up in the treetops','PC084328_29_30_31_32_tonemapped03ptmx-01_thumb.jpg',160, 120,18,'																			photo_7293054.html');
												thumbnails[7293210] = new thumbnail(7293210,'393856','Sunset Skye','SunsetSkye1_thumb.jpg',160, 120,18,'																			photo_7293210.html');
												thumbnails[7293217] = new thumbnail(7293217,'393856','Waterfall Pyrenees','waterfall--Pyrenees-321_thumb.jpg',160, 120,18,'																			photo_7293217.html');
												thumbnails[7293056] = new thumbnail(7293056,'393366','Frosty acer leaves','PC084415_thumb.jpg',160, 120,18,'																			photo_7293056.html');
												thumbnails[7293057] = new thumbnail(7293057,'393366','Chestnut leaves','PC084466_thumb.jpg',160, 120,18,'																			photo_7293057.html');
												thumbnails[7293058] = new thumbnail(7293058,'393856','Yew tree sunset','PC084496_497_498_499_500_tonemapped_thumb.jpg',160, 119,18,'																			photo_7293058.html');
												thumbnails[7293059] = new thumbnail(7293059,'393364','Robin on feeder','PC104569_thumb.jpg',160, 115,18,'																			photo_7293059.html');
												thumbnails[7293060] = new thumbnail(7293060,'393365','Peacock Butterfly','PeacockButterfly_thumb.jpg',160, 113,18,'																			photo_7293060.html');
												thumbnails[7293061] = new thumbnail(7293061,'393364','Pheasant male in snow','Pheasant-male-in-snow_thumb.jpg',160, 120,18,'																			photo_7293061.html');
												thumbnails[7293062] = new thumbnail(7293062,'393364','Pintail duck in flight','Pintail-duck-(Anus-acuta)-in-flightcrpd_thumb.jpg',160, 108,18,'																			photo_7293062.html');
												thumbnails[7293064] = new thumbnail(7293064,'393364','Ravens playing','Ravens-playing_thumb.jpg',160, 112,18,'																			photo_7293064.html');
												thumbnails[7293066] = new thumbnail(7293066,'393365','Red Stag','RedStag_thumb.jpg',160, 120,18,'																			photo_7293066.html');
												thumbnails[7293204] = new thumbnail(7293204,'393365','Snakes sunning','Snakessunning1_thumb.jpg',160, 113,18,'																			photo_7293204.html');
												thumbnails[7293067] = new thumbnail(7293067,'393364','Robin on alert','Robin-on-alert_thumb.jpg',160, 120,18,'																			photo_7293067.html');
												thumbnails[7293175] = new thumbnail(7293175,'393366','P4169066','P4169066_3E6ED63B-1EC9-DFB6-09BF4CF3BA817D57_thumb.jpg',160, 120,18,'																			photo_7293175.html');
												thumbnails[7293185] = new thumbnail(7293185,'393364','Rook','Rook1_thumb.jpg',160, 120,18,'																			photo_7293185.html');
												thumbnails[7293187] = new thumbnail(7293187,'395045','Rook portrait','Rookportrait1_thumb.jpg',160, 160,18,'																			photo_7293187.html');
												thumbnails[7293197] = new thumbnail(7293197,'393856','Sierra Nevada, Spain','Sierra-Nevada,-Spain1_thumb.jpg',160, 120,18,'																			photo_7293197.html');
												thumbnails[7293189] = new thumbnail(7293189,'393856','Sacred threshing circle Sierra Nevada Spain','SacredthreshingcircleSierraNevadaSpain1_thumb.jpg',160, 120,18,'																			photo_7293189.html');
												thumbnails[7293193] = new thumbnail(7293193,'393365','Seaotter, Alaska','Seaotter1_thumb.jpg',160, 99,18,'																			photo_7293193.html');
												thumbnails[7293195] = new thumbnail(7293195,'393364','Secretary bird','Secretary-bird1_thumb.jpg',160, 120,18,'																			photo_7293195.html');
												thumbnails[7303018] = new thumbnail(7303018,'393364','Common tern','_5125734_thumb.jpg',160, 120,18,'																			photo_7303018.html');
												thumbnails[7293003] = new thumbnail(7293003,'395045','Burrowing Owl','Burrowing-Owl_thumb.jpg',160, 225,18,'																			photo_7293003.html');
												thumbnails[7293009] = new thumbnail(7293009,'395045','Cumulus','Cumulus_thumb.jpg',160, 213,18,'																			photo_7293009.html');
												thumbnails[7293018] = new thumbnail(7293018,'395045','GiantStarfish','GiantStarfish_thumb.jpg',160, 246,18,'																			photo_7293018.html');
												thumbnails[7293033] = new thumbnail(7293033,'395045','Moss covered birch','Moss-covered-birch_thumb.jpg',160, 413,18,'																			photo_7293033.html');
												thumbnails[7293052] = new thumbnail(7293052,'395045','Snow buds','PC084305_thumb.jpg',160, 160,18,'																			photo_7293052.html');
												thumbnails[7293004] = new thumbnail(7293004,'395045','Buzzard in flight','Buzzard-in-flight-_thumb.jpg',160, 226,18,'																			photo_7293004.html');
												thumbnails[7293027] = new thumbnail(7293027,'395045','Lynx','Lynx_thumb.jpg',160, 231,18,'																			photo_7293027.html');
												thumbnails[7293051] = new thumbnail(7293051,'395045','Backlit frosted tree','PC084250_thumb.jpg',160, 213,18,'																			photo_7293051.html');
												thumbnails[7293053] = new thumbnail(7293053,'395045','Frosty catkins','PC084306_thumb.jpg',160, 160,18,'																			photo_7293053.html');
												thumbnails[7282480] = new thumbnail(7282480,'395045','Welsh mountain goat','01_thumb.jpg',160, 213,18,'																			photo_7282480.html');
												thumbnails[7293020] = new thumbnail(7293020,'393364','Great Horned Owls','Great-Horned-Owls_thumb.jpg',160, 160,18,'																			photo_7293020.html');
												thumbnails[7293055] = new thumbnail(7293055,'395045','Frosty redwood','PC084351_thumb.jpg',160, 232,18,'																			photo_7293055.html');
												thumbnails[7293191] = new thumbnail(7293191,'395045','Sealion sunning, Monterey','SealionportraitMonterey1_thumb.jpg',160, 227,18,'																			photo_7293191.html');
												thumbnails[7293063] = new thumbnail(7293063,'393364','Raven portrait','Raven-portrait_thumb.jpg',160, 160,18,'																			photo_7293063.html');
												thumbnails[7303009] = new thumbnail(7303009,'395045','Dragon tree','Dragontree_thumb.jpg',160, 167,18,'																			photo_7303009.html');
												thumbnails[7293065] = new thumbnail(7293065,'395045','Red Kite portrait','Red-Kite-portrait_thumb.jpg',160, 228,18,'																			photo_7293065.html');
												thumbnails[7293206] = new thumbnail(7293206,'395045','Snowy Owl portrait','Snowy-Owl-portrait1_thumb.jpg',160, 213,18,'																			photo_7293206.html');
												thumbnails[7282495] = new thumbnail(7282495,'395045','Butterfly on Buddlehia','P7288220_thumb.jpg',160, 225,18,'																			photo_7282495.html');
												thumbnails[7282486] = new thumbnail(7282486,'395045','Damsel fly silouette','Damselflysilouette_thumb.jpg',160, 213,18,'																			photo_7282486.html');
												thumbnails[7286455] = new thumbnail(7286455,'395045','Reeds reflected','GigBinder_7AEF21BF-24E8-5EC4-4FD22C6438FCD9AB_thumb.jpg',160, 213,18,'																			photo_7286455.html');
												thumbnails[7286439] = new thumbnail(7286439,'395045','Osprey in flight','003002_thumb.jpg',160, 239,18,'																			photo_7286439.html');
												thumbnails[7286457] = new thumbnail(7286457,'395045','Open red tulip','P4065571_thumb.jpg',160, 213,18,'																			photo_7286457.html');
												thumbnails[7292997] = new thumbnail(7292997,'395045','Bald Eagle Alaska','BaldEagleAlaska_thumb.jpg',160, 213,18,'																			photo_7292997.html');
												thumbnails[7286460] = new thumbnail(7286460,'395045','Single reed reflection','P7041025_thumb.jpg',160, 213,18,'																			photo_7286460.html');
												thumbnails[7282232] = new thumbnail(7282232,'393364','Greater spotted woodpecker, portrait','P5297927-copy_thumb.jpg',160, 177,18,'																			photo_7282232.html');
												thumbnails[7286461] = new thumbnail(7286461,'395045','Backlit chestnut leaf','P7097767_thumb.jpg',160, 213,18,'																			photo_7286461.html');
												thumbnails[7293293] = new thumbnail(7293293,'395045','River rocks Yosemite','RiverrocksYosemite_thumb.jpg',160, 241,18,'																			photo_7293293.html');
												thumbnails[7282236] = new thumbnail(7282236,'393364','Chaffinch, male in snow','PB303777b_thumb.jpg',160, 160,18,'																			photo_7282236.html');
												thumbnails[7286466] = new thumbnail(7286466,'393364','Buzzard on prey','PA201929_thumb.jpg',160, 160,18,'																			photo_7286466.html');
												thumbnails[7286467] = new thumbnail(7286467,'395045','Japanese Acer, winter','PC073879_thumb.jpg',160, 213,18,'																			photo_7286467.html');
												thumbnails[7286469] = new thumbnail(7286469,'395045','Pelican portrait,Monterey,California','Pelican-portrait,-Monterey,California-TIFF-06_thumb.015.jpg',160, 239,18,'																			photo_7286469.html');
												thumbnails[7286473] = new thumbnail(7286473,'395045','Westonbirt floodlit trees','_C213423_thumb.jpg',160, 213,18,'																			photo_7286473.html');
												thumbnails[7293212] = new thumbnail(7293212,'395045','Sunset Tintagel Cornwall','SunsetTintagelCornwall1_thumb.jpg',160, 242,18,'																			photo_7293212.html');

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  					galleries[393364] = new gallery(393364,'7282237','Birds','gallery',[7282209,7286438,7282210,7282211,7286440,7282212,7286441,7282213,7274216,7282214,7286443,7292995,7292996,7282215,7282216,7282217,7274220,7282218,7293000,7274221,7282219,7293001,7274222,7282220,7293002,7274223,7282222,7274224,7282223,7274225,7282224,7293005,7274226,7282225,7286454,7274228,7282226,7293007,7274229,7282227,7286456,7274230,7282228,7282229,7282230,7293010,7282231,7293012,7293013,7282234,7293014,7282235,7293016,7282237,7282239,7282240,7282241,7286470,7293021,7293022,7286472,7293025,7293026,7293030,7293031,7293059,7293061,7293062,7293064,7293067,7293185,7293195,7303018,7293020,7293063,7282232,7282236,7286466],0, 0, '', '																																																																																																							gallery_393364.html',0,0);
				  					galleries[393365] = new gallery(393365,'7282484','Animals','gallery',[7282481,7282482,7282483,7282484,7282485,7282487,7282488,7282489,7282492,7286450,7282493,7286451,7286458,7282502,7293011,7282503,7282233,7282504,7282238,7293019,7293024,7293032,7293036,7293201,7293208,7293060,7293066,7293204,7293193],0, 0, '', '																																																																																																							gallery_393365.html',0,0);
				  					galleries[393366] = new gallery(393366,'7274218','Plants','gallery',[7292990,7286442,7292994,7274217,7286444,7274218,7286445,7274219,7286446,7282621,7286447,7292999,7286448,7286449,7286459,7293015,7293017,7303012,7286468,7303013,7303014,7303015,7303016,7303017,7293038,7293040,7293041,7293042,7293043,7293056,7293057,7293175],0, 0, '', '																																																																																																							gallery_393366.html',0,0);
				  					galleries[393856] = new gallery(393856,'7282624','Landscapes','gallery',[7282612,7282613,7292991,7282614,7292992,7282615,7292993,7282616,7282617,7282618,7282619,7292998,7282622,7282623,7282624,7282625,7286452,7282627,7286453,7282628,7293006,7282629,7282630,7282631,7293008,7282632,7282634,7282635,7282636,7282637,7282638,7282639,7282640,7282641,7282642,7282643,7282644,7282645,7282646,7282647,7293023,7282648,7282649,7303021,7282650,7282651,7282652,7293028,7293034,7293035,7293039,7293044,7293045,7293046,7293047,7293048,7293049,7293050,7293054,7293210,7293217,7293058,7293197,7293189],0, 0, '', '																																																																																																							gallery_393856.html',0,0);
				  					galleries[395045] = new gallery(395045,'7293187','Portait misc.','gallery',[7293187,7293003,7293009,7293018,7293033,7293052,7293004,7293027,7293051,7293053,7282480,7293055,7293191,7303009,7293065,7293206,7282495,7282486,7286455,7286439,7286457,7292997,7286460,7286461,7293293,7286467,7286469,7286473,7293212],0, 0, '', '																																																																																																							gallery_395045.html',0,0);
				  					galleries[393367] = new gallery(393367,'7274213','Panaromics','gallery',[7274211,7274212,7274213,7274214,7274231,7274232,7293199,7286471,7293214,7293219,7293221,7303008,7303010,7303011],0, 0, '', '																																																																																																							gallery_393367.html',0,0);
				  					galleries[394058] = new gallery(394058,'7282501','Latest','gallery',[7282498,7282499,7282500,7282501,7286462,7286463,7286464,7286465],0, 0, '', '																																																																																																							gallery_394058.html',0,0);
/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = new Object();
imageSets[238935] = '7317786';
imageSets[72724] = '7303021,7303018,7303017,7303016,7303015,7303014,7303013,7303012,7303011,7303010,7303009,7303008,7293221,7293219,7293217,7293214,7293210,7293208,7293204,7293201,7293199,7293197,7293195,7293193,7293189,7293187,7293185,7293067,7293066,7293064,7293063,7293062,7293061,7293060,7293059,7293058,7293057,7293056,7293054,7293053,7293052,7293050,7293049,7293048,7293047,7293046,7293045,7293044,7293043,7293042,7293041,7293040,7293039,7293036,7293035,7293034,7293032,7293031,7293030,7293028,7293026,7293025,7293024,7293023,7293022,7293021,7293020,7293019,7293017,7293015,7293014,7293013,7293012,7293011,7293010,7293008,7293007,7293006,7293005,7293002,7293001,7293000,7292999,7292998,7292996,7292995,7292994,7292993,7292992,7292991,7292990,7286472,7286471,7286470,7286468,7286466,7286465,7286464,7286463,7286462,7286459,7286458,7286456,7286455,7286454,7286453,7286452,7286451,7286450,7286449,7286448,7286447,7286445,7286444,7286443,7286442,7286441,7286440,7286438,7282652,7282651,7282650,7282649,7282648,7282647,7282646,7282645,7282644,7282643,7282642,7282641,7282640,7282639,7282638,7282637,7282636,7282635,7282634,7282632,7282631,7282630,7282629,7282628,7282627,7282625,7282624,7282623,7282622,7282621,7282619,7282618,7282617,7282616,7282615,7282614,7282613,7282612,7282504,7282503,7282502,7282501,7282500,7282499,7282498,7282495,7282493,7282492,7282489,7282488,7282487,7282486,7282485,7282484,7282483,7282482,7282481,7282241,7282240,7282239,7282238,7282237,7282236,7282235,7282234,7282233,7282232,7282231,7282230,7282229,7282228,7282227,7282226,7282225,7282224,7282223,7282222,7282220,7282219,7282218,7282217,7282216,7282215,7282214,7282213,7282212,7282211,7282210,7282209,7274232,7274231,7274230,7274229,7274228,7274226,7274225,7274224,7274223,7274222,7274221,7274220,7274219,7274218,7274217,7274216,7274214,7274213,7274212,7274211';
imageSets[1] = '7282217';
imageSets[2] = '7293187,7282624,7282501,7282484,7282237,7274218,7274213';
imageSets[3] = '7282209';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/gigbinder/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/gigbinder/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/gigbinder/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/gigbinder/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/gigbinder/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/gigbinder/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/gigbinder/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/gigbinder/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/gigbinder/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/gigbinder/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/gigbinder/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/gigbinder/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/gigbinder/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/gigbinder/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/gigbinder/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://admin2.clikpic.com/gigbinder/images';
		break;
	}
		switch (server_id) {
		case 33:
		val = 'http://www8.clikpic.com/gigbinder/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/gigbinder/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/gigbinder/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/gigbinder/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/gigbinder/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/gigbinder/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 = 'An Eye on Nature: ' + 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>Gig Binder </strong>' + this.photographer + '</p>';
	}
					
	temp = temp + this.fnGetPaymentInfo();
				if (temp != '') {
		temp = temp + '<div class="spacer"></div>';
	}
	return temp;
};

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
photo.prototype.fnGetPaymentInfo = function(){
	var temp = '';
	if (this.item_price !== '') {
																		temp = temp + '<p>Buy now using PayPal:</p>';
				temp = temp + '<p class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> 				&pound;' + (this.item_price).toFixed(2) + '</p>';
		var item_name  = this.purchase_instruction;
		var amount = (this.item_price).toFixed(2);
		var item_option  = 0;
	}
	else if (this.payment_groups_id !== '') {
		temp = temp + '<p>Buy this print online:</p>';
				temp = temp + '<form id="paymentOptions" style="margin:0px;border:0px;" name="paymentOptions">';
											temp = temp + '<select class="paymentlink" name="payment_options_id" onchange="updateItemValues(document.forms.paymentForm,this.form.payment_options_id.options[this.form.payment_options_id.options.selectedIndex].value);">';
				
		temp = temp + getPaymentOptions(this.payment_groups_id);
		temp = temp + '</select>';
		temp = temp + '</form>';
				var item_option  = paymentGroups[this.payment_groups_id].options[0];
		if(paymentOptions[item_option]){
			var item_name  = paymentOptions[item_option].payment_option;
			var amount =  paymentOptions[item_option].price;
		}
			}
	else {
				
	}
	if (this.item_price !== '' || this.payment_groups_id !== '') {
																				temp = temp + '<form id="paymentForm" style="margin:0px;border:0px;" name="paymentForm" target="_blank" action="https://www.paypal.com/cgi-bin/webscr" method="post">';
	temp = temp + '<input type="hidden" name="item_name" value="'+item_name+'">';
								ref = '';
				if(this.photo_ref != ''){
					ref = this.photo_ref+' - '+this.caption;
				}
				else{
					ref = this.id+' - '+this.caption;
				}
				price = amount;					temp = temp + '<input type="hidden" name="cmd" value="_cart">';
	temp = temp + '<input type="hidden" name="business" value="gigbinder@yahoo.co.uk">';
	temp = temp + '<input type="hidden" name="currency_code" value="GBP">';
	temp = temp + '<input type="hidden" name="add" value="1">';
					temp = temp + '<input type="hidden" name="amount" value="'+amount+'">';
	temp = temp + '<input type="hidden" name="item_number" value="'+ref+'">';
					temp = temp + '<input type=\"Submit\" value=\"Add to cart\" id=\"paymentAddButton\" class=\"button\" onmouseover=\"this.className=\'buttonHi\';\" onmouseout=\"this.className=\'button\';\">';
									temp = temp + '</form>';
								temp = temp + '<form id="paymentCartForm" style="margin:0px;" name="paymentCartForm" target="_blank" action="https://www.paypal.com/cgi-bin/webscr" method="post">';
	temp = temp + '<input type="hidden" name="cmd" value="_cart">';
	temp = temp + '<input type="hidden" name="business" value="gigbinder@yahoo.co.uk">';
	temp = temp + '<input type="hidden" name="display" value="1">';
	temp = temp + '<input type=\"Submit\" value=\"View cart\" id=\"paymentViewButton\" class=\"button\" onmouseover=\"this.className=\'buttonHi\';\" onmouseout=\"this.className=\'button\';\">';
	temp = temp + '</form>';
							temp = temp + '<div class="clearing">&nbsp;</div>';
	}
	return temp;};

/***************************************************************************
* Pick a photo at random from the featured images of a gallery.            *
* Gallery_id = id of gallery to choose,                                    *
* img = reference to html image in                                         *
* which to show image                                                      *
***************************************************************************/
function showGalleryImage(gallery_id, img, updateLink) {
		
	if(img){
	      if (location.hash.match('galleries_id=' + gallery_id) && (imageID = location.hash.match('.*photos_id=(.+)$'))) {
        imageID = imageID[1];
      } else {
			  imageID = randomListVal(galleries[gallery_id].featured_images);
      }
							
			if (imageID != 0) {
				img.src = thumbnails[imageID].src;
				img.width = thumbnails[imageID].width;
				img.height = thumbnails[imageID].height;
				img.alt = galleries[gallery_id].title;
        if (updateLink) {
          $(img).parent().attr({            href: thumbnails[imageID].fnGalleryLink(gallery_id),            title: galleries[gallery_id].title          });
        }
							}
										}
}

/***************************************************************************
* If we have dynamic HTML, replace the galleries link with a list that     *
* doesn't include thecurrent gallery                                       *
***************************************************************************/
function showGalleries(gallery_id) {
		
	
	if (!basic) {
		temp = '';
		for (i = 0; i < galleries.length; i++) {
						
			
			if (galleries[i].id != gallery_id) {
								
				if (temp != '') {
					temp = temp + ' | ';
				}
				temp = temp + '<a href="' + galleries[i].section_code + '_' + galleries[i].id + '.html">' + galleries[i].title + '</a>';
			}
		}
		document.all.galleryLinks.innerHTML = 'Other galleries: ' + temp;
	}
}

			

