window.thumbnails = new Object();
												thumbnails[4997463] = new thumbnail(4997463,'','','Wright_Talk_Spirit_Bear-small2_thumb.jpg',116, 150,18,'							photo_4997463.html');
												thumbnails[428153] = new thumbnail(428153,'34481','First Antarctic Landing','Antartica-Datum003_thumb.jpg',130, 38,18,'							photo_428153.html');
												thumbnails[428154] = new thumbnail(428154,'34237','Blue Ice Cruisers','antartica-wildice002_thumb.jpg',130, 86,18,'							photo_428154.html');
												thumbnails[431181] = new thumbnail(431181,'34236','Wild Ice','Antartica-Datum043_thumb.jpg',130, 87,18,'							photo_431181.html');
												thumbnails[431186] = new thumbnail(431186,'34235','Singing for the Sun','Antartica-Datum047_thumb.jpg',130, 86,18,'							photo_431186.html');
												thumbnails[431187] = new thumbnail(431187,'34235','Fly By','Antartica-Datum052_thumb.jpg',130, 86,18,'							photo_431187.html');
												thumbnails[431188] = new thumbnail(431188,'34235','Look Mate, Hop It, It\'s My Island','Antartica-Datum012_thumb.jpg',130, 87,18,'							photo_431188.html');
												thumbnails[431189] = new thumbnail(431189,'34236','Leaving Paradise','Antartica-Datum034_thumb.jpg',130, 87,18,'							photo_431189.html');
												thumbnails[431190] = new thumbnail(431190,'34236','Titans','Antartica-Datum014_thumb.jpg',130, 86,18,'							photo_431190.html');
												thumbnails[431207] = new thumbnail(431207,'34236','Twilight Tabular','Antartica-Datum016_thumb.jpg',130, 80,18,'							photo_431207.html');
												thumbnails[431209] = new thumbnail(431209,'34235','Homebound','Antartica-Datum053_thumb.jpg',130, 86,18,'							photo_431209.html');
												thumbnails[431210] = new thumbnail(431210,'34235','Predator','Antartica-Datum027_thumb.jpg',130, 87,18,'							photo_431210.html');
												thumbnails[431211] = new thumbnail(431211,'34235','Blue Ice Adelie','Antartica-Datum041_thumb.jpg',130, 87,18,'							photo_431211.html');
												thumbnails[431212] = new thumbnail(431212,'34236','Lemaire Dawn','Antartica-Datum026_thumb.jpg',130, 86,18,'							photo_431212.html');
												thumbnails[431214] = new thumbnail(431214,'34236','Icicles','Antartica-Datum037_thumb.jpg',130, 86,18,'							photo_431214.html');
												thumbnails[431215] = new thumbnail(431215,'34235','Agro','Antartica-Datum007_thumb.jpg',130, 87,18,'							photo_431215.html');
												thumbnails[431216] = new thumbnail(431216,'34236','Glacial Brash','Antartica-Datum032_thumb.jpg',130, 87,18,'							photo_431216.html');
												thumbnails[431217] = new thumbnail(431217,'34235','Roar','Antartica-Datum009_thumb.jpg',130, 99,18,'							photo_431217.html');
												thumbnails[431229] = new thumbnail(431229,'34236','Carved Blue Ice','Antartica-Datum0381_thumb.jpg',130, 86,18,'							photo_431229.html');
												thumbnails[431235] = new thumbnail(431235,'34235','I Will Follow','Antartica-Datum0011_thumb.jpg',130, 80,18,'							photo_431235.html');
												thumbnails[431236] = new thumbnail(431236,'34235','Ullo, ullo','Antartica-Datum011_thumb.jpg',130, 84,18,'							photo_431236.html');
												thumbnails[431237] = new thumbnail(431237,'34235','','Antartica-Datum042_thumb.jpg',130, 87,18,'							photo_431237.html');
												thumbnails[431238] = new thumbnail(431238,'34236','Reflections','Antartica-Datum033_thumb.jpg',130, 87,18,'							photo_431238.html');
												thumbnails[431240] = new thumbnail(431240,'34236','Blue Ice Lagoon','Antartica-Datum051_thumb.jpg',130, 87,18,'							photo_431240.html');
												thumbnails[431246] = new thumbnail(431246,'34236','Lemaire Approach','Antartica-Datum024_thumb.jpg',130, 87,18,'							photo_431246.html');
												thumbnails[431247] = new thumbnail(431247,'34235','Fast Food','Antartica-Datum045_thumb.jpg',130, 91,18,'							photo_431247.html');
												thumbnails[431264] = new thumbnail(431264,'34236','Twilight, Iceberg Alley','Antartica-Datum018_thumb.jpg',130, 86,18,'							photo_431264.html');
												thumbnails[431265] = new thumbnail(431265,'34236','Last Light over Snow Island','Antartica-Datum002_thumb.jpg',130, 84,18,'							photo_431265.html');
												thumbnails[431266] = new thumbnail(431266,'34236','Twilight over Snow Island','Antartica-Datum055_thumb.jpg',130, 74,18,'							photo_431266.html');
												thumbnails[431267] = new thumbnail(431267,'34235','Surf, Sand and Steps','Antartica-Datum049_thumb.jpg',130, 87,18,'							photo_431267.html');
												thumbnails[431268] = new thumbnail(431268,'34236','Southern Ocean Traveller','Antartica-Datum022_thumb.jpg',130, 73,18,'							photo_431268.html');
												thumbnails[431286] = new thumbnail(431286,'34235','Metropolis','Antartica-Datum040_thumb.jpg',130, 87,18,'							photo_431286.html');
												thumbnails[431315] = new thumbnail(431315,'34235','Seaweed and Feathers','Antartica-Datum010_thumb.jpg',130, 87,18,'							photo_431315.html');
												thumbnails[433275] = new thumbnail(433275,'34481','Neko Harbour I','neko-glacier-bay-panorama_thumb.jpg',130, 36,18,'							photo_433275.html');
												thumbnails[433276] = new thumbnail(433276,'34481','Neko Harbour II','ocean-neko-panorama-web_thumb.jpg',130, 36,18,'							photo_433276.html');
												thumbnails[433277] = new thumbnail(433277,'34481','Southern Ocean Tabular','french-passage-iceburg-20051002-web_thumb.jpg',130, 59,18,'							photo_433277.html');
												thumbnails[433278] = new thumbnail(433278,'34640','Crossing the Convergence','Antartica-Datum005_thumb.jpg',130, 87,18,'							photo_433278.html');
												thumbnails[433279] = new thumbnail(433279,'34640','The Southern Ocean','Antartica-Datum020_thumb.jpg',130, 86,18,'							photo_433279.html');
												thumbnails[433287] = new thumbnail(433287,'34640','Icebreaker','Antartica-Datum054_thumb.jpg',130, 86,18,'							photo_433287.html');
												thumbnails[433288] = new thumbnail(433288,'34640','Beagle Channel Dawn','Antartica-Datum056_thumb.jpg',130, 87,18,'							photo_433288.html');
												thumbnails[433289] = new thumbnail(433289,'34640','Spencer\'s Rock','Antartica-Datum021_thumb.jpg',130, 87,18,'							photo_433289.html');
												thumbnails[433290] = new thumbnail(433290,'34640','Fuegian Creek','Antartica-Datum013_thumb.jpg',130, 87,18,'							photo_433290.html');
												thumbnails[433291] = new thumbnail(433291,'34640','Lichen and Granite','Antartica-Datum031_thumb.jpg',130, 87,18,'							photo_433291.html');
												thumbnails[433292] = new thumbnail(433292,'34640','Adelies and Aliens','Antartica-Datum046_thumb.jpg',130, 87,18,'							photo_433292.html');
												thumbnails[433295] = new thumbnail(433295,'34640','Dawn Berg','Antartica-Datum006_thumb.jpg',130, 81,18,'							photo_433295.html');
												thumbnails[433306] = new thumbnail(433306,'34640','Grounded Berg','Antartica-Datum039_thumb.jpg',130, 87,18,'							photo_433306.html');
												thumbnails[433307] = new thumbnail(433307,'34447','Blue Ice','antartica-wildice405_thumb.jpg',130, 87,18,'							photo_433307.html');
												thumbnails[433308] = new thumbnail(433308,'34641','Seaweed and Granite','antartica-wildice351_thumb.jpg',130, 86,18,'							photo_433308.html');
												thumbnails[433314] = new thumbnail(433314,'34237','Ice Rider I','antartica-wildice108_thumb.jpg',130, 86,18,'							photo_433314.html');
												thumbnails[433317] = new thumbnail(433317,'34447','Blueberg','antartica-wildice121_thumb.jpg',130, 87,18,'							photo_433317.html');
												thumbnails[433319] = new thumbnail(433319,'34481','Summit Vista','antartica-wildice143_thumb.jpg',130, 36,18,'							photo_433319.html');
												thumbnails[433322] = new thumbnail(433322,'34641','Aitcho Vista','antartica-wildice017_thumb.jpg',130, 87,18,'							photo_433322.html');
												thumbnails[433325] = new thumbnail(433325,'34447','Blueberg Travellers','antartica-wildice0241_thumb.jpg',130, 85,18,'							photo_433325.html');
												thumbnails[433340] = new thumbnail(433340,'34237','Gulls and Ice','antartica-wildice207_thumb.jpg',130, 86,18,'							photo_433340.html');
												thumbnails[433342] = new thumbnail(433342,'34237','Fleeing Penguins','antartica-wildice172_thumb.jpg',130, 85,18,'							photo_433342.html');
												thumbnails[433343] = new thumbnail(433343,'34237','Gulls and Ice II','antartica-wildice205_thumb.jpg',130, 87,18,'							photo_433343.html');
												thumbnails[433345] = new thumbnail(433345,'34237','The Watchmen of Danco','antartica-wildice135_thumb.jpg',130, 86,18,'							photo_433345.html');
												thumbnails[433348] = new thumbnail(433348,'34237','Border Patrol, Brown Bluff','antartica-wildice103_thumb.jpg',130, 86,18,'							photo_433348.html');
												thumbnails[433351] = new thumbnail(433351,'34237','Flukes I','antartica-wildice394_thumb.jpg',130, 86,18,'							photo_433351.html');
												thumbnails[433356] = new thumbnail(433356,'34237','Snooze','antartica-wildice120_thumb.jpg',130, 86,18,'							photo_433356.html');
												thumbnails[433361] = new thumbnail(433361,'34237','Fat Boy Sleek','antartica-wildice101_thumb.jpg',130, 87,18,'							photo_433361.html');
												thumbnails[437232] = new thumbnail(437232,'34237','Our Last Encounter','antartica-wildice035_thumb.jpg',130, 87,18,'							photo_437232.html');
												thumbnails[437240] = new thumbnail(437240,'34237','Bailey Head Chinstrap Rookery','antartica-wildice106_thumb.jpg',130, 86,18,'							photo_437240.html');
												thumbnails[437243] = new thumbnail(437243,'34237','Waiting Chicks','antartica-wildice183_thumb.jpg',130, 88,18,'							photo_437243.html');
												thumbnails[437248] = new thumbnail(437248,'34237','','antartica-wildice185_thumb.jpg',130, 86,18,'							photo_437248.html');
												thumbnails[437249] = new thumbnail(437249,'34237','','antartica-wildice198_thumb.jpg',130, 83,18,'							photo_437249.html');
												thumbnails[437250] = new thumbnail(437250,'34237','Surprise Blows','antartica-wildice220_thumb.jpg',130, 87,18,'							photo_437250.html');
												thumbnails[437252] = new thumbnail(437252,'34237','Patrolling Leopard Seal','antartica-wildice307_thumb.jpg',130, 86,18,'							photo_437252.html');
												thumbnails[437253] = new thumbnail(437253,'34481','Shag Rock Bay','antartica-wildice407_thumb.jpg',130, 59,18,'							photo_437253.html');
												thumbnails[437266] = new thumbnail(437266,'34237','Cooling Off','antartica-wildice239_thumb.jpg',130, 89,18,'							photo_437266.html');
												thumbnails[437270] = new thumbnail(437270,'34237','Fur Seal','antartica-wildice181_thumb.jpg',130, 83,18,'							photo_437270.html');
												thumbnails[437274] = new thumbnail(437274,'34641','Entering Neko','antartica-wildice170_thumb.jpg',130, 87,18,'							photo_437274.html');
												thumbnails[437283] = new thumbnail(437283,'34237','Ice Rider II','antartica-wildice113_thumb.jpg',130, 87,18,'							photo_437283.html');
												thumbnails[437296] = new thumbnail(437296,'34845','Flukes II','antartica-wildice217_thumb.jpg',130, 86,18,'							photo_437296.html');
												thumbnails[437303] = new thumbnail(437303,'34845','Flukes III','antartica-wildice423_thumb.jpg',130, 86,18,'							photo_437303.html');
												thumbnails[437305] = new thumbnail(437305,'34845','Flukes IV','antartica-wildice424_thumb.jpg',130, 86,18,'							photo_437305.html');
												thumbnails[437307] = new thumbnail(437307,'34845','Flukes V','antartica-wildice421_thumb.jpg',130, 85,18,'							photo_437307.html');
												thumbnails[437308] = new thumbnail(437308,'34845','Flukes VII','antartica-wildice401_thumb.jpg',130, 86,18,'							photo_437308.html');
												thumbnails[437310] = new thumbnail(437310,'34845','Flukes VI','antartica-wildice426_thumb.jpg',130, 85,18,'							photo_437310.html');
												thumbnails[437313] = new thumbnail(437313,'34845','Humpback','antartica-wildice402_thumb.jpg',130, 86,18,'							photo_437313.html');
												thumbnails[438219] = new thumbnail(438219,'34447','Pleneau Vista','antartica-wildice321_thumb.jpg',130, 87,18,'							photo_438219.html');
												thumbnails[438220] = new thumbnail(438220,'34447','Blue Bergs of Pleneau','antartica-wildice323_thumb.jpg',130, 86,18,'							photo_438220.html');
												thumbnails[438221] = new thumbnail(438221,'34447','Blue Ocean Drifter','antartica-wildice332_thumb.jpg',130, 90,18,'							photo_438221.html');
												thumbnails[438222] = new thumbnail(438222,'34447','Grounded Bergs','antartica-wildice334_thumb.jpg',130, 86,18,'							photo_438222.html');
												thumbnails[438223] = new thumbnail(438223,'34447','The Stack at Point Wild','antartica-wildice362_thumb.jpg',130, 86,18,'							photo_438223.html');
												thumbnails[438224] = new thumbnail(438224,'34447','Vernadsky Arch','antartica-wildice367_thumb.jpg',130, 87,18,'							photo_438224.html');
												thumbnails[438225] = new thumbnail(438225,'34447','Vernadsky Arch II','antartica-wildice371_thumb.jpg',130, 87,18,'							photo_438225.html');
												thumbnails[438226] = new thumbnail(438226,'34447','Big Blues','antartica-wildice375_thumb.jpg',130, 85,18,'							photo_438226.html');
												thumbnails[438227] = new thumbnail(438227,'34447','Weddell Sea Tabular','antartica-wildice376_thumb.jpg',130, 77,18,'							photo_438227.html');
												thumbnails[438228] = new thumbnail(438228,'34447','Colliding Tabulars','antartica-wildice377_thumb.jpg',130, 87,18,'							photo_438228.html');
												thumbnails[438229] = new thumbnail(438229,'34447','Blue Ocean Traveller','antartica-wildice390_thumb.jpg',130, 87,18,'							photo_438229.html');
												thumbnails[438230] = new thumbnail(438230,'34447','Aitcho Chinstraps','antartica-wildice018_thumb.jpg',130, 87,18,'							photo_438230.html');
												thumbnails[438231] = new thumbnail(438231,'34447','Lemaire Passage','antartica-wildice254_thumb.jpg',130, 89,18,'							photo_438231.html');
												thumbnails[438232] = new thumbnail(438232,'34447','Southern Entrance to the Lemaire Channel','antartica-wildice251_thumb.jpg',130, 87,18,'							photo_438232.html');
												thumbnails[438233] = new thumbnail(438233,'34447','Departing Neko Harbour','antartica-wildice283_thumb.jpg',130, 86,18,'							photo_438233.html');
												thumbnails[438234] = new thumbnail(438234,'34447','Paulet Vista','antartica-wildice313_thumb.jpg',130, 86,18,'							photo_438234.html');
												thumbnails[438235] = new thumbnail(438235,'34447','Pleneau Vista II','antartica-wildice326_thumb.jpg',130, 87,18,'							photo_438235.html');
												thumbnails[438236] = new thumbnail(438236,'34641','Ice Edge','antartica-wildice355_thumb.jpg',130, 85,18,'							photo_438236.html');
												thumbnails[438237] = new thumbnail(438237,'34641','Pack Edge','antartica-wildice294_thumb.jpg',130, 86,18,'							photo_438237.html');
												thumbnails[438238] = new thumbnail(438238,'34641','Ancient Guardians of Neko','antartica-wildice280_thumb.jpg',130, 87,18,'							photo_438238.html');
												thumbnails[438239] = new thumbnail(438239,'34641','Lemaire Transit ','antartica-wildice264_thumb.jpg',130, 85,18,'							photo_438239.html');
												thumbnails[438240] = new thumbnail(438240,'34641','Ice Detail I','antartica-wildice229_thumb.jpg',130, 86,18,'							photo_438240.html');
												thumbnails[438241] = new thumbnail(438241,'34641','Crevasse Detail I','antartica-wildice118_thumb.jpg',130, 87,18,'							photo_438241.html');
												thumbnails[438242] = new thumbnail(438242,'34641','Henry Moore I','antartica-wildice089_thumb.jpg',130, 87,18,'							photo_438242.html');
												thumbnails[438243] = new thumbnail(438243,'34641','Sunset Tabular','antartica-wildice069_thumb.jpg',130, 86,18,'							photo_438243.html');
												thumbnails[438244] = new thumbnail(438244,'34641','Beagle Channel Departure','antartica-wildice061_thumb.jpg',130, 87,18,'							photo_438244.html');
												thumbnails[438245] = new thumbnail(438245,'34641','Approaching the Pack','antartica-wildice038_thumb.jpg',130, 87,18,'							photo_438245.html');
												thumbnails[438246] = new thumbnail(438246,'34237','Farewell and Adieu to the Chinnies of Aitcho','antartica-wildice032_thumb.jpg',130, 86,18,'							photo_438246.html');
												thumbnails[438247] = new thumbnail(438247,'34845','Flukes IIX','antartica-wildice054_thumb.jpg',130, 86,18,'							photo_438247.html');
												thumbnails[438248] = new thumbnail(438248,'34641','Brown Bluff Glacier','antartica-wildice099_thumb.jpg',130, 87,18,'							photo_438248.html');
												thumbnails[438249] = new thumbnail(438249,'34641','A Slice of Ice','antartica-wildice115_thumb.jpg',130, 87,18,'							photo_438249.html');
												thumbnails[438250] = new thumbnail(438250,'34237','Stranger on the Shore (me)','antartica-wildice1221_thumb.jpg',130, 85,18,'							photo_438250.html');
												thumbnails[438251] = new thumbnail(438251,'34237','Ice Foreshore','antartica-wildice1271_thumb.jpg',130, 81,18,'							photo_438251.html');
												thumbnails[438252] = new thumbnail(438252,'34237','Ice Riders','antartica-wildice137_thumb.jpg',130, 85,18,'							photo_438252.html');
												thumbnails[438253] = new thumbnail(438253,'34237','Sleeping It Off','antartica-wildice161_thumb.jpg',130, 87,18,'							photo_438253.html');
												thumbnails[438254] = new thumbnail(438254,'34641','Lost Souls of Lockroy','antartica-wildice267_thumb.jpg',130, 86,18,'							photo_438254.html');
												thumbnails[438255] = new thumbnail(438255,'34641','On the wing','antartica-wildice105_thumb.jpg',130, 87,18,'							photo_438255.html');
												thumbnails[438256] = new thumbnail(438256,'34641','To the West of Neko I','antartica-wildice276_thumb.jpg',130, 87,18,'							photo_438256.html');
												thumbnails[438257] = new thumbnail(438257,'34237','Roar II','antartica-wildice163_thumb.jpg',130, 86,18,'							photo_438257.html');
												thumbnails[438258] = new thumbnail(438258,'34641','Buba\'s Berg','antartica-wildice162_thumb.jpg',130, 85,18,'							photo_438258.html');
												thumbnails[438260] = new thumbnail(438260,'34641','Wake','antartica-wildice342_thumb.jpg',130, 82,18,'							photo_438260.html');
												thumbnails[650320] = new thumbnail(650320,'34640','Beagle Channel Dawn','terrafirma002_thumb.jpg',130, 87,18,'							photo_650320.html');
												thumbnails[650359] = new thumbnail(650359,'34235','Singing at the Sun(II)<br>\r\nPeterman Island','terrafirma021_thumb.jpg',130, 86,18,'							photo_650359.html');
												thumbnails[650402] = new thumbnail(650402,'34640','','terrafirma055_thumb.jpg',130, 87,18,'							photo_650402.html');
												thumbnails[778508] = new thumbnail(778508,'34481','Southern Ocean Fury','weather-series-web_thumb.jpg',130, 28,18,'							photo_778508.html');
												thumbnails[778510] = new thumbnail(778510,'34640','Cape Horn Weather','cape-horn-weather-web_thumb.jpg',130, 86,18,'							photo_778510.html');
												thumbnails[935205] = new thumbnail(935205,'34447','The Stack at Point Wild','the-stack-v3-srgb-web_thumb.jpg',130, 86,18,'							photo_935205.html');
												thumbnails[650317] = new thumbnail(650317,'49490','','terrafirma001_thumb.jpg',130, 88,18,'							photo_650317.html');
												thumbnails[650331] = new thumbnail(650331,'49488','Clearing Storm','terrafirma009_thumb.jpg',130, 86,18,'							photo_650331.html');
												thumbnails[650341] = new thumbnail(650341,'49490','Vertigo<br>\r\n','terrafirma013_thumb.jpg',130, 87,18,'							photo_650341.html');
												thumbnails[650345] = new thumbnail(650345,'49488','Last Light, Wreck Beach','terrafirma015_thumb.jpg',130, 86,18,'							photo_650345.html');
												thumbnails[650349] = new thumbnail(650349,'49488','Long Beach<br>\r\n','terrafirma016_thumb.jpg',130, 86,18,'							photo_650349.html');
												thumbnails[650355] = new thumbnail(650355,'49488','Long Beach Dawn<br>\r\n','terrafirma017_thumb.jpg',130, 85,18,'							photo_650355.html');
												thumbnails[650361] = new thumbnail(650361,'49488','Blue Calm','terrafirma022_thumb.jpg',130, 73,18,'							photo_650361.html');
												thumbnails[650370] = new thumbnail(650370,'49490','Shanghai Taxi Ride<br>\r\nSnaps(II)','terrafirma025_thumb.jpg',130, 86,18,'							photo_650370.html');
												thumbnails[650378] = new thumbnail(650378,'49490','Stockholm Express','terrafirma049_thumb.jpg',130, 96,18,'							photo_650378.html');
												thumbnails[650384] = new thumbnail(650384,'49488','Last Light, Spanish Banks','terrafirma050_thumb.jpg',130, 86,18,'							photo_650384.html');
												thumbnails[650388] = new thumbnail(650388,'49488','Last Light over Bowen','terrafirma051_thumb.jpg',130, 76,18,'							photo_650388.html');
												thumbnails[650396] = new thumbnail(650396,'49488','Wreck Beach Storm Approach','terrafirma052_thumb.jpg',130, 86,18,'							photo_650396.html');
												thumbnails[650400] = new thumbnail(650400,'49490','Deep South Taxi','terrafirma054_thumb.jpg',130, 82,18,'							photo_650400.html');
												thumbnails[650405] = new thumbnail(650405,'49488','Long Beach Sunset<br>\r\n','terrafirma057_thumb.jpg',130, 89,18,'							photo_650405.html');
												thumbnails[650408] = new thumbnail(650408,'49490','February 2004, Wreck Beach<br>\r\n','terrafirma062_thumb.jpg',130, 91,18,'							photo_650408.html');
												thumbnails[650412] = new thumbnail(650412,'49549','How White is My Valley<br>\r\n','terrafirma058_thumb.jpg',130, 61,18,'							photo_650412.html');
												thumbnails[650413] = new thumbnail(650413,'49549','Millenium Dawn','terrafirma060_thumb.jpg',130, 103,18,'							photo_650413.html');
												thumbnails[650416] = new thumbnail(650416,'49549','Millenium Morn','terrafirma061_thumb.jpg',130, 88,18,'							photo_650416.html');
												thumbnails[650418] = new thumbnail(650418,'49549','Emerald Lake<br>\r\n','terrafirma063_thumb.jpg',130, 85,18,'							photo_650418.html');
												thumbnails[650423] = new thumbnail(650423,'49549','Emerald Lake(II)<br>\r\n','terrafirma066_thumb.jpg',130, 86,18,'							photo_650423.html');
												thumbnails[651630] = new thumbnail(651630,'49549','Dusk','terrafirma032_thumb.jpg',130, 85,18,'							photo_651630.html');
												thumbnails[1501509] = new thumbnail(1501509,'103167','Forlorn','forlorn-grizzly_N2B2006_DxO-web_thumb.jpg',130, 87,18,'							photo_1501509.html');
												thumbnails[1501510] = new thumbnail(1501510,'103168','Muscle Inlet','muscle-bwmuscle_estuary-pt2_N2A1448_20071006_20071011-web_thumb.jpg',130, 87,18,'							photo_1501510.html');
												thumbnails[1501511] = new thumbnail(1501511,'103166','','Grizzly_bear_N2B1798-web_thumb.jpg',130, 87,18,'							photo_1501511.html');
												thumbnails[1501521] = new thumbnail(1501521,'103167','Eden\'s Fjord<br>\r\n<br>\r\n','Fjord_Eden_N2B1937_20071001-web_thumb.jpg',130, 87,18,'							photo_1501521.html');
												thumbnails[1501522] = new thumbnail(1501522,'103167','Bubble Net and Flukes','bubble-net_N2B2060_20071008-web_thumb.jpg',130, 87,18,'							photo_1501522.html');
												thumbnails[1501523] = new thumbnail(1501523,'103167','Khutz Estuary','khutz-estuary_N2A1459nx-web_thumb.jpg',130, 87,18,'							photo_1501523.html');
												thumbnails[1501524] = new thumbnail(1501524,'103167','','algee-stain_N2A1535_20071006-web_thumb.jpg',130, 87,18,'							photo_1501524.html');
												thumbnails[1501525] = new thumbnail(1501525,'103167','Primal Dawn','fire-ridge-dawn_N2B2279nx-web_thumb.jpg',130, 87,18,'							photo_1501525.html');
												thumbnails[1501526] = new thumbnail(1501526,'103167','View from the Underworld','under-world_N2A1308nx-web_thumb.jpg',130, 87,18,'							photo_1501526.html');
												thumbnails[1501527] = new thumbnail(1501527,'103167','Inbound','salmons_return_N2B2342nx-web_thumb.jpg',130, 87,18,'							photo_1501527.html');
												thumbnails[1501528] = new thumbnail(1501528,'103167','','mussel_estuary_N2B1825_20070930_web_thumb.jpg',130, 87,18,'							photo_1501528.html');
												thumbnails[1501529] = new thumbnail(1501529,'103167','Crystal Falls','waterfall_N2A1482nx-web_thumb.jpg',130, 87,18,'							photo_1501529.html');
												thumbnails[1501530] = new thumbnail(1501530,'103167','Primal Stands','sun_fog_rise_N2B2275_20070930-web_thumb.jpg',130, 87,18,'							photo_1501530.html');
												thumbnails[1501531] = new thumbnail(1501531,'103167','Ocean\'s Edge','waters-edge_N2A1532nx-crop-web_thumb.jpg',130, 87,18,'							photo_1501531.html');
												thumbnails[1501534] = new thumbnail(1501534,'103167','York Point Whales, I','york-point-humbacks_N2B2516_20071008-web_thumb.jpg',130, 87,18,'							photo_1501534.html');
												thumbnails[1501535] = new thumbnail(1501535,'103167','York Point Whales, II','york-point-humback-pt2_N2B2509_20071008-web_thumb.jpg',130, 87,18,'							photo_1501535.html');
												thumbnails[1501537] = new thumbnail(1501537,'103167','Fjord Diver','humback-sheep-channel_N2B2148_20071008-web_thumb.jpg',130, 87,18,'							photo_1501537.html');
												thumbnails[1501539] = new thumbnail(1501539,'103170','Khutze Estuary Sentry','bald_eagle_N2B2120_20070930-web_thumb.jpg',101, 150,18,'							photo_1501539.html');
												thumbnails[1501540] = new thumbnail(1501540,'103170','Pristine Falls','water-rock-fall_N2B2176_20071006-web_thumb.jpg',101, 150,18,'							photo_1501540.html');
												thumbnails[1501541] = new thumbnail(1501541,'103170','Muscle Inlet Estuary','muscle_estuary_N2A1443_20071006-crop-web_thumb.jpg',113, 150,18,'							photo_1501541.html');
												thumbnails[1501542] = new thumbnail(1501542,'103170','Dall\'s Dance, I','dalls-part3_N2A1615_20071008-web_thumb.jpg',113, 150,18,'							photo_1501542.html');
												thumbnails[1501543] = new thumbnail(1501543,'103170','Dall\'s Dance, II','dalls-part1_N2A1601_20071006-web_thumb.jpg',113, 150,18,'							photo_1501543.html');
												thumbnails[1501544] = new thumbnail(1501544,'103170','Ocean\'s Edge, II','waters-edge-pt2_N2A1544nx-web_thumb.jpg',113, 150,18,'							photo_1501544.html');
												thumbnails[1501545] = new thumbnail(1501545,'103170','The Raincoast\'s Angels Falls','angel-falls_N2B1762_20071013-crop-web_thumb.jpg',130, 130,18,'							photo_1501545.html');
												thumbnails[1501546] = new thumbnail(1501546,'103170','Prestine, Heart of the Raincoast','kynoch-estuary-crop_N2A1371_20071006-web_thumb.jpg',130, 130,18,'							photo_1501546.html');
												thumbnails[1501547] = new thumbnail(1501547,'103170','','grizzly-muscle_N2B2003_20071015-web_thumb.jpg',130, 130,18,'							photo_1501547.html');
												thumbnails[1501550] = new thumbnail(1501550,'103168','Immense','fjord-land-bw_N2B1733_20071013-crop-web_thumb.jpg',130, 87,18,'							photo_1501550.html');
												thumbnails[1501551] = new thumbnail(1501551,'103168','Paradise Found','island_N2B2198_20071006-web_thumb.jpg',130, 87,18,'							photo_1501551.html');
												thumbnails[1501552] = new thumbnail(1501552,'103168','Tide Line Bull Kelp','seaweed-bw_N2A1796_20071013-web_thumb.jpg',130, 87,18,'							photo_1501552.html');
												thumbnails[1501553] = new thumbnail(1501553,'103168','Raven and the Ratfish','raven-and-purpoise_N2A1805-crop-web_thumb.jpg',130, 87,18,'							photo_1501553.html');
												thumbnails[1501554] = new thumbnail(1501554,'103168','Breathe','forest_N2B1719_20071019-web1_thumb.jpg',130, 87,18,'							photo_1501554.html');
												thumbnails[1501556] = new thumbnail(1501556,'103168','Fog Bound Fjord, I','Fjord_Fog_N2A1327_20071001-web_thumb.jpg',130, 65,18,'							photo_1501556.html');
												thumbnails[1501557] = new thumbnail(1501557,'103168','Fog Bound Fjord, II','Rain-Fjord_N2A1329_20071002-web_thumb.jpg',130, 65,18,'							photo_1501557.html');
												thumbnails[1502558] = new thumbnail(1502558,'103166','On Guard','grizzly-muscle_N2B1835_20071015-web_thumb.jpg',130, 87,18,'							photo_1502558.html');
												thumbnails[1502559] = new thumbnail(1502559,'103166','','grizzly-muscle_N2B1880_20071016-web_thumb.jpg',130, 87,18,'							photo_1502559.html');
												thumbnails[1502560] = new thumbnail(1502560,'103166','Just Too Much','grizzly_bear_N2B1896_web_thumb.jpg',130, 87,18,'							photo_1502560.html');
												thumbnails[1502564] = new thumbnail(1502564,'103166','Wary','grizzly-muscle_N2B1911_20071015-web_thumb.jpg',130, 87,18,'							photo_1502564.html');
												thumbnails[1502582] = new thumbnail(1502582,'103166','Salmon Siesta','sleeping grizzly_N2B2027_20071016-web_thumb.jpg',130, 87,18,'							photo_1502582.html');
												thumbnails[1502586] = new thumbnail(1502586,'103166','','grizzly-muscle_N2B1901_20071015-web_thumb.jpg',130, 87,18,'							photo_1502586.html');
												thumbnails[1502594] = new thumbnail(1502594,'103166','','grizzly-muscle_N2B1863_20071015-web_thumb.jpg',130, 87,18,'							photo_1502594.html');
												thumbnails[1502598] = new thumbnail(1502598,'103166','','grizzly-muscle_N2B1865_20071015-web_thumb.jpg',130, 87,18,'							photo_1502598.html');
												thumbnails[1502608] = new thumbnail(1502608,'103166','','grizzly-muscle_N2B1883_20071015-web_thumb.jpg',130, 87,18,'							photo_1502608.html');
												thumbnails[1502621] = new thumbnail(1502621,'103166','','grizzly-muscle-estuary_N2B2019_20071013-web_thumb.jpg',130, 87,18,'							photo_1502621.html');
												thumbnails[1502624] = new thumbnail(1502624,'103166','','grizzly-muscle_N2B1906_20071015-web_thumb.jpg',130, 87,18,'							photo_1502624.html');
												thumbnails[1502633] = new thumbnail(1502633,'103166','First Lords of the Estuary','grizzly-muscle_N2B1874_20071016-web_thumb.jpg',130, 130,18,'							photo_1502633.html');
												thumbnails[1502636] = new thumbnail(1502636,'103166','','grizzly-muscle_N2B2003_20071015-web1_thumb.jpg',130, 130,18,'							photo_1502636.html');
												thumbnails[1502641] = new thumbnail(1502641,'103166','A Bear Called Sorrow','grizzly-muscle_N2B2014_20071015-crop-web_thumb.jpg',130, 130,18,'							photo_1502641.html');
												thumbnails[1502654] = new thumbnail(1502654,'103253','A Bear Named Spirit','spirit-bear_N2B2307_20071016-web_thumb.jpg',130, 87,18,'							photo_1502654.html');
												thumbnails[1502657] = new thumbnail(1502657,'103253','','spirit-bear_N2B2318_20071016-web_thumb.jpg',130, 87,18,'							photo_1502657.html');
												thumbnails[1502658] = new thumbnail(1502658,'103253','Message Bearer','spirit-bear_N2B2334_20071016-crop-web_thumb.jpg',130, 87,18,'							photo_1502658.html');
												thumbnails[1502663] = new thumbnail(1502663,'103253','Them River\'s Run Cold','spirit-bear_N2B2313_20071019-web_thumb.jpg',130, 87,18,'							photo_1502663.html');
												thumbnails[1502668] = new thumbnail(1502668,'103253','','spirit-bear_N2B2330_20071019-web_thumb.jpg',130, 87,18,'							photo_1502668.html');
												thumbnails[1502686] = new thumbnail(1502686,'103253','Tricky Things Them Fish','black-bear-gribble_N2B2401_20071015-web_thumb.jpg',130, 87,18,'							photo_1502686.html');
												thumbnails[1502739] = new thumbnail(1502739,'103253','','black-bear-gribble_N2B2402_20071015-web_thumb.jpg',130, 87,18,'							photo_1502739.html');
												thumbnails[1502741] = new thumbnail(1502741,'103253','','black-bear-gribble_N2B2441_20071015-web_thumb.jpg',130, 130,18,'							photo_1502741.html');
												thumbnails[1502744] = new thumbnail(1502744,'103253','','black-bear-gribble_N2B2412_20071015-web_thumb.jpg',130, 130,18,'							photo_1502744.html');
												thumbnails[1557315] = new thumbnail(1557315,'103168','Among the Ancients','ancient-longhouse_N2A1835_20071105-web_thumb.jpg',130, 87,18,'							photo_1557315.html');
												thumbnails[2338738] = new thumbnail(2338738,'49488','Extinction Point','extinction-point-web_thumb.jpg',130, 87,18,'							photo_2338738.html');
												thumbnails[3263180] = new thumbnail(3263180,'199055','','bald-eagle_N2B3674-web_thumb.jpg',130, 87,18,'							photo_3263180.html');
												thumbnails[3263183] = new thumbnail(3263183,'199055','','black-bear_N2B3497_web-cropped_thumb.jpg',130, 87,18,'							photo_3263183.html');
												thumbnails[3263185] = new thumbnail(3263185,'199055','','blow_N2B3740-web_thumb.jpg',130, 87,18,'							photo_3263185.html');
												thumbnails[3263187] = new thumbnail(3263187,'199055','','canopy-edge_N2B3663-web_thumb.jpg',130, 87,18,'							photo_3263187.html');
												thumbnails[3263188] = new thumbnail(3263188,'199055','','eagles_flight_N2B3893-web_thumb.jpg',130, 87,18,'							photo_3263188.html');
												thumbnails[3263189] = new thumbnail(3263189,'199055','','eagles-flight_N2B3827-web_thumb.jpg',130, 87,18,'							photo_3263189.html');
												thumbnails[3263190] = new thumbnail(3263190,'199055','','estuary_N2B3658-web_thumb.jpg',130, 87,18,'							photo_3263190.html');
												thumbnails[3263191] = new thumbnail(3263191,'199055','','float-pane-over-gbr_N2A3222-web_thumb.jpg',130, 87,18,'							photo_3263191.html');
												thumbnails[3263193] = new thumbnail(3263193,'199055','','granite-wall_N2A3369-web_thumb.jpg',130, 87,18,'							photo_3263193.html');
												thumbnails[3263195] = new thumbnail(3263195,'199055','','grizzlies_N2B3782_web_thumb.jpg',130, 87,18,'							photo_3263195.html');
												thumbnails[3263197] = new thumbnail(3263197,'199055','','grizzlies_N2B3794-cropped-web_thumb.jpg',130, 87,18,'							photo_3263197.html');
												thumbnails[3263200] = new thumbnail(3263200,'199055','','grizzlies_N2B3870-web_thumb.jpg',130, 87,18,'							photo_3263200.html');
												thumbnails[3263203] = new thumbnail(3263203,'199055','','grizzly&eagle_N2B3885-web_thumb.jpg',130, 87,18,'							photo_3263203.html');
												thumbnails[3263206] = new thumbnail(3263206,'199055','','grizzly_N2B3769_web_thumb.jpg',130, 87,18,'							photo_3263206.html');
												thumbnails[3263213] = new thumbnail(3263213,'199055','','grizzly_N2B3867-web_thumb.jpg',130, 87,18,'							photo_3263213.html');
												thumbnails[3263215] = new thumbnail(3263215,'199055','','grizzly_N2B3871-web_thumb.jpg',130, 87,18,'							photo_3263215.html');
												thumbnails[3263220] = new thumbnail(3263220,'199055','','grizzly-bear_N2B3784-web_thumb.jpg',130, 87,18,'							photo_3263220.html');
												thumbnails[3263221] = new thumbnail(3263221,'199055','','grizzly-bear_N2B3874_DxO-web_thumb.jpg',130, 87,18,'							photo_3263221.html');
												thumbnails[3263222] = new thumbnail(3263222,'199055','','humpback_N2B3518-web_thumb.jpg',130, 87,18,'							photo_3263222.html');
												thumbnails[3263223] = new thumbnail(3263223,'199055','','humpback_N2B3533-web_thumb.jpg',130, 87,18,'							photo_3263223.html');
												thumbnails[3263225] = new thumbnail(3263225,'199055','','humpback_N2B3548-web_thumb.jpg',130, 87,18,'							photo_3263225.html');
												thumbnails[3263227] = new thumbnail(3263227,'199055','','humpback_N2B3555-web_thumb.jpg',130, 87,18,'							photo_3263227.html');
												thumbnails[3263228] = new thumbnail(3263228,'199055','','last-gasp-salmon-bay_N2A3472-web_thumb.jpg',130, 87,18,'							photo_3263228.html');
												thumbnails[3263229] = new thumbnail(3263229,'199055','','life-birth-death_N2B3979-v2-web_thumb.jpg',130, 87,18,'							photo_3263229.html');
												thumbnails[3263232] = new thumbnail(3263232,'199055','','rainforest-reflection_N2B3594-web_thumb.jpg',130, 87,18,'							photo_3263232.html');
												thumbnails[3263233] = new thumbnail(3263233,'199055','','reflections_N2A3290-web_thumb.jpg',130, 87,18,'							photo_3263233.html');
												thumbnails[3263237] = new thumbnail(3263237,'199055','In This Lucid Dream','reflections-rainforest_N2B3620-web_thumb.jpg',130, 87,18,'							photo_3263237.html');
												thumbnails[3263239] = new thumbnail(3263239,'199055','','river-bank_N2B3664-web_thumb.jpg',130, 87,18,'							photo_3263239.html');
												thumbnails[3263240] = new thumbnail(3263240,'199055','','salmon-pool_N2B3975_DxO_web_thumb.jpg',130, 87,18,'							photo_3263240.html');
												thumbnails[3263243] = new thumbnail(3263243,'199055','','salmon-pool-gbr09_N2B3944-cropped-web_thumb.jpg',130, 87,18,'							photo_3263243.html');
												thumbnails[3263246] = new thumbnail(3263246,'199055','','salmon-pool-gbr09_N2B3952-web_thumb.jpg',130, 87,18,'							photo_3263246.html');
												thumbnails[3263248] = new thumbnail(3263248,'199055','','sleeping-whales_N2B3622-web_thumb.jpg',130, 87,18,'							photo_3263248.html');
												thumbnails[3263253] = new thumbnail(3263253,'199055','The Last Wild Salmon','the-last-wild-salmon_N2A3456-web_thumb.jpg',130, 87,18,'							photo_3263253.html');
												thumbnails[3263254] = new thumbnail(3263254,'199055','','whale_N2B3523-web_thumb.jpg',130, 87,18,'							photo_3263254.html');
												thumbnails[3263255] = new thumbnail(3263255,'199055','','waterfalls_N2A3340-web_thumb.jpg',130, 87,18,'							photo_3263255.html');
												thumbnails[3263256] = new thumbnail(3263256,'199055','','waterfalls_N2A3244-web_thumb.jpg',101, 150,18,'							photo_3263256.html');
												thumbnails[5374841] = new thumbnail(5374841,'303063','','faltering-light01_thumb.jpg',130, 87,18,'							photo_5374841.html');
												thumbnails[5374843] = new thumbnail(5374843,'303063','','faltering-light02_thumb.jpg',130, 87,18,'							photo_5374843.html');
												thumbnails[5374847] = new thumbnail(5374847,'303063','','faltering-light03_thumb.jpg',130, 87,18,'							photo_5374847.html');
												thumbnails[5374850] = new thumbnail(5374850,'303063','','faltering-light04_thumb.jpg',130, 87,18,'							photo_5374850.html');
												thumbnails[5374851] = new thumbnail(5374851,'303063','','faltering-light05_thumb.jpg',130, 87,18,'							photo_5374851.html');
												thumbnails[5374853] = new thumbnail(5374853,'303063','','faltering-light06_thumb.jpg',130, 87,18,'							photo_5374853.html');
												thumbnails[5374855] = new thumbnail(5374855,'303063','','faltering-light07_thumb.jpg',130, 87,18,'							photo_5374855.html');
												thumbnails[5374857] = new thumbnail(5374857,'303063','','faltering-light08_thumb.jpg',130, 87,18,'							photo_5374857.html');
												thumbnails[5374858] = new thumbnail(5374858,'303063','','faltering-light09_thumb.jpg',130, 87,18,'							photo_5374858.html');
												thumbnails[5374861] = new thumbnail(5374861,'303063','','faltering-light10_thumb.jpg',130, 87,18,'							photo_5374861.html');
												thumbnails[5374863] = new thumbnail(5374863,'303063','','faltering-light11_thumb.jpg',130, 87,18,'							photo_5374863.html');
												thumbnails[5374864] = new thumbnail(5374864,'303063','','faltering-light12_thumb.jpg',130, 87,18,'							photo_5374864.html');
												thumbnails[5374866] = new thumbnail(5374866,'303063','','faltering-light13_thumb.jpg',130, 87,18,'							photo_5374866.html');
												thumbnails[5374867] = new thumbnail(5374867,'303063','','faltering-light14_thumb.jpg',130, 87,18,'							photo_5374867.html');
												thumbnails[5374868] = new thumbnail(5374868,'303063','','faltering-light15_thumb.jpg',130, 55,18,'							photo_5374868.html');
												thumbnails[5374869] = new thumbnail(5374869,'303063','','faltering-light16_thumb.jpg',130, 87,18,'							photo_5374869.html');
												thumbnails[650325] = new thumbnail(650325,'49488','Gathering Storm Over Cowen Point','terrafirma003_thumb.jpg',130, 131,18,'							photo_650325.html');
												thumbnails[650334] = new thumbnail(650334,'49490','Homage','homage-for-ansel-ps_thumb.jpg',130, 194,18,'							photo_650334.html');
												thumbnails[650367] = new thumbnail(650367,'49490','Shanghai Taxi Ride','shanghai-taxi-ride-4_thumb.jpg',130, 195,18,'							photo_650367.html');
												thumbnails[650426] = new thumbnail(650426,'49549','Yellowstone Canyon','yellowstone-no8-1999ps_thumb.jpg',130, 195,18,'							photo_650426.html');
												thumbnails[650429] = new thumbnail(650429,'49549','Twin Geysers','yellowstone-no7-1999ps_thumb.jpg',130, 185,18,'							photo_650429.html');
												thumbnails[651632] = new thumbnail(651632,'49489','Antelope Canyon (I)','canyon001_thumb.jpg',130, 195,18,'							photo_651632.html');
												thumbnails[651682] = new thumbnail(651682,'49489','Antelope Canyon (II)','canyon020_thumb.jpg',130, 191,18,'							photo_651682.html');
												thumbnails[651674] = new thumbnail(651674,'49489','Antelope Canyon (III)','canyon013_thumb.jpg',130, 196,18,'							photo_651674.html');
												thumbnails[651678] = new thumbnail(651678,'49489','Antelope Canyon (IV)','canyon0092_thumb.jpg',130, 196,18,'							photo_651678.html');
												thumbnails[651680] = new thumbnail(651680,'49489','Antelope Canyon (V)','canyon017_thumb.jpg',130, 191,18,'							photo_651680.html');
												thumbnails[651670] = new thumbnail(651670,'49489','Antelope Canyon (VI)','canyon011_thumb.jpg',130, 197,18,'							photo_651670.html');
												thumbnails[651676] = new thumbnail(651676,'49489','Antelope Canyon (IIX)','canyon014_thumb.jpg',130, 194,18,'							photo_651676.html');
												thumbnails[651639] = new thumbnail(651639,'49489','Antelope Canyon (IX)','canyon005_thumb.jpg',130, 196,18,'							photo_651639.html');
												thumbnails[651683] = new thumbnail(651683,'49489','Antelope Canyon (X)','canyon021_thumb.jpg',130, 196,18,'							photo_651683.html');
												thumbnails[651640] = new thumbnail(651640,'49489','Antelope Canyon','terrafirma031_thumb.jpg',130, 87,18,'							photo_651640.html');
												thumbnails[1194226] = new thumbnail(1194226,'85825','Polar Pack Ice<br>\r\n','polar-pack-ice_thumb.jpg',130, 87,18,'							photo_1194226.html');
												thumbnails[1194236] = new thumbnail(1194236,'85822','','polar-bear_web-N2B0557v2_thumb.jpg',130, 130,18,'							photo_1194236.html');
												thumbnails[1194267] = new thumbnail(1194267,'85822','','polar-bear-web_N2B0551_20070711_thumb.jpg',130, 130,18,'							photo_1194267.html');
												thumbnails[1194269] = new thumbnail(1194269,'85822','','polar-bear_N2B0504_20070710_thumb.jpg',130, 130,18,'							photo_1194269.html');
												thumbnails[1194272] = new thumbnail(1194272,'85822','','polar-bear-web_N2B0475_20070710_thumb.jpg',130, 130,18,'							photo_1194272.html');
												thumbnails[1194275] = new thumbnail(1194275,'85822','','polar-bear-web_N2B0562v2_thumb.jpg',130, 130,18,'							photo_1194275.html');
												thumbnails[1194279] = new thumbnail(1194279,'85822','','polar-bear_N2B0516_20070711_thumb.jpg',130, 130,18,'							photo_1194279.html');
												thumbnails[1194280] = new thumbnail(1194280,'85822','','polar-bear-web_N2B0514_20070711_thumb.jpg',130, 130,18,'							photo_1194280.html');
												thumbnails[1194283] = new thumbnail(1194283,'85822','','polar-bear-web_N2B0842_20070711_thumb.jpg',130, 130,18,'							photo_1194283.html');
												thumbnails[1194287] = new thumbnail(1194287,'85822','','polar-bear-web_N2B0381_thumb.jpg',130, 130,18,'							photo_1194287.html');
												thumbnails[1194298] = new thumbnail(1194298,'85825','Into The Pack<br>\r\n<br>\r\n','polar-pack_thumb.jpg',130, 87,18,'							photo_1194298.html');
												thumbnails[1194302] = new thumbnail(1194302,'85825','Glacial Brash<br>\r\n<br>\r\n<br>\r\n','glacial-brash_N2A1174_thumb.jpg',130, 87,18,'							photo_1194302.html');
												thumbnails[1194304] = new thumbnail(1194304,'85825','Ice Detail from a Blue Berg','blue-burg-ice_web-N2B0791_thumb.jpg',130, 87,18,'							photo_1194304.html');
												thumbnails[1194308] = new thumbnail(1194308,'85825','Brash Ice Bay<br>\r\n','pack-ice_N2A0781_20070712_thumb.jpg',130, 87,18,'							photo_1194308.html');
												thumbnails[1194312] = new thumbnail(1194312,'85825','Pressure Ridge Ice Melt','pressure-ice_N2A0798_20070712_thumb.jpg',130, 87,18,'							photo_1194312.html');
												thumbnails[1194320] = new thumbnail(1194320,'85825','','glacier_N2B0289_20070717_thumb.jpg',130, 87,18,'							photo_1194320.html');
												thumbnails[1194327] = new thumbnail(1194327,'85825','An Open Lead?','lead_N2B0302v2-web_thumb.jpg',130, 87,18,'							photo_1194327.html');
												thumbnails[1194332] = new thumbnail(1194332,'85825','','glacier-detail_N2B0961_20070711_thumb.jpg',130, 87,18,'							photo_1194332.html');
												thumbnails[1194348] = new thumbnail(1194348,'85832','','bear-fjord_N2A0869_20070713_thumb.jpg',130, 87,18,'							photo_1194348.html');
												thumbnails[1194350] = new thumbnail(1194350,'85832','In Gods Country','bear-fjord_N2A0885_20070713_thumb.jpg',130, 87,18,'							photo_1194350.html');
												thumbnails[1194355] = new thumbnail(1194355,'85832','Polar Bear Skull','bear-skull_N2A0613_thumb.jpg',130, 87,18,'							photo_1194355.html');
												thumbnails[1194368] = new thumbnail(1194368,'85832','','gulls-sun_N2B1127_20070719_thumb.jpg',130, 87,18,'							photo_1194368.html');
												thumbnails[1194374] = new thumbnail(1194374,'85832','','king-fjord_N2A1202_20070712_thumb.jpg',130, 87,18,'							photo_1194374.html');
												thumbnails[1194377] = new thumbnail(1194377,'85832','Midnight at 80N','midnight_N2A0597_20070712_thumb.jpg',130, 87,18,'							photo_1194377.html');
												thumbnails[1194378] = new thumbnail(1194378,'85832','','ocean-sunset_N2A1224_20070713_thumb.jpg',130, 87,18,'							photo_1194378.html');
												thumbnails[1194380] = new thumbnail(1194380,'85832','','origo-blue-ice-web_N2B1089_thumb.jpg',130, 87,18,'							photo_1194380.html');
												thumbnails[1194383] = new thumbnail(1194383,'85832','MV Origo','Origo-web_N2A0915_thumb.jpg',130, 87,18,'							photo_1194383.html');
												thumbnails[1194389] = new thumbnail(1194389,'85850','Passage Maker','passage_N2A0593_thumb.jpg',130, 87,18,'							photo_1194389.html');
												thumbnails[1194395] = new thumbnail(1194395,'85832','This is Svalbard<br>\r\n','svalbad_N2B0604_20070717_thumb.jpg',130, 87,18,'							photo_1194395.html');
												thumbnails[1194408] = new thumbnail(1194408,'85832','','lagoon_N2A0636_20070712_thumb.jpg',130, 87,18,'							photo_1194408.html');
												thumbnails[1194421] = new thumbnail(1194421,'85834','','bearded-seal_cropped-N2B0932_20070711_thumb.jpg',130, 130,18,'							photo_1194421.html');
												thumbnails[1194424] = new thumbnail(1194424,'85834','','bearded-seal_N2B0922_20070711_thumb.jpg',130, 130,18,'							photo_1194424.html');
												thumbnails[1194429] = new thumbnail(1194429,'85834','','bearded-seal_N2B0931_20070711_thumb.jpg',130, 130,18,'							photo_1194429.html');
												thumbnails[1194431] = new thumbnail(1194431,'85834','','bearded-seal_N2B0932_20070711_thumb.jpg',130, 130,18,'							photo_1194431.html');
												thumbnails[1194433] = new thumbnail(1194433,'85834','','bearded-seal_N2B0933_thumb.jpg',130, 130,18,'							photo_1194433.html');
												thumbnails[1194434] = new thumbnail(1194434,'85834','','bearded-seal_N2B0935_20070711_thumb.jpg',130, 130,18,'							photo_1194434.html');
												thumbnails[1194435] = new thumbnail(1194435,'85834','','bearded-seal_N2B1055_20070711_thumb.jpg',130, 130,18,'							photo_1194435.html');
												thumbnails[1194441] = new thumbnail(1194441,'85834','Oh its so warm ','walrus_N2B1177_20070720_thumb.jpg',130, 130,18,'							photo_1194441.html');
												thumbnails[1194443] = new thumbnail(1194443,'85834','','walrus_N2B1204_20070720_thumb.jpg',130, 130,18,'							photo_1194443.html');
												thumbnails[1194448] = new thumbnail(1194448,'85834','','walrus_N2B1297_20070720_thumb.jpg',130, 130,18,'							photo_1194448.html');
												thumbnails[1194449] = new thumbnail(1194449,'85834','','walrus_N2B1404_20070720_thumb.jpg',130, 130,18,'							photo_1194449.html');
												thumbnails[1194518] = new thumbnail(1194518,'85834','','raindeer_N2B1423_20070711_thumb.jpg',130, 130,18,'							photo_1194518.html');
												thumbnails[1194520] = new thumbnail(1194520,'85834','','raindeer_N2B1432_20070711_thumb.jpg',130, 87,18,'							photo_1194520.html');
												thumbnails[1194542] = new thumbnail(1194542,'85834','','gulls-glacier_N2B0905_20070719_thumb.jpg',130, 87,18,'							photo_1194542.html');
												thumbnails[1194543] = new thumbnail(1194543,'85832','Tundra','tundra_N2A0774_20070712_thumb.jpg',130, 87,18,'							photo_1194543.html');
												thumbnails[1194551] = new thumbnail(1194551,'85850','','zodiac-explorers_N2B1378_20070719_thumb.jpg',130, 87,18,'							photo_1194551.html');
												thumbnails[1194552] = new thumbnail(1194552,'85850','','zodiac-explorers-pt2_N2B1372_20070719_thumb.jpg',130, 87,18,'							photo_1194552.html');
												thumbnails[1195428] = new thumbnail(1195428,'85834','','birds_N2A0758_thumb.jpg',130, 87,18,'							photo_1195428.html');
												thumbnails[1195429] = new thumbnail(1195429,'85834','Little Auk Flight Path','birds_N2B0216_20070721_thumb.jpg',130, 87,18,'							photo_1195429.html');
												thumbnails[1195430] = new thumbnail(1195430,'85834','','birds_N2B0357_thumb.jpg',130, 87,18,'							photo_1195430.html');
												thumbnails[1195431] = new thumbnail(1195431,'85834','','birds_N2B0370_20070721_thumb.jpg',130, 87,18,'							photo_1195431.html');
												thumbnails[1195432] = new thumbnail(1195432,'85834','','birds_N2B0736_20070721_thumb.jpg',130, 87,18,'							photo_1195432.html');
												thumbnails[1198657] = new thumbnail(1198657,'85834','','birds_N2B0718_thumb.jpg',130, 87,18,'							photo_1198657.html');
												thumbnails[1216344] = new thumbnail(1216344,'85832','','krossfjorden--web_thumb.jpg',130, 30,18,'							photo_1216344.html');
												thumbnails[1216356] = new thumbnail(1216356,'85832','','origo-glacier_N2B1103_20070727_thumb.jpg',130, 87,18,'							photo_1216356.html');
												thumbnails[1220054] = new thumbnail(1220054,'85850','','origo-fog-zodiac_N2B0327_thumb.jpg',130, 87,18,'							photo_1220054.html');
												thumbnails[1194402] = new thumbnail(1194402,'85832','','cape-ice_N2A1258-pt2_thumb.jpg',100, 150,18,'							photo_1194402.html');
												thumbnails[1194446] = new thumbnail(1194446,'85834','','walrus_N2B1266_20070720_thumb.jpg',130, 87,18,'							photo_1194446.html');
												thumbnails[1198655] = new thumbnail(1198655,'85834','','birds_N2B0631_20070722_thumb.jpg',130, 130,18,'							photo_1198655.html');
												thumbnails[1198656] = new thumbnail(1198656,'85834','','birds_N2B0636_thumb.jpg',130, 130,18,'							photo_1198656.html');
												thumbnails[1220051] = new thumbnail(1220051,'85834','','walrus_N2B1243_20070728_thumb.jpg',130, 130,18,'							photo_1220051.html');
												thumbnails[1194539] = new thumbnail(1194539,'85834','','puffin-in-flight_N2B1018_20070719_thumb.jpg',100, 150,18,'							photo_1194539.html');
												thumbnails[1194546] = new thumbnail(1194546,'85850','','sister-ships-web_N2A0610_thumb.jpg',130, 130,18,'							photo_1194546.html');
												thumbnails[1220056] = new thumbnail(1220056,'85850','','crows-nest_N2A1009_20070726_thumb.jpg',100, 150,18,'							photo_1220056.html');
												thumbnails[4794184] = new thumbnail(4794184,'274368','','tearsheets018_thumb.jpg',130, 101,18,'							photo_4794184.html');
												thumbnails[4794187] = new thumbnail(4794187,'274368','','tearsheets021_thumb.jpg',130, 90,18,'							photo_4794187.html');
												thumbnails[4794189] = new thumbnail(4794189,'274368','','tearsheets024_thumb.jpg',130, 87,18,'							photo_4794189.html');
												thumbnails[4794229] = new thumbnail(4794229,'274368','','GBR_Brochure_2008-1-coverweb_thumb.jpg',130, 130,18,'							photo_4794229.html');
												thumbnails[4794234] = new thumbnail(4794234,'274368','','tearsheets0041_thumb.jpg',116, 150,18,'							photo_4794234.html');
												thumbnails[4794237] = new thumbnail(4794237,'274368','','tearsheets008_thumb.jpg',130, 63,18,'							photo_4794237.html');
												thumbnails[4794238] = new thumbnail(4794238,'274368','','tearsheets0091_thumb.jpg',130, 105,18,'							photo_4794238.html');
												thumbnails[4794249] = new thumbnail(4794249,'274368','','tearsheets028_thumb.jpg',90, 150,18,'							photo_4794249.html');
												thumbnails[5121251] = new thumbnail(5121251,'274368','','Squamish_LatestPaper_20-clicpic_thumb.jpg',100, 150,18,'							photo_5121251.html');

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  					galleries[274368] = new gallery(274368,'5121251,4794249,4794238,4794237,4794234,4794229,4794189,4794187,4794184','Conservation','section297796',[4794184,4794187,4794189,4794229,4794234,4794237,4794238,4794249,5121251],0, 0, '', '																																																																																																																																	section297796.html',0,1);
				  					galleries[34085] = new gallery(34085,'650402,650359,433306,433295,433292,433291,433290,433289,433288,433287,433278,431268,431264,431247,431240,431238,431237,431236,431235,431217,431216,431214,431212,431211,431210,431209,431207,431190,431189,431188,431187,431186,431181','Antarctica 2004','section54477',[],0, 0, '', '																																																																																																							section54477_34085.html',0,0);
				  					galleries[34234] = new gallery(34234,'438260,438258,438257,438256,438254,438253,438252,438251,438250,438249,438248,438247,438246,438245,438244,438243,438242,438241,438240,438239,438238,438237,438236,438235,438233,438232,438231,438230,438229,438228,438227,438226,438225,438224,438223,438222,438221,438220,438219,437313,437310,437308,437307,437305,437303,437296,437283,437274,437270,437266,437252,437249,437248,437243,437232,433361,433356,433351,433348,433345,433343,433342,433340,433325,433317,433314,433308,433307,428154','Antarctica 2006','section54477',[],0, 0, '', '																																																																																																							section54477_34234.html',0,0);
				  					galleries[34235] = new gallery(34235,'650359,431247,431237,431236,431235,431217,431211,431210,431209,431188,431187,431186','Ice Life','section54477',[431186,431187,431188,431209,431210,431211,431215,431217,431235,431236,431237,431247,431267,431286,431315,650359],0, 0, '34085', '																																																																																																							section54477_34235.html',0,0);
				  					galleries[34236] = new gallery(34236,'431268,431264,431240,431238,431216,431214,431212,431207,431190,431189,431181','Icescapes','section54477',[431181,431189,431190,431207,431212,431214,431216,431229,431238,431240,431246,431264,431265,431266,431268],0, 0, '34085', '																																																																																																							section54477_34236.html',0,0);
				  					galleries[34237] = new gallery(34237,'438257,438253,438252,438251,438250,438246,437283,437270,437266,437252,437249,437248,437243,437232,433361,433356,433351,433348,433345,433343,433342,433340,433314,428154','Ice Life 2006','section54477',[428154,433314,433340,433342,433343,433345,433348,433351,433356,433361,437232,437240,437243,437248,437249,437250,437252,437266,437270,437283,438246,438250,438251,438252,438253,438257],0, 0, '34234', '																																																																																																							section54477_34237.html',0,0);
				  					galleries[34447] = new gallery(34447,'438235,438233,438232,438231,438230,438229,438228,438227,438226,438225,438224,438223,438222,438221,438220,438219,433325,433317,433307','Icescapes 2006','section54477',[433307,433317,433325,438219,438220,438221,438222,438223,438224,438225,438226,438227,438228,438229,438230,438231,438232,438233,438234,438235,935205],0, 0, '34234', '																																																																																																							section54477_34447.html',0,0);
				  					galleries[34640] = new gallery(34640,'650402,433306,433295,433292,433291,433290,433289,433288,433287,433278','Land, Light and Sea','section54477',[433278,433279,433287,433288,433289,433290,433291,433292,433295,433306,650320,650402,778510],0, 0, '34085', '																																																																																																							section54477_34640.html',0,0);
				  					galleries[34641] = new gallery(34641,'438260,438258,438256,438254,438249,438248,438245,438244,438243,438242,438241,438240,438239,438238,438237,438236,437274,433308','Land, Light and Sea 2006','section54477',[433308,433322,437274,438236,438237,438238,438239,438240,438241,438242,438243,438244,438245,438248,438249,438254,438255,438256,438258,438260],0, 0, '34234', '																																																																																																							section54477_34641.html',0,0);
				  					galleries[34481] = new gallery(34481,'778508,437253,433319,433277,433276,433275,428153','Antarctic Panoramas ','section54477',[428153,433275,433276,433277,433319,437253,778508],0, 0, '', '																																																																																																							section54477_34481.html',0,0);
				  					galleries[34845] = new gallery(34845,'438247,437313,437310,437308,437307,437305,437303,437296','The Whales of Wilhelmina','section54477',[437296,437303,437305,437307,437308,437310,437313,438247],0, 0, '34234', '																																																																																																							section54477_34845.html',0,0);
				  					galleries[103165] = new gallery(103165,'3263254,3263253,3263248,3263246,3263243,3263240,3263239,3263237,3263232,3263229,3263227,3263225,3263223,3263222,3263221,3263215,3263213,3263206,3263203,3263200,1502739,1502686,1502668,1502658,1502657,1502654,1502624,1502621,1502608,1502598,1502594,1502586,1502582,1502564,1502560,1502558,1501544,1501543,1501541,1501535,1501529,1501525,1501523,1501522,1501521,1501511,1501510,1501509','Primal Stands','section55155',[],0, 0, '', '																																																																																																							section55155_103165.html',0,0);
				  					galleries[49488] = new gallery(49488,'650405,650396,650388,650384,650361,650355,650349,650345,650331','Pacific West Coast','section55155',[650331,650345,650349,650355,650361,650384,650388,650396,650405,2338738,650325],0, 0, '', '																																																																																																							section55155_49488.html',0,0);
				  					galleries[49489] = new gallery(49489,'651640','Antelope Canyon','section55155',[651632,651682,651674,651678,651680,651670,651676,651639,651683,651640],0, 0, '', '																																																																																																							section55155_49489.html',0,0);
				  					galleries[49549] = new gallery(49549,'650423,650418,650416,650413,650412','Light and Land','section55155',[650412,650413,650416,650418,650423,651630,650426,650429],0, 0, '', '																																																																																																							section55155_49549.html',0,0);
				  					galleries[49490] = new gallery(49490,'650408,650378,650370,650341,650317','Travel Snaps','section55155',[650317,650341,650370,650378,650400,650408,650334,650367],0, 0, '', '																																																																																																							section55155_49490.html',0,0);
				  					galleries[85822] = new gallery(85822,'1194275,1194267,1194236','Polar Bear','section54478',[1194236,1194267,1194269,1194272,1194275,1194279,1194280,1194283,1194287],0, 0, '', '																																																																																																							section54478_85822.html',0,0);
				  					galleries[85825] = new gallery(85825,'1194312,1194304,1194302,1194298,1194226','Northern Icescapes','section54478',[1194226,1194298,1194302,1194304,1194308,1194312,1194320,1194327,1194332],0, 0, '', '																																																																																																							section54478_85825.html',0,0);
				  					galleries[85832] = new gallery(85832,'1194395,1194355,1194350','Arctic Light','section54478',[1194348,1194350,1194355,1194368,1194374,1194377,1194378,1194380,1194383,1194395,1194408,1194543,1216344,1216356,1194402],0, 0, '', '																																																																																																							section54478_85832.html',0,0);
				  					galleries[85834] = new gallery(85834,'1195430,1194441','Arctic Ice Life','section54478',[1194421,1194424,1194429,1194431,1194433,1194434,1194435,1194441,1194443,1194448,1194449,1194518,1194520,1194542,1195428,1195429,1195430,1195431,1195432,1198657,1194446,1198655,1198656,1220051,1194539],0, 0, '', '																																																																																																							section54478_85834.html',0,0);
				  					galleries[85850] = new gallery(85850,'1220056,1220054,1194552,1194551,1194546,1194389','Arctic Snaps','section54478',[1194389,1194551,1194552,1220054,1194546,1220056],0, 0, '', '																																																																																																							section54478_85850.html',0,0);
				  					galleries[199055] = new gallery(199055,'3263254,3263253,3263248,3263246,3263243,3263240,3263239,3263237,3263232,3263229,3263227,3263225,3263223,3263222,3263221,3263215,3263213,3263206,3263203,3263200','Primal Stands II','section55155',[3263180,3263183,3263185,3263187,3263188,3263189,3263190,3263191,3263193,3263195,3263197,3263200,3263203,3263206,3263213,3263215,3263220,3263221,3263222,3263223,3263225,3263227,3263228,3263229,3263232,3263233,3263237,3263239,3263240,3263243,3263246,3263248,3263253,3263254,3263255,3263256],0, 0, '103165', '																																																																																																							section55155_199055.html',0,0);
				  					galleries[103166] = new gallery(103166,'1502624,1502621,1502608,1502598,1502594,1502586,1502582,1502564,1502560,1502558,1501511','The Great Bears','section55155',[1501511,1502558,1502559,1502560,1502564,1502582,1502586,1502594,1502598,1502608,1502621,1502624,1502633,1502636,1502641],0, 0, '103165', '																																																																																																							section55155_103166.html',0,0);
				  					galleries[103167] = new gallery(103167,'1501535,1501529,1501525,1501523,1501522,1501521,1501509','Raincoast','section55155',[1501509,1501521,1501522,1501523,1501524,1501525,1501526,1501527,1501528,1501529,1501530,1501531,1501534,1501535,1501537],0, 0, '103165', '																																																																																																							section55155_103167.html',0,0);
				  					galleries[103168] = new gallery(103168,'1501510','Monochromatic Light','section55155',[1501510,1501550,1501551,1501552,1501553,1501554,1501556,1501557,1557315],0, 0, '103165', '																																																																																																							section55155_103168.html',0,0);
				  					galleries[103170] = new gallery(103170,'1501544,1501543,1501541','Rainforest','section55155',[1501539,1501540,1501541,1501542,1501543,1501544,1501545,1501546,1501547],0, 0, '103165', '																																																																																																							section55155_103170.html',0,0);
				  					galleries[103253] = new gallery(103253,'1502739,1502686,1502668,1502658,1502657,1502654','Spirits and Kin','section55155',[1502654,1502657,1502658,1502663,1502668,1502686,1502739,1502741,1502744],0, 0, '103165', '																																																																																																							section55155_103253.html',0,0);
				  					galleries[303063] = new gallery(303063,'5374841','Faltering Light','section55155',[5374841,5374843,5374847,5374850,5374851,5374853,5374855,5374857,5374858,5374861,5374863,5374864,5374866,5374867,5374868,5374869],0, 0, '', '																																																																																																							section55155_303063.html',0,0);
