window.thumbnails = {};
															thumbnails[2446278] = clik.newPhoto({"id":2446278,"src":"Ice_sheet_Mt_Wellington_thumb.jpg","galleries_id":"","server_id":32,"link":"#","width":130,"caption":"Ice and plant detail","height":164});
															thumbnails[2446279] = clik.newPhoto({"id":2446279,"src":"Mt_wellingto_boulder_thumb.jpg","galleries_id":"","server_id":32,"link":"#","width":130,"caption":"Detail of twisted shrub and dolerite tor","height":164});
															thumbnails[2446294] = clik.newPhoto({"id":2446294,"src":"Lake_Silome_thumb.jpg","galleries_id":"","server_id":32,"link":"#","width":130,"caption":"Cushion Plants and <em>Richea scorparia<em\/> with Lake Salome and Zion Hill in the background","height":163});
															thumbnails[2506963] = clik.newPhoto({"id":2506963,"src":"Tesselated_Pavement_thumb.jpg","galleries_id":"","server_id":32,"link":"#","width":130,"caption":"Morning light on Tesselated Pavement, Eagle Hawk Neck","height":164});
															thumbnails[3201149] = clik.newPhoto({"id":3201149,"src":"Toho_kit_2_thumb.jpg","galleries_id":"","server_id":32,"link":"#","width":130,"caption":"Toho 3 lens kit","height":173});
															thumbnails[3201150] = clik.newPhoto({"id":3201150,"src":"Toho_rear_standard_2_thumb.jpg","galleries_id":"","server_id":32,"link":"#","width":130,"caption":"The rear standard of the Toho showing the repositioned knobs allowing the front and rear standards to be brought closer together","height":98});
															thumbnails[3201151] = clik.newPhoto({"id":3201151,"src":"Toho_short_rail_1_thumb.jpg","galleries_id":"","server_id":32,"link":"#","width":130,"caption":"Both standards running on the geared focusing track which has been moved to the front of the rail","height":173});
															thumbnails[3201172] = clik.newPhoto({"id":3201172,"src":"Arcaswiss_field_kit_thumb.jpg","galleries_id":"","server_id":32,"link":"#","width":130,"caption":"","height":173});
															thumbnails[3201173] = clik.newPhoto({"id":3201173,"src":"Arca_swiss_F_line_field_thumb.jpg","galleries_id":"","server_id":32,"link":"#","width":130,"caption":"","height":161});
															thumbnails[5270512] = clik.newPhoto({"id":5270512,"src":"Mt_Anne_thumb.jpg","galleries_id":"","server_id":32,"link":"#","width":130,"caption":"Mt Anne","height":103});
															thumbnails[2919043] = clik.newPhoto({"id":2919043,"src":"Nothofagus_lamington_thumb.jpg","galleries_id":"","server_id":32,"link":"#","width":130,"caption":"Antarctic Beech","height":165});
															thumbnails[2446277] = clik.newPhoto({"id":2446277,"src":"Donaldson_River_thumb.jpg","galleries_id":158022,"server_id":32,"link":"photo_2446277.html","width":130,"caption":"Donaldson River","height":103});
															thumbnails[2446283] = clik.newPhoto({"id":2446283,"src":"Tarkine_coast_thumb.jpg","galleries_id":158022,"server_id":32,"link":"photo_2446283.html","width":130,"caption":"Sunset near the mouth of Interview River ","height":103});
															thumbnails[2446285] = clik.newPhoto({"id":2446285,"src":"Tarkine_stump_sand_thumb.jpg","galleries_id":158022,"server_id":32,"link":"photo_2446285.html","width":130,"caption":"Detail of weathered stump in sand dune, Interview River area","height":104});
															thumbnails[2446323] = clik.newPhoto({"id":2446323,"src":"Mountain_ash_yarra_ranges_thumb.jpg","galleries_id":180812,"server_id":32,"link":"photo_2446323.html","width":130,"caption":"Morning Mist in Mountain Ash (<em> Eucalyptus regnans<em\/>) Forest","height":163});
															thumbnails[2446329] = clik.newPhoto({"id":2446329,"src":"Dawn_The_Cathedral_thumb.jpg","galleries_id":165308,"server_id":32,"link":"photo_2446329.html","width":126,"caption":"Winter dawn, The Cathedral ","height":160});
															thumbnails[2446332] = clik.newPhoto({"id":2446332,"src":"Crystal_brook_falls_buffaloe_thumb.jpg","galleries_id":165308,"server_id":32,"link":"photo_2446332.html","width":130,"caption":"Detail of Crystal Brook Falls at the head of The Gorge","height":163});
															thumbnails[2446334] = clik.newPhoto({"id":2446334,"src":"Sunburst_eaglesnest_thumb.jpg","galleries_id":447439,"server_id":32,"link":"photo_2446334.html","width":130,"caption":"Sunburst near The Eaglesnest","height":163});
															thumbnails[2446335] = clik.newPhoto({"id":2446335,"src":"Granite_whisky_bay_thumb.jpg","galleries_id":219211,"server_id":32,"link":"photo_2446335.html","width":130,"caption":"Granite abstract, Whisky Bay ","height":162});
															thumbnails[2501847] = clik.newPhoto({"id":2501847,"src":"Detai_boulder_tidal_river_thumb.jpg","galleries_id":219211,"server_id":32,"link":"photo_2501847.html","width":130,"caption":"Detail of Granite boulder in Tidal River","height":104});
															thumbnails[2501889] = clik.newPhoto({"id":2501889,"src":"Refuge_cove_wilsons_prom_thumb.jpg","galleries_id":219211,"server_id":32,"link":"photo_2501889.html","width":130,"caption":"Shoreline, Refuge Cove","height":163});
															thumbnails[2609660] = clik.newPhoto({"id":2609660,"src":"TP010403web_thumb.jpg","galleries_id":158022,"server_id":32,"link":"photo_2609660.html","width":130,"caption":"Forest Giant, Savage River Basin","height":311});
															thumbnails[2609666] = clik.newPhoto({"id":2609666,"src":"TP010406web_thumb.jpg","galleries_id":158022,"server_id":32,"link":"photo_2609666.html","width":130,"caption":"Temperate Rainforest with emergent Eucalypt, Savage River Basin","height":54});
															thumbnails[2609730] = clik.newPhoto({"id":2609730,"src":"Waterloo_bay_dawn_thumb.jpg","galleries_id":219211,"server_id":32,"link":"photo_2609730.html","width":130,"caption":"Dawn light on granite shoreline, Little Waterloo Bay","height":54});
															thumbnails[2609780] = clik.newPhoto({"id":2609780,"src":"Waterfall_taggerty_river_1_thumb.jpg","galleries_id":180812,"server_id":32,"link":"photo_2609780.html","width":130,"caption":"Waterfall, Taggerty River","height":104});
															thumbnails[2609841] = clik.newPhoto({"id":2609841,"src":"Waterfall_taggerty_river_2_thumb.jpg","galleries_id":180812,"server_id":32,"link":"photo_2609841.html","width":130,"caption":"Waterfall, Taggerty River","height":103});
															thumbnails[2609893] = clik.newPhoto({"id":2609893,"src":"Little_waterloo_bay2_thumb.jpg","galleries_id":219211,"server_id":32,"link":"photo_2609893.html","width":130,"caption":"Little Waterloo Bay","height":54});
															thumbnails[2613694] = clik.newPhoto({"id":2613694,"src":"WhiskyBay_prom_boulders_2_thumb.jpg","galleries_id":219211,"server_id":32,"link":"photo_2613694.html","width":130,"caption":"Granite Boulders, Whisky Bay","height":162});
															thumbnails[3587637] = clik.newPhoto({"id":3587637,"src":"Xantheria_prom1_thumb.jpg","galleries_id":219211,"server_id":32,"link":"photo_3587637.html","width":130,"caption":"Regenerating vegetation near Mussolini Rocks","height":163});
															thumbnails[5270511] = clik.newPhoto({"id":5270511,"src":"watrelooview_thumb.jpg","galleries_id":219211,"server_id":32,"link":"photo_5270511.html","width":130,"caption":"Waterloo Bay","height":54});
															thumbnails[5608435] = clik.newPhoto({"id":5608435,"src":"The-Fortress-800_thumb.jpg","galleries_id":159052,"server_id":32,"link":"photo_5608435.html","width":130,"caption":"The Fortress","height":104});
															thumbnails[5608437] = clik.newPhoto({"id":5608437,"src":"Victoria-Range-Dawn-800_thumb.jpg","galleries_id":159052,"server_id":32,"link":"photo_5608437.html","width":130,"caption":"Dawn, Victoria Range","height":104});
															thumbnails[5731349] = clik.newPhoto({"id":5731349,"src":"Reflection_Victoria_Range_thumb.jpg","galleries_id":159052,"server_id":32,"link":"photo_5731349.html","width":130,"caption":"Reflection, Victoria Range","height":165});
															thumbnails[5731354] = clik.newPhoto({"id":5731354,"src":"Millenium_Cave_Victoria_Range_thumb.jpg","galleries_id":159052,"server_id":32,"link":"photo_5731354.html","width":130,"caption":"Cave detail","height":164});
															thumbnails[7241536] = clik.newPhoto({"id":7241536,"src":"CrystalBrookFalls_MtBuffalo_thumb.jpg","galleries_id":165308,"server_id":32,"link":"photo_7241536.html","width":130,"caption":"Crystal Brook Falls","height":163});
															thumbnails[7241537] = clik.newPhoto({"id":7241537,"src":"Detail_CrystalBrookFalls_MtBuffalo_thumb.jpg","galleries_id":165308,"server_id":32,"link":"photo_7241537.html","width":130,"caption":"Crystal Brook Falls","height":164});
															thumbnails[7241538] = clik.newPhoto({"id":7241538,"src":"Stormfront_above_TheHorn_MtBuffalo_Victoria_Australia_thumb.jpg","galleries_id":165308,"server_id":32,"link":"photo_7241538.html","width":130,"caption":"Storm approaching The Horn","height":163});
															thumbnails[7241539] = clik.newPhoto({"id":7241539,"src":"First_light_The_Cathedral_Mount_Buffalo_Mount_Buffalo_NationalPark_thumb.jpg","galleries_id":165308,"server_id":32,"link":"photo_7241539.html","width":127,"caption":"First Light, The Cathedral","height":160});
															thumbnails[7241540] = clik.newPhoto({"id":7241540,"src":"Predawn_The_cathedral_MountBuffalo_MountBufaloNationalPark_thumb.jpg","galleries_id":165308,"server_id":32,"link":"photo_7241540.html","width":130,"caption":"","height":162});
															thumbnails[7241551] = clik.newPhoto({"id":7241551,"src":"VLF_12_09_14_WM_thumb.jpg","galleries_id":391379,"server_id":32,"link":"photo_7241551.html","width":199,"caption":"Parker River","height":250});
															thumbnails[8084215] = clik.newPhoto({"id":8084215,"src":"Forest-floor-Urewera-800_thumb.jpg","galleries_id":432906,"server_id":32,"link":"photo_8084215.html","width":130,"caption":"Forest floor, Te Urewera","height":105});
															thumbnails[8400369] = clik.newPhoto({"id":8400369,"src":"Dawn_Jawbone_Conservation_Reserve_800_thumb.jpg","galleries_id":270880,"server_id":32,"link":"photo_8400369.html","width":125,"caption":"Dawn, Jawbone Conservation Reserve","height":160});
															thumbnails[8454335] = clik.newPhoto({"id":8454335,"src":"Eaglesnest_WM_800_thumb.jpg","galleries_id":447439,"server_id":32,"link":"photo_8454335.html","width":128,"caption":"The Eagles Nest","height":160});
															thumbnails[8768479] = clik.newPhoto({"id":8768479,"src":"Lichen_Te_Urewera_thumb.jpg","galleries_id":432906,"server_id":32,"link":"photo_8768479.html","width":130,"caption":"Lichen Te Urewera","height":160});
															thumbnails[8768481] = clik.newPhoto({"id":8768481,"src":"Beech_Forest_Te_Urewera_thumb.jpg","galleries_id":432906,"server_id":32,"link":"photo_8768481.html","width":131,"caption":"Beech Forest, Te Urewera","height":160});
															thumbnails[2446313] = clik.newPhoto({"id":2446313,"src":"Pre_dawn_Sleepy_Bay_thumb.jpg","galleries_id":158021,"server_id":32,"link":"photo_2446313.html","width":200,"caption":"Dawn, Sleepy Bay","height":250});
															thumbnails[2446331] = clik.newPhoto({"id":2446331,"src":"The_Fortress_Grampians1_thumb.jpg","galleries_id":159052,"server_id":32,"link":"photo_2446331.html","width":130,"caption":"The Fortress, Victoria Range","height":163});
															thumbnails[2448184] = clik.newPhoto({"id":2448184,"src":"Geryon_acropolis_thumb.jpg","galleries_id":158020,"server_id":32,"link":"photo_2448184.html","width":130,"caption":"Mt Geryon and The Acropolis","height":54});
															thumbnails[2919022] = clik.newPhoto({"id":2919022,"src":"Cape_Conran_thumb.jpg","galleries_id":447439,"server_id":32,"link":"photo_2919022.html","width":130,"caption":"Dawn, Sailors Grave, Cape Conran","height":104});
															thumbnails[2919023] = clik.newPhoto({"id":2919023,"src":"Albert_river_lamington_thumb.jpg","galleries_id":180639,"server_id":32,"link":"photo_2919023.html","width":130,"caption":"Albert River, below Red Rock Cutting","height":166});
															thumbnails[4438244] = clik.newPhoto({"id":4438244,"src":"Wilkin_river_mt_jumbo_thumb.jpg","galleries_id":432908,"server_id":32,"link":"photo_4438244.html","width":130,"caption":"Wilkin River and Mt Jumbo","height":160});
															thumbnails[4699457] = clik.newPhoto({"id":4699457,"src":"Kinabalu_ugly_sisters_peak_thumb.jpg","galleries_id":270287,"server_id":32,"link":"photo_4699457.html","width":130,"caption":"Ugly Sisters Peak, Kinabalu","height":162});
															thumbnails[4908974] = clik.newPhoto({"id":4908974,"src":"Errinundra_sunburst_thumb.jpg","galleries_id":447436,"server_id":32,"link":"photo_4908974.html","width":199,"caption":"Sunburst in Shining Gum Forest","height":250});
															thumbnails[5608431] = clik.newPhoto({"id":5608431,"src":"Anglesea-sunburst-800_thumb.jpg","galleries_id":159058,"server_id":32,"link":"photo_5608431.html","width":130,"caption":"Sunburst over Lorne","height":164});
															thumbnails[8092527] = clik.newPhoto({"id":8092527,"src":"Richeas_in_morning_mist_Mt_Anne_thumb.jpg","galleries_id":409462,"server_id":32,"link":"photo_8092527.html","width":204,"caption":"Richeas in mist","height":250});
															thumbnails[8400334] = clik.newPhoto({"id":8400334,"src":"Dawn-Cobberas-1_800_thumb.jpg","galleries_id":159051,"server_id":32,"link":"photo_8400334.html","width":126,"caption":"Dawn, Cobberas 1","height":160});
															thumbnails[8084221] = clik.newPhoto({"id":8084221,"src":"Clearing_Mist_Mount_Anne_wm_thumb.jpg","galleries_id":409462,"server_id":32,"link":"photo_8084221.html","width":204,"caption":"Gather mist, Mt Anne","height":250});
															thumbnails[2446042] = clik.newPhoto({"id":2446042,"src":"Grey_gacier_Torres_del_paine_thumb.jpg","galleries_id":157253,"server_id":32,"link":"photo_2446042.html","width":130,"caption":"Glacier Grey and Lago Grey with South Patagonian Ice Cap in the background","height":104});
															thumbnails[2446275] = clik.newPhoto({"id":2446275,"src":"Mt_anne_cushion_plants_B1E79E75-1EC9-D45B-1C88E8829A875B99_thumb.jpg","galleries_id":409462,"server_id":32,"link":"photo_2446275.html","width":178,"caption":"Cushion plants, Mt Anne","height":250});
															thumbnails[2446312] = clik.newPhoto({"id":2446312,"src":"Dawn_Sleepy_Bay_B3273D7D-1EC9-D45B-1C5EE712F199CD3C_thumb.jpg","galleries_id":158021,"server_id":32,"link":"photo_2446312.html","width":199,"caption":"Dawn sun on the Hazards, Sleepy Bay","height":250});
															thumbnails[2501828] = clik.newPhoto({"id":2501828,"src":"MtThackeray_storm_thumb.jpg","galleries_id":159052,"server_id":32,"link":"photo_2501828.html","width":130,"caption":"Storm front approaching Mt Thackeray, Victoria Range","height":104});
															thumbnails[2506959] = clik.newPhoto({"id":2506959,"src":"Lake_Elysia_thumb.jpg","galleries_id":158020,"server_id":32,"link":"photo_2506959.html","width":130,"caption":"Tarns around shore of Lake Elysia","height":104});
															thumbnails[2596714] = clik.newPhoto({"id":2596714,"src":"Winter_dawn_The_Cathedral_thumb.jpg","galleries_id":165308,"server_id":32,"link":"photo_2596714.html","width":127,"caption":"Winter Dawn, The Cathedral","height":160});
															thumbnails[2919018] = clik.newPhoto({"id":2919018,"src":"Bastion_point_thumb.jpg","galleries_id":447439,"server_id":32,"link":"photo_2919018.html","width":130,"caption":"Dawn, Bastion Point","height":105});
															thumbnails[2919046] = clik.newPhoto({"id":2919046,"src":"black_canyon_lamington_thumb.jpg","galleries_id":180639,"server_id":32,"link":"photo_2919046.html","width":130,"caption":"Black Canyon, Albert River","height":166});
															thumbnails[4438240] = clik.newPhoto({"id":4438240,"src":"Forest_wilkin_river_thumb.jpg","galleries_id":432908,"server_id":32,"link":"photo_4438240.html","width":130,"caption":"Beech Forest, Wilkin River","height":161});
															thumbnails[4699456] = clik.newPhoto({"id":4699456,"src":"Kinabalu_south_peak_thumb.jpg","galleries_id":270287,"server_id":32,"link":"photo_4699456.html","width":130,"caption":"South Peak, Kinabalu","height":141});
															thumbnails[5716711] = clik.newPhoto({"id":5716711,"src":"Parker_River_Dawn__thumb.jpg","galleries_id":391379,"server_id":32,"link":"photo_5716711.html","width":193,"caption":"Dawn, Parker River","height":250});
															thumbnails[8396952] = clik.newPhoto({"id":8396952,"src":"Morning_light_on_Snow_Gums_Cobberas_800_thumb.jpg","galleries_id":159051,"server_id":32,"link":"photo_8396952.html","width":125,"caption":"Morning light on Snow Gums, Cobberas 1","height":160});
															thumbnails[8400375] = clik.newPhoto({"id":8400375,"src":"Dawn_Jawbone_Conservation_Reserve_8001_thumb.jpg","galleries_id":270880,"server_id":32,"link":"photo_8400375.html","width":130,"caption":"Dawn, Jawbone Conservation Reserve","height":160});
															thumbnails[8878607] = clik.newPhoto({"id":8878607,"src":"Shining_Gum_In_Mist_thumb.jpg","galleries_id":447436,"server_id":32,"link":"photo_8878607.html","width":199,"caption":"Shining Gum In Mist","height":250});
															thumbnails[5679416] = clik.newPhoto({"id":5679416,"src":"ParkRivermouth_Otway_coast_Greatotwaynationalpark_8C61FAE0-24E8-5EC4-4F116C9ED42CE10D_thumb.jpg","galleries_id":391379,"server_id":32,"link":"photo_5679416.html","width":200,"caption":"Dawn, Parker River","height":250});
															thumbnails[2446229] = clik.newPhoto({"id":2446229,"src":"Sleepy_Bay_Dawn1_thumb.jpg","galleries_id":158021,"server_id":32,"link":"photo_2446229.html","width":130,"caption":"Dawn, Sleepy Bay","height":104});
															thumbnails[2446276] = clik.newPhoto({"id":2446276,"src":"Richea_grove_Mt_Anne_thumb.jpg","galleries_id":409462,"server_id":32,"link":"photo_2446276.html","width":200,"caption":"<em>Richea pandanifolia<em\/> grove, Mt Anne","height":250});
															thumbnails[2447678] = clik.newPhoto({"id":2447678,"src":"taipanwall_grampians_5_thumb.jpg","galleries_id":159052,"server_id":32,"link":"photo_2447678.html","width":130,"caption":"Afternoon light strikes Mt Stapylton and the Taipan Wall","height":43});
															thumbnails[2919019] = clik.newPhoto({"id":2919019,"src":"bastion_point_mallacoota_3_thumb.jpg","galleries_id":447439,"server_id":32,"link":"photo_2919019.html","width":130,"caption":"Dawn, Bastion Point and Howe Range","height":103});
															thumbnails[2919068] = clik.newPhoto({"id":2919068,"src":"Upper_toloona_creek_lamington_thumb.jpg","galleries_id":180639,"server_id":32,"link":"photo_2919068.html","width":130,"caption":"Cascades, Upper Toolona Creek","height":166});
															thumbnails[4201969] = clik.newPhoto({"id":4201969,"src":"Lake-Elysia-fagus_thumb.jpg","galleries_id":158020,"server_id":32,"link":"photo_4201969.html","width":130,"caption":"Lake Elysia","height":104});
															thumbnails[4438237] = clik.newPhoto({"id":4438237,"src":"VLF_12_08_03_WM_thumb.jpg","galleries_id":391379,"server_id":32,"link":"photo_4438237.html","width":202,"caption":"Cliff Detail","height":250});
															thumbnails[4619082] = clik.newPhoto({"id":4619082,"src":"Evening_cloud_feathertop_thumb.jpg","galleries_id":159051,"server_id":32,"link":"photo_4619082.html","width":130,"caption":"Evening cloud, Mt Feathertop","height":106});
															thumbnails[4699455] = clik.newPhoto({"id":4699455,"src":"Kinabalu_pitcher_plant_thumb.jpg","galleries_id":270287,"server_id":32,"link":"photo_4699455.html","width":130,"caption":"Pitcher plant, Mount Kinabalu","height":159});
															thumbnails[5270505] = clik.newPhoto({"id":5270505,"src":"Mt_Twilight_Wilkin_Valley_Aspiring_National_Park_New_Zealand_thumb.jpg","galleries_id":432908,"server_id":32,"link":"photo_5270505.html","width":250,"caption":"Mt Twilight","height":207});
															thumbnails[8400377] = clik.newPhoto({"id":8400377,"src":"Early_Morning_sky_Jawbone_Conservation_Reserve_800_thumb.jpg","galleries_id":270880,"server_id":32,"link":"photo_8400377.html","width":129,"caption":"Morning sky, Jawbone Conservation Reserve","height":160});
															thumbnails[8878599] = clik.newPhoto({"id":8878599,"src":"Evening_light_Shining_Gum_forest_Errinundra_Plateau_thumb.jpg","galleries_id":447436,"server_id":32,"link":"photo_8878599.html","width":197,"caption":"Evening light, Shining Gum forest","height":250});
															thumbnails[2446050] = clik.newPhoto({"id":2446050,"src":"Lenga_nothofagus_waterfall_Rio_Olguin_thumb.jpg","galleries_id":157253,"server_id":32,"link":"photo_2446050.html","width":130,"caption":"Lenga (<em>Nothofagus antaractica<em\/>) forest in autumn colour and waterfall on Rio Olguin","height":163});
															thumbnails[2446297] = clik.newPhoto({"id":2446297,"src":"Cushion_plant_Mt_Rufus_thumb.jpg","galleries_id":158020,"server_id":32,"link":"photo_2446297.html","width":130,"caption":"Cushion Plants and Pineapple Grass below the summit of Mt Rufus","height":104});
															thumbnails[2446314] = clik.newPhoto({"id":2446314,"src":"Sleepy_Bay_Granite_thumb.jpg","galleries_id":158021,"server_id":32,"link":"photo_2446314.html","width":130,"caption":"Wave sculptured shoreline , Sleepy Bay","height":104});
															thumbnails[2609856] = clik.newPhoto({"id":2609856,"src":"taipanwall_grampians_6_thumb.jpg","galleries_id":159052,"server_id":32,"link":"photo_2609856.html","width":130,"caption":"Taipan Wall and Mt Stapylton","height":44});
															thumbnails[2609886] = clik.newPhoto({"id":2609886,"src":"Gibson_Steps_thumb.jpg","galleries_id":391381,"server_id":32,"link":"photo_2609886.html","width":130,"caption":"Two Apostles, Gibson's Beach","height":54});
															thumbnails[2919081] = clik.newPhoto({"id":2919081,"src":"bastion_point_mallacoota_21_thumb.jpg","galleries_id":447439,"server_id":32,"link":"photo_2919081.html","width":130,"caption":"Sunrise, Bastion Point and Howe Range","height":102});
															thumbnails[4699454] = clik.newPhoto({"id":4699454,"src":"Fern_Kinabalu_thumb.jpg","galleries_id":270287,"server_id":32,"link":"photo_4699454.html","width":130,"caption":"Blechnum Fern, Kinabalu","height":107});
															thumbnails[5251693] = clik.newPhoto({"id":5251693,"src":"Northwilkinvalley_thumb.jpg","galleries_id":432908,"server_id":32,"link":"photo_5251693.html","width":130,"caption":"North Wilkin Valley","height":104});
															thumbnails[8400353] = clik.newPhoto({"id":8400353,"src":"Dead_Snow_Gum_Cobberas_8001_thumb.jpg","galleries_id":159051,"server_id":32,"link":"photo_8400353.html","width":128,"caption":"Snow Gum skeleton, Cobberas","height":160});
															thumbnails[8400371] = clik.newPhoto({"id":8400371,"src":"Morning_sky_Jawbone_Conservation_Reserve_800_thumb.jpg","galleries_id":270880,"server_id":32,"link":"photo_8400371.html","width":127,"caption":"Morning sky, Jawbone Conservation Reserve","height":160});
															thumbnails[8878677] = clik.newPhoto({"id":8878677,"src":"Mixed_Forest__Errinundra_Plateau_thumb.jpg","galleries_id":447436,"server_id":32,"link":"photo_8878677.html","width":250,"caption":"Mixed forest, Cobb Hill","height":200});
															thumbnails[2446296] = clik.newPhoto({"id":2446296,"src":"Mt_Rufus_Mt_Hugel_thumb.jpg","galleries_id":158020,"server_id":32,"link":"photo_2446296.html","width":130,"caption":"View toward Mt Hugel from Mt Rufus","height":104});
															thumbnails[2446326] = clik.newPhoto({"id":2446326,"src":"Razorback_snow_sculpted_thumb.jpg","galleries_id":159051,"server_id":32,"link":"photo_2446326.html","width":130,"caption":"Wind sculpted snow drifts on the Razorback","height":104});
															thumbnails[2448189] = clik.newPhoto({"id":2448189,"src":"Twelve_Apostles_Sunset_thumb.jpg","galleries_id":391381,"server_id":32,"link":"photo_2448189.html","width":130,"caption":"Sunset, Gibson's Beach","height":54});
															thumbnails[2609870] = clik.newPhoto({"id":2609870,"src":"cloud_flat_rock_grampians_thumb.jpg","galleries_id":159052,"server_id":32,"link":"photo_2609870.html","width":130,"caption":"Afternoon Cloud over Flat Rock","height":44});
															thumbnails[2919044] = clik.newPhoto({"id":2919044,"src":"Antartic_beech_lamington_thumb.jpg","galleries_id":180639,"server_id":32,"link":"photo_2919044.html","width":130,"caption":"Antarctic Beech ","height":165});
															thumbnails[4619086] = clik.newPhoto({"id":4619086,"src":"Wilkin_river_Mt_Pollux_thumb.jpg","galleries_id":432908,"server_id":32,"link":"photo_4619086.html","width":130,"caption":"Wilkin River and Mt Pollux","height":160});
															thumbnails[4711706] = clik.newPhoto({"id":4711706,"src":"Bastion_point_sandpatch_point_thumb.jpg","galleries_id":447439,"server_id":32,"link":"photo_4711706.html","width":130,"caption":"Sunset, Bastion Point","height":161});
															thumbnails[8768706] = clik.newPhoto({"id":8768706,"src":"Cushion_plant_King_William_Range_thumb.jpg","galleries_id":409462,"server_id":32,"link":"photo_8768706.html","width":204,"caption":"Ice and Cushion Plant","height":250});
															thumbnails[8883272] = clik.newPhoto({"id":8883272,"src":"Forest_giants_Brown_Mountain_thumb.jpg","galleries_id":447436,"server_id":32,"link":"photo_8883272.html","width":250,"caption":"Forest Giants, Brown Mountain","height":198});
															thumbnails[8883463] = clik.newPhoto({"id":8883463,"src":"Valley_of_the_Giants_thumb.jpg","galleries_id":447436,"server_id":32,"link":"photo_8883463.html","width":250,"caption":"Valley of the Giants","height":126});
															thumbnails[2446327] = clik.newPhoto({"id":2446327,"src":"Featherop_rime_snowgums_thumb.jpg","galleries_id":159051,"server_id":32,"link":"photo_2446327.html","width":130,"caption":"Rime covered Snow Gums, The Razorback","height":104});
															thumbnails[2442945] = clik.newPhoto({"id":2442945,"src":"TwelveApostles_Gibsonsbeach_sunset_thumb.jpg","galleries_id":391381,"server_id":32,"link":"photo_2442945.html","width":130,"caption":"The Apostle, Sunset","height":163});
															thumbnails[2446058] = clik.newPhoto({"id":2446058,"src":"Cerro_paine_grande_thumb.jpg","galleries_id":157253,"server_id":32,"link":"photo_2446058.html","width":130,"caption":"East face of Cerro Paine Grande towers above the French Valley ","height":163});
															thumbnails[2446295] = clik.newPhoto({"id":2446295,"src":"Rufus_Mt_King_William_thumb.jpg","galleries_id":158020,"server_id":32,"link":"photo_2446295.html","width":130,"caption":"Sunset on the summit of Mt Rufus looking toward the King William Range","height":104});
															thumbnails[2446299] = clik.newPhoto({"id":2446299,"src":"Mt_Amos_thumb.jpg","galleries_id":158021,"server_id":32,"link":"photo_2446299.html","width":130,"caption":"Afternoon sun lights ","height":103});
															thumbnails[2609863] = clik.newPhoto({"id":2609863,"src":"sculpted_sandstone_hollow_mountain_thumb.jpg","galleries_id":159052,"server_id":32,"link":"photo_2609863.html","width":130,"caption":"Wind Sculptured Sandstone, Hollow Mountain","height":44});
															thumbnails[2919021] = clik.newPhoto({"id":2919021,"src":"betka_beach_mallacoota_1_thumb.jpg","galleries_id":447439,"server_id":32,"link":"photo_2919021.html","width":130,"caption":"Dawn, Betka Beach","height":102});
															thumbnails[2919067] = clik.newPhoto({"id":2919067,"src":"Booyang_butress_lamington_thumb.jpg","galleries_id":180639,"server_id":32,"link":"photo_2919067.html","width":130,"caption":"Buttress Root detail of Booyang Tree","height":166});
															thumbnails[8768622] = clik.newPhoto({"id":8768622,"src":"Slaters_Peak_at_dusk_1000_thumb.jpg","galleries_id":409462,"server_id":32,"link":"photo_8768622.html","width":203,"caption":"Alpenglow, Slater's Peak","height":250});
															thumbnails[8883263] = clik.newPhoto({"id":8883263,"src":"Valley_of_the_Giants_1000_thumb.jpg","galleries_id":447436,"server_id":32,"link":"photo_8883263.html","width":198,"caption":"Valley of the Giants","height":250});
															thumbnails[2446289] = clik.newPhoto({"id":2446289,"src":"Fagus_thumb.jpg","galleries_id":158020,"server_id":32,"link":"photo_2446289.html","width":130,"caption":"Detail of Deciduous Beech (<em>Nothofagus gunnii<em\/>), on the flanks of Mt Olympus","height":163});
															thumbnails[2446316] = clik.newPhoto({"id":2446316,"src":"Bluestone_Bay_Freycinet_thumb.jpg","galleries_id":158021,"server_id":32,"link":"photo_2446316.html","width":250,"caption":"Bluestone Bay","height":200});
															thumbnails[2501771] = clik.newPhoto({"id":2501771,"src":"Lenga_Los_Cuernos_Del_Paine_thumb.jpg","galleries_id":157253,"server_id":32,"link":"photo_2501771.html","width":130,"caption":"Lenga (<em>Nothofagus antarctica<em\/>) forest below Los Cuernos Del Paine, French Valley","height":163});
															thumbnails[2919057] = clik.newPhoto({"id":2919057,"src":"Booyang_strangler_fig_lamington_thumb.jpg","galleries_id":180639,"server_id":32,"link":"photo_2919057.html","width":130,"caption":"Booyang and Strangler Fig","height":167});
															thumbnails[4268395] = clik.newPhoto({"id":4268395,"src":"Snow_gums_razorback_thumb.jpg","galleries_id":159051,"server_id":32,"link":"photo_4268395.html","width":130,"caption":"Snow Gums, The Razorback","height":164});
															thumbnails[4438243] = clik.newPhoto({"id":4438243,"src":"Fungi_Wilkin_Valley_thumb.jpg","galleries_id":432908,"server_id":32,"link":"photo_4438243.html","width":130,"caption":"Fungi, Wilkin Valley","height":104});
															thumbnails[4711618] = clik.newPhoto({"id":4711618,"src":"Gabo_Island_lighthouse_thumb.jpg","galleries_id":447439,"server_id":32,"link":"photo_4711618.html","width":130,"caption":"Gabo Island Lighthouse","height":159});
															thumbnails[5679487] = clik.newPhoto({"id":5679487,"src":"Twelve-Apostles_thumb.jpg","galleries_id":391381,"server_id":32,"link":"photo_5679487.html","width":130,"caption":"Twelve Apostles","height":163});
															thumbnails[8092526] = clik.newPhoto({"id":8092526,"src":"Dawn_King_William_Range_1000_thumb.jpg","galleries_id":409462,"server_id":32,"link":"photo_8092526.html","width":216,"caption":"Dawn, King William Range","height":250});
															thumbnails[8883325] = clik.newPhoto({"id":8883325,"src":"Fallen_giant_Brown_Mountain_thumb.jpg","galleries_id":447436,"server_id":32,"link":"photo_8883325.html","width":200,"caption":"Fallen giant, Brown Mountain","height":250});
															thumbnails[2501795] = clik.newPhoto({"id":2501795,"src":"Sunset_Los_Cuernos_thumb.jpg","galleries_id":157253,"server_id":32,"link":"photo_2501795.html","width":130,"caption":"Sunset from Los Cuernos campsite","height":103});
															thumbnails[2501807] = clik.newPhoto({"id":2501807,"src":"Los_Cuernos_Lenga_thumb.jpg","galleries_id":157253,"server_id":32,"link":"photo_2501807.html","width":130,"caption":"Lenga (<em>Nothofagus antarctica<em\/>) trees below Los Cuernos Del Paine","height":164});
															thumbnails[2446033] = clik.newPhoto({"id":2446033,"src":"Lenga_torres_del_paine_thumb.jpg","galleries_id":157253,"server_id":32,"link":"photo_2446033.html","width":130,"caption":"Lenga (<em>Nothofagus antarticia<em\/>) in the boulder field below Los Torres del Paine","height":163});
															thumbnails[2446290] = clik.newPhoto({"id":2446290,"src":"Fungi_Mt_Olympus_thumb.jpg","galleries_id":158020,"server_id":32,"link":"photo_2446290.html","width":130,"caption":"Detail of fungi and moss on the flanks of Mt Olympus","height":103});
															thumbnails[2446298] = clik.newPhoto({"id":2446298,"src":"Dolerite_Hartz_Peak_thumb.jpg","galleries_id":409462,"server_id":32,"link":"photo_2446298.html","width":250,"caption":"Dolerite pillars below Hartz Peak","height":200});
															thumbnails[2446318] = clik.newPhoto({"id":2446318,"src":"Bluestone_Bay_C6471E1C-24E8-5EC4-4FA6929EC87974B3_thumb.jpg","galleries_id":158021,"server_id":32,"link":"photo_2446318.html","width":130,"caption":"Lichen covered boulders on the shore of Bluestone Bay","height":162});
															thumbnails[2507053] = clik.newPhoto({"id":2507053,"src":"Lake_harris_north_routeburn_NZP040610_thumb.jpg","galleries_id":432908,"server_id":32,"link":"photo_2507053.html","width":130,"caption":"View of Lake Harris and Harris Basin from Conical Hill, Routeburn Track","height":55});
															thumbnails[2609940] = clik.newPhoto({"id":2609940,"src":"Snow_gums_rime_feathertop_thumb.jpg","galleries_id":159051,"server_id":32,"link":"photo_2609940.html","width":130,"caption":"Rime covered Snow Gums on the Razorback","height":103});
															thumbnails[4711622] = clik.newPhoto({"id":4711622,"src":"Howe_range_gabo_island_thumb.jpg","galleries_id":447439,"server_id":32,"link":"photo_4711622.html","width":130,"caption":"Howe Range, Gabo Island","height":160});
															thumbnails[4711960] = clik.newPhoto({"id":4711960,"src":"Sunset_jawbone_reserve_thumb.jpg","galleries_id":270880,"server_id":32,"link":"photo_4711960.html","width":130,"caption":"Sunset, Jawbone Reserve","height":161});
															thumbnails[5080513] = clik.newPhoto({"id":5080513,"src":"Brush_box_thumb.jpg","galleries_id":180639,"server_id":32,"link":"photo_5080513.html","width":130,"caption":"Brush Box","height":161});
															thumbnails[8883329] = clik.newPhoto({"id":8883329,"src":"Fallen_bark_Tea_Tree_Flat_thumb.jpg","galleries_id":447436,"server_id":32,"link":"photo_8883329.html","width":197,"caption":"Fallen bark, Tea Tree Flat","height":250});
															thumbnails[2501799] = clik.newPhoto({"id":2501799,"src":"Fitzroy_Cerro_Torre_thumb.jpg","galleries_id":157253,"server_id":32,"link":"photo_2501799.html","width":130,"caption":"Lenga (<em>Nothofagus antarctica<em\/>) trees in autumn colour with Cerro Torre and Cerro Fitzroy in background","height":164});
															thumbnails[8883421] = clik.newPhoto({"id":8883421,"src":"First_Creek_Errinundra_Plateau_thumb.jpg","galleries_id":447436,"server_id":32,"link":"photo_8883421.html","width":250,"caption":"First Creek","height":197});
															thumbnails[2446219] = clik.newPhoto({"id":2446219,"src":"Darran_Mountains_thumb.jpg","galleries_id":432908,"server_id":32,"link":"photo_2446219.html","width":130,"caption":"Darran Mountains and Hollyford Valley viewed from Conical Hill","height":55});
															thumbnails[2446292] = clik.newPhoto({"id":2446292,"src":"Fungi_Pine_Valley_thumb.jpg","galleries_id":158020,"server_id":32,"link":"photo_2446292.html","width":130,"caption":"Detail of fungi, Pine Valley","height":103});
															thumbnails[2446317] = clik.newPhoto({"id":2446317,"src":"Bluestone_Bay_C63B0C44-24E8-5EC4-4FD8948E5D69627C_thumb.jpg","galleries_id":158021,"server_id":32,"link":"photo_2446317.html","width":130,"caption":"Morning cloud over Bluestone Bay","height":164});
															thumbnails[2446322] = clik.newPhoto({"id":2446322,"src":"The_crags_sunset_thumb.jpg","galleries_id":159058,"server_id":32,"link":"photo_2446322.html","width":130,"caption":"The Crags at sunset","height":163});
															thumbnails[2447683] = clik.newPhoto({"id":2447683,"src":"Lake_Oberon_Western_Arthurs_WM_thumb.jpg","galleries_id":409462,"server_id":32,"link":"photo_2447683.html","width":130,"caption":"Lake Oberon, Western Arthur Range","height":54});
															thumbnails[2501769] = clik.newPhoto({"id":2501769,"src":"Rio_Fitzroy_thumb.jpg","galleries_id":157253,"server_id":32,"link":"photo_2501769.html","width":130,"caption":"Cerro Solo and the Rio Fitzroy","height":104});
															thumbnails[2609952] = clik.newPhoto({"id":2609952,"src":"Mount_Buffalo_from_Little_Feathertop_thumb.jpg","galleries_id":159051,"server_id":32,"link":"photo_2609952.html","width":160,"caption":"Mt Buffalo and the Ovens Valley from Little Mt Feathertop","height":60});
															thumbnails[4270299] = clik.newPhoto({"id":4270299,"src":"CapeHowe_HoneymoonBay_thumb.jpg","galleries_id":447439,"server_id":32,"link":"photo_4270299.html","width":130,"caption":"Granite shore, Honeymoon Bay ","height":103});
															thumbnails[4342846] = clik.newPhoto({"id":4342846,"src":"Jawbone-Reserve_thumb.jpg","galleries_id":270880,"server_id":32,"link":"photo_4342846.html","width":128,"caption":"Evening, Jawbone Reserve","height":160});
															thumbnails[4908977] = clik.newPhoto({"id":4908977,"src":"Errinundra_ferns_8B5A247D-24E8-5EC4-4F0A8823AC49365E_thumb.jpg","galleries_id":447436,"server_id":32,"link":"photo_4908977.html","width":202,"caption":"Fern Glade","height":250});
															thumbnails[5080508] = clik.newPhoto({"id":5080508,"src":"Box_log_falls_thumb.jpg","galleries_id":180639,"server_id":32,"link":"photo_5080508.html","width":130,"caption":"Box Log Falls","height":162});
															thumbnails[8883183] = clik.newPhoto({"id":8883183,"src":"_Cushion_Plant_detail_Mt_Anne_thumb.jpg","galleries_id":409462,"server_id":32,"link":"photo_8883183.html","width":250,"caption":"Cushion plant detail","height":202});
															thumbnails[2501786] = clik.newPhoto({"id":2501786,"src":"Rio_Fitzroy_BD07D748-1EC9-D45B-1C6FE23EE20A5075_thumb.jpg","galleries_id":157253,"server_id":32,"link":"photo_2501786.html","width":130,"caption":"Autumn Snow covering Lenga (<em>Nothofagus antarctica<em\/>)forest with Rio Fitzroy and Cerro Solo background","height":163});
															thumbnails[2446223] = clik.newPhoto({"id":2446223,"src":"Lake_mackenzie_NZP2_thumb.jpg","galleries_id":432908,"server_id":32,"link":"photo_2446223.html","width":130,"caption":"Lake Mackenzie, Routeburn Track ","height":54});
															thumbnails[2446293] = clik.newPhoto({"id":2446293,"src":"Cephissus_Creek_thumb.jpg","galleries_id":158020,"server_id":32,"link":"photo_2446293.html","width":130,"caption":"Waterfall on Cephissus Creek, Pine Valley","height":163});
															thumbnails[2446596] = clik.newPhoto({"id":2446596,"src":"Cerro_torre_laguna_torre_800_thumb.jpg","galleries_id":157253,"server_id":32,"link":"photo_2446596.html","width":130,"caption":"Cerro Torre towers above Laguna Torre","height":163});
															thumbnails[2596603] = clik.newPhoto({"id":2596603,"src":"Feathertop_cornice_thumb.jpg","galleries_id":159051,"server_id":32,"link":"photo_2596603.html","width":130,"caption":"Summit Corince, Mt Feathertop","height":162});
															thumbnails[2609968] = clik.newPhoto({"id":2609968,"src":"Mt_Pegasus_Western_Arthurs_thumb.jpg","galleries_id":409462,"server_id":32,"link":"photo_2609968.html","width":130,"caption":"View from Mt Pegasus, Western Arthur Range","height":54});
															thumbnails[4270301] = clik.newPhoto({"id":4270301,"src":"Cape_Howe_Honeymoon_bay_thumb.jpg","galleries_id":447439,"server_id":32,"link":"photo_4270301.html","width":130,"caption":"Evening, Honeymoon Bay","height":104});
															thumbnails[5696381] = clik.newPhoto({"id":5696381,"src":"Cape_Nelson_lighthouse_thumb.jpg","galleries_id":159058,"server_id":32,"link":"photo_5696381.html","width":130,"caption":"Lighthouse, Cape Nelson","height":163});
															thumbnails[2610024] = clik.newPhoto({"id":2610024,"src":"TP030511web_thumb.jpg","galleries_id":409462,"server_id":32,"link":"photo_2610024.html","width":130,"caption":"View from Mt Hesperus, Western Arthur Range","height":54});
															thumbnails[4201933] = clik.newPhoto({"id":4201933,"src":"Cephissus_Creek1_thumb.jpg","galleries_id":158020,"server_id":32,"link":"photo_4201933.html","width":130,"caption":"Cephisus Creek, Pine Valley","height":104});
															thumbnails[4267819] = clik.newPhoto({"id":4267819,"src":"Routeburn_creek_NZP040618_thumb.jpg","galleries_id":432908,"server_id":32,"link":"photo_4267819.html","width":130,"caption":"Creek, Routeburn Track","height":56});
															thumbnails[4270282] = clik.newPhoto({"id":4270282,"src":"Dusk_Honeymoon_bay_thumb.jpg","galleries_id":447439,"server_id":32,"link":"photo_4270282.html","width":130,"caption":"Honeymoon Bay at dusk","height":105});
															thumbnails[4342883] = clik.newPhoto({"id":4342883,"src":"Altona_coastal_park_thumb.jpg","galleries_id":270880,"server_id":32,"link":"photo_4342883.html","width":128,"caption":"Pigface, Altona Coastal Park","height":160});
															thumbnails[4619023] = clik.newPhoto({"id":4619023,"src":"Last_light_Razorback_thumb.jpg","galleries_id":159051,"server_id":32,"link":"photo_4619023.html","width":130,"caption":"Sun setting behind Mt Buffalo from The Razorback","height":162});
															thumbnails[8768542] = clik.newPhoto({"id":8768542,"src":"Tukino_and_Te_Hue_Hue_thumb.jpg","galleries_id":432906,"server_id":32,"link":"photo_8768542.html","width":129,"caption":"Tukino & Te Hue Hue","height":160});
															thumbnails[2505902] = clik.newPhoto({"id":2505902,"src":"Thurra_river_dunes1_thumb.jpg","galleries_id":447439,"server_id":32,"link":"photo_2505902.html","width":130,"caption":"Thurra River Dunes","height":158});
															thumbnails[2446599] = clik.newPhoto({"id":2446599,"src":"Valley_rio_fitzroy_thumb.jpg","galleries_id":157253,"server_id":32,"link":"photo_2446599.html","width":130,"caption":"Valley of the Rio Fitzroy with Cerro Solo and Cerro Torre in the background","height":104});
															thumbnails[2506954] = clik.newPhoto({"id":2506954,"src":"Warratah_thumb.jpg","galleries_id":158020,"server_id":32,"link":"photo_2506954.html","width":130,"caption":"Tasmanian Warratah at The Labyrnth","height":104});
															thumbnails[4267817] = clik.newPhoto({"id":4267817,"src":"Caples_river_NZP040619_thumb.jpg","galleries_id":432908,"server_id":32,"link":"photo_4267817.html","width":130,"caption":"Upper Caples River","height":55});
															thumbnails[4268402] = clik.newPhoto({"id":4268402,"src":"Granite_abstract_cape_howe_thumb.jpg","galleries_id":447439,"server_id":32,"link":"photo_4268402.html","width":130,"caption":"Granite detail, Point Hicks","height":164});
															thumbnails[4619026] = clik.newPhoto({"id":4619026,"src":"Evening_Razorback_thumb.jpg","galleries_id":159051,"server_id":32,"link":"photo_4619026.html","width":127,"caption":"Sunset, The Razorback","height":160});
															thumbnails[5270510] = clik.newPhoto({"id":5270510,"src":"Lotswifedawn_thumb.jpg","galleries_id":409462,"server_id":32,"link":"photo_5270510.html","width":130,"caption":"Dawn, Mt Anne","height":52});
															thumbnails[8878600] = clik.newPhoto({"id":8878600,"src":"Gippsland_Waratah_Errinundra_Plateau_thumb.jpg","galleries_id":447436,"server_id":32,"link":"photo_8878600.html","width":250,"caption":"Gippsland Waratah","height":199});
															thumbnails[2501763] = clik.newPhoto({"id":2501763,"src":"South_face_Mt_feathertop_thumb.jpg","galleries_id":159051,"server_id":32,"link":"photo_2501763.html","width":130,"caption":"Mt Feathertop viewed from The Razorback","height":164});
															thumbnails[2506940] = clik.newPhoto({"id":2506940,"src":"Astelia_thumb.jpg","galleries_id":158020,"server_id":32,"link":"photo_2506940.html","width":200,"caption":"<em>Astellia alpina<em\/> and alpine stream, Walled Mountain","height":250});
															thumbnails[2609677] = clik.newPhoto({"id":2609677,"src":"Temperate-forest_Mt-Ann_thumb.jpg","galleries_id":409462,"server_id":32,"link":"photo_2609677.html","width":130,"caption":"Temperate Rainforest, North East Ridge, Mt Anne","height":54});
															thumbnails[4267831] = clik.newPhoto({"id":4267831,"src":"Rees_river_earnslaw_NZP040623_thumb.jpg","galleries_id":432908,"server_id":32,"link":"photo_4267831.html","width":130,"caption":"Rees Valley & Mt Earnslaw","height":55});
															thumbnails[8883184] = clik.newPhoto({"id":8883184,"src":"Sunburst_Lake_Pedder_from_Mt_Anne_thumb.jpg","galleries_id":409462,"server_id":32,"link":"photo_8883184.html","width":250,"caption":"Sunburst over Lake Pedder","height":204});
															thumbnails[2446116] = clik.newPhoto({"id":2446116,"src":"Fitzroy_cerro_chalten_800_thumb.jpg","galleries_id":157253,"server_id":32,"link":"photo_2446116.html","width":130,"caption":"Cerro Fitzroy (Cerro Chalten) and Aguja Poincenot from the valley of the Chorrillo del Salto","height":163});
															thumbnails[2446325] = clik.newPhoto({"id":2446325,"src":"Snow_gums_bogong_thumb.jpg","galleries_id":159051,"server_id":32,"link":"photo_2446325.html","width":130,"caption":"Regenerating Snow Gums, Mt Bogong","height":163});
															thumbnails[2506937] = clik.newPhoto({"id":2506937,"src":"Richea_Labyrnth_thumb.jpg","galleries_id":158020,"server_id":32,"link":"photo_2506937.html","width":130,"caption":"<em>Richea pandanifolia<em\/> and sub alpine woodland, The Labyrnth","height":163});
															thumbnails[2507089] = clik.newPhoto({"id":2507089,"src":"NZP040625_thumb.jpg","galleries_id":432908,"server_id":32,"link":"photo_2507089.html","width":130,"caption":"View from Rees Saddle into Snowy Creek valley, Rees-Dart Track","height":55});
															thumbnails[8878602] = clik.newPhoto({"id":8878602,"src":"Gippsland_Waratah_Errinundra12_thumb.jpg","galleries_id":447436,"server_id":32,"link":"photo_8878602.html","width":250,"caption":"Gippsland Waratah","height":198});
															thumbnails[2446319] = clik.newPhoto({"id":2446319,"src":"Richea_detail_thumb.jpg","galleries_id":158020,"server_id":32,"link":"photo_2446319.html","width":199,"caption":"Detail <em>Richea pandanifolia<em\/> leaves","height":250});
															thumbnails[2501856] = clik.newPhoto({"id":2501856,"src":"Summer_snow_howit_thumb.jpg","galleries_id":159051,"server_id":32,"link":"photo_2501856.html","width":130,"caption":"Summer snow, MacAlister Springs","height":163});
															thumbnails[2507083] = clik.newPhoto({"id":2507083,"src":"NZP040627_thumb.jpg","galleries_id":432908,"server_id":32,"link":"photo_2507083.html","width":130,"caption":"Snowy Creek Valley, Rees-Dart Track","height":55});
															thumbnails[8883187] = clik.newPhoto({"id":8883187,"src":"Front_approaching_Lake_King_William_thumb.jpg","galleries_id":409462,"server_id":32,"link":"photo_8883187.html","width":204,"caption":"Storm front, Lake King William","height":250});
															thumbnails[2446158] = clik.newPhoto({"id":2446158,"src":"Dawn_Fitzroy_thumb.jpg","galleries_id":157253,"server_id":32,"link":"photo_2446158.html","width":130,"caption":"Dawn light strikes the Fitzroy massif ","height":72});
															thumbnails[2507063] = clik.newPhoto({"id":2507063,"src":"Fox_glacier_NZP040634_thumb.jpg","galleries_id":432908,"server_id":32,"link":"photo_2507063.html","width":130,"caption":"Fox\/Te Maeka o Tuawe Glacier","height":56});
															thumbnails[4268400] = clik.newPhoto({"id":4268400,"src":"Lichen_Cape_liptrap_thumb.jpg","galleries_id":447439,"server_id":32,"link":"photo_4268400.html","width":130,"caption":"Lichen detail, Cape Liptrap","height":104});
															thumbnails[4342797] = clik.newPhoto({"id":4342797,"src":"Snowgums_rime_thumb.jpg","galleries_id":159051,"server_id":32,"link":"photo_4342797.html","width":130,"caption":"Rime covered Snow Gums, The Razorback","height":163});
															thumbnails[2507038] = clik.newPhoto({"id":2507038,"src":"Fox_glacier_NZP040636_thumb.jpg","galleries_id":432908,"server_id":32,"link":"photo_2507038.html","width":130,"caption":"Fox\/Te Maeka o Tuawe Glacier","height":54});
															thumbnails[4268397] = clik.newPhoto({"id":4268397,"src":"Rock_lichen_Cape_liptrap_thumb.jpg","galleries_id":447439,"server_id":32,"link":"photo_4268397.html","width":130,"caption":"Detail, Cape Liptrap","height":162});
															thumbnails[2446164] = clik.newPhoto({"id":2446164,"src":"Fitzroy_Dawn_thumb.jpg","galleries_id":157253,"server_id":32,"link":"photo_2446164.html","width":130,"caption":"Dawn Fitzroy Massif","height":56});
															thumbnails[2507031] = clik.newPhoto({"id":2507031,"src":"Fox_glacier_NZP040633_thumb.jpg","galleries_id":432908,"server_id":32,"link":"photo_2507031.html","width":130,"caption":"Fox\/Te Maeka o Tuawe Glacier","height":55});
															thumbnails[8878605] = clik.newPhoto({"id":8878605,"src":"GippslandWarratahGoonmirkRocks_thumb.jpg","galleries_id":447436,"server_id":32,"link":"photo_8878605.html","width":250,"caption":"Gippsland Waratah, Telopea oreades,  near Goonmirk Rocks","height":198});
															thumbnails[8883188] = clik.newPhoto({"id":8883188,"src":"Native_carraway_Mt_Anne_wm_B5F5D6BE-1EC9-D45B-1C4A0B0E38D86BF5_thumb.jpg","galleries_id":409462,"server_id":32,"link":"photo_8883188.html","width":202,"caption":"Native carraway, Mt Anne","height":250});
															thumbnails[2447599] = clik.newPhoto({"id":2447599,"src":"Fox_glacier_thumb.jpg","galleries_id":432908,"server_id":32,"link":"photo_2447599.html","width":130,"caption":"Fox\/Te Maeka o Tuawe Glacier","height":56});
															thumbnails[8878603] = clik.newPhoto({"id":8878603,"src":"GippslandWaratahCoastRange_thumb.jpg","galleries_id":447436,"server_id":32,"link":"photo_8878603.html","width":250,"caption":"Gippsland Waratah, Coast Range","height":199});
															thumbnails[2446169] = clik.newPhoto({"id":2446169,"src":"Fitzroy_frozen_tarn_thumb.jpg","galleries_id":157253,"server_id":32,"link":"photo_2446169.html","width":130,"caption":"Frozen pond and reeds with the Fitzroy massif in the background","height":163});
															thumbnails[2447653] = clik.newPhoto({"id":2447653,"src":"Punakaiki_NZP040638_thumb.jpg","galleries_id":432908,"server_id":32,"link":"photo_2447653.html","width":130,"caption":"Punakaiki Rocks (Pancake Rocks)","height":55});
															thumbnails[8883189] = clik.newPhoto({"id":8883189,"src":"Pandani_grove_Mt_Anne_B5F7A1CB-1EC9-D45B-1C1312514CDCC73B_thumb.jpg","galleries_id":409462,"server_id":32,"link":"photo_8883189.html","width":250,"caption":"Pandani grove, Mt Anne","height":105});
															thumbnails[2447669] = clik.newPhoto({"id":2447669,"src":"Paparoa_river_NZP040644_thumb.jpg","galleries_id":432908,"server_id":32,"link":"photo_2447669.html","width":130,"caption":"Paparoa River flowing through limestone cliffs and subtropical rainforest","height":55});
															thumbnails[2446172] = clik.newPhoto({"id":2446172,"src":"Moreno_glacier_cerro_adreanna_thumb.jpg","galleries_id":157253,"server_id":32,"link":"photo_2446172.html","width":130,"caption":"Perito Moreno Glacier with Cerro Adriana in the background","height":163});
															thumbnails[4267815] = clik.newPhoto({"id":4267815,"src":"Cape_Foulwind_flax_NZP040647a_thumb.jpg","galleries_id":432908,"server_id":32,"link":"photo_4267815.html","width":130,"caption":"Coastal flax, Cape Foulwind","height":80});
															thumbnails[8883181] = clik.newPhoto({"id":8883181,"src":"Rainforest_Stream_3_B16E7B6B-1EC9-D45B-1C7F1F446D29F13B_thumb.jpg","galleries_id":158020,"server_id":32,"link":"photo_8883181.html","width":202,"caption":"Rainforest Stream","height":250});
															thumbnails[8883190] = clik.newPhoto({"id":8883190,"src":"Plant_detail_Mt_Anne_wm_B5FAA0D4-1EC9-D45B-1CAB049320EF7E26_thumb.jpg","galleries_id":409462,"server_id":32,"link":"photo_8883190.html","width":250,"caption":"Plant detail Mt Anne wm","height":204});
															thumbnails[4267814] = clik.newPhoto({"id":4267814,"src":"Cape_Foulwind_NZP040646_thumb.jpg","galleries_id":432908,"server_id":32,"link":"photo_4267814.html","width":130,"caption":"Cape Foulwind","height":270});
															thumbnails[2446175] = clik.newPhoto({"id":2446175,"src":"Rauli_Nothofagus_Roble_thumb.jpg","galleries_id":157253,"server_id":32,"link":"photo_2446175.html","width":130,"caption":"Rauli (<em>Nothofagus procera<em\/>) and Roble (<em>N. obliqua<em\/>) forest in full autumn colour","height":163});
															thumbnails[2447562] = clik.newPhoto({"id":2447562,"src":"Midcaples_gorge_thumb.jpg","galleries_id":432908,"server_id":32,"link":"photo_2447562.html","width":130,"caption":"Gorge, mid Caples River","height":267});
															thumbnails[8883182] = clik.newPhoto({"id":8883182,"src":"Rainforest_stream_B171958C-1EC9-D45B-1C2868800A8D0DCB_thumb.jpg","galleries_id":158020,"server_id":32,"link":"photo_8883182.html","width":250,"caption":"Rainforest stream","height":201});
															thumbnails[2501783] = clik.newPhoto({"id":2501783,"src":"Cerro_Campanario_Nahuel_Haupi12_thumb.jpg","galleries_id":157253,"server_id":32,"link":"photo_2501783.html","width":130,"caption":"View from Cerro Campanario toward Nahuel Haupi National Park","height":103});
															thumbnails[2446178] = clik.newPhoto({"id":2446178,"src":"Laguna_tonchek_cerro_catedral_thumb.jpg","galleries_id":157253,"server_id":32,"link":"photo_2446178.html","width":130,"caption":"Dawn light strikes Cerro Catedral above Laguna Tonchek","height":163});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[432906] = clik.newGallery({"parentGallery":157759,"usePopups":false,"title":"North Island","link":"gallery_432906.html","maxRecords":0.0,"photoIDs":[8084215.0,8768479.0,8768481.0,8768542.0],"skipIndex":0,"section_code":"gallery","featured_images":"8768542,8768481,8768479,8084215","id":432906,"singleSection":false});				  						galleries[432908] = clik.newGallery({"parentGallery":157759,"usePopups":false,"title":"South Island","link":"gallery_432908.html","maxRecords":0.0,"photoIDs":[4438244.0,4438240.0,5270505.0,5251693.0,4619086.0,4438243.0,2507053.0,2446219.0,2446223.0,4267819.0,4267817.0,4267831.0,2507089.0,2507083.0,2507063.0,2507038.0,2507031.0,2447599.0,2447653.0,2447669.0,4267815.0,4267814.0,2447562.0],"skipIndex":0,"section_code":"gallery","featured_images":4438244,"id":432908,"singleSection":false});				  						galleries[409462] = clik.newGallery({"parentGallery":157658,"usePopups":false,"title":"South West Tasmania","link":"gallery_409462.html","maxRecords":0.0,"photoIDs":[8092527.0,8084221.0,2446275.0,2446276.0,8768706.0,8768622.0,8092526.0,2446298.0,2447683.0,8883183.0,2609968.0,2610024.0,5270510.0,2609677.0,8883184.0,8883187.0,8883188.0,8883189.0,8883190.0],"skipIndex":0,"section_code":"gallery","featured_images":"8092527,8092526,8084221","id":409462,"singleSection":false});				  						galleries[270880] = clik.newGallery({"parentGallery":157659,"usePopups":false,"title":"Around Melbourne","link":"gallery_270880.html","maxRecords":0.0,"photoIDs":[8400369.0,8400375.0,8400377.0,8400371.0,4711960.0,4342846.0,4342883.0],"skipIndex":0,"section_code":"gallery","featured_images":8400377,"id":270880,"singleSection":false});				  						galleries[159051] = clik.newGallery({"parentGallery":157659,"usePopups":false,"title":"Alpine National Park","link":"gallery_159051.html","maxRecords":0.0,"photoIDs":[8400334.0,8396952.0,4619082.0,8400353.0,2446326.0,2446327.0,4268395.0,2609940.0,2609952.0,2596603.0,4619023.0,4619026.0,2501763.0,2446325.0,2501856.0,4342797.0],"skipIndex":0,"section_code":"gallery","featured_images":8396952.0,"id":159051,"singleSection":false});				  						galleries[157659] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Victoria","link":"gallery_157659.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"8396952,2446329","id":157659,"singleSection":false});				  						galleries[165308] = clik.newGallery({"parentGallery":157659,"usePopups":false,"title":"Mt Buffalo","link":"gallery_165308.html","maxRecords":0.0,"photoIDs":[2446329.0,2446332.0,7241536.0,7241537.0,7241538.0,7241539.0,7241540.0,2596714.0],"skipIndex":0,"section_code":"gallery","featured_images":2446329,"id":165308,"singleSection":false});				  						galleries[158020] = clik.newGallery({"parentGallery":157658,"usePopups":false,"title":"Cradle Mountain - Lake St Clair","link":"gallery_158020.html","maxRecords":0.0,"photoIDs":[2448184.0,2506959.0,4201969.0,2446297.0,2446296.0,2446295.0,2446289.0,2446290.0,2446292.0,2446293.0,4201933.0,2506954.0,2506940.0,2506937.0,2446319.0,8883181.0,8883182.0],"skipIndex":0,"section_code":"gallery","featured_images":"8883182,8883181,4201969,4201933,2506959,2506954,2506940,2506937,2448184,2446319","id":158020,"singleSection":false});				  						galleries[157658] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Tasmania","link":"gallery_157658.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"8092527,8092526,8084221,2446317,2446313,2446312,2446277","id":157658,"singleSection":false});				  						galleries[447439] = clik.newGallery({"parentGallery":157659,"usePopups":false,"title":"Gippsland Coast","link":"gallery_447439.html","maxRecords":0.0,"photoIDs":[2446334.0,8454335.0,2919022.0,2919018.0,2919019.0,2919081.0,4711706.0,2919021.0,4711618.0,4711622.0,4270299.0,4270301.0,4270282.0,2505902.0,4268402.0,4268400.0,4268397.0],"skipIndex":0,"section_code":"gallery","featured_images":2919018,"id":447439,"singleSection":false});				  						galleries[180639] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Queensland","link":"gallery_180639.html","maxRecords":0.0,"photoIDs":[2919023.0,2919046.0,2919068.0,2919044.0,2919067.0,2919057.0,5080513.0,5080508.0],"skipIndex":0,"section_code":"gallery","featured_images":"5080513,5080508,2919068,2919067,2919057,2919046,2919044,2919023","id":180639,"singleSection":false});				  						galleries[158021] = clik.newGallery({"parentGallery":157658,"usePopups":false,"title":"Freycinet National Park","link":"gallery_158021.html","maxRecords":0.0,"photoIDs":[2446313.0,2446312.0,2446229.0,2446314.0,2446299.0,2446316.0,2446318.0,2446317.0],"skipIndex":0,"section_code":"gallery","featured_images":"2446317,2446313,2446312","id":158021,"singleSection":false});				  						galleries[447436] = clik.newGallery({"parentGallery":157659,"usePopups":false,"title":"Gippsland Forests","link":"gallery_447436.html","maxRecords":0.0,"photoIDs":[4908974.0,8878607.0,8878599.0,8878677.0,8883272.0,8883463.0,8883263.0,8883325.0,8883329.0,8883421.0,4908977.0,8878600.0,8878602.0,8878605.0,8878603.0],"skipIndex":0,"section_code":"gallery","featured_images":4908974,"id":447436,"singleSection":false});				  						galleries[157759] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"New Zealand","link":"gallery_157759.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"8768542,8768481,8768479,8084215,5270505,5251693,4619086,4438244,4438243,4438240","id":157759,"singleSection":false});				  						galleries[157253] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Patagonia","link":"gallery_157253.html","maxRecords":0.0,"photoIDs":[2446042.0,2446050.0,2446058.0,2501771.0,2501795.0,2501807.0,2446033.0,2501799.0,2501769.0,2501786.0,2446596.0,2446599.0,2446116.0,2446158.0,2446164.0,2446169.0,2446172.0,2446175.0,2501783.0,2446178.0],"skipIndex":0,"section_code":"gallery","featured_images":"2501807,2501799,2501795,2501786,2501783,2501771,2501769,2446599,2446596,2446178","id":157253,"singleSection":false});				  						galleries[219211] = clik.newGallery({"parentGallery":157659,"usePopups":false,"title":"Wilson's Promontory","link":"gallery_219211.html","maxRecords":0.0,"photoIDs":[2446335.0,2501847.0,2501889.0,2609730.0,2609893.0,2613694.0,3587637.0,5270511.0],"skipIndex":0,"section_code":"gallery","featured_images":"5270511,3587637,2613694,2609893,2609730,2501889,2501847,2446335","id":219211,"singleSection":false});				  						galleries[159052] = clik.newGallery({"parentGallery":157659,"usePopups":false,"title":"Grampians","link":"gallery_159052.html","maxRecords":0.0,"photoIDs":[5608435.0,5608437.0,5731349.0,5731354.0,2446331.0,2501828.0,2447678.0,2609856.0,2609870.0,2609863.0],"skipIndex":0,"section_code":"gallery","featured_images":5608437,"id":159052,"singleSection":false});				  						galleries[270287] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Malaysia","link":"gallery_270287.html","maxRecords":0.0,"photoIDs":[4699457.0,4699456.0,4699455.0,4699454.0],"skipIndex":0,"section_code":"gallery","featured_images":"4699457,4699456,4699455,4699454","id":270287,"singleSection":false});				  						galleries[391379] = clik.newGallery({"parentGallery":157659,"usePopups":false,"title":"Great Otway National Park","link":"gallery_391379.html","maxRecords":0.0,"photoIDs":[7241551.0,5716711.0,5679416.0,4438237.0],"skipIndex":0,"section_code":"gallery","featured_images":"7241551,5716711,5679416,4438237","id":391379,"singleSection":false});				  						galleries[391381] = clik.newGallery({"parentGallery":157659,"usePopups":false,"title":"Port Campbell National Park","link":"gallery_391381.html","maxRecords":0.0,"photoIDs":[2609886.0,2448189.0,2442945.0,5679487.0],"skipIndex":0,"section_code":"gallery","featured_images":5679487,"id":391381,"singleSection":false});				  						galleries[158022] = clik.newGallery({"parentGallery":157658,"usePopups":false,"title":"Tarkine\/West Coast","link":"gallery_158022.html","maxRecords":0.0,"photoIDs":[2446277.0,2446283.0,2446285.0,2609660.0,2609666.0],"skipIndex":0,"section_code":"gallery","featured_images":2446277,"id":158022,"singleSection":false});				  						galleries[159058] = clik.newGallery({"parentGallery":157659,"usePopups":false,"title":"West Coast","link":"gallery_159058.html","maxRecords":0.0,"photoIDs":[5608431.0,2446322.0,5696381.0],"skipIndex":0,"section_code":"gallery","featured_images":5608431,"id":159058,"singleSection":false});				  						galleries[180812] = clik.newGallery({"parentGallery":157659,"usePopups":false,"title":"Yarra Ranges","link":"gallery_180812.html","maxRecords":0.0,"photoIDs":[2446323.0,2609780.0,2609841.0],"skipIndex":0,"section_code":"gallery","featured_images":2446323,"id":180812,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '8092527,8084221,8396952,2919018,4619082,8883272,2446327,2446299,8092526,2447683,2447599';
