window.thumbnails = new Object();
												thumbnails[3126716] = new thumbnail(3126716,'','','birders world magazine 99 w 2_thumb.jpg',130, 167,1,'															#');
												thumbnails[3126788] = new thumbnail(3126788,'','','digital camera photographer of the year 2007 w1_thumb.jpg',130, 187,1,'															#');
												thumbnails[3263144] = new thumbnail(3263144,'','','red crested koraan 98u web_thumb.jpg',130, 98,1,'															#');
												thumbnails[3943620] = new thumbnail(3943620,'','','Kfrostimages11_thumb.jpg',130, 86,1,'															#');
												thumbnails[3943628] = new thumbnail(3943628,'','','Kfrostimages2_thumb.jpg',130, 86,1,'															#');
												thumbnails[4102188] = new thumbnail(4102188,'','','go_magazine_portfolio_june_2009_www_thumb.jpg',130, 172,1,'															#');
												thumbnails[7148042] = new thumbnail(7148042,'','','vervet_monkey_Kirsten_Frost_w600_thumb.jpg',130, 170,1,'															#');
												thumbnails[6997562] = new thumbnail(6997562,'230825','\'Nature\'s Frontline\'','elephant_fr55-23_v2w_thumb.jpg',130, 183,1,'																			photo_6997562.html');
												thumbnails[7246968] = new thumbnail(7246968,'92695','African Fish Eagle & Plover','african_fish_eagle_blacksmith_plover_kirsten_frost_600w_thumb.jpg',130, 195,1,'																			photo_7246968.html');
												thumbnails[4705740] = new thumbnail(4705740,'92695','Verreaux\'s Eagle','eagle_nest_3343_23_23_thumb.jpg',130, 181,1,'																			photo_4705740.html');
												thumbnails[5696034] = new thumbnail(5696034,'230825','Young Elephant','elephant_fg66-3w_thumb.jpg',130, 178,1,'																			photo_5696034.html');
												thumbnails[6028384] = new thumbnail(6028384,'230720','\'Natures Frontline\' - African Elephant','African_Elephant_Kirsten_Frost_fr55-2_web_D07A7108-1D09-001F-99C81BE9E99229AC_thumb.jpg',130, 188,1,'																			photo_6028384.html');
												thumbnails[4705762] = new thumbnail(4705762,'92695','Verreaux\'s Eagle','black_eagle_perched_frw_web_thumb.jpg',130, 192,1,'																			photo_4705762.html');
												thumbnails[5844781] = new thumbnail(5844781,'230720','Kelp Gull at Sunset','Gull_Environmental_Kirsten_Frost_98id5w_thumb.jpg',130, 195,1,'																			photo_5844781.html');
												thumbnails[5376010] = new thumbnail(5376010,'230721','\'Backlit King\' - Pied Kingfisher','pied_kingfisher_web_thumb.jpg',130, 76,1,'																			photo_5376010.html');
												thumbnails[2044294] = new thumbnail(2044294,'92695','Lesser Spotted Eagle','lesser spotted Eagle 87yy w_thumb.jpg',130, 195,1,'																			photo_2044294.html');
												thumbnails[3784758] = new thumbnail(3784758,'230720','\'Visions in Pink\' - Flamingo','flamingo_kirsten_frost_88h_2_thumb.jpg',130, 195,1,'																			photo_3784758.html');
												thumbnails[1826247] = new thumbnail(1826247,'92695','Steppe Buzzard','Steppe Buzzard web_thumb.jpg',130, 180,1,'																			photo_1826247.html');
												thumbnails[3042831] = new thumbnail(3042831,'92694','\'Visions in Pink\' - Greater Flamingo','greater flamingo 88h 2 webodp_thumb.jpg',130, 195,1,'																			photo_3042831.html');
												thumbnails[3785675] = new thumbnail(3785675,'230825','Stand Alone','tree_666_bw_w_thumb.jpg',130, 194,1,'																			photo_3785675.html');
												thumbnails[6028664] = new thumbnail(6028664,'230720','\'Naked Grassland\' - leopard in open land','Leopard_kirste_frost_ty66_thumb.jpg',130, 197,1,'																			photo_6028664.html');
												thumbnails[3241888] = new thumbnail(3241888,'92695','Pied Crow','pied_crow_76y63w8001_thumb.jpg',130, 83,1,'																			photo_3241888.html');
												thumbnails[3785643] = new thumbnail(3785643,'230825','Flightless','Feather_686_w1_thumb.jpg',130, 195,1,'																			photo_3785643.html');
												thumbnails[3148307] = new thumbnail(3148307,'92694','\'Courtship Greeting\'<br>\r\n','grey herons gft5 g_thumb.jpg',130, 186,1,'																			photo_3148307.html');
												thumbnails[3784636] = new thumbnail(3784636,'230721','\'In the Reeds\' - Blackheaded Heron','blackheaded_heron_575w1_thumb.jpg',130, 82,1,'																			photo_3784636.html');
												thumbnails[5695936] = new thumbnail(5695936,'92696','Goldentailed Woodpecker','goldentailed_woodpecker_f4w_thumb.jpg',130, 195,1,'																			photo_5695936.html');
												thumbnails[6028477] = new thumbnail(6028477,'230720','\'Reed Life\' - Grey Heron nesting ','grey_heron_nesting_kirsten_frost_8821_thumb.jpg',130, 87,1,'																			photo_6028477.html');
												thumbnails[3614031] = new thumbnail(3614031,'92695','Rock Kestrel','rock_kestrel_jhu8_800w_thumb.jpg',130, 89,1,'																			photo_3614031.html');
												thumbnails[2160889] = new thumbnail(2160889,'92694','Grey-Headed Gull','Grey headed Gull_8574_web_thumb.jpg',130, 175,1,'																			photo_2160889.html');
												thumbnails[2161025] = new thumbnail(2161025,'92695','Long-crested Eagle','Longcrested Eagle web_thumb.jpg',130, 85,1,'																			photo_2161025.html');
												thumbnails[3784766] = new thumbnail(3784766,'230720','\'Autumn Hues\' - Giraffe in mopane forest ','Girraffe_9876_700p1_thumb.jpg',130, 87,1,'																			photo_3784766.html');
												thumbnails[7247282] = new thumbnail(7247282,'245542','African Fish Eagle','african_fish_eagle_blacksmith_plover_kirsten_frost_600w12_thumb.jpg',130, 195,1,'																			photo_7247282.html');
												thumbnails[7247290] = new thumbnail(7247290,'245542','African Fish Eagle','african_fish_eagle_kirsten_frost_w60012_thumb.jpg',130, 190,1,'																			photo_7247290.html');
												thumbnails[6892113] = new thumbnail(6892113,'245542','Cape Clawless Otter','cape_clawless_otter_3433_23_web1_thumb.jpg',130, 183,1,'																			photo_6892113.html');
												thumbnails[3272771] = new thumbnail(3272771,'92695','Black-shouldered Kite','Black-shouldered Kite web_thumb.jpg',130, 90,1,'																			photo_3272771.html');
												thumbnails[4077973] = new thumbnail(4077973,'92694','\'Motion Capture\' - Flamingos and Ibis','flimingos_8768_fw12_thumb.jpg',130, 169,1,'																			photo_4077973.html');
												thumbnails[6028485] = new thumbnail(6028485,'230720','\'Sunrise Ballet\' - Greater Flamingos ','flamingo_flock_kirsten_frost_tu44_thumb.jpg',130, 87,1,'																			photo_6028485.html');
												thumbnails[7247255] = new thumbnail(7247255,'245542','African Fish Eagle','african_fish_eagle_kirsten_frost_w800_21_47CFC287-1EC9-D45B-1C6D061CE0769005_thumb.jpg',130, 76,1,'																			photo_7247255.html');
												thumbnails[6029390] = new thumbnail(6029390,'230720','\'Wings over Water\' - Whiskered Tern','wiskered_tern_kirsten_frost_yu7y_thumb.jpg',130, 87,1,'																			photo_6029390.html');
												thumbnails[6028466] = new thumbnail(6028466,'230720','\'Back to the Beauty\' Bontebok and rainbow','Bontebok_Kirsten_Frost_t55_web_thumb.jpg',130, 195,1,'																			photo_6028466.html');
												thumbnails[6892056] = new thumbnail(6892056,'245542','Grey Heron','grey_heron_nesting_882web12_thumb.jpg',160, 107,1,'																			photo_6892056.html');
												thumbnails[3241892] = new thumbnail(3241892,'92695','Pied Crow','pied crow yt65 web_thumb.jpg',130, 86,1,'																			photo_3241892.html');
												thumbnails[3116365] = new thumbnail(3116365,'43723','\'Nature\'s Giants\' - African Elephant and giant trees','elephant_4544_700p2_thumb.jpg',130, 214,1,'																			photo_3116365.html');
												thumbnails[3784644] = new thumbnail(3784644,'230721','\'Familiar Faces\' - Cape Gannets','cape_gannets_55678_w8003_thumb.jpg',130, 87,1,'																			photo_3784644.html');
												thumbnails[3784800] = new thumbnail(3784800,'230720','\'Natures Giants\' - African Elephant and riverside flora','elephant_4544_700p21_thumb.jpg',130, 214,1,'																			photo_3784800.html');
												thumbnails[3785654] = new thumbnail(3785654,'230825','African Dreams','elephant_environment_ghtu22_bw_w_thumb.jpg',130, 200,1,'																			photo_3785654.html');
												thumbnails[6892046] = new thumbnail(6892046,'245542','\'Flash Blur\' - Pied Kingfisher','pied_kingfisher_w8001_thumb.jpg',130, 85,1,'																			photo_6892046.html');
												thumbnails[4705767] = new thumbnail(4705767,'92695','Verreaux\'s Eagle','black_eagle_juvenile_ght5_cld_web_thumb.jpg',130, 87,1,'																			photo_4705767.html');
												thumbnails[3272850] = new thumbnail(3272850,'92695','Black-shouldered Kite','Black-shouldered Kite webn_thumb.jpg',130, 85,1,'																			photo_3272850.html');
												thumbnails[3784797] = new thumbnail(3784797,'230720','Steenbok','steenbok_kirsten_frost_jhu772_w_thumb.jpg',130, 204,1,'																			photo_3784797.html');
												thumbnails[6518967] = new thumbnail(6518967,'245542','Giraffe','giraffe_454t3w1_thumb.jpg',160, 107,1,'																			photo_6518967.html');
												thumbnails[7247013] = new thumbnail(7247013,'92695','African Fish Eagle\'s','african_fish_eagle_kirsten_frost_w800_2_thumb.jpg',130, 76,1,'																			photo_7247013.html');
												thumbnails[4705758] = new thumbnail(4705758,'92695','Verreaux\'s Eagle','black_eagle_th55_web_thumb.jpg',130, 78,1,'																			photo_4705758.html');
												thumbnails[6028497] = new thumbnail(6028497,'230720','\'Thirstland Ambush\' - a Nile crocodile waits patiently','nile_crocodile_kirsten_frost_898_webs_thumb.jpg',130, 202,1,'																			photo_6028497.html');
												thumbnails[6137462] = new thumbnail(6137462,'245542','\'Staring Squacco\' - Squacco Heron','squacco_heron_kirsten_frost_89u_web1_thumb.jpg',130, 188,1,'																			photo_6137462.html');
												thumbnails[3784663] = new thumbnail(3784663,'230721','\'Into the Light\' - Pied Crow','pied_crow_yt65_700p_thumb.jpg',130, 86,1,'																			photo_3784663.html');
												thumbnails[6029841] = new thumbnail(6029841,'230720','\'The Last Sunset\' - injured Kelp Gull','kelp_gull_kirsten_frost_33e3w2_thumb.jpg',130, 87,1,'																			photo_6029841.html');
												thumbnails[6034881] = new thumbnail(6034881,'245542','\'Natures Frontline\' - African Elephant','African_Elephant_Kirsten_Frost_fr55-2_web1_thumb.jpg',130, 188,1,'																			photo_6034881.html');
												thumbnails[3272824] = new thumbnail(3272824,'92695','Black-shouldered Kite','Black-shouldered Kite 8766 web_thumb.jpg',130, 182,1,'																			photo_3272824.html');
												thumbnails[6028591] = new thumbnail(6028591,'230720','Pied Kingfisher','pied_Kingfisher_68yu6_3_thumb.jpg',130, 84,1,'																			photo_6028591.html');
												thumbnails[6035020] = new thumbnail(6035020,'245542','Pied Kingfisher','pied_Kingfisher_67y6_2_webb_D5DF18B8-24E8-5EC4-4FA0E5D7A8D1E75C_thumb.jpg',130, 183,1,'																			photo_6035020.html');
												thumbnails[7246990] = new thumbnail(7246990,'92695','African Fish Eagle','african_fish_eagle_kirsten_frost_w6001_thumb.jpg',130, 190,1,'																			photo_7246990.html');
												thumbnails[3614038] = new thumbnail(3614038,'92695','Lesser-spotted Eagle\'s','lesser-spotted_eagle_gftr_thumb.jpg',130, 195,1,'																			photo_3614038.html');
												thumbnails[3784649] = new thumbnail(3784649,'230721','Cattle Egret','Cattle_Egret_5_w1_thumb.jpg',130, 89,1,'																			photo_3784649.html');
												thumbnails[6028578] = new thumbnail(6028578,'230720','\'Tree Life\' - leopard with dead impala','leopard_kirsten_frost_76y62_thumb.jpg',130, 90,1,'																			photo_6028578.html');
												thumbnails[6034893] = new thumbnail(6034893,'245542','\'Back to the Beauty\' Bontebok and rainbow','Bontebok_Kirsten_Frost_t55_web_D5C7A37B-24E8-5EC4-4F3FF137A3B909A6_thumb.jpg',130, 195,1,'																			photo_6034893.html');
												thumbnails[1459313] = new thumbnail(1459313,'92695','African Marsh Harrier','African Marsh Harrier 1_thumb.jpg',130, 178,1,'																			photo_1459313.html');
												thumbnails[6033823] = new thumbnail(6033823,'230720','\'Surfing the Lines\' - African Marsh Harrier','african_marsh_harrier_kirsten_frost_34www_thumb.jpg',130, 87,1,'																			photo_6033823.html');
												thumbnails[3116381] = new thumbnail(3116381,'43723','Giraffe','giraffe 8400 w_thumb.jpg',130, 186,1,'																			photo_3116381.html');
												thumbnails[3613908] = new thumbnail(3613908,'92694','African Spoonbill ','african_spoonbill_8788_thumb.jpg',130, 87,1,'																			photo_3613908.html');
												thumbnails[3785664] = new thumbnail(3785664,'230825','Confident Buffalo','cape_buffalo_77l_w__thumb.jpg',130, 178,1,'																			photo_3785664.html');
												thumbnails[3959235] = new thumbnail(3959235,'92696','Cardinal Woodpecker ','woodpecker_6868_mysite_thumb.jpg',130, 173,1,'																			photo_3959235.html');
												thumbnails[3614019] = new thumbnail(3614019,'92694','Pied Kingfisher ','Pied_Kingfisher_exlt232_web1_thumb.jpg',130, 87,1,'																			photo_3614019.html');
												thumbnails[948200] = new thumbnail(948200,'92694','\'Dancing on Water\' - Little Egret','Little_Egret_w_thumb.jpg',130, 87,1,'																			photo_948200.html');
												thumbnails[3613940] = new thumbnail(3613940,'92694','Squacco Heron','squacco_heron_jghu2_wes_thumb.jpg',130, 87,1,'																			photo_3613940.html');
												thumbnails[3785820] = new thumbnail(3785820,'230825','Steenbok ','steenbok_jhuu_w_thumb.jpg',130, 192,1,'																			photo_3785820.html');
												thumbnails[5791395] = new thumbnail(5791395,'92694','\'Skimming\' - Swift Tern','Swift_Tern_ou973w2_thumb.jpg',130, 86,1,'																			photo_5791395.html');
												thumbnails[3148316] = new thumbnail(3148316,'92694','Swift Tern','swift_tern_dive_uy8092_v2w_thumb.jpg',130, 87,1,'																			photo_3148316.html');
												thumbnails[4083133] = new thumbnail(4083133,'230721','Blackheaded Heron','blackheaded_heron_g_700p_thumb.jpg',130, 83,1,'																			photo_4083133.html');
												thumbnails[4705837] = new thumbnail(4705837,'230825','Young Vervet Monkey','vertvet_monkey_7888_w_thumb.jpg',130, 169,1,'																			photo_4705837.html');
												thumbnails[5926713] = new thumbnail(5926713,'92694','Swift Tern','swift_tern_90sj2web1_thumb.jpg',130, 82,1,'																			photo_5926713.html');
												thumbnails[3784668] = new thumbnail(3784668,'230721','Little Grebe','little_dabchick_grebe_45tt5_w_thumb.jpg',130, 77,1,'																			photo_3784668.html');
												thumbnails[5926623] = new thumbnail(5926623,'92694','Swift Tern Shaking','swift_tern_ty800w_thumb.jpg',130, 71,1,'																			photo_5926623.html');
												thumbnails[5926464] = new thumbnail(5926464,'92694','Pied Kingfisher ','Pied_Kingfisher_tu5755_w700_thumb.jpg',130, 169,1,'																			photo_5926464.html');
												thumbnails[1856479] = new thumbnail(1856479,'92694','Caspian Tern','tern ghqaaa web_thumb.jpg',130, 184,1,'																			photo_1856479.html');
												thumbnails[5419967] = new thumbnail(5419967,'92694','Blacksmith Lapwing','blacksmith_plover_fgt5_webs_thumb.jpg',130, 172,1,'																			photo_5419967.html');
												thumbnails[5797491] = new thumbnail(5797491,'92694','Swift Tern','swift_tern_8733_web700_thumb.jpg',130, 206,1,'																			photo_5797491.html');
												thumbnails[6830542] = new thumbnail(6830542,'92694','\'Aerial Combat\' - Swift Terns ','Aerial_Combat_Kirsten_Frost_Swift_Tern_web_thumb.jpg',130, 89,1,'																			photo_6830542.html');
												thumbnails[6873619] = new thumbnail(6873619,'92694','\'Kingfisher Dive\'','pied_kingfisher_final_67777w21_thumb.jpg',130, 91,1,'																			photo_6873619.html');
												thumbnails[3784659] = new thumbnail(3784659,'230721','\'Visual Spectrum\' - Gull and Rainbow','gull_rainbow_68yu6_w_thumb.jpg',130, 86,1,'																			photo_3784659.html');
												thumbnails[5419850] = new thumbnail(5419850,'92694','Cape Shoveler\'s','cape_shoveler_09o9_2_webs_thumb.jpg',130, 86,1,'																			photo_5419850.html');
												thumbnails[5155690] = new thumbnail(5155690,'230721','\'Evening Flight\' - Puple Heron','purple_heron_675w_web_thumb.jpg',130, 78,1,'																			photo_5155690.html');
												thumbnails[3798422] = new thumbnail(3798422,'230721','\'Backlit Beauty\' - Cattle Egret','cattle_egret_2_77_fW_thumb.jpg',130, 79,1,'																			photo_3798422.html');
												thumbnails[584043] = new thumbnail(584043,'43723','\'Opportunist\' - Chacma Baboon','baboon_thumb.jpg',130, 195,1,'																			photo_584043.html');
												thumbnails[3148767] = new thumbnail(3148767,'92694','Pied Avocet','pied_avocet_jjn8_webs_thumb.jpg',130, 63,1,'																			photo_3148767.html');
												thumbnails[3413983] = new thumbnail(3413983,'92696','Longtailed Widow','widow bird vers2_thumb.jpg',130, 194,1,'																			photo_3413983.html');
												thumbnails[3784662] = new thumbnail(3784662,'230721','\'Rush Hour\' - small birds in flight','finches_67y7_w1_thumb.jpg',130, 79,1,'																			photo_3784662.html');
												thumbnails[3785632] = new thumbnail(3785632,'230825','Water Dancer','Little_Egret_black_n_white_900_f_w_thumb.jpg',130, 78,1,'																			photo_3785632.html');
												thumbnails[6870292] = new thumbnail(6870292,'230721','\'Flash Blur\' - Pied Kingfisher','pied_kingfisher_w800_thumb.jpg',130, 85,1,'																			photo_6870292.html');
												thumbnails[3785721] = new thumbnail(3785721,'230825','Leopard','leopard_87u8_bw_22frame_thumb.jpg',130, 81,1,'																			photo_3785721.html');
												thumbnails[6873410] = new thumbnail(6873410,'230721','Grey Heron','grey_heron_nesting_882web1_thumb.jpg',130, 87,1,'																			photo_6873410.html');
												thumbnails[6892101] = new thumbnail(6892101,'43723','Cape Clawless Otter','cape_clawless_otter_3433_23_web_thumb.jpg',130, 183,1,'																			photo_6892101.html');
												thumbnails[625003] = new thumbnail(625003,'92696','Malachite Sunbird','Malachite Sunbird 888 w_thumb.jpg',130, 196,1,'																			photo_625003.html');
												thumbnails[904660] = new thumbnail(904660,'43723','Vervet Monkey','vervet monkey 4444_thumb.jpg',130, 195,1,'																			photo_904660.html');
												thumbnails[3148772] = new thumbnail(3148772,'92694','Ruddy Turnstone\'s','ruddy_turnstone_6578_webs_thumb.jpg',130, 83,1,'																			photo_3148772.html');
												thumbnails[3784682] = new thumbnail(3784682,'230721','\'Motion Capture\' - Flamingos and Ibis','flimingos_8768_f_600p_thumb.jpg',130, 169,1,'																			photo_3784682.html');
												thumbnails[4705772] = new thumbnail(4705772,'230825','Broken Dreams','broken_dreams_thumb.jpg',130, 87,1,'																			photo_4705772.html');
												thumbnails[3116360] = new thumbnail(3116360,'43723','\'Dawn Patrol\' - Vervet Monkey','Vervet_Monkey_Kirsten_Frost_w800_thumb.jpg',130, 67,1,'																			photo_3116360.html');
												thumbnails[3748450] = new thumbnail(3748450,'92696','\'Rush Hour\'','finches_67y7_w_thumb.jpg',130, 79,1,'																			photo_3748450.html');
												thumbnails[4705775] = new thumbnail(4705775,'230825','\'River Bank Reflections\'','12_sept_thumb.jpg',130, 86,1,'																			photo_4705775.html');
												thumbnails[5696050] = new thumbnail(5696050,'230825','\'Personified\' - Vervet Monkey','vertvet_mokey_rh51w_thumb.jpg',130, 195,1,'																			photo_5696050.html');
												thumbnails[3614014] = new thumbnail(3614014,'92694','Pied Kingfisher ','pied_kingfisher_enviro_ot555w700_thumb.jpg',130, 87,1,'																			photo_3614014.html');
												thumbnails[3798455] = new thumbnail(3798455,'230721','Caspian Tern and Moon','tern_68685w_600p_thumb.jpg',130, 193,1,'																			photo_3798455.html');
												thumbnails[4291098] = new thumbnail(4291098,'92696','Helmeted Guineafowl','guiniefowl_8777_web1_thumb.jpg',130, 83,1,'																			photo_4291098.html');
												thumbnails[6518963] = new thumbnail(6518963,'230825','\'Morning Embrace\' - Giraffe','giraffe_454t3w_thumb.jpg',130, 87,1,'																			photo_6518963.html');
												thumbnails[1311453] = new thumbnail(1311453,'92696','Red-billed Hornbill','Yellowbilled Hornbill uuu web_thumb.jpg',130, 84,1,'																			photo_1311453.html');
												thumbnails[3116375] = new thumbnail(3116375,'43723','Baboon Yawning','Chacma_baboon_87y7a_w800_thumb.jpg',130, 87,1,'																			photo_3116375.html');
												thumbnails[4290417] = new thumbnail(4290417,'92694','Cape Gannet','cape_gannet_2111w1_thumb.jpg',130, 76,1,'																			photo_4290417.html');
												thumbnails[3116384] = new thumbnail(3116384,'43723','Cape Buffalo','Cape_Buffalo_Kirsten_Frost_77yy6_w8002_thumb.jpg',130, 83,1,'																			photo_3116384.html');
												thumbnails[3748521] = new thumbnail(3748521,'92696','Banded Martin','banded_martin_720_w_thumb.jpg',130, 71,1,'																			photo_3748521.html');
												thumbnails[3042862] = new thumbnail(3042862,'92694','\'Familiar Faces\' - Cape Gannets','cape_gannets_55678_w80031_thumb.jpg',130, 87,1,'																			photo_3042862.html');
												thumbnails[5419736] = new thumbnail(5419736,'92694','Blackwinged Stilt','blackwinged_stilt_56tt_webs_copy_thumb.jpg',130, 231,1,'																			photo_5419736.html');
												thumbnails[4289168] = new thumbnail(4289168,'92694','African Spoonbill','african_spoonbill_web_thumb.jpg',130, 227,1,'																			photo_4289168.html');
												thumbnails[4291142] = new thumbnail(4291142,'92694','Common Ringed Plover (br.)','plover_environmental_87_web_thumb.jpg',130, 224,1,'																			photo_4291142.html');
												thumbnails[2827244] = new thumbnail(2827244,'92694','Pied Kingfisher','pied_Kingfisher_67y6_2_webb_thumb.jpg',130, 183,1,'																			photo_2827244.html');
												thumbnails[1763933] = new thumbnail(1763933,'92696','Pintailed Whydah','Pin-tailed_Whydah_w800_thumb.jpg',130, 82,1,'																			photo_1763933.html');
												thumbnails[3042816] = new thumbnail(3042816,'92694','Pied Kingfisher','pied_kingfisher_7666_thumb.jpg',130, 78,1,'																			photo_3042816.html');
												thumbnails[4291435] = new thumbnail(4291435,'43723','Chacma Baboon','baboon_77_web_thumb.jpg',130, 85,1,'																			photo_4291435.html');
												thumbnails[1054832] = new thumbnail(1054832,'92696','Lesser Double-collard Sunbird','Lesser Doublecollard Sunbird hfg 3(web)_thumb.jpg',130, 86,1,'																			photo_1054832.html');
												thumbnails[3042759] = new thumbnail(3042759,'92694','Grey Heron','Grey Herons 57tt_thumb.jpg',130, 93,1,'																			photo_3042759.html');
												thumbnails[5695973] = new thumbnail(5695973,'92696','Grey Hornbill','grey_hornbill_23ww_w_thumb.jpg',130, 82,1,'																			photo_5695973.html');
												thumbnails[2558714] = new thumbnail(2558714,'92694','Pied Kingfisher','Pied_Kingfisher_768h_700p_thumb.jpg',130, 83,1,'																			photo_2558714.html');
												thumbnails[2043888] = new thumbnail(2043888,'43723','Backlit Buffalo ','Cape_Buffalo_efedw8002_thumb.jpg',130, 90,1,'																			photo_2043888.html');
												thumbnails[2558710] = new thumbnail(2558710,'92694','Yellowbilled Duck','yellowbilled_Duck_98uuw800_thumb.jpg',130, 78,1,'																			photo_2558710.html');
												thumbnails[2558706] = new thumbnail(2558706,'92694','Grey-headed Gull','grey-headed_gull_iu87_700p_thumb.jpg',130, 82,1,'																			photo_2558706.html');
												thumbnails[1630041] = new thumbnail(1630041,'92694','African Spoonbill','African_Spoonbill_800w_thumb.jpg',130, 79,1,'																			photo_1630041.html');
												thumbnails[1525574] = new thumbnail(1525574,'92694','Cattle Egret','Cattle_Egret_3_700p_thumb.jpg',130, 79,1,'																			photo_1525574.html');
												thumbnails[1241206] = new thumbnail(1241206,'92694','Cattle Egret ','Cattle_Egret_2_700p_thumb.jpg',130, 77,1,'																			photo_1241206.html');
												thumbnails[5926442] = new thumbnail(5926442,'92694','Malachite Kingfisher','malachite_kingfisher_w700_thumb.jpg',130, 195,1,'																			photo_5926442.html');
												thumbnails[3613974] = new thumbnail(3613974,'92694','Little Egret','little_egret_66ty612_thumb.jpg',130, 183,1,'																			photo_3613974.html');
												thumbnails[3613853] = new thumbnail(3613853,'92694','African Darter','african_darter_34222_thumb.jpg',130, 187,1,'																			photo_3613853.html');
												thumbnails[1288593] = new thumbnail(1288593,'92694','Pied Kingfisher','Pied Kingfisher_thumb.jpg',130, 191,1,'																			photo_1288593.html');
												thumbnails[2160809] = new thumbnail(2160809,'92694','Pied Kingfisher','pied_kingfisher_9870_700p_thumb.jpg',130, 83,1,'																			photo_2160809.html');
												thumbnails[2827196] = new thumbnail(2827196,'92694','Egyptian Goose','egyptian_goose_4433_web_thumb.jpg',130, 79,1,'																			photo_2827196.html');
												thumbnails[2827224] = new thumbnail(2827224,'92694','Greyheaded Gull','grey-headed_gull_h111_700p_thumb.jpg',130, 87,1,'																			photo_2827224.html');
												thumbnails[2591916] = new thumbnail(2591916,'43723','\'Autumn Hues\' - Giraffe','Girraffe_9876_800px_thumb.jpg',130, 87,1,'																			photo_2591916.html');
												thumbnails[2558716] = new thumbnail(2558716,'92696','Cape Weaver','Cape Weaver 7677 2_thumb.jpg',130, 85,1,'																			photo_2558716.html');
												thumbnails[5926771] = new thumbnail(5926771,'92694','Purple Heron','purple_heron_78ul_web_thumb.jpg',130, 79,1,'																			photo_5926771.html');
												thumbnails[6137410] = new thumbnail(6137410,'92694','\'Staring Squacco\'','squacco_heron_kirsten_frost_89u_web_thumb.jpg',130, 188,1,'																			photo_6137410.html');
												thumbnails[2591952] = new thumbnail(2591952,'43723','African Elephant','Elephant_76y6_22_w80021_thumb.jpg',130, 87,1,'																			photo_2591952.html');
												thumbnails[710473] = new thumbnail(710473,'43723','Chacma Baboon','Baboons_6811_w8001_thumb.jpg',130, 87,1,'																			photo_710473.html');
												thumbnails[798389] = new thumbnail(798389,'43723','\'Pesky Pecker\' - Giraffe and Oxpecker bird','Giraffe_65t5_w800_thumb.jpg',130, 87,1,'																			photo_798389.html');
												thumbnails[6518945] = new thumbnail(6518945,'43723','Leopard ','Leopard_34j3_w_thumb.jpg',130, 71,1,'																			photo_6518945.html');
												thumbnails[2593586] = new thumbnail(2593586,'43723','Blue Wildebeest','wildebeest fire hgyt (web)_thumb.jpg',130, 194,1,'																			photo_2593586.html');
												thumbnails[710441] = new thumbnail(710441,'43723','Chacma Baboon','baboon 998_thumb.jpg',130, 190,1,'																			photo_710441.html');
												thumbnails[5467053] = new thumbnail(5467053,'43723','\'Thirstland Ambush\' - Nile Crocodile','nile_crocodile_898_webs_thumb.jpg',130, 202,1,'																			photo_5467053.html');
												thumbnails[3413953] = new thumbnail(3413953,'43723','Steenbok','steenbok jhuu_thumb.jpg',130, 193,1,'																			photo_3413953.html');
												thumbnails[1826778] = new thumbnail(1826778,'92696','Cape Sugarbird','Cape Sugarbird (web) 8700_thumb.jpg',130, 193,1,'																			photo_1826778.html');
												thumbnails[2306218] = new thumbnail(2306218,'92696','Bully Canary','Bully_Canary_web_thumb.jpg',130, 178,1,'																			photo_2306218.html');
												thumbnails[3413981] = new thumbnail(3413981,'92696','European Roller','European Roller yt65 (vert)_thumb.jpg',130, 175,1,'																			photo_3413981.html');
												thumbnails[3748612] = new thumbnail(3748612,'92696','Cape Weaver','cape_weaver_7666_w_thumb.jpg',130, 205,1,'																			photo_3748612.html');

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  					galleries[43723] = new gallery(43723,'3116365','Wildlife','portfolio',[3116365,3116381,584043,6892101,904660,3116360,3116375,3116384,4291435,2043888,2591916,2591952,710473,798389,6518945,2593586,710441,5467053,3413953],0, 0, '', '																																																																																																							portfolio_43723.html',0,0);
				  					galleries[92694] = new gallery(92694,'2160889','Water Birds','portfolio',[3042831,3148307,2160889,4077973,3613908,3614019,948200,3613940,5791395,3148316,5926713,5926623,5926464,1856479,5419967,5797491,6830542,6873619,5419850,3148767,3148772,3614014,4290417,3042862,5419736,4289168,4291142,2827244,3042816,3042759,2558714,2558710,2558706,1630041,1525574,1241206,5926442,3613974,3613853,1288593,2160809,2827196,2827224,5926771,6137410],0, 0, '', '																																																																																																							portfolio_92694.html',0,0);
				  					galleries[92695] = new gallery(92695,'2044294','Birds Of Prey','portfolio',[7246968,4705740,4705762,2044294,1826247,3241888,3614031,2161025,3272771,3241892,4705767,3272850,7247013,4705758,3272824,7246990,3614038,1459313],0, 0, '', '																																																																																																							portfolio_92695.html',0,0);
				  					galleries[92696] = new gallery(92696,'5695936','Other Birds','portfolio',[5695936,3959235,3413983,625003,3748450,4291098,1311453,3748521,1763933,1054832,5695973,2558716,1826778,2306218,3413981,3748612],0, 0, '', '																																																																																																							portfolio_92696.html',0,0);
				  					galleries[230721] = new gallery(230721,'3784682','Birds as Art','portfolio',[5376010,3784636,3784644,3784663,3784649,4083133,3784668,3784659,5155690,3798422,3784662,6870292,6873410,3784682,3798455],0, 0, '', '																																																																																																							portfolio_230721.html',0,0);
				  					galleries[230825] = new gallery(230825,'5696034','Black and White','portfolio',[6997562,5696034,3785675,3785643,3785654,3785664,3785820,4705837,3785632,3785721,4705772,4705775,5696050,6518963],0, 0, '', '																																																																																																							portfolio_230825.html',0,0);
				  					galleries[230720] = new gallery(230720,'3784758','Animals in their Environment','portfolio',[6028384,5844781,3784758,6028664,6028477,3784766,6028485,6029390,6028466,3784800,3784797,6028497,6029841,6028591,6028578,6033823],0, 0, '', '																																																																																																							portfolio_230720.html',0,0);
				  					galleries[245542] = new gallery(245542,'7247282','New Work','portfolio',[7247282,7247290,6892113,7247255,6892056,6892046,6518967,6137462,6034881,6035020,6034893],0, 0, '', '																																																																																																							portfolio_245542.html',0,0);
