// JavaScript Document

//Function to count the number of characters in the signature text box
function DescriptionCharCount() {
	if(document.getElementById('cntChars').value <200) {
		;
	}
}

function chrCount(e,maxCnt) {
	var k;
	document.all ? k = e.keyCode : k = e.which;
	if(document.frmForum.signature.value.length>maxCnt){
		alert('Maximaal '+maxCnt+' tekens.');
		document.frmForum.signature.value = document.frmForum.signature.value.substr(0,200)
	}
	document.getElementById('cntChars').value = maxCnt - document.frmForum.signature.value.length;
	return (document.getElementById('cntChars').value>0);
}