imageSets[2] = '2446329,2446277,8092527,2446313,8084221,8396952,2446312,8092526,2446317';
imageSets[3] = '2446313,2446312,5251693,4619086,4438243,5080513,5080508';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/mdarragh/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/mdarragh/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/mdarragh/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/mdarragh/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/mdarragh/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/mdarragh/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/mdarragh/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/mdarragh/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/mdarragh/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/mdarragh/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/mdarragh/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/mdarragh/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/mdarragh/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/mdarragh/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/mdarragh/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/mdarragh/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/mdarragh/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/mdarragh/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/mdarragh/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/mdarragh/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/mdarragh/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/mdarragh/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/mdarragh/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/mdarragh/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/mdarragh/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/mdarragh/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/mdarragh/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 = 'Fine Art Landscapes: ' + photoCaption;
			    }
        if (op.$detail.length > 0) {
      	temp = op.nextPhoto.fnGetImageDetails();
	    op.$detail.fadeGalleryDetails(temp, op.speed, function(){
			if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
				toggleAddToCartConfirm(backgrounds, op.$detail);
			} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
				toggleAddToCartConfirm(photos, op.$detail);
			}
			$('body').trigger('clikUpdate.popup');
	    });
    }
        $(op.$detailContainer).find('.replaceable[class*=replaceable_photo-]').each(function(){
    	var field = clik.getPrefixedClass(this.className, 'replaceable_photo-');
    	if (field in op.nextPhoto) {
    		$(this).fadeGalleryDetails(op.nextPhoto[field], op.speed);
    	}
    }).end().find('.replaceable.photoPayment').fadeGalleryDetails(op.nextPhoto.fnGetPaymentInfo(), op.speed, function(){
		if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
			toggleAddToCartConfirm(backgrounds, op.$detailContainer);
		} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
			toggleAddToCartConfirm(photos, op.$detailContainer);
		}
		$('body').trigger('clikUpdate.popup');
	});
		if (op.$photo.length > 0) {
		html = $('<img/>',{
			'class': 'mainphoto photo',
			src: photoSrc,
			id: 'mainPic',
			name: 'mainPic',
			width: op.nextPhoto.width,
			height: op.nextPhoto.height,
			alt: photoCaption,
			css: op.css || {}
		});
		if (op.href) {
			if (op.href.match(/<a/)) {
				html = $(op.href).append(html);
			} else {
				html = $('<a/>', {
					href: op.href,
					title: photoCaption
				}).append(html);
			}
		} else {
			html = $('<a/>', {
				title: photoCaption
			}).append(html);
		}
		if (op.speed == 0) {			op.$photo.html(html);			if (op.onBefore) {			  	op.onBefore.apply(op.$photo);			}			if (op.onAfter) {			  	op.onAfter.apply(op.$photo);			}		} else {			op.$photo.stop(true,true).fadeReplaceWith(html,op.speed,'',function(){  				if (op.onAfter) {				  	op.onAfter.apply(this);				}				clik.doColumnResize(false, $(this).add(op.$detail).add(op.$title));			}, op.onBefore);
		}	}
    if (op.field) {
		op.field.value = photoId;
	} else {
		op.$photo.data('image_id', photoId);
    }
        if (!op.speed) {
      	clik.doColumnResize(false, op.$photo.add(op.$detail).add(op.$title));
    }
        
    return html;
	}

