jQuery.fn.protectImage = function(settings) {
	settings = jQuery.extend({
		image: 'images/blank.gif',
		zIndex: 10
	}, settings);
	return this.each(function() {
		var position = $(this).offset();
		var height = $(this).height();
		var width = $(this).width();
		var alt = $(this).attr("alt");
		$('<img />').attr({
			width: width,
			height: height,
			src: settings.image,
			class: 'captify',
			alt: alt
		}).css({
			/*border: '1px solid #f00',*/
			top: position.top,
			left: position.left,
			position: 'absolute',
			zIndex: settings.zIndex
		}).appendTo('body')
	});
};

