e.screenX, e.screenY, e.clientX, e.clientY,\r
e.ctrlKey, e.altKey, e.shiftKey, e.metaKey,\r
e.button, relatedTarget);\r
- \r
- // check to see if relatedTarget has been assigned\r
- if (relatedTarget && !evt.relatedTarget) {\r
- if (/^mouseout$/.test(type)) evt.toElement = relatedTarget;\r
- else if (/^mouseover$/.test(type)) evt.fromElement = relatedTarget;\r
- }\r
- \r
} else if (document.createEventObject) {\r
evt = document.createEventObject();\r
$.extend(evt, e);\r