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

