rem: if (document.all) event = window.event; 
add: if (app_is_ie) event = window.event; 
context: function popup_menu(event,i,ii) { clearTimeout(popup_timer); var pop = document.getElementById('popup_menu'); pop.style.visibility = 'hidden'; var links = ii>=0 ? '<a href="" onclick="popup_info(' + ii +                     ');this.blur();return false">item details</a><br>' : ''; var obj = document.getElementById('links_'+i); if (obj) links += obj.innerHTML; ui_sethtml('popup_links', links); // IE: window.event,offsetX/Y,srcElement  Moz: event,layerX/Y,target if (document.all) event = window.event; var pw = pop.offsetWidth, ph = pop.offsetHeight; var iw = event.target ? event.target.width : event.srcElement.width; var ix = event.offsetX ? event.offsetX : (event.layerX-event.target.x); var iy = event.offsetY ? event.offsetY : (event.layerY-event.target.y); if (document.all) { ix+=2; iy+=2; } //IE, but not Safari var px = event.clientX - ix + iw - pw - app_wx; var py = min(event.clientY - iy, app_wh - ph) - app_wy; pop.style.left = px+'px'; pop.style.top = py+'px'; pop.style.visibility = 'visible';}
meta: 3727	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3727/d17d5aad6869f518f01845549fc75b10be36b002/hybrid.js/buggy/gallery2/layouts/hybrid/templates/hybrid.js