(function($) {                                          // Compliant with jquery.noConflict()
$.fn.clearDefault = function(o) {
    return this.each(function() {                           // Returns the element collection. Chainable.

		var default_value = $(this).val();
		$(this).focus(function(){
			if ($(this).val() == default_value) $(this).val("");
		});
		$(this).blur(function(){
			if ($(this).val() == "") $(this).val(default_value);
		});
    });
};
})(jQuery);
