
function check_promoter()
{
	if ($("#promoter").val() != "")
	{
		$.getJSON("ajax/check_promoter.action?t=" + Math.round(Math.random() * 10000), {promoter:$("#promoter").val()}
		,function(date)
		{
			var temp = date.have_promoter;
			if (!temp)
				$('#promoter_error').html("推广员不存在，请重新填写或者留空！！");
			else
				$('#promoter_error').html("");

		});
	} else
	{
		$('#promoter_error').html("");
	}
}