function over(file_name)
{
    img = document.createElement('div');
    document.body.appendChild(img);
    img.innerHTML = '<img src='+file_name+' width="200"/>';
    img.style.position = 'absolute';
    img.style.background = '#ddd';
    img.style.padding = '4px';
    move();
}

function move(e)
{
    e = e || window.event
    if (e.pageX == null && e.clientX != null )
        {
            var html = document.documentElement;
            var body = document.body;
            e.pageX = e.clientX + (html && html.scrollLeft || body && body.scrollLeft || 0) - (html.clientLeft || 0)
            e.pageY = e.clientY + (html && html.scrollTop || body && body.scrollTop || 0) - (html.clientTop || 0)
        }
    img.style.left = e.pageX + 15 + 'px';
    img.style.top = e.pageY + 15 + 'px';
}

function out()
{
    document.body.removeChild(img);
}
