window.thumbnails = new Object();
												thumbnails[2057970] = new thumbnail(2057970,'137510','Prayer Flags, Banteay Kdei','camaw001_12_1_thumb.jpg',130, 87,5,'photo_2057970.html');
												thumbnails[2099761] = new thumbnail(2099761,'140315','Horses and Carriage, Vienna','ausvi001_5_1_thumb.jpg',130, 87,5,'photo_2099761.html');
												thumbnails[2099882] = new thumbnail(2099882,'137522','Scooter, Trogir','crotr006_86_1_thumb.jpg',130, 87,5,'photo_2099882.html');
												thumbnails[2099833] = new thumbnail(2099833,'137522','Glassy Lake, Plitvice','cropv008_64_1_thumb.jpg',130, 87,5,'photo_2099833.html');
												thumbnails[2099876] = new thumbnail(2099876,'137522','Big Toe, Gregorius of Nin, Split','crosp009_80_1_thumb.jpg',130, 87,5,'photo_2099876.html');
												thumbnails[2099765] = new thumbnail(2099765,'137516','Canals, Brugge','belbr005_11_1_thumb.jpg',130, 87,5,'photo_2099765.html');
												thumbnails[2099856] = new thumbnail(2099856,'137522','Jetty, Plitvice Lakes','cropv014_70_1_thumb.jpg',130, 87,5,'photo_2099856.html');
												thumbnails[2109574] = new thumbnail(2109574,'137513','Black Faced Sheep','engny003_126_1_thumb.jpg',130, 195,5,'photo_2109574.html');
												thumbnails[2109674] = new thumbnail(2109674,'137526','Ocean Baths, Newcastle','nswne001_199_1_thumb.jpg',130, 87,5,'photo_2109674.html');
												thumbnails[2109685] = new thumbnail(2109685,'146319','Daisies, Auckland','nzau001_231_1_thumb.jpg',130, 87,5,'photo_2109685.html');
												thumbnails[2109700] = new thumbnail(2109700,'137529','Bridge Over Canal, Amsterdam','netam002_190_1_thumb.jpg',130, 87,5,'photo_2109700.html');
												thumbnails[2109775] = new thumbnail(2109775,'137519','Old Town Square, Warsaw','polwa001_239_1_thumb.jpg',130, 87,5,'photo_2109775.html');
												thumbnails[2109786] = new thumbnail(2109786,'137514','Gorse Flowers, Dusk','scomu004_256_1_thumb.jpg',130, 87,5,'photo_2109786.html');
												thumbnails[2109862] = new thumbnail(2109862,'137521','Dawn, Otocec','slvnm004_267_1_thumb.jpg',130, 87,5,'photo_2109862.html');
												thumbnails[2109915] = new thumbnail(2109915,'137530','Saffron-robed Buddhas','thaay004_273_1_thumb.jpg',130, 87,5,'photo_2109915.html');
												thumbnails[2952829] = new thumbnail(2952829,'137512','Ancient Funerary Jar','cb site 2 poj08_3_12_thumb.jpg',130, 87,5,'photo_2952829.html');
												thumbnails[2952834] = new thumbnail(2952834,'137510','Early morning flowers, Banteay Srei','cbanteay srei13_8_1_thumb.jpg',130, 87,5,'photo_2952834.html');
												thumbnails[2975464] = new thumbnail(2975464,'137510','Trays of dried shrimp','corussei04_1_1_thumb.jpg',130, 87,5,'photo_2975464.html');
												thumbnails[3570617] = new thumbnail(3570617,'416917','Lara','lara3_1_1_thumb.jpg',130, 87,5,'photo_3570617.html');
												thumbnails[2109526] = new thumbnail(2109526,'137522','Secret Passage , Trogir','crotr009_89_1_thumb.jpg',130, 195,5,'photo_2109526.html');
												thumbnails[2109779] = new thumbnail(2109779,'137514','Blackwaterfoot, Arran','scoar001_244_1_thumb.jpg',130, 87,5,'photo_2109779.html');
												thumbnails[2109864] = new thumbnail(2109864,'137530','Reflected Wat','thaay003_272_1_thumb.jpg',130, 87,5,'photo_2109864.html');
												thumbnails[2057932] = new thumbnail(2057932,'137526','Gum leaves, Canberra','actca001_1_1_thumb.jpg',130, 87,5,'photo_2057932.html');
												thumbnails[2109778] = new thumbnail(2109778,'137519','Lazienki Park','polwa005_243_1_thumb.jpg',130, 87,5,'photo_2109778.html');
												thumbnails[2109858] = new thumbnail(2109858,'137521','Forest Stream, Slovenia','slvlj001_262_1_thumb.jpg',130, 87,5,'photo_2109858.html');
												thumbnails[2109917] = new thumbnail(2109917,'137530','Boat Rescue, Koh Chang','thakc001_276_1_thumb.jpg',130, 87,5,'photo_2109917.html');
												thumbnails[2109773] = new thumbnail(2109773,'146319','Marina, Auckland','nzau003_233_1_thumb.jpg',130, 87,5,'photo_2109773.html');
												thumbnails[2109784] = new thumbnail(2109784,'137514','Stone Bridge, Mull','scomu001_253_1_thumb.jpg',130, 87,5,'photo_2109784.html');
												thumbnails[2109774] = new thumbnail(2109774,'137519','Campervan, Krakow','polcr001_238_1_thumb.jpg',130, 87,5,'photo_2109774.html');
												thumbnails[2109861] = new thumbnail(2109861,'137521','Cygnet, Otocec','slvnm003_266_1_thumb.jpg',130, 87,5,'photo_2109861.html');
												thumbnails[2109866] = new thumbnail(2109866,'137530','Bridge to Stupa','thasu001_278_1_thumb.jpg',130, 87,5,'photo_2109866.html');
												thumbnails[2057935] = new thumbnail(2057935,'137526','Otters, Canberra','actca002_2_1_thumb.jpg',130, 87,5,'photo_2057935.html');
												thumbnails[2109490] = new thumbnail(2109490,'137510','Apsara, Angkor Wat','camsr012_42_1_thumb.jpg',130, 87,5,'photo_2109490.html');
												thumbnails[2109527] = new thumbnail(2109527,'137522','Park Walk, Zagreb','croza002_92_1_thumb.jpg',130, 195,5,'photo_2109527.html');
												thumbnails[2109772] = new thumbnail(2109772,'146319','St Patrick\'s Cathedral','nzau002_232_1_thumb.jpg',130, 195,5,'photo_2109772.html');
												thumbnails[3981756] = new thumbnail(3981756,'416917','Antony','IMG_5271_1_1_thumb.jpg',130, 87,5,'photo_3981756.html');
												thumbnails[2109776] = new thumbnail(2109776,'137519','Flowers, Warsaw','polwa002_240_1_thumb.jpg',130, 87,5,'photo_2109776.html');
												thumbnails[2099863] = new thumbnail(2099863,'137522','Diocletian\'s Palace, Split','crosp005_77_1_thumb.jpg',130, 195,5,'photo_2099863.html');
												thumbnails[2109777] = new thumbnail(2109777,'137519','Palace on the Water','polwa003_241_1_thumb.jpg',130, 195,5,'photo_2109777.html');
												thumbnails[2099877] = new thumbnail(2099877,'137522','Town Sqare, Trogir','crotr001_81_1_thumb.jpg',130, 195,5,'photo_2099877.html');
												thumbnails[2109855] = new thumbnail(2109855,'137521','Musical Fountain, Kosice','slkko001_259_1_thumb.jpg',130, 195,5,'photo_2109855.html');
												thumbnails[2109528] = new thumbnail(2109528,'137522','Angel, Zagreb','croza003_93_1_thumb.jpg',130, 195,5,'photo_2109528.html');
												thumbnails[2109666] = new thumbnail(2109666,'137529','Canal, Amsterdam','netam001_thumb.jpg',130, 195,5,'photo_2109666.html');
												thumbnails[2099809] = new thumbnail(2099809,'137510','Wildflowers, Battambang','cambb005_19_1_thumb.jpg',130, 87,5,'photo_2099809.html');
												thumbnails[2099834] = new thumbnail(2099834,'137522','Glass Top Lake, Plitvice','cropv009_65_1_thumb.jpg',130, 195,5,'photo_2099834.html');
												thumbnails[2109605] = new thumbnail(2109605,'137513','Cobbled Street, Rye','engry001_135_1_thumb.jpg',130, 195,5,'photo_2109605.html');
												thumbnails[2109606] = new thumbnail(2109606,'137517','Fountain, Potsdam','gerpo002_145_1_thumb.jpg',130, 195,5,'photo_2109606.html');
												thumbnails[2109701] = new thumbnail(2109701,'137529','Dormer Window, Utrecht','netut001_191_1_thumb.jpg',130, 87,5,'photo_2109701.html');
												thumbnails[2109763] = new thumbnail(2109763,'137526','Banksia, Diamond Head','nswpm003_217_1_thumb.jpg',130, 98,5,'photo_2109763.html');
												thumbnails[2109856] = new thumbnail(2109856,'137521','Spissky Hrad, Levoca','slksp001_260_1_thumb.jpg',130, 195,5,'photo_2109856.html');
												thumbnails[2952830] = new thumbnail(2952830,'137512','Detail from Buddha statue - \'Calming the Ocean\'','cb vientiane haw pha kaew18_4_1_thumb.jpg',130, 195,5,'photo_2952830.html');
												thumbnails[2952861] = new thumbnail(2952861,'137510','Remains of a statue, Bayon','bayon05a_1_12_thumb.jpg',130, 87,5,'photo_2952861.html');
												thumbnails[3570619] = new thumbnail(3570619,'416917','Hands','lara7_5_1_thumb.jpg',130, 87,5,'photo_3570619.html');
												thumbnails[2099878] = new thumbnail(2099878,'137522','Fort, Trogir','crotr002_82_1_thumb.jpg',130, 195,5,'photo_2099878.html');
												thumbnails[2109430] = new thumbnail(2109430,'137526','Kombi, Canberra','actca004_4_1_thumb.jpg',130, 195,5,'photo_2109430.html');
												thumbnails[3570615] = new thumbnail(3570615,'416917','Family - Caves Beach','family2_1_1_thumb.jpg',130, 87,5,'photo_3570615.html');
												thumbnails[2109703] = new thumbnail(2109703,'137526','Gum tree, Bellingen','nswbe001_194_1_thumb.jpg',130, 195,5,'photo_2109703.html');
												thumbnails[2109766] = new thumbnail(2109766,'137526','Banksia, Port Macquarie','nswpm007_221_1_thumb.jpg',130, 173,5,'photo_2109766.html');
												thumbnails[2099836] = new thumbnail(2099836,'137522','Forest Waterfall, Plitvice','cropv013_69_1_thumb.jpg',130, 195,5,'photo_2099836.html');
												thumbnails[2109768] = new thumbnail(2109768,'137526','Sydney Harbour Bridge','nswsy001_227_1_thumb.jpg',130, 195,5,'photo_2109768.html');
												thumbnails[3570613] = new thumbnail(3570613,'416917','Daniel - Caves Beach','daniel2bw_2_1_thumb.jpg',130, 130,5,'photo_3570613.html');
												thumbnails[2099859] = new thumbnail(2099859,'137522','Gregorius of Nin, Split','crosp001_73_1_thumb.jpg',130, 195,5,'photo_2099859.html');
												thumbnails[3570614] = new thumbnail(3570614,'416917','Emily - Caves Beach','emily11_3_1_thumb.jpg',130, 132,5,'photo_3570614.html');
												thumbnails[2099762] = new thumbnail(2099762,'137516','Chocolate Shop, Brugge','belbr001_7_1_thumb.jpg',130, 87,5,'photo_2099762.html');
												thumbnails[2099835] = new thumbnail(2099835,'137522','Submerged Tree, Plitvice','cropv011_67_1_thumb.jpg',130, 195,5,'photo_2099835.html');
												thumbnails[2109572] = new thumbnail(2109572,'137513','Bridges Over The River Tyne','engne003_123_1_thumb.jpg',130, 195,5,'photo_2109572.html');
												thumbnails[2109702] = new thumbnail(2109702,'137515','Giant\'s Causeway, Northern Ireland','nirgc001_192_1_thumb.jpg',130, 87,5,'photo_2109702.html');
												thumbnails[2109764] = new thumbnail(2109764,'137526','Sleeping Koala, Port Macquarie','nswpm004_218_1_thumb.jpg',130, 98,5,'photo_2109764.html');
												thumbnails[2109785] = new thumbnail(2109785,'137514','Sunset, Craignure','scomu003_255_1_thumb.jpg',130, 87,5,'photo_2109785.html');
												thumbnails[2109857] = new thumbnail(2109857,'137521','Trencin Castle, Slovakia','slktr001_261_1_thumb.jpg',130, 195,5,'photo_2109857.html');
												thumbnails[2952831] = new thumbnail(2952831,'137512','Buddha Images in the Cloisters of Wat Si Saket','cb vientiane wat si saket30_5_1_thumb.jpg',130, 195,5,'photo_2952831.html');
												thumbnails[2952836] = new thumbnail(2952836,'137510','Sunset, Otres Beach','cotres beach36_10_1_thumb.jpg',130, 87,5,'photo_2952836.html');
												thumbnails[2952862] = new thumbnail(2952862,'137510','Buddha and prayer flags, Banteay Kdei','cb sept banteay kdei10_1_12_thumb.jpg',130, 87,5,'photo_2952862.html');
												thumbnails[3570620] = new thumbnail(3570620,'416917','Emily & Michael','mande6bw_5_1_thumb.jpg',130, 130,5,'photo_3570620.html');
												thumbnails[2099861] = new thumbnail(2099861,'137522','Staircase, Split','crosp003_75_1_thumb.jpg',130, 195,5,'photo_2099861.html');
												thumbnails[2109765] = new thumbnail(2109765,'137526','Lake Cathie','nswpm005_219_1_thumb.jpg',130, 98,5,'photo_2109765.html');
												thumbnails[3570622] = new thumbnail(3570622,'416917','Thomas','thomas1_6_1_thumb.jpg',130, 174,5,'photo_3570622.html');
												thumbnails[2109781] = new thumbnail(2109781,'137514','Nunnery Ruins, Iona','scoio003_249_1_thumb.jpg',130, 195,5,'photo_2109781.html');
												thumbnails[2975418] = new thumbnail(2975418,'137510','Orussei Markets','corussei05_3_1_1_thumb.jpg',130, 87,5,'photo_2975418.html');
												thumbnails[2099818] = new thumbnail(2099818,'137522','Harbour, Dubrovnik','crodu004_56_1_thumb.jpg',130, 195,5,'photo_2099818.html');
												thumbnails[2109770] = new thumbnail(2109770,'137526','Detail, Tall Ships','nswsy004_230_1_thumb.jpg',130, 98,5,'photo_2109770.html');
												thumbnails[2109782] = new thumbnail(2109782,'137514','Post Office, Iona','scoio004_250_1_thumb.jpg',130, 195,5,'photo_2109782.html');
												thumbnails[2109710] = new thumbnail(2109710,'137526','Storms close the pool','nswne004_202_1_thumb.jpg',130, 87,5,'photo_2109710.html');
												thumbnails[2099881] = new thumbnail(2099881,'137522','Yacht, Trogir','crotr005_85_1_thumb.jpg',130, 195,5,'photo_2099881.html');
												thumbnails[2109706] = new thumbnail(2109706,'137526','Sunset, Lake Macquarie','nswlm001_198_1_thumb.jpg',130, 87,5,'photo_2109706.html');
												thumbnails[2109783] = new thumbnail(2109783,'137514','St Martin\'s Cross, Iona','scoio005_251_1_thumb.jpg',130, 194,5,'photo_2109783.html');
												thumbnails[3981755] = new thumbnail(3981755,'416917','Thomas','IMG_2359_2_1_thumb.jpg',130, 87,5,'photo_3981755.html');
												thumbnails[2109711] = new thumbnail(2109711,'137526','Ocean Baths, Newcastle','nswne005_203_1_thumb.jpg',130, 87,5,'photo_2109711.html');
												thumbnails[2109709] = new thumbnail(2109709,'137526','Peacock, Newcastle','nswne003_201_1_thumb.jpg',130, 87,5,'photo_2109709.html');
												thumbnails[2109721] = new thumbnail(2109721,'137526','Lighthouse, Crowdy Head','nswpm001_215_1_thumb.jpg',130, 98,5,'photo_2109721.html');
												thumbnails[2109787] = new thumbnail(2109787,'137514','Highland Cows, Mull','scomu006_257_1_thumb.jpg',130, 195,5,'photo_2109787.html');
												thumbnails[2099763] = new thumbnail(2099763,'137516','Canal Tours, Brugge','belbr002_8_1_thumb.jpg',130, 87,5,'photo_2099763.html');
												thumbnails[2109497] = new thumbnail(2109497,'137522','Wooden Bridge, Plitvice','cropv005_61_1_thumb.jpg',130, 195,5,'photo_2109497.html');
												thumbnails[2109529] = new thumbnail(2109529,'137524','St. Vitus Church, Cesky Krumlov','czeck002_96_1_thumb.jpg',130, 195,5,'photo_2109529.html');
												thumbnails[2109578] = new thumbnail(2109578,'137513','Tombstones','engny007_130_1_thumb.jpg',130, 195,5,'photo_2109578.html');
												thumbnails[2109651] = new thumbnail(2109651,'137515','Cows, Donegal','iredo001_171_1_thumb.jpg',130, 87,5,'photo_2109651.html');
												thumbnails[2109680] = new thumbnail(2109680,'137526','Banksia Flower','nswpm010_224_1_thumb.jpg',130, 195,5,'photo_2109680.html');
												thumbnails[2109780] = new thumbnail(2109780,'137514','Corrugated Iron, Arran','scoar002_245_1_thumb.jpg',130, 87,5,'photo_2109780.html');
												thumbnails[2952832] = new thumbnail(2952832,'137512','Bejewelled Buddha Head','cb vientiane wat si saket44_6_1_thumb.jpg',130, 195,5,'photo_2952832.html');
												thumbnails[2952837] = new thumbnail(2952837,'137512','Floral Offering, Wat Phu','cs champasak wat phu95_11_1_thumb.jpg',130, 87,5,'photo_2952837.html');
												thumbnails[2952863] = new thumbnail(2952863,'137510','Apsaras, Terrace of the Leper King','cb sept terr leper09_2_12_thumb.jpg',130, 87,5,'photo_2952863.html');
												thumbnails[3570621] = new thumbnail(3570621,'416917','Martha & Michael','mandm6_8_1_thumb.jpg',130, 87,5,'photo_3570621.html');
												thumbnails[2109712] = new thumbnail(2109712,'137526','Standing Pelican, Swansea','nswne006_204_1_thumb.jpg',130, 181,5,'photo_2109712.html');
												thumbnails[2099819] = new thumbnail(2099819,'137522','Turquoise Lake, Plitvice','cropv003_59_1_thumb.jpg',130, 195,5,'photo_2099819.html');
												thumbnails[2109704] = new thumbnail(2109704,'137526','Paperbark, Bellingen','nswbe002_195_1_thumb.jpg',130, 195,5,'photo_2109704.html');
												thumbnails[2099862] = new thumbnail(2099862,'137522','Alleyway, Split','crosp004_76_1_thumb.jpg',130, 195,5,'photo_2099862.html');
												thumbnails[2109769] = new thumbnail(2109769,'137526','Ship\'s Ropes, Darling Harbour','nswsy003_229_1_thumb.jpg',130, 173,5,'photo_2109769.html');
												thumbnails[2109534] = new thumbnail(2109534,'137524','Church of Our Lady Before Tyn','czepr002_101_1_thumb.jpg',130, 195,5,'photo_2109534.html');
												thumbnails[2109679] = new thumbnail(2109679,'137526','Fence Post, Combyone','nswpm008_222_1_thumb.jpg',130, 173,5,'photo_2109679.html');
												thumbnails[2109713] = new thumbnail(2109713,'137526','Koala, Newcastle','nswne007_205_1_thumb.jpg',130, 181,5,'photo_2109713.html');
												thumbnails[2109714] = new thumbnail(2109714,'137526','Koala (2), Newcastle','nswne008_206_1_thumb.jpg',130, 195,5,'photo_2109714.html');
												thumbnails[2109715] = new thumbnail(2109715,'137526','Koala (3), Newcastle','nswne009_207_1_thumb.jpg',130, 195,5,'photo_2109715.html');
												thumbnails[2099764] = new thumbnail(2099764,'137516','Horse Taxis, Brugge','belbr004_10_1_thumb.jpg',130, 195,5,'photo_2099764.html');
												thumbnails[2099860] = new thumbnail(2099860,'137522','Shuttered Windows, Split','crosp002_74_1_thumb.jpg',130, 87,5,'photo_2099860.html');
												thumbnails[2109432] = new thumbnail(2109432,'137510','Forest Blossom','cambb003_17_1_thumb.jpg',130, 87,5,'photo_2109432.html');
												thumbnails[2109530] = new thumbnail(2109530,'137524','Vltava River','czeck003_97_1_thumb.jpg',130, 195,5,'photo_2109530.html');
												thumbnails[2109571] = new thumbnail(2109571,'137513','Boat Sheds, Holy Island','enghi002_114_1_thumb.jpg',130, 87,5,'photo_2109571.html');
												thumbnails[2109652] = new thumbnail(2109652,'137515','Muckish Mountains','iredo002_172_11_thumb.jpg',130, 195,5,'photo_2109652.html');
												thumbnails[2109716] = new thumbnail(2109716,'137526','Wombat, Newcastle','nswne010_208_1_thumb.jpg',130, 87,5,'photo_2109716.html');
												thumbnails[2109916] = new thumbnail(2109916,'137530','Ayuthaya Buddha Head','thaay006_275_1_thumb.jpg',130, 184,5,'photo_2109916.html');
												thumbnails[2952833] = new thumbnail(2952833,'137510','Ruins, Banteay Samre','cbanteay samre01_7_1_thumb.jpg',130, 87,5,'photo_2952833.html');
												thumbnails[2952838] = new thumbnail(2952838,'137511','Roses, Old Quarter, Hanoi','cs hanoi st life21_12_1_thumb.jpg',130, 87,5,'photo_2952838.html');
												thumbnails[2109718] = new thumbnail(2109718,'137526','Diving Board, Newcastle','nswne014_212_1_thumb.jpg',130, 87,5,'photo_2109718.html');
												thumbnails[2099817] = new thumbnail(2099817,'137522','Sentry Post, Dubrovnik','crodu003_55_1_thumb.jpg',130, 87,5,'photo_2099817.html');
												thumbnails[2109722] = new thumbnail(2109722,'137526','Diamond Head Beach','nswpm002_216_1_thumb.jpg',130, 98,5,'photo_2109722.html');
												thumbnails[2109720] = new thumbnail(2109720,'137526','Still Water, Newcastle','nswne017_214_1_thumb.jpg',130, 98,5,'photo_2109720.html');
												thumbnails[2099821] = new thumbnail(2099821,'137522','Sunken Boat, Plitvice Lakes','cropv006_62_1_thumb.jpg',130, 87,5,'photo_2099821.html');
												thumbnails[2109719] = new thumbnail(2109719,'137526','Cascade, Ocean Baths ','nswne016_213_1_thumb.jpg',130, 98,5,'photo_2109719.html');
												thumbnails[2099885] = new thumbnail(2099885,'137522','Trogir, Croatia','crotr008_88_1_thumb.jpg',130, 87,5,'photo_2099885.html');
												thumbnails[2109708] = new thumbnail(2109708,'137526','Pelican, Swansea','nswne002_200_1_thumb.jpg',130, 87,5,'photo_2109708.html');
												thumbnails[2109681] = new thumbnail(2109681,'137526','Callistemon Leaves','nswpm011_225_1_thumb.jpg',130, 87,5,'photo_2109681.html');
												thumbnails[2099815] = new thumbnail(2099815,'137522','Dubrovnik, Croatia','crodu001_53_1_thumb.jpg',130, 87,5,'photo_2099815.html');
												thumbnails[2099816] = new thumbnail(2099816,'137522','City Walls, Dubrovnik','crodu002_54_1_thumb.jpg',130, 87,5,'photo_2099816.html');
												thumbnails[2109491] = new thumbnail(2109491,'137510','Remorque Taxi or Tuk-Tuk','camsr013_43_1_thumb.jpg',130, 87,5,'photo_2109491.html');
												thumbnails[2109531] = new thumbnail(2109531,'137524','Weir, Cesky Krumlov','czeck004_98_1_thumb.jpg',130, 195,5,'photo_2109531.html');
												thumbnails[2109536] = new thumbnail(2109536,'137513','Brighton Pier','engbr002_103_1_thumb.jpg',130, 87,5,'photo_2109536.html');
												thumbnails[2109653] = new thumbnail(2109653,'137515','Muckish Mountain Views','iredo004_174_1_thumb.jpg',130, 195,5,'photo_2109653.html');
												thumbnails[2952839] = new thumbnail(2952839,'137511','Drying Incense, Hue','cs hue tour07_13_1_thumb.jpg',130, 87,5,'photo_2952839.html');
												thumbnails[2956298] = new thumbnail(2956298,'137526','Fairy Penguin, Canberra','actca003_3_1_thumb.jpg',130, 87,5,'photo_2956298.html');
												thumbnails[2975421] = new thumbnail(2975421,'137510','Lotus Buds','korussei09_6_1_1_thumb.jpg',130, 98,5,'photo_2975421.html');
												thumbnails[2099812] = new thumbnail(2099812,'137510','Frangipani, Phnom Penh','campp004_25_1_thumb.jpg',130, 87,5,'photo_2099812.html');
												thumbnails[2109532] = new thumbnail(2109532,'137524','Townscape, Cesky Krumlov','czeck005_99_1_thumb.jpg',130, 87,5,'photo_2109532.html');
												thumbnails[2109537] = new thumbnail(2109537,'137513','Snow at Dusk, Co. Durham','engco001_104_1_thumb.jpg',130, 87,5,'photo_2109537.html');
												thumbnails[2109654] = new thumbnail(2109654,'137515','Glendalough, Wicklow','irewi001_175_1_thumb.jpg',130, 195,5,'photo_2109654.html');
												thumbnails[2952840] = new thumbnail(2952840,'137512','Saffron Robes Drying, Luang Prabang','cs luang prabang wat mai06_14_1_thumb.jpg',130, 195,5,'photo_2952840.html');
												thumbnails[2109433] = new thumbnail(2109433,'137510','Monastery Dog','cambb004_18_1_thumb.jpg',130, 87,5,'photo_2109433.html');
												thumbnails[2109533] = new thumbnail(2109533,'137524','St Vitus Cathedral, Prague','czepr001_100_1_thumb.jpg',130, 195,5,'photo_2109533.html');
												thumbnails[2109576] = new thumbnail(2109576,'137513','Churchyard','engny005_128_1_thumb.jpg',130, 87,5,'photo_2109576.html');
												thumbnails[2109655] = new thumbnail(2109655,'137527','Grand Canal, Trieste','itatr001_176_1_thumb.jpg',130, 87,5,'photo_2109655.html');
												thumbnails[2952841] = new thumbnail(2952841,'137510','Offering at Oudong','cs oudong05_15_1_thumb.jpg',130, 87,5,'photo_2952841.html');
												thumbnails[2109434] = new thumbnail(2109434,'137510','Ox Drawn Cart','cambb006_20_1_thumb.jpg',130, 87,5,'photo_2109434.html');
												thumbnails[2975423] = new thumbnail(2975423,'137510','Guarding Angkor Thom','south gate14_8_1_1_thumb.jpg',130, 87,5,'photo_2975423.html');
												thumbnails[2099811] = new thumbnail(2099811,'137510','Statue, Phnom Penh','campp001_22_1_thumb.jpg',130, 87,5,'photo_2099811.html');
												thumbnails[2109431] = new thumbnail(2109431,'137510','Fig Tree, Angkor Archaeological Park','camaw002_13_1_thumb.jpg',130, 195,5,'photo_2109431.html');
												thumbnails[2109656] = new thumbnail(2109656,'137527','Row Boat, Trieste','itatr002_177_1_thumb.jpg',130, 87,5,'photo_2109656.html');
												thumbnails[2109869] = new thumbnail(2109869,'137513','Skomer Island, Wales','walsk001_282_1_thumb.jpg',130, 87,5,'photo_2109869.html');
												thumbnails[2952842] = new thumbnail(2952842,'137510','Offering at Buddha\'s feet','cs sept angkor04_16_1_thumb.jpg',130, 195,5,'photo_2952842.html');
												thumbnails[2975419] = new thumbnail(2975419,'137510','Girl with Puppy, Sra Srang','cs sept sra srang04_4_1_1_thumb.jpg',130, 195,5,'photo_2975419.html');
												thumbnails[2975422] = new thumbnail(2975422,'137510','Asura at Angkor Thom\'s South Gate','s july south gate10_7_1_1_thumb.jpg',130, 195,5,'photo_2975422.html');
												thumbnails[2099810] = new thumbnail(2099810,'137510','Sunset, Kampot','camka001_21_1_thumb.jpg',130, 195,5,'photo_2099810.html');
												thumbnails[2109549] = new thumbnail(2109549,'137513','Blinking Eye Bridge, Newcastle','engne001_121_1_thumb.jpg',130, 87,5,'photo_2109549.html');
												thumbnails[2109619] = new thumbnail(2109619,'137520','Roman Church','hunsp002_169_1_thumb.jpg',130, 195,5,'photo_2109619.html');
												thumbnails[2109657] = new thumbnail(2109657,'137528','Sweet Stall, Souqs','mormk002_179_1_thumb.jpg',130, 88,5,'photo_2109657.html');
												thumbnails[2952843] = new thumbnail(2952843,'137510','Robed Buddha in afternoon light','cs sept banteay kdei21_17_1_thumb.jpg',130, 195,5,'photo_2952843.html');
												thumbnails[2109493] = new thumbnail(2109493,'137510','Apsaras, Angkor Wat','camsr016_46_1_thumb.jpg',130, 195,5,'photo_2109493.html');
												thumbnails[2109435] = new thumbnail(2109435,'137510','National Museum, Phnom Penh','campp002_23_1_thumb.jpg',130, 195,5,'photo_2109435.html');
												thumbnails[2109539] = new thumbnail(2109539,'137513','Snowdrops','engdu001_106_1_thumb.jpg',130, 87,5,'photo_2109539.html');
												thumbnails[2109865] = new thumbnail(2109865,'137530','Stupa, Sukhothai','thasi001_277_1_thumb.jpg',130, 195,5,'photo_2109865.html');
												thumbnails[3570618] = new thumbnail(3570618,'416917','Lara','lara10_3_1_thumb.jpg',130, 87,5,'photo_3570618.html');
												thumbnails[2952822] = new thumbnail(2952822,'137510','Pond of Lotus Flowers','angkor dawn18_1_11_thumb.jpg',130, 98,5,'photo_2952822.html');
												thumbnails[3570616] = new thumbnail(3570616,'416917','Emily & Martha','girls1_4_1_thumb.jpg',130, 87,5,'photo_3570616.html');
												thumbnails[2109573] = new thumbnail(2109573,'137513','Moorside, Stanhope','engny002_125_1_thumb.jpg',130, 87,5,'photo_2109573.html');
												thumbnails[2109659] = new thumbnail(2109659,'137528','Olive Stall, Marrakesh','mormk003_180_1_thumb.jpg',130, 87,5,'photo_2109659.html');
												thumbnails[2952845] = new thumbnail(2952845,'137512','Softly lit water lilies, Vientiane','cs vientiane life09_18_1_thumb.jpg',130, 87,5,'photo_2952845.html');
												thumbnails[2109492] = new thumbnail(2109492,'137510','Novice Monks, Angkor Wat','camsr014_44_1_thumb.jpg',130, 87,5,'photo_2109492.html');
												thumbnails[2109660] = new thumbnail(2109660,'137528','Market Stall, Souqs','mormk004_181_1_thumb.jpg',130, 87,5,'photo_2109660.html');
												thumbnails[2952846] = new thumbnail(2952846,'137512','Offerings at the Spirit House, Vientiane','cs vientiane life16_19_1_thumb.jpg',130, 195,5,'photo_2952846.html');
												thumbnails[2109575] = new thumbnail(2109575,'137513','Lonely Farm','engny004_127_1_thumb.jpg',130, 87,5,'photo_2109575.html');
												thumbnails[2109661] = new thumbnail(2109661,'137528','Saadian Tombs, Marrakesh','mormk005_182_1_thumb.jpg',130, 87,5,'photo_2109661.html');
												thumbnails[2109868] = new thumbnail(2109868,'137526','FJ Holden','vicme003_281_1_thumb.jpg',130, 147,5,'photo_2109868.html');
												thumbnails[2952847] = new thumbnail(2952847,'137512','Pha That Luang, Vientiane','cs vientiane that phat luang38_20_1_thumb.jpg',130, 195,5,'photo_2952847.html');
												thumbnails[2109663] = new thumbnail(2109663,'137528','Local transport, Medina','mormk009_186_1_thumb.jpg',130, 195,5,'photo_2109663.html');
												thumbnails[2109705] = new thumbnail(2109705,'137526','Paperbark, Bellingen','nswbe003_196_1_thumb.jpg',130, 195,5,'photo_2109705.html');
												thumbnails[2109436] = new thumbnail(2109436,'137510','Ox Statue, Phnom Penh','campp005_26_1_thumb.jpg',130, 87,5,'photo_2109436.html');
												thumbnails[2109648] = new thumbnail(2109648,'137520','Lion Statue, Opera House, Budapest','hunbp10_161_1_thumb.jpg',130, 195,5,'photo_2109648.html');
												thumbnails[2109650] = new thumbnail(2109650,'137520','Trinity Statue, Pecs','hunpe001_166_1_thumb.jpg',130, 195,5,'photo_2109650.html');
												thumbnails[2109662] = new thumbnail(2109662,'137528','Fruit and Nuts','mormk006_183_1_thumb.jpg',130, 87,5,'photo_2109662.html');
												thumbnails[2952848] = new thumbnail(2952848,'137512','Daily Offerings to the Buddha, Wat Si Saket','cs vientiane wat si saket04_21_1_thumb.jpg',130, 195,5,'photo_2952848.html');
												thumbnails[2099813] = new thumbnail(2099813,'137510','Deckchairs at Sunset, Sihanoukville','camsi002_30_1_thumb.jpg',130, 87,5,'photo_2099813.html');
												thumbnails[2109577] = new thumbnail(2109577,'137513','Cumbrian Church','engny006_129_1_thumb.jpg',130, 87,5,'photo_2109577.html');
												thumbnails[2109616] = new thumbnail(2109616,'137520','Spire, Koszeg','hunko002_164_1_thumb.jpg',130, 195,5,'photo_2109616.html');
												thumbnails[2952849] = new thumbnail(2952849,'137510','Stone God, Angkor','csouth gate angkor thom06_22_1_thumb.jpg',130, 87,5,'photo_2952849.html');
												thumbnails[2109613] = new thumbnail(2109613,'137520','Matthias Church','hunbp008_156_1_thumb.jpg',130, 195,5,'photo_2109613.html');
												thumbnails[2109607] = new thumbnail(2109607,'137520','View Over River Danube','hunbp001_149_1_thumb.jpg',130, 195,5,'photo_2109607.html');
												thumbnails[2109664] = new thumbnail(2109664,'137528','Storks\' Nests, Palais el-Badi','mormk010_187_1_thumb.jpg',130, 87,5,'photo_2109664.html');
												thumbnails[2952850] = new thumbnail(2952850,'137510','Dawn above the Terrace of the Leper King','cter leper king06_23_1_thumb.jpg',130, 87,5,'photo_2952850.html');
												thumbnails[2109489] = new thumbnail(2109489,'137510','Apsara Relief','camsr009_39_1_thumb.jpg',130, 87,5,'photo_2109489.html');
												thumbnails[2109535] = new thumbnail(2109535,'137513','West Pier Collapse, Brighton','engbr001_102_1_thumb.jpg',130, 87,5,'photo_2109535.html');
												thumbnails[2109587] = new thumbnail(2109587,'137517','Decorative Spires, Koln','gerko001_144_1_thumb.jpg',130, 87,5,'photo_2109587.html');
												thumbnails[2109665] = new thumbnail(2109665,'137528','Palms, Marrakesh','mormk011_188_1_thumb.jpg',130, 195,5,'photo_2109665.html');
												thumbnails[2952851] = new thumbnail(2952851,'164065','Incense sticks at the Persatuan Kwong Siew Chinese Temple, Malaysia','kuala lumpur_thumb.jpg',130, 87,5,'photo_2952851.html');
												thumbnails[2109495] = new thumbnail(2109495,'137510','River Life, Tonle Sap','camsr0181_thumb.jpg',130, 87,5,'photo_2109495.html');
												thumbnails[2109608] = new thumbnail(2109608,'137520','Heroes\' Square  ','hunbp002_150_1_thumb.jpg',130, 195,5,'photo_2109608.html');
												thumbnails[2109609] = new thumbnail(2109609,'137520','Fishermen\'s Bastion ','hunbp003_151_1_thumb.jpg',130, 195,5,'photo_2109609.html');
												thumbnails[2969764] = new thumbnail(2969764,'137517','Goslar Building','gergo001_143_1_thumb.jpg',130, 195,5,'photo_2969764.html');
												thumbnails[2975420] = new thumbnail(2975420,'164065','Coiled Incense drying, Kuala Lumpur','IMG_4616_5_1_1_thumb.jpg',130, 195,5,'photo_2975420.html');
												thumbnails[2099766] = new thumbnail(2099766,'137510','Lotus Flower, Banteay Srei, Siem Reap','camaw003_14_1_thumb.jpg',130, 87,5,'photo_2099766.html');
												thumbnails[2109610] = new thumbnail(2109610,'137520','Imp Statue','hunbp004_152_1_thumb.jpg',130, 195,5,'photo_2109610.html');
												thumbnails[2952853] = new thumbnail(2952853,'137510','Floating Candles, Wat Phnom','s wat phnom03_26_1_thumb.jpg',130, 87,5,'photo_2952853.html');
												thumbnails[2109437] = new thumbnail(2109437,'137510','Filigree Buddha','campp006_27_1_thumb.jpg',130, 87,5,'photo_2109437.html');
												thumbnails[2109538] = new thumbnail(2109538,'137513','Snow Trees','engco002_105_1_thumb.jpg',130, 87,5,'photo_2109538.html');
												thumbnails[2109611] = new thumbnail(2109611,'137520','Parliament ','hunbp006_154_1_thumb.jpg',130, 195,5,'photo_2109611.html');
												thumbnails[2109582] = new thumbnail(2109582,'137513','Tynemouth Abbey','engty001_137_1_thumb.jpg',130, 195,5,'photo_2109582.html');
												thumbnails[2109612] = new thumbnail(2109612,'137520','Castle Walk, Buda','hunbp007_155_1_thumb.jpg',130, 195,5,'photo_2109612.html');
												thumbnails[2099767] = new thumbnail(2099767,'137510','Blossom, Battambang','cambb001_15_1_thumb.jpg',130, 87,5,'photo_2099767.html');
												thumbnails[2109583] = new thumbnail(2109583,'137513','Whale Jaw Bone, Whitby','engwh001_139_1_thumb.jpg',130, 216,5,'photo_2109583.html');
												thumbnails[2099814] = new thumbnail(2099814,'137510','Monks, Angkor Wat','camsr019_49_1_thumb.jpg',130, 87,5,'photo_2099814.html');
												thumbnails[2109438] = new thumbnail(2109438,'137510','Statue, Royal Palace','campp007_28_1_thumb.jpg',130, 87,5,'photo_2109438.html');
												thumbnails[2109540] = new thumbnail(2109540,'137513','Reservoir Reflection','engdu002_107_1_thumb.jpg',130, 195,5,'photo_2109540.html');
												thumbnails[2109617] = new thumbnail(2109617,'137520','Lutheran Church, Buda','hunpe003_167_1_thumb.jpg',130, 195,5,'photo_2109617.html');
												thumbnails[2109440] = new thumbnail(2109440,'137510','Pink Leafed Tree','camsr001_31_1_thumb.jpg',130, 87,5,'photo_2109440.html');
												thumbnails[2109541] = new thumbnail(2109541,'137513','Stone Bridge, Weardale','engdu007_112_1_thumb.jpg',130, 195,5,'photo_2109541.html');
												thumbnails[2109585] = new thumbnail(2109585,'137513','Yorkshire Dales','engyk002_141_1_thumb.jpg',130, 87,5,'photo_2109585.html');
												thumbnails[2109618] = new thumbnail(2109618,'137520','Flower Pots, Sopron','hunsp001_168_1_thumb.jpg',130, 195,5,'photo_2109618.html');
												thumbnails[2109441] = new thumbnail(2109441,'137510','Forest Temple Ruins','camsr003_33_1_thumb.jpg',130, 87,5,'photo_2109441.html');
												thumbnails[2109542] = new thumbnail(2109542,'137513','Reservoir at Dusk','engdu004_109_1_thumb.jpg',130, 87,5,'photo_2109542.html');
												thumbnails[2109544] = new thumbnail(2109544,'137513','Sunset','engdu006_111_1_thumb.jpg',130, 87,5,'photo_2109544.html');
												thumbnails[2109545] = new thumbnail(2109545,'137513','Boatsheds, Holy Island','enghi001_113_1_thumb.jpg',130, 87,5,'photo_2109545.html');
												thumbnails[2109586] = new thumbnail(2109586,'137513','Rievaulx Abbey Ruins','engyk003_142_1_thumb.jpg',130, 195,5,'photo_2109586.html');
												thumbnails[2109614] = new thumbnail(2109614,'137520','St Stephen\'s Statue','hunbp009_157_1_thumb.jpg',130, 87,5,'photo_2109614.html');
												thumbnails[2109649] = new thumbnail(2109649,'137520','Sunflowers, Hungary','hunko003_165_1_thumb.jpg',130, 87,5,'photo_2109649.html');
												thumbnails[2109543] = new thumbnail(2109543,'137513','Dead Tree at Dusk','engdu005_110_1_thumb.jpg',130, 195,5,'photo_2109543.html');
												thumbnails[2109597] = new thumbnail(2109597,'137520','Dome of St Stephen\'s','hunbp11_162_1_thumb.jpg',130, 87,5,'photo_2109597.html');
												thumbnails[2109496] = new thumbnail(2109496,'137510','Broken Statue','camsr020_50_1_thumb.jpg',130, 195,5,'photo_2109496.html');
												thumbnails[2975417] = new thumbnail(2975417,'137510','Gold sashed Buddha','banteay kdei 19_1_1_1_thumb.jpg',130, 195,5,'photo_2975417.html');
												thumbnails[2952835] = new thumbnail(2952835,'137510','Face at The Bayon, Angkor','cbayon08a_9_1_thumb.jpg',130, 195,5,'photo_2952835.html');
												thumbnails[2109548] = new thumbnail(2109548,'137513','Church, Lincoln','engli003_119_1_thumb.jpg',130, 195,5,'photo_2109548.html');
												thumbnails[2952852] = new thumbnail(2952852,'137510','Creeper fig at Beng Mealea, Siem Reap','s july beng mealea28_25_1_thumb.jpg',130, 195,5,'photo_2952852.html');
												thumbnails[2109444] = new thumbnail(2109444,'137510','Pink Lotus Flower','camsr007_37_1_thumb.jpg',130, 87,5,'photo_2109444.html');
												thumbnails[2109442] = new thumbnail(2109442,'137510','Buddha Faced Gateway','camsr005_35_1_thumb.jpg',130, 87,5,'photo_2109442.html');
												thumbnails[2109550] = new thumbnail(2109550,'137513','Blinking Eye, Newcastle','engne002_122_1_thumb.jpg',130, 195,5,'photo_2109550.html');
												thumbnails[2109546] = new thumbnail(2109546,'137513','Valley View, The Lake District','engld002_116_1_thumb.jpg',130, 87,5,'photo_2109546.html');
												thumbnails[2109547] = new thumbnail(2109547,'137513','Lincoln Cathedral','engli002_118_1_thumb.jpg',130, 87,5,'photo_2109547.html');
												thumbnails[2979358] = new thumbnail(2979358,'137510','Dawn, Ta Prohm','cta prohm27_1_1_1_thumb.jpg',130, 87,5,'photo_2979358.html');

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  					galleries[137526] = new gallery(137526,'2109674','Australia','gallery',[2109674,2057932,2057935,2109763,2109430,2109703,2109766,2109768,2109764,2109765,2109770,2109710,2109706,2109711,2109709,2109721,2109680,2109712,2109704,2109769,2109679,2109713,2109714,2109715,2109716,2109718,2109722,2109720,2109719,2109708,2109681,2956298,2109868,2109705],0, 0, '', 'gallery_137526.html',0,0);
				  					galleries[140315] = new gallery(140315,'2099761','Austria','gallery',[2099761],0, 0, '', 'gallery_140315.html',0,0);
				  					galleries[137516] = new gallery(137516,'2099762','Belgium','gallery',[2099765,2099762,2099763,2099764],0, 0, '', 'gallery_137516.html',0,0);
				  					galleries[137510] = new gallery(137510,'2057970','Cambodia','gallery',[2057970,2952834,2975464,2109490,2099809,2952861,2952836,2952862,2975418,2952863,2109432,2952833,2109491,2975421,2099812,2109433,2952841,2109434,2975423,2099811,2109431,2952842,2975419,2975422,2099810,2952843,2109493,2109435,2952822,2109492,2109436,2099813,2952849,2952850,2109489,2109495,2099766,2952853,2109437,2099767,2099814,2109438,2109440,2109441,2109496,2975417,2952835,2952852,2109444,2109442,2979358],0, 0, '', 'gallery_137510.html',0,0);
				  					galleries[137522] = new gallery(137522,'2099834','Croatia','gallery',[2099882,2099833,2099876,2099856,2109526,2109527,2099863,2099877,2109528,2099834,2099878,2099836,2099859,2099835,2099861,2099818,2099881,2109497,2099819,2099862,2099860,2099817,2099821,2099885,2099815,2099816],0, 0, '', 'gallery_137522.html',0,0);
				  					galleries[137524] = new gallery(137524,'2109534','Czech Republic','gallery',[2109529,2109534,2109530,2109531,2109532,2109533],0, 0, '', 'gallery_137524.html',0,0);
				  					galleries[137513] = new gallery(137513,'2109574','England & Wales','gallery',[2109574,2109605,2109572,2109578,2109571,2109536,2109537,2109576,2109869,2109549,2109539,2109573,2109575,2109577,2109535,2109538,2109582,2109583,2109540,2109541,2109585,2109542,2109544,2109545,2109586,2109543,2109548,2109550,2109546,2109547],0, 0, '', 'gallery_137513.html',0,0);
				  					galleries[137517] = new gallery(137517,'2109606','Germany','gallery',[2109606,2109587,2969764],0, 0, '', 'gallery_137517.html',0,0);
				  					galleries[137520] = new gallery(137520,'2109649','Hungary','gallery',[2109619,2109648,2109650,2109616,2109613,2109607,2109608,2109609,2109610,2109611,2109612,2109617,2109618,2109614,2109649,2109597],0, 0, '', 'gallery_137520.html',0,0);
				  					galleries[137515] = new gallery(137515,'2109702','Ireland & Northern Ireland','gallery',[2109702,2109651,2109652,2109653,2109654],0, 0, '', 'gallery_137515.html',0,0);
				  					galleries[137527] = new gallery(137527,'2109656,2109655','Italy','gallery',[2109655,2109656],0, 0, '', 'gallery_137527.html',0,0);
				  					galleries[137512] = new gallery(137512,'2952845','Laos','gallery',[2952829,2952830,2952831,2952832,2952837,2952840,2952845,2952846,2952847,2952848],0, 0, '', 'gallery_137512.html',0,0);
				  					galleries[164065] = new gallery(164065,'2975420,2952851','Malaysia','gallery',[2952851,2975420],0, 0, '', 'gallery_164065.html',0,0);
				  					galleries[137528] = new gallery(137528,'2109661','Morocco','gallery',[2109657,2109659,2109660,2109661,2109663,2109662,2109664,2109665],0, 0, '', 'gallery_137528.html',0,0);
				  					galleries[137529] = new gallery(137529,'2109701','Netherlands','gallery',[2109700,2109666,2109701],0, 0, '', 'gallery_137529.html',0,0);
				  					galleries[146319] = new gallery(146319,'2109685','New Zealand','gallery',[2109685,2109773,2109772],0, 0, '', 'gallery_146319.html',0,0);
				  					galleries[137519] = new gallery(137519,'2109777','Poland','gallery',[2109775,2109778,2109774,2109776,2109777],0, 0, '', 'gallery_137519.html',0,0);
				  					galleries[137514] = new gallery(137514,'2109781','Scotland','gallery',[2109786,2109779,2109784,2109785,2109781,2109782,2109783,2109787,2109780],0, 0, '', 'gallery_137514.html',0,0);
				  					galleries[137521] = new gallery(137521,'2109857','Slovakia & Slovenia','gallery',[2109862,2109858,2109861,2109855,2109856,2109857],0, 0, '', 'gallery_137521.html',0,0);
				  					galleries[137530] = new gallery(137530,'2109865','Thailand','gallery',[2109915,2109864,2109917,2109866,2109916,2109865],0, 0, '', 'gallery_137530.html',0,0);
				  					galleries[137511] = new gallery(137511,'2952839,2952838','Vietnam','gallery',[2952838,2952839],0, 0, '', 'gallery_137511.html',0,0);
				  					galleries[416917] = new gallery(416917,'3570617','Portraits by Iona','gallery',[3570617,3981756,3570619,3570615,3570613,3570614,3570620,3570622,3981755,3570621,3570618,3570616],0, 0, '', 'gallery_416917.html',0,0);
