function searchData()
			{
				var searchString =document.getElementById("singleSearch").value;
				if(searchString=="")
				{	
					return false;
				}
				
				if(document.getElementById("local").checked)
				{
				document.forms["dataForm"].elements["singleSearch"].value=searchString;
				document.forms["dataForm"].action="/search/search.action";
				document.forms["dataForm"].target="_self";
				document.forms["dataForm"].submit();
				}
				// 百度搜索
 if(document.getElementById("baidu").checked)
  {
                    document.charset="gb2312";
                    document.forms["dataForm"].word.value =searchString;
					document.forms["dataForm"].action="http://www.baidu.com/baidu";
					document.forms["dataForm"].method="get";
					document.forms["dataForm"].target="_blank";
					document.forms["dataForm"].submit();
					document.location.reload();
  }
  // google搜索
if(document.getElementById("google").checked)
  {
         	    document.forms["dataForm"].q.value =searchString;
				document.forms["dataForm"].action="http://www.google.cn/search";
				document.forms["dataForm"].method="get";
			    document.forms["dataForm"].target="_blank";
				document.forms["dataForm"].submit();
				document.location.reload();
				
  }
 	 document.charset="utf-8";	 
  
}
			function keySearch()
			{
			  var e = window.event ? window.event : e;
				var searchString =document.getElementById("singleSearch").value;
				if(e.keyCode==13)
					{
			   if(searchString=="")
				{
					return false;
				}
				  if(document.getElementById("local").checked)
				{
				document.forms["dataForm"].elements["singleSearch"].value=searchString;
				document.forms["dataForm"].action="/search/search.action";
				document.forms["dataForm"].target="_self";
				document.forms["dataForm"].submit();
				}
				// 百度搜索
 if(document.getElementById("baidu").checked)
  {
                    document.charset="gb2312";
                    document.forms["dataForm"].word.value =searchString;
					document.forms["dataForm"].action="http://www.baidu.com/baidu";
					document.forms["dataForm"].method="get";
					document.forms["dataForm"].target="_blank";
					document.forms["dataForm"].submit();
					document.location.reload();
  }
  // google搜索
if(document.getElementById("google").checked)
  {
         	    document.forms["dataForm"].q.value =searchString;
				document.forms["dataForm"].action="http://www.google.cn/search";
				document.forms["dataForm"].method="get";
			    document.forms["dataForm"].target="_blank";
				document.forms["dataForm"].submit();
				document.location.reload();
				
  }
 	 document.charset="utf-8";	 
 }
			}
	function login()
    {
      if(document.getElementById("loginName").value==null||document.getElementById("loginName").value=="")
      {
       alert("请输入用户名!");
        document.getElementById("loginName").focus();
       return false;
       
      }
      if(document.getElementById("password").value==null||document.getElementById("password").value=="")
      {
       alert("请输入密码!");
        document.getElementById("password").focus();
       return false;
       
      }
        if(document.getElementById("imagerandtext").value==null||document.getElementById("imagerandtext").value=="")
      {
       alert("请输入验证码!");
        document.getElementById("imagerandtext").focus();
       return false;
       
      }
      document.forms["form1"].action="/member/login.action";
      document.forms["form1"].submit();
    }
    function checkkey(e)
    {
				var e = window.event ? window.event : e;
				if(e.keyCode==13)
				{
      if(document.getElementById("loginName").value==null||document.getElementById("loginName").value=="")
      {
       alert("请输入用户名!");
        document.getElementById("loginName").focus();
       return false;
       
      }
      if(document.getElementById("password").value==null||document.getElementById("password").value=="")
      {
       alert("请输入密码!");
       document.getElementById("password").focus();
       return false;
       
      }
        if(document.getElementById("imagerandtext").value==null||document.getElementById("imagerandtext").value=="")
      {
       alert("请输入验证码!");
        document.getElementById("imagerandtext").focus();
       return false;
       
      }
      document.forms["form1"].action="/member/login.action";
      document.forms["form1"].submit();
      }
    }
    function more()
			{
				document.forms["form1"].action="/news";
				document.forms["form1"].target="_self";
				document.forms["form1"].submit();
			}
	function showVocNews(contentId,columnId,sign,childSign,colSign)
			{
				document.forms["datasForm"].target="_blank";
				document.forms["datasForm"].elements["contentId"].value=contentId;
				document.forms["datasForm"].elements["columnId"].value=columnId;
				document.forms["datasForm"].action="/vocnews/"+sign+"/"+childSign+"/"+colSign+"/"+contentId+".html";
				document.forms["datasForm"].submit();
			}		
	
	
	//行业新闻：综合   专业   报刊
	function moreVoc(sign,sourcetype)
	{
		window.location.href="/news/"+sign+"/"+sourcetype+"/more";
   }	