function ajaxPostFeedback()
{
	var type=$("#ddlType").val();
	var username=$("#txtUserName").val();
	var tel=$("#txtTel").val();
	var email=$("#txtEmail").val();
	var content=$("#txtContent").val();
	if(!username) {
		alert("Please enter a contact name!");
		return;
	}
	if(!tel) {
		alert("Please enter a contact telephone!");
		return;
	}
	if(!email) {
		alert("Please enter your E-mail!");
		return;
	}
	if(!content || content.length<5) {
		alert("Please enter a message!");
		return;
	}
	$.ajax({
		type:		"post",
		dataType:	"html",
		data:		"type="+encodeURIComponent(type)+"&username="+encodeURIComponent(username)+"&tel="+encodeURIComponent(tel)+"&email="+encodeURIComponent(email)+"&content="+encodeURIComponent(content),
		url:		"/plus/feedback.aspx?lan=en&oper=ajaxPostFeedback&time="+(new Date().getTime()),
		error:		function(XmlHttpRequest,textStatus, errorThrown){if(XmlHttpRequest.responseText!=""){alert(XmlHttpRequest.responseText);}},
		success:	function(d){
			if(d=="ok")
			{
				alert("Sent successfully!");
				location.reload();
			}
			else
			{
				alert(d);
			}
		}
	});
}