function launchWindow(url, features) {  
 win = window.open(url, "_blank", features);
}


// D'autres scripts et des tutoriaux sur http://www.toutjavascript.com	
// Script gratuit à condition de laisser ce commentaire 
// http://www.toutjavascript.com/main/script.php3?url=rollover  //// A  méditer

// Fonction de rollover
function rollover_tjs(nom,src) {	
	// nom est le nom de l'image
	// src est l'adresse du fichier d'image
	document.images[nom].src=src;
}


// Fonctions de préload

function load() {
	if (document.images) 
	{
		this.length=load.arguments.length;
		for (var i=0;i<this.length;i++) {
			this[i+1]=new Image();
			this[i+1].src=load.arguments[i];
		}
	}
}

//Cette fonction charge dans le cache toutes les images passées en paramètre
function preload() {	
	//var temp=new load("photos/gazon.jpg","photos/cloture_1.jpg","photos/terrassement_1.jpg","photos/bassin_2.jpg","photos/plage.jpg","photos/elagage.jpg","photos/parc_1.jpg","photos/trait_Arbre.jpg","photos/escaliermur.jpg");
	var temp=new load("photos/viandeardoise.jpg","photos/ratelierbouteille.jpg","photos/foiegrascanard.jpg","photos/vcuisine1.jpg","photos/ardoiseViande.jpg","photos/FoieGras.jpg","photos/FoieGrasTriangle.jpg");
	
}

 preload()


function imageSwap (image) {
rollover_tjs('bild','photos/'+ image + '.jpg') 	

}


