window.thumbnails = {};
															thumbnails[528143] = clik.newPhoto({"id":528143,"src":"me1_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":163});
															thumbnails[1710500] = clik.newPhoto({"id":1710500,"src":"HSI_000_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":130});
															thumbnails[6490060] = clik.newPhoto({"id":6490060,"src":"Bunce_HSI_064_Sc_thumb.jpg","galleries_id":41270,"server_id":15,"link":"photo_6490060.html","width":130,"caption":"The Wye Valley","height":86});
															thumbnails[6489563] = clik.newPhoto({"id":6489563,"src":"Bunce_HSI_032_Wb_thumb.jpg","galleries_id":41269,"server_id":15,"link":"photo_6489563.html","width":130,"caption":"Kestrel (Falco tinnunculus)","height":87});
															thumbnails[6490084] = clik.newPhoto({"id":6490084,"src":"Bunce_HSI_090_Wp_thumb.jpg","galleries_id":41269,"server_id":15,"link":"photo_6490084.html","width":130,"caption":"Stinking Iris (Iris foetidissima)","height":194});
															thumbnails[6490101] = clik.newPhoto({"id":6490101,"src":"Bunce_HSI_092_Wp_thumb.jpg","galleries_id":41269,"server_id":15,"link":"photo_6490101.html","width":130,"caption":"Oxeye Daisies (Leucanthemum vulgare)","height":87});
															thumbnails[6490107] = clik.newPhoto({"id":6490107,"src":"Bunce_HSI_094_Wp_thumb.jpg","galleries_id":41269,"server_id":15,"link":"photo_6490107.html","width":130,"caption":"Oxeye Daisies (Leucanthemum vulgare)","height":194});
															thumbnails[6489503] = clik.newPhoto({"id":6489503,"src":"Bunce_HSI_021_Wf_thumb.jpg","galleries_id":107636,"server_id":15,"link":"photo_6489503.html","width":130,"caption":"Poppy Field","height":194});
															thumbnails[6489509] = clik.newPhoto({"id":6489509,"src":"Bunce_HSI_022_Wf_thumb.jpg","galleries_id":107636,"server_id":15,"link":"photo_6489509.html","width":130,"caption":"Poppy Field","height":87});
															thumbnails[6489513] = clik.newPhoto({"id":6489513,"src":"Bunce_HSI_025_Wf_thumb.jpg","galleries_id":107636,"server_id":15,"link":"photo_6489513.html","width":130,"caption":"Poppy Head","height":128});
															thumbnails[6489628] = clik.newPhoto({"id":6489628,"src":"Bunce_HSI_060_B_thumb.jpg","galleries_id":41267,"server_id":15,"link":"photo_6489628.html","width":130,"caption":"Black Swan","height":194});
															thumbnails[6489645] = clik.newPhoto({"id":6489645,"src":"Bunce_HSI_062_Sc_thumb.jpg","galleries_id":41270,"server_id":15,"link":"photo_6489645.html","width":130,"caption":"Lilly Pond","height":87});
															thumbnails[6489724] = clik.newPhoto({"id":6489724,"src":"Bunce_HSI_063_Sc_thumb.jpg","galleries_id":41270,"server_id":15,"link":"photo_6489724.html","width":130,"caption":"Canonteign Falls Chudleigh","height":194});
															thumbnails[6490065] = clik.newPhoto({"id":6490065,"src":"Bunce_HSI_078_D_thumb.jpg","galleries_id":107906,"server_id":15,"link":"photo_6490065.html","width":130,"caption":"Riley Vintage car","height":193});
															thumbnails[6489555] = clik.newPhoto({"id":6489555,"src":"Bunce_HSI_028_Ms_thumb.jpg","galleries_id":107906,"server_id":15,"link":"photo_6489555.html","width":130,"caption":"Dandelion (Taraxacum officinale)","height":194});
															thumbnails[6489557] = clik.newPhoto({"id":6489557,"src":"Bunce_HSI_029_Ms_thumb.jpg","galleries_id":107906,"server_id":15,"link":"photo_6489557.html","width":130,"caption":"Dandelion (Taraxacum officinale","height":194});
															thumbnails[6490120] = clik.newPhoto({"id":6490120,"src":"Bunce_HSI_149_C_thumb.jpg","galleries_id":118770,"server_id":15,"link":"photo_6490120.html","width":130,"caption":"Sparing Flamingos","height":87});
															thumbnails[6490131] = clik.newPhoto({"id":6490131,"src":"Bunce_HSI_151_C_thumb.jpg","galleries_id":118770,"server_id":15,"link":"photo_6490131.html","width":130,"caption":"Meerkat (Suricata suricatta)","height":87});
															thumbnails[6490138] = clik.newPhoto({"id":6490138,"src":"Bunce_HSI_152_C_thumb.jpg","galleries_id":118770,"server_id":15,"link":"photo_6490138.html","width":130,"caption":"Meerkat (Suricata suricatta)","height":87});
															thumbnails[6490147] = clik.newPhoto({"id":6490147,"src":"HSI_086_Wp_thumb.jpg","galleries_id":118770,"server_id":15,"link":"photo_6490147.html","width":130,"caption":"Cowslips (Primula veris)","height":193});
															thumbnails[5653098] = clik.newPhoto({"id":5653098,"src":"HSI_002_Ws_66CCDFD8-1EC9-D45B-1C451675D9194DF0_thumb.jpg","galleries_id":118770,"server_id":15,"link":"photo_5653098.html","width":130,"caption":"Winter in the Herefordshire Countryside","height":87});
															thumbnails[5652962] = clik.newPhoto({"id":5652962,"src":"HSI_052-D_thumb.jpg","galleries_id":118770,"server_id":15,"link":"photo_5652962.html","width":130,"caption":"Stone Cider Press","height":87});
															thumbnails[5652886] = clik.newPhoto({"id":5652886,"src":"HSI_030_Sc_thumb.jpg","galleries_id":118770,"server_id":15,"link":"photo_5652886.html","width":130,"caption":"Winter Scene in the Welsh Hills","height":87});
															thumbnails[5652965] = clik.newPhoto({"id":5652965,"src":"HSI_029_D_thumb.jpg","galleries_id":118770,"server_id":15,"link":"photo_5652965.html","width":130,"caption":"Shire horses","height":194});
															thumbnails[5652879] = clik.newPhoto({"id":5652879,"src":"HSI_036_D_thumb.jpg","galleries_id":118770,"server_id":15,"link":"photo_5652879.html","width":130,"caption":"Smeatons Tower the Hoe Plymouth","height":194});
															thumbnails[5652970] = clik.newPhoto({"id":5652970,"src":"HSI_022_D_thumb.jpg","galleries_id":118770,"server_id":15,"link":"photo_5652970.html","width":130,"caption":"Model Village","height":194});
															thumbnails[5652903] = clik.newPhoto({"id":5652903,"src":"HSI_049_D_thumb.jpg","galleries_id":106146,"server_id":15,"link":"photo_5652903.html","width":130,"caption":" Greek Orthodox church in the Hanioti Greece","height":194});
															thumbnails[5703767] = clik.newPhoto({"id":5703767,"src":"HSI_051_Sc_thumb.jpg","galleries_id":118770,"server_id":15,"link":"photo_5703767.html","width":130,"caption":"Sunset on Hanioti beach Halkidiki","height":87});
															thumbnails[5703791] = clik.newPhoto({"id":5703791,"src":"HSI_047_D_thumb.jpg","galleries_id":118770,"server_id":15,"link":"photo_5703791.html","width":130,"caption":"Street Performer","height":194});
															thumbnails[5703795] = clik.newPhoto({"id":5703795,"src":"HSI_051_D_thumb.jpg","galleries_id":118770,"server_id":15,"link":"photo_5703795.html","width":130,"caption":"Street Artist","height":182});
															thumbnails[6489622] = clik.newPhoto({"id":6489622,"src":"Bunce_HSI_059_Sc_thumb.jpg","galleries_id":118770,"server_id":15,"link":"photo_6489622.html","width":130,"caption":"Halkidiki Resort","height":85});
															thumbnails[3839455] = clik.newPhoto({"id":3839455,"src":"HSI_208_B_thumb.jpg","galleries_id":41267,"server_id":15,"link":"photo_3839455.html","width":130,"caption":"Pied flycatcher (Ficedula hypoleuca)","height":192});
															thumbnails[3826553] = clik.newPhoto({"id":3826553,"src":"HSI_128_C_thumb.jpg","galleries_id":45015,"server_id":15,"link":"photo_3826553.html","width":130,"caption":"Clouded Leopard (Neofelis nebulosa)  ","height":169});
															thumbnails[3826576] = clik.newPhoto({"id":3826576,"src":"HSI_110_C_thumb.jpg","galleries_id":45015,"server_id":15,"link":"photo_3826576.html","width":130,"caption":"Persian Leopard (Panthera pardus saxicolor","height":169});
															thumbnails[5131206] = clik.newPhoto({"id":5131206,"src":"HSI_072_C_thumb.jpg","galleries_id":45015,"server_id":15,"link":"photo_5131206.html","width":130,"caption":"Humboldt Penguins (Spheniscus humboldti) ","height":86});
															thumbnails[5135476] = clik.newPhoto({"id":5135476,"src":"HSI_077_C_thumb.jpg","galleries_id":45015,"server_id":15,"link":"photo_5135476.html","width":130,"caption":"Black Stork (Ciconia nigra) ","height":87});
															thumbnails[6490074] = clik.newPhoto({"id":6490074,"src":"Bunce_HSI_083_C_thumb.jpg","galleries_id":118770,"server_id":15,"link":"photo_6490074.html","width":130,"caption":"Black Crowned Night Heron (Nycticorax nycticorax)","height":194});
															thumbnails[4336419] = clik.newPhoto({"id":4336419,"src":"HSI_048_E1_thumb.jpg","galleries_id":106146,"server_id":15,"link":"photo_4336419.html","width":130,"caption":"Stained Glass","height":148});
															thumbnails[4336438] = clik.newPhoto({"id":4336438,"src":"HSI_049_E1_thumb.jpg","galleries_id":106146,"server_id":15,"link":"photo_4336438.html","width":130,"caption":"Stained Glass","height":150});
															thumbnails[4336466] = clik.newPhoto({"id":4336466,"src":"HSI_051_E1_thumb.jpg","galleries_id":106146,"server_id":15,"link":"photo_4336466.html","width":130,"caption":"Stained Glass","height":156});
															thumbnails[4336477] = clik.newPhoto({"id":4336477,"src":"HSI_060_E1_thumb.jpg","galleries_id":106146,"server_id":15,"link":"photo_4336477.html","width":130,"caption":"Stained Glass","height":177});
															thumbnails[4336481] = clik.newPhoto({"id":4336481,"src":"HSI_061_E1_thumb.jpg","galleries_id":106146,"server_id":15,"link":"photo_4336481.html","width":130,"caption":"Stained Glass","height":189});
															thumbnails[4336485] = clik.newPhoto({"id":4336485,"src":"HSI_062_E1_thumb.jpg","galleries_id":106146,"server_id":15,"link":"photo_4336485.html","width":130,"caption":"Stained Glass","height":186});
															thumbnails[4336487] = clik.newPhoto({"id":4336487,"src":"HSI_063_E1_thumb.jpg","galleries_id":106146,"server_id":15,"link":"photo_4336487.html","width":130,"caption":"Stained Glass","height":194});
															thumbnails[5652961] = clik.newPhoto({"id":5652961,"src":"HSI_056_Sc_thumb.jpg","galleries_id":118770,"server_id":15,"link":"photo_5652961.html","width":130,"caption":" Plymouth Sound","height":85});
															thumbnails[6489566] = clik.newPhoto({"id":6489566,"src":"Bunce_HSI_035_Sc_thumb.jpg","galleries_id":118770,"server_id":15,"link":"photo_6489566.html","width":130,"caption":"St. Mary & St. David church Kilpeck Herefordshire","height":83});
															thumbnails[3839413] = clik.newPhoto({"id":3839413,"src":"HSI_239_B_thumb.jpg","galleries_id":41267,"server_id":15,"link":"photo_3839413.html","width":130,"caption":"Nuthatch (Sitta europaea) ","height":91});
															thumbnails[3839426] = clik.newPhoto({"id":3839426,"src":"HSI_240_B_thumb.jpg","galleries_id":41267,"server_id":15,"link":"photo_3839426.html","width":130,"caption":"Nuthatch (Sitta europaea) ","height":88});
															thumbnails[5703886] = clik.newPhoto({"id":5703886,"src":"HSI_011_D_thumb.jpg","galleries_id":118770,"server_id":15,"link":"photo_5703886.html","width":130,"caption":"Selfridges","height":87});
															thumbnails[2495614] = clik.newPhoto({"id":2495614,"src":"HSI_196_B_thumb.jpg","galleries_id":41267,"server_id":15,"link":"photo_2495614.html","width":130,"caption":"Puffin (Fratercula arctica)","height":186});
															thumbnails[2495624] = clik.newPhoto({"id":2495624,"src":"HSI_197_B_thumb.jpg","galleries_id":41267,"server_id":15,"link":"photo_2495624.html","width":130,"caption":"Puffin (fratercula arctica)","height":192});
															thumbnails[2646213] = clik.newPhoto({"id":2646213,"src":"HSI_201_B_thumb.jpg","galleries_id":41267,"server_id":15,"link":"photo_2646213.html","width":130,"caption":"Puffin (Fratercula arctica)","height":193});
															thumbnails[2646277] = clik.newPhoto({"id":2646277,"src":"HSI_202_B_thumb.jpg","galleries_id":41267,"server_id":15,"link":"photo_2646277.html","width":130,"caption":"Puffin (Fratercula arctica)","height":183});
															thumbnails[2646412] = clik.newPhoto({"id":2646412,"src":"HSI_203_B_thumb.jpg","galleries_id":41267,"server_id":15,"link":"photo_2646412.html","width":130,"caption":"Puffin (Fratercula arctica)","height":193});
															thumbnails[2646448] = clik.newPhoto({"id":2646448,"src":"HSI_204_B_thumb.jpg","galleries_id":41267,"server_id":15,"link":"photo_2646448.html","width":130,"caption":"Puffin (Fratercula arctica)","height":193});
															thumbnails[2646547] = clik.newPhoto({"id":2646547,"src":"HSI_205_B1_thumb.jpg","galleries_id":41267,"server_id":15,"link":"photo_2646547.html","width":130,"caption":"Puffin (Fratercula arctica) ","height":85});
															thumbnails[2646556] = clik.newPhoto({"id":2646556,"src":"HSI_206_B_thumb.jpg","galleries_id":41267,"server_id":15,"link":"photo_2646556.html","width":130,"caption":"Guillemot (Uria aalge)","height":193});
															thumbnails[2645863] = clik.newPhoto({"id":2645863,"src":"HSI_056_Wd_thumb.jpg","galleries_id":41269,"server_id":15,"link":"photo_2645863.html","width":130,"caption":"Dog Rose (Rosa canina)","height":89});
															thumbnails[1814991] = clik.newPhoto({"id":1814991,"src":"HSI_016WB1_thumb.jpg","galleries_id":41267,"server_id":15,"link":"photo_1814991.html","width":130,"caption":"Goldcrest (Regulus regulus)","height":88});
															thumbnails[2646594] = clik.newPhoto({"id":2646594,"src":"HSI_207_B_thumb.jpg","galleries_id":41267,"server_id":15,"link":"photo_2646594.html","width":130,"caption":"Dipper (Cinclus cinclus)","height":90});
															thumbnails[2054354] = clik.newPhoto({"id":2054354,"src":"HSI_004_Ms_thumb.jpg","galleries_id":41269,"server_id":15,"link":"photo_2054354.html","width":130,"caption":"Slow Worm (Anguis fragilis) & Common Shrew (Sorex araneus)","height":88});
															thumbnails[1683642] = clik.newPhoto({"id":1683642,"src":"HSI_219M_thumb.jpg","galleries_id":41266,"server_id":15,"link":"photo_1683642.html","width":130,"caption":"Gray Seal (Halichoerus grypus)","height":88});
															thumbnails[1924354] = clik.newPhoto({"id":1924354,"src":"HSI_226_M_thumb.jpg","galleries_id":41266,"server_id":15,"link":"photo_1924354.html","width":130,"caption":"Grey Seal Pup (Halichoerus grypus)","height":88});
															thumbnails[1672899] = clik.newPhoto({"id":1672899,"src":"HSI_220M_thumb.jpg","galleries_id":41266,"server_id":15,"link":"photo_1672899.html","width":130,"caption":"Grey Seal(Halichoerus grypus)","height":88});
															thumbnails[1673054] = clik.newPhoto({"id":1673054,"src":"HSI-222M_thumb.jpg","galleries_id":41266,"server_id":15,"link":"photo_1673054.html","width":130,"caption":"Grey Seal pup(Halichoerus grypus)","height":88});
															thumbnails[1673086] = clik.newPhoto({"id":1673086,"src":"HSI_221M_thumb.jpg","galleries_id":41266,"server_id":15,"link":"photo_1673086.html","width":130,"caption":"Grey Seel(Halichoerus grypus)","height":88});
															thumbnails[1686370] = clik.newPhoto({"id":1686370,"src":"HSI_225M_thumb.jpg","galleries_id":41266,"server_id":15,"link":"photo_1686370.html","width":130,"caption":"Grey Seal(Halichoerus grypus)","height":88});
															thumbnails[1686373] = clik.newPhoto({"id":1686373,"src":"HSI_223M_thumb.jpg","galleries_id":41266,"server_id":15,"link":"photo_1686373.html","width":130,"caption":"Grey Seal(Halichoerus grypus)","height":88});
															thumbnails[1574108] = clik.newPhoto({"id":1574108,"src":"HSI_014Wf_thumb.jpg","galleries_id":107636,"server_id":15,"link":"photo_1574108.html","width":130,"caption":"Harebell (Campanula rotundifolia)","height":192});
															thumbnails[1574129] = clik.newPhoto({"id":1574129,"src":"HSI_016Wf_thumb.jpg","galleries_id":107636,"server_id":15,"link":"photo_1574129.html","width":130,"caption":"Harebells(Campanula rotundifolia)","height":88});
															thumbnails[1673897] = clik.newPhoto({"id":1673897,"src":"HSI_018WF_thumb.jpg","galleries_id":107636,"server_id":15,"link":"photo_1673897.html","width":130,"caption":"Betony (Stachys officinalis)","height":192});
															thumbnails[1924340] = clik.newPhoto({"id":1924340,"src":"HSI_027_Ms_thumb.jpg","galleries_id":41269,"server_id":15,"link":"photo_1924340.html","width":130,"caption":"Spiny Puffball (Lycoperdon echinatum)","height":88});
															thumbnails[1925603] = clik.newPhoto({"id":1925603,"src":"HSI_009_WF_thumb.jpg","galleries_id":41269,"server_id":15,"link":"photo_1925603.html","width":130,"caption":"Yellow-wort (Blackstonia perfoliata) ","height":192});
															thumbnails[1925644] = clik.newPhoto({"id":1925644,"src":"HSI_013_WF_thumb.jpg","galleries_id":41269,"server_id":15,"link":"photo_1925644.html","width":130,"caption":"Common Centaury (Centaurium erythraea)","height":88});
															thumbnails[1673919] = clik.newPhoto({"id":1673919,"src":"HSI_008WF_thumb.jpg","galleries_id":41269,"server_id":15,"link":"photo_1673919.html","width":130,"caption":"Common Spotted Orchid (Dactylorhiza maculata)","height":192});
															thumbnails[1925544] = clik.newPhoto({"id":1925544,"src":"HSI_001_WF_thumb.jpg","galleries_id":41269,"server_id":15,"link":"photo_1925544.html","width":130,"caption":"Yellow-rattle (Rhinanthus minor)","height":192});
															thumbnails[1554738] = clik.newPhoto({"id":1554738,"src":"HSI_017W_thumb.jpg","galleries_id":41269,"server_id":15,"link":"photo_1554738.html","width":130,"caption":"Bluebell (Hyacinthoides non-scripta)","height":192});
															thumbnails[1554748] = clik.newPhoto({"id":1554748,"src":"HSI_015W_thumb.jpg","galleries_id":41269,"server_id":15,"link":"photo_1554748.html","width":130,"caption":"Cowslip (Primula veris)","height":88});
															thumbnails[1554760] = clik.newPhoto({"id":1554760,"src":"HSI_016W_thumb.jpg","galleries_id":41269,"server_id":15,"link":"photo_1554760.html","width":130,"caption":"Cowslip (Primula veris)","height":192});
															thumbnails[1554767] = clik.newPhoto({"id":1554767,"src":"HSI_007W_thumb.jpg","galleries_id":41269,"server_id":15,"link":"photo_1554767.html","width":130,"caption":"Wood Anemone (Anemone nemorosa)","height":88});
															thumbnails[599881] = clik.newPhoto({"id":599881,"src":"HSI_001_Wd_thumb.jpg","galleries_id":41269,"server_id":15,"link":"photo_599881.html","width":130,"caption":"Imature Robin (Erithacus rubecula)<br>\r\n","height":88});
															thumbnails[599890] = clik.newPhoto({"id":599890,"src":"HSI_002_Wd_thumb.jpg","galleries_id":41269,"server_id":15,"link":"photo_599890.html","width":130,"caption":"Imature Robin (Erithacus rubecula)<br>\r\n","height":90});
															thumbnails[532269] = clik.newPhoto({"id":532269,"src":"HSI_060M_thumb.jpg","galleries_id":41266,"server_id":15,"link":"photo_532269.html","width":130,"caption":"African Elephant (Loxodonta africana)<br>\r\nLimited Edition<br>\r\n     2\/60","height":85});
															thumbnails[532278] = clik.newPhoto({"id":532278,"src":"HSI_037B_thumb.jpg","galleries_id":41267,"server_id":15,"link":"photo_532278.html","width":130,"caption":"Puffin (Fratercula arctica)<br>\r\nLimited Edition<br>\r\n    3\/60    ","height":85});
															thumbnails[532280] = clik.newPhoto({"id":532280,"src":"HSI_076B_thumb.jpg","galleries_id":41267,"server_id":15,"link":"photo_532280.html","width":130,"caption":"Great Skua (Stercorarius skua)","height":85});
															thumbnails[532285] = clik.newPhoto({"id":532285,"src":"HSI_001B_thumb.jpg","galleries_id":41267,"server_id":15,"link":"photo_532285.html","width":130,"caption":"Pied Kingfisher (Ceryle rudis)<br>\r\nLimited Edition<br>\r\n     1\/60","height":87});
															thumbnails[532290] = clik.newPhoto({"id":532290,"src":"HSI_003B_thumb.jpg","galleries_id":41267,"server_id":15,"link":"photo_532290.html","width":130,"caption":"Lilac-Breasted Roller (Coracias caudata)","height":85});
															thumbnails[532292] = clik.newPhoto({"id":532292,"src":"HSI_004B_thumb.jpg","galleries_id":41267,"server_id":15,"link":"photo_532292.html","width":130,"caption":"Secretary Bird (Sagittarius serpentarius)","height":84});
															thumbnails[532296] = clik.newPhoto({"id":532296,"src":"HSI_069B_thumb.jpg","galleries_id":41267,"server_id":15,"link":"photo_532296.html","width":130,"caption":"Puffin (Fratercula arctica)<br>\r\n","height":88});
															thumbnails[532304] = clik.newPhoto({"id":532304,"src":"HSI_097_thumb.jpg","galleries_id":41267,"server_id":15,"link":"photo_532304.html","width":130,"caption":"Puffin (Fratercula arctica)","height":79});
															thumbnails[532310] = clik.newPhoto({"id":532310,"src":"HSI_080M_thumb.jpg","galleries_id":41266,"server_id":15,"link":"photo_532310.html","width":130,"caption":"White Rhinoceros (Ceratotherium simum)","height":84});
															thumbnails[532316] = clik.newPhoto({"id":532316,"src":"HSI_014M_thumb.jpg","galleries_id":41266,"server_id":15,"link":"photo_532316.html","width":130,"caption":"African Lion Cubs (Panthera leo)","height":86});
															thumbnails[532873] = clik.newPhoto({"id":532873,"src":"HSI_089_B_thumb.jpg","galleries_id":41267,"server_id":15,"link":"photo_532873.html","width":130,"caption":"Puffin (Fratercula arctica)","height":200});
															thumbnails[532878] = clik.newPhoto({"id":532878,"src":"HSI_016B_thumb.jpg","galleries_id":41267,"server_id":15,"link":"photo_532878.html","width":130,"caption":"Mariqua Sunbird (Nectarinia mariquensis)<br>\r\n","height":85});
															thumbnails[532884] = clik.newPhoto({"id":532884,"src":"HSI_020_B_thumb.jpg","galleries_id":41267,"server_id":15,"link":"photo_532884.html","width":130,"caption":"Marabou Stork (Leptoptilos crumeniferus)<br>\r\n","height":193});
															thumbnails[532894] = clik.newPhoto({"id":532894,"src":"HSI_008M_thumb.jpg","galleries_id":41266,"server_id":15,"link":"photo_532894.html","width":130,"caption":"African Lion (Panthera leo)","height":84});
															thumbnails[532899] = clik.newPhoto({"id":532899,"src":"HSI_091M_thumb.jpg","galleries_id":41266,"server_id":15,"link":"photo_532899.html","width":130,"caption":"Masai Giraffe (Camelopardalis tippelskirchi)","height":201});
															thumbnails[532908] = clik.newPhoto({"id":532908,"src":"HSI_083M_thumb.jpg","galleries_id":41266,"server_id":15,"link":"photo_532908.html","width":130,"caption":"Gerenuk (Litocranius walleri)","height":201});
															thumbnails[532911] = clik.newPhoto({"id":532911,"src":"HSI_065M_thumb.jpg","galleries_id":41266,"server_id":15,"link":"photo_532911.html","width":130,"caption":"African Elephant (Loxodonta africana)","height":201});
															thumbnails[532914] = clik.newPhoto({"id":532914,"src":"HSI_132M_thumb.jpg","galleries_id":41266,"server_id":15,"link":"photo_532914.html","width":130,"caption":"Red Stag<br>\r\nLimited Edition<br>\r\n      2\/60","height":85});
															thumbnails[532918] = clik.newPhoto({"id":532918,"src":"HSI_071M_thumb.jpg","galleries_id":41266,"server_id":15,"link":"photo_532918.html","width":130,"caption":"Impala","height":84});
															thumbnails[532921] = clik.newPhoto({"id":532921,"src":"HSI_002M_thumb.jpg","galleries_id":41266,"server_id":15,"link":"photo_532921.html","width":130,"caption":"M\/F Lion","height":84});
															thumbnails[532926] = clik.newPhoto({"id":532926,"src":"HSI_061M_thumb.jpg","galleries_id":41266,"server_id":15,"link":"photo_532926.html","width":130,"caption":"African Elephant","height":60});
															thumbnails[532929] = clik.newPhoto({"id":532929,"src":"HSI_057M_thumb.jpg","galleries_id":41266,"server_id":15,"link":"photo_532929.html","width":130,"caption":"Cheetah","height":84});
															thumbnails[532936] = clik.newPhoto({"id":532936,"src":"NHM065_thumb.jpg","galleries_id":41266,"server_id":15,"link":"photo_532936.html","width":130,"caption":"African Lion","height":89});
															thumbnails[533895] = clik.newPhoto({"id":533895,"src":"HSI_100M_thumb.jpg","galleries_id":41266,"server_id":15,"link":"photo_533895.html","width":130,"caption":"Bengal Tiger","height":85});
															thumbnails[533896] = clik.newPhoto({"id":533896,"src":"HSI_098M_thumb.jpg","galleries_id":41266,"server_id":15,"link":"photo_533896.html","width":130,"caption":"Bengal Tiger (Panthera tigris)<br>\r\n","height":85});
															thumbnails[533899] = clik.newPhoto({"id":533899,"src":"HSI_108M_thumb.jpg","galleries_id":41266,"server_id":15,"link":"photo_533899.html","width":130,"caption":"Bengal Tiger","height":84});
															thumbnails[533900] = clik.newPhoto({"id":533900,"src":"HSI_048M1_thumb.jpg","galleries_id":41266,"server_id":15,"link":"photo_533900.html","width":130,"caption":"African Leopard ","height":85});
															thumbnails[533901] = clik.newPhoto({"id":533901,"src":"HSI_131M_thumb.jpg","galleries_id":41266,"server_id":15,"link":"photo_533901.html","width":130,"caption":"Red Stag","height":85});
															thumbnails[533902] = clik.newPhoto({"id":533902,"src":"HSI_109M_thumb.jpg","galleries_id":41266,"server_id":15,"link":"photo_533902.html","width":130,"caption":"Bengal Tiger<br>\r\nLimited Edition<br>\r\n     1\/60","height":85});
															thumbnails[533903] = clik.newPhoto({"id":533903,"src":"HSI_124M_thumb.jpg","galleries_id":41266,"server_id":15,"link":"photo_533903.html","width":130,"caption":"Nilgai (Blue bull)","height":89});
															thumbnails[533904] = clik.newPhoto({"id":533904,"src":"HSI_117M_thumb.jpg","galleries_id":41266,"server_id":15,"link":"photo_533904.html","width":130,"caption":"Sambar ","height":192});
															thumbnails[533905] = clik.newPhoto({"id":533905,"src":"HSI_090M_thumb.jpg","galleries_id":41266,"server_id":15,"link":"photo_533905.html","width":130,"caption":"","height":198});
															thumbnails[533906] = clik.newPhoto({"id":533906,"src":"HSI_114M_thumb.jpg","galleries_id":41266,"server_id":15,"link":"photo_533906.html","width":130,"caption":"Sambar","height":85});
															thumbnails[534890] = clik.newPhoto({"id":534890,"src":"HSI_044M_thumb.jpg","galleries_id":41266,"server_id":15,"link":"photo_534890.html","width":130,"caption":"African Leopard<br>\r\nLimited Edition<br>\r\n     3\/60","height":85});
															thumbnails[534911] = clik.newPhoto({"id":534911,"src":"HSI_050B_thumb.jpg","galleries_id":41267,"server_id":15,"link":"photo_534911.html","width":130,"caption":"Puffin (Fratercula arctica)<br>\r\n","height":84});
															thumbnails[534918] = clik.newPhoto({"id":534918,"src":"HSI_048M_thumb.jpg","galleries_id":41266,"server_id":15,"link":"photo_534918.html","width":130,"caption":" African Leopard (Panthera pardus)","height":85});
															thumbnails[534972] = clik.newPhoto({"id":534972,"src":"HSI_098_thumb.jpg","galleries_id":41267,"server_id":15,"link":"photo_534972.html","width":130,"caption":"Puffin (Fratercula actica)<br>\r\n","height":193});
															thumbnails[534977] = clik.newPhoto({"id":534977,"src":"HSI_086B_thumb.jpg","galleries_id":41267,"server_id":15,"link":"photo_534977.html","width":130,"caption":"Puffin (Fratercula arctica) ","height":193});
															thumbnails[534984] = clik.newPhoto({"id":534984,"src":"HSI_077B_thumb.jpg","galleries_id":41267,"server_id":15,"link":"photo_534984.html","width":130,"caption":"Gannet Colony (Morus bassanus) ","height":79});
															thumbnails[534991] = clik.newPhoto({"id":534991,"src":"HSI_011_B_thumb.jpg","galleries_id":41267,"server_id":15,"link":"photo_534991.html","width":130,"caption":"Pygmy Falcan (Polihierax semitorquatus)","height":85});
															thumbnails[534999] = clik.newPhoto({"id":534999,"src":"HSI_009_B_thumb.jpg","galleries_id":41267,"server_id":15,"link":"photo_534999.html","width":130,"caption":"Chestnut-bellied Kingfisher (Halcyon leucocephala)","height":85});
															thumbnails[535062] = clik.newPhoto({"id":535062,"src":"HSI_099_thumb.jpg","galleries_id":41267,"server_id":15,"link":"photo_535062.html","width":130,"caption":"Manx Shearwater (Puffinus puffinus)","height":85});
															thumbnails[535073] = clik.newPhoto({"id":535073,"src":"HSI_070B_thumb.jpg","galleries_id":41267,"server_id":15,"link":"photo_535073.html","width":130,"caption":"Puffin (Fratercula arctica)","height":88});
															thumbnails[535125] = clik.newPhoto({"id":535125,"src":"HSI_017_B_thumb.jpg","galleries_id":41267,"server_id":15,"link":"photo_535125.html","width":130,"caption":"Secretary Bird (Sagittarius serpentarius)","height":199});
															thumbnails[557033] = clik.newPhoto({"id":557033,"src":"HSI_001Wp_thumb.jpg","galleries_id":41269,"server_id":15,"link":"photo_557033.html","width":130,"caption":"Wessington Pasture ","height":85});
															thumbnails[557039] = clik.newPhoto({"id":557039,"src":"HSI_001_Ws_thumb.jpg","galleries_id":41269,"server_id":15,"link":"photo_557039.html","width":130,"caption":"Fallow Deer (Dama dama)","height":84});
															thumbnails[557049] = clik.newPhoto({"id":557049,"src":"HSI_002_Ws_thumb.jpg","galleries_id":41269,"server_id":15,"link":"photo_557049.html","width":130,"caption":"Fallow Deer (Dama dama)","height":84});
															thumbnails[557061] = clik.newPhoto({"id":557061,"src":"HSI_006_Wm_thumb.jpg","galleries_id":41269,"server_id":15,"link":"photo_557061.html","width":130,"caption":"Red Fox","height":84});
															thumbnails[558182] = clik.newPhoto({"id":558182,"src":"HSI_145M_thumb.jpg","galleries_id":41266,"server_id":15,"link":"photo_558182.html","width":130,"caption":"Red Stag (Cervus elaphs)","height":85});
															thumbnails[567302] = clik.newPhoto({"id":567302,"src":"HSI_006_Ws_thumb.jpg","galleries_id":41269,"server_id":15,"link":"photo_567302.html","width":130,"caption":"Long-tailed Tit (Aegithalos caudatus)","height":84});
															thumbnails[568300] = clik.newPhoto({"id":568300,"src":"HSI_030_Ws_thumb.jpg","galleries_id":41269,"server_id":15,"link":"photo_568300.html","width":130,"caption":"Imature Blue Tits (Parus caeruleus ","height":137});
															thumbnails[568562] = clik.newPhoto({"id":568562,"src":"WP055_thumb.jpg","galleries_id":41269,"server_id":15,"link":"photo_568562.html","width":130,"caption":"Green Woodpecker","height":187});
															thumbnails[568599] = clik.newPhoto({"id":568599,"src":"HSI_027_Ws_thumb.jpg","galleries_id":41269,"server_id":15,"link":"photo_568599.html","width":130,"caption":"Blue tit (Parus caeruleus)","height":197});
															thumbnails[568609] = clik.newPhoto({"id":568609,"src":"HSI_028_Ws_thumb.jpg","galleries_id":41269,"server_id":15,"link":"photo_568609.html","width":130,"caption":"Blue tit eggs","height":133});
															thumbnails[568610] = clik.newPhoto({"id":568610,"src":"HSI_029_Ws_thumb.jpg","galleries_id":41269,"server_id":15,"link":"photo_568610.html","width":130,"caption":"Imature Blue tits (Parus caeruleus)<br>\r\n","height":140});
															thumbnails[576549] = clik.newPhoto({"id":576549,"src":"HSI_101_thumb.jpg","galleries_id":41267,"server_id":15,"link":"photo_576549.html","width":130,"caption":"Red Kite (Milvus milvus)","height":86});
															thumbnails[576554] = clik.newPhoto({"id":576554,"src":"HSI_102_B_thumb.jpg","galleries_id":41267,"server_id":15,"link":"photo_576554.html","width":130,"caption":"Kestrel(Falco tinnunculus)","height":89});
															thumbnails[576561] = clik.newPhoto({"id":576561,"src":"HSI_103_thumb.jpg","galleries_id":41267,"server_id":15,"link":"photo_576561.html","width":130,"caption":"Robin (Erithacus rubecula)","height":84});
															thumbnails[576604] = clik.newPhoto({"id":576604,"src":"HSI_104_thumb.jpg","galleries_id":41267,"server_id":15,"link":"photo_576604.html","width":130,"caption":"Robin (Erithacus rubecula)","height":79});
															thumbnails[584780] = clik.newPhoto({"id":584780,"src":"HSI_030_C_thumb.jpg","galleries_id":45015,"server_id":15,"link":"photo_584780.html","width":130,"caption":"Canadian Timber Wolf(Canis lupus)","height":85});
															thumbnails[584800] = clik.newPhoto({"id":584800,"src":"HSI_032_C_thumb.jpg","galleries_id":45015,"server_id":15,"link":"photo_584800.html","width":130,"caption":"Canadian Timber Wolf (Canis lupus)<br>\r\nLimited Edition<br>\r\n     4\/60","height":84});
															thumbnails[584822] = clik.newPhoto({"id":584822,"src":"HSI_001C_thumb.jpg","galleries_id":45015,"server_id":15,"link":"photo_584822.html","width":130,"caption":"Snow Leopard (Panthera uncia)<br>\r\nLimited Edition<br>\r\n    2\/60","height":86});
															thumbnails[584827] = clik.newPhoto({"id":584827,"src":"HSI_021C_thumb.jpg","galleries_id":45015,"server_id":15,"link":"photo_584827.html","width":130,"caption":"African Leopard (Panthera pardus)<br>\r\n","height":84});
															thumbnails[585604] = clik.newPhoto({"id":585604,"src":"HSI_015C_thumb.jpg","galleries_id":45015,"server_id":15,"link":"photo_585604.html","width":130,"caption":"Clouded Leopard (Neofelis nebulosa)","height":84});
															thumbnails[585615] = clik.newPhoto({"id":585615,"src":"HSI_012C_thumb.jpg","galleries_id":45015,"server_id":15,"link":"photo_585615.html","width":130,"caption":"Puma (Felis concolor)<br>\r\n","height":85});
															thumbnails[585628] = clik.newPhoto({"id":585628,"src":"HSI_013C_thumb.jpg","galleries_id":45015,"server_id":15,"link":"photo_585628.html","width":130,"caption":"Puma (Felis concolor)<br>\r\n","height":199});
															thumbnails[585654] = clik.newPhoto({"id":585654,"src":"HSI_003C_thumb.jpg","galleries_id":45015,"server_id":15,"link":"photo_585654.html","width":130,"caption":"Persian Leopard (Panthera pardus saxicolor)","height":84});
															thumbnails[585669] = clik.newPhoto({"id":585669,"src":"HSI_011C_thumb.jpg","galleries_id":45015,"server_id":15,"link":"photo_585669.html","width":130,"caption":"Persian Leopard (Panthera pardus saxicolor)","height":81});
															thumbnails[585686] = clik.newPhoto({"id":585686,"src":"HSI_039_C_thumb.jpg","galleries_id":45015,"server_id":15,"link":"photo_585686.html","width":130,"caption":"Short-clawed Otter (Amblonyx cinereus)","height":85});
															thumbnails[585709] = clik.newPhoto({"id":585709,"src":"HSI_041_C_thumb.jpg","galleries_id":45015,"server_id":15,"link":"photo_585709.html","width":130,"caption":"Lesser Flamingo (Phoeniconaias minor)<br>\r\n","height":82});
															thumbnails[590752] = clik.newPhoto({"id":590752,"src":"HSI_008_Ws_thumb.jpg","galleries_id":41269,"server_id":15,"link":"photo_590752.html","width":130,"caption":"Long-tailed Tit (Aegithalos caudatus)","height":88});
															thumbnails[602918] = clik.newPhoto({"id":602918,"src":"HSI_003M_thumb.jpg","galleries_id":41266,"server_id":15,"link":"photo_602918.html","width":130,"caption":"African Lion (Panthera leo)","height":114});
															thumbnails[602922] = clik.newPhoto({"id":602922,"src":"HSI_022M_thumb.jpg","galleries_id":41266,"server_id":15,"link":"photo_602922.html","width":130,"caption":"Lion Cubs","height":85});
															thumbnails[602929] = clik.newPhoto({"id":602929,"src":"HSI_030M_thumb.jpg","galleries_id":41266,"server_id":15,"link":"photo_602929.html","width":130,"caption":"Lion Cubs","height":86});
															thumbnails[602936] = clik.newPhoto({"id":602936,"src":"HSI_037M_thumb.jpg","galleries_id":41266,"server_id":15,"link":"photo_602936.html","width":130,"caption":"African Lion","height":185});
															thumbnails[602941] = clik.newPhoto({"id":602941,"src":"HSI_064M_thumb.jpg","galleries_id":41266,"server_id":15,"link":"photo_602941.html","width":130,"caption":"African Elephant ","height":84});
															thumbnails[602947] = clik.newPhoto({"id":602947,"src":"HSI_170_M_thumb.jpg","galleries_id":41266,"server_id":15,"link":"photo_602947.html","width":130,"caption":"Red Stag (Cervus elaphs)","height":89});
															thumbnails[641448] = clik.newPhoto({"id":641448,"src":"HSI_011Sc_thumb.jpg","galleries_id":41270,"server_id":15,"link":"photo_641448.html","width":130,"caption":"Sunrise over the<br>\r\nRiver Wye  ","height":80});
															thumbnails[641508] = clik.newPhoto({"id":641508,"src":"HSI_010Sc_thumb.jpg","galleries_id":41270,"server_id":15,"link":"photo_641508.html","width":130,"caption":"Still Waters","height":85});
															thumbnails[641513] = clik.newPhoto({"id":641513,"src":"HSI_029Sc_thumb.jpg","galleries_id":41270,"server_id":15,"link":"photo_641513.html","width":130,"caption":"Assos","height":84});
															thumbnails[641539] = clik.newPhoto({"id":641539,"src":"HSI_006SC_thumb.jpg","galleries_id":41270,"server_id":15,"link":"photo_641539.html","width":130,"caption":"Pastures Green","height":85});
															thumbnails[642175] = clik.newPhoto({"id":642175,"src":"HSI_007Sc_thumb.jpg","galleries_id":41270,"server_id":15,"link":"photo_642175.html","width":130,"caption":"May Hill","height":80});
															thumbnails[642191] = clik.newPhoto({"id":642191,"src":"HSI_024Sc_thumb.jpg","galleries_id":41270,"server_id":15,"link":"photo_642191.html","width":130,"caption":"Ionian Sunset","height":85});
															thumbnails[645773] = clik.newPhoto({"id":645773,"src":"HSI_013Sc_thumb.jpg","galleries_id":41270,"server_id":15,"link":"photo_645773.html","width":130,"caption":"Turkish Delight","height":85});
															thumbnails[645790] = clik.newPhoto({"id":645790,"src":"HSI_002Sc_thumb.jpg","galleries_id":41270,"server_id":15,"link":"photo_645790.html","width":130,"caption":"Dalt Vila","height":79});
															thumbnails[645817] = clik.newPhoto({"id":645817,"src":"HSI_001Sc_thumb.jpg","galleries_id":41270,"server_id":15,"link":"photo_645817.html","width":130,"caption":"Es Cana","height":84});
															thumbnails[657593] = clik.newPhoto({"id":657593,"src":"HSI_014Sc_thumb.jpg","galleries_id":41270,"server_id":15,"link":"photo_657593.html","width":130,"caption":"Turkey","height":85});
															thumbnails[712154] = clik.newPhoto({"id":712154,"src":"HSI_014_GAM_thumb.jpg","galleries_id":54715,"server_id":15,"link":"photo_712154.html","width":130,"caption":"Red-Billed Hornbill (Tockus erythrorhynchus) ","height":88});
															thumbnails[712189] = clik.newPhoto({"id":712189,"src":"GAM002_thumb.jpg","galleries_id":54715,"server_id":15,"link":"photo_712189.html","width":130,"caption":"Red-Billed Hornbill (Tockus erythrorhynchus)","height":87});
															thumbnails[712193] = clik.newPhoto({"id":712193,"src":"HSI_OO6_GAM_thumb.jpg","galleries_id":54715,"server_id":15,"link":"photo_712193.html","width":130,"caption":"Red-Billed Firefinch (Lagonosticta senegala) ","height":88});
															thumbnails[712195] = clik.newPhoto({"id":712195,"src":"HSI_OO1_GAM_thumb.jpg","galleries_id":54715,"server_id":15,"link":"photo_712195.html","width":130,"caption":"Brown Babbler (Turdvides plebejus)","height":88});
															thumbnails[712197] = clik.newPhoto({"id":712197,"src":"GAM005_thumb.jpg","galleries_id":54715,"server_id":15,"link":"photo_712197.html","width":130,"caption":"Black Kite (Melvus migrans)","height":87});
															thumbnails[712199] = clik.newPhoto({"id":712199,"src":"HSI_024_GAM_thumb.jpg","galleries_id":54715,"server_id":15,"link":"photo_712199.html","width":130,"caption":"Hooded Vulture (Necrosyrtes monachus)","height":191});
															thumbnails[712204] = clik.newPhoto({"id":712204,"src":"HSI_026_GAM_thumb.jpg","galleries_id":54715,"server_id":15,"link":"photo_712204.html","width":130,"caption":"Gray-Headed Gull (Larus cirrocephalus)","height":88});
															thumbnails[712205] = clik.newPhoto({"id":712205,"src":"HSI_030_GAM_thumb.jpg","galleries_id":54715,"server_id":15,"link":"photo_712205.html","width":130,"caption":"Gray-Headed Gull (Larus cirrocephalus)","height":88});
															thumbnails[714598] = clik.newPhoto({"id":714598,"src":"HSI_066_GAM_thumb.jpg","galleries_id":54715,"server_id":15,"link":"photo_714598.html","width":130,"caption":"Yellow-Crowned Gonolek (Laniarius barbarus)","height":88});
															thumbnails[714628] = clik.newPhoto({"id":714628,"src":"HSI_061_GAM_thumb.jpg","galleries_id":54715,"server_id":15,"link":"photo_714628.html","width":130,"caption":"Red Colobus Monkey (Procolobus badius)","height":88});
															thumbnails[714650] = clik.newPhoto({"id":714650,"src":"HSI_063_GAM_thumb.jpg","galleries_id":54715,"server_id":15,"link":"photo_714650.html","width":130,"caption":"Red Colobus Monkey (Procolobus badius) ","height":192});
															thumbnails[715197] = clik.newPhoto({"id":715197,"src":"HSI_071_GAM_thumb.jpg","galleries_id":54715,"server_id":15,"link":"photo_715197.html","width":130,"caption":"Splended Sunbird (Nectarinia coccinigaster)","height":88});
															thumbnails[715246] = clik.newPhoto({"id":715246,"src":"HSI_044_GAM_thumb.jpg","galleries_id":54715,"server_id":15,"link":"photo_715246.html","width":130,"caption":"Lavender Waxbill (Extrilda caerulescens)","height":192});
															thumbnails[715261] = clik.newPhoto({"id":715261,"src":"HSI_055_GAM_thumb.jpg","galleries_id":54715,"server_id":15,"link":"photo_715261.html","width":130,"caption":"Red Colobus Monkey (Procolobus badius)","height":192});
															thumbnails[715276] = clik.newPhoto({"id":715276,"src":"HSI_036_GAM_thumb.jpg","galleries_id":54715,"server_id":15,"link":"photo_715276.html","width":130,"caption":"Hamerkop (Scopus umbretta)","height":88});
															thumbnails[715321] = clik.newPhoto({"id":715321,"src":"GAM015_thumb.jpg","galleries_id":54715,"server_id":15,"link":"photo_715321.html","width":130,"caption":"Giant Kingfisher (Megaceryle maxima)","height":87});
															thumbnails[715335] = clik.newPhoto({"id":715335,"src":"HSI_029_GAM_thumb.jpg","galleries_id":54715,"server_id":15,"link":"photo_715335.html","width":130,"caption":"Osprey (Pandion haliaetus)","height":88});
															thumbnails[715368] = clik.newPhoto({"id":715368,"src":"HSI_017_GAM_thumb.jpg","galleries_id":54715,"server_id":15,"link":"photo_715368.html","width":130,"caption":"Laughing Dove (Streptopelia senegalensis)","height":88});
															thumbnails[715404] = clik.newPhoto({"id":715404,"src":"HSI_041_GAM1_thumb.jpg","galleries_id":54715,"server_id":15,"link":"photo_715404.html","width":130,"caption":"Lavender Waxbill (Extrilda caerulescens)","height":88});
															thumbnails[1472081] = clik.newPhoto({"id":1472081,"src":"HSI_074B1_thumb.jpg","galleries_id":41267,"server_id":15,"link":"photo_1472081.html","width":130,"caption":"Great Skua (Stercorarius skua)","height":84});
															thumbnails[1472091] = clik.newPhoto({"id":1472091,"src":"HSI_040B_thumb.jpg","galleries_id":41267,"server_id":15,"link":"photo_1472091.html","width":130,"caption":"Puffin (Fratercula arctica)","height":201});
															thumbnails[1475351] = clik.newPhoto({"id":1475351,"src":"HSI_006M_thumb.jpg","galleries_id":41266,"server_id":15,"link":"photo_1475351.html","width":130,"caption":"African Lion (Panthera leo)","height":84});
															thumbnails[1475378] = clik.newPhoto({"id":1475378,"src":"HSI_016M_thumb.jpg","galleries_id":41266,"server_id":15,"link":"photo_1475378.html","width":130,"caption":"African Lions (Panthera leo)","height":85});
															thumbnails[1475390] = clik.newPhoto({"id":1475390,"src":"HSI_025M_thumb.jpg","galleries_id":41266,"server_id":15,"link":"photo_1475390.html","width":130,"caption":"African Lion Cubs (Panthera leo)","height":85});
															thumbnails[1475396] = clik.newPhoto({"id":1475396,"src":"HSI_009M_thumb.jpg","galleries_id":41266,"server_id":15,"link":"photo_1475396.html","width":130,"caption":"African Lion Cubs (Panthera leo)","height":85});
															thumbnails[1475403] = clik.newPhoto({"id":1475403,"src":"HSI_039M_thumb.jpg","galleries_id":41266,"server_id":15,"link":"photo_1475403.html","width":130,"caption":"African Lion Cub","height":192});
															thumbnails[1475423] = clik.newPhoto({"id":1475423,"src":"HSI_024M_thumb.jpg","galleries_id":41266,"server_id":15,"link":"photo_1475423.html","width":130,"caption":"African Lions","height":85});
															thumbnails[1509788] = clik.newPhoto({"id":1509788,"src":"HSI-001W_thumb.jpg","galleries_id":41269,"server_id":15,"link":"photo_1509788.html","width":130,"caption":"Marbeled White ","height":88});
															thumbnails[1509801] = clik.newPhoto({"id":1509801,"src":"HSI_007WI_thumb.jpg","galleries_id":41269,"server_id":15,"link":"photo_1509801.html","width":130,"caption":"Marbled White ","height":88});
															thumbnails[1515413] = clik.newPhoto({"id":1515413,"src":"HSI_019Sc_thumb.jpg","galleries_id":41270,"server_id":15,"link":"photo_1515413.html","width":130,"caption":"Petronas Twin Towers","height":184});
															thumbnails[1515654] = clik.newPhoto({"id":1515654,"src":"HSI_018Sc_thumb.jpg","galleries_id":41270,"server_id":15,"link":"photo_1515654.html","width":130,"caption":"Petronas Twin Towers from room 118","height":197});
															thumbnails[1518493] = clik.newPhoto({"id":1518493,"src":"HSI_021Sc_thumb.jpg","galleries_id":41270,"server_id":15,"link":"photo_1518493.html","width":130,"caption":"SkyBridge","height":85});
															thumbnails[1546720] = clik.newPhoto({"id":1546720,"src":"HSI_060Sc_thumb.jpg","galleries_id":41270,"server_id":15,"link":"photo_1546720.html","width":130,"caption":"Spanish Silhouette","height":88});
															thumbnails[1546746] = clik.newPhoto({"id":1546746,"src":"HSI_061Sc_thumb.jpg","galleries_id":41270,"server_id":15,"link":"photo_1546746.html","width":130,"caption":"Atlantic Palm","height":192});
															thumbnails[1548753] = clik.newPhoto({"id":1548753,"src":"HSI_104M_thumb.jpg","galleries_id":41266,"server_id":15,"link":"photo_1548753.html","width":130,"caption":"Bengal Tiger (Panthera tigris)","height":85});
															thumbnails[1554699] = clik.newPhoto({"id":1554699,"src":"HSI_001E_thumb.jpg","galleries_id":106146,"server_id":15,"link":"photo_1554699.html","width":130,"caption":"Green Man","height":88});
															thumbnails[1558885] = clik.newPhoto({"id":1558885,"src":"HSI_099M_thumb.jpg","galleries_id":41266,"server_id":15,"link":"photo_1558885.html","width":130,"caption":"Bengal Tiger (Panthera tigris)","height":84});
															thumbnails[1558894] = clik.newPhoto({"id":1558894,"src":"HSI_101M_thumb.jpg","galleries_id":41266,"server_id":15,"link":"photo_1558894.html","width":130,"caption":"Bengal Tiger (Panthera tigris)","height":85});
															thumbnails[1558900] = clik.newPhoto({"id":1558900,"src":"HSI_102M_thumb.jpg","galleries_id":41266,"server_id":15,"link":"photo_1558900.html","width":130,"caption":"Bengal Tiger (Panthera tigris)","height":84});
															thumbnails[1558909] = clik.newPhoto({"id":1558909,"src":"HSI_110M_thumb.jpg","galleries_id":41266,"server_id":15,"link":"photo_1558909.html","width":130,"caption":"Bengal Tiger (Panthera tigris)","height":85});
															thumbnails[1558919] = clik.newPhoto({"id":1558919,"src":"HSI_111M_thumb.jpg","galleries_id":41266,"server_id":15,"link":"photo_1558919.html","width":130,"caption":"Bengal Tiger (Panthera tigris)","height":89});
															thumbnails[1558953] = clik.newPhoto({"id":1558953,"src":"HSI_005WI_thumb.jpg","galleries_id":41269,"server_id":15,"link":"photo_1558953.html","width":130,"caption":"Marbled White","height":192});
															thumbnails[1558968] = clik.newPhoto({"id":1558968,"src":"HSI_015Sc_thumb.jpg","galleries_id":41270,"server_id":15,"link":"photo_1558968.html","width":130,"caption":"Diani Beach","height":84});
															thumbnails[1558971] = clik.newPhoto({"id":1558971,"src":"HSI_016Sc_thumb.jpg","galleries_id":41270,"server_id":15,"link":"photo_1558971.html","width":130,"caption":"Diani Beach","height":80});
															thumbnails[1558972] = clik.newPhoto({"id":1558972,"src":"HSI_017Sc_thumb.jpg","galleries_id":41270,"server_id":15,"link":"photo_1558972.html","width":130,"caption":"Diani Beach","height":83});
															thumbnails[1574088] = clik.newPhoto({"id":1574088,"src":"HSI_057Sc_thumb.jpg","galleries_id":41270,"server_id":15,"link":"photo_1574088.html","width":130,"caption":"Falls on the river Marteg","height":192});
															thumbnails[1574143] = clik.newPhoto({"id":1574143,"src":"HSI_187B_thumb.jpg","galleries_id":41267,"server_id":15,"link":"photo_1574143.html","width":130,"caption":"Red Kite (Milvus milvus)","height":88});
															thumbnails[1574198] = clik.newPhoto({"id":1574198,"src":"HSI_008Sc_thumb.jpg","galleries_id":41270,"server_id":15,"link":"photo_1574198.html","width":130,"caption":"Queenswood","height":85});
															thumbnails[1574201] = clik.newPhoto({"id":1574201,"src":"HSI_009Sc_thumb.jpg","galleries_id":41270,"server_id":15,"link":"photo_1574201.html","width":130,"caption":"Queenswood","height":89});
															thumbnails[1578518] = clik.newPhoto({"id":1578518,"src":"HSI_004Ms_thumb.jpg","galleries_id":107906,"server_id":15,"link":"photo_1578518.html","width":130,"caption":"Hawk Moth","height":88});
															thumbnails[1578694] = clik.newPhoto({"id":1578694,"src":"HSI_006Ms_thumb.jpg","galleries_id":107906,"server_id":15,"link":"photo_1578694.html","width":130,"caption":"Hawk Moth","height":88});
															thumbnails[1603878] = clik.newPhoto({"id":1603878,"src":"HSI_214M_thumb.jpg","galleries_id":41266,"server_id":15,"link":"photo_1603878.html","width":130,"caption":"Red Stag (Cervus elaphs)","height":88});
															thumbnails[1668162] = clik.newPhoto({"id":1668162,"src":"HSI_074_GAM_thumb.jpg","galleries_id":54715,"server_id":15,"link":"photo_1668162.html","width":130,"caption":"Sunset on Kololi Beach","height":191});
															thumbnails[1668630] = clik.newPhoto({"id":1668630,"src":"HSI_002E_thumb.jpg","galleries_id":106146,"server_id":15,"link":"photo_1668630.html","width":130,"caption":"East Window","height":195});
															thumbnails[1673119] = clik.newPhoto({"id":1673119,"src":"HSI_036M_thumb.jpg","galleries_id":41266,"server_id":15,"link":"photo_1673119.html","width":130,"caption":"African Lion (Panthera leo)","height":188});
															thumbnails[1673130] = clik.newPhoto({"id":1673130,"src":"HSI_053M_thumb.jpg","galleries_id":41266,"server_id":15,"link":"photo_1673130.html","width":130,"caption":"African Leopard (Panthera pardus)","height":84});
															thumbnails[1673158] = clik.newPhoto({"id":1673158,"src":"HSI_003E_thumb.jpg","galleries_id":106146,"server_id":15,"link":"photo_1673158.html","width":130,"caption":"Stained Glass","height":192});
															thumbnails[1767143] = clik.newPhoto({"id":1767143,"src":"HSI_079M_thumb.jpg","galleries_id":41266,"server_id":15,"link":"photo_1767143.html","width":130,"caption":"Plains Zebra","height":200});
															thumbnails[1767174] = clik.newPhoto({"id":1767174,"src":"HSI_226M_thumb.jpg","galleries_id":41266,"server_id":15,"link":"photo_1767174.html","width":130,"caption":"Gray Seal (Halichoerus grypus)","height":88});
															thumbnails[1815093] = clik.newPhoto({"id":1815093,"src":"HSI_018C_thumb.jpg","galleries_id":45015,"server_id":15,"link":"photo_1815093.html","width":130,"caption":"Black Leopard (Panthera pardus) ","height":87});
															thumbnails[2496055] = clik.newPhoto({"id":2496055,"src":"HSI_007_E_thumb.jpg","galleries_id":106146,"server_id":15,"link":"photo_2496055.html","width":130,"caption":"Stained Glass","height":197});
															thumbnails[2496112] = clik.newPhoto({"id":2496112,"src":"HSI_001_E_thumb.jpg","galleries_id":106146,"server_id":15,"link":"photo_2496112.html","width":130,"caption":"Stained Glass","height":186});
															thumbnails[3826522] = clik.newPhoto({"id":3826522,"src":"HSI_117_C_thumb.jpg","galleries_id":45015,"server_id":15,"link":"photo_3826522.html","width":130,"caption":"Clouded Leopard (Neofelis nebulosa)","height":88});
															thumbnails[8853242] = clik.newPhoto({"id":8853242,"src":"Bunce_HSI_038_Wf1_thumb.jpg","galleries_id":118770,"server_id":15,"link":"photo_8853242.html","width":130,"caption":"Birds-Nest Orchid","height":163});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[41267] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Birds","link":"gallery_41267.html","maxRecords":0.0,"photoIDs":[6489628.0,3839455.0,3839413.0,3839426.0,2495614.0,2495624.0,2646213.0,2646277.0,2646412.0,2646448.0,2646547.0,2646556.0,1814991.0,2646594.0,532278.0,532280.0,532285.0,532290.0,532292.0,532296.0,532304.0,532873.0,532878.0,532884.0,534911.0,534972.0,534977.0,534984.0,534991.0,534999.0,535062.0,535073.0,535125.0,576549.0,576554.0,576561.0,576604.0,1472081.0,1472091.0,1574143.0],"skipIndex":0,"section_code":"gallery","featured_images":576561.0,"id":41267,"singleSection":false});				  						galleries[45015] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Captive","link":"gallery_45015.html","maxRecords":0.0,"photoIDs":[3826553.0,3826576.0,5131206.0,5135476.0,584780.0,584800.0,584822.0,584827.0,585604.0,585615.0,585628.0,585654.0,585669.0,585686.0,585709.0,1815093.0,3826522.0],"skipIndex":0,"section_code":"gallery","featured_images":"5135476,5131206,3826576,3826553,3826522,1815093,585709,585686,585669,585654","id":45015,"singleSection":false});				  						galleries[107636] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Floral","link":"gallery_107636.html","maxRecords":0.0,"photoIDs":[6489503.0,6489509.0,6489513.0,1574108.0,1574129.0,1673897.0],"skipIndex":0,"section_code":"gallery","featured_images":"6489513,6489509,6489503,1673897,1574129,1574108","id":107636,"singleSection":false});				  						galleries[54715] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Gambia Dec 2006","link":"gallery_54715.html","maxRecords":0.0,"photoIDs":[712154.0,712189.0,712193.0,712195.0,712197.0,712199.0,712204.0,712205.0,714598.0,714628.0,714650.0,715197.0,715246.0,715261.0,715276.0,715321.0,715335.0,715368.0,715404.0,1668162.0],"skipIndex":0,"section_code":"gallery","featured_images":"1668162,715404,715368,715335,715321,715276,715261,715246,715197,714650","id":54715,"singleSection":false});				  						galleries[41269] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"H.N.T Reserves","link":"gallery_41269.html","maxRecords":0.0,"photoIDs":[6489563.0,6490084.0,6490101.0,6490107.0,2645863.0,2054354.0,1924340.0,1925603.0,1925644.0,1673919.0,1925544.0,1554738.0,1554748.0,1554760.0,1554767.0,599881.0,599890.0,557033.0,557039.0,557049.0,557061.0,567302.0,568300.0,568562.0,568599.0,568609.0,568610.0,590752.0,1509788.0,1509801.0,1558953.0],"skipIndex":0,"section_code":"gallery","featured_images":557033.0,"id":41269,"singleSection":false});				  						galleries[106146] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Historic Churches","link":"gallery_106146.html","maxRecords":0.0,"photoIDs":[5652903.0,4336419.0,4336438.0,4336466.0,4336477.0,4336481.0,4336485.0,4336487.0,1554699.0,1668630.0,1673158.0,2496055.0,2496112.0],"skipIndex":0,"section_code":"gallery","featured_images":"5652903,4336487,4336485,4336481,4336477,4336466,4336438,4336419,2496112,2496055","id":106146,"singleSection":false});				  						galleries[41266] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Mammals","link":"gallery_41266.html","maxRecords":0.0,"photoIDs":[1683642.0,1924354.0,1672899.0,1673054.0,1673086.0,1686370.0,1686373.0,532269.0,532310.0,532316.0,532894.0,532899.0,532908.0,532911.0,532914.0,532918.0,532921.0,532926.0,532929.0,532936.0,533895.0,533896.0,533899.0,533900.0,533901.0,533902.0,533903.0,533904.0,533905.0,533906.0,534890.0,534918.0,558182.0,602918.0,602922.0,602929.0,602936.0,602941.0,602947.0,1475351.0,1475378.0,1475390.0,1475396.0,1475403.0,1475423.0,1548753.0,1558885.0,1558894.0,1558900.0,1558909.0,1558919.0,1603878.0,1673119.0,1673130.0,1767143.0,1767174.0],"skipIndex":0,"section_code":"gallery","featured_images":532914.0,"id":41266,"singleSection":false});				  						galleries[107906] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Miscellaneous","link":"gallery_107906.html","maxRecords":0.0,"photoIDs":[6490065.0,6489555.0,6489557.0,1578518.0,1578694.0],"skipIndex":0,"section_code":"gallery","featured_images":1578518.0,"id":107906,"singleSection":false});				  						galleries[118770] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Recent Additions","link":"gallery_118770.html","maxRecords":0.0,"photoIDs":[6490120.0,6490131.0,6490138.0,6490147.0,5653098.0,5652962.0,5652886.0,5652965.0,5652879.0,5652970.0,5703767.0,5703791.0,5703795.0,6489622.0,6490074.0,5652961.0,6489566.0,5703886.0,8853242.0],"skipIndex":0,"section_code":"gallery","featured_images":"8853242,6490147,6490138,6490131,6490120,6490074,6489622,6489566,5703886,5703795","id":118770,"singleSection":false});				  						galleries[41270] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Scenics","link":"gallery_41270.html","maxRecords":0.0,"photoIDs":[6490060.0,6489645.0,6489724.0,641448.0,641508.0,641513.0,641539.0,642175.0,642191.0,645773.0,645790.0,645817.0,657593.0,1515413.0,1515654.0,1518493.0,1546720.0,1546746.0,1558968.0,1558971.0,1558972.0,1574088.0,1574198.0,1574201.0],"skipIndex":0,"section_code":"gallery","featured_images":"1546720,641539","id":41270,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '1710500,1574088,1546720,602936,534911,532926,532899,528143';