/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = new Object();
imageSets[1] = '3981756,3981755,3570622,3570621,3570620,3570619,3570618,3570617,3570616,3570615,3570614,3570613,2979358,2975464,2975423,2975422,2975421,2975420,2975419,2975418,2975417,2969764,2956298,2952863,2952862,2952861,2952853,2952852,2952851,2952850,2952849,2952848,2952847,2952846,2952845,2952843,2952842,2952841,2952840,2952839,2952838,2952837,2952836,2952835,2952834,2952833,2952832,2952831,2952830,2952829';
imageSets[2] = '3570617,2952845,2109865,2109857,2109781,2109777,2109702,2109701,2109685,2109674,2109661,2109649,2109606,2109574,2109534,2099834,2099762,2057970';
imageSets[3] = '3981756,3981755,3570622,3570621,3570620,3570619,3570618,3570617,3570616,3570615,3570614,3570613,2979358,2975464,2975423,2975422,2975421,2975420,2975419,2975418,2975417,2969764,2956298,2952863,2952862,2952861,2952853,2952852,2952851,2952850,2952849,2952848,2952847,2952846,2952845,2952843,2952842,2952841,2952840,2952839,2952838,2952837,2952836,2952835,2952834,2952833,2952832,2952831,2952830,2952829';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/wanderlust/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/wanderlust/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/wanderlust/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/wanderlust/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/wanderlust/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/wanderlust/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/wanderlust/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/wanderlust/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/wanderlust/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/wanderlust/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/wanderlust/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/wanderlust/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/wanderlust/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/wanderlust/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/wanderlust/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://admin2.clikpic.com/wanderlust/images';
		break;
	}
		switch (server_id) {
		case 33:
		val = 'http://www8.clikpic.com/wanderlust/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/wanderlust/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/wanderlust/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/wanderlust/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/wanderlust/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/wanderlust/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:'',
                    updateDocumentTitle:false,speed:0,href:false,css:false,updateHash:false,onAfter:null,onBefore:null},
      op = $.extend({},defaults,options),
      html = '', temp = '',
      photoId = op.nextPhoto.id,
      photoCaption = op.nextPhoto.caption,
      photoSrc = op.nextPhoto.src;
		
		if (!basic) {
    if (op.updateHash && clik.getIDInUrl(location.href,'photo') != op.nextPhoto.id) {
		clik.changeHash('photos_id=' + op.nextPhoto.id, true);
    }
				
    if (op.$photo.length > 0) {
      html = $('<img/>',{
        'class': 'mainphoto photo',
        src: photoSrc,
        id: 'mainPic',
        name: 'mainPic',
        width: op.nextPhoto.width,
        height: op.nextPhoto.height,
        alt: photoCaption,
        css: op.css || {}
      });
      if (op.href) {
      	if (op.href.match(/<a/)) {
      	  html = $(op.href).append(html);
      	} else {
		  html = $('<a/>', {
			href: op.href,
			title: photoCaption
		  }).append(html);
	    }
      } else {
      	html = $('<a/>', {
			title: photoCaption
		  }).append(html);
      }
      if (op.speed == 0) {        op.$photo.html(html);        if (op.onBefore) {          op.onBefore.apply(op.$photo);        }        if (op.onAfter) {          op.onAfter.apply(op.$photo);        }      } else {        op.$photo.stop(true,true).fadeReplaceWith(html,op.speed,'',function(){            if (op.onAfter) {		    op.onAfter.apply(this);          }		  clik.doColumnResize(false, $(this).add(op.$detail).add(op.$title));		  $('body').trigger('clikUpdate');		}, op.onBefore);
      }    }
    	if (op.field) {
		op.field.value = photoId;
	} else {
		op.$photo.data('image_id', photoId);
    }
	    if (op.$title.length > 0) {
  		op.$title.fadeGalleryDetails(photoCaption, op.speed);
    }
        if (op.updateDocumentTitle) {
						  document.title = 'Wanderlust Photography: ' + photoCaption;
			    }
        if (op.$detail.length > 0) {
      temp = op.nextPhoto.fnGetImageDetails();
	    op.$detail.fadeGalleryDetails(temp, op.speed, function(){
	    var options = {};	    	      	      resizePhotoInfo(options);
        if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
  	      toggleAddToCartConfirm(backgrounds);
  	    } else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
  	      toggleAddToCartConfirm(photos);
  	    }
	    });
    }
        if (!op.speed) {      clik.doColumnResize(false, op.$photo.add(op.$detail).add(op.$title));      $('body').trigger('clikUpdate');    }        
    return html;			}
	else {
				
		window.location = 'photo_' + nextPhoto.id + '.html';
	}
		
}

