Understanding parameter 'e' and e.pageX/e.pageY
<pre><code>function smtMouseMove(e){
    smtMouseCoordsX=e.pageX;
    smtMouseCoordsY=e.pageY;
    smtTipPosition();
}

function smtTipPosition(e){
    var thePosX=e.pageX+20;
    smtTip.css("left",thePosX);

    var thePosY=smtMouseCoordsY+20;
    smtTip.css("top",thePosY);

}
</code></pre>

<p>If I have this: <code>var thePosX=e.pageX+20;</code> I gat the error that parameter e is undefined. But if I write <code>var thePosX=smtMouseCoordsX+20;</code> everything is ok. What do I miss in  here?</p>
