<script language="javascript" type="text/javascript"> <!-- function BeforeSubmit() { if(document.Add.CompanyName.value=="") { alert("不能为空!");......