/***************************************************************************
* Toggle add to cart confirmation element and set up the click event for   *
* the 'Add to cart' button.                                                *
***************************************************************************/
function toggleAddToCartConfirm(array, root){
	if (typeof(array) !== 'object' || array === null) {
	  	array = photos;
	}
	if (!$(root).length) {		root = $('body');	}	if($('#paymentConfirm', root).length > 0){
		$('#paymentConfirm', root).hide();
		$('#paymentAddButton', root)
		.unbind()
		.click(function(){
						form = $('#paymentForm', root)[0];
			option_id = 0;
			if(form.item_option.value){
				option_id = form.item_option.value;
			}
			if(addItemToBasket(form.item_number.value,array,form.site.value,parseInt(form.quantity.value, 10),option_id)){
				if($.browser.msie){$('#paymentConfirm', root).text('Item added to cart').show();}
				else{
					$('#paymentConfirm', root).text('Item added to cart').fadeIn();
					dspOrderDetails(form.site.value);
				}
			}
			else{
				$('#paymentConfirm', root).text('Item not added - check cookies are enabled in your browser.').fadeIn();
			}
		});
	}
}

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetImageDetails = function(){
	var temp = '';
	if (this.description != '') {
		temp +=  '<div id="imageDescription">' + this.description + '</div>';
	}
		if (this.photo_ref != '') {
		temp += '<div class="imageinfo" id="imageRef"><strong>Ref: </strong>' + this.photo_ref + '</div>';
	}
		if (this.takendate != '') {
		
		temp += '<div class="imageinfo" id="imageDate"><strong>Date: </strong>' + this.takendate + '</div>';
	}
	
	if (this.location != '') {
		
		temp += '<div class="imageinfo" id="imageLocation"><strong>Location: </strong>' +  this.location + '</div>';
	}
	
	if (this.photographer != '') {
		
		temp += '<div class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>' + this.photographer + '</div>';
	}
				
	temp += this.fnGetPaymentInfo();
				if (temp != '') {
		temp += '<div class="spacer"></div>';
	}
	return temp;
};

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetPaymentInfo = function(){
	var temp = '';
	if (this.item_price !== '') {
																		temp += '<p>Buy now using PayPal:</p>';
				temp += '<div class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> AU$' + (this.item_price).toFixed(2) + '</div>';
		var item_name  = this.purchase_instruction;
		var amount = (this.item_price).toFixed(2);
		var item_option  = 0;
	}
		else if (this.payment_groups_id !== '') {
		temp += '<p>Buy this print online:</p>';
				temp += '<form id="paymentOptions" style="margin:0px;border:0px;" name="paymentOptions">';
											temp += '<select class="paymentlink" name="payment_options_id" onchange="updateItemValues($(this.form).next(\'#paymentForm\')[0],this.form.payment_options_id.options[this.form.payment_options_id.options.selectedIndex].value);">';
		
		temp += getPaymentOptions(this.payment_groups_id);
		temp += '</select>';
		temp += '</form>';
				var item_option  = paymentGroups[this.payment_groups_id].options[0];
		if(paymentOptions[item_option]){
			var item_name  = paymentOptions[item_option].payment_option;
			var amount =  paymentOptions[item_option].price;
		}
			}
		else {
		
	}
	if (this.item_price !== '' || this.payment_groups_id !== '') {
																		temp += '<form id="paymentForm" style="margin:0px;border:0px;" name="paymentForm" target="_blank" action="https://www.paypal.com/cgi-bin/webscr" method="post">';
			temp += '<input type="hidden" name="item_name" value="'+item_name+'">';
			ref = '';
			if(this.photo_ref != ''){
				ref = this.photo_ref+' - '+this.caption;
			}
			else{
				ref = this.id+' - '+this.caption;
			}
			price = amount;								temp += '<input type="hidden" name="cmd" value="_cart">';
					temp += '<input type="hidden" name="business" value="fineart_landscapes@yahoo.com.au">';
					temp += '<input type="hidden" name="currency_code" value="AUD">';
					temp += '<input type="hidden" name="add" value="1">';
													temp += '<input type="hidden" name="amount" value="'+amount+'">';
					temp += '<input type="hidden" name="item_number" value="'+ref+'">';
													temp += '<input type=\"Submit\" value=\"Add to cart\" id=\"paymentAddButton\" class=\"button\" onmouseover=\"this.className=\'buttonHi\';\" onmouseout=\"this.className=\'button\';\">';
										temp += '</form>';
										temp += '<form id="paymentCartForm" style="margin:0px;" name="paymentCartForm" target="_blank" action="https://www.paypal.com/cgi-bin/webscr" method="post">';
				temp += '<input type="hidden" name="cmd" value="_cart">';
				temp += '<input type="hidden" name="business" value="fineart_landscapes@yahoo.com.au">';
				temp += '<input type="hidden" name="display" value="1">';
				temp += '<input type=\"Submit\" value=\"View cart\" id=\"paymentViewButton\" class=\"button\" onmouseover=\"this.className=\'buttonHi\';\" onmouseout=\"this.className=\'button\';\">';
				temp += '</form>';
						temp += '<div class="clearing">&nbsp;</div>';
	}
	return temp;};

