			//关键字、作者、主题、内容、同时搜索更多页、选取的版面 （传入的是ID）
document.write("<scr"+"ipt  language=javascript  src=js/LanTran.js></scr"+"ipt>"); 
			function ShowQueryList(keyword,sType,isWeb,boardid)
			{
			    //document.getElementById("iframe1").src = "http://massist.yisou.com/searchmini.html?lang=zh-cn%2Czh-tw&u=&f=&d=&source=&pid=400107_1006&p="+document.getElementById("Text1").value;
		        var Url = GetWheres(keyword,sType,isWeb,boardid);
		        if(Url.length>0)
		        { 
				    window.location = "?"+Url;
				}
			}
			function GetWheres(keyword,sType,isWeb,boardid)
			{
			
				var keyword = GetTextValue(keyword,"keyword");
				var check = GetCheckValue(sType);
				var boardid = GetBoardID(boardid);
				if(keyword.length>0)
				{
				    check = check +"&"+keyword;
				    if(boardid.length>0)
				    {
				        check = check+"&"+boardid;
				    }
				}
				else
				{
   				    alert(GetText( "CHECK_JS","CHECK_JS_21" ));
   				    return "";
				}
				return check;
			}
			function GetBoardID(DropID)
			{
                var x=document.getElementById(DropID);
                var boardid = x.options[x.selectedIndex].value;
                if(boardid==0)
                    return "";
                else
                    return "boardid="+boardid;
			}

			function GetCheckValue(sType)
			{
			    var querytype =document.getElementsByName(sType);
				if(querytype[0].checked)
				{
				    return "querytype=1";
				}
				if(querytype[1].checked)
				{
				    return "querytype=2";
				}
				if(querytype[2].checked)
				{
				    return "querytype=3";
				}

			}
			function GetTextValue(textID,textName)
			{
			    
				var ce_doc =  document.all;
				var textvalue = ce_doc[textID].value;
				//alert(textvalue.length);
				if(textvalue.length>0&&textvalue.length<21)
				{
					return textName+"="+textvalue;
				}
				else
				{
					return "";
				}
			}



