function submit_feedback()
{
	var flag = true;

	msg = "";
	
	//Start the validation	
	document.FeedbackForm.CNTDFORM_Submit.disabled=true;

	var str = document.FeedbackForm.Email.value;


	if(!checklength(str,6,255,"EMail Address") && !EMail_id(str))
	{
		msg = "Please enter a valid email address<br>";
		document.FeedbackForm.Email.focus();
		document.FeedbackForm.CNTDFORM_Submit.disabled=false;
		flag =  false;
	}
	
	str = document.FeedbackForm.Comments.value;
	str = Trim(str);

	
	if(!checklength(str,2,2055,"Comments"))
	{
		msg += "Please enter a Comment.Comments should be atleast 2 character long.<br>";
		document.FeedbackForm.Comments.focus();
		document.FeedbackForm.CNTDFORM_Submit.disabled=false;

		flag = false;
	}

	//Display the error messages
	if(!flag)
	{
	  seterror("lbl_error",msg);
	  show("div_error",true);
	}

	return flag;
}



