public/javascripts/yui/event/event-debug.js
function(ev) {
                var t = ev.relatedTarget;
                if (!t) {
                    if (ev.type == "mouseout") {
                        t = ev.toElement;
                    } else if (ev.type == "mouseover") {
                        t = ev.fromElement;
                    }
                }

                return this.resolveTextNode(t);
            }
function(ev) {
                var t = ev.relatedTarget;
                if (!t) {
                    if (ev.type == "mouseout") {
                        t = ev.toElement;
                    } else if (ev.type == "mouseover") {
                        t = ev.fromElement;
                    }
                }

                return this.resolveTextNode(t);
            }
function ( ev ) { var t = ev . relatedTarget ; if ( ! t ) { if ( ev . type == "mouseout" ) { t = ev . toElement ; } else if ( ev . type == "mouseover" ) { t = ev . fromElement ; } } return this . resolveTextNode ( t ) ; }
Returns the event's related target
@method getRelatedTarget
@param {Event} ev the event
@return {HTMLElement} the event's relatedTarget
@static
Returns the event s related target