function CheckForm(){
	if(Trim($('#txtHoTen').val())=="")
		{
			alert("Please enter your name!");
			$('#txtHoTen').focus();
			return false;
		}
			
		s = Trim($('#txtHoTen').val());
		if(s.length>50)
		{
			alert("your name less than 50 characters!");
			$('#txtHoTen').focus();
			return false;
		}
		if(Trim($('#txtEmail').val())=="")
			{
			alert("Please enter your email!");
			$('#txtEmail').focus();
			return false;
			}
	
			if(!checkEmail($('#txtEmail').val()) )
			{
			alert("Invalid email!");
			$('#txtEmail').focus();
			return false;
			}
			
			if(Trim($('#txtContent').val())=="")
			{
			alert("Please enter content!");
			$('#txtContent').focus();
			return false;
			}	
		s = Trim($('#txtContent').val());
		if(s.length>700)
		{
			alert("Content less than 700 characters!");
			$('#txtContent').focus();
			return false;
		}
		var checksend = document.getElementById("checksend");
		checksend.value = "OK";
	return true;
}
function CheckFormInfo(){
	if(Trim($('#txtHoTen').val())=="")
		{
			alert("Please enter your name!");
			$('#txtHoTen').focus();
			return false;
		}
		s = Trim($('#txtHoTen').val());
		if(s.length>50)
		{
			alert("your name less than 50 characters!");
			$('#txtHoTen').focus();
			return false;
		}
		if(Trim($('#txtEmail').val())=="")
			{
			alert("Please enter your email!");
			$('#txtEmail').focus();
			return false;
			}
	
			if(!checkEmail($('#txtEmail').val()) )
			{
			alert("Invalid email!");
			$('#txtEmail').focus();
			return false;
			}
			if(Trim($('#txtSubject').val())=="")
			{
				alert("Please enter the subject!");
				$('#txtSubject').focus();
				return false;
			}
		var checksend = document.getElementById("checksend");
		checksend.value = "OK";
	return true;
}


