(function($) {

	$.fn.inputDefualts = function(options) {
		
		var defaults = {
			inactive: 'inactive', 
			text: this.val()
		}, 	opts = $.extend(defaults, options);	
  		
		this.addClass(opts['inactive']);
		this.val(opts['text']);
  		
		this.focus(function() {
			if($(this).val() == opts['text']) $(this).val('');
			$(this).removeClass(opts['inactive']);
		});
  		
		this.blur(function() {
			if($(this).val() == '') {
				$(this).val(opts['text']);
				$(this).addClass(opts['inactive']);
			}
		});
		
	};
	
})(jQuery);

