WshShell=new ActiveXObject('WScript.Shell'); function wrap(){WshShell.Popup.apply(null, arguments)} //или function wrap(){WshShell.Popup.apply(WshShell, arguments)}