window.onload = affiche;
function affiche(){
	if ($("grand_screenshots") != null){
		$("grand_screenshots").onclick = fermer_grande_image;
	}
	if ($("petit_screenshots") != null){
		$("petit_screenshots").onclick = ouvrir_grande_image;
	}
}
function fermer_grande_image(){
	if ($("grand_screenshots") != null){
		$("grand_screenshots").style.display = "none";
	}
}
function ouvrir_grande_image(){
	if ($("grand_screenshots") != null){
		$("grand_screenshots").style.display = "block";
	}
}
function note_dessus(valeur){
	var i;
	for (i=1 ; i<11 ; i++){
		if (!document.images){}
		if (i<(valeur+1)){
			document.images["note"+i].src = "images/etoile100.gif";
		}
		else{
			if (i<6){document.images["note"+i].src = "images/etoile060.gif";}
			else {document.images["note"+i].src = "images/etoile040.gif";}
		}
	}
}
function fermer_message(valeur){
	$(valeur).style.display = "none";
}
function $(id) {
	return document.getElementById(id);
}