jQuery.fn.fadeOver = function(options){
	
	var settings = jQuery.extend({
		backgroundPosition: 'left bottom',
		speed: 200,
		effect: 'fade',
		easing: ''
	}, options);
	
	return this.each(function(){
		jQuery(this).mouseenter(function(){
			var height = jQuery(this).height()+'px';
			var divClass = jQuery(this).attr('id') + '-fadediv';
			jQuery(this).append('<div class="'+divClass + '"></div>');
			divObj = jQuery('.'+divClass, this);
			jQuery(divObj).css({
				'display': 'none',
				'position': 'absolute',
				'zoom':'1',
				'top': '0',
				'left': '0',
				'background-image': jQuery(this).css('background-image'),
				'background-position': settings.backgroundPosition,
				'background-repeat': jQuery(this).css('background-repeat'),
				'width': jQuery(this).width()+'px',
				'height': height,
				'text-indent': '-9999px'
			});
			if(settings.effect == 'slide'){
				jQuery(divObj).css({display:'none'}).stop().slideDown(settings.speed, settings.easing);
			} else {
				if(jQuery.support.opacity){
					jQuery(divObj).css({display:'none', cursor:'pointer'}).stop().fadeIn(settings.speed, settings.easing);
				} else {
					jQuery(divObj).css({display:'block', cursor:'pointer'});
				}
			}
		}).mouseleave(function(){
			if(settings.effect == 'slide'){
				jQuery(divObj).stop().slideUp(settings.speed, settings.easing, function(){
					jQuery(this).remove();
				});
			} else {
				if(jQuery.support.opacity){
					jQuery(divObj).stop().fadeOut(settings.speed, function(){
							jQuery(this).remove();
						}
					);
				} else {
					jQuery(divObj).remove();
				}
			}
			
		});
		
	});
	
	
};