window.thumbnails = {};
															thumbnails[8489662] = clik.newPhoto({"id":8489662,"src":"Mkahika_0514_thumb.jpg","galleries_id":185107,"server_id":32,"link":"photo_8489662.html","width":87,"caption":"Makahika Road 0514","height":130});
															thumbnails[8489664] = clik.newPhoto({"id":8489664,"src":"MkahikaKereru_0524_thumb.jpg","galleries_id":185107,"server_id":32,"link":"photo_8489664.html","width":130,"caption":"Makahika kereru 0524","height":88});
															thumbnails[8489665] = clik.newPhoto({"id":8489665,"src":"MkahikaTui_0465_thumb.jpg","galleries_id":185107,"server_id":32,"link":"photo_8489665.html","width":130,"caption":"Makahika Tui 0465","height":108});
															thumbnails[8489780] = clik.newPhoto({"id":8489780,"src":"snow-Tararuashawk_0442_thumb.jpg","galleries_id":185117,"server_id":32,"link":"photo_8489780.html","width":130,"caption":"Snow on Tararua Range 0422","height":93});
															thumbnails[8489781] = clik.newPhoto({"id":8489781,"src":"Tararua-snowmoon_0443_thumb.jpg","galleries_id":185117,"server_id":32,"link":"photo_8489781.html","width":130,"caption":"Snow on Tararua Range 0443","height":89});
															thumbnails[8489874] = clik.newPhoto({"id":8489874,"src":"swallows_0402_thumb.jpg","galleries_id":185107,"server_id":32,"link":"photo_8489874.html","width":130,"caption":"Wired swallows 0402","height":61});
															thumbnails[8489879] = clik.newPhoto({"id":8489879,"src":"swallows_0432_thumb.jpg","galleries_id":185107,"server_id":32,"link":"photo_8489879.html","width":130,"caption":"swallows on Lake Horowhenua 0432","height":100});
															thumbnails[8489896] = clik.newPhoto({"id":8489896,"src":"swallows-on-wire_0385_thumb.jpg","galleries_id":185107,"server_id":32,"link":"photo_8489896.html","width":130,"caption":"Wired swallows 0385","height":48});
															thumbnails[7991092] = clik.newPhoto({"id":7991092,"src":"flaxspoonbill-over-Kaikoura_thumb.jpg","galleries_id":185110,"server_id":32,"link":"photo_7991092.html","width":130,"caption":"Flax & Spoonbill over Kaikoura ","height":89});
															thumbnails[7991107] = clik.newPhoto({"id":7991107,"src":"S.I.mounts845_thumb.jpg","galleries_id":185110,"server_id":32,"link":"photo_7991107.html","width":130,"caption":"Above Kaikoura","height":86});
															thumbnails[7991069] = clik.newPhoto({"id":7991069,"src":"broken-pines_0320_thumb.jpg","galleries_id":185110,"server_id":32,"link":"photo_7991069.html","width":89,"caption":"Broken 0320","height":130});
															thumbnails[7991072] = clik.newPhoto({"id":7991072,"src":"broken-pines_0321_thumb.jpg","galleries_id":185110,"server_id":32,"link":"photo_7991072.html","width":90,"caption":"Broken 0321","height":130});
															thumbnails[7991073] = clik.newPhoto({"id":7991073,"src":"broken-pines_0324_thumb.jpg","galleries_id":185110,"server_id":32,"link":"photo_7991073.html","width":90,"caption":"broken 0324","height":130});
															thumbnails[8489604] = clik.newPhoto({"id":8489604,"src":"broken-pines_0322_thumb.jpg","galleries_id":185110,"server_id":32,"link":"photo_8489604.html","width":130,"caption":"Broken 0322","height":87});
															thumbnails[7995283] = clik.newPhoto({"id":7995283,"src":"Papaitonga_sunset_0314_thumb.jpg","galleries_id":185117,"server_id":32,"link":"photo_7995283.html","width":130,"caption":"Sunset over L. Papaitonga","height":80});
															thumbnails[7995288] = clik.newPhoto({"id":7995288,"src":"skytree_0374_thumb.jpg","galleries_id":185117,"server_id":32,"link":"photo_7995288.html","width":130,"caption":"Sunset at Muhunoa East","height":91});
															thumbnails[7995253] = clik.newPhoto({"id":7995253,"src":"pinefantail_0193_thumb.jpg","galleries_id":185107,"server_id":32,"link":"photo_7995253.html","width":130,"caption":"Pine & fantail","height":91});
															thumbnails[7656228] = clik.newPhoto({"id":7656228,"src":"web0973-atBurnSt1_thumb.jpg","galleries_id":185110,"server_id":32,"link":"photo_7656228.html","width":91,"caption":"Web at Burn St 0973","height":130});
															thumbnails[7166251] = clik.newPhoto({"id":7166251,"src":"moon-at-TeHapu1358_thumb.jpg","galleries_id":185121,"server_id":32,"link":"photo_7166251.html","width":87,"caption":"Moonrises at Te Hapu","height":130});
															thumbnails[7166252] = clik.newPhoto({"id":7166252,"src":"TeHapu-sphinx_thumb.jpg","galleries_id":185121,"server_id":32,"link":"photo_7166252.html","width":130,"caption":"No slaves died building this sphinx","height":91});
															thumbnails[7166253] = clik.newPhoto({"id":7166253,"src":"TeHapu-farm1418_thumb.jpg","galleries_id":185121,"server_id":32,"link":"photo_7166253.html","width":130,"caption":"Te Hapu farm","height":91});
															thumbnails[7166254] = clik.newPhoto({"id":7166254,"src":"Whanganui-Inlet-TeHapu_thumb.jpg","galleries_id":185121,"server_id":32,"link":"photo_7166254.html","width":130,"caption":"Whanganui Inlet viewed from TeHapu","height":87});
															thumbnails[7158854] = clik.newPhoto({"id":7158854,"src":"post-as-face1_thumb.jpg","galleries_id":185110,"server_id":32,"link":"photo_7158854.html","width":88,"caption":"a face","height":130});
															thumbnails[7158969] = clik.newPhoto({"id":7158969,"src":"3shags1319_thumb.jpg","galleries_id":185107,"server_id":32,"link":"photo_7158969.html","width":128,"caption":"3 shags at Te Hapu","height":130});
															thumbnails[7158994] = clik.newPhoto({"id":7158994,"src":"Ikeda-Nose-thatch004_thumb.jpg","galleries_id":185108,"server_id":32,"link":"photo_7158994.html","width":130,"caption":"Thatched roof in Ikeda Nose","height":89});
															thumbnails[7159000] = clik.newPhoto({"id":7159000,"src":"Japan-Sea-sunset1_thumb.jpg","galleries_id":185108,"server_id":32,"link":"photo_7159000.html","width":89,"caption":"Sunset on the Japan Sea","height":130});
															thumbnails[7159003] = clik.newPhoto({"id":7159003,"src":"Muhunoa-Moon0371_thumb.jpg","galleries_id":185117,"server_id":32,"link":"photo_7159003.html","width":87,"caption":"Muhunoa Moon","height":130});
															thumbnails[7653606] = clik.newPhoto({"id":7653606,"src":"Papaitonga-Tui_0127_thumb.jpg","galleries_id":185107,"server_id":32,"link":"photo_7653606.html","width":130,"caption":"Tui at Papaitonga 0127","height":109});
															thumbnails[7159073] = clik.newPhoto({"id":7159073,"src":"Papaitonga-tui_0101_thumb.jpg","galleries_id":185107,"server_id":32,"link":"photo_7159073.html","width":129,"caption":"Tui at Papaitonga Wetland","height":130});
															thumbnails[8709603] = clik.newPhoto({"id":8709603,"src":"TuiPapaitonga_0133_thumb.jpg","galleries_id":185107,"server_id":32,"link":"photo_8709603.html","width":130,"caption":"Tui & Ti tree in flower","height":92});
															thumbnails[6907082] = clik.newPhoto({"id":6907082,"src":"cloud_0039BW_thumb.jpg","galleries_id":185110,"server_id":32,"link":"photo_6907082.html","width":130,"caption":"cloud movie","height":59});
															thumbnails[7158927] = clik.newPhoto({"id":7158927,"src":"cloud_0042BW_thumb.jpg","galleries_id":185110,"server_id":32,"link":"photo_7158927.html","width":130,"caption":"cloud predator","height":115});
															thumbnails[6906888] = clik.newPhoto({"id":6906888,"src":"cloud_0024_thumb.jpg","galleries_id":185110,"server_id":32,"link":"photo_6906888.html","width":130,"caption":"Black hole","height":71});
															thumbnails[6907013] = clik.newPhoto({"id":6907013,"src":"cloud_0037_thumb.jpg","galleries_id":185110,"server_id":32,"link":"photo_6907013.html","width":130,"caption":"At the end of my street","height":60});
															thumbnails[7159087] = clik.newPhoto({"id":7159087,"src":"tuipohutukawa0348_thumb.jpg","galleries_id":185107,"server_id":32,"link":"photo_7159087.html","width":130,"caption":"Tui and Pohutukawa","height":106});
															thumbnails[7695107] = clik.newPhoto({"id":7695107,"src":"swallow_0497_thumb.jpg","galleries_id":185107,"server_id":32,"link":"photo_7695107.html","width":130,"caption":"Swallow flight 0497","height":100});
															thumbnails[7158844] = clik.newPhoto({"id":7158844,"src":"headless_thumb.jpg","galleries_id":185110,"server_id":32,"link":"photo_7158844.html","width":130,"caption":"Headless","height":108});
															thumbnails[7158848] = clik.newPhoto({"id":7158848,"src":"sinbad_thumb.jpg","galleries_id":185110,"server_id":32,"link":"photo_7158848.html","width":91,"caption":"Sinbad the Sailor's dance","height":130});
															thumbnails[7158850] = clik.newPhoto({"id":7158850,"src":"skip-along1_thumb.jpg","galleries_id":185110,"server_id":32,"link":"photo_7158850.html","width":85,"caption":"Skip along","height":130});
															thumbnails[8489763] = clik.newPhoto({"id":8489763,"src":"Muhunoa-sky_0373_thumb.jpg","galleries_id":185107,"server_id":32,"link":"photo_8489763.html","width":130,"caption":"Muhunoa sky 0373","height":87});
															thumbnails[6571302] = clik.newPhoto({"id":6571302,"src":"Foxton-from-Gaskin-Heights0354_thumb.jpg","galleries_id":185117,"server_id":32,"link":"photo_6571302.html","width":87,"caption":"Foxton and Manawatu River#0354 ","height":130});
															thumbnails[6221417] = clik.newPhoto({"id":6221417,"src":"P_tonga-ftail_0301_thumb.jpg","galleries_id":185107,"server_id":32,"link":"photo_6221417.html","width":130,"caption":"Fantail at Lake Papaitonga 0301","height":97});
															thumbnails[6221564] = clik.newPhoto({"id":6221564,"src":"Papaitonga-fantailreeds0332_thumb.jpg","galleries_id":185117,"server_id":32,"link":"photo_6221564.html","width":87,"caption":"Lake Papaitonga through a long lens","height":130});
															thumbnails[6303690] = clik.newPhoto({"id":6303690,"src":"P_tonga-bush-hawk_0305_thumb.jpg","galleries_id":185117,"server_id":32,"link":"photo_6303690.html","width":91,"caption":"Papaitonga bush&Hawk 0305","height":130});
															thumbnails[6317473] = clik.newPhoto({"id":6317473,"src":"P-tonga-ftail_0279_thumb.jpg","galleries_id":185107,"server_id":32,"link":"photo_6317473.html","width":90,"caption":"Papaitonga fantail 0279","height":130});
															thumbnails[6403864] = clik.newPhoto({"id":6403864,"src":"Papaitonga-wetland_0318_thumb.jpg","galleries_id":185117,"server_id":32,"link":"photo_6403864.html","width":87,"caption":"Papaitonga Wetland Reserve 0318","height":130});
															thumbnails[7756079] = clik.newPhoto({"id":7756079,"src":"P.tonga-ftail-2_0327_thumb.jpg","galleries_id":185107,"server_id":32,"link":"photo_7756079.html","width":130,"caption":"Papaitonga Fantail 0327","height":130});
															thumbnails[6171502] = clik.newPhoto({"id":6171502,"src":"Papaitonga_fantail_0261_thumb.jpg","galleries_id":185107,"server_id":32,"link":"photo_6171502.html","width":130,"caption":"Papaitonga fantail","height":92});
															thumbnails[6101467] = clik.newPhoto({"id":6101467,"src":"Lake-Horowhenua0255forweb_thumb.jpg","galleries_id":185117,"server_id":32,"link":"photo_6101467.html","width":130,"caption":"Lake Horowhenua at dusk","height":91});
															thumbnails[7694972] = clik.newPhoto({"id":7694972,"src":"swallow_0226v_thumb.jpg","galleries_id":185107,"server_id":32,"link":"photo_7694972.html","width":130,"caption":"Swallows on Lake Horowhenua 226","height":62});
															thumbnails[7694981] = clik.newPhoto({"id":7694981,"src":"swallow0215_thumb.jpg","galleries_id":185107,"server_id":32,"link":"photo_7694981.html","width":130,"caption":"swallow on Lake Horowhenua 0215","height":77});
															thumbnails[7695032] = clik.newPhoto({"id":7695032,"src":"swallow0230v_thumb.jpg","galleries_id":185107,"server_id":32,"link":"photo_7695032.html","width":130,"caption":"Swallows on Lake Horowhenua 0230","height":72});
															thumbnails[5596879] = clik.newPhoto({"id":5596879,"src":"eff-off_0104_thumb.jpg","galleries_id":185107,"server_id":32,"link":"photo_5596879.html","width":130,"caption":"eff-off_0104","height":91});
															thumbnails[5596882] = clik.newPhoto({"id":5596882,"src":"swallow_0087_thumb.jpg","galleries_id":185107,"server_id":32,"link":"photo_5596882.html","width":92,"caption":"swallow 0087","height":130});
															thumbnails[5596883] = clik.newPhoto({"id":5596883,"src":"swallow_0089_thumb.jpg","galleries_id":185107,"server_id":32,"link":"photo_5596883.html","width":92,"caption":"Swallow 0089","height":130});
															thumbnails[5875715] = clik.newPhoto({"id":5875715,"src":"2-swallows_0102_thumb.jpg","galleries_id":185107,"server_id":32,"link":"photo_5875715.html","width":92,"caption":"2 swallows on Lake Horowhenua","height":130});
															thumbnails[7826338] = clik.newPhoto({"id":7826338,"src":"swallows_0063v2_thumb.jpg","galleries_id":185107,"server_id":32,"link":"photo_7826338.html","width":130,"caption":"Swallows on Lake Horowhenua 0063v2","height":85});
															thumbnails[6236764] = clik.newPhoto({"id":6236764,"src":"grass-seed_0057_thumb.jpg","galleries_id":185110,"server_id":32,"link":"photo_6236764.html","width":130,"caption":"Grass seed","height":70});
															thumbnails[4467024] = clik.newPhoto({"id":4467024,"src":"Spoonbill-Parapram3086_thumb.jpg","galleries_id":185107,"server_id":32,"link":"photo_4467024.html","width":130,"caption":"Spoonbill at Paraparaumu ","height":88});
															thumbnails[5957585] = clik.newPhoto({"id":5957585,"src":"WaterStone_Lake465_thumb.jpg","galleries_id":185117,"server_id":32,"link":"photo_5957585.html","width":130,"caption":"Waterstone Lake, Paraparaumu.","height":82});
															thumbnails[3215576] = clik.newPhoto({"id":3215576,"src":"Gannet-dive_0279_thumb.jpg","galleries_id":196416,"server_id":32,"link":"photo_3215576.html","width":88,"caption":"Gannet diving in Waiorua Bay, Kapiti island.  ","height":130});
															thumbnails[3217364] = clik.newPhoto({"id":3217364,"src":"Kaka_0228_thumb.jpg","galleries_id":196416,"server_id":32,"link":"photo_3217364.html","width":130,"caption":"Kaka over Waiorua Bay, Kapiti Island","height":94});
															thumbnails[3224172] = clik.newPhoto({"id":3224172,"src":"Kaka213-for-web_thumb.jpg","galleries_id":196416,"server_id":32,"link":"photo_3224172.html","width":91,"caption":"Kaka flight 0213","height":130});
															thumbnails[3224173] = clik.newPhoto({"id":3224173,"src":"Kereru_flight_0221_thumb.jpg","galleries_id":196416,"server_id":32,"link":"photo_3224173.html","width":130,"caption":"Native pigeon, kereru flight 0221","height":100});
															thumbnails[5589312] = clik.newPhoto({"id":5589312,"src":"Tui-on-flax_0237_thumb.jpg","galleries_id":185107,"server_id":32,"link":"photo_5589312.html","width":77,"caption":"Tui on flax pyramid, Waiorua Bay, Kapiti Island.","height":130});
															thumbnails[5919345] = clik.newPhoto({"id":5919345,"src":"Kaka-0229-_thumb.jpg","galleries_id":185107,"server_id":32,"link":"photo_5919345.html","width":92,"caption":"Kaka over Kapiti Island","height":130});
															thumbnails[6101349] = clik.newPhoto({"id":6101349,"src":"Kereru0224forweb_thumb.jpg","galleries_id":185107,"server_id":32,"link":"photo_6101349.html","width":130,"caption":"Kereru, native pigeon of New Zealand","height":92});
															thumbnails[7158857] = clik.newPhoto({"id":7158857,"src":"rain_squall_gannet_thumb.jpg","galleries_id":196416,"server_id":32,"link":"photo_7158857.html","width":130,"caption":"Kapiti rain squall&gannet","height":91});
															thumbnails[7159061] = clik.newPhoto({"id":7159061,"src":"Kereru_02221_thumb.jpg","galleries_id":196416,"server_id":32,"link":"photo_7159061.html","width":130,"caption":"Kereru on Kapiti 0222","height":103});
															thumbnails[7159064] = clik.newPhoto({"id":7159064,"src":"Kereru_03651_thumb.jpg","galleries_id":196416,"server_id":32,"link":"photo_7159064.html","width":130,"caption":"Kereru on Kapiti 0365","height":96});
															thumbnails[7796468] = clik.newPhoto({"id":7796468,"src":"gannet_dive_281cropped_thumb.jpg","galleries_id":196416,"server_id":32,"link":"photo_7796468.html","width":92,"caption":"Gannet dive 0281","height":130});
															thumbnails[3215574] = clik.newPhoto({"id":3215574,"src":"gannet-dive0278cropped_thumb.jpg","galleries_id":196416,"server_id":32,"link":"photo_3215574.html","width":92,"caption":"Gannet about to dive in Waiorua Bay, Kapiti ","height":130});
															thumbnails[3217365] = clik.newPhoto({"id":3217365,"src":"Kanuka_0301_thumb.jpg","galleries_id":196416,"server_id":32,"link":"photo_3217365.html","width":91,"caption":"Kanuka at North End of Kapiti Island","height":130});
															thumbnails[3217368] = clik.newPhoto({"id":3217368,"src":"path_0304_thumb.jpg","galleries_id":196416,"server_id":32,"link":"photo_3217368.html","width":87,"caption":"Path through Tea Tree","height":130});
															thumbnails[3215585] = clik.newPhoto({"id":3215585,"src":"Tui-&-flax_0350_thumb.jpg","galleries_id":196416,"server_id":32,"link":"photo_3215585.html","width":130,"caption":"It is the season of plenty for nectar eating birds.  Flax is abundant and in flower.  Waiorua bay in the background.","height":89});
															thumbnails[3260486] = clik.newPhoto({"id":3260486,"src":"Kapiti-Island-Natives_thumb.jpg","galleries_id":196416,"server_id":32,"link":"photo_3260486.html","width":88,"caption":"Natives welcoming the ferry to Kapiti Island Alive","height":130});
															thumbnails[6236724] = clik.newPhoto({"id":6236724,"src":"eyes_thumb.jpg","galleries_id":185110,"server_id":32,"link":"photo_6236724.html","width":130,"caption":"red-eye-watch","height":129});
															thumbnails[3023889] = clik.newPhoto({"id":3023889,"src":"080608_Spoonbills_Foxton_0019_thumb.jpg","galleries_id":185107,"server_id":32,"link":"photo_3023889.html","width":130,"caption":"Spoonbills at mouth of Manawatu River, Foxton.  ","height":87});
															thumbnails[3023897] = clik.newPhoto({"id":3023897,"src":"080608_Spoonbills_Foxton_0022_thumb.jpg","galleries_id":185107,"server_id":32,"link":"photo_3023897.html","width":130,"caption":"Spoonbills at Foxton","height":91});
															thumbnails[3023901] = clik.newPhoto({"id":3023901,"src":"080608_Spoonbills_Foxton_0023_thumb.jpg","galleries_id":185107,"server_id":32,"link":"photo_3023901.html","width":130,"caption":"Spoonbills at Foxton Wetland","height":87});
															thumbnails[6456986] = clik.newPhoto({"id":6456986,"src":"maple1673web_thumb.jpg","galleries_id":185110,"server_id":32,"link":"photo_6456986.html","width":130,"caption":"Maple at Eden Gardens","height":98});
															thumbnails[3579163] = clik.newPhoto({"id":3579163,"src":"Nikau-frame1291_thumb.jpg","galleries_id":185121,"server_id":32,"link":"photo_3579163.html","width":87,"caption":"Nikau frame1291","height":130});
															thumbnails[5589246] = clik.newPhoto({"id":5589246,"src":"swallow0705_thumb.jpg","galleries_id":185107,"server_id":32,"link":"photo_5589246.html","width":130,"caption":"Swallow at International Pacific College, Palmerston North.","height":92});
															thumbnails[6449002] = clik.newPhoto({"id":6449002,"src":"freighters0637_thumb.jpg","galleries_id":185108,"server_id":32,"link":"photo_6449002.html","width":130,"caption":"Freighters 0637","height":87});
															thumbnails[6449018] = clik.newPhoto({"id":6449018,"src":"freighter649_thumb.jpg","galleries_id":185108,"server_id":32,"link":"photo_6449018.html","width":91,"caption":"freighter649","height":130});
															thumbnails[6449022] = clik.newPhoto({"id":6449022,"src":"freighter0647_thumb.jpg","galleries_id":185108,"server_id":32,"link":"photo_6449022.html","width":130,"caption":"freighter0647","height":79});
															thumbnails[6303691] = clik.newPhoto({"id":6303691,"src":"Nikaunui-misty-morning121_thumb.jpg","galleries_id":185117,"server_id":32,"link":"photo_6303691.html","width":130,"caption":"Nikaunui Misty Morning","height":75});
															thumbnails[3578975] = clik.newPhoto({"id":3578975,"src":"Lake-Horowhenua0032_thumb.jpg","galleries_id":185117,"server_id":32,"link":"photo_3578975.html","width":130,"caption":"Lake Horowhenua0032","height":92});
															thumbnails[7653580] = clik.newPhoto({"id":7653580,"src":"white-heron0049_thumb.jpg","galleries_id":185107,"server_id":32,"link":"photo_7653580.html","width":130,"caption":"white heron","height":92});
															thumbnails[7653596] = clik.newPhoto({"id":7653596,"src":"White-Heron0050_thumb.jpg","galleries_id":185107,"server_id":32,"link":"photo_7653596.html","width":130,"caption":"White Heron ","height":92});
															thumbnails[7837306] = clik.newPhoto({"id":7837306,"src":"L.Horowhenua0035_thumb.jpg","galleries_id":185117,"server_id":32,"link":"photo_7837306.html","width":130,"caption":"Lake Horowhenua & harrier hawk","height":92});
															thumbnails[7837307] = clik.newPhoto({"id":7837307,"src":"L.Horowhenua-Shags0011_thumb.jpg","galleries_id":185117,"server_id":32,"link":"photo_7837307.html","width":130,"caption":"Shags on Lake Horowhenua","height":86});
															thumbnails[7656795] = clik.newPhoto({"id":7656795,"src":"flaxpampas977_thumb.jpg","galleries_id":185117,"server_id":32,"link":"photo_7656795.html","width":89,"caption":"Evening light on Gladstone Rd","height":130});
															thumbnails[6408791] = clik.newPhoto({"id":6408791,"src":"Oystercatcher453_thumb.jpg","galleries_id":185107,"server_id":32,"link":"photo_6408791.html","width":130,"caption":"Pied Oyster Catcher\/Torea","height":90});
															thumbnails[6464791] = clik.newPhoto({"id":6464791,"src":"rockpigeon1_thumb.jpg","galleries_id":185107,"server_id":32,"link":"photo_6464791.html","width":92,"caption":"Rock Pigeon 1","height":130});
															thumbnails[3018416] = clik.newPhoto({"id":3018416,"src":"winter-lotus-3_thumb.jpg","galleries_id":185108,"server_id":32,"link":"photo_3018416.html","width":130,"caption":"winter lotus #3 Matsuyama","height":110});
															thumbnails[3007235] = clik.newPhoto({"id":3007235,"src":"shizutani_school3032_thumb.jpg","galleries_id":185108,"server_id":32,"link":"photo_3007235.html","width":130,"caption":"Shizutani School 303","height":93});
															thumbnails[3018014] = clik.newPhoto({"id":3018014,"src":"Nikau-in-rock1316_thumb.jpg","galleries_id":185121,"server_id":32,"link":"photo_3018014.html","width":87,"caption":"A Nikau palm growing out of rock","height":130});
															thumbnails[3018018] = clik.newPhoto({"id":3018018,"src":"Nikau-no-camels-1300_thumb.jpg","galleries_id":185121,"server_id":32,"link":"photo_3018018.html","width":130,"caption":"Rather like a Mid-East scene, expect to see camels.","height":87});
															thumbnails[3018382] = clik.newPhoto({"id":3018382,"src":"North-from-Tehapu1412_thumb.jpg","galleries_id":185121,"server_id":32,"link":"photo_3018382.html","width":130,"caption":"Looking North from Te Hapu towards Farewell Spit 1412","height":85});
															thumbnails[3018385] = clik.newPhoto({"id":3018385,"src":"3-nikau1356_thumb.jpg","galleries_id":185121,"server_id":32,"link":"photo_3018385.html","width":87,"caption":"3 Nikau in  last sun 1356","height":130});
															thumbnails[3018387] = clik.newPhoto({"id":3018387,"src":"Te-Hapu1423_thumb.jpg","galleries_id":185121,"server_id":32,"link":"photo_3018387.html","width":130,"caption":"Te Hapu scene ","height":87});
															thumbnails[3018389] = clik.newPhoto({"id":3018389,"src":"weathered-natives1312_thumb.jpg","galleries_id":185121,"server_id":32,"link":"photo_3018389.html","width":87,"caption":"Constant strong westerly wind shapes the land and the vegetation ","height":130});
															thumbnails[3018390] = clik.newPhoto({"id":3018390,"src":"bamboo_new&old1_thumb.jpg","galleries_id":185108,"server_id":32,"link":"photo_3018390.html","width":107,"caption":"Bamboo in Kyoto ","height":130});
															thumbnails[3018391] = clik.newPhoto({"id":3018391,"src":"bamboo-2new-1old1_thumb.jpg","galleries_id":185108,"server_id":32,"link":"photo_3018391.html","width":93,"caption":"2 new bamboo 1 old","height":130});
															thumbnails[3018392] = clik.newPhoto({"id":3018392,"src":"Ivy_was_here_v_thumb.21.jpg","galleries_id":185108,"server_id":32,"link":"photo_3018392.html","width":93,"caption":"Ivy was here v.2","height":130});
															thumbnails[3018394] = clik.newPhoto({"id":3018394,"src":"on-Mt-Rokko2_thumb.jpg","galleries_id":185108,"server_id":32,"link":"photo_3018394.html","width":130,"caption":"Autumn colours, Mt Rokko, Kobe","height":106});
															thumbnails[3018395] = clik.newPhoto({"id":3018395,"src":"maple&shadow-on-waterweed1_thumb.jpg","galleries_id":185108,"server_id":32,"link":"photo_3018395.html","width":92,"caption":"Maple and shadow on waterweed, ","height":130});
															thumbnails[3018396] = clik.newPhoto({"id":3018396,"src":"winter-lotus-b&w1_thumb.jpg","galleries_id":185108,"server_id":32,"link":"photo_3018396.html","width":130,"caption":"early morning pond and winter lotus Black & White","height":93});
															thumbnails[3018404] = clik.newPhoto({"id":3018404,"src":"renkon20A1_thumb.jpg","galleries_id":185108,"server_id":32,"link":"photo_3018404.html","width":91,"caption":"Winter lotus ","height":130});
															thumbnails[3018425] = clik.newPhoto({"id":3018425,"src":"Hokio962_thumb.jpg","galleries_id":185117,"server_id":32,"link":"photo_3018425.html","width":130,"caption":"Moments before the sun sank at Hokio Beach","height":72});
															thumbnails[3018428] = clik.newPhoto({"id":3018428,"src":"Hokio964_thumb.jpg","galleries_id":185117,"server_id":32,"link":"photo_3018428.html","width":130,"caption":"Sunset at Hokio Beach 964","height":62});
															thumbnails[3018429] = clik.newPhoto({"id":3018429,"src":"Levin&lake856_thumb.jpg","galleries_id":185117,"server_id":32,"link":"photo_3018429.html","width":130,"caption":"Levin and Lake Horowhenua from the West","height":75});
															thumbnails[3018430] = clik.newPhoto({"id":3018430,"src":"Levinfrom-hills801_thumb.jpg","galleries_id":185117,"server_id":32,"link":"photo_3018430.html","width":130,"caption":"Levin, Lake Horowhenua and Tasman Sea from the East","height":87});
															thumbnails[3018431] = clik.newPhoto({"id":3018431,"src":"stormy-light807_thumb.jpg","galleries_id":185117,"server_id":32,"link":"photo_3018431.html","width":130,"caption":"Storm brewing over the Tararua range","height":87});
															thumbnails[3023860] = clik.newPhoto({"id":3023860,"src":"_gull-166_thumb.jpg","galleries_id":185107,"server_id":32,"link":"photo_3023860.html","width":130,"caption":"red-billed gull over Cook Strait","height":91});
															thumbnails[3023862] = clik.newPhoto({"id":3023862,"src":"2Tombi0494_thumb.jpg","galleries_id":185107,"server_id":32,"link":"photo_3023862.html","width":130,"caption":"2 hawks fighting","height":92});
															thumbnails[3023907] = clik.newPhoto({"id":3023907,"src":"fantail1062b&w_thumb.jpg","galleries_id":185107,"server_id":32,"link":"photo_3023907.html","width":130,"caption":"Fantail in a black sky","height":92});
															thumbnails[3023915] = clik.newPhoto({"id":3023915,"src":"fantail1116_thumb.cut-1.jpg","galleries_id":185107,"server_id":32,"link":"photo_3023915.html","width":130,"caption":"Fantail in flight","height":121});
															thumbnails[3024000] = clik.newPhoto({"id":3024000,"src":"gull0169_thumb.jpg","galleries_id":185107,"server_id":32,"link":"photo_3024000.html","width":91,"caption":"Red-billed gull over Cook Strait","height":130});
															thumbnails[3024016] = clik.newPhoto({"id":3024016,"src":"rockpigeon-2_thumb.jpg","galleries_id":185107,"server_id":32,"link":"photo_3024016.html","width":130,"caption":"Cliff-dweller photographed from clifftop","height":97});
															thumbnails[3024024] = clik.newPhoto({"id":3024024,"src":"tombo-on-stalk_thumb.jpg","galleries_id":185107,"server_id":32,"link":"photo_3024024.html","width":92,"caption":"Dragon fly on fern stalk","height":130});
															thumbnails[3024035] = clik.newPhoto({"id":3024035,"src":"tonbi&roof540_thumb.jpg","galleries_id":185107,"server_id":32,"link":"photo_3024035.html","width":130,"caption":"Hawk over a Temple roof in Wajima City, 2006","height":92});
															thumbnails[3024072] = clik.newPhoto({"id":3024072,"src":"tonbo-flyingv2_thumb.jpg","galleries_id":185107,"server_id":32,"link":"photo_3024072.html","width":130,"caption":"Dragonfly in flight","height":92});
															thumbnails[3026953] = clik.newPhoto({"id":3026953,"src":"heron046_thumb.jpg","galleries_id":185107,"server_id":32,"link":"photo_3026953.html","width":130,"caption":"White heron at Lake Horowhenua","height":69});
															thumbnails[3026963] = clik.newPhoto({"id":3026963,"src":"herontakeoff044_thumb.jpg","galleries_id":185107,"server_id":32,"link":"photo_3026963.html","width":130,"caption":"White heron at Lake Horowhenua","height":87});
															thumbnails[3026971] = clik.newPhoto({"id":3026971,"src":"white faced heron1792_thumb.jpg","galleries_id":185107,"server_id":32,"link":"photo_3026971.html","width":130,"caption":"Tide out at Mapua, Nelson. ","height":90});
															thumbnails[3026978] = clik.newPhoto({"id":3026978,"src":"Mapua evening1802_thumb.jpg","galleries_id":185121,"server_id":32,"link":"photo_3026978.html","width":130,"caption":"Mapua Estuary","height":68});
															thumbnails[3026986] = clik.newPhoto({"id":3026986,"src":"Roots(The-Kiss)1204_thumb.jpg","galleries_id":185110,"server_id":32,"link":"photo_3026986.html","width":87,"caption":"The kiss on Rangihaeata Beach","height":130});
															thumbnails[3026995] = clik.newPhoto({"id":3026995,"src":"roots196A3+_thumb.jpg","galleries_id":185121,"server_id":32,"link":"photo_3026995.html","width":130,"caption":"Rangihaeata Beach, Takaka","height":89});
															thumbnails[3027000] = clik.newPhoto({"id":3027000,"src":"roots1200_thumb.jpg","galleries_id":185121,"server_id":32,"link":"photo_3027000.html","width":91,"caption":"Rangihaeata Beach","height":130});
															thumbnails[3027010] = clik.newPhoto({"id":3027010,"src":"Mapua tide out1795_thumb.jpg","galleries_id":185121,"server_id":32,"link":"photo_3027010.html","width":130,"caption":"Tide out at Mapua","height":87});
															thumbnails[3044155] = clik.newPhoto({"id":3044155,"src":"L_thumb.Horowhenua0034.jpg","galleries_id":185117,"server_id":32,"link":"photo_3044155.html","width":130,"caption":"Lake Horowhenua, Levin","height":87});
															thumbnails[3044158] = clik.newPhoto({"id":3044158,"src":"lowlight-on-L_thumb.PptongaA3.jpg","galleries_id":185117,"server_id":32,"link":"photo_3044158.html","width":130,"caption":"Evening light on L. Papaitonga, Levin","height":89});
															thumbnails[3044160] = clik.newPhoto({"id":3044160,"src":"PtongaTrunk0154_thumb.jpg","galleries_id":185117,"server_id":32,"link":"photo_3044160.html","width":87,"caption":"A tree from Lord of the rings in Papaitonga forest","height":130});
															thumbnails[3044167] = clik.newPhoto({"id":3044167,"src":"Ruapehu_0100_thumb.jpg","galleries_id":185117,"server_id":32,"link":"photo_3044167.html","width":130,"caption":"Mt Ruapehu from Nikaunui","height":87});
															thumbnails[3044171] = clik.newPhoto({"id":3044171,"src":"Ruapehu_0106_thumb.jpg","galleries_id":185117,"server_id":32,"link":"photo_3044171.html","width":130,"caption":"Another view of Mt Ruapehu from Nikaunui","height":97});
															thumbnails[3044313] = clik.newPhoto({"id":3044313,"src":"Turakina-trees1731_thumb.jpg","galleries_id":185121,"server_id":32,"link":"photo_3044313.html","width":130,"caption":"Tree shapes at Turakina","height":77});
															thumbnails[3044317] = clik.newPhoto({"id":3044317,"src":"Winter-Willows-A3+_thumb.jpg","galleries_id":185117,"server_id":32,"link":"photo_3044317.html","width":130,"caption":"Willows in winter at sunset","height":89});
															thumbnails[3058405] = clik.newPhoto({"id":3058405,"src":"river&alps26_thumb.jpg","galleries_id":185121,"server_id":32,"link":"photo_3058405.html","width":130,"caption":"Remarkable Range, Central Otago","height":86});
															thumbnails[3058561] = clik.newPhoto({"id":3058561,"src":"flax&Alps21_thumb.jpg","galleries_id":185121,"server_id":32,"link":"photo_3058561.html","width":86,"caption":"Flax & the Remarkables, Central Otago","height":130});
															thumbnails[3058562] = clik.newPhoto({"id":3058562,"src":"lake&alps1_thumb.jpg","galleries_id":185121,"server_id":32,"link":"photo_3058562.html","width":130,"caption":"Lake Wakatipu & the Remarkables","height":86});
															thumbnails[3058625] = clik.newPhoto({"id":3058625,"src":"lakeside22_thumb.jpg","galleries_id":185121,"server_id":32,"link":"photo_3058625.html","width":130,"caption":"A view I think taken near Arrowtown. early 1970s","height":86});
															thumbnails[3058626] = clik.newPhoto({"id":3058626,"src":"mountain-top11_thumb.jpg","galleries_id":185121,"server_id":32,"link":"photo_3058626.html","width":130,"caption":"","height":86});
															thumbnails[3058627] = clik.newPhoto({"id":3058627,"src":"reeds12A_thumb.jpg","galleries_id":185121,"server_id":32,"link":"photo_3058627.html","width":85,"caption":"On the edge of Lake Wakatipu","height":130});
															thumbnails[3059249] = clik.newPhoto({"id":3059249,"src":"Waikanae-Villa_091108_0177_thumb.jpg","galleries_id":185122,"server_id":32,"link":"photo_3059249.html","width":130,"caption":"1915 Villa on Highway 1, Waikanae","height":87});
															thumbnails[3064897] = clik.newPhoto({"id":3064897,"src":"Wajima-mkt-&-dog_thumb.jpg","galleries_id":185108,"server_id":32,"link":"photo_3064897.html","width":130,"caption":"Shopping with dog at Wajima market","height":97});
															thumbnails[3064919] = clik.newPhoto({"id":3064919,"src":"uphill-trudge-Wajima-9_thumb.jpg","galleries_id":185108,"server_id":32,"link":"photo_3064919.html","width":130,"caption":"Steep climb from rocky coast, Wajima","height":92});
															thumbnails[3064920] = clik.newPhoto({"id":3064920,"src":"man-squatting_thumb.jpg","galleries_id":185108,"server_id":32,"link":"photo_3064920.html","width":86,"caption":"Balancing on the edge of the harbour","height":130});
															thumbnails[3064921] = clik.newPhoto({"id":3064921,"src":"hawk-&-boat_thumb.jpg","galleries_id":185108,"server_id":32,"link":"photo_3064921.html","width":130,"caption":"Scavenger in fishing village","height":92});
															thumbnails[3064923] = clik.newPhoto({"id":3064923,"src":"fisherman-3_thumb.jpg","galleries_id":185108,"server_id":32,"link":"photo_3064923.html","width":90,"caption":"Fisherman returns to land","height":130});
															thumbnails[3064924] = clik.newPhoto({"id":3064924,"src":"fisherman-2_thumb.jpg","galleries_id":185108,"server_id":32,"link":"photo_3064924.html","width":91,"caption":"He smiled for the camera","height":130});
															thumbnails[3064926] = clik.newPhoto({"id":3064926,"src":"fisherman-1_thumb.jpg","galleries_id":185108,"server_id":32,"link":"photo_3064926.html","width":130,"caption":"Well-weathered","height":92});
															thumbnails[3064928] = clik.newPhoto({"id":3064928,"src":"2-women-wajima-23_thumb.jpg","galleries_id":185108,"server_id":32,"link":"photo_3064928.html","width":130,"caption":"Friends at Wajima Morning Market.","height":93});
															thumbnails[3070670] = clik.newPhoto({"id":3070670,"src":"Nikaunui-morning0113_thumb.jpg","galleries_id":185117,"server_id":32,"link":"photo_3070670.html","width":130,"caption":"Misty morning at Nikaunui","height":87});
															thumbnails[3070671] = clik.newPhoto({"id":3070671,"src":"Nikaunui-morning0116_thumb.jpg","galleries_id":185117,"server_id":32,"link":"photo_3070671.html","width":130,"caption":"Waiting for the day?","height":87});
															thumbnails[3087340] = clik.newPhoto({"id":3087340,"src":"from-Arapaepae-ridge_thumb.jpg","galleries_id":185117,"server_id":32,"link":"photo_3087340.html","width":82,"caption":"Looking down from Arapaepae Ridge in 2004","height":130});
															thumbnails[3165074] = clik.newPhoto({"id":3165074,"src":"5-nikau-fronds-21_thumb.jpg","galleries_id":185110,"server_id":32,"link":"photo_3165074.html","width":113,"caption":"Young Nikau at Papaitonga wetland","height":130});
															thumbnails[3165133] = clik.newPhoto({"id":3165133,"src":"web-on-pine_thumb.jpg","galleries_id":185110,"server_id":32,"link":"photo_3165133.html","width":130,"caption":"Spider web on Pine tree","height":117});
															thumbnails[3227086] = clik.newPhoto({"id":3227086,"src":"Kaka-over-Kaikoura_844_thumb.jpg","galleries_id":196416,"server_id":32,"link":"photo_3227086.html","width":89,"caption":"Native parrot, Kaka, guarding Kaikoura mountains","height":130});
															thumbnails[5772502] = clik.newPhoto({"id":5772502,"src":"Whirinaki-church_2_thumb.jpg","galleries_id":185110,"server_id":32,"link":"photo_5772502.html","width":91,"caption":"Whirinaki Church","height":130});
															thumbnails[6403874] = clik.newPhoto({"id":6403874,"src":"Nikaunui-morning0115_thumb.jpg","galleries_id":185117,"server_id":32,"link":"photo_6403874.html","width":130,"caption":"Misty morning qt Nikaunui 115","height":95});
															thumbnails[6403881] = clik.newPhoto({"id":6403881,"src":"Nikaunui-misty-morning120_thumb.jpg","galleries_id":185117,"server_id":32,"link":"photo_6403881.html","width":130,"caption":"Nikaunui misty morning","height":75});
															thumbnails[6449006] = clik.newPhoto({"id":6449006,"src":"Freighters0634_thumb.jpg","galleries_id":185108,"server_id":32,"link":"photo_6449006.html","width":130,"caption":"Freighters0634","height":89});
															thumbnails[6455943] = clik.newPhoto({"id":6455943,"src":"MILK_women_thumb.jpg","galleries_id":185108,"server_id":32,"link":"photo_6455943.html","width":130,"caption":"Friends","height":93});
															thumbnails[6570931] = clik.newPhoto({"id":6570931,"src":"Kiev-pram-sepia2_thumb.jpg","galleries_id":185110,"server_id":32,"link":"photo_6570931.html","width":89,"caption":"Black lady & pram in sepia","height":130});
															thumbnails[6571231] = clik.newPhoto({"id":6571231,"src":"Kiev11aSepia2xcolorfill_thumb.jpg","galleries_id":185110,"server_id":32,"link":"photo_6571231.html","width":92,"caption":"Kiev Apartments#11a Sepia2","height":130});
															thumbnails[6571260] = clik.newPhoto({"id":6571260,"src":"snowonbranches9a1_8ED30477-1EC9-D45B-1CDA9281ADB5BC4B_thumb.jpg","galleries_id":185110,"server_id":32,"link":"photo_6571260.html","width":130,"caption":"Kiev Apartments in winter#9a (sepia)","height":91});
															thumbnails[6807091] = clik.newPhoto({"id":6807091,"src":"first-clean-teeth_thumb.jpg","galleries_id":185108,"server_id":32,"link":"photo_6807091.html","width":91,"caption":" I'll just clean my teeth, then...","height":130});
															thumbnails[6807197] = clik.newPhoto({"id":6807197,"src":"then-button-shirt_thumb.jpg","galleries_id":185108,"server_id":32,"link":"photo_6807197.html","width":87,"caption":"Then button up shirt","height":130});
															thumbnails[6807315] = clik.newPhoto({"id":6807315,"src":"Hinase-girl_thumb.jpg","galleries_id":185108,"server_id":32,"link":"photo_6807315.html","width":93,"caption":"Seeing a strange person","height":130});
															thumbnails[6807318] = clik.newPhoto({"id":6807318,"src":"woman-smoking_thumb.jpg","galleries_id":185108,"server_id":32,"link":"photo_6807318.html","width":92,"caption":"Time for a break","height":130});
															thumbnails[6807372] = clik.newPhoto({"id":6807372,"src":"diamond-amongst-pearls_thumb.jpg","galleries_id":185110,"server_id":32,"link":"photo_6807372.html","width":130,"caption":"A diamond amongst the pearls","height":130});
															thumbnails[6807381] = clik.newPhoto({"id":6807381,"src":"web1spider_thumb.jpg","galleries_id":185110,"server_id":32,"link":"photo_6807381.html","width":116,"caption":"Web + spider","height":130});
															thumbnails[6807390] = clik.newPhoto({"id":6807390,"src":"straw-zori-Wajima_thumb.jpg","galleries_id":185108,"server_id":32,"link":"photo_6807390.html","width":86,"caption":"straw Zori, Wajima market","height":130});
															thumbnails[7656222] = clik.newPhoto({"id":7656222,"src":"Web-at-Mohaka_thumb.jpg","galleries_id":185110,"server_id":32,"link":"photo_7656222.html","width":92,"caption":"Web at Mohaka","height":130});
															thumbnails[7656226] = clik.newPhoto({"id":7656226,"src":"spider-web_thumb.jpg","galleries_id":185110,"server_id":32,"link":"photo_7656226.html","width":130,"caption":"Web in Japan ","height":130});
															thumbnails[8103074] = clik.newPhoto({"id":8103074,"src":"gannet-C_thumb.jpg","galleries_id":185107,"server_id":32,"link":"photo_8103074.html","width":130,"caption":"Gannet at Cape Kidnappers","height":86});
															thumbnails[3006011] = clik.newPhoto({"id":3006011,"src":"13+newmoon_thumb.jpg","galleries_id":185110,"server_id":32,"link":"photo_3006011.html","width":130,"caption":"Post and chain with native grass and new moon","height":88});
															thumbnails[3006180] = clik.newPhoto({"id":3006180,"src":"MtRokkogully1_thumb.jpg","galleries_id":185108,"server_id":32,"link":"photo_3006180.html","width":130,"caption":"Mt Rokko Gully","height":119});
															thumbnails[3006693] = clik.newPhoto({"id":3006693,"src":"5_bamboo_thumb.jpg","galleries_id":185108,"server_id":32,"link":"photo_3006693.html","width":104,"caption":"5 bamboo","height":130});
															thumbnails[3006714] = clik.newPhoto({"id":3006714,"src":"bamboo_w_shadow_thumb.jpg","galleries_id":185108,"server_id":32,"link":"photo_3006714.html","width":87,"caption":"Bamboo, with shadow","height":130});
															thumbnails[3018003] = clik.newPhoto({"id":3018003,"src":"Nikau-in-sun1357_thumb.jpg","galleries_id":185121,"server_id":32,"link":"photo_3018003.html","width":87,"caption":"Nikau palms in last sun","height":130});
															thumbnails[3006169] = clik.newPhoto({"id":3006169,"src":"postwithlillies_thumb.jpg","galleries_id":185110,"server_id":32,"link":"photo_3006169.html","width":103,"caption":"Post with lillies","height":130});
															thumbnails[3006182] = clik.newPhoto({"id":3006182,"src":"Tui0002_thumb.jpg","galleries_id":185107,"server_id":32,"link":"photo_3006182.html","width":130,"caption":"Tui 0002","height":91});
															thumbnails[3006187] = clik.newPhoto({"id":3006187,"src":"Tui0007_thumb.jpg","galleries_id":185107,"server_id":32,"link":"photo_3006187.html","width":130,"caption":"Tui 0007","height":91});
															thumbnails[3006189] = clik.newPhoto({"id":3006189,"src":"tuiPapaitonga_thumb.jpg","galleries_id":185107,"server_id":32,"link":"photo_3006189.html","width":130,"caption":"Tui at Papaitonga Wetland Reserve","height":93});
															thumbnails[3011836] = clik.newPhoto({"id":3011836,"src":"fantail12681_thumb.jpg","galleries_id":185107,"server_id":32,"link":"photo_3011836.html","width":130,"caption":"Insect hunter 1268","height":55});
															thumbnails[3006184] = clik.newPhoto({"id":3006184,"src":"Tui005_thumb.jpg","galleries_id":185107,"server_id":32,"link":"photo_3006184.html","width":130,"caption":"Tui 0005","height":92});
															thumbnails[3006938] = clik.newPhoto({"id":3006938,"src":"Shizutani_School308invert1_thumb.jpg","galleries_id":185108,"server_id":32,"link":"photo_3006938.html","width":130,"caption":"Shizutani School 308","height":92});
															thumbnails[3006721] = clik.newPhoto({"id":3006721,"src":"soma-michi_thumb.jpg","galleries_id":185108,"server_id":32,"link":"photo_3006721.html","width":94,"caption":"Soma Michi","height":130});
															thumbnails[3044053] = clik.newPhoto({"id":3044053,"src":"9Mays-Road-Devonport1526_thumb.jpg","galleries_id":185122,"server_id":32,"link":"photo_3044053.html","width":130,"caption":"9 Mays St, Devonport. Built c. 1909. Home of my great Uncle.","height":87});
															thumbnails[3044054] = clik.newPhoto({"id":3044054,"src":"100-years-on-Bartholomew-Rd,-Levin_thumb.jpg","galleries_id":185122,"server_id":32,"link":"photo_3044054.html","width":130,"caption":"100 years on Batholomew Rd, Levin","height":98});
															thumbnails[3044060] = clik.newPhoto({"id":3044060,"src":"MuhunoaWestVilla482_thumb.jpg","galleries_id":185122,"server_id":32,"link":"photo_3044060.html","width":130,"caption":"On Muhunoa West Road, Levin","height":97});
															thumbnails[3044062] = clik.newPhoto({"id":3044062,"src":"On-Tavistock-Rd_thumb.jpg","galleries_id":185122,"server_id":32,"link":"photo_3044062.html","width":130,"caption":"On Tavistock Rd, Levin","height":90});
															thumbnails[3044065] = clik.newPhoto({"id":3044065,"src":"Salisbury-Rd-Villa234_thumb.jpg","galleries_id":185122,"server_id":32,"link":"photo_3044065.html","width":130,"caption":"On Salisbury Rd Levin","height":109});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[196416] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Kapiti Island","link":"gallery_196416.html","maxRecords":0.0,"photoIDs":[3215576.0,3217364.0,3224172.0,3224173.0,7158857.0,7159061.0,7159064.0,7796468.0,3215574.0,3217365.0,3217368.0,3215585.0,3260486.0,3227086.0],"skipIndex":0,"section_code":"gallery","featured_images":3260486.0,"id":196416,"singleSection":false});				  						galleries[185107] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Fliers","link":"gallery_185107.html","maxRecords":0.0,"photoIDs":[8489662.0,8489664.0,8489665.0,8489874.0,8489879.0,8489896.0,7995253.0,7158969.0,7653606.0,7159073.0,8709603.0,7159087.0,7695107.0,8489763.0,6221417.0,6317473.0,7756079.0,6171502.0,7694972.0,7694981.0,7695032.0,5596879.0,5596882.0,5596883.0,5875715.0,7826338.0,4467024.0,5589312.0,5919345.0,6101349.0,3023889.0,3023897.0,3023901.0,5589246.0,7653580.0,7653596.0,6408791.0,6464791.0,3023860.0,3023862.0,3023907.0,3023915.0,3024000.0,3024016.0,3024024.0,3024035.0,3024072.0,3026953.0,3026963.0,3026971.0,8103074.0,3006182.0,3006187.0,3006189.0,3011836.0,3006184.0],"skipIndex":0,"section_code":"gallery","featured_images":4467024.0,"id":185107,"singleSection":false});				  						galleries[185117] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Levin\/Horowhenua","link":"gallery_185117.html","maxRecords":0.0,"photoIDs":[8489780.0,8489781.0,7995283.0,7995288.0,7159003.0,6571302.0,6221564.0,6303690.0,6403864.0,6101467.0,5957585.0,6303691.0,3578975.0,7837306.0,7837307.0,7656795.0,3018425.0,3018428.0,3018429.0,3018430.0,3018431.0,3044155.0,3044158.0,3044160.0,3044167.0,3044171.0,3044317.0,3070670.0,3070671.0,3087340.0,6403874.0,6403881.0],"skipIndex":0,"section_code":"gallery","featured_images":3018428.0,"id":185117,"singleSection":false});				  						galleries[185121] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Scenery","link":"gallery_185121.html","maxRecords":0.0,"photoIDs":[7166251.0,7166252.0,7166253.0,7166254.0,3579163.0,3018014.0,3018018.0,3018382.0,3018385.0,3018387.0,3018389.0,3026978.0,3026995.0,3027000.0,3027010.0,3044313.0,3058405.0,3058561.0,3058562.0,3058625.0,3058626.0,3058627.0,3018003.0],"skipIndex":0,"section_code":"gallery","featured_images":3018003.0,"id":185121,"singleSection":false});				  						galleries[185122] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Villas","link":"gallery_185122.html","maxRecords":0.0,"photoIDs":[3059249.0,3044053.0,3044054.0,3044060.0,3044062.0,3044065.0],"skipIndex":0,"section_code":"gallery","featured_images":3044053.0,"id":185122,"singleSection":false});				  						galleries[185108] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Japan","link":"gallery_185108.html","maxRecords":0.0,"photoIDs":[7158994.0,7159000.0,6449002.0,6449018.0,6449022.0,3018416.0,3007235.0,3018390.0,3018391.0,3018392.0,3018394.0,3018395.0,3018396.0,3018404.0,3064897.0,3064919.0,3064920.0,3064921.0,3064923.0,3064924.0,3064926.0,3064928.0,6449006.0,6455943.0,6807091.0,6807197.0,6807315.0,6807318.0,6807390.0,3006180.0,3006693.0,3006714.0,3006938.0,3006721.0],"skipIndex":0,"section_code":"gallery","featured_images":3006180.0,"id":185108,"singleSection":false});				  						galleries[185110] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Misc","link":"gallery_185110.html","maxRecords":0.0,"photoIDs":[7991092.0,7991107.0,7991069.0,7991072.0,7991073.0,8489604.0,7656228.0,7158854.0,6907082.0,7158927.0,6906888.0,6907013.0,7158844.0,7158848.0,7158850.0,6236764.0,6236724.0,6456986.0,3026986.0,3165074.0,3165133.0,5772502.0,6570931.0,6571231.0,6571260.0,6807372.0,6807381.0,7656222.0,7656226.0,3006011.0,3006169.0],"skipIndex":0,"section_code":"gallery","featured_images":"3026986,3006011","id":185110,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '3260486,3227086,3058562,3026986,3023897,3018416,3018394,3018392,3006180,3006011,3018003,3006184,3006721';
