function textCounter(field, countfield, maxlimit)
{
	if (field.value.length > maxlimit){ // if too long...trim it!
		field.value = field.value.substring(0, maxlimit);
		alert('You have reached the maximum limit');
	// otherwise, update 'characters left' counter
	}
	else 
		countfield.value = maxlimit - field.value.length;
}
function textClear(field, countfield, maxlimit){
	if (countfield.value == 160)
		field.value = "";
}
function emptyCheck(){
        var frm = window.document.frmAnswer;
        if(frm.txtAnswer.value == ""){
                alert('Please enter your response');
				frm.txtAnswer.focus;
				exit();
				return false;
        }else{
                frm.postback.value = "send";
				frm.submit();
        }
}
