window.thumbnails = {};
															thumbnails[4334146] = clik.newPhoto({"id":4334146,"src":"2009_OsternBeiBrands074_320_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"","height":87});
															thumbnails[8392008] = clik.newPhoto({"id":8392008,"src":"2011_08_15_Olargues_115_610_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Titel","height":86});
															thumbnails[8511100] = clik.newPhoto({"id":8511100,"src":"2010_06_19_MS_Ernst-Abbe-Schacht_013_3201_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"","height":98});
															thumbnails[4331960] = clik.newPhoto({"id":4331960,"src":"_DSC0137_thumb.jpg","galleries_id":255061,"server_id":18,"link":"photo_4331960.html","width":130,"caption":"Hundlochquelle","height":87});
															thumbnails[4331975] = clik.newPhoto({"id":4331975,"src":"Florida_2008_01601_thumb.jpg","galleries_id":255026,"server_id":18,"link":"photo_4331975.html","width":130,"caption":"young manatee","height":87});
															thumbnails[4331979] = clik.newPhoto({"id":4331979,"src":"Florida_2008_01631_thumb.jpg","galleries_id":255026,"server_id":18,"link":"photo_4331979.html","width":130,"caption":"young manatee","height":87});
															thumbnails[4331995] = clik.newPhoto({"id":4331995,"src":"Florida_2008_127012_thumb.jpg","galleries_id":255027,"server_id":18,"link":"photo_4331995.html","width":130,"caption":"Rainbow River","height":87});
															thumbnails[4331997] = clik.newPhoto({"id":4331997,"src":"Florida_2008_128712_thumb.jpg","galleries_id":255027,"server_id":18,"link":"photo_4331997.html","width":130,"caption":"Rainbow River","height":87});
															thumbnails[4332141] = clik.newPhoto({"id":4332141,"src":"MS_2009_01_Fuerte_135_thumb.jpg","galleries_id":255076,"server_id":18,"link":"photo_4332141.html","width":130,"caption":"Cave Caleta Negra","height":87});
															thumbnails[4332143] = clik.newPhoto({"id":4332143,"src":"MS_2009_01_Fuerte_346b_thumb.jpg","galleries_id":255076,"server_id":18,"link":"photo_4332143.html","width":130,"caption":"Cave Caleta Negra","height":87});
															thumbnails[4332782] = clik.newPhoto({"id":4332782,"src":"MS_2009_01_Fuerte_35312_thumb.jpg","galleries_id":255076,"server_id":18,"link":"photo_4332782.html","width":87,"caption":"Cave Caleta Negra","height":130});
															thumbnails[4337782] = clik.newPhoto({"id":4337782,"src":"Florida_2008_0699a_thumb.jpg","galleries_id":255285,"server_id":18,"link":"photo_4337782.html","width":130,"caption":"Vortex Spring","height":87});
															thumbnails[4337795] = clik.newPhoto({"id":4337795,"src":"Florida_2008_06421_thumb.jpg","galleries_id":255285,"server_id":18,"link":"photo_4337795.html","width":130,"caption":"Vortex Spring","height":87});
															thumbnails[4337799] = clik.newPhoto({"id":4337799,"src":"Florida_2008_065012_thumb.jpg","galleries_id":255285,"server_id":18,"link":"photo_4337799.html","width":130,"caption":"Vortex Spring","height":87});
															thumbnails[4337809] = clik.newPhoto({"id":4337809,"src":"_DSC0067_thumb.jpg","galleries_id":255288,"server_id":18,"link":"photo_4337809.html","width":130,"caption":"Spring in the gypsum karst","height":87});
															thumbnails[4338915] = clik.newPhoto({"id":4338915,"src":"Florida_2008_0707_Kopie_thumb.jpg","galleries_id":255285,"server_id":18,"link":"photo_4338915.html","width":130,"caption":"Morrison Spring","height":87});
															thumbnails[4338923] = clik.newPhoto({"id":4338923,"src":"Florida_2008_0726_Kopie_thumb.jpg","galleries_id":255285,"server_id":18,"link":"photo_4338923.html","width":130,"caption":"Morrison Spring","height":87});
															thumbnails[4338927] = clik.newPhoto({"id":4338927,"src":"Florida_2008_0729_Kopie_thumb.jpg","galleries_id":255285,"server_id":18,"link":"photo_4338927.html","width":130,"caption":"Morrison Spring","height":87});
															thumbnails[4338930] = clik.newPhoto({"id":4338930,"src":"Florida_2008_0731_Kopie_thumb.jpg","galleries_id":255285,"server_id":18,"link":"photo_4338930.html","width":130,"caption":"Morrison Spring","height":87});
															thumbnails[4338936] = clik.newPhoto({"id":4338936,"src":"Florida_2008_0738_Kopie1_thumb.jpg","galleries_id":255285,"server_id":18,"link":"photo_4338936.html","width":130,"caption":"Morrison Spring","height":87});
															thumbnails[4338938] = clik.newPhoto({"id":4338938,"src":"Florida_2008_0743_Kopie_thumb.jpg","galleries_id":255285,"server_id":18,"link":"photo_4338938.html","width":130,"caption":"Morrison Spring","height":87});
															thumbnails[4356648] = clik.newPhoto({"id":4356648,"src":"Florida_2008_0969a_700_thumb.jpg","galleries_id":255082,"server_id":18,"link":"photo_4356648.html","width":130,"caption":"Santa Fe River<br>\r\n","height":87});
															thumbnails[4356654] = clik.newPhoto({"id":4356654,"src":"Florida_2008_1023_700_thumb.jpg","galleries_id":255082,"server_id":18,"link":"photo_4356654.html","width":130,"caption":"Devil's Eye","height":87});
															thumbnails[4356661] = clik.newPhoto({"id":4356661,"src":"Florida_2008_1052d_700_thumb.jpg","galleries_id":255082,"server_id":18,"link":"photo_4356661.html","width":130,"caption":"Santa Fe River<br>\r\n","height":87});
															thumbnails[4356664] = clik.newPhoto({"id":4356664,"src":"Florida_2008_1085_700_thumb.jpg","galleries_id":255082,"server_id":18,"link":"photo_4356664.html","width":130,"caption":"Little Devil","height":87});
															thumbnails[4356749] = clik.newPhoto({"id":4356749,"src":"Florida_2008_0753_700_thumb.jpg","galleries_id":255285,"server_id":18,"link":"photo_4356749.html","width":130,"caption":"Morrison Spring","height":87});
															thumbnails[4366227] = clik.newPhoto({"id":4366227,"src":"Florida2008_1295_700_thumb.jpg","galleries_id":255027,"server_id":18,"link":"photo_4366227.html","width":130,"caption":"Rainbow River","height":87});
															thumbnails[4366229] = clik.newPhoto({"id":4366229,"src":"Florida2008_1306_700_thumb.jpg","galleries_id":255027,"server_id":18,"link":"photo_4366229.html","width":130,"caption":"Rainbow River","height":87});
															thumbnails[4366248] = clik.newPhoto({"id":4366248,"src":"Florida2008_1291_700_thumb.jpg","galleries_id":255027,"server_id":18,"link":"photo_4366248.html","width":130,"caption":"Rainbow River","height":87});
															thumbnails[4556882] = clik.newPhoto({"id":4556882,"src":"_DSC0033_thumb.jpg","galleries_id":264320,"server_id":18,"link":"photo_4556882.html","width":130,"caption":"","height":87});
															thumbnails[4556891] = clik.newPhoto({"id":4556891,"src":"_DSC0040_thumb.jpg","galleries_id":264320,"server_id":18,"link":"photo_4556891.html","width":130,"caption":"","height":87});
															thumbnails[4557465] = clik.newPhoto({"id":4557465,"src":"_DSC0050_700_thumb.jpg","galleries_id":264320,"server_id":18,"link":"photo_4557465.html","width":130,"caption":"","height":87});
															thumbnails[4722433] = clik.newPhoto({"id":4722433,"src":"_DSC0028b_700_thumb.jpg","galleries_id":271231,"server_id":18,"link":"photo_4722433.html","width":130,"caption":"","height":87});
															thumbnails[4722443] = clik.newPhoto({"id":4722443,"src":"_DSC0041b_700_thumb.jpg","galleries_id":271231,"server_id":18,"link":"photo_4722443.html","width":130,"caption":"","height":87});
															thumbnails[4722445] = clik.newPhoto({"id":4722445,"src":"_DSC0068b_700_thumb.jpg","galleries_id":271231,"server_id":18,"link":"photo_4722445.html","width":130,"caption":"","height":87});
															thumbnails[4895684] = clik.newPhoto({"id":4895684,"src":"_DSC0106_700_thumb.jpg","galleries_id":255061,"server_id":18,"link":"photo_4895684.html","width":87,"caption":"Hundlochquelle","height":130});
															thumbnails[6189707] = clik.newPhoto({"id":6189707,"src":"2010_06_04_FoLa_Harz_196_700_thumb.jpg","galleries_id":345607,"server_id":18,"link":"photo_6189707.html","width":130,"caption":"","height":87});
															thumbnails[6189709] = clik.newPhoto({"id":6189709,"src":"2010_06_04_FoLa_Harz_261_700_thumb.jpg","galleries_id":345607,"server_id":18,"link":"photo_6189709.html","width":130,"caption":"","height":87});
															thumbnails[6189710] = clik.newPhoto({"id":6189710,"src":"2010_06_05_FoLa_Harz_051_700_thumb.jpg","galleries_id":345607,"server_id":18,"link":"photo_6189710.html","width":130,"caption":"","height":87});
															thumbnails[6210400] = clik.newPhoto({"id":6210400,"src":"2010_06_04_FoLa_Harz_388_700_thumb.jpg","galleries_id":345607,"server_id":18,"link":"photo_6210400.html","width":130,"caption":"","height":87});
															thumbnails[6210402] = clik.newPhoto({"id":6210402,"src":"2010_06_05_FoLa_Harz_008_7001_thumb.jpg","galleries_id":345607,"server_id":18,"link":"photo_6210402.html","width":130,"caption":"","height":87});
															thumbnails[6210410] = clik.newPhoto({"id":6210410,"src":"2010_06_04_FoLa_Harz_083_700_thumb.jpg","galleries_id":345607,"server_id":18,"link":"photo_6210410.html","width":130,"caption":"","height":87});
															thumbnails[6210425] = clik.newPhoto({"id":6210425,"src":"2010_06_05_FoLa_Harz_104_700_thumb.jpg","galleries_id":345607,"server_id":18,"link":"photo_6210425.html","width":130,"caption":"","height":87});
															thumbnails[6215386] = clik.newPhoto({"id":6215386,"src":"2010_06_05_FoLa_Harz_124_700_thumb.jpg","galleries_id":345607,"server_id":18,"link":"photo_6215386.html","width":130,"caption":"","height":87});
															thumbnails[6215387] = clik.newPhoto({"id":6215387,"src":"2010_06_05_FoLa_Harz_082_700_thumb.jpg","galleries_id":345607,"server_id":18,"link":"photo_6215387.html","width":130,"caption":"","height":87});
															thumbnails[6215388] = clik.newPhoto({"id":6215388,"src":"2010_06_04_FoLa_Harz_136_700_thumb.jpg","galleries_id":345607,"server_id":18,"link":"photo_6215388.html","width":130,"caption":"","height":87});
															thumbnails[6215390] = clik.newPhoto({"id":6215390,"src":"2010_06_05_FoLa_Harz_041_700_thumb.jpg","galleries_id":345607,"server_id":18,"link":"photo_6215390.html","width":130,"caption":"","height":87});
															thumbnails[6216021] = clik.newPhoto({"id":6216021,"src":"2010_06_04_FoLa_Harz_212_700_thumb.jpg","galleries_id":345607,"server_id":18,"link":"photo_6216021.html","width":130,"caption":"","height":87});
															thumbnails[8391869] = clik.newPhoto({"id":8391869,"src":"2011_08_16_Olargues_191_thumb.jpg","galleries_id":444935,"server_id":18,"link":"photo_8391869.html","width":130,"caption":"","height":87});
															thumbnails[8391871] = clik.newPhoto({"id":8391871,"src":"2011_08_16_Olargues_204_thumb.jpg","galleries_id":444935,"server_id":18,"link":"photo_8391871.html","width":130,"caption":"","height":87});
															thumbnails[8391873] = clik.newPhoto({"id":8391873,"src":"2011_08_16_Olargues_209_thumb.jpg","galleries_id":444935,"server_id":18,"link":"photo_8391873.html","width":130,"caption":"","height":87});
															thumbnails[8391874] = clik.newPhoto({"id":8391874,"src":"2011_08_16_Olargues_286_thumb.jpg","galleries_id":444935,"server_id":18,"link":"photo_8391874.html","width":130,"caption":"","height":87});
															thumbnails[8391912] = clik.newPhoto({"id":8391912,"src":"2011_08_18_Olargues_409_thumb.jpg","galleries_id":444935,"server_id":18,"link":"photo_8391912.html","width":130,"caption":"","height":87});
															thumbnails[8391913] = clik.newPhoto({"id":8391913,"src":"2011_08_18_Olargues_403_thumb.jpg","galleries_id":444935,"server_id":18,"link":"photo_8391913.html","width":87,"caption":"","height":130});
															thumbnails[8391945] = clik.newPhoto({"id":8391945,"src":"2011_08_18_Olargues_465_thumb.jpg","galleries_id":444935,"server_id":18,"link":"photo_8391945.html","width":130,"caption":"","height":87});
															thumbnails[8419067] = clik.newPhoto({"id":8419067,"src":"2011_08_17_Olargues_328_thumb.jpg","galleries_id":444935,"server_id":18,"link":"photo_8419067.html","width":86,"caption":"","height":130});
															thumbnails[8419092] = clik.newPhoto({"id":8419092,"src":"2011_08_17_Olargues_367_thumb.jpg","galleries_id":444935,"server_id":18,"link":"photo_8419092.html","width":130,"caption":"","height":86});
															thumbnails[8500370] = clik.newPhoto({"id":8500370,"src":"2011_08_16_Olargues_151_thumb.jpg","galleries_id":444935,"server_id":18,"link":"photo_8500370.html","width":130,"caption":"","height":87});
															thumbnails[8500374] = clik.newPhoto({"id":8500374,"src":"2011_08_15_Olargues_056-2_thumb.jpg","galleries_id":444935,"server_id":18,"link":"photo_8500374.html","width":130,"caption":"","height":86});
															thumbnails[8500381] = clik.newPhoto({"id":8500381,"src":"2011_08_16_Olargues_298_thumb.jpg","galleries_id":444935,"server_id":18,"link":"photo_8500381.html","width":87,"caption":"","height":130});
															thumbnails[8506440] = clik.newPhoto({"id":8506440,"src":"2011_08_15_Olargues_131_thumb.jpg","galleries_id":444935,"server_id":18,"link":"photo_8506440.html","width":130,"caption":"","height":86});
															thumbnails[8506443] = clik.newPhoto({"id":8506443,"src":"2011_08_16_Olargues_2921_thumb.jpg","galleries_id":444935,"server_id":18,"link":"photo_8506443.html","width":87,"caption":"","height":130});
															thumbnails[8506444] = clik.newPhoto({"id":8506444,"src":"2011_08_16_Olargues_248_thumb.jpg","galleries_id":444935,"server_id":18,"link":"photo_8506444.html","width":130,"caption":"","height":87});
															thumbnails[7598335] = clik.newPhoto({"id":7598335,"src":"2011_03_26_Wimsen_Eingang_015_thumb.jpg","galleries_id":320699,"server_id":18,"link":"photo_7598335.html","width":130,"caption":"","height":87});
															thumbnails[7598331] = clik.newPhoto({"id":7598331,"src":"2011_03_26_Wimsen_Eingang_007_thumb.jpg","galleries_id":320699,"server_id":18,"link":"photo_7598331.html","width":130,"caption":"","height":87});
															thumbnails[8576999] = clik.newPhoto({"id":8576999,"src":"2011_10_06_Wimsener_Hoehle_RB_003_thumb.jpg","galleries_id":320699,"server_id":18,"link":"photo_8576999.html","width":130,"caption":"","height":87});
															thumbnails[6683670] = clik.newPhoto({"id":6683670,"src":"2010_08_27_MS_Laze_PlaninskaJama_034_5_6_7_8_9_thumb.jpg","galleries_id":364770,"server_id":18,"link":"photo_6683670.html","width":130,"caption":"Planinska Jama","height":86});
															thumbnails[7246651] = clik.newPhoto({"id":7246651,"src":"2010_12_Lanzarote_D300_143_700_thumb.jpg","galleries_id":390963,"server_id":18,"link":"photo_7246651.html","width":130,"caption":"","height":87});
															thumbnails[6683688] = clik.newPhoto({"id":6683688,"src":"2010_08_31_MS_Laze_010_700_thumb.jpg","galleries_id":364770,"server_id":18,"link":"photo_6683688.html","width":130,"caption":"Divaska Jama","height":86});
															thumbnails[7246647] = clik.newPhoto({"id":7246647,"src":"2010_12_Lanzarote_D300_079_700_thumb.jpg","galleries_id":390963,"server_id":18,"link":"photo_7246647.html","width":130,"caption":"","height":87});
															thumbnails[7598339] = clik.newPhoto({"id":7598339,"src":"2011_03_27_Wimsen_Eingang_047_thumb.jpg","galleries_id":320699,"server_id":18,"link":"photo_7598339.html","width":130,"caption":"","height":86});
															thumbnails[6683686] = clik.newPhoto({"id":6683686,"src":"2010_08_31_MS_Laze_008_700_thumb.jpg","galleries_id":364770,"server_id":18,"link":"photo_6683686.html","width":130,"caption":"Divaska Jama","height":86});
															thumbnails[6683691] = clik.newPhoto({"id":6683691,"src":"2010_08_31_MS_Laze_039_700_thumb.jpg","galleries_id":364770,"server_id":18,"link":"photo_6683691.html","width":130,"caption":"Divaska Jama","height":86});
															thumbnails[7598345] = clik.newPhoto({"id":7598345,"src":"2011_03_27_Wimsen_Eingang_054_thumb.jpg","galleries_id":320699,"server_id":18,"link":"photo_7598345.html","width":130,"caption":"","height":86});
															thumbnails[6683700] = clik.newPhoto({"id":6683700,"src":"2010_08_31_MS_Laze_050_700_thumb.jpg","galleries_id":364770,"server_id":18,"link":"photo_6683700.html","width":130,"caption":"Divaska Jama","height":87});
															thumbnails[8596026] = clik.newPhoto({"id":8596026,"src":"2011_10_06_Wimsener_Hoehle_RB_032_thumb.jpg","galleries_id":320699,"server_id":18,"link":"photo_8596026.html","width":130,"caption":"","height":87});
															thumbnails[6683705] = clik.newPhoto({"id":6683705,"src":"2010_08_31_MS_Laze_078_700_thumb.jpg","galleries_id":364770,"server_id":18,"link":"photo_6683705.html","width":130,"caption":"Divaska Jama","height":86});
															thumbnails[6683703] = clik.newPhoto({"id":6683703,"src":"2010_08_31_MS_Laze_071_700_thumb.jpg","galleries_id":364770,"server_id":18,"link":"photo_6683703.html","width":86,"caption":"Divaska Jama","height":130});
															thumbnails[8577004] = clik.newPhoto({"id":8577004,"src":"2011_10_06_Wimsener_Hoehle_RB_038_thumb.jpg","galleries_id":320699,"server_id":18,"link":"photo_8577004.html","width":130,"caption":"","height":87});
															thumbnails[5661318] = clik.newPhoto({"id":5661318,"src":"2010_02_27_MS_WimsenFoLa_075_thumb.jpg","galleries_id":320699,"server_id":18,"link":"photo_5661318.html","width":130,"caption":"","height":87});
															thumbnails[6683671] = clik.newPhoto({"id":6683671,"src":"2010_08_28_MS_Laze_41_2_3_4_5_thumb.jpg","galleries_id":364770,"server_id":18,"link":"photo_6683671.html","width":130,"caption":"Vranja Jama","height":86});
															thumbnails[7246649] = clik.newPhoto({"id":7246649,"src":"2010_12_Lanzarote_D300_106_700_thumb.jpg","galleries_id":390963,"server_id":18,"link":"photo_7246649.html","width":130,"caption":"","height":87});
															thumbnails[5661319] = clik.newPhoto({"id":5661319,"src":"2010_02_27_MS_WimsenFoLa_089_thumb.jpg","galleries_id":320699,"server_id":18,"link":"photo_5661319.html","width":130,"caption":"","height":87});
															thumbnails[5668858] = clik.newPhoto({"id":5668858,"src":"2010_02_27_MS_WimsenFoLa_002_thumb.jpg","galleries_id":320699,"server_id":18,"link":"photo_5668858.html","width":130,"caption":"","height":87});
															thumbnails[6683716] = clik.newPhoto({"id":6683716,"src":"2010_09_01_MS_Zelske_Jama_76_700_thumb.jpg","galleries_id":364770,"server_id":18,"link":"photo_6683716.html","width":130,"caption":"Zelske Jama","height":86});
															thumbnails[7246650] = clik.newPhoto({"id":7246650,"src":"2010_12_Lanzarote_D300_127_700_thumb.jpg","galleries_id":390963,"server_id":18,"link":"photo_7246650.html","width":130,"caption":"","height":87});
															thumbnails[6683715] = clik.newPhoto({"id":6683715,"src":"2010_09_01_MS_Zelske_Jama_44_700_thumb.jpg","galleries_id":364770,"server_id":18,"link":"photo_6683715.html","width":130,"caption":"Zelske Jama","height":86});
															thumbnails[5668860] = clik.newPhoto({"id":5668860,"src":"2010_02_27_MS_WimsenFoLa_011_thumb.jpg","galleries_id":320699,"server_id":18,"link":"photo_5668860.html","width":130,"caption":"","height":87});
															thumbnails[6683713] = clik.newPhoto({"id":6683713,"src":"2010_09_01_MS_Zelske_Jama_39_700_thumb.jpg","galleries_id":364770,"server_id":18,"link":"photo_6683713.html","width":130,"caption":"Zelske Jama","height":86});
															thumbnails[6683711] = clik.newPhoto({"id":6683711,"src":"2010_09_01_MS_Zelske_Jama_22_700_thumb.jpg","galleries_id":364770,"server_id":18,"link":"photo_6683711.html","width":130,"caption":"Zelske Jama","height":86});
															thumbnails[5661312] = clik.newPhoto({"id":5661312,"src":"2010_02_27_MS_WimsenFoLa_035_thumb.jpg","galleries_id":320699,"server_id":18,"link":"photo_5661312.html","width":130,"caption":"","height":87});
															thumbnails[6683708] = clik.newPhoto({"id":6683708,"src":"2010_09_01_MS_Zelske_Jama_05_700_thumb.jpg","galleries_id":364770,"server_id":18,"link":"photo_6683708.html","width":130,"caption":"Zelske Jama","height":86});
															thumbnails[5661313] = clik.newPhoto({"id":5661313,"src":"2010_02_27_MS_WimsenFoLa_039_thumb.jpg","galleries_id":320699,"server_id":18,"link":"photo_5661313.html","width":130,"caption":"","height":87});
															thumbnails[5661314] = clik.newPhoto({"id":5661314,"src":"2010_02_27_MS_WimsenFoLa_051_thumb.jpg","galleries_id":320699,"server_id":18,"link":"photo_5661314.html","width":130,"caption":"","height":87});
															thumbnails[5661315] = clik.newPhoto({"id":5661315,"src":"2010_02_27_MS_WimsenFoLa_059_thumb.jpg","galleries_id":320699,"server_id":18,"link":"photo_5661315.html","width":130,"caption":"","height":87});
															thumbnails[7246653] = clik.newPhoto({"id":7246653,"src":"2010_12_Lanzarote_D300_220_700_thumb.jpg","galleries_id":390963,"server_id":18,"link":"photo_7246653.html","width":130,"caption":"","height":86});
															thumbnails[7246654] = clik.newPhoto({"id":7246654,"src":"2010_12_Lanzarote_D300_243_700_thumb.jpg","galleries_id":390963,"server_id":18,"link":"photo_7246654.html","width":130,"caption":"","height":87});
															thumbnails[7246656] = clik.newPhoto({"id":7246656,"src":"2010_12_Lanzarote_D300_250_700_thumb.jpg","galleries_id":390963,"server_id":18,"link":"photo_7246656.html","width":130,"caption":"","height":87});
															thumbnails[7246657] = clik.newPhoto({"id":7246657,"src":"2010_12_Lanzarote_D300_271_700_thumb.jpg","galleries_id":390963,"server_id":18,"link":"photo_7246657.html","width":130,"caption":"","height":87});
															thumbnails[7246658] = clik.newPhoto({"id":7246658,"src":"2010_12_Lanzarote_D300_292_700_thumb.jpg","galleries_id":390963,"server_id":18,"link":"photo_7246658.html","width":130,"caption":"","height":87});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[255026] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Manatees 2008","link":"gallery_255026.html","maxRecords":0.0,"photoIDs":[4331975.0,4331979.0],"skipIndex":0,"section_code":"gallery","featured_images":"4331979,4331975","id":255026,"singleSection":false});				  						galleries[255027] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Rainbow River 2008","link":"gallery_255027.html","maxRecords":0.0,"photoIDs":[4331995.0,4331997.0,4366227.0,4366229.0,4366248.0],"skipIndex":0,"section_code":"gallery","featured_images":"4366248,4366229,4366227,4331997,4331995","id":255027,"singleSection":false});				  						galleries[255082] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Ginnie Springs 2008","link":"gallery_255082.html","maxRecords":0.0,"photoIDs":[4356648.0,4356654.0,4356661.0,4356664.0],"skipIndex":0,"section_code":"gallery","featured_images":"4356664,4356661,4356654,4356648","id":255082,"singleSection":false});				  						galleries[255285] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Ponce De Leon 2008","link":"gallery_255285.html","maxRecords":0.0,"photoIDs":[4337782.0,4337795.0,4337799.0,4338915.0,4338923.0,4338927.0,4338930.0,4338936.0,4338938.0,4356749.0],"skipIndex":0,"section_code":"gallery","featured_images":"4356749,4338938,4338936,4338930,4338927,4338923,4338915,4337799,4337795,4337782","id":255285,"singleSection":false});				  						galleries[255288] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"German Karst Springs 2008","link":"gallery_255288.html","maxRecords":0.0,"photoIDs":[4337809.0],"skipIndex":0,"section_code":"gallery","featured_images":4337809.0,"id":255288,"singleSection":false});				  						galleries[255076] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Fuerteventura 2009","link":"gallery_255076.html","maxRecords":0.0,"photoIDs":[4332141.0,4332143.0,4332782.0],"skipIndex":0,"section_code":"gallery","featured_images":"4332782,4332143,4332141","id":255076,"singleSection":false});				  						galleries[255061] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Hundlochquelle 2009","link":"gallery_255061.html","maxRecords":0.0,"photoIDs":[4331960.0,4895684.0],"skipIndex":0,"section_code":"gallery","featured_images":"4895684,4331960","id":255061,"singleSection":false});				  						galleries[264320] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Icecave 2009","link":"gallery_264320.html","maxRecords":0.0,"photoIDs":[4556882.0,4556891.0,4557465.0],"skipIndex":0,"section_code":"gallery","featured_images":"4557465,4556891,4556882","id":264320,"singleSection":false});				  						galleries[271231] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Swabian Jura 2009","link":"gallery_271231.html","maxRecords":0.0,"photoIDs":[4722433.0,4722443.0,4722445.0],"skipIndex":0,"section_code":"gallery","featured_images":"4722445,4722443,4722433","id":271231,"singleSection":false});				  						galleries[345607] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"German Harz 2010","link":"gallery_345607.html","maxRecords":0.0,"photoIDs":[6189707.0,6189709.0,6189710.0,6210400.0,6210402.0,6210410.0,6210425.0,6215386.0,6215387.0,6215388.0,6215390.0,6216021.0],"skipIndex":0,"section_code":"gallery","featured_images":"6216021,6215390,6215388,6215387,6215386,6210425,6210410,6210402,6210400,6189710","id":345607,"singleSection":false});				  						galleries[364770] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Slovenia 2010","link":"gallery_364770.html","maxRecords":0.0,"photoIDs":[6683670.0,6683688.0,6683686.0,6683691.0,6683700.0,6683705.0,6683703.0,6683671.0,6683716.0,6683715.0,6683713.0,6683711.0,6683708.0],"skipIndex":0,"section_code":"gallery","featured_images":"6683716,6683715,6683713,6683711,6683708,6683705,6683703,6683700,6683691,6683688","id":364770,"singleSection":false});				  						galleries[390963] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Lanzarote 2010","link":"gallery_390963.html","maxRecords":0.0,"photoIDs":[7246651.0,7246647.0,7246649.0,7246650.0,7246653.0,7246654.0,7246656.0,7246657.0,7246658.0],"skipIndex":0,"section_code":"gallery","featured_images":"7246658,7246657,7246656,7246654,7246653,7246651,7246650,7246649,7246647","id":390963,"singleSection":false});				  						galleries[320699] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Wimsener Cave 2010-2011","link":"gallery_320699.html","maxRecords":0.0,"photoIDs":[7598335.0,7598331.0,8576999.0,7598339.0,7598345.0,8596026.0,8577004.0,5661318.0,5661319.0,5668858.0,5668860.0,5661312.0,5661313.0,5661314.0,5661315.0],"skipIndex":0,"section_code":"gallery","featured_images":"8596026,8577004,8576999,7598345,7598339,7598335,7598331,5668860,5668858,5661319","id":320699,"singleSection":false});				  						galleries[444935] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"France 2011","link":"gallery_444935.html","maxRecords":0.0,"photoIDs":[8391869.0,8391871.0,8391873.0,8391874.0,8391912.0,8391913.0,8391945.0,8419067.0,8419092.0,8500370.0,8500374.0,8500381.0,8506440.0,8506443.0,8506444.0],"skipIndex":0,"section_code":"gallery","featured_images":"8506444,8506443,8506440,8500381,8500374,8500370,8419092,8419067,8391945,8391913","id":444935,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '8392008';
