	function searchs()
       {
           var strKey =document.all.sear.value;
	       var strType=document.all.sel.value;
		   var strp   =document.all.path.value;
		   var selectt=document.all.selectt.value;
		   var selectf=document.all.selectf.value;



	   
	if(strType=="TITAS" || strType=="ART" || strType=="KEY" ||  strType=="AN" || strType=="APR" || strType=="ISS" || strType=="IL")
		   {	  
		   window.location=strp +"&Type="+strType +"&Keys="+strKey;	
		   }else {
	
	       window.location=strp +"&Type=DAT&Keys="+ selectf +"&to="+ selectt;	 
		 
		 }
	
	}
	 
	
	function skey()
       {
           var strKey=document.all.searchk.value;
		   var strp=document.all.path.value;
		   
		   var strKey=document.getElementById('serachvalue').value;

	  window.location=strp +"&Type=&Keys="+strKey;

     }
	 
	 
function setSearch(nIdex)
{
   if  (4 == nIdex)
  {
	
    document.all.aa.className="dsp_table";
		    document.all.sear.className="undsp_table";
  }
 else
	{
		document.all.aa.className="undsp_table";
						document.all.sear.className="dsp_table";
	}
}