/***************************************************************************
* Pick a photo at random from the featured images of a gallery.            *
* Gallery_id = id of gallery to choose,                                    *
* img = reference to html image in                                         *
* which to show image                                                      *
***************************************************************************/
function showGalleryImage(gallery_id, img, updateLink) {
	
	if(img){
		if (location.hash.match('galleries_id=' + gallery_id) && (imageID = location.hash.match('.*photos_id=(.+)$'))) {
		  	imageID = imageID[1];
		} else {
		  	imageID = randomListVal(galleries[gallery_id].featured_images);
		}
		
		if (imageID != 0) {
			img.src = thumbnails[imageID].src;
			img.width = thumbnails[imageID].width;
			img.height = thumbnails[imageID].height;
			img.alt = galleries[gallery_id].title;
			if (updateLink) {
				$(img).parent().attr({					title: galleries[gallery_id].title				}).filter(function(){return this.href;}).attr({					href: thumbnails[imageID].fnGalleryLink(gallery_id)				});
			}
		}
	}
}

/***************************************************************************
* If we have dynamic HTML, replace the galleries link with a list that     *
* doesn't include thecurrent gallery                                       *
***************************************************************************/
function showGalleries(gallery_id) {
		
	
	if (!basic) {
		temp = '';
		for (i = 0; i < galleries.length; i++) {
						
			
			if (galleries[i].id != gallery_id) {
								
				if (temp != '') {
					temp += ' | ';
				}
								temp += '<a href="' + galleries[i].section_code + '_' + galleries[i].id + '.html">' + galleries[i].title + '</a>';
							}
		}
		document.all.galleryLinks.innerHTML = 'Other galleries: ' + temp;
	}
}

			