imageSets[3] = '8596026,8577004,8576999,8511100,8506444,8506443,8506440,8500381,8500374,8500370,8419092,8419067,8392008,8391945,8391913,8391912,8391874,8391873,8391871,8391869,7598345,7598339,7598335,7598331,7246658,7246657,7246656,7246654,7246653,7246651,7246650,7246649,7246647,6683716,6683715,6683713,6683711,6683708,6683705,6683703,6683700,6683691,6683688,6683686,6683671,6683670,6216021,6215390,6215388,6215387';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/MichaS/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/MichaS/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/MichaS/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/MichaS/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/MichaS/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/MichaS/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/MichaS/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/MichaS/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/MichaS/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/MichaS/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/MichaS/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/MichaS/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/MichaS/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/MichaS/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/MichaS/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/MichaS/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/MichaS/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/MichaS/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/MichaS/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/MichaS/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/MichaS/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/MichaS/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/MichaS/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/MichaS/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/MichaS/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/MichaS/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/MichaS/images';
		break;
	}
		return val;
}

/***************************************************************************
* img = reference to image object in which to show image                   *
***************************************************************************/
function showHomeImage(img) {
	imageID = randomListVal('');
	if (!basic) {
		img.src = photos[imageID].src;
		img.width = photos[imageID].width;
		img.height = photos[imageID].height;
		img.parentNode.title = img.alt = photos[imageID].caption;
	} else {
		newImage = new Image(photos[imageID].width,photos[imageID].height);
		newImage.src = photos[imageID].src;
		document.images[img.name] = newImage;
		
	}
}

