var WindowVisible = null;
function WindowShow() { 
    this.bind = function(obj,url,height,width) {
        obj.url = url;
        obj.mheight = height;
        obj.mwidth = width;
        obj.onmouseover = function(e) {
                if (WindowVisible == null) {
                        if (!e) e = window.event;
                        var tmp = document.createElement("div");
                        tmp.style.position = 'absolute';
                        tmp.style.top = parseInt(e.clientY) + 'px';
                        tmp.style.left = parseInt(e.clientX) + 'px';
                            var iframe = document.createElement('iframe');
                            iframe.src = this.url;
                            iframe.style.border = '0px';
                            iframe.style.height = parseInt(this.mheight)+'px';
                            iframe.style.width = parseInt(this.mwidth)+'px';
                            iframe.style.position = 'absolute';
                            iframe.style.top = '0px';
                            iframe.style.left = '0px';
                        tmp.appendChild(iframe);
                        tmp.style.display = 'none';
                        WindowVisible = tmp;
                        document.body.appendChild(tmp);
                        tmp.style.height = parseInt(this.mheight) + 'px';
                        tmp.style.width = parseInt(this.mwidth) + 'px';
                        tmp.style.display = 'block';
                }
        }
        obj.onmouseout = function() {
                if (WindowVisible != null) {
                        document.body.removeChild(WindowVisible);
                        WindowVisible = null;
                }
        }
        obj.onmousemove = function(e) {
                if (!e) e = window.event;
                WindowVisible.style.top = parseInt(e.clientY) + 'px';
                WindowVisible.style.left = parseInt(e.clientX) + 'px';
        }
    }
}
