window.thumbnails = {};
															thumbnails[3859597] = clik.newPhoto({"id":3859597,"src":"sonnenuntergang_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"Sonnenuntergang in St. Finian´s Bay","height":87});
															thumbnails[3892417] = clik.newPhoto({"id":3892417,"src":"IMG_9819caherlehilan_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"Die vermutlich älteste christliche Ansiedlung Irlands in der Nähe von Caherciveen","height":87});
															thumbnails[4249005] = clik.newPhoto({"id":4249005,"src":"summer_glen_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"Puffin Island in St. Finian´s Bay","height":73});
															thumbnails[4956478] = clik.newPhoto({"id":4956478,"src":"skellig_michael_photos_16_lines_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":195});
															thumbnails[4956481] = clik.newPhoto({"id":4956481,"src":"IMG_9838_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":195});
															thumbnails[4956484] = clik.newPhoto({"id":4956484,"src":"IMG_9803_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":87});
															thumbnails[4956488] = clik.newPhoto({"id":4956488,"src":"IMG_97711_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":87});
															thumbnails[4956493] = clik.newPhoto({"id":4956493,"src":"IMG_9741_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":87});
															thumbnails[4956498] = clik.newPhoto({"id":4956498,"src":"IMG_1539_Kopie_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":195});
															thumbnails[4956502] = clik.newPhoto({"id":4956502,"src":"IMG_1195_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":195});
															thumbnails[4956504] = clik.newPhoto({"id":4956504,"src":"IMG_0151_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":87});
															thumbnails[4956650] = clik.newPhoto({"id":4956650,"src":"DSC_0485kerstingrid_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":195});
															thumbnails[5463518] = clik.newPhoto({"id":5463518,"src":"glascutting_web1_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":33});
															thumbnails[5548716] = clik.newPhoto({"id":5548716,"src":"IMGMusicRosies_3729_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":87});
															thumbnails[6286613] = clik.newPhoto({"id":6286613,"src":"smallPhotoWalk_Leader468X60BannerAd_0510_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":16});
															thumbnails[6863137] = clik.newPhoto({"id":6863137,"src":"Skelligphototours-91ab_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":89});
															thumbnails[6863143] = clik.newPhoto({"id":6863143,"src":"Skelligphoto_tours-ab_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":87});
															thumbnails[6863782] = clik.newPhoto({"id":6863782,"src":"Skelligphototours-0347_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":88});
															thumbnails[7490122] = clik.newPhoto({"id":7490122,"src":"raku4_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":87});
															thumbnails[8838786] = clik.newPhoto({"id":8838786,"src":"skelligphototours_BCBA1BD2-1E4F-37DC-710F8798C901475B_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":89});
															thumbnails[3892978] = clik.newPhoto({"id":3892978,"src":"Ballinskelligs_04_thumb.jpg","galleries_id":234763,"server_id":15,"link":"photo_3892978.html","width":130,"caption":"St. Finian´s Bay ist über das ganze Jahr beliebt bei Surfern","height":87});
															thumbnails[3892982] = clik.newPhoto({"id":3892982,"src":"Ballinskelligs_06_thumb.jpg","galleries_id":234763,"server_id":15,"link":"photo_3892982.html","width":130,"caption":"Kilrealig, für  Künstler restaurierte Siedlung in Ballinskelligs","height":87});
															thumbnails[3892983] = clik.newPhoto({"id":3892983,"src":"Ballinskelligs_07_thumb.jpg","galleries_id":234763,"server_id":15,"link":"photo_3892983.html","width":130,"caption":"Auf der Strasse zwischen St. Finian´s Bay und Ballinskelligs","height":87});
															thumbnails[3892985] = clik.newPhoto({"id":3892985,"src":"Ballinskelligs_08_thumb.jpg","galleries_id":234763,"server_id":15,"link":"photo_3892985.html","width":130,"caption":"Horse Island in der Ballinskelligs Bucht","height":87});
															thumbnails[3892994] = clik.newPhoto({"id":3892994,"src":"Ballinskelligs_15_thumb.jpg","galleries_id":234763,"server_id":15,"link":"photo_3892994.html","width":130,"caption":"Friedhof in der Ballinskelligs Abbey","height":195});
															thumbnails[4359791] = clik.newPhoto({"id":4359791,"src":"skellig_michael_photos_01_thumb.jpg","galleries_id":256221,"server_id":15,"link":"photo_4359791.html","width":130,"caption":"Puffin auf Skellig Michael","height":87});
															thumbnails[4359794] = clik.newPhoto({"id":4359794,"src":"skellig_michael_photos_02_thumb.jpg","galleries_id":256221,"server_id":15,"link":"photo_4359794.html","width":130,"caption":"Unterer Leuchtturm auf Skellig Michael","height":87});
															thumbnails[4359798] = clik.newPhoto({"id":4359798,"src":"skellig_michael_photos_03_thumb.jpg","galleries_id":256221,"server_id":15,"link":"photo_4359798.html","width":130,"caption":"Klosteranlage auf Skellig Michael","height":87});
															thumbnails[4359802] = clik.newPhoto({"id":4359802,"src":"skellig_michael_photos_04_thumb.jpg","galleries_id":256221,"server_id":15,"link":"photo_4359802.html","width":130,"caption":"Klosteranlage auf Skellig Michael im Morgenlicht","height":87});
															thumbnails[4359809] = clik.newPhoto({"id":4359809,"src":"skellig_michael_photos_05_thumb.jpg","galleries_id":256221,"server_id":15,"link":"photo_4359809.html","width":130,"caption":"Auf der Südspitze von Skellig Michael","height":87});
															thumbnails[4359812] = clik.newPhoto({"id":4359812,"src":"skellig_michael_photos_06_thumb.jpg","galleries_id":256221,"server_id":15,"link":"photo_4359812.html","width":130,"caption":"Teil der Klostersiedlung und unterer Leuchtturm auf Skellig Michael","height":87});
															thumbnails[4359813] = clik.newPhoto({"id":4359813,"src":"skellig_michael_photos_07_thumb.jpg","galleries_id":256221,"server_id":15,"link":"photo_4359813.html","width":130,"caption":"Blick von der Südspitze über die Klosteranlage zur Kleinen Skellig Insel ","height":87});
															thumbnails[4359814] = clik.newPhoto({"id":4359814,"src":"skellig_michael_photos_08_thumb.jpg","galleries_id":256221,"server_id":15,"link":"photo_4359814.html","width":130,"caption":"Obere Eremitenklause auf Skellig Michael","height":87});
															thumbnails[4359815] = clik.newPhoto({"id":4359815,"src":"skellig_michael_photos_09_thumb.jpg","galleries_id":256221,"server_id":15,"link":"photo_4359815.html","width":130,"caption":"Grabsteine der Mönche von Skellig Michael","height":195});
															thumbnails[4359818] = clik.newPhoto({"id":4359818,"src":"skellig_michael_photos_10_thumb.jpg","galleries_id":256221,"server_id":15,"link":"photo_4359818.html","width":130,"caption":"Puffins brüten in den Sommermonaten auf den Skelligs Inseln","height":195});
															thumbnails[4359819] = clik.newPhoto({"id":4359819,"src":"skellig_michael_photos_11_thumb.jpg","galleries_id":256221,"server_id":15,"link":"photo_4359819.html","width":130,"caption":"","height":195});
															thumbnails[4359821] = clik.newPhoto({"id":4359821,"src":"skellig_michael_photos_12_thumb.jpg","galleries_id":256221,"server_id":15,"link":"photo_4359821.html","width":130,"caption":"Steinkreuz mit Blick auf die Kleine Skelligs","height":195});
															thumbnails[4359823] = clik.newPhoto({"id":4359823,"src":"skellig_michael_photos_13_thumb.jpg","galleries_id":256221,"server_id":15,"link":"photo_4359823.html","width":130,"caption":"Ruine des oberen Leuchtturms auf Skellig Michael","height":195});
															thumbnails[4359824] = clik.newPhoto({"id":4359824,"src":"skellig_michael_photos_14_thumb.jpg","galleries_id":256221,"server_id":15,"link":"photo_4359824.html","width":130,"caption":"Unterer Leuchtturm auf Skellig Michael","height":195});
															thumbnails[4359825] = clik.newPhoto({"id":4359825,"src":"skellig_michael_photos_15_thumb.jpg","galleries_id":256221,"server_id":15,"link":"photo_4359825.html","width":130,"caption":"Unterer Leuchtturm","height":195});
															thumbnails[4359828] = clik.newPhoto({"id":4359828,"src":"skellig_michael_photos_16_thumb.jpg","galleries_id":256221,"server_id":15,"link":"photo_4359828.html","width":130,"caption":"Regenbogen trifft auf Little Skellig, ein Vogelparadies","height":195});
															thumbnails[5463487] = clik.newPhoto({"id":5463487,"src":"skelligsunset01_10_thumb.jpg","galleries_id":234763,"server_id":15,"link":"photo_5463487.html","width":130,"caption":"Die Skelligs im winterlichen Abendlicht ","height":76});
															thumbnails[5463494] = clik.newPhoto({"id":5463494,"src":"skellig_house_thumb.jpg","galleries_id":234763,"server_id":15,"link":"photo_5463494.html","width":130,"caption":"Moyrisk in St. Finian´s Bay, rechts Puffin Island","height":87});
															thumbnails[5763630] = clik.newPhoto({"id":5763630,"src":"horse_Isl_web01_thumb.jpg","galleries_id":234763,"server_id":15,"link":"photo_5763630.html","width":130,"caption":"Horse Island","height":87});
															thumbnails[5763636] = clik.newPhoto({"id":5763636,"src":"oystercatcher_thumb.jpg","galleries_id":234763,"server_id":15,"link":"photo_5763636.html","width":130,"caption":"Austernfänger am Strand von Ballinskelligs","height":87});
															thumbnails[5763640] = clik.newPhoto({"id":5763640,"src":"P1000498ballinskelligsabbey_thumb.jpg","galleries_id":234763,"server_id":15,"link":"photo_5763640.html","width":130,"caption":"Friedhof um die Ruinen der Ballinskelligs Abbey","height":73});
															thumbnails[5763644] = clik.newPhoto({"id":5763644,"src":"skellig_sunset_thumb.jpg","galleries_id":234763,"server_id":15,"link":"photo_5763644.html","width":130,"caption":"Skellig Michael und Little Skellig","height":60});
															thumbnails[5763651] = clik.newPhoto({"id":5763651,"src":"reenroepano01_thumb.jpg","galleries_id":234763,"server_id":15,"link":"photo_5763651.html","width":130,"caption":"Am Reenroe Strand, Ballinskelligs","height":55});
															thumbnails[5763661] = clik.newPhoto({"id":5763661,"src":"slides800_2_of_4_thumb.jpg","galleries_id":234763,"server_id":15,"link":"photo_5763661.html","width":130,"caption":"Skellig Michael, vom Hubschrauber aus fotografiert","height":87});
															thumbnails[5763667] = clik.newPhoto({"id":5763667,"src":"stillsea_thumb.jpg","galleries_id":234763,"server_id":15,"link":"photo_5763667.html","width":130,"caption":"Abends in St. Finian´s Bay","height":92});
															thumbnails[5763676] = clik.newPhoto({"id":5763676,"src":"P1000487ballinskelligsabbey_thumb.jpg","galleries_id":234763,"server_id":15,"link":"photo_5763676.html","width":130,"caption":"Ruinen der Ballinskelligs Abbey","height":195});
															thumbnails[5805437] = clik.newPhoto({"id":5805437,"src":"bally_castle_80_thumb.jpg","galleries_id":234763,"server_id":15,"link":"photo_5805437.html","width":130,"caption":"Sonnenaufgang am Ballinskelligs Castle, im Winter ","height":87});
															thumbnails[6569565] = clik.newPhoto({"id":6569565,"src":"skelligphototours_2010-1_thumb.jpg","galleries_id":360494,"server_id":15,"link":"photo_6569565.html","width":130,"caption":"","height":87});
															thumbnails[6569567] = clik.newPhoto({"id":6569567,"src":"skelligphototours_2010-2_thumb.jpg","galleries_id":360494,"server_id":15,"link":"photo_6569567.html","width":130,"caption":"","height":87});
															thumbnails[6569568] = clik.newPhoto({"id":6569568,"src":"skelligphototours_2010-3_thumb.jpg","galleries_id":360494,"server_id":15,"link":"photo_6569568.html","width":130,"caption":"","height":87});
															thumbnails[6569571] = clik.newPhoto({"id":6569571,"src":"skelligphototours_2010-4_thumb.jpg","galleries_id":360494,"server_id":15,"link":"photo_6569571.html","width":130,"caption":"","height":87});
															thumbnails[6569573] = clik.newPhoto({"id":6569573,"src":"skelligphototours_2010-5_thumb.jpg","galleries_id":360494,"server_id":15,"link":"photo_6569573.html","width":130,"caption":"","height":90});
															thumbnails[6569574] = clik.newPhoto({"id":6569574,"src":"skelligphototours_2010-6_thumb.jpg","galleries_id":360494,"server_id":15,"link":"photo_6569574.html","width":130,"caption":"","height":195});
															thumbnails[6569577] = clik.newPhoto({"id":6569577,"src":"skelligphototours_2010-7_thumb.jpg","galleries_id":360494,"server_id":15,"link":"photo_6569577.html","width":130,"caption":"","height":87});
															thumbnails[6569578] = clik.newPhoto({"id":6569578,"src":"skelligphototours_2010-8_thumb.jpg","galleries_id":360494,"server_id":15,"link":"photo_6569578.html","width":130,"caption":"","height":87});
															thumbnails[6569581] = clik.newPhoto({"id":6569581,"src":"skelligphototours_2010-9_thumb.jpg","galleries_id":360494,"server_id":15,"link":"photo_6569581.html","width":130,"caption":"","height":87});
															thumbnails[6569582] = clik.newPhoto({"id":6569582,"src":"skelligphototours_2010-10_thumb.jpg","galleries_id":360494,"server_id":15,"link":"photo_6569582.html","width":130,"caption":"","height":87});
															thumbnails[6569586] = clik.newPhoto({"id":6569586,"src":"skelligphototours_2010-11_thumb.jpg","galleries_id":360494,"server_id":15,"link":"photo_6569586.html","width":130,"caption":"","height":87});
															thumbnails[6569588] = clik.newPhoto({"id":6569588,"src":"skelligphototours_2010-12_thumb.jpg","galleries_id":360494,"server_id":15,"link":"photo_6569588.html","width":130,"caption":"","height":87});
															thumbnails[6569591] = clik.newPhoto({"id":6569591,"src":"skelligphototours_2010-13_thumb.jpg","galleries_id":360494,"server_id":15,"link":"photo_6569591.html","width":130,"caption":"","height":87});
															thumbnails[6569592] = clik.newPhoto({"id":6569592,"src":"skelligphototours_2010-14_thumb.jpg","galleries_id":360494,"server_id":15,"link":"photo_6569592.html","width":130,"caption":"","height":87});
															thumbnails[6569593] = clik.newPhoto({"id":6569593,"src":"skelligphototours_2010-15_thumb.jpg","galleries_id":360494,"server_id":15,"link":"photo_6569593.html","width":130,"caption":"","height":87});
															thumbnails[6569594] = clik.newPhoto({"id":6569594,"src":"skelligphototours_2010-16_thumb.jpg","galleries_id":360494,"server_id":15,"link":"photo_6569594.html","width":130,"caption":"","height":87});
															thumbnails[6569596] = clik.newPhoto({"id":6569596,"src":"skelligphototours_2010-17_thumb.jpg","galleries_id":360494,"server_id":15,"link":"photo_6569596.html","width":130,"caption":"","height":87});
															thumbnails[6569603] = clik.newPhoto({"id":6569603,"src":"skelligphototours_2010-18_thumb.jpg","galleries_id":360494,"server_id":15,"link":"photo_6569603.html","width":130,"caption":"","height":87});
															thumbnails[6569605] = clik.newPhoto({"id":6569605,"src":"skelligphototours_2010-19_thumb.jpg","galleries_id":360494,"server_id":15,"link":"photo_6569605.html","width":130,"caption":"","height":87});
															thumbnails[6569606] = clik.newPhoto({"id":6569606,"src":"skelligphototours_2010-20_thumb.jpg","galleries_id":360494,"server_id":15,"link":"photo_6569606.html","width":130,"caption":"","height":87});
															thumbnails[6569607] = clik.newPhoto({"id":6569607,"src":"skelligphototours_2010-21_thumb.jpg","galleries_id":360494,"server_id":15,"link":"photo_6569607.html","width":130,"caption":"","height":87});
															thumbnails[6569608] = clik.newPhoto({"id":6569608,"src":"skelligphototours_2010-22_thumb.jpg","galleries_id":360494,"server_id":15,"link":"photo_6569608.html","width":130,"caption":"","height":87});
															thumbnails[6569611] = clik.newPhoto({"id":6569611,"src":"skelligphototours_2010-23_thumb.jpg","galleries_id":360494,"server_id":15,"link":"photo_6569611.html","width":130,"caption":"","height":87});
															thumbnails[6569613] = clik.newPhoto({"id":6569613,"src":"skelligphototours_2010-24_thumb.jpg","galleries_id":360494,"server_id":15,"link":"photo_6569613.html","width":130,"caption":"","height":87});
															thumbnails[6569614] = clik.newPhoto({"id":6569614,"src":"skelligphototours_2010-25_thumb.jpg","galleries_id":360494,"server_id":15,"link":"photo_6569614.html","width":130,"caption":"","height":87});
															thumbnails[6569616] = clik.newPhoto({"id":6569616,"src":"skelligphototours_2010-26_thumb.jpg","galleries_id":360494,"server_id":15,"link":"photo_6569616.html","width":130,"caption":"","height":87});
															thumbnails[6569618] = clik.newPhoto({"id":6569618,"src":"skelligphototours_2010-27_thumb.jpg","galleries_id":360494,"server_id":15,"link":"photo_6569618.html","width":130,"caption":"","height":87});
															thumbnails[6569620] = clik.newPhoto({"id":6569620,"src":"skelligphototours_2010-28_thumb.jpg","galleries_id":360494,"server_id":15,"link":"photo_6569620.html","width":130,"caption":"","height":87});
															thumbnails[4800649] = clik.newPhoto({"id":4800649,"src":"DSC_0285web_thumb.jpg","galleries_id":274642,"server_id":15,"link":"photo_4800649.html","width":130,"caption":"Fotoworkshop Cahirciveen","height":195});
															thumbnails[4800651] = clik.newPhoto({"id":4800651,"src":"DSC_0294web_thumb.jpg","galleries_id":274642,"server_id":15,"link":"photo_4800651.html","width":130,"caption":"Fotoworkshop Cahirciveen,<br>\r\n","height":87});
															thumbnails[4800640] = clik.newPhoto({"id":4800640,"src":"IMG_3477web_thumb.jpg","galleries_id":274642,"server_id":15,"link":"photo_4800640.html","width":130,"caption":"Sonnenaufgang an Portmagee´s alter Pier","height":87});
															thumbnails[4800644] = clik.newPhoto({"id":4800644,"src":"DSC_0017web_thumb.jpg","galleries_id":274642,"server_id":15,"link":"photo_4800644.html","width":130,"caption":"Fotoworkshop am Ringfort in Cahirciveen","height":87});
															thumbnails[4800664] = clik.newPhoto({"id":4800664,"src":"IMG_9587_Kopieweb_thumb.jpg","galleries_id":274642,"server_id":15,"link":"photo_4800664.html","width":130,"caption":"Ringfort Cahirciveen","height":87});
															thumbnails[4800666] = clik.newPhoto({"id":4800666,"src":"IMG_9774_Kopieweb_thumb.jpg","galleries_id":274642,"server_id":15,"link":"photo_4800666.html","width":130,"caption":"Fotoworkshop Cahirciveen","height":87});
															thumbnails[4800677] = clik.newPhoto({"id":4800677,"src":"P1000873web_thumb.jpg","galleries_id":274642,"server_id":15,"link":"photo_4800677.html","width":130,"caption":"Ein-Tages-Fotoworkshop auf Skellig Michael","height":87});
															thumbnails[4800655] = clik.newPhoto({"id":4800655,"src":"P1010401web_thumb.jpg","galleries_id":274642,"server_id":15,"link":"photo_4800655.html","width":130,"caption":"","height":195});
															thumbnails[4800663] = clik.newPhoto({"id":4800663,"src":"IMG_0209_Kopieweb_thumb.jpg","galleries_id":274642,"server_id":15,"link":"photo_4800663.html","width":130,"caption":"Auf der Insel Illaunlaughan bei Portmagee, ein kulturhistorisches Kleinod","height":87});
															thumbnails[4800682] = clik.newPhoto({"id":4800682,"src":"P1000803web_thumb.jpg","galleries_id":274642,"server_id":15,"link":"photo_4800682.html","width":130,"caption":"Auf Valentia Island","height":87});
															thumbnails[4800685] = clik.newPhoto({"id":4800685,"src":"P1000759web_thumb.jpg","galleries_id":274642,"server_id":15,"link":"photo_4800685.html","width":130,"caption":"Auf Valentia Island","height":87});
															thumbnails[4800689] = clik.newPhoto({"id":4800689,"src":"P1000418web_thumb.jpg","galleries_id":274642,"server_id":15,"link":"photo_4800689.html","width":130,"caption":"Eintägiger Fotoworkshop in Derrynane Garden","height":87});
															thumbnails[4387443] = clik.newPhoto({"id":4387443,"src":"IMG_7596_4_5_Kopie_thumb.jpg","galleries_id":256221,"server_id":15,"link":"photo_4387443.html","width":130,"caption":"Die schwer zugängliche Südspitze auf Skellig Michael beherbergt Ruinen einer Eremitenbehausung, entfernt von dem Hauptkloster","height":195});
															thumbnails[4387445] = clik.newPhoto({"id":4387445,"src":"IMG_7515_3_4_Kopie12_thumb.jpg","galleries_id":256221,"server_id":15,"link":"photo_4387445.html","width":130,"caption":"Wohnhütten und Kirchenruine der Klosteranlage auf Skellig Michael","height":195});
															thumbnails[4387446] = clik.newPhoto({"id":4387446,"src":"IMG_7659_7_8_Kopie_thumb.jpg","galleries_id":256221,"server_id":15,"link":"photo_4387446.html","width":130,"caption":"Über tausend Jahre alte Steinkreuze stehen zwischen den bienenkorbartigen Wohnstätten der Mönche","height":195});
															thumbnails[4387447] = clik.newPhoto({"id":4387447,"src":"IMG_7665_3_4_Kopie_thumb.jpg","galleries_id":256221,"server_id":15,"link":"photo_4387447.html","width":130,"caption":"Verwitterete Steinkreuze auf Skellig Michael","height":195});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[274642] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Fotos von verschiedenen Kursen im Sommer 2009","link":"gallery_274642.html","maxRecords":0.0,"photoIDs":[4800649.0,4800651.0,4800640.0,4800644.0,4800664.0,4800666.0,4800677.0,4800655.0,4800663.0,4800682.0,4800685.0,4800689.0],"skipIndex":0,"section_code":"gallery","featured_images":4800649.0,"id":274642,"singleSection":false});				  						galleries[360494] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Fotourlaub Irland, August 2010","link":"gallery_360494.html","maxRecords":0.0,"photoIDs":[6569565.0,6569567.0,6569568.0,6569571.0,6569573.0,6569574.0,6569577.0,6569578.0,6569581.0,6569582.0,6569586.0,6569588.0,6569591.0,6569592.0,6569593.0,6569594.0,6569596.0,6569603.0,6569605.0,6569606.0,6569607.0,6569608.0,6569611.0,6569613.0,6569614.0,6569616.0,6569618.0,6569620.0],"skipIndex":0,"section_code":"gallery","featured_images":"6569620,6569618,6569616,6569614,6569613,6569611,6569608,6569607,6569606,6569605","id":360494,"singleSection":false});				  						galleries[234763] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Ballinskelligs und St. Finian´s Bay","link":"gallery_234763.html","maxRecords":0.0,"photoIDs":[3892978.0,3892982.0,3892983.0,3892985.0,3892994.0,5463487.0,5463494.0,5763630.0,5763636.0,5763640.0,5763644.0,5763651.0,5763661.0,5763667.0,5763676.0,5805437.0],"skipIndex":0,"section_code":"gallery","featured_images":3892994.0,"id":234763,"singleSection":false});				  						galleries[256221] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Auf Skellig Michael","link":"gallery_256221.html","maxRecords":0.0,"photoIDs":[4359791.0,4359794.0,4359798.0,4359802.0,4359809.0,4359812.0,4359813.0,4359814.0,4359815.0,4359818.0,4359819.0,4359821.0,4359823.0,4359824.0,4359825.0,4359828.0,4387443.0,4387445.0,4387446.0,4387447.0],"skipIndex":0,"section_code":"gallery","featured_images":4359821.0,"id":256221,"singleSection":false});				  						galleries[307925] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Digitale Fotobücher zum hier Blättern","link":"gallery_307925.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"","id":307925,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '8838786';
imageSets[2] = '4359821,3892994,4800649';
imageSets[3] = '5805437';
imageSets[246330] = '4359828,4359825,4359824,4359823,4359821,4359819,4359818,4359815,4359814,4359813,4359812,4359809,4359802,4359798,4359794,4359791,4387443,4387445,4387446,4387447';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/eherrmann/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/eherrmann/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/eherrmann/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/eherrmann/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/eherrmann/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/eherrmann/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/eherrmann/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/eherrmann/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/eherrmann/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/eherrmann/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/eherrmann/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/eherrmann/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/eherrmann/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/eherrmann/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/eherrmann/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/eherrmann/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/eherrmann/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/eherrmann/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/eherrmann/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/eherrmann/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/eherrmann/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/eherrmann/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/eherrmann/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/eherrmann/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/eherrmann/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/eherrmann/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/eherrmann/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 = 'FOTOREISEN IRLAND - Michael Herrmann: ' + 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;
	}
}

			

