/*
 * Ausgelagertes Script fuer sie Suche
 * ################################################
*/	
	function removeEmptyText(field, text) {
		if (field && field.value == text) {
			field.style.color = 'black';
			field.style.fontStyle = 'normal';
			field.value = '';
		}
	}

	function addEmptyText(field, text) {
		if (field && field.value == '' || field.value == text) {
			field.style.color = 'gray';
			field.style.fontStyle = 'normal';
			field.value = text;
		}
	}

	function submitSearchForm(form, text) {
		if (form && form.q && form.q.value != text) {
			form.submit();
		}
	}
