window.thumbnails = {};
															thumbnails[8841412] = clik.newPhoto({"id":8841412,"src":"partitionmusicalefeuilles_D0461258-24E8-5EC4-4F2B17814A75BDF4_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"","height":96});
															thumbnails[1696270] = clik.newPhoto({"id":1696270,"src":"windowpink_thumb.JPG","galleries_id":123806,"server_id":18,"link":"photo_1696270.html","width":130,"caption":"","height":98});
															thumbnails[1696465] = clik.newPhoto({"id":1696465,"src":"Barbara2_thumb.jpg","galleries_id":114112,"server_id":18,"link":"photo_1696465.html","width":130,"caption":"","height":109});
															thumbnails[1696471] = clik.newPhoto({"id":1696471,"src":"Aideduciel1_thumb.jpg","galleries_id":114112,"server_id":18,"link":"photo_1696471.html","width":130,"caption":"","height":86});
															thumbnails[1696472] = clik.newPhoto({"id":1696472,"src":"headsky3_thumb.jpg","galleries_id":114112,"server_id":18,"link":"photo_1696472.html","width":130,"caption":"","height":98});
															thumbnails[1696506] = clik.newPhoto({"id":1696506,"src":"Shadow1_thumb.jpg","galleries_id":114109,"server_id":18,"link":"photo_1696506.html","width":130,"caption":"","height":98});
															thumbnails[1696740] = clik.newPhoto({"id":1696740,"src":"Voletsclos_thumb.JPG","galleries_id":123806,"server_id":18,"link":"photo_1696740.html","width":130,"caption":"","height":98});
															thumbnails[1696743] = clik.newPhoto({"id":1696743,"src":"MobilisationNEM_thumb.JPG","galleries_id":114109,"server_id":18,"link":"photo_1696743.html","width":130,"caption":"","height":200});
															thumbnails[1698570] = clik.newPhoto({"id":1698570,"src":"MainsHasan_thumb.jpg","galleries_id":114109,"server_id":18,"link":"photo_1698570.html","width":130,"caption":"","height":195});
															thumbnails[1702583] = clik.newPhoto({"id":1702583,"src":"carreaucasse_thumb.JPG","galleries_id":123806,"server_id":18,"link":"photo_1702583.html","width":130,"caption":"","height":97});
															thumbnails[1702598] = clik.newPhoto({"id":1702598,"src":"Venneschaussures_thumb.jpg","galleries_id":114109,"server_id":18,"link":"photo_1702598.html","width":130,"caption":"","height":96});
															thumbnails[1841077] = clik.newPhoto({"id":1841077,"src":"murvertetronce_thumb.JPG","galleries_id":114106,"server_id":18,"link":"photo_1841077.html","width":130,"caption":"","height":98});
															thumbnails[2058131] = clik.newPhoto({"id":2058131,"src":"voletsclosGareConversion_thumb.jpg","galleries_id":123806,"server_id":18,"link":"photo_2058131.html","width":130,"caption":"","height":98});
															thumbnails[2121070] = clik.newPhoto({"id":2121070,"src":"maison volets verts balcon Pully_thumb.JPG","galleries_id":123806,"server_id":18,"link":"photo_2121070.html","width":130,"caption":"","height":98});
															thumbnails[2704869] = clik.newPhoto({"id":2704869,"src":"pharearrière1_thumb.jpg","galleries_id":170493,"server_id":18,"link":"photo_2704869.html","width":130,"caption":"","height":98});
															thumbnails[2704873] = clik.newPhoto({"id":2704873,"src":"parebrise 5575_thumb.jpg","galleries_id":386772,"server_id":18,"link":"photo_2704873.html","width":130,"caption":"","height":98});
															thumbnails[2704882] = clik.newPhoto({"id":2704882,"src":"poignée portière voiture_thumb.jpg","galleries_id":170493,"server_id":18,"link":"photo_2704882.html","width":130,"caption":"","height":98});
															thumbnails[2704886] = clik.newPhoto({"id":2704886,"src":"voituremoussecoffre_thumb.jpg","galleries_id":170493,"server_id":18,"link":"photo_2704886.html","width":130,"caption":"","height":98});
															thumbnails[2704888] = clik.newPhoto({"id":2704888,"src":"pneuscolorés_thumb.jpg","galleries_id":170493,"server_id":18,"link":"photo_2704888.html","width":130,"caption":"","height":87});
															thumbnails[2704893] = clik.newPhoto({"id":2704893,"src":"voitureenmurée_thumb.jpg","galleries_id":170493,"server_id":18,"link":"photo_2704893.html","width":130,"caption":"","height":87});
															thumbnails[2704914] = clik.newPhoto({"id":2704914,"src":"BennesBurénozetcarreauxjaunes_thumb.jpg","galleries_id":114106,"server_id":18,"link":"photo_2704914.html","width":130,"caption":"","height":98});
															thumbnails[2704926] = clik.newPhoto({"id":2704926,"src":"voituresdécharge_thumb.jpg","galleries_id":170493,"server_id":18,"link":"photo_2704926.html","width":130,"caption":"","height":87});
															thumbnails[2704928] = clik.newPhoto({"id":2704928,"src":"voitureailejaguarrouillée_thumb.jpg","galleries_id":170493,"server_id":18,"link":"photo_2704928.html","width":130,"caption":"","height":98});
															thumbnails[2704929] = clik.newPhoto({"id":2704929,"src":"pharesclinsd'oeil_thumb.jpg","galleries_id":170493,"server_id":18,"link":"photo_2704929.html","width":130,"caption":"","height":87});
															thumbnails[2739149] = clik.newPhoto({"id":2739149,"src":"Sortirdel'ombre_thumb.jpg","galleries_id":114109,"server_id":18,"link":"photo_2739149.html","width":130,"caption":"","height":89});
															thumbnails[2739159] = clik.newPhoto({"id":2739159,"src":"CouvertureInterditsd'asile1_thumb.jpg","galleries_id":114109,"server_id":18,"link":"photo_2739159.html","width":130,"caption":"","height":98});
															thumbnails[2739173] = clik.newPhoto({"id":2739173,"src":"voletsécrits_thumb.JPG","galleries_id":123806,"server_id":18,"link":"photo_2739173.html","width":130,"caption":"","height":98});
															thumbnails[2882981] = clik.newPhoto({"id":2882981,"src":"boué jaunedécrépiePullybest_thumb.jpg","galleries_id":114106,"server_id":18,"link":"photo_2882981.html","width":129,"caption":"","height":97});
															thumbnails[2929657] = clik.newPhoto({"id":2929657,"src":"plaquesdégradéesBest_thumb.jpg","galleries_id":114106,"server_id":18,"link":"photo_2929657.html","width":130,"caption":"","height":97});
															thumbnails[3249188] = clik.newPhoto({"id":3249188,"src":"MamaLona_thumb.JPG","galleries_id":114109,"server_id":18,"link":"photo_3249188.html","width":130,"caption":"","height":87});
															thumbnails[3249200] = clik.newPhoto({"id":3249200,"src":"murvertdécrépi_thumb.JPG","galleries_id":114106,"server_id":18,"link":"photo_3249200.html","width":130,"caption":"","height":98});
															thumbnails[3249215] = clik.newPhoto({"id":3249215,"src":"PoignéePlaceTunnel_thumb.jpg","galleries_id":123806,"server_id":18,"link":"photo_3249215.html","width":130,"caption":"","height":87});
															thumbnails[3249440] = clik.newPhoto({"id":3249440,"src":"carré métallique Malley 2_thumb.jpg","galleries_id":114106,"server_id":18,"link":"photo_3249440.html","width":130,"caption":"","height":88});
															thumbnails[3249449] = clik.newPhoto({"id":3249449,"src":"Fenêtre Calvaire_thumb.jpg","galleries_id":123806,"server_id":18,"link":"photo_3249449.html","width":130,"caption":"","height":87});
															thumbnails[3249453] = clik.newPhoto({"id":3249453,"src":"MobilisationSansPapiers (1)_thumb.JPG","galleries_id":114109,"server_id":18,"link":"photo_3249453.html","width":130,"caption":"","height":173});
															thumbnails[3249454] = clik.newPhoto({"id":3249454,"src":"Noeuds de bois Calvaire 01 copy_thumb.jpg","galleries_id":114106,"server_id":18,"link":"photo_3249454.html","width":130,"caption":"","height":87});
															thumbnails[3249459] = clik.newPhoto({"id":3249459,"src":"Ombres  C (1)_thumb.JPG","galleries_id":114109,"server_id":18,"link":"photo_3249459.html","width":130,"caption":"","height":176});
															thumbnails[3249512] = clik.newPhoto({"id":3249512,"src":"Cadrevide_thumb.jpg","galleries_id":114112,"server_id":18,"link":"photo_3249512.html","width":130,"caption":"","height":173});
															thumbnails[3249520] = clik.newPhoto({"id":3249520,"src":"Changerdedirection_thumb.jpg","galleries_id":114112,"server_id":18,"link":"photo_3249520.html","width":130,"caption":"","height":173});
															thumbnails[3249537] = clik.newPhoto({"id":3249537,"src":"Miroir_thumb.jpg","galleries_id":114112,"server_id":18,"link":"photo_3249537.html","width":130,"caption":"","height":173});
															thumbnails[3300606] = clik.newPhoto({"id":3300606,"src":"amoureux_thumb.JPG","galleries_id":114112,"server_id":18,"link":"photo_3300606.html","width":130,"caption":"","height":178});
															thumbnails[3300708] = clik.newPhoto({"id":3300708,"src":"bois blanc noir_thumb.jpg","galleries_id":114106,"server_id":18,"link":"photo_3300708.html","width":130,"caption":"","height":98});
															thumbnails[3300732] = clik.newPhoto({"id":3300732,"src":"Porte blanche_thumb.JPG","galleries_id":123806,"server_id":18,"link":"photo_3300732.html","width":130,"caption":"","height":98});
															thumbnails[3300754] = clik.newPhoto({"id":3300754,"src":"Mannequin2_thumb.JPG","galleries_id":114112,"server_id":18,"link":"photo_3300754.html","width":130,"caption":"","height":173});
															thumbnails[3300829] = clik.newPhoto({"id":3300829,"src":"MurEPFLdalmatien1_thumb.jpg","galleries_id":114106,"server_id":18,"link":"photo_3300829.html","width":130,"caption":"","height":87});
															thumbnails[3300833] = clik.newPhoto({"id":3300833,"src":"benneVidytracepneu1_thumb.jpg","galleries_id":114106,"server_id":18,"link":"photo_3300833.html","width":130,"caption":"","height":98});
															thumbnails[3377905] = clik.newPhoto({"id":3377905,"src":"BoutsdepapiersDolceVita 2 021_thumb.jpg","galleries_id":206335,"server_id":18,"link":"photo_3377905.html","width":130,"caption":"","height":98});
															thumbnails[3377909] = clik.newPhoto({"id":3377909,"src":"Boutspapiers Gare gens_thumb.JPG","galleries_id":206335,"server_id":18,"link":"photo_3377909.html","width":130,"caption":"","height":97});
															thumbnails[3377913] = clik.newPhoto({"id":3377913,"src":"murLutrybicolore_thumb.JPG","galleries_id":206335,"server_id":18,"link":"photo_3377913.html","width":130,"caption":"","height":87});
															thumbnails[3377917] = clik.newPhoto({"id":3377917,"src":"MurfissuréDolce_thumb.jpg","galleries_id":206335,"server_id":18,"link":"photo_3377917.html","width":130,"caption":"","height":87});
															thumbnails[3377926] = clik.newPhoto({"id":3377926,"src":"BoutsdepapiersDolceVita3bis_thumb.JPG","galleries_id":206335,"server_id":18,"link":"photo_3377926.html","width":130,"caption":"","height":98});
															thumbnails[3377936] = clik.newPhoto({"id":3377936,"src":"PoteauDolce X bis_thumb.jpg","galleries_id":206335,"server_id":18,"link":"photo_3377936.html","width":130,"caption":"","height":98});
															thumbnails[3378024] = clik.newPhoto({"id":3378024,"src":"PapiersDolce J_thumb.jpg","galleries_id":206335,"server_id":18,"link":"photo_3378024.html","width":130,"caption":"","height":98});
															thumbnails[3589785] = clik.newPhoto({"id":3589785,"src":"volet_sourire_Cité_thumb.jpg","galleries_id":123806,"server_id":18,"link":"photo_3589785.html","width":130,"caption":"","height":98});
															thumbnails[3864497] = clik.newPhoto({"id":3864497,"src":"fenêtre_bois_rouge_thumb.jpg","galleries_id":123806,"server_id":18,"link":"photo_3864497.html","width":130,"caption":"","height":98});
															thumbnails[3864510] = clik.newPhoto({"id":3864510,"src":"bateaubleu_gris_Lutry_1_thumb.jpg","galleries_id":114106,"server_id":18,"link":"photo_3864510.html","width":130,"caption":"","height":98});
															thumbnails[3864512] = clik.newPhoto({"id":3864512,"src":"bateauLutry_rouge_thumb.jpg","galleries_id":114106,"server_id":18,"link":"photo_3864512.html","width":130,"caption":"","height":98});
															thumbnails[3864521] = clik.newPhoto({"id":3864521,"src":"portegarage_trouée_flon_thumb.jpg","galleries_id":114106,"server_id":18,"link":"photo_3864521.html","width":130,"caption":"","height":98});
															thumbnails[4280294] = clik.newPhoto({"id":4280294,"src":"TolesLacJoux_C_thumb.JPG","galleries_id":114106,"server_id":18,"link":"photo_4280294.html","width":130,"caption":"","height":98});
															thumbnails[4280321] = clik.newPhoto({"id":4280321,"src":"Flonville_B_thumb.JPG","galleries_id":114106,"server_id":18,"link":"photo_4280321.html","width":130,"caption":"","height":98});
															thumbnails[4280335] = clik.newPhoto({"id":4280335,"src":"palmierMontpellier_D_thumb.JPG","galleries_id":114106,"server_id":18,"link":"photo_4280335.html","width":130,"caption":"","height":98});
															thumbnails[4280539] = clik.newPhoto({"id":4280539,"src":"PanneauaffichageFNAC_C_thumb.JPG","galleries_id":114106,"server_id":18,"link":"photo_4280539.html","width":130,"caption":"","height":98});
															thumbnails[4280547] = clik.newPhoto({"id":4280547,"src":"signalisationsolMontpellier_thumb.JPG","galleries_id":114106,"server_id":18,"link":"photo_4280547.html","width":130,"caption":"","height":98});
															thumbnails[4280583] = clik.newPhoto({"id":4280583,"src":"pénitencierSion_thumb.JPG","galleries_id":123806,"server_id":18,"link":"photo_4280583.html","width":130,"caption":"","height":98});
															thumbnails[5173863] = clik.newPhoto({"id":5173863,"src":"bennebicoloreSavigny_thumb.jpg","galleries_id":114106,"server_id":18,"link":"photo_5173863.html","width":130,"caption":"","height":98});
															thumbnails[5173866] = clik.newPhoto({"id":5173866,"src":"bobinestriéeMalley_thumb.jpg","galleries_id":114106,"server_id":18,"link":"photo_5173866.html","width":130,"caption":"","height":98});
															thumbnails[5173872] = clik.newPhoto({"id":5173872,"src":"palissadeargentéeRotillon_thumb.jpg","galleries_id":206335,"server_id":18,"link":"photo_5173872.html","width":130,"caption":"","height":98});
															thumbnails[5242558] = clik.newPhoto({"id":5242558,"src":"AquariumChauderon_thumb.jpg","galleries_id":123806,"server_id":18,"link":"photo_5242558.html","width":130,"caption":"","height":98});
															thumbnails[6675299] = clik.newPhoto({"id":6675299,"src":"fenêtreartsvisuelsvevey_thumb.jpg","galleries_id":123806,"server_id":18,"link":"photo_6675299.html","width":130,"caption":"","height":98});
															thumbnails[7023406] = clik.newPhoto({"id":7023406,"src":"bidonVeveyPortturquoise_thumb.jpg","galleries_id":114106,"server_id":18,"link":"photo_7023406.html","width":130,"caption":"","height":98});
															thumbnails[7023415] = clik.newPhoto({"id":7023415,"src":"cabineportcully_thumb.jpg","galleries_id":114106,"server_id":18,"link":"photo_7023415.html","width":130,"caption":"","height":98});
															thumbnails[7023437] = clik.newPhoto({"id":7023437,"src":"chenilletteBelmontrogné_thumb.jpg","galleries_id":114106,"server_id":18,"link":"photo_7023437.html","width":130,"caption":"","height":95});
															thumbnails[7023493] = clik.newPhoto({"id":7023493,"src":"Tuyaujaunechantier_B_thumb.JPG","galleries_id":114106,"server_id":18,"link":"photo_7023493.html","width":130,"caption":"","height":98});
															thumbnails[7023519] = clik.newPhoto({"id":7023519,"src":"NoeudsboisbrunsblancsCorsy_thumb.jpg","galleries_id":114106,"server_id":18,"link":"photo_7023519.html","width":130,"caption":"","height":98});
															thumbnails[7023541] = clik.newPhoto({"id":7023541,"src":"tolesonduléesTolochenazG_thumb.jpg","galleries_id":114106,"server_id":18,"link":"photo_7023541.html","width":130,"caption":"","height":98});
															thumbnails[7023556] = clik.newPhoto({"id":7023556,"src":"Dameauxpigeons_thumb.jpg","galleries_id":114112,"server_id":18,"link":"photo_7023556.html","width":130,"caption":"","height":173});
															thumbnails[7023568] = clik.newPhoto({"id":7023568,"src":"CroixsurrouilleBex_thumb.jpg","galleries_id":114106,"server_id":18,"link":"photo_7023568.html","width":130,"caption":"","height":97});
															thumbnails[7023600] = clik.newPhoto({"id":7023600,"src":"motsbacplante_thumb.jpg","galleries_id":206335,"server_id":18,"link":"photo_7023600.html","width":130,"caption":"","height":98});
															thumbnails[7155078] = clik.newPhoto({"id":7155078,"src":"17bis_thumb.JPG","galleries_id":386772,"server_id":18,"link":"photo_7155078.html","width":130,"caption":"","height":98});
															thumbnails[7155320] = clik.newPhoto({"id":7155320,"src":"131-52_thumb.jpg","galleries_id":386772,"server_id":18,"link":"photo_7155320.html","width":130,"caption":"","height":98});
															thumbnails[7155325] = clik.newPhoto({"id":7155325,"src":"BobineélectriqueMalley_thumb.jpg","galleries_id":386772,"server_id":18,"link":"photo_7155325.html","width":130,"caption":"","height":87});
															thumbnails[7155330] = clik.newPhoto({"id":7155330,"src":"dangerdemort1_thumb.JPG","galleries_id":386772,"server_id":18,"link":"photo_7155330.html","width":130,"caption":"","height":98});
															thumbnails[7155375] = clik.newPhoto({"id":7155375,"src":"Refletparking1_thumb.jpg","galleries_id":386772,"server_id":18,"link":"photo_7155375.html","width":130,"caption":"","height":98});
															thumbnails[7155389] = clik.newPhoto({"id":7155389,"src":"3760289_thumb.jpg","galleries_id":386772,"server_id":18,"link":"photo_7155389.html","width":130,"caption":"","height":96});
															thumbnails[7155435] = clik.newPhoto({"id":7155435,"src":"wagonSévelin_thumb.jpg","galleries_id":386772,"server_id":18,"link":"photo_7155435.html","width":130,"caption":"","height":89});
															thumbnails[7155461] = clik.newPhoto({"id":7155461,"src":"cabine44_thumb.jpg","galleries_id":386772,"server_id":18,"link":"photo_7155461.html","width":130,"caption":"","height":98});
															thumbnails[7155464] = clik.newPhoto({"id":7155464,"src":"BenneVex_H_thumb.jpg","galleries_id":206335,"server_id":18,"link":"photo_7155464.html","width":130,"caption":"","height":98});
															thumbnails[7155510] = clik.newPhoto({"id":7155510,"src":"voitureéclatdeparebrise_thumb.jpg","galleries_id":170493,"server_id":18,"link":"photo_7155510.html","width":130,"caption":"","height":83});
															thumbnails[7211395] = clik.newPhoto({"id":7211395,"src":"voletscoeur_thumb.jpg","galleries_id":123806,"server_id":18,"link":"photo_7211395.html","width":130,"caption":"","height":98});
															thumbnails[7491343] = clik.newPhoto({"id":7491343,"src":"nettoyageethniqueSerbie_A_thumb.jpg","galleries_id":206335,"server_id":18,"link":"photo_7491343.html","width":130,"caption":"","height":98});
															thumbnails[8396565] = clik.newPhoto({"id":8396565,"src":"Galerie_en_Beauregard_thumb.jpg","galleries_id":114106,"server_id":18,"link":"photo_8396565.html","width":130,"caption":"Flower power serie (9 pieces sous acryl 4mm \/50x37cm chacune)","height":98});
															thumbnails[8396579] = clik.newPhoto({"id":8396579,"src":"bateaucoquebleuPully_thumb.jpg","galleries_id":114106,"server_id":18,"link":"photo_8396579.html","width":130,"caption":"","height":98});
															thumbnails[8396594] = clik.newPhoto({"id":8396594,"src":"bateauVidy_bleu_thumb.jpg","galleries_id":114106,"server_id":18,"link":"photo_8396594.html","width":130,"caption":"Blue boat serie (4 pieces  \/ 30x45cm sous acryl)","height":87});
															thumbnails[8396601] = clik.newPhoto({"id":8396601,"src":"Galerie_En_Beauregard_A_thumb.jpg","galleries_id":114106,"server_id":18,"link":"photo_8396601.html","width":130,"caption":"photos 60x80cm sous acrylique 4mm","height":98});
															thumbnails[8396613] = clik.newPhoto({"id":8396613,"src":"Citationtravail_thumb.jpg","galleries_id":114106,"server_id":18,"link":"photo_8396613.html","width":130,"caption":"","height":99});
															thumbnails[8396644] = clik.newPhoto({"id":8396644,"src":"tuyauxrouillésMalley_thumb.jpg","galleries_id":114106,"server_id":18,"link":"photo_8396644.html","width":130,"caption":"","height":98});
															thumbnails[8396854] = clik.newPhoto({"id":8396854,"src":"blocacryl_thumb.jpg","galleries_id":114106,"server_id":18,"link":"photo_8396854.html","width":130,"caption":"Photo dans bloc acrylique 30mm 20x26 \/ Picture under acrylic","height":98});
															thumbnails[8517675] = clik.newPhoto({"id":8517675,"src":"Galerie_DécalQuai_thumb.jpg","galleries_id":206335,"server_id":18,"link":"photo_8517675.html","width":130,"caption":"","height":98});
															thumbnails[8517686] = clik.newPhoto({"id":8517686,"src":"Galerie_Inédit-sept_2011-D_thumb.jpg","galleries_id":114106,"server_id":18,"link":"photo_8517686.html","width":130,"caption":"","height":96});
															thumbnails[8841417] = clik.newPhoto({"id":8841417,"src":"paperfroisséjaunerougenoir_D06BE344-24E8-5EC4-4F15D6BAFD499483_thumb.jpg","galleries_id":206335,"server_id":18,"link":"photo_8841417.html","width":130,"caption":"","height":98});
															thumbnails[8841418] = clik.newPhoto({"id":8841418,"src":"couluresgoudron_D0A20A3B-24E8-5EC4-4FA4A3A8778A5C73_thumb.jpg","galleries_id":114106,"server_id":18,"link":"photo_8841418.html","width":130,"caption":"","height":98});
															thumbnails[8841420] = clik.newPhoto({"id":8841420,"src":"cuivrehome_A_D0AD8214-24E8-5EC4-4FE5E7C8A033A6CF_thumb.jpg","galleries_id":114106,"server_id":18,"link":"photo_8841420.html","width":130,"caption":"","height":98});
															thumbnails[8841443] = clik.newPhoto({"id":8841443,"src":"barreschantierpréfleuri_A_D0E79F31-24E8-5EC4-4FC186B1C242586C_thumb.jpg","galleries_id":114106,"server_id":18,"link":"photo_8841443.html","width":130,"caption":"","height":98});
															thumbnails[8841445] = clik.newPhoto({"id":8841445,"src":"couluresbateauGrandvaux_A_D100E9D2-24E8-5EC4-4F152DD81845512F_thumb.jpg","galleries_id":114106,"server_id":18,"link":"photo_8841445.html","width":130,"caption":"","height":98});
															thumbnails[8841540] = clik.newPhoto({"id":8841540,"src":"Boutspapiers_Gare_A_D17EE33F-24E8-5EC4-4F21D08C1093674B_thumb.jpg","galleries_id":206335,"server_id":18,"link":"photo_8841540.html","width":130,"caption":"","height":98});
															thumbnails[8841634] = clik.newPhoto({"id":8841634,"src":"poteauflonetiquettebleue_D1ACB688-24E8-5EC4-4FA68A46166E7901_thumb.jpg","galleries_id":206335,"server_id":18,"link":"photo_8841634.html","width":130,"caption":"","height":98});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[170493] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Car cemetery \/ Cimetière de voitures ","link":"gallery_170493.html","maxRecords":0.0,"photoIDs":[2704869.0,2704882.0,2704886.0,2704888.0,2704893.0,2704926.0,2704928.0,2704929.0,7155510.0],"skipIndex":0,"section_code":"gallery","featured_images":2704926.0,"id":170493,"singleSection":false});				  						galleries[123806] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Doors & Windows \/ Portes & Fenêtres","link":"gallery_123806.html","maxRecords":0.0,"photoIDs":[1696270.0,1696740.0,1702583.0,2058131.0,2121070.0,2739173.0,3249215.0,3249449.0,3300732.0,3589785.0,3864497.0,4280583.0,5242558.0,6675299.0,7211395.0],"skipIndex":0,"section_code":"gallery","featured_images":6675299.0,"id":123806,"singleSection":false});				  						galleries[206335] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Fissure & Déchirure","link":"gallery_206335.html","maxRecords":0.0,"photoIDs":[3377905.0,3377909.0,3377913.0,3377917.0,3377926.0,3377936.0,3378024.0,5173872.0,7023600.0,7155464.0,7491343.0,8517675.0,8841417.0,8841540.0,8841634.0],"skipIndex":0,"section_code":"gallery","featured_images":7491343.0,"id":206335,"singleSection":false});				  						galleries[114109] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Immigration","link":"gallery_114109.html","maxRecords":0.0,"photoIDs":[1696506.0,1696743.0,1698570.0,1702598.0,2739149.0,2739159.0,3249188.0,3249453.0,3249459.0],"skipIndex":0,"section_code":"gallery","featured_images":3249453.0,"id":114109,"singleSection":false});				  						galleries[114106] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Natural paintings \/ Tableaux naturels","link":"gallery_114106.html","maxRecords":0.0,"photoIDs":[1841077.0,2704914.0,2882981.0,2929657.0,3249200.0,3249440.0,3249454.0,3300708.0,3300829.0,3300833.0,3864510.0,3864512.0,3864521.0,4280294.0,4280321.0,4280335.0,4280539.0,4280547.0,5173863.0,5173866.0,7023406.0,7023415.0,7023437.0,7023493.0,7023519.0,7023541.0,7023568.0,8396565.0,8396579.0,8396594.0,8396601.0,8396613.0,8396644.0,8396854.0,8517686.0,8841418.0,8841420.0,8841443.0,8841445.0],"skipIndex":0,"section_code":"gallery","featured_images":8396579.0,"id":114106,"singleSection":false});				  						galleries[386772] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Numbers \/ Chiffres","link":"gallery_386772.html","maxRecords":0.0,"photoIDs":[2704873.0,7155078.0,7155320.0,7155325.0,7155330.0,7155375.0,7155389.0,7155435.0,7155461.0],"skipIndex":0,"section_code":"gallery","featured_images":7155325.0,"id":386772,"singleSection":false});				  						galleries[114112] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Others \/ Divers","link":"gallery_114112.html","maxRecords":0.0,"photoIDs":[1696465.0,1696471.0,1696472.0,3249512.0,3249520.0,3249537.0,3300606.0,3300754.0,7023556.0],"skipIndex":0,"section_code":"gallery","featured_images":"3249537,1696465","id":114112,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '8841412';
