function doSubmit(intDescriptionMaxLength)
{
	var objForm = document.frm;
	var objCurrent;
	
	objCurrent = objForm.txtName;
	if(isEmpty(objCurrent.value))
	{
		alert("Please, enter Your Name.");
		objCurrent.focus();
		return false;
	}
	
	objCurrent = objForm.txtOrganizationName;
	if(isEmpty(objCurrent.value))
	{
		alert("Please, enter Organization’s Name.");
		objCurrent.focus();
		return false;
	}
	
	objCurrent = objForm.txtAddress;
	if(isEmpty(objCurrent.value))
	{
		alert("Please, enter Your Mailing Address.");
		objCurrent.focus();
		return false;
	}
	
	objCurrent = objForm.txtPhone;
	if(isEmpty(objCurrent.value))
	{
		alert("Please, enter Your Phone Number.");
		objCurrent.focus();
		return false;
	}
	if(!isPhone(objCurrent.value) && !isPhone2(objCurrent.value))
	{
		alert("Please, enter a valid Phone Number.\n\rValid format: DDD-DDD-DDDD or (DDD) DDD-DDDD, where D is a digit.");
		objCurrent.focus();
		return false;
	}
	
	objCurrent = objForm.txtFax;	
	if(!isEmpty(objCurrent.value) && !isPhone(objCurrent.value) && !isPhone2(objCurrent.value))
	{
		alert("Please, enter a valid Fax Number.\n\rValid format: DDD-DDD-DDDD or (DDD) DDD-DDDD, where D is a digit.");
		objCurrent.focus();
		return false;
	}
	
	objCurrent = objForm.txtEmail;	
	if(isEmpty(objCurrent.value))
	{
		alert("Please, enter Your Email address.");
		objCurrent.focus();
		return false;
	}
	if(!isEmail(objCurrent.value))
	{
		alert("Please, enter a valid Email address.");
		objCurrent.focus();
		return false;
	}
			
	objCurrent = objForm.txtTitle;
	if(isEmpty(objCurrent.value))
	{
		alert("Please, enter Classified Title.");
		objCurrent.focus();
		return false;
	}
	
	objCurrent = objForm.txtDescription;
	if(isEmpty(objCurrent.value))
	{
		alert("Please, enter Classified Description.");
		objCurrent.focus();
		return false;
	}
	var intNoHTMLTagsDescriptionLength = getNoHTMLTagsTextLength(objCurrent.value);
	if(intNoHTMLTagsDescriptionLength > intDescriptionMaxLength)
	{
		alert("Classified Description Error:\n\rYou have typed more characters than maximum allowed.\n\rObs:\n\t- the HTML tags are not taken into account.\n\t- maximum allowed is of " + intDescriptionMaxLength + " characters.\n\t- you have typed " + intNoHTMLTagsDescriptionLength + " characters.\n\r\n\rPlease, review your text and retry.");
		objCurrent.focus();
		return false;
	}
	
	objCurrent = objForm.txtContactEmail;	
	if(!isEmpty(objCurrent.value) && !isEmail(objCurrent.value))
	{
		alert("Please, enter a valid Contact Email address.");
		objCurrent.focus();
		return false;
	}
	
	objCurrent = objForm.txtContactURL;	
	if(!isEmpty(objCurrent.value) && !isUrl(objCurrent.value))
	{
		alert("Please, enter a valid Contact Website address.\ne.g.: http://www.domain.com");
		objCurrent.focus();
		return false;
	}
	
	var objCurrent = objForm.radAdvertisingOption;	var strRadioValue = getRadioValue(objCurrent);
	if(strRadioValue == -10000)
	{
		alert("Please, select the advertising option that works best for you.");
		return false;
	}
	
	objForm.action = "save_classified.asp";
	return true;
}
