window.thumbnails = {};
															thumbnails[9063203] = clik.newPhoto({"id":9063203,"src":"SEODay90031200_thumb.jpg","galleries_id":101215,"server_id":1,"link":"photo_9063203.html","width":130,"caption":"","height":98});
															thumbnails[9063206] = clik.newPhoto({"id":9063206,"src":"SEODay90041200_thumb.jpg","galleries_id":101215,"server_id":1,"link":"photo_9063206.html","width":130,"caption":"","height":98});
															thumbnails[9063238] = clik.newPhoto({"id":9063238,"src":"KestrelSW002_thumb.jpg","galleries_id":101215,"server_id":1,"link":"photo_9063238.html","width":130,"caption":"","height":83});
															thumbnails[8405590] = clik.newPhoto({"id":8405590,"src":"Fighting_Tawny_Eagles_Painting1_thumb.jpg","galleries_id":311801,"server_id":1,"link":"photo_8405590.html","width":130,"caption":"Fighting Tawny Eagles Painting","height":227});
															thumbnails[9063256] = clik.newPhoto({"id":9063256,"src":"Lowl005_thumb.jpg","galleries_id":101215,"server_id":1,"link":"photo_9063256.html","width":130,"caption":"","height":195});
															thumbnails[9063249] = clik.newPhoto({"id":9063249,"src":"Lowl004a_thumb.jpg","galleries_id":101215,"server_id":1,"link":"photo_9063249.html","width":130,"caption":"","height":90});
															thumbnails[9063212] = clik.newPhoto({"id":9063212,"src":"STa002_thumb.jpg","galleries_id":101216,"server_id":1,"link":"photo_9063212.html","width":130,"caption":"Stoat with kitten","height":69});
															thumbnails[7332727] = clik.newPhoto({"id":7332727,"src":"SL036-1200_thumb.jpg","galleries_id":101215,"server_id":1,"link":"photo_7332727.html","width":130,"caption":"","height":93});
															thumbnails[7197814] = clik.newPhoto({"id":7197814,"src":"Kestrel-1_thumb.jpg","galleries_id":101215,"server_id":1,"link":"photo_7197814.html","width":130,"caption":"","height":93});
															thumbnails[7197813] = clik.newPhoto({"id":7197813,"src":"Little-Owl-2_thumb.jpg","galleries_id":101215,"server_id":1,"link":"photo_7197813.html","width":130,"caption":"","height":182});
															thumbnails[5506712] = clik.newPhoto({"id":5506712,"src":"p06_thumb.JPG","galleries_id":311801,"server_id":1,"link":"photo_5506712.html","width":130,"caption":"White Stork","height":74});
															thumbnails[5506765] = clik.newPhoto({"id":5506765,"src":"p10_thumb.JPG","galleries_id":311801,"server_id":1,"link":"photo_5506765.html","width":130,"caption":"Fighting Tawny Eagle's","height":195});
															thumbnails[5506431] = clik.newPhoto({"id":5506431,"src":"p03_thumb.JPG","galleries_id":311801,"server_id":1,"link":"photo_5506431.html","width":130,"caption":"Montagu's Harriers","height":74});
															thumbnails[5506762] = clik.newPhoto({"id":5506762,"src":"p08_thumb.JPG","galleries_id":311801,"server_id":1,"link":"photo_5506762.html","width":130,"caption":"Lioness","height":182});
															thumbnails[5506425] = clik.newPhoto({"id":5506425,"src":"p02_thumb.JPG","galleries_id":311801,"server_id":1,"link":"photo_5506425.html","width":130,"caption":"Cheetah at sunrise","height":74});
															thumbnails[5506697] = clik.newPhoto({"id":5506697,"src":"p05_thumb.JPG","galleries_id":311801,"server_id":1,"link":"photo_5506697.html","width":130,"caption":"Ndutu Dawn","height":74});
															thumbnails[5506850] = clik.newPhoto({"id":5506850,"src":"p11_thumb.JPG","galleries_id":311801,"server_id":1,"link":"photo_5506850.html","width":130,"caption":"Lappet-faced Vulture & Tawny Eagle","height":182});
															thumbnails[5506718] = clik.newPhoto({"id":5506718,"src":"p07_thumb.JPG","galleries_id":311801,"server_id":1,"link":"photo_5506718.html","width":130,"caption":"Jumping Lioness","height":195});
															thumbnails[5506407] = clik.newPhoto({"id":5506407,"src":"p01_thumb.JPG","galleries_id":311801,"server_id":1,"link":"photo_5506407.html","width":130,"caption":"Montagu's Harrier","height":74});
															thumbnails[6179080] = clik.newPhoto({"id":6179080,"src":"TB03_thumb.JPG","galleries_id":311801,"server_id":1,"link":"photo_6179080.html","width":130,"caption":"Sunset Leopard","height":93});
															thumbnails[5148331] = clik.newPhoto({"id":5148331,"src":"Ab001_thumb.JPG","galleries_id":101216,"server_id":1,"link":"photo_5148331.html","width":130,"caption":"","height":93});
															thumbnails[5148348] = clik.newPhoto({"id":5148348,"src":"Ab002_thumb.JPG","galleries_id":101216,"server_id":1,"link":"photo_5148348.html","width":130,"caption":"","height":87});
															thumbnails[5148364] = clik.newPhoto({"id":5148364,"src":"Ab004_thumb.JPG","galleries_id":101215,"server_id":1,"link":"photo_5148364.html","width":130,"caption":"","height":99});
															thumbnails[5148357] = clik.newPhoto({"id":5148357,"src":"Ab003_thumb.JPG","galleries_id":101215,"server_id":1,"link":"photo_5148357.html","width":130,"caption":"","height":93});
															thumbnails[4418317] = clik.newPhoto({"id":4418317,"src":"z201_thumb.JPG","galleries_id":101215,"server_id":1,"link":"photo_4418317.html","width":130,"caption":"","height":195});
															thumbnails[2926793] = clik.newPhoto({"id":2926793,"src":"DPP_0a_thumb.jpg","galleries_id":101215,"server_id":1,"link":"photo_2926793.html","width":130,"caption":"","height":93});
															thumbnails[2881399] = clik.newPhoto({"id":2881399,"src":"DPP_3 copy_thumb.jpg","galleries_id":101215,"server_id":1,"link":"photo_2881399.html","width":129,"caption":"","height":86});
															thumbnails[1472978] = clik.newPhoto({"id":1472978,"src":"wildcat_thumb.jpg","galleries_id":101216,"server_id":1,"link":"photo_1472978.html","width":130,"caption":"","height":195});
															thumbnails[1473235] = clik.newPhoto({"id":1473235,"src":"Foxyawn_thumb.jpg","galleries_id":101216,"server_id":1,"link":"photo_1473235.html","width":130,"caption":"","height":87});
															thumbnails[1473240] = clik.newPhoto({"id":1473240,"src":"Baboon Piggyback copy_thumb.jpg","galleries_id":101217,"server_id":1,"link":"photo_1473240.html","width":130,"caption":"","height":87});
															thumbnails[1473244] = clik.newPhoto({"id":1473244,"src":"Baboon Sitting_thumb.jpg","galleries_id":101217,"server_id":1,"link":"photo_1473244.html","width":130,"caption":"","height":98});
															thumbnails[1473249] = clik.newPhoto({"id":1473249,"src":"BobFlam_thumb.jpg","galleries_id":101219,"server_id":1,"link":"photo_1473249.html","width":130,"caption":"","height":87});
															thumbnails[1473251] = clik.newPhoto({"id":1473251,"src":"bobrock_thumb.jpg","galleries_id":101219,"server_id":1,"link":"photo_1473251.html","width":130,"caption":"","height":130});
															thumbnails[1473253] = clik.newPhoto({"id":1473253,"src":"chicks_thumb.jpg","galleries_id":101215,"server_id":1,"link":"photo_1473253.html","width":130,"caption":"","height":195});
															thumbnails[1473256] = clik.newPhoto({"id":1473256,"src":"Dwarf Mongoose 2 copy_thumb.jpg","galleries_id":101217,"server_id":1,"link":"photo_1473256.html","width":130,"caption":"","height":173});
															thumbnails[1473262] = clik.newPhoto({"id":1473262,"src":"Foxgrass_thumb.jpg","galleries_id":101216,"server_id":1,"link":"photo_1473262.html","width":130,"caption":"","height":87});
															thumbnails[1473270] = clik.newPhoto({"id":1473270,"src":"ImpalaFlight_thumb.jpg","galleries_id":101217,"server_id":1,"link":"photo_1473270.html","width":130,"caption":"","height":56});
															thumbnails[1473275] = clik.newPhoto({"id":1473275,"src":"Jumbo Line copy_thumb.jpg","galleries_id":101217,"server_id":1,"link":"photo_1473275.html","width":130,"caption":"","height":87});
															thumbnails[1473277] = clik.newPhoto({"id":1473277,"src":"KuduPortrait_thumb.jpg","galleries_id":101217,"server_id":1,"link":"photo_1473277.html","width":130,"caption":"","height":173});
															thumbnails[1473279] = clik.newPhoto({"id":1473279,"src":"Lion Feast copy_thumb.jpg","galleries_id":101217,"server_id":1,"link":"photo_1473279.html","width":130,"caption":"","height":98});
															thumbnails[1473280] = clik.newPhoto({"id":1473280,"src":"LionLicking_thumb.jpg","galleries_id":101217,"server_id":1,"link":"photo_1473280.html","width":130,"caption":"","height":173});
															thumbnails[1473281] = clik.newPhoto({"id":1473281,"src":"LittleBeeEater_thumb.jpg","galleries_id":101217,"server_id":1,"link":"photo_1473281.html","width":130,"caption":"","height":87});
															thumbnails[1473282] = clik.newPhoto({"id":1473282,"src":"otterchew_thumb.jpg","galleries_id":101216,"server_id":1,"link":"photo_1473282.html","width":130,"caption":"","height":87});
															thumbnails[1473283] = clik.newPhoto({"id":1473283,"src":"otterswim_thumb.jpg","galleries_id":101216,"server_id":1,"link":"photo_1473283.html","width":130,"caption":"","height":195});
															thumbnails[1473285] = clik.newPhoto({"id":1473285,"src":"PiedKingfisher_thumb.jpg","galleries_id":101217,"server_id":1,"link":"photo_1473285.html","width":130,"caption":"","height":173});
															thumbnails[1473298] = clik.newPhoto({"id":1473298,"src":"Squirrel_thumb.jpg","galleries_id":101216,"server_id":1,"link":"photo_1473298.html","width":130,"caption":"","height":195});
															thumbnails[1473301] = clik.newPhoto({"id":1473301,"src":"Whale_thumb.jpg","galleries_id":100701,"server_id":1,"link":"photo_1473301.html","width":130,"caption":"","height":88});
															thumbnails[1473305] = clik.newPhoto({"id":1473305,"src":"White Fronted Bee Eaters copy_thumb.jpg","galleries_id":101217,"server_id":1,"link":"photo_1473305.html","width":130,"caption":"","height":173});
															thumbnails[1473313] = clik.newPhoto({"id":1473313,"src":"WhiteFronted_thumb.jpg","galleries_id":101217,"server_id":1,"link":"photo_1473313.html","width":130,"caption":"","height":173});
															thumbnails[1473334] = clik.newPhoto({"id":1473334,"src":"Woody1_thumb.jpg","galleries_id":101215,"server_id":1,"link":"photo_1473334.html","width":130,"caption":"","height":195});
															thumbnails[1478500] = clik.newPhoto({"id":1478500,"src":"_mg_2735 copy_thumb.jpg","galleries_id":101218,"server_id":1,"link":"photo_1478500.html","width":130,"caption":"","height":195});
															thumbnails[1478508] = clik.newPhoto({"id":1478508,"src":"_MG_1386 copy_thumb.jpg","galleries_id":101219,"server_id":1,"link":"photo_1478508.html","width":130,"caption":"","height":195});
															thumbnails[1478509] = clik.newPhoto({"id":1478509,"src":"_mg_1563 copy_thumb.jpg","galleries_id":101219,"server_id":1,"link":"photo_1478509.html","width":130,"caption":"","height":195});
															thumbnails[1478515] = clik.newPhoto({"id":1478515,"src":"_mg_2623 copy1_thumb.jpg","galleries_id":101219,"server_id":1,"link":"photo_1478515.html","width":130,"caption":"","height":195});
															thumbnails[1478522] = clik.newPhoto({"id":1478522,"src":"_mg_2892 copy_thumb.jpg","galleries_id":101219,"server_id":1,"link":"photo_1478522.html","width":130,"caption":"","height":195});
															thumbnails[1478529] = clik.newPhoto({"id":1478529,"src":"_mg_3447-copy_thumb.jpg","galleries_id":101219,"server_id":1,"link":"photo_1478529.html","width":130,"caption":"","height":195});
															thumbnails[1478534] = clik.newPhoto({"id":1478534,"src":"_mg_3637_thumb.jpg","galleries_id":101219,"server_id":1,"link":"photo_1478534.html","width":130,"caption":"","height":195});
															thumbnails[1478541] = clik.newPhoto({"id":1478541,"src":"IMG_3272_thumb.jpg","galleries_id":101219,"server_id":1,"link":"photo_1478541.html","width":130,"caption":"","height":195});
															thumbnails[1478545] = clik.newPhoto({"id":1478545,"src":"IMG_3280_thumb.jpg","galleries_id":101219,"server_id":1,"link":"photo_1478545.html","width":130,"caption":"","height":195});
															thumbnails[1479947] = clik.newPhoto({"id":1479947,"src":"IMG_3281_thumb.jpg","galleries_id":101219,"server_id":1,"link":"photo_1479947.html","width":130,"caption":"","height":195});
															thumbnails[1479957] = clik.newPhoto({"id":1479957,"src":"IMG_3352_thumb.jpg","galleries_id":101219,"server_id":1,"link":"photo_1479957.html","width":130,"caption":"","height":195});
															thumbnails[1479964] = clik.newPhoto({"id":1479964,"src":"IMG_3356_thumb.jpg","galleries_id":101219,"server_id":1,"link":"photo_1479964.html","width":130,"caption":"","height":195});
															thumbnails[1479992] = clik.newPhoto({"id":1479992,"src":"IMG_3358_thumb.jpg","galleries_id":101219,"server_id":1,"link":"photo_1479992.html","width":130,"caption":"","height":195});
															thumbnails[1479998] = clik.newPhoto({"id":1479998,"src":"IMG_3368_thumb.jpg","galleries_id":101219,"server_id":1,"link":"photo_1479998.html","width":130,"caption":"","height":195});
															thumbnails[1480004] = clik.newPhoto({"id":1480004,"src":"IMG_3381_thumb.jpg","galleries_id":101219,"server_id":1,"link":"photo_1480004.html","width":130,"caption":"","height":195});
															thumbnails[1480007] = clik.newPhoto({"id":1480007,"src":"IMG_3405_thumb.jpg","galleries_id":101219,"server_id":1,"link":"photo_1480007.html","width":130,"caption":"","height":195});
															thumbnails[1481461] = clik.newPhoto({"id":1481461,"src":"_MG_0483_thumb.jpg","galleries_id":101218,"server_id":1,"link":"photo_1481461.html","width":130,"caption":"","height":195});
															thumbnails[1481464] = clik.newPhoto({"id":1481464,"src":"_MG_0640_thumb.jpg","galleries_id":101218,"server_id":1,"link":"photo_1481464.html","width":130,"caption":"","height":87});
															thumbnails[1481467] = clik.newPhoto({"id":1481467,"src":"_MG_0656_thumb.jpg","galleries_id":101218,"server_id":1,"link":"photo_1481467.html","width":130,"caption":"","height":87});
															thumbnails[1481468] = clik.newPhoto({"id":1481468,"src":"_MG_0754_thumb.jpg","galleries_id":101218,"server_id":1,"link":"photo_1481468.html","width":130,"caption":"","height":163});
															thumbnails[1481505] = clik.newPhoto({"id":1481505,"src":"_MG_0933_thumb.jpg","galleries_id":101218,"server_id":1,"link":"photo_1481505.html","width":130,"caption":"","height":195});
															thumbnails[1481508] = clik.newPhoto({"id":1481508,"src":"_MG_1036_thumb.jpg","galleries_id":101218,"server_id":1,"link":"photo_1481508.html","width":130,"caption":"","height":87});
															thumbnails[1481511] = clik.newPhoto({"id":1481511,"src":"_MG_1122_thumb.jpg","galleries_id":101218,"server_id":1,"link":"photo_1481511.html","width":130,"caption":"","height":87});
															thumbnails[1485994] = clik.newPhoto({"id":1485994,"src":"_MG_1175_thumb.jpg","galleries_id":101218,"server_id":1,"link":"photo_1485994.html","width":130,"caption":"","height":87});
															thumbnails[1486018] = clik.newPhoto({"id":1486018,"src":"_MG_1235_thumb.jpg","galleries_id":101218,"server_id":1,"link":"photo_1486018.html","width":130,"caption":"","height":87});
															thumbnails[1486037] = clik.newPhoto({"id":1486037,"src":"_mg_1495_thumb.jpg","galleries_id":101218,"server_id":1,"link":"photo_1486037.html","width":130,"caption":"","height":87});
															thumbnails[1486043] = clik.newPhoto({"id":1486043,"src":"_mg_1546_thumb.jpg","galleries_id":101218,"server_id":1,"link":"photo_1486043.html","width":130,"caption":"","height":87});
															thumbnails[1486058] = clik.newPhoto({"id":1486058,"src":"_mg_1878_thumb.jpg","galleries_id":101218,"server_id":1,"link":"photo_1486058.html","width":130,"caption":"","height":87});
															thumbnails[1486066] = clik.newPhoto({"id":1486066,"src":"_mg_1984_thumb.jpg","galleries_id":101218,"server_id":1,"link":"photo_1486066.html","width":130,"caption":"","height":87});
															thumbnails[1486068] = clik.newPhoto({"id":1486068,"src":"_mg_2234_thumb.jpg","galleries_id":101218,"server_id":1,"link":"photo_1486068.html","width":130,"caption":"","height":195});
															thumbnails[1486104] = clik.newPhoto({"id":1486104,"src":"_mg_2346_thumb.jpg","galleries_id":101218,"server_id":1,"link":"photo_1486104.html","width":130,"caption":"","height":182});
															thumbnails[1486107] = clik.newPhoto({"id":1486107,"src":"_mg_2388_thumb.jpg","galleries_id":101218,"server_id":1,"link":"photo_1486107.html","width":130,"caption":"","height":87});
															thumbnails[1486108] = clik.newPhoto({"id":1486108,"src":"_mg_2422_thumb.jpg","galleries_id":101218,"server_id":1,"link":"photo_1486108.html","width":130,"caption":"","height":182});
															thumbnails[1490466] = clik.newPhoto({"id":1490466,"src":"_mg_2428_thumb.jpg","galleries_id":101218,"server_id":1,"link":"photo_1490466.html","width":130,"caption":"","height":195});
															thumbnails[1490567] = clik.newPhoto({"id":1490567,"src":"_mg_3023_thumb.jpg","galleries_id":101218,"server_id":1,"link":"photo_1490567.html","width":130,"caption":"","height":195});
															thumbnails[1493825] = clik.newPhoto({"id":1493825,"src":"_mg_3111_thumb.jpg","galleries_id":101218,"server_id":1,"link":"photo_1493825.html","width":130,"caption":"","height":195});
															thumbnails[1493835] = clik.newPhoto({"id":1493835,"src":"_mg_3164_thumb.jpg","galleries_id":101218,"server_id":1,"link":"photo_1493835.html","width":130,"caption":"","height":195});
															thumbnails[1493865] = clik.newPhoto({"id":1493865,"src":"_mg_3312_thumb.jpg","galleries_id":101218,"server_id":1,"link":"photo_1493865.html","width":130,"caption":"","height":195});
															thumbnails[1493868] = clik.newPhoto({"id":1493868,"src":"_mg_3360_thumb.jpg","galleries_id":101218,"server_id":1,"link":"photo_1493868.html","width":130,"caption":"","height":195});
															thumbnails[1493871] = clik.newPhoto({"id":1493871,"src":"_mg_3366_thumb.jpg","galleries_id":101218,"server_id":1,"link":"photo_1493871.html","width":130,"caption":"","height":195});
															thumbnails[1493884] = clik.newPhoto({"id":1493884,"src":"_mg_3550_thumb.jpg","galleries_id":101218,"server_id":1,"link":"photo_1493884.html","width":130,"caption":"","height":195});
															thumbnails[1493901] = clik.newPhoto({"id":1493901,"src":"_mg_3630_thumb.jpg","galleries_id":101218,"server_id":1,"link":"photo_1493901.html","width":130,"caption":"","height":195});
															thumbnails[1493908] = clik.newPhoto({"id":1493908,"src":"_MG_3871_thumb.jpg","galleries_id":101218,"server_id":1,"link":"photo_1493908.html","width":130,"caption":"","height":87});
															thumbnails[1493915] = clik.newPhoto({"id":1493915,"src":"_MG_3955_thumb.jpg","galleries_id":101218,"server_id":1,"link":"photo_1493915.html","width":130,"caption":"","height":93});
															thumbnails[1493945] = clik.newPhoto({"id":1493945,"src":"_MG_4009_thumb.jpg","galleries_id":101218,"server_id":1,"link":"photo_1493945.html","width":130,"caption":"","height":195});
															thumbnails[1493970] = clik.newPhoto({"id":1493970,"src":"_MG_4055_thumb.jpg","galleries_id":101218,"server_id":1,"link":"photo_1493970.html","width":130,"caption":"","height":195});
															thumbnails[1493976] = clik.newPhoto({"id":1493976,"src":"_MG_4137_thumb.jpg","galleries_id":101218,"server_id":1,"link":"photo_1493976.html","width":130,"caption":"","height":195});
															thumbnails[1493995] = clik.newPhoto({"id":1493995,"src":"_MG_4154_thumb.jpg","galleries_id":101218,"server_id":1,"link":"photo_1493995.html","width":130,"caption":"","height":87});
															thumbnails[1690085] = clik.newPhoto({"id":1690085,"src":"IMG_0856_thumb.JPG","galleries_id":101217,"server_id":1,"link":"photo_1690085.html","width":130,"caption":"Bob & Solomon","height":98});
															thumbnails[1690089] = clik.newPhoto({"id":1690089,"src":"IMG_2081_thumb.JPG","galleries_id":101217,"server_id":1,"link":"photo_1690089.html","width":130,"caption":"Solomon","height":195});
															thumbnails[1690095] = clik.newPhoto({"id":1690095,"src":"IMG_3151 Amy_thumb.JPG","galleries_id":101217,"server_id":1,"link":"photo_1690095.html","width":130,"caption":"Solomon","height":98});
															thumbnails[2667196] = clik.newPhoto({"id":2667196,"src":"DPP_02_thumb.JPG","galleries_id":101215,"server_id":1,"link":"photo_2667196.html","width":130,"caption":"","height":104});
															thumbnails[2667224] = clik.newPhoto({"id":2667224,"src":"DPP_04_thumb.JPG","galleries_id":101216,"server_id":1,"link":"photo_2667224.html","width":130,"caption":"","height":190});
															thumbnails[2667228] = clik.newPhoto({"id":2667228,"src":"DPP_05_thumb.JPG","galleries_id":101215,"server_id":1,"link":"photo_2667228.html","width":130,"caption":"","height":89});
															thumbnails[2667233] = clik.newPhoto({"id":2667233,"src":"DPP_06_thumb.JPG","galleries_id":101215,"server_id":1,"link":"photo_2667233.html","width":130,"caption":"","height":93});
															thumbnails[2683798] = clik.newPhoto({"id":2683798,"src":"DPP_001_thumb.JPG","galleries_id":169434,"server_id":1,"link":"photo_2683798.html","width":130,"caption":"","height":195});
															thumbnails[2683802] = clik.newPhoto({"id":2683802,"src":"DPP_013_thumb.JPG","galleries_id":169434,"server_id":1,"link":"photo_2683802.html","width":130,"caption":"","height":177});
															thumbnails[3279323] = clik.newPhoto({"id":3279323,"src":"a01_thumb.JPG","galleries_id":199975,"server_id":1,"link":"photo_3279323.html","width":130,"caption":"Young Baboon","height":186});
															thumbnails[3279338] = clik.newPhoto({"id":3279338,"src":"a02_thumb.JPG","galleries_id":199975,"server_id":1,"link":"photo_3279338.html","width":130,"caption":"Hamerkop","height":195});
															thumbnails[3279341] = clik.newPhoto({"id":3279341,"src":"a03_thumb.JPG","galleries_id":199975,"server_id":1,"link":"photo_3279341.html","width":130,"caption":"African Elephant","height":195});
															thumbnails[3279349] = clik.newPhoto({"id":3279349,"src":"a04_thumb.JPG","galleries_id":199975,"server_id":1,"link":"photo_3279349.html","width":130,"caption":"Coukal","height":186});
															thumbnails[3279359] = clik.newPhoto({"id":3279359,"src":"a05_thumb.JPG","galleries_id":199975,"server_id":1,"link":"photo_3279359.html","width":130,"caption":"Monitor Lizard","height":195});
															thumbnails[3279382] = clik.newPhoto({"id":3279382,"src":"a07_thumb.JPG","galleries_id":199975,"server_id":1,"link":"photo_3279382.html","width":130,"caption":"Cheetah's","height":195});
															thumbnails[3279387] = clik.newPhoto({"id":3279387,"src":"a08_thumb.JPG","galleries_id":199975,"server_id":1,"link":"photo_3279387.html","width":130,"caption":"Ground Hornbill","height":186});
															thumbnails[3279403] = clik.newPhoto({"id":3279403,"src":"a09_thumb.JPG","galleries_id":199975,"server_id":1,"link":"photo_3279403.html","width":130,"caption":"Goliath Heron","height":195});
															thumbnails[3279412] = clik.newPhoto({"id":3279412,"src":"a10_thumb.JPG","galleries_id":199975,"server_id":1,"link":"photo_3279412.html","width":130,"caption":"Hippo","height":186});
															thumbnails[3279436] = clik.newPhoto({"id":3279436,"src":"a11_thumb.JPG","galleries_id":199975,"server_id":1,"link":"photo_3279436.html","width":130,"caption":"Zebra & Flamingoes","height":195});
															thumbnails[3279447] = clik.newPhoto({"id":3279447,"src":"a12_thumb.JPG","galleries_id":199975,"server_id":1,"link":"photo_3279447.html","width":130,"caption":"Hartebeest","height":195});
															thumbnails[3279460] = clik.newPhoto({"id":3279460,"src":"a131_thumb.JPG","galleries_id":199975,"server_id":1,"link":"photo_3279460.html","width":130,"caption":"Black Kite's","height":195});
															thumbnails[3279483] = clik.newPhoto({"id":3279483,"src":"a141_thumb.JPG","galleries_id":199975,"server_id":1,"link":"photo_3279483.html","width":130,"caption":"Black Bellied Bustard","height":195});
															thumbnails[3279504] = clik.newPhoto({"id":3279504,"src":"a15_thumb.JPG","galleries_id":199975,"server_id":1,"link":"photo_3279504.html","width":130,"caption":"Hyena","height":195});
															thumbnails[3279518] = clik.newPhoto({"id":3279518,"src":"a16_thumb.JPG","galleries_id":199975,"server_id":1,"link":"photo_3279518.html","width":130,"caption":"Giraffe","height":195});
															thumbnails[3279541] = clik.newPhoto({"id":3279541,"src":"R01_thumb.JPG","galleries_id":101215,"server_id":1,"link":"photo_3279541.html","width":130,"caption":"The Abridge Nuthatch","height":183});
															thumbnails[3279594] = clik.newPhoto({"id":3279594,"src":"a011_thumb.JPG","galleries_id":199975,"server_id":1,"link":"photo_3279594.html","width":130,"caption":"Bob & friend","height":87});
															thumbnails[3279603] = clik.newPhoto({"id":3279603,"src":"a021_thumb.JPG","galleries_id":199975,"server_id":1,"link":"photo_3279603.html","width":130,"caption":"African Elephant","height":87});
															thumbnails[3279633] = clik.newPhoto({"id":3279633,"src":"a031_thumb.JPG","galleries_id":199975,"server_id":1,"link":"photo_3279633.html","width":130,"caption":"Yellow Billed Stork","height":93});
															thumbnails[3279649] = clik.newPhoto({"id":3279649,"src":"a041_thumb.JPG","galleries_id":199975,"server_id":1,"link":"photo_3279649.html","width":130,"caption":"Thick Knees","height":87});
															thumbnails[3279652] = clik.newPhoto({"id":3279652,"src":"a051_thumb.JPG","galleries_id":199975,"server_id":1,"link":"photo_3279652.html","width":130,"caption":"Black Shouldered Kite","height":93});
															thumbnails[3279657] = clik.newPhoto({"id":3279657,"src":"a061_thumb.JPG","galleries_id":199975,"server_id":1,"link":"photo_3279657.html","width":130,"caption":"Lilac Breasted Roller","height":87});
															thumbnails[3279664] = clik.newPhoto({"id":3279664,"src":"a072_thumb.JPG","galleries_id":199975,"server_id":1,"link":"photo_3279664.html","width":130,"caption":"Ruppells Griffon Vulture","height":87});
															thumbnails[3279681] = clik.newPhoto({"id":3279681,"src":"a081_thumb.JPG","galleries_id":199975,"server_id":1,"link":"photo_3279681.html","width":130,"caption":"Banded Mongoose","height":87});
															thumbnails[3279685] = clik.newPhoto({"id":3279685,"src":"a091_thumb.JPG","galleries_id":199975,"server_id":1,"link":"photo_3279685.html","width":130,"caption":"Lion","height":93});
															thumbnails[3279688] = clik.newPhoto({"id":3279688,"src":"a101_thumb.JPG","galleries_id":199975,"server_id":1,"link":"photo_3279688.html","width":130,"caption":"Goliath Heron","height":93});
															thumbnails[3279693] = clik.newPhoto({"id":3279693,"src":"a121_thumb.JPG","galleries_id":199975,"server_id":1,"link":"photo_3279693.html","width":130,"caption":"Impala","height":93});
															thumbnails[3279700] = clik.newPhoto({"id":3279700,"src":"a132_thumb.JPG","galleries_id":199975,"server_id":1,"link":"photo_3279700.html","width":130,"caption":"Elephant & Egrets","height":87});
															thumbnails[3279709] = clik.newPhoto({"id":3279709,"src":"a151_thumb.JPG","galleries_id":199975,"server_id":1,"link":"photo_3279709.html","width":130,"caption":"Black Kite","height":93});
															thumbnails[3279710] = clik.newPhoto({"id":3279710,"src":"a161_thumb.JPG","galleries_id":199975,"server_id":1,"link":"photo_3279710.html","width":130,"caption":"Yellow Billed Oxpecker","height":93});
															thumbnails[3569383] = clik.newPhoto({"id":3569383,"src":"ta01_thumb.JPG","galleries_id":169434,"server_id":1,"link":"photo_3569383.html","width":130,"caption":"","height":182});
															thumbnails[3877467] = clik.newPhoto({"id":3877467,"src":"a1a_thumb.JPG","galleries_id":235563,"server_id":1,"link":"photo_3877467.html","width":130,"caption":"","height":87});
															thumbnails[3877471] = clik.newPhoto({"id":3877471,"src":"d35_thumb.JPG","galleries_id":235563,"server_id":1,"link":"photo_3877471.html","width":130,"caption":"","height":87});
															thumbnails[3877476] = clik.newPhoto({"id":3877476,"src":"d27_thumb.JPG","galleries_id":235563,"server_id":1,"link":"photo_3877476.html","width":130,"caption":"","height":87});
															thumbnails[3877478] = clik.newPhoto({"id":3877478,"src":"c14_thumb.JPG","galleries_id":235563,"server_id":1,"link":"photo_3877478.html","width":130,"caption":"","height":195});
															thumbnails[3877482] = clik.newPhoto({"id":3877482,"src":"d3a_thumb.JPG","galleries_id":235563,"server_id":1,"link":"photo_3877482.html","width":130,"caption":"","height":182});
															thumbnails[3877497] = clik.newPhoto({"id":3877497,"src":"d2a_thumb.JPG","galleries_id":235563,"server_id":1,"link":"photo_3877497.html","width":130,"caption":"","height":182});
															thumbnails[3887336] = clik.newPhoto({"id":3887336,"src":"c29_thumb.JPG","galleries_id":235563,"server_id":1,"link":"photo_3887336.html","width":130,"caption":"","height":195});
															thumbnails[3887340] = clik.newPhoto({"id":3887340,"src":"c20_thumb.JPG","galleries_id":235563,"server_id":1,"link":"photo_3887340.html","width":130,"caption":"","height":87});
															thumbnails[3887348] = clik.newPhoto({"id":3887348,"src":"c3_thumb.JPG","galleries_id":235563,"server_id":1,"link":"photo_3887348.html","width":130,"caption":"","height":87});
															thumbnails[3887380] = clik.newPhoto({"id":3887380,"src":"c15_thumb.JPG","galleries_id":235563,"server_id":1,"link":"photo_3887380.html","width":130,"caption":"","height":87});
															thumbnails[3887386] = clik.newPhoto({"id":3887386,"src":"c26_thumb.JPG","galleries_id":235563,"server_id":1,"link":"photo_3887386.html","width":130,"caption":"","height":87});
															thumbnails[3887394] = clik.newPhoto({"id":3887394,"src":"c12_thumb.JPG","galleries_id":235563,"server_id":1,"link":"photo_3887394.html","width":130,"caption":"","height":195});
															thumbnails[3887432] = clik.newPhoto({"id":3887432,"src":"e20_thumb.JPG","galleries_id":235563,"server_id":1,"link":"photo_3887432.html","width":130,"caption":"","height":195});
															thumbnails[3887450] = clik.newPhoto({"id":3887450,"src":"e26_thumb.JPG","galleries_id":235563,"server_id":1,"link":"photo_3887450.html","width":130,"caption":"","height":93});
															thumbnails[3887550] = clik.newPhoto({"id":3887550,"src":"f10_thumb.JPG","galleries_id":235563,"server_id":1,"link":"photo_3887550.html","width":130,"caption":"","height":87});
															thumbnails[3887554] = clik.newPhoto({"id":3887554,"src":"e36_thumb.JPG","galleries_id":235563,"server_id":1,"link":"photo_3887554.html","width":130,"caption":"","height":93});
															thumbnails[7200169] = clik.newPhoto({"id":7200169,"src":"Golden-Eagle-1_thumb.jpg","galleries_id":101215,"server_id":1,"link":"photo_7200169.html","width":130,"caption":"","height":84});
															thumbnails[7245007] = clik.newPhoto({"id":7245007,"src":"p001a_thumb.jpg","galleries_id":100701,"server_id":1,"link":"photo_7245007.html","width":130,"caption":"","height":87});
															thumbnails[7245011] = clik.newPhoto({"id":7245011,"src":"p01a_thumb.jpg","galleries_id":100701,"server_id":1,"link":"photo_7245011.html","width":130,"caption":"","height":74});
															thumbnails[7245012] = clik.newPhoto({"id":7245012,"src":"p02a_thumb.jpg","galleries_id":100701,"server_id":1,"link":"photo_7245012.html","width":130,"caption":"","height":74});
															thumbnails[7245015] = clik.newPhoto({"id":7245015,"src":"p03a_thumb.jpg","galleries_id":100701,"server_id":1,"link":"photo_7245015.html","width":130,"caption":"","height":74});
															thumbnails[7245018] = clik.newPhoto({"id":7245018,"src":"p04a_thumb.jpg","galleries_id":100701,"server_id":1,"link":"photo_7245018.html","width":130,"caption":"","height":93});
															thumbnails[7245019] = clik.newPhoto({"id":7245019,"src":"p05a_thumb.jpg","galleries_id":100701,"server_id":1,"link":"photo_7245019.html","width":130,"caption":"","height":74});
															thumbnails[7245021] = clik.newPhoto({"id":7245021,"src":"p06a_thumb.jpg","galleries_id":100701,"server_id":1,"link":"photo_7245021.html","width":130,"caption":"","height":74});
															thumbnails[7245224] = clik.newPhoto({"id":7245224,"src":"GSW-1_thumb.jpg","galleries_id":101215,"server_id":1,"link":"photo_7245224.html","width":130,"caption":"","height":182});
															thumbnails[7245225] = clik.newPhoto({"id":7245225,"src":"Peregrine-1_thumb.jpg","galleries_id":101215,"server_id":1,"link":"photo_7245225.html","width":130,"caption":"","height":100});
															thumbnails[3565740] = clik.newPhoto({"id":3565740,"src":"Plan_thumb.JPG","galleries_id":218000,"server_id":1,"link":"photo_3565740.html","width":130,"caption":"Hanging Plan","height":90});
															thumbnails[3877452] = clik.newPhoto({"id":3877452,"src":"a1_thumb.JPG","galleries_id":235563,"server_id":1,"link":"photo_3877452.html","width":130,"caption":"Fancy a photographic trip to Tanzania <br>\r\nin 2011? See the news section","height":87});
															thumbnails[3565642] = clik.newPhoto({"id":3565642,"src":"ARPS1_thumb.JPG","galleries_id":218000,"server_id":1,"link":"photo_3565642.html","width":130,"caption":"European Roller","height":93});
															thumbnails[3887423] = clik.newPhoto({"id":3887423,"src":"d22_thumb.JPG","galleries_id":235563,"server_id":1,"link":"photo_3887423.html","width":130,"caption":"","height":182});
															thumbnails[3565647] = clik.newPhoto({"id":3565647,"src":"ARPS2_thumb.JPG","galleries_id":218000,"server_id":1,"link":"photo_3565647.html","width":130,"caption":"Secretary Birds","height":93});
															thumbnails[3565649] = clik.newPhoto({"id":3565649,"src":"ARPS3_thumb.JPG","galleries_id":218000,"server_id":1,"link":"photo_3565649.html","width":130,"caption":"Black Kite","height":93});
															thumbnails[3565652] = clik.newPhoto({"id":3565652,"src":"ARPS4_thumb.JPG","galleries_id":218000,"server_id":1,"link":"photo_3565652.html","width":130,"caption":"European Bee Eaters","height":93});
															thumbnails[3565657] = clik.newPhoto({"id":3565657,"src":"ARPS5_thumb.JPG","galleries_id":218000,"server_id":1,"link":"photo_3565657.html","width":130,"caption":"Ruppells Griffon Vulture","height":87});
															thumbnails[3565653] = clik.newPhoto({"id":3565653,"src":"ARPS6_thumb.JPG","galleries_id":218000,"server_id":1,"link":"photo_3565653.html","width":130,"caption":"African Elephant","height":93});
															thumbnails[3565667] = clik.newPhoto({"id":3565667,"src":"ARPS7_thumb.JPG","galleries_id":218000,"server_id":1,"link":"photo_3565667.html","width":130,"caption":"Impala","height":93});
															thumbnails[3565670] = clik.newPhoto({"id":3565670,"src":"ARPS8_thumb.JPG","galleries_id":218000,"server_id":1,"link":"photo_3565670.html","width":130,"caption":"Giraffe","height":195});
															thumbnails[3565674] = clik.newPhoto({"id":3565674,"src":"ARPS9_thumb.JPG","galleries_id":218000,"server_id":1,"link":"photo_3565674.html","width":130,"caption":"Leopard","height":93});
															thumbnails[3565687] = clik.newPhoto({"id":3565687,"src":"ARPS10_thumb.JPG","galleries_id":218000,"server_id":1,"link":"photo_3565687.html","width":130,"caption":"Cheetah Mum & Cub","height":93});
															thumbnails[3565697] = clik.newPhoto({"id":3565697,"src":"ARPS11_thumb.JPG","galleries_id":218000,"server_id":1,"link":"photo_3565697.html","width":130,"caption":"Nubian Woodpecker","height":184});
															thumbnails[3565713] = clik.newPhoto({"id":3565713,"src":"ARPS12_thumb.JPG","galleries_id":218000,"server_id":1,"link":"photo_3565713.html","width":130,"caption":"Isabelline Shrike","height":93});
															thumbnails[3565719] = clik.newPhoto({"id":3565719,"src":"ARPS13_thumb.JPG","galleries_id":218000,"server_id":1,"link":"photo_3565719.html","width":130,"caption":"Banded Mongoose","height":93});
															thumbnails[3565724] = clik.newPhoto({"id":3565724,"src":"ARPS14_thumb.JPG","galleries_id":218000,"server_id":1,"link":"photo_3565724.html","width":130,"caption":"Goliath Heron","height":93});
															thumbnails[3565732] = clik.newPhoto({"id":3565732,"src":"ARPS15_thumb.JPG","galleries_id":218000,"server_id":1,"link":"photo_3565732.html","width":130,"caption":"Juvenile Tawny Eagle & Helmeted Guinea Fowl","height":182});
															thumbnails[2683791] = clik.newPhoto({"id":2683791,"src":"DPP_002_thumb.jpg","galleries_id":169434,"server_id":1,"link":"photo_2683791.html","width":130,"caption":"DPP 002","height":195});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[101217] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Botswana 2006","link":"gallery_101217.html","maxRecords":0.0,"photoIDs":[1473240.0,1473244.0,1473256.0,1473270.0,1473275.0,1473277.0,1473279.0,1473280.0,1473281.0,1473285.0,1473305.0,1473313.0,1690085.0,1690089.0,1690095.0],"skipIndex":0,"section_code":"gallery","featured_images":"1690095,1690089,1690085,1473313,1473305,1473285,1473281,1473280,1473279,1473277","id":101217,"singleSection":false});				  						galleries[101215] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"British Birds","link":"gallery_101215.html","maxRecords":0.0,"photoIDs":[9063203.0,9063206.0,9063238.0,9063256.0,9063249.0,7332727.0,7197814.0,7197813.0,5148364.0,5148357.0,4418317.0,2926793.0,2881399.0,1473253.0,1473334.0,2667196.0,2667228.0,2667233.0,3279541.0,7200169.0,7245224.0,7245225.0],"skipIndex":0,"section_code":"gallery","featured_images":"9063256,9063249,9063238,9063206,9063203,7332727,7245225,7245224,7200169,7197814","id":101215,"singleSection":false});				  						galleries[101216] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"British Mammals","link":"gallery_101216.html","maxRecords":0.0,"photoIDs":[9063212.0,5148331.0,5148348.0,1472978.0,1473235.0,1473262.0,1473282.0,1473283.0,1473298.0,2667224.0],"skipIndex":0,"section_code":"gallery","featured_images":"9063212,5148348,5148331,2667224,1473298,1473283,1473282,1473262,1473235,1472978","id":101216,"singleSection":false});				  						galleries[169434] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Canada 2008","link":"gallery_169434.html","maxRecords":0.0,"photoIDs":[2683798.0,2683802.0,3569383.0,2683791.0],"skipIndex":0,"section_code":"gallery","featured_images":"3569383,2683802,2683798,2683791","id":169434,"singleSection":false});				  						galleries[101218] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Kenya & Tanzania 2007","link":"gallery_101218.html","maxRecords":0.0,"photoIDs":[1478500.0,1481461.0,1481464.0,1481467.0,1481468.0,1481505.0,1481508.0,1481511.0,1485994.0,1486018.0,1486037.0,1486043.0,1486058.0,1486066.0,1486068.0,1486104.0,1486107.0,1486108.0,1490466.0,1490567.0,1493825.0,1493835.0,1493865.0,1493868.0,1493871.0,1493884.0,1493901.0,1493908.0,1493915.0,1493945.0,1493970.0,1493976.0,1493995.0],"skipIndex":0,"section_code":"gallery","featured_images":"1493995,1493976,1493970,1493945,1493915,1493908,1493901,1493884,1493871,1493868","id":101218,"singleSection":false});				  						galleries[101219] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"People","link":"gallery_101219.html","maxRecords":0.0,"photoIDs":[1473249.0,1473251.0,1478508.0,1478509.0,1478515.0,1478522.0,1478529.0,1478534.0,1478541.0,1478545.0,1479947.0,1479957.0,1479964.0,1479992.0,1479998.0,1480004.0,1480007.0],"skipIndex":0,"section_code":"gallery","featured_images":"1480007,1480004,1479998,1479992,1479964,1479957,1479947,1478545,1478541,1478534","id":101219,"singleSection":false});				  						galleries[199975] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Tanzania 2008","link":"gallery_199975.html","maxRecords":0.0,"photoIDs":[3279323.0,3279338.0,3279341.0,3279349.0,3279359.0,3279382.0,3279387.0,3279403.0,3279412.0,3279436.0,3279447.0,3279460.0,3279483.0,3279504.0,3279518.0,3279594.0,3279603.0,3279633.0,3279649.0,3279652.0,3279657.0,3279664.0,3279681.0,3279685.0,3279688.0,3279693.0,3279700.0,3279709.0,3279710.0],"skipIndex":0,"section_code":"gallery","featured_images":"3279710,3279709,3279700,3279693,3279688,3279685,3279681,3279664,3279657,3279652","id":199975,"singleSection":false});				  						galleries[235563] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Tanzania 2009","link":"gallery_235563.html","maxRecords":0.0,"photoIDs":[3877467.0,3877471.0,3877476.0,3877478.0,3877482.0,3877497.0,3887336.0,3887340.0,3887348.0,3887380.0,3887386.0,3887394.0,3887432.0,3887450.0,3887550.0,3887554.0,3877452.0,3887423.0],"skipIndex":0,"section_code":"gallery","featured_images":3877452.0,"id":235563,"singleSection":false});				  						galleries[311801] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Tanzania 2010","link":"gallery_311801.html","maxRecords":0.0,"photoIDs":[8405590.0,5506712.0,5506765.0,5506431.0,5506762.0,5506425.0,5506697.0,5506850.0,5506718.0,5506407.0,6179080.0],"skipIndex":0,"section_code":"gallery","featured_images":6179080.0,"id":311801,"singleSection":false});				  						galleries[218000] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"ARPS Panel","link":"gallery_218000.html","maxRecords":0.0,"photoIDs":[3565740.0,3565642.0,3565647.0,3565649.0,3565652.0,3565657.0,3565653.0,3565667.0,3565670.0,3565674.0,3565687.0,3565697.0,3565713.0,3565719.0,3565724.0,3565732.0],"skipIndex":0,"section_code":"gallery","featured_images":3565732.0,"id":218000,"singleSection":false});				  						galleries[100701] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"General","link":"gallery_100701.html","maxRecords":0.0,"photoIDs":[1473301.0,7245007.0,7245011.0,7245012.0,7245015.0,7245018.0,7245019.0,7245021.0],"skipIndex":0,"section_code":"gallery","featured_images":"7245021,7245019,7245018,7245015,7245012,7245011,7245007,1473301","id":100701,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '7245021,7245019,7245018,7245015,7245012,7245011,7245007';