/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = new Object();
imageSets[1] = '6830542,6518963,6028485,5791395,3784644,3614031,3241888,2591916,2043888';
imageSets[2] = '7247282,5696034,5695936,3784758,3784682,3116365,2160889,2044294';
imageSets[3] = '4102188,4083133,4077973,3959235,3943628,3943620,3798455,3798422,3785820,3785721,3785675,3785664,3785654,3785643,3785632,3784800,3784797,3784766,3784758,3784682,3784668,3784662,3784659,3784649,3784636,3748612,3748521,3748450,3614038,3614014';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/leopardspotter/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/leopardspotter/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/leopardspotter/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/leopardspotter/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/leopardspotter/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/leopardspotter/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/leopardspotter/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/leopardspotter/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/leopardspotter/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/leopardspotter/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/leopardspotter/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/leopardspotter/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/leopardspotter/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/leopardspotter/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/leopardspotter/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://admin2.clikpic.com/leopardspotter/images';
		break;
	}
		switch (server_id) {
		case 33:
		val = 'http://www8.clikpic.com/leopardspotter/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/leopardspotter/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/leopardspotter/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/leopardspotter/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/leopardspotter/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/leopardspotter/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 += 'portfolio.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 && 'portfolio' != '') {
					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 = photoCaption + ': Kirsten Frost Nature Photography | South Africa';
			    }
        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.takendate != '') {
				
		temp = temp + '<p class="imageinfo" id="imageDate"><strong>Date: </strong>' + this.takendate + '</p>';
	}
	
	if (this.location != '') {
				
		temp = temp + '<p class="imageinfo" id="imageLocation"><strong>Location: </strong>' +  this.location + '</p>';
	}
	
	if (this.photographer != '') {
				
		temp = temp + '<p class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>' + this.photographer + '</p>';
	}
					
	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><span style=\"color:#C2DDFF;\"><u><strong>Purchase fine art print:</strong></u></span></p>';
				temp = temp + '<p class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> 				$' + (this.item_price).toFixed(2) + '</p>';
		var item_name  = this.purchase_instruction;
		var amount = (this.item_price).toFixed(2);
		var item_option  = 0;
	}
	else if (this.payment_groups_id !== '') {
		temp = temp + '<p><span style=\"color:#C2DDFF;\"><u><strong>Purchase fine art print:</strong></u></span></p>';
				temp = temp + '<form id="paymentOptions" style="margin:0px;border:0px;" name="paymentOptions">';
		 									temp = temp + '<select class="paymentlink" name="payment_options_id" onchange="updateCartValue(document.forms.paymentForm,this.form.payment_options_id.options[this.form.payment_options_id.options.selectedIndex].value); if(divShowing(\'paymentConfirm\')){fadeOut(\'paymentConfirm\', 3)};">';
				
		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">';
	temp = temp + '	<input type="hidden" name="item_option" value="' + item_option + '">';
	temp = temp + '	<input type="hidden" name="site" value="LEOPARDSPOTTER">';
		temp = temp + '	<input type="hidden" name="item_number" value="'+ this.id +'">';
			temp = temp + '	<input type="hidden" name="quantity" value="1">';
								temp = temp + '	<input value="Add to cart" id="paymentAddButton" class="button" onmouseover="this.className=\'buttonHi\'\;" onmouseout="this.className=\'button\'\;" type="Button">';
			temp = temp + '	<input value="View cart" id="paymentViewButton" class="button" onmouseover="this.className=\'buttonHi\';" onmouseout="this.className=\'button\';" type="Button" onclick="javascript:window.location=\'cart.html\'">';
	temp = temp + '</form>';
		temp = temp + '<div class="clearing">&nbsp;</div>';
	temp = temp + '<div id="confirmContainer">';
	temp = temp + '<div id="paymentConfirm">Item added to cart</div>';
	temp = temp + '</div>';
			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;
	}
}

		

