function checkcontent()
{
	if(document.formx.username.value.length < 1)
	{
		alert("Empty username or wrong format of the username");
		return false;	
	}
	
	if(document.formx.sex.value.length > 5)
	{
		alert("wrong format of the sex");
		return false;	
	}

	if((document.formx.email.value.length < 1) || (!chkmail(document.formx.email.value)))
	{
		alert("Wrong format of the eamil");
		return false;
	}
	
	if(document.formx.born.value.length > 15)
	{
		alert("Wrong format of the date");
		return false;
	}

	if((isnum(document.formx.phone.value)  == false) || (document.formx.phone.value.length > 15 ))
	{
		alert("Wrong format of the phone");
		return false;
	}
	
	
	if(document.formx.mobile.value.length > 1){
		if(isnum(document.formx.mobile.value) == false)
		{
			alert("Wrong format of the mobile");
			return false;
		}
	}
	
	if((document.formx.address.value.length < 1) || (document.formx.address.value.length > 50))
	{
		alert("Wrong format of the address");
		return false;
	}

return true;
}
String.prototype.Trim = function()
{
return this.replace(/(^\s*)|(\s*$)/g, "");
}