function search(){
	
word=document.form0.as_values_freesearch.value;
alternativ_word=document.form0.freesearch.value;

//Filter
alternativ_word = alternativ_word.replace(/[^\w \-äöüß]+/gi, "");

if (((word=="") && ((alternativ_word=="")||(alternativ_word=="Suchbegriff")))){
jAlert('Bitte geben Sie einen Suchbegriff ein.', 'Hinweis');
return false;
}

	if ((word=="")&&(alternativ_word!="")){
	word=alternativ_word;	
	word=word+"_";
	word=word.replace(/ /gi, "_");
		}
	
	if ((word!="")&&(word!="Suchbegriff_")){
	word=word.replace(/,/gi, "_");
	word=word.replace(/"/gi, '');
	word=word.replace(/&/gi, "-und-");
	
	
	word=word.substr(0, word.length-1);
	ziel='rechtsanwaelte/'+word+'-0.html';
	ziel=ziel.toLowerCase();
	document.location.href=ziel;
	}


}

