window.thumbnails = {};
															thumbnails[8152632] = clik.newPhoto({"id":8152632,"src":"AR3C2722_thumb.JPG","galleries_id":116193,"server_id":1,"link":"photo_8152632.html","width":130,"caption":"","height":47});
															thumbnails[8152647] = clik.newPhoto({"id":8152647,"src":"AR3C2761_thumb.jpg","galleries_id":116193,"server_id":1,"link":"photo_8152647.html","width":130,"caption":"The Few","height":69});
															thumbnails[8152653] = clik.newPhoto({"id":8152653,"src":"AR3C2773_thumb.jpg","galleries_id":116193,"server_id":1,"link":"photo_8152653.html","width":130,"caption":"","height":45});
															thumbnails[8152659] = clik.newPhoto({"id":8152659,"src":"AR3C2807_thumb.JPG","galleries_id":116193,"server_id":1,"link":"photo_8152659.html","width":130,"caption":"","height":141});
															thumbnails[7796065] = clik.newPhoto({"id":7796065,"src":"5O9H4577_thumb.jpg","galleries_id":116180,"server_id":1,"link":"photo_7796065.html","width":130,"caption":"","height":87});
															thumbnails[7796066] = clik.newPhoto({"id":7796066,"src":"5O9H4589_thumb.jpg","galleries_id":116180,"server_id":1,"link":"photo_7796066.html","width":130,"caption":"","height":87});
															thumbnails[7796067] = clik.newPhoto({"id":7796067,"src":"5O9H4594_thumb.jpg","galleries_id":116180,"server_id":1,"link":"photo_7796067.html","width":130,"caption":"","height":195});
															thumbnails[7796054] = clik.newPhoto({"id":7796054,"src":"5O9H4564_thumb.jpg","galleries_id":116180,"server_id":1,"link":"photo_7796054.html","width":130,"caption":"","height":87});
															thumbnails[7552604] = clik.newPhoto({"id":7552604,"src":"AR3C2391_thumb.JPG","galleries_id":292001,"server_id":1,"link":"photo_7552604.html","width":130,"caption":"","height":185});
															thumbnails[7552605] = clik.newPhoto({"id":7552605,"src":"AR3C2298_thumb.JPG","galleries_id":359808,"server_id":1,"link":"photo_7552605.html","width":130,"caption":"","height":163});
															thumbnails[7552606] = clik.newPhoto({"id":7552606,"src":"AR3C2332_thumb.JPG","galleries_id":359808,"server_id":1,"link":"photo_7552606.html","width":130,"caption":"","height":170});
															thumbnails[7552607] = clik.newPhoto({"id":7552607,"src":"AR3C2347_thumb.JPG","galleries_id":359808,"server_id":1,"link":"photo_7552607.html","width":130,"caption":"","height":179});
															thumbnails[7552608] = clik.newPhoto({"id":7552608,"src":"AR3C2436_thumb.JPG","galleries_id":359808,"server_id":1,"link":"photo_7552608.html","width":130,"caption":"","height":111});
															thumbnails[7552609] = clik.newPhoto({"id":7552609,"src":"AR3C2569_thumb.JPG","galleries_id":359808,"server_id":1,"link":"photo_7552609.html","width":130,"caption":"","height":165});
															thumbnails[7552610] = clik.newPhoto({"id":7552610,"src":"AR3C2605_thumb.JPG","galleries_id":359808,"server_id":1,"link":"photo_7552610.html","width":130,"caption":"","height":196});
															thumbnails[6732393] = clik.newPhoto({"id":6732393,"src":"5O9H42721_thumb.jpg","galleries_id":227454,"server_id":1,"link":"photo_6732393.html","width":130,"caption":"","height":73});
															thumbnails[6732396] = clik.newPhoto({"id":6732396,"src":"5O9H43521_thumb.jpg","galleries_id":227454,"server_id":1,"link":"photo_6732396.html","width":130,"caption":"Katherine Legg - DTM Touring Cars","height":118});
															thumbnails[6732400] = clik.newPhoto({"id":6732400,"src":"5O9H4422_thumb.jpg","galleries_id":227454,"server_id":1,"link":"photo_6732400.html","width":130,"caption":"Markus Winkelhock - DTM Touring Cars","height":77});
															thumbnails[6732404] = clik.newPhoto({"id":6732404,"src":"5O9H4426_thumb.jpg","galleries_id":227454,"server_id":1,"link":"photo_6732404.html","width":130,"caption":"Mike Rockenfeller - DTM Touring Cars","height":89});
															thumbnails[6732407] = clik.newPhoto({"id":6732407,"src":"5O9H4429_thumb.JPG","galleries_id":227454,"server_id":1,"link":"photo_6732407.html","width":130,"caption":"Gary Paffett - DTM Touring Cars","height":81});
															thumbnails[6732410] = clik.newPhoto({"id":6732410,"src":"5O9H4435_thumb.jpg","galleries_id":227454,"server_id":1,"link":"photo_6732410.html","width":130,"caption":"Bruno Spengler - DTM Touring Cars. Finished in second place.","height":75});
															thumbnails[6732411] = clik.newPhoto({"id":6732411,"src":"5O9H4442_thumb.jpg","galleries_id":227454,"server_id":1,"link":"photo_6732411.html","width":130,"caption":"David Coulthard - DTM Touring Cars","height":74});
															thumbnails[6732415] = clik.newPhoto({"id":6732415,"src":"5O9H4447_thumb.jpg","galleries_id":227454,"server_id":1,"link":"photo_6732415.html","width":130,"caption":"Martin Tomczyk - DTM Touring Cars","height":72});
															thumbnails[6732417] = clik.newPhoto({"id":6732417,"src":"5O9H4450_thumb.JPG","galleries_id":227454,"server_id":1,"link":"photo_6732417.html","width":130,"caption":"CongFu Cheng leads David Coulthard - DTM Touring Cars","height":76});
															thumbnails[6735612] = clik.newPhoto({"id":6735612,"src":"5O9H4453_thumb.JPG","galleries_id":227454,"server_id":1,"link":"photo_6735612.html","width":130,"caption":"Alexandre Premat - DTM Touring Cars","height":86});
															thumbnails[6735613] = clik.newPhoto({"id":6735613,"src":"5O9H4460_thumb.jpg","galleries_id":227454,"server_id":1,"link":"photo_6735613.html","width":130,"caption":"Oliver Jarvis leads Miguel Molina - DTM Touring Cars","height":63});
															thumbnails[6735614] = clik.newPhoto({"id":6735614,"src":"5O9H4462_thumb.jpg","galleries_id":227454,"server_id":1,"link":"photo_6735614.html","width":130,"caption":"Jamie Green leads Maro Engel - DTM Touring Cars","height":76});
															thumbnails[6735615] = clik.newPhoto({"id":6735615,"src":"5O9H4483_thumb.jpg","galleries_id":227454,"server_id":1,"link":"photo_6735615.html","width":130,"caption":"Miguel Molina - DTM Touring Cars","height":88});
															thumbnails[6735616] = clik.newPhoto({"id":6735616,"src":"5O9H4496_thumb.jpg","galleries_id":227454,"server_id":1,"link":"photo_6735616.html","width":130,"caption":"Timo Scheider - DTM Touring Cars. Finished in third place.","height":95});
															thumbnails[6735625] = clik.newPhoto({"id":6735625,"src":"AR3C1687_thumb.jpg","galleries_id":227454,"server_id":1,"link":"photo_6735625.html","width":130,"caption":"CongFu Cheng - DTM Touring Cars","height":82});
															thumbnails[6735626] = clik.newPhoto({"id":6735626,"src":"AR3C1704_thumb.JPG","galleries_id":227454,"server_id":1,"link":"photo_6735626.html","width":130,"caption":"","height":47});
															thumbnails[6735627] = clik.newPhoto({"id":6735627,"src":"AR3C1729_thumb.jpg","galleries_id":227454,"server_id":1,"link":"photo_6735627.html","width":130,"caption":"Markus Winkelhock - DTM Touring Cars","height":73});
															thumbnails[6735629] = clik.newPhoto({"id":6735629,"src":"AR3C1766_thumb.jpg","galleries_id":227454,"server_id":1,"link":"photo_6735629.html","width":130,"caption":"Martin Tomczyk - DTM Touring Cars","height":60});
															thumbnails[6735630] = clik.newPhoto({"id":6735630,"src":"AR3C1778_thumb.jpg","galleries_id":227454,"server_id":1,"link":"photo_6735630.html","width":130,"caption":"Timo Scheider - DTM Touring Cars. Finished in third place.","height":51});
															thumbnails[6735633] = clik.newPhoto({"id":6735633,"src":"AR3C1783_thumb.JPG","galleries_id":227454,"server_id":1,"link":"photo_6735633.html","width":130,"caption":"David Coulthard - DTM Touring Cars","height":47});
															thumbnails[6735636] = clik.newPhoto({"id":6735636,"src":"AR3C1791_thumb.jpg","galleries_id":227454,"server_id":1,"link":"photo_6735636.html","width":130,"caption":"Katherine Legg - DTM Touring Cars","height":42});
															thumbnails[6735638] = clik.newPhoto({"id":6735638,"src":"AR3C1795_thumb.jpg","galleries_id":227454,"server_id":1,"link":"photo_6735638.html","width":130,"caption":"Ralph Schumacher - DTM Touring Cars","height":58});
															thumbnails[6735639] = clik.newPhoto({"id":6735639,"src":"AR3C1807_thumb.jpg","galleries_id":227454,"server_id":1,"link":"photo_6735639.html","width":130,"caption":"Paul Di Resta - DTM Touring Cars. Race winner.","height":60});
															thumbnails[6554524] = clik.newPhoto({"id":6554524,"src":"AR3C1617_thumb.jpg","galleries_id":115330,"server_id":1,"link":"photo_6554524.html","width":130,"caption":"","height":123});
															thumbnails[6554491] = clik.newPhoto({"id":6554491,"src":"5O9H4135_thumb.jpg","galleries_id":116193,"server_id":1,"link":"photo_6554491.html","width":130,"caption":"","height":68});
															thumbnails[6554485] = clik.newPhoto({"id":6554485,"src":"5O9H3958_thumb.jpg","galleries_id":116193,"server_id":1,"link":"photo_6554485.html","width":130,"caption":"","height":59});
															thumbnails[6554489] = clik.newPhoto({"id":6554489,"src":"5O9H4001_thumb.jpg","galleries_id":116193,"server_id":1,"link":"photo_6554489.html","width":130,"caption":"","height":85});
															thumbnails[6554455] = clik.newPhoto({"id":6554455,"src":"5O9H3701_thumb.jpg","galleries_id":115330,"server_id":1,"link":"photo_6554455.html","width":130,"caption":"","height":101});
															thumbnails[6554462] = clik.newPhoto({"id":6554462,"src":"5O9H3788_thumb.jpg","galleries_id":359809,"server_id":1,"link":"photo_6554462.html","width":130,"caption":"","height":225});
															thumbnails[6554465] = clik.newPhoto({"id":6554465,"src":"5O9H3880_thumb.jpg","galleries_id":292001,"server_id":1,"link":"photo_6554465.html","width":130,"caption":"","height":278});
															thumbnails[6554469] = clik.newPhoto({"id":6554469,"src":"5O9H3885_thumb.jpg","galleries_id":292001,"server_id":1,"link":"photo_6554469.html","width":130,"caption":"","height":115});
															thumbnails[6554474] = clik.newPhoto({"id":6554474,"src":"5O9H3894_thumb.jpg","galleries_id":292001,"server_id":1,"link":"photo_6554474.html","width":130,"caption":"","height":187});
															thumbnails[6554478] = clik.newPhoto({"id":6554478,"src":"5O9H3917_thumb.jpg","galleries_id":292001,"server_id":1,"link":"photo_6554478.html","width":130,"caption":"","height":139});
															thumbnails[6554523] = clik.newPhoto({"id":6554523,"src":"AR3C1532_thumb.jpg","galleries_id":115330,"server_id":1,"link":"photo_6554523.html","width":130,"caption":"","height":194});
															thumbnails[6554438] = clik.newPhoto({"id":6554438,"src":"5O9H3264_thumb.jpg","galleries_id":359808,"server_id":1,"link":"photo_6554438.html","width":130,"caption":"Little Owl","height":191});
															thumbnails[6554451] = clik.newPhoto({"id":6554451,"src":"5O9H3469_thumb.jpg","galleries_id":359808,"server_id":1,"link":"photo_6554451.html","width":130,"caption":"","height":215});
															thumbnails[6554502] = clik.newPhoto({"id":6554502,"src":"AR3C0933_thumb.jpg","galleries_id":359808,"server_id":1,"link":"photo_6554502.html","width":130,"caption":"Tawny Owl","height":153});
															thumbnails[6554505] = clik.newPhoto({"id":6554505,"src":"AR3C0989_thumb.jpg","galleries_id":359808,"server_id":1,"link":"photo_6554505.html","width":130,"caption":"Kestrel","height":171});
															thumbnails[6554508] = clik.newPhoto({"id":6554508,"src":"AR3C1052_thumb.jpg","galleries_id":359808,"server_id":1,"link":"photo_6554508.html","width":130,"caption":"Red Kite","height":87});
															thumbnails[6554512] = clik.newPhoto({"id":6554512,"src":"AR3C1079_thumb.jpg","galleries_id":359808,"server_id":1,"link":"photo_6554512.html","width":130,"caption":"Eagle Owl","height":117});
															thumbnails[6554515] = clik.newPhoto({"id":6554515,"src":"AR3C1138_thumb.jpg","galleries_id":359808,"server_id":1,"link":"photo_6554515.html","width":130,"caption":"Golden Eagle","height":97});
															thumbnails[6554519] = clik.newPhoto({"id":6554519,"src":"AR3C1198_thumb.jpg","galleries_id":359808,"server_id":1,"link":"photo_6554519.html","width":130,"caption":"Golden Eagle Portrait","height":92});
															thumbnails[6554433] = clik.newPhoto({"id":6554433,"src":"5O9H3235_thumb.jpg","galleries_id":359809,"server_id":1,"link":"photo_6554433.html","width":130,"caption":"","height":85});
															thumbnails[6554408] = clik.newPhoto({"id":6554408,"src":"5O9H2583_thumb.jpg","galleries_id":227454,"server_id":1,"link":"photo_6554408.html","width":130,"caption":"","height":62});
															thumbnails[6554418] = clik.newPhoto({"id":6554418,"src":"5O9H2635_thumb.jpg","galleries_id":227454,"server_id":1,"link":"photo_6554418.html","width":130,"caption":"","height":61});
															thumbnails[6554422] = clik.newPhoto({"id":6554422,"src":"5O9H2640_thumb.jpg","galleries_id":227454,"server_id":1,"link":"photo_6554422.html","width":130,"caption":"","height":46});
															thumbnails[6554426] = clik.newPhoto({"id":6554426,"src":"5O9H2673_thumb.jpg","galleries_id":227454,"server_id":1,"link":"photo_6554426.html","width":130,"caption":"","height":50});
															thumbnails[6554429] = clik.newPhoto({"id":6554429,"src":"5O9H2806_thumb.jpg","galleries_id":227454,"server_id":1,"link":"photo_6554429.html","width":130,"caption":"","height":43});
															thumbnails[6554494] = clik.newPhoto({"id":6554494,"src":"AR3C0561_thumb.jpg","galleries_id":227454,"server_id":1,"link":"photo_6554494.html","width":130,"caption":"","height":76});
															thumbnails[6554497] = clik.newPhoto({"id":6554497,"src":"AR3C0617_thumb.jpg","galleries_id":227454,"server_id":1,"link":"photo_6554497.html","width":130,"caption":"","height":77});
															thumbnails[6554501] = clik.newPhoto({"id":6554501,"src":"AR3C0796_thumb.jpg","galleries_id":227454,"server_id":1,"link":"photo_6554501.html","width":130,"caption":"","height":78});
															thumbnails[5666360] = clik.newPhoto({"id":5666360,"src":"5O9H2380_thumb.JPG","galleries_id":116182,"server_id":1,"link":"photo_5666360.html","width":130,"caption":"","height":104});
															thumbnails[5666362] = clik.newPhoto({"id":5666362,"src":"5O9H2402_thumb.JPG","galleries_id":116182,"server_id":1,"link":"photo_5666362.html","width":130,"caption":"","height":87});
															thumbnails[5666365] = clik.newPhoto({"id":5666365,"src":"5O9H2415_thumb.JPG","galleries_id":116182,"server_id":1,"link":"photo_5666365.html","width":130,"caption":"","height":87});
															thumbnails[5666367] = clik.newPhoto({"id":5666367,"src":"5O9H2433_thumb.JPG","galleries_id":116182,"server_id":1,"link":"photo_5666367.html","width":130,"caption":"","height":114});
															thumbnails[5666370] = clik.newPhoto({"id":5666370,"src":"5O9H2460_thumb.JPG","galleries_id":116182,"server_id":1,"link":"photo_5666370.html","width":130,"caption":"","height":87});
															thumbnails[5666373] = clik.newPhoto({"id":5666373,"src":"AR3C0225_thumb.JPG","galleries_id":359808,"server_id":1,"link":"photo_5666373.html","width":130,"caption":"Marsh Harrier","height":134});
															thumbnails[5666375] = clik.newPhoto({"id":5666375,"src":"AR3C0236_thumb.JPG","galleries_id":359809,"server_id":1,"link":"photo_5666375.html","width":130,"caption":"","height":142});
															thumbnails[5666378] = clik.newPhoto({"id":5666378,"src":"AR3C0242_thumb.JPG","galleries_id":359809,"server_id":1,"link":"photo_5666378.html","width":130,"caption":"","height":225});
															thumbnails[5666379] = clik.newPhoto({"id":5666379,"src":"AR3C0256_thumb.JPG","galleries_id":115330,"server_id":1,"link":"photo_5666379.html","width":130,"caption":"","height":133});
															thumbnails[5666381] = clik.newPhoto({"id":5666381,"src":"AR3C0282_thumb.JPG","galleries_id":359808,"server_id":1,"link":"photo_5666381.html","width":130,"caption":"Tawny Owl","height":224});
															thumbnails[5666384] = clik.newPhoto({"id":5666384,"src":"AR3C0287_thumb.JPG","galleries_id":115330,"server_id":1,"link":"photo_5666384.html","width":130,"caption":"","height":144});
															thumbnails[5666387] = clik.newPhoto({"id":5666387,"src":"AR3C0314_thumb.JPG","galleries_id":292001,"server_id":1,"link":"photo_5666387.html","width":130,"caption":"","height":125});
															thumbnails[5666390] = clik.newPhoto({"id":5666390,"src":"AR3C0342_thumb.JPG","galleries_id":115330,"server_id":1,"link":"photo_5666390.html","width":130,"caption":"","height":194});
															thumbnails[5666393] = clik.newPhoto({"id":5666393,"src":"AR3C0344_thumb.JPG","galleries_id":115330,"server_id":1,"link":"photo_5666393.html","width":130,"caption":"","height":190});
															thumbnails[5666396] = clik.newPhoto({"id":5666396,"src":"AR3C0347_thumb.JPG","galleries_id":359808,"server_id":1,"link":"photo_5666396.html","width":130,"caption":"Eagle Owl","height":132});
															thumbnails[5666433] = clik.newPhoto({"id":5666433,"src":"AR3C0358_thumb.JPG","galleries_id":292001,"server_id":1,"link":"photo_5666433.html","width":130,"caption":"Scottish Wildcat","height":142});
															thumbnails[5666435] = clik.newPhoto({"id":5666435,"src":"AR3C0464_thumb.JPG","galleries_id":115330,"server_id":1,"link":"photo_5666435.html","width":130,"caption":"","height":134});
															thumbnails[5666437] = clik.newPhoto({"id":5666437,"src":"AR3C0487_thumb.JPG","galleries_id":359809,"server_id":1,"link":"photo_5666437.html","width":130,"caption":"","height":124});
															thumbnails[5666439] = clik.newPhoto({"id":5666439,"src":"AR3C0489_thumb.JPG","galleries_id":359809,"server_id":1,"link":"photo_5666439.html","width":130,"caption":"","height":262});
															thumbnails[5666441] = clik.newPhoto({"id":5666441,"src":"AR3C0502_thumb.JPG","galleries_id":359809,"server_id":1,"link":"photo_5666441.html","width":130,"caption":"Night Heron","height":172});
															thumbnails[5666444] = clik.newPhoto({"id":5666444,"src":"AR3C0506_thumb.JPG","galleries_id":359809,"server_id":1,"link":"photo_5666444.html","width":130,"caption":"","height":172});
															thumbnails[5171590] = clik.newPhoto({"id":5171590,"src":"5H3C6965_thumb.JPG","galleries_id":292001,"server_id":1,"link":"photo_5171590.html","width":130,"caption":"","height":109});
															thumbnails[5171592] = clik.newPhoto({"id":5171592,"src":"5H3C6978_thumb.JPG","galleries_id":292001,"server_id":1,"link":"photo_5171592.html","width":130,"caption":"","height":129});
															thumbnails[5171595] = clik.newPhoto({"id":5171595,"src":"5H3C7005_thumb.JPG","galleries_id":292001,"server_id":1,"link":"photo_5171595.html","width":130,"caption":"","height":87});
															thumbnails[5171596] = clik.newPhoto({"id":5171596,"src":"5H3C7092_thumb.JPG","galleries_id":292001,"server_id":1,"link":"photo_5171596.html","width":130,"caption":"","height":87});
															thumbnails[5171597] = clik.newPhoto({"id":5171597,"src":"5H3C7118_thumb.JPG","galleries_id":292001,"server_id":1,"link":"photo_5171597.html","width":130,"caption":"","height":117});
															thumbnails[5171598] = clik.newPhoto({"id":5171598,"src":"5H3C7168_thumb.JPG","galleries_id":292001,"server_id":1,"link":"photo_5171598.html","width":130,"caption":"","height":164});
															thumbnails[5171599] = clik.newPhoto({"id":5171599,"src":"5H3C7173_thumb.JPG","galleries_id":292001,"server_id":1,"link":"photo_5171599.html","width":130,"caption":"","height":75});
															thumbnails[5171602] = clik.newPhoto({"id":5171602,"src":"5H3C7191_thumb.JPG","galleries_id":292001,"server_id":1,"link":"photo_5171602.html","width":130,"caption":"","height":160});
															thumbnails[5171603] = clik.newPhoto({"id":5171603,"src":"5H3C7245_thumb.JPG","galleries_id":292001,"server_id":1,"link":"photo_5171603.html","width":130,"caption":"","height":187});
															thumbnails[5171604] = clik.newPhoto({"id":5171604,"src":"5H3C7273_thumb.JPG","galleries_id":292001,"server_id":1,"link":"photo_5171604.html","width":130,"caption":"","height":173});
															thumbnails[5171605] = clik.newPhoto({"id":5171605,"src":"5H3C7279_thumb.JPG","galleries_id":292001,"server_id":1,"link":"photo_5171605.html","width":130,"caption":"","height":163});
															thumbnails[5171606] = clik.newPhoto({"id":5171606,"src":"5H3C7282_thumb.JPG","galleries_id":292001,"server_id":1,"link":"photo_5171606.html","width":130,"caption":"","height":78});
															thumbnails[5171608] = clik.newPhoto({"id":5171608,"src":"5H3C7315_thumb.JPG","galleries_id":292001,"server_id":1,"link":"photo_5171608.html","width":130,"caption":"","height":60});
															thumbnails[5171612] = clik.newPhoto({"id":5171612,"src":"5H3C7323_thumb.JPG","galleries_id":292001,"server_id":1,"link":"photo_5171612.html","width":130,"caption":"","height":140});
															thumbnails[5171681] = clik.newPhoto({"id":5171681,"src":"5H3C7369_thumb.JPG","galleries_id":292001,"server_id":1,"link":"photo_5171681.html","width":130,"caption":"","height":195});
															thumbnails[5171685] = clik.newPhoto({"id":5171685,"src":"5H3C7382_thumb.JPG","galleries_id":292001,"server_id":1,"link":"photo_5171685.html","width":130,"caption":"","height":84});
															thumbnails[5171687] = clik.newPhoto({"id":5171687,"src":"5H3C7431_thumb.JPG","galleries_id":292001,"server_id":1,"link":"photo_5171687.html","width":130,"caption":"","height":166});
															thumbnails[5666352] = clik.newPhoto({"id":5666352,"src":"5H3C6909_thumb.jpg","galleries_id":116180,"server_id":1,"link":"photo_5666352.html","width":130,"caption":"","height":87});
															thumbnails[4479686] = clik.newPhoto({"id":4479686,"src":"5H3C5797_thumb.JPG","galleries_id":115330,"server_id":1,"link":"photo_4479686.html","width":130,"caption":"Wild White Stag","height":189});
															thumbnails[3722910] = clik.newPhoto({"id":3722910,"src":"5H3C4459_thumb.JPG","galleries_id":227454,"server_id":1,"link":"photo_3722910.html","width":130,"caption":"","height":87});
															thumbnails[3722914] = clik.newPhoto({"id":3722914,"src":"5H3C4594_thumb.JPG","galleries_id":227454,"server_id":1,"link":"photo_3722914.html","width":130,"caption":"","height":78});
															thumbnails[3722921] = clik.newPhoto({"id":3722921,"src":"5H3C4398_thumb.JPG","galleries_id":227454,"server_id":1,"link":"photo_3722921.html","width":130,"caption":"","height":47});
															thumbnails[3732968] = clik.newPhoto({"id":3732968,"src":"5H3C4755_thumb.JPG","galleries_id":227454,"server_id":1,"link":"photo_3732968.html","width":130,"caption":"","height":41});
															thumbnails[3384441] = clik.newPhoto({"id":3384441,"src":"5O9H1886_thumb.JPG","galleries_id":116193,"server_id":1,"link":"photo_3384441.html","width":130,"caption":"","height":87});
															thumbnails[3187553] = clik.newPhoto({"id":3187553,"src":"5H3C3888_thumb.JPG","galleries_id":292001,"server_id":1,"link":"photo_3187553.html","width":130,"caption":"","height":114});
															thumbnails[3187554] = clik.newPhoto({"id":3187554,"src":"5H3C3903_thumb.JPG","galleries_id":292001,"server_id":1,"link":"photo_3187554.html","width":130,"caption":"","height":195});
															thumbnails[3112409] = clik.newPhoto({"id":3112409,"src":"IMG_0465_thumb.JPG","galleries_id":116182,"server_id":1,"link":"photo_3112409.html","width":130,"caption":"","height":87});
															thumbnails[3112418] = clik.newPhoto({"id":3112418,"src":"IMG_0475_thumb.JPG","galleries_id":116182,"server_id":1,"link":"photo_3112418.html","width":130,"caption":"","height":87});
															thumbnails[3112596] = clik.newPhoto({"id":3112596,"src":"IMG_0405_thumb.JPG","galleries_id":116193,"server_id":1,"link":"photo_3112596.html","width":130,"caption":"Reflections","height":195});
															thumbnails[3112475] = clik.newPhoto({"id":3112475,"src":"5H3C3623_thumb.JPG","galleries_id":359809,"server_id":1,"link":"photo_3112475.html","width":130,"caption":"","height":229});
															thumbnails[3112579] = clik.newPhoto({"id":3112579,"src":"5H3C3428_thumb.JPG","galleries_id":116193,"server_id":1,"link":"photo_3112579.html","width":130,"caption":"","height":56});
															thumbnails[3112477] = clik.newPhoto({"id":3112477,"src":"IMG_0142_thumb.JPG","galleries_id":359809,"server_id":1,"link":"photo_3112477.html","width":130,"caption":"","height":195});
															thumbnails[3112573] = clik.newPhoto({"id":3112573,"src":"IMG_7138K2_thumb.JPG","galleries_id":359809,"server_id":1,"link":"photo_3112573.html","width":130,"caption":"","height":213});
															thumbnails[3112557] = clik.newPhoto({"id":3112557,"src":"IMG_40061_thumb.JPG","galleries_id":359809,"server_id":1,"link":"photo_3112557.html","width":130,"caption":"","height":87});
															thumbnails[3112663] = clik.newPhoto({"id":3112663,"src":"IMG_3913B&W_thumb.JPG","galleries_id":116193,"server_id":1,"link":"photo_3112663.html","width":130,"caption":"","height":87});
															thumbnails[3112446] = clik.newPhoto({"id":3112446,"src":"IMG_36501_thumb.JPG","galleries_id":116180,"server_id":1,"link":"photo_3112446.html","width":130,"caption":"","height":87});
															thumbnails[3112627] = clik.newPhoto({"id":3112627,"src":"IMG_14741_thumb.JPG","galleries_id":116193,"server_id":1,"link":"photo_3112627.html","width":130,"caption":"","height":87});
															thumbnails[3112553] = clik.newPhoto({"id":3112553,"src":"IMG_1384_thumb.JPG","galleries_id":115330,"server_id":1,"link":"photo_3112553.html","width":130,"caption":"","height":87});
															thumbnails[3112622] = clik.newPhoto({"id":3112622,"src":"IMG_1269_thumb.JPG","galleries_id":116193,"server_id":1,"link":"photo_3112622.html","width":130,"caption":"","height":85});
															thumbnails[3112551] = clik.newPhoto({"id":3112551,"src":"IMG_1075_thumb.JPG","galleries_id":115330,"server_id":1,"link":"photo_3112551.html","width":130,"caption":"","height":87});
															thumbnails[3112438] = clik.newPhoto({"id":3112438,"src":"IMG_0668_thumb.JPG","galleries_id":116180,"server_id":1,"link":"photo_3112438.html","width":130,"caption":"Poppies Galore!","height":87});
															thumbnails[3112676] = clik.newPhoto({"id":3112676,"src":"PA140830_thumb.JPG","galleries_id":116193,"server_id":1,"link":"photo_3112676.html","width":130,"caption":"Purple Patch","height":173});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[292001] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Big Cats","link":"gallery_292001.html","maxRecords":0.0,"photoIDs":[7552604.0,6554465.0,6554469.0,6554474.0,6554478.0,5666387.0,5666433.0,5171590.0,5171592.0,5171595.0,5171596.0,5171597.0,5171598.0,5171599.0,5171602.0,5171603.0,5171604.0,5171605.0,5171606.0,5171608.0,5171612.0,5171681.0,5171685.0,5171687.0,3187553.0,3187554.0],"skipIndex":0,"section_code":"gallery","featured_images":"6554478,6554474,6554469,6554465,5666433,5666387,5171687,5171685,5171681,5171612,5171608,5171606,5171605,5171604,5171603,5171602,5171599,5171598,5171597,5171596,5171595,5171592,5171590,3187554,3187553","id":292001,"singleSection":false});				  						galleries[359809] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Birds","link":"gallery_359809.html","maxRecords":0.0,"photoIDs":[6554462.0,6554433.0,5666375.0,5666378.0,5666437.0,5666439.0,5666441.0,5666444.0,3112475.0,3112477.0,3112573.0,3112557.0],"skipIndex":0,"section_code":"gallery","featured_images":"6554462,6554433,5666444,5666441,5666439,5666437,5666378,5666375,3112573,3112557,3112477,3112475","id":359809,"singleSection":false});				  						galleries[116182] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Close Ups","link":"gallery_116182.html","maxRecords":0.0,"photoIDs":[5666360.0,5666362.0,5666365.0,5666367.0,5666370.0,3112409.0,3112418.0],"skipIndex":0,"section_code":"gallery","featured_images":"5666370,5666365,5666362,5666360,3112418,3112409","id":116182,"singleSection":false});				  						galleries[116180] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Flowers & Fungi","link":"gallery_116180.html","maxRecords":0.0,"photoIDs":[7796065.0,7796066.0,7796067.0,7796054.0,5666352.0,3112446.0,3112438.0],"skipIndex":0,"section_code":"gallery","featured_images":"5666352,3112446,3112438","id":116180,"singleSection":false});				  						galleries[227454] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Motorsports","link":"gallery_227454.html","maxRecords":0.0,"photoIDs":[6732393.0,6732396.0,6732400.0,6732404.0,6732407.0,6732410.0,6732411.0,6732415.0,6732417.0,6735612.0,6735613.0,6735614.0,6735615.0,6735616.0,6735625.0,6735626.0,6735627.0,6735629.0,6735630.0,6735633.0,6735636.0,6735638.0,6735639.0,6554408.0,6554418.0,6554422.0,6554426.0,6554429.0,6554494.0,6554497.0,6554501.0,3722910.0,3722914.0,3722921.0,3732968.0],"skipIndex":0,"section_code":"gallery","featured_images":"6554501,6554497,6554494,6554429,6554426,6554422,6554418,6554408,3732968,3722921,3722914,3722910","id":227454,"singleSection":false});				  						galleries[116193] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Out & About","link":"gallery_116193.html","maxRecords":0.0,"photoIDs":[8152632.0,8152647.0,8152653.0,8152659.0,6554491.0,6554485.0,6554489.0,3384441.0,3112596.0,3112579.0,3112663.0,3112627.0,3112622.0,3112676.0],"skipIndex":0,"section_code":"gallery","featured_images":"6554491,6554489,6554485,3384441,3112676,3112663,3112627,3112622,3112596,3112579","id":116193,"singleSection":false});				  						galleries[359808] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Raptors","link":"gallery_359808.html","maxRecords":0.0,"photoIDs":[7552605.0,7552606.0,7552607.0,7552608.0,7552609.0,7552610.0,6554438.0,6554451.0,6554502.0,6554505.0,6554508.0,6554512.0,6554515.0,6554519.0,5666373.0,5666381.0,5666396.0],"skipIndex":0,"section_code":"gallery","featured_images":"6554519,6554515,6554512,6554508,6554505,6554502,6554451,6554438,5666396,5666381,5666373","id":359808,"singleSection":false});				  						galleries[115330] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Wildlife","link":"gallery_115330.html","maxRecords":0.0,"photoIDs":[6554524.0,6554455.0,6554523.0,5666379.0,5666384.0,5666390.0,5666393.0,5666435.0,4479686.0,3112553.0,3112551.0],"skipIndex":0,"section_code":"gallery","featured_images":"6554524,6554523,6554455,5666435,5666393,5666390,5666384,5666379,4479686,3112553,3112551","id":115330,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '3384441';
imageSets[2] = '6554524,6554523,6554519,6554515,6554512,6554508,6554505,6554502,6554501,6554497,6554494,6554491,6554489,6554485,6554478,6554474,6554469,6554465,6554462,6554455,6554451,6554438,6554433,6554429,6554426,6554422,6554418,6554408,5666444,5666441,5666439,5666437,5666435,5666433,5666396,5666393,5666390,5666387,5666384,5666381,5666379,5666378,5666375,5666373,5666370,5666365,5666362,5666360,5666352,5171687,5171685,5171681,5171612,5171608,5171606,5171605,5171604,5171603,5171602,5171599,5171598,5171597,5171596,5171595,5171592,5171590,4479686,3732968,3722921,3722914,3722910,3384441,3187554,3187553,3112676,3112663,3112627,3112622,3112596,3112579,3112573,3112557,3112553,3112551,3112477,3112475,3112446,3112438,3112418,3112409';
imageSets[3] = '8152659,8152653,8152647,8152632,7796067,7796066,7796065,7796054,7552610,7552609,7552608,7552607,7552606,7552605,7552604,6735639,6735638,6735636,6735633,6735630,6735629,6735627,6735626,6735625,6735616,6735615,6735614,6735613,6735612,6732417,6732415,6732411,6732410,6732407,6732404,6732400,6732396,6732393,6554524,6554523,6554519,6554515,6554512,6554508,6554505,6554502,6554501,6554497,6554494,6554491';
imageSets[236923] = '6554524,6554523,6554519,6554515,6554512,6554508,6554505,6554502,6554501,6554497,6554494,6554491,6554489,6554485,6554478,6554474,6554469,6554465,6554462,6554455,6554451,6554438,6554433,6554429,6554426,6554422,6554418,6554408,5666444,5666441,5666439,5666437,5666435,5666433,5666396,5666393,5666390,5666387,5666384,5666381,5666379,5666378,5666375,5666373,5666370,5666365,5666362,5666360,5666352,5171687,5171685,5171681,5171612,5171608,5171606,5171605,5171604,5171603,5171602,5171599,5171598,5171597,5171596,5171595,5171592,5171590,4479686,3732968,3722921,3722914,3722910,3384441,3187554,3187553,3112676,3112663,3112627,3112622,3112596,3112579,3112573,3112557,3112553,3112551,3112477,3112475,3112446,3112438,3112418,3112409';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/chrisf/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/chrisf/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/chrisf/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/chrisf/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/chrisf/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/chrisf/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/chrisf/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/chrisf/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/chrisf/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/chrisf/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/chrisf/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/chrisf/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/chrisf/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/chrisf/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/chrisf/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/chrisf/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/chrisf/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/chrisf/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/chrisf/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/chrisf/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/chrisf/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/chrisf/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/chrisf/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/chrisf/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/chrisf/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/chrisf/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/chrisf/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 = 'Chris Franks Photography: ' + 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;
	}
}

			

