var afq_defQuestion = "Enter your question here";

function afq_validate(){
	if( document.formAFQ.questionAFQ.value!="" && document.formAFQ.questionAFQ.value!= afq_defQuestion ) {
		document.formAFQ.questionAFQ.value = astReplaceForbidden(document.formAFQ.questionAFQ.value);
		//setCookie('freeQuestionCookie','freeQuestionCookie',100000);
		//parent.window.location.reload();
		return true;
	}
	alert('Please enter your question');
	return false;
}
function afq_onFocus(){
	if( document.formAFQ.questionAFQ.value== afq_defQuestion ) {
		document.formAFQ.questionAFQ.value = '';
	}
}
function afq_onBlur(){
	if( document.formAFQ.questionAFQ.value=="" ) {
		document.formAFQ.questionAFQ.value = afq_defQuestion;
	}
}

function imposeMaxLength(Object, MaxLen)
{
  if (Object.value.length > MaxLen)	{
	Object.value = (Object.value).substring(0, MaxLen);  
	alert('Please limit your question to 500 characters');
  }
}
