function Init(){

	if (!dhtml_ok) { return; }

	create_object_array();

}



function JSFFullQuery(){

	var form=document.forms[0];

	var JSVquery = form.FullQuery;

	var linkObj = form.linkSelect2106;

	if(linkObj==null) return;

	var linkStr = linkObj.options[linkObj.selectedIndex].value;

	if(linkStr!='0') window.open(linkStr+"&Query="+JSVquery.value,"_blank");

}



function LDFullQuery(){

	var form=document.forms[0];

       var JSVQuery = form.FullQuery;

       var JSQuery;

      if (JSVQuery==undefined){

        JSVQuery="";

        JSQuery="";

      }

      else {

          JSQuery=lcGetParameter("Query",window.location.search);

           if (JSVQuery.value=="È«ÎÄËÑË÷") {

           }

           else {

              JSQuery=JSVQuery.value;

           }

       }

window.open(window.location.protocol+"//"+window.location.host+":80"+window.location.pathname+"?OpenDocument&Base="+lcGetParameter("Base",window.location.search)+"&View="+lcGetParameter("View",window.location.search)+"&Form="+lcGetParameter("Form",window.location.search)+"&Query="+JSQuery+"&Docperpage="+lcGetParameter("Docperpage",window.location.search)+"&Maxdocs="+lcGetParameter("Maxdocs",window.location.search)+"&Sortoptions="+lcGetParameter("Sortoptions",window.location.search)+"&Otheroptions="+lcGetParameter("Otheroptions",window.location.search)+"&FL="+lcGetParameter("FL",window.location.search)+"&AVC="+lcGetParameter("AVC",window.location.search),"_self");

}



function lcGoPage(){

	var form=document.forms[0];

	var JSCurPage = form.lcViewNum;

       var JSVQuery = form.FullQuery;

       var JSQuery;

      if (JSVQuery==undefined){

        JSVQuery="";

        JSQuery="";

      }

      else {

          JSQuery=lcGetParameter("Query",window.location.search);

           if (JSVQuery.value=="È«ÎÄËÑË÷") {

           }

           else {

              JSQuery=JSVQuery.value;

           }

       }

window.open(window.location.protocol+"//"+window.location.host+":80"+window.location.pathname+"?OpenDocument&Base="+lcGetParameter("Base",window.location.search)+"&View="+lcGetParameter("View",window.location.search)+"&Form="+lcGetParameter("Form",window.location.search)+"&Query="+JSQuery+"&Curpage="+JSCurPage.value+"&Docperpage="+lcGetParameter("Docperpage",window.location.search)+"&Maxdocs="+lcGetParameter("Maxdocs",window.location.search)+"&Sortoptions="+lcGetParameter("Sortoptions",window.location.search)+"&Otheroptions="+lcGetParameter("Otheroptions",window.location.search)+"&FL="+lcGetParameter("FL",window.location.search)+"&AVC="+lcGetParameter("AVC",window.location.search),"_self");

}

function lcGetParameter(lcParamName,lcQueryString){

	lcQueryString=lcQueryString+"&"+lcParamName+"=&";

	lcParamName="&"+lcParamName+"=";

	var lcskipLen=lcParamName.length;

	var lcstartPos=lcQueryString.indexOf(lcParamName,0)+lcskipLen;

	var lcendPos=lcQueryString.indexOf("&",lcstartPos);

	return lcQueryString.slice(lcstartPos,lcendPos);

}



Init();