imageSets[2] = '4467024,3260486,3026986,3018428,3006180,3006011,3018003,3044053';
imageSets[3] = '4467024';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'www12.clikpic.com/paulknight/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/paulknight/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/paulknight/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/paulknight/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/paulknight/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/paulknight/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/paulknight/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/paulknight/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/paulknight/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/paulknight/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/paulknight/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/paulknight/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/paulknight/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/paulknight/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/paulknight/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/paulknight/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/paulknight/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/paulknight/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/paulknight/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/paulknight/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/paulknight/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/paulknight/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/paulknight/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/paulknight/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/paulknight/images';
		break;
	}
		return val;
}

/***************************************************************************
* img = reference to image object in which to show image                   *
***************************************************************************/
function showHomeImage(img) {
	imageID = randomListVal('');
	if (!basic) {
		img.src = photos[imageID].src;
		img.width = photos[imageID].width;
		img.height = photos[imageID].height;
		img.parentNode.title = img.alt = photos[imageID].caption;
	} else {
		newImage = new Image(photos[imageID].width,photos[imageID].height);
		newImage.src = photos[imageID].src;
		document.images[img.name] = newImage;
		
	}
}

function getHomeImageLink(imageID) {
  	var href='', photo = backgrounds && backgrounds[imageID];
	if(photo){
		if (photo && photo.galleries_id != '') {
  			href = photo.fnGalleryLink();
  		}
  		  		else {
  				href += 'gallery.html';
  	  		}
	}
    return href;
}

