$(document).ready(function(){
	// Get the text from the label element (not used here)
	/* var labelTxt = $('#search-form label').text(); */
	
	var labelTxt ="Suchbegriffe..."
	
	// Put the text from the label element into the search field's value	
	$('#search-input').attr('value',labelTxt);
	
	// Focus & blur effects
	$('#search-input').focus(function(){
		if ((this.value == '') || (this.value == labelTxt)) {
			$(this).val('');
		}
	});
	$('#search-input').blur(function(){
		if (this.value == '') {
			$(this).val(labelTxt);
		}
	});
	
	// On submit change the input field's appearance
	$("#search-submit").click(function(){
		$('#search-form').attr('class','busy');				
	});
});