function getHomeImageLink(imageID) {
  	var href='', photo = (backgrounds || photos || {})[imageID];
	if(photo){
		if (photo && photo.galleries_id != '') {
  			href = photo.fnGalleryLink();
  		}
  		  		else {
  				href += 'gallery.html';
  	  		}
	}
    return href;
}

/***************************************************************************
* Show a random image on home page from featured images                    *
***************************************************************************/
function showHomeImageInline(el, image_sets_id, href) {
	
	var css = {}, imageID,
	    imageSetsId = 1;
	if(image_sets_id){
		imageSetsId = image_sets_id;
	}
	imageID = randomListVal(imageSets[imageSetsId]);
	if (href == null && 'gallery' != '') {
					href = getHomeImageLink(imageID);
	}
	
	updateImage({nextPhoto: backgrounds[imageID], img:el.find('img')[0],
                $photo:el, $title:$('#homeimageTitleContainer'), $detail:$('#homeimageDetailsContainer'),                speed:0, href:href, css:css, onAfter: function(){                  this.closest('.contentsection').doManualAlign({				    inner: 'img',				    crop: 'a'				  });                }              });
}

/***************************************************************************
* Set 'img' to be a new image given its photo() object                     *
***************************************************************************/
function updateImage (options) {
	var defaults = {nextPhoto:'',field:'',img:'',$photo:'',$title:'',$detail:'',$detailContainer:'',
                    updateDocumentTitle:false,speed:0,href:false,css:false,updateHash:false,onAfter:null,onBefore:null},
		op = $.extend({},defaults,options),
		html = '', temp = '',
		photoId = op.nextPhoto.id,
		photoCaption = ''+op.nextPhoto.caption,
		photoSrc = op.nextPhoto.src;
	
	if (op.updateHash && clik.getIDInUrl(location.href,'photo') != op.nextPhoto.id) {
		clik.changeHash('photos_id=' + op.nextPhoto.id, true);
	}
		
	    if (op.$title.length > 0) {
  		op.$title.fadeGalleryDetails(photoCaption, op.speed);
    }
        if (op.updateDocumentTitle) {
						  document.title = 'Michael Schopper Photography: ' + photoCaption;
			    }
        if (op.$detail.length > 0) {
      	temp = op.nextPhoto.fnGetImageDetails();
	    op.$detail.fadeGalleryDetails(temp, op.speed, function(){
			if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
				toggleAddToCartConfirm(backgrounds, op.$detail);
			} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
				toggleAddToCartConfirm(photos, op.$detail);
			}
			$('body').trigger('clikUpdate.popup');
	    });
    }
        $(op.$detailContainer).find('.replaceable[class*=replaceable_photo-]').each(function(){
    	var field = clik.getPrefixedClass(this.className, 'replaceable_photo-');
    	if (field in op.nextPhoto) {
    		$(this).fadeGalleryDetails(op.nextPhoto[field], op.speed);
    	}
    }).end().find('.replaceable.photoPayment').fadeGalleryDetails(op.nextPhoto.fnGetPaymentInfo(), op.speed, function(){
		if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
			toggleAddToCartConfirm(backgrounds, op.$detailContainer);
		} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
			toggleAddToCartConfirm(photos, op.$detailContainer);
		}
		$('body').trigger('clikUpdate.popup');
	});
		if (op.$photo.length > 0) {
		html = $('<img/>',{
			'class': 'mainphoto photo',
			src: photoSrc,
			id: 'mainPic',
			name: 'mainPic',
			width: op.nextPhoto.width,
			height: op.nextPhoto.height,
			alt: photoCaption,
			css: op.css || {}
		});
		if (op.href) {
			if (op.href.match(/<a/)) {
				html = $(op.href).append(html);
			} else {
				html = $('<a/>', {
					href: op.href,
					title: photoCaption
				}).append(html);
			}
		} else {
			html = $('<a/>', {
				title: photoCaption
			}).append(html);
		}
		if (op.speed == 0) {			op.$photo.html(html);			if (op.onBefore) {			  	op.onBefore.apply(op.$photo);			}			if (op.onAfter) {			  	op.onAfter.apply(op.$photo);			}		} else {			op.$photo.stop(true,true).fadeReplaceWith(html,op.speed,'',function(){  				if (op.onAfter) {				  	op.onAfter.apply(this);				}				clik.doColumnResize(false, $(this).add(op.$detail).add(op.$title));			}, op.onBefore);
		}	}
    if (op.field) {
		op.field.value = photoId;
	} else {
		op.$photo.data('image_id', photoId);
    }
        if (!op.speed) {
      	clik.doColumnResize(false, op.$photo.add(op.$detail).add(op.$title));
    }
        
    return html;
	}

