;(function($) {
$(document).ready(function() {

		//Function to clear the default value from inputs onfocus and restores the default if the value is empty onblur.
		$.fn.clearDefault = function(){
			return this.each(function(){
				var default_value = $(this).val();
				$(this).addClass('empty');
				$(this).focus(function(){
					$(this).removeClass('empty');
					if ($(this).val() == default_value) $(this).val("");
				});
				$(this).blur(function(){
					if ($(this).val() == "") {
						$(this).val(default_value);
						$(this).addClass('empty');
					}
				});
			});
		};
		
		//Clear defaults from inputs
		$('input#SearchForm_SearchForm_Search').clearDefault();
 

})
})(jQuery);