
function showSearchInput() {
	var parent = document.getElementById('search');
	var child = document.getElementById('searchLink');
	parent.removeChild(child);

		var new_div = document.createElement('div');
 		new_div.setAttribute('id','searchInput');
 		new_div.setAttribute('style','background: none; padding: 0px; margin-bottom: 5px;');
 		var new_form = document.createElement('form');
 		var new_input_name = document.createElement('input');
 		var new_hidden = document.createElement('hidden');
 		var new_break = document.createElement('br');
 		var new_submit_button = document.createElement('input');
 		new_input_name.setAttribute('name','query');
 		new_input_name.setAttribute('id','searchInputField');
 		new_input_name.setAttribute('search','1');
 		new_form.setAttribute('action','search/search.php?search=1');
 		new_hidden.setAttribute('name','search');
 		new_hidden.setAttribute('value','1');
 		new_input_name.setAttribute('autocomplete','off');
 		new_input_name.setAttribute('delay','1500');
 		new_input_name.setAttribute('style','margin-bottom: 8px; margin-left: 0px;');
 		new_input_name.setAttribute('value','Suchtext');
 		new_input_name.setAttribute('width','80');
 		new_submit_button.setAttribute('type','submit');
 		new_submit_button.setAttribute('src','_style/magnifier.gif');
 		new_submit_button.setAttribute('id','searchSubmitButton');
 		new_submit_button.setAttribute('value','Suche starten');
	new_div.appendChild(new_form);
	new_form.appendChild(new_input_name);
	new_form.appendChild(new_break);
	new_form.appendChild(new_hidden);
	new_form.appendChild(new_submit_button);

	parent.appendChild(new_div);
	
	parent.style.backgroundImage = "none;";
	parent.style.paddingLeft = "0px";
	
}

