// to samo co IEutils, ale teraz argumenty sa odwolaniami do obiektow
// (a nie ich nazwami - odchodza te wszystkie 'eval'e)
//
// chwilowo wszystko jest wylaczone - to menu wymaga poprawek (IE 4.0)
function getAbsoluteX(e)
{
    var x = e.offsetLeft
    while (e.offsetParent != null) {
	    e = e.offsetParent
        x += e.offsetLeft    
    }
    return x
}
function getAbsoluteY(e)
{
    var y = e.offsetTop
    while (e.offsetParent != null) {
	    e = e.offsetParent
        y += e.offsetTop
    }
    return y
}
function getElementHeight(el) { return el.offsetHeight }
function getElementWidth(el) { return el.offsetWidth }
function clipLayer(el,left,top,right,bottom)
{
    el.style.clip = "rect(" + top + " " + right + " " + bottom + " " + left + ")"
    el.style.visibility = 'visible'
}

function moveEltTo(elt,x,y)
{
    elt.style.pixelLeft = x
    elt.style.pixelTop = y
}
function moveEltStyleTo(elt,x,y)
{
    elt.style.pixelLeft = x
    elt.style.pixelTop = y
}
function moveEltBy(el,dx,dy)
{
    el.style.pixelLeft += dx
    el.style.pixelTop += dy
}
function getElt(name) { return eval("document.all." + name) }
function getEltChild(name,child) { return eval("document.all." + child) }
function showElt(elt,show)
{
    elt.style.visibility = (show == 0) ? 'hidden' : 'visible'
}
//===========================================================================
function mover(e)
{
    mx = event.clientX + document.body.scrollLeft
    my = event.clientY + document.body.scrollTop
}
//===========================================================================
