var inprogress = false;

function Search (s,Url) {if (inprogress==true){ return;}
 inprogress=true;   
var str = decodeURIComponent($('#suchform').serialize());

if (Url==null)
{
    Url = window.location.pathname;

}
Url=Url+"?";


var q='';
     if (s) {
         var q = s.substring(s.indexOf('?') + 1); 
          q="&"+q;    
         };

   this.location.href = Url+str+q;
     
    
}; 

function SearchForm(typ)
{$("#suchtyp").val(typ);Search();}




