$(function(){

	var input = $("#solrsearch"); 
	var label = $("#solrsearch-example").val();

	// Set example text inside the search input
	if (input.val() == "") {
		input.val(label);
	}

	// Handle events to show/hide the example text
	input.focus(function(){
		if ($(this).val() == label) {
			$(this).val("");
		}
	});
	input.blur(function(){
		if ($(this).val() == "") {
			$(this).val(label);
		}
	});


});