/***************************************************************************
* Toggle add to cart confirmation element and set up the click event for   *
* the 'Add to cart' button.                                                *
***************************************************************************/
function toggleAddToCartConfirm(array, root){
	if (typeof(array) !== 'object' || array === null) {
	  	array = photos;
	}
	if (!$(root).length) {		root = $('body');	}	if($('#paymentConfirm', root).length > 0){
		$('#paymentConfirm', root).hide();
		$('#paymentAddButton', root)
		.unbind()
		.click(function(){
						form = $('#paymentForm', root)[0];
			option_id = 0;
			if(form.item_option.value){
				option_id = form.item_option.value;
			}
			if(addItemToBasket(form.item_number.value,array,form.site.value,parseInt(form.quantity.value, 10),option_id)){
				if($.browser.msie){$('#paymentConfirm', root).text('Item added to cart').show();}
				else{
					$('#paymentConfirm', root).text('Item added to cart').fadeIn();
					dspOrderDetails(form.site.value);
				}
			}
			else{
				$('#paymentConfirm', root).text('Item not added - check cookies are enabled in your browser.').fadeIn();
			}
		});
	}
}

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetImageDetails = function(){
	var temp = '';
	if (this.description != '') {
		temp +=  '<div id="imageDescription">' + this.description + '</div>';
	}
		if (this.photo_ref != '') {
		temp += '<div class="imageinfo" id="imageRef"><strong>Ref: </strong>' + this.photo_ref + '</div>';
	}
		if (this.takendate != '') {
		
		temp += '<div class="imageinfo" id="imageDate"><strong>Date: </strong>' + this.takendate + '</div>';
	}
	
	if (this.location != '') {
		
		temp += '<div class="imageinfo" id="imageLocation"><strong>Location: </strong>' +  this.location + '</div>';
	}
	
	if (this.photographer != '') {
		
		temp += '<div class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>' + this.photographer + '</div>';
	}
				
				if (temp != '') {
		temp += '<div class="spacer"></div>';
	}
	return temp;
};

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetPaymentInfo = function(){
	var temp = '';
	if (this.item_price !== '') {
				temp += '<p>Order this print:</p>';
				temp += '<div class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> ' + (this.item_price).toFixed(2) + '</div>';
		var item_name  = this.purchase_instruction;
		var amount = (this.item_price).toFixed(2);
		var item_option  = 0;
	}
		else {
		
	}
	if (this.item_price !== '') {
			temp += '<div class="clearing">&nbsp;</div>';
	}
	return temp;};

