dmk,
window.onload = window.onresize = addIndentPreview;
function addIndentPreview() {
var img, imgs = document.querySelectorAll('.js-preview-img'), i = imgs.length;
while (i--) {
img = imgs[i];
img.indent = img.parentNode.clientHeight - img.clientHeight;
img.onmouseenter = img.onmouseleave = function () {
this.style.marginTop = (parseInt(this.style.marginTop)) ? '0px' : this.indent + 'px';
};
}
}