;(function($) {

	$.inputclear = {
	}

	$.fn.extend({
	
		inputclear: function(options) {
		
			var options = $.extend($.slidenstop, options);
		
		
	        return this.each(function() {
				var obj = $(this);
	
				obj.find('input:text, textarea').focus(function() {
					if (!$(this).hasClass('activated')) {
						$(this).addClass('activated');
						$(this).data("initVal", $(this).val());
						$(this).val('');	
					}		
				});
				obj.find('input:text, textarea').blur(function() {
					if (jQuery.trim($(this).val()) == '') {
						$(this).val($(this).data('initVal'));
						$(this).removeClass('activated');
					}
				})
			
	        }); // end return
		} // end function
    }); // end extend
})(jQuery);

