// JavaScript Document
function $(id){
	try{
		return document.getElementById(id);
	}catch(e){
		return null;
	}
}

function onSubmit(){
	document.form1.action = '/query.php?k='+encodeURI($('k').value)+'&queryType='+$('queryType').value;//把要传递的参数拼接上
	document.form1.submit();
}