﻿function f_sub()
{
  E=messgeform.addr;	
  A=messgeform.author;
  B=messgeform.tel;
  C=messgeform.content;
  if(E.value=="")
  {
	alert("标题不能为空");
	E.focus();
	return false;
  }
  else if (A.value=="")
  {
    alert("用户名不能为空");
	A.focus();
	return false;
  }
  else if(B.value=="")
  {
    alert("联系方式不能为空");
	B.focus();
	return false;
  }
  else
  return true;
}


