function CheckForm()
{
	if(document.FormNew.Name.value=="")
	{
		window.alert("请填写您的姓名！");
		document.FormNew.Name.focus();
		return false;
	}
	if(document.FormNew.company.value=="")
	{
		window.alert("请填写公司名称！");
		document.FormNew.company.focus();
		return false;

	}
	if(document.FormNew.Addr.value=="")
	{
		window.alert("请填写通信地址！");
		document.FormNew.Addr.focus();
		return false;

	}
	if(document.FormNew.Teledistinct.value=="")
	{
		window.alert("请填写电话！");
		document.FormNew.Teledistinct.focus();
		return false;

	}
	if(document.FormNew.Faxdistinct.value=="")
	{
		window.alert("请填写传真！");
		document.FormNew.Faxdistinct.focus();
		return false;

	}
	if(document.FormNew.email.value=="")
	{
		window.alert("请填写email！");
		document.FormNew.email.focus();
		return false;

	}

	if(document.FormNew.Content.value.length>500)
	{
		alert("留言不能超过500个字!");
		document.FormNew.Content.value = document.FormNew.TopicContent.value.substring(0,500);
		return false;
      
	}

}