function findId(idd)
{
    return document.getElementById(idd);
}


function ShowHide(targ)
{
      var cn = targ.parentNode.className
      targ.parentNode.className = (cn == "cat_price") ? "cat_price_act" :"cat_price"
}

function whichElement(e)
{
    var targ
    if (!e) var e = window.event
    if (e.target) targ = e.target
    else if (e.srcElement) targ = e.srcElement
    if (targ.nodeType == 3){ // defeat Safari bug
       targ = targ.parentNode }
    return targ
}



function whichElementUnder(e)
{
    var targ=whichElement(e)
    if (targ.tagName=="IMG")
    {
      obj = findId(targ.parentNode.className)
      obj.style.display = "block"
    }
}



function whichElementOut(e)
{
    var targ=whichElement(e)

    if (targ.tagName=="IMG")
    {
      obj = findId(targ.parentNode.className)
      obj.style.display = "none"
    }

}