/***************************************************************************
* Pick a photo at random from the featured images of a gallery.            *
* Gallery_id = id of gallery to choose,                                    *
* img = reference to html image in                                         *
* which to show image                                                      *
***************************************************************************/
function showGalleryImage(gallery_id, img, updateLink) {
	
	if(img){
		if (location.hash.match('galleries_id=' + gallery_id) && (imageID = location.hash.match('.*photos_id=(.+)$'))) {
		  	imageID = imageID[1];
		} else {
		  	imageID = randomListVal(galleries[gallery_id].featured_images);
		}
		
		if (imageID != 0) {
			img.src = thumbnails[imageID].src;
			img.width = thumbnails[imageID].width;
			img.height = thumbnails[imageID].height;
			img.alt = galleries[gallery_id].title;
			if (updateLink) {
				$(img).parent().attr({					title: galleries[gallery_id].title				}).filter(function(){return this.href;}).attr({					href: thumbnails[imageID].fnGalleryLink(gallery_id)				});
			}
		}
	}
}

/***************************************************************************
* If we have dynamic HTML, replace the galleries link with a list that     *
* doesn't include thecurrent gallery                                       *
***************************************************************************/
function showGalleries(gallery_id) {
		
	
	if (!basic) {
		temp = '';
		for (i = 0; i < galleries.length; i++) {
						
			
			if (galleries[i].id != gallery_id) {
								
				if (temp != '') {
					temp += ' | ';
				}
								temp += '<a href="' + galleries[i].section_code + '_' + galleries[i].id + '.html">' + galleries[i].title + '</a>';
							}
		}
		document.all.galleryLinks.innerHTML = 'Other galleries: ' + temp;
	}
}

			

