function clignote() {
	document.getElementById('diode').style.display = "block";
}

function stopClignote() {
	document.getElementById('diode').style.display = "none";
}

function hoverImages(context, extention){
 	var imgHover = new Array()
  	var img = document.getElementById(context).getElementsByTagName('img');
	
	for (I = 0; I<img.length; I++) {
		if (img[I].id == "select") {
			continue;
		}
		imgHover[I] = new Image()
	    imgHover[I].src = img[I].src.replace("."+extention, "_ok."+extention+"");
	    if (img[I].src.indexOf("button_") == -1 && img[I].src.indexOf("bouton_") == -1) {
			continue;
		} 
	 	img[I].onmouseover = function(){
			this.src = (this.src.indexOf("_ok") == -1)? this.src.replace("."+extention, "_ok."+extention+""):this.src;     
	    }
	
	    img[I].onmouseout = function(){
			this.src = (this.src.indexOf("_ok") != -1)? this.src.replace("_ok."+extention+"", "."+extention):this.src;    
	    }
	}
	var img = document.getElementById(context).getElementsByTagName('input');
	
	for (I = 0; I<img.length; I++) {
		if (img[I].id == "select") {
			continue;
		}
		imgHover[I] = new Image()
	    imgHover[I].src = img[I].src.replace("."+extention, "_ok."+extention+"");
	    if (img[I].src.indexOf("button_") == -1 && img[I].src.indexOf("bouton_") == -1) {
			continue;
		} 
	 	img[I].onmouseover = function(){
			this.src = (this.src.indexOf("_ok") == -1)? this.src.replace("."+extention, "_ok."+extention+""):this.src;     
	    }
	
	    img[I].onmouseout = function(){
			this.src = (this.src.indexOf("_ok") != -1)? this.src.replace("_ok."+extention+"", "."+extention):this.src;    
	    }
	}
}