/***************************************************************************
* Toggle add to cart confirmation element and set up the click event for   *
* the 'Add to cart' button.                                                *
***************************************************************************/
function toggleAddToCartConfirm(array){
  if (typeof(array) !== 'object') {
    array = photos;
  }
	if($('#paymentConfirm').length > 0){
		$('#paymentConfirm').hide();
		$('#paymentAddButton')
		.unbind()
		.click(function(){
						form = document.getElementById('paymentForm');
			option_id = 0;
			if(form.item_option.value){
				option_id = form.item_option.value;
			}
			if(addItemToBasket(form.item_number.value,array,form.site.value,parseInt(form.quantity.value, 10),option_id)){
				if($.browser.msie){$('#paymentConfirm').text('Item added to cart').show();}
				else{
					$('#paymentConfirm').text('Item added to cart').fadeIn();
					dspOrderDetails(form.site.value);
				}
			}
			else{
				$('#paymentConfirm').text('Item not added - check cookies are enabled in your browser.').fadeIn();
			}
		});
	}
}
/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
photo.prototype.fnGetImageDetails = function(){
	var temp = '';
	if (this.description != '') {
		temp = temp +  '<p id="imageDescription">' + this.description + '</p>';
	}
		if (this.photo_ref != '') {
		temp = temp + '<p class="imageinfo" id="imageRef"><strong>Ref: </strong>' + this.photo_ref + '</p>';
	}
		if (this.takendate != '') {
				
		temp = temp + '<p class="imageinfo" id="imageDate"><strong>Date: </strong>' + this.takendate + '</p>';
	}
	
	if (this.location != '') {
				
		temp = temp + '<p class="imageinfo" id="imageLocation"><strong>Location: </strong>' +  this.location + '</p>';
	}
	
	if (this.photographer != '') {
				
		temp = temp + '<p class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>' + this.photographer + '</p>';
	}
					
	temp = temp + this.fnGetPaymentInfo();
				if (temp != '') {
		temp = temp + '<div class="spacer"></div>';
	}
	return temp;
};

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
photo.prototype.fnGetPaymentInfo = function(){
	var temp = '';
	if (this.item_price !== '') {
																		temp = temp + '<p>Buy now using PayPal:</p>';
				temp = temp + '<p class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> AU$' + (this.item_price).toFixed(2) + '</p>';
		var item_name  = this.purchase_instruction;
		var amount = (this.item_price).toFixed(2);
		var item_option  = 0;
	}
	else if (this.payment_groups_id !== '') {
		temp = temp + '<p>Buy this print online:</p>';
				temp = temp + '<form id="paymentOptions" style="margin:0px;border:0px;" name="paymentOptions">';
		 									temp = temp + '<select class="paymentlink" name="payment_options_id" onchange="updateCartValue(document.forms.paymentForm,this.form.payment_options_id.options[this.form.payment_options_id.options.selectedIndex].value); if(divShowing(\'paymentConfirm\')){fadeOut(\'paymentConfirm\', 3)};">';
				
		temp = temp + getPaymentOptions(this.payment_groups_id);
		temp = temp + '</select>';
		temp = temp + '</form>';
				var item_option  = paymentGroups[this.payment_groups_id].options[0];
		if(paymentOptions[item_option]){
			var item_name  = paymentOptions[item_option].payment_option;
			var amount =  paymentOptions[item_option].price;
		}
			}
	else {
				
	}
	if (this.item_price !== '' || this.payment_groups_id !== '') {
									temp = temp + '<form id="paymentForm" style="margin:0px;border:0px;" name="paymentForm">';
	temp = temp + '	<input type="hidden" name="item_option" value="' + item_option + '">';
	temp = temp + '	<input type="hidden" name="site" value="WANDERLUST">';
		temp = temp + '	<input type="hidden" name="item_number" value="'+ this.id +'">';
			temp = temp + '	<input type="hidden" name="quantity" value="1">';
								temp = temp + '	<input value="Add to cart" id="paymentAddButton" class="button" onmouseover="this.className=\'buttonHi\'\;" onmouseout="this.className=\'button\'\;" type="Button">';
			temp = temp + '	<input value="View cart" id="paymentViewButton" class="button" onmouseover="this.className=\'buttonHi\';" onmouseout="this.className=\'button\';" type="Button" onclick="javascript:window.location=\'cart.html\'">';
	temp = temp + '</form>';
		temp = temp + '<div class="clearing">&nbsp;</div>';
	temp = temp + '<div id="confirmContainer">';
	temp = temp + '<div id="paymentConfirm">Item added to cart</div>';
	temp = temp + '</div>';
			temp = temp + '<div class="clearing">&nbsp;</div>';
	}
	return temp;};

