//Function to limit text entered into textarea
function limitText(textArea, length) {
if (textArea.value.length > length) {
textArea.value = textArea.value.substr(0,length);
if (textArea.value.length > length + 1)alert('The max limit is 254.  You have lost some characters!');
}
}