function _EG_EJS_Tag_Event($par,$js) { winEvent($par[1],$js); }
var r = h/w; if (w>h) { w = mw-32; h = Math.ceil(w*r); } else { h = mh - 48; w = Math.ceil(h/r); } if (w>mw || h>mh) { w=Math.floor(w/2); h=Math.floor(h/2); } im.style.width=w+"px"; im.style.height=h+"px"; WGWin.setSize(w+32,h+48); } im.style.visibility="visible"; '; winEvent("procImg",$javaScript); ?> <div style="text-align: center;"><div style="position: absolute; left: 0px; top: 0px; width: 100%; height: 100%; overflow: hidden; line-height: 130px; text-align: center; font-size: 12pt;" data-wgid="load">Loading</div> <img src="<?php echo htmlspecialchars($APPL['file']['path'], ENT_QUOTES); ?> " alt="" style="margin: 4px auto; visibility: hidden;" data-wgonload="procImg" data-wgid="img"> </div> <? endWin(); ?>