// ActionScript Communications Document
//站内搜索
function searcheck(){
	if(document.formSear.keys.value==""){
		alert("请输入关键词！");
		document.formSear.keys.focus();
		return false
	}
}
//PDF资料判断
function MM_popupMsg(msg) 
{ //v1.0
  alert(msg);
}
//产品标签
var prev;
function showCon(obj){
	//隐藏前一个
	if(prev!=null){
		document.getElementById("con"+prev).style.display="none";
		document.getElementById("m"+prev).className="pa";
	}
	
	//显示这一个
	document.getElementById("con"+obj).style.display="block";
	document.getElementById("m"+obj).className="paA";
	
	prev=obj;
}

//留言
function check(){
   if(feedback.themes.value==""){
      alert("留言主题不能为空!");
	  feedback.themes.focus();
	  return false;
	  }
   if(feedback.add.value==""){
      alert("请输入您的联系地址!");
	  feedback.add.focus();
	  return false;
	  }
	if(feedback.name.value==""){
      alert("请输入您的姓名!");
	  feedback.name.focus();
	  return false;
	  }
    if(feedback.tel.value==""){
      alert("请输入您的联系电话!");
	  feedback.tel.focus();
	  return false;
	  }
}
//查看大图资料
function showMax(img){
	   win=window.open('honor_read.asp?pic='+img,'','width=100%,height=100%');
}
 //弹出窗口函数
function eshionWin(file,w,h){
   window.open(file,'','resizable=yes,width='+w+",height="+h+',scrollbars=yes,left='+(screen.availWidth-w)/2+',top='+(screen.availHeight-h)/2);
}