var display_url; function createMenu (menuname, items, links) { document.writeln('
'); document.writeln('
Context Menu
'); for (var i=0;i'); } else { document.writeln(''); } } document.writeln('
'); document.getElementById(menuname).style.display=''; } var ie5=document.all&&document.getElementById var ns6=document.getElementById&&!document.all if (ie5||ns6) //var menuobj=document.getElementById("ie5menu") function showmenuie5(e){ if (ie5) { menuobj = document.getElementById(window.event.srcElement.getAttribute("helpid")); } else { menuobj = document.getElementById(e.target.getAttribute("helpid")); } //Find out how close the mouse is to the corner of the window var rightedge=ie5? document.body.clientWidth-event.clientX : window.innerWidth-e.clientX var bottomedge=ie5? document.body.clientHeight-event.clientY : window.innerHeight-e.clientY //if the horizontal distance isn't enough to accomodate the width of the context menu if (rightedge