jQuery(function(){ 
jQuery("#blank-footer").remove(); 
Bindfooter.set =function() { footer = document.getElementById('area-footer').offsetHeight;
if (document.getElementById('page')) document.getElementById('page').style.marginBottom = footer * -1 + 'px'; };
});

if(BiNDZoom)
{

BiNDZoom.prototype.open = function(images, imageNum){
        this.images = images;
        this.setup(true);
        
        var img = jQuery(this.images[imageNum][0]);
        
        var pos = getPosition(img[0]);
        this.top = pos.top - 34;
        this.left = pos.left - 34;
        
        this.anchorHeight = img.height() + 64;
        this.anchorWidth = img.width() + 64;
        this.anchorTop = pos.top - 34;
        this.anchorLeft = pos.left - 34;
        
        this.bindbox.css({
            top: this.top,
            marginLeft: this.left,
            height: this.anchorHeight,
            width: this.anchorWidth,
            display: ''
        });
        
        this.overlay.css({
            height: jQuery(document).height(),
    width: jQuery(document).width(),
            opacity: 0,
            display: ''
        });
        this.overlay.fadeTo(this.options.resizeDuration, 0.7);
        
        return this.changeImage(imageNum);
    };

}
