function valEnqForm()
{
	user_name = trimSpaces(document.enqForm.user_name.value);
	if(user_name.length <= 0) {
		alert("Please enter your name");
		document.enqForm.user_name.focus();
		return false;
	}
	
document.enqForm.frmAction.value = "update";
}
