// JavaScript Document
function floatElement(el) {    
    this.Element = document.getElementById(el);
    this.float();    
}

floatElement.prototype = {
    float: function () {
        var tp = document.documentElement.scrollTop + document.body.scrollTop;
        this.Element.style.top = document.documentElement.clientHeight - 88 + tp + "px";
        setTimeout(function(me) { return function() { me.float(); } } (this), 50);
    }
}
