if (window.Event)
   document.captureEvents(Event.MouseUp);
document.onmouseup = display;
