function LimitText(oElem,maxChars){
	var result = true;
	if (oElem.value.length >= maxChars){
		result = false;
	}
	
	if (window.event){
		window.event.returnValue = result;
	}
	
	return result;
}

function checkChar(oElem,maxChars){
	if(oElem.value.length >= maxChars){
		alert("The maximum number of characters for this field is "+maxChars+" characters. Your comments are currently "+oElem.value.length+" characters long.");
		oElem.focus();
		return false;
	}else{
		return true;
	}
}