function toQwjs(){
	var wordValue=document.getElementById("qwjsText").value;
	if(wordValue.trim()=="" || wordValue.trim()=="全文检索"){
		alert("请输入要搜索的内容！");
		return ;
	}
	window.open("/cxzl/cxzl_ss.jsp?searchWord="+encodeURIComponent(wordValue));
}

function toQwjsByWord(vText){
	if(vText.trim()==""){
		alert("搜索内容不能为空！");
		return ;
	}
	window.open("/cxzl/cxzl_ss.jsp?searchWord="+encodeURIComponent(vText));
}

String.prototype.trim = function() {  
  var m = this.match(/^\s*(\S+(\s+\S+)*)\s*$/);  
  return (m == null) ? "" : m[1];  
} 