imageSets[2] = '1578518,1546720,641539,576561,557033,532914';
imageSets[3] = '8853242,6490147,6490138,6490131,6490120,6490107,6490101,6490084,6490074,6490065,6490060,6489724,6489645,6489628,6489622,6489566,6489563,6489557,6489555,6489513,6489509,6489503,5703886,5703795,5703791,5703767,5653098,5652970,5652965,5652962,5652961,5652903,5652886,5652879,5135476,5131206,4336487,4336485,4336481,4336477,4336466,4336438,4336419,3839455,3839426,3839413,3826576,3826553,3826522,2646594';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/bunter/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/bunter/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/bunter/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/bunter/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/bunter/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/bunter/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/bunter/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/bunter/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/bunter/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/bunter/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/bunter/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/bunter/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/bunter/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/bunter/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/bunter/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/bunter/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/bunter/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/bunter/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/bunter/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/bunter/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/bunter/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/bunter/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/bunter/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/bunter/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/bunter/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/bunter/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/bunter/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 || photos || {})[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:'',$detailContainer:'',
                    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 (op.updateHash && clik.getIDInUrl(location.href,'photo') != op.nextPhoto.id) {
		clik.changeHash('photos_id=' + op.nextPhoto.id, true);
	}
		
	    if (op.$title.length > 0) {
  		op.$title.fadeGalleryDetails(photoCaption, op.speed);
    }
        if (op.updateDocumentTitle) {
						  document.title = 'Hide & Seek Imagery by Liam Bunce: ' + photoCaption;
			    }
        if (op.$detail.length > 0) {
      	temp = op.nextPhoto.fnGetImageDetails();
	    op.$detail.fadeGalleryDetails(temp, op.speed, function(){
			if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
				toggleAddToCartConfirm(backgrounds, op.$detail);
			} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
				toggleAddToCartConfirm(photos, op.$detail);
			}
			$('body').trigger('clikUpdate.popup');
	    });
    }
        $(op.$detailContainer).find('.replaceable[class*=replaceable_photo-]').each(function(){
    	var field = clik.getPrefixedClass(this.className, 'replaceable_photo-');
    	if (field in op.nextPhoto) {
    		$(this).fadeGalleryDetails(op.nextPhoto[field], op.speed);
    	}
    }).end().find('.replaceable.photoPayment').fadeGalleryDetails(op.nextPhoto.fnGetPaymentInfo(), op.speed, function(){
		if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
			toggleAddToCartConfirm(backgrounds, op.$detailContainer);
		} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
			toggleAddToCartConfirm(photos, op.$detailContainer);
		}
		$('body').trigger('clikUpdate.popup');
	});
		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.speed) {
      	clik.doColumnResize(false, op.$photo.add(op.$detail).add(op.$title));
    }
        
    return html;
	}

