stdBrowser = (document.getElementById) ? true : false

function popUp(evt,currElem) {
    popUpWin = (stdBrowser) ? document.getElementById(currElem).style : eval("document." + currElem)
    if (document.all) {
         popUpWin.pixelTop = parseInt(evt.y)+2
         popUpWin.pixelLeft = Math.max(2,parseInt(evt.x)-125)
    }
    else {
        if (stdBrowser) {
            popUpWin.top = parseInt(evt.pageY)+2 + "px"
            popUpWin.left = Math.max(2,parseInt(evt.pageX)-125) + "px"
        }
        else {
            popUpWin.top = parseInt(evt.pageY)+2
            popUpWin.left = Math.max(2,parseInt(evt.pageX)-125)
        }
    }
    popUpWin.visibility = "visible"
}

function popDown(currElem) {
    popUpWin = (stdBrowser) ? document.getElementById(currElem).style : eval("document." + currElem)
    popUpWin.visibility = "hidden"
}

