function umlEscape(s) {
	return s.replace(/[áàâä]/g, '__')
             .replace(/[úùûü]/g, '__')
             .replace(/[óòôö]/g, '__');
	
}

function suche(){
		
	$('suchergebnisse').update('<img src="fileadmin/template/images/sonstiges/loading.gif" alt="" style="margin-right:50%" />');
	
	data = {
		'tx_indexedsearch[sword]': umlEscape(document.getElementById('tx_indexedsearch').value)
	};
	
	opts = {
		encoding: 'UTF-8',
		method: 'post',
		parameters: data		
	};
	
	new Ajax.Updater("suche", 'index.php?id=110', opts);
	Effect.Appear('suche', { duration: 0.5 });
}
