
function CheckMaxLength(value,textarea)
{
	if (textarea.innerText.length > 0)
	{
		if (textarea.innerText.length > value)
		{
			alert('The maximum length of this textarea is ' + value + ' characters');
			textarea.focus();
		}
	}
}
