
function keywordNumberDateTimeQueryInfo() {
	var keyword = $("keyword").value;
	var ipDocumentNumber = $("ipDocumentNumber").value;
	var ipPublishTime = $("ipPublishTime").value;
	var ipBelongSystem = $("ipBelongSystem").value;
	var ipBelongImodule = $("ipBelongImodule").value;
	var url = "/GDOSTA/businesstransact/infoReveal.do?method=queryinfoPublishs&forwardPath=" + $("forwardPath").value + "&infoPublishType=" + $("infoPublishType").value + "" + "&keyword=" + keyword + "&ipDocumentNumber=" + ipDocumentNumber + "&ipPublishTime=" + ipPublishTime + "&ipBelongSystem=" + ipBelongSystem + "&ipBelongImodule=" + ipBelongImodule;
	window.location = encodeURI(url);
}
function queryExamInfoByKeyWord(id, range) {
	var keyWord = document.getElementById(id).value;
	var url = encodeURI("examManagerAction.do?method=queryExamInfoByKeyWord&keyWord=" + keyWord + "&rang=" + range);
	window.location = url;
}
function clearText(obj) {
	if (obj.value != "" && obj.value == "\u8bf7\u8f93\u5165\u5173\u952e\u5b57" || obj.value == "\u8bf7\u8f93\u5165\u67e5\u8be2\u6761\u4ef6") {
		obj.value = "";
	} else {
		obj.value = "";
	}
}
function clearTextValue(obj) {
	if (obj.value != "" && (obj.value == "\u8bf7\u8f93\u5165\u5173\u952e\u5b57" || obj.value == "\u8bf7\u8f93\u5165\u67e5\u8be2\u6761\u4ef6" || obj.value.indexOf("\u8bf7\u8f93\u5165") > 0)) {
		obj.value = "";
	}
}
function reset(obj) {
	alert(obj.value.length);
	if (obj.value = "") {
		obj.value = "\u8bf7\u8f93\u5165\u5173\u952e\u5b57";
	}
}
function changeText(obj, txtId) {
	var txtObj = document.getElementById(txtId);
	var opText = obj.options[obj.selectedIndex].innerText;
	if (opText == "\u8003\u8bd5\u4fe1\u606f\u5206\u7c7b") {
		txtObj.value = "\u8bf7\u8f93\u5165\u804c\u4e1a\uff08\u5de5\u79cd\uff09\u540d\u79f0";
	} else {
		txtObj.value = "\u8bf7\u8f93\u5165\u5173\u952e\u5b57";
	}
}
function removeInpuf(inputObject) {
	var inputText = inputObject.value;
	if (inputText != null && (inputText == "\u8bf7\u8f93\u5165\u804c\u4e1a\uff08\u5de5\u79cd\uff09\u540d\u79f0" || inputText == "\u8bf7\u8f93\u5165\u5173\u952e\u5b57")) {
		inputObject.value = "";
	}
}
function setInput(inputObject) {
	var inputText = inputObject.value;
	if (inputText == null || inputText == "") {
		if ($("querySelectValue").value != 4) {
			inputObject.value = "\u8bf7\u8f93\u5165\u5173\u952e\u5b57";
		} else {
			inputObject.value = "\u8bf7\u8f93\u5165\u804c\u4e1a\uff08\u5de5\u79cd\uff09\u540d\u79f0";
		}
	}
}
function setquerySelectValue(selectObject) {
	$("querySelectValue").value = selectObject.value;
}
function queryByCondition(url, selectId, txtId) {
	var selectObj = document.getElementById(selectId);
	var txtObj = document.getElementById(txtId);
	var txtValue = txtObj.value;
	var opText = selectObj.options[selectObj.selectedIndex].innerText;
	var options = selectObj.options;
	if (txtValue != "\u8bf7\u8f93\u5165\u5173\u952e\u5b57" && txtValue != "\u8bf7\u8f93\u5165\u804c\u4e1a\uff08\u5de5\u79cd\uff09\u540d\u79f0") {
		if (txtObj != null && selectObj != null) {
			if (options[0].selected) {
				url += "/businesstransact/infoReveal.do?method=queryinfoPublishs&forwardPath=toInfoReveal&queryNumberSize=&ipBelongSystem=\u6280\u80fd\u9274\u5b9a&ipBelongImodule=\u9996\u9875\u8d44\u8baf&infoPublishType=\u901a\u77e5\u901a\u544a&keyword=" + txtValue;
				window.open(encodeURI(url), "_blank");
			}
			if (options[1].selected) {
				url += "/businesstransact/infoReveal.do?method=queryinfoPublishs&forwardPath=toInfoReveal&queryNumberSize=&ipBelongSystem=\u6280\u80fd\u9274\u5b9a&ipBelongImodule=\u9996\u9875\u8d44\u8baf&infoPublishType=\u52a8\u6001\u65b0\u95fb&keyword=" + txtValue;
				window.open(encodeURI(url), "_blank");
			}
			if (options[2].selected) {
				url += "/businesstransact/infoReveal.do?method=queryExamInfo&keyword=" + txtValue;
				url = encodeURI(url);
				window.open(url, "_blank");
			}
			if (options[3].selected) {
				url += "/businesstransact/BeforeJSP/examManagerAction.do?method=queryExamInfoByKeyWord&keyWord=" + txtValue + "&rang=null";
				url = encodeURI(url);
				window.open(url, "_blank");
			}
			if (options[4].selected) {
				url += "/businesstransact/infoReveal.do?method=queryinfoPublishs&forwardPath=toInfoReveal&queryNumberSize=&ipBelongSystem=\u6280\u80fd\u9274\u5b9a&ipBelongImodule=\u9996\u9875\u8d44\u8baf&infoPublishType=\u9886\u8bc1\u901a\u77e5&keyword=" + txtValue;
				window.open(encodeURI(url), "_blank");
			}
			if (options[5].selected) {
				url += "/businesstransact/foregroundJiaocaiList.do?method=queryJiaocaiByKeyword&keyword=" + txtValue;
				url = encodeURI(url);
				window.open(url, "_blank");
			}
		}
		
		function queryJiaocaiKeyword() {
			var keyword = $("keyword").value;
			if (keyword == null || keyword == "\u8bf7\u8f93\u5165\u5173\u952e\u5b57" || keyword == "") {
				alert("\u8bf7\u8f93\u5165\u5173\u952e\u5b57!");
			}
			var url = "/GDOSTA/businesstransact/foregroundJiaocaiList.do?method=queryJiaocaiByKeyword&keyword=" + keyword;
			window.location = encodeURI(url);
		}
	}else {
			alert("\u8bf7\u8f93\u5165\u5173\u952e\u5b57");
		}
}