/***************************************************************************
* Toggle add to cart confirmation element and set up the click event for   *
* the 'Add to cart' button.                                                *
***************************************************************************/
function toggleAddToCartConfirm(array, root){
	if (typeof(array) !== 'object' || array === null) {
	  	array = photos;
	}
	if (!$(root).length) {		root = $('body');	}	if($('#paymentConfirm', root).length > 0){
		$('#paymentConfirm', root).hide();
		$('#paymentAddButton', root)
		.unbind()
		.click(function(){
						form = $('#paymentForm', root)[0];
			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', root).text('Item added to cart').show();}
				else{
					$('#paymentConfirm', root).text('Item added to cart').fadeIn();
					dspOrderDetails(form.site.value);
				}
			}
			else{
				$('#paymentConfirm', root).text('Item not added - check cookies are enabled in your browser.').fadeIn();
			}
		});
	}
}

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetImageDetails = function(){
	var temp = '';
	if (this.description != '') {
		temp +=  '<div id="imageDescription">' + this.description + '</div>';
	}
		if (this.photo_ref != '') {
		temp += '<div class="imageinfo" id="imageRef"><strong>Ref: </strong>' + this.photo_ref + '</div>';
	}
		if (this.takendate != '') {
		
		temp += '<div class="imageinfo" id="imageDate"><strong>Date: </strong>' + this.takendate + '</div>';
	}
	
	if (this.location != '') {
		
		temp += '<div class="imageinfo" id="imageLocation"><strong>Location: </strong>' +  this.location + '</div>';
	}
	
	if (this.photographer != '') {
		
		temp += '<div class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>' + this.photographer + '</div>';
	}
				
	temp += this.fnGetPaymentInfo();
				if (temp != '') {
		temp += '<div class="spacer"></div>';
	}
	return temp;
};

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetPaymentInfo = function(){
	var temp = '';
	if (this.item_price !== '') {
																		temp += '<p>Buy now using PayPal:</p>';
				temp += '<div class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> &pound;' + (this.item_price).toFixed(2) + '</div>';
		var item_name  = this.purchase_instruction;
		var amount = (this.item_price).toFixed(2);
		var item_option  = 0;
	}
		else if (this.payment_groups_id !== '') {
		temp += '<p>Buy this print online:</p>';
				temp += '<form id="paymentOptions" style="margin:0px;border:0px;" name="paymentOptions">';
											temp += '<select class="paymentlink" name="payment_options_id" onchange="updateItemValues($(this.form).next(\'#paymentForm\')[0],this.form.payment_options_id.options[this.form.payment_options_id.options.selectedIndex].value);">';
		
		temp += getPaymentOptions(this.payment_groups_id);
		temp += '</select>';
		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 += '<form id="paymentForm" style="margin:0px;border:0px;" name="paymentForm" target="_blank" action="https://www.paypal.com/cgi-bin/webscr" method="post">';
			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 += '<input type="hidden" name="cmd" value="_cart">';
					temp += '<input type="hidden" name="business" value="hideandseekimagery@gmail.com">';
					temp += '<input type="hidden" name="currency_code" value="GBP">';
					temp += '<input type="hidden" name="add" value="1">';
													temp += '<input type="hidden" name="amount" value="'+amount+'">';
					temp += '<input type="hidden" name="item_number" value="'+ref+'">';
													temp += '<input type=\"Submit\" value=\"Add to cart\" id=\"paymentAddButton\" class=\"button\" onmouseover=\"this.className=\'buttonHi\';\" onmouseout=\"this.className=\'button\';\">';
										temp += '</form>';
										temp += '<form id="paymentCartForm" style="margin:0px;" name="paymentCartForm" target="_blank" action="https://www.paypal.com/cgi-bin/webscr" method="post">';
				temp += '<input type="hidden" name="cmd" value="_cart">';
				temp += '<input type="hidden" name="business" value="hideandseekimagery@gmail.com">';
				temp += '<input type="hidden" name="display" value="1">';
				temp += '<input type=\"Submit\" value=\"View cart\" id=\"paymentViewButton\" class=\"button\" onmouseover=\"this.className=\'buttonHi\';\" onmouseout=\"this.className=\'button\';\">';
				temp += '</form>';
						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({					title: galleries[gallery_id].title				}).filter(function(){return this.href;}).attr({					href: thumbnails[imageID].fnGalleryLink(gallery_id)				});
			}
		}
	}
}

/***************************************************************************
* 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 += '<a href="' + galleries[i].section_code + '_' + galleries[i].id + '.html">' + galleries[i].title + '</a>';
							}
		}
		document.all.galleryLinks.innerHTML = 'Other galleries: ' + temp;
	}
}

			