imageSets[2] = '6179080,3877452,3565732';
imageSets[3] = '9063256,9063249,9063238,9063212,9063206,9063203,8405590,7332727,7245225,7245224,7245021,7245019,7245018,7245015,7245012,7245011,7245007,7200169,7197814,7197813,6179080,5506850,5506765,5506762,5506718,5506712,5506697,5506431,5506425,5506407,5148364,5148357,5148348,5148331,4418317,3887554,3887550,3887450,3887432,3887423,3887394,3887386,3887380,3887348,3887340,3887336,3877497,3877482,3877478,3877476';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/bobjohnson/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/bobjohnson/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/bobjohnson/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/bobjohnson/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/bobjohnson/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/bobjohnson/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/bobjohnson/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/bobjohnson/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/bobjohnson/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/bobjohnson/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/bobjohnson/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/bobjohnson/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/bobjohnson/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/bobjohnson/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/bobjohnson/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/bobjohnson/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/bobjohnson/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/bobjohnson/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/bobjohnson/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/bobjohnson/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/bobjohnson/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/bobjohnson/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/bobjohnson/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/bobjohnson/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/bobjohnson/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/bobjohnson/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/bobjohnson/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 = 'Bobs Wild Images: ' + 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>';
	}
				
				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>Order this print:</p>';
				temp += '<div class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> ' + (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.item_price !== '') {
			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;
	}
}

			

