var NS4 = (navigator.appName.indexOf("Netscape")>=0 && !document.getElementById)? true : false;
var IE4 = (document.all && !document.getElementById)? true : false;
var IE5 = (document.getElementById && document.all)? true : false;
var NS6 = (document.getElementById && navigator.appName.indexOf("Netscape")>=0 )? true: false;
var W3C = (document.getElementById)? true : false;

function ontop() {
    w_x=(NS4||NS6)? window.innerWidth : (IE5||IE4)? document.body.clientWidth :
0;
    if (document.layers) {
        document.layers['ontop'].pageX = window.pageXOffset + w_x - 150;
        document.layers['ontop'].pageY = window.pageYOffset;
    }
    else if (document.all) {
        document.all['ontop'].style.position = 'absolute';
        document.all['ontop'].style.posLeft = document.body.scrollLeft + w_x -150;
        document.all['ontop'].style.posTop = document.body.scrollTop;
    }
    setTimeout('ontop()',100);
}

