function checkform(){
var msg='';
if (document.formx.pname.value=='') msg+='联系人\n'
if (document.formx.ptel.value=='') msg+='联系电话\n'
if (document.formx.pemail.value=='') msg+='E-mail\n'
if (document.formx.company.value=='') msg+='公司名称\n'
if (document.formx.ctel.value=='') msg+='电话\n'
if (document.formx.cfax.value=='') msg+='传真\n'
if (document.formx.caddress.value=='') msg+='地址\n'
if (document.formx.ccountry.value=='') msg+='所在国家 \n'
if (msg==''){
	document.formx.submit();
}else{
msg='请输入以下的资料\n-----------------------------------\n'+msg+'-----------------------------------\n';
alert(msg);
return false;
}
}