imageSets[2] = '8396579,7491343,7155325,6675299,3249537,3249453,2704926,1696465';
imageSets[3] = '8841634,8841540,8841445,8841443,8841420,8841418,8841417,8841412,8517686,8517675,8396854,8396644,8396613,8396601,8396594,8396579,8396565,7491343,7211395,7155510,7155464,7155461,7155435,7155389,7155375,7155330,7155325,7155320,7155078,7023600,7023568,7023556,7023541,7023519,7023493,7023437,7023415,7023406,6675299,5242558,5173872,5173866,5173863,4280583,4280547,4280539,4280335,4280321,4280294,3864521';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/jmgunz/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/jmgunz/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/jmgunz/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/jmgunz/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/jmgunz/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/jmgunz/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/jmgunz/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/jmgunz/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/jmgunz/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/jmgunz/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/jmgunz/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/jmgunz/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/jmgunz/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/jmgunz/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/jmgunz/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/jmgunz/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/jmgunz/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/jmgunz/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/jmgunz/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/jmgunz/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/jmgunz/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/jmgunz/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/jmgunz/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/jmgunz/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/jmgunz/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/jmgunz/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/jmgunz/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 = 'Jean-Michel Gunz Photographies: ' + 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>Jean-Michel Gunz </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 !== '' || this.payment_groups_id !== '') {
			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;
	}
}

			