/***************************************************************************
* Pick a photo at random from the featured images of a gallery.            *
* Gallery_id = id of gallery to choose,                                    *
* img = reference to html image in                                         *
* which to show image                                                      *
***************************************************************************/
function showGalleryImage(gallery_id, img, updateLink) {
		
	if(img){
	      if (location.hash.match('galleries_id=' + gallery_id) && (imageID = location.hash.match('.*photos_id=(.+)$'))) {
        imageID = imageID[1];
      } else {
			  imageID = randomListVal(galleries[gallery_id].featured_images);
      }
							
			if (imageID != 0) {
				img.src = thumbnails[imageID].src;
				img.width = thumbnails[imageID].width;
				img.height = thumbnails[imageID].height;
				img.alt = galleries[gallery_id].title;
        if (updateLink) {
          $(img).parent().attr({            href: thumbnails[imageID].fnGalleryLink(gallery_id),            title: galleries[gallery_id].title          });
        }
							}
										}
}

/***************************************************************************
* If we have dynamic HTML, replace the galleries link with a list that     *
* doesn't include thecurrent gallery                                       *
***************************************************************************/
function showGalleries(gallery_id) {
		
	
	if (!basic) {
		temp = '';
		for (i = 0; i < galleries.length; i++) {
						
			
			if (galleries[i].id != gallery_id) {
								
				if (temp != '') {
					temp = temp + ' | ';
				}
				temp = temp + '<a href="' + galleries[i].section_code + '_' + galleries[i].id + '.html">' + galleries[i].title + '</a>';
			}
		}
		document.all.galleryLinks.innerHTML = 'Other galleries: ' + temp;
	}
}

			