/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = new Object();
imageSets[223013] = '5121251,4794249,4794238,4794237,4794234,4794229,4794189,4794187,4794184';
imageSets[1] = '3263254,3263253,3263248,3263246,3263243,3263240,3263237,3263229,3263227,3263225,3263222,3263221,3263215,3263213,3263206,3263203,3263200,2338738,1194441,1194304,1194302,1194298,1194275,1194267,1194236,1194226,438260,438257,438256,438254,438253,438252,438251,438250,438249,438248,438247,438246,438245,438244,438243,438242,438241,438240,438239,438238,438237,438236,438235,438233,438232,438231,438230,438229,438228,438227,438226,438225,438224,438223,438222,438221,438220,438219,437313,437310,437308,437307,437305,437303,437296,437283,437270,437266,437253,437252,437249,437248,437243,437232,433361,433356,433351,433348,433345,433343,433342,433340,433325,433319,433317,433314,433308,433307,433306,433295,433292,433291,433290,433289,433288,433287,433278,433277,433276,433275,431268,431264,431247,431240,431237,431236,431235,431217,431216,431214,431212,431211,431210,431209,431207,431190,431189,431188,431187,431186,431181,428154,428153';
imageSets[2] = '5374841,3263254,3263253,3263248,3263246,3263243,3263240,3263239,3263237,3263232,3263229,3263227,3263225,3263223,3263222,3263221,3263215,3263213,3263206,3263203,3263200,1502739,1502686,1502668,1502658,1502657,1502654,1502624,1502621,1502608,1502598,1502594,1502586,1502582,1502564,1502560,1502558,1501544,1501543,1501541,1501535,1501529,1501525,1501523,1501522,1501521,1501511,1501510,1501509,1195430,1194441,1194395,1194355,1194350,1194312,1194304,1194302,1194298,1194275,1194267,1194236,1194226,778508,651640,650423,650418,650416,650413,650412,650408,650405,650402,650396,650388,650384,650378,650370,650361,650359,650355,650349,650345,650341,650331,650317,438260,438258,438257,438256,438254,438253,438252,438251,438250,438249,438248,438247,438246,438245,438244,438243,438242,438241,438240,438239,438238,438237,438236,438235,438233,438232,438231,438230,438229,438228,438227,438226,438225,438224,438223,438222,438221,438220,438219,437313,437310,437308,437307,437305,437303,437296,437283,437274,437270,437266,437253,437252,437249,437248,437243,437232,433361,433356,433351,433348,433345,433343,433342,433340,433325,433319,433317,433314,433308,433307,433306,433295,433292,433291,433290,433289,433288,433287,433278,433277,433276,433275,431268,431264,431247,431240,431238,431237,431236,431235,431217,431216,431214,431212,431211,431210,431209,431207,431190,431189,431188,431187,431186,431181,428154,428153';
imageSets[3] = '5374869,5374868,5374867,5374866,5374864,5374863,5374861,5374858,5374857,5374855,5374853,5374851,5374850,5374847,5374843,5374841,5121251,4997463,4794249,4794238,4794237,4794234,4794229,4794189,4794187,4794184,3263256,3263255,3263254,3263253,3263248,3263246,3263243,3263240,3263239,3263237,3263233,3263232,3263229,3263228,3263227,3263225,3263223,3263222,3263221,3263220,3263215,3263213,3263206,3263203';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/smuggler/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/smuggler/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/smuggler/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/smuggler/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://www.clikchurch.com/smuggler/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/smuggler/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/smuggler/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/smuggler/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/smuggler/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/smuggler/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/smuggler/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/smuggler/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/smuggler/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/smuggler/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/smuggler/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://admin2.clikpic.com/smuggler/images';
		break;
	}
		switch (server_id) {
		case 33:
		val = 'http://www8.clikpic.com/smuggler/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/smuggler/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/smuggler/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/smuggler/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/smuggler/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/smuggler/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 += 'section54477.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 && 'section54477' != '') {
					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));		}, 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 = 'Cold Coast: ' + 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));    }        
    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>';
	}
					
				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>Order this print:</p>';
				temp = temp + '<p class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> 							' + (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="updateItemValues(document.forms.paymentForm,this.form.payment_options_id.options[this.form.payment_options_id.options.selectedIndex].value);">';
				
		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 + '<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;
	}
}

			

