function addEmoticon(emoticon) {
	var txt = document.getElementById("01text");
	txt.value = txt.value + emoticon;
}

function openWindow(url, height, width) {
	window.open(url,'_blank','height=' + height+',width='+width);
}

function afterLoad() {
}

function checkCommentForm() {
	var result = false;
	if(document.forms[0].name.value.length > 0 && document.forms[0].text.value.length > 0)
		result = true;
	else
		alert("Merci de remplir tous les champs du formulaire.");
	return result;
}