

function frmFeedbackForm_onSubmit(objForm) {

	var strMissingInfo = "";
	
	if (objForm.cboEnquiryType.options[objForm.cboEnquiryType.selectedIndex].value == '') {
		objForm.cboEnquiryType.className = 'selecterror';
		strMissingInfo += '\n     -  Your enquiry type';
	} else {
		objForm.cboEnquiryType.className = 'select';
		rc = '';
	}
	
	if (objForm.txtName.value == '' ) {
		objForm.txtName.className = 'texterror';
		strMissingInfo += '\n     -  Your name';
		
	} else {
		objForm.txtName.className = 'text';

	}

	if (objForm.txtEmail.value == '' ) {
		objForm.txtEmail.className = 'texterror';
		strMissingInfo += '\n     -  Your email';
		
	} else {
		objForm.txtEmail.className = 'text';

	}

	

	if (objForm.txtEmail.value != objForm.txtCEmail.value) {
		strMissingInfo += '\n     -  Your email address and confirmation must match';
		objForm.txtCEmail.className = 'texterror';
	} else {
		objForm.txtCEmail.className = 'text';
	}

	if (objForm.txtMsg.value == '' ) {
		objForm.txtMsg.className = 'textareaerror';
		strMissingInfo += '\n     -  Your message';
		
	} else {
		objForm.txtMsg.className = 'textarea';

	}
	
	
	if (objForm.cboCountry.options[objForm.cboCountry.selectedIndex].value == '') {
		objForm.cboCountry.className = 'selecterror';
		strMissingInfo += '\n     -  Your country';
	} else {
		objForm.cboCountry.className = 'select';
		rc = '';
	}
	

	if (strMissingInfo != "") 
	{
		strMissingInfo = "To contact us, you must enter:\n" +
						   "_____________________________________\n" +
		strMissingInfo + "\n_____________________________________" +
		"\n\nPlease re-enter and submit again!";
		alert(strMissingInfo);
		return false;
	}
	else {
		objForm.cmdSubmit.disabled = true;
		return true;
	}
}
