function rendreNul(element){
if(window.document.getElementById(element).value == 'pseudo' || window.document.getElementById(element).value == 'Tape ton commentaire ici! Le flood et le manque de respect sont interdits!')
window.document.getElementById(element).value = '';
}

function verifierCommentaire(){
var erreur="";
if(window.document.getElementById("pseudo").value==""||window.document.getElementById("pseudo").value=="pseudo"){
erreur+="Pseudo à compléter\n";
}
if(window.document.getElementById("commentaireATaper").value==""||window.document.getElementById("commentaireATaper").value=="Tape ton commentaire ici! Le flood et le manque de respect sont interdits!"){
erreur+="Commentaire incorrect\n";
}
if(erreur!=""){
window.alert(erreur);
return false;
}
return true;
}

function affichageNote(){
if(window.document.getElementById("donnerNoteOui").checked)
{
window.document.getElementById("noteInternaute").disabled=false;
window.document.getElementById("noteInternaute").value="";
window.document.getElementById("labelNote").style.color="black";

}
else{
window.document.getElementById("noteInternaute").disabled=true;
window.document.getElementById("labelNote").style.color="grey";
}
}