/***************************************************************************
* Show a random image on home page from featured images                    *
***************************************************************************/
function showHomeImageInline(el, image_sets_id, href) {
	
	var css = {}, imageID,
	    imageSetsId = 1;
	if(image_sets_id){
		imageSetsId = image_sets_id;
	}
	imageID = randomListVal(imageSets[imageSetsId]);
	if (href == null && 'gallery' != '') {
					href = getHomeImageLink(imageID);
	}
	
	updateImage({nextPhoto: backgrounds[imageID], img:el.find('img')[0],
                $photo:el, $title:$('#homeimageTitleContainer'), $detail:$('#homeimageDetailsContainer'),                speed:0, href:href, css:css, onAfter: function(){                  this.closest('.contentsection').doManualAlign({				    inner: 'img',				    crop: 'a'				  });                }              });
}

/***************************************************************************
* Set 'img' to be a new image given its photo() object                     *
***************************************************************************/
function updateImage (options) {
	var defaults = {nextPhoto:'',field:'',img:'',$photo:'',$title:'',$detail:'',$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 = 'Paul Knight 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.payment_groups_id !== '') {
		temp += '<p>Buy this print online:</p>';
				temp += '<form id="paymentOptions" style="margin:0px;border:0px;" name="paymentOptions">';
											temp += '<select class="paymentlink" name="payment_options_id" onchange="updateItemValues($(this.form).next(\'#paymentForm\')[0],this.form.payment_options_id.options[this.form.payment_options_id.options.selectedIndex].value);">';
		
		temp += getPaymentOptions(this.payment_groups_id);
		temp += '</select>';
		temp += '</form>';
				var item_option  = paymentGroups[this.payment_groups_id].options[0];
		if(paymentOptions[item_option]){
			var item_name  = paymentOptions[item_option].payment_option;
			var amount =  paymentOptions[item_option].price;
		}
			}
	else {
		
	}
	if (this.item_price !== '' || this.payment_groups_id !== '') {
			temp += '<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;
	}
}

			

