我的这个函数错在什么地方了?
<SCRIPT language=javascript>
function showing() {
newX = window.event.x + document.body.scrollLeft
newY = window.event.y + document.body.scrollTop
menu = document.all.itemopen
if ( menu.style.display == ""){
menu.style.display = "none" }
else {
menu.style.display = ""}
menu.style.pixelLeft = newX + 50
menu.style.pixelTop = newY
document.write("<table width='100' height='100' border='0' cellpadding='0' cellspacing='0' class='box' id='itemopen style='display:none>")
document.write("<tr><td><img src='showing.asp' width='100' height='100'></td></tr> ")
document.write("</table>")
}
</SCRIPT>