How to convert this JS to jQuery? Need to add fade effect
<p>I have this simple JavaScript to make a hidden <code>div</code> appear on <code>img</code> hover:</p>

<pre><code>document.onmouseover = quickView;

function quickView(e) {
    (!e) var e = window.event;
    var target = e.target || e.srcElement;
    var bWide = window.innerWidth || document.documentElement.clientWidth;

    if(target.className == 'p-image') {
        var dTarg = target.parentNode.lastChild;
        dTarg.style.visibility = 'visible';
        dTarg.style.top = (target.parentNode.offsetTop - 110) + 'px';
        if (target.parentNode.offsetLeft &lt; (bWide * .5)) {
            dTarg.style.left = (target.parentNode.offsetLeft + 185) + 'px';     
        }

        if (target.parentNode.offsetLeft &gt;= (bWide * .1801)) {
            dTarg.style.left = (target.parentNode.offsetLeft - 497) + 'px'; 
        }

        target.onmouseout = hideQuickView;
    }
}

function hideQuickView(e) {
    if (!e) var e = window.event;
    var target = e.target || e.srcElement;
    target.parentNode.lastChild.style.visibility = 'hidden';
}
</code></pre>

<p>What I need is to add a <code>fadein</code> and <code>fadeout</code> effect instead of just visible / hidden.
Also a delay in <code>fadein</code> would be great. I know some jQuery but this is old JS, how can I add the fade effects?</p>

<p>Thank you very much</p>

<p>EDIT: 
i managed to fadein the hiddendiv but it will not allways fadein. If i move the mouse very fast to another hidden div the effect will not work anymore.I need to wait sometime for the fade to work again. I mean the code is not an accurate solution.
As i said the hover class is called p-image and the hidden class is called quickview.
This is the jQuery, but i would prefere if i can edit the original JavaScript somehow to include the delay fade there.</p>

<p><code>$(document).ready(function(){
        $(".p-image").hover(function () {
          jQuery(".quickview").css("opacity", .20);
      jQuery(".quickview").fadeTo(430, 1);
    });
    return true;
  });
</code></p>
