function charcount(str) {
	document.getElementById('charcount').innerHTML = (50 - str.length);
}