(function($) {
	$.fn.formFocus = function(options) {
		var opts = $.extend({}, $.fn.formFocus.defaults, options);
		
		if(opts.backgroundcolor == undefined) {
			opts.backgroundcolor = '#f0f0c0';
		}
		
		$(':text, :password, textarea', this).focus(function() {
			bgColor = $(this).css('background-color');
			//alert(bgColor);
			$(this).css('background-color', opts.backgroundcolor);
		});
		$(':text, :password, textarea', this).blur(function() {
			//alert(bgColor);
			$(this).css('background-color', bgColor);
		});
	}
})(